nolo-cli 0.248.0-alpha.2 → 0.249.0-alpha.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 (62) hide show
  1. package/{_executeModel-H72XB2UR.js → _executeModel-IJLWI2HH.js} +13 -13
  2. package/{agentDeleteCommand-4AFQNHDD.js → agentDeleteCommand-ULJLNEHW.js} +12 -12
  3. package/{agentEmailCommands-6FR6TBJM.js → agentEmailCommands-JATJHJJS.js} +13 -13
  4. package/{agentListCommands-IXKBP3W5.js → agentListCommands-HQ6YW7ZE.js} +2 -2
  5. package/{agentMachineCommands-KCTPKYZM.js → agentMachineCommands-U56PM7BR.js} +3 -3
  6. package/{agentRecordCommands-JG3TB55T.js → agentRecordCommands-35VKRYFY.js} +13 -13
  7. package/{agentRunCommand-ZUKU7SYB.js → agentRunCommand-MKM7DYNL.js} +13 -13
  8. package/{agentRuntimeLocal-LVXPQ7QA.js → agentRuntimeLocal-FIOWO47Y.js} +2 -2
  9. package/{agentSlice-6EPEKSJT.js → agentSlice-5NJEWRIO.js} +1 -1
  10. package/{appDeleteCommands-BESCJOQM.js → appDeleteCommands-NMU43D3Y.js} +2 -2
  11. package/{appDeployCommands-LPTR6IOX.js → appDeployCommands-ICYG4DB2.js} +2 -2
  12. package/{appDeployStatusCommands-BZ7KZ5RD.js → appDeployStatusCommands-QBK3FXPB.js} +2 -2
  13. package/{appGetCommands-EDWGJV4S.js → appGetCommands-C4ABVH3V.js} +2 -2
  14. package/{appListCommands-OPRWYPM6.js → appListCommands-RQIKFAX6.js} +2 -2
  15. package/{chunk-KABDRAUT.js → chunk-2XIREU2L.js} +2 -2
  16. package/{chunk-WZFQBO5N.js → chunk-2YV2QQND.js} +2 -2
  17. package/{chunk-XSZLVTD3.js → chunk-34ZQTND7.js} +2 -2
  18. package/{chunk-YMKSYLT7.js → chunk-4P5ZLADR.js} +2 -2
  19. package/{chunk-E2CYOBQS.js → chunk-4Q252GDP.js} +1 -1
  20. package/{chunk-2JWRKVDC.js → chunk-5JZ7FFOO.js} +77 -116
  21. package/{chunk-LDX32FHM.js → chunk-7DOVWWXO.js} +7 -7
  22. package/{chunk-Z7KE4K3H.js → chunk-7QZ2B7RL.js} +2 -1
  23. package/{chunk-3IQEZYPF.js → chunk-AK7V6IDG.js} +3 -3
  24. package/{chunk-LQ7WOIVV.js → chunk-EZ7Q2XPO.js} +2 -2
  25. package/{chunk-OY3XGLWR.js → chunk-H7TICFO4.js} +1 -1
  26. package/{chunk-KFGL66WO.js → chunk-KQSX5NJX.js} +6 -6
  27. package/{chunk-W2PX6LH4.js → chunk-M7M5QM3I.js} +3 -3
  28. package/{chunk-JT4HJLIL.js → chunk-OWLQL7CW.js} +3 -3
  29. package/{chunk-Y6DW3JTS.js → chunk-P5Q24OJZ.js} +2 -2
  30. package/{chunk-XNTZD4AE.js → chunk-PAWBC6HC.js} +2 -2
  31. package/{chunk-A6BALTVL.js → chunk-PO7FTSGP.js} +8 -8
  32. package/{chunk-IVY2CQBD.js → chunk-U4LYOYSA.js} +7 -7
  33. package/{chunk-VFXMN3QM.js → chunk-XFOZH7NP.js} +10 -10
  34. package/{chunk-7UVVLYKC.js → chunk-YK7OTNON.js} +1 -1
  35. package/{chunk-RMA5H7R5.js → chunk-YWPPXECC.js} +3 -3
  36. package/{cliLocalAgentRecordReader-MCQVRWBR.js → cliLocalAgentRecordReader-SA5LZVMI.js} +3 -3
  37. package/{commandRegistry-OXNZPSGC.js → commandRegistry-AFWOTN5H.js} +40 -40
  38. package/{contentThunks-RHE6A4AH.js → contentThunks-3XFPEGLX.js} +3 -3
  39. package/{createAgentAutomationAction-TZ2CN6BM.js → createAgentAutomationAction-YLP5IJ26.js} +3 -3
  40. package/{createDialogAction-4JC5EYQT.js → createDialogAction-LV2RAA4A.js} +4 -4
  41. package/{createPageAction-WQREAKL3.js → createPageAction-Q7WCMY4P.js} +4 -4
  42. package/{dialogCommands-KZTZLWPZ.js → dialogCommands-TFPF7PCC.js} +2 -2
  43. package/{dialogSlice-DI2DW4UP.js → dialogSlice-UPUUJMMH.js} +2 -2
  44. package/{docCreateCommands-26HJ5NAY.js → docCreateCommands-7MWOJKEE.js} +2 -2
  45. package/{docDeleteCommands-UAOHH5XK.js → docDeleteCommands-UO3DFGTF.js} +2 -2
  46. package/{docReadCommands-4ADG7YE6.js → docReadCommands-RTZXLDMJ.js} +2 -2
  47. package/{docStore-A4UDG56G.js → docStore-KETXRY6J.js} +1 -1
  48. package/{docUpdateCommands-OGFJZENF.js → docUpdateCommands-BPHMJPJX.js} +2 -2
  49. package/{handleSendMessageAction-RO647P4V.js → handleSendMessageAction-47XS4QHV.js} +9 -21
  50. package/{hostCredentialCreate-4CHXN6U5.js → hostCredentialCreate-ITXE4237.js} +13 -13
  51. package/index.js +3 -3
  52. package/{localRuntimeAdapter-UB3RWVUD.js → localRuntimeAdapter-FCU7BQAX.js} +12 -12
  53. package/{machineCommands-EMUNGUKT.js → machineCommands-B53U27WZ.js} +13 -13
  54. package/{machineWsRunDispatch-GL4IASSZ.js → machineWsRunDispatch-ZBA55H5E.js} +13 -13
  55. package/package.json +1 -1
  56. package/{projectArchive-ZRQPLQEI.js → projectArchive-GWJTAEK6.js} +4 -4
  57. package/{readlineWorkspace-IUUODHF4.js → readlineWorkspace-YFTXLYGM.js} +16 -16
  58. package/{runAgentClientLoop-HHKMRV4B.js → runAgentClientLoop-7GBH7I5H.js} +11 -11
  59. package/{spaceCommands-W5TAVFDT.js → spaceCommands-DQZJ6GLU.js} +2 -2
  60. package/{streamAgentChatTurn-URBDXKCY.js → streamAgentChatTurn-2QVGBCVC.js} +38 -16
  61. package/{tools-USMXBZZV.js → tools-TL5UMV3N.js} +7 -7
  62. package/{updateDialogTitleAction-LTDUWMHQ.js → updateDialogTitleAction-B3BLRMTZ.js} +3 -3
