nolo-cli 0.181.0-alpha.1 → 0.182.0-alpha.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 (72) hide show
  1. package/{_executeModel-EJUKYBFV.js → _executeModel-ZMEMTJMS.js} +19 -19
  2. package/{agentDeleteCommand-OWDZDREL.js → agentDeleteCommand-VXMMVCHV.js} +20 -20
  3. package/{agentEmailCommands-RJGVOJXD.js → agentEmailCommands-G3UR3SVL.js} +21 -21
  4. package/{agentListCommands-GRJAY5ZE.js → agentListCommands-V2F7XVZN.js} +10 -10
  5. package/{agentMachineCommands-FNYZSZQ4.js → agentMachineCommands-FALEGGEG.js} +8 -8
  6. package/{agentRecordCommands-EBDTISRS.js → agentRecordCommands-HN7WNNGT.js} +20 -20
  7. package/{agentRunCommand-GIBVOCOK.js → agentRunCommand-N3RD7WQ2.js} +21 -21
  8. package/{agentRuntimeLocal-AG7RCTM3.js → agentRuntimeLocal-B2CGM4VH.js} +5 -5
  9. package/{agentSlice-LD6SEBSP.js → agentSlice-NG7VBT4O.js} +1 -1
  10. package/{appDeleteCommands-DXF3IOFE.js → appDeleteCommands-2GVSRT6R.js} +9 -9
  11. package/{appDeployCommands-JVKZ3ATD.js → appDeployCommands-UJVGSH4V.js} +9 -9
  12. package/{appDeployStatusCommands-VLGEMFV6.js → appDeployStatusCommands-4UJDG7P3.js} +9 -9
  13. package/{appGetCommands-JQN7RPBD.js → appGetCommands-D5HZK3DJ.js} +9 -9
  14. package/{appListCommands-MFPVNCVT.js → appListCommands-FAHI4R2I.js} +9 -9
  15. package/{builtinSkillRegistry-MRI4FNCR.js → builtinSkillRegistry-HJCSXMKS.js} +4 -4
  16. package/{chunk-ZEQ6L6MZ.js → chunk-3FTJG5NU.js} +1 -1
  17. package/{chunk-QZRAVGW3.js → chunk-3YMDHQAK.js} +14 -14
  18. package/{chunk-WQ4M3IYD.js → chunk-7HZ23BLI.js} +7 -7
  19. package/{chunk-KUGOIFXV.js → chunk-AWFDDOVW.js} +3 -3
  20. package/{chunk-F55WKIWE.js → chunk-BNEHIKIR.js} +12 -12
  21. package/{chunk-I4ZVPTAI.js → chunk-E54QZNU3.js} +2 -2
  22. package/{chunk-7O6YJN4K.js → chunk-EHPJFHFL.js} +4 -4
  23. package/{chunk-MAS5KGBB.js → chunk-EUOPEEMO.js} +1 -1
  24. package/{chunk-EAWOT7M6.js → chunk-F2P6YUHC.js} +1 -1
  25. package/{chunk-FLX5EYLQ.js → chunk-G5IZWDSM.js} +4 -4
  26. package/{chunk-OC4NVQ5S.js → chunk-GQEQYXWV.js} +8 -8
  27. package/{chunk-OXYSTN6B.js → chunk-GTQKUQGF.js} +1 -1
  28. package/{chunk-UCE66MIJ.js → chunk-HRTEMYBI.js} +2 -2
  29. package/{chunk-HZG23JG6.js → chunk-J2EVUNED.js} +1 -1
  30. package/{chunk-SCDJOWJT.js → chunk-JGH3VOCR.js} +3 -3
  31. package/{chunk-MMKP2XWK.js → chunk-JX5XVFVW.js} +1 -1
  32. package/{chunk-DS47C2AI.js → chunk-KBVF7LOK.js} +3 -3
  33. package/{chunk-4FZUUCXQ.js → chunk-MMSZKZWA.js} +1 -1
  34. package/{chunk-CTEEJJVR.js → chunk-MPIAKYZ7.js} +1 -1
  35. package/{chunk-XJBWPOIL.js → chunk-NHBJHDVW.js} +1 -1
  36. package/{chunk-SK2UMOZC.js → chunk-NRYTWXXV.js} +1 -1
  37. package/{chunk-6PHS6ADB.js → chunk-ONFC3RLP.js} +2 -2
  38. package/{chunk-2D3YKEAQ.js → chunk-P7JNYLDW.js} +1 -1
  39. package/{chunk-5LK5OYUB.js → chunk-QHFRRM5U.js} +3 -3
  40. package/{chunk-UXJ7R3EP.js → chunk-RHFEDL32.js} +3 -3
  41. package/{chunk-CJYL3N3T.js → chunk-SO3N2323.js} +3 -3
  42. package/{chunk-5AIXW7RW.js → chunk-T5RLIVBZ.js} +7 -7
  43. package/{chunk-POYXVOYU.js → chunk-TQU64H2A.js} +2 -2
  44. package/{chunk-5LZBJZLT.js → chunk-TXJZ7QXG.js} +2 -2
  45. package/{chunk-EP2L3JUM.js → chunk-UU3QSEA5.js} +9 -9
  46. package/{chunk-CFW7JLTH.js → chunk-XYRSQHF2.js} +2 -2
  47. package/{chunk-THZHXIKZ.js → chunk-Y2CQS353.js} +5 -5
  48. package/{chunk-OES4RYIG.js → chunk-ZVVAK3DH.js} +2 -2
  49. package/{commandRegistry-XRHKJCWS.js → commandRegistry-LFXI3KRG.js} +40 -40
  50. package/{contentThunks-FBGQIS5J.js → contentThunks-AH7QDS6H.js} +3 -3
  51. package/{createAgentAutomationAction-ASIS3C6Q.js → createAgentAutomationAction-FAOPVXNF.js} +3 -3
  52. package/{createDialogAction-XJGVTBWO.js → createDialogAction-DBTKPCXV.js} +6 -6
  53. package/{createPageAction-2IWTNKUE.js → createPageAction-PZGKZFPS.js} +3 -3
  54. package/{dialogCommands-VKBNO7EI.js → dialogCommands-GQPHQ2U6.js} +9 -9
  55. package/{dialogSlice-BE76QRR4.js → dialogSlice-VHGZCHAQ.js} +2 -2
  56. package/{docCreateCommands-HFDVOS2K.js → docCreateCommands-CQHPL5IB.js} +8 -8
  57. package/{docDeleteCommands-DMKHPD5R.js → docDeleteCommands-Z5UPI5PX.js} +9 -9
  58. package/{docReadCommands-VAUSL2N7.js → docReadCommands-2AEKFEFV.js} +8 -8
  59. package/{docStore-FOTFZMVS.js → docStore-XGWH3T7Q.js} +1 -1
  60. package/{docUpdateCommands-6QQUX2IN.js → docUpdateCommands-FZD4GSGV.js} +8 -8
  61. package/{handleSendMessageAction-U6DQUBLF.js → handleSendMessageAction-XTQQEVD4.js} +11 -11
  62. package/index.js +3 -3
  63. package/{localRuntimeAdapter-DM7ERZ6Z.js → localRuntimeAdapter-LXMUSNJ5.js} +18 -18
  64. package/{machineCommands-OJPPEMNZ.js → machineCommands-AXD7ISGC.js} +19 -19
  65. package/{machineWsRunDispatch-I5WWJ2EY.js → machineWsRunDispatch-PGB3VJGM.js} +19 -19
  66. package/package.json +1 -1
  67. package/{readlineWorkspace-RMG27VY3.js → readlineWorkspace-IO45OJPW.js} +24 -24
  68. package/{runAgentClientLoop-QJL24CN5.js → runAgentClientLoop-2APY5UZL.js} +17 -17
  69. package/{spaceCommands-Z325DDJU.js → spaceCommands-LM74S5WK.js} +8 -8
  70. package/{streamAgentChatTurn-4ZA46AEJ.js → streamAgentChatTurn-Z3KS7XZL.js} +19 -19
  71. package/{tools-GWQ4POVC.js → tools-VWAK7F7J.js} +13 -13
  72. package/{updateDialogTitleAction-VTE36JGF.js → updateDialogTitleAction-WBIPSXFL.js} +3 -3
