nolo-cli 0.153.0-alpha.1 → 0.153.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 (152) hide show
  1. package/{_executeModel-4KHFMQT4.js → _executeModel-NID5KIUZ.js} +46 -48
  2. package/{accountResolver-7RYB4D2P.js → accountResolver-55EDKEIK.js} +1 -1
  3. package/{action-SXJD5N5R.js → action-GPPJC5TI.js} +4 -4
  4. package/{addContentAction-ZV774PHH.js → addContentAction-BI6RDRTQ.js} +8 -8
  5. package/{addDialogAgentAction-A6SMKAGH.js → addDialogAgentAction-4RJYUSIK.js} +7 -7
  6. package/{agentDeleteCommand-EKFV5FC7.js → agentDeleteCommand-6HYGISLC.js} +59 -60
  7. package/{agentEmailCommands-MNV3MUH5.js → agentEmailCommands-Q7UW4SRL.js} +61 -62
  8. package/{agentListCommands-E6FYKXC3.js → agentListCommands-MM5OLPBY.js} +23 -23
  9. package/{agentMachineCommands-2GFUU7GF.js → agentMachineCommands-V5TSZ2QN.js} +22 -21
  10. package/{agentProviderCommands-HL6MBLCL.js → agentProviderCommands-MKG2OOEY.js} +2 -2
  11. package/{agentRecordCommands-LPHHTEPM.js → agentRecordCommands-P2YXZEWY.js} +59 -60
  12. package/{agentRunCommand-JSPW7W32.js → agentRunCommand-B2MBD56K.js} +61 -61
  13. package/{agentRunControl-IFM7IGMG.js → agentRunControl-2C5GM3BW.js} +5 -5
  14. package/{agentRuntimeLocal-ARS4TV77.js → agentRuntimeLocal-RJKTDWNN.js} +16 -16
  15. package/{agentSlice-IP4DZNNV.js → agentSlice-636W6M5A.js} +8 -8
  16. package/{appDeleteCommands-JHTLKQSX.js → appDeleteCommands-7EOM274T.js} +21 -21
  17. package/{appDeployCommands-5V26M2KA.js → appDeployCommands-2I3QYJ5G.js} +21 -21
  18. package/{appDeployStatusCommands-SBSPS627.js → appDeployStatusCommands-LEML7FPR.js} +21 -21
  19. package/{appGetCommands-NKPD2L45.js → appGetCommands-ZQSVHGQM.js} +21 -21
  20. package/{appListCommands-ZOGRZFYY.js → appListCommands-BVA7XKQO.js} +21 -21
  21. package/{authCommand-QYN47CQD.js → authCommand-NIV3DKPF.js} +13 -293
  22. package/{authCommands-77CHYBGF.js → authCommands-AMNIAKEG.js} +2 -2
  23. package/{builtinSkillRegistry-TDQ6JB2E.js → builtinSkillRegistry-H3AY27TR.js} +3 -3
  24. package/{chromeCommands-OBBNJCLS.js → chromeCommands-IY4NVSXZ.js} +17 -10
  25. package/{chunk-SW4S4XYB.js → chunk-2AB2HA4M.js} +84 -34
  26. package/{chunk-4PXHOOFA.js → chunk-2MTE2PEH.js} +3 -3
  27. package/{chunk-4YRTZIVN.js → chunk-2SGAI64X.js} +2 -2
  28. package/{chunk-QFEW2ULV.js → chunk-32ZKZET7.js} +1 -1
  29. package/{chunk-GQV5KHJU.js → chunk-3C2QLERX.js} +1 -1
  30. package/{chunk-XPWGOTBQ.js → chunk-3L2WKC3W.js} +1 -8
  31. package/{chunk-WD4XYDYC.js → chunk-3WIXU4XO.js} +224 -1
  32. package/{chunk-6LIKQYG4.js → chunk-42QZQ6QG.js} +21 -23
  33. package/{chunk-YBNHPX4S.js → chunk-4RJJDA57.js} +1 -1
  34. package/{chunk-PFBIXTFB.js → chunk-6CTXMBXD.js} +56 -30
  35. package/{chunk-HL3O3PCQ.js → chunk-6TF64IF2.js} +2 -2
  36. package/{chunk-PMYAE4OZ.js → chunk-7HVMGI5M.js} +3 -3
  37. package/{chunk-BNDETALN.js → chunk-7NSQJKGA.js} +45 -13
  38. package/{chunk-UUPR3TD7.js → chunk-7RF4O6AT.js} +1 -3
  39. package/{chunk-HSJPKBLC.js → chunk-ANJTRG52.js} +2 -2
  40. package/{chunk-2GGXHQIW.js → chunk-BLVSFYQ3.js} +4 -2
  41. package/{chunk-ISQL4V7C.js → chunk-C3OK72G3.js} +1 -1
  42. package/{chunk-CHCS6XPJ.js → chunk-CGFNDIKK.js} +65 -0
  43. package/{chunk-5MM7NNO6.js → chunk-CNWKLQRL.js} +8 -3
  44. package/{chunk-F32Z66T4.js → chunk-CON6SI7N.js} +1 -1
  45. package/{chunk-AHYBQP3M.js → chunk-CQFBGOKS.js} +3 -3
  46. package/{chunk-HIQ4GF53.js → chunk-DC3SZCRR.js} +7 -3
  47. package/{chunk-RVWMAFIT.js → chunk-FYYSDHVQ.js} +1 -1
  48. package/{chunk-TYYRSFBG.js → chunk-HB4XPBC7.js} +3 -35
  49. package/{chunk-6MJNEXUU.js → chunk-HGDKT2D6.js} +4 -0
  50. package/{chunk-KMM2X7LP.js → chunk-HHNNUPAB.js} +3 -3
  51. package/{chunk-JWTSWUPS.js → chunk-HSPGMGTN.js} +7 -6
  52. package/{chunk-UBUH2TCC.js → chunk-I2RMFLLH.js} +2 -2
  53. package/{chunk-VJXHL6MH.js → chunk-ICRRXBRN.js} +3 -3
  54. package/{chunk-XS47QOFV.js → chunk-IE5PXKVU.js} +2 -264
  55. package/{chunk-T5BHHWA5.js → chunk-IJVJUAHF.js} +7 -7
  56. package/{chunk-KFHQQ3NO.js → chunk-INFHX73M.js} +1 -1
  57. package/{chunk-XRUSXPCQ.js → chunk-IPAW7XLD.js} +57 -4
  58. package/{chunk-PLSVXHSA.js → chunk-IRTOYSA2.js} +3 -3
  59. package/{chunk-RQ6E3G5L.js → chunk-IUMO3L46.js} +18 -2
  60. package/{chunk-GCKHQECX.js → chunk-IYBIRCQV.js} +1 -1
  61. package/{chunk-ILU2NPWY.js → chunk-J2ATF74A.js} +2 -2
  62. package/{chunk-XZNCX52W.js → chunk-JGRPBIZZ.js} +1 -1
  63. package/{chunk-E2AKSW7L.js → chunk-JPJGMOIM.js} +2 -2
  64. package/{chunk-44WXLHFI.js → chunk-K43ZF2C3.js} +1 -1
  65. package/{chunk-I2ZMGXXF.js → chunk-KFHREHUQ.js} +1 -1
  66. package/{chunk-MZHOLWW5.js → chunk-KKQAAL57.js} +3 -3
  67. package/{chunk-JKMLSTZK.js → chunk-KLA62VVE.js} +3 -3
  68. package/{chunk-EHFS4XZO.js → chunk-KXFN2UYT.js} +12 -8
  69. package/{chunk-DYYMIUN4.js → chunk-L6EQV5OC.js} +4 -4
  70. package/{chunk-EZVK3N5L.js → chunk-LOEO7LRC.js} +56 -0
  71. package/{chunk-EDX5XSJM.js → chunk-M2P3OGXZ.js} +3 -3
  72. package/{chunk-LC23WBCU.js → chunk-M3KPY3TH.js} +6 -6
  73. package/{chunk-YVLQXTUB.js → chunk-MM3662RS.js} +1 -1
  74. package/{chunk-CBHGZRCE.js → chunk-MYOH447Z.js} +1 -1
  75. package/{chunk-A4MW3YZL.js → chunk-NDZOXXIM.js} +18 -4
  76. package/{chunk-I5V3V2H4.js → chunk-OAVSTXC7.js} +37 -25
  77. package/{chunk-36OMEXXR.js → chunk-OON4OBWI.js} +1 -1
  78. package/{chunk-VNP54NZL.js → chunk-P42RHYS3.js} +14 -14
  79. package/chunk-PLQYH5XK.js +2685 -0
  80. package/{chunk-SEJ5OS6F.js → chunk-PXYBUFDB.js} +4 -0
  81. package/{chunk-USHQX6VT.js → chunk-QPY264HO.js} +1 -1
  82. package/{chunk-XCA6HQGS.js → chunk-QQ72PAGR.js} +5 -5
  83. package/{chunk-TNIX77YM.js → chunk-R5GO3YZP.js} +34 -1
  84. package/{chunk-AIZE5TDM.js → chunk-SPKLALBU.js} +2 -2
  85. package/{chunk-PPU323UE.js → chunk-SRGKEBQ6.js} +184 -67
  86. package/{chunk-64PFYIAY.js → chunk-STAG2AHQ.js} +677 -640
  87. package/{chunk-K2AER7RX.js → chunk-SUKSWFLP.js} +2 -2
  88. package/{chunk-I4SN4NUQ.js → chunk-TRW43TSC.js} +1 -1
  89. package/{chunk-D2QN6CTI.js → chunk-UCLSOLX4.js} +8 -6
  90. package/{chunk-TYJ5XFEA.js → chunk-UFYBYB26.js} +1 -1
  91. package/{chunk-SCMHQUMK.js → chunk-US6MKPE7.js} +1 -1
  92. package/{chunk-ZIWPQEFU.js → chunk-VYNMQ6HW.js} +1 -28
  93. package/{chunk-IJERIUXS.js → chunk-WRCZXJ4N.js} +6 -3
  94. package/chunk-Y5GCAMGP.js +9 -0
  95. package/{chunk-XTWDF6RU.js → chunk-Y5NUMYMH.js} +21 -17
  96. package/{chunk-GKXCHNTE.js → chunk-Y6ORVLSS.js} +1 -1
  97. package/{chunk-RSHPU4PD.js → chunk-YANF2RR4.js} +2 -2
  98. package/{chunk-EYWJT7A2.js → chunk-YPG7TUQD.js} +3 -3
  99. package/{chunk-ZF6526IQ.js → chunk-ZEY4NJRE.js} +2 -2
  100. package/{chunk-74RAWNQN.js → chunk-ZVQHBIWV.js} +6 -6
  101. package/{chunk-DTODXBHK.js → chunk-ZWG3C7VI.js} +2 -2
  102. package/{commandRegistry-VBALU4Q4.js → commandRegistry-6MVZTG5Y.js} +79 -87
  103. package/{contentThunks-HPY2QNWZ.js → contentThunks-F7XJS5WV.js} +21 -21
  104. package/{createAgentAutomationAction-6ADGPGY6.js → createAgentAutomationAction-Z2AW4ZPK.js} +21 -21
  105. package/{createDialogAction-6ABMSEW2.js → createDialogAction-PWG7C7VG.js} +22 -22
  106. package/{createPageAction-OC4NNRPC.js → createPageAction-2L5Q2KOB.js} +22 -23
  107. package/{dbSlice-J37OGIXH.js → dbSlice-DC2J53RC.js} +7 -7
  108. package/{deleteFile-6JWDDRVP.js → deleteFile-KYWEMNFX.js} +4 -4
  109. package/{dialogCommands-EIGBRSQP.js → dialogCommands-MUFYPVMP.js} +24 -23
  110. package/{dialogSlice-SI45KJOH.js → dialogSlice-G5EIKHJA.js} +20 -20
  111. package/{docCreateCommands-3JDBBMU5.js → docCreateCommands-OPWOKG62.js} +19 -19
  112. package/{docDeleteCommands-5M6C7UUB.js → docDeleteCommands-IBV3WMKI.js} +20 -20
  113. package/{docReadCommands-DUB57F6V.js → docReadCommands-LVALHMLZ.js} +19 -19
  114. package/{docStore-L43MDEK4.js → docStore-CUFUJQGC.js} +8 -8
  115. package/{docUpdateCommands-WF7MAMPK.js → docUpdateCommands-Z5OUEAK7.js} +19 -19
  116. package/{getPricing-FKK3F5EJ.js → getPricing-TX35D7PI.js} +3 -3
  117. package/{handleSendMessageAction-BSMU7SVS.js → handleSendMessageAction-26HUY2ZV.js} +34 -34
  118. package/index.js +7 -7
  119. package/{localRuntimeAdapter-N5PDR26F.js → localRuntimeAdapter-SV22ZUP3.js} +59 -58
  120. package/{machineCommands-TMXJKZCE.js → machineCommands-2G5ESGDC.js} +63 -62
  121. package/{machineWsRunDispatch-25H63KEH.js → machineWsRunDispatch-NXKGHYPP.js} +58 -59
  122. package/{memberThunks-66DH6ABQ.js → memberThunks-2DWKLE6W.js} +8 -8
  123. package/{models-LAS4B2B5.js → models-PZQC7VV4.js} +2 -2
  124. package/package.json +4 -2
  125. package/{profileConfig-ZGOFORWV.js → profileConfig-KN3N2BLF.js} +7 -1
  126. package/{providerPresetApply-MY66I6NT.js → providerPresetApply-GSJI4JBJ.js} +6 -6
  127. package/{providerRegistry-QOE2FT57.js → providerRegistry-TSSTPGWF.js} +6 -6
  128. package/{read-DC4NUGN6.js → read-L7QEJETH.js} +5 -5
  129. package/{readDocTool-NCJ5NT25.js → readDocTool-QELXV2GW.js} +1 -1
  130. package/{readlineWorkspace-BS7WVCL2.js → readlineWorkspace-AYCWJVXF.js} +334 -123
  131. package/{removeDialogAgentAction-E2H3OZU6.js → removeDialogAgentAction-376XSUP2.js} +9 -9
  132. package/{runAgentClientLoop-BVKRI4SY.js → runAgentClientLoop-SJQUUBEC.js} +50 -47
  133. package/{runtimeDoctorCommands-GIOGC5SC.js → runtimeDoctorCommands-56NWKNON.js} +5 -5
  134. package/{secretCommands-ZXZRLR3R.js → secretCommands-DNY56NSU.js} +11 -1
  135. package/{setDialogExtraReferencesAction-SITRPMYU.js → setDialogExtraReferencesAction-QBDSH63D.js} +8 -8
  136. package/{setPrimaryDialogAgentAction-U7N45TGC.js → setPrimaryDialogAgentAction-537QFGW3.js} +9 -9
  137. package/settingThunks-4Z43ZSAT.js +923 -0
  138. package/{spaceCommands-5EWREUWS.js → spaceCommands-AWIIP7J5.js} +19 -19
  139. package/{streamAgentChatTurn-B4VFUV52.js → streamAgentChatTurn-OITCT4FF.js} +55 -106
  140. package/{switchDialogAgentAction-OMGBD3N2.js → switchDialogAgentAction-CSO6AKRL.js} +7 -7
  141. package/{tableCommands-U3QDY4L6.js → tableCommands-LBH3QPPO.js} +1 -1
  142. package/{toolApiClient-7WSJJJBV.js → toolApiClient-HGNO53TC.js} +2 -2
  143. package/{tools-5WYAUKMK.js → tools-KH4MMAFG.js} +39 -40
  144. package/{tuiSummaryLlmCaller-PPU7YDBG.js → tuiSummaryLlmCaller-KLK6K3Q3.js} +8 -8
  145. package/{updateCommands-NQXAGFM7.js → updateCommands-LXZLG44Y.js} +2 -2
  146. package/{updateDialogTitleAction-YJHDKHFX.js → updateDialogTitleAction-PDJUW7Z7.js} +22 -22
  147. package/{workloadLifecycle-36DXRZKU.js → workloadLifecycle-6O6PMISX.js} +2 -2
  148. package/chunk-IA7TRNNR.js +0 -11
  149. package/chunk-OFVFQYIE.js +0 -7012
  150. package/chunk-W4S6OTSC.js +0 -35
  151. package/clipboardy-GCO3GT3I.js +0 -11793
  152. package/settingThunks-Y7SVJOMZ.js +0 -1371