@@ -3,24 +3,22 @@ import {
3
3
  mergeReferences,
4
4
  resolveReferenceAssets,
5
5
  resolveToolsFromKeys
6
- } from "./chunk-XSZLVTD3.js";
6
+ } from "./chunk-34ZQTND7.js";
7
7
  import {
8
8
  UI_CARD_ENVELOPE_MAX_BYTES,
9
9
  getAllToolRuns,
10
10
  parseUiCard,
11
11
  uiCardFallback
12
- } from "./chunk-RMA5H7R5.js";
12
+ } from "./chunk-YWPPXECC.js";
13
13
  import {
14
14
  getDocState
15
- } from "./chunk-WZFQBO5N.js";
15
+ } from "./chunk-2YV2QQND.js";
16
16
  import {
17
17
  getTableState
18
- } from "./chunk-OY3XGLWR.js";
18
+ } from "./chunk-H7TICFO4.js";
19
19
  import {
20
- messageStreaming,
21
- removeTransientMessage,
22
20
  selectAllMsgs
23
- } from "./chunk-A6BALTVL.js";
21
+ } from "./chunk-PO7FTSGP.js";
24
22
  import {
25
23
  getCurrentSpaceIdRaw,
26
24
  getViewMode
@@ -71,9 +69,6 @@ import {
71
69
  import {
72
70
  metaKey
73
71
  } from "./chunk-SYTHYBMI.js";
74
- import {
75
- createDialogMessageKeyAndId
76
- } from "./chunk-OJKUU3LP.js";
77
72
  import {
78
73
  canonicalizeToolNames,
79
74
  prioritizeToolNames
@@ -107,108 +102,6 @@ import {
107
102
  asOptionalTrimmedString
108
103
  } from "./chunk-G3SUCT4W.js";
109
104
 
110
- // packages/app/utils/desktopActionGateChannel.ts
111
- function targetForRunKind(kind, ctx = {}) {
112
- if (kind === "server-run") {
113
- return {
114
- kind: "web",
115
- server: ctx.server?.trim() ?? "",
116
- token: ctx.token ?? null
117
- };
118
- }
119
- return { kind: "desktop" };
120
- }
121
- var NEEDS_LOGIN_MESSAGE = "\u9700\u8981\u767B\u5F55\u540E\u624D\u80FD\u5904\u7406\u8BE5\u6388\u6743\u8BF7\u6C42";
122
- var MISSING_SERVER_MESSAGE = "\u672A\u914D\u7F6E\u670D\u52A1\u5668\u5730\u5740\uFF0C\u65E0\u6CD5\u5904\u7406\u8BE5\u6388\u6743\u8BF7\u6C42";
123
- var gates = /* @__PURE__ */ new Map();
124
- var targets = /* @__PURE__ */ new Map();
125
- var failures = /* @__PURE__ */ new Map();
126
- var metadata = /* @__PURE__ */ new Map();
127
- var errors = /* @__PURE__ */ new Map();
128
- var listeners = /* @__PURE__ */ new Set();
129
- var cachedSnapshot = null;
130
- function invalidateSnapshot() {
131
- cachedSnapshot = null;
132
- }
133
- function notify() {
134
- for (const listener of listeners) {
135
- try {
136
- listener();
137
- } catch {
138
- }
139
- }
140
- }
141
- function pushGate(gate, target = { kind: "desktop" }, meta) {
142
- if (!gate || typeof gate.id !== "string" || gate.id.length === 0) return;
143
- failures.delete(gate.id);
144
- if (target.kind === "web" && (!target.token || !target.server.trim())) {
145
- const message = !target.token ? NEEDS_LOGIN_MESSAGE : MISSING_SERVER_MESSAGE;
146
- if (meta) failures.set(gate.id, { gateId: gate.id, meta: { ...meta, storage: "web" }, message });
147
- gates.delete(gate.id);
148
- targets.delete(gate.id);
149
- metadata.delete(gate.id);
150
- errors.set(gate.id, message);
151
- invalidateSnapshot();
152
- notify();
153
- return;
154
- }
155
- metadata.delete(gate.id);
156
- if (meta && target.kind !== "local") metadata.set(gate.id, { ...meta, storage: target.kind });
157
- errors.delete(gate.id);
158
- targets.set(gate.id, target);
159
- gates.set(gate.id, gate);
160
- invalidateSnapshot();
161
- notify();
162
- }
163
- function clearGateTurn(turnId) {
164
- for (const [id, failure] of failures) {
165
- if (failure.meta.turnId === turnId) failures.delete(id);
166
- }
167
- for (const [id, meta] of metadata) {
168
- if (meta.turnId !== turnId) continue;
169
- gates.delete(id);
170
- targets.delete(id);
171
- metadata.delete(id);
172
- errors.delete(id);
173
- }
174
- invalidateSnapshot();
175
- notify();
176
- }
177
-
178
- // packages/ai/agent/turnActionGateReceiver.ts
179
- function createTurnActionGateReceiver(dispatch, foregroundMessageId) {
180
- const turnId = createDialogMessageKeyAndId("secret-gate").messageId;
181
- const secretGateAnchors = /* @__PURE__ */ new Set();
182
- let cleared = false;
183
- function receiveActionGate(gate, target, dialogId) {
184
- if (cleared) return;
185
- const secret = gate.kind === "input" && gate.payload?.action === "secret_request";
186
- if (!secret || target?.kind === "local") {
187
- pushGate(gate, target, foregroundMessageId ? { dialogId, turnId, messageId: foregroundMessageId } : void 0);
188
- return;
189
- }
190
- const { messageId, key } = createDialogMessageKeyAndId(dialogId);
191
- secretGateAnchors.add(messageId);
192
- pushGate(gate, target, { dialogId, turnId, messageId });
193
- dispatch(messageStreaming({
194
- id: messageId,
195
- dbKey: key,
196
- dialogId,
197
- role: "tool",
198
- toolName: "secret-request",
199
- content: "",
200
- isStreaming: true
201
- }));
202
- }
203
- function clearActionGates() {
204
- if (cleared) return;
205
- cleared = true;
206
- clearGateTurn(turnId);
207
- for (const id of secretGateAnchors) dispatch(removeTransientMessage(id));
208
- }
209
- return { receiveActionGate, clearActionGates };
210
- }
211
-
212
105
  // packages/ai/agent/foregroundTurnAdmissionFetch.ts
213
106
  var FOREGROUND_TURN_KEEPALIVE_MAX_BODY_BYTES = 60 * 1024;
214
107
  function getUtf8ByteLength(value) {
@@ -1862,10 +1755,75 @@ async function resolveTurnToolContext(input) {
1862
1755
  };
1863
1756
  }
1864
1757
 
1758
+ // packages/app/utils/desktopActionGateChannel.ts
1759
+ function targetForRunKind(kind, ctx = {}) {
1760
+ if (kind === "server-run") {
1761
+ return {
1762
+ kind: "web",
1763
+ server: ctx.server?.trim() ?? "",
1764
+ token: ctx.token ?? null
1765
+ };
1766
+ }
1767
+ return { kind: "desktop" };
1768
+ }
1769
+ var NEEDS_LOGIN_MESSAGE = "\u9700\u8981\u767B\u5F55\u540E\u624D\u80FD\u5904\u7406\u8BE5\u6388\u6743\u8BF7\u6C42";
1770
+ var MISSING_SERVER_MESSAGE = "\u672A\u914D\u7F6E\u670D\u52A1\u5668\u5730\u5740\uFF0C\u65E0\u6CD5\u5904\u7406\u8BE5\u6388\u6743\u8BF7\u6C42";
1771
+ var gates = /* @__PURE__ */ new Map();
1772
+ var targets = /* @__PURE__ */ new Map();
1773
+ var failures = /* @__PURE__ */ new Map();
1774
+ var metadata = /* @__PURE__ */ new Map();
1775
+ var errors = /* @__PURE__ */ new Map();
1776
+ var listeners = /* @__PURE__ */ new Set();
1777
+ var cachedSnapshot = null;
1778
+ function invalidateSnapshot() {
1779
+ cachedSnapshot = null;
1780
+ }
1781
+ function notify() {
1782
+ for (const listener of listeners) {
1783
+ try {
1784
+ listener();
1785
+ } catch {
1786
+ }
1787
+ }
1788
+ }
1789
+ function pushGate(gate, target = { kind: "desktop" }, meta) {
1790
+ if (!gate || typeof gate.id !== "string" || gate.id.length === 0) return;
1791
+ failures.delete(gate.id);
1792
+ if (target.kind === "web" && (!target.token || !target.server.trim())) {
1793
+ const message = !target.token ? NEEDS_LOGIN_MESSAGE : MISSING_SERVER_MESSAGE;
1794
+ if (meta) failures.set(gate.id, { gateId: gate.id, meta: { ...meta, storage: "web" }, message });
1795
+ gates.delete(gate.id);
1796
+ targets.delete(gate.id);
1797
+ metadata.delete(gate.id);
1798
+ errors.set(gate.id, message);
1799
+ invalidateSnapshot();
1800
+ notify();
1801
+ return;
1802
+ }
1803
+ metadata.delete(gate.id);
1804
+ if (meta && target.kind !== "local") metadata.set(gate.id, { ...meta, storage: target.kind });
1805
+ errors.delete(gate.id);
1806
+ targets.set(gate.id, target);
1807
+ gates.set(gate.id, gate);
1808
+ invalidateSnapshot();
1809
+ notify();
1810
+ }
1811
+ function clearGateTurn(turnId) {
1812
+ for (const [id, failure] of failures) {
1813
+ if (failure.meta.turnId === turnId) failures.delete(id);
1814
+ }
1815
+ for (const [id, meta] of metadata) {
1816
+ if (meta.turnId !== turnId) continue;
1817
+ gates.delete(id);
1818
+ targets.delete(id);
1819
+ metadata.delete(id);
1820
+ errors.delete(id);
1821
+ }
1822
+ invalidateSnapshot();
1823
+ notify();
1824
+ }
1825
+
1865
1826
  export {
1866
- targetForRunKind,
1867
- pushGate,
1868
- createTurnActionGateReceiver,
1869
1827
  buildForegroundTurnAdmissionFetchInit,
1870
1828
  consumeAgentRunStream,
1871
1829
  projectDesktopToolUiContent,
@@ -1878,5 +1836,8 @@ export {
1878
1836
  mergeAgentToolsWithRuntime,
1879
1837
  applyImageConfigRuntimeOverride,
1880
1838
  resolveImageGenerationStreamingState,
1881
- resolveTurnToolContext
1839
+ resolveTurnToolContext,
1840
+ targetForRunKind,
1841
+ pushGate,
1842
+ clearGateTurn
1882
1843
  };
@@ -33,7 +33,7 @@ import {
33
33
  resolveServerUrl,
34
34
  validateInstaboxWorkspaceSelection,
35
35
  writeUsage
36
- } from "./chunk-IVY2CQBD.js";
36
+ } from "./chunk-U4LYOYSA.js";
37
37
  import {
38
38
  boxGlyphs,
39
39
  displayWidth,
@@ -86,14 +86,14 @@ import {
86
86
  } from "./chunk-S73EPYNC.js";
87
87
  import {
88
88
  resolveCliLocalRuntimeKeyCapability
89
- } from "./chunk-VFXMN3QM.js";
89
+ } from "./chunk-XFOZH7NP.js";
90
90
  import {
91
91
  extractGoogleValidationLink
92
92
  } from "./chunk-BMQ2MJUK.js";
93
93
  import {
94
94
  parseUiCard,
95
95
  uiCardFallback
96
- } from "./chunk-RMA5H7R5.js";
96
+ } from "./chunk-YWPPXECC.js";
97
97
  import {
98
98
  isGatewayHttpStatus
99
99
  } from "./chunk-NF64D32W.js";
@@ -104,7 +104,7 @@ import {
104
104
  loadOwnerItemsFromDb,
105
105
  parseUiAskChoiceContent,
106
106
  resolveAgentMemoryPolicy
107
- } from "./chunk-YMKSYLT7.js";
107
+ } from "./chunk-4P5ZLADR.js";
108
108
  import {
109
109
  API_REPORTED_COST_MULTIPLIER,
110
110
  estimateMessagesTokens,
@@ -113,7 +113,7 @@ import {
113
113
  resolveAgentContextWindow,
114
114
  resolveOccupancy,
115
115
  resolveOccupancyWindow
116
- } from "./chunk-A6BALTVL.js";
116
+ } from "./chunk-PO7FTSGP.js";
117
117
  import {
118
118
  parsePositiveFiniteNumberOrFallback
119
119
  } from "./chunk-Y5GCAMGP.js";
@@ -178,7 +178,7 @@ import {
178
178
  readActionGate,
179
179
  readAgentsMdLayerFromDisk,
180
180
  registerDialogOwner
181
- } from "./chunk-XNTZD4AE.js";
181
+ } from "./chunk-PAWBC6HC.js";
182
182
  import {
183
183
  resolveAgentRuntimeConfigFromRecord
184
184
  } from "./chunk-4OXPN3WC.js";