@@ -73,7 +73,7 @@ import {
73
73
  hashStablePrefixContent,
74
74
  resolveResponseGuidelines,
75
75
  resolveToolGuidedSections
76
- } from "./chunk-POYXVOYU.js";
76
+ } from "./chunk-TQU64H2A.js";
77
77
  import {
78
78
  classifyUnparsableToolArgs,
79
79
  collectStablePromptPrefix,
@@ -130,7 +130,7 @@ import {
130
130
  parseNoloWorkspaceToolArguments,
131
131
  readTextStreamUpToChars,
132
132
  resolveNoloDialogInput
133
- } from "./chunk-ZEQ6L6MZ.js";
133
+ } from "./chunk-3FTJG5NU.js";
134
134
  import {
135
135
  buildDialogFallbackTitleFromUserInput
136
136
  } from "./chunk-2MBTWINN.js";
@@ -190,7 +190,7 @@ import {
190
190
  import {
191
191
  canonicalizeToolName,
192
192
  canonicalizeToolNames
193
- } from "./chunk-XJBWPOIL.js";
193
+ } from "./chunk-NHBJHDVW.js";
194
194
  import {
195
195
  dialogMessageKey,
196
196
  dialogMessageRange
@@ -22355,7 +22355,7 @@ function buildLoadSkillExecutor(args2) {
22355
22355
  const { resolveSkillByName } = await import("./skillDiscovery-QC35EQY4.js");
22356
22356
  const resolved = resolveSkillByName(args2.cwd, name);
22357
22357
  if (!resolved) {
22358
- const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-MRI4FNCR.js");
22358
+ const { resolveBuiltinSkillByName } = await import("./builtinSkillRegistry-HJCSXMKS.js");
22359
22359
  const builtin = resolveBuiltinSkillByName(name);
22360
22360
  if (builtin) {
22361
22361
  return {
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-QYPE3TS3.js";
12
12
  import {
13
13
  runLlm
14
- } from "./chunk-5LK5OYUB.js";
14
+ } from "./chunk-QHFRRM5U.js";
15
15
  import {
16
16
  getApproxPricePerImage
17
17
  } from "./chunk-4JH2UMJR.js";
@@ -11064,7 +11064,7 @@ var messageSlice = createSliceWithThunks({
11064
11064
  runtimeOptions: args.runtimeOptions
11065
11065
  });
11066
11066
  if (agentKeyToUse) {
11067
- const { streamAgentChatTurn } = await import("./agentSlice-LD6SEBSP.js");
11067
+ const { streamAgentChatTurn } = await import("./agentSlice-NG7VBT4O.js");
11068
11068
  await dispatch(
11069
11069
  streamAgentChatTurn({
11070
11070
  agentKey: agentKeyToUse,
@@ -13881,7 +13881,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
13881
13881
  }
13882
13882
  if (isCurrentDialog) {
13883
13883
  await thunkApi.dispatch(resetMsgs());
13884
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-BE76QRR4.js");
13884
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-VHGZCHAQ.js");
13885
13885
  dispatch(clearPendingAttachments2());
13886
13886
  }
13887
13887
  return { dialogKey, isCurrentDialog, attachmentPlan };
@@ -13889,15 +13889,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
13889
13889
 
13890
13890
  // packages/chat/dialog/dialogSlice.ts
13891
13891
  var runCreateDialogAction = async (args, thunkApi) => {
13892
- const { createDialogAction } = await import("./createDialogAction-XJGVTBWO.js");
13892
+ const { createDialogAction } = await import("./createDialogAction-DBTKPCXV.js");
13893
13893
  return createDialogAction(args, thunkApi);
13894
13894
  };
13895
13895
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
13896
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-ASIS3C6Q.js");
13896
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-FAOPVXNF.js");
13897
13897
  return createAgentAutomationAction(args, thunkApi);
13898
13898
  };
13899
13899
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
13900
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-VTE36JGF.js");
13900
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-WBIPSXFL.js");
13901
13901
  return updateDialogTitleAction(args, thunkApi);
13902
13902
  };
13903
13903
  var runAddDialogAgentAction = async (args, thunkApi) => {
@@ -13921,7 +13921,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
13921
13921
  return setDialogExtraReferencesAction(args, thunkApi);
13922
13922
  };
13923
13923
  var runHandleSendMessageAction = async (args, thunkApi) => {
13924
- const { handleSendMessageAction } = await import("./handleSendMessageAction-U6DQUBLF.js");
13924
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-XTQQEVD4.js");
13925
13925
  return handleSendMessageAction(args, thunkApi);
13926
13926
  };
13927
13927
  function clearDialogState() {
@@ -13934,7 +13934,7 @@ var createPageAndAddReference = createAsyncThunk(
13934
13934
  async (payload, { dispatch, getState, rejectWithValue }) => {
13935
13935
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
13936
13936
  try {
13937
- const { createDocState } = await import("./docStore-FOTFZMVS.js");
13937
+ const { createDocState } = await import("./docStore-XGWH3T7Q.js");
13938
13938
  const pageKey = await createDocState(
13939
13939
  { slateData, title },
13940
13940
  { dispatch, getState }
@@ -3,7 +3,7 @@ import {
3
3
  classifyAgentApiKeyRef,
4
4
  formatUnsupportedAgentApiKeyRefMessage,
5
5
  shouldReadAgentKeyRemotely
6
- } from "./chunk-CTEEJJVR.js";
6
+ } from "./chunk-MPIAKYZ7.js";
7
7
  import {
8
8
  resolveCliAgentKeyInput
9
9
  } from "./chunk-NBTY7YJF.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-62TBKWTV.js";
7
7
  import {
8
8
  clearCliLocalRuntimePreparedAgentCache
9
- } from "./chunk-F55WKIWE.js";
9
+ } from "./chunk-BNEHIKIR.js";
10
10
  import {
11
11
  readCredentialAvailability
12
12
  } from "./chunk-R4BMKAR5.js";
@@ -19,7 +19,7 @@ import {
19
19
  resolveAgentRecordFromHybridStore,
20
20
  sanitizeAgentRecordForCliOutput,
21
21
  writeAgentRecord
22
- } from "./chunk-OXYSTN6B.js";
22
+ } from "./chunk-GTQKUQGF.js";
23
23
  import {
24
24
  resolveCliAgentKeyInput
25
25
  } from "./chunk-NBTY7YJF.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  requireTokenUser
3
- } from "./chunk-4FZUUCXQ.js";
3
+ } from "./chunk-MMSZKZWA.js";
4
4
  import {
5
5
  resolveServerUrl
6
6
  } from "./chunk-WACI5I6V.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  toolRegistry
3
- } from "./chunk-QZRAVGW3.js";
3
+ } from "./chunk-3YMDHQAK.js";
4
4
  import {
5
5
  runtime_default
6
- } from "./chunk-OC4NVQ5S.js";
6
+ } from "./chunk-GQEQYXWV.js";
7
7
  import {
8
8
  canonicalizeToolNames
9
- } from "./chunk-XJBWPOIL.js";
9
+ } from "./chunk-NHBJHDVW.js";
10
10
  import {
11
11
  isRecord
12
12
  } from "./chunk-KUG52IAP.js";
@@ -179,7 +179,7 @@ var chromeTypeFunctionSchema = baseSchema(
179
179
  );
180
180
  var chromeSetSelectValueSchema = baseSchema(
181
181
  "browser_set_select_value",
182
- `Choose an option in a native <select> element and verify the result. Use this for real <select> controls instead of click/press: clicking a select never changes its value (type reports value_mismatch, key presses have no observable effect, and <option> elements do not appear in browser_read_page). Provide exactly one of value (matched exactly against option values) or label (the option's visible text, which must match exactly one option). When the option is missing (OPTION_NOT_FOUND), several options share the label (OPTION_AMBIGUOUS) or the option is disabled (OPTION_DISABLED), the call fails with that code instead of guessing \u2014 call browser_read_page again and pass the exact value. The result is ok only when the select reads back the requested option after input/change were dispatched (verified is true on that same read-back); SELECT_VALUE_NOT_APPLIED means the page rejected or reverted the choice. If the select cannot be read back at all \u2014 for example a change listener removed it \u2014 the call returns ok:false with effect "uncertain" and code SELECT_GONE (or SELECT_VALUE_UNVERIFIED when the read never returned), which means unverified, not success: re-read the page before reporting the choice. Custom (non-native) dropdowns still need browser_click_element. Selecting an option in a control whose accessible name indicates an irreversible external action (delete, \u652F\u4ED8, \u53D1\u9001\u2026) opens a confirmation request for the user and returns USER_APPROVAL_PENDING with an approvalId: ask the user to click "Allow once" in the Nolo window, then retry this same call with that approvalId. Do not retry without it, and do not switch to another selector or elementRef to get around the gate.`,
182
+ `Choose an option in a native <select> element and verify the result. Use this for real <select> controls instead of click/press: clicking a select never changes its value (type reports value_mismatch, key presses have no observable effect, and <option> elements do not appear in browser_read_page). Provide exactly one of value (matched exactly against option values) or label (the option's visible text, which must match exactly one option). When the option is missing (OPTION_NOT_FOUND), several options share the label (OPTION_AMBIGUOUS) or the option is disabled (OPTION_DISABLED), the call fails with that code instead of guessing \u2014 call browser_read_page again and pass the exact value. The result is ok only when the select reads back the requested option after input/change were dispatched (verified is true on that same read-back); SELECT_VALUE_NOT_APPLIED means the page rejected or reverted the choice. If the select cannot be read back at all \u2014 for example a change listener removed it \u2014 the call returns ok:false with effect "uncertain" and code SELECT_GONE (or SELECT_VALUE_UNVERIFIED when the read never returned), which means unverified, not success: re-read the page before reporting the choice. Custom (non-native) dropdowns still need browser_click_element. Selecting an option in a control whose accessible name indicates an irreversible external action (delete, \u652F\u4ED8, \u53D1\u9001\u2026) opens a confirmation request for the user and returns USER_APPROVAL_PENDING with an approvalId: ask the user to click "Allow once" in the Nolo window, then retry this same call with that approvalId. Do not retry without it, and do not switch to another selector or elementRef to get around the gate. Four further codes say the select's identity could not be proven: SELECT_TOKEN_UNAVAILABLE means this page cannot hold a select identity token at all (the value was not set), SELECT_TOKEN_REQUIRED means the target select was not marked before the set so it cannot be identified (the value was not set), and SELECT_TOKEN_FAILED means marking that token failed (the value was not set) \u2014 in all three cases the connector cannot prove which control it addressed, so call browser_read_page again and retry with a fresh selector or elementRef. TYPE_ON_SELECT_REFUSED means browser_type was aimed at a native <select>, which never chooses an option \u2014 use browser_set_select_value for that control instead.`,
183
183
  {
184
184
  tabId,
185
185
  elementRef,
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-VYNMQ6HW.js";
9
9
  import {
10
10
  fetchAndCacheTableRows
11
- } from "./chunk-MAS5KGBB.js";
11
+ } from "./chunk-EUOPEEMO.js";
12
12
  import {
13
13
  require_react
14
14
  } from "./chunk-YDH3FDFQ.js";
@@ -22,7 +22,7 @@ import {
22
22
  import {
23
23
  resolveBuiltinCapability,
24
24
  resolveBuiltinSkillEntry
25
- } from "./chunk-5LZBJZLT.js";
25
+ } from "./chunk-TXJZ7QXG.js";
26
26
  import {
27
27
  DEFAULT_SYSTEM_AGENT_CAPABILITIES
28
28
  } from "./chunk-EUGTFFO6.js";
@@ -521,7 +521,7 @@ var executeToolRun = createAsyncThunk(
521
521
  if (!executionInput) {
522
522
  throw new Error(`ToolRun ${id} has no input to execute with.`);
523
523
  }
524
- const { findToolExecutor } = await import("./tools-GWQ4POVC.js");
524
+ const { findToolExecutor } = await import("./tools-VWAK7F7J.js");
525
525
  const { executor } = findToolExecutor(run.toolName);
526
526
  toolRunStarted({
527
527
  id: run.id,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  readDbRecord,
3
3
  writeAgentRecord
4
- } from "./chunk-OXYSTN6B.js";
4
+ } from "./chunk-GTQKUQGF.js";
5
5
  import {
6
6
  buildSkillSummaryMarker
7
7
  } from "./chunk-VF4K2QE6.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildAgentRuntimeAgentLookupKeys,
3
3
  shouldFetchAgentRuntimeRecordRemotely
4
- } from "./chunk-ZEQ6L6MZ.js";
4
+ } from "./chunk-3FTJG5NU.js";
5
5
 
6
6
  // packages/agent-runtime/oauthProviderRefs.ts
7
7
  var OAUTH_PROVIDER_REFS = [
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CHROME_CONNECTOR_LEGACY_TOOL_ALIASES
3
- } from "./chunk-MMKP2XWK.js";
3
+ } from "./chunk-JX5XVFVW.js";
4
4
 
