zcode-acp-server 0.53.3 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/code-fingerprint.json +2 -2
- package/dist/handlers/session.d.ts.map +1 -1
- package/dist/handlers/session.js +30 -0
- package/dist/handlers/session.js.map +1 -1
- package/dist/quota/monitor-client.d.ts +25 -0
- package/dist/quota/monitor-client.d.ts.map +1 -0
- package/dist/quota/monitor-client.js +49 -0
- package/dist/quota/monitor-client.js.map +1 -0
- package/dist/quota/parse.d.ts +4 -0
- package/dist/quota/parse.d.ts.map +1 -1
- package/dist/quota/parse.js +2 -2
- package/dist/quota/parse.js.map +1 -1
- package/dist/quota/platform-usage.d.ts +102 -0
- package/dist/quota/platform-usage.d.ts.map +1 -0
- package/dist/quota/platform-usage.js +462 -0
- package/dist/quota/platform-usage.js.map +1 -0
- package/dist/remote/settings-endpoint.d.ts.map +1 -1
- package/dist/remote/settings-endpoint.js +19 -0
- package/dist/remote/settings-endpoint.js.map +1 -1
- package/dist/server.d.ts +6 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +24 -0
- package/dist/server.js.map +1 -1
- package/dist/tasks-index.d.ts +29 -0
- package/dist/tasks-index.d.ts.map +1 -1
- package/dist/tasks-index.js +57 -0
- package/dist/tasks-index.js.map +1 -1
- package/docs/REMOTE-CLIENTS.md +12 -6
- package/docs/REMOTE.md +4 -2
- package/package.json +1 -1
package/docs/REMOTE-CLIENTS.md
CHANGED
|
@@ -831,12 +831,18 @@ What hides, from where:
|
|
|
831
831
|
- Sessions **archived** in the desktop App (`archived=1`) are hidden from the
|
|
832
832
|
same listings — the remote default list mirrors the App's default list.
|
|
833
833
|
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
834
|
+
Deletes are also **self-healing** — a hide, not a ban: opening the project
|
|
835
|
+
anywhere (the CLI/editor `/resume` picker itself, or a new tab in it) revives
|
|
836
|
+
a FULLY deleted project's conversations in the same listing, and a tombstoned
|
|
837
|
+
session that is used again (loaded with history, resumed, or prompted through
|
|
838
|
+
any CLI/editor tab) has its tombstone cancelled. Individually deleted sessions
|
|
839
|
+
of a project that still
|
|
840
|
+
has visible conversations stay deleted, and desktop-archived rows are never
|
|
841
|
+
revived (archive is the App's own marker). Resuming a tombstoned session id
|
|
842
|
+
via `POST /api/instances` still answers `404 session deleted` — a stale
|
|
843
|
+
client cannot resurrect anything; only real bridge-side usage does. Deleting
|
|
844
|
+
does not stop anything else either: live or running conversations are refused
|
|
845
|
+
with `409` (stop or close them first).
|
|
840
846
|
|
|
841
847
|
Errors: `400` missing `workspacePath` or malformed session id, `401` bad
|
|
842
848
|
token, `404` unknown instance / deleted-on-resume, `409` session is live on
|
package/docs/REMOTE.md
CHANGED
|
@@ -162,8 +162,10 @@ whitelist); a deleted session leaves every listing (`/api/projects/sessions`,
|
|
|
162
162
|
ACP `session/list`, the CLI `/resume` picker, the desktop App sidebar).
|
|
163
163
|
Sessions archived in the desktop App hide the same way. Deleting never stops
|
|
164
164
|
anything: live conversations are refused (`409`), tombstoned resume ids get
|
|
165
|
-
`404`, and
|
|
166
|
-
`
|
|
165
|
+
`404`, and deletes are self-healing — opening the project anywhere (the CLI's
|
|
166
|
+
`/resume` picker, an editor tab) or using any session again cancels the hide;
|
|
167
|
+
a fully deleted project comes back whole the moment it is reopened.
|
|
168
|
+
See `docs/REMOTE-CLIENTS.md` ("Deleting a project or session").
|
|
167
169
|
|
|
168
170
|
`sessions` lists the project's **currently running** conversations (live
|
|
169
171
|
editor tabs and remote attachments) under the same ACP session ids the
|