@@ -13064,7 +13064,7 @@ function isBalanceExhaustedError(error) {
13064
13064
 
13065
13065
  // packages/cli/client/agentRun.ts
13066
13066
  async function loadRunLocalAgentTurn() {
13067
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-LVXPQ7QA.js");
13067
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-FIOWO47Y.js");
13068
13068
  return runLocalAgentTurn;
13069
13069
  }
13070
13070
  var stripDebugNoise = (s) => s.replace(/\s*raw="[\s\S]*"/g, "").replace(/\s*raw=\S+/g, "").replace(/\s*headers=\[[^\]]*\]/g, "").replace(/\s*headers=\S+/g, "").trim();
@@ -89,9 +89,10 @@ var PARALLEL_DISPATCH_DEFAULT_RULE = [
89
89
  "\u540C\u4E00 agent \u53EF\u5E76\u53D1\u591A\u5B9E\u4F8B\uFF1A\u9700\u8981\u540C\u65F6\u63A8\u8FDB\u591A\u6761\u72EC\u7ACB\u5DE5\u4F5C\u65F6\uFF0C\u76F4\u63A5\u5BF9\u540C\u4E00 agent \u5E76\u53D1\u6D3E\u591A\u4E2A\u72EC\u7ACB\u5B9E\u4F8B\uFF08\u5404\u81EA runId/dialog\uFF09\uFF0C\u4E0D\u7B49\u4E0D\u6392\uFF1B\u8FD9\u6761\u53EA\u5426\u6389\u300C\u540C\u4E00 agent \u5728\u8DD1\u5C31\u6392\u961F\u300D\uFF0C\u4E0D\u6539\u65E2\u6709\u51C6\u5165\u95E8\u2014\u2014\u5019\u9009\u5F53\u6B21\u53EF\u7528\u6027\u3001\u6267\u884C\u540E\u7AEF\u80FD\u529B\u3001\u6743\u9650\u4E0E\u8D39\u7528\u3001\u51ED\u8BC1/\u914D\u989D\u51C6\u5165\u7167\u6837\u8981\u6EE1\u8DB3\u3002",
90
90
  "\u5171\u4EAB\u8D44\u6E90\uFF1A\u7AEF\u53E3\u3001\u4E34\u65F6\u8DEF\u5F84\u3001\u72EC\u5360\u9501\u5148\u53EA\u8BFB\u67E5\u5360\u7528\uFF08\u5982 ss -ltnp\u3001fuser\uFF0C\u53EA\u770B\u4E0D\u6740\uFF09\uFF0C\u4F18\u5148\u6362\u7A7A\u95F2\u8D44\u6E90\uFF1B\u771F\u5B9E\u72EC\u5360\u9501\u786E\u5B9E\u963B\u585E\u540C\u4E00\u8D44\u6E90\u624D\u53EF\u4E32\u884C\uFF0C\u7AEF\u53E3\u5360\u7528\u6216\u81C6\u6D4B\u540C agent \u88AB\u9501\u4E0D\u662F\u7406\u7531\uFF1B\u8981\u7EC8\u6B62\u8FDB\u7A0B\u5148\u6838\u5177\u4F53 PID \u4E0E\u7528\u9014\uFF0C\u5E76\u6309\u5220\u9664\u5B89\u5168\u6388\u6743\u6267\u884C\uFF0C\u4E0D\u5F97\u64C5\u6740\u3002",
91
91
  "\u7B49\u5F85\u53EA\u963B\u585E\u4F9D\u8D56\u7EBF\uFF1A\u5916\u90E8\u7CFB\u7EDF\uFF08\u90E8\u7F72\u3001CI\u3001\u670D\u52A1\u5C31\u7EEA\uFF09\u7528 execShell(background: true) \u8D77\u5E26\u8D85\u65F6\u9000\u51FA\u6761\u4EF6\u7684\u63A2\u6D4B\uFF0C\u540C\u6279\u63A8\u8FDB\u72EC\u7ACB\u5DE5\u4F5C\uFF0C\u7EC8\u6001\u9A8C\u6536\u540E\u7EE7\u7EED\uFF1B\u524D\u53F0 sleep\u3001\u7A7A\u7B49\u3001\u8F6E\u8BE2\u7981\u6B62\uFF1Bagent run \u7B49\u7EC8\u6001\u5524\u9192\uFF0C\u4E0D\u8F6E\u8BE2\u3002",
92
- "\u6D3E\u53D1\u524D\u9010\u5BF9\u5217\u4F9D\u8D56\u5757\uFF08\u524D\u7F6E\u2192\u540E\u7F6E\u3001\u4F9D\u8D56\u7C7B\u522B\u3001\u5177\u4F53\u9879\uFF09\uFF0C\u56DE\u590D\u5217\u300C\u5E76\u53D1\u7EC4 / \u4E32\u884C\u7406\u7531\u300D\uFF1B\u6307\u4E0D\u51FA\u4F9D\u8D56\u5FC5\u987B\u5E76\u53D1\u3002\u4E0E\u9879\u76EE\u89C4\u5219/skill \u8981\u6C42\u5148\u540E\u65F6\u540C\u6837\uFF1A\u80FD\u6307\u540D\u5177\u4F53\u4F9D\u8D56\u624D\u4E32\u884C\uFF0C\u5426\u5219\u5148\u5E76\u884C\u3001\u518D\u56DE\u9000\u5E76\u5982\u5B9E\u544A\u77E5\u3002",
92
+ "\u6D3E\u53D1\u524D\u9010\u5BF9\u5217\u4F9D\u8D56\u5757\uFF08\u524D\u7F6E\u2192\u540E\u7F6E\u3001\u4F9D\u8D56\u7C7B\u522B\u3001\u5177\u4F53\u9879\uFF09\uFF0C\u56DE\u590D\u5217\u300C\u5E76\u53D1\u7EC4 / \u4E32\u884C\u7406\u7531\u300D\uFF1B\u6307\u4E0D\u51FA\u4F9D\u8D56\u5FC5\u987B\u5E76\u53D1\u3002\u9879\u76EE\u89C4\u5219\u6216 skill \u660E\u786E\u8981\u6C42\u7684\u95E8\u7981\u4E0E\u987A\u5E8F\u7167\u65E7\uFF1B\u5176\u4F59\u52A8\u4F5C\u6309\u5177\u4F53\u4F9D\u8D56\u5224\u65AD\u5E76\u53D1\uFF0C\u4E0D\u6269\u5927\u4E32\u884C\u8303\u56F4\u3002",
93
93
  "\u6D3E\u53D1\u5BF9\u8C61\uFF1A\u5148\u5168\u91CF\u626B\u63CF\u5019\u9009\u6C60\uFF0C\u7EB3\u5165\u540C\u6863\u53EF\u7528 Agent \u5E76\u6309 credentialGroup \u5206\u6563\uFF1B\u81EA\u8EAB\u53EA\u5728\u6CA1\u6709\u5176\u5B83\u53EF\u7528\u4E14\u80DC\u4EFB\u8005\u65F6\u515C\u5E95\uFF1B\u5019\u9009\u53EF\u7528\u6027\u53EA\u8BA4\u5F53\u6B21\u626B\u63CF\u7ED3\u8BBA\u3002",
94
94
  "\u9694\u79BB\u4E0D\u7B49\u4E8E\u4E32\u884C\uFF1A\u72EC\u7ACB\u7EBF\u7528 worktree/branch \u53EF\u540C\u65F6\u63A8\u8FDB\uFF0C\u4E0D\u4EE5\u9694\u79BB\u6216\u672A\u5B8C\u6210\u4E3A\u5148\u540E\u7406\u7531\uFF0C\u4E5F\u4E0D\u6388\u6743\u672A\u8BF7\u6C42\u7684\u5DE5\u4F5C\uFF1B\u5DF2\u6388\u6743\u7684\u72EC\u7ACB\u5DE5\u4F5C\u4E0D\u95EE\u7528\u6237\u5148\u505A\u54EA\u4E2A\u6216\u662F\u5426\u5E76\u53D1\u3002",
95
+ "\u9010\u4E2A\u9A8C\u8BC1\u522B\u9000\u5316\u6210\u9010\u4E2A\u5B9E\u73B0\uFF1A\u8981\u6C42\u9010\u9879\u4EA4\u4ED8\u6216\u5355\u53D8\u91CF\u9A8C\u8BC1\u65F6\uFF0C\u5DF2\u6388\u6743\u7684\u8C03\u7814\u3001\u5B9A\u4F4D\u3001\u65B9\u6848\u4E0E\u5B9E\u73B0\u8349\u7A3F\u5728\u5404\u81EA worktree/branch \u6309\u4F9D\u8D56\u5E76\u53D1\uFF0C\u65E0\u4F9D\u8D56\u4E0D\u7B49\u524D\u9879\u6D4B\u5B8C\u3002\u6309\u6D41\u7A0B\u9010\u9879\u5B9A review \u7ED3\u8BBA\u3001\u63D0\u4EA4\u3001\u5408\u5E76\u3001\u90E8\u7F72\u3001\u6D4B\u91CF\u548C\u5F52\u56E0\uFF1B\u6BCF\u9879\u5148\u901A\u8FC7\u72EC\u7ACB review \u518D\u63D0\u4EA4\uFF0C\u65E2\u6709\u6388\u6743\u4E0E\u95E8\u7981\u4E0D\u53D8\uFF1B\u524D\u9879\u672A\u5B8C\u6210\u6D4B\u91CF\u4E0E\u5F52\u56E0\uFF0C\u4E0D\u5F97\u5C06\u540E\u9879\u5F15\u5165\u540C\u4E00\u9A8C\u8BC1\u57FA\u7EBF\u3002\u6709\u8BC1\u636E\u63A8\u7FFB\u524D\u9879\u5173\u952E\u524D\u63D0\u65F6\uFF0C\u6682\u505C\u53D7\u5F71\u54CD\u52A8\u4F5C\uFF0C\u5728\u6388\u6743\u5185\u4FEE\u6B63\uFF0C\u4E0D\u7167\u5E8F\u505A\u5B8C\u3002",
95
96
  "\u4F18\u5148\u7EA7\u4E0D\u7B49\u4E32\u884C\uFF1A\u9AD8\u4F18\u5148\u7EA7\u4E0D\u963B\u585E\u5176\u5B83\u7EBF\uFF1B\u65B0\u6D88\u606F\u53EA\u5F71\u54CD\u76F8\u5173\u7EBF\uFF0C\u4E0D\u91CD\u542F\u65E0\u5173\u7EBF\u3002",
96
97
  "\u8FDB\u5EA6\u8BE2\u95EE\u4E0D append \u5B50\u4EFB\u52A1\uFF1A\u56DE\u7B54\u8FDB\u5EA6\u53EA\u8BFB\u5DF2\u6709\u72B6\u6001\uFF0C\u4E0D\u4E3A\u6B64\u6D3E\u53D1\u65B0\u5DE5\u4F5C\u3002",
97
98
  "\u56DE\u590D\u8BF4\u660E\u5B9E\u9645\u5DF2\u6D3E\u8C01\u505A\u4EC0\u4E48\uFF0C\u4E0D\u4F9D\u8D56\u9762\u677F\uFF1A\u6D3E\u53D1\u7ED3\u679C\u5728\u56DE\u590D\u4E2D\u70B9\u540D\uFF08\u8C01\u3001\u505A\u4EC0\u4E48\u3001\u5F53\u524D\u72B6\u6001\uFF09\uFF0C\u4E0D\u4EE5\u8FD0\u884C\u9762\u677F\u66FF\u4EE3\u56DE\u590D\u3002",
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-HS7MLR74.js";
4
4
  import {
5
5
  performServerProxyFetchWithRetry
6
- } from "./chunk-XSZLVTD3.js";
6
+ } from "./chunk-34ZQTND7.js";
7
7
  import {
8
8
  fetchServerSyncedCredential
9
- } from "./chunk-JT4HJLIL.js";
9
+ } from "./chunk-OWLQL7CW.js";
10
10
  import {
11
11
  buildIdentityBlock,
12
12
  buildPlatformStaticContextLayers,
@@ -15,7 +15,7 @@ import {
15
15
  compileContextLayers,
16
16
  detectDispatchIntentFromMessages,
17
17
  resolveToolGuidedSections
18
- } from "./chunk-Z7KE4K3H.js";
18
+ } from "./chunk-7QZ2B7RL.js";
19
19
  import {
20
20
  convertMessagesToResponsesInput,
21
21
  getUsageRequestOptions,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  fetchReferenceContents,
3
3
  resolveReferenceAssets
4
- } from "./chunk-XSZLVTD3.js";
4
+ } from "./chunk-34ZQTND7.js";
5
5
  import {
6
6
  updateTokensAction
7
- } from "./chunk-A6BALTVL.js";
7
+ } from "./chunk-PO7FTSGP.js";
8
8
  import {
9
9
  applyUpdateTokensFulfilled
10
10
  } from "./chunk-U35UUM5K.js";
