You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the implementation phase it has become clear most agents treat this
as optional data in their persistence, and it is ok to change on
resume/load. Given this, loosening the requirements of the RFD.
Remove additional-root filter from session list as well, since it is
best-effort anyway, and probably more of a footgun than not.
Copy file name to clipboardExpand all lines: docs/protocol/draft/file-system.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ authorize those paths against the session's effective root set.
13
13
- by default, the effective root set is just `cwd`
14
14
- if the unstable `sessionCapabilities.additionalDirectories` capability is in use, the effective root set becomes `[cwd, ...additionalDirectories]`
15
15
-`cwd` remains the base for relative paths; additional roots only expand filesystem scope
16
-
- when a Client discovers a session through `session/list`, it SHOULD treat `cwd` plus `SessionInfo.additionalDirectories` as the authoritative current root set until a later lifecycle request changes it
16
+
- when a Client discovers a session through `session/list`, it SHOULD use `SessionInfo.additionalDirectories` together with `cwd` as the current root set when the field is present; if omitted, the Agent is not reporting additional-root state, and any later `session/load` or `session/resume`request establishes the root set explicitly
17
17
18
18
Because ACP filesystem methods are client-mediated, the Client remains
Copy file name to clipboardExpand all lines: docs/protocol/draft/session-setup.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -367,7 +367,7 @@ When present, `additionalDirectories` has the following behavior:
367
367
-`cwd` remains the primary working directory and the base for relative paths
368
368
- each `additionalDirectories` entry **MUST** be an absolute path
369
369
- omitting the field or providing an empty array activates no additional roots for the resulting session
370
-
- on `session/load` and `session/resume`, Clients must send the full intended additional-root list again because omitting the field or providing an empty array does not restore stored roots implicitly
370
+
- on `session/load` and `session/resume`, Clients must send the full intended additional-root list again; that list may differ from any previous or reported list as long as the request `cwd` matches the session's `cwd`, and omitting the field or providing an empty array does not restore stored roots implicitly
0 commit comments