@@ -1,31 +1,31 @@
1
- import {
2
- buildResponseGuidelines
3
- } from "./chunk-W4S6OTSC.js";
4
1
  import {
5
2
  getLocalProviderSecret
6
3
  } from "./chunk-HS7MLR74.js";
7
4
  import {
8
5
  performServerProxyFetchWithRetry
9
- } from "./chunk-T5BHHWA5.js";
6
+ } from "./chunk-IJVJUAHF.js";
10
7
  import {
11
8
  shouldUseServerProxy
12
9
  } from "./chunk-UKZX3NHN.js";
13
10
  import {
14
11
  fetchServerSyncedCredential
15
- } from "./chunk-LC23WBCU.js";
12
+ } from "./chunk-M3KPY3TH.js";
16
13
  import {
17
14
  buildSkillGuidancePromptBlock
18
- } from "./chunk-HIQ4GF53.js";
15
+ } from "./chunk-DC3SZCRR.js";
19
16
  import {
17
+ CREDENTIAL_HYGIENE_RULE,
20
18
  DELETE_SAFETY_RED_LINE,
21
19
  PARALLEL_DISPATCH_DEFAULT_RULE,
22
20
  PLATFORM_RISK_CONTROL_RULE,
21
+ buildConsultationModeBlock,
23
22
  buildIdentityBlock,
23
+ buildResponseGuidelines,
24
24
  buildRuntimeGuidanceBlocks,
25
25
  compileContextLayers,
26
26
  detectDispatchIntentFromMessages,
27
27
  resolveToolGuidedSections
28
- } from "./chunk-WD4XYDYC.js";
28
+ } from "./chunk-3WIXU4XO.js";
29
29
  import {
30
30
  convertMessagesToResponsesInput,
31
31
  getUsageRequestOptions,
@@ -34,7 +34,7 @@ import {
34
34
  resolveReasoningReplayOptions,
35
35
  shouldStripReasoningContentForOutbound,
36
36
  stablePromptCacheKey
37
- } from "./chunk-HL3O3PCQ.js";
37
+ } from "./chunk-6TF64IF2.js";
38
38
  import {
39
39
  createFileCredentialBroker
40
40
  } from "./chunk-UHTDNB5Y.js";
