open-agents-ai 0.187.555 → 0.187.557
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/index.js +219 -71
- package/npm-shrinkwrap.json +279 -21
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13806,6 +13806,10 @@ Process error: ${err.message}`;
|
|
|
13806
13806
|
return null;
|
|
13807
13807
|
return toInfo(entry);
|
|
13808
13808
|
}
|
|
13809
|
+
getLatestTask() {
|
|
13810
|
+
const entry = Array.from(this.tasks.values()).at(-1);
|
|
13811
|
+
return entry ? toInfo(entry) : null;
|
|
13812
|
+
}
|
|
13809
13813
|
getOutput(id, tail) {
|
|
13810
13814
|
const entry = this.tasks.get(id);
|
|
13811
13815
|
if (!entry)
|
|
@@ -13896,7 +13900,7 @@ Process error: ${err.message}`;
|
|
|
13896
13900
|
workingDir;
|
|
13897
13901
|
manager;
|
|
13898
13902
|
name = "background_run";
|
|
13899
|
-
description =
|
|
13903
|
+
description = `Run a shell command in the background. Returns a task ID immediately. Use task_status(task_id="...") to check progress and task_output(task_id="...") to read results. Useful for long-running commands (builds, tests) that shouldn't block the agent.`;
|
|
13900
13904
|
parameters = {
|
|
13901
13905
|
type: "object",
|
|
13902
13906
|
properties: {
|
|
@@ -13921,7 +13925,7 @@ Process error: ${err.message}`;
|
|
|
13921
13925
|
success: true,
|
|
13922
13926
|
output: `Background task started: ${taskId}
|
|
13923
13927
|
Command: ${command}
|
|
13924
|
-
Use task_status or task_output to check progress.`,
|
|
13928
|
+
Use task_status(task_id="${taskId}") or task_output(task_id="${taskId}") to check progress.`,
|
|
13925
13929
|
durationMs: Date.now() - start2
|
|
13926
13930
|
};
|
|
13927
13931
|
}
|
|
@@ -13973,32 +13977,43 @@ Exit code: ${task.exitCode ?? "N/A"}`,
|
|
|
13973
13977
|
TaskOutputTool = class {
|
|
13974
13978
|
manager;
|
|
13975
13979
|
name = "task_output";
|
|
13976
|
-
description = "Read the output of a background task. Returns stdout+stderr combined. Use tail parameter to get only the last N lines.";
|
|
13980
|
+
description = "Read the output of a background task. Returns stdout+stderr combined. If task_id is omitted, uses the most recently created task. Use tail parameter to get only the last N lines.";
|
|
13977
13981
|
parameters = {
|
|
13978
13982
|
type: "object",
|
|
13979
13983
|
properties: {
|
|
13980
|
-
task_id: { type: "string", description: "Task ID to read output from" },
|
|
13984
|
+
task_id: { type: "string", description: "Task ID to read output from (optional — falls back to most recent task)" },
|
|
13981
13985
|
tail: { type: "number", description: "Only return the last N lines (optional)" }
|
|
13982
|
-
}
|
|
13983
|
-
required: ["task_id"]
|
|
13986
|
+
}
|
|
13984
13987
|
};
|
|
13985
13988
|
constructor(manager) {
|
|
13986
13989
|
this.manager = manager;
|
|
13987
13990
|
}
|
|
13988
13991
|
async execute(args) {
|
|
13989
13992
|
const start2 = Date.now();
|
|
13990
|
-
const
|
|
13993
|
+
const explicitTaskId = typeof args["task_id"] === "string" ? args["task_id"].trim() : "";
|
|
13994
|
+
const fallbackTask = explicitTaskId ? null : this.manager.getLatestTask();
|
|
13995
|
+
const taskId = explicitTaskId || fallbackTask?.id || "";
|
|
13991
13996
|
const tail = typeof args["tail"] === "number" ? args["tail"] : void 0;
|
|
13992
13997
|
const output = this.manager.getOutput(taskId, tail);
|
|
13993
13998
|
if (output === null) {
|
|
13999
|
+
if (!taskId) {
|
|
14000
|
+
return {
|
|
14001
|
+
success: false,
|
|
14002
|
+
output: "",
|
|
14003
|
+
error: "task_id is required when no background tasks exist yet",
|
|
14004
|
+
durationMs: Date.now() - start2
|
|
14005
|
+
};
|
|
14006
|
+
}
|
|
13994
14007
|
return { success: false, output: "", error: `Task not found: ${taskId}`, durationMs: Date.now() - start2 };
|
|
13995
14008
|
}
|
|
13996
14009
|
const task = this.manager.getTask(taskId);
|
|
13997
14010
|
const header = task ? `[${task.status}${task.exitCode !== null ? `, exit ${task.exitCode}` : ""}]
|
|
14011
|
+
` : "";
|
|
14012
|
+
const fallbackNote = explicitTaskId ? "" : fallbackTask ? `[fallback to ${taskId}]
|
|
13998
14013
|
` : "";
|
|
13999
14014
|
return {
|
|
14000
14015
|
success: true,
|
|
14001
|
-
output: header + (output || "(no output yet)"),
|
|
14016
|
+
output: fallbackNote + header + (output || "(no output yet)"),
|
|
14002
14017
|
durationMs: Date.now() - start2
|
|
14003
14018
|
};
|
|
14004
14019
|
}
|
|
@@ -513936,12 +513951,12 @@ function buildStagnationDiagnostic(signals) {
|
|
|
513936
513951
|
``,
|
|
513937
513952
|
`2. STATE A HYPOTHESIS in writing — what specifically is wrong? "I think X is failing because Y." Be concrete. Do NOT propose a fix yet.`,
|
|
513938
513953
|
``,
|
|
513939
|
-
`3. VERIFY ONE ASSUMPTION — pick the ONE thing you most BELIEVE to be true and test it with the smallest possible command
|
|
513954
|
+
`3. VERIFY ONE ASSUMPTION — pick the ONE local thing you most BELIEVE to be true and test it with the smallest possible read/grep/test command. Examples of the *shape* (not the exact commands):`,
|
|
513940
513955
|
` • Is this artifact present on disk? (one read of the path)`,
|
|
513941
513956
|
` • Does this import / reference resolve? (read 5 lines around it)`,
|
|
513942
513957
|
` • Is this environment value set? (one query)`,
|
|
513943
513958
|
` • Is this binary on PATH? (one which/where)`,
|
|
513944
|
-
` • Don't know what an error means?
|
|
513959
|
+
` • Don't know what an error means? Re-read the full local error, extract the implicated path/symbol/config key/command, and verify that target locally before changing anything.`,
|
|
513945
513960
|
``,
|
|
513946
513961
|
`4. CHECK SILENT FAILURES — package managers and build systems frequently report "success" while silently dropping artifacts you needed. Don't trust summary output ("added N", "build complete") without verifying the SPECIFIC artifact exists.`,
|
|
513947
513962
|
``,
|
|
@@ -514071,7 +514086,7 @@ function renderReflectionMessage(r2) {
|
|
|
514071
514086
|
}
|
|
514072
514087
|
if (r2.attempts >= 3) {
|
|
514073
514088
|
lines.push(``);
|
|
514074
|
-
lines.push(`[FORCED
|
|
514089
|
+
lines.push(`[FORCED - local failure loop detected after ${r2.attempts} attempts. Your NEXT move must be anchored to the local error above: name one implicated path/symbol/config key or failing command, verify that target with the smallest local read/grep/test step, then make one targeted edit or declare the exact blocker. Do not web_search for a codebase-local failure unless the current user task explicitly requires external documentation.]`);
|
|
514075
514090
|
}
|
|
514076
514091
|
lines.push(`VERIFY this hypothesis with a single small command BEFORE retrying the same tool. If you retry without verifying, you will likely fail the same way.]`);
|
|
514077
514092
|
return lines.join("\n");
|
|
@@ -525320,6 +525335,9 @@ function classifyShellIntent(cmd) {
|
|
|
525320
525335
|
if (tokens.length === 0)
|
|
525321
525336
|
return { klass: "other", verb: "", tool: "" };
|
|
525322
525337
|
const first2 = tokens[0].toLowerCase();
|
|
525338
|
+
if (first2 === "test" || first2 === "[" || first2 === "[[") {
|
|
525339
|
+
return { klass: "read", verb: "test", tool: first2 };
|
|
525340
|
+
}
|
|
525323
525341
|
const isRunner = RUNNERS.has(first2);
|
|
525324
525342
|
let verbToken;
|
|
525325
525343
|
if (isRunner && tokens.length >= 2) {
|
|
@@ -526115,6 +526133,7 @@ RECOVERY: cd to the directory containing '${file}', run a plain install with no
|
|
|
526115
526133
|
|
|
526116
526134
|
// packages/orchestrator/dist/agenticRunner.js
|
|
526117
526135
|
import { existsSync as _fsExistsSync, readFileSync as _fsReadFileSync, writeFileSync as _fsWriteFileSync, mkdirSync as _fsMkdirSync } from "node:fs";
|
|
526136
|
+
import { createHash as _createHash } from "node:crypto";
|
|
526118
526137
|
import { join as _pathJoin } from "node:path";
|
|
526119
526138
|
import { homedir as _osHomedir } from "node:os";
|
|
526120
526139
|
import { z as z15 } from "zod";
|
|
@@ -526477,9 +526496,9 @@ var init_agenticRunner = __esm({
|
|
|
526477
526496
|
_lastBuildSuccessCommand = "";
|
|
526478
526497
|
// REG-31: prevent duplicate completion suggestion per turn
|
|
526479
526498
|
_completionPromptInjectedThisTurn = false;
|
|
526480
|
-
// REG-32: one-shot per-stem nudge toward
|
|
526499
|
+
// REG-32: one-shot per-stem nudge toward local triage on opaque errors.
|
|
526481
526500
|
// Closes the gap where qwen3.6 pivots away from a single failure (different
|
|
526482
|
-
// stem on next turn) and never triggers REG-26/28's retry-based
|
|
526501
|
+
// stem on next turn) and never triggers REG-26/28's retry-based local
|
|
526483
526502
|
// escalations. Fires on the FIRST failure of a stem when the local
|
|
526484
526503
|
// diagnostic can't help (unknown category or long multi-line error with
|
|
526485
526504
|
// no extractable subject).
|
|
@@ -526521,7 +526540,7 @@ var init_agenticRunner = __esm({
|
|
|
526521
526540
|
// writes ARE happening (just earlier in the run). Detect: in last
|
|
526522
526541
|
// 12 turns, ld+sh count >= 25 + fw growth <= 2 + recent shell
|
|
526523
526542
|
// failure exists. Fire CRITICAL halt instructing the agent to stop
|
|
526524
|
-
// exploring and either
|
|
526543
|
+
// exploring and either locally triage the failure or fix one specific thing.
|
|
526525
526544
|
// Cooldown 8 turns after firing.
|
|
526526
526545
|
_wideExplorationCooldownUntilTurn = -1;
|
|
526527
526546
|
// REG-45: sticky cross-turn escalation. The dispatch-time reflection
|
|
@@ -526680,8 +526699,8 @@ var init_agenticRunner = __esm({
|
|
|
526680
526699
|
//
|
|
526681
526700
|
// Semantics: when REG-61 fires, this latch goes true. While true, every
|
|
526682
526701
|
// non-bypass tool call gets BLOCKED with a synthetic error result. The
|
|
526683
|
-
// bypass set includes the 4 creative-edit tools plus
|
|
526684
|
-
//
|
|
526702
|
+
// bypass set includes the 4 creative-edit tools plus task_complete /
|
|
526703
|
+
// ask_user / explicit web-task escape hatches. Any creative edit dispatch
|
|
526685
526704
|
// clears the latch ("directive satisfied"). Shell, file_read, todo_*,
|
|
526686
526705
|
// grep_search, list_directory etc. are NOT in bypass — those are the
|
|
526687
526706
|
// exact patterns batch528/529 agents used to ignore REG-61.
|
|
@@ -526692,10 +526711,11 @@ var init_agenticRunner = __esm({
|
|
|
526692
526711
|
// sub_agent delegation. DECOMP-1's informational directive was ignored
|
|
526693
526712
|
// (0 sub_agent calls in 466 tool-call run despite directive at turn 1).
|
|
526694
526713
|
// Mirrors the BFC-61.G escalation arc: when the agent has edited
|
|
526695
|
-
// ≥THRESHOLD distinct files in main context WITHOUT
|
|
526714
|
+
// ≥THRESHOLD distinct files in main context WITHOUT successful sub_agent,
|
|
526696
526715
|
// the dispatcher BLOCKS edits to NEW files (paths not yet edited) until
|
|
526697
|
-
// sub_agent
|
|
526698
|
-
// (current-module finishing work).
|
|
526716
|
+
// sub_agent succeeds. Edits to already-touched files are still allowed
|
|
526717
|
+
// (current-module finishing work). Failed or malformed delegation does
|
|
526718
|
+
// not clear the gate.
|
|
526699
526719
|
// Kill switch: OA_DISABLE_DECOMP2=1.
|
|
526700
526720
|
_decomp2MainContextFiles = /* @__PURE__ */ new Set();
|
|
526701
526721
|
_decomp2SubAgentCalls = 0;
|
|
@@ -527231,7 +527251,7 @@ Pick the SMALLEST concrete deliverable from the spec — typically the project e
|
|
|
527231
527251
|
* - kill-switch `OA_DISABLE_DECOMP2` is not set
|
|
527232
527252
|
*
|
|
527233
527253
|
* Already-touched paths pass through (current-module finishing work allowed).
|
|
527234
|
-
* sub_agent /
|
|
527254
|
+
* sub_agent / task_complete / explicit web-task tools pass through (not creative-edit tools).
|
|
527235
527255
|
*/
|
|
527236
527256
|
_maybeDecomp2Block(tc, turn) {
|
|
527237
527257
|
if (!this._decomp2GateActive)
|
|
@@ -527273,7 +527293,7 @@ Pick the SMALLEST concrete deliverable from the spec — typically the project e
|
|
|
527273
527293
|
].join("\n");
|
|
527274
527294
|
this.emit({
|
|
527275
527295
|
type: "status",
|
|
527276
|
-
content: `DECOMP-2 NEW-FILE BLOCK — rejected ${tc.name}('${_editPath}') at turn ${turn}; gate stays active until sub_agent
|
|
527296
|
+
content: `DECOMP-2 NEW-FILE BLOCK — rejected ${tc.name}('${_editPath}') at turn ${turn}; gate stays active until sub_agent succeeds`,
|
|
527277
527297
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
527278
527298
|
});
|
|
527279
527299
|
this._tagSyntheticFailure({
|
|
@@ -527294,8 +527314,9 @@ Pick the SMALLEST concrete deliverable from the spec — typically the project e
|
|
|
527294
527314
|
* Side effects when fired:
|
|
527295
527315
|
* - On successful creative edit: adds path to `_decomp2MainContextFiles`,
|
|
527296
527316
|
* possibly activates `_decomp2GateActive` (emits status).
|
|
527297
|
-
* - On sub_agent / priority_delegate / background_run:
|
|
527298
|
-
* counter, clears gate (emits status).
|
|
527317
|
+
* - On successful sub_agent / priority_delegate / background_run:
|
|
527318
|
+
* increments counter, clears gate (emits status). Failed or malformed
|
|
527319
|
+
* delegation attempts do not satisfy the gate.
|
|
527299
527320
|
*
|
|
527300
527321
|
* Pure post-dispatch: caller invokes AFTER the tool result is in hand,
|
|
527301
527322
|
* regardless of which loop the dispatch happened in.
|
|
@@ -527312,13 +527333,23 @@ Pick the SMALLEST concrete deliverable from the spec — typically the project e
|
|
|
527312
527333
|
this._decomp2GateActive = true;
|
|
527313
527334
|
this.emit({
|
|
527314
527335
|
type: "status",
|
|
527315
|
-
content: `DECOMP-2 NEW-FILE GATE ACTIVATED — ${this._decomp2MainContextFiles.size} distinct files edited in main context, 0 sub_agent calls; further edits to NEW files will be blocked until sub_agent
|
|
527336
|
+
content: `DECOMP-2 NEW-FILE GATE ACTIVATED — ${this._decomp2MainContextFiles.size} distinct files edited in main context, 0 successful sub_agent calls; further edits to NEW files will be blocked until sub_agent succeeds`,
|
|
527316
527337
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
527317
527338
|
});
|
|
527318
527339
|
}
|
|
527319
527340
|
}
|
|
527320
527341
|
}
|
|
527321
527342
|
if (tc.name === "sub_agent" || tc.name === "priority_delegate" || tc.name === "background_run") {
|
|
527343
|
+
if (result?.success !== true) {
|
|
527344
|
+
if (this._decomp2GateActive) {
|
|
527345
|
+
this.emit({
|
|
527346
|
+
type: "status",
|
|
527347
|
+
content: `DECOMP-2 DELEGATION FAILED — '${tc.name}' did not clear gate at turn ${turn}; fix delegation arguments/result before editing another new file`,
|
|
527348
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
527349
|
+
});
|
|
527350
|
+
}
|
|
527351
|
+
return;
|
|
527352
|
+
}
|
|
527322
527353
|
this._decomp2SubAgentCalls++;
|
|
527323
527354
|
if (this._decomp2GateActive) {
|
|
527324
527355
|
this._decomp2GateActive = false;
|
|
@@ -527865,8 +527896,13 @@ ${body}`;
|
|
|
527865
527896
|
scanTurn++;
|
|
527866
527897
|
for (const tc of msg.tool_calls) {
|
|
527867
527898
|
const name10 = tc.function.name;
|
|
527868
|
-
|
|
527869
|
-
|
|
527899
|
+
let parsedArgs;
|
|
527900
|
+
try {
|
|
527901
|
+
parsedArgs = JSON.parse(tc.function.arguments || "{}");
|
|
527902
|
+
} catch {
|
|
527903
|
+
parsedArgs = void 0;
|
|
527904
|
+
}
|
|
527905
|
+
const fp = parsedArgs ? this._buildToolFingerprint(name10, parsedArgs) : `${name10}:raw#sha256:${_createHash("sha256").update(tc.function.arguments ?? "").digest("hex").slice(0, 20)}`;
|
|
527870
527906
|
let resultIdx = -1;
|
|
527871
527907
|
for (let j = i2 + 1; j < Math.min(messages2.length, i2 + 8); j++) {
|
|
527872
527908
|
const r2 = messages2[j];
|
|
@@ -528547,6 +528583,42 @@ ${body}`;
|
|
|
528547
528583
|
lines.push(`(turn ${turn} — failures auto-expire after 10 turns; cleared on success or successful retry)`);
|
|
528548
528584
|
return lines.join("\n");
|
|
528549
528585
|
}
|
|
528586
|
+
/**
|
|
528587
|
+
* Render a short, local-code-first nudge from the freshest failure signal.
|
|
528588
|
+
* This is intentionally not a web-search suggestion: most coding-agent loops
|
|
528589
|
+
* are caused by ignoring local compiler/test output, not by missing internet
|
|
528590
|
+
* knowledge. The nudge points at the exact local error, path, symbol, or
|
|
528591
|
+
* command the next move should be anchored to.
|
|
528592
|
+
*/
|
|
528593
|
+
_renderLocalFailureNudge(turn) {
|
|
528594
|
+
const fresh = this._recentFailures.filter((f2) => turn - f2.turn <= 10);
|
|
528595
|
+
const latest = fresh[fresh.length - 1];
|
|
528596
|
+
if (!latest) {
|
|
528597
|
+
return [
|
|
528598
|
+
`[LOCAL ERROR-INFORMED NUDGE]`,
|
|
528599
|
+
`No fresh tool failure is recorded. Use the active todo, files already touched, and the last visible test/build output to pick the smallest plausible local edit. If there is no local target, declare the specific blocker instead of looping.`
|
|
528600
|
+
].join("\n");
|
|
528601
|
+
}
|
|
528602
|
+
const raw = `${latest.error || ""}
|
|
528603
|
+
${latest.output || ""}`.trim();
|
|
528604
|
+
const firstLine = raw.split(/\r?\n/).find((l2) => l2.trim().length > 0)?.trim().slice(0, 220) || "(no error line captured)";
|
|
528605
|
+
const command = latest.tool === "shell" ? String(latest.args["command"] ?? latest.args["cmd"] ?? "").slice(0, 220) : "";
|
|
528606
|
+
const pathMatches = Array.from(new Set((raw.match(/(?:[A-Za-z]:)?(?:\.{1,2}\/|\/)?[\w@./-]+\.(?:[cm]?tsx?|jsx?|json|css|html|md|ya?ml|py|go|rs|java|kt|rb|php|c|cc|cpp|h|hpp|sh|sql)(?::\d+(?::\d+)?)?/g) ?? []).filter((p2) => !/^https?:\/\//i.test(p2)).map((p2) => p2.slice(0, 160)))).slice(0, 4);
|
|
528607
|
+
const quotedSubjects = Array.from(raw.matchAll(/["'`]([^"'`\n]{3,100})["'`]/g)).map((m2) => m2[1].trim()).filter((s2) => s2.length >= 3 && !/^https?:\/\//i.test(s2)).slice(0, 4);
|
|
528608
|
+
const lines = [
|
|
528609
|
+
`[LOCAL ERROR-INFORMED NUDGE]`,
|
|
528610
|
+
`Last failing tool: ${latest.tool} (turn ${latest.turn})`,
|
|
528611
|
+
`First error line: ${firstLine}`
|
|
528612
|
+
];
|
|
528613
|
+
if (command)
|
|
528614
|
+
lines.push(`Failing local command: ${command}`);
|
|
528615
|
+
if (pathMatches.length > 0)
|
|
528616
|
+
lines.push(`Local paths named by error: ${pathMatches.join(", ")}`);
|
|
528617
|
+
if (quotedSubjects.length > 0)
|
|
528618
|
+
lines.push(`Quoted local subjects: ${quotedSubjects.join(", ")}`);
|
|
528619
|
+
lines.push(`Next useful move: anchor on the local signal above. Pick one implicated path/symbol or the file most directly connected to the failing command, make one small targeted edit, then run the failing local command once. If no local target exists after one focused local inspection, declare the blocker. Do not spend the next move on web search for a codebase-local failure.`);
|
|
528620
|
+
return lines.join("\n");
|
|
528621
|
+
}
|
|
528550
528622
|
/**
|
|
528551
528623
|
* REG-3: Render the current todo list as a compact transient block so the
|
|
528552
528624
|
* agent can read its own plan without calling todo_read or re-emitting
|
|
@@ -528881,6 +528953,69 @@ ${blob}
|
|
|
528881
528953
|
}
|
|
528882
528954
|
return `${tool}#${(h >>> 0).toString(16)}`;
|
|
528883
528955
|
}
|
|
528956
|
+
/**
|
|
528957
|
+
* Build an exact, deterministic tool-argument key for cache/dedupe identity.
|
|
528958
|
+
*
|
|
528959
|
+
* Older call sites truncated values before forming the fingerprint, so two
|
|
528960
|
+
* different long paths/queries/commands with the same prefix could be treated
|
|
528961
|
+
* as duplicate reads. This keeps the human-readable `path=...` shape for
|
|
528962
|
+
* diagnostics, but appends a hash whenever a value must be shortened for log
|
|
528963
|
+
* size. The hash is computed over the full canonical value.
|
|
528964
|
+
*/
|
|
528965
|
+
_buildExactArgsKey(args) {
|
|
528966
|
+
return Object.entries(args ?? {}).sort(([a2], [b]) => a2.localeCompare(b)).map(([k, v]) => `${k}=${this._formatExactArgValue(v)}`).join(",");
|
|
528967
|
+
}
|
|
528968
|
+
_buildToolFingerprint(name10, args) {
|
|
528969
|
+
return `${name10}:${this._buildExactArgsKey(args)}`;
|
|
528970
|
+
}
|
|
528971
|
+
_formatExactArgValue(value2) {
|
|
528972
|
+
const canonical = this._canonicalArgValue(value2);
|
|
528973
|
+
const oneLine = canonical.replace(/\r/g, "\\r").replace(/\n/g, "\\n");
|
|
528974
|
+
if (oneLine.length <= 240) {
|
|
528975
|
+
return this._escapeArgsKeyValue(oneLine);
|
|
528976
|
+
}
|
|
528977
|
+
const head = oneLine.slice(0, 160);
|
|
528978
|
+
const tail = oneLine.slice(-40);
|
|
528979
|
+
const hash = _createHash("sha256").update(canonical).digest("hex").slice(0, 20);
|
|
528980
|
+
return `${this._escapeArgsKeyValue(head)}...${this._escapeArgsKeyValue(tail)}#sha256:${hash}`;
|
|
528981
|
+
}
|
|
528982
|
+
_escapeArgsKeyValue(value2) {
|
|
528983
|
+
return value2.replace(/\\/g, "\\\\").replace(/,/g, "\\,");
|
|
528984
|
+
}
|
|
528985
|
+
_canonicalArgValue(value2, seen = /* @__PURE__ */ new WeakSet()) {
|
|
528986
|
+
if (typeof value2 === "string")
|
|
528987
|
+
return value2;
|
|
528988
|
+
if (value2 === null)
|
|
528989
|
+
return "#null";
|
|
528990
|
+
if (value2 === void 0)
|
|
528991
|
+
return "#undefined";
|
|
528992
|
+
if (typeof value2 === "number")
|
|
528993
|
+
return `#number:${Number.isNaN(value2) ? "NaN" : String(value2)}`;
|
|
528994
|
+
if (typeof value2 === "boolean")
|
|
528995
|
+
return `#boolean:${String(value2)}`;
|
|
528996
|
+
if (typeof value2 === "bigint")
|
|
528997
|
+
return `#bigint:${String(value2)}`;
|
|
528998
|
+
if (typeof value2 === "symbol")
|
|
528999
|
+
return `#symbol:${String(value2.description ?? "")}`;
|
|
529000
|
+
if (typeof value2 === "function")
|
|
529001
|
+
return `#function:${value2.name || "anonymous"}`;
|
|
529002
|
+
if (value2 instanceof Date)
|
|
529003
|
+
return `#date:${value2.toISOString()}`;
|
|
529004
|
+
if (Array.isArray(value2)) {
|
|
529005
|
+
if (seen.has(value2))
|
|
529006
|
+
return "#cycle";
|
|
529007
|
+
seen.add(value2);
|
|
529008
|
+
return `#array:[${value2.map((v) => this._canonicalArgValue(v, seen)).join(",")}]`;
|
|
529009
|
+
}
|
|
529010
|
+
if (typeof value2 === "object") {
|
|
529011
|
+
if (seen.has(value2))
|
|
529012
|
+
return "#cycle";
|
|
529013
|
+
seen.add(value2);
|
|
529014
|
+
const entries = Object.entries(value2).sort(([a2], [b]) => a2.localeCompare(b)).map(([k, v]) => `${JSON.stringify(k)}:${this._canonicalArgValue(v, seen)}`);
|
|
529015
|
+
return `#object:{${entries.join(",")}}`;
|
|
529016
|
+
}
|
|
529017
|
+
return String(value2);
|
|
529018
|
+
}
|
|
528884
529019
|
/** Register a tool for the agent to use */
|
|
528885
529020
|
registerTool(tool) {
|
|
528886
529021
|
this.tools.set(tool.name, tool);
|
|
@@ -530025,7 +530160,9 @@ If this matches your current shape, try it before continuing.`
|
|
|
530025
530160
|
``,
|
|
530026
530161
|
` (a) PRODUCE: emit a file_write / file_edit / file_patch / shell-mutation that creates or changes content. Even a partial draft of the next planned file is progress.`,
|
|
530027
530162
|
``,
|
|
530028
|
-
` (b)
|
|
530163
|
+
` (b) ERROR-INFORMED LOCAL TRIAGE: anchor on the freshest local failure, identify the implicated file/path/symbol/command, then make one targeted local move instead of broad exploration.`,
|
|
530164
|
+
``,
|
|
530165
|
+
this._renderLocalFailureNudge(turn),
|
|
530029
530166
|
``,
|
|
530030
530167
|
` (c) DEBATE: if you've tried 3+ approaches and they all hit the same wall, invoke \`debate\` with the failed task as the prompt — get a second opinion.`,
|
|
530031
530168
|
``,
|
|
@@ -530194,7 +530331,9 @@ ${_staleSamples.join("\n")}` : ``,
|
|
|
530194
530331
|
``,
|
|
530195
530332
|
` (b) DELETE-AND-RESTART: If the file has been rewritten ${_wtWorstCount} times, the current approach is wrong. Either delete the file and try a fundamentally different design, OR revert to a known-good earlier version (use git, working_notes, or memory_search to find one).`,
|
|
530196
530333
|
``,
|
|
530197
|
-
` (c)
|
|
530334
|
+
` (c) ERROR-INFORMED LOCAL TRIAGE: use the exact failing local command and error line to identify one implicated path/symbol/config key, then inspect or change only that target. Do not search online for a codebase-local failure.`,
|
|
530335
|
+
``,
|
|
530336
|
+
this._renderLocalFailureNudge(turn),
|
|
530198
530337
|
``,
|
|
530199
530338
|
` (d) DECLARE BLOCKED: If the file's correct shape genuinely isn't knowable from the spec + this codebase, call task_complete with a summary that names this specific file as the blocker. Don't burn more turns on it.`,
|
|
530200
530339
|
``,
|
|
@@ -531255,7 +531394,7 @@ ${memoryLines.join("\n")}`
|
|
|
531255
531394
|
});
|
|
531256
531395
|
} catch {
|
|
531257
531396
|
}
|
|
531258
|
-
const argsKey =
|
|
531397
|
+
const argsKey = this._buildExactArgsKey(tc.arguments ?? {});
|
|
531259
531398
|
toolCallLog.push({ name: tc.name, argsKey, turn, timestampMs: Date.now() });
|
|
531260
531399
|
const _toolLogTailIdx = toolCallLog.length - 1;
|
|
531261
531400
|
this._toolLastUsedTurn.set(tc.name, turn);
|
|
@@ -531340,8 +531479,8 @@ ${memoryLines.join("\n")}`
|
|
|
531340
531479
|
const REG61_BYPASS_TOOLS = /* @__PURE__ */ new Set([
|
|
531341
531480
|
...REG61_EDIT_TOOLS,
|
|
531342
531481
|
// Escape hatches: explicitly allowed while gate is active so
|
|
531343
|
-
// the agent can
|
|
531344
|
-
//
|
|
531482
|
+
// the agent can exit cleanly (task_complete), escalate to human
|
|
531483
|
+
// (ask_user), or complete an explicit web task without deadlock.
|
|
531345
531484
|
// shell, file_read, todo_*, grep_search, list_directory are
|
|
531346
531485
|
// NOT in bypass — those are the exact patterns batch528/529
|
|
531347
531486
|
// agents used to ignore REG-61.
|
|
@@ -531370,6 +531509,7 @@ ${memoryLines.join("\n")}`
|
|
|
531370
531509
|
});
|
|
531371
531510
|
const _dbgLoop = this._detectDebugLoop(toolCallLog);
|
|
531372
531511
|
const _debugLoopSampleSafe = (_dbgLoop.repeatedSample ?? "").slice(0, 120);
|
|
531512
|
+
const _localFailureNudge = this._renderLocalFailureNudge(turn);
|
|
531373
531513
|
const reg61BlockMsg = _dbgLoop.detected ? [
|
|
531374
531514
|
`[BLOCKED — REG-61 directive in effect — REG-66 DEBUG-LOOP detected]`,
|
|
531375
531515
|
``,
|
|
@@ -531387,10 +531527,11 @@ ${memoryLines.join("\n")}`
|
|
|
531387
531527
|
``,
|
|
531388
531528
|
`Issue EXACTLY ONE of: file_write / file_edit / batch_edit / file_patch on a single concrete change. The edit must actually change disk state; dry-runs and no-ops do not clear this directive.`,
|
|
531389
531529
|
``,
|
|
531390
|
-
|
|
531391
|
-
|
|
531392
|
-
`
|
|
531393
|
-
`
|
|
531530
|
+
_localFailureNudge,
|
|
531531
|
+
``,
|
|
531532
|
+
`Allowed exits (will not be blocked but will not clear the directive either):`,
|
|
531533
|
+
` * task_complete - exit if you genuinely cannot identify any plausible local perturbation`,
|
|
531534
|
+
` * ask_user - escalate to human (if available)`,
|
|
531394
531535
|
``,
|
|
531395
531536
|
`Once you make a real edit, the directive clears and you'll see the new test result.`
|
|
531396
531537
|
].join("\n") : [
|
|
@@ -531404,10 +531545,11 @@ ${memoryLines.join("\n")}`
|
|
|
531404
531545
|
` • batch_edit — multiple find/replace edits in one call`,
|
|
531405
531546
|
` • file_patch — apply a version-checked line-range patch`,
|
|
531406
531547
|
``,
|
|
531407
|
-
|
|
531408
|
-
|
|
531409
|
-
`
|
|
531410
|
-
`
|
|
531548
|
+
_localFailureNudge,
|
|
531549
|
+
``,
|
|
531550
|
+
`These exits are also allowed while the directive is active (will not be blocked, will not clear the gate):`,
|
|
531551
|
+
` * task_complete - to exit if you cannot make any local progress`,
|
|
531552
|
+
` * ask_user - to escalate to human (if available)`,
|
|
531411
531553
|
``,
|
|
531412
531554
|
`Until you issue a creative edit that actually changes disk, ALL of these will be BLOCKED again on every turn: file_read, file_explore, list_directory, grep_search, shell, todo_write, todo_read, memory_read, memory_write, etc. Pick the smallest concrete change that moves work forward.`
|
|
531413
531555
|
].join("\n");
|
|
@@ -531523,7 +531665,7 @@ ${memoryLines.join("\n")}`
|
|
|
531523
531665
|
}
|
|
531524
531666
|
toolCallBudget.set(tc.name, budgetRemaining - 1);
|
|
531525
531667
|
}
|
|
531526
|
-
const toolFingerprint =
|
|
531668
|
+
const toolFingerprint = this._buildToolFingerprint(tc.name, tc.arguments ?? {});
|
|
531527
531669
|
const baseIsReadLike = ![
|
|
531528
531670
|
"file_write",
|
|
531529
531671
|
"file_edit",
|
|
@@ -532502,22 +532644,19 @@ Respond with EXACTLY this structure before your next tool call:
|
|
|
532502
532644
|
}
|
|
532503
532645
|
if (!_prior && !this._opaqueErrorHintInjected.has(_refStem) && _entry.subject == null && (categorizeError(_refErr) === "unknown" || _refErr.length > 100)) {
|
|
532504
532646
|
this._opaqueErrorHintInjected.add(_refStem);
|
|
532505
|
-
const _searchQuery = _entry.wentWrong.replace(/"/g, '\\"').slice(0, 200);
|
|
532506
532647
|
pushSoftInjection("system", [
|
|
532507
|
-
`[OPAQUE ERROR — local diagnostic patterns cannot pinpoint a specific target to verify. Error class is unrecognized or output is substantial enough that
|
|
532648
|
+
`[OPAQUE LOCAL ERROR — local diagnostic patterns cannot yet pinpoint a specific target to verify. Error class is unrecognized or output is substantial enough that a structured local triage step is needed.]`,
|
|
532508
532649
|
``,
|
|
532509
532650
|
`Tool: ${tc.name}`,
|
|
532510
532651
|
`Error: "${_entry.wentWrong}"`,
|
|
532511
532652
|
``,
|
|
532512
|
-
`Before attempting a fix or pivoting to a different command,
|
|
532653
|
+
`Before attempting a fix or pivoting to a different command, extract one local target from the failure: path, symbol, config key, import name, or failing command. Then inspect or edit only that target.`,
|
|
532513
532654
|
``,
|
|
532514
|
-
|
|
532515
|
-
``,
|
|
532516
|
-
`A 30-second external lookup is more reliable than local guesses for framework/version-specific errors your training data may not cover.`
|
|
532655
|
+
this._renderLocalFailureNudge(turn)
|
|
532517
532656
|
].join("\n"));
|
|
532518
532657
|
this.emit({
|
|
532519
532658
|
type: "status",
|
|
532520
|
-
content: `REG-32 opaque-error nudge fired for stem '${_refStem.slice(0, 60)}'
|
|
532659
|
+
content: `REG-32 opaque-error local nudge fired for stem '${_refStem.slice(0, 60)}'`,
|
|
532521
532660
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
532522
532661
|
});
|
|
532523
532662
|
}
|
|
@@ -532906,11 +533045,7 @@ ${sr.result.output}`;
|
|
|
532906
533045
|
break;
|
|
532907
533046
|
const batchFingerprintFirstId = /* @__PURE__ */ new Map();
|
|
532908
533047
|
const batchInFlight = /* @__PURE__ */ new Map();
|
|
532909
|
-
const buildBatchFp = (call) => {
|
|
532910
|
-
const args = call.args ?? {};
|
|
532911
|
-
const argsKey = Object.entries(args).sort(([a2], [b]) => a2.localeCompare(b)).map(([k, v]) => `${k}=${typeof v === "string" ? v.slice(0, 160) : JSON.stringify(v).slice(0, 160)}`).join(",");
|
|
532912
|
-
return `${call.name}:${argsKey}`;
|
|
532913
|
-
};
|
|
533048
|
+
const buildBatchFp = (call) => this._buildToolFingerprint(call.name, call.args ?? {});
|
|
532914
533049
|
for (const call of batch2.calls) {
|
|
532915
533050
|
const fp = buildBatchFp(call);
|
|
532916
533051
|
if (!batchFingerprintFirstId.has(fp)) {
|
|
@@ -533303,7 +533438,7 @@ You have used ${totalTurns} turns and ${toolCallCount} tool calls so far. The ta
|
|
|
533303
533438
|
1. ASSESS: What have you accomplished so far? What specific part remains?
|
|
533304
533439
|
2. DIAGNOSE: If stuck, what exactly is blocking? Read error output carefully.
|
|
533305
533440
|
3. PIVOT: If the current approach failed, try a different strategy.
|
|
533306
|
-
4. INVESTIGATE: Use grep_search, find_files,
|
|
533441
|
+
4. INVESTIGATE: Use grep_search, find_files, file_read, and small local test commands to find answers. Use web_search only when the task explicitly depends on external documentation.
|
|
533307
533442
|
5. SIMPLIFY: Break remaining work into the smallest possible steps.
|
|
533308
533443
|
6. VERIFY: Run tests/build after EVERY change.
|
|
533309
533444
|
|
|
@@ -533453,7 +533588,7 @@ Integrate this guidance into your current approach. Continue working on the task
|
|
|
533453
533588
|
if (this.aborted)
|
|
533454
533589
|
break;
|
|
533455
533590
|
toolCallCount++;
|
|
533456
|
-
const bfArgsKey =
|
|
533591
|
+
const bfArgsKey = this._buildExactArgsKey(tc.arguments ?? {});
|
|
533457
533592
|
toolCallLog.push({ name: tc.name, argsKey: bfArgsKey });
|
|
533458
533593
|
this._toolLastUsedTurn.set(tc.name, turn);
|
|
533459
533594
|
if (this._contextTree) {
|
|
@@ -535031,19 +535166,27 @@ ${trimmedNew}`;
|
|
|
535031
535166
|
const succeeded = !isError2;
|
|
535032
535167
|
const preview = msg.content.slice(0, 80);
|
|
535033
535168
|
let toolName = "unknown";
|
|
535169
|
+
let toolArgs;
|
|
535034
535170
|
if (msg.tool_call_id) {
|
|
535035
535171
|
for (const m2 of recent) {
|
|
535036
535172
|
if (m2.tool_calls) {
|
|
535037
535173
|
for (const tc of m2.tool_calls) {
|
|
535038
535174
|
if (tc.id === msg.tool_call_id) {
|
|
535039
535175
|
toolName = tc.function.name;
|
|
535176
|
+
try {
|
|
535177
|
+
toolArgs = JSON.parse(tc.function.arguments || "{}");
|
|
535178
|
+
} catch {
|
|
535179
|
+
toolArgs = void 0;
|
|
535180
|
+
}
|
|
535040
535181
|
}
|
|
535041
535182
|
}
|
|
535042
535183
|
}
|
|
535043
535184
|
}
|
|
535044
535185
|
}
|
|
535045
|
-
|
|
535046
|
-
|
|
535186
|
+
const argsKey = toolArgs ? this._buildExactArgsKey(toolArgs) : void 0;
|
|
535187
|
+
const fingerprint = toolArgs ? this._buildToolFingerprint(toolName, toolArgs) : void 0;
|
|
535188
|
+
if (!this._littlemanToolOutcomes.some((o2) => o2.turn === turn && o2.tool === toolName && o2.fingerprint === fingerprint)) {
|
|
535189
|
+
this._littlemanToolOutcomes.push({ turn, tool: toolName, argsKey, fingerprint, succeeded, preview });
|
|
535047
535190
|
}
|
|
535048
535191
|
}
|
|
535049
535192
|
}
|
|
@@ -535097,14 +535240,14 @@ ${trimmedNew}`;
|
|
|
535097
535240
|
args = JSON.parse(tc.function.arguments);
|
|
535098
535241
|
} catch {
|
|
535099
535242
|
}
|
|
535100
|
-
const argsKey =
|
|
535101
|
-
const
|
|
535243
|
+
const argsKey = this._buildExactArgsKey(args);
|
|
535244
|
+
const fingerprint = this._buildToolFingerprint(name10, args);
|
|
535245
|
+
const prior = this._littlemanToolOutcomes.find((o2) => o2.succeeded && o2.tool === name10 && o2.fingerprint === fingerprint && o2.turn < turn);
|
|
535102
535246
|
if (prior) {
|
|
535103
|
-
|
|
535104
|
-
this._littlemanRedundantBlocks.add(blockKey);
|
|
535247
|
+
this._littlemanRedundantBlocks.add(fingerprint);
|
|
535105
535248
|
emitReaction("redundant_action", `Already ran ${name10} successfully on turn ${prior.turn}`, 0.8, prior.preview);
|
|
535106
535249
|
if (this._observerMode === "skillcoach" || this._observerMode === "both") {
|
|
535107
|
-
this.pendingUserMessages.push(`⚠ You already ran ${name10} successfully on turn ${prior.turn} with
|
|
535250
|
+
this.pendingUserMessages.push(`⚠ You already ran ${name10} successfully on turn ${prior.turn} with exact arguments (${argsKey.slice(0, 120)}). Do NOT re-run it. Use the existing result and proceed.`);
|
|
535108
535251
|
}
|
|
535109
535252
|
this.emit({
|
|
535110
535253
|
type: "status",
|
|
@@ -608550,7 +608693,7 @@ function createSubAgentTool(config, repoRoot, ctxWindowSize) {
|
|
|
608550
608693
|
success: true,
|
|
608551
608694
|
output: `Sub-agent started in background: ${taskId}
|
|
608552
608695
|
Task: ${task}
|
|
608553
|
-
Use task_status("${taskId}") or task_output("${taskId}") to check progress.`
|
|
608696
|
+
Use task_status(task_id="${taskId}") or task_output(task_id="${taskId}") to check progress.`
|
|
608554
608697
|
};
|
|
608555
608698
|
}
|
|
608556
608699
|
if (onViewStatus) onViewStatus(agentId, "running");
|
|
@@ -610466,13 +610609,10 @@ async function startInteractive(config, repoPath) {
|
|
|
610466
610609
|
} catch {
|
|
610467
610610
|
}
|
|
610468
610611
|
}
|
|
610469
|
-
if (!isResumed &&
|
|
610470
|
-
const
|
|
610471
|
-
|
|
610472
|
-
|
|
610473
|
-
const freshConfig = loadConfig();
|
|
610474
|
-
config = { ...config, ...freshConfig, model: setupModel ?? freshConfig.model };
|
|
610475
|
-
}
|
|
610612
|
+
if (!isResumed && await shouldRunFirstRunSetup(config)) {
|
|
610613
|
+
const setupModel = await runSetupWizard(config);
|
|
610614
|
+
const freshConfig = loadConfig();
|
|
610615
|
+
config = { ...config, ...freshConfig, model: setupModel ?? freshConfig.model };
|
|
610476
610616
|
}
|
|
610477
610617
|
let carouselPhrases = null;
|
|
610478
610618
|
try {
|
|
@@ -614292,11 +614432,19 @@ ${c3.dim("(Use /quit to exit)")}
|
|
|
614292
614432
|
showPrompt();
|
|
614293
614433
|
};
|
|
614294
614434
|
}
|
|
614435
|
+
async function shouldRunFirstRunSetup(config, firstRun = isFirstRun()) {
|
|
614436
|
+
if (config.backendType !== "ollama") return false;
|
|
614437
|
+
if (!firstRun) return false;
|
|
614438
|
+
try {
|
|
614439
|
+
return !await isModelAvailable(config);
|
|
614440
|
+
} catch {
|
|
614441
|
+
return false;
|
|
614442
|
+
}
|
|
614443
|
+
}
|
|
614295
614444
|
async function runWithTUI(task, config, repoPath, callbacks) {
|
|
614296
614445
|
const repoRoot = resolve39(repoPath ?? cwd());
|
|
614297
614446
|
initOaDirectory(repoRoot);
|
|
614298
|
-
|
|
614299
|
-
if (needsSetup && config.backendType === "ollama") {
|
|
614447
|
+
if (await shouldRunFirstRunSetup(config)) {
|
|
614300
614448
|
const setupModel = await runSetupWizard(config);
|
|
614301
614449
|
const freshConfig = loadConfig();
|
|
614302
614450
|
config = { ...config, ...freshConfig, model: setupModel ?? freshConfig.model };
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-agents-ai",
|
|
3
|
-
"version": "0.187.
|
|
3
|
+
"version": "0.187.557",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "open-agents-ai",
|
|
9
|
-
"version": "0.187.
|
|
9
|
+
"version": "0.187.557",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "CC-BY-NC-4.0",
|
|
12
12
|
"dependencies": {
|
|
@@ -439,6 +439,16 @@
|
|
|
439
439
|
"hono": "^4"
|
|
440
440
|
}
|
|
441
441
|
},
|
|
442
|
+
"node_modules/@huggingface/jinja": {
|
|
443
|
+
"version": "0.2.2",
|
|
444
|
+
"resolved": "https://registry.npmjs.org/@huggingface/jinja/-/jinja-0.2.2.tgz",
|
|
445
|
+
"integrity": "sha512-/KPde26khDUIPkTGU82jdtTW9UAuvUTumCAbFs/7giR0SxsvZC4hru51PBvpijH6BVkHcROcvZM/lpy5h1jRRA==",
|
|
446
|
+
"license": "MIT",
|
|
447
|
+
"optional": true,
|
|
448
|
+
"engines": {
|
|
449
|
+
"node": ">=18"
|
|
450
|
+
}
|
|
451
|
+
},
|
|
442
452
|
"node_modules/@ipld/dag-cbor": {
|
|
443
453
|
"version": "9.2.6",
|
|
444
454
|
"resolved": "https://registry.npmjs.org/@ipld/dag-cbor/-/dag-cbor-9.2.6.tgz",
|
|
@@ -468,18 +478,24 @@
|
|
|
468
478
|
}
|
|
469
479
|
},
|
|
470
480
|
"node_modules/@ipld/dag-pb": {
|
|
471
|
-
"version": "4.1.
|
|
472
|
-
"resolved": "https://registry.npmjs.org/@ipld/dag-pb/-/dag-pb-4.1.
|
|
473
|
-
"integrity": "sha512
|
|
481
|
+
"version": "4.1.7",
|
|
482
|
+
"resolved": "https://registry.npmjs.org/@ipld/dag-pb/-/dag-pb-4.1.7.tgz",
|
|
483
|
+
"integrity": "sha512-/i/13trFihjWfDyXlylRwhuYjtzYjvOFw0vlRjYGnZuv7d7MOgA2lV/vRuL5RfeUajM03aZfFLdq4S7cTbbTRg==",
|
|
474
484
|
"license": "Apache-2.0 OR MIT",
|
|
475
485
|
"dependencies": {
|
|
476
|
-
"multiformats": "^
|
|
486
|
+
"multiformats": "^14.0.0"
|
|
477
487
|
},
|
|
478
488
|
"engines": {
|
|
479
489
|
"node": ">=16.0.0",
|
|
480
490
|
"npm": ">=7.0.0"
|
|
481
491
|
}
|
|
482
492
|
},
|
|
493
|
+
"node_modules/@ipld/dag-pb/node_modules/multiformats": {
|
|
494
|
+
"version": "14.0.0",
|
|
495
|
+
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-14.0.0.tgz",
|
|
496
|
+
"integrity": "sha512-iWK1RrAS58p2NDfeZFuSUSv3ZPewTIhsGbh/5NgeGGJwJmRljLxGtjRR3nkn+loG3zl+IrfR/W1590QnrSK+Gg==",
|
|
497
|
+
"license": "Apache-2.0 OR MIT"
|
|
498
|
+
},
|
|
483
499
|
"node_modules/@ipshipyard/libp2p-auto-tls": {
|
|
484
500
|
"version": "2.0.1",
|
|
485
501
|
"resolved": "https://registry.npmjs.org/@ipshipyard/libp2p-auto-tls/-/libp2p-auto-tls-2.0.1.tgz",
|
|
@@ -1324,18 +1340,24 @@
|
|
|
1324
1340
|
}
|
|
1325
1341
|
},
|
|
1326
1342
|
"node_modules/@multiformats/murmur3": {
|
|
1327
|
-
"version": "2.2.
|
|
1328
|
-
"resolved": "https://registry.npmjs.org/@multiformats/murmur3/-/murmur3-2.2.
|
|
1329
|
-
"integrity": "sha512-
|
|
1343
|
+
"version": "2.2.5",
|
|
1344
|
+
"resolved": "https://registry.npmjs.org/@multiformats/murmur3/-/murmur3-2.2.5.tgz",
|
|
1345
|
+
"integrity": "sha512-M+VwV8hEx5qB8i7b8fljMwZETJsqyLo8RAXA+JAn+QF9NnH46ZWvGErNukJVlxXSR2KQpuOtHIYIzZlbhhdFvw==",
|
|
1330
1346
|
"license": "Apache-2.0 OR MIT",
|
|
1331
1347
|
"dependencies": {
|
|
1332
|
-
"multiformats": "^
|
|
1348
|
+
"multiformats": "^14.0.0"
|
|
1333
1349
|
},
|
|
1334
1350
|
"engines": {
|
|
1335
1351
|
"node": ">=16.0.0",
|
|
1336
1352
|
"npm": ">=7.0.0"
|
|
1337
1353
|
}
|
|
1338
1354
|
},
|
|
1355
|
+
"node_modules/@multiformats/murmur3/node_modules/multiformats": {
|
|
1356
|
+
"version": "14.0.0",
|
|
1357
|
+
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-14.0.0.tgz",
|
|
1358
|
+
"integrity": "sha512-iWK1RrAS58p2NDfeZFuSUSv3ZPewTIhsGbh/5NgeGGJwJmRljLxGtjRR3nkn+loG3zl+IrfR/W1590QnrSK+Gg==",
|
|
1359
|
+
"license": "Apache-2.0 OR MIT"
|
|
1360
|
+
},
|
|
1339
1361
|
"node_modules/@multiformats/uri-to-multiaddr": {
|
|
1340
1362
|
"version": "10.0.0",
|
|
1341
1363
|
"resolved": "https://registry.npmjs.org/@multiformats/uri-to-multiaddr/-/uri-to-multiaddr-10.0.0.tgz",
|
|
@@ -1617,6 +1639,80 @@
|
|
|
1617
1639
|
"node": ">=20.0.0"
|
|
1618
1640
|
}
|
|
1619
1641
|
},
|
|
1642
|
+
"node_modules/@protobufjs/aspromise": {
|
|
1643
|
+
"version": "1.1.2",
|
|
1644
|
+
"resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz",
|
|
1645
|
+
"integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==",
|
|
1646
|
+
"license": "BSD-3-Clause",
|
|
1647
|
+
"optional": true
|
|
1648
|
+
},
|
|
1649
|
+
"node_modules/@protobufjs/base64": {
|
|
1650
|
+
"version": "1.1.2",
|
|
1651
|
+
"resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz",
|
|
1652
|
+
"integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==",
|
|
1653
|
+
"license": "BSD-3-Clause",
|
|
1654
|
+
"optional": true
|
|
1655
|
+
},
|
|
1656
|
+
"node_modules/@protobufjs/codegen": {
|
|
1657
|
+
"version": "2.0.5",
|
|
1658
|
+
"resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.5.tgz",
|
|
1659
|
+
"integrity": "sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g==",
|
|
1660
|
+
"license": "BSD-3-Clause",
|
|
1661
|
+
"optional": true
|
|
1662
|
+
},
|
|
1663
|
+
"node_modules/@protobufjs/eventemitter": {
|
|
1664
|
+
"version": "1.1.0",
|
|
1665
|
+
"resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz",
|
|
1666
|
+
"integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==",
|
|
1667
|
+
"license": "BSD-3-Clause",
|
|
1668
|
+
"optional": true
|
|
1669
|
+
},
|
|
1670
|
+
"node_modules/@protobufjs/fetch": {
|
|
1671
|
+
"version": "1.1.0",
|
|
1672
|
+
"resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz",
|
|
1673
|
+
"integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==",
|
|
1674
|
+
"license": "BSD-3-Clause",
|
|
1675
|
+
"optional": true,
|
|
1676
|
+
"dependencies": {
|
|
1677
|
+
"@protobufjs/aspromise": "^1.1.1",
|
|
1678
|
+
"@protobufjs/inquire": "^1.1.0"
|
|
1679
|
+
}
|
|
1680
|
+
},
|
|
1681
|
+
"node_modules/@protobufjs/float": {
|
|
1682
|
+
"version": "1.0.2",
|
|
1683
|
+
"resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz",
|
|
1684
|
+
"integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==",
|
|
1685
|
+
"license": "BSD-3-Clause",
|
|
1686
|
+
"optional": true
|
|
1687
|
+
},
|
|
1688
|
+
"node_modules/@protobufjs/inquire": {
|
|
1689
|
+
"version": "1.1.1",
|
|
1690
|
+
"resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.1.tgz",
|
|
1691
|
+
"integrity": "sha512-mnzgDV26ueAvk7rsbt9L7bE0SuAoqyuys/sMMrmVcN5x9VsxpcG3rqAUSgDyLp0UZlmNfIbQ4fHfCtreVBk8Ew==",
|
|
1692
|
+
"license": "BSD-3-Clause",
|
|
1693
|
+
"optional": true
|
|
1694
|
+
},
|
|
1695
|
+
"node_modules/@protobufjs/path": {
|
|
1696
|
+
"version": "1.1.2",
|
|
1697
|
+
"resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz",
|
|
1698
|
+
"integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==",
|
|
1699
|
+
"license": "BSD-3-Clause",
|
|
1700
|
+
"optional": true
|
|
1701
|
+
},
|
|
1702
|
+
"node_modules/@protobufjs/pool": {
|
|
1703
|
+
"version": "1.1.0",
|
|
1704
|
+
"resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz",
|
|
1705
|
+
"integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==",
|
|
1706
|
+
"license": "BSD-3-Clause",
|
|
1707
|
+
"optional": true
|
|
1708
|
+
},
|
|
1709
|
+
"node_modules/@protobufjs/utf8": {
|
|
1710
|
+
"version": "1.1.1",
|
|
1711
|
+
"resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.1.tgz",
|
|
1712
|
+
"integrity": "sha512-oOAWABowe8EAbMyWKM0tYDKi8Yaox52D+HWZhAIJqQXbqe0xI/GV7FhLWqlEKreMkfDjshR5FKgi3mnle0h6Eg==",
|
|
1713
|
+
"license": "BSD-3-Clause",
|
|
1714
|
+
"optional": true
|
|
1715
|
+
},
|
|
1620
1716
|
"node_modules/@scure/base": {
|
|
1621
1717
|
"version": "1.2.6",
|
|
1622
1718
|
"resolved": "https://registry.npmjs.org/@scure/base/-/base-1.2.6.tgz",
|
|
@@ -1774,6 +1870,13 @@
|
|
|
1774
1870
|
"@types/node": "*"
|
|
1775
1871
|
}
|
|
1776
1872
|
},
|
|
1873
|
+
"node_modules/@types/long": {
|
|
1874
|
+
"version": "4.0.2",
|
|
1875
|
+
"resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz",
|
|
1876
|
+
"integrity": "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==",
|
|
1877
|
+
"license": "MIT",
|
|
1878
|
+
"optional": true
|
|
1879
|
+
},
|
|
1777
1880
|
"node_modules/@types/multicast-dns": {
|
|
1778
1881
|
"version": "7.2.4",
|
|
1779
1882
|
"resolved": "https://registry.npmjs.org/@types/multicast-dns/-/multicast-dns-7.2.4.tgz",
|
|
@@ -1815,6 +1918,21 @@
|
|
|
1815
1918
|
"license": "MIT",
|
|
1816
1919
|
"optional": true
|
|
1817
1920
|
},
|
|
1921
|
+
"node_modules/@xenova/transformers": {
|
|
1922
|
+
"version": "2.17.2",
|
|
1923
|
+
"resolved": "https://registry.npmjs.org/@xenova/transformers/-/transformers-2.17.2.tgz",
|
|
1924
|
+
"integrity": "sha512-lZmHqzrVIkSvZdKZEx7IYY51TK0WDrC8eR0c5IMnBsO8di8are1zzw8BlLhyO2TklZKLN5UffNGs1IJwT6oOqQ==",
|
|
1925
|
+
"license": "Apache-2.0",
|
|
1926
|
+
"optional": true,
|
|
1927
|
+
"dependencies": {
|
|
1928
|
+
"@huggingface/jinja": "^0.2.2",
|
|
1929
|
+
"onnxruntime-web": "1.14.0",
|
|
1930
|
+
"sharp": "^0.32.0"
|
|
1931
|
+
},
|
|
1932
|
+
"optionalDependencies": {
|
|
1933
|
+
"onnxruntime-node": "1.14.0"
|
|
1934
|
+
}
|
|
1935
|
+
},
|
|
1818
1936
|
"node_modules/abitype": {
|
|
1819
1937
|
"version": "1.2.3",
|
|
1820
1938
|
"resolved": "https://registry.npmjs.org/abitype/-/abitype-1.2.3.tgz",
|
|
@@ -1893,9 +2011,9 @@
|
|
|
1893
2011
|
}
|
|
1894
2012
|
},
|
|
1895
2013
|
"node_modules/aiwg": {
|
|
1896
|
-
"version": "2026.
|
|
1897
|
-
"resolved": "https://registry.npmjs.org/aiwg/-/aiwg-2026.
|
|
1898
|
-
"integrity": "sha512-
|
|
2014
|
+
"version": "2026.5.1",
|
|
2015
|
+
"resolved": "https://registry.npmjs.org/aiwg/-/aiwg-2026.5.1.tgz",
|
|
2016
|
+
"integrity": "sha512-Nj6FtKhDkGvC3By7EySRPx+2LY1Wsy+rSa6GOs/YiBKfxYjDr8iFUve1lypU8kiBebmt3DQ7wdrXg8sAiqQCSQ==",
|
|
1899
2017
|
"hasInstallScript": true,
|
|
1900
2018
|
"license": "MIT",
|
|
1901
2019
|
"dependencies": {
|
|
@@ -1904,6 +2022,7 @@
|
|
|
1904
2022
|
"chokidar": "^3.6.0",
|
|
1905
2023
|
"commander": "^12.1.0",
|
|
1906
2024
|
"glob": "^13.0.1",
|
|
2025
|
+
"graceful-fs": "^4.2.11",
|
|
1907
2026
|
"js-yaml": "^4.1.0",
|
|
1908
2027
|
"listr2": "^8.2.5",
|
|
1909
2028
|
"ora": "^5.4.1",
|
|
@@ -1914,11 +2033,20 @@
|
|
|
1914
2033
|
"aiwg": "bin/aiwg.mjs"
|
|
1915
2034
|
},
|
|
1916
2035
|
"engines": {
|
|
1917
|
-
"node": ">=
|
|
2036
|
+
"node": ">=20.0.0"
|
|
1918
2037
|
},
|
|
1919
2038
|
"funding": {
|
|
1920
2039
|
"type": "github",
|
|
1921
2040
|
"url": "https://github.com/sponsors/jmagly"
|
|
2041
|
+
},
|
|
2042
|
+
"optionalDependencies": {
|
|
2043
|
+
"@hono/node-server": "^1.19.14",
|
|
2044
|
+
"@xenova/transformers": "^2.17.2",
|
|
2045
|
+
"better-sqlite3": "^12.8.0",
|
|
2046
|
+
"hnswlib-node": "^3.0.0",
|
|
2047
|
+
"hono": "^4.12.14",
|
|
2048
|
+
"node-pty": "^1.0.0",
|
|
2049
|
+
"ws": "^8.18.0"
|
|
1922
2050
|
}
|
|
1923
2051
|
},
|
|
1924
2052
|
"node_modules/aiwg/node_modules/glob": {
|
|
@@ -3250,6 +3378,13 @@
|
|
|
3250
3378
|
"url": "https://opencollective.com/express"
|
|
3251
3379
|
}
|
|
3252
3380
|
},
|
|
3381
|
+
"node_modules/flatbuffers": {
|
|
3382
|
+
"version": "1.12.0",
|
|
3383
|
+
"resolved": "https://registry.npmjs.org/flatbuffers/-/flatbuffers-1.12.0.tgz",
|
|
3384
|
+
"integrity": "sha512-c7CZADjRcl6j0PlvFy0ZqXQ67qSEZfrVPynmnL+2zPc+NtMvrF8Y0QceMo7QqnSPc7+uWjUIAbvCQ5WIKlMVdQ==",
|
|
3385
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
3386
|
+
"optional": true
|
|
3387
|
+
},
|
|
3253
3388
|
"node_modules/fn.name": {
|
|
3254
3389
|
"version": "1.1.0",
|
|
3255
3390
|
"resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz",
|
|
@@ -3526,6 +3661,19 @@
|
|
|
3526
3661
|
"url": "https://github.com/sponsors/ljharb"
|
|
3527
3662
|
}
|
|
3528
3663
|
},
|
|
3664
|
+
"node_modules/graceful-fs": {
|
|
3665
|
+
"version": "4.2.11",
|
|
3666
|
+
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
|
3667
|
+
"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
|
|
3668
|
+
"license": "ISC"
|
|
3669
|
+
},
|
|
3670
|
+
"node_modules/guid-typescript": {
|
|
3671
|
+
"version": "1.0.9",
|
|
3672
|
+
"resolved": "https://registry.npmjs.org/guid-typescript/-/guid-typescript-1.0.9.tgz",
|
|
3673
|
+
"integrity": "sha512-Y8T4vYhEfwJOTbouREvG+3XDsjr8E3kIr7uf+JZ0BYloFsttiHU0WfvANVsR7TxNUJa/WpCnw/Ino/p+DeBhBQ==",
|
|
3674
|
+
"license": "ISC",
|
|
3675
|
+
"optional": true
|
|
3676
|
+
},
|
|
3529
3677
|
"node_modules/hamt-sharding": {
|
|
3530
3678
|
"version": "3.0.6",
|
|
3531
3679
|
"resolved": "https://registry.npmjs.org/hamt-sharding/-/hamt-sharding-3.0.6.tgz",
|
|
@@ -3637,6 +3785,18 @@
|
|
|
3637
3785
|
"multiformats": "^13.4.1"
|
|
3638
3786
|
}
|
|
3639
3787
|
},
|
|
3788
|
+
"node_modules/hnswlib-node": {
|
|
3789
|
+
"version": "3.0.0",
|
|
3790
|
+
"resolved": "https://registry.npmjs.org/hnswlib-node/-/hnswlib-node-3.0.0.tgz",
|
|
3791
|
+
"integrity": "sha512-fypn21qvVORassppC8/qNfZ5KAOspZpm/IbUkAtlqvbtDNnF5VVk5RWF7O5V6qwr7z+T3s1ePej6wQt5wRQ4Cg==",
|
|
3792
|
+
"hasInstallScript": true,
|
|
3793
|
+
"license": "Apache-2.0",
|
|
3794
|
+
"optional": true,
|
|
3795
|
+
"dependencies": {
|
|
3796
|
+
"bindings": "^1.5.0",
|
|
3797
|
+
"node-addon-api": "^8.0.0"
|
|
3798
|
+
}
|
|
3799
|
+
},
|
|
3640
3800
|
"node_modules/hono": {
|
|
3641
3801
|
"version": "4.12.18",
|
|
3642
3802
|
"resolved": "https://registry.npmjs.org/hono/-/hono-4.12.18.tgz",
|
|
@@ -4553,6 +4713,13 @@
|
|
|
4553
4713
|
"node": ">= 12.0.0"
|
|
4554
4714
|
}
|
|
4555
4715
|
},
|
|
4716
|
+
"node_modules/long": {
|
|
4717
|
+
"version": "4.0.0",
|
|
4718
|
+
"resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz",
|
|
4719
|
+
"integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==",
|
|
4720
|
+
"license": "Apache-2.0",
|
|
4721
|
+
"optional": true
|
|
4722
|
+
},
|
|
4556
4723
|
"node_modules/lru-cache": {
|
|
4557
4724
|
"version": "11.3.6",
|
|
4558
4725
|
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.3.6.tgz",
|
|
@@ -4940,11 +5107,14 @@
|
|
|
4940
5107
|
}
|
|
4941
5108
|
},
|
|
4942
5109
|
"node_modules/node-addon-api": {
|
|
4943
|
-
"version": "7.
|
|
4944
|
-
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.
|
|
4945
|
-
"integrity": "sha512-
|
|
5110
|
+
"version": "8.7.0",
|
|
5111
|
+
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.7.0.tgz",
|
|
5112
|
+
"integrity": "sha512-9MdFxmkKaOYVTV+XVRG8ArDwwQ77XIgIPyKASB1k3JPq3M8fGQQQE3YpMOrKm6g//Ktx8ivZr8xo1Qmtqub+GA==",
|
|
4946
5113
|
"license": "MIT",
|
|
4947
|
-
"optional": true
|
|
5114
|
+
"optional": true,
|
|
5115
|
+
"engines": {
|
|
5116
|
+
"node": "^18 || ^20 || >= 21"
|
|
5117
|
+
}
|
|
4948
5118
|
},
|
|
4949
5119
|
"node_modules/node-datachannel": {
|
|
4950
5120
|
"version": "0.32.3",
|
|
@@ -4999,6 +5169,13 @@
|
|
|
4999
5169
|
"node-addon-api": "^7.1.0"
|
|
5000
5170
|
}
|
|
5001
5171
|
},
|
|
5172
|
+
"node_modules/node-pty/node_modules/node-addon-api": {
|
|
5173
|
+
"version": "7.1.1",
|
|
5174
|
+
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz",
|
|
5175
|
+
"integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==",
|
|
5176
|
+
"license": "MIT",
|
|
5177
|
+
"optional": true
|
|
5178
|
+
},
|
|
5002
5179
|
"node_modules/normalize-path": {
|
|
5003
5180
|
"version": "3.0.0",
|
|
5004
5181
|
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
|
|
@@ -5075,6 +5252,53 @@
|
|
|
5075
5252
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
5076
5253
|
}
|
|
5077
5254
|
},
|
|
5255
|
+
"node_modules/onnx-proto": {
|
|
5256
|
+
"version": "4.0.4",
|
|
5257
|
+
"resolved": "https://registry.npmjs.org/onnx-proto/-/onnx-proto-4.0.4.tgz",
|
|
5258
|
+
"integrity": "sha512-aldMOB3HRoo6q/phyB6QRQxSt895HNNw82BNyZ2CMh4bjeKv7g/c+VpAFtJuEMVfYLMbRx61hbuqnKceLeDcDA==",
|
|
5259
|
+
"license": "MIT",
|
|
5260
|
+
"optional": true,
|
|
5261
|
+
"dependencies": {
|
|
5262
|
+
"protobufjs": "^6.8.8"
|
|
5263
|
+
}
|
|
5264
|
+
},
|
|
5265
|
+
"node_modules/onnxruntime-common": {
|
|
5266
|
+
"version": "1.14.0",
|
|
5267
|
+
"resolved": "https://registry.npmjs.org/onnxruntime-common/-/onnxruntime-common-1.14.0.tgz",
|
|
5268
|
+
"integrity": "sha512-3LJpegM2iMNRX2wUmtYfeX/ytfOzNwAWKSq1HbRrKc9+uqG/FsEA0bbKZl1btQeZaXhC26l44NWpNUeXPII7Ew==",
|
|
5269
|
+
"license": "MIT",
|
|
5270
|
+
"optional": true
|
|
5271
|
+
},
|
|
5272
|
+
"node_modules/onnxruntime-node": {
|
|
5273
|
+
"version": "1.14.0",
|
|
5274
|
+
"resolved": "https://registry.npmjs.org/onnxruntime-node/-/onnxruntime-node-1.14.0.tgz",
|
|
5275
|
+
"integrity": "sha512-5ba7TWomIV/9b6NH/1x/8QEeowsb+jBEvFzU6z0T4mNsFwdPqXeFUM7uxC6QeSRkEbWu3qEB0VMjrvzN/0S9+w==",
|
|
5276
|
+
"license": "MIT",
|
|
5277
|
+
"optional": true,
|
|
5278
|
+
"os": [
|
|
5279
|
+
"win32",
|
|
5280
|
+
"darwin",
|
|
5281
|
+
"linux"
|
|
5282
|
+
],
|
|
5283
|
+
"dependencies": {
|
|
5284
|
+
"onnxruntime-common": "~1.14.0"
|
|
5285
|
+
}
|
|
5286
|
+
},
|
|
5287
|
+
"node_modules/onnxruntime-web": {
|
|
5288
|
+
"version": "1.14.0",
|
|
5289
|
+
"resolved": "https://registry.npmjs.org/onnxruntime-web/-/onnxruntime-web-1.14.0.tgz",
|
|
5290
|
+
"integrity": "sha512-Kcqf43UMfW8mCydVGcX9OMXI2VN17c0p6XvR7IPSZzBf/6lteBzXHvcEVWDPmCKuGombl997HgLqj91F11DzXw==",
|
|
5291
|
+
"license": "MIT",
|
|
5292
|
+
"optional": true,
|
|
5293
|
+
"dependencies": {
|
|
5294
|
+
"flatbuffers": "^1.12.0",
|
|
5295
|
+
"guid-typescript": "^1.0.9",
|
|
5296
|
+
"long": "^4.0.0",
|
|
5297
|
+
"onnx-proto": "^4.0.4",
|
|
5298
|
+
"onnxruntime-common": "~1.14.0",
|
|
5299
|
+
"platform": "^1.3.6"
|
|
5300
|
+
}
|
|
5301
|
+
},
|
|
5078
5302
|
"node_modules/open-agents-nexus": {
|
|
5079
5303
|
"version": "1.17.3",
|
|
5080
5304
|
"resolved": "https://registry.npmjs.org/open-agents-nexus/-/open-agents-nexus-1.17.3.tgz",
|
|
@@ -5439,6 +5663,13 @@
|
|
|
5439
5663
|
"node": ">=16.20.0"
|
|
5440
5664
|
}
|
|
5441
5665
|
},
|
|
5666
|
+
"node_modules/platform": {
|
|
5667
|
+
"version": "1.3.6",
|
|
5668
|
+
"resolved": "https://registry.npmjs.org/platform/-/platform-1.3.6.tgz",
|
|
5669
|
+
"integrity": "sha512-fnWVljUchTro6RiCFvCXBbNhJc2NijN7oIQxbwsyL0buWJPG85v81ehlHI9fXrJsMNgTofEoWIQeClKpgxFLrg==",
|
|
5670
|
+
"license": "MIT",
|
|
5671
|
+
"optional": true
|
|
5672
|
+
},
|
|
5442
5673
|
"node_modules/prebuild-install": {
|
|
5443
5674
|
"version": "7.1.3",
|
|
5444
5675
|
"resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz",
|
|
@@ -5481,6 +5712,33 @@
|
|
|
5481
5712
|
"integrity": "sha512-82DVc5tI36neVB3IjdXR11ztwGuoBc98em9ijzubeZKxI47OlV2Znq6mlPqE5xPDzO2Uw98GHiQSjj2favBCRQ==",
|
|
5482
5713
|
"license": "Apache-2.0 OR MIT"
|
|
5483
5714
|
},
|
|
5715
|
+
"node_modules/protobufjs": {
|
|
5716
|
+
"version": "6.11.6",
|
|
5717
|
+
"resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.6.tgz",
|
|
5718
|
+
"integrity": "sha512-k8BHqgPBOtrlougZZqF2uUk5Z7bN8f0wj+3e8M3hvtSv0NBAz4VBy5f6R5Nxq/l+i7mRFTgNZb2trxqTpHNY/A==",
|
|
5719
|
+
"hasInstallScript": true,
|
|
5720
|
+
"license": "BSD-3-Clause",
|
|
5721
|
+
"optional": true,
|
|
5722
|
+
"dependencies": {
|
|
5723
|
+
"@protobufjs/aspromise": "^1.1.2",
|
|
5724
|
+
"@protobufjs/base64": "^1.1.2",
|
|
5725
|
+
"@protobufjs/codegen": "^2.0.4",
|
|
5726
|
+
"@protobufjs/eventemitter": "^1.1.0",
|
|
5727
|
+
"@protobufjs/fetch": "^1.1.0",
|
|
5728
|
+
"@protobufjs/float": "^1.0.2",
|
|
5729
|
+
"@protobufjs/inquire": "^1.1.0",
|
|
5730
|
+
"@protobufjs/path": "^1.1.2",
|
|
5731
|
+
"@protobufjs/pool": "^1.1.0",
|
|
5732
|
+
"@protobufjs/utf8": "^1.1.0",
|
|
5733
|
+
"@types/long": "^4.0.1",
|
|
5734
|
+
"@types/node": ">=13.7.0",
|
|
5735
|
+
"long": "^4.0.0"
|
|
5736
|
+
},
|
|
5737
|
+
"bin": {
|
|
5738
|
+
"pbjs": "bin/pbjs",
|
|
5739
|
+
"pbts": "bin/pbts"
|
|
5740
|
+
}
|
|
5741
|
+
},
|
|
5484
5742
|
"node_modules/protons-runtime": {
|
|
5485
5743
|
"version": "5.6.0",
|
|
5486
5744
|
"resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.6.0.tgz",
|
|
@@ -7034,9 +7292,9 @@
|
|
|
7034
7292
|
}
|
|
7035
7293
|
},
|
|
7036
7294
|
"node_modules/yaml": {
|
|
7037
|
-
"version": "2.
|
|
7038
|
-
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.
|
|
7039
|
-
"integrity": "sha512-
|
|
7295
|
+
"version": "2.9.0",
|
|
7296
|
+
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz",
|
|
7297
|
+
"integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==",
|
|
7040
7298
|
"license": "ISC",
|
|
7041
7299
|
"bin": {
|
|
7042
7300
|
"yaml": "bin.mjs"
|
package/package.json
CHANGED