@qwen-code/qwen-code 0.20.0 → 0.20.1-preview.7215
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/chunks/{MaxSizedBox-B5YGZSYE.js → MaxSizedBox-EH6G5AEH.js} +15 -12
- package/chunks/{StandaloneSessionPicker-CEGO2AZX.js → StandaloneSessionPicker-264A3TEA.js} +33 -30
- package/chunks/{acpAgent-YUR43TLG.js → acpAgent-6RBIJFDI.js} +79 -71
- package/chunks/{agent-H4JIDL7S.js → agent-QURXGAA3.js} +15 -12
- package/chunks/{agent-headless-TTBEREQV.js → agent-headless-CRGX4ICQ.js} +15 -12
- package/chunks/{anthropicContentGenerator-HVKLXOOU.js → anthropicContentGenerator-BWBAZGTW.js} +3 -2
- package/chunks/{artifact-tool-WBCAMD3O.js → artifact-tool-IUJ7QWCX.js} +1 -1
- package/chunks/{askUserQuestion-6DZC4UV5.js → askUserQuestion-IUMUUTDQ.js} +1 -1
- package/chunks/{bridge-VL7ITBU5.js → bridge-MNFVKPMI.js} +18 -15
- package/chunks/{chunk-FLSVD6BS.js → chunk-26LLB6FM.js} +1 -1
- package/chunks/{chunk-TKLLK6XQ.js → chunk-2DXOIVUI.js} +1 -1
- package/chunks/{chunk-HZPN55E5.js → chunk-3EUZWNWA.js} +1 -1
- package/chunks/{chunk-EZVDJFZ7.js → chunk-467G3SV5.js} +1 -1
- package/chunks/{chunk-4XNLIGVA.js → chunk-4SLLEAQP.js} +43 -26
- package/chunks/{chunk-O3OCNYY5.js → chunk-4WUAQ2DO.js} +1 -1
- package/chunks/{chunk-4ILMYHEI.js → chunk-5NWV4NFB.js} +3 -3
- package/chunks/{chunk-CV63PP6U.js → chunk-6GUTHAN7.js} +1 -1
- package/chunks/{chunk-KX6UK4VJ.js → chunk-6OH6A5EX.js} +117 -165
- package/chunks/{chunk-NDMQLV4Y.js → chunk-7KDI2IB2.js} +3 -3
- package/chunks/{chunk-6AFUCL3D.js → chunk-ANHT55MR.js} +1 -1
- package/chunks/{chunk-OYZWQNWG.js → chunk-AR27OPIU.js} +1 -1
- package/chunks/{chunk-IR46U7RB.js → chunk-B453NMZJ.js} +1 -1
- package/chunks/{chunk-4EP2PYYL.js → chunk-BAIEQKR5.js} +3 -3
- package/chunks/{chunk-AJSJ5TTU.js → chunk-BF32GYSY.js} +1 -1
- package/chunks/{chunk-O3Z73NBP.js → chunk-BRXIO5WY.js} +4 -4
- package/chunks/{chunk-D22SX43D.js → chunk-CVDW42JT.js} +1 -1
- package/chunks/{chunk-KG3XV6FH.js → chunk-DA7OOKVN.js} +1 -1
- package/chunks/{chunk-OEO2ERWK.js → chunk-E5GIFWE3.js} +3 -3
- package/chunks/{chunk-CPCVCKKF.js → chunk-ETD6K42I.js} +1 -1
- package/chunks/{chunk-AKX4WPPP.js → chunk-EVSTCA7S.js} +4 -4
- package/chunks/{chunk-DP5GXXNZ.js → chunk-FLTN6NRU.js} +1 -1
- package/chunks/{chunk-XVVH63JG.js → chunk-FNGK2Z5B.js} +2 -2
- package/chunks/{chunk-FEOZBUMT.js → chunk-FODK6UMO.js} +0 -27
- package/chunks/{chunk-PGEPSDJI.js → chunk-FVS747N7.js} +7 -7
- package/chunks/{chunk-333CXMNJ.js → chunk-GA7VRJVN.js} +4 -4
- package/chunks/chunk-GLNBDYUX.js +38 -0
- package/chunks/{chunk-SEKHYHMS.js → chunk-I5NLVPZJ.js} +1 -1
- package/chunks/{chunk-S2PD3EZD.js → chunk-IB35C3IL.js} +1 -1
- package/chunks/{chunk-DBE4QFZS.js → chunk-IE4JSQ5L.js} +10 -10
- package/chunks/{chunk-ANPINBOF.js → chunk-IKP5DXZY.js} +3 -3
- package/chunks/{chunk-OWCALFEG.js → chunk-IUSNI6IX.js} +1 -1
- package/chunks/{chunk-EAUYY7SS.js → chunk-JDI67JFB.js} +1 -1
- package/chunks/{chunk-MJ6S23WZ.js → chunk-JVTCARQ6.js} +4 -4
- package/chunks/{chunk-33XUAINQ.js → chunk-KPZNOZPC.js} +46 -6
- package/chunks/{chunk-CB2HFGRV.js → chunk-KXEGCGUG.js} +4 -4
- package/chunks/{chunk-S2W2LVDU.js → chunk-LZYWWWCZ.js} +2 -2
- package/chunks/{chunk-I2PYAYFM.js → chunk-MC2DOZS7.js} +1 -1
- package/chunks/{chunk-VZQUV7VK.js → chunk-MKLKHZAK.js} +1 -1
- package/chunks/{chunk-KOR3XKCA.js → chunk-N6YTEVLV.js} +3 -3
- package/chunks/{chunk-A5LYNIW7.js → chunk-NOWTNYC7.js} +4 -4
- package/chunks/{chunk-TIH2ZTOC.js → chunk-OF2BBLYQ.js} +1 -1
- package/chunks/chunk-OKWRU4NO.js +391 -0
- package/chunks/{chunk-ZFKNWQGQ.js → chunk-ONWW74X6.js} +7 -7
- package/chunks/{chunk-VEXFOTEO.js → chunk-P2YAOGJD.js} +2 -2
- package/chunks/chunk-PWVTCGBP.js +1768 -0
- package/chunks/{chunk-4N3KMAIL.js → chunk-Q3ZBFXK4.js} +13 -13
- package/chunks/{chunk-PF4CHQOJ.js → chunk-Q4RBU7WX.js} +4 -4
- package/chunks/{chunk-KDC6GNQR.js → chunk-QOK6RMIP.js} +4 -4
- package/chunks/{chunk-542SK7KV.js → chunk-RELYEO3R.js} +4 -4
- package/chunks/{chunk-OP4MOGXF.js → chunk-S35ZDXOS.js} +6 -0
- package/chunks/{chunk-KQNM4EO7.js → chunk-SDXIH6OA.js} +1 -1
- package/chunks/{chunk-7RMOXZTC.js → chunk-T7DDD7CZ.js} +4 -4
- package/chunks/{chunk-NGFEPAE6.js → chunk-TCKTNY66.js} +6 -4
- package/chunks/{chunk-5JBR5XIK.js → chunk-TTSKHF43.js} +2 -2
- package/chunks/{chunk-AQIEINAY.js → chunk-UJEZQ562.js} +25 -1763
- package/chunks/{chunk-BRRF37CO.js → chunk-UQES76OO.js} +1 -1
- package/chunks/{chunk-7SXZC7ID.js → chunk-V25Z5UUB.js} +4 -4
- package/chunks/{chunk-PBWEWI4N.js → chunk-VFAE4AGH.js} +29 -27
- package/chunks/{chunk-S2XVRHDN.js → chunk-WAX3ITOA.js} +1 -1
- package/chunks/chunk-WBTZGWQ6.js +121 -0
- package/chunks/{chunk-SJMV7ZBK.js → chunk-WKRXIHD6.js} +6 -6
- package/chunks/{chunk-2LL7TXB4.js → chunk-WOT64EP2.js} +2 -2
- package/chunks/{chunk-VDWBQ5AW.js → chunk-WXAXH7IJ.js} +1 -1
- package/chunks/{chunk-FQD7GFSV.js → chunk-X4CGDBKA.js} +3 -3
- package/chunks/{chunk-BMWMT5Y2.js → chunk-XNP57UDV.js} +2 -372
- package/chunks/{chunk-7PZ2ATFZ.js → chunk-Y4CRUWFZ.js} +13 -13
- package/chunks/{chunk-CZF3E5GF.js → chunk-Z5Q65RVH.js} +1 -1
- package/chunks/{chunk-IVPSS6EL.js → chunk-Z5R4JMOL.js} +3 -3
- package/chunks/{chunk-TMQ6XQCX.js → chunk-Z6UEAQTP.js} +36 -36
- package/chunks/{computer-use-NIWQNUZF.js → computer-use-R7KA6UJ6.js} +15 -12
- package/chunks/{config-utils-AHQ6YZ66.js → config-utils-6FXFJUYB.js} +1 -1
- package/chunks/{contextCommand-L2COEUHS.js → contextCommand-KAQQPHZ4.js} +17 -14
- package/chunks/{create-sub-session-MGNX52P3.js → create-sub-session-TDPDBU4K.js} +15 -12
- package/chunks/{create-sub-session-P26FE5GG.js → create-sub-session-X5RVIHCK.js} +1 -1
- package/chunks/{cron-create-JWFHBDRQ.js → cron-create-AC5FFLN7.js} +1 -1
- package/chunks/{cron-delete-GDX4E26G.js → cron-delete-JEB3FAHA.js} +1 -1
- package/chunks/{cron-list-USMAIWPT.js → cron-list-NBYPCNIB.js} +1 -1
- package/chunks/{daemon-status-provider-NL4IAG7B.js → daemon-status-provider-LVTVJGAD.js} +22 -19
- package/chunks/{earlyInputCapture-L6I2A22T.js → earlyInputCapture-WC7RI5HV.js} +15 -12
- package/chunks/{edit-3QV3JZJL.js → edit-6MHKCJCM.js} +16 -13
- package/chunks/{enter-worktree-4GMMF7EG.js → enter-worktree-O7VJ2E7A.js} +15 -12
- package/chunks/{enterPlanMode-L5UWBAUC.js → enterPlanMode-5XYAALIO.js} +15 -12
- package/chunks/{environment-3OV7UQOT.js → environment-LSKFNLBU.js} +17 -14
- package/chunks/{errors-LEOF5QG4.js → errors-ZFVCY6HG.js} +17 -14
- package/chunks/{exit-worktree-DDP57JLV.js → exit-worktree-MYIK66T7.js} +15 -12
- package/chunks/{exitPlanMode-CJBLGPIP.js → exitPlanMode-7MBNU76O.js} +15 -12
- package/chunks/{fast-path-M6RP2ING.js → fast-path-RNLIB64C.js} +2 -2
- package/chunks/{gemini-H4PHBJTL.js → gemini-WK5ISEAQ.js} +56 -53
- package/chunks/{geminiContentGenerator-VURJYPWP.js → geminiContentGenerator-NUJQBZBW.js} +1 -1
- package/chunks/{glob-2KUSRAVQ.js → glob-7P6RYY4L.js} +15 -12
- package/chunks/{grep-B5RXVESV.js → grep-V3QHNP2J.js} +15 -12
- package/chunks/{handleAutoUpdate-QQVIWXKT.js → handleAutoUpdate-AAQ6PL3E.js} +19 -16
- package/chunks/{i18n-N6OBDORT.js → i18n-B7IO7WQT.js} +16 -13
- package/chunks/{initializer-6WCFNDLL.js → initializer-E5TIC3CW.js} +20 -17
- package/chunks/{installationInfo-6J3WPXNS.js → installationInfo-XLPNAISK.js} +16 -13
- package/chunks/{list-HOWQSWP6.js → list-3CZR5I42.js} +23 -20
- package/chunks/{loadedSettingsAdapter-AO4YBRXZ.js → loadedSettingsAdapter-X5BSC6CE.js} +20 -17
- package/chunks/{loop-wakeup-5GLTUBHA.js → loop-wakeup-HMHCT5GU.js} +2 -2
- package/chunks/{ls-FHBY3Y7I.js → ls-IW5HYDG4.js} +1 -1
- package/chunks/{lsp-B6VMEW6Y.js → lsp-4RL52YIZ.js} +1 -1
- package/chunks/{mcp-QH7QNXOH.js → mcp-4C4HWXAR.js} +20 -17
- package/chunks/{monitor-GLJZDNPS.js → monitor-3CJDNZB2.js} +15 -12
- package/chunks/{nonInteractiveCli-TI7EMPXD.js → nonInteractiveCli-QTEHDDFH.js} +47 -44
- package/chunks/{notebook-edit-AVCIWS4F.js → notebook-edit-MX366HCT.js} +16 -13
- package/chunks/{openaiContentGenerator-B7W24G3D.js → openaiContentGenerator-KRPNNJGZ.js} +10 -7
- package/chunks/{pidfile-UEHAT6DH.js → pidfile-K7T2JLUJ.js} +15 -12
- package/chunks/{processUtils-XZPY2PBB.js → processUtils-YXL3VIBR.js} +2 -2
- package/chunks/{qwenContentGenerator-6GUTWJIC.js → qwenContentGenerator-GJVXFZ3U.js} +20 -15
- package/chunks/{qwenOAuth2-GASEEWGU.js → qwenOAuth2-UZTIBQLY.js} +6 -5
- package/chunks/{read-file-SQJONF6A.js → read-file-S5XQSYOW.js} +3 -3
- package/chunks/{read-mcp-resource-AKCL7I43.js → read-mcp-resource-OIBCNIX7.js} +1 -1
- package/chunks/{record-artifact-PEUB7727.js → record-artifact-HDMK4LHG.js} +1 -1
- package/chunks/{resumeHistoryUtils-PFQ2A23X.js → resumeHistoryUtils-IKR6XD2S.js} +19 -16
- package/chunks/{ripGrep-QCK22GDU.js → ripGrep-H65GRSQX.js} +15 -12
- package/chunks/{run-qwen-serve-OZGR3FQA.js → run-qwen-serve-7SKAQOAA.js} +24 -24
- package/chunks/{runtime-SNVAP6EH.js → runtime-I2STBGPR.js} +22 -19
- package/chunks/{scheduler-Z7QLMUWA.js → scheduler-6F7HETNO.js} +15 -12
- package/chunks/{send-message-3RHE7HSM.js → send-message-WXVVK4DB.js} +2 -2
- package/chunks/{serve-BT7KS6SC.js → serve-4ATEWSEA.js} +20 -17
- package/chunks/{server-SO64U3X5.js → server-YPUPFV2O.js} +70 -67
- package/chunks/{session-2KL2WQAH.js → session-AZFIERIY.js} +48 -45
- package/chunks/{settings-KITVOUSV.js → settings-EFQHLTM3.js} +19 -16
- package/chunks/{shell-BITUVH2R.js → shell-FWXWBJ4Q.js} +15 -12
- package/chunks/{skill-SOQHY455.js → skill-A634MNCD.js} +3 -3
- package/chunks/{spawnChannel-2BU3AULL.js → spawnChannel-KKBGGR47.js} +17 -14
- package/chunks/{src-43LM7JLB.js → src-BVROLD6N.js} +50 -46
- package/chunks/{standalone-update-YG5JUYCM.js → standalone-update-ERLA3BDC.js} +17 -14
- package/chunks/{startInteractiveUI-3RGTGEX5.js → startInteractiveUI-3VZ23WAY.js} +144 -140
- package/chunks/{syntheticOutput-FG5PQKIR.js → syntheticOutput-HCUFXSIA.js} +2 -2
- package/chunks/{task-create-HX32YXO7.js → task-create-RIY5JTFC.js} +3 -3
- package/chunks/{task-list-QWSY4ZIU.js → task-list-XBUCV3CO.js} +1 -1
- package/chunks/{task-stop-GWC6UWAL.js → task-stop-QDFCCYR5.js} +1 -1
- package/chunks/{task-update-NCTAB73Q.js → task-update-7PXKJQOI.js} +3 -3
- package/chunks/{team-create-FXN3PEBP.js → team-create-ZZO7QFQ7.js} +18 -15
- package/chunks/{team-delete-KK37HTOG.js → team-delete-TNSSE2S5.js} +1 -1
- package/chunks/{team-plan-approval-GEIZ356Q.js → team-plan-approval-3BZBJ46K.js} +15 -12
- package/chunks/{theme-manager-IAETOI25.js → theme-manager-FSFWNXFJ.js} +15 -12
- package/chunks/{todoWrite-ERCAMLFS.js → todoWrite-OMAIGB6V.js} +1 -1
- package/chunks/{tool-search-XKK7DNOK.js → tool-search-VYXAAIDW.js} +4 -4
- package/chunks/{total-session-admission-BJLDHKJN.js → total-session-admission-PSMLQICS.js} +18 -15
- package/chunks/{trustedFolders-5XCVNEUU.js → trustedFolders-QA3RK2NV.js} +16 -13
- package/chunks/{update-relaunch-FMVZK6XF.js → update-relaunch-LNLZFX3J.js} +5 -5
- package/chunks/{updateCheck-YZZB7YBU.js → updateCheck-JJEUQ54U.js} +18 -15
- package/chunks/{useAutoAcceptIndicator-ZSQX4I2H.js → useAutoAcceptIndicator-DIWN27LT.js} +23 -20
- package/chunks/{validateNonInterActiveAuth-PRVEB6GG.js → validateNonInterActiveAuth-LOEOFCAF.js} +44 -41
- package/chunks/{version-AZMG6KWL.js → version-HBF2VBLE.js} +1 -1
- package/chunks/{web-fetch-EPGJ5OQQ.js → web-fetch-BWGSD2BD.js} +5 -4
- package/chunks/web-search-OOHTCVR3.js +680 -0
- package/chunks/{workflow-UTNVPW22.js → workflow-LJAJBOR4.js} +16 -13
- package/chunks/{workspace-providers-status-EADV364W.js → workspace-providers-status-FYV7TTHA.js} +23 -20
- package/chunks/{workspace-registration-store-F3ZX3YHT.js → workspace-registration-store-4EHGQW4Y.js} +1 -1
- package/chunks/{workspace-registry-W6VMFYZU.js → workspace-registry-BKD7VC4Y.js} +18 -15
- package/chunks/{workspace-service-F3KIN2UN.js → workspace-service-75RHX6KR.js} +25 -22
- package/chunks/{workspace-skills-status-YVICUR5Y.js → workspace-skills-status-WBZBZI6A.js} +21 -18
- package/chunks/{write-file-CVGF2OKV.js → write-file-M2DTFILF.js} +16 -13
- package/cli.js +11 -11
- package/package.json +3 -3
- package/chunks/{chunk-B3KGZCQN.js → chunk-7YBZGNEC.js} +3 -3
- /package/chunks/{chunk-YWEW33JY.js → chunk-OMH3276Y.js} +0 -0
|
@@ -33,11 +33,17 @@ import {
|
|
|
33
33
|
unknown,
|
|
34
34
|
url
|
|
35
35
|
} from "./chunk-H6XPXXMH.js";
|
|
36
|
+
import {
|
|
37
|
+
claimTask,
|
|
38
|
+
listTasks,
|
|
39
|
+
onTasksUpdated,
|
|
40
|
+
unassignTeammateTasks
|
|
41
|
+
} from "./chunk-OONJNQ42.js";
|
|
36
42
|
import {
|
|
37
43
|
CronScheduler,
|
|
38
44
|
DEFAULT_RECURRING_MAX_AGE_DAYS,
|
|
39
45
|
normalizeRecurringMaxAge
|
|
40
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-JDI67JFB.js";
|
|
41
47
|
import {
|
|
42
48
|
consumeUnread,
|
|
43
49
|
forwardApproval,
|
|
@@ -47,12 +53,6 @@ import {
|
|
|
47
53
|
wrapConfirmWithBadge,
|
|
48
54
|
writeMessage
|
|
49
55
|
} from "./chunk-FSL5W5TI.js";
|
|
50
|
-
import {
|
|
51
|
-
claimTask,
|
|
52
|
-
listTasks,
|
|
53
|
-
onTasksUpdated,
|
|
54
|
-
unassignTeammateTasks
|
|
55
|
-
} from "./chunk-OONJNQ42.js";
|
|
56
56
|
import {
|
|
57
57
|
assignTeammateColor,
|
|
58
58
|
classifyShutdownResponse,
|
|
@@ -64,6 +64,11 @@ import {
|
|
|
64
64
|
import {
|
|
65
65
|
require_proper_lockfile
|
|
66
66
|
} from "./chunk-E2UVIFI2.js";
|
|
67
|
+
import {
|
|
68
|
+
RUNTIME_SNAPSHOT_PREFIX,
|
|
69
|
+
buildModelIdContext,
|
|
70
|
+
resolveModelId
|
|
71
|
+
} from "./chunk-WBTZGWQ6.js";
|
|
67
72
|
import {
|
|
68
73
|
LEADER_NAME,
|
|
69
74
|
MAX_TEAMMATES
|
|
@@ -103,7 +108,7 @@ import {
|
|
|
103
108
|
runWithRuntimeContentGenerator,
|
|
104
109
|
shouldUsePlanOnlyReminderInSubagentContext,
|
|
105
110
|
spawnBlockReason
|
|
106
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-ETD6K42I.js";
|
|
107
112
|
import {
|
|
108
113
|
getTeammateContext,
|
|
109
114
|
isTeammate,
|
|
@@ -149,7 +154,7 @@ import {
|
|
|
149
154
|
isFallbackEligible,
|
|
150
155
|
isUnattendedMode,
|
|
151
156
|
retryWithBackoff
|
|
152
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-XNP57UDV.js";
|
|
153
158
|
import {
|
|
154
159
|
openBrowserSecurely,
|
|
155
160
|
shouldAttemptBrowserLaunch
|
|
@@ -300,7 +305,7 @@ import {
|
|
|
300
305
|
updateMCPServerStatus,
|
|
301
306
|
writeLine,
|
|
302
307
|
writeLineSync
|
|
303
|
-
} from "./chunk-
|
|
308
|
+
} from "./chunk-ONWW74X6.js";
|
|
304
309
|
import {
|
|
305
310
|
E_TIMEOUT,
|
|
306
311
|
Mutex,
|
|
@@ -333,7 +338,7 @@ import {
|
|
|
333
338
|
} from "./chunk-BDBMYST4.js";
|
|
334
339
|
import {
|
|
335
340
|
STRUCTURED_OUTPUT_REDACTED_ARGS
|
|
336
|
-
} from "./chunk-
|
|
341
|
+
} from "./chunk-467G3SV5.js";
|
|
337
342
|
import {
|
|
338
343
|
AgentStatistics,
|
|
339
344
|
BaseDeclarativeTool,
|
|
@@ -350,10 +355,10 @@ import {
|
|
|
350
355
|
require_dist,
|
|
351
356
|
require_fast_deep_equal,
|
|
352
357
|
require_fast_uri
|
|
353
|
-
} from "./chunk-
|
|
358
|
+
} from "./chunk-S35ZDXOS.js";
|
|
354
359
|
import {
|
|
355
360
|
DEFAULT_OPENAI_BASE_URL
|
|
356
|
-
} from "./chunk-
|
|
361
|
+
} from "./chunk-GLNBDYUX.js";
|
|
357
362
|
import {
|
|
358
363
|
combineAbortSignals,
|
|
359
364
|
createAbortController,
|
|
@@ -30284,106 +30289,6 @@ function resolveCredentialField(explicitValue, inheritedValue, authType, field)
|
|
|
30284
30289
|
}
|
|
30285
30290
|
__name(resolveCredentialField, "resolveCredentialField");
|
|
30286
30291
|
|
|
30287
|
-
// packages/core/src/utils/modelId.ts
|
|
30288
|
-
init_esbuild_shims();
|
|
30289
|
-
|
|
30290
|
-
// packages/core/src/utils/runtimeModelPrefix.ts
|
|
30291
|
-
init_esbuild_shims();
|
|
30292
|
-
var RUNTIME_SNAPSHOT_PREFIX = "$runtime|";
|
|
30293
|
-
function stripRuntimeSnapshotPrefix(modelId) {
|
|
30294
|
-
let id = modelId;
|
|
30295
|
-
while (id.startsWith(RUNTIME_SNAPSHOT_PREFIX)) {
|
|
30296
|
-
const stripped = id.split("|").slice(2).join("|");
|
|
30297
|
-
if (!stripped) break;
|
|
30298
|
-
id = stripped;
|
|
30299
|
-
}
|
|
30300
|
-
return id;
|
|
30301
|
-
}
|
|
30302
|
-
__name(stripRuntimeSnapshotPrefix, "stripRuntimeSnapshotPrefix");
|
|
30303
|
-
|
|
30304
|
-
// packages/core/src/utils/modelId.ts
|
|
30305
|
-
var AUTH_TYPES = new Set(Object.values(AuthType));
|
|
30306
|
-
function resolveModelId(model, context2 = {}) {
|
|
30307
|
-
return resolveModelIdSelector(parseModelIdSelector(model), context2);
|
|
30308
|
-
}
|
|
30309
|
-
__name(resolveModelId, "resolveModelId");
|
|
30310
|
-
function buildModelIdContext(config) {
|
|
30311
|
-
return {
|
|
30312
|
-
currentModel: config.getModel?.(),
|
|
30313
|
-
currentAuthType: config.getContentGeneratorConfig?.()?.authType,
|
|
30314
|
-
fastModel: config.getFastModel?.(),
|
|
30315
|
-
getAvailableModels: /* @__PURE__ */ __name((authTypes) => config.getAllConfiguredModels?.(authTypes) ?? [], "getAvailableModels")
|
|
30316
|
-
};
|
|
30317
|
-
}
|
|
30318
|
-
__name(buildModelIdContext, "buildModelIdContext");
|
|
30319
|
-
function parseModelIdSelector(model) {
|
|
30320
|
-
const trimmed2 = model?.trim();
|
|
30321
|
-
if (!trimmed2 || trimmed2 === "inherit") {
|
|
30322
|
-
return { kind: "inherit" };
|
|
30323
|
-
}
|
|
30324
|
-
if (trimmed2 === "fast") {
|
|
30325
|
-
return { kind: "fast" };
|
|
30326
|
-
}
|
|
30327
|
-
const colonIndex = trimmed2.indexOf(":");
|
|
30328
|
-
if (colonIndex === -1) {
|
|
30329
|
-
return { kind: "model", modelId: trimmed2 };
|
|
30330
|
-
}
|
|
30331
|
-
const maybeAuthType = trimmed2.slice(0, colonIndex).trim();
|
|
30332
|
-
const modelId = trimmed2.slice(colonIndex + 1).trim();
|
|
30333
|
-
if (!AUTH_TYPES.has(maybeAuthType)) {
|
|
30334
|
-
return { kind: "model", modelId: trimmed2 };
|
|
30335
|
-
}
|
|
30336
|
-
if (!modelId) {
|
|
30337
|
-
throw new Error(
|
|
30338
|
-
"Model selector must include a model ID after the authType"
|
|
30339
|
-
);
|
|
30340
|
-
}
|
|
30341
|
-
return {
|
|
30342
|
-
kind: "model",
|
|
30343
|
-
authType: maybeAuthType,
|
|
30344
|
-
modelId
|
|
30345
|
-
};
|
|
30346
|
-
}
|
|
30347
|
-
__name(parseModelIdSelector, "parseModelIdSelector");
|
|
30348
|
-
function resolveAuthTypeForBareModel(modelId, context2) {
|
|
30349
|
-
if (context2.currentAuthType && context2.getAvailableModels) {
|
|
30350
|
-
const currentModels = context2.getAvailableModels([context2.currentAuthType]);
|
|
30351
|
-
if (currentModels.some((model) => model.id === modelId)) {
|
|
30352
|
-
return context2.currentAuthType;
|
|
30353
|
-
}
|
|
30354
|
-
}
|
|
30355
|
-
const configuredModel = context2.getAvailableModels ? context2.getAvailableModels().find((model) => model.id === modelId) : void 0;
|
|
30356
|
-
return configuredModel?.authType ?? context2.currentAuthType;
|
|
30357
|
-
}
|
|
30358
|
-
__name(resolveAuthTypeForBareModel, "resolveAuthTypeForBareModel");
|
|
30359
|
-
function resolveModelIdSelector(selector, context2) {
|
|
30360
|
-
if (selector.kind === "model") {
|
|
30361
|
-
const authType = selector.authType ?? resolveAuthTypeForBareModel(selector.modelId, context2);
|
|
30362
|
-
return {
|
|
30363
|
-
...authType ? { authType } : {},
|
|
30364
|
-
modelId: selector.modelId
|
|
30365
|
-
};
|
|
30366
|
-
}
|
|
30367
|
-
if (selector.kind === "inherit") {
|
|
30368
|
-
return context2.currentModel ? {
|
|
30369
|
-
...context2.currentAuthType ? { authType: context2.currentAuthType } : {},
|
|
30370
|
-
modelId: context2.currentModel
|
|
30371
|
-
} : void 0;
|
|
30372
|
-
}
|
|
30373
|
-
if (!context2.fastModel) {
|
|
30374
|
-
return void 0;
|
|
30375
|
-
}
|
|
30376
|
-
const fastSelector = parseModelIdSelector(context2.fastModel);
|
|
30377
|
-
if (fastSelector.kind === "fast") {
|
|
30378
|
-
return void 0;
|
|
30379
|
-
}
|
|
30380
|
-
return resolveModelIdSelector(fastSelector, {
|
|
30381
|
-
...context2,
|
|
30382
|
-
fastModel: void 0
|
|
30383
|
-
});
|
|
30384
|
-
}
|
|
30385
|
-
__name(resolveModelIdSelector, "resolveModelIdSelector");
|
|
30386
|
-
|
|
30387
30292
|
// packages/core/src/utils/errorReporting.ts
|
|
30388
30293
|
init_esbuild_shims();
|
|
30389
30294
|
var debugLogger2 = createDebugLogger("ERROR_REPORT");
|
|
@@ -31514,6 +31419,7 @@ var COMPACTABLE_TOOLS = /* @__PURE__ */ new Set([
|
|
|
31514
31419
|
ToolNames.GREP,
|
|
31515
31420
|
ToolNames.GLOB,
|
|
31516
31421
|
ToolNames.WEB_FETCH,
|
|
31422
|
+
ToolNames.WEB_SEARCH,
|
|
31517
31423
|
ToolNames.READ_MCP_RESOURCE,
|
|
31518
31424
|
ToolNames.EDIT,
|
|
31519
31425
|
ToolNames.WRITE_FILE,
|
|
@@ -49247,6 +49153,10 @@ var TOOL_NAME_ALIASES = {
|
|
|
49247
49153
|
web_fetch: "web_fetch",
|
|
49248
49154
|
WebFetch: "web_fetch",
|
|
49249
49155
|
WebFetchTool: "web_fetch",
|
|
49156
|
+
// WebSearch tool
|
|
49157
|
+
web_search: "web_search",
|
|
49158
|
+
WebSearch: "web_search",
|
|
49159
|
+
WebSearchTool: "web_search",
|
|
49250
49160
|
// ReadMcpResource tool
|
|
49251
49161
|
read_mcp_resource: "read_mcp_resource",
|
|
49252
49162
|
ReadMcpResource: "read_mcp_resource",
|
|
@@ -49419,6 +49329,7 @@ var CANONICAL_TO_RULE_DISPLAY = {
|
|
|
49419
49329
|
monitor: "Monitor",
|
|
49420
49330
|
// Web
|
|
49421
49331
|
web_fetch: "WebFetch",
|
|
49332
|
+
web_search: "WebSearch",
|
|
49422
49333
|
read_mcp_resource: "ReadMcpResource",
|
|
49423
49334
|
// Agent / Skill
|
|
49424
49335
|
agent: "Agent",
|
|
@@ -49491,6 +49402,7 @@ var DISPLAY_NAME_TO_VERB = {
|
|
|
49491
49402
|
Bash: "run commands",
|
|
49492
49403
|
Monitor: "monitor commands",
|
|
49493
49404
|
WebFetch: "fetch from",
|
|
49405
|
+
WebSearch: "search the web",
|
|
49494
49406
|
Agent: "use agent",
|
|
49495
49407
|
Skill: "use skill",
|
|
49496
49408
|
SaveMemory: "save memory",
|
|
@@ -55463,6 +55375,7 @@ var PermissionManager = class _PermissionManager {
|
|
|
55463
55375
|
"list_directory",
|
|
55464
55376
|
"read_mcp_resource",
|
|
55465
55377
|
"web_fetch",
|
|
55378
|
+
"web_search",
|
|
55466
55379
|
"todo_write",
|
|
55467
55380
|
"save_memory",
|
|
55468
55381
|
"lsp",
|
|
@@ -107799,7 +107712,7 @@ var CLAUDE_TOOLS_MAPPING = {
|
|
|
107799
107712
|
Task: "Task",
|
|
107800
107713
|
TodoWrite: "TodoList",
|
|
107801
107714
|
WebFetch: "WebFetch",
|
|
107802
|
-
WebSearch: "
|
|
107715
|
+
WebSearch: "WebSearch",
|
|
107803
107716
|
Write: "WriteFile",
|
|
107804
107717
|
LS: "ListFiles"
|
|
107805
107718
|
};
|
|
@@ -112771,7 +112684,18 @@ ${config.systemPrompt}
|
|
|
112771
112684
|
};
|
|
112772
112685
|
let toolConfig;
|
|
112773
112686
|
if (config.tools && config.tools.length > 0 || config.disallowedTools && config.disallowedTools.length > 0) {
|
|
112774
|
-
|
|
112687
|
+
let toolNames = config.tools ? await this.transformToToolNames(config.tools) : ["*"];
|
|
112688
|
+
if (config.tools && this.config.getToolRegistry() && toolNames.includes(ToolDisplayNames.WEB_SEARCH)) {
|
|
112689
|
+
toolNames = toolNames.filter(
|
|
112690
|
+
(name) => name !== ToolDisplayNames.WEB_SEARCH
|
|
112691
|
+
);
|
|
112692
|
+
if (toolNames.length === 0) {
|
|
112693
|
+
debugLogger84.warn(
|
|
112694
|
+
`Subagent "${config.name}": dropping the unavailable WebSearch left the allow-list empty; using the inherited toolset`
|
|
112695
|
+
);
|
|
112696
|
+
toolNames = ["*"];
|
|
112697
|
+
}
|
|
112698
|
+
}
|
|
112775
112699
|
toolConfig = {
|
|
112776
112700
|
tools: toolNames,
|
|
112777
112701
|
...config.disallowedTools && config.disallowedTools.length > 0 ? {
|
|
@@ -126668,7 +126592,8 @@ var BOUNDARY_TOOLS = /* @__PURE__ */ new Set([
|
|
|
126668
126592
|
ToolNames.EXIT_PLAN_MODE,
|
|
126669
126593
|
ToolNames.ENTER_PLAN_MODE,
|
|
126670
126594
|
ToolNames.TEAM_PLAN_APPROVAL,
|
|
126671
|
-
ToolNames.WEB_FETCH
|
|
126595
|
+
ToolNames.WEB_FETCH,
|
|
126596
|
+
ToolNames.WEB_SEARCH
|
|
126672
126597
|
]);
|
|
126673
126598
|
async function evaluateToolCall(toolName, args, overlayFs, approvalMode) {
|
|
126674
126599
|
if (SAFE_READ_ONLY_TOOLS.has(toolName)) {
|
|
@@ -152113,6 +152038,8 @@ var Config = class {
|
|
|
152113
152038
|
autoSkillConfirm;
|
|
152114
152039
|
memoryAgentTimeoutMinutes;
|
|
152115
152040
|
fastModel;
|
|
152041
|
+
webSearchSettings;
|
|
152042
|
+
webSearchNoticeEmitted = false;
|
|
152116
152043
|
visionModel;
|
|
152117
152044
|
visionBridgeTimeoutMs;
|
|
152118
152045
|
modelFallbacks;
|
|
@@ -152390,6 +152317,7 @@ var Config = class {
|
|
|
152390
152317
|
this.autoSkillConfirm = params.autoSkillConfirm ?? true;
|
|
152391
152318
|
this.memoryAgentTimeoutMinutes = params.memoryAgentTimeoutMinutes !== void 0 && params.memoryAgentTimeoutMinutes >= 0 ? params.memoryAgentTimeoutMinutes : void 0;
|
|
152392
152319
|
this.fastModel = params.fastModel || void 0;
|
|
152320
|
+
this.webSearchSettings = params.webSearch;
|
|
152393
152321
|
this.visionModel = params.visionModel || void 0;
|
|
152394
152322
|
this.visionBridgeTimeoutMs = params.visionBridgeTimeoutMs !== void 0 && Number.isInteger(params.visionBridgeTimeoutMs) && params.visionBridgeTimeoutMs > 0 && params.visionBridgeTimeoutMs <= 2147483647 ? params.visionBridgeTimeoutMs : void 0;
|
|
152395
152323
|
this.modelFallbacks = normalizeModelFallbacks(params.modelFallbacks);
|
|
@@ -153241,6 +153169,13 @@ var Config = class {
|
|
|
153241
153169
|
const rawSelector = resolveModelId(this.fastModel);
|
|
153242
153170
|
return rawSelector?.authType ? `${rawSelector.authType}:${selector.modelId}` : selector.modelId;
|
|
153243
153171
|
}
|
|
153172
|
+
/**
|
|
153173
|
+
* Settings for the built-in WebSearch tool. Undefined when the feature was
|
|
153174
|
+
* never configured.
|
|
153175
|
+
*/
|
|
153176
|
+
getWebSearchSettings() {
|
|
153177
|
+
return this.webSearchSettings;
|
|
153178
|
+
}
|
|
153244
153179
|
resolveFastModelSelector() {
|
|
153245
153180
|
if (!this.fastModel) return void 0;
|
|
153246
153181
|
try {
|
|
@@ -153534,6 +153469,14 @@ var Config = class {
|
|
|
153534
153469
|
getAllConfiguredModels(authTypes) {
|
|
153535
153470
|
return this.modelsConfig.getAllConfiguredModels(authTypes);
|
|
153536
153471
|
}
|
|
153472
|
+
/**
|
|
153473
|
+
* Get the fully resolved provider model config (generationConfig defaults
|
|
153474
|
+
* applied) for a specific modelProviders entry.
|
|
153475
|
+
* Delegates to ModelsConfig.
|
|
153476
|
+
*/
|
|
153477
|
+
getResolvedModelConfig(authType, modelId, baseUrl) {
|
|
153478
|
+
return this.modelsConfig.getResolvedModel(authType, modelId, baseUrl);
|
|
153479
|
+
}
|
|
153537
153480
|
/**
|
|
153538
153481
|
* Get the currently active runtime model snapshot.
|
|
153539
153482
|
* Delegates to ModelsConfig.
|
|
@@ -155625,25 +155568,25 @@ var Config = class {
|
|
|
155625
155568
|
if (options2?.forSubAgent) return;
|
|
155626
155569
|
const schema = this.jsonSchema;
|
|
155627
155570
|
await registerLazy(ToolNames.STRUCTURED_OUTPUT, async () => {
|
|
155628
|
-
const { SyntheticOutputTool } = await import("./syntheticOutput-
|
|
155571
|
+
const { SyntheticOutputTool } = await import("./syntheticOutput-HCUFXSIA.js");
|
|
155629
155572
|
return new SyntheticOutputTool(schema);
|
|
155630
155573
|
});
|
|
155631
155574
|
}, "registerStructuredOutputIfRequested");
|
|
155632
155575
|
if (this.getBareMode()) {
|
|
155633
155576
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
155634
|
-
const { ReadFileTool } = await import("./read-file-
|
|
155577
|
+
const { ReadFileTool } = await import("./read-file-S5XQSYOW.js");
|
|
155635
155578
|
return new ReadFileTool(this);
|
|
155636
155579
|
});
|
|
155637
155580
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
155638
|
-
const { EditTool } = await import("./edit-
|
|
155581
|
+
const { EditTool } = await import("./edit-6MHKCJCM.js");
|
|
155639
155582
|
return new EditTool(this);
|
|
155640
155583
|
});
|
|
155641
155584
|
await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
|
|
155642
|
-
const { NotebookEditTool } = await import("./notebook-edit-
|
|
155585
|
+
const { NotebookEditTool } = await import("./notebook-edit-MX366HCT.js");
|
|
155643
155586
|
return new NotebookEditTool(this);
|
|
155644
155587
|
});
|
|
155645
155588
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
155646
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
155589
|
+
const { ShellTool: ShellTool2 } = await import("./shell-FWXWBJ4Q.js");
|
|
155647
155590
|
return new ShellTool2(this);
|
|
155648
155591
|
});
|
|
155649
155592
|
await registerStructuredOutputIfRequested();
|
|
@@ -155653,35 +155596,35 @@ var Config = class {
|
|
|
155653
155596
|
return registry;
|
|
155654
155597
|
}
|
|
155655
155598
|
await registerLazy(ToolNames.TOOL_SEARCH, async () => {
|
|
155656
|
-
const { ToolSearchTool } = await import("./tool-search-
|
|
155599
|
+
const { ToolSearchTool } = await import("./tool-search-VYXAAIDW.js");
|
|
155657
155600
|
return new ToolSearchTool(this);
|
|
155658
155601
|
});
|
|
155659
155602
|
await registerLazy(ToolNames.READ_MCP_RESOURCE, async () => {
|
|
155660
|
-
const { ReadMcpResourceTool } = await import("./read-mcp-resource-
|
|
155603
|
+
const { ReadMcpResourceTool } = await import("./read-mcp-resource-OIBCNIX7.js");
|
|
155661
155604
|
return new ReadMcpResourceTool(this);
|
|
155662
155605
|
});
|
|
155663
155606
|
await registerLazy(ToolNames.AGENT, async () => {
|
|
155664
|
-
const { AgentTool: AgentTool2 } = await import("./agent-
|
|
155607
|
+
const { AgentTool: AgentTool2 } = await import("./agent-QURXGAA3.js");
|
|
155665
155608
|
return new AgentTool2(this);
|
|
155666
155609
|
});
|
|
155667
155610
|
await registerLazy(ToolNames.TASK_STOP, async () => {
|
|
155668
|
-
const { TaskStopTool } = await import("./task-stop-
|
|
155611
|
+
const { TaskStopTool } = await import("./task-stop-QDFCCYR5.js");
|
|
155669
155612
|
return new TaskStopTool(this);
|
|
155670
155613
|
});
|
|
155671
155614
|
await registerLazy(ToolNames.SEND_MESSAGE, async () => {
|
|
155672
|
-
const { SendMessageTool } = await import("./send-message-
|
|
155615
|
+
const { SendMessageTool } = await import("./send-message-WXVVK4DB.js");
|
|
155673
155616
|
return new SendMessageTool(this);
|
|
155674
155617
|
});
|
|
155675
155618
|
await registerLazy(ToolNames.SKILL, async () => {
|
|
155676
|
-
const { SkillTool } = await import("./skill-
|
|
155619
|
+
const { SkillTool } = await import("./skill-A634MNCD.js");
|
|
155677
155620
|
return new SkillTool(this);
|
|
155678
155621
|
});
|
|
155679
155622
|
await registerLazy(ToolNames.LS, async () => {
|
|
155680
|
-
const { LSTool } = await import("./ls-
|
|
155623
|
+
const { LSTool } = await import("./ls-IW5HYDG4.js");
|
|
155681
155624
|
return new LSTool(this);
|
|
155682
155625
|
});
|
|
155683
155626
|
await registerLazy(ToolNames.READ_FILE, async () => {
|
|
155684
|
-
const { ReadFileTool } = await import("./read-file-
|
|
155627
|
+
const { ReadFileTool } = await import("./read-file-S5XQSYOW.js");
|
|
155685
155628
|
return new ReadFileTool(this);
|
|
155686
155629
|
});
|
|
155687
155630
|
if (this.getUseRipgrep()) {
|
|
@@ -155696,7 +155639,7 @@ var Config = class {
|
|
|
155696
155639
|
recordStartupEvent("config_initialize_ripgrep_probe_end");
|
|
155697
155640
|
if (useRipgrep) {
|
|
155698
155641
|
await registerLazy(ToolNames.GREP, async () => {
|
|
155699
|
-
const { RipGrepTool: RipGrepTool2 } = await import("./ripGrep-
|
|
155642
|
+
const { RipGrepTool: RipGrepTool2 } = await import("./ripGrep-H65GRSQX.js");
|
|
155700
155643
|
return new RipGrepTool2(this);
|
|
155701
155644
|
});
|
|
155702
155645
|
} else {
|
|
@@ -155709,7 +155652,7 @@ var Config = class {
|
|
|
155709
155652
|
)
|
|
155710
155653
|
);
|
|
155711
155654
|
await registerLazy(ToolNames.GREP, async () => {
|
|
155712
|
-
const { GrepTool } = await import("./grep-
|
|
155655
|
+
const { GrepTool } = await import("./grep-V3QHNP2J.js");
|
|
155713
155656
|
return new GrepTool(this);
|
|
155714
155657
|
});
|
|
155715
155658
|
}
|
|
@@ -155717,139 +155660,152 @@ var Config = class {
|
|
|
155717
155660
|
recordStartupEvent("config_initialize_ripgrep_probe_start");
|
|
155718
155661
|
recordStartupEvent("config_initialize_ripgrep_probe_end");
|
|
155719
155662
|
await registerLazy(ToolNames.GREP, async () => {
|
|
155720
|
-
const { GrepTool } = await import("./grep-
|
|
155663
|
+
const { GrepTool } = await import("./grep-V3QHNP2J.js");
|
|
155721
155664
|
return new GrepTool(this);
|
|
155722
155665
|
});
|
|
155723
155666
|
}
|
|
155724
155667
|
await registerLazy(ToolNames.GLOB, async () => {
|
|
155725
|
-
const { GlobTool } = await import("./glob-
|
|
155668
|
+
const { GlobTool } = await import("./glob-7P6RYY4L.js");
|
|
155726
155669
|
return new GlobTool(this);
|
|
155727
155670
|
});
|
|
155728
155671
|
await registerLazy(ToolNames.EDIT, async () => {
|
|
155729
|
-
const { EditTool } = await import("./edit-
|
|
155672
|
+
const { EditTool } = await import("./edit-6MHKCJCM.js");
|
|
155730
155673
|
return new EditTool(this);
|
|
155731
155674
|
});
|
|
155732
155675
|
await registerLazy(ToolNames.NOTEBOOK_EDIT, async () => {
|
|
155733
|
-
const { NotebookEditTool } = await import("./notebook-edit-
|
|
155676
|
+
const { NotebookEditTool } = await import("./notebook-edit-MX366HCT.js");
|
|
155734
155677
|
return new NotebookEditTool(this);
|
|
155735
155678
|
});
|
|
155736
155679
|
await registerLazy(ToolNames.WRITE_FILE, async () => {
|
|
155737
|
-
const { WriteFileTool } = await import("./write-file-
|
|
155680
|
+
const { WriteFileTool } = await import("./write-file-M2DTFILF.js");
|
|
155738
155681
|
return new WriteFileTool(this);
|
|
155739
155682
|
});
|
|
155740
155683
|
await registerLazy(ToolNames.SHELL, async () => {
|
|
155741
|
-
const { ShellTool: ShellTool2 } = await import("./shell-
|
|
155684
|
+
const { ShellTool: ShellTool2 } = await import("./shell-FWXWBJ4Q.js");
|
|
155742
155685
|
return new ShellTool2(this);
|
|
155743
155686
|
});
|
|
155744
155687
|
await registerLazy(ToolNames.TODO_WRITE, async () => {
|
|
155745
|
-
const { TodoWriteTool } = await import("./todoWrite-
|
|
155688
|
+
const { TodoWriteTool } = await import("./todoWrite-OMAIGB6V.js");
|
|
155746
155689
|
return new TodoWriteTool(this);
|
|
155747
155690
|
});
|
|
155748
155691
|
await registerLazy(ToolNames.ASK_USER_QUESTION, async () => {
|
|
155749
|
-
const { AskUserQuestionTool } = await import("./askUserQuestion-
|
|
155692
|
+
const { AskUserQuestionTool } = await import("./askUserQuestion-IUMUUTDQ.js");
|
|
155750
155693
|
return new AskUserQuestionTool(this);
|
|
155751
155694
|
});
|
|
155752
155695
|
if (!this.sdkMode) {
|
|
155753
155696
|
await registerLazy(ToolNames.EXIT_PLAN_MODE, async () => {
|
|
155754
|
-
const { ExitPlanModeTool } = await import("./exitPlanMode-
|
|
155697
|
+
const { ExitPlanModeTool } = await import("./exitPlanMode-7MBNU76O.js");
|
|
155755
155698
|
return new ExitPlanModeTool(this);
|
|
155756
155699
|
});
|
|
155757
155700
|
await registerLazy(ToolNames.ENTER_PLAN_MODE, async () => {
|
|
155758
|
-
const { EnterPlanModeTool } = await import("./enterPlanMode-
|
|
155701
|
+
const { EnterPlanModeTool } = await import("./enterPlanMode-5XYAALIO.js");
|
|
155759
155702
|
return new EnterPlanModeTool(this);
|
|
155760
155703
|
});
|
|
155761
155704
|
}
|
|
155762
155705
|
await registerLazy(ToolNames.ENTER_WORKTREE, async () => {
|
|
155763
|
-
const { EnterWorktreeTool } = await import("./enter-worktree-
|
|
155706
|
+
const { EnterWorktreeTool } = await import("./enter-worktree-O7VJ2E7A.js");
|
|
155764
155707
|
return new EnterWorktreeTool(this);
|
|
155765
155708
|
});
|
|
155766
155709
|
await registerLazy(ToolNames.EXIT_WORKTREE, async () => {
|
|
155767
|
-
const { ExitWorktreeTool } = await import("./exit-worktree-
|
|
155710
|
+
const { ExitWorktreeTool } = await import("./exit-worktree-MYIK66T7.js");
|
|
155768
155711
|
return new ExitWorktreeTool(this);
|
|
155769
155712
|
});
|
|
155770
155713
|
await registerLazy(ToolNames.WEB_FETCH, async () => {
|
|
155771
|
-
const { WebFetchTool } = await import("./web-fetch-
|
|
155714
|
+
const { WebFetchTool } = await import("./web-fetch-BWGSD2BD.js");
|
|
155772
155715
|
return new WebFetchTool(this);
|
|
155773
155716
|
});
|
|
155717
|
+
if (this.webSearchSettings?.enabled) {
|
|
155718
|
+
const { evaluateWebSearchGate } = await import("./web-search-OOHTCVR3.js");
|
|
155719
|
+
const gate = evaluateWebSearchGate(this);
|
|
155720
|
+
if (gate.ok) {
|
|
155721
|
+
await registerLazy(ToolNames.WEB_SEARCH, async () => {
|
|
155722
|
+
const { WebSearchTool } = await import("./web-search-OOHTCVR3.js");
|
|
155723
|
+
return new WebSearchTool(this);
|
|
155724
|
+
});
|
|
155725
|
+
} else if (!this.webSearchNoticeEmitted && !options2?.forSubAgent) {
|
|
155726
|
+
this.webSearchNoticeEmitted = true;
|
|
155727
|
+
this.warnings.push(gate.notice);
|
|
155728
|
+
}
|
|
155729
|
+
}
|
|
155774
155730
|
if (this.isArtifactEnabled()) {
|
|
155775
155731
|
await registerLazy(ToolNames.ARTIFACT, async () => {
|
|
155776
|
-
const { ArtifactTool } = await import("./artifact-tool-
|
|
155732
|
+
const { ArtifactTool } = await import("./artifact-tool-IUJ7QWCX.js");
|
|
155777
155733
|
return new ArtifactTool(this);
|
|
155778
155734
|
});
|
|
155779
155735
|
}
|
|
155780
155736
|
if (this.isRecordArtifactEnabled()) {
|
|
155781
155737
|
await registerLazy(ToolNames.RECORD_ARTIFACT, async () => {
|
|
155782
|
-
const { RecordArtifactTool } = await import("./record-artifact-
|
|
155738
|
+
const { RecordArtifactTool } = await import("./record-artifact-HDMK4LHG.js");
|
|
155783
155739
|
return new RecordArtifactTool();
|
|
155784
155740
|
});
|
|
155785
155741
|
}
|
|
155786
155742
|
if (this.isLspEnabled() && this.getLspClient()) {
|
|
155787
155743
|
await registerLazy(ToolNames.LSP, async () => {
|
|
155788
|
-
const { LspTool } = await import("./lsp-
|
|
155744
|
+
const { LspTool } = await import("./lsp-4RL52YIZ.js");
|
|
155789
155745
|
return new LspTool(this);
|
|
155790
155746
|
});
|
|
155791
155747
|
}
|
|
155792
155748
|
await registerStructuredOutputIfRequested();
|
|
155793
155749
|
if (this.isCronEnabled()) {
|
|
155794
155750
|
await registerLazy(ToolNames.CRON_CREATE, async () => {
|
|
155795
|
-
const { CronCreateTool } = await import("./cron-create-
|
|
155751
|
+
const { CronCreateTool } = await import("./cron-create-AC5FFLN7.js");
|
|
155796
155752
|
return new CronCreateTool(this);
|
|
155797
155753
|
});
|
|
155798
155754
|
await registerLazy(ToolNames.CRON_LIST, async () => {
|
|
155799
|
-
const { CronListTool } = await import("./cron-list-
|
|
155755
|
+
const { CronListTool } = await import("./cron-list-NBYPCNIB.js");
|
|
155800
155756
|
return new CronListTool(this);
|
|
155801
155757
|
});
|
|
155802
155758
|
await registerLazy(ToolNames.CRON_DELETE, async () => {
|
|
155803
|
-
const { CronDeleteTool } = await import("./cron-delete-
|
|
155759
|
+
const { CronDeleteTool } = await import("./cron-delete-JEB3FAHA.js");
|
|
155804
155760
|
return new CronDeleteTool(this);
|
|
155805
155761
|
});
|
|
155806
155762
|
await registerLazy(ToolNames.LOOP_WAKEUP, async () => {
|
|
155807
|
-
const { LoopWakeupTool } = await import("./loop-wakeup-
|
|
155763
|
+
const { LoopWakeupTool } = await import("./loop-wakeup-HMHCT5GU.js");
|
|
155808
155764
|
return new LoopWakeupTool(this);
|
|
155809
155765
|
});
|
|
155810
155766
|
}
|
|
155811
155767
|
await registerLazy(ToolNames.CREATE_SUB_SESSION, async () => {
|
|
155812
|
-
const { CreateSubSessionTool } = await import("./create-sub-session-
|
|
155768
|
+
const { CreateSubSessionTool } = await import("./create-sub-session-X5RVIHCK.js");
|
|
155813
155769
|
return new CreateSubSessionTool(this);
|
|
155814
155770
|
});
|
|
155815
155771
|
if (this.isAgentTeamEnabled()) {
|
|
155816
155772
|
await registerLazy(ToolNames.TEAM_CREATE, async () => {
|
|
155817
|
-
const { TeamCreateTool } = await import("./team-create-
|
|
155773
|
+
const { TeamCreateTool } = await import("./team-create-ZZO7QFQ7.js");
|
|
155818
155774
|
return new TeamCreateTool(this);
|
|
155819
155775
|
});
|
|
155820
155776
|
await registerLazy(ToolNames.TEAM_DELETE, async () => {
|
|
155821
|
-
const { TeamDeleteTool } = await import("./team-delete-
|
|
155777
|
+
const { TeamDeleteTool } = await import("./team-delete-TNSSE2S5.js");
|
|
155822
155778
|
return new TeamDeleteTool(this);
|
|
155823
155779
|
});
|
|
155824
155780
|
await registerLazy(ToolNames.TEAM_PLAN_APPROVAL, async () => {
|
|
155825
|
-
const { TeamPlanApprovalTool } = await import("./team-plan-approval-
|
|
155781
|
+
const { TeamPlanApprovalTool } = await import("./team-plan-approval-3BZBJ46K.js");
|
|
155826
155782
|
return new TeamPlanApprovalTool(this);
|
|
155827
155783
|
});
|
|
155828
155784
|
await registerLazy(ToolNames.TASK_CREATE, async () => {
|
|
155829
|
-
const { TaskCreateTool } = await import("./task-create-
|
|
155785
|
+
const { TaskCreateTool } = await import("./task-create-RIY5JTFC.js");
|
|
155830
155786
|
return new TaskCreateTool(this);
|
|
155831
155787
|
});
|
|
155832
155788
|
await registerLazy(ToolNames.TASK_UPDATE, async () => {
|
|
155833
|
-
const { TaskUpdateTool } = await import("./task-update-
|
|
155789
|
+
const { TaskUpdateTool } = await import("./task-update-7PXKJQOI.js");
|
|
155834
155790
|
return new TaskUpdateTool(this);
|
|
155835
155791
|
});
|
|
155836
155792
|
await registerLazy(ToolNames.TASK_LIST, async () => {
|
|
155837
|
-
const { TaskListTool } = await import("./task-list-
|
|
155793
|
+
const { TaskListTool } = await import("./task-list-XBUCV3CO.js");
|
|
155838
155794
|
return new TaskListTool(this);
|
|
155839
155795
|
});
|
|
155840
155796
|
}
|
|
155841
155797
|
if (this.isWorkflowsEnabled()) {
|
|
155842
155798
|
await registerLazy(ToolNames.WORKFLOW, async () => {
|
|
155843
|
-
const { WorkflowTool } = await import("./workflow-
|
|
155799
|
+
const { WorkflowTool } = await import("./workflow-LJAJBOR4.js");
|
|
155844
155800
|
return new WorkflowTool(this);
|
|
155845
155801
|
});
|
|
155846
155802
|
}
|
|
155847
155803
|
if (this.isComputerUseEnabled()) {
|
|
155848
|
-
const { registerComputerUseTools } = await import("./computer-use-
|
|
155804
|
+
const { registerComputerUseTools } = await import("./computer-use-R7KA6UJ6.js");
|
|
155849
155805
|
await registerComputerUseTools(registerLazy, this);
|
|
155850
155806
|
}
|
|
155851
155807
|
await registerLazy(ToolNames.MONITOR, async () => {
|
|
155852
|
-
const { MonitorTool } = await import("./monitor-
|
|
155808
|
+
const { MonitorTool } = await import("./monitor-3CJDNZB2.js");
|
|
155853
155809
|
return new MonitorTool(this);
|
|
155854
155810
|
});
|
|
155855
155811
|
if (this.pendingMcpBudgetCallback) {
|
|
@@ -159453,10 +159409,6 @@ export {
|
|
|
159453
159409
|
isSuccessStatus,
|
|
159454
159410
|
isSettledStatus,
|
|
159455
159411
|
ArenaAgentClient,
|
|
159456
|
-
RUNTIME_SNAPSHOT_PREFIX,
|
|
159457
|
-
stripRuntimeSnapshotPrefix,
|
|
159458
|
-
resolveModelId,
|
|
159459
|
-
buildModelIdContext,
|
|
159460
159412
|
partToString,
|
|
159461
159413
|
getResponseText,
|
|
159462
159414
|
flatMapTextParts,
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
} from "./chunk-E5Z2AVNV.js";
|
|
6
6
|
import {
|
|
7
7
|
getCliVersion
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IUSNI6IX.js";
|
|
9
9
|
import {
|
|
10
10
|
IdeClient
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6OH6A5EX.js";
|
|
12
12
|
import {
|
|
13
13
|
createDebugLogger
|
|
14
14
|
} from "./chunk-C27BYUX6.js";
|
|
@@ -27,7 +27,7 @@ import { execFile } from "node:child_process";
|
|
|
27
27
|
|
|
28
28
|
// packages/cli/src/generated/git-commit.ts
|
|
29
29
|
init_esbuild_shims();
|
|
30
|
-
var GIT_COMMIT_INFO = "
|
|
30
|
+
var GIT_COMMIT_INFO = "6ecc36f30";
|
|
31
31
|
|
|
32
32
|
// packages/cli/src/utils/systemInfo.ts
|
|
33
33
|
var debugLogger = createDebugLogger("STATUS");
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
functionResponsePartsToString
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VFAE4AGH.js";
|
|
6
6
|
import {
|
|
7
7
|
parseAndFormatApiError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6OH6A5EX.js";
|
|
9
9
|
import {
|
|
10
10
|
formatVisionBridgeNoticeDisplay,
|
|
11
11
|
isVisionBridgeNoticeDisplay
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ONWW74X6.js";
|
|
13
13
|
import {
|
|
14
14
|
init_esbuild_shims
|
|
15
15
|
} from "./chunk-5O2XNYP6.js";
|