sneakoscope 1.21.7 → 1.21.9
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 +18 -13
- package/crates/sks-core/Cargo.lock +1 -1
- package/crates/sks-core/Cargo.toml +1 -1
- package/crates/sks-core/src/main.rs +1 -1
- package/dist/.sks-build-stamp.json +4 -4
- package/dist/bin/sks.js +1 -1
- package/dist/build-manifest.json +41 -9
- package/dist/commands/image-ux-review.d.ts +5 -690
- package/dist/commands/ppt.d.ts +5 -690
- package/dist/core/agents/agent-command-surface.js +1 -1
- package/dist/core/agents/agent-orchestrator.d.ts +1 -686
- package/dist/core/agents/agent-orchestrator.js +158 -14
- package/dist/core/agents/agent-output-validator.d.ts +8 -1
- package/dist/core/agents/agent-output-validator.js +3 -1
- package/dist/core/agents/agent-patch-schema.d.ts +1 -0
- package/dist/core/agents/agent-patch-schema.js +3 -2
- package/dist/core/agents/agent-proof-evidence.d.ts +1 -0
- package/dist/core/agents/agent-proof-evidence.js +11 -3
- package/dist/core/agents/agent-roster.js +3 -3
- package/dist/core/agents/agent-runner-codex-exec.d.ts +1 -0
- package/dist/core/agents/agent-runner-zellij.js +18 -0
- package/dist/core/agents/agent-scheduler.js +7 -0
- package/dist/core/agents/agent-schema.d.ts +2 -1
- package/dist/core/agents/agent-schema.js +3 -3
- package/dist/core/agents/agent-slot-pane-binding-proof.d.ts +52 -0
- package/dist/core/agents/agent-slot-pane-binding-proof.js +97 -0
- package/dist/core/agents/agent-worker-pipeline.js +1 -0
- package/dist/core/agents/codex-exec-worker-adapter.d.ts +1 -0
- package/dist/core/agents/fast-mode-policy.d.ts +1 -1
- package/dist/core/agents/fast-mode-policy.js +2 -4
- package/dist/core/agents/native-cli-session-proof.js +2 -1
- package/dist/core/agents/native-cli-session-swarm.js +105 -113
- package/dist/core/agents/native-cli-worker.js +16 -2
- package/dist/core/agents/native-worker-backend-router.d.ts +5 -2
- package/dist/core/agents/native-worker-backend-router.js +105 -20
- package/dist/core/agents/no-subagent-scaling-policy.d.ts +1 -1
- package/dist/core/agents/no-subagent-scaling-policy.js +3 -2
- package/dist/core/agents/real-codex-parallel-proof.d.ts +10 -0
- package/dist/core/agents/real-codex-parallel-proof.js +22 -6
- package/dist/core/agents/route-collaboration-ledger.d.ts +5 -690
- package/dist/core/agents/route-collaboration-ledger.js +3 -3
- package/dist/core/agents/worker-pane-communication-contract.d.ts +25 -0
- package/dist/core/agents/worker-pane-communication-contract.js +80 -0
- package/dist/core/agents/zellij-lane-supervisor.d.ts +4 -0
- package/dist/core/agents/zellij-lane-supervisor.js +31 -5
- package/dist/core/codex-control/codex-control-plane.d.ts +42 -0
- package/dist/core/codex-control/codex-control-plane.js +5 -0
- package/dist/core/codex-control/codex-control-proof.d.ts +40 -0
- package/dist/core/codex-control/codex-control-proof.js +36 -0
- package/dist/core/codex-control/codex-event-translator.d.ts +13 -0
- package/dist/core/codex-control/codex-event-translator.js +21 -0
- package/dist/core/codex-control/codex-fake-sdk-adapter.d.ts +57 -0
- package/dist/core/codex-control/codex-fake-sdk-adapter.js +39 -0
- package/dist/core/codex-control/codex-output-schemas.d.ts +3 -0
- package/dist/core/codex-control/codex-output-schemas.js +27 -0
- package/dist/core/codex-control/codex-sdk-adapter.d.ts +35 -0
- package/dist/core/codex-control/codex-sdk-adapter.js +84 -0
- package/dist/core/codex-control/codex-sdk-capability.d.ts +16 -0
- package/dist/core/codex-control/codex-sdk-capability.js +93 -0
- package/dist/core/codex-control/codex-sdk-config-policy.d.ts +13 -0
- package/dist/core/codex-control/codex-sdk-config-policy.js +20 -0
- package/dist/core/codex-control/codex-sdk-env-policy.d.ts +9 -0
- package/dist/core/codex-control/codex-sdk-env-policy.js +32 -0
- package/dist/core/codex-control/codex-sdk-sandbox-policy.d.ts +8 -0
- package/dist/core/codex-control/codex-sdk-sandbox-policy.js +22 -0
- package/dist/core/codex-control/codex-task-runner.d.ts +3 -0
- package/dist/core/codex-control/codex-task-runner.js +143 -0
- package/dist/core/codex-control/codex-thread-registry.d.ts +12 -0
- package/dist/core/codex-control/codex-thread-registry.js +33 -0
- package/dist/core/codex-control/schemas/agent-worker-result.schema.d.ts +33 -0
- package/dist/core/codex-control/schemas/agent-worker-result.schema.js +26 -0
- package/dist/core/commands/image-ux-review-command.d.ts +5 -690
- package/dist/core/commands/mad-sks-command.js +1 -1
- package/dist/core/commands/naruto-command.js +3 -3
- package/dist/core/commands/ppt-command.d.ts +5 -690
- package/dist/core/commands/qa-loop-command.js +1 -1
- package/dist/core/commands/research-command.js +1 -1
- package/dist/core/commands/team-command.js +1 -1
- package/dist/core/fsx.d.ts +1 -1
- package/dist/core/fsx.js +1 -1
- package/dist/core/imagegen/imagegen-auth-readiness.js +14 -16
- package/dist/core/proof/fake-real-proof-policy.js +1 -1
- package/dist/core/skills/core-skill-types.d.ts +1 -1
- package/dist/core/version.d.ts +1 -1
- package/dist/core/version.js +1 -1
- package/dist/core/zellij/zellij-clipboard-config.d.ts +1 -0
- package/dist/core/zellij/zellij-clipboard-config.js +15 -10
- package/dist/core/zellij/zellij-layout-builder.d.ts +3 -0
- package/dist/core/zellij/zellij-layout-builder.js +21 -25
- package/dist/core/zellij/zellij-worker-pane-manager.d.ts +95 -0
- package/dist/core/zellij/zellij-worker-pane-manager.js +258 -0
- package/package.json +31 -4
- package/schemas/zellij/zellij-worker-pane.schema.json +53 -0
package/README.md
CHANGED
|
@@ -16,23 +16,28 @@ Set up this agent project with Sneakoscope Codex. Use [[mandarange/Sneakoscope-C
|
|
|
16
16
|
|
|
17
17
|
## Current Release
|
|
18
18
|
|
|
19
|
-
SKS **1.21.
|
|
19
|
+
SKS **1.21.9** is a Codex SDK Control Plane runtime patch. Native workers now use `@openai/codex-sdk` for thread/run/stream/schema execution while Zellij remains pane-level visual proof.
|
|
20
20
|
|
|
21
21
|
What changed:
|
|
22
22
|
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
- Zellij
|
|
23
|
+
- `codex-sdk` is the default native agent backend for Team, QA, Research, Naruto, MAD-SKS, and direct agent runs.
|
|
24
|
+
- Raw `codex exec` execution is removed from runtime fallback paths; explicit legacy requests are blocked with `legacy_codex_exec_runtime_removed`.
|
|
25
|
+
- SDK runs write `codex-control-proof.json`, `codex-thread-registry.json`, `codex-sdk-events.jsonl`, and schema-validated worker results.
|
|
26
|
+
- Zellij proof now links `pane_id`, `slot_id`, `generation_index`, `session_id`, and `sdk_thread_id`.
|
|
27
|
+
- Release gates include `codex-sdk:*` capability, routing, structured output, event ledger, sandbox, thread registry, Zellij binding, pipeline, and smoke checks.
|
|
27
28
|
|
|
28
29
|
Quick checks:
|
|
29
30
|
|
|
30
31
|
```bash
|
|
31
32
|
npm run typecheck
|
|
32
33
|
npm run build
|
|
33
|
-
npm run
|
|
34
|
-
npm run
|
|
35
|
-
npm run
|
|
34
|
+
npm run codex-sdk:capability
|
|
35
|
+
npm run codex-sdk:backend-router
|
|
36
|
+
npm run codex-sdk:structured-output
|
|
37
|
+
npm run codex-sdk:event-stream-ledger
|
|
38
|
+
npm run codex-sdk:thread-registry
|
|
39
|
+
npm run codex-sdk:zellij-pane-binding
|
|
40
|
+
npm run codex-sdk:all-pipelines
|
|
36
41
|
```
|
|
37
42
|
|
|
38
43
|
Broader release checks still live behind `npm run release:check`. Detailed release history is in [CHANGELOG.md](CHANGELOG.md), and release readiness is tracked in [docs/release-readiness.md](docs/release-readiness.md).
|
|
@@ -46,9 +51,9 @@ Broader release checks still live behind `npm run release:check`. Detailed relea
|
|
|
46
51
|
SKS_NARUTO_MAX_CONCURRENCY=48 sks naruto run "sweep the test suite" --clones 48
|
|
47
52
|
```
|
|
48
53
|
|
|
49
|
-
- **Zellij scrollback and copy.** SKS launches Codex panes with `--no-alt-screen`, so the terminal keeps the conversation transcript in scrollback. Zellij `mouse_mode` is
|
|
54
|
+
- **Zellij scrollback and copy.** SKS launches Codex panes with `--no-alt-screen`, so the terminal keeps the conversation transcript in scrollback. Zellij `mouse_mode` is on by default so trackpad/wheel gestures scroll the conversation pane instead of recalling prompt history in the focused Codex input. Copy still uses `copy_command=pbcopy` and `copy_on_select=true`; hold Shift for terminal-native selection, or set `SKS_ZELLIJ_MOUSE_MODE=0` if you intentionally prefer native drag selection over hover-pane scrolling.
|
|
50
55
|
|
|
51
|
-
- **
|
|
56
|
+
- **MAD / Naruto Zellij worker panes.** `sks --mad` and Naruto-style fan-out keep the main Zellij session lean at launch, then open named worker panes on demand as scheduler slots are reserved. Each worker pane is bound to a slot generation, writes `worker.stdout.log`, `worker.stderr.log`, `worker-heartbeat.jsonl`, `worker-result.json`, and `zellij-worker-pane.json`, then drains when the generation completes. Tune MAD fan-out with `--mad-agents`, `--mad-swarm-work-items`, and `--mad-swarm-backend`; use `--no-mad-swarm` only when you intentionally want the UI-only launch.
|
|
52
57
|
|
|
53
58
|
- **Image generation under codex-lb.** `gpt-image-2` routes through the same Codex `/responses` backend the load balancer already proxies, so `$imagegen` works when you are authenticated only through codex-lb (no direct `OPENAI_API_KEY`). The official Codex App `$imagegen` surface stays primary; the codex-lb/OpenAI API path is the fallback. Opt out with `SKS_IMAGEGEN_ALLOW_CODEX_LB_API_FALLBACK=0`.
|
|
54
59
|
|
|
@@ -365,7 +370,7 @@ Team missions keep at least five QA/reviewer lanes active, record live events, c
|
|
|
365
370
|
```sh
|
|
366
371
|
sks agent run "map the risky files" --mock --json
|
|
367
372
|
sks agent run "wide release audit" --route '$Release-Review' --agents 10 --concurrency 5 --mock --json
|
|
368
|
-
sks agent run "real one-agent smoke" --backend codex-
|
|
373
|
+
sks agent run "real one-agent smoke" --backend codex-sdk --real --agents 1 --concurrency 1 --json
|
|
369
374
|
```
|
|
370
375
|
|
|
371
376
|
Defaults are intentionally bounded but not subagent-limited: 5 agents by default, maximum 20 native CLI worker sessions, and a separate `--concurrency` cap. When enough work exists, `--agents 10 --concurrency 10` and `--agents 20 --concurrency 20` must create 10 or 20 independent child processes using `node dist/bin/sks.js --agent worker --intake <worker-intake.json> --json`. The parent orchestrator writes `agents/agent-roster.json`, `agents/agent-effort-policy.json`, `agents/agent-task-board.json`, `agents/agent-leases.json`, `agents/agent-no-overlap-proof.json`, `agents/agent-native-cli-session-swarm.json`, `agents/native-cli-session-proof.json`, `agents/no-subagent-scaling-policy.json`, `agents/fast-mode-propagation-proof.json`, `agents/agent-cleanup.json`, and `agents/agent-proof-evidence.json` under the mission.
|
|
@@ -393,7 +398,7 @@ sks naruto status
|
|
|
393
398
|
|
|
394
399
|
Aliases: `$ShadowClone`, `$Kagebunshin`, and the CLI flag `sks --naruto`.
|
|
395
400
|
|
|
396
|
-
- **System-aware concurrency:** `--clones N` is the total work fan-out, but `$Naruto` never spawns the whole count at once. Live concurrency is throttled to a host-safe number derived from CPU cores and free memory (heavier cap for real `codex-
|
|
401
|
+
- **System-aware concurrency:** `--clones N` is the total work fan-out, but `$Naruto` never spawns the whole count at once. Live concurrency is throttled to a host-safe number derived from CPU cores and free memory (heavier cap for real `codex-sdk` workers, tighter packing for in-process `fake`). So `--clones 100` on a small host still processes all 100 work units while only running a safe handful at a time; the run reports when it throttles. Override with `SKS_NARUTO_MAX_CONCURRENCY=<n>`.
|
|
397
402
|
- **Dynamic per-clone effort (like Team):** truly simple / no-tool work runs at `low`, any tool use lifts a clone to `medium` (never high/xhigh), and every clone runs in fast service tier.
|
|
398
403
|
- **Safe parallel writes:** clones coordinate through the same lease-based patch-swarm (merge coordinator + conflict rebase + transaction journal) as Team.
|
|
399
404
|
|
|
@@ -635,7 +640,7 @@ sks team open-zellij latest
|
|
|
635
640
|
sks zellij status
|
|
636
641
|
```
|
|
637
642
|
|
|
638
|
-
|
|
643
|
+
Conversation scrollback is preserved by Codex `--no-alt-screen`, and SKS launches Zellij with `mouse_mode=true` by default so trackpad/wheel gestures route to pane scrollback instead of the focused prompt input history. Copy still uses Zellij clipboard integration (`copy_command=pbcopy`, `copy_on_select=true`); hold Shift for terminal-native selection, or launch with `SKS_ZELLIJ_MOUSE_MODE=0` if native drag selection matters more than hover-pane scrolling. Right lanes are renderer panes that follow SKS worker artifacts, so live native-agent output is shown from per-slot `worker.stdout.log`, `worker.stderr.log`, and `worker-heartbeat.jsonl`.
|
|
639
644
|
|
|
640
645
|
### Codex App tools are missing
|
|
641
646
|
|
|
@@ -4,7 +4,7 @@ use std::io::{self, Read, Seek, SeekFrom};
|
|
|
4
4
|
fn main() {
|
|
5
5
|
let mut args = std::env::args().skip(1);
|
|
6
6
|
match args.next().as_deref() {
|
|
7
|
-
Some("--version") => println!("sks-rs 1.21.
|
|
7
|
+
Some("--version") => println!("sks-rs 1.21.9"),
|
|
8
8
|
Some("compact-info") => {
|
|
9
9
|
let mut input = String::new();
|
|
10
10
|
let _ = io::stdin().read_to_string(&mut input);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "sks.dist-build-stamp.v1",
|
|
3
3
|
"package_name": "sneakoscope",
|
|
4
|
-
"package_version": "1.21.
|
|
5
|
-
"source_digest": "
|
|
6
|
-
"source_file_count":
|
|
7
|
-
"built_at_source_time":
|
|
4
|
+
"package_version": "1.21.9",
|
|
5
|
+
"source_digest": "0a7c45e094cebad43f33cd668d95ecb34e6f7bb1a9be44273bef378fe95f185b",
|
|
6
|
+
"source_file_count": 1814,
|
|
7
|
+
"built_at_source_time": 1780472815535
|
|
8
8
|
}
|
package/dist/bin/sks.js
CHANGED
package/dist/build-manifest.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "sks.dist-build.v2",
|
|
3
|
-
"version": "1.21.
|
|
4
|
-
"package_version": "1.21.
|
|
3
|
+
"version": "1.21.9",
|
|
4
|
+
"package_version": "1.21.9",
|
|
5
5
|
"typescript": true,
|
|
6
6
|
"mjs_runtime_files": 0,
|
|
7
|
-
"compiled_file_count":
|
|
8
|
-
"compiled_js_count":
|
|
9
|
-
"compiled_dts_count":
|
|
10
|
-
"source_digest": "
|
|
11
|
-
"source_file_count":
|
|
12
|
-
"source_files_hash": "
|
|
13
|
-
"source_list_hash": "
|
|
7
|
+
"compiled_file_count": 1064,
|
|
8
|
+
"compiled_js_count": 532,
|
|
9
|
+
"compiled_dts_count": 532,
|
|
10
|
+
"source_digest": "0a7c45e094cebad43f33cd668d95ecb34e6f7bb1a9be44273bef378fe95f185b",
|
|
11
|
+
"source_file_count": 1814,
|
|
12
|
+
"source_files_hash": "09146fd82f71e159dc8e5d331df3d0e893c1d9aa001024aaf877946eff6f657e",
|
|
13
|
+
"source_list_hash": "09146fd82f71e159dc8e5d331df3d0e893c1d9aa001024aaf877946eff6f657e",
|
|
14
14
|
"src_mjs_runtime_files": 0,
|
|
15
15
|
"dist_stamp_schema": "sks.dist-build-stamp.v1",
|
|
16
16
|
"files": [
|
|
@@ -268,6 +268,8 @@
|
|
|
268
268
|
"core/agents/agent-session-generation.js",
|
|
269
269
|
"core/agents/agent-session-rows.d.ts",
|
|
270
270
|
"core/agents/agent-session-rows.js",
|
|
271
|
+
"core/agents/agent-slot-pane-binding-proof.d.ts",
|
|
272
|
+
"core/agents/agent-slot-pane-binding-proof.js",
|
|
271
273
|
"core/agents/agent-task-graph.d.ts",
|
|
272
274
|
"core/agents/agent-task-graph.js",
|
|
273
275
|
"core/agents/agent-task-slicer.d.ts",
|
|
@@ -322,6 +324,8 @@
|
|
|
322
324
|
"core/agents/work-partition/semantic-domain-graph.js",
|
|
323
325
|
"core/agents/work-partition/task-slicer.d.ts",
|
|
324
326
|
"core/agents/work-partition/task-slicer.js",
|
|
327
|
+
"core/agents/worker-pane-communication-contract.d.ts",
|
|
328
|
+
"core/agents/worker-pane-communication-contract.js",
|
|
325
329
|
"core/agents/zellij-lane-supervisor.d.ts",
|
|
326
330
|
"core/agents/zellij-lane-supervisor.js",
|
|
327
331
|
"core/agents/zellij-right-lane-cockpit.d.ts",
|
|
@@ -366,6 +370,32 @@
|
|
|
366
370
|
"core/codex-compat/codex-version-policy.js",
|
|
367
371
|
"core/codex-compat/codex-version.d.ts",
|
|
368
372
|
"core/codex-compat/codex-version.js",
|
|
373
|
+
"core/codex-control/codex-control-plane.d.ts",
|
|
374
|
+
"core/codex-control/codex-control-plane.js",
|
|
375
|
+
"core/codex-control/codex-control-proof.d.ts",
|
|
376
|
+
"core/codex-control/codex-control-proof.js",
|
|
377
|
+
"core/codex-control/codex-event-translator.d.ts",
|
|
378
|
+
"core/codex-control/codex-event-translator.js",
|
|
379
|
+
"core/codex-control/codex-fake-sdk-adapter.d.ts",
|
|
380
|
+
"core/codex-control/codex-fake-sdk-adapter.js",
|
|
381
|
+
"core/codex-control/codex-output-schemas.d.ts",
|
|
382
|
+
"core/codex-control/codex-output-schemas.js",
|
|
383
|
+
"core/codex-control/codex-sdk-adapter.d.ts",
|
|
384
|
+
"core/codex-control/codex-sdk-adapter.js",
|
|
385
|
+
"core/codex-control/codex-sdk-capability.d.ts",
|
|
386
|
+
"core/codex-control/codex-sdk-capability.js",
|
|
387
|
+
"core/codex-control/codex-sdk-config-policy.d.ts",
|
|
388
|
+
"core/codex-control/codex-sdk-config-policy.js",
|
|
389
|
+
"core/codex-control/codex-sdk-env-policy.d.ts",
|
|
390
|
+
"core/codex-control/codex-sdk-env-policy.js",
|
|
391
|
+
"core/codex-control/codex-sdk-sandbox-policy.d.ts",
|
|
392
|
+
"core/codex-control/codex-sdk-sandbox-policy.js",
|
|
393
|
+
"core/codex-control/codex-task-runner.d.ts",
|
|
394
|
+
"core/codex-control/codex-task-runner.js",
|
|
395
|
+
"core/codex-control/codex-thread-registry.d.ts",
|
|
396
|
+
"core/codex-control/codex-thread-registry.js",
|
|
397
|
+
"core/codex-control/schemas/agent-worker-result.schema.d.ts",
|
|
398
|
+
"core/codex-control/schemas/agent-worker-result.schema.js",
|
|
369
399
|
"core/codex-exec-output-schema.d.ts",
|
|
370
400
|
"core/codex-exec-output-schema.js",
|
|
371
401
|
"core/codex-hooks/codex-hook-actual-discovery.d.ts",
|
|
@@ -1045,6 +1075,8 @@
|
|
|
1045
1075
|
"core/zellij/zellij-pane-proof.js",
|
|
1046
1076
|
"core/zellij/zellij-screen-proof.d.ts",
|
|
1047
1077
|
"core/zellij/zellij-screen-proof.js",
|
|
1078
|
+
"core/zellij/zellij-worker-pane-manager.d.ts",
|
|
1079
|
+
"core/zellij/zellij-worker-pane-manager.js",
|
|
1048
1080
|
"scripts/release-parallel-check.d.ts",
|
|
1049
1081
|
"scripts/release-parallel-check.js",
|
|
1050
1082
|
"vendor/openai-codex/latest/hooks/permission-request.command.input.schema.json",
|