@polpo-ai/sdk 0.15.55 → 0.15.56
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 +9 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -17,7 +17,11 @@ await client.chatCompletions({
|
|
|
17
17
|
model: "openai/gpt-5",
|
|
18
18
|
sandbox: {
|
|
19
19
|
isolation: "fresh",
|
|
20
|
-
lifecycle: {
|
|
20
|
+
lifecycle: {
|
|
21
|
+
onRelease: "pool",
|
|
22
|
+
stopAfterIdleMinutes: 30,
|
|
23
|
+
deleteAfterStopMinutes: 60,
|
|
24
|
+
},
|
|
21
25
|
},
|
|
22
26
|
guardrails: { policyPack: "strict" },
|
|
23
27
|
});
|
|
@@ -31,8 +35,10 @@ With `sandbox.isolation: "fresh"`, Polpo acquires one clean sandbox for the
|
|
|
31
35
|
outer completion. Deterministic tools and nested Agentic Loop steps share its
|
|
32
36
|
filesystem until that completion finishes. Allocation and release are
|
|
33
37
|
independent: `lifecycle.onRelease` either returns the sandbox to the
|
|
34
|
-
project-scoped pool or destroys it.
|
|
35
|
-
|
|
38
|
+
project-scoped pool or destroys it. Pooled sandboxes can be stopped after
|
|
39
|
+
`stopAfterIdleMinutes` and deleted after another `deleteAfterStopMinutes`.
|
|
40
|
+
The deprecated `idleTtlMinutes` field remains accepted on its own for older
|
|
41
|
+
clients, but cannot be mixed with the explicit controls.
|
|
36
42
|
|
|
37
43
|
Use `sandbox.isolation: "shared"` only when concurrent outer runs are intended
|
|
38
44
|
to collaborate in one project-scoped workspace. `reuse` remains exclusive and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polpo-ai/sdk",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.56",
|
|
4
4
|
"description": "Polpo SDK — typed HTTP client, SSE streaming, and reactive store for AI agent orchestration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"url": "https://github.com/lumea-labs/polpo/issues"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@polpo-ai/core": "0.15.
|
|
58
|
+
"@polpo-ai/core": "0.15.56"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"build": "tsc",
|