@qwen-code/qwen-code 0.18.0-preview.0 → 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-6J2FFD7S.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-UQZQP5PA.js → chunk-7YKXFA3D.js} +11 -11
  15. package/chunks/chunk-AJIR24J2.js +59 -0
  16. package/chunks/{chunk-UXBKX55L.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-BPZQVC2P.js → chunk-HXJE7VOG.js} +25 -32
  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-IKOMHTCC.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-BUOJN3MM.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-3H7ENG2Q.js → chunk-ZK4AMNIU.js} +113 -41
  41. package/chunks/{computer-use-6LZXL3UW.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-J7D6VMPQ.js → edit-6UBTS2J5.js} +23 -17
  48. package/chunks/{en-UMYKQAZE.js → en-HSQQNQUB.js} +73 -2
  49. package/chunks/{enter-worktree-NDJTVGYJ.js → enter-worktree-NN7LIXCM.js} +22 -16
  50. package/chunks/{exit-worktree-UB6XYYAX.js → exit-worktree-GGSS5KIE.js} +22 -16
  51. package/chunks/{exitPlanMode-V6X2KL4X.js → exitPlanMode-H323NHB2.js} +22 -16
  52. package/chunks/{fr-MPYXXXPW.js → fr-JXBKPJKQ.js} +48 -1
  53. package/chunks/{geminiContentGenerator-3AKHMB3P.js → geminiContentGenerator-I4H2NLJG.js} +4 -4
  54. package/chunks/{glob-PBG5DRG4.js → glob-OLCX57MD.js} +22 -16
  55. package/chunks/{grep-VQ56EWQ7.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-J3YCSOEH.js → monitor-SQO7MVAV.js} +22 -16
  61. package/chunks/{notebook-edit-AL3CBYJ6.js → notebook-edit-72L3EBAL.js} +23 -17
  62. package/chunks/{openaiContentGenerator-3U6UARHS.js → openaiContentGenerator-FTR7CDWF.js} +12 -11
  63. package/chunks/{pt-BR43FRBA.js → pt-TIBG6BIO.js} +48 -1
  64. package/chunks/{qwenContentGenerator-JRFHJRH6.js → qwenContentGenerator-U5UFQ566.js} +24 -18
  65. package/chunks/{qwenOAuth2-KRJT35QH.js → qwenOAuth2-EFSECGHF.js} +4 -4
  66. package/chunks/{read-file-ZF6EIVE3.js → read-file-UA64EEQC.js} +8 -8
  67. package/chunks/{ripGrep-N2ZT7M6Z.js → ripGrep-WSYCWZVK.js} +22 -16
  68. package/chunks/{ru-DQCW2KHD.js → ru-JBCHCK4L.js} +48 -1
  69. package/chunks/{scheduler-OS37FUFT.js → scheduler-VBASHOCA.js} +22 -16
  70. package/chunks/send-message-OYJZ5TPG.js +244 -0
  71. package/chunks/{serve-ABOLLDNN.js → serve-A7E2OJDR.js} +45 -36
  72. package/chunks/{shell-XGN7IDUS.js → shell-3NFOT6F5.js} +22 -16
  73. package/chunks/{skill-YQQ6CR4U.js → skill-RA5YUREY.js} +10 -10
  74. package/chunks/{src-LORPPHWB.js → src-NFCMARMT.js} +186 -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-PDOJPXJJ.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-VWWCN7LI.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 +6429 -3123
  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-ZV5QQ2LA.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-BUOJN3MM.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,
@@ -724,6 +807,7 @@ import {
724
807
  PromptSuggestionEvent,
725
808
  QWEN_OAUTH_MODELS,
726
809
  QwenLogger,
810
+ RUNTIME_SNAPSHOT_PREFIX,
727
811
  ReadFileTool,
728
812
  RipgrepFallbackEvent,
729
813
  SYSTEM_FILE_EXCLUDES,
@@ -866,12 +950,13 @@ import {
866
950
  startToolBlockedOnUserSpan,
867
951
  startToolExecutionSpan,
868
952
  startToolSpan,
953
+ stripRuntimeSnapshotPrefix,
869
954
  truncateContent,
870
955
  truncateSpanError,
871
956
  uiTelemetryService,
872
957
  validateModelConfig,
873
958
  windowsCodePageToEncoding
874
- } from "./chunk-3H7ENG2Q.js";
959
+ } from "./chunk-ZK4AMNIU.js";
875
960
  import "./chunk-3PJXIDKI.js";