@@ -45,21 +45,21 @@ import {
45
45
  ANTIGRAVITY_CLOUD_CODE_BASE_URL,
46
46
  isAntigravityCloudCodeBaseUrl,
47
47
  isAntigravityOAuthAgent
48
- } from "./chunk-XZNCX52W.js";
48
+ } from "./chunk-JGRPBIZZ.js";
49
49
  import {
50
50
  buildProviderAuthHeaders
51
- } from "./chunk-K2AER7RX.js";
51
+ } from "./chunk-SUKSWFLP.js";
52
52
  import {
53
53
  isOpenAiResponsesModel,
54
54
  resolvePlatformChatCompletionsEndpoint,
55
55
  resolvePlatformResponsesEndpoint
56
- } from "./chunk-UBUH2TCC.js";
56
+ } from "./chunk-I2RMFLLH.js";
57
57
  import {
58
58
  clampReasoningEffort,
59
59
  findModelConfig,
60
60
  getModelConfig,
61
61
  isModelSupportReasoningEffort
62
- } from "./chunk-I4SN4NUQ.js";
62
+ } from "./chunk-TRW43TSC.js";
63
63
  import {
64
64
  isRecord
65
65
  } from "./chunk-KUG52IAP.js";
@@ -83,7 +83,7 @@ import {
83
83
  isFireworksKimiModel,
84
84
  isPlatformMimoProviderModel,
85
85
  resolveFireworksKimiModel
86
- } from "./chunk-CHCS6XPJ.js";
86
+ } from "./chunk-CGFNDIKK.js";
87
87
  import {
88
88
  asTrimmedLowercaseString
89
89
  } from "./chunk-QSJ3HFEF.js";
