@0perator/operator 0.1.313 → 0.1.321
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/dist/autonomy/agent-cli.js +6 -2
- package/dist/autonomy/cron.js +1 -1
- package/dist/autonomy/delegate.js +29 -4
- package/dist/autonomy/index.js +22 -0
- package/dist/autonomy/profile.js +1 -1
- package/dist/browser/cdp.js +1 -1
- package/dist/cli.js +119 -43
- package/dist/config/persona.js +29 -12
- package/dist/config/settings.js +12 -7
- package/dist/engine/agent.js +4 -2
- package/dist/engine/aurora.js +8 -3
- package/dist/engine/batch-scheduler.js +3 -3
- package/dist/engine/cli.js +1171 -0
- package/dist/engine/compaction.js +1 -1
- package/dist/engine/loop-guard.js +1 -1
- package/dist/engine/router-adapter.js +1 -0
- package/dist/idle/activity.js +20 -0
- package/dist/idle/index.js +5 -0
- package/dist/idle/monitor.js +71 -0
- package/dist/idle/policy.js +66 -0
- package/dist/idle/proc.js +22 -0
- package/dist/idle/reaper.js +69 -0
- package/dist/idle/session-record.js +59 -0
- package/dist/index.js +1 -1
- package/dist/mcp/config.js +72 -14
- package/dist/mcp/index.js +9 -2
- package/dist/memory/index.js +1 -1
- package/dist/permissions/index.js +22 -7
- package/dist/permissions/tier.js +1 -1
- package/dist/remote/host.js +20 -2
- package/dist/remote/safe-commands.js +38 -0
- package/dist/router/models.js.bak +78 -0
- package/dist/router/models.js.bak-1791259923 +78 -0
- package/dist/router/models.js.bak-pre-gateway +78 -0
- package/dist/router/models.js.bak-pre-patch2 +78 -0
- package/dist/router/models.js.bak2 +78 -0
- package/dist/services/model-autodetect.js +240 -0
- package/dist/services/preflight.js +54 -2
- package/dist/services/store-sync.js +111 -0
- package/dist/session-teardown.js +10 -1
- package/dist/session.js +22 -0
- package/dist/skills/catalogue.js +1 -1
- package/dist/tools/chauffeur-native.js +155 -0
- package/dist/tools/chauffeur.js +14 -3
- package/dist/tools/download.js +229 -0
- package/dist/tools/executor.js +1 -1
- package/dist/tools/monitoring-tools.js +312 -0
- package/dist/tools/native-redirect.js +140 -0
- package/dist/tools/paths.js +154 -0
- package/dist/tools/power-tools.js +627 -0
- package/dist/tools/registry.js +309 -18
- package/dist/tools/registry.js.bak-1791259948 +1914 -0
- package/dist/tools/registry.js.bak-pre-plugins +1914 -0
- package/dist/tools/shell-jobs.js +5 -2
- package/dist/tools/shell-session.js +4 -2
- package/dist/tools/tool-output-spill.js +1 -1
- package/dist/ui/BusTray.js +70 -0
- package/dist/ui/Composer.js +5 -2
- package/dist/ui/QuestionPrompt.js +1 -1
- package/dist/ui/ToolStep.js +16 -1
- package/dist/ui/liveTools.js +1 -1
- package/dist/ui/resize.js +160 -0
- package/dist/util/mentions.js +1 -1
- package/dist/vault/store.js +1 -1
- package/mcp/README.md +88 -0
- package/mcp/ocr-macos.swift +45 -0
- package/mcp/powertools-media.mjs +464 -0
- package/mcp/powertools-toolbox.mjs +1114 -0
- package/mcp/powertools.md +210 -0
- package/mcp/powertools.mjs +861 -0
- package/package.json +2 -1
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
// • Barrier tools (git_command/checkpoint/computer_*/browser*/delegate_*/…) can touch ANYTHING and
|
|
17
17
|
// share a device — they run alone, in input order.
|
|
18
18
|
// • Shell tools (bash/shell_exec) can also touch anything, but INDEPENDENT shells in one round run
|
|
19
|
-
// concurrently (Cursor
|
|
19
|
+
// concurrently (matches Cursor). A shell waits for every prior non-shell; later non-shells wait for
|
|
20
20
|
// the whole shell wave. Shells do NOT wait for each other. (Ephemeral one-shot processes when a
|
|
21
21
|
// round has ≥2 shells — see shellExecMode; lone bash still uses the persistent session.)
|
|
22
22
|
// • A rejected/denied run resolves as a string (executor contract: resolve-not-reject); one call's
|
|
23
23
|
// failure never strands its dependents — the chain advances regardless.
|
|
24
24
|
// Pure JS: no node builtins, no asyncLocalStorage — safe for the neutral engine bundle (run-jsc).
|
|
25
25
|
export const cancelledResult = (name) => `cancelled: ${name} did not start — the turn was interrupted before it ran`;
|
|
26
|
-
/** Foreground shells that may run concurrently within one model round (Cursor
|
|
26
|
+
/** Foreground shells that may run concurrently within one model round (matches Cursor). */
|
|
27
27
|
const SHELL_EXACT = new Set(["bash", "shell_exec"]);
|
|
28
28
|
const BARRIER_EXACT = new Set([
|
|
29
29
|
"shell_background", "bash_kill",
|
|
@@ -136,7 +136,7 @@ export function runBatch(calls, opts) {
|
|
|
136
136
|
gate.push(p); // a barrier runs ALONE: waits for everything prior
|
|
137
137
|
}
|
|
138
138
|
else if (kind === "shell") {
|
|
139
|
-
// Cursor
|
|
139
|
+
// Matching Cursor: independent shells overlap. Wait for prior barriers + prior NON-shell work;
|
|
140
140
|
// do NOT wait for other shells in this wave.
|
|
141
141
|
gate.push(afterBarrier);
|
|
142
142
|
for (const p of inflight)
|