876
961
  import "./chunk-UWCTAVOD.js";
877
962
  import {
@@ -904,9 +989,9 @@ import {
904
989
  isAnyAutoMemPath,
905
990
  isAutoMemPath,
906
991
  isUserAutoMemPath
907
- } from "./chunk-AVLOK27J.js";
908
- import "./chunk-JSYEZAYV.js";
909
- import "./chunk-5RNZ2QKF.js";
992
+ } from "./chunk-JVQOQ3OU.js";
993
+ import "./chunk-P4J26VDS.js";
994
+ import "./chunk-CNSMKPK6.js";
910
995
  import {
911
996
  AgentStatistics,
912
997
  BaseDeclarativeTool,
@@ -924,7 +1009,7 @@ import {
924
1009
  ToolNamesMigration,
925
1010
  hasCycleInSchema,
926
1011
  isTool
927
- } from "./chunk-G763GDO6.js";
1012
+ } from "./chunk-2ZTWI7KH.js";
928
1013
  import {
929
1014
  CredentialsClearRequiredError,
930
1015
  QWEN_CREDENTIAL_FILE_MODE,
@@ -943,15 +1028,15 @@ import {
943
1028
  isDeviceTokenSuccess,
944
1029
  isErrorResponse,
945
1030
  qwenOAuth2Events
946
- } from "./chunk-JMLIPZUU.js";
947
- import "./chunk-GBEPNWYB.js";
1031
+ } from "./chunk-MVIVIPCU.js";
1032
+ import "./chunk-GX7VH5JQ.js";
948
1033
  import {
949
1034
  atomicWriteFile,
950
1035
  atomicWriteFileSync,
951
1036
  atomicWriteJSON,
952
1037
  renameWithRetry,
953
1038
  renameWithRetrySync
954
- } from "./chunk-F5ORN4YO.js";
1039
+ } from "./chunk-UAMOBVVW.js";
955
1040
  import {
956
1041
  SUPPORTED_IMAGE_MIME_TYPES,
957
1042
  TextTokenizer,
@@ -961,7 +1046,7 @@ import {
961
1046
  getUnsupportedImageFormatWarning,
962
1047
  isSupportedImageMimeType,
963
1048
  redactProxyCredentials
964
- } from "./chunk-MVX64PNU.js";
1049
+ } from "./chunk-LR62TEET.js";
965
1050
  import {
966
1051
  CAPPED_DEFAULT_MAX_TOKENS,
967
1052
  DEFAULT_OUTPUT_TOKEN_LIMIT,
@@ -976,7 +1061,7 @@ import {
976
1061
  summarizeAnthropicWireRequest,
977
1062
  summarizeOpenAIWireRequest,
978
1063
  tokenLimit
979
- } from "./chunk-D46KOV3C.js";
1064
+ } from "./chunk-Y7R6H6FT.js";
980
1065
  import "./chunk-BNESGOSJ.js";
981
1066
  import "./chunk-SZOEIL6S.js";
982
1067
  import "./chunk-5IFG2VC4.js";
@@ -1002,10 +1087,12 @@ import {
1002
1087
  createDebugLogger,
1003
1088
  escapePath,
1004
1089
  expandHomeDir,
1090
+ formatTraceparent,
1005
1091
  getErrorMessage,
1006
1092
  getErrorStatus,
1007
1093
  getErrorType,
1008
1094
  getProjectHash,
1095
+ getTraceContext,
1009
1096
  isAbortError,
1010
1097
  isDebugLoggingDegraded,
1011
1098
  isNodeError,
@@ -1024,7 +1111,7 @@ import {
1024
1111
  unescapePath,
1025
1112
  updateSymlink,
1026
1113
  validatePath
1027
- } from "./chunk-R5PDRHEF.js";
1114
+ } from "./chunk-JXAZUMDW.js";
1028
1115
  import "./chunk-ZERZSAZL.js";
1029
1116
  import "./chunk-QN5NZ3UQ.js";
