@qwen-code/qwen-code 0.18.5 → 0.19.1-nightly.20260624.a234860a4
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/bundled/qc-helper/SKILL.md +13 -5
- package/bundled/qc-helper/docs/configuration/_meta.ts +1 -0
- package/bundled/qc-helper/docs/configuration/auth.md +68 -48
- package/bundled/qc-helper/docs/configuration/model-providers.md +217 -195
- package/bundled/qc-helper/docs/configuration/qwen-ignore.md +31 -15
- package/bundled/qc-helper/docs/configuration/settings.md +44 -27
- package/bundled/qc-helper/docs/configuration/themes.md +7 -4
- package/bundled/qc-helper/docs/extension/extension-releasing.md +1 -1
- package/bundled/qc-helper/docs/extension/introduction.md +27 -21
- package/bundled/qc-helper/docs/features/arena.md +3 -3
- package/bundled/qc-helper/docs/features/channels/overview.md +1 -1
- package/bundled/qc-helper/docs/features/channels/plugins.md +1 -1
- package/bundled/qc-helper/docs/features/commands.md +6 -1
- package/bundled/qc-helper/docs/features/headless.md +1 -1
- package/bundled/qc-helper/docs/features/mcp.md +33 -14
- package/bundled/qc-helper/docs/features/sandbox.md +2 -2
- package/bundled/qc-helper/docs/features/tool-use-summaries.md +1 -1
- package/bundled/qc-helper/docs/integration-github-action.md +2 -2
- package/bundled/qc-helper/docs/overview.md +1 -1
- package/bundled/qc-helper/docs/quickstart.md +9 -5
- package/bundled/qc-helper/docs/qwen-serve.md +14 -2
- package/bundled/qc-helper/docs/support/tos-privacy.md +1 -1
- package/chunks/{agent-2TEY55UD.js → agent-6KV474S5.js} +24 -22
- package/chunks/{agent-headless-SCUAXEEE.js → agent-headless-XO7MM6JT.js} +24 -22
- package/chunks/{anthropicContentGenerator-5S4OMMNL.js → anthropicContentGenerator-7352A7I5.js} +12 -11
- package/chunks/artifact-tool-5J4HUZAV.js +675 -0
- package/chunks/{askUserQuestion-WHVYL2S2.js → askUserQuestion-HF7HCWDD.js} +20 -7
- package/chunks/chunk-22IFUCVR.js +291 -0
- package/chunks/{chunk-26ZYKTYZ.js → chunk-2BIF2NVV.js} +2 -2
- package/chunks/{chunk-VKILGMZQ.js → chunk-2QDQTWCI.js} +1 -1
- package/chunks/{chunk-XGU3ETVO.js → chunk-3BR4OIOE.js} +3 -3
- package/chunks/{chunk-LTN3VYMZ.js → chunk-3UALQ56H.js} +1 -1
- package/chunks/{chunk-F5E6IKYN.js → chunk-54J4JDWT.js} +619 -135
- package/chunks/{chunk-KZGQ3G3Q.js → chunk-76BDT2HH.js} +80 -83
- package/chunks/{chunk-VECKCOH6.js → chunk-7QBKO4A6.js} +7118 -5113
- package/chunks/{chunk-MSJ2MXJ6.js → chunk-BGUDAULQ.js} +11 -290
- package/chunks/{chunk-FH4P6RQA.js → chunk-BNXANYLH.js} +1 -1
- package/chunks/{chunk-SIJKWK35.js → chunk-C4JC2FL3.js} +8 -7
- package/chunks/{chunk-WE6TNQJU.js → chunk-C4K3FEQ2.js} +36 -0
- package/chunks/{chunk-G4BUMVEY.js → chunk-CGEGHF2C.js} +2 -217
- package/chunks/chunk-EEEZIVFJ.js +908 -0
- package/chunks/chunk-EJYJYJZ2.js +3703 -0
- package/chunks/{chunk-ATLUHLZE.js → chunk-EW6C27XX.js} +1 -1
- package/chunks/{chunk-42HGOMED.js → chunk-F6XNTYNE.js} +216 -1
- package/chunks/{chunk-C6MI2ASN.js → chunk-GZCJS5WH.js} +2 -2
- package/chunks/{chunk-KGV3F6UF.js → chunk-HGNSRCRB.js} +1 -1
- package/chunks/{chunk-2CNO5W47.js → chunk-HNYTRFAM.js} +171 -5016
- package/chunks/{chunk-CX3SGIPK.js → chunk-KBXLIVWQ.js} +2 -2
- package/chunks/{chunk-GOMVJKBL.js → chunk-L7U2RI5O.js} +59 -57
- package/chunks/{chunk-GBN55AWZ.js → chunk-NKJ6LRCR.js} +2 -2
- package/chunks/{chunk-2O3NAOJG.js → chunk-NWLUISRA.js} +1 -1
- package/chunks/{chunk-ID533GA3.js → chunk-OTBK43JR.js} +1 -1
- package/chunks/{chunk-AE6RQU6F.js → chunk-PRYMDRBV.js} +1 -1
- package/chunks/{chunk-KQIKOTQJ.js → chunk-RYLJU2DY.js} +60 -5
- package/chunks/{chunk-CTHZVIMD.js → chunk-T2VDEFUU.js} +2 -2
- package/chunks/{chunk-C7JA3XCX.js → chunk-TKXRLRTF.js} +5 -5
- package/chunks/{chunk-LF6BKGZT.js → chunk-TXVGVZYR.js} +3 -3
- package/chunks/{chunk-XU7BKR3B.js → chunk-XU5P23GN.js} +3 -3
- package/chunks/{computer-use-OB3C5QG2.js → computer-use-WOKHYISX.js} +24 -22
- package/chunks/contextCommand-JSYQAO3O.js +56 -0
- package/chunks/{cron-create-THNDTYXU.js → cron-create-A5637KCI.js} +12 -9
- package/chunks/{cron-delete-BS5H6TFJ.js → cron-delete-AADOSEOZ.js} +4 -4
- package/chunks/{cron-list-7OBVHT7K.js → cron-list-OFCPTT2Y.js} +4 -4
- package/chunks/{dist-GKRNVFBH.js → dist-ZBX7LPJZ.js} +2 -1
- package/chunks/{edit-GNCLIF67.js → edit-6EN6NO6G.js} +24 -22
- package/chunks/{en-S3OQBISC.js → en-7OGNWWME.js} +48 -0
- package/chunks/{enter-worktree-E7BNZOGT.js → enter-worktree-XJ4S74CL.js} +24 -22
- package/chunks/{enterPlanMode-IA42A5EU.js → enterPlanMode-GQNQIH2V.js} +27 -23
- package/chunks/{exit-worktree-QJ2K74UT.js → exit-worktree-6MKLATVB.js} +24 -22
- package/chunks/{exitPlanMode-UKKHBUYJ.js → exitPlanMode-YACWA5GO.js} +36 -28
- package/chunks/{geminiContentGenerator-ICSDM37U.js → geminiContentGenerator-OLJGOIWO.js} +4 -4
- package/chunks/{glob-IGD7LWYX.js → glob-YHSIN2LG.js} +26 -23
- package/chunks/{grep-IZM3IVND.js → grep-5EMEAJBO.js} +24 -22
- package/chunks/{keychain-token-storage-YHXIWXIB.js → keychain-token-storage-CSYMNRPP.js} +2 -2
- package/chunks/{loop-wakeup-SSBWZ64K.js → loop-wakeup-DGSMT4N6.js} +5 -5
- package/chunks/{ls-YPFUHZRQ.js → ls-UGRZ4ZOM.js} +6 -6
- package/chunks/{lsp-FD6DNVAF.js → lsp-72IJURW3.js} +2 -2
- package/chunks/{monitor-ALJNE3R4.js → monitor-ZGXTGINM.js} +24 -22
- package/chunks/{notebook-edit-7XRZX55T.js → notebook-edit-O7WO3APR.js} +25 -23
- package/chunks/{openaiContentGenerator-FWKITDFJ.js → openaiContentGenerator-N4FCEGU2.js} +12 -15
- package/chunks/{qwenContentGenerator-5RPGQZ63.js → qwenContentGenerator-BOAZ7MMG.js} +26 -24
- package/chunks/{qwenOAuth2-WZ54YZ4J.js → qwenOAuth2-K4AASPCV.js} +5 -4
- package/chunks/{read-file-4WN2DT5N.js → read-file-RB35MI5I.js} +9 -8
- package/chunks/{ripGrep-4ZKT6KBQ.js → ripGrep-CWJOA6JG.js} +24 -22
- package/chunks/{scheduler-O2E65VDK.js → scheduler-XUBHNI2Z.js} +73 -27
- package/chunks/{send-message-FWFTX62Q.js → send-message-URUZ7PLA.js} +24 -4
- package/chunks/{serve-3DM6CRGD.js → serve-P356SCA2.js} +618 -92
- package/chunks/{shell-ARVZK6RF.js → shell-5TRHTPML.js} +24 -22
- package/chunks/{skill-BFUBGA4I.js → skill-RW6N7GHL.js} +11 -10
- package/chunks/{src-5YMCDSII.js → src-SPEHQKTK.js} +140 -67
- package/chunks/{syntheticOutput-JY5NEDTV.js → syntheticOutput-65FRJGWM.js} +3 -3
- package/chunks/{task-create-IGILDV25.js → task-create-IH45HOFT.js} +6 -6
- package/chunks/{task-list-KBEJVAAG.js → task-list-FUB6JWSX.js} +5 -5
- package/chunks/{task-stop-WFTMQ6AC.js → task-stop-P6IOHQM3.js} +2 -2
- package/chunks/{task-update-UIVX7ZEV.js → task-update-RTUT7LJV.js} +6 -6
- package/chunks/{team-create-HRBV5ATK.js → team-create-D6GSPXCO.js} +28 -26
- package/chunks/{team-delete-LPOXDPVB.js → team-delete-RXGYRMHC.js} +5 -5
- package/chunks/{todoWrite-R4RIJKOD.js → todoWrite-O6JK24G6.js} +4 -4
- package/chunks/{tool-search-67HI54YA.js → tool-search-6YIMUUVD.js} +9 -8
- package/chunks/{web-fetch-JU7SS6KE.js → web-fetch-KUMBROUI.js} +4 -4
- package/chunks/{workflow-W4SCLWLU.js → workflow-ML3XFTCN.js} +557 -97
- package/chunks/{write-file-TLNXC2NR.js → write-file-VLT6ODLK.js} +24 -22
- package/chunks/{zh-QXLZV2PX.js → zh-3RMSEO5M.js} +48 -0
- package/chunks/{zh-TW-3OKU7LDA.js → zh-TW-R7WRLTJS.js} +48 -0
- package/cli.js +8559 -5100
- package/locales/en.js +69 -0
- package/locales/zh-TW.js +66 -0
- package/locales/zh.js +66 -0
- package/package.json +3 -2
- package/web-shell/assets/{arc-CRFN10gD.js → arc-DHUeMnnj.js} +1 -1
- package/web-shell/assets/{architectureDiagram-3BPJPVTR-IRlu1CpH.js → architectureDiagram-3BPJPVTR-DlX12yyj.js} +1 -1
- package/web-shell/assets/{blockDiagram-GPEHLZMM-htIZ6iw8.js → blockDiagram-GPEHLZMM-DTFUXMUT.js} +1 -1
- package/web-shell/assets/{c4Diagram-AAUBKEIU-A2GoRq3O.js → c4Diagram-AAUBKEIU-CWdB54fk.js} +1 -1
- package/web-shell/assets/channel-C3WhMjjP.js +1 -0
- package/web-shell/assets/{chunk-2J33WTMH-CdP2AC6u.js → chunk-2J33WTMH-CF5C5jNR.js} +1 -1
- package/web-shell/assets/{chunk-4BX2VUAB-DrA07nW2.js → chunk-4BX2VUAB-Cw7Ydfji.js} +1 -1
- package/web-shell/assets/{chunk-55IACEB6-CFGnVU2f.js → chunk-55IACEB6-CnbI1ZCw.js} +1 -1
- package/web-shell/assets/{chunk-727SXJPM-BTMkq3Tk.js → chunk-727SXJPM-DmSy00Pe.js} +1 -1
- package/web-shell/assets/{chunk-AQP2D5EJ-C9sYg04Z.js → chunk-AQP2D5EJ-DgNgXqBu.js} +1 -1
- package/web-shell/assets/{chunk-FMBD7UC4-Cag-cj6I.js → chunk-FMBD7UC4-tz2IvOXv.js} +1 -1
- package/web-shell/assets/{chunk-ND2GUHAM-CDSTFoR7.js → chunk-ND2GUHAM-DaBLEBPa.js} +1 -1
- package/web-shell/assets/{chunk-QZHKN3VN-CN9Z6oOs.js → chunk-QZHKN3VN-DVCQST3O.js} +1 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CQ6TXPif.js +1 -0
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CQ6TXPif.js +1 -0
- package/web-shell/assets/{cose-bilkent-S5V4N54A-DuN9j8Du.js → cose-bilkent-S5V4N54A-CAKTcdCQ.js} +1 -1
- package/web-shell/assets/{dagre-BM42HDAG-ByCWe45f.js → dagre-BM42HDAG-BdkBwlKg.js} +1 -1
- package/web-shell/assets/{diagram-2AECGRRQ-eWyU_pKZ.js → diagram-2AECGRRQ-DYt3G65F.js} +1 -1
- package/web-shell/assets/{diagram-5GNKFQAL-0Bfu3Fq5.js → diagram-5GNKFQAL-BWvROWjY.js} +1 -1
- package/web-shell/assets/{diagram-KO2AKTUF-B6KBKkQP.js → diagram-KO2AKTUF-BvvgwIaQ.js} +1 -1
- package/web-shell/assets/{diagram-LMA3HP47-TToDmeA_.js → diagram-LMA3HP47-E7NLSNKg.js} +1 -1
- package/web-shell/assets/{diagram-OG6HWLK6-CQCkC2Yx.js → diagram-OG6HWLK6-CYmUBgpE.js} +1 -1
- package/web-shell/assets/{erDiagram-TEJ5UH35-Cm9ls1iB.js → erDiagram-TEJ5UH35-BU5gY30h.js} +1 -1
- package/web-shell/assets/{flowDiagram-I6XJVG4X-Dyoz80Pv.js → flowDiagram-I6XJVG4X-V_ZssSZ9.js} +1 -1
- package/web-shell/assets/{ganttDiagram-6RSMTGT7-Cfut9yaU.js → ganttDiagram-6RSMTGT7-QIShlsdI.js} +1 -1
- package/web-shell/assets/{gitGraphDiagram-PVQCEYII-BCuJdlfD.js → gitGraphDiagram-PVQCEYII-DJxdu2YS.js} +1 -1
- package/web-shell/assets/index-BPnhI7gl.css +1 -0
- package/web-shell/assets/index-De4rqTsW.js +706 -0
- package/web-shell/assets/{infoDiagram-5YYISTIA-CXKxF2VL.js → infoDiagram-5YYISTIA-BqjdrFeO.js} +1 -1
- package/web-shell/assets/{ishikawaDiagram-YF4QCWOH-DE7HWSU8.js → ishikawaDiagram-YF4QCWOH-BP_a2YZ2.js} +1 -1
- package/web-shell/assets/{journeyDiagram-JHISSGLW-D__YUfds.js → journeyDiagram-JHISSGLW-BXg-S3Lk.js} +1 -1
- package/web-shell/assets/{kanban-definition-UN3LZRKU-D82R169M.js → kanban-definition-UN3LZRKU-BksAkdEJ.js} +1 -1
- package/web-shell/assets/{linear-DpyMbKqT.js → linear-D2m9-ODE.js} +1 -1
- package/web-shell/assets/{mermaid.core-D1KEFDhn.js → mermaid.core-dTtkZp2F.js} +5 -5
- package/web-shell/assets/{mindmap-definition-RKZ34NQL-BwVUFGFE.js → mindmap-definition-RKZ34NQL-Bft9my8O.js} +1 -1
- package/web-shell/assets/{pieDiagram-4H26LBE5-BO_qoEGx.js → pieDiagram-4H26LBE5-Cw8S-alZ.js} +1 -1
- package/web-shell/assets/{quadrantDiagram-W4KKPZXB-Cx0ZaWPo.js → quadrantDiagram-W4KKPZXB-DaDoTMts.js} +1 -1
- package/web-shell/assets/{requirementDiagram-4Y6WPE33-BJPXejOA.js → requirementDiagram-4Y6WPE33-Cp5kSpwj.js} +1 -1
- package/web-shell/assets/{sankeyDiagram-5OEKKPKP-C1xeIL9i.js → sankeyDiagram-5OEKKPKP-CW8RsJJZ.js} +1 -1
- package/web-shell/assets/{sequenceDiagram-3UESZ5HK-CSYKQUjf.js → sequenceDiagram-3UESZ5HK-DTfpIiJK.js} +1 -1
- package/web-shell/assets/{stateDiagram-AJRCARHV-d9hiHlAW.js → stateDiagram-AJRCARHV-DixFVzEs.js} +1 -1
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DZgE04s3.js +1 -0
- package/web-shell/assets/{timeline-definition-PNZ67QCA-BhCBkq8k.js → timeline-definition-PNZ67QCA-DYsbXn5l.js} +1 -1
- package/web-shell/assets/{vennDiagram-CIIHVFJN-DPPFWp_y.js → vennDiagram-CIIHVFJN-HUpRpuUp.js} +1 -1
- package/web-shell/assets/{wardley-L42UT6IY-CcOUIgXY.js → wardley-L42UT6IY-cT3nQH_T.js} +1 -1
- package/web-shell/assets/{wardleyDiagram-YWT4CUSO-p7oR5X7r.js → wardleyDiagram-YWT4CUSO-Dmm7J6Qc.js} +1 -1
- package/web-shell/assets/{xychartDiagram-2RQKCTM6-Dfr7-SEy.js → xychartDiagram-2RQKCTM6-CX0L5p9C.js} +1 -1
- package/web-shell/index.html +3 -3
- package/chunks/chunk-77WXWU44.js +0 -26
- package/chunks/contextCommand-3327KUC4.js +0 -54
- package/web-shell/assets/channel-WwImfsc7.js +0 -1
- package/web-shell/assets/classDiagram-4FO5ZUOK-CJKQYFeJ.js +0 -1
- package/web-shell/assets/classDiagram-v2-Q7XG4LA2-CJKQYFeJ.js +0 -1
- package/web-shell/assets/index-BDZiTAkl.css +0 -1
- package/web-shell/assets/index-DaebdpHq.js +0 -516
- package/web-shell/assets/stateDiagram-v2-BHNVJYJU-DgReoybQ.js +0 -1
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import {
|
|
4
4
|
TextTokenizer,
|
|
5
5
|
isSupportedImageMimeType
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-F6XNTYNE.js";
|
|
7
7
|
import {
|
|
8
8
|
createDebugLogger
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-C4K3FEQ2.js";
|
|
10
10
|
import {
|
|
11
11
|
init_esbuild_shims
|
|
12
12
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
createDebugLogger
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-C4K3FEQ2.js";
|
|
6
6
|
import {
|
|
7
7
|
init_esbuild_shims
|
|
8
8
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -14127,59 +14127,6 @@ var require_dist = __commonJS({
|
|
|
14127
14127
|
}
|
|
14128
14128
|
});
|
|
14129
14129
|
|
|
14130
|
-
// packages/core/src/tools/tool-error.ts
|
|
14131
|
-
init_esbuild_shims();
|
|
14132
|
-
var ToolErrorType = /* @__PURE__ */ ((ToolErrorType2) => {
|
|
14133
|
-
ToolErrorType2["INVALID_TOOL_PARAMS"] = "invalid_tool_params";
|
|
14134
|
-
ToolErrorType2["UNKNOWN"] = "unknown";
|
|
14135
|
-
ToolErrorType2["UNHANDLED_EXCEPTION"] = "unhandled_exception";
|
|
14136
|
-
ToolErrorType2["TOOL_NOT_REGISTERED"] = "tool_not_registered";
|
|
14137
|
-
ToolErrorType2["EXECUTION_FAILED"] = "execution_failed";
|
|
14138
|
-
ToolErrorType2["EXECUTION_DENIED"] = "execution_denied";
|
|
14139
|
-
ToolErrorType2["FILE_NOT_FOUND"] = "file_not_found";
|
|
14140
|
-
ToolErrorType2["FILE_WRITE_FAILURE"] = "file_write_failure";
|
|
14141
|
-
ToolErrorType2["READ_CONTENT_FAILURE"] = "read_content_failure";
|
|
14142
|
-
ToolErrorType2["ATTEMPT_TO_CREATE_EXISTING_FILE"] = "attempt_to_create_existing_file";
|
|
14143
|
-
ToolErrorType2["FILE_TOO_LARGE"] = "file_too_large";
|
|
14144
|
-
ToolErrorType2["PERMISSION_DENIED"] = "permission_denied";
|
|
14145
|
-
ToolErrorType2["NO_SPACE_LEFT"] = "no_space_left";
|
|
14146
|
-
ToolErrorType2["TARGET_IS_DIRECTORY"] = "target_is_directory";
|
|
14147
|
-
ToolErrorType2["PATH_NOT_IN_WORKSPACE"] = "path_not_in_workspace";
|
|
14148
|
-
ToolErrorType2["SEARCH_PATH_NOT_FOUND"] = "search_path_not_found";
|
|
14149
|
-
ToolErrorType2["SEARCH_PATH_NOT_A_DIRECTORY"] = "search_path_not_a_directory";
|
|
14150
|
-
ToolErrorType2["EDIT_PREPARATION_FAILURE"] = "edit_preparation_failure";
|
|
14151
|
-
ToolErrorType2["EDIT_NO_OCCURRENCE_FOUND"] = "edit_no_occurrence_found";
|
|
14152
|
-
ToolErrorType2["EDIT_EXPECTED_OCCURRENCE_MISMATCH"] = "edit_expected_occurrence_mismatch";
|
|
14153
|
-
ToolErrorType2["EDIT_NO_CHANGE"] = "edit_no_change";
|
|
14154
|
-
ToolErrorType2["EDIT_NO_CHANGE_LLM_JUDGEMENT"] = "edit_no_change_llm_judgement";
|
|
14155
|
-
ToolErrorType2["EDIT_REQUIRES_PRIOR_READ"] = "edit_requires_prior_read";
|
|
14156
|
-
ToolErrorType2["FILE_CHANGED_SINCE_READ"] = "file_changed_since_read";
|
|
14157
|
-
ToolErrorType2["PRIOR_READ_VERIFICATION_FAILED"] = "prior_read_verification_failed";
|
|
14158
|
-
ToolErrorType2["TARGET_NOT_REGULAR_FILE"] = "target_not_regular_file";
|
|
14159
|
-
ToolErrorType2["NOTEBOOK_EDIT_FAILURE"] = "notebook_edit_failure";
|
|
14160
|
-
ToolErrorType2["NOTEBOOK_INVALID_JSON"] = "notebook_invalid_json";
|
|
14161
|
-
ToolErrorType2["NOTEBOOK_CELL_NOT_FOUND"] = "notebook_cell_not_found";
|
|
14162
|
-
ToolErrorType2["GLOB_EXECUTION_ERROR"] = "glob_execution_error";
|
|
14163
|
-
ToolErrorType2["GREP_EXECUTION_ERROR"] = "grep_execution_error";
|
|
14164
|
-
ToolErrorType2["LS_EXECUTION_ERROR"] = "ls_execution_error";
|
|
14165
|
-
ToolErrorType2["PATH_IS_NOT_A_DIRECTORY"] = "path_is_not_a_directory";
|
|
14166
|
-
ToolErrorType2["MCP_TOOL_ERROR"] = "mcp_tool_error";
|
|
14167
|
-
ToolErrorType2["MEMORY_TOOL_EXECUTION_ERROR"] = "memory_tool_execution_error";
|
|
14168
|
-
ToolErrorType2["SHELL_EXECUTE_ERROR"] = "shell_execute_error";
|
|
14169
|
-
ToolErrorType2["DISCOVERED_TOOL_EXECUTION_ERROR"] = "discovered_tool_execution_error";
|
|
14170
|
-
ToolErrorType2["WEB_FETCH_NO_URL_IN_PROMPT"] = "web_fetch_no_url_in_prompt";
|
|
14171
|
-
ToolErrorType2["WEB_FETCH_FALLBACK_FAILED"] = "web_fetch_fallback_failed";
|
|
14172
|
-
ToolErrorType2["WEB_FETCH_PROCESSING_ERROR"] = "web_fetch_processing_error";
|
|
14173
|
-
ToolErrorType2["OUTPUT_TRUNCATED"] = "output_truncated";
|
|
14174
|
-
ToolErrorType2["TASK_STOP_NOT_FOUND"] = "task_stop_not_found";
|
|
14175
|
-
ToolErrorType2["TASK_STOP_NOT_RUNNING"] = "task_stop_not_running";
|
|
14176
|
-
ToolErrorType2["TASK_STOP_NOT_CANCELLABLE"] = "task_stop_not_cancellable";
|
|
14177
|
-
ToolErrorType2["TASK_STOP_INTERNAL_ERROR"] = "task_stop_internal_error";
|
|
14178
|
-
ToolErrorType2["SEND_MESSAGE_NOT_FOUND"] = "send_message_not_found";
|
|
14179
|
-
ToolErrorType2["SEND_MESSAGE_NOT_RUNNING"] = "send_message_not_running";
|
|
14180
|
-
return ToolErrorType2;
|
|
14181
|
-
})(ToolErrorType || {});
|
|
14182
|
-
|
|
14183
14130
|
// packages/core/src/utils/schemaValidator.ts
|
|
14184
14131
|
init_esbuild_shims();
|
|
14185
14132
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
@@ -14924,6 +14871,59 @@ function fixStringValues(data, schema, rootSchema, depth = 0) {
|
|
|
14924
14871
|
}
|
|
14925
14872
|
__name(fixStringValues, "fixStringValues");
|
|
14926
14873
|
|
|
14874
|
+
// packages/core/src/tools/tool-error.ts
|
|
14875
|
+
init_esbuild_shims();
|
|
14876
|
+
var ToolErrorType = /* @__PURE__ */ ((ToolErrorType2) => {
|
|
14877
|
+
ToolErrorType2["INVALID_TOOL_PARAMS"] = "invalid_tool_params";
|
|
14878
|
+
ToolErrorType2["UNKNOWN"] = "unknown";
|
|
14879
|
+
ToolErrorType2["UNHANDLED_EXCEPTION"] = "unhandled_exception";
|
|
14880
|
+
ToolErrorType2["TOOL_NOT_REGISTERED"] = "tool_not_registered";
|
|
14881
|
+
ToolErrorType2["EXECUTION_FAILED"] = "execution_failed";
|
|
14882
|
+
ToolErrorType2["EXECUTION_DENIED"] = "execution_denied";
|
|
14883
|
+
ToolErrorType2["FILE_NOT_FOUND"] = "file_not_found";
|
|
14884
|
+
ToolErrorType2["FILE_WRITE_FAILURE"] = "file_write_failure";
|
|
14885
|
+
ToolErrorType2["READ_CONTENT_FAILURE"] = "read_content_failure";
|
|
14886
|
+
ToolErrorType2["ATTEMPT_TO_CREATE_EXISTING_FILE"] = "attempt_to_create_existing_file";
|
|
14887
|
+
ToolErrorType2["FILE_TOO_LARGE"] = "file_too_large";
|
|
14888
|
+
ToolErrorType2["PERMISSION_DENIED"] = "permission_denied";
|
|
14889
|
+
ToolErrorType2["NO_SPACE_LEFT"] = "no_space_left";
|
|
14890
|
+
ToolErrorType2["TARGET_IS_DIRECTORY"] = "target_is_directory";
|
|
14891
|
+
ToolErrorType2["PATH_NOT_IN_WORKSPACE"] = "path_not_in_workspace";
|
|
14892
|
+
ToolErrorType2["SEARCH_PATH_NOT_FOUND"] = "search_path_not_found";
|
|
14893
|
+
ToolErrorType2["SEARCH_PATH_NOT_A_DIRECTORY"] = "search_path_not_a_directory";
|
|
14894
|
+
ToolErrorType2["EDIT_PREPARATION_FAILURE"] = "edit_preparation_failure";
|
|
14895
|
+
ToolErrorType2["EDIT_NO_OCCURRENCE_FOUND"] = "edit_no_occurrence_found";
|
|
14896
|
+
ToolErrorType2["EDIT_EXPECTED_OCCURRENCE_MISMATCH"] = "edit_expected_occurrence_mismatch";
|
|
14897
|
+
ToolErrorType2["EDIT_NO_CHANGE"] = "edit_no_change";
|
|
14898
|
+
ToolErrorType2["EDIT_NO_CHANGE_LLM_JUDGEMENT"] = "edit_no_change_llm_judgement";
|
|
14899
|
+
ToolErrorType2["EDIT_REQUIRES_PRIOR_READ"] = "edit_requires_prior_read";
|
|
14900
|
+
ToolErrorType2["FILE_CHANGED_SINCE_READ"] = "file_changed_since_read";
|
|
14901
|
+
ToolErrorType2["PRIOR_READ_VERIFICATION_FAILED"] = "prior_read_verification_failed";
|
|
14902
|
+
ToolErrorType2["TARGET_NOT_REGULAR_FILE"] = "target_not_regular_file";
|
|
14903
|
+
ToolErrorType2["NOTEBOOK_EDIT_FAILURE"] = "notebook_edit_failure";
|
|
14904
|
+
ToolErrorType2["NOTEBOOK_INVALID_JSON"] = "notebook_invalid_json";
|
|
14905
|
+
ToolErrorType2["NOTEBOOK_CELL_NOT_FOUND"] = "notebook_cell_not_found";
|
|
14906
|
+
ToolErrorType2["GLOB_EXECUTION_ERROR"] = "glob_execution_error";
|
|
14907
|
+
ToolErrorType2["GREP_EXECUTION_ERROR"] = "grep_execution_error";
|
|
14908
|
+
ToolErrorType2["LS_EXECUTION_ERROR"] = "ls_execution_error";
|
|
14909
|
+
ToolErrorType2["PATH_IS_NOT_A_DIRECTORY"] = "path_is_not_a_directory";
|
|
14910
|
+
ToolErrorType2["MCP_TOOL_ERROR"] = "mcp_tool_error";
|
|
14911
|
+
ToolErrorType2["MEMORY_TOOL_EXECUTION_ERROR"] = "memory_tool_execution_error";
|
|
14912
|
+
ToolErrorType2["SHELL_EXECUTE_ERROR"] = "shell_execute_error";
|
|
14913
|
+
ToolErrorType2["DISCOVERED_TOOL_EXECUTION_ERROR"] = "discovered_tool_execution_error";
|
|
14914
|
+
ToolErrorType2["WEB_FETCH_NO_URL_IN_PROMPT"] = "web_fetch_no_url_in_prompt";
|
|
14915
|
+
ToolErrorType2["WEB_FETCH_FALLBACK_FAILED"] = "web_fetch_fallback_failed";
|
|
14916
|
+
ToolErrorType2["WEB_FETCH_PROCESSING_ERROR"] = "web_fetch_processing_error";
|
|
14917
|
+
ToolErrorType2["OUTPUT_TRUNCATED"] = "output_truncated";
|
|
14918
|
+
ToolErrorType2["TASK_STOP_NOT_FOUND"] = "task_stop_not_found";
|
|
14919
|
+
ToolErrorType2["TASK_STOP_NOT_RUNNING"] = "task_stop_not_running";
|
|
14920
|
+
ToolErrorType2["TASK_STOP_NOT_CANCELLABLE"] = "task_stop_not_cancellable";
|
|
14921
|
+
ToolErrorType2["TASK_STOP_INTERNAL_ERROR"] = "task_stop_internal_error";
|
|
14922
|
+
ToolErrorType2["SEND_MESSAGE_NOT_FOUND"] = "send_message_not_found";
|
|
14923
|
+
ToolErrorType2["SEND_MESSAGE_NOT_RUNNING"] = "send_message_not_running";
|
|
14924
|
+
return ToolErrorType2;
|
|
14925
|
+
})(ToolErrorType || {});
|
|
14926
|
+
|
|
14927
14927
|
// packages/core/src/agents/runtime/agent-statistics.ts
|
|
14928
14928
|
init_esbuild_shims();
|
|
14929
14929
|
var AgentStatistics = class {
|
|
@@ -15458,7 +15458,8 @@ var ToolNames = {
|
|
|
15458
15458
|
// subset here only goes stale on every cua-driver version bump — review
|
|
15459
15459
|
// round 1 removed the old ocu-era 9-name list, which still carried
|
|
15460
15460
|
// `get_app_state` / `perform_secondary_action` that no longer exist.
|
|
15461
|
-
WORKFLOW: "workflow"
|
|
15461
|
+
WORKFLOW: "workflow",
|
|
15462
|
+
ARTIFACT: "artifact"
|
|
15462
15463
|
};
|
|
15463
15464
|
var ToolDisplayNames = {
|
|
15464
15465
|
EDIT: "Edit",
|
|
@@ -15495,7 +15496,8 @@ var ToolDisplayNames = {
|
|
|
15495
15496
|
ENTER_WORKTREE: "EnterWorktree",
|
|
15496
15497
|
EXIT_WORKTREE: "ExitWorktree",
|
|
15497
15498
|
// computer_use__* display names are not enumerated here (see ToolNames).
|
|
15498
|
-
WORKFLOW: "Workflow"
|
|
15499
|
+
WORKFLOW: "Workflow",
|
|
15500
|
+
ARTIFACT: "Artifact"
|
|
15499
15501
|
};
|
|
15500
15502
|
var ToolNamesMigration = {
|
|
15501
15503
|
search_file_content: ToolNames.GREP,
|
|
@@ -15519,11 +15521,11 @@ var ToolDisplayNamesMigration = {
|
|
|
15519
15521
|
};
|
|
15520
15522
|
|
|
15521
15523
|
export {
|
|
15522
|
-
ToolErrorType,
|
|
15523
15524
|
require_fast_deep_equal,
|
|
15524
15525
|
require_fast_uri,
|
|
15525
15526
|
require_dist,
|
|
15526
15527
|
SchemaValidator,
|
|
15528
|
+
ToolErrorType,
|
|
15527
15529
|
AgentStatistics,
|
|
15528
15530
|
BaseToolInvocation,
|
|
15529
15531
|
DeclarativeTool,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
createTask
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XU5P23GN.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveActiveTeamName
|
|
8
8
|
} from "./chunk-LD2XBG6Z.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
BaseToolInvocation,
|
|
12
12
|
ToolDisplayNames,
|
|
13
13
|
ToolNames
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-L7U2RI5O.js";
|
|
15
15
|
import {
|
|
16
16
|
init_esbuild_shims
|
|
17
17
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
require_lib
|
|
5
|
+
} from "./chunk-EJYJYJZ2.js";
|
|
3
6
|
import {
|
|
4
7
|
init_esbuild_shims
|
|
5
8
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -10,7 +13,7 @@ import {
|
|
|
10
13
|
} from "./chunk-J2S4EL5Y.js";
|
|
11
14
|
|
|
12
15
|
// node_modules/node-fetch/node_modules/webidl-conversions/lib/index.js
|
|
13
|
-
var
|
|
16
|
+
var require_lib2 = __commonJS({
|
|
14
17
|
"node_modules/node-fetch/node_modules/webidl-conversions/lib/index.js"(exports, module) {
|
|
15
18
|
"use strict";
|
|
16
19
|
init_esbuild_shims();
|
|
@@ -1887,7 +1890,7 @@ var require_URL = __commonJS({
|
|
|
1887
1890
|
"node_modules/node-fetch/node_modules/whatwg-url/lib/URL.js"(exports, module) {
|
|
1888
1891
|
"use strict";
|
|
1889
1892
|
init_esbuild_shims();
|
|
1890
|
-
var conversions =
|
|
1893
|
+
var conversions = require_lib2();
|
|
1891
1894
|
var utils = require_utils();
|
|
1892
1895
|
var Impl = require_URL_impl();
|
|
1893
1896
|
var impl = utils.implSymbol;
|
|
@@ -2083,8 +2086,60 @@ var require_public_api = __commonJS({
|
|
|
2083
2086
|
}
|
|
2084
2087
|
});
|
|
2085
2088
|
|
|
2089
|
+
// node_modules/encoding/lib/encoding.js
|
|
2090
|
+
var require_encoding = __commonJS({
|
|
2091
|
+
"node_modules/encoding/lib/encoding.js"(exports, module) {
|
|
2092
|
+
"use strict";
|
|
2093
|
+
init_esbuild_shims();
|
|
2094
|
+
var iconvLite = require_lib();
|
|
2095
|
+
module.exports.convert = convert;
|
|
2096
|
+
function convert(str, to, from) {
|
|
2097
|
+
from = checkEncoding(from || "UTF-8");
|
|
2098
|
+
to = checkEncoding(to || "UTF-8");
|
|
2099
|
+
str = str || "";
|
|
2100
|
+
var result;
|
|
2101
|
+
if (from !== "UTF-8" && typeof str === "string") {
|
|
2102
|
+
str = Buffer.from(str, "binary");
|
|
2103
|
+
}
|
|
2104
|
+
if (from === to) {
|
|
2105
|
+
if (typeof str === "string") {
|
|
2106
|
+
result = Buffer.from(str);
|
|
2107
|
+
} else {
|
|
2108
|
+
result = str;
|
|
2109
|
+
}
|
|
2110
|
+
} else {
|
|
2111
|
+
try {
|
|
2112
|
+
result = convertIconvLite(str, to, from);
|
|
2113
|
+
} catch (E) {
|
|
2114
|
+
console.error(E);
|
|
2115
|
+
result = str;
|
|
2116
|
+
}
|
|
2117
|
+
}
|
|
2118
|
+
if (typeof result === "string") {
|
|
2119
|
+
result = Buffer.from(result, "utf-8");
|
|
2120
|
+
}
|
|
2121
|
+
return result;
|
|
2122
|
+
}
|
|
2123
|
+
__name(convert, "convert");
|
|
2124
|
+
function convertIconvLite(str, to, from) {
|
|
2125
|
+
if (to === "UTF-8") {
|
|
2126
|
+
return iconvLite.decode(str, from);
|
|
2127
|
+
} else if (from === "UTF-8") {
|
|
2128
|
+
return iconvLite.encode(str, to);
|
|
2129
|
+
} else {
|
|
2130
|
+
return iconvLite.encode(iconvLite.decode(str, from), to);
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2133
|
+
__name(convertIconvLite, "convertIconvLite");
|
|
2134
|
+
function checkEncoding(name) {
|
|
2135
|
+
return (name || "").toString().trim().replace(/^latin[\-_]?(\d+)$/i, "ISO-8859-$1").replace(/^win(?:dows)?[\-_]?(\d+)$/i, "WINDOWS-$1").replace(/^utf[\-_]?(\d+)$/i, "UTF-$1").replace(/^ks_c_5601\-1987$/i, "CP949").replace(/^us[\-_]?ascii$/i, "ASCII").toUpperCase();
|
|
2136
|
+
}
|
|
2137
|
+
__name(checkEncoding, "checkEncoding");
|
|
2138
|
+
}
|
|
2139
|
+
});
|
|
2140
|
+
|
|
2086
2141
|
// node_modules/node-fetch/lib/index.js
|
|
2087
|
-
var
|
|
2142
|
+
var require_lib3 = __commonJS({
|
|
2088
2143
|
"node_modules/node-fetch/lib/index.js"(exports, module) {
|
|
2089
2144
|
"use strict";
|
|
2090
2145
|
init_esbuild_shims();
|
|
@@ -2217,7 +2272,7 @@ var require_lib2 = __commonJS({
|
|
|
2217
2272
|
FetchError.prototype.name = "FetchError";
|
|
2218
2273
|
var convert;
|
|
2219
2274
|
try {
|
|
2220
|
-
convert =
|
|
2275
|
+
convert = require_encoding().convert;
|
|
2221
2276
|
} catch (e) {
|
|
2222
2277
|
}
|
|
2223
2278
|
var INTERNALS = Symbol("Body internals");
|
|
@@ -4062,6 +4117,6 @@ var require_abort_controller = __commonJS({
|
|
|
4062
4117
|
});
|
|
4063
4118
|
|
|
4064
4119
|
export {
|
|
4065
|
-
|
|
4120
|
+
require_lib3 as require_lib,
|
|
4066
4121
|
require_abort_controller
|
|
4067
4122
|
};
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
atomicWriteFileSync
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3UALQ56H.js";
|
|
6
6
|
import {
|
|
7
7
|
Storage,
|
|
8
8
|
createDebugLogger
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-C4K3FEQ2.js";
|
|
10
10
|
import {
|
|
11
11
|
init_esbuild_shims
|
|
12
12
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
resolveBundleDir
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7QBKO4A6.js";
|
|
6
6
|
import {
|
|
7
7
|
Storage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-C4K3FEQ2.js";
|
|
9
9
|
import {
|
|
10
10
|
init_esbuild_shims
|
|
11
11
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -171,13 +171,13 @@ init_esbuild_shims();
|
|
|
171
171
|
var globImport_locales_js = __glob({
|
|
172
172
|
"./locales/ca.js": () => import("./ca-7WC7ELX6.js"),
|
|
173
173
|
"./locales/de.js": () => import("./de-ACHALDED.js"),
|
|
174
|
-
"./locales/en.js": () => import("./en-
|
|
174
|
+
"./locales/en.js": () => import("./en-7OGNWWME.js"),
|
|
175
175
|
"./locales/fr.js": () => import("./fr-GVKZ27MF.js"),
|
|
176
176
|
"./locales/ja.js": () => import("./ja-FKZ2WZ4D.js"),
|
|
177
177
|
"./locales/pt.js": () => import("./pt-SY5NCFGR.js"),
|
|
178
178
|
"./locales/ru.js": () => import("./ru-FWNXJG4F.js"),
|
|
179
|
-
"./locales/zh-TW.js": () => import("./zh-TW-
|
|
180
|
-
"./locales/zh.js": () => import("./zh-
|
|
179
|
+
"./locales/zh-TW.js": () => import("./zh-TW-R7WRLTJS.js"),
|
|
180
|
+
"./locales/zh.js": () => import("./zh-3RMSEO5M.js")
|
|
181
181
|
});
|
|
182
182
|
|
|
183
183
|
// packages/cli/src/i18n/index.ts
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
import {
|
|
4
4
|
getInboxesDir,
|
|
5
5
|
require_proper_lockfile
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2BIF2NVV.js";
|
|
7
7
|
import {
|
|
8
8
|
Mutex
|
|
9
9
|
} from "./chunk-OMX7CUOE.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteJSON
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3UALQ56H.js";
|
|
13
13
|
import {
|
|
14
14
|
createDebugLogger,
|
|
15
15
|
isNodeError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-C4K3FEQ2.js";
|
|
17
17
|
import {
|
|
18
18
|
init_esbuild_shims
|
|
19
19
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
import {
|
|
4
4
|
getTasksDir,
|
|
5
5
|
require_proper_lockfile
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2BIF2NVV.js";
|
|
7
7
|
import {
|
|
8
8
|
Mutex
|
|
9
9
|
} from "./chunk-OMX7CUOE.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteJSON
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3UALQ56H.js";
|
|
13
13
|
import {
|
|
14
14
|
createDebugLogger,
|
|
15
15
|
isNodeError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-C4K3FEQ2.js";
|
|
17
17
|
import {
|
|
18
18
|
init_esbuild_shims
|
|
19
19
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -4,46 +4,48 @@ import {
|
|
|
4
4
|
Client,
|
|
5
5
|
StdioClientTransport,
|
|
6
6
|
extract
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7QBKO4A6.js";
|
|
8
8
|
import "./chunk-K5PGHDBN.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-TXVGVZYR.js";
|
|
10
|
+
import "./chunk-XU5P23GN.js";
|
|
11
|
+
import "./chunk-2BIF2NVV.js";
|
|
12
|
+
import "./chunk-NWLUISRA.js";
|
|
13
|
+
import "./chunk-3BR4OIOE.js";
|
|
12
14
|
import "./chunk-2MPVVENX.js";
|
|
13
15
|
import "./chunk-ZTQ26VBE.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-LF6BKGZT.js";
|
|
16
|
-
import "./chunk-26ZYKTYZ.js";
|
|
16
|
+
import "./chunk-GZCJS5WH.js";
|
|
17
17
|
import "./chunk-MLZQVCF3.js";
|
|
18
18
|
import "./chunk-LD2XBG6Z.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-OTBK43JR.js";
|
|
20
|
+
import "./chunk-HGNSRCRB.js";
|
|
21
|
+
import "./chunk-EEEZIVFJ.js";
|
|
22
|
+
import "./chunk-PRYMDRBV.js";
|
|
23
23
|
import {
|
|
24
24
|
safeJsonStringify
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-HNYTRFAM.js";
|
|
26
26
|
import "./chunk-3PJXIDKI.js";
|
|
27
27
|
import "./chunk-UWCTAVOD.js";
|
|
28
28
|
import "./chunk-OFEVLU4C.js";
|
|
29
29
|
import "./chunk-OMX7CUOE.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-BNXANYLH.js";
|
|
31
|
+
import "./chunk-T2VDEFUU.js";
|
|
32
|
+
import "./chunk-2QDQTWCI.js";
|
|
33
33
|
import {
|
|
34
34
|
BaseDeclarativeTool,
|
|
35
35
|
BaseToolInvocation
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-L7U2RI5O.js";
|
|
37
|
+
import "./chunk-BGUDAULQ.js";
|
|
38
|
+
import "./chunk-EW6C27XX.js";
|
|
39
|
+
import "./chunk-22IFUCVR.js";
|
|
39
40
|
import "./chunk-64WXLC72.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-3UALQ56H.js";
|
|
42
|
+
import "./chunk-F6XNTYNE.js";
|
|
43
|
+
import "./chunk-CGEGHF2C.js";
|
|
44
|
+
import "./chunk-EJYJYJZ2.js";
|
|
43
45
|
import "./chunk-55ZMG67I.js";
|
|
44
46
|
import "./chunk-H6BD2ELD.js";
|
|
45
47
|
import "./chunk-5IFG2VC4.js";
|
|
46
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-C4K3FEQ2.js";
|
|
47
49
|
import "./chunk-ZERZSAZL.js";
|
|
48
50
|
import "./chunk-QN5NZ3UQ.js";
|
|
49
51
|
import "./chunk-BR4QREVK.js";
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
collectContextData,
|
|
5
|
+
contextCommand,
|
|
6
|
+
formatContextUsageText
|
|
7
|
+
} from "./chunk-C4JC2FL3.js";
|
|
8
|
+
import "./chunk-TKXRLRTF.js";
|
|
9
|
+
import "./chunk-7QBKO4A6.js";
|
|
10
|
+
import "./chunk-K5PGHDBN.js";
|
|
11
|
+
import "./chunk-TXVGVZYR.js";
|
|
12
|
+
import "./chunk-XU5P23GN.js";
|
|
13
|
+
import "./chunk-2BIF2NVV.js";
|
|
14
|
+
import "./chunk-NWLUISRA.js";
|
|
15
|
+
import "./chunk-3BR4OIOE.js";
|
|
16
|
+
import "./chunk-2MPVVENX.js";
|
|
17
|
+
import "./chunk-ZTQ26VBE.js";
|
|
18
|
+
import "./chunk-GZCJS5WH.js";
|
|
19
|
+
import "./chunk-MLZQVCF3.js";
|
|
20
|
+
import "./chunk-LD2XBG6Z.js";
|
|
21
|
+
import "./chunk-OTBK43JR.js";
|
|
22
|
+
import "./chunk-HGNSRCRB.js";
|
|
23
|
+
import "./chunk-EEEZIVFJ.js";
|
|
24
|
+
import "./chunk-PRYMDRBV.js";
|
|
25
|
+
import "./chunk-HNYTRFAM.js";
|
|
26
|
+
import "./chunk-3PJXIDKI.js";
|
|
27
|
+
import "./chunk-UWCTAVOD.js";
|
|
28
|
+
import "./chunk-OFEVLU4C.js";
|
|
29
|
+
import "./chunk-OMX7CUOE.js";
|
|
30
|
+
import "./chunk-BNXANYLH.js";
|
|
31
|
+
import "./chunk-T2VDEFUU.js";
|
|
32
|
+
import "./chunk-2QDQTWCI.js";
|
|
33
|
+
import "./chunk-L7U2RI5O.js";
|
|
34
|
+
import "./chunk-BGUDAULQ.js";
|
|
35
|
+
import "./chunk-EW6C27XX.js";
|
|
36
|
+
import "./chunk-22IFUCVR.js";
|
|
37
|
+
import "./chunk-64WXLC72.js";
|
|
38
|
+
import "./chunk-3UALQ56H.js";
|
|
39
|
+
import "./chunk-F6XNTYNE.js";
|
|
40
|
+
import "./chunk-CGEGHF2C.js";
|
|
41
|
+
import "./chunk-EJYJYJZ2.js";
|
|
42
|
+
import "./chunk-55ZMG67I.js";
|
|
43
|
+
import "./chunk-H6BD2ELD.js";
|
|
44
|
+
import "./chunk-5IFG2VC4.js";
|
|
45
|
+
import "./chunk-C4K3FEQ2.js";
|
|
46
|
+
import "./chunk-ZERZSAZL.js";
|
|
47
|
+
import "./chunk-QN5NZ3UQ.js";
|
|
48
|
+
import "./chunk-BR4QREVK.js";
|
|
49
|
+
import "./chunk-Z2Z3GUXZ.js";
|
|
50
|
+
import "./chunk-A4BMJM77.js";
|
|
51
|
+
import "./chunk-J2S4EL5Y.js";
|
|
52
|
+
export {
|
|
53
|
+
collectContextData,
|
|
54
|
+
contextCommand,
|
|
55
|
+
formatContextUsageText
|
|
56
|
+
};
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
} from "./chunk-ZTQ26VBE.js";
|
|
10
10
|
import {
|
|
11
11
|
CRON_TASKS_DISPLAY_PATH
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GZCJS5WH.js";
|
|
13
13
|
import "./chunk-OMX7CUOE.js";
|
|
14
14
|
import {
|
|
15
15
|
BaseDeclarativeTool,
|
|
16
16
|
BaseToolInvocation,
|
|
17
17
|
ToolDisplayNames,
|
|
18
18
|
ToolNames
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-L7U2RI5O.js";
|
|
20
|
+
import "./chunk-3UALQ56H.js";
|
|
21
|
+
import "./chunk-C4K3FEQ2.js";
|
|
22
22
|
import "./chunk-Z2Z3GUXZ.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esbuild_shims
|
|
@@ -55,14 +55,11 @@ var CronCreateInvocation = class extends BaseToolInvocation {
|
|
|
55
55
|
const scheduler = this.config.getCronScheduler();
|
|
56
56
|
const recurring = this.params.recurring !== false;
|
|
57
57
|
const durable = this.params.durable === true;
|
|
58
|
+
const prompt = this.params.prompt.trim();
|
|
58
59
|
try {
|
|
59
60
|
parseCron(this.params.cron);
|
|
60
61
|
nextFireTime(this.params.cron, /* @__PURE__ */ new Date());
|
|
61
|
-
const job = durable ? await scheduler.createDurable(
|
|
62
|
-
this.params.cron,
|
|
63
|
-
this.params.prompt,
|
|
64
|
-
recurring
|
|
65
|
-
) : scheduler.create(this.params.cron, this.params.prompt, recurring);
|
|
62
|
+
const job = durable ? await scheduler.createDurable(this.params.cron, prompt, recurring) : scheduler.create(this.params.cron, prompt, recurring);
|
|
66
63
|
const display = humanReadableCron(job.cronExpr);
|
|
67
64
|
const returnDisplay = `Scheduled ${job.id} (${display})${durable ? " [durable]" : ""}`;
|
|
68
65
|
const where = durable ? `Persisted to ${CRON_TASKS_DISPLAY_PATH}` : "Session-only (not written to disk, dies when Qwen Code exits)";
|
|
@@ -162,6 +159,12 @@ Returns a job ID you can pass to CronDelete.`,
|
|
|
162
159
|
createInvocation(params) {
|
|
163
160
|
return new CronCreateInvocation(this.config, params);
|
|
164
161
|
}
|
|
162
|
+
validateToolParamValues(params) {
|
|
163
|
+
if (!params.prompt || params.prompt.trim() === "") {
|
|
164
|
+
return 'Parameter "prompt" must be a non-empty string.';
|
|
165
|
+
}
|
|
166
|
+
return null;
|
|
167
|
+
}
|
|
165
168
|
/**
|
|
166
169
|
* Forward the prompt and cadence to the classifier. The scheduled
|
|
167
170
|
* prompt will be enqueued and executed against the agent at fire-time,
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
import {
|
|
4
4
|
CRON_TASKS_DISPLAY_PATH,
|
|
5
5
|
removeCronTasks
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GZCJS5WH.js";
|
|
7
7
|
import "./chunk-OMX7CUOE.js";
|
|
8
8
|
import {
|
|
9
9
|
BaseDeclarativeTool,
|
|
10
10
|
BaseToolInvocation,
|
|
11
11
|
ToolDisplayNames,
|
|
12
12
|
ToolNames
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-L7U2RI5O.js";
|
|
14
|
+
import "./chunk-3UALQ56H.js";
|
|
15
15
|
import {
|
|
16
16
|
getErrorMessage
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-C4K3FEQ2.js";
|
|
18
18
|
import "./chunk-Z2Z3GUXZ.js";
|
|
19
19
|
import {
|
|
20
20
|
init_esbuild_shims
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
CRON_TASKS_DISPLAY_PATH,
|
|
8
8
|
readCronTasks
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GZCJS5WH.js";
|
|
10
10
|
import "./chunk-OMX7CUOE.js";
|
|
11
11
|
import {
|
|
12
12
|
BaseDeclarativeTool,
|
|
13
13
|
BaseToolInvocation,
|
|
14
14
|
ToolDisplayNames,
|
|
15
15
|
ToolNames
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-L7U2RI5O.js";
|
|
17
|
+
import "./chunk-3UALQ56H.js";
|
|
18
|
+
import "./chunk-C4K3FEQ2.js";
|
|
19
19
|
import "./chunk-Z2Z3GUXZ.js";
|
|
20
20
|
import {
|
|
21
21
|
init_esbuild_shims
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
import {
|
|
4
4
|
require_abort_controller,
|
|
5
5
|
require_lib
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RYLJU2DY.js";
|
|
7
7
|
import {
|
|
8
8
|
ChannelBase
|
|
9
9
|
} from "./chunk-JXQ23SNT.js";
|
|
10
10
|
import "./chunk-UFC57OYT.js";
|
|
11
11
|
import "./chunk-K5PGHDBN.js";
|
|
12
|
+
import "./chunk-EJYJYJZ2.js";
|
|
12
13
|
import {
|
|
13
14
|
require_dist
|
|
14
15
|
} from "./chunk-ZERZSAZL.js";
|