Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
bfa33eb
update deps to kyles branch and make helper for getting agent informa…
bcpeinhardt Mar 18, 2025
92c3bfd
agents in sidebar
bcpeinhardt Mar 18, 2025
c5f6dcb
janky working demo for meeting
bcpeinhardt Mar 18, 2025
b2f6bb8
clean up some horrible claude code
bcpeinhardt Mar 18, 2025
c7001d5
separate metadata and tasks
bcpeinhardt Mar 18, 2025
f39f458
tweaks to terminal sizing
bcpeinhardt Mar 19, 2025
c31cb7c
put coder dep back on main post merge of ai work
bcpeinhardt Mar 31, 2025
063b27e
statuses updates
bcpeinhardt Apr 1, 2025
be1e137
coder ssh strategy finally working
bcpeinhardt Apr 1, 2025
08c93ae
show apps in need of attention only when there are some to show
bcpeinhardt Apr 1, 2025
99f3b1d
working with goose and claude
bcpeinhardt Apr 1, 2025
cd7c68c
switch up labels
bcpeinhardt Apr 1, 2025
26f740d
remove hand raise emojis
bcpeinhardt Apr 1, 2025
ac8d5fd
app not application
bcpeinhardt Apr 1, 2025
d0386d0
resolve conflict
bcpeinhardt Apr 1, 2025
69f9b97
remove unused commands
bcpeinhardt Apr 1, 2025
68c2e04
terminal names
bcpeinhardt Apr 1, 2025
b1e281c
use built in coder cli
bcpeinhardt Apr 2, 2025
5c66430
Merge branch 'main' into bcpeinhardt/ai-agent-session-in-vscode
bcpeinhardt Apr 14, 2025
83fafb0
Merge branch 'main' into bcpeinhardt/ai-agent-session-in-vscode
bcpeinhardt Apr 15, 2025
22246b9
reset back to working state pre tmux and reverse app statuses so most…
bcpeinhardt Apr 21, 2025
80f74f9
only show terminal after ssh command and app commands run
bcpeinhardt Apr 21, 2025
0f7dd65
loading indicator
bcpeinhardt Apr 21, 2025
8f996dd
update loading msg
bcpeinhardt Apr 21, 2025
c24b675
don't mess with terminal size
bcpeinhardt Apr 21, 2025
6f83606
workspace name isn't optional
bcpeinhardt Apr 21, 2025
579ad4e
changelog and format
bcpeinhardt Apr 21, 2025
9340b7d
remove unused icon code
bcpeinhardt Apr 21, 2025
8dac372
cleanup
bcpeinhardt Apr 21, 2025
866956a
remove unnecessary label assignment (I think there used to be an icon…
bcpeinhardt Apr 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cleanup
  • Loading branch information
bcpeinhardt committed Apr 21, 2025
commit 8dac372f0ebc44ba2b404c2d1429a484267d4c9f
5 changes: 2 additions & 3 deletions src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import { Storage } from "./storage"
import { toRemoteAuthority, toSafeHost } from "./util"
import { OpenableTreeItem } from "./workspacesProvider"
import path from "node:path"

Check failure on line 11 in src/commands.ts

View workflow job for this annotation

GitHub Actions / lint

`node:path` import should occur before import of `vscode`

export class Commands {
// These will only be populated when actively connected to a workspace and are
Expand All @@ -26,7 +26,7 @@
private readonly vscodeProposed: typeof vscode,
private readonly restClient: Api,
private readonly storage: Storage,
) { }

Check failure on line 29 in src/commands.ts

View workflow job for this annotation

GitHub Actions / lint

Delete `·`

/**
* Find the requested agent if specified, otherwise return the agent if there
Expand Down Expand Up @@ -410,7 +410,6 @@

public async openAppStatus(app: {
name?: string
status?: string
url?: string
agent_name?: string
command?: string
Expand All @@ -418,14 +417,14 @@
}): Promise<void> {
// Launch and run command in terminal if command is provided
if (app.command) {
return vscode.window.withProgress({

Check failure on line 420 in src/commands.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎········`
location: vscode.ProgressLocation.Notification,

Check failure on line 421 in src/commands.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `··`
title: `Connecting to AI Agent...`,

Check failure on line 422 in src/commands.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `··`
cancellable: false

Check failure on line 423 in src/commands.ts

View workflow job for this annotation

GitHub Actions / lint

Replace `cancellable:·false` with `··cancellable:·false,`
}, async () => {

Check failure on line 424 in src/commands.ts

View workflow job for this annotation

GitHub Actions / lint

Replace `······},` with `········},⏎·······`
const terminal = vscode.window.createTerminal(app.status)
const terminal = vscode.window.createTerminal(app.name)

Check failure on line 425 in src/commands.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `··`

// If workspace_name is provided, run coder ssh before the command

Check failure on line 427 in src/commands.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `··`

let url = this.storage.getUrl()
if (!url) {
Expand Down Expand Up @@ -453,7 +452,7 @@
}

// If no URL or command, show information about the app status
vscode.window.showInformationMessage(`${app.name || "Application"}: ${app.status || "Running"}`, {
vscode.window.showInformationMessage(`${app.name}`, {
detail: `Agent: ${app.agent_name || "Unknown"}`,
})
}
Expand Down
8 changes: 3 additions & 5 deletions src/workspacesProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,8 @@ export class WorkspaceProvider implements vscode.TreeDataProvider<vscode.TreeIte
// yet.
appStatuses.push(
new AppStatusTreeItem({
name: status.icon,
name: status.message,
command: app.command,
status: status.message,
workspace_name: element.workspaceName,
}),
)
Expand Down Expand Up @@ -374,14 +373,13 @@ class AppStatusTreeItem extends vscode.TreeItem {
constructor(
public readonly app: {
name: string
status?: string
url?: string
command?: string
workspace_name?: string
},
) {
super(app.name, vscode.TreeItemCollapsibleState.None)
this.description = app.status
super("", vscode.TreeItemCollapsibleState.None)
this.description = app.name
this.contextValue = "coderAppStatus"

// Add command to handle clicking on the app
Expand Down
Loading