@particle-academy/prism-acp 0.5.0 → 0.5.1
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 +6 -0
- package/dist/codex/driver.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -92,6 +92,12 @@ in the direction that spends money silently. Names are compared
|
|
|
92
92
|
case-insensitively, because Windows environment names are case-insensitive and
|
|
93
93
|
`anthropic_api_key` reaches a child exactly as the uppercase spelling does.
|
|
94
94
|
|
|
95
|
+
The allow-list withholds every variable not named in it, credentials and
|
|
96
|
+
non-credentials alike. If the child needs an orchestrator session or terminal
|
|
97
|
+
id, a callback URL, or a feature flag, name it in `allowEnv` or it will not
|
|
98
|
+
arrive. This failure is silent: the child can start and appear healthy while
|
|
99
|
+
being unable to identify itself, rather than reporting a missing variable.
|
|
100
|
+
|
|
95
101
|
Nothing here mutates `process.env`. A workspace may hold an API key on purpose —
|
|
96
102
|
other consumers beside this one legitimately bill per token — so the child's
|
|
97
103
|
environment is constructed and the ambient one is left alone.
|
package/dist/codex/driver.js
CHANGED
|
@@ -963,6 +963,8 @@ export class CodexDriver {
|
|
|
963
963
|
this.#turnDeadlineExpiresAt = 0;
|
|
964
964
|
}
|
|
965
965
|
#hasOutstandingWork() {
|
|
966
|
+
// If this driver adds client-served fs/* or terminal/* calls, their in-flight
|
|
967
|
+
// ACP requests belong here too; a slow client tool is outstanding work.
|
|
966
968
|
return this.#pendingApprovals.size > 0 || this.#activeItemIds.size > 0;
|
|
967
969
|
}
|
|
968
970
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@particle-academy/prism-acp",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Speak the Agent Client Protocol to a coding-agent CLI the user has already authenticated. No API key, no third-party adapter.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|