@agentproto/computer-api 0.2.2 → 0.2.3
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 +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,9 +48,10 @@ same schemas, so the test double cannot drift from the published contract.
|
|
|
48
48
|
## Notes
|
|
49
49
|
|
|
50
50
|
- Sessions: `maxSessions` on create sizes the computer for that many
|
|
51
|
-
concurrent sessions. `attach` takes a slot (409 at the cap
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
concurrent sessions. `attach` takes a slot (409 at the cap; an attach
|
|
52
|
+
by a `holder` that already holds a slot is idempotent: 200 with the
|
|
53
|
+
count unchanged), `detach` releases one (floors at 0), and `DELETE`
|
|
54
|
+
answers 409 while sessions are attached unless `?force=true` is passed.
|
|
54
55
|
- `resume` MAY rename the computer: the controller can restore the suspend
|
|
55
56
|
snapshot into a fresh computer under a NEW generated id and answer
|
|
56
57
|
`{ id: <new>, state: "running" }`. Callers must treat the old id as gone
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentproto/computer-api",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "@agentproto/computer-api — versioned public contract for the computer controller HTTP API: zod schemas and inferred types for create/get/exec/suspend/resume/rm of computers, published ports, status and the error envelope.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agentproto",
|