@qwen-code/qwen-code 0.16.2 → 0.17.0
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/docs/configuration/settings.md +5 -1
- package/bundled/qc-helper/docs/features/channels/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/channels/feishu.md +170 -0
- package/chunks/{agent-RY5EB3XR.js → agent-KVXFGIOU.js} +17 -12
- package/chunks/{anthropicContentGenerator-LYI3OHBB.js → anthropicContentGenerator-L4HWAOIV.js} +5 -5
- package/chunks/{askUserQuestion-R3MKD2JT.js → askUserQuestion-DC6OWQIL.js} +5 -3
- package/chunks/chunk-24YKA2DA.js +233 -0
- package/chunks/{chunk-UFC57OYT.js → chunk-33RDTIU6.js} +5 -3
- package/chunks/{chunk-C6WMLUNB.js → chunk-3BJBCG2K.js} +1 -1
- package/chunks/chunk-3HX5LZ6R.js +1798 -0
- package/chunks/{chunk-GQXXO5HJ.js → chunk-4O2TWJK4.js} +25 -5
- package/chunks/{chunk-RDYWTWEM.js → chunk-5IFG2VC4.js} +299 -232
- package/chunks/chunk-6RQTH7UQ.js +115 -0
- package/chunks/{chunk-7HM6OB7M.js → chunk-7EHPK6TK.js} +1336 -5164
- package/chunks/{chunk-PJLEMR7N.js → chunk-7NNBQRV7.js} +6 -6
- package/chunks/{chunk-K5PGHDBN.js → chunk-AKBFRR6J.js} +112 -132
- package/chunks/{chunk-C27V5A2J.js → chunk-EMVEDSVZ.js} +1 -1
- package/chunks/{chunk-TXQI3VZ7.js → chunk-GJHMAWS7.js} +1 -1
- package/chunks/{chunk-K72FHBFO.js → chunk-HAQCNXSG.js} +1 -0
- package/chunks/{chunk-T4VD6OJ4.js → chunk-HCSJIOLR.js} +1 -1
- package/chunks/chunk-J37FGIOA.js +1623 -0
- package/chunks/chunk-J5VCSWPA.js +1467 -0
- package/chunks/{chunk-UE5LPQF7.js → chunk-JI7FDD65.js} +7 -7
- package/chunks/{chunk-4YNZFYJY.js → chunk-MEN6IEKX.js} +2533 -3943
- package/chunks/{chunk-USE2VQ5P.js → chunk-NP3ICQCN.js} +1 -1
- package/chunks/{chunk-66CJCYYZ.js → chunk-QEXSIXLX.js} +1 -1
- package/chunks/{chunk-YMDXEEOW.js → chunk-R2B65CAN.js} +1 -82
- package/chunks/chunk-SZOEIL6S.js +35 -0
- package/chunks/chunk-TI4GXJKO.js +4277 -0
- package/chunks/{chunk-E7E2MFYM.js → chunk-U2K6HDUJ.js} +434 -13
- package/chunks/{chunk-FO7BIVSR.js → chunk-UQRYJQBE.js} +5 -3
- package/chunks/{chunk-VMOWXTRC.js → chunk-V7LMZR76.js} +1 -1
- package/chunks/chunk-W57YDFU5.js +41 -0
- package/chunks/computer-use-2J5ZXEER.js +768 -0
- package/chunks/{contextCommand-DDGVLQSF.js → contextCommand-52NTEMCT.js} +19 -14
- package/chunks/{cron-create-BTEOGHPH.js → cron-create-FXRORK2U.js} +5 -3
- package/chunks/{cron-delete-56CEWELN.js → cron-delete-D24IN6CA.js} +5 -3
- package/chunks/{cron-list-SV6QRZW2.js → cron-list-SMOX26SL.js} +5 -3
- package/chunks/{devtools-WN62SQPV.js → devtools-IXE4UP72.js} +31 -3748
- package/chunks/{dist-MN2PDDPR.js → dist-6RUZ2JD6.js} +13 -1612
- package/chunks/{dist-R2SXPG74.js → dist-AHZNZWRI.js} +5 -4
- package/chunks/dist-GRQVFL3G.js +94147 -0
- package/chunks/{dist-BXDUQ2QY.js → dist-XTTPOFAH.js} +4 -3
- package/chunks/{edit-4LLGNYVZ.js → edit-RLFUTT5F.js} +20 -14
- package/chunks/{enter-worktree-E2R5XAFT.js → enter-worktree-CYRAPQKJ.js} +20 -14
- package/chunks/{exit-worktree-YVBYYYDD.js → exit-worktree-WQZM72QD.js} +20 -14
- package/chunks/{exitPlanMode-WD5IH7NS.js → exitPlanMode-STFEBQZE.js} +20 -14
- package/chunks/{geminiContentGenerator-LM65ADWM.js → geminiContentGenerator-DIV32SKO.js} +4 -3
- package/chunks/{glob-6X6OCEWE.js → glob-N3XO4RVI.js} +20 -14
- package/chunks/{grep-2UUPSSIQ.js → grep-AK5MP7P3.js} +20 -14
- package/chunks/{ls-MYXAM7LJ.js → ls-7FYQHPWF.js} +5 -3
- package/chunks/{lsp-PFGI35JL.js → lsp-DKG34USR.js} +5 -3
- package/chunks/{monitor-VUHPEGUW.js → monitor-IVBWJZEZ.js} +20 -14
- package/chunks/{notebook-edit-P4QVLW6I.js → notebook-edit-PM46AXFS.js} +21 -15
- package/chunks/{openaiContentGenerator-JH4YNZ3H.js → openaiContentGenerator-4QXCH7L2.js} +13 -10
- package/chunks/{qwenContentGenerator-5FE4UYUT.js → qwenContentGenerator-BLXQIIMX.js} +21 -16
- package/chunks/{read-file-J7DH4OKV.js → read-file-IEQAS3EZ.js} +10 -6
- package/chunks/{ripGrep-33DECY4F.js → ripGrep-HQO7IE4C.js} +17 -12
- package/chunks/{send-message-JUFP62VD.js → send-message-ZL7CDM7K.js} +5 -3
- package/chunks/{serve-7FX7MREA.js → serve-CYRAK4UM.js} +63 -1837
- package/chunks/{shell-ZNTQIRK6.js → shell-UZBGNO2Q.js} +17 -12
- package/chunks/{skill-CFCUIY23.js → skill-JVC34QYN.js} +24 -13
- package/chunks/{src-AHV2CWEQ.js → src-FOODLH7B.js} +49 -41
- package/chunks/{syntheticOutput-AKTXC6FR.js → syntheticOutput-U3YJ3GOO.js} +3 -2
- package/chunks/{task-stop-2NYFR2ES.js → task-stop-NPUI3YBA.js} +5 -3
- package/chunks/{todoWrite-WHZ2O2XP.js → todoWrite-Y6F7YEIM.js} +6 -4
- package/chunks/{tool-search-C2EMLFBJ.js → tool-search-P7PRPOW3.js} +13 -8
- package/chunks/{web-fetch-S6MZXPZ5.js → web-fetch-XWEK4TFX.js} +6 -4
- package/chunks/{write-file-EEPVRS4Q.js → write-file-SIIEUON5.js} +21 -15
- package/cli.js +412 -329
- package/package.json +2 -2
- package/chunks/chunk-JVD46YJV.js +0 -434
- package/chunks/undici-4ARNOH74.js +0 -8
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import {
|
|
4
|
+
init_esbuild_shims
|
|
5
|
+
} from "./chunk-A4BMJM77.js";
|
|
6
|
+
|
|
7
|
+
// packages/core/src/tools/tool-names.ts
|
|
8
|
+
init_esbuild_shims();
|
|
9
|
+
var ToolNames = {
|
|
10
|
+
EDIT: "edit",
|
|
11
|
+
WRITE_FILE: "write_file",
|
|
12
|
+
READ_FILE: "read_file",
|
|
13
|
+
GREP: "grep_search",
|
|
14
|
+
GLOB: "glob",
|
|
15
|
+
SHELL: "run_shell_command",
|
|
16
|
+
TODO_WRITE: "todo_write",
|
|
17
|
+
MEMORY: "save_memory",
|
|
18
|
+
AGENT: "agent",
|
|
19
|
+
SKILL: "skill",
|
|
20
|
+
EXIT_PLAN_MODE: "exit_plan_mode",
|
|
21
|
+
WEB_FETCH: "web_fetch",
|
|
22
|
+
LS: "list_directory",
|
|
23
|
+
LSP: "lsp",
|
|
24
|
+
ASK_USER_QUESTION: "ask_user_question",
|
|
25
|
+
CRON_CREATE: "cron_create",
|
|
26
|
+
CRON_LIST: "cron_list",
|
|
27
|
+
CRON_DELETE: "cron_delete",
|
|
28
|
+
TASK_STOP: "task_stop",
|
|
29
|
+
SEND_MESSAGE: "send_message",
|
|
30
|
+
STRUCTURED_OUTPUT: "structured_output",
|
|
31
|
+
MONITOR: "monitor",
|
|
32
|
+
NOTEBOOK_EDIT: "notebook_edit",
|
|
33
|
+
TOOL_SEARCH: "tool_search",
|
|
34
|
+
ENTER_WORKTREE: "enter_worktree",
|
|
35
|
+
EXIT_WORKTREE: "exit_worktree",
|
|
36
|
+
// Computer Use tools — built-in but backed by an upstream MCP server.
|
|
37
|
+
// All deferred; revealed only when the user-initiated request triggers
|
|
38
|
+
// a computer-use action. See packages/core/src/tools/computer-use/.
|
|
39
|
+
COMPUTER_USE_LIST_APPS: "computer_use__list_apps",
|
|
40
|
+
COMPUTER_USE_GET_APP_STATE: "computer_use__get_app_state",
|
|
41
|
+
COMPUTER_USE_CLICK: "computer_use__click",
|
|
42
|
+
COMPUTER_USE_PERFORM_SECONDARY_ACTION: "computer_use__perform_secondary_action",
|
|
43
|
+
COMPUTER_USE_SCROLL: "computer_use__scroll",
|
|
44
|
+
COMPUTER_USE_DRAG: "computer_use__drag",
|
|
45
|
+
COMPUTER_USE_TYPE_TEXT: "computer_use__type_text",
|
|
46
|
+
COMPUTER_USE_PRESS_KEY: "computer_use__press_key",
|
|
47
|
+
COMPUTER_USE_SET_VALUE: "computer_use__set_value"
|
|
48
|
+
};
|
|
49
|
+
var ToolDisplayNames = {
|
|
50
|
+
EDIT: "Edit",
|
|
51
|
+
WRITE_FILE: "WriteFile",
|
|
52
|
+
READ_FILE: "ReadFile",
|
|
53
|
+
GREP: "Grep",
|
|
54
|
+
GLOB: "Glob",
|
|
55
|
+
SHELL: "Shell",
|
|
56
|
+
TODO_WRITE: "TodoWrite",
|
|
57
|
+
MEMORY: "SaveMemory",
|
|
58
|
+
AGENT: "Agent",
|
|
59
|
+
SKILL: "Skill",
|
|
60
|
+
EXIT_PLAN_MODE: "ExitPlanMode",
|
|
61
|
+
WEB_FETCH: "WebFetch",
|
|
62
|
+
LS: "ListFiles",
|
|
63
|
+
LSP: "Lsp",
|
|
64
|
+
ASK_USER_QUESTION: "AskUserQuestion",
|
|
65
|
+
CRON_CREATE: "CronCreate",
|
|
66
|
+
CRON_LIST: "CronList",
|
|
67
|
+
CRON_DELETE: "CronDelete",
|
|
68
|
+
TASK_STOP: "TaskStop",
|
|
69
|
+
SEND_MESSAGE: "SendMessage",
|
|
70
|
+
STRUCTURED_OUTPUT: "StructuredOutput",
|
|
71
|
+
MONITOR: "Monitor",
|
|
72
|
+
NOTEBOOK_EDIT: "NotebookEdit",
|
|
73
|
+
TOOL_SEARCH: "ToolSearch",
|
|
74
|
+
ENTER_WORKTREE: "EnterWorktree",
|
|
75
|
+
EXIT_WORKTREE: "ExitWorktree",
|
|
76
|
+
COMPUTER_USE_LIST_APPS: "computer_use__list_apps",
|
|
77
|
+
COMPUTER_USE_GET_APP_STATE: "computer_use__get_app_state",
|
|
78
|
+
COMPUTER_USE_CLICK: "computer_use__click",
|
|
79
|
+
COMPUTER_USE_PERFORM_SECONDARY_ACTION: "computer_use__perform_secondary_action",
|
|
80
|
+
COMPUTER_USE_SCROLL: "computer_use__scroll",
|
|
81
|
+
COMPUTER_USE_DRAG: "computer_use__drag",
|
|
82
|
+
COMPUTER_USE_TYPE_TEXT: "computer_use__type_text",
|
|
83
|
+
COMPUTER_USE_PRESS_KEY: "computer_use__press_key",
|
|
84
|
+
COMPUTER_USE_SET_VALUE: "computer_use__set_value"
|
|
85
|
+
};
|
|
86
|
+
var ToolNamesMigration = {
|
|
87
|
+
search_file_content: ToolNames.GREP,
|
|
88
|
+
// Legacy name from grep tool
|
|
89
|
+
replace: ToolNames.EDIT,
|
|
90
|
+
// Legacy name from edit tool
|
|
91
|
+
task: ToolNames.AGENT
|
|
92
|
+
// Legacy name from agent tool (renamed from task)
|
|
93
|
+
};
|
|
94
|
+
var ToolDisplayNamesMigration = {
|
|
95
|
+
SearchFiles: ToolDisplayNames.GREP,
|
|
96
|
+
// Old display name for Grep
|
|
97
|
+
FindFiles: ToolDisplayNames.GLOB,
|
|
98
|
+
// Old display name for Glob
|
|
99
|
+
ReadFolder: ToolDisplayNames.LS,
|
|
100
|
+
// Old display name for ListFiles
|
|
101
|
+
Task: ToolDisplayNames.AGENT
|
|
102
|
+
// Old display name for Agent (renamed from Task)
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
export {
|
|
106
|
+
ToolNames,
|
|
107
|
+
ToolDisplayNames,
|
|
108
|
+
ToolNamesMigration,
|
|
109
|
+
ToolDisplayNamesMigration
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* @license
|
|
113
|
+
* Copyright 2025 Google LLC
|
|
114
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
115
|
+
*/
|