sneakoscope 7.0.3 → 7.0.5
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 +3 -3
- package/config/codex-releases/{rust-v0.144.5.json → rust-v0.145.0.json} +14 -8
- package/crates/sks-core/Cargo.lock +1 -1
- package/crates/sks-core/Cargo.toml +1 -1
- package/dist/cli/command-manifest-lite.js +1 -2
- package/dist/cli/command-registry.js +0 -2
- package/dist/cli/global-mode-router.js +5 -12
- package/dist/cli/install-helpers-codex-lb-config.js +10 -18
- package/dist/cli/install-helpers-install-support.js +1 -2
- package/dist/cli/install-helpers.js +2 -3
- package/dist/cli/router.js +22 -9
- package/dist/commands/codex-app.js +20 -2
- package/dist/commands/conflicts.js +26 -3
- package/dist/commands/doctor.js +22 -17
- package/dist/config/skills-manifest.json +52 -52
- package/dist/core/agents/agent-effort-policy.js +7 -7
- package/dist/core/agents/agent-roster.js +6 -5
- package/dist/core/agents/agent-scheduler.js +7 -5
- package/dist/core/agents/agent-schema.js +3 -1
- package/dist/core/agents/agent-task-graph.js +4 -1
- package/dist/core/agents/agent-work-partition.js +4 -2
- package/dist/core/auto-review.js +8 -1
- package/dist/core/codex/codex-startup-config-postcheck.js +5 -0
- package/dist/core/codex-app/codex-agent-type-probe.js +31 -24
- package/dist/core/codex-app/glm-model-profile.js +1 -1
- package/dist/core/codex-app/glm-profile-installer.js +40 -41
- package/dist/core/codex-app/glm-profile-schema.js +7 -11
- package/dist/core/codex-app/menubar/constants.js +1 -0
- package/dist/core/codex-app/menubar/launch-agent.js +37 -1
- package/dist/core/codex-app/openrouter-activate.js +152 -0
- package/dist/core/codex-app/openrouter-provider.js +82 -0
- package/dist/core/codex-app.js +14 -23
- package/dist/core/codex-compat/codex-capability-matrix.js +208 -0
- package/dist/core/codex-compat/codex-release-manifest.js +15 -8
- package/dist/core/codex-compat/codex-version-policy.js +77 -15
- package/dist/core/codex-control/codex-0144-capability.js +1 -1
- package/dist/core/codex-lb/codex-lb-env.js +15 -4
- package/dist/core/codex-runtime/codex-desktop-config-policy.js +3 -1
- package/dist/core/commands/basic-cli.js +22 -16
- package/dist/core/commands/mad-sks-command.js +55 -170
- package/dist/core/commands/naruto-command.js +9 -9
- package/dist/core/doctor/command-alias-cleanup.js +37 -9
- package/dist/core/doctor/current-project-guidance.js +6 -3
- package/dist/core/doctor/doctor-dirty-planner.js +1 -1
- package/dist/core/doctor/retired-auto-review-config.js +9 -1
- package/dist/core/doctor/retired-managed-residue-private.js +5 -3
- package/dist/core/doctor/retired-managed-residue-runtime.js +9 -1
- package/dist/core/doctor/skill-legacy-surface.js +351 -0
- package/dist/core/evaluation.js +3 -0
- package/dist/core/feature-fixtures.js +0 -1
- package/dist/core/harness-conflicts.js +177 -18
- package/dist/core/hooks-runtime/official-subagent-lifecycle.js +1 -2
- package/dist/core/hooks-runtime.js +16 -5
- package/dist/core/init/skills.js +1 -1
- package/dist/core/init.js +4 -5
- package/dist/core/managed-assets/managed-assets-manifest.js +1 -1
- package/dist/core/naruto/naruto-concurrency-governor.js +18 -10
- package/dist/core/pipeline-internals/runtime-gates.js +7 -7
- package/dist/core/preflight/parallel-preflight-engine.js +1 -1
- package/dist/core/providers/openrouter/openrouter-client.js +2 -2
- package/dist/core/providers/openrouter/openrouter-provider-health.js +1 -1
- package/dist/core/providers/{glm/glm-request-cache.js → openrouter/openrouter-request-cache.js} +5 -3
- package/dist/core/providers/openrouter/openrouter-stream.js +2 -2
- package/dist/core/release/package-size-budget.js +2 -2
- package/dist/core/release/release-gate-contract.js +0 -7
- package/dist/core/release/release-pack-receipt.js +1 -0
- package/dist/core/routes/model-mode-router.js +10 -19
- package/dist/core/routes.js +2 -2
- package/dist/core/subagents/naruto-help-contract.js +2 -1
- package/dist/core/subagents/official-subagent-config.js +256 -32
- package/dist/core/subagents/official-subagent-preparation.js +5 -2
- package/dist/core/subagents/official-subagent-runner.js +36 -2
- package/dist/core/subagents/terminology.js +11 -6
- package/dist/core/subagents/thread-budget.js +1 -1
- package/dist/core/update/update-migration-state.js +92 -22
- package/dist/core/version-manager.js +41 -4
- package/dist/core/version.js +1 -1
- package/dist/core/zellij/zellij-fake-adapter.js +16 -0
- package/dist/core/zellij/zellij-launcher.js +35 -9
- package/dist/core/zellij/zellij-pane-proof.js +3 -3
- package/dist/core/zellij/zellij-slot-telemetry.js +6 -4
- package/dist/native/sks-menubar/Sources/DiagnosticsViewController.swift +61 -2
- package/dist/native/sks-menubar/Sources/MCPServersViewController.swift +10 -3
- package/dist/native/sks-menubar/Sources/OverviewViewController.swift +55 -3
- package/dist/native/sks-menubar/Sources/ProvidersOpenRouter.swift +76 -0
- package/dist/native/sks-menubar/Sources/ProvidersViewController.swift +62 -29
- package/dist/native/sks-menubar/Sources/RemoteTelegramViewController.swift +5 -1
- package/dist/native/sks-menubar/Sources/SettingsViewController.swift +2 -2
- package/dist/native/sks-menubar/Sources/StatusItemController.swift +28 -2
- package/dist/native/sks-menubar/Sources/UpdatesViewController.swift +1 -1
- package/dist/scripts/codex-0144-app-server-v2-check.js +5 -5
- package/dist/scripts/current-command-surface-check.js +1 -1
- package/dist/scripts/current-surface-update-e2e-check.js +2 -0
- package/dist/scripts/docs-truthfulness-check.js +4 -4
- package/dist/scripts/doctor-fix-production-blackbox.js +1 -1
- package/dist/scripts/doctor-startup-config-repair-blackbox.js +1 -1
- package/dist/scripts/official-subagent-workflow-check.js +1 -1
- package/dist/scripts/release-metadata-1-19-check.js +0 -1
- package/dist/scripts/sizecheck.js +2 -2
- package/package.json +6 -7
- package/release-gates.v2.json +426 -93
- package/schemas/codex/app-server-0.145/codex_app_server_protocol.v2.schemas.json +19611 -0
- package/dist/core/commands/glm-command.js +0 -93
- package/dist/core/providers/glm/bench/glm-bench-comparison.js +0 -47
- package/dist/core/providers/glm/bench/glm-bench-fixture.js +0 -64
- package/dist/core/providers/glm/bench/glm-bench-model-lock-proof.js +0 -52
- package/dist/core/providers/glm/bench/glm-bench-report.js +0 -74
- package/dist/core/providers/glm/bench/glm-benchmark-runner.js +0 -241
- package/dist/core/providers/glm/bench/glm-benchmark-types.js +0 -1
- package/dist/core/providers/glm/bench/glm-direct-bench-runner.js +0 -72
- package/dist/core/providers/glm/glm-52-profile.js +0 -82
- package/dist/core/providers/glm/glm-52-request.js +0 -73
- package/dist/core/providers/glm/glm-52-response-guard.js +0 -32
- package/dist/core/providers/glm/glm-52-settings.js +0 -67
- package/dist/core/providers/glm/glm-context-budget.js +0 -14
- package/dist/core/providers/glm/glm-context-cache.js +0 -8
- package/dist/core/providers/glm/glm-direct-run.js +0 -140
- package/dist/core/providers/glm/glm-interactive-launch.js +0 -4
- package/dist/core/providers/glm/glm-latency-trace.js +0 -39
- package/dist/core/providers/glm/glm-loop-guard.js +0 -30
- package/dist/core/providers/glm/glm-mad-launch.js +0 -128
- package/dist/core/providers/glm/glm-mad-mode.js +0 -269
- package/dist/core/providers/glm/glm-model-meta-cache.js +0 -18
- package/dist/core/providers/glm/glm-patch-apply.js +0 -72
- package/dist/core/providers/glm/glm-patch-parser.js +0 -18
- package/dist/core/providers/glm/glm-profile-resolver.js +0 -168
- package/dist/core/providers/glm/glm-readiness.js +0 -4
- package/dist/core/providers/glm/glm-reasoning-policy.js +0 -14
- package/dist/core/providers/glm/glm-run-controller.js +0 -65
- package/dist/core/providers/glm/glm-run-state.js +0 -10
- package/dist/core/providers/glm/glm-run-timeout.js +0 -30
- package/dist/core/providers/glm/glm-speed-context.js +0 -81
- package/dist/core/providers/glm/glm-speed-gate.js +0 -39
- package/dist/core/providers/glm/glm-speed-output-parser.js +0 -39
- package/dist/core/providers/glm/glm-tool-schema-cache.js +0 -18
- package/dist/core/providers/glm/naruto/glm-naruto-apply-transaction.js +0 -135
- package/dist/core/providers/glm/naruto/glm-naruto-artifacts.js +0 -1
- package/dist/core/providers/glm/naruto/glm-naruto-bench.js +0 -6
- package/dist/core/providers/glm/naruto/glm-naruto-budget.js +0 -44
- package/dist/core/providers/glm/naruto/glm-naruto-combined-patch.js +0 -48
- package/dist/core/providers/glm/naruto/glm-naruto-command.js +0 -100
- package/dist/core/providers/glm/naruto/glm-naruto-concurrency-governor.js +0 -37
- package/dist/core/providers/glm/naruto/glm-naruto-conflict-graph.js +0 -79
- package/dist/core/providers/glm/naruto/glm-naruto-critical-path.js +0 -50
- package/dist/core/providers/glm/naruto/glm-naruto-decomposer.js +0 -147
- package/dist/core/providers/glm/naruto/glm-naruto-file-lease.js +0 -22
- package/dist/core/providers/glm/naruto/glm-naruto-final-seal.js +0 -81
- package/dist/core/providers/glm/naruto/glm-naruto-finalizer.js +0 -22
- package/dist/core/providers/glm/naruto/glm-naruto-hunk-conflict.js +0 -15
- package/dist/core/providers/glm/naruto/glm-naruto-hunk-parser.js +0 -35
- package/dist/core/providers/glm/naruto/glm-naruto-isolation-policy.js +0 -37
- package/dist/core/providers/glm/naruto/glm-naruto-judge.js +0 -83
- package/dist/core/providers/glm/naruto/glm-naruto-merge-planner.js +0 -61
- package/dist/core/providers/glm/naruto/glm-naruto-metrics.js +0 -33
- package/dist/core/providers/glm/naruto/glm-naruto-orchestrator.js +0 -480
- package/dist/core/providers/glm/naruto/glm-naruto-parallelism-summary.js +0 -54
- package/dist/core/providers/glm/naruto/glm-naruto-patch-candidate-gate.js +0 -41
- package/dist/core/providers/glm/naruto/glm-naruto-patch-candidate-parser.js +0 -61
- package/dist/core/providers/glm/naruto/glm-naruto-patch-envelope.js +0 -54
- package/dist/core/providers/glm/naruto/glm-naruto-quorum.js +0 -36
- package/dist/core/providers/glm/naruto/glm-naruto-rate-limiter.js +0 -17
- package/dist/core/providers/glm/naruto/glm-naruto-repair-wave.js +0 -20
- package/dist/core/providers/glm/naruto/glm-naruto-requirement-coverage.js +0 -108
- package/dist/core/providers/glm/naruto/glm-naruto-requirement-ledger.js +0 -57
- package/dist/core/providers/glm/naruto/glm-naruto-scoreboard.js +0 -74
- package/dist/core/providers/glm/naruto/glm-naruto-secret-audit.js +0 -90
- package/dist/core/providers/glm/naruto/glm-naruto-session-id.js +0 -9
- package/dist/core/providers/glm/naruto/glm-naruto-shard-planner.js +0 -31
- package/dist/core/providers/glm/naruto/glm-naruto-stage-scheduler.js +0 -84
- package/dist/core/providers/glm/naruto/glm-naruto-targeted-checks.js +0 -75
- package/dist/core/providers/glm/naruto/glm-naruto-task-size-classifier.js +0 -11
- package/dist/core/providers/glm/naruto/glm-naruto-terminal.js +0 -43
- package/dist/core/providers/glm/naruto/glm-naruto-trace.js +0 -172
- package/dist/core/providers/glm/naruto/glm-naruto-types.js +0 -36
- package/dist/core/providers/glm/naruto/glm-naruto-usage-extractor.js +0 -30
- package/dist/core/providers/glm/naruto/glm-naruto-verifier-output.js +0 -30
- package/dist/core/providers/glm/naruto/glm-naruto-work-graph.js +0 -1
- package/dist/core/providers/glm/naruto/glm-naruto-worker-artifacts.js +0 -55
- package/dist/core/providers/glm/naruto/glm-naruto-worker-pool.js +0 -274
- package/dist/core/providers/glm/naruto/glm-naruto-worker-runtime.js +0 -421
- package/dist/core/providers/glm/naruto/glm-naruto-worker-scheduler.js +0 -177
- package/dist/core/providers/glm/naruto/glm-naruto-worker.js +0 -1
- package/dist/core/providers/glm/naruto/glm-naruto-worktree-cleanup.js +0 -19
- package/dist/core/providers/glm/naruto/glm-naruto-worktree-manager.js +0 -71
- package/dist/core/providers/glm/naruto/glm-naruto-worktree-worker.js +0 -73
- package/dist/core/providers/glm/naruto/glm-naruto-worktree.js +0 -61
- package/schemas/codex/app-server-0.144/codex_app_server_protocol.v2.schemas.json +0 -1
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "sks.skills-manifest.v1",
|
|
3
|
-
"package_version": "7.0.
|
|
3
|
+
"package_version": "7.0.5",
|
|
4
4
|
"skills": [
|
|
5
5
|
{
|
|
6
6
|
"canonical_name": "sks",
|
|
7
7
|
"type": "official",
|
|
8
|
-
"content_sha256": "
|
|
8
|
+
"content_sha256": "f81e51088ebe72f3f9b3e1c8101e85c2a5a44f256002093f127fb9caf4554f01",
|
|
9
9
|
"hash_history": [],
|
|
10
10
|
"deprecated_aliases": []
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
"canonical_name": "sks-answer",
|
|
14
14
|
"type": "official",
|
|
15
|
-
"content_sha256": "
|
|
15
|
+
"content_sha256": "5ec38e1bb6672c10376caa05e383dd26cbc89cc6db8161d19c888817c6e6c73d",
|
|
16
16
|
"hash_history": [],
|
|
17
17
|
"deprecated_aliases": []
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"canonical_name": "sks-autoresearch",
|
|
21
21
|
"type": "official",
|
|
22
|
-
"content_sha256": "
|
|
22
|
+
"content_sha256": "ed062b305f09b1f5f1c558bd0060ee59cab161e16875a4c54e2f0ed91df73dc6",
|
|
23
23
|
"hash_history": [],
|
|
24
24
|
"deprecated_aliases": []
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"canonical_name": "sks-autoresearch-loop",
|
|
28
28
|
"type": "official",
|
|
29
|
-
"content_sha256": "
|
|
29
|
+
"content_sha256": "79ffc7e3629cc51ad021facadfb3475b0d7d2b25d5720bd58ad75a1a90f89c11",
|
|
30
30
|
"hash_history": [],
|
|
31
31
|
"deprecated_aliases": []
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"canonical_name": "sks-commit",
|
|
35
35
|
"type": "official",
|
|
36
|
-
"content_sha256": "
|
|
36
|
+
"content_sha256": "ce528a1640dd9e8c7c3297553aefe02a27f08afc570e3ed9bff4398b4479f38a",
|
|
37
37
|
"hash_history": [],
|
|
38
38
|
"deprecated_aliases": []
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"canonical_name": "sks-commit-and-push",
|
|
42
42
|
"type": "official",
|
|
43
|
-
"content_sha256": "
|
|
43
|
+
"content_sha256": "ea337d62e3c8651d1f8f704d4374bb9a47f04c364660c7e76f8749904ea9e27c",
|
|
44
44
|
"hash_history": [],
|
|
45
45
|
"deprecated_aliases": []
|
|
46
46
|
},
|
|
@@ -54,56 +54,56 @@
|
|
|
54
54
|
{
|
|
55
55
|
"canonical_name": "sks-computer-use-fast",
|
|
56
56
|
"type": "official",
|
|
57
|
-
"content_sha256": "
|
|
57
|
+
"content_sha256": "3817dd94720b58d1c58b3bc34f5cabe49d3280dc2ec7b6287c60bcf75c2ce74c",
|
|
58
58
|
"hash_history": [],
|
|
59
59
|
"deprecated_aliases": []
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"canonical_name": "sks-context7-docs",
|
|
63
63
|
"type": "official",
|
|
64
|
-
"content_sha256": "
|
|
64
|
+
"content_sha256": "a202afe062a3c55c605bee5feb8f19d89e4563da5d2a1e1c73bd8fc10c149928",
|
|
65
65
|
"hash_history": [],
|
|
66
66
|
"deprecated_aliases": []
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"canonical_name": "sks-cu",
|
|
70
70
|
"type": "official",
|
|
71
|
-
"content_sha256": "
|
|
71
|
+
"content_sha256": "7107d472c23c3113de808021c340147f74866527015e395be8ac548ad662c586",
|
|
72
72
|
"hash_history": [],
|
|
73
73
|
"deprecated_aliases": []
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
"canonical_name": "sks-db",
|
|
77
77
|
"type": "official",
|
|
78
|
-
"content_sha256": "
|
|
78
|
+
"content_sha256": "51bffa9ecf3b4fdd6b2d57d8d958c265f4e2257edaec72d24eaf71cdb7df1eba",
|
|
79
79
|
"hash_history": [],
|
|
80
80
|
"deprecated_aliases": []
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
"canonical_name": "sks-db-safety-guard",
|
|
84
84
|
"type": "official",
|
|
85
|
-
"content_sha256": "
|
|
85
|
+
"content_sha256": "0804b74588386d66edcccd18ce598b43ba4daa261e845e529fa48f26f8a89a86",
|
|
86
86
|
"hash_history": [],
|
|
87
87
|
"deprecated_aliases": []
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
"canonical_name": "sks-design-artifact-expert",
|
|
91
91
|
"type": "official",
|
|
92
|
-
"content_sha256": "
|
|
92
|
+
"content_sha256": "1e8012ff72c380882457b84435d7155d38fc7fd636a2054b87eb98801773b227",
|
|
93
93
|
"hash_history": [],
|
|
94
94
|
"deprecated_aliases": []
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
"canonical_name": "sks-design-system-builder",
|
|
98
98
|
"type": "official",
|
|
99
|
-
"content_sha256": "
|
|
99
|
+
"content_sha256": "b61885d385fcfeaedcc1823fbe5349cf39473357f961bb3f6baf5bfc4de05093",
|
|
100
100
|
"hash_history": [],
|
|
101
101
|
"deprecated_aliases": []
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
"canonical_name": "sks-design-ui-editor",
|
|
105
105
|
"type": "official",
|
|
106
|
-
"content_sha256": "
|
|
106
|
+
"content_sha256": "e2e034a182905a3984eb23828c62faae6e94c899eaa8d32f845bd89374035418",
|
|
107
107
|
"hash_history": [],
|
|
108
108
|
"deprecated_aliases": []
|
|
109
109
|
},
|
|
@@ -117,98 +117,98 @@
|
|
|
117
117
|
{
|
|
118
118
|
"canonical_name": "sks-fast-mode",
|
|
119
119
|
"type": "official",
|
|
120
|
-
"content_sha256": "
|
|
120
|
+
"content_sha256": "3684ad6fc7a6485979c9ae777fbaf96ae374be27c3966e2745613160f1c0b5df",
|
|
121
121
|
"hash_history": [],
|
|
122
122
|
"deprecated_aliases": []
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
"canonical_name": "sks-fast-off",
|
|
126
126
|
"type": "official",
|
|
127
|
-
"content_sha256": "
|
|
127
|
+
"content_sha256": "f55d4c455a43d775d00346ec416fcfde7bce10ce7385ac6cba57f53d6bfa8c9f",
|
|
128
128
|
"hash_history": [],
|
|
129
129
|
"deprecated_aliases": []
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
"canonical_name": "sks-fast-on",
|
|
133
133
|
"type": "official",
|
|
134
|
-
"content_sha256": "
|
|
134
|
+
"content_sha256": "62146e1cae2a82b9da551584f41b7c12e093dc10a64d0b4ed1c6d4b6b8649fb9",
|
|
135
135
|
"hash_history": [],
|
|
136
136
|
"deprecated_aliases": []
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
139
|
"canonical_name": "sks-from-chat-img",
|
|
140
140
|
"type": "official",
|
|
141
|
-
"content_sha256": "
|
|
141
|
+
"content_sha256": "c2d7e1c3b47f4291e32c8f651dee71eb812007bc83951e96bdb8ebf80aca4b49",
|
|
142
142
|
"hash_history": [],
|
|
143
143
|
"deprecated_aliases": []
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
"canonical_name": "sks-getdesign-reference",
|
|
147
147
|
"type": "official",
|
|
148
|
-
"content_sha256": "
|
|
148
|
+
"content_sha256": "1d005a8963c20c80713eec6364c36b596d58142b8450b33759f49c5d17e7491d",
|
|
149
149
|
"hash_history": [],
|
|
150
150
|
"deprecated_aliases": []
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
"canonical_name": "sks-goal",
|
|
154
154
|
"type": "official",
|
|
155
|
-
"content_sha256": "
|
|
155
|
+
"content_sha256": "0bbf3a4109d689aa0c7f3895d38027af55c3c3ab7d4afd3f59c367242fa4167d",
|
|
156
156
|
"hash_history": [],
|
|
157
157
|
"deprecated_aliases": []
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
"canonical_name": "sks-gx",
|
|
161
161
|
"type": "official",
|
|
162
|
-
"content_sha256": "
|
|
162
|
+
"content_sha256": "2760b59419cbedcadf9bbad628dc960822c79468e6e76b2fbe6c368ba3a02196",
|
|
163
163
|
"hash_history": [],
|
|
164
164
|
"deprecated_aliases": []
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
"canonical_name": "sks-gx-visual-generate",
|
|
168
168
|
"type": "official",
|
|
169
|
-
"content_sha256": "
|
|
169
|
+
"content_sha256": "aa6891fe41cce7a0a312eff3bc0f041d628a8f59b7866c475cd88f135fafddbf",
|
|
170
170
|
"hash_history": [],
|
|
171
171
|
"deprecated_aliases": []
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
174
|
"canonical_name": "sks-gx-visual-read",
|
|
175
175
|
"type": "official",
|
|
176
|
-
"content_sha256": "
|
|
176
|
+
"content_sha256": "416aa4815e4dedda48a690ebe050817f478c147b9f7a2072349b256be6540e52",
|
|
177
177
|
"hash_history": [],
|
|
178
178
|
"deprecated_aliases": []
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
181
|
"canonical_name": "sks-gx-visual-validate",
|
|
182
182
|
"type": "official",
|
|
183
|
-
"content_sha256": "
|
|
183
|
+
"content_sha256": "f34eaa5aea8f017f15d666364140570eaf72bbb460809c16ca3ef7882b9a7db1",
|
|
184
184
|
"hash_history": [],
|
|
185
185
|
"deprecated_aliases": []
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
"canonical_name": "sks-help",
|
|
189
189
|
"type": "official",
|
|
190
|
-
"content_sha256": "
|
|
190
|
+
"content_sha256": "a0524ac769e263bb984a9859941e8b2a75d64f9a92f484d36f773299e968157c",
|
|
191
191
|
"hash_history": [],
|
|
192
192
|
"deprecated_aliases": []
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
195
|
"canonical_name": "sks-honest-mode",
|
|
196
196
|
"type": "official",
|
|
197
|
-
"content_sha256": "
|
|
197
|
+
"content_sha256": "83c6fc144023e45e605ac820a8c42cf33caf7a6efe9bbffe3d25b4669cd6503f",
|
|
198
198
|
"hash_history": [],
|
|
199
199
|
"deprecated_aliases": []
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
202
|
"canonical_name": "sks-hproof-claim-ledger",
|
|
203
203
|
"type": "official",
|
|
204
|
-
"content_sha256": "
|
|
204
|
+
"content_sha256": "a740cd4cfd3ba2aa65cb9e7e244455903ffc939d982548015e9a7719867ce816",
|
|
205
205
|
"hash_history": [],
|
|
206
206
|
"deprecated_aliases": []
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
209
|
"canonical_name": "sks-hproof-evidence-bind",
|
|
210
210
|
"type": "official",
|
|
211
|
-
"content_sha256": "
|
|
211
|
+
"content_sha256": "71e6e3b6f3c5915ea8e487758cb290508f481ccf2fbf4b491d02b573628a35e3",
|
|
212
212
|
"hash_history": [],
|
|
213
213
|
"deprecated_aliases": []
|
|
214
214
|
},
|
|
@@ -222,14 +222,14 @@
|
|
|
222
222
|
{
|
|
223
223
|
"canonical_name": "sks-imagegen",
|
|
224
224
|
"type": "official",
|
|
225
|
-
"content_sha256": "
|
|
225
|
+
"content_sha256": "a43763b7eea1d902b5fc524977e6312907c52dfe023d09ce855dc9cdd49c0232",
|
|
226
226
|
"hash_history": [],
|
|
227
227
|
"deprecated_aliases": []
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
"canonical_name": "sks-imagegen-source-scout",
|
|
231
231
|
"type": "official",
|
|
232
|
-
"content_sha256": "
|
|
232
|
+
"content_sha256": "90fa12c937236ee56a25444a2f1d957928cd86d6f463def6acdabda748f46e96",
|
|
233
233
|
"hash_history": [],
|
|
234
234
|
"deprecated_aliases": []
|
|
235
235
|
},
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
{
|
|
251
251
|
"canonical_name": "sks-mad-sks",
|
|
252
252
|
"type": "official",
|
|
253
|
-
"content_sha256": "
|
|
253
|
+
"content_sha256": "cfb313001ae84d360b9bb1f10c6963264b799f063ce82f56e093b8b48a280f8c",
|
|
254
254
|
"hash_history": [],
|
|
255
255
|
"deprecated_aliases": []
|
|
256
256
|
},
|
|
@@ -264,35 +264,35 @@
|
|
|
264
264
|
{
|
|
265
265
|
"canonical_name": "sks-performance-evaluator",
|
|
266
266
|
"type": "official",
|
|
267
|
-
"content_sha256": "
|
|
267
|
+
"content_sha256": "b7cb8ceafacb0877108c135b6675d50b0c4d54c8982d62d7aa2f1da9ff641ed1",
|
|
268
268
|
"hash_history": [],
|
|
269
269
|
"deprecated_aliases": []
|
|
270
270
|
},
|
|
271
271
|
{
|
|
272
272
|
"canonical_name": "sks-pipeline-runner",
|
|
273
273
|
"type": "official",
|
|
274
|
-
"content_sha256": "
|
|
274
|
+
"content_sha256": "ea5e45c919c19bc3395bf28f927e39ff05e8d648c062f317aa46d5fb3a4accba",
|
|
275
275
|
"hash_history": [],
|
|
276
276
|
"deprecated_aliases": []
|
|
277
277
|
},
|
|
278
278
|
{
|
|
279
279
|
"canonical_name": "sks-plan",
|
|
280
280
|
"type": "official",
|
|
281
|
-
"content_sha256": "
|
|
281
|
+
"content_sha256": "e572913b5107d2a803e503794724748343cd6b13f3de105394c3f4c26eef199a",
|
|
282
282
|
"hash_history": [],
|
|
283
283
|
"deprecated_aliases": []
|
|
284
284
|
},
|
|
285
285
|
{
|
|
286
286
|
"canonical_name": "sks-ppt",
|
|
287
287
|
"type": "official",
|
|
288
|
-
"content_sha256": "
|
|
288
|
+
"content_sha256": "fff78654596f00a613fbfe5808d7aec72babf17fdf8bab1a57013bfb0ebb4d75",
|
|
289
289
|
"hash_history": [],
|
|
290
290
|
"deprecated_aliases": []
|
|
291
291
|
},
|
|
292
292
|
{
|
|
293
293
|
"canonical_name": "sks-prompt-pipeline",
|
|
294
294
|
"type": "official",
|
|
295
|
-
"content_sha256": "
|
|
295
|
+
"content_sha256": "9f277792a19cc50663da92ff5f5a12a9f17764ac8d1b2a9ccb2035cad9f2c1a2",
|
|
296
296
|
"hash_history": [],
|
|
297
297
|
"deprecated_aliases": []
|
|
298
298
|
},
|
|
@@ -306,21 +306,21 @@
|
|
|
306
306
|
{
|
|
307
307
|
"canonical_name": "sks-reasoning-router",
|
|
308
308
|
"type": "official",
|
|
309
|
-
"content_sha256": "
|
|
309
|
+
"content_sha256": "51aa4f60a64426c092591f6af95ec0f710fde615d36f6739142a944c52545e71",
|
|
310
310
|
"hash_history": [],
|
|
311
311
|
"deprecated_aliases": []
|
|
312
312
|
},
|
|
313
313
|
{
|
|
314
314
|
"canonical_name": "sks-reflection",
|
|
315
315
|
"type": "official",
|
|
316
|
-
"content_sha256": "
|
|
316
|
+
"content_sha256": "0b5e62f3540bf5a5e37881f8fbf3c3186f0ddeb3f88c1e1ddb5a57c0bd0b242a",
|
|
317
317
|
"hash_history": [],
|
|
318
318
|
"deprecated_aliases": []
|
|
319
319
|
},
|
|
320
320
|
{
|
|
321
321
|
"canonical_name": "sks-release-review",
|
|
322
322
|
"type": "official",
|
|
323
|
-
"content_sha256": "
|
|
323
|
+
"content_sha256": "a10c638b870af32d832f5c6f61fbee181f57420f5bdcb626e95200188764a20e",
|
|
324
324
|
"hash_history": [],
|
|
325
325
|
"deprecated_aliases": []
|
|
326
326
|
},
|
|
@@ -334,14 +334,14 @@
|
|
|
334
334
|
{
|
|
335
335
|
"canonical_name": "sks-research-discovery",
|
|
336
336
|
"type": "official",
|
|
337
|
-
"content_sha256": "
|
|
337
|
+
"content_sha256": "039c18feb3446266858a46552fedb9fb612e75f041862a6af8f103e353d2e662",
|
|
338
338
|
"hash_history": [],
|
|
339
339
|
"deprecated_aliases": []
|
|
340
340
|
},
|
|
341
341
|
{
|
|
342
342
|
"canonical_name": "sks-review",
|
|
343
343
|
"type": "official",
|
|
344
|
-
"content_sha256": "
|
|
344
|
+
"content_sha256": "ea20e7d6e3a3b5e96ab71e4b69417f518a303210b0a591f9adf0e6f54b2d4180",
|
|
345
345
|
"hash_history": [],
|
|
346
346
|
"deprecated_aliases": []
|
|
347
347
|
},
|
|
@@ -362,70 +362,70 @@
|
|
|
362
362
|
{
|
|
363
363
|
"canonical_name": "sks-solution-scout",
|
|
364
364
|
"type": "official",
|
|
365
|
-
"content_sha256": "
|
|
365
|
+
"content_sha256": "f1e6bda06eb0f99d6f79c0c1921b392ea845df4050f4a915ccc9d5f97f88534e",
|
|
366
366
|
"hash_history": [],
|
|
367
367
|
"deprecated_aliases": []
|
|
368
368
|
},
|
|
369
369
|
{
|
|
370
370
|
"canonical_name": "sks-super-search",
|
|
371
371
|
"type": "official",
|
|
372
|
-
"content_sha256": "
|
|
372
|
+
"content_sha256": "8ee291127dede2cae4f58e96d5bd018755ff3754f8958b30589f015372d54b93",
|
|
373
373
|
"hash_history": [],
|
|
374
374
|
"deprecated_aliases": []
|
|
375
375
|
},
|
|
376
376
|
{
|
|
377
377
|
"canonical_name": "sks-turbo-context-pack",
|
|
378
378
|
"type": "official",
|
|
379
|
-
"content_sha256": "
|
|
379
|
+
"content_sha256": "5482ce3c3c49f915bd7ffd23d394921216c25e37a7da40010aca4c3a742002ff",
|
|
380
380
|
"hash_history": [],
|
|
381
381
|
"deprecated_aliases": []
|
|
382
382
|
},
|
|
383
383
|
{
|
|
384
384
|
"canonical_name": "sks-ui-ux-review",
|
|
385
385
|
"type": "official",
|
|
386
|
-
"content_sha256": "
|
|
386
|
+
"content_sha256": "be4d7821b9f52a0ac053332a410bc0a669b2683ffcf55b573be9faf6b0345d69",
|
|
387
387
|
"hash_history": [],
|
|
388
388
|
"deprecated_aliases": []
|
|
389
389
|
},
|
|
390
390
|
{
|
|
391
391
|
"canonical_name": "sks-ux-review",
|
|
392
392
|
"type": "official",
|
|
393
|
-
"content_sha256": "
|
|
393
|
+
"content_sha256": "3a9a4c85d43162de7eac5e4c448f32f8ee3023500584006ed9c3c2d099c5aa5f",
|
|
394
394
|
"hash_history": [],
|
|
395
395
|
"deprecated_aliases": []
|
|
396
396
|
},
|
|
397
397
|
{
|
|
398
398
|
"canonical_name": "sks-visual-review",
|
|
399
399
|
"type": "official",
|
|
400
|
-
"content_sha256": "
|
|
400
|
+
"content_sha256": "6e951a6d27f66495455dc7923b051dd6f8d2d95f7dded821a5920d1c32fb37fb",
|
|
401
401
|
"hash_history": [],
|
|
402
402
|
"deprecated_aliases": []
|
|
403
403
|
},
|
|
404
404
|
{
|
|
405
405
|
"canonical_name": "sks-wiki",
|
|
406
406
|
"type": "official",
|
|
407
|
-
"content_sha256": "
|
|
407
|
+
"content_sha256": "4523e092e73f7b4b5e41f2bbff16cfd5f4f47027d3fe758aaa1d418f28b49de6",
|
|
408
408
|
"hash_history": [],
|
|
409
409
|
"deprecated_aliases": []
|
|
410
410
|
},
|
|
411
411
|
{
|
|
412
412
|
"canonical_name": "sks-with-local-llm-off",
|
|
413
413
|
"type": "official",
|
|
414
|
-
"content_sha256": "
|
|
414
|
+
"content_sha256": "df5110e0efdc008c7892fa7e43b2460b93a772e04cf9730d2eb450fb430109ff",
|
|
415
415
|
"hash_history": [],
|
|
416
416
|
"deprecated_aliases": []
|
|
417
417
|
},
|
|
418
418
|
{
|
|
419
419
|
"canonical_name": "sks-with-local-llm-on",
|
|
420
420
|
"type": "official",
|
|
421
|
-
"content_sha256": "
|
|
421
|
+
"content_sha256": "4a4359b6d7dae8e7e7bb38e30a2f43f5ae671d9826c47be91cd20b989b93a522",
|
|
422
422
|
"hash_history": [],
|
|
423
423
|
"deprecated_aliases": []
|
|
424
424
|
},
|
|
425
425
|
{
|
|
426
426
|
"canonical_name": "sks-work",
|
|
427
427
|
"type": "official",
|
|
428
|
-
"content_sha256": "
|
|
428
|
+
"content_sha256": "c3cd00d9b628dd1fbf1179bc35e22429e3889488806cde836e1e58b4ccae6b8d",
|
|
429
429
|
"hash_history": [],
|
|
430
430
|
"deprecated_aliases": []
|
|
431
431
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { codexModelEffortCapability } from '../codex-control/codex-model-capabilities.js';
|
|
2
|
-
import { GLM_52_OPENROUTER_MODEL } from '../
|
|
2
|
+
import { GLM_52_OPENROUTER_MODEL } from '../codex-app/openrouter-provider.js';
|
|
3
3
|
import { isNarutoGpt56Model } from '../provider/model-router.js';
|
|
4
4
|
import { decideSubagentModel } from '../subagents/model-policy.js';
|
|
5
5
|
const XHIGH_SIGNAL_RE = /(frontier|autoresearch|novelty|hypothesis|falsif|forensic|from-chat-img|image\s*work\s*order|새로운\s*연구|가설|포렌식)/i;
|
|
@@ -235,14 +235,14 @@ function glmWorkerEffort(input) {
|
|
|
235
235
|
}
|
|
236
236
|
function glmProfileForReasoning(effort) {
|
|
237
237
|
if (effort === 'xhigh')
|
|
238
|
-
return 'sks-
|
|
238
|
+
return 'sks-openrouter-xhigh';
|
|
239
239
|
if (effort === 'high')
|
|
240
|
-
return 'sks-
|
|
240
|
+
return 'sks-openrouter-high';
|
|
241
241
|
if (effort === 'medium')
|
|
242
|
-
return 'sks-
|
|
242
|
+
return 'sks-openrouter-medium';
|
|
243
243
|
if (effort === 'low')
|
|
244
|
-
return 'sks-
|
|
244
|
+
return 'sks-openrouter-low';
|
|
245
245
|
if (effort === 'none')
|
|
246
|
-
return 'sks-
|
|
247
|
-
return 'sks-
|
|
246
|
+
return 'sks-openrouter-default';
|
|
247
|
+
return 'sks-openrouter-minimal';
|
|
248
248
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DEFAULT_AGENT_CONCURRENCY, DEFAULT_AGENT_COUNT, MAX_AGENT_COUNT, agentSessionId } from './agent-schema.js';
|
|
1
|
+
import { DEFAULT_AGENT_CONCURRENCY, DEFAULT_AGENT_COUNT, HARD_AGENT_CONCURRENCY, MAX_AGENT_COUNT, agentSessionId } from './agent-schema.js';
|
|
2
2
|
import { defaultAgentPersonas, validatePersonaUniqueness } from './agent-persona.js';
|
|
3
3
|
import { buildAgentEffortPolicy, decideAgentEffort, decideOfficialSubagentModel } from './agent-effort-policy.js';
|
|
4
4
|
function resolveMaxAgentCount(value) {
|
|
@@ -17,13 +17,14 @@ export function normalizeAgentCount(value, fallback = DEFAULT_AGENT_COUNT, maxAg
|
|
|
17
17
|
return count;
|
|
18
18
|
}
|
|
19
19
|
export function normalizeAgentConcurrency(value, agents, maxAgentCount = MAX_AGENT_COUNT) {
|
|
20
|
-
const
|
|
21
|
-
const
|
|
20
|
+
const frameCap = Math.max(1, Math.min(agents, maxAgentCount, HARD_AGENT_CONCURRENCY));
|
|
21
|
+
const fallback = Math.max(1, Math.min(frameCap, DEFAULT_AGENT_CONCURRENCY, agents));
|
|
22
|
+
const parsed = Number(value ?? fallback);
|
|
22
23
|
if (!Number.isFinite(parsed) || parsed < 1)
|
|
23
|
-
return
|
|
24
|
+
return fallback;
|
|
24
25
|
if (parsed > maxAgentCount)
|
|
25
26
|
throw new Error('Agent concurrency ' + parsed + ' exceeds max ' + maxAgentCount);
|
|
26
|
-
return Math.min(Math.floor(parsed),
|
|
27
|
+
return Math.min(Math.floor(parsed), frameCap);
|
|
27
28
|
}
|
|
28
29
|
export function buildAgentRoster(opts = {}) {
|
|
29
30
|
const maxAgentCount = resolveMaxAgentCount(opts.maxAgentCount);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from 'node:path';
|
|
2
2
|
import { appendJsonl, appendJsonlMany, nowIso, writeJsonAtomic } from '../fsx.js';
|
|
3
|
-
import { DEFAULT_AGENT_CONCURRENCY, MAX_AGENT_COUNT } from './agent-schema.js';
|
|
3
|
+
import { DEFAULT_AGENT_CONCURRENCY, HARD_AGENT_CONCURRENCY, MAX_AGENT_COUNT } from './agent-schema.js';
|
|
4
4
|
import { appendAgentWorkQueueEvent, completeWorkItem, createAgentWorkQueue, enqueueFollowUpWorkItems, leaseNextWorkItem, pendingWorkItems, writeAgentWorkQueue } from './agent-work-queue.js';
|
|
5
5
|
import { closeWorkerSlotsAfterDrain, createAgentWorkerSlots, markWorkerSlotGenerationClosed, openWorkerSlotGeneration, writeAgentWorkerSlots } from './agent-worker-slot.js';
|
|
6
6
|
import { closeAgentSessionGeneration, createAgentSessionGeneration, writeAgentSessionGeneration } from './agent-session-generation.js';
|
|
@@ -339,11 +339,13 @@ export async function runAgentScheduler(input) {
|
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
export function normalizeTargetActiveSlots(value, maxActiveSlots = MAX_AGENT_COUNT) {
|
|
342
|
-
const configuredCap = Number.isFinite(Number(maxActiveSlots)) && Number(maxActiveSlots) >= 1
|
|
343
|
-
|
|
344
|
-
|
|
342
|
+
const configuredCap = Number.isFinite(Number(maxActiveSlots)) && Number(maxActiveSlots) >= 1
|
|
343
|
+
? Math.floor(Number(maxActiveSlots))
|
|
344
|
+
: MAX_AGENT_COUNT;
|
|
345
|
+
const cap = Math.max(1, Math.min(configuredCap, HARD_AGENT_CONCURRENCY));
|
|
346
|
+
const parsed = Number(value ?? Math.min(DEFAULT_AGENT_CONCURRENCY, cap));
|
|
345
347
|
if (!Number.isFinite(parsed) || parsed < 1)
|
|
346
|
-
return cap;
|
|
348
|
+
return Math.min(DEFAULT_AGENT_CONCURRENCY, cap);
|
|
347
349
|
return Math.min(cap, Math.floor(parsed));
|
|
348
350
|
}
|
|
349
351
|
function buildState(missionId, targetActiveSlots, queue, slots, active, opts) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DEFAULT_NARUTO_MAX_THREADS, HARD_NARUTO_MAX_THREADS } from '../subagents/thread-budget.js';
|
|
1
2
|
export { DEFAULT_NARUTO_MAX_THREADS, DEFAULT_NARUTO_REQUESTED_SUBAGENTS, HARD_NARUTO_MAX_THREADS } from '../subagents/thread-budget.js';
|
|
2
3
|
export const AGENT_KERNEL_SCHEMA = 'sks.native-agent-kernel.v1';
|
|
3
4
|
export const AGENT_RESULT_SCHEMA = 'sks.agent-result.v1';
|
|
@@ -9,7 +10,8 @@ export const DEFAULT_AGENT_COUNT = 5;
|
|
|
9
10
|
export const AGENT_COUNT = DEFAULT_AGENT_COUNT;
|
|
10
11
|
export const OFFICIAL_SUBAGENT_EXECUTION_STAGE_ID = 'official_subagent_execution';
|
|
11
12
|
export const MAX_AGENT_COUNT = 20;
|
|
12
|
-
export const DEFAULT_AGENT_CONCURRENCY =
|
|
13
|
+
export const DEFAULT_AGENT_CONCURRENCY = DEFAULT_NARUTO_MAX_THREADS;
|
|
14
|
+
export const HARD_AGENT_CONCURRENCY = HARD_NARUTO_MAX_THREADS;
|
|
13
15
|
export const AGENT_BACKENDS = ['fake', 'process', 'codex-sdk', 'zellij', 'ollama', 'local-llm'];
|
|
14
16
|
export function normalizeAgentBackend(input) {
|
|
15
17
|
const value = String(input || 'codex-sdk');
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import path from 'node:path';
|
|
2
2
|
import { nowIso, sha256, writeJsonAtomic } from '../fsx.js';
|
|
3
|
+
import { HARD_AGENT_CONCURRENCY } from './agent-schema.js';
|
|
3
4
|
export const AGENT_TASK_GRAPH_SCHEMA = 'sks.agent-task-graph.v1';
|
|
5
|
+
const DEFAULT_ACTIVE_SLOTS = 4;
|
|
4
6
|
export function buildAgentTaskGraph(input) {
|
|
5
7
|
const routeType = normalizeRouteType(input.routeType || '$Naruto');
|
|
6
|
-
const
|
|
8
|
+
const requestedSlots = Math.floor(Number(input.targetActiveSlots || DEFAULT_ACTIVE_SLOTS));
|
|
9
|
+
const targetActiveSlots = Math.max(1, Math.min(HARD_AGENT_CONCURRENCY, Number.isFinite(requestedSlots) ? requestedSlots : DEFAULT_ACTIVE_SLOTS));
|
|
7
10
|
const minimumWorkItems = Math.max(1, Math.floor(Number(input.minimumWorkItems || targetActiveSlots)));
|
|
8
11
|
const desiredWorkItems = Math.max(minimumWorkItems, Math.floor(Number(input.desiredWorkItems || minimumWorkItems)));
|
|
9
12
|
const domainTemplates = routeTemplates(routeType);
|
|
@@ -7,13 +7,15 @@ import { detectAgentLeaseConflicts } from './work-partition/conflict-detector.js
|
|
|
7
7
|
import { buildNoOverlapProof } from './work-partition/no-overlap-proof.js';
|
|
8
8
|
import { buildAgentTaskGraph } from './agent-task-graph.js';
|
|
9
9
|
import { buildIntelligentWorkGraph, enhanceTaskGraphWithIntelligence } from './intelligent-work-graph.js';
|
|
10
|
-
import {
|
|
10
|
+
import { HARD_AGENT_CONCURRENCY } from './agent-schema.js';
|
|
11
|
+
const DEFAULT_ACTIVE_SLOTS = 4;
|
|
11
12
|
export async function buildAgentWorkPartition(root, roster, prompt = '', opts = {}) {
|
|
12
13
|
const inventory = await collectRepoInventory(root);
|
|
13
14
|
const dependency_graph = buildDependencyGraph(inventory);
|
|
14
15
|
const semantic_domain_graph = buildSemanticDomainGraph(inventory);
|
|
15
16
|
const sessions = Object.fromEntries((roster.roster || []).map((agent) => [agent.id, agent.session_id]));
|
|
16
|
-
const
|
|
17
|
+
const requestedSlots = Math.floor(Number(opts.targetActiveSlots || roster.concurrency || roster.agent_count || DEFAULT_ACTIVE_SLOTS));
|
|
18
|
+
const targetActiveSlots = Math.max(1, Math.min(HARD_AGENT_CONCURRENCY, Number.isFinite(requestedSlots) && requestedSlots >= 1 ? requestedSlots : DEFAULT_ACTIVE_SLOTS));
|
|
17
19
|
const intelligent_work_graph = await buildIntelligentWorkGraph({
|
|
18
20
|
root,
|
|
19
21
|
inventory,
|
package/dist/core/auto-review.js
CHANGED
|
@@ -4,6 +4,7 @@ import { ensureDir, exists, readText, writeTextAtomic } from './fsx.js';
|
|
|
4
4
|
import { writeCodexConfigGuarded } from './codex/codex-config-guard.js';
|
|
5
5
|
import { inspectConfinedPath, removeManagedPathVerified } from './managed-path-safety.js';
|
|
6
6
|
import { RETIRED_AUTO_REVIEW_POLICY_TEXTS, RETIRED_SKS_CONFIG_PROFILE_NAMES } from './doctor/retired-auto-review-config.js';
|
|
7
|
+
import { retiredGlmDesktopProfileBody } from './codex-app/openrouter-provider.js';
|
|
7
8
|
export { RETIRED_SKS_CONFIG_PROFILE_NAMES } from './doctor/retired-auto-review-config.js';
|
|
8
9
|
export const AUTO_REVIEW_REVIEWER = 'auto_review';
|
|
9
10
|
export const LEGACY_AUTO_REVIEW_REVIEWER = 'guardian_subagent';
|
|
@@ -462,6 +463,12 @@ function managedRetiredProfileBodies() {
|
|
|
462
463
|
'approval_policy = "on-request"',
|
|
463
464
|
'sandbox_mode = "workspace-write"',
|
|
464
465
|
'model_reasoning_effort = "medium"'
|
|
465
|
-
].join('\n')
|
|
466
|
+
].join('\n'),
|
|
467
|
+
retiredGlmDesktopProfileBody('none'),
|
|
468
|
+
retiredGlmDesktopProfileBody('minimal'),
|
|
469
|
+
retiredGlmDesktopProfileBody('low'),
|
|
470
|
+
retiredGlmDesktopProfileBody('medium'),
|
|
471
|
+
retiredGlmDesktopProfileBody('high'),
|
|
472
|
+
retiredGlmDesktopProfileBody('xhigh')
|
|
466
473
|
].map(normalizeGeneratedProfileText));
|
|
467
474
|
}
|
|
@@ -35,10 +35,15 @@ export async function postcheckCodexStartupConfig(input) {
|
|
|
35
35
|
relative_config_files: [],
|
|
36
36
|
unsupported_managed_role_fields: false,
|
|
37
37
|
official_subagent_config: {
|
|
38
|
+
enabled: officialConfig.enabled,
|
|
38
39
|
max_threads: officialConfig.maxThreads,
|
|
40
|
+
max_concurrent_threads_per_session: officialConfig.maxThreads,
|
|
39
41
|
max_depth: officialConfig.maxDepth,
|
|
40
42
|
job_max_runtime_seconds: officialConfig.jobMaxRuntimeSeconds,
|
|
41
43
|
interrupt_message: officialConfig.interruptMessage,
|
|
44
|
+
default_subagent_model: officialConfig.defaultSubagentModel,
|
|
45
|
+
default_subagent_reasoning_effort: officialConfig.defaultSubagentReasoningEffort,
|
|
46
|
+
multi_agent_v2: officialConfig.multiAgentV2,
|
|
42
47
|
sources: officialConfig.sources,
|
|
43
48
|
warnings: officialConfig.warnings
|
|
44
49
|
},
|