@@ -2,7 +2,7 @@ import {
2
2
  deleteDialog,
3
3
  runtime_default,
4
4
  toast
5
- } from "./chunk-A6BALTVL.js";
5
+ } from "./chunk-PO7FTSGP.js";
6
6
  import {
7
7
  getAllMemberSpaces,
8
8
  getCurrentSpaceId,
@@ -5,7 +5,7 @@ import {
5
5
  inlineImageUrlsForCustomProvider,
6
6
  prepareTools,
7
7
  shouldInlineImageUrlsForAgent
8
- } from "./chunk-KABDRAUT.js";
8
+ } from "./chunk-2XIREU2L.js";
9
9
  import {
10
10
  CONFIRMATION_INPUT_KEYS,
11
11
  INVALID_TOOL_ARGS_REPLACEMENT,
@@ -14,11 +14,11 @@ import {
14
14
  performFetchRequest,
15
15
  sanitizeOutboundMessages,
16
16
  stripModelToolArgs
17
- } from "./chunk-3IQEZYPF.js";
17
+ } from "./chunk-AK7V6IDG.js";
18
18
  import {
19
19
  findToolExecutor,
20
20
  toolDefinitionsByName
21
- } from "./chunk-VFXMN3QM.js";
21
+ } from "./chunk-XFOZH7NP.js";
22
22
  import {
23
23
  createSSEParser,
24
24
  createToolRunId,
@@ -27,7 +27,7 @@ import {
27
27
  toolRunSetPending,
28
28
  toolRunStarted,
29
29
  toolRunSucceeded
30
- } from "./chunk-RMA5H7R5.js";
30
+ } from "./chunk-YWPPXECC.js";
31
31
  import {
32
32
  addToolMessage,
33
33
  messageStreamEnd,
@@ -35,10 +35,10 @@ import {
35
35
  toast,
36
36
  toolResultNeedsUserConfirmation,
37
37
  updateToolMessage
38
- } from "./chunk-A6BALTVL.js";
38
+ } from "./chunk-PO7FTSGP.js";
39
39
  import {
40
40
  streamAgentChatTurn
41
- } from "./chunk-JT4HJLIL.js";
41
+ } from "./chunk-OWLQL7CW.js";
42
42
  import {
43
43
  getCurrentSpaceId
44
44
  } from "./chunk-FFFKAOJN.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-IVY2CQBD.js";
