openfox 2.0.124 → 2.0.126
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/CHANGELOG.md +24 -0
- package/README.md +1 -0
- package/dist/CHANGELOG.md +24 -0
- package/dist/{backend-67OLCS5O.js → backend-4YPEC3J2.js} +2 -2
- package/dist/{chat-handler-N43TBYLV.js → chat-handler-OJ4XBQY4.js} +13 -13
- package/dist/{chunk-QJNBQCAF.js → chunk-2UPFWNC4.js} +4 -4
- package/dist/{chunk-57UCBFBD.js → chunk-6VW4BQMP.js} +9 -9
- package/dist/{chunk-5CCM655F.js → chunk-76A3E4LK.js} +35 -19
- package/dist/{chunk-KGFERMCV.js → chunk-77PJWQR7.js} +6 -6
- package/dist/chunk-ABCCTPBC.js +7 -0
- package/dist/{chunk-UGEFD67O.js → chunk-CTHRGR4O.js} +2 -2
- package/dist/{chunk-SYTEO5LA.js → chunk-FNXTJLCZ.js} +197 -8
- package/dist/{chunk-RXLAFEZB.js → chunk-H2RZDEVL.js} +4 -4
- package/dist/{chunk-W4SM4FFZ.js → chunk-HOSFRPPI.js} +14 -10
- package/dist/{chunk-MIPQOHWS.js → chunk-KAZWU73N.js} +26 -2
- package/dist/{chunk-62GUO2EG.js → chunk-LJX7KXRU.js} +3 -3
- package/dist/{chunk-AZHWLLPP.js → chunk-PBFGJFGC.js} +28 -10
- package/dist/{chunk-A6EZBX62.js → chunk-T3JVYO3Z.js} +16 -6
- package/dist/{chunk-FAL4WO4V.js → chunk-TP2PGZSE.js} +3 -3
- package/dist/{chunk-JEZN37KV.js → chunk-UAAFZEIS.js} +2 -2
- package/dist/{chunk-3NMLSANH.js → chunk-Y3BSBKHY.js} +31 -17
- package/dist/chunk-ZFNBATE3.js +196 -0
- package/dist/{chunk-VUBFPRKT.js → chunk-ZS55MMG6.js} +58 -51
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{client-XHJHOFMU.js → client-YHYIWZY7.js} +5 -5
- package/dist/{client-pure-QSY7TJGK.js → client-pure-CJKM3ACP.js} +2 -2
- package/dist/{compactor-VTATJTPN.js → compactor-7KPBTFZF.js} +5 -5
- package/dist/{dynamic-context-KTQCAPTK.js → dynamic-context-PYAUG2LP.js} +2 -2
- package/dist/{http-client-N4ASJEKJ.js → http-client-ROVNSHF6.js} +2 -2
- package/dist/{launch-Z5D5YFRJ.js → launch-3F2GCRRF.js} +13 -13
- package/dist/{orchestrator-BQBBO4US.js → orchestrator-BRHIA2KE.js} +12 -12
- package/dist/package.json +1 -1
- package/dist/plugins-registry.json +6 -0
- package/dist/{processor-WTRVYXAO.js → processor-2IFXIJXG.js} +12 -12
- package/dist/provider/index.d.ts +2 -2
- package/dist/{provider-LICG53GG.js → provider-6LUA73HF.js} +6 -6
- package/dist/{provider-manager-3QC2MSSR.js → provider-manager-OQTEXZ7X.js} +6 -6
- package/dist/{serve-75G5Z7UQ.js → serve-WJKFUMLI.js} +18 -18
- package/dist/server/index.d.ts +6 -1
- package/dist/server/index.js +17 -17
- package/dist/{server-N3VATHIA.js → server-6LDC4HU6.js} +16 -16
- package/dist/{service-OURGS2SI.js → service-BRKMLM4C.js} +7 -7
- package/dist/{tasks-4SOLTX6A.js → tasks-DEUZ6BNS.js} +7 -7
- package/dist/{tools-G44LBKD4.js → tools-AOLICK5U.js} +10 -10
- package/dist/{types-Cr4EgGwK.d.ts → types-BWuVnaBw.d.ts} +3 -1
- package/dist/{update-R2TEHD7V.js → update-VH75MTCP.js} +2 -2
- package/dist/web/assets/index-DQ3Wg2OF.js +324 -0
- package/dist/web/index.html +1 -1
- package/dist/web/sw.js +1 -1
- package/dist/{workspace-J3JEGF6U.js → workspace-6CUE26YA.js} +2 -2
- package/package.json +1 -1
- package/plugins-registry.json +6 -0
- package/dist/chunk-SBADOWVC.js +0 -7
- package/dist/chunk-VPRB5FNR.js +0 -167
- package/dist/web/assets/index-GZTGHRRr.js +0 -324
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.126 - 2026-08-21
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
- **Numeric criterion ids are no longer rejected** — session_metadata now accepts number-form ids (e.g. 0) for add, update, and remove, so agents can mark criteria complete reliably
|
|
8
|
+
- **Auto-generated metadata ids start at 1** — criteria, todos, and review findings now get sequential ids from 1 instead of 0
|
|
9
|
+
|
|
10
|
+
## 2.0.125 - 2026-08-21
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **xAI Grok (SuperGrok) plugin** — new curated plugin logs in with your X (xAI) SuperGrok subscription via OAuth, no API key needed
|
|
15
|
+
|
|
16
|
+
### Enhancements
|
|
17
|
+
|
|
18
|
+
- **Small-context models are flagged** — the model picker and edit-model modal warn when a model's context window sits under 16k tokens
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
- **llama.cpp now honors the reasoning effort** — the chosen level reaches the model (it was silently ignored); 'none' turns thinking off
|
|
23
|
+
- **Symlinked project folders show up in discovery** — directory browser, workspace and plugin listings now include symlinked directories
|
|
24
|
+
- **Ollama requests are fixed end to end** — the native /api/chat endpoint uses the model's full context window so prompts are no longer truncated, unsupported params are dropped, and multi-turn tool calls work again
|
|
25
|
+
- **Thinking mode follows the resolved reasoning effort** — session and sub-agent thinking is no longer force-enabled
|
|
26
|
+
|
|
3
27
|
## 2.0.124 - 2026-08-19
|
|
4
28
|
|
|
5
29
|
### Enhancements
|
package/README.md
CHANGED
|
@@ -99,6 +99,7 @@ Restart OpenFox after installing or updating a plugin.
|
|
|
99
99
|
- To authenticate with a ChatGPT Plus or Pro account, you can install the [`openfox-chatgpt`](https://github.com/arthurlacoste/openfox-chatgpt) plugin.
|
|
100
100
|
- To authenticate with a Github copilot account, you can install the [`openfox-github-copilot`](https://github.com/JamesDAdams/openfox-github-copilot) plugin.
|
|
101
101
|
- To authenticate with a Google Antigravity account, you can install the [`openfox-google-antigravity`](https://github.com/JamesDAdams/openfox-google-antigravity) plugin.
|
|
102
|
+
- To authenticate with an X (xAI) SuperGrok subscription, you can install the [`openfox-xai-supergrok`](https://github.com/Olgean-Group/openfox-xai-supergrok) plugin.
|
|
102
103
|
|
|
103
104
|
## Screenshots
|
|
104
105
|
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.126 - 2026-08-21
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
- **Numeric criterion ids are no longer rejected** — session_metadata now accepts number-form ids (e.g. 0) for add, update, and remove, so agents can mark criteria complete reliably
|
|
8
|
+
- **Auto-generated metadata ids start at 1** — criteria, todos, and review findings now get sequential ids from 1 instead of 0
|
|
9
|
+
|
|
10
|
+
## 2.0.125 - 2026-08-21
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **xAI Grok (SuperGrok) plugin** — new curated plugin logs in with your X (xAI) SuperGrok subscription via OAuth, no API key needed
|
|
15
|
+
|
|
16
|
+
### Enhancements
|
|
17
|
+
|
|
18
|
+
- **Small-context models are flagged** — the model picker and edit-model modal warn when a model's context window sits under 16k tokens
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
- **llama.cpp now honors the reasoning effort** — the chosen level reaches the model (it was silently ignored); 'none' turns thinking off
|
|
23
|
+
- **Symlinked project folders show up in discovery** — directory browser, workspace and plugin listings now include symlinked directories
|
|
24
|
+
- **Ollama requests are fixed end to end** — the native /api/chat endpoint uses the model's full context window so prompts are no longer truncated, unsupported params are dropped, and multi-turn tool calls work again
|
|
25
|
+
- **Thinking mode follows the resolved reasoning effort** — session and sub-agent thinking is no longer force-enabled
|
|
26
|
+
|
|
3
27
|
## 2.0.124 - 2026-08-19
|
|
4
28
|
|
|
5
29
|
### Enhancements
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getBackendCapabilities,
|
|
3
3
|
getBackendDisplayName
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PBFGJFGC.js";
|
|
5
5
|
import "./chunk-YLJ4XMA6.js";
|
|
6
6
|
export {
|
|
7
7
|
getBackendCapabilities,
|
|
8
8
|
getBackendDisplayName
|
|
9
9
|
};
|
|
10
|
-
//# sourceMappingURL=backend-
|
|
10
|
+
//# sourceMappingURL=backend-4YPEC3J2.js.map
|
|
@@ -2,23 +2,23 @@ import {
|
|
|
2
2
|
buildRunChatTurnParams,
|
|
3
3
|
finalizeTurnCompletion,
|
|
4
4
|
generateSessionNameForSession
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HOSFRPPI.js";
|
|
6
6
|
import {
|
|
7
7
|
runChatTurn
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-2UPFWNC4.js";
|
|
9
|
+
import "./chunk-76A3E4LK.js";
|
|
10
|
+
import "./chunk-TP2PGZSE.js";
|
|
11
11
|
import "./chunk-ZIL6VKLU.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-LJX7KXRU.js";
|
|
13
13
|
import "./chunk-GIJUWPRQ.js";
|
|
14
14
|
import "./chunk-EHFIUXWZ.js";
|
|
15
15
|
import "./chunk-RV5G7QQU.js";
|
|
16
16
|
import "./chunk-I72ACQ6R.js";
|
|
17
17
|
import "./chunk-JE7LW7Y6.js";
|
|
18
18
|
import "./chunk-OAN4BXEW.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-Y3BSBKHY.js";
|
|
20
20
|
import "./chunk-J7GAZGZT.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-CTHRGR4O.js";
|
|
22
22
|
import "./chunk-7YP4O4XE.js";
|
|
23
23
|
import "./chunk-KD4W3I6C.js";
|
|
24
24
|
import {
|
|
@@ -34,18 +34,18 @@ import {
|
|
|
34
34
|
import "./chunk-66MG44TF.js";
|
|
35
35
|
import "./chunk-JURM3RPZ.js";
|
|
36
36
|
import "./chunk-LCLH6ZUL.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-T3JVYO3Z.js";
|
|
38
38
|
import "./chunk-K2QKX4ZJ.js";
|
|
39
39
|
import "./chunk-J2GP3J3X.js";
|
|
40
40
|
import "./chunk-KBESUA3W.js";
|
|
41
41
|
import "./chunk-OSXPQSLW.js";
|
|
42
42
|
import "./chunk-3B232XG4.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-FNXTJLCZ.js";
|
|
44
44
|
import "./chunk-GJL3QSMP.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-PBFGJFGC.js";
|
|
46
46
|
import "./chunk-HNCM3D7Y.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-KAZWU73N.js";
|
|
48
|
+
import "./chunk-ZFNBATE3.js";
|
|
49
49
|
import "./chunk-N2Q3KYWM.js";
|
|
50
50
|
import "./chunk-OYBUJIC3.js";
|
|
51
51
|
import "./chunk-ISE55FOR.js";
|
|
@@ -174,4 +174,4 @@ export {
|
|
|
174
174
|
startChatSession,
|
|
175
175
|
stopSessionExecution
|
|
176
176
|
};
|
|
177
|
-
//# sourceMappingURL=chat-handler-
|
|
177
|
+
//# sourceMappingURL=chat-handler-OJ4XBQY4.js.map
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
getToolRegistryForAgent,
|
|
5
5
|
processEventsForConversation,
|
|
6
6
|
runTopLevelAgentLoop
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-76A3E4LK.js";
|
|
8
8
|
import {
|
|
9
9
|
buildCachedPrompt,
|
|
10
10
|
computeDynamicContextHash,
|
|
11
11
|
getToolFingerprint
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TP2PGZSE.js";
|
|
13
13
|
import {
|
|
14
14
|
getAllInstructions,
|
|
15
15
|
getEnabledSkillMetadata
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
TurnMetrics,
|
|
19
19
|
createChatDoneEvent,
|
|
20
20
|
createMessageStartEvent
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LJX7KXRU.js";
|
|
22
22
|
import {
|
|
23
23
|
buildAgentReminder,
|
|
24
24
|
buildAgentSmallReminder
|
|
@@ -329,4 +329,4 @@ export {
|
|
|
329
329
|
runChatTurn,
|
|
330
330
|
runAgentTurn
|
|
331
331
|
};
|
|
332
|
-
//# sourceMappingURL=chunk-
|
|
332
|
+
//# sourceMappingURL=chunk-2UPFWNC4.js.map
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
generateSessionNameForSession,
|
|
3
3
|
getSessionMessageCount,
|
|
4
4
|
needsNameGeneration
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HOSFRPPI.js";
|
|
6
6
|
import {
|
|
7
7
|
launchWorkflowRun
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-77PJWQR7.js";
|
|
9
9
|
import {
|
|
10
10
|
runChatTurn
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2UPFWNC4.js";
|
|
12
12
|
import {
|
|
13
13
|
devServerManager
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-76A3E4LK.js";
|
|
15
15
|
import {
|
|
16
16
|
applyDynamicContext,
|
|
17
17
|
computeSessionHash,
|
|
18
18
|
computeUnifiedDiff
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TP2PGZSE.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCompactionPrompt
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-UAAFZEIS.js";
|
|
23
23
|
import {
|
|
24
24
|
hasRecentLLMFailure,
|
|
25
25
|
interruptLLMRetryWait
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LJX7KXRU.js";
|
|
27
27
|
import {
|
|
28
28
|
onProcessEvent
|
|
29
29
|
} from "./chunk-RV5G7QQU.js";
|
|
@@ -1299,7 +1299,7 @@ async function handleClientMessage(ws, client, message, _getLLMClient, _getActiv
|
|
|
1299
1299
|
}
|
|
1300
1300
|
const session = sessionManager.requireSession(sessionId);
|
|
1301
1301
|
try {
|
|
1302
|
-
const { buildCachedPrompt } = await import("./dynamic-context-
|
|
1302
|
+
const { buildCachedPrompt } = await import("./dynamic-context-PYAUG2LP.js");
|
|
1303
1303
|
const allAgents = await import("./registry-Z4GVYFTV.js");
|
|
1304
1304
|
const agentDef = allAgents.findAgentById(session.mode, await allAgents.loadAllAgentsDefault()) ?? allAgents.findAgentById("planner", await allAgents.loadAllAgentsDefault());
|
|
1305
1305
|
const modelName = session.providerModel ?? _providerManager?.getCurrentModel();
|
|
@@ -1624,4 +1624,4 @@ export {
|
|
|
1624
1624
|
signalMcpReady,
|
|
1625
1625
|
createWebSocketServer
|
|
1626
1626
|
};
|
|
1627
|
-
//# sourceMappingURL=chunk-
|
|
1627
|
+
//# sourceMappingURL=chunk-6VW4BQMP.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
recordLLMFailure,
|
|
19
19
|
sleepThroughRetryBackoff,
|
|
20
20
|
streamLLMPure
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LJX7KXRU.js";
|
|
22
22
|
import {
|
|
23
23
|
COMPACTION_PROMPT,
|
|
24
24
|
buildBasePrompt,
|
|
@@ -56,12 +56,12 @@ import {
|
|
|
56
56
|
getGitBranch,
|
|
57
57
|
isGitRepository,
|
|
58
58
|
listWorkspaces
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-Y3BSBKHY.js";
|
|
60
60
|
import {
|
|
61
61
|
getGateConfig,
|
|
62
62
|
isTaskConflictError,
|
|
63
63
|
isTaskGateError
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-CTHRGR4O.js";
|
|
65
65
|
import {
|
|
66
66
|
getSessionDisabledServers
|
|
67
67
|
} from "./chunk-7YP4O4XE.js";
|
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
formatPdfErrorMessage,
|
|
121
121
|
isPdfBuffer,
|
|
122
122
|
processPdfContent
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-KAZWU73N.js";
|
|
124
124
|
import {
|
|
125
125
|
SETTINGS_KEYS,
|
|
126
126
|
getSetting,
|
|
@@ -1381,7 +1381,7 @@ var SCHEMAS = {
|
|
|
1381
1381
|
criteria: {
|
|
1382
1382
|
description: "Acceptance criteria that drive workflow transitions",
|
|
1383
1383
|
fields: {
|
|
1384
|
-
id: "string (auto-generated)",
|
|
1384
|
+
id: "string (auto-generated; numeric ids accepted and normalized)",
|
|
1385
1385
|
description: "string \u2014 what needs to be done and how to verify it",
|
|
1386
1386
|
status: "pending | completed | passed | failed"
|
|
1387
1387
|
}
|
|
@@ -1404,9 +1404,14 @@ var SCHEMAS = {
|
|
|
1404
1404
|
}
|
|
1405
1405
|
}
|
|
1406
1406
|
};
|
|
1407
|
+
function normalizeId(id) {
|
|
1408
|
+
if (typeof id !== "string" && typeof id !== "number") return void 0;
|
|
1409
|
+
if (id === "") return void 0;
|
|
1410
|
+
return String(id);
|
|
1411
|
+
}
|
|
1407
1412
|
function requireKeyAndId(args, helpers, entries) {
|
|
1408
1413
|
if (!args.key) return helpers.error("Missing required field: key");
|
|
1409
|
-
if (
|
|
1414
|
+
if (normalizeId(args.id) === void 0) return helpers.error("Missing required field: id");
|
|
1410
1415
|
const current = entries[args.key];
|
|
1411
1416
|
if (!current) return helpers.error(`Key "${args.key}" not found.`);
|
|
1412
1417
|
return current;
|
|
@@ -1432,7 +1437,7 @@ var sessionMetadataTool = createTool(
|
|
|
1432
1437
|
},
|
|
1433
1438
|
id: {
|
|
1434
1439
|
type: "string",
|
|
1435
|
-
description: "Item ID (required for: update, remove)"
|
|
1440
|
+
description: "Item ID (required for: update, remove). Accepts numeric ids too \u2014 they are normalized to strings."
|
|
1436
1441
|
},
|
|
1437
1442
|
description: {
|
|
1438
1443
|
type: "string",
|
|
@@ -1490,7 +1495,7 @@ ${Object.entries(schema.fields).map(([f, t]) => ` ${f}: ${t}`).join("\n")}`
|
|
|
1490
1495
|
if (!args.description) return helpers.error("Missing required field: description");
|
|
1491
1496
|
const current = entries[args.key] ?? [];
|
|
1492
1497
|
const newEntry = {
|
|
1493
|
-
id: args.id
|
|
1498
|
+
id: normalizeId(args.id) ?? (current.length + 1).toString(),
|
|
1494
1499
|
description: args.description,
|
|
1495
1500
|
status: args.status || "pending"
|
|
1496
1501
|
};
|
|
@@ -1501,8 +1506,9 @@ ${Object.entries(schema.fields).map(([f, t]) => ` ${f}: ${t}`).join("\n")}`
|
|
|
1501
1506
|
if (args.action === "update") {
|
|
1502
1507
|
const current = requireKeyAndId(args, helpers, entries);
|
|
1503
1508
|
if (!Array.isArray(current)) return current;
|
|
1504
|
-
const
|
|
1505
|
-
|
|
1509
|
+
const id = normalizeId(args.id);
|
|
1510
|
+
const idx = current.findIndex((e) => e.id === id);
|
|
1511
|
+
if (idx === -1) return helpers.error(`Item "${id}" not found in "${args.key}".`);
|
|
1506
1512
|
const updated = current.map(
|
|
1507
1513
|
(e, i) => i === idx ? {
|
|
1508
1514
|
...e,
|
|
@@ -1511,15 +1517,16 @@ ${Object.entries(schema.fields).map(([f, t]) => ` ${f}: ${t}`).join("\n")}`
|
|
|
1511
1517
|
} : e
|
|
1512
1518
|
);
|
|
1513
1519
|
context.sessionManager.setMetadataEntries(context.sessionId, args.key, updated);
|
|
1514
|
-
return helpers.success(`Updated item "${
|
|
1520
|
+
return helpers.success(`Updated item "${id}" in "${args.key}".`);
|
|
1515
1521
|
}
|
|
1516
1522
|
if (args.action === "remove") {
|
|
1517
1523
|
const current = requireKeyAndId(args, helpers, entries);
|
|
1518
1524
|
if (!Array.isArray(current)) return current;
|
|
1519
|
-
const
|
|
1520
|
-
|
|
1525
|
+
const id = normalizeId(args.id);
|
|
1526
|
+
const updated = current.filter((e) => e.id !== id);
|
|
1527
|
+
if (updated.length === current.length) return helpers.error(`Item "${id}" not found in "${args.key}".`);
|
|
1521
1528
|
context.sessionManager.setMetadataEntries(context.sessionId, args.key, updated);
|
|
1522
|
-
return helpers.success(`Removed item "${
|
|
1529
|
+
return helpers.success(`Removed item "${id}" from "${args.key}". ${updated.length} items remaining.`);
|
|
1523
1530
|
}
|
|
1524
1531
|
return helpers.error("Unexpected error");
|
|
1525
1532
|
}
|
|
@@ -2136,7 +2143,7 @@ ${CONTINUE_PROMPT}` : CONTINUE_PROMPT;
|
|
|
2136
2143
|
currentMaxTokensOverride = void 0;
|
|
2137
2144
|
if (!compacting) {
|
|
2138
2145
|
const contextState = sessionManager.getContextState(sessionId);
|
|
2139
|
-
const { shouldCompact, appendCompactionPrompt } = await import("./compactor-
|
|
2146
|
+
const { shouldCompact, appendCompactionPrompt } = await import("./compactor-7KPBTFZF.js");
|
|
2140
2147
|
if (shouldCompact(
|
|
2141
2148
|
contextState.currentTokens,
|
|
2142
2149
|
contextState.maxTokens,
|
|
@@ -2935,7 +2942,16 @@ async function executeSubAgent(options) {
|
|
|
2935
2942
|
model: resolved.override.model,
|
|
2936
2943
|
...resolved.override.reasoningEffort ? { reasoningEffort: resolved.override.reasoningEffort } : {}
|
|
2937
2944
|
};
|
|
2938
|
-
|
|
2945
|
+
const overrideEffort = providerManager.resolveModelEffort(
|
|
2946
|
+
resolved.override.providerId,
|
|
2947
|
+
resolved.override.model,
|
|
2948
|
+
resolved.override.reasoningEffort
|
|
2949
|
+
);
|
|
2950
|
+
overrideModelSettings = providerManager.getModelSettings(
|
|
2951
|
+
resolved.override.providerId,
|
|
2952
|
+
resolved.override.model,
|
|
2953
|
+
overrideEffort === "none" ? "non-thinking" : "thinking"
|
|
2954
|
+
);
|
|
2939
2955
|
logger.info("Sub-agent using model override", { subAgentType, ...resolved.override });
|
|
2940
2956
|
} else if (resolved.warning) {
|
|
2941
2957
|
logger.warn("Sub-agent model override unavailable, falling back", { subAgentType, warning: resolved.warning });
|
|
@@ -3152,7 +3168,7 @@ var callSubAgentTool = {
|
|
|
3152
3168
|
};
|
|
3153
3169
|
}
|
|
3154
3170
|
try {
|
|
3155
|
-
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-
|
|
3171
|
+
const { getToolRegistryForAgent: getToolRegistryForAgent2 } = await import("./tools-AOLICK5U.js");
|
|
3156
3172
|
const toolRegistry = getToolRegistryForAgent2(agentDef);
|
|
3157
3173
|
const turnMetrics = new TurnMetrics();
|
|
3158
3174
|
const result = await executeSubAgent({
|
|
@@ -4174,7 +4190,7 @@ var mcpConfigTool = createTool(
|
|
|
4174
4190
|
mcpNotifyChanged?.(sessionId);
|
|
4175
4191
|
}
|
|
4176
4192
|
async function rebuildTools() {
|
|
4177
|
-
const { setMcpTools: setMcpTools2 } = await import("./tools-
|
|
4193
|
+
const { setMcpTools: setMcpTools2 } = await import("./tools-AOLICK5U.js");
|
|
4178
4194
|
const mcpTools = createMcpTools(mcpManagerForTools);
|
|
4179
4195
|
setMcpTools2(mcpTools);
|
|
4180
4196
|
}
|
|
@@ -5099,4 +5115,4 @@ export {
|
|
|
5099
5115
|
getToolRegistryForAgent,
|
|
5100
5116
|
createToolRegistry
|
|
5101
5117
|
};
|
|
5102
|
-
//# sourceMappingURL=chunk-
|
|
5118
|
+
//# sourceMappingURL=chunk-76A3E4LK.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runAgentTurn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2UPFWNC4.js";
|
|
4
4
|
import {
|
|
5
5
|
executeSubAgent,
|
|
6
6
|
getToolRegistryForAgent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-76A3E4LK.js";
|
|
8
8
|
import {
|
|
9
9
|
TurnMetrics,
|
|
10
10
|
createMessageStartEvent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LJX7KXRU.js";
|
|
12
12
|
import {
|
|
13
13
|
checkAborted,
|
|
14
14
|
decodeUtf8,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
loadProjectWorkflows,
|
|
28
28
|
loadUserWorkflows,
|
|
29
29
|
normalizeWorkflowScope
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-CTHRGR4O.js";
|
|
31
31
|
import {
|
|
32
32
|
getCurrentContextWindowId,
|
|
33
33
|
getEventStore
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
} from "./chunk-KBESUA3W.js";
|
|
45
45
|
import {
|
|
46
46
|
LLMError
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-ZFNBATE3.js";
|
|
48
48
|
import {
|
|
49
49
|
logger
|
|
50
50
|
} from "./chunk-K44MW7JJ.js";
|
|
@@ -1002,4 +1002,4 @@ export {
|
|
|
1002
1002
|
abortRunnerRun,
|
|
1003
1003
|
launchWorkflowRun
|
|
1004
1004
|
};
|
|
1005
|
-
//# sourceMappingURL=chunk-
|
|
1005
|
+
//# sourceMappingURL=chunk-77PJWQR7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseDefaultModelSelection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-T3JVYO3Z.js";
|
|
4
4
|
import {
|
|
5
5
|
deleteItemFromDir,
|
|
6
6
|
getDefaultIds,
|
|
@@ -1099,4 +1099,4 @@ export {
|
|
|
1099
1099
|
isTaskGateError,
|
|
1100
1100
|
createTasksService
|
|
1101
1101
|
};
|
|
1102
|
-
//# sourceMappingURL=chunk-
|
|
1102
|
+
//# sourceMappingURL=chunk-CTHRGR4O.js.map
|