@qwen-code/qwen-code 0.18.0 → 0.18.1-nightly.20260616.a68b2e1e7
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/loop/SKILL.md +2 -1
- package/bundled/qc-helper/docs/common-workflow.md +4 -4
- package/bundled/qc-helper/docs/configuration/auth.md +1 -1
- package/bundled/qc-helper/docs/configuration/model-providers.md +13 -6
- package/bundled/qc-helper/docs/configuration/settings.md +90 -87
- package/bundled/qc-helper/docs/features/dual-output.md +37 -3
- package/bundled/qc-helper/docs/features/skills.md +29 -3
- package/bundled/qc-helper/docs/features/sub-agents.md +2 -1
- package/bundled/qc-helper/docs/qwen-serve.md +32 -23
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +30 -30
- package/chunks/{agent-LOTJK6AH.js → agent-PXMT2XR5.js} +21 -20
- package/chunks/{agent-headless-TU3EPMYU.js → agent-headless-SY7VJUHV.js} +21 -20
- package/chunks/{anthropicContentGenerator-2HBRNQ3B.js → anthropicContentGenerator-DCI26OQF.js} +4 -4
- package/chunks/{askUserQuestion-OGCMIBQM.js → askUserQuestion-NDNFGC35.js} +2 -2
- package/chunks/{ca-BARBRL6N.js → ca-RK4QPLIX.js} +18 -1
- package/chunks/{chunk-BIVG75CP.js → chunk-26QELEL2.js} +1 -1
- package/chunks/{chunk-ZTZ4DDQE.js → chunk-3NRO6NHX.js} +2 -2
- package/chunks/{chunk-XV4HCEVI.js → chunk-6WPY6ES3.js} +41 -22
- package/chunks/{chunk-6YIUGZTC.js → chunk-A3OEZT2F.js} +281 -132
- package/chunks/{chunk-LBP46COL.js → chunk-ABRZC6FA.js} +83 -15
- package/chunks/{chunk-A7B4ISQP.js → chunk-B4ZF2KSI.js} +1 -1
- package/chunks/chunk-BJ5HQ23U.js +178 -0
- package/chunks/{chunk-OHEGWO4L.js → chunk-CPVI5J2L.js} +1 -1
- package/chunks/{chunk-SEGYWKIH.js → chunk-FIQECJTQ.js} +1 -1
- package/chunks/{chunk-IWAYOW5Q.js → chunk-H4ZDM3N6.js} +6588 -4196
- package/chunks/{chunk-HR7SV7AY.js → chunk-HA2UEYZP.js} +6 -2
- package/chunks/{chunk-2Y5SYSD3.js → chunk-IDYDPBBN.js} +3 -3
- package/chunks/{chunk-3HTIVKZE.js → chunk-IQHSD7K5.js} +1 -1
- package/chunks/{chunk-MFBBBTNY.js → chunk-JZFEL3RB.js} +1 -1
- package/chunks/{chunk-B7HXHOHU.js → chunk-LXYWINWF.js} +1 -1
- package/chunks/{chunk-IDX6COTE.js → chunk-LYRSMKLS.js} +2 -2
- package/chunks/{chunk-M6VTDSVR.js → chunk-LYSND7KR.js} +9 -4
- package/chunks/{chunk-7BCMOPIM.js → chunk-M5PJ5QAF.js} +31 -12
- package/chunks/{chunk-EYENRK4D.js → chunk-NNIYWQIS.js} +1 -1
- package/chunks/chunk-OMX7CUOE.js +356 -0
- package/chunks/{chunk-R7ODSGTK.js → chunk-OT6JA3KQ.js} +2 -2
- package/chunks/{chunk-72LDN5PP.js → chunk-QP4R5FTG.js} +1 -1
- package/chunks/{chunk-3DHXZ6EV.js → chunk-SFRV6BGY.js} +6 -4
- package/chunks/{chunk-LEJ42GNY.js → chunk-TSBXGR73.js} +6 -6
- package/chunks/{chunk-PL3MVCWD.js → chunk-UOB6KPGG.js} +11 -11
- package/chunks/{chunk-JTQAQBTV.js → chunk-VU6A2OBJ.js} +20 -6
- package/chunks/{chunk-HLPLOD42.js → chunk-VXHYMZXW.js} +1 -1
- package/chunks/{chunk-J5MDQKJL.js → chunk-WPTCDQN6.js} +2 -347
- package/chunks/{chunk-SNGELLWX.js → chunk-ZMIBJS45.js} +1 -1
- package/chunks/{chunk-XBY7E2FX.js → chunk-ZOFNJQNJ.js} +6 -4
- package/chunks/computer-use-7SEQDSHB.js +2052 -0
- package/chunks/{contextCommand-K347QT6O.js → contextCommand-KM5OWV65.js} +23 -22
- package/chunks/cron-create-7CXEAJ2K.js +184 -0
- package/chunks/{cron-delete-WKWSJZQA.js → cron-delete-2FQYYNQ6.js} +27 -4
- package/chunks/{cron-list-B52XEXAZ.js → cron-list-QCAJ73XE.js} +39 -6
- package/chunks/{de-YGKK2BC4.js → de-FGPM4KW5.js} +18 -1
- package/chunks/{dist-4LXD6L6X.js → dist-2UCAYOX7.js} +2 -2
- package/chunks/{dist-H6ONXVLG.js → dist-33LHH26D.js} +1 -1
- package/chunks/{dist-PK7DFCAW.js → dist-KF43SZZV.js} +1 -1
- package/chunks/{dist-KAZ3SEBX.js → dist-PF2IYSMD.js} +1 -1
- package/chunks/{edit-KU4PJGEX.js → edit-BMUKPLA7.js} +23 -24
- package/chunks/{en-DHGYHIHX.js → en-VP6XPGEC.js} +5 -2
- package/chunks/{enter-worktree-PPYIDCWI.js → enter-worktree-LXJ5WJ5A.js} +21 -20
- package/chunks/{enterPlanMode-5CZDMCB4.js → enterPlanMode-QWRZ54ZF.js} +21 -20
- package/chunks/{exit-worktree-UY3CGHKC.js → exit-worktree-5HTQPNZO.js} +21 -20
- package/chunks/{exitPlanMode-3DN4QNSG.js → exitPlanMode-5WQAXNDA.js} +71 -31
- package/chunks/{fr-JXBKPJKQ.js → fr-ATYBVCLT.js} +18 -1
- package/chunks/{geminiContentGenerator-7A6I2RWB.js → geminiContentGenerator-CAKHT5YE.js} +4 -4
- package/chunks/{glob-OFNQSS52.js → glob-5DN6NSCD.js} +21 -20
- package/chunks/{grep-6J2MSUM5.js → grep-BJILOLCD.js} +30 -26
- package/chunks/{ja-TGPZSP2B.js → ja-W2QEA2OI.js} +18 -1
- package/chunks/{keychain-token-storage-6IU6ORQN.js → keychain-token-storage-QSTRHKKL.js} +2 -2
- package/chunks/{ls-V3O6A5PT.js → ls-XVGXRYWD.js} +3 -3
- package/chunks/{lsp-G2OCIFUA.js → lsp-S6SHPULC.js} +2 -2
- package/chunks/{monitor-FKLHV423.js → monitor-SUEMSRN3.js} +21 -20
- package/chunks/{notebook-edit-KTBYFKWG.js → notebook-edit-6F6Z5P6U.js} +22 -21
- package/chunks/{openaiContentGenerator-L5KSWQY7.js → openaiContentGenerator-DO27LL6O.js} +11 -11
- package/chunks/{pt-TIBG6BIO.js → pt-ZKEWJFBW.js} +18 -1
- package/chunks/{qwenContentGenerator-PYOXLMBW.js → qwenContentGenerator-DQLGLQSH.js} +23 -22
- package/chunks/{qwenOAuth2-2KCKWDCF.js → qwenOAuth2-KK433U33.js} +4 -4
- package/chunks/{read-file-JQVRK4NU.js → read-file-3TBLYTOQ.js} +8 -8
- package/chunks/{ripGrep-2L4LPNAJ.js → ripGrep-3INYT3QV.js} +21 -20
- package/chunks/{ru-JBCHCK4L.js → ru-VEKTPJ74.js} +18 -1
- package/chunks/{scheduler-FGNXY4JQ.js → scheduler-23KQW6CX.js} +21 -20
- package/chunks/{send-message-SZFWNOCL.js → send-message-SMNR5DBG.js} +2 -2
- package/chunks/{serve-N2IBLA3G.js → serve-Y5E4LKUI.js} +998 -278
- package/chunks/{shell-PTEG6UX4.js → shell-4H6XQXVY.js} +21 -20
- package/chunks/{skill-X4NTK4NH.js → skill-SE6FECZR.js} +10 -10
- package/chunks/{src-GLLQ3R5W.js → src-76DUBH3A.js} +42 -26
- package/chunks/{syntheticOutput-IKAY5F6X.js → syntheticOutput-KMNF7YG6.js} +3 -3
- package/chunks/{task-create-MQICOJFV.js → task-create-LIJHK75G.js} +7 -6
- package/chunks/{task-list-RIHJCH32.js → task-list-S4GNSILM.js} +6 -5
- package/chunks/{task-stop-FWZRFANS.js → task-stop-3GBRYJHM.js} +2 -2
- package/chunks/{task-update-2LHPXOYM.js → task-update-F3UTVJMS.js} +7 -6
- package/chunks/{team-create-2E4PF4KN.js → team-create-Q5DTDDH4.js} +21 -20
- package/chunks/{team-delete-DAUDQS4J.js → team-delete-54434EB7.js} +6 -5
- package/chunks/{todoWrite-HTUACZES.js → todoWrite-4ENGSBUX.js} +4 -4
- package/chunks/{tool-search-KTVULRES.js → tool-search-ABZMSDTU.js} +8 -8
- package/chunks/{web-fetch-CZ7LLKPE.js → web-fetch-RHZMF3MP.js} +4 -4
- package/chunks/{workflow-L2ZUUDT2.js → workflow-NEMDQB75.js} +503 -49
- package/chunks/{write-file-ZEB2JDYH.js → write-file-VAEHZPSL.js} +22 -21
- package/chunks/{zh-7H5OQC4I.js → zh-OIXDDQHB.js} +5 -2
- package/chunks/{zh-TW-P4IDHD3M.js → zh-TW-6YFNCKTA.js} +5 -2
- package/cli-entry.js +19 -0
- package/cli.js +6643 -4971
- package/locales/ca.js +20 -2
- package/locales/de.js +21 -2
- package/locales/en.js +7 -4
- package/locales/fr.js +22 -2
- package/locales/ja.js +22 -2
- package/locales/pt.js +21 -2
- package/locales/ru.js +20 -2
- package/locales/zh-TW.js +6 -4
- package/locales/zh.js +6 -4
- package/package.json +4 -3
- package/chunks/chunk-SKBPNJEW.js +0 -45
- package/chunks/computer-use-3RH2DOM6.js +0 -825
- package/chunks/cron-create-YJL3KFWI.js +0 -140
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
import {
|
|
4
4
|
createDebugLogger
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HA2UEYZP.js";
|
|
6
6
|
import {
|
|
7
7
|
init_esbuild_shims
|
|
8
8
|
} from "./chunk-A4BMJM77.js";
|
|
@@ -14290,6 +14290,10 @@ var SchemaValidator = class {
|
|
|
14290
14290
|
data,
|
|
14291
14291
|
anySchema
|
|
14292
14292
|
);
|
|
14293
|
+
fixNumericValues(
|
|
14294
|
+
data,
|
|
14295
|
+
anySchema
|
|
14296
|
+
);
|
|
14293
14297
|
valid = validate(data);
|
|
14294
14298
|
if (!valid && validate.errors) {
|
|
14295
14299
|
return validator.errorsText(validate.errors, { dataVar: "params" });
|
|
@@ -14349,6 +14353,34 @@ function fixStringifiedJsonValues(data, schema) {
|
|
|
14349
14353
|
}
|
|
14350
14354
|
}
|
|
14351
14355
|
__name(fixStringifiedJsonValues, "fixStringifiedJsonValues");
|
|
14356
|
+
function fixNumericValues(data, schema) {
|
|
14357
|
+
const properties = schema["properties"];
|
|
14358
|
+
const items = schema["items"];
|
|
14359
|
+
for (const key of Object.keys(data)) {
|
|
14360
|
+
if (!(key in data)) continue;
|
|
14361
|
+
const value = data[key];
|
|
14362
|
+
const childSchema = Array.isArray(data) ? items : properties?.[key];
|
|
14363
|
+
if (typeof value === "object" && value !== null) {
|
|
14364
|
+
fixNumericValues(value, childSchema ?? {});
|
|
14365
|
+
continue;
|
|
14366
|
+
}
|
|
14367
|
+
if (typeof value !== "string") continue;
|
|
14368
|
+
const accepted = childSchema ? getAcceptedTypes(childSchema) : null;
|
|
14369
|
+
if (!accepted || accepted.has("string")) continue;
|
|
14370
|
+
const wantsInteger = accepted.has("integer");
|
|
14371
|
+
const wantsNumber = accepted.has("number");
|
|
14372
|
+
if (!wantsInteger && !wantsNumber) continue;
|
|
14373
|
+
const trimmed = value.trim();
|
|
14374
|
+
if (!/^-?\d+(\.\d+)?$/.test(trimmed)) continue;
|
|
14375
|
+
const num = parseFloat(trimmed);
|
|
14376
|
+
if (wantsInteger && !wantsNumber && num % 1 !== 0) continue;
|
|
14377
|
+
const parsed = wantsNumber ? num : parseInt(trimmed, 10);
|
|
14378
|
+
if (Number.isFinite(parsed)) {
|
|
14379
|
+
data[key] = parsed;
|
|
14380
|
+
}
|
|
14381
|
+
}
|
|
14382
|
+
}
|
|
14383
|
+
__name(fixNumericValues, "fixNumericValues");
|
|
14352
14384
|
function fixBooleanValues(data, schema) {
|
|
14353
14385
|
const properties = schema?.["properties"];
|
|
14354
14386
|
const items = schema?.["items"];
|
|
@@ -14851,6 +14883,7 @@ var Kind = /* @__PURE__ */ ((Kind2) => {
|
|
|
14851
14883
|
Kind2["Execute"] = "execute";
|
|
14852
14884
|
Kind2["Think"] = "think";
|
|
14853
14885
|
Kind2["Fetch"] = "fetch";
|
|
14886
|
+
Kind2["Agent"] = "agent";
|
|
14854
14887
|
Kind2["Other"] = "other";
|
|
14855
14888
|
return Kind2;
|
|
14856
14889
|
})(Kind || {});
|
|
@@ -14901,18 +14934,12 @@ var ToolNames = {
|
|
|
14901
14934
|
TOOL_SEARCH: "tool_search",
|
|
14902
14935
|
ENTER_WORKTREE: "enter_worktree",
|
|
14903
14936
|
EXIT_WORKTREE: "exit_worktree",
|
|
14904
|
-
// Computer Use tools
|
|
14905
|
-
//
|
|
14906
|
-
//
|
|
14907
|
-
|
|
14908
|
-
|
|
14909
|
-
|
|
14910
|
-
COMPUTER_USE_PERFORM_SECONDARY_ACTION: "computer_use__perform_secondary_action",
|
|
14911
|
-
COMPUTER_USE_SCROLL: "computer_use__scroll",
|
|
14912
|
-
COMPUTER_USE_DRAG: "computer_use__drag",
|
|
14913
|
-
COMPUTER_USE_TYPE_TEXT: "computer_use__type_text",
|
|
14914
|
-
COMPUTER_USE_PRESS_KEY: "computer_use__press_key",
|
|
14915
|
-
COMPUTER_USE_SET_VALUE: "computer_use__set_value",
|
|
14937
|
+
// Computer Use tools (computer_use__*) are intentionally NOT enumerated here.
|
|
14938
|
+
// Their full 35-tool surface is generated into computer-use/schemas.ts and
|
|
14939
|
+
// registered via computer-use/index.ts (cast to ToolName). Duplicating a
|
|
14940
|
+
// subset here only goes stale on every cua-driver version bump — review
|
|
14941
|
+
// round 1 removed the old ocu-era 9-name list, which still carried
|
|
14942
|
+
// `get_app_state` / `perform_secondary_action` that no longer exist.
|
|
14916
14943
|
WORKFLOW: "workflow"
|
|
14917
14944
|
};
|
|
14918
14945
|
var ToolDisplayNames = {
|
|
@@ -14948,15 +14975,7 @@ var ToolDisplayNames = {
|
|
|
14948
14975
|
TOOL_SEARCH: "ToolSearch",
|
|
14949
14976
|
ENTER_WORKTREE: "EnterWorktree",
|
|
14950
14977
|
EXIT_WORKTREE: "ExitWorktree",
|
|
14951
|
-
|
|
14952
|
-
COMPUTER_USE_GET_APP_STATE: "computer_use__get_app_state",
|
|
14953
|
-
COMPUTER_USE_CLICK: "computer_use__click",
|
|
14954
|
-
COMPUTER_USE_PERFORM_SECONDARY_ACTION: "computer_use__perform_secondary_action",
|
|
14955
|
-
COMPUTER_USE_SCROLL: "computer_use__scroll",
|
|
14956
|
-
COMPUTER_USE_DRAG: "computer_use__drag",
|
|
14957
|
-
COMPUTER_USE_TYPE_TEXT: "computer_use__type_text",
|
|
14958
|
-
COMPUTER_USE_PRESS_KEY: "computer_use__press_key",
|
|
14959
|
-
COMPUTER_USE_SET_VALUE: "computer_use__set_value",
|
|
14978
|
+
// computer_use__* display names are not enumerated here (see ToolNames).
|
|
14960
14979
|
WORKFLOW: "Workflow"
|
|
14961
14980
|
};
|
|
14962
14981
|
var ToolNamesMigration = {
|