@@ -215,16 +215,6 @@ function resolveAgentCallPlan(agentConfig, _env) {
215
215
  vendor: provider || "anthropic"
216
216
  };
217
217
  }
218
- if (oauthApiKeyRef === "workbuddy" || oauthApiKeyRef === "workbuddy-ai") {
219
- return {
220
- authMethod: { kind: "oauth", ref: oauthApiKeyRef },
221
- transport: "server-proxy",
222
- upstreamWire: "chat.completions",
223
- endpoint: oauthApiKeyRef === "workbuddy" ? "https://copilot.tencent.com/v2/chat/completions" : "https://www.workbuddy.ai/v2/chat/completions",
224
- requiredHeaders: [],
225
- vendor: oauthApiKeyRef
226
- };
227
- }
228
218
  if (oauthApiKeyRef === "xai") {
229
219
  return {
230
220
  authMethod: { kind: "oauth", ref: "xai" },
@@ -454,6 +444,13 @@ ${wrapHistoricalSummaryWithReplayGuard(contexts.dialogSummary)}` : "";
454
444
  cacheScope: "static",
455
445
  content: DELETE_SAFETY_RED_LINE
456
446
  },
447
+ // 凭据纪律:与红线同为无条件系统层块,四条装配线同源。
448
+ {
449
+ id: "credential-hygiene",
450
+ owner: "platform",
451
+ cacheScope: "static",
452
+ content: CREDENTIAL_HYGIENE_RULE
453
+ },
457
454
  // 并行是默认:系统层固定块,紧随红线(同为无条件前缀,不随工具/轮次变化)。
458
455
  {
459
456
  id: "parallel-dispatch-default",
@@ -468,6 +465,7 @@ ${wrapHistoricalSummaryWithReplayGuard(contexts.dialogSummary)}` : "";
468
465
  cacheScope: "static",
469
466
  content: PLATFORM_RISK_CONTROL_RULE
470
467
  },
468
+ { id: "consultation-mode", owner: "platform", cacheScope: "static", content: buildConsultationModeBlock() },
471
469
  { id: "identity", owner: "platform", cacheScope: "session", content: identitySection },
472
470
  { id: "user-response-language", owner: "platform", cacheScope: "session", content: buildUserResponseLanguageContext({ language: safeLanguage }) },
473
471
  { id: "startup-protocol", owner: "platform", cacheScope: "static", content: startupProtocol },
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-CF7PE763.js";
10
10
  import {
11
11
  loadProfileConfig
12
- } from "./chunk-TNIX77YM.js";
12
+ } from "./chunk-R5GO3YZP.js";
13
13
  import {
14
14
  resolveDefaultSpawn
15
15
  } from "./chunk-Y6ROFCZO.js";
@@ -1,7 +1,3 @@
1
- import {
2
- BUILTIN_DIALOG_LLM_FALLBACK_MODEL,
3
- BUILTIN_SUMMARY_LLM_CONFIG
4
- } from "./chunk-523DITKR.js";
5
1
  import {
6
2
  isOAuthApiKeyRef
7
3
  } from "./chunk-UKZX3NHN.js";
@@ -9,18 +5,22 @@ import {
9
5
  buildDialogAttachmentPlan,
10
6
  extractFileContentIds
11
7
  } from "./chunk-OFFL4DCR.js";
8
+ import {
9
+ BUILTIN_DIALOG_LLM_FALLBACK_MODEL,
10
+ BUILTIN_SUMMARY_LLM_CONFIG
11
+ } from "./chunk-523DITKR.js";
12
12
  import {
13
13
  isMediaToolConfirmation
14
14
  } from "./chunk-QYPE3TS3.js";
15
15
  import {
16
16
  runLlm
17
- } from "./chunk-LC23WBCU.js";
17
+ } from "./chunk-M3KPY3TH.js";
18
18
  import {
19
19
  getApproxPricePerImage
20
20
  } from "./chunk-4JH2UMJR.js";
21
21
  import {
22
22
  cleanupCliSessionForDialog
23
- } from "./chunk-PLSVXHSA.js";
23
+ } from "./chunk-IRTOYSA2.js";
24
24
  import {
25
25
  getActiveDialogAgentId,
26
26
  getDialogAgentIds,
@@ -56,7 +56,7 @@ import {
56
56
  } from "./chunk-XI7DGLUK.js";
57
57
  import {
58
58
  addContentAction
59
- } from "./chunk-EDX5XSJM.js";
59
+ } from "./chunk-M2P3OGXZ.js";
60
60
  import {
61
61
  patch,
62
62
  read,
@@ -64,19 +64,19 @@ import {
64
64
  selectById,
65
65
  upload,
66
66
  write
67
- } from "./chunk-74RAWNQN.js";
67
+ } from "./chunk-ZVQHBIWV.js";
68
68
  import {
69
69
  getRuntimeServerContext,
70
70
  parseOwnerUserIdFromDbKey,
71
71
  scheduleDeleteReplication
72
- } from "./chunk-4YRTZIVN.js";
72
+ } from "./chunk-2SGAI64X.js";
73
73
  import {
74
74
  asyncThunkCreator,
75
75
  buildCreateSlice,
76
76
  createAsyncThunk,
77
77
  createEntityAdapter,
78
78
  createSelector
79
- } from "./chunk-IJERIUXS.js";
79
+ } from "./chunk-WRCZXJ4N.js";
80
80
  import {
81
81
  createClientLogger
82
82
  } from "./chunk-QQ56R7KS.js";
@@ -84,7 +84,7 @@ import {
84
84
  selectIdentityToken,
85
85
  selectIdentityUser,
86
86
  selectIdentityUserId
87
- } from "./chunk-SEJ5OS6F.js";
87
+ } from "./chunk-PXYBUFDB.js";
88
88
  import {
89
89
  getRecordTimestamp,
90
90
  getTombstoneTimestamp,
@@ -93,7 +93,7 @@ import {
93
93
  } from "./chunk-D2MDMY2M.js";
94
94
  import {
95
95
  nolotusId
96
- } from "./chunk-GKXCHNTE.js";
96
+ } from "./chunk-Y6ORVLSS.js";
97
97
  import {
98
98
  DEFAULT_AUTO_EXECUTION_PROFILE,
99
99
  EMPTY_ASSISTANT_FALLBACK_MESSAGE,
@@ -105,7 +105,7 @@ import {
105
105
  extractReferenceKeysFromMessage,
106
106
  normalizeUsage,
107
107
  resolveAutoExecutionProfile
108
- } from "./chunk-DTODXBHK.js";
108
+ } from "./chunk-ZWG3C7VI.js";
109
109
  import {
110
110
  COMPACTION_SUMMARY_SYSTEM_PROMPT,
111
111
  DEFAULT_CONTEXT_WINDOW,
@@ -119,7 +119,7 @@ import {
119
119
  getModelInfo,
120
120
  planCompression,
121
121
  serializeMessageContent
122
- } from "./chunk-4PXHOOFA.js";
122
+ } from "./chunk-2MTE2PEH.js";
123
123
  import {
124
124
  asRecordOrEmpty
125
125
  } from "./chunk-KX6YBIHG.js";
