@bunny-agent/runner-cli 0.10.0-beta.1 → 0.10.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.mjs +4 -4
- package/package.json +6 -6
package/dist/bundle.mjs
CHANGED
|
@@ -40245,7 +40245,7 @@ var SourceRegistry = class {
|
|
|
40245
40245
|
}
|
|
40246
40246
|
}
|
|
40247
40247
|
register(source, toolCallIds = [], save = true, restoredReferences) {
|
|
40248
|
-
if (toolCallIds.some((id) => typeof id !== "string" || id.trim().length === 0
|
|
40248
|
+
if (toolCallIds.some((id) => typeof id !== "string" || id.trim().length === 0)) {
|
|
40249
40249
|
this.diagnose("invalid_version", "Rejected malformed source provenance.");
|
|
40250
40250
|
return void 0;
|
|
40251
40251
|
}
|
|
@@ -40339,7 +40339,7 @@ function isRegisteredSource(value) {
|
|
|
40339
40339
|
if (!isWebSearchSource(value))
|
|
40340
40340
|
return false;
|
|
40341
40341
|
const entry = value;
|
|
40342
|
-
return deriveSourceId(entry.url) === entry.source_id && (entry.references === void 0 || typeof entry.references === "object" && entry.references !== null && Object.keys(entry.references).length <= 50 && Object.entries(entry.references).every(([ref, call]) => ref.length <= 64 && /^turn\d+url\d+$/.test(ref) && Number.isSafeInteger(Number(/^turn(\d+)/.exec(ref)?.[1])) && Number.isSafeInteger(Number(/url(\d+)$/.exec(ref)?.[1])) && typeof call === "string" && Array.isArray(entry.tool_call_ids) && entry.tool_call_ids.includes(call))) && Array.isArray(entry.tool_call_ids) && entry.tool_call_ids.length <= 50 && entry.tool_call_ids.every((id) => typeof id === "string" && id.trim().length > 0
|
|
40342
|
+
return deriveSourceId(entry.url) === entry.source_id && (entry.references === void 0 || typeof entry.references === "object" && entry.references !== null && Object.keys(entry.references).length <= 50 && Object.entries(entry.references).every(([ref, call]) => ref.length <= 64 && /^turn\d+url\d+$/.test(ref) && Number.isSafeInteger(Number(/^turn(\d+)/.exec(ref)?.[1])) && Number.isSafeInteger(Number(/url(\d+)$/.exec(ref)?.[1])) && typeof call === "string" && Array.isArray(entry.tool_call_ids) && entry.tool_call_ids.includes(call))) && Array.isArray(entry.tool_call_ids) && entry.tool_call_ids.length <= 50 && entry.tool_call_ids.every((id) => typeof id === "string" && id.trim().length > 0);
|
|
40343
40343
|
}
|
|
40344
40344
|
|
|
40345
40345
|
// ../../packages/runner-pi/dist/citation-session-cache.js
|
|
@@ -40357,7 +40357,7 @@ function sourcesFromEntry(value) {
|
|
|
40357
40357
|
const record3 = entry.message?.details?.web_search;
|
|
40358
40358
|
if (entry.type === "message" && entry.message?.role === "toolResult" && !entry.message.isError && isValidWebSearchCallRecord(record3) && record3.status === "completed") {
|
|
40359
40359
|
const callId = entry.message.toolCallId;
|
|
40360
|
-
if (typeof callId !== "string" || callId.trim().length === 0
|
|
40360
|
+
if (typeof callId !== "string" || callId.trim().length === 0)
|
|
40361
40361
|
return [];
|
|
40362
40362
|
return record3.action.sources.map((source) => ({
|
|
40363
40363
|
...source,
|
|
@@ -40469,7 +40469,7 @@ function createCitationSessionRegistry(store, enabled) {
|
|
|
40469
40469
|
const entry = value;
|
|
40470
40470
|
if (entry.type === "custom" && entry.customType === CITATION_CACHE_TYPE && entry.data?.schema_version === 1 && Array.isArray(entry.data.calls)) {
|
|
40471
40471
|
for (const call of entry.data.calls.slice(0, 50)) {
|
|
40472
|
-
if (call && typeof call.id === "string" && call.id.trim().length > 0 &&
|
|
40472
|
+
if (call && typeof call.id === "string" && call.id.trim().length > 0 && Number.isSafeInteger(call.turn) && call.turn >= 0)
|
|
40473
40473
|
registry3.reserveSearch(call.id, call.turn);
|
|
40474
40474
|
}
|
|
40475
40475
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bunny-agent/runner-cli",
|
|
3
|
-
"version": "0.10.0-beta.
|
|
3
|
+
"version": "0.10.0-beta.3",
|
|
4
4
|
"description": "BunnyAgent Runner CLI - Like gemini-cli or claude-code, runs in your local terminal with AI SDK UI streaming",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -59,16 +59,16 @@
|
|
|
59
59
|
"esbuild": "^0.27.2",
|
|
60
60
|
"typescript": "^5.3.0",
|
|
61
61
|
"vitest": "^1.6.1",
|
|
62
|
+
"@bunny-agent/apply-patch": "0.1.0",
|
|
63
|
+
"@bunny-agent/manager": "0.10.0-beta.3",
|
|
62
64
|
"@bunny-agent/runner-claude": "0.6.2",
|
|
63
|
-
"@bunny-agent/runner-codex": "0.6.2",
|
|
64
65
|
"@bunny-agent/runner-copilot": "0.1.0",
|
|
65
|
-
"@bunny-agent/manager": "0.10.0-beta.1",
|
|
66
66
|
"@bunny-agent/runner-gemini": "0.6.2",
|
|
67
|
-
"@bunny-agent/apply-patch": "0.1.0",
|
|
68
67
|
"@bunny-agent/runner-harness": "0.1.1-beta.0",
|
|
68
|
+
"@bunny-agent/runner-opencode": "0.6.2",
|
|
69
|
+
"@bunny-agent/runner-codex": "0.6.2",
|
|
69
70
|
"@bunny-agent/runner-pi": "0.6.4-beta.0",
|
|
70
|
-
"@bunny-agent/server-acp": "0.1.0"
|
|
71
|
-
"@bunny-agent/runner-opencode": "0.6.2"
|
|
71
|
+
"@bunny-agent/server-acp": "0.1.0"
|
|
72
72
|
},
|
|
73
73
|
"scripts": {
|
|
74
74
|
"build": "tsc && pnpm bundle",
|