@shumkov/orchestra 0.7.1 → 0.7.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.
|
@@ -2631,7 +2631,14 @@ class CodexAppServerClient extends EventEmitter {
|
|
|
2631
2631
|
!hasMethod
|
|
2632
2632
|
|| hasResult
|
|
2633
2633
|
|| hasError
|
|
2634
|
-
|| !keysAllowed(['method', 'params'])
|
|
2634
|
+
|| !keysAllowed(['method', 'params', 'emittedAtMs'])
|
|
2635
|
+
|| (
|
|
2636
|
+
Object.hasOwn(message, 'emittedAtMs')
|
|
2637
|
+
&& (
|
|
2638
|
+
!Number.isSafeInteger(message.emittedAtMs)
|
|
2639
|
+
|| message.emittedAtMs < 0
|
|
2640
|
+
)
|
|
2641
|
+
)
|
|
2635
2642
|
) {
|
|
2636
2643
|
throw new CodexAppServerError(
|
|
2637
2644
|
'app-server emitted a malformed notification',
|
package/lib/codex/preflight.js
CHANGED
|
@@ -376,9 +376,8 @@ function assertExpectedPolicy(profile) {
|
|
|
376
376
|
|| config.mcpServers?.keySha256?.length !== 0
|
|
377
377
|
|| config.plugins?.count !== 0
|
|
378
378
|
|| config.plugins?.keySha256?.length !== 0
|
|
379
|
-
|| config.modelProviders?.count !==
|
|
380
|
-
|| config.modelProviders?.keySha256?.length !==
|
|
381
|
-
|| config.modelProviders.keySha256[0] !== digest('openai')
|
|
379
|
+
|| config.modelProviders?.count !== 0
|
|
380
|
+
|| config.modelProviders?.keySha256?.length !== 0
|
|
382
381
|
) {
|
|
383
382
|
throw new CodexPreflightError(
|
|
384
383
|
'Codex expected policy is outside the native beta contract',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shumkov/orchestra",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "Transport-agnostic session engine for Claude Code and the native Codex app-server: spawn, steer, supervise, observe turns, and recover.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "index.js",
|