mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
feat: add expanded_directory
to the agent for extension support (#6087)
This will enable opening the default `dir` of an agent in the VS Code extension!
This commit is contained in:
@ -0,0 +1,6 @@
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE ONLY workspace_agents
|
||||
DROP COLUMN IF EXISTS expanded_directory;
|
||||
|
||||
COMMIT;
|
@ -0,0 +1,9 @@
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE ONLY workspace_agents
|
||||
ADD COLUMN IF NOT EXISTS expanded_directory varchar(4096) DEFAULT '' NOT NULL;
|
||||
|
||||
COMMENT ON COLUMN workspace_agents.expanded_directory
|
||||
IS 'The resolved path of a user-specified directory. e.g. ~/coder -> /home/coder/coder';
|
||||
|
||||
COMMIT;
|
Reference in New Issue
Block a user