@@ -132,7 +132,7 @@ import {
132
132
  builtinRuntimeFallbackEntries,
133
133
  isBuiltinPlatformAgentKey,
134
134
  parseBuiltinPlatformAgentId
135
- } from "./chunk-EZVK3N5L.js";
135
+ } from "./chunk-LOEO7LRC.js";
136
136
  import {
137
137
  extractCustomId,
138
138
  extractUserId,
@@ -152,7 +152,7 @@ import {
152
152
  import {
153
153
  findModelConfig,
154
154
  getModelConfig
155
- } from "./chunk-I4SN4NUQ.js";
155
+ } from "./chunk-TRW43TSC.js";
156
156
  import {
157
157
  isRecord
158
158
  } from "./chunk-KUG52IAP.js";
@@ -188,7 +188,7 @@ import {
188
188
  isPlatformManagedProvider,
189
189
  resolvePlatformEffectiveModel,
190
190
  resolvePlatformHostedRouting
191
- } from "./chunk-CHCS6XPJ.js";
191
+ } from "./chunk-CGFNDIKK.js";
192
192
  import {
193
193
  asTrimmedLowercaseString
194
194
  } from "./chunk-QSJ3HFEF.js";
@@ -576,6 +576,8 @@ var fetchAndCacheMessagesLocalFirst = async ({
576
576
  const remotePromise = Promise.all(serverPromises).then(
577
577
  (results) => results.flat()
578
578
  );
579
+ void remotePromise.catch(() => {
580
+ });
579
581
  let localSettledAt = null;
580
582
  const localTimingPromise = localPromise.then((value) => {
581
583
  localSettledAt = typeof performance !== "undefined" ? performance.now() : Date.now();
@@ -7029,6 +7031,10 @@ var space_locale_default = {
7029
7031
  unpin: "Unpin",
7030
7032
  favorite: "Favorite",
7031
7033
  unfavorite: "Unfavorite",
7034
+ quickAddToRail: "Add to Rail Shortcut",
7035
+ quickRemoveFromRail: "Remove from Rail Shortcut",
7036
+ quickMoveRailUp: "Move Rail Shortcut Up",
7037
+ quickMoveRailDown: "Move Rail Shortcut Down",
7032
7038
  pinUpdated: "Pin status updated",
7033
7039
  pinUpdateFailed: "Failed to update pin status",
7034
7040
  moveToSpace: "Move to Space",
@@ -7135,6 +7141,8 @@ var space_locale_default = {
7135
7141
  search_placeholder: "Search content...",
7136
7142
  allView: {
7137
7143
  recent: "Recent",
7144
+ work: "Work",
7145
+ projects: "Projects",
7138
7146
  favorites: "Favorites",
7139
7147
  shares: "My Shares",
7140
7148
  expanded: "Expanded",
@@ -7349,6 +7357,10 @@ var space_locale_default = {
7349
7357
  unpin: "\u53D6\u6D88\u7F6E\u9876",
7350
7358
  favorite: "\u6536\u85CF",
7351
7359
  unfavorite: "\u53D6\u6D88\u6536\u85CF",
7360
+ quickAddToRail: "\u52A0\u5165\u5FEB\u6377",
7361
+ quickRemoveFromRail: "\u4ECE\u5FEB\u6377\u79FB\u9664",
7362
+ quickMoveRailUp: "\u5FEB\u6377\u4E0A\u79FB",
7363
+ quickMoveRailDown: "\u5FEB\u6377\u4E0B\u79FB",
7352
7364
  pinUpdated: "\u7F6E\u9876\u72B6\u6001\u5DF2\u66F4\u65B0",
7353
7365
  pinUpdateFailed: "\u7F6E\u9876\u72B6\u6001\u66F4\u65B0\u5931\u8D25",
7354
7366
  moveToSpace: "\u79FB\u52A8\u5230\u7A7A\u95F4",
@@ -7455,6 +7467,8 @@ var space_locale_default = {
7455
7467
  search_placeholder: "\u641C\u7D22\u5185\u5BB9...",
7456
7468
  allView: {
7457
7469
  recent: "\u6700\u8FD1",
7470
+ work: "\u5DE5\u4F5C",
7471
+ projects: "\u9879\u76EE",
7458
7472
  favorites: "\u6211\u7684\u6536\u85CF",
7459
7473
  shares: "\u6211\u7684\u5206\u4EAB",
7460
7474
  expanded: "\u5DF2\u5C55\u5F00",
@@ -7668,6 +7682,10 @@ var space_locale_default = {
7668
7682
  unpin: "\u53D6\u6D88\u7F6E\u9802",
7669
7683
  favorite: "\u6536\u85CF",
7670
7684
  unfavorite: "\u53D6\u6D88\u6536\u85CF",
7685
+ quickAddToRail: "\u52A0\u5165\u5FEB\u6377",
7686
+ quickRemoveFromRail: "\u5F9E\u5FEB\u6377\u79FB\u9664",
7687
+ quickMoveRailUp: "\u5FEB\u6377\u4E0A\u79FB",
7688
+ quickMoveRailDown: "\u5FEB\u6377\u4E0B\u79FB",
7671
7689
  pinUpdated: "\u7F6E\u9802\u72C0\u614B\u5DF2\u66F4\u65B0",
7672
7690
  pinUpdateFailed: "\u7F6E\u9802\u72C0\u614B\u66F4\u65B0\u5931\u6557",
7673
7691
  moveToSpace: "\u79FB\u52D5\u5230\u7A7A\u9593",
@@ -7774,6 +7792,8 @@ var space_locale_default = {
7774
7792
  search_placeholder: "\u641C\u5C0B\u5167\u5BB9...",
7775
7793
  allView: {
7776
7794
  recent: "\u6700\u8FD1",
7795
+ work: "\u5DE5\u4F5C",
7796
+ projects: "\u5C08\u6848",
7777
7797
  favorites: "\u6211\u7684\u6536\u85CF",
7778
7798
  shares: "\u6211\u7684\u5206\u4EAB",
7779
7799
  expanded: "\u5DF2\u5C55\u958B",
@@ -7988,6 +8008,10 @@ var space_locale_default = {
7988
8008
  unpin: "\u30D4\u30F3\u7559\u3081\u89E3\u9664",
7989
8009
  favorite: "\u304A\u6C17\u306B\u5165\u308A",
7990
8010
  unfavorite: "\u304A\u6C17\u306B\u5165\u308A\u89E3\u9664",
8011
+ quickAddToRail: "\u30EC\u30FC\u30EB\u306B\u8FFD\u52A0",
8012
+ quickRemoveFromRail: "\u30EC\u30FC\u30EB\u304B\u3089\u524A\u9664",
8013
+ quickMoveRailUp: "\u30EC\u30FC\u30EB\u5185\u3067\u4E0A\u3078\u79FB\u52D5",
8014
+ quickMoveRailDown: "\u30EC\u30FC\u30EB\u5185\u3067\u4E0B\u3078\u79FB\u52D5",
7991
8015
  pinUpdated: "\u30D4\u30F3\u7559\u3081\u306E\u72B6\u614B\u3092\u66F4\u65B0\u3057\u307E\u3057\u305F",
7992
8016
  pinUpdateFailed: "\u30D4\u30F3\u7559\u3081\u306E\u72B6\u614B\u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
7993
8017
  moveToSpace: "\u30B9\u30DA\u30FC\u30B9\u306B\u79FB\u52D5",
@@ -8095,6 +8119,8 @@ var space_locale_default = {
8095
8119
  search_placeholder: "\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u691C\u7D22...",
8096
8120
  allView: {
8097
8121
  recent: "\u6700\u8FD1",
8122
+ work: "\u4F5C\u696D",
8123
+ projects: "\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8",
8098
8124
  favorites: "\u304A\u6C17\u306B\u5165\u308A",
8099
8125
  shares: "\u81EA\u5206\u306E\u5171\u6709",
8100
8126
  expanded: "\u5C55\u958B\u6E08\u307F",
@@ -10926,7 +10952,7 @@ var messageSlice = createSliceWithThunks({
10926
10952
  runtimeOptions: args.runtimeOptions
10927
10953
  });
10928
10954
  if (agentKeyToUse) {
10929
- const { streamAgentChatTurn } = await import("./agentSlice-IP4DZNNV.js");
10955
+ const { streamAgentChatTurn } = await import("./agentSlice-636W6M5A.js");
10930
10956
  await dispatch(
10931
10957
  streamAgentChatTurn({
10932
10958
  agentKey: agentKeyToUse,
@@ -13681,7 +13707,7 @@ var deleteOwnedDialogAttachments = async (args) => {
13681
13707
  metadataReadFailures
13682
13708
  });
13683
13709
  if (!plan.deleteCandidates.length) return plan;
13684
- const { deleteFileAction } = await import("./deleteFile-6JWDDRVP.js");
13710
+ const { deleteFileAction } = await import("./deleteFile-KYWEMNFX.js");
13685
13711
  for (const candidate of plan.deleteCandidates) {
13686
13712
  if (candidate.fileDbKey) {
13687
13713
  await deleteFileAction(candidate.fileDbKey, args.thunkApi);
@@ -13743,7 +13769,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
13743
13769
  }
13744
13770
  if (isCurrentDialog) {
13745
13771
  await thunkApi.dispatch(resetMsgs());
13746
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-SI45KJOH.js");
13772
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-G5EIKHJA.js");
13747
13773
  dispatch(clearPendingAttachments2());
13748
13774
  }
13749
13775
  return { dialogKey, isCurrentDialog, attachmentPlan };
@@ -13751,39 +13777,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
13751
13777
 
13752
13778
  // packages/chat/dialog/dialogSlice.ts
13753
13779
  var runCreateDialogAction = async (args, thunkApi) => {
13754
- const { createDialogAction } = await import("./createDialogAction-6ABMSEW2.js");
13780
+ const { createDialogAction } = await import("./createDialogAction-PWG7C7VG.js");
13755
13781
  return createDialogAction(args, thunkApi);
13756
13782
  };
13757
13783
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
13758
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-6ADGPGY6.js");
13784
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-Z2AW4ZPK.js");
13759
13785
  return createAgentAutomationAction(args, thunkApi);
13760
13786
  };
13761
13787
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
13762
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-YJHDKHFX.js");
13788
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-PDJUW7Z7.js");
13763
13789
  return updateDialogTitleAction(args, thunkApi);
13764
13790
  };
13765
13791
  var runAddDialogAgentAction = async (args, thunkApi) => {
13766
- const { addDialogAgentAction } = await import("./addDialogAgentAction-A6SMKAGH.js");
13792
+ const { addDialogAgentAction } = await import("./addDialogAgentAction-4RJYUSIK.js");
13767
13793
  return addDialogAgentAction(args, thunkApi);
13768
13794
  };
13769
13795
  var runRemoveDialogAgentAction = async (args, thunkApi) => {
13770
- const { removeDialogAgentAction } = await import("./removeDialogAgentAction-E2H3OZU6.js");
13796
+ const { removeDialogAgentAction } = await import("./removeDialogAgentAction-376XSUP2.js");
13771
13797
  return removeDialogAgentAction(args, thunkApi);
13772
13798
  };
13773
13799
  var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
13774
- const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-U7N45TGC.js");
13800
+ const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-537QFGW3.js");
13775
13801
  return setPrimaryDialogAgentAction(args, thunkApi);
13776
13802
  };
13777
13803
  var runSwitchDialogAgentAction = async (args, thunkApi) => {
13778
- const { switchDialogAgentAction } = await import("./switchDialogAgentAction-OMGBD3N2.js");
13804
+ const { switchDialogAgentAction } = await import("./switchDialogAgentAction-CSO6AKRL.js");
13779
13805
  return switchDialogAgentAction(args, thunkApi);
13780
13806
  };
13781
13807
  var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
13782
- const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-SITRPMYU.js");
13808
+ const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-QBDSH63D.js");
13783
13809
  return setDialogExtraReferencesAction(args, thunkApi);
13784
13810
  };
13785
13811
  var runHandleSendMessageAction = async (args, thunkApi) => {
13786
- const { handleSendMessageAction } = await import("./handleSendMessageAction-BSMU7SVS.js");
13812
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-26HUY2ZV.js");
13787
13813
  return handleSendMessageAction(args, thunkApi);
13788
13814
  };
13789
13815
  function clearDialogState() {
@@ -13796,7 +13822,7 @@ var createPageAndAddReference = createAsyncThunk(
13796
13822
  async (payload, { dispatch, getState, rejectWithValue }) => {
13797
13823
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
13798
13824
  try {
13799
- const { createDocState } = await import("./docStore-L43MDEK4.js");
13825
+ const { createDocState } = await import("./docStore-CUFUJQGC.js");
13800
13826
  const pageKey = await createDocState(
13801
13827
  { slateData, title },
13802
13828
  { dispatch, getState }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getModelContextWindow
3
- } from "./chunk-4PXHOOFA.js";
3
+ } from "./chunk-2MTE2PEH.js";
4
4
  import {
5
5
  isRecord
6
6
  } from "./chunk-KUG52IAP.js";
@@ -11,7 +11,7 @@ import {
11
11
  PLATFORM_HOSTED_KIMI_K3_MODEL,
12
12
  isFireworksKimiModel,
13
13
  isNoloHostedProvider
14
- } from "./chunk-CHCS6XPJ.js";
14
+ } from "./chunk-CGFNDIKK.js";
15
15
  import {
16
16
  asTrimmedLowercaseString
17
17
  } from "./chunk-QSJ3HFEF.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-P5QACQDK.js";
7
7
  import {
8
8
  clearCliLocalRuntimePreparedAgentCache
9
- } from "./chunk-64PFYIAY.js";
9
+ } from "./chunk-STAG2AHQ.js";
10
10
  import {
11
11
  readCredentialAvailability
12
12
  } from "./chunk-6MXDOUMH.js";
@@ -19,7 +19,7 @@ import {
19
19
  resolveAgentRecordFromHybridStore,
20
20
  sanitizeAgentRecordForCliOutput,
21
21
  writeAgentRecord
22
- } from "./chunk-ZF6526IQ.js";
22
+ } from "./chunk-ZEY4NJRE.js";
23
23
  import {
24
24
  resolveCliAgentKeyInput
25
25
  } from "./chunk-NBTY7YJF.js";
@@ -244,7 +244,7 @@ async function runAgentCreateCommand(args, deps = {}) {
244
244
  let verifyResult;
245
245
  if (parsed.verify) {
246
246
  try {
247
- const { verifyCustomProvider } = await import("./agentProviderCommands-HL6MBLCL.js");
247
+ const { verifyCustomProvider } = await import("./agentProviderCommands-MKG2OOEY.js");
248
248
  const rec = built.nextRecord;
249
249
  verifyResult = await verifyCustomProvider({
250
250
  providerUrl: rec.customProviderUrl,
@@ -2,7 +2,7 @@ import {
2
2
  DEVIN_CONNECT_URL,
3
3
  parseSseDataLineJson,
4
4
  parseSseDataLineObject
5
- } from "./chunk-GQV5KHJU.js";
5
+ } from "./chunk-3C2QLERX.js";
6
6
  import {
7
7
  applyChatCompletionDelta,
8
8
  applyResponsesToolEvent,
@@ -11,7 +11,7 @@ import {
11
11
  flushChatCompletionStream,
12
12
  providerHttpFailure,
13
13
  throwIfChatCompletionStreamFailed
14
- } from "./chunk-DYYMIUN4.js";
14
+ } from "./chunk-L6EQV5OC.js";
15
15
  import {
16
16
  readSseFrames
17
17
  } from "./chunk-HNUWUO75.js";
@@ -26,13 +26,13 @@ import {
26
26
  hasImageInRuntimeMessages,
27
27
  resolveAgentContextWindow,
28
28
  stripImagePartsFromMessages
29
- } from "./chunk-HSJPKBLC.js";
29
+ } from "./chunk-ANJTRG52.js";
30
30
  import {
31
31
  clipToolText,
32
32
  resolveAgentImageInputSupport,
33
33
  resolveHistoricalToolContentCap,
34
34
  resolveToolOutputProfile
35
- } from "./chunk-GCKHQECX.js";
35
+ } from "./chunk-IYBIRCQV.js";
36
36
  import {
37
37
  applyShapingCounts,
38
38
  attachProjectionFacts,
@@ -52,18 +52,21 @@ import {
52
52
  finalizeAccumulatedToolCalls
53
53
  } from "./chunk-56GBUMO5.js";
54
54
  import {
55
+ CREDENTIAL_HYGIENE_RULE,
55
56
  DELETE_SAFETY_RED_LINE,
56
57
  PARALLEL_DISPATCH_DEFAULT_RULE,
57
58
  PLATFORM_RISK_CONTROL_RULE,
58
59
  TOOL_GUIDED_SECTION_ORDER,
60
+ buildConsultationModeBlock,
59
61
  buildIdentityBlock,
60
62
  buildRuntimeGuidanceBlocks,
61
63
  detectDispatchIntent,
62
64
  detectDispatchIntentFromMessages,
63
65
  estimateContextTokens,
64
66
  hashStablePrefixContent,
67
+ resolveResponseGuidelines,
65
68
  resolveToolGuidedSections
66
- } from "./chunk-WD4XYDYC.js";
69
+ } from "./chunk-3WIXU4XO.js";
67
70
  import {
68
71
  classifyUnparsableToolArgs,
69
72
  collectStablePromptPrefix,
@@ -87,7 +90,7 @@ import {
87
90
  toOpenAiCompatibleMessages,
88
91
  toResponsesTools,
89
92
  transferDowngradedToolTurnOrigin
90
- } from "./chunk-HL3O3PCQ.js";
93
+ } from "./chunk-6TF64IF2.js";
91
94
  import {
92
95
  BRIDGE_STREAM_MAX_CHARS,
93
96
  DEFAULT_READ_DIALOG_MAX_RESPONSE_CHARS,
@@ -116,7 +119,7 @@ import {
116
119
  resolveEmptyAssistantFallbackMessage,
117
120
  resolveEmptyAssistantOutcome,
118
121
  resolveTruncatedReasoningTailLog
119
- } from "./chunk-DTODXBHK.js";
122
+ } from "./chunk-ZWG3C7VI.js";
120
123
  import {
121
124
  COMPACTION_SUMMARY_SCHEMA_VERSION,
122
125
  COMPACTION_SUMMARY_SYSTEM_PROMPT,
@@ -139,7 +142,7 @@ import {
139
142
  sha256Hex,
140
143
  truncateToolOutputForContext,
141
144
  withProviderCallTimingFields
142
- } from "./chunk-4PXHOOFA.js";
145
+ } from "./chunk-2MTE2PEH.js";
143
146
  import {
144
147
  clipCompactText
145
148
  } from "./chunk-5MMAK75Q.js";
@@ -172,7 +175,7 @@ import {
172
175
  import {
173
176
  buildProviderAuthHeaders,
174
177
  buildProviderExecutionPlan
175
- } from "./chunk-K2AER7RX.js";
178
+ } from "./chunk-SUKSWFLP.js";
176
179
  import {
177
180
  isRecord
178
181
  } from "./chunk-KUG52IAP.js";
@@ -15098,7 +15101,7 @@ async function runWorkspaceCommand(args2) {
15098
15101
  proc.stdin.write(args2.stdin);
15099
15102
  proc.stdin.end();
15100
15103
  }
15101
- const label = deriveLabel(args2.command.join(" "));
15104
+ const label = args2.label?.trim() || deriveLabel(args2.command.join(" "));
15102
15105
  const registry2 = getProcessRegistry();
15103
15106
  if (typeof proc.pid === "number") {
15104
15107
  registry2.add({
@@ -15343,6 +15346,10 @@ function buildExecShellToolDefinition(toolName = "execShell") {
15343
15346
  background: {
15344
15347
  type: "boolean",
15345
15348
  description: "Immediately detach this command into a tracked background task (no 120s synchronous wait): returns {detached: true, taskId}, and on completion the platform resumes this conversation with a bounded result capsule (exitCode, duration, stdout/stderr tail). Default false. Use for finite jobs (tests, builds, batch) whose result you need later; NOT for dev servers/watchers \u2014 use launchProcess for those."
15349
+ },
15350
+ label: {
15351
+ type: "string",
15352
+ description: "Optional human-readable label for the resulting background task, shown in the task list and completion notices. Defaults to the command's last token, which is unhelpful for pipelines (e.g. '| tail -25' yields '-25')."
15346
15353
  }
15347
15354
  }
15348
15355
  }
@@ -15391,7 +15398,8 @@ function normalizeExecShellInput(input) {
15391
15398
  ...login !== void 0 ? { login } : {},
15392
15399
  ...activity ? { activity } : {},
15393
15400
  ...record2.input !== void 0 ? { input: record2.input } : {},
15394
- ...background ? { background: true } : {}
15401
+ ...background ? { background: true } : {},
15402
+ ...typeof record2.label === "string" && record2.label.trim() ? { label: record2.label.trim() } : {}
15395
15403
  };
15396
15404
  }
15397
15405
  throw new Error("execShell requires a non-empty command.");
@@ -15456,6 +15464,7 @@ var execShellCapability = {
15456
15464
  abortSignal: ctx.abortSignal,
15457
15465
  detachMs: background ? 0 : isImmediateDetachShellCommand({ command }) ? 0 : ctx.detachMs,
15458
15466
  stdin: typeof normalized.input === "string" ? normalized.input : void 0,
15467
+ label: typeof normalized.label === "string" ? normalized.label : void 0,
15459
15468
  // Ownership of the turn that invoked this command: an auto-detached
15460
15469
  // command keeps its parent dialog so its terminal can resume that
15461
15470
  // conversation (see processOwnership.ts). Absent ctx.owner = unowned.
@@ -18456,7 +18465,11 @@ async function executeToolCall(args2) {
18456
18465
  ...userInputText ? { userInput: userInputText } : {},
18457
18466
  ...input.runtimeContext ? { runtimeContext: input.runtimeContext } : {},
18458
18467
  ...args2.runToolNames ? { runToolNames: args2.runToolNames } : {},
18459
- ...input.abortSignal ? { abortSignal: input.abortSignal } : {}
18468
+ ...input.abortSignal ? { abortSignal: input.abortSignal } : {},
18469
+ // 定档信号:来源只由 turn 输入推导,不让模型/参数层参与。
18470
+ // 三级判据见 plan §10——后台运行优先于子 run(后台派发的子 run 仍是
18471
+ // 无人值守的,按 automation 报更保守)。
18472
+ origin: input.background ? "automation" : input.runKind === "subtask" ? "agent" : "chat"
18460
18473
  }, {
18461
18474
  ...input.abortSignal ? { abortSignal: input.abortSignal } : {},
18462
18475
  ...input.runtimeContext ? { runtimeContext: input.runtimeContext } : {}
@@ -19749,17 +19762,36 @@ async function runLocalAgentTurn(input) {
19749
19762
  input.contextBlocks,
19750
19763
  input.contextBlockScopes
19751
19764
  );
19765
+ const responseGuidelines = resolveResponseGuidelines(
19766
+ input.responseViewport ?? "unknown"
19767
+ );
19768
+ const responseGuidelineScopes = [
19769
+ { content: responseGuidelines.behavior, cacheScope: "session" },
19770
+ ...responseGuidelines.presentation.trim().length > 0 ? [
19771
+ {
19772
+ content: responseGuidelines.presentation,
19773
+ cacheScope: "session"
19774
+ }
19775
+ ] : []
19776
+ ];
19752
19777
  const mergedContextBlockScopes = [
19753
19778
  // 删除安全红线:系统层最高优先级约束,位于所有块之前(含身份信息块),
19754
19779
  // owner 要求常驻「根本提示词」的最顶部(2026-09-26 批量误删事故)。
19755
19780
  { content: DELETE_SAFETY_RED_LINE, cacheScope: "session" },
19781
+ // 凭据纪律:与红线同为系统层固定块,紧随其后(四条装配线同源)。
19782
+ { content: CREDENTIAL_HYGIENE_RULE, cacheScope: "session" },
19756
19783
  // 并行是默认:系统层固定块,紧随红线(localLoop 无 static 作用域,用 session 占位,
19757
19784
  // 「最顶」由数组首位保证——与红线同一约定)。
19758
19785
  { content: PARALLEL_DISPATCH_DEFAULT_RULE, cacheScope: "session" },
19759
19786
  // 平台风控纪律:无条件系统层块,沿用 session 占位约定。
19760
19787
  { content: PLATFORM_RISK_CONTROL_RULE, cacheScope: "session" },
19788
+ { content: buildConsultationModeBlock(), cacheScope: "session" },
19761
19789
  { content: identityBlock, cacheScope: "session" },
19762
19790
  ...guidanceScopes,
19791
+ // 回复行为准则:local 线(CLI 非交互 / 桌面 / TUI)的唯一注入边界。
19792
+ // 行为段恒注入;排版段只在宿主声明了可确认的展示能力时追加一份
19793
+ // (unknown = 拿不到视口信息,不得猜成宽屏或窄屏)。两块同属 session scope。
19794
+ ...responseGuidelineScopes,
19763
19795
  ...callerScopes
19764
19796
  ];
19765
19797
  loopTiming.mark("buildContextBlocks", 0);
@@ -21669,7 +21701,7 @@ function buildLoadSkillExecutor(args2) {
21669
21701
  const { resolveSkillByName } = await import("./skillDiscovery-QC35EQY4.js");
21670
21702
  const resolved = resolveSkillByName(args2.cwd, name);
21671
21703
  if (!resolved) {
21672
- const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-TDQ6JB2E.js");
21704
+ const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-H3AY27TR.js");
21673
21705
  const builtin = resolveBuiltinSkillByName(name);
21674
21706
  if (builtin) {
21675
21707
  return {
@@ -10,9 +10,7 @@ var OAUTH_PROVIDER_REFS = [
10
10
  "antigravity",
11
11
  "claude",
12
12
  "cursor",
13
- "devin",
14
- "workbuddy",
15
- "workbuddy-ai"
13
+ "devin"
16
14
  ];
17
15
  var METERED_API_KEY_REF_PREFIX = "api-key:";
18
16
  var normalizeRef = (ref) => typeof ref === "string" ? ref.trim().toLowerCase() : "";
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-5ZUL4CUO.js";
4
4
  import {
5
5
  resolveAgentImageInputSupport
6
- } from "./chunk-GCKHQECX.js";
6
+ } from "./chunk-IYBIRCQV.js";
7
7
  import {
8
8
  getModelContextWindow
9
- } from "./chunk-4PXHOOFA.js";
9
+ } from "./chunk-2MTE2PEH.js";
10
10
  import {
11
11
  asOptionalFiniteNumber
12
12
  } from "./chunk-WWC7I6TA.js";