@qwen-code/qwen-code 0.17.0 → 0.17.1

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.
Files changed (91) hide show
  1. package/bundled/qc-helper/docs/configuration/_meta.ts +0 -3
  2. package/bundled/qc-helper/docs/configuration/settings.md +13 -12
  3. package/bundled/qc-helper/docs/configuration/themes.md +39 -0
  4. package/bundled/qc-helper/docs/features/approval-mode.md +26 -22
  5. package/bundled/qc-helper/docs/features/commands.md +68 -12
  6. package/bundled/qc-helper/docs/features/status-line.md +168 -32
  7. package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +16 -0
  8. package/bundled/simplify/SKILL.md +123 -0
  9. package/chunks/{agent-KVXFGIOU.js → agent-ZJHHICAC.js} +14 -13
  10. package/chunks/{anthropicContentGenerator-L4HWAOIV.js → anthropicContentGenerator-M45RXZVS.js} +48 -5
  11. package/chunks/{askUserQuestion-DC6OWQIL.js → askUserQuestion-TGRD7FNQ.js} +1 -1
  12. package/chunks/{ca-NMZFEGAU.js → ca-6RSCDYUS.js} +2 -1
  13. package/chunks/{chunk-7EHPK6TK.js → chunk-2KEXT6RB.js} +4007 -2390
  14. package/chunks/{chunk-J5VCSWPA.js → chunk-3PJXIDKI.js} +1153 -103
  15. package/chunks/{chunk-7NNBQRV7.js → chunk-5JBZM7FZ.js} +4 -4
  16. package/chunks/{chunk-EMVEDSVZ.js → chunk-6O244QKR.js} +43 -3
  17. package/chunks/chunk-7TQVELRB.js +10412 -0
  18. package/chunks/{chunk-HCSJIOLR.js → chunk-BNESGOSJ.js} +7450 -3516
  19. package/chunks/{chunk-MEN6IEKX.js → chunk-C5CUHYSM.js} +456 -1225
  20. package/chunks/{chunk-7YJIR2FX.js → chunk-G4K6P5KN.js} +8 -15
  21. package/chunks/chunk-HX3JRTWL.js +393 -0
  22. package/chunks/{chunk-V7LMZR76.js → chunk-JBSYXHJF.js} +1 -1
  23. package/chunks/{chunk-R2B65CAN.js → chunk-JKUAX6UT.js} +0 -1
  24. package/chunks/chunk-MRO43B25.js +30 -0
  25. package/chunks/{chunk-JI7FDD65.js → chunk-NJJER6E2.js} +9 -6
  26. package/chunks/{chunk-ODPVJ6JJ.js → chunk-OJFMTECH.js} +6 -1
  27. package/chunks/{chunk-QEXSIXLX.js → chunk-PLYRQYKC.js} +10 -10
  28. package/chunks/{chunk-U2K6HDUJ.js → chunk-QVJ33ZBG.js} +23 -13
  29. package/chunks/{chunk-HAQCNXSG.js → chunk-RQW7WUJR.js} +15 -0
  30. package/chunks/{chunk-UQRYJQBE.js → chunk-SOGUPKP6.js} +1 -1
  31. package/chunks/{chunk-6NUSWV4M.js → chunk-TDZCEIK6.js} +2 -0
  32. package/chunks/{chunk-4O2TWJK4.js → chunk-X2474BTT.js} +183 -40
  33. package/chunks/{computer-use-2J5ZXEER.js → computer-use-NAHQPV2L.js} +24 -6
  34. package/chunks/{contextCommand-52NTEMCT.js → contextCommand-7KJT3UJS.js} +16 -15
  35. package/chunks/{cron-create-FXRORK2U.js → cron-create-V3UK2SJN.js} +1 -1
  36. package/chunks/{cron-delete-D24IN6CA.js → cron-delete-MANALPCP.js} +1 -1
  37. package/chunks/{cron-list-SMOX26SL.js → cron-list-UDIYK3B3.js} +1 -1
  38. package/chunks/{de-OIMT3OMI.js → de-APURNJ3I.js} +2 -1
  39. package/chunks/{dist-GRQVFL3G.js → dist-ATAKC63R.js} +1 -1
  40. package/chunks/{edit-RLFUTT5F.js → edit-JWXCQ4KK.js} +14 -13
  41. package/chunks/{en-2IFZ5THF.js → en-FYO57HJW.js} +3 -1
  42. package/chunks/{enter-worktree-CYRAPQKJ.js → enter-worktree-G4CJXPT4.js} +14 -13
  43. package/chunks/{exit-worktree-WQZM72QD.js → exit-worktree-MYZ2FGU2.js} +14 -13
  44. package/chunks/{exitPlanMode-STFEBQZE.js → exitPlanMode-ELJ6FSMU.js} +14 -13
  45. package/chunks/{fr-PVELSHTV.js → fr-32YHQZIS.js} +2 -1
  46. package/chunks/{geminiContentGenerator-DIV32SKO.js → geminiContentGenerator-3LR7MKCQ.js} +4 -3
  47. package/chunks/{glob-N3XO4RVI.js → glob-CANUAUTC.js} +14 -13
  48. package/chunks/{grep-AK5MP7P3.js → grep-WZWNJRDX.js} +14 -13
  49. package/chunks/{ja-P5TK5GNN.js → ja-PEUXN4XT.js} +2 -1
  50. package/chunks/{ls-7FYQHPWF.js → ls-T4SVZWR6.js} +1 -1
  51. package/chunks/{lsp-DKG34USR.js → lsp-U4ZQLNIS.js} +1 -1
  52. package/chunks/{monitor-IVBWJZEZ.js → monitor-CCKNOUFG.js} +17 -14
  53. package/chunks/{multipart-parser-IXGBIOIN.js → multipart-parser-AJ4WASWR.js} +2 -2
  54. package/chunks/{notebook-edit-PM46AXFS.js → notebook-edit-XDUY5Q4I.js} +14 -13
  55. package/chunks/{openaiContentGenerator-4QXCH7L2.js → openaiContentGenerator-N3O3MYIT.js} +11 -10
  56. package/chunks/{pt-A5GHG66T.js → pt-2INS7YVC.js} +2 -1
  57. package/chunks/{qwenContentGenerator-BLXQIIMX.js → qwenContentGenerator-DEOIWKVH.js} +16 -15
  58. package/chunks/{qwenOAuth2-BAN2EGSH.js → qwenOAuth2-LKXG7XVO.js} +2 -1
  59. package/chunks/{read-file-IEQAS3EZ.js → read-file-BRNXGILN.js} +8 -7
  60. package/chunks/{ripGrep-HQO7IE4C.js → ripGrep-ZRY5PKUZ.js} +14 -13
  61. package/chunks/{ru-66XKB4QX.js → ru-6CQ5HNHB.js} +2 -1
  62. package/chunks/scheduler-SSFABMN5.js +306 -0
  63. package/chunks/{send-message-ZL7CDM7K.js → send-message-GFYV7WLL.js} +1 -1
  64. package/chunks/{serve-CYRAK4UM.js → serve-B5O72CRN.js} +43 -30
  65. package/chunks/{shell-UZBGNO2Q.js → shell-SGYNBVMK.js} +14 -13
  66. package/chunks/{skill-JVC34QYN.js → skill-V7Y6DOFB.js} +9 -8
  67. package/chunks/{src-TMOD5X6F.js → src-7XL4G4DC.js} +88 -46
  68. package/chunks/{src-FOODLH7B.js → src-OKFFQGXB.js} +41 -15
  69. package/chunks/{syntheticOutput-U3YJ3GOO.js → syntheticOutput-DM43O6TY.js} +2 -2
  70. package/chunks/{task-stop-NPUI3YBA.js → task-stop-WKP5OB3V.js} +1 -1
  71. package/chunks/{todoWrite-Y6F7YEIM.js → todoWrite-GHL6DCLP.js} +14 -3
  72. package/chunks/{tool-search-P7PRPOW3.js → tool-search-7MHT3HGM.js} +8 -7
  73. package/chunks/{web-fetch-XWEK4TFX.js → web-fetch-SZIV74ZX.js} +2 -2
  74. package/chunks/{write-file-SIIEUON5.js → write-file-ARS2Z6BJ.js} +16 -15
  75. package/chunks/{zh-TW-3ND6DQRX.js → zh-TW-SSL3ATVZ.js} +3 -1
  76. package/chunks/{zh-OB5P2ZDO.js → zh-ZHZCMIRG.js} +3 -1
  77. package/cli.js +38665 -53791
  78. package/locales/ca.js +2 -1
  79. package/locales/de.js +2 -1
  80. package/locales/en.js +4 -1
  81. package/locales/fr.js +2 -1
  82. package/locales/ja.js +2 -1
  83. package/locales/pt.js +2 -1
  84. package/locales/ru.js +2 -1
  85. package/locales/zh-TW.js +4 -1
  86. package/locales/zh.js +4 -1
  87. package/package.json +2 -2
  88. package/chunks/chunk-EM6ETG2K.js +0 -60
  89. package/chunks/chunk-TI4GXJKO.js +0 -4277
  90. package/chunks/multipart-parser-3QWGTLK3.js +0 -384
  91. package/chunks/src-IPWIHNMI.js +0 -1406