1030
1117
  import "./chunk-BR4QREVK.js";
@@ -1194,7 +1281,6 @@ export {
1194
1281
  GeminiClient,
1195
1282
  GeminiEventType,
1196
1283
  GitIgnoreParser,
1197
- GitService,
1198
1284
  GitWorktreeService,
1199
1285
  HOOKS_CONFIG_FIELDS,
1200
1286
  HookEventName,
@@ -1209,6 +1295,7 @@ export {
1209
1295
  IDE_MAX_SELECTED_TEXT_LENGTH,
1210
1296
  IDE_REQUEST_TIMEOUT_MS,
1211
1297
  IDLE_SPECULATION,
1298
+ INBOXES_DIR,
1212
1299
  INITIAL_FOLLOWUP_STATE,
1213
1300
  INSTALL_METADATA_FILENAME,
1214
1301
  ITermBackend,
@@ -1229,6 +1316,7 @@ export {
1229
1316
  KeychainTokenStorage,
1230
1317
  Kind,
1231
1318
  KittySequenceOverflowEvent,
1319
+ LEADER_NAME,
1232
1320
  LITE_READ_BUF_SIZE,
1233
1321
  LOCAL_CONTEXT_FILENAME,
1234
1322
  Logger,
@@ -1250,6 +1338,7 @@ export {
1250
1338
  MAX_RETAINED_TERMINAL_AGENTS,
1251
1339
  MAX_RETAINED_TERMINAL_MONITORS,
1252
1340
  MAX_RETAINED_TERMINAL_SHELLS,
1341
+ MAX_TEAMMATES,
1253
1342
  MAX_TRANSCRIPT_MESSAGES,
1254
1343
  MAX_USER_PROMPT_EXPANSION_ADDITIONAL_CONTEXT_LENGTH,
1255
1344
  MCPDiscoveryState,
@@ -1321,6 +1410,7 @@ export {
1321
1410
  QwenOAuth2Event,
1322
1411
  QwenOAuthPollError,
1323
1412
  REDACTED_URL_CREDENTIAL,
1413
+ RUNTIME_SNAPSHOT_PREFIX,
1324
1414
  RUNTIME_STATUS_SCHEMA_VERSION,
1325
1415
  ReadFileTool,
1326
1416
  RipGrepTool,
@@ -1364,6 +1454,10 @@ export {
1364
1454
  SubagentErrorCode,
1365
1455
  SubagentManager,
1366
1456
  SubagentValidator,
1457
+ TASKS_DIR,
1458
+ TEAMMATE_COLORS,
1459
+ TEAMS_DIR,
1460
+ TEAM_CONFIG_FILENAME,
1367
1461
  TERMINAL_CSI_REGEX,
1368
1462
  TERMINAL_OSC_REGEX,
1369
1463
  TERMINAL_SHIFT_DCS_REGEX,
@@ -1372,6 +1466,10 @@ export {
1372
1466
  TOKEN_PLAN_ENV_KEY,
1373
1467
  TOOL_NAME_ALIASES,
1374
1468
  TOOL_USE_SUMMARY_SYSTEM_PROMPT,
1469
+ TaskOwnershipError,
1470
+ TeamEventEmitter,
1471
+ TeamEventType,
1472
+ TeamManager,
1375
1473
  TelemetryTarget,
1376
1474
  TextTokenizer,
1377
1475
  TmuxBackend,
@@ -1420,15 +1518,19 @@ export {
1420
1518
  addToolResultAttributes,
1421
1519
  addToolSchemaAttributes,
1422
1520
  addUserPromptAttributes,
1521
+ aggregateUsage,
1423
1522
  alibabaStandardProvider,
1424
1523
  allowEditorTypeInSandbox,
1425
1524
  appendToLastTextPart,
1426
1525
  applyAutoModeDecision,
1427
1526
  applyProviderInstallPlan,
1428
1527
  applySkillAllowedTools,
1528
+ assertValidTaskId,
1529
+ assignTeammateColor,
1429
1530
  atomicWriteFile,
1430
1531
  atomicWriteFileSync,
1431
1532
  atomicWriteJSON,
1533
+ blockTask,
1432
1534
  buildAddedMcpToolsReminder,
1433
1535
  buildApiHistoryFromConversation,
1434
1536
  buildBackgroundEntryLabel,
@@ -1444,6 +1546,7 @@ export {
1444
1546
  buildShellExecWarnings,
1445
1547
  buildSkillLlmContent,
1446
1548
  buildStartupContextReminder,
1549
+ buildTeammatePromptAddendum,
1447
1550
  cacheQwenCredentials,
1448
1551
  canUseRipgrep,
1449
1552
  checkArgumentSafety,
@@ -1451,16 +1554,20 @@ export {
1451
1554
  checkForExtensionUpdate,
1452
1555
  checkHasEditorType,
1453
1556
  checkNpmUpdate,
1557
+ claimTask,
1454
1558
  cleanSummary,
1455
1559
  cleanupTmpDir,
1456
1560
  clearActiveGoal,
1561
+ clearAllInboxes,
1457
1562
  clearAutoMemoryRootCache,
1458
1563
  clearCacheSafeParams,
1459
1564
  clearCachedCredentialFile,
1460
1565
  clearDetailedSpanState,
1461
1566
  clearGoalTerminalObserver,
1567
+ clearInbox,
1462
1568
  clearQwenCredentials,
1463
1569
  clearRuntimeStatus,
1570
+ clearTeammateColors,
1464
1571
  clearWelcomeBackState,
1465
1572
  clearWorktreeSession,
1466
1573
  cliSource,
@@ -1473,6 +1580,7 @@ export {
1473
1580
  computedSource,
1474
1581
  connectAndDiscover,
1475
1582
  connectToMcpServer,
1583
+ consumeUnread,
1476
1584
  convertClaudeAgentConfig,
1477
1585
  convertClaudePluginPackage,
1478
1586
  convertClaudeToQwenConfig,
@@ -1496,6 +1604,8 @@ export {
1496
1604
  createHookOutput,
1497
1605
  createInstructionsLoadedCallback,
1498
1606
  createStreamableHttpCompatibilityFetch,
1607
+ createTask,
1608
+ createTeamFile,
1499
1609
  createTmpDir,
1500
1610
  createToolUseSummaryMessage,
1501
1611
  createTransport,
@@ -1504,6 +1614,8 @@ export {
1504
1614
  decodeTagName,
1505
1615
  deepseekProvider,
1506
1616
  defaultSource,
1617
+ deleteTask,
1618
+ deleteTeamDirs,
1507
1619
  detectBOM,
1508
1620
  detectBackend,
1509
1621
  detectCommandSubstitution,
@@ -1561,6 +1673,8 @@ export {
1561
1673
  fileExists,
1562
1674
  filter,
1563
1675
  findGitRoot,
1676
+ findMemberById,
1677
+ findMemberByName,
1564
1678
  findProviderByCredentials,
1565
1679
  findProviderById,
1566
1680
  findReleaseAsset,
@@ -1570,12 +1684,15 @@ export {
1570
1684
  firePostToolUseHook,
1571
1685
  firePreToolUseHook,
1572
1686
  flatMapTextParts,
1687
+ formatAgentId,
1573
1688
  formatClassifierBlockMessage,
1574
1689
  formatDateForContext,
1575
1690
  formatDenialStateLog,
1576
1691
  formatLineStats,
1577
1692
  formatMemoryUsage,
1578
1693
  formatStopHookBlockingCapWarning,
1694
+ formatTraceparent,
1695
+ forwardApproval,
1579
1696
  generateAgentWorktreeSlug,
1580
1697
  generateCodeChallenge,
1581
1698
  generateCodeVerifier,
@@ -1585,9 +1702,12 @@ export {
1585
1702
  generateSessionRecap,
1586
1703
  generateToolUseId,
1587
1704
  generateToolUseSummary,
1705
+ generateUniqueTeammateName,
1588
1706
  generateValidName,
1589
1707
  getActiveGoal,
1590
1708
  getActiveInteractionSpan,
1709
+ getAgentName,
1710
+ getAgentStatuses,
1591
1711
  getAllGeminiMdFilenames,
1592
1712
  getAllMCPServerStatuses,
1593
1713
  getAllProviderBaseUrls,
@@ -1635,9 +1755,12 @@ export {
1635
1755
  getHookKey,
1636
1756
  getIdeInstaller,
1637
1757
  getIdeServerHost,
1758
+ getInboxPath,
1759
+ getInboxesDir,
1638
1760
  getInitialChatHistory,
1639
1761
  getInsightPrompt,
1640
1762
  getLastGoalTerminal,
1763
+ getLeader,
1641
1764
  getMCPDiscoveryState,
1642
1765
  getMCPServerPrompts,
1643
1766
  getMCPServerStatus,
@@ -1666,7 +1789,18 @@ export {
1666
1789
  getStructuredResponseFromParts,
1667
1790
  getSupportedImageFormatsString,
1668
1791
  getSystemEncoding,
1792
+ getTask,
1793
+ getTaskPath,
1794
+ getTasksDir,
1795
+ getTeamDir,
1796
+ getTeamFilePath,
1797
+ getTeamName,
1798
+ getTeammateColor,
1799
+ getTeammateContext,
1800
+ getTeamsRootDir,
1669
1801
  getThoughtText,
1802
+ getTimeRangeBounds,
1803
+ getTraceContext,
1670
1804
  getUnsupportedImageFormatWarning,
1671
1805
  getUserAutoMemoryIndexPath,
1672
1806
  getUserAutoMemoryRoot,
@@ -1710,6 +1844,7 @@ export {
1710
1844
  isErrorResponse,
1711
1845
  isGenericQuotaExceededError,
1712
1846
  isGitRepository,
1847
+ isInProcessTeammate,
1713
1848
  isInSafeToolAllowlist,
1714
1849
  isInvalidArgumentError,
1715
1850
  isModifiableDeclarativeTool,
@@ -1731,6 +1866,8 @@ export {
1731
1866
  isSuccessStatus,
1732
1867
  isSupportedImageMimeType,
1733
1868
  isSystemReminderContent,
1869
+ isTeamLead,
1870
+ isTeammate,
1734
1871
  isTelemetrySdkInitialized,
1735
1872
  isTerminalEditor,
1736
1873
  isTerminalStatus,
@@ -1747,8 +1884,11 @@ export {
1747
1884
  judgeGoal,
1748
1885
  knownTokenLimit,
1749
1886
  layer,
1887
+ listTasks,
1888
+ listTeamNames,
1750
1889
  loadIgnoreRules,
1751
1890
  loadServerHierarchicalMemory,
1891
+ loadUsageHistory,
1752
1892
  logApiCancel,
1753
1893
  logApiError,
1754
1894
  logApiRequest,
@@ -1799,6 +1939,7 @@ export {
1799
1939
  mcpServerRequiresOAuth,
1800
1940
  mcpTransportOf,
1801
1941
  mergeClaudeConfigs,
1942
+ metricsToUsageRecord,
1802
1943
  minimaxProvider,
1803
1944
  modelProvidersSource,
1804
1945
  modelRegistryKey,
@@ -1813,6 +1954,8 @@ export {
1813
1954
  normalizeSkillPriority,
1814
1955
  normalizeStopHookBlockingCap,
1815
1956
  notifyGoalTerminal,
1957
+ notifyTasksUpdated,
1958
+ onTasksUpdated,
1816
1959
  openDiff,
1817
1960
  openRouterProvider,
1818
1961
  openaiLogger,
@@ -1837,6 +1980,7 @@ export {
1837
1980
  passesAcceptEditsFastPath,
1838
1981
  performVariableReplacement,
1839
1982
  persistPermissionOutcome,
1983
+ persistSessionUsage,
1840
1984
  populateMcpServerCommand,
1841
1985
  prependToFirstTextPart,
1842
1986
  processSingleFileContent,
@@ -1849,12 +1993,14 @@ export {
1849
1993
  readFileWithEncoding,
1850
1994
  readFileWithEncodingInfo,
1851
1995
  readFileWithLineAndLimit,
1996
+ readInbox,
1852
1997
  readLastJsonStringFieldSync,
1853
1998
  readLastJsonStringFieldsSync,
1854
1999
  readLines,
1855
2000
  readManyFiles,
1856
2001
  readPathFromWorkspace,
1857
2002
  readRuntimeStatus,
2003
+ readTeamFile,
1858
2004
  readUserAutoMemoryIndex,
1859
2005
  readWorktreeSession,
1860
2006
  readWorktreeSessionMarker,
@@ -1895,6 +2041,8 @@ export {
1895
2041
  redactUrlCredentials,
1896
2042
  refreshSessionContext,
1897
2043
  registerGoalHook,
2044
+ registerLeader,
2045
+ releaseOwnedTask,
1898
2046
  removeMCPServerStatus,
1899
2047
  removeMCPStatusChangeListener,
1900
2048
  renameWithRetry,
@@ -1904,7 +2052,9 @@ export {
1904
2052
  resetDebugLoggingState,
1905
2053
  resetDenialState,
1906
2054
  resetEncodingCache,
2055
+ resetTaskList,
1907
2056
  resetUtf8BomCache,
2057
+ resolveActiveTeamName,
1908
2058
  resolveAndValidatePath,
1909
2059
  resolveBaseUrl,
1910
2060
  resolveBundleDir,
@@ -1937,16 +2087,19 @@ export {
1937
2087
  runSideQuery,
1938
2088
  runWithDebugLogSession,
1939
2089
  runWithForkedChatModel,
2090
+ runWithTeammateIdentity,
1940
2091
  runtimeDiagnostics,
1941
2092
  safeAgentId,
1942
2093
  safeLiteralReplace,
1943
2094
  sanitizeCwd,
1944
2095
  sanitizeHookName,
2096
+ sanitizeName,
1945
2097
  sanitizeTitle,
1946
2098
  sanitizeToolCallResultForRecording,
1947
2099
  sanitizeUserPromptExpansionAdditionalContext,
1948
2100
  saveCacheSafeParams,
1949
2101
  saveWelcomeBackRestartChoice,
2102
+ sendStructuredMessage,
1950
2103
  serializeTerminalToObject,
1951
2104
  serializeTerminalToText,
1952
2105
  setActiveGoal,
@@ -1954,6 +2107,7 @@ export {
1954
2107
  setGeminiMdFilename,
1955
2108
  setGoalTerminalObserver,
1956
2109
  setLastGoalTerminal,
2110
+ setMemberActive,
1957
2111
  setStartupEventSink,
1958
2112
  settingsSource,
1959
2113
  shortenPath,
@@ -1979,6 +2133,7 @@ export {
1979
2133
  startToolExecutionSpan,
1980
2134
  startToolSpan,
1981
2135
  stringify,
2136
+ stripRuntimeSnapshotPrefix,
1982
2137
  stripShellWrapper,
1983
2138
  stripStartupContext,
1984
2139
  stripTerminalControlSequences,
@@ -1988,6 +2143,7 @@ export {
1988
2143
  summarizeAnthropicWireRequest,
1989
2144
  summarizeOpenAIWireRequest,
1990
2145
  summarizeUnifiedDiff,
2146
+ teammateIdentityStore,
1991
2147
  templateString,
1992
2148
  tildeifyPath,
1993
2149
  toFriendlyError,
@@ -1998,23 +2154,30 @@ export {
1998
2154
  truncateJson,
1999
2155
  truncateSpanError,
2000
2156
  tryGenerateSessionTitle,
2157
+ tryReclaimStaleTeam,
2001
2158
  uiTelemetryService,
2159
+ unassignTeammateTasks,
2002
2160
  unescapeJsonString,
2003
2161
  unescapePath,
2004
2162
  unregisterGoalHook,
2163
+ unregisterLeader,
2005
2164
  updateMCPServerStatus,
2006
2165
  updateSetting,
2007
2166
  updateSymlink,
2167
+ updateTask,
2008
2168
  validateModelConfig,
2009
2169
  validateName,
2010
2170
  validatePath,
2011
2171
  validateVariables,
2012
2172
  windowsCodePageToEncoding,
2013
2173
  worktreeBranchForSlug,
2174
+ wrapConfirmWithBadge,
2014
2175
  write,
2015
2176
  writeLine,
2016
2177
  writeLineSync,
2178
+ writeMessage,
2017
2179
  writeRuntimeStatus,
2180
+ writeTeamFile,
2018
2181
  writeWorkspaceContextFile,
2019
2182
  writeWorktreeSession,
2020
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";