@qwen-code/qwen-code 0.18.0-preview.1 → 0.18.0-preview.2

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 (107) hide show
  1. package/bundled/qc-helper/SKILL.md +1 -2
  2. package/bundled/qc-helper/docs/configuration/settings.md +17 -19
  3. package/bundled/qc-helper/docs/features/_meta.ts +0 -3
  4. package/bundled/qc-helper/docs/features/commands.md +14 -12
  5. package/bundled/qc-helper/docs/features/scheduled-tasks.md +1 -1
  6. package/bundled/qc-helper/docs/features/sub-agents.md +39 -0
  7. package/chunks/{agent-SXS4NQWS.js → agent-QB7TZ4HW.js} +22 -16
  8. package/chunks/agent-headless-APVHH7QM.js +50 -0
  9. package/chunks/{anthropicContentGenerator-4QBVSFSJ.js → anthropicContentGenerator-M45EVVRM.js} +4 -4
  10. package/chunks/{askUserQuestion-NOOLRWCJ.js → askUserQuestion-WM2KHM3K.js} +2 -2
  11. package/chunks/{ca-WRHFBIDH.js → ca-BARBRL6N.js} +48 -1
  12. package/chunks/{chunk-G763GDO6.js → chunk-2ZTWI7KH.js} +15 -3
  13. package/chunks/chunk-64WXLC72.js +98 -0
  14. package/chunks/{chunk-NQZ33PWX.js → chunk-7YKXFA3D.js} +11 -11
  15. package/chunks/chunk-AJIR24J2.js +59 -0
  16. package/chunks/{chunk-ERREX2ES.js → chunk-AVW55ZCO.js} +61 -23
  17. package/chunks/{chunk-SHUT5MQY.js → chunk-CNHFPN7T.js} +1 -1
  18. package/chunks/{chunk-5RNZ2QKF.js → chunk-CNSMKPK6.js} +1 -1
  19. package/chunks/{chunk-BBTV54KB.js → chunk-CWV3SJZS.js} +2 -2
  20. package/chunks/{chunk-GBEPNWYB.js → chunk-GX7VH5JQ.js} +1 -1
  21. package/chunks/chunk-HGJPQK33.js +2231 -0
  22. package/chunks/chunk-HV3ZZ7G4.js +159 -0
  23. package/chunks/{chunk-ZW7GBCRE.js → chunk-HXJE7VOG.js} +20 -31
  24. package/chunks/{chunk-PLYZAP4W.js → chunk-ICOI4E4S.js} +1 -1
  25. package/chunks/{chunk-6VFG3EUJ.js → chunk-JUGRPQAB.js} +1 -1
  26. package/chunks/{chunk-AVLOK27J.js → chunk-JVQOQ3OU.js} +1 -1
  27. package/chunks/{chunk-R5PDRHEF.js → chunk-JXAZUMDW.js} +67 -45
  28. package/chunks/{chunk-UABFCMPA.js → chunk-KC6ZMJ5X.js} +3 -1
  29. package/chunks/chunk-LD2XBG6Z.js +102 -0
  30. package/chunks/{chunk-MVX64PNU.js → chunk-LR62TEET.js} +1 -1
  31. package/chunks/{chunk-JMLIPZUU.js → chunk-MVIVIPCU.js} +3 -3
  32. package/chunks/{chunk-KOA52UTF.js → chunk-NW5QBUYO.js} +6 -6
  33. package/chunks/{chunk-JSYEZAYV.js → chunk-P4J26VDS.js} +2 -2
  34. package/chunks/{chunk-SCHRFI7O.js → chunk-PAEBHDIO.js} +1 -1
  35. package/chunks/{chunk-6KH2Q7XN.js → chunk-QCG6KPNM.js} +3685 -1897
  36. package/chunks/chunk-SKBPNJEW.js +45 -0
  37. package/chunks/{chunk-F5ORN4YO.js → chunk-UAMOBVVW.js} +1 -1
  38. package/chunks/chunk-XBFVXFB2.js +216 -0
  39. package/chunks/{chunk-D46KOV3C.js → chunk-Y7R6H6FT.js} +1 -1
  40. package/chunks/{chunk-F6FLCHCS.js → chunk-ZK4AMNIU.js} +39 -12
  41. package/chunks/{computer-use-CT6MU6P3.js → computer-use-B7VIUI7F.js} +22 -16
  42. package/chunks/contextCommand-63RZ3O5R.js +52 -0
  43. package/chunks/{cron-create-PIPMXQN4.js → cron-create-FI5LJVUS.js} +2 -2
  44. package/chunks/{cron-delete-6Y5XIDMS.js → cron-delete-ZGUXWBTG.js} +2 -2
  45. package/chunks/{cron-list-A4WNRUWZ.js → cron-list-QNNZGMN3.js} +2 -2
  46. package/chunks/{de-M5RPB2NB.js → de-YGKK2BC4.js} +48 -1
  47. package/chunks/{edit-A4YK7AIB.js → edit-6UBTS2J5.js} +23 -17
  48. package/chunks/{en-UMYKQAZE.js → en-HSQQNQUB.js} +73 -2
  49. package/chunks/{enter-worktree-VNEQINLC.js → enter-worktree-NN7LIXCM.js} +22 -16
  50. package/chunks/{exit-worktree-AVSMXC33.js → exit-worktree-GGSS5KIE.js} +22 -16
  51. package/chunks/{exitPlanMode-5SQYVROD.js → exitPlanMode-H323NHB2.js} +22 -16
  52. package/chunks/{fr-MPYXXXPW.js → fr-JXBKPJKQ.js} +48 -1
  53. package/chunks/{geminiContentGenerator-CR2WGARL.js → geminiContentGenerator-I4H2NLJG.js} +4 -4
  54. package/chunks/{glob-5V32KOG5.js → glob-OLCX57MD.js} +22 -16
  55. package/chunks/{grep-PUTEPBR4.js → grep-7HXIMDOW.js} +22 -16
  56. package/chunks/{ja-NFZ32AB3.js → ja-TGPZSP2B.js} +48 -1
  57. package/chunks/{keychain-token-storage-UHGOCDD6.js → keychain-token-storage-LB46DAEK.js} +2 -2
  58. package/chunks/{ls-34DLNYCD.js → ls-6PEZUK6O.js} +3 -3
  59. package/chunks/{lsp-NCDEHH3V.js → lsp-JZSJOVT7.js} +2 -2
  60. package/chunks/{monitor-EJBR5VCR.js → monitor-SQO7MVAV.js} +22 -16
  61. package/chunks/{notebook-edit-DZHGPP2L.js → notebook-edit-72L3EBAL.js} +23 -17
  62. package/chunks/{openaiContentGenerator-4QNV3CHM.js → openaiContentGenerator-FTR7CDWF.js} +12 -11
  63. package/chunks/{pt-BR43FRBA.js → pt-TIBG6BIO.js} +48 -1
  64. package/chunks/{qwenContentGenerator-3XOCEMQO.js → qwenContentGenerator-U5UFQ566.js} +24 -18
  65. package/chunks/{qwenOAuth2-KRJT35QH.js → qwenOAuth2-EFSECGHF.js} +4 -4
  66. package/chunks/{read-file-VZ2SQQIX.js → read-file-UA64EEQC.js} +8 -8
  67. package/chunks/{ripGrep-SBIZCPOL.js → ripGrep-WSYCWZVK.js} +22 -16
  68. package/chunks/{ru-DQCW2KHD.js → ru-JBCHCK4L.js} +48 -1
  69. package/chunks/{scheduler-H32DZVDV.js → scheduler-VBASHOCA.js} +22 -16
  70. package/chunks/send-message-OYJZ5TPG.js +244 -0
  71. package/chunks/{serve-56G4B5W6.js → serve-A7E2OJDR.js} +45 -36
  72. package/chunks/{shell-Q77KNP4N.js → shell-3NFOT6F5.js} +22 -16
  73. package/chunks/{skill-CLWFJYBG.js → skill-RA5YUREY.js} +10 -10
  74. package/chunks/{src-47L2LUOU.js → src-NFCMARMT.js} +182 -23
  75. package/chunks/{syntheticOutput-T5SWX3YF.js → syntheticOutput-DETQ2YM6.js} +3 -3
  76. package/chunks/task-create-Y3ZKTJIG.js +19 -0
  77. package/chunks/task-list-ONXJ3I3A.js +151 -0
  78. package/chunks/{task-stop-3VHAQMYM.js → task-stop-UHDC4N5B.js} +2 -2
  79. package/chunks/task-update-TCNOU3P5.js +397 -0
  80. package/chunks/team-create-6SR4OVRG.js +313 -0
  81. package/chunks/team-delete-EJ4U4DDP.js +114 -0
  82. package/chunks/{todoWrite-EAGJGKO5.js → todoWrite-TEYDRS5L.js} +4 -4
  83. package/chunks/{tool-search-Q75AYDTP.js → tool-search-OD435A3X.js} +8 -8
  84. package/chunks/{web-fetch-SS6IKK6N.js → web-fetch-6W67H5PO.js} +4 -4
  85. package/chunks/workflow-62DHH4EO.js +708 -0
  86. package/chunks/{write-file-RENGC25N.js → write-file-475L5OPP.js} +23 -17
  87. package/chunks/{zh-TW-IQZ4AD5M.js → zh-TW-G3HFHVVT.js} +74 -6
  88. package/chunks/{zh-6VFXOAR5.js → zh-VCLWO26Y.js} +77 -6
  89. package/cli.js +6417 -3115
  90. package/examples/agent/qwen-extension.json +1 -0
  91. package/examples/commands/qwen-extension.json +1 -0
  92. package/examples/context/qwen-extension.json +1 -0
  93. package/examples/mcp-server/qwen-extension.json +1 -0
  94. package/examples/skills/qwen-extension.json +1 -0
  95. package/locales/ca.js +51 -0
  96. package/locales/de.js +51 -0
  97. package/locales/en.js +83 -2
  98. package/locales/fr.js +53 -2
  99. package/locales/ja.js +52 -2
  100. package/locales/pt.js +52 -2
  101. package/locales/ru.js +53 -2
  102. package/locales/zh-TW.js +85 -11
  103. package/locales/zh.js +89 -11
  104. package/package.json +2 -2
  105. package/bundled/qc-helper/docs/features/checkpointing.md +0 -77
  106. package/chunks/contextCommand-YODJQYIV.js +0 -46
  107. package/chunks/send-message-YYF56TS7.js +0 -151