@@ -83,6 +83,7 @@ import {
83
83
  ExtensionManager,
84
84
  ExtensionSettingScope,
85
85
  ExtensionUpdateState,
86
+ FILE_HISTORY_DIR,
86
87
  FileDiscoveryService,
87
88
  FileEncoding,
88
89
  FileHistoryService,
@@ -132,6 +133,7 @@ import {
132
133
  MAX_FILES_FOR_DETAILS,
133
134
  MAX_GOAL_ITERATIONS,
134
135
  MAX_LINES_PER_FILE,
136
+ MAX_NOTIFICATION_OUTPUT_TAIL_BYTES,
135
137
  MAX_RETAINED_TERMINAL_AGENTS,
136
138
  MAX_RETAINED_TERMINAL_MONITORS,
137
139
  MAX_RETAINED_TERMINAL_SHELLS,
@@ -279,6 +281,7 @@ import {
279
281
  createFollowupController,
280
282
  createForkedChat,
281
283
  createGoalStopHookCallback,
284
+ createStreamableHttpCompatibilityFetch,
282
285
  createTmpDir,
283
286
  createToolUseSummaryMessage,
284
287
  createTransport,
@@ -335,6 +338,7 @@ import {
335
338
  firePreToolUseHook,
336
339
  flatMapTextParts,
337
340
  formatClassifierBlockMessage,
341
+ formatDenialStateLog,
338
342
  formatLineStats,
339
343
  formatMemoryUsage,
340
344
  formatStopHookBlockingCapWarning,
@@ -398,7 +402,6 @@ import {
398
402
  getSpecifierKind,
399
403
  getStructuredResponse,
400
404
  getStructuredResponseFromParts,
401
- getSubagentSystemReminder,
402
405
  getThoughtText,
403
406
  getWelcomeBackState,
404
407
  globalMemoryManager,
@@ -407,6 +410,7 @@ import {
407
410
  hasShellSubstitution,
408
411
  hasUnsafeMonitorBackgroundOperator,
409
412
  hashValue,
413
+ hookEventSupportsMatcher,
410
414
  hydrateString,
411
415
  ideContextStore,
412
416
  idealabProvider,
@@ -421,6 +425,7 @@ import {
421
425
  isCommandAllowed,
422
426
  isCommandAvailable,
423
427
  isCommandNeedsPermission,
428
+ isDenialFallbackReason,
424
429
  isEditorAvailable,
425
430
  isEnabled,
426
431
  isGenericQuotaExceededError,
@@ -601,11 +606,11 @@ import {
601
606
  writeWorktreeSession,
602
607
  writeWorktreeSessionMarker,
603
608
  zaiProvider
604
- } from "./chunk-7EHPK6TK.js";
609
+ } from "./chunk-2KEXT6RB.js";
605
610
  import "./chunk-24YKA2DA.js";
606
611
  import "./chunk-O4PICXES.js";
607
612
  import "./chunk-TW522KN6.js";
608
- import "./chunk-TI4GXJKO.js";
613
+ import "./chunk-7TQVELRB.js";
609
614
  import "./chunk-AKBFRR6J.js";
610
615
  import {
611
616
  InputFormat,
@@ -613,7 +618,7 @@ import {
613
618
  } from "./chunk-MLZQVCF3.js";
614
619
  import {
615
620
  runSideQuery
616
- } from "./chunk-EMVEDSVZ.js";
621
+ } from "./chunk-6O244QKR.js";
617
622
  import {
618
623
  buildSkillLlmContent
619
624
  } from "./chunk-EY6BDW7Y.js";
@@ -629,6 +634,7 @@ import {
629
634
  PermissionMode,
630
635
  PermissionRequestHookOutput,
631
636
  PostCompactTrigger,
637
+ PostToolBatchHookOutput,
632
638
  PostToolUseFailureHookOutput,
633
639
  PostToolUseHookOutput,
634
640
  PreCompactTrigger,
@@ -639,7 +645,7 @@ import {
639
645
  createHookOutput,
640
646
  detectTodoChanges,
641
647
  getHookKey
642
- } from "./chunk-HAQCNXSG.js";
648
+ } from "./chunk-RQW7WUJR.js";
643
649
  import {
644
650
  DEFAULT_FILE_FILTERING_OPTIONS,
645
651
  DEFAULT_MEMORY_FILE_FILTERING_OPTIONS
@@ -724,6 +730,7 @@ import {
724
730
  addToolResultAttributes,
725
731
  addToolSchemaAttributes,
726
732
  addUserPromptAttributes,
733
+ clearDetailedSpanState,
727
734
  countFileLines,
728
735
  createContentGenerator,
729
736
  createContentGeneratorConfig,
@@ -843,8 +850,8 @@ import {
843
850
  uiTelemetryService,
844
851
  validateModelConfig,
845
852
  windowsCodePageToEncoding
846
- } from "./chunk-MEN6IEKX.js";
847
- import "./chunk-J5VCSWPA.js";
853
+ } from "./chunk-C5CUHYSM.js";
854
+ import "./chunk-3PJXIDKI.js";
848
855
  import "./chunk-UWCTAVOD.js";
849
856
  import "./chunk-W57YDFU5.js";
850
857
  import {
@@ -872,8 +879,8 @@ import {
872
879
  getMemoryBaseDir,
873
880
  isAutoMemPath
874
881
  } from "./chunk-NQ3E7YLD.js";
875
- import "./chunk-ODPVJ6JJ.js";
876
- import "./chunk-UQRYJQBE.js";
882
+ import "./chunk-OJFMTECH.js";
883
+ import "./chunk-SOGUPKP6.js";
877
884
  import {
878
885
  ToolDisplayNames,
879
886
  ToolDisplayNamesMigration,
@@ -893,7 +900,7 @@ import {
893
900
  ToolErrorType,
894
901
  hasCycleInSchema,
895
902
  isTool
896
- } from "./chunk-R2B65CAN.js";
903
+ } from "./chunk-JKUAX6UT.js";
897
904
  import {
898
905
  CredentialsClearRequiredError,
899
906
  QWEN_CREDENTIAL_FILE_MODE,
@@ -912,8 +919,15 @@ import {
912
919
  isDeviceTokenSuccess,
913
920
  isErrorResponse,
914
921
  qwenOAuth2Events
915
- } from "./chunk-7YJIR2FX.js";
922
+ } from "./chunk-G4K6P5KN.js";
916
923
  import "./chunk-OIL7KDWV.js";
924
+ import {
925
+ atomicWriteFile,
926
+ atomicWriteFileSync,
927
+ atomicWriteJSON,
928
+ renameWithRetry,
929
+ renameWithRetrySync
930
+ } from "./chunk-HX3JRTWL.js";
917
931
  import {
918
932
  SUPPORTED_IMAGE_MIME_TYPES,
919
933
  TextTokenizer,
@@ -923,7 +937,7 @@ import {
923
937
  getUnsupportedImageFormatWarning,
924
938
  isSupportedImageMimeType,
925
939
  redactProxyCredentials
926
- } from "./chunk-U2K6HDUJ.js";
940
+ } from "./chunk-QVJ33ZBG.js";
927
941
  import {
928
942
  CAPPED_DEFAULT_MAX_TOKENS,
929
943
  DEFAULT_OUTPUT_TOKEN_LIMIT,
@@ -938,8 +952,8 @@ import {
938
952
  summarizeAnthropicWireRequest,
939
953
  summarizeOpenAIWireRequest,
940
954
  tokenLimit
941
- } from "./chunk-6NUSWV4M.js";
942
- import "./chunk-HCSJIOLR.js";
955
+ } from "./chunk-TDZCEIK6.js";
956
+ import "./chunk-BNESGOSJ.js";
943
957
  import "./chunk-SZOEIL6S.js";
944
958
  import "./chunk-5IFG2VC4.js";
945
959
  import {
@@ -1129,6 +1143,7 @@ export {
1129
1143
  ExtensionSettingScope,
1130
1144
  ExtensionUninstallEvent,
1131
1145
  ExtensionUpdateState,
1146
+ FILE_HISTORY_DIR,
1132
1147
  FatalAuthenticationError,
1133
1148
  FatalBudgetExceededError,
1134
1149
  FatalCancellationError,
@@ -1207,6 +1222,7 @@ export {
1207
1222
  MAX_FILES_FOR_DETAILS,
1208
1223
  MAX_GOAL_ITERATIONS,
1209
1224
  MAX_LINES_PER_FILE,
1225
+ MAX_NOTIFICATION_OUTPUT_TAIL_BYTES,
1210
1226
  MAX_RETAINED_TERMINAL_AGENTS,
1211
1227
  MAX_RETAINED_TERMINAL_MONITORS,
1212
1228
  MAX_RETAINED_TERMINAL_SHELLS,
@@ -1263,6 +1279,7 @@ export {
1263
1279
  PermissionMode,
1264
1280
  PermissionRequestHookOutput,
1265
1281
  PostCompactTrigger,
1282
+ PostToolBatchHookOutput,
1266
1283
  PostToolUseFailureHookOutput,
1267
1284
  PostToolUseHookOutput,
1268
1285
  PreCompactTrigger,
@@ -1378,6 +1395,9 @@ export {
1378
1395
  appendToLastTextPart,
1379
1396
  applyAutoModeDecision,
1380
1397
  applyProviderInstallPlan,
1398
+ atomicWriteFile,
1399
+ atomicWriteFileSync,
1400
+ atomicWriteJSON,
1381
1401
  buildApiHistoryFromConversation,
1382
1402
  buildBackgroundEntryLabel,
1383
1403
  buildDeferredToolsSection,
@@ -1403,6 +1423,7 @@ export {
1403
1423
  clearAutoMemoryRootCache,
1404
1424
  clearCacheSafeParams,
1405
1425
  clearCachedCredentialFile,
1426
+ clearDetailedSpanState,
1406
1427
  clearGoalTerminalObserver,
1407
1428
  clearQwenCredentials,
1408
1429
  clearRuntimeStatus,
@@ -1439,6 +1460,7 @@ export {
1439
1460
  createForkedChat,
1440
1461
  createGoalStopHookCallback,
1441
1462
  createHookOutput,
1463
+ createStreamableHttpCompatibilityFetch,
1442
1464
  createTmpDir,
1443
1465
  createToolUseSummaryMessage,
1444
1466
  createTransport,
@@ -1512,6 +1534,7 @@ export {
1512
1534
  firePreToolUseHook,
1513
1535
  flatMapTextParts,
1514
1536
  formatClassifierBlockMessage,
1537
+ formatDenialStateLog,
1515
1538
  formatLineStats,
1516
1539
  formatMemoryUsage,
1517
1540
  formatStopHookBlockingCapWarning,
@@ -1601,7 +1624,6 @@ export {
1601
1624
  getSpecifierKind,
1602
1625
  getStructuredResponse,
1603
1626
  getStructuredResponseFromParts,
1604
- getSubagentSystemReminder,
1605
1627
  getSupportedImageFormatsString,
1606
1628
  getSystemEncoding,
1607
1629
  getThoughtText,
@@ -1615,6 +1637,7 @@ export {
1615
1637
  hasShellSubstitution,
1616
1638
  hasUnsafeMonitorBackgroundOperator,
1617
1639
  hashValue,
1640
+ hookEventSupportsMatcher,
1618
1641
  hydrateString,
1619
1642
  ideContextStore,
1620
1643
  idealabProvider,
@@ -1634,6 +1657,7 @@ export {
1634
1657
  isCommandAvailable,
1635
1658
  isCommandNeedsPermission,
1636
1659
  isDebugLoggingDegraded,
1660
+ isDenialFallbackReason,
1637
1661
  isDeviceAuthorizationSuccess,
1638
1662
  isDeviceTokenPending,
1639
1663
  isDeviceTokenSuccess,
@@ -1825,6 +1849,8 @@ export {
1825
1849
  registerGoalHook,
1826
1850
  removeMCPServerStatus,
1827
1851
  removeMCPStatusChangeListener,
1852
+ renameWithRetry,
1853
+ renameWithRetrySync,
1828
1854
  repairOrphanedToolUseTurns,
1829
1855
  replayUiTelemetryFromConversation,
1830
1856
  resetDebugLoggingState,
@@ -3,9 +3,9 @@
3
3
  import {
4
4
  STRUCTURED_OUTPUT_REDACTED_ARGS,
5
5
  SyntheticOutputTool
6
- } from "./chunk-UQRYJQBE.js";
6
+ } from "./chunk-SOGUPKP6.js";
7
7
  import "./chunk-6RQTH7UQ.js";
8
- import "./chunk-R2B65CAN.js";
8
+ import "./chunk-JKUAX6UT.js";
9
9
  import "./chunk-ACBGEKB7.js";
10
10
  import "./chunk-QWSRH265.js";
11
11
  import "./chunk-A4BMJM77.js";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  BaseDeclarativeTool,
9
9
  BaseToolInvocation
10
- } from "./chunk-R2B65CAN.js";
10
+ } from "./chunk-JKUAX6UT.js";
11
11
  import "./chunk-ACBGEKB7.js";
12
12
  import "./chunk-QWSRH265.js";
13
13
  import {
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  detectTodoChanges
5
- } from "./chunk-HAQCNXSG.js";
5
+ } from "./chunk-RQW7WUJR.js";
6
6
  import {
7
7
  ToolDisplayNames,
8
8
  ToolNames
@@ -10,7 +10,10 @@ import {
10
10
  import {
11
11
  BaseDeclarativeTool,
12
12
  BaseToolInvocation
13
- } from "./chunk-R2B65CAN.js";
13
+ } from "./chunk-JKUAX6UT.js";
14
+ import {
15
+ atomicWriteFile
16
+ } from "./chunk-HX3JRTWL.js";
14
17
  import {
15
18
  Storage,
16
19
  createDebugLogger
@@ -208,6 +211,12 @@ The assistant did not use the todo list because this is a single command executi
208
211
  </reasoning>
209
212
  </example>
210
213
 
214
+ ## Planning with Todos
215
+
216
+ Before breaking work into low-level edits, use the todo list to reflect the overall approach at a meaningful level (for example: investigate, design, implement, verify). This helps maintain a global view of the task instead of jumping between isolated local changes.
217
+
218
+ When new information changes your understanding of the task, update the todo structure to reflect the revised plan rather than only appending isolated follow-up items. The todo list should continue to represent the current overall strategy.
219
+
211
220
  ## Task States and Management
212
221
 
213
222
  1. **Task States**: Use these states to track progress:
@@ -269,7 +278,9 @@ async function writeTodosToFile(todos, sessionId) {
269
278
  todos,
270
279
  sessionId: sessionId || "default"
271
280
  };
272
- await fs.writeFile(todoFilePath, JSON.stringify(data, null, 2), "utf-8");
281
+ await atomicWriteFile(todoFilePath, JSON.stringify(data, null, 2), {
282
+ encoding: "utf-8"
283
+ });
273
284
  }
274
285
  __name(writeTodosToFile, "writeTodosToFile");
275
286
  function createBlockedTodoResult(message, systemMessage) {
@@ -2,14 +2,14 @@
2
2
  "use strict";
3
3
  import {
4
4
  DiscoveredMCPTool
5
- } from "./chunk-MEN6IEKX.js";
6
- import "./chunk-J5VCSWPA.js";
5
+ } from "./chunk-C5CUHYSM.js";
6
+ import "./chunk-3PJXIDKI.js";
7
7
  import "./chunk-UWCTAVOD.js";
8
8
  import "./chunk-W57YDFU5.js";
9
9
  import "./chunk-OFEVLU4C.js";
10
10
  import "./chunk-NQ3E7YLD.js";
11
- import "./chunk-ODPVJ6JJ.js";
12
- import "./chunk-UQRYJQBE.js";
11
+ import "./chunk-OJFMTECH.js";
12
+ import "./chunk-SOGUPKP6.js";
13
13
  import {
14
14
  ToolDisplayNames,
15
15
  ToolNames
@@ -17,9 +17,10 @@ import {
17
17
  import {
18
18
  BaseDeclarativeTool,
19
19
  BaseToolInvocation
20
- } from "./chunk-R2B65CAN.js";
21
- import "./chunk-6NUSWV4M.js";
22
- import "./chunk-HCSJIOLR.js";
20
+ } from "./chunk-JKUAX6UT.js";
21
+ import "./chunk-HX3JRTWL.js";
22
+ import "./chunk-TDZCEIK6.js";
23
+ import "./chunk-BNESGOSJ.js";
23
24
  import "./chunk-SZOEIL6S.js";
24
25
  import "./chunk-5IFG2VC4.js";
25
26
  import {
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
  import {
4
4
  runSideQuery
5
- } from "./chunk-EMVEDSVZ.js";
5
+ } from "./chunk-6O244QKR.js";
6
6
  import "./chunk-OFEVLU4C.js";
7
7
  import {
8
8
  ToolDisplayNames,
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  BaseDeclarativeTool,
13
13
  BaseToolInvocation
14
- } from "./chunk-R2B65CAN.js";
14
+ } from "./chunk-JKUAX6UT.js";
15
15
  import {
16
16
  fetchWithTimeout,
17
17
  isPrivateIp
@@ -12,16 +12,16 @@ import {
12
12
  detectLineEnding,
13
13
  getDiffStat,
14
14
  needsUtf8Bom
15
- } from "./chunk-7EHPK6TK.js";
15
+ } from "./chunk-2KEXT6RB.js";
16
16
  import "./chunk-24YKA2DA.js";
17
17
  import "./chunk-O4PICXES.js";
18
18
  import "./chunk-TW522KN6.js";
19
- import "./chunk-TI4GXJKO.js";
19
+ import "./chunk-7TQVELRB.js";
20
20
  import "./chunk-AKBFRR6J.js";
21
21
  import "./chunk-MLZQVCF3.js";
22
- import "./chunk-EMVEDSVZ.js";
22
+ import "./chunk-6O244QKR.js";
23
23
  import "./chunk-EY6BDW7Y.js";
24
- import "./chunk-HAQCNXSG.js";
24
+ import "./chunk-RQW7WUJR.js";
25
25
  import "./chunk-77WXWU44.js";
26
26
  import "./chunk-GVWPJCXU.js";
27
27
  import {
@@ -30,16 +30,16 @@ import {
30
30
  getLanguageFromFilePath,
31
31
  getSpecificMimeType,
32
32
  logFileOperation
33
- } from "./chunk-MEN6IEKX.js";
34
- import "./chunk-J5VCSWPA.js";
33
+ } from "./chunk-C5CUHYSM.js";
34
+ import "./chunk-3PJXIDKI.js";
35
35
  import "./chunk-UWCTAVOD.js";
36
36
  import "./chunk-W57YDFU5.js";
37
37
  import "./chunk-OFEVLU4C.js";
38
38
  import {
39
39
  isAutoMemPath
40
40
  } from "./chunk-NQ3E7YLD.js";
41
- import "./chunk-ODPVJ6JJ.js";
42
- import "./chunk-UQRYJQBE.js";
41
+ import "./chunk-OJFMTECH.js";
42
+ import "./chunk-SOGUPKP6.js";
43
43
  import {
44
44
  ToolDisplayNames,
45
45
  ToolNames
@@ -47,12 +47,13 @@ import {
47
47
  import {
48
48
  BaseDeclarativeTool,
49
49
  BaseToolInvocation
50
- } from "./chunk-R2B65CAN.js";
51
- import "./chunk-7YJIR2FX.js";
50
+ } from "./chunk-JKUAX6UT.js";
51
+ import "./chunk-G4K6P5KN.js";
52
52
  import "./chunk-OIL7KDWV.js";
53
- import "./chunk-U2K6HDUJ.js";
54
- import "./chunk-6NUSWV4M.js";
55
- import "./chunk-HCSJIOLR.js";
53
+ import "./chunk-HX3JRTWL.js";
54
+ import "./chunk-QVJ33ZBG.js";
55
+ import "./chunk-TDZCEIK6.js";
56
+ import "./chunk-BNESGOSJ.js";
56
57
  import "./chunk-SZOEIL6S.js";
57
58
  import "./chunk-5IFG2VC4.js";
58
59
  import {
@@ -424,9 +425,9 @@ var WriteFileTool = class _WriteFileTool extends BaseDeclarativeTool {
424
425
  super(
425
426
  _WriteFileTool.Name,
426
427
  ToolDisplayNames.WRITE_FILE,
427
- `Writes content to a specified file in the local filesystem.
428
+ `Writes content to a specified file in the local filesystem. The file_path argument MUST be an absolute path. Always construct it by combining the project root with the file's relative path (e.g. project root '/path/to/project/' + relative 'foo/bar.txt' = '/path/to/project/foo/bar.txt'). If the user provides a relative path, resolve it against the project root first.
428
429
 
429
- The user has the ability to modify \`content\`. If modified, this will be stated in the response.`,
430
+ The user has the ability to modify \`content\`. If modified, this will be stated in the response.`,
430
431
  "edit" /* Edit */,
431
432
  {
432
433
  properties: {
@@ -18,6 +18,7 @@ var zh_TW_default = {
18
18
  "@src/myFile.ts": "@src/myFile.ts",
19
19
  "Shell mode": "Shell \u6A21\u5F0F",
20
20
  "YOLO mode": "YOLO \u6A21\u5F0F",
21
+ "Auto mode": "Auto \u6A21\u5F0F",
21
22
  "plan mode": "\u898F\u5283\u6A21\u5F0F",
22
23
  "auto-accept edits": "\u81EA\u52D5\u63A5\u53D7\u7DE8\u8F2F",
23
24
  "Accepting edits": "\u63A5\u53D7\u7DE8\u8F2F",
@@ -348,7 +349,7 @@ var zh_TW_default = {
348
349
  Text: "\u6587\u672C",
349
350
  JSON: "JSON",
350
351
  Plan: "\u898F\u5283",
351
- Default: "\u9ED8\u8A8D",
352
+ "Ask permissions": "\u8ACB\u6C42\u6388\u6B0A",
352
353
  "Auto Edit": "\u81EA\u52D5\u7DE8\u8F2F",
353
354
  YOLO: "YOLO",
354
355
  "toggle vim mode on/off": "\u5207\u63DB vim \u6A21\u5F0F\u958B\u95DC",
@@ -1162,6 +1163,7 @@ var zh_TW_default = {
1162
1163
  // === Core: added from PR #3328 ===
1163
1164
  "Open the memory manager.": "\u6253\u958B\u8A18\u61B6\u7BA1\u7406\u5668\u3002",
1164
1165
  "Show current process memory diagnostics": "\u986F\u793A\u76EE\u524D\u7A0B\u5E8F\u7684\u5167\u5B58\u8A3A\u65B7\u3002",
1166
+ "Record a CPU profile for Chrome DevTools analysis": "\u9304\u88FD CPU \u6548\u80FD\u5206\u6790\u6A94\u6848\uFF0C\u7528\u65BC Chrome DevTools \u5206\u6790",
1165
1167
  "Save a durable memory to the memory system.": "\u5C07\u6301\u4E45\u8A18\u61B6\u4FDD\u5B58\u5230\u8A18\u61B6\u7CFB\u7D71\u3002",
1166
1168
  "Ask a quick side question without affecting the main conversation": "\u5728\u4E0D\u5F71\u97FF\u4E3B\u5C0D\u8A71\u7684\u60C5\u6CC1\u4E0B\u5FEB\u901F\u63D0\u554F\u65C1\u652F\u554F\u984C",
1167
1169
  "Manage Arena sessions": "\u7BA1\u7406 Arena \u6703\u8A71",
@@ -22,6 +22,7 @@ var zh_default = {
22
22
  "@src/myFile.ts": "@src/myFile.ts",
23
23
  "Shell mode": "Shell \u6A21\u5F0F",
24
24
  "YOLO mode": "YOLO \u6A21\u5F0F",
25
+ "Auto mode": "Auto \u6A21\u5F0F",
25
26
  "plan mode": "\u89C4\u5212\u6A21\u5F0F",
26
27
  "auto-accept edits": "\u81EA\u52A8\u63A5\u53D7\u7F16\u8F91",
27
28
  "Accepting edits": "\u63A5\u53D7\u7F16\u8F91",
@@ -381,7 +382,7 @@ var zh_default = {
381
382
  Text: "\u6587\u672C",
382
383
  JSON: "JSON",
383
384
  Plan: "\u89C4\u5212",
384
- Default: "\u9ED8\u8BA4",
385
+ "Ask permissions": "\u8BF7\u6C42\u6388\u6743",
385
386
  "Auto Edit": "\u81EA\u52A8\u7F16\u8F91",
386
387
  YOLO: "YOLO",
387
388
  "toggle vim mode on/off": "\u5207\u6362 vim \u6A21\u5F0F\u5F00\u5173",
@@ -1343,6 +1344,7 @@ var zh_default = {
1343
1344
  "Loading suggestions...": "\u6B63\u5728\u52A0\u8F7D\u5EFA\u8BAE...",
1344
1345
  "Open the memory manager.": "\u6253\u5F00\u8BB0\u5FC6\u7BA1\u7406\u5668\u3002",
1345
1346
  "Show current process memory diagnostics": "\u663E\u793A\u5F53\u524D\u8FDB\u7A0B\u7684\u5185\u5B58\u8BCA\u65AD\u3002",
1347
+ "Record a CPU profile for Chrome DevTools analysis": "\u5F55\u5236 CPU \u6027\u80FD\u5206\u6790\u6587\u4EF6\uFF0C\u7528\u4E8E Chrome DevTools \u5206\u6790",
1346
1348
  "Save a durable memory to the memory system.": "\u5C06\u4E00\u6761\u6301\u4E45\u8BB0\u5FC6\u4FDD\u5B58\u5230\u8BB0\u5FC6\u7CFB\u7EDF\u3002",
1347
1349
  "Show per-item context usage breakdown.": "\u663E\u793A\u6309\u9879\u76EE\u5212\u5206\u7684\u4E0A\u4E0B\u6587\u4F7F\u7528\u8BE6\u60C5\u3002",
1348
1350
  "Manage extension settings": "\u7BA1\u7406\u6269\u5C55\u8BBE\u7F6E",