4
+ } from "./chunk-U4LYOYSA.js";
5
5
  import {
6
6
  clipMultilineText
7
- } from "./chunk-RMA5H7R5.js";
7
+ } from "./chunk-YWPPXECC.js";
8
8
  import {
9
9
  runLocalAgentTurn
10
- } from "./chunk-XNTZD4AE.js";
10
+ } from "./chunk-PAWBC6HC.js";
11
11
  import {
12
12
  resolveLocalRuntimeEnvFromPolicy
13
13
  } from "./chunk-USGHJSGO.js";
@@ -458,7 +458,7 @@ var slice = createSliceWithThunks({
458
458
  const overrides = {};
459
459
  if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
460
460
  if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
461
- const { _executeModel } = await import("./_executeModel-H72XB2UR.js");
461
+ const { _executeModel } = await import("./_executeModel-IJLWI2HH.js");
462
462
  return _executeModel(
463
463
  {
464
464
  isStreaming: args.isStreaming ?? false,
@@ -479,7 +479,7 @@ var slice = createSliceWithThunks({
479
479
  * - 循环直到无工具调用或触发其他运行时停止条件
480
480
  */
481
481
  runAgent: create.asyncThunk(async (args, thunkApi) => {
482
- const { runAgentClientLoop } = await import("./runAgentClientLoop-HHKMRV4B.js");
482
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-7GBH7I5H.js");
483
483
  const { content: loopContent, toolCallCount } = await runAgentClientLoop(
484
484
  {
485
485
  agentKey: args.agentKey,
@@ -495,7 +495,7 @@ var slice = createSliceWithThunks({
495
495
  * 聊天轮次流式 Agent 调用
496
496
  */
497
497
  streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
498
- const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-URBDXKCY.js");
498
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-2QVGBCVC.js");
499
499
  return streamAgentChatTurnHandler(args, thunkApi);
500
500
  }),
501
501
  /**
@@ -14,10 +14,10 @@ import {
14
14
  import {
15
15
  addContentToSpace,
16
16
  resolveCreationSpaceId
17
- } from "./chunk-OY3XGLWR.js";
17
+ } from "./chunk-H7TICFO4.js";
18
18
  import {
19
19
  runtime_default
20
- } from "./chunk-A6BALTVL.js";
20
+ } from "./chunk-PO7FTSGP.js";
21
21
  import {
22
22
  getCurrentSpaceId
23
23
  } from "./chunk-FFFKAOJN.js";
@@ -62,7 +62,7 @@ import {
62
62
  hashStablePrefixContent,
63
63
  resolveResponseGuidelines,
64
64
  resolveToolGuidedSections
65
- } from "./chunk-Z7KE4K3H.js";
65
+ } from "./chunk-7QZ2B7RL.js";
66
66
  import {
67
67
  BRIDGE_STREAM_MAX_CHARS,
68
68
  CLI_NOLO_WORKSPACE_TOOL_NAMES,
@@ -23860,7 +23860,7 @@ async function saveCliPendingUserMessages(args2) {
23860
23860
  if (ops.length) await args2.store.batch(ops);
23861
23861
  }
23862
23862
  async function readCliPendingUserMessages(store, dialogId) {
23863
- const { readDialogMessageRecords } = await import("./cliLocalAgentRecordReader-MCQVRWBR.js");
23863
+ const { readDialogMessageRecords } = await import("./cliLocalAgentRecordReader-SA5LZVMI.js");
23864
23864
  const rows = await readDialogMessageRecords({ store, dialogId });
23865
23865
  const uncertain = rows.filter(({ record: record2 }) => record2.metadata?.cliBatchPhase === "requested" && !record2.metadata?.cliBatchResolution);
23866
23866
  const recovery = uncertain.length ? {
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-523DITKR.js";
11
11
  import {
12
12
  runLlm
13
- } from "./chunk-JT4HJLIL.js";
13
+ } from "./chunk-OWLQL7CW.js";
14
14
  import {
15
15
  cleanupCliSessionForDialog
16
16
  } from "./chunk-ARFCL53U.js";
@@ -14680,7 +14680,7 @@ var messageSlice = createSliceWithThunks({
14680
14680
  runtimeOptions: args.runtimeOptions
14681
14681
  });
14682
14682
  if (agentKeyToUse) {
14683
- const { streamAgentChatTurn } = await import("./agentSlice-6EPEKSJT.js");
14683
+ const { streamAgentChatTurn } = await import("./agentSlice-5NJEWRIO.js");
14684
14684
  await dispatch(
14685
14685
  streamAgentChatTurn({
14686
14686
  agentKey: agentKeyToUse,
@@ -15826,7 +15826,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
15826
15826
  }
15827
15827
  if (isCurrentDialog) {
15828
15828
  await thunkApi.dispatch(resetMsgs());
15829
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-DI2DW4UP.js");
15829
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-UPUUJMMH.js");
15830
15830
  dispatch(clearPendingAttachments2());
15831
15831
  }
15832
15832
  return { dialogKey, isCurrentDialog, attachmentPlan };
@@ -15834,15 +15834,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
15834
15834
 
15835
15835
  // packages/chat/dialog/dialogSlice.ts
15836
15836
  var runCreateDialogAction = async (args, thunkApi) => {
15837
- const { createDialogAction } = await import("./createDialogAction-4JC5EYQT.js");
15837
+ const { createDialogAction } = await import("./createDialogAction-LV2RAA4A.js");
15838
15838
  return createDialogAction(args, thunkApi);
15839
15839
  };
15840
15840
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
15841
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-TZ2CN6BM.js");
15841
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-YLP5IJ26.js");
15842
15842
  return createAgentAutomationAction(args, thunkApi);
15843
15843
  };
15844
15844
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
15845
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-LTDUWMHQ.js");
15845
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-B3BLRMTZ.js");
15846
15846
  return updateDialogTitleAction(args, thunkApi);
15847
15847
  };
15848
15848
  var runAddDialogAgentAction = async (args, thunkApi) => {
@@ -15866,7 +15866,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
15866
15866
  return setDialogExtraReferencesAction(args, thunkApi);
15867
15867
  };
15868
15868
  var runHandleSendMessageAction = async (args, thunkApi) => {
15869
- const { handleSendMessageAction } = await import("./handleSendMessageAction-RO647P4V.js");
15869
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-47XS4QHV.js");
15870
15870
  return handleSendMessageAction(args, thunkApi);
15871
15871
  };
15872
15872
  function clearDialogState() {
@@ -15879,7 +15879,7 @@ var createPageAndAddReference = createAsyncThunk(
15879
15879
  async (payload, { dispatch, getState, rejectWithValue }) => {
15880
15880
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
15881
15881
  try {
15882
- const { createDocState } = await import("./docStore-A4UDG56G.js");
15882
+ const { createDocState } = await import("./docStore-KETXRY6J.js");
15883
15883
  const pageKey = await createDocState(
15884
15884
  { slateData, title },
15885
15885
  { dispatch, getState }
@@ -72,7 +72,7 @@ import {
72
72
  import {
73
73
  inlineImageUrlsForCustomProvider,
74
74
  prepareTools
75
- } from "./chunk-KABDRAUT.js";
75
+ } from "./chunk-2XIREU2L.js";
76
76
  import {
77
77
  getServerProviderSecret
78
78
  } from "./chunk-HS7MLR74.js";
@@ -95,7 +95,7 @@ import {
95
95
  resolveCliLocalSpawnDispatch,
96
96
  resolveRunContextFacts,
97
97
  resolveStartAgentRunCwd
98
- } from "./chunk-VFXMN3QM.js";
98
+ } from "./chunk-XFOZH7NP.js";
99
99
  import {
100
100
  deriveCredentialGroup,
101
101
  deriveCustomProviderCredentialGroup
@@ -109,11 +109,11 @@ import {
109
109
  } from "./chunk-UOUMPHS5.js";
110
110
  import {
111
111
  validateAskChoiceInput
112
- } from "./chunk-YMKSYLT7.js";
112
+ } from "./chunk-4P5ZLADR.js";
113
113
  import {
114
114
  prepareTokenUsageData,
115
115
  runKeyed
116
- } from "./chunk-A6BALTVL.js";
116
+ } from "./chunk-PO7FTSGP.js";
117
117
  import {
118
118
  applyTokenUsageToDayStats,
119
119
  require_format
@@ -124,7 +124,7 @@ import {
124
124
  } from "./chunk-523DITKR.js";
125
125
  import {
126
126
  fetchServerSyncedCredential
127
- } from "./chunk-JT4HJLIL.js";
127
+ } from "./chunk-OWLQL7CW.js";
128
128
  import {
129
129
  defaultLoopbackRequest,
130
130
  loadLocalRunChildDialogIds
@@ -189,7 +189,7 @@ import {
189
189
  readDialogMessageRecords,
190
190
  readDialogMessages,
191
191
  resolveBuiltinLocalCliAgentConfig
192
- } from "./chunk-7UVVLYKC.js";
192
+ } from "./chunk-YK7OTNON.js";
193
193
  import {
194
194
  applyPublicAgentCatalogOverride
195
195
  } from "./chunk-MZVCFV3T.js";
@@ -246,7 +246,7 @@ import {
246
246
  runExecShellGates,
247
247
  validateConfiguredRootExecutionLease,
248
248
  verifyOwnerRouteAck
249
- } from "./chunk-XNTZD4AE.js";
249
+ } from "./chunk-PAWBC6HC.js";
250
250
  import {
251
251
  createHostCredentialBrokerChain,
252
252
  createStrictHostCredentialBroker