5
5
  // packages/agent-runtime/toolNameAliases.ts
6
6
  var LEGACY_TOOL_NAME_ALIASES = {
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-AETZ7AD6.js";
8
8
  import {
9
9
  CHROME_CONNECTOR_ACCEPTED_TOOL_NAMES
10
- } from "./chunk-MMKP2XWK.js";
10
+ } from "./chunk-JX5XVFVW.js";
11
11
  import {
12
12
  createKey
13
13
  } from "./chunk-5EMSBTQ6.js";
@@ -7,7 +7,7 @@ import {
7
7
  listUserRecordsFromServers,
8
8
  readDbRecordFromServers,
9
9
  readLiveDbRecordAfterTombstoneMerge
10
- } from "./chunk-EAWOT7M6.js";
10
+ } from "./chunk-F2P6YUHC.js";
11
11
  import {
12
12
  parsePositiveFiniteNumberOrFallback
13
13
  } from "./chunk-Y5GCAMGP.js";
@@ -32,7 +32,7 @@ import {
32
32
  boundSummaryText,
33
33
  buildDialogReadEnvelope,
34
34
  projectDialogReadForAgent
35
- } from "./chunk-ZEQ6L6MZ.js";
35
+ } from "./chunk-3FTJG5NU.js";
36
36
  import {
37
37
  asRecordOrEmpty
38
38
  } from "./chunk-KX6YBIHG.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-UEILX4EV.js";