@@ -19,8 +19,6 @@ import {
19
19
  AgentEventType,
20
20
  AgentHeadless,
21
21
  AgentInteractive,
22
- AgentStatus,
23
- AgentTerminateMode,
24
22
  ApprovalMode,
25
23
  ArenaAgentClient,
26
24
  ArenaEventEmitter,
@@ -96,7 +94,6 @@ import {
96
94
  GeminiClient,
97
95
  GeminiEventType,
98
96
  GitIgnoreParser,
99
- GitService,
100
97
  GitWorktreeService,
101
98
  HookRegistry,
102
99
  HookSystem,
@@ -207,6 +204,9 @@ import {
207
204
  TOKEN_PLAN_ENV_KEY,
208
205
  TOOL_NAME_ALIASES,
209
206
  TOOL_USE_SUMMARY_SYSTEM_PROMPT,
207
+ TeamEventEmitter,
208
+ TeamEventType,
209
+ TeamManager,
210
210
  TmuxBackend,
211
211
  ToolRegistry,
212
212
  TrustGateError,
@@ -228,6 +228,7 @@ import {
228
228
  acquireSleepInhibitor,
229
229
  activeGoalEquals,
230
230
  addMCPStatusChangeListener,
231
+ aggregateUsage,
231
232
  alibabaStandardProvider,
232
233
  allowEditorTypeInSandbox,
233
234
  appendToLastTextPart,
@@ -247,6 +248,7 @@ import {
247
248
  buildProviderTemplate,
248
249
  buildShellExecWarnings,
249
250
  buildStartupContextReminder,
251
+ buildTeammatePromptAddendum,
250
252
  canUseRipgrep,
251
253
  checkArgumentSafety,
252
254
  checkCommandPermissions,
@@ -256,8 +258,10 @@ import {
256
258
  cleanSummary,
257
259
  cleanupTmpDir,
258
260
  clearActiveGoal,
261
+ clearAllInboxes,
259
262
  clearCacheSafeParams,
260
263
  clearGoalTerminalObserver,
264
+ clearInbox,
261
265
  clearRuntimeStatus,
262
266
  clearWelcomeBackState,
263
267
  clearWorktreeSession,
@@ -271,6 +275,7 @@ import {
271
275
  computedSource,
272
276
  connectAndDiscover,
273
277
  connectToMcpServer,
278
+ consumeUnread,
274
279
  convertClaudeAgentConfig,
275
280
  convertClaudePluginPackage,
276
281
  convertClaudeToQwenConfig,
@@ -389,6 +394,7 @@ import {
389
394
  getGitRepoName,
390
395
  getIdeInstaller,
391
396
  getIdeServerHost,
397
+ getInboxPath,
392
398
  getInitialChatHistory,
393
399
  getInsightPrompt,
394
400
  getLastGoalTerminal,
@@ -414,6 +420,7 @@ import {
414
420
  getStructuredResponse,
415
421
  getStructuredResponseFromParts,
416
422
  getThoughtText,
423
+ getTimeRangeBounds,
417
424
  getWelcomeBackState,
418
425
  globalMemoryManager,
419
426
  hasNetworkTransport,
@@ -452,12 +459,9 @@ import {
452
459
  isSchemaDepthError,
453
460
  isScopedNpmPackage,
454
461
  isSdkMcpServerConfig,
455
- isSettledStatus,
456
462
  isStructuredError,
457
- isSuccessStatus,
458
463
  isSystemReminderContent,
459
464
  isTerminalEditor,
460
- isTerminalStatus,
461
465
  isTomlFormat,
462
466
  isToolEnabled,
463
467
  isTransientCapacityError,
@@ -469,6 +473,7 @@ import {
469
473
  layer,
470
474
  loadIgnoreRules,
471
475
  loadServerHierarchicalMemory,
476
+ loadUsageHistory,
472
477
  makeFakeConfig,
473
478
  matchesCommandPattern,
474
479
  matchesDomainPattern,
@@ -479,6 +484,7 @@ import {
479
484
  mcpServerRequiresOAuth,
480
485
  mcpTransportOf,
481
486
  mergeClaudeConfigs,
487
+ metricsToUsageRecord,
482
488
  minimaxProvider,
483
489
  modelProvidersSource,
484
490
  modelscopeProvider,
@@ -512,6 +518,7 @@ import {
512
518
  passesAcceptEditsFastPath,
513
519
  performVariableReplacement,
514
520
  persistPermissionOutcome,
521
+ persistSessionUsage,
515
522
  populateMcpServerCommand,
516
523
  prependToFirstTextPart,
517
524
  promptForSetting,
@@ -519,6 +526,7 @@ import {
519
526
  providerMatchesCredentials,
520
527
  read,
521
528
  readAutoMemoryIndex,
529
+ readInbox,
522
530
  readLastJsonStringFieldSync,
523
531
  readLastJsonStringFieldsSync,
524
532
  readLines,
@@ -573,6 +581,7 @@ import {
573
581
  sanitizeToolCallResultForRecording,
574
582
  saveCacheSafeParams,
575
583
  saveWelcomeBackRestartChoice,
584
+ sendStructuredMessage,
576
585
  serializeTerminalToObject,
577
586
  serializeTerminalToText,
578
587
  setActiveGoal,
@@ -616,26 +625,99 @@ import {
616
625
  write,
617
626
  writeLine,
618
627
  writeLineSync,
628
+ writeMessage,
619
629
  writeRuntimeStatus,
620
630
  writeWorkspaceContextFile,
621
631
  writeWorktreeSession,
622
632
  writeWorktreeSessionMarker,
623
633
  zaiProvider
624
- } from "./chunk-6KH2Q7XN.js";
634
+ } from "./chunk-QCG6KPNM.js";
625
635
  import "./chunk-K5PGHDBN.js";
636
+ import {
637
+ AgentStatus,
638
+ AgentTerminateMode,
639
+ isSettledStatus,
640
+ isSuccessStatus,
641
+ isTerminalStatus
642
+ } from "./chunk-SKBPNJEW.js";
626
643
  import "./chunk-O4PICXES.js";
627
644
  import "./chunk-TW522KN6.js";
645
+ import {
646
+ forwardApproval,
647
+ getLeader,
648
+ registerLeader,
649
+ unregisterLeader,
650
+ wrapConfirmWithBadge
651
+ } from "./chunk-AJIR24J2.js";
652
+ import {
653
+ TaskOwnershipError,
654
+ assertValidTaskId,
655
+ blockTask,
656
+ claimTask,
657
+ createTask,
658
+ deleteTask,
659
+ getAgentStatuses,
660
+ getTask,
661
+ getTaskPath,
662
+ listTasks,
663
+ notifyTasksUpdated,
664
+ onTasksUpdated,
665
+ releaseOwnedTask,
666
+ resetTaskList,
667
+ unassignTeammateTasks,
668
+ updateTask
669
+ } from "./chunk-HGJPQK33.js";
670
+ import {
671
+ assignTeammateColor,
672
+ clearTeammateColors,
673
+ createTeamFile,
674
+ deleteTeamDirs,
675
+ findMemberById,
676
+ findMemberByName,
677
+ formatAgentId,
678
+ generateUniqueTeammateName,
679
+ getInboxesDir,
680
+ getTasksDir,
681
+ getTeamDir,
682
+ getTeamFilePath,
683
+ getTeamsRootDir,
684
+ listTeamNames,
685
+ readTeamFile,
686
+ sanitizeName,
687
+ setMemberActive,
688
+ tryReclaimStaleTeam,
689
+ writeTeamFile
690
+ } from "./chunk-XBFVXFB2.js";
628
691
  import {
629
692
  InputFormat,
630
693
  OutputFormat
631
694
  } from "./chunk-MLZQVCF3.js";
632
695
  import {
633
696
  runSideQuery
634
- } from "./chunk-SCHRFI7O.js";
697
+ } from "./chunk-PAEBHDIO.js";
698
+ import {
699
+ INBOXES_DIR,
700
+ LEADER_NAME,
701
+ MAX_TEAMMATES,
702
+ TASKS_DIR,
703
+ TEAMMATE_COLORS,
704
+ TEAMS_DIR,
705
+ TEAM_CONFIG_FILENAME,
706
+ getAgentName,
707
+ getTeamName,
708
+ getTeammateColor,
709
+ getTeammateContext,
710
+ isInProcessTeammate,
711
+ isTeamLead,
712
+ isTeammate,
713
+ resolveActiveTeamName,
714
+ runWithTeammateIdentity,
715
+ teammateIdentityStore
716
+ } from "./chunk-LD2XBG6Z.js";
635
717
  import {
636
718
  applySkillAllowedTools,
637
719
  buildSkillLlmContent
638
- } from "./chunk-PLYZAP4W.js";
720
+ } from "./chunk-ICOI4E4S.js";
639
721
  import {
640
722
  AgentType,
641
723
  DefaultHookOutput,
@@ -662,14 +744,15 @@ import {
662
744
  detectTodoChanges,
663
745
  getHookKey,
664
746
  sanitizeUserPromptExpansionAdditionalContext
665
- } from "./chunk-UABFCMPA.js";
747
+ } from "./chunk-KC6ZMJ5X.js";
666
748
  import {
667
749
  DEFAULT_FILE_FILTERING_OPTIONS,
668
750
  DEFAULT_MEMORY_FILE_FILTERING_OPTIONS
669
751
  } from "./chunk-77WXWU44.js";
670
752
  import {
671
753
  KeychainTokenStorage
672
- } from "./chunk-6VFG3EUJ.js";
754
+ } from "./chunk-JUGRPQAB.js";
755
+ import "./chunk-64WXLC72.js";
673
756
  import {
674
757
  AGENT_CONTEXT_FILENAME,
675
758
  ApiCancelEvent,
@@ -873,7 +956,7 @@ import {
873
956
  uiTelemetryService,
874
957
  validateModelConfig,
875
958
  windowsCodePageToEncoding
876
- } from "./chunk-F6FLCHCS.js";
959
+ } from "./chunk-ZK4AMNIU.js";
877
960
  import "./chunk-3PJXIDKI.js";
878
961
  import "./chunk-UWCTAVOD.js";
879
962
  import {
@@ -906,9 +989,9 @@ import {
906
989
  isAnyAutoMemPath,
907
990
  isAutoMemPath,
908
991
  isUserAutoMemPath
909
- } from "./chunk-AVLOK27J.js";
910
- import "./chunk-JSYEZAYV.js";
911
- import "./chunk-5RNZ2QKF.js";
992
+ } from "./chunk-JVQOQ3OU.js";
993
+ import "./chunk-P4J26VDS.js";
994
+ import "./chunk-CNSMKPK6.js";
912
995
  import {
913
996
  AgentStatistics,
914
997
  BaseDeclarativeTool,
@@ -926,7 +1009,7 @@ import {
926
1009
  ToolNamesMigration,
927
1010
  hasCycleInSchema,
928
1011
  isTool
929
- } from "./chunk-G763GDO6.js";
1012
+ } from "./chunk-2ZTWI7KH.js";
930
1013
  import {
931
1014
  CredentialsClearRequiredError,
932
1015
  QWEN_CREDENTIAL_FILE_MODE,
@@ -945,15 +1028,15 @@ import {
945
1028
  isDeviceTokenSuccess,
946
1029
  isErrorResponse,
947
1030
  qwenOAuth2Events
948
- } from "./chunk-JMLIPZUU.js";
949
- import "./chunk-GBEPNWYB.js";
1031
+ } from "./chunk-MVIVIPCU.js";
1032
+ import "./chunk-GX7VH5JQ.js";
950
1033
  import {
951
1034
  atomicWriteFile,
952
1035
  atomicWriteFileSync,
953
1036
  atomicWriteJSON,
954
1037
  renameWithRetry,
955
1038
  renameWithRetrySync
956
- } from "./chunk-F5ORN4YO.js";
1039
+ } from "./chunk-UAMOBVVW.js";
957
1040
  import {
958
1041
  SUPPORTED_IMAGE_MIME_TYPES,
959
1042
  TextTokenizer,
@@ -963,7 +1046,7 @@ import {
963
1046
  getUnsupportedImageFormatWarning,
964
1047
  isSupportedImageMimeType,
965
1048
  redactProxyCredentials
966
- } from "./chunk-MVX64PNU.js";
1049
+ } from "./chunk-LR62TEET.js";
967
1050
  import {
968
1051
  CAPPED_DEFAULT_MAX_TOKENS,
969
1052
  DEFAULT_OUTPUT_TOKEN_LIMIT,
@@ -978,7 +1061,7 @@ import {
978
1061
  summarizeAnthropicWireRequest,
979
1062
  summarizeOpenAIWireRequest,
980
1063
  tokenLimit
981
- } from "./chunk-D46KOV3C.js";
1064
+ } from "./chunk-Y7R6H6FT.js";
982
1065
  import "./chunk-BNESGOSJ.js";
983
1066
  import "./chunk-SZOEIL6S.js";
984
1067
  import "./chunk-5IFG2VC4.js";
@@ -1004,10 +1087,12 @@ import {
1004
1087
  createDebugLogger,
1005
1088
  escapePath,
1006
1089
  expandHomeDir,
1090
+ formatTraceparent,
1007
1091
  getErrorMessage,
1008
1092
  getErrorStatus,
1009
1093
  getErrorType,
1010
1094
  getProjectHash,
1095
+ getTraceContext,
1011
1096
  isAbortError,
1012
1097
  isDebugLoggingDegraded,
1013
1098
  isNodeError,
@@ -1026,7 +1111,7 @@ import {
1026
1111
  unescapePath,
1027
1112
  updateSymlink,
1028
1113
  validatePath
1029
- } from "./chunk-R5PDRHEF.js";
1114
+ } from "./chunk-JXAZUMDW.js";
1030
1115
  import "./chunk-ZERZSAZL.js";
1031
1116
  import "./chunk-QN5NZ3UQ.js";
1032
1117
  import "./chunk-BR4QREVK.js";
@@ -1196,7 +1281,6 @@ export {
1196
1281
  GeminiClient,
1197
1282
  GeminiEventType,
1198
1283
  GitIgnoreParser,
1199
- GitService,
1200
1284
  GitWorktreeService,
1201
1285
  HOOKS_CONFIG_FIELDS,
1202
1286
  HookEventName,
@@ -1211,6 +1295,7 @@ export {
1211
1295
  IDE_MAX_SELECTED_TEXT_LENGTH,
1212
1296
  IDE_REQUEST_TIMEOUT_MS,
1213
1297
  IDLE_SPECULATION,
1298
+ INBOXES_DIR,
1214
1299
  INITIAL_FOLLOWUP_STATE,
1215
1300
  INSTALL_METADATA_FILENAME,
1216
1301
  ITermBackend,
@@ -1231,6 +1316,7 @@ export {
1231
1316
  KeychainTokenStorage,
1232
1317
  Kind,
1233
1318
  KittySequenceOverflowEvent,
1319
+ LEADER_NAME,
1234
1320
  LITE_READ_BUF_SIZE,
1235
1321
  LOCAL_CONTEXT_FILENAME,
1236
1322
  Logger,
@@ -1252,6 +1338,7 @@ export {
1252
1338
  MAX_RETAINED_TERMINAL_AGENTS,
1253
1339
  MAX_RETAINED_TERMINAL_MONITORS,
1254
1340
  MAX_RETAINED_TERMINAL_SHELLS,
1341
+ MAX_TEAMMATES,
1255
1342
  MAX_TRANSCRIPT_MESSAGES,
1256
1343
  MAX_USER_PROMPT_EXPANSION_ADDITIONAL_CONTEXT_LENGTH,
1257
1344
  MCPDiscoveryState,
@@ -1367,6 +1454,10 @@ export {
1367
1454
  SubagentErrorCode,
1368
1455
  SubagentManager,
1369
1456
  SubagentValidator,
1457
+ TASKS_DIR,
1458
+ TEAMMATE_COLORS,
1459
+ TEAMS_DIR,
1460
+ TEAM_CONFIG_FILENAME,
1370
1461
  TERMINAL_CSI_REGEX,
1371
1462
  TERMINAL_OSC_REGEX,
1372
1463
  TERMINAL_SHIFT_DCS_REGEX,
@@ -1375,6 +1466,10 @@ export {
1375
1466
  TOKEN_PLAN_ENV_KEY,
1376
1467
  TOOL_NAME_ALIASES,
1377
1468
  TOOL_USE_SUMMARY_SYSTEM_PROMPT,
1469
+ TaskOwnershipError,
1470
+ TeamEventEmitter,
1471
+ TeamEventType,
1472
+ TeamManager,
1378
1473
  TelemetryTarget,
1379
1474
  TextTokenizer,
1380
1475
  TmuxBackend,
@@ -1423,15 +1518,19 @@ export {
1423
1518
  addToolResultAttributes,
1424
1519
  addToolSchemaAttributes,
1425
1520
  addUserPromptAttributes,
1521
+ aggregateUsage,
1426
1522
  alibabaStandardProvider,
1427
1523
  allowEditorTypeInSandbox,
1428
1524
  appendToLastTextPart,
1429
1525
  applyAutoModeDecision,
1430
1526
  applyProviderInstallPlan,
1431
1527
  applySkillAllowedTools,
1528
+ assertValidTaskId,
1529
+ assignTeammateColor,
1432
1530
  atomicWriteFile,
1433
1531
  atomicWriteFileSync,
1434
1532
  atomicWriteJSON,
1533
+ blockTask,
1435
1534
  buildAddedMcpToolsReminder,
1436
1535
  buildApiHistoryFromConversation,
1437
1536
  buildBackgroundEntryLabel,
@@ -1447,6 +1546,7 @@ export {
1447
1546
  buildShellExecWarnings,
1448
1547
  buildSkillLlmContent,
1449
1548
  buildStartupContextReminder,
1549
+ buildTeammatePromptAddendum,
1450
1550
  cacheQwenCredentials,
1451
1551
  canUseRipgrep,
1452
1552
  checkArgumentSafety,
@@ -1454,16 +1554,20 @@ export {
1454
1554
  checkForExtensionUpdate,
1455
1555
  checkHasEditorType,
1456
1556
  checkNpmUpdate,
1557
+ claimTask,
1457
1558
  cleanSummary,
1458
1559
  cleanupTmpDir,
1459
1560
  clearActiveGoal,
1561
+ clearAllInboxes,
1460
1562
  clearAutoMemoryRootCache,
1461
1563
  clearCacheSafeParams,
1462
1564
  clearCachedCredentialFile,
1463
1565
  clearDetailedSpanState,
1464
1566
  clearGoalTerminalObserver,
1567
+ clearInbox,
1465
1568
  clearQwenCredentials,
1466
1569
  clearRuntimeStatus,
1570
+ clearTeammateColors,
1467
1571
  clearWelcomeBackState,
1468
1572
  clearWorktreeSession,
1469
1573
  cliSource,
@@ -1476,6 +1580,7 @@ export {
1476
1580
  computedSource,
1477
1581
  connectAndDiscover,
1478
1582
  connectToMcpServer,
1583
+ consumeUnread,
1479
1584
  convertClaudeAgentConfig,
1480
1585
  convertClaudePluginPackage,
1481
1586
  convertClaudeToQwenConfig,
@@ -1499,6 +1604,8 @@ export {
1499
1604
  createHookOutput,
1500
1605
  createInstructionsLoadedCallback,
1501
1606
  createStreamableHttpCompatibilityFetch,
1607
+ createTask,
1608
+ createTeamFile,
1502
1609
  createTmpDir,
1503
1610
  createToolUseSummaryMessage,
1504
1611
  createTransport,
@@ -1507,6 +1614,8 @@ export {
1507
1614
  decodeTagName,
1508
1615
  deepseekProvider,
1509
1616
  defaultSource,
1617
+ deleteTask,
1618
+ deleteTeamDirs,
1510
1619
  detectBOM,
1511
1620
  detectBackend,
1512
1621
  detectCommandSubstitution,
@@ -1564,6 +1673,8 @@ export {
1564
1673
  fileExists,
1565
1674
  filter,
1566
1675
  findGitRoot,
1676
+ findMemberById,
1677
+ findMemberByName,
1567
1678
  findProviderByCredentials,
1568
1679
  findProviderById,
1569
1680
  findReleaseAsset,
@@ -1573,12 +1684,15 @@ export {
1573
1684
  firePostToolUseHook,
1574
1685
  firePreToolUseHook,
1575
1686
  flatMapTextParts,
1687
+ formatAgentId,
1576
1688
  formatClassifierBlockMessage,
1577
1689
  formatDateForContext,
1578
1690
  formatDenialStateLog,
1579
1691
  formatLineStats,
1580
1692
  formatMemoryUsage,
1581
1693
  formatStopHookBlockingCapWarning,
1694
+ formatTraceparent,
1695
+ forwardApproval,
1582
1696
  generateAgentWorktreeSlug,
1583
1697
  generateCodeChallenge,
1584
1698
  generateCodeVerifier,
@@ -1588,9 +1702,12 @@ export {
1588
1702
  generateSessionRecap,
1589
1703
  generateToolUseId,
1590
1704
  generateToolUseSummary,
1705
+ generateUniqueTeammateName,
1591
1706
  generateValidName,
1592
1707
  getActiveGoal,
1593
1708
  getActiveInteractionSpan,
1709
+ getAgentName,
1710
+ getAgentStatuses,
1594
1711
  getAllGeminiMdFilenames,
1595
1712
  getAllMCPServerStatuses,
1596
1713
  getAllProviderBaseUrls,
@@ -1638,9 +1755,12 @@ export {
1638
1755
  getHookKey,
1639
1756
  getIdeInstaller,
1640
1757
  getIdeServerHost,
1758
+ getInboxPath,
1759
+ getInboxesDir,
1641
1760
  getInitialChatHistory,
1642
1761
  getInsightPrompt,
1643
1762
  getLastGoalTerminal,
1763
+ getLeader,
1644
1764
  getMCPDiscoveryState,
1645
1765
  getMCPServerPrompts,
1646
1766
  getMCPServerStatus,
@@ -1669,7 +1789,18 @@ export {
1669
1789
  getStructuredResponseFromParts,
1670
1790
  getSupportedImageFormatsString,
1671
1791
  getSystemEncoding,
1792
+ getTask,
1793
+ getTaskPath,
1794
+ getTasksDir,
1795
+ getTeamDir,
1796
+ getTeamFilePath,
1797
+ getTeamName,
1798
+ getTeammateColor,
1799
+ getTeammateContext,
1800
+ getTeamsRootDir,
1672
1801
  getThoughtText,
1802
+ getTimeRangeBounds,
1803
+ getTraceContext,
1673
1804
  getUnsupportedImageFormatWarning,
1674
1805
  getUserAutoMemoryIndexPath,
1675
1806
  getUserAutoMemoryRoot,
@@ -1713,6 +1844,7 @@ export {
1713
1844
  isErrorResponse,
1714
1845
  isGenericQuotaExceededError,
1715
1846
  isGitRepository,
1847
+ isInProcessTeammate,
1716
1848
  isInSafeToolAllowlist,
1717
1849
  isInvalidArgumentError,
1718
1850
  isModifiableDeclarativeTool,
@@ -1734,6 +1866,8 @@ export {
1734
1866
  isSuccessStatus,
1735
1867
  isSupportedImageMimeType,
1736
1868
  isSystemReminderContent,
1869
+ isTeamLead,
1870
+ isTeammate,
1737
1871
  isTelemetrySdkInitialized,
1738
1872
  isTerminalEditor,
1739
1873
  isTerminalStatus,
@@ -1750,8 +1884,11 @@ export {
1750
1884
  judgeGoal,
1751
1885
  knownTokenLimit,
1752
1886
  layer,
1887
+ listTasks,
1888
+ listTeamNames,
1753
1889
  loadIgnoreRules,
1754
1890
  loadServerHierarchicalMemory,
1891
+ loadUsageHistory,
1755
1892
  logApiCancel,
1756
1893
  logApiError,
1757
1894
  logApiRequest,
@@ -1802,6 +1939,7 @@ export {
1802
1939
  mcpServerRequiresOAuth,
1803
1940
  mcpTransportOf,
1804
1941
  mergeClaudeConfigs,
1942
+ metricsToUsageRecord,
1805
1943
  minimaxProvider,
1806
1944
  modelProvidersSource,
1807
1945
  modelRegistryKey,
@@ -1816,6 +1954,8 @@ export {
1816
1954
  normalizeSkillPriority,
1817
1955
  normalizeStopHookBlockingCap,
1818
1956
  notifyGoalTerminal,
1957
+ notifyTasksUpdated,
1958
+ onTasksUpdated,
1819
1959
  openDiff,
1820
1960
  openRouterProvider,
1821
1961
  openaiLogger,
@@ -1840,6 +1980,7 @@ export {
1840
1980
  passesAcceptEditsFastPath,
1841
1981
  performVariableReplacement,
1842
1982
  persistPermissionOutcome,
1983
+ persistSessionUsage,
1843
1984
  populateMcpServerCommand,
1844
1985
  prependToFirstTextPart,
1845
1986
  processSingleFileContent,
@@ -1852,12 +1993,14 @@ export {
1852
1993
  readFileWithEncoding,
1853
1994
  readFileWithEncodingInfo,
1854
1995
  readFileWithLineAndLimit,
1996
+ readInbox,
1855
1997
  readLastJsonStringFieldSync,
1856
1998
  readLastJsonStringFieldsSync,
1857
1999
  readLines,
1858
2000
  readManyFiles,
1859
2001
  readPathFromWorkspace,
1860
2002
  readRuntimeStatus,
2003
+ readTeamFile,
1861
2004
  readUserAutoMemoryIndex,
1862
2005
  readWorktreeSession,
1863
2006
  readWorktreeSessionMarker,
@@ -1898,6 +2041,8 @@ export {
1898
2041
  redactUrlCredentials,
1899
2042
  refreshSessionContext,
1900
2043
  registerGoalHook,
2044
+ registerLeader,
2045
+ releaseOwnedTask,
1901
2046
  removeMCPServerStatus,
1902
2047
  removeMCPStatusChangeListener,
1903
2048
  renameWithRetry,
@@ -1907,7 +2052,9 @@ export {
1907
2052
  resetDebugLoggingState,
1908
2053
  resetDenialState,
1909
2054
  resetEncodingCache,
2055
+ resetTaskList,
1910
2056
  resetUtf8BomCache,
2057
+ resolveActiveTeamName,
1911
2058
  resolveAndValidatePath,
1912
2059
  resolveBaseUrl,
1913
2060
  resolveBundleDir,
@@ -1940,16 +2087,19 @@ export {
1940
2087
  runSideQuery,
1941
2088
  runWithDebugLogSession,
1942
2089
  runWithForkedChatModel,
2090
+ runWithTeammateIdentity,
1943
2091
  runtimeDiagnostics,
1944
2092
  safeAgentId,
1945
2093
  safeLiteralReplace,
1946
2094
  sanitizeCwd,
1947
2095
  sanitizeHookName,
2096
+ sanitizeName,
1948
2097
  sanitizeTitle,
1949
2098
  sanitizeToolCallResultForRecording,
1950
2099
  sanitizeUserPromptExpansionAdditionalContext,
1951
2100
  saveCacheSafeParams,
1952
2101
  saveWelcomeBackRestartChoice,
2102
+ sendStructuredMessage,
1953
2103
  serializeTerminalToObject,
1954
2104
  serializeTerminalToText,
1955
2105
  setActiveGoal,
@@ -1957,6 +2107,7 @@ export {
1957
2107
  setGeminiMdFilename,
1958
2108
  setGoalTerminalObserver,
1959
2109
  setLastGoalTerminal,
2110
+ setMemberActive,
1960
2111
  setStartupEventSink,
1961
2112
  settingsSource,
1962
2113
  shortenPath,
@@ -1992,6 +2143,7 @@ export {
1992
2143
  summarizeAnthropicWireRequest,
1993
2144
  summarizeOpenAIWireRequest,
1994
2145
  summarizeUnifiedDiff,
2146
+ teammateIdentityStore,
1995
2147
  templateString,
1996
2148
  tildeifyPath,
1997
2149
  toFriendlyError,
@@ -2002,23 +2154,30 @@ export {
2002
2154
  truncateJson,
2003
2155
  truncateSpanError,
2004
2156
  tryGenerateSessionTitle,
2157
+ tryReclaimStaleTeam,
2005
2158
  uiTelemetryService,
2159
+ unassignTeammateTasks,
2006
2160
  unescapeJsonString,
2007
2161
  unescapePath,
2008
2162
  unregisterGoalHook,
2163
+ unregisterLeader,
2009
2164
  updateMCPServerStatus,
2010
2165
  updateSetting,
2011
2166
  updateSymlink,
2167
+ updateTask,
2012
2168
  validateModelConfig,
2013
2169
  validateName,
2014
2170
  validatePath,
2015
2171
  validateVariables,
2016
2172
  windowsCodePageToEncoding,
2017
2173
  worktreeBranchForSlug,
2174
+ wrapConfirmWithBadge,
2018
2175
  write,
2019
2176
  writeLine,
2020
2177
  writeLineSync,
2178
+ writeMessage,
2021
2179
  writeRuntimeStatus,
2180
+ writeTeamFile,
2022
2181
  writeWorkspaceContextFile,
2023
2182
  writeWorktreeSession,
2024
2183
  writeWorktreeSessionMarker,
@@ -3,9 +3,9 @@
3
3
  import {
4
4
  STRUCTURED_OUTPUT_REDACTED_ARGS,
5
5
  SyntheticOutputTool
6
- } from "./chunk-5RNZ2QKF.js";
7
- import "./chunk-G763GDO6.js";
8
- import "./chunk-R5PDRHEF.js";
6
+ } from "./chunk-CNSMKPK6.js";
7
+ import "./chunk-2ZTWI7KH.js";
8
+ import "./chunk-JXAZUMDW.js";
9
9
  import "./chunk-WFVXF3OM.js";
10
10
  import "./chunk-A4BMJM77.js";
11
11
  import "./chunk-J2S4EL5Y.js";
@@ -0,0 +1,19 @@
1
+ // Force strict mode and setup for ESM
2
+ "use strict";
3
+ import {
4
+ TaskCreateTool,
5
+ truncateForConfirmation
6
+ } from "./chunk-HV3ZZ7G4.js";
7
+ import "./chunk-HGJPQK33.js";
8
+ import "./chunk-XBFVXFB2.js";
9
+ import "./chunk-LD2XBG6Z.js";
10
+ import "./chunk-2ZTWI7KH.js";
11
+ import "./chunk-UAMOBVVW.js";
12
+ import "./chunk-JXAZUMDW.js";
13
+ import "./chunk-WFVXF3OM.js";
14
+ import "./chunk-A4BMJM77.js";
15
+ import "./chunk-J2S4EL5Y.js";
16
+ export {
17
+ TaskCreateTool,
18
+ truncateForConfirmation
19
+ };