4
4
  import {
5
5
  compareAgentSelection
6
- } from "./chunk-ZEQ6L6MZ.js";
6
+ } from "./chunk-3FTJG5NU.js";
7
7
  import {
8
8
  DEFAULT_PROVIDER_RETRY_MS,
9
9
  isAgentUnavailableNow,
@@ -347,7 +347,7 @@ var slice = createSliceWithThunks({
347
347
  const overrides = {};
348
348
  if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
349
349
  if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
350
- const { _executeModel } = await import("./_executeModel-EJUKYBFV.js");
350
+ const { _executeModel } = await import("./_executeModel-ZMEMTJMS.js");
351
351
  return _executeModel(
352
352
  {
353
353
  isStreaming: args.isStreaming ?? false,
@@ -368,7 +368,7 @@ var slice = createSliceWithThunks({
368
368
  * - 循环直到无工具调用或触发其他运行时停止条件
369
369
  */
370
370
  runAgent: create.asyncThunk(async (args, thunkApi) => {
371
- const { runAgentClientLoop } = await import("./runAgentClientLoop-QJL24CN5.js");
371
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-2APY5UZL.js");
372
372
  const { content: loopContent, toolCallCount } = await runAgentClientLoop(
373
373
  {
374
374
  agentKey: args.agentKey,
@@ -384,7 +384,7 @@ var slice = createSliceWithThunks({
384
384
  * 聊天轮次流式 Agent 调用
385
385
  */
386
386
  streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
387
- const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-4ZA46AEJ.js");
387
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-Z3KS7XZL.js");
388
388
  return streamAgentChatTurnHandler(args, thunkApi);
389
389
  }),
390
390
  /**
@@ -2,7 +2,7 @@ import {
2
2
  clipMultilineText,
3
3
  fetchAndSerializeTable,
4
4
  waitForAbortableDelay
5
- } from "./chunk-DS47C2AI.js";
5
+ } from "./chunk-KBVF7LOK.js";
6
6
  import {
7
7
  isGatewayHttpStatus
8
8
  } from "./chunk-NF64D32W.js";
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-AGIM7IMJ.js";
22
22
  import {
23
23
  fetchAndCacheMessages
24
- } from "./chunk-OC4NVQ5S.js";
24
+ } from "./chunk-GQEQYXWV.js";
25
25
  import {
26
26
  createSpaceKey
27
27
  } from "./chunk-UAD2WT54.js";
@@ -35,7 +35,7 @@ import {
35
35
  extractRuntimePageCapabilities,
36
36
  resolveBuiltinSkillPage,
37
37
  resolveSkillGraphFromRoots
38
- } from "./chunk-5LZBJZLT.js";
38
+ } from "./chunk-TXJZ7QXG.js";
39
39
  import {
40
40
  isAbortError
41
41
  } from "./chunk-7DPNBQSV.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-MAS5KGBB.js";
3
+ } from "./chunk-EUOPEEMO.js";
4
4
  import {
5
5
  format,
6
6
  prepareAndPersistMessage,
7
7
  uiAskChoiceFunc,
8
8
  uiAskChoiceFunctionSchema
9
- } from "./chunk-OC4NVQ5S.js";
9
+ } from "./chunk-GQEQYXWV.js";
10
10
  import {
11
11
  formatISO
12
12
  } from "./chunk-ZRAU6T47.js";
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-PXYBUFDB.js";
26
26
  import {
27
27
  buildBuiltinObjectSkillReference
28
- } from "./chunk-SK2UMOZC.js";
28
+ } from "./chunk-NRYTWXXV.js";
29
29
  import {
30
30
  extractCustomId
31
31
  } from "./chunk-M2EJHDJP.js";
@@ -5,7 +5,7 @@ import {
5
5
  inlineImageUrlsForCustomProvider,
6
6
  prepareTools,
7
7
  shouldInlineImageUrlsForAgent
8
- } from "./chunk-SCDJOWJT.js";
8
+ } from "./chunk-JGH3VOCR.js";
9
9
  import {
10
10
  CONFIRMATION_INPUT_KEYS,
11
11
  INVALID_TOOL_ARGS_REPLACEMENT,
@@ -14,16 +14,16 @@ import {
14
14
  performFetchRequest,
15
15
  sanitizeOutboundMessages,
16
16
  stripModelToolArgs
17
- } from "./chunk-THZHXIKZ.js";
17
+ } from "./chunk-Y2CQS353.js";
18
18
  import {
19
19
  findToolExecutor,
20
20
  toolDefinitionsByName
21
- } from "./chunk-QZRAVGW3.js";
21
+ } from "./chunk-3YMDHQAK.js";
22
22
  import {
23
23
  classifyApiError,
24
24
  classifyGenerationError,
25
25
  extractErrorDiagnostics
26
- } from "./chunk-UXJ7R3EP.js";
26
+ } from "./chunk-RHFEDL32.js";
27
27
  import {
28
28
  createSSEParser,
29
29
  createToolRunId,
@@ -32,7 +32,7 @@ import {
32
32
  toolRunSetPending,
33
33
  toolRunStarted,
34
34
  toolRunSucceeded
35
- } from "./chunk-DS47C2AI.js";
35
+ } from "./chunk-KBVF7LOK.js";
36
36
  import {
37
37
  getPublicImageAgentMode
38
38
  } from "./chunk-VIDPVFP3.js";
@@ -45,10 +45,10 @@ import {
45
45
  messageStreaming,
46
46
  toolResultNeedsUserConfirmation,
47
47
  updateToolMessage
48
- } from "./chunk-OC4NVQ5S.js";
48
+ } from "./chunk-GQEQYXWV.js";
49
49
  import {
50
50
  streamAgentChatTurn
51
- } from "./chunk-5LK5OYUB.js";
51
+ } from "./chunk-QHFRRM5U.js";
52
52
  import {
53
53
  addActiveController,
54
54
  removeActiveController,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AGENT_SELECTION_PRIORITY_INSTRUCTIONS
3
- } from "./chunk-ZEQ6L6MZ.js";
3
+ } from "./chunk-3FTJG5NU.js";
4
4
  import {
5
5
  canonicalizeToolNames
6
- } from "./chunk-XJBWPOIL.js";
6
+ } from "./chunk-NHBJHDVW.js";
7
7
  import {
8
8
  BUILTIN_AGENT_CATALOG
9
9
  } from "./chunk-LOEO7LRC.js";
@@ -6,7 +6,7 @@ import {
6
6
  buildBuiltinObjectSkillDbKey,
7
7
  buildBuiltinObjectSkillPageContent,
8
8
  buildCodeWorkDiscipline
9
- } from "./chunk-SK2UMOZC.js";
9
+ } from "./chunk-NRYTWXXV.js";
10
10
  import {
11
11
  buildSkillDocMarkdown,
12
12
  resolvePageSkillMetadata
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-Y6ORVLSS.js";
17
17
  import {
18
18
  canonicalizeToolNames
19
- } from "./chunk-XJBWPOIL.js";
19
+ } from "./chunk-NHBJHDVW.js";
20
20
  import {
21
21
  asNonEmptyStringArray
22
22
  } from "./chunk-I42VC5KR.js";
@@ -9,7 +9,7 @@ import {
9
9
  resolveRawAgentInput,
10
10
  resolveServerUrl,
11
11
  writeUsage
12
- } from "./chunk-I4ZVPTAI.js";
12
+ } from "./chunk-E54QZNU3.js";
13
13
  import {
14
14
  getReadableCliDb
15
15
  } from "./chunk-62TBKWTV.js";
@@ -31,7 +31,7 @@ import {
31
31
  resolveFileWriteGateEnabled,
32
32
  resolveLocalUserId,
33
33
  validateInstaboxWorkspaceSelection
34
- } from "./chunk-F55WKIWE.js";
34
+ } from "./chunk-BNEHIKIR.js";
35
35
  import {
36
36
  clearCredentialAvailability,
37
37
  readEffectiveCredentialEntry,
@@ -57,7 +57,7 @@ import {
57
57
  import {
58
58
  readDbRecord,
59
59
  resolveAgentRecordFromHybridStore
60
- } from "./chunk-OXYSTN6B.js";
60
+ } from "./chunk-GTQKUQGF.js";
61
61
  import {
62
62
  isLocalCliAgentKey
63
63
  } from "./chunk-NBTY7YJF.js";
@@ -72,14 +72,14 @@ import {
72
72
  } from "./chunk-BMQ2MJUK.js";
73
73
  import {
74
74
  resolveCliLocalRuntimeKeyCapability
75
- } from "./chunk-QZRAVGW3.js";
75
+ } from "./chunk-3YMDHQAK.js";
76
76
  import {
77
77
  isTransientFetchError
78
78
  } from "./chunk-KFHREHUQ.js";
79
79
  import {
80
80
  parseUiCard,
81
81
  uiCardFallback
82
- } from "./chunk-DS47C2AI.js";
82
+ } from "./chunk-KBVF7LOK.js";
83
83
  import {
84
84
  isGatewayHttpStatus
85
85
  } from "./chunk-NF64D32W.js";
@@ -88,7 +88,7 @@ import {
88
88
  chooseMemoryOwners,
89
89
  loadMemoryCandidatesFromDb,
90
90
  resolveAgentMemoryPolicy
91
- } from "./chunk-CJYL3N3T.js";
91
+ } from "./chunk-SO3N2323.js";
92
92
  import {
93
93
  getDefaultCliLocalRuntimeDb
94
94
  } from "./chunk-FDLDMJTM.js";
@@ -99,7 +99,7 @@ import {
99
99
  resolveAgentContextWindow,
100
100
  resolveOccupancy,
101
101
  resolveOccupancyWindow
102
- } from "./chunk-OC4NVQ5S.js";
102
+ } from "./chunk-GQEQYXWV.js";
103
103
  import {
104
104
  buildSkillDiscoveryContextLayer
105
105
  } from "./chunk-AU7AXHUL.js";
@@ -111,7 +111,7 @@ import {
111
111
  LOCAL_AGENT_CONFIG_MISSING_CODE,
112
112
  LOCAL_TURN_ABORTED_CODE,
113
113
  readActionGate
114
- } from "./chunk-FLX5EYLQ.js";
114
+ } from "./chunk-G5IZWDSM.js";
115
115
  import {
116
116
  resolveAgentRuntimeConfigFromRecord
117
117
  } from "./chunk-CR5WXQX7.js";
@@ -11376,7 +11376,7 @@ function isBalanceExhaustedError(error) {
11376
11376
 
11377
11377
  // packages/cli/client/agentRun.ts
11378
11378
  async function loadRunLocalAgentTurn() {
11379
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-AG7RCTM3.js");
11379
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-B2CGM4VH.js");
11380
11380
  return runLocalAgentTurn;
11381
11381
  }
11382
11382
  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();
@@ -333,7 +333,7 @@ async function saveDocState(arg, { dispatch, getState }) {
333
333
  ).unwrap();
334
334
  if (dbSpaceId) {
335
335
  try {
336
- const { updateContentTitle } = await import("./contentThunks-FBGQIS5J.js");
336
+ const { updateContentTitle } = await import("./contentThunks-AH7QDS6H.js");
337
337
  await dispatch(
338
338
  updateContentTitle({
339
339
  spaceId: dbSpaceId,
@@ -372,7 +372,7 @@ async function saveDocState(arg, { dispatch, getState }) {
372
372
  }
373
373
  }
374
374
  async function createDocState(args, thunkApi) {
375
- const { createPageAction } = await import("./createPageAction-2IWTNKUE.js");
375
+ const { createPageAction } = await import("./createPageAction-PZGKZFPS.js");
376
376
  return createPageAction(args, thunkApi);
377
377
  }
378
378
  function subscribe(listener) {
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-HS7MLR74.js";
4
4
  import {
5
5
  performServerProxyFetchWithRetry
6
- } from "./chunk-UXJ7R3EP.js";
6
+ } from "./chunk-RHFEDL32.js";
7
7
  import {
8
8
  fetchServerSyncedCredential
9
- } from "./chunk-5LK5OYUB.js";
9
+ } from "./chunk-QHFRRM5U.js";
10
10
  import {
11
11
  buildSkillGuidancePromptBlock
12
- } from "./chunk-5LZBJZLT.js";
12
+ } from "./chunk-TXJZ7QXG.js";
13
13
  import {
14
14
  CREDENTIAL_HYGIENE_RULE,
15
15
  DELETE_SAFETY_RED_LINE,
@@ -23,7 +23,7 @@ import {
23
23
  compileContextLayers,
24
24
  detectDispatchIntentFromMessages,
25
25
  resolveToolGuidedSections
26
- } from "./chunk-POYXVOYU.js";
26
+ } from "./chunk-TQU64H2A.js";
27
27
  import {
28
28
  convertMessagesToResponsesInput,
29
29
  getUsageRequestOptions,
@@ -47,7 +47,7 @@ import {
47
47
  } from "./chunk-4VJAC32I.js";
48
48
  import {
49
49
  canonicalizeToolNames
50
- } from "./chunk-XJBWPOIL.js";
50
+ } from "./chunk-NHBJHDVW.js";
51
51
  import {
52
52
  API_ENDPOINTS
53
53
  } from "./chunk-LCBAMY2M.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  fetchReferenceContents,
3
3
  resolveReferenceAssets
4
- } from "./chunk-UXJ7R3EP.js";
4
+ } from "./chunk-RHFEDL32.js";
5
5
  import {
6
6
  updateTokensAction
7
- } from "./chunk-OC4NVQ5S.js";
7
+ } from "./chunk-GQEQYXWV.js";
8
8
  import {
9
9
  applyUpdateTokensFulfilled
10
10
  } from "./chunk-OWYYDMGJ.js";