nolo-cli 0.194.0-alpha.1 → 0.195.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-WQ7BV3G7.js → _executeModel-ZOXM7Y34.js} +16 -16
  2. package/{agentDeleteCommand-4DK6X4S4.js → agentDeleteCommand-HTQ44RAQ.js} +18 -18
  3. package/{agentEmailCommands-CYPIYPOK.js → agentEmailCommands-YFUN7XBR.js} +19 -19
  4. package/{agentListCommands-MAG736RU.js → agentListCommands-LJLORDET.js} +10 -10
  5. package/{agentMachineCommands-7VTOWHHD.js → agentMachineCommands-2KTYKG4H.js} +7 -7
  6. package/{agentProviderCommands-XSZUCNIR.js → agentProviderCommands-T6E3JCR6.js} +1 -1
  7. package/{agentRecordCommands-VK3NEK5G.js → agentRecordCommands-3QNVYEG3.js} +18 -18
  8. package/{agentRunCommand-7MFVUHWX.js → agentRunCommand-Q2JM5JEU.js} +19 -19
  9. package/{agentRuntimeLocal-NAAYNHCW.js → agentRuntimeLocal-MTQSFD7I.js} +4 -4
  10. package/{agentSlice-TZRLTBEJ.js → agentSlice-QZGFPGMR.js} +1 -1
  11. package/{appDeleteCommands-VDHCDVBF.js → appDeleteCommands-3MCWTQS6.js} +8 -8
  12. package/{appDeployCommands-V6UTKVXR.js → appDeployCommands-7I34JXHZ.js} +8 -8
  13. package/{appDeployStatusCommands-4UIFSEPC.js → appDeployStatusCommands-IB4U6E35.js} +8 -8
  14. package/{appGetCommands-XKDXLC3C.js → appGetCommands-72B4NXAK.js} +8 -8
  15. package/{appListCommands-BELRVX2Y.js → appListCommands-3JL2SWPE.js} +8 -8
  16. package/{chromeOpsCommands-C46BXHEE.js → chromeOpsCommands-BA6CS4DI.js} +4 -0
  17. package/{chunk-TZLPJRNO.js → chunk-4FJMFU6Q.js} +4 -4
  18. package/{chunk-53RSTB7T.js → chunk-5TO2R77F.js} +5 -3
  19. package/{chunk-V62MBA65.js → chunk-6INEOFQ7.js} +3 -3
  20. package/{chunk-GYVLAHA4.js → chunk-6WZQGT5X.js} +5 -3
  21. package/{chunk-JG6IWEAW.js → chunk-AQJ7X2Q2.js} +7 -7
  22. package/{chunk-WVGVGT44.js → chunk-BHUBGU7Y.js} +2 -2
  23. package/{chunk-OUSUFO5W.js → chunk-BLLD2WLC.js} +2 -2
  24. package/{chunk-YARN6MCX.js → chunk-CB3VYZXP.js} +1 -1
  25. package/{chunk-ADTJJVDJ.js → chunk-DUNY6XR5.js} +4 -4
  26. package/{chunk-UVWBGWBO.js → chunk-EXSYUA2B.js} +3 -3
  27. package/{chunk-63JHZKGZ.js → chunk-F4LUA2DC.js} +8 -8
  28. package/{chunk-UC5RISH3.js → chunk-F4OL33IQ.js} +10 -10
  29. package/{chunk-5DIFZFYF.js → chunk-FB3WCWBB.js} +2 -2
  30. package/{chunk-5DPVRMSY.js → chunk-FMOZ57LN.js} +1 -1
  31. package/{chunk-EXSR7DXT.js → chunk-H6SXSCSN.js} +2 -2
  32. package/{chunk-R4BMKAR5.js → chunk-HAB2UDLT.js} +1 -1
  33. package/{chunk-CGKSIL4D.js → chunk-HKPXXG5H.js} +8 -2
  34. package/{chunk-KDBKEYUW.js → chunk-IHDV22R2.js} +11 -11
  35. package/{chunk-IOIPWEL4.js → chunk-INFUAU3F.js} +5 -5
  36. package/{chunk-YHNZZIAH.js → chunk-IUDTH3E4.js} +3 -3
  37. package/{chunk-UBLITLAZ.js → chunk-NABJEYPJ.js} +1 -0
  38. package/{chunk-ABMBNULR.js → chunk-NFNXYJPQ.js} +5 -4
  39. package/{chunk-I3HWJODB.js → chunk-O6OGJTHX.js} +4 -1
  40. package/{chunk-NMDAOZRN.js → chunk-RH5BIDW5.js} +11 -11
  41. package/{chunk-JLR5NWP2.js → chunk-RXX262QX.js} +17 -3
  42. package/{chunk-2NAE7IVE.js → chunk-T4WTBEFQ.js} +2 -2
  43. package/{chunk-4MYCKDSI.js → chunk-TEC5UHQK.js} +1 -1
  44. package/{chunk-TFSMPRAY.js → chunk-V3MGT3RF.js} +2 -2
  45. package/{chunk-EVF6F3QU.js → chunk-WY4ODIPK.js} +2 -2
  46. package/{chunk-RJ3EYB5G.js → chunk-X3RWBJDQ.js} +1 -1
  47. package/{chunk-PD2YRFAI.js → chunk-ZQ3EAOY3.js} +1 -1
  48. package/{commandRegistry-RM2Z2DVF.js → commandRegistry-GX6RHXMK.js} +44 -44
  49. package/{contentThunks-RP4BYNUC.js → contentThunks-STHMPQXH.js} +3 -3
  50. package/{cooldownCommands-4XKJFEBW.js → cooldownCommands-KRILPXOZ.js} +2 -2
  51. package/{createAgentAutomationAction-AYFAMQ5D.js → createAgentAutomationAction-UTXF4IC7.js} +3 -3
  52. package/{createDialogAction-NV5TEAIN.js → createDialogAction-NUZFL6UT.js} +4 -4
  53. package/{createPageAction-FJGDX55N.js → createPageAction-IYIPME6P.js} +3 -3
  54. package/{dialogCommands-4BGV6DPD.js → dialogCommands-RSWGWOP2.js} +8 -8
  55. package/{dialogSlice-ZUYNLTF6.js → dialogSlice-FHWW4E62.js} +2 -2
  56. package/{docCreateCommands-3CW75UF2.js → docCreateCommands-VHIUR4MF.js} +7 -7
  57. package/{docDeleteCommands-NL4ZYMN5.js → docDeleteCommands-AJD5OLUA.js} +8 -8
  58. package/{docReadCommands-HXCNVDPQ.js → docReadCommands-ZXEMJIKZ.js} +7 -7
  59. package/{docStore-EPAZ4HLD.js → docStore-KBA4FFRL.js} +1 -1
  60. package/{docUpdateCommands-RMVBAMDE.js → docUpdateCommands-LAPRIWRD.js} +7 -7
  61. package/{handleSendMessageAction-5UH3DA6V.js → handleSendMessageAction-NL5KZ4PA.js} +7 -7
  62. package/index.js +3 -3
  63. package/{localRuntimeAdapter-LVPGHOJK.js → localRuntimeAdapter-5ZBZ7JCY.js} +16 -16
  64. package/{machineCommands-O6RDJGLV.js → machineCommands-ANZ4FC7A.js} +17 -17
  65. package/{machineWsRunDispatch-GVDQO742.js → machineWsRunDispatch-KXFVBUN7.js} +17 -17
  66. package/package.json +1 -1
  67. package/{readlineWorkspace-I5XZFI2E.js → readlineWorkspace-CBJWLOBF.js} +22 -22
  68. package/{runAgentClientLoop-LV2HYQPH.js → runAgentClientLoop-56PIJSRN.js} +14 -14
  69. package/{spaceCommands-ZUI4CTSO.js → spaceCommands-ZCJPIJZI.js} +7 -7
  70. package/{streamAgentChatTurn-ZCHIQR35.js → streamAgentChatTurn-P5T47FVO.js} +16 -16
  71. package/{tools-2DZDJWHZ.js → tools-6MNLO55C.js} +10 -10
  72. package/{updateDialogTitleAction-QZWVKVVW.js → updateDialogTitleAction-WRQKK6MY.js} +3 -3
@@ -4,18 +4,18 @@ import {
4
4
  pickDefined,
5
5
  printCliError,
6
6
  resolveCliContext
7
- } from "./chunk-4MYCKDSI.js";
7
+ } from "./chunk-TEC5UHQK.js";
8
8
  import {
9
9
  hasFlag,
10
10
  hasHelpArg
11
- } from "./chunk-PD2YRFAI.js";
12
- import "./chunk-GYVLAHA4.js";
11
+ } from "./chunk-ZQ3EAOY3.js";
12
+ import "./chunk-6WZQGT5X.js";
13
13
  import "./chunk-LKZPX6YH.js";
14
- import "./chunk-RJ3EYB5G.js";
14
+ import "./chunk-X3RWBJDQ.js";
15
15
  import "./chunk-NBTY7YJF.js";
16
16
  import "./chunk-VF4K2QE6.js";
17
17
  import "./chunk-UAD2WT54.js";
18
- import "./chunk-ADTJJVDJ.js";
18
+ import "./chunk-DUNY6XR5.js";
19
19
  import "./chunk-ZNFJWEN4.js";
20
20
  import "./chunk-IIX6VWLW.js";
21
21
  import "./chunk-NVOYW6H4.js";
@@ -28,11 +28,11 @@ import "./chunk-2WZXXAQD.js";
28
28
  import "./chunk-PVD7CRYV.js";
29
29
  import "./chunk-G6OOUQWJ.js";
30
30
  import "./chunk-56GBUMO5.js";
31
- import "./chunk-I3HWJODB.js";
31
+ import "./chunk-O6OGJTHX.js";
32
32
  import "./chunk-OHRDHS4N.js";
33
33
  import "./chunk-E2BESSAW.js";
34
- import "./chunk-UBLITLAZ.js";
35
- import "./chunk-JLR5NWP2.js";
34
+ import "./chunk-NABJEYPJ.js";
35
+ import "./chunk-RXX262QX.js";
36
36
  import "./chunk-WJZOQR2J.js";
37
37
  import "./chunk-WFUIXNKC.js";
38
38
  import "./chunk-2MBTWINN.js";
@@ -5,18 +5,18 @@ import {
5
5
  pickDefined,
6
6
  printCliError,
7
7
  resolveCliContext
8
- } from "./chunk-4MYCKDSI.js";
8
+ } from "./chunk-TEC5UHQK.js";
9
9
  import {
10
10
  hasFlag,
11
11
  hasHelpArg
12
- } from "./chunk-PD2YRFAI.js";
13
- import "./chunk-GYVLAHA4.js";
12
+ } from "./chunk-ZQ3EAOY3.js";
13
+ import "./chunk-6WZQGT5X.js";
14
14
  import "./chunk-LKZPX6YH.js";
15
- import "./chunk-RJ3EYB5G.js";
15
+ import "./chunk-X3RWBJDQ.js";
16
16
  import "./chunk-NBTY7YJF.js";
17
17
  import "./chunk-VF4K2QE6.js";
18
18
  import "./chunk-UAD2WT54.js";
19
- import "./chunk-ADTJJVDJ.js";
19
+ import "./chunk-DUNY6XR5.js";
20
20
  import "./chunk-ZNFJWEN4.js";
21
21
  import "./chunk-IIX6VWLW.js";
22
22
  import "./chunk-NVOYW6H4.js";
@@ -29,11 +29,11 @@ import "./chunk-2WZXXAQD.js";
29
29
  import "./chunk-PVD7CRYV.js";
30
30
  import "./chunk-G6OOUQWJ.js";
31
31
  import "./chunk-56GBUMO5.js";
32
- import "./chunk-I3HWJODB.js";
32
+ import "./chunk-O6OGJTHX.js";
33
33
  import "./chunk-OHRDHS4N.js";
34
34
  import "./chunk-E2BESSAW.js";
35
- import "./chunk-UBLITLAZ.js";
36
- import "./chunk-JLR5NWP2.js";
35
+ import "./chunk-NABJEYPJ.js";
36
+ import "./chunk-RXX262QX.js";
37
37
  import "./chunk-WJZOQR2J.js";
38
38
  import "./chunk-WFUIXNKC.js";
39
39
  import "./chunk-2MBTWINN.js";
@@ -4,18 +4,18 @@ import {
4
4
  outputResult,
5
5
  printCliError,
6
6
  resolveCliContext
7
- } from "./chunk-4MYCKDSI.js";
7
+ } from "./chunk-TEC5UHQK.js";
8
8
  import {
9
9
  hasFlag,
10
10
  hasHelpArg
11
- } from "./chunk-PD2YRFAI.js";
12
- import "./chunk-GYVLAHA4.js";
11
+ } from "./chunk-ZQ3EAOY3.js";
12
+ import "./chunk-6WZQGT5X.js";
13
13
  import "./chunk-LKZPX6YH.js";
14
- import "./chunk-RJ3EYB5G.js";
14
+ import "./chunk-X3RWBJDQ.js";
15
15
  import "./chunk-NBTY7YJF.js";
16
16
  import "./chunk-VF4K2QE6.js";
17
17
  import "./chunk-UAD2WT54.js";
18
- import "./chunk-ADTJJVDJ.js";
18
+ import "./chunk-DUNY6XR5.js";
19
19
  import "./chunk-ZNFJWEN4.js";
20
20
  import "./chunk-IIX6VWLW.js";
21
21
  import "./chunk-NVOYW6H4.js";
@@ -28,11 +28,11 @@ import "./chunk-2WZXXAQD.js";
28
28
  import "./chunk-PVD7CRYV.js";
29
29
  import "./chunk-G6OOUQWJ.js";
30
30
  import "./chunk-56GBUMO5.js";
31
- import "./chunk-I3HWJODB.js";
31
+ import "./chunk-O6OGJTHX.js";
32
32
  import "./chunk-OHRDHS4N.js";
33
33
  import "./chunk-E2BESSAW.js";
34
- import "./chunk-UBLITLAZ.js";
35
- import "./chunk-JLR5NWP2.js";
34
+ import "./chunk-NABJEYPJ.js";
35
+ import "./chunk-RXX262QX.js";
36
36
  import "./chunk-WJZOQR2J.js";
37
37
  import "./chunk-WFUIXNKC.js";
38
38
  import "./chunk-2MBTWINN.js";
@@ -5,18 +5,18 @@ import {
5
5
  pickDefined,
6
6
  printCliError,
7
7
  resolveCliContext
8
- } from "./chunk-4MYCKDSI.js";
8
+ } from "./chunk-TEC5UHQK.js";
9
9
  import {
10
10
  hasFlag,
11
11
  hasHelpArg
12
- } from "./chunk-PD2YRFAI.js";
13
- import "./chunk-GYVLAHA4.js";
12
+ } from "./chunk-ZQ3EAOY3.js";
13
+ import "./chunk-6WZQGT5X.js";
14
14
  import "./chunk-LKZPX6YH.js";
15
- import "./chunk-RJ3EYB5G.js";
15
+ import "./chunk-X3RWBJDQ.js";
16
16
  import "./chunk-NBTY7YJF.js";
17
17
  import "./chunk-VF4K2QE6.js";
18
18
  import "./chunk-UAD2WT54.js";
19
- import "./chunk-ADTJJVDJ.js";
19
+ import "./chunk-DUNY6XR5.js";
20
20
  import "./chunk-ZNFJWEN4.js";
21
21
  import "./chunk-IIX6VWLW.js";
22
22
  import "./chunk-NVOYW6H4.js";
@@ -29,11 +29,11 @@ import "./chunk-2WZXXAQD.js";
29
29
  import "./chunk-PVD7CRYV.js";
30
30
  import "./chunk-G6OOUQWJ.js";
31
31
  import "./chunk-56GBUMO5.js";
32
- import "./chunk-I3HWJODB.js";
32
+ import "./chunk-O6OGJTHX.js";
33
33
  import "./chunk-OHRDHS4N.js";
34
34
  import "./chunk-E2BESSAW.js";
35
- import "./chunk-UBLITLAZ.js";
36
- import "./chunk-JLR5NWP2.js";
35
+ import "./chunk-NABJEYPJ.js";
36
+ import "./chunk-RXX262QX.js";
37
37
  import "./chunk-WJZOQR2J.js";
38
38
  import "./chunk-WFUIXNKC.js";
39
39
  import "./chunk-2MBTWINN.js";
@@ -5,18 +5,18 @@ import {
5
5
  pickDefined,
6
6
  printCliError,
7
7
  resolveCliContext
8
- } from "./chunk-4MYCKDSI.js";
8
+ } from "./chunk-TEC5UHQK.js";
9
9
  import {
10
10
  hasFlag,
11
11
  hasHelpArg
12
- } from "./chunk-PD2YRFAI.js";
13
- import "./chunk-GYVLAHA4.js";
12
+ } from "./chunk-ZQ3EAOY3.js";
13
+ import "./chunk-6WZQGT5X.js";
14
14
  import "./chunk-LKZPX6YH.js";
15
- import "./chunk-RJ3EYB5G.js";
15
+ import "./chunk-X3RWBJDQ.js";
16
16
  import "./chunk-NBTY7YJF.js";
17
17
  import "./chunk-VF4K2QE6.js";
18
18
  import "./chunk-UAD2WT54.js";
19
- import "./chunk-ADTJJVDJ.js";
19
+ import "./chunk-DUNY6XR5.js";
20
20
  import "./chunk-ZNFJWEN4.js";
21
21
  import "./chunk-IIX6VWLW.js";
22
22
  import "./chunk-NVOYW6H4.js";
@@ -29,11 +29,11 @@ import "./chunk-2WZXXAQD.js";
29
29
  import "./chunk-PVD7CRYV.js";
30
30
  import "./chunk-G6OOUQWJ.js";
31
31
  import "./chunk-56GBUMO5.js";
32
- import "./chunk-I3HWJODB.js";
32
+ import "./chunk-O6OGJTHX.js";
33
33
  import "./chunk-OHRDHS4N.js";
34
34
  import "./chunk-E2BESSAW.js";
35
- import "./chunk-UBLITLAZ.js";
36
- import "./chunk-JLR5NWP2.js";
35
+ import "./chunk-NABJEYPJ.js";
36
+ import "./chunk-RXX262QX.js";
37
37
  import "./chunk-WJZOQR2J.js";
38
38
  import "./chunk-WFUIXNKC.js";
39
39
  import "./chunk-2MBTWINN.js";
@@ -493,6 +493,10 @@ ${renderChromeOpsHelp()}`);
493
493
  return 0;
494
494
  }
495
495
  }
496
+ const pendingVerdict = result;
497
+ if (pendingVerdict && pendingVerdict.code === "USER_APPROVAL_PENDING" && typeof pendingVerdict.approvalId === "string" && pendingVerdict.approvalId.length > 0) {
498
+ io.stdout(`approvalId: ${pendingVerdict.approvalId}`);
499
+ }
496
500
  io.stdout(JSON.stringify({ ok: true, result }, null, 2));
497
501
  return 0;
498
502
  }
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-KDBKEYUW.js";
4
+ } from "./chunk-IHDV22R2.js";
5
5
  import {
6
6
  clipMultilineText
7
- } from "./chunk-WVGVGT44.js";
7
+ } from "./chunk-BHUBGU7Y.js";
8
8
  import {
9
9
  runLocalAgentTurn
10
- } from "./chunk-ADTJJVDJ.js";
10
+ } from "./chunk-DUNY6XR5.js";
11
11
  import {
12
12
  applyToolSurfaceConstraints
13
- } from "./chunk-UBLITLAZ.js";
13
+ } from "./chunk-NABJEYPJ.js";
14
14
  import {
15
15
  resolveLocalRuntimeEnvFromPolicy
16
16
  } from "./chunk-TRZP7JZ7.js";
@@ -3,12 +3,12 @@ import {
3
3
  } from "./chunk-UEILX4EV.js";
4
4
  import {
5
5
  compareAgentSelection
6
- } from "./chunk-UBLITLAZ.js";
6
+ } from "./chunk-NABJEYPJ.js";
7
7
  import {
8
8
  DEFAULT_PROVIDER_RETRY_MS,
9
9
  isAgentUnavailableNow,
10
10
  resolveAgentAvailability
11
- } from "./chunk-JLR5NWP2.js";
11
+ } from "./chunk-RXX262QX.js";
12
12
  import {
13
13
  isOAuthApiKeyRef
14
14
  } from "./chunk-UKZX3NHN.js";
@@ -403,6 +403,7 @@ function toSafeAgentSummary(record, options) {
403
403
  const isPublic = record?.isPublic === true || record?.isPublicFlag === true || record?.publicRecordExists === true;
404
404
  const updatedAt = safeTimestamp(record?.updatedAt ?? record?.createdAt ?? record?.created);
405
405
  const nextAvailableAt = typeof record?.nextAvailableAt === "number" && Number.isFinite(record.nextAvailableAt) ? record.nextAvailableAt : void 0;
406
+ const quotaExhaustion = record?.quotaExhaustion && typeof record.quotaExhaustion.observedAt === "number" && Number.isFinite(record.quotaExhaustion.observedAt) ? { observedAt: record.quotaExhaustion.observedAt } : void 0;
406
407
  const rawQuota = record?.quota;
407
408
  const quota = rawQuota && typeof rawQuota === "object" && Array.isArray(rawQuota.windows) && typeof rawQuota.observedAt === "number" && Number.isFinite(rawQuota.observedAt) ? rawQuota : void 0;
408
409
  const currentUserId = options?.userId;
@@ -445,7 +446,7 @@ function toSafeAgentSummary(record, options) {
445
446
  const credentialKind = record?.credentialKind ?? credInfo?.credentialKind;
446
447
  const { tier } = resolveDefaultAgentTier(record?.model);
447
448
  const availability = resolveAgentAvailability(
448
- { nextAvailableAt, quota },
449
+ { nextAvailableAt, quota, quotaExhaustion },
449
450
  options?.now ?? Date.now()
450
451
  );
451
452
  return {
@@ -475,6 +476,7 @@ function toSafeAgentSummary(record, options) {
475
476
  availabilityStatus: availability.status,
476
477
  availabilityReason: availability.reason,
477
478
  ...quota !== void 0 ? { quota } : {},
479
+ ...quotaExhaustion ? { quotaExhaustion } : {},
478
480
  ...credentialGroup !== void 0 ? { credentialGroup } : {},
479
481
  ...credentialKind !== void 0 ? { credentialKind } : {},
480
482
  // 「未知 ≠ 独立」:无 credentialGroup 时显式 credentialed:false,调用方
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-HS7MLR74.js";
4
4
  import {
5
5
  performServerProxyFetchWithRetry
6
- } from "./chunk-5DIFZFYF.js";
6
+ } from "./chunk-FB3WCWBB.js";
7
7
  import {
8
8
  fetchServerSyncedCredential
9
- } from "./chunk-YHNZZIAH.js";
9
+ } from "./chunk-IUDTH3E4.js";
10
10
  import {
11
11
  buildSkillGuidancePromptBlock
12
12
  } from "./chunk-5HAPEKNH.js";
@@ -23,7 +23,7 @@ import {
23
23
  compileContextLayers,
24
24
  detectDispatchIntentFromMessages,
25
25
  resolveToolGuidedSections
26
- } from "./chunk-I3HWJODB.js";
26
+ } from "./chunk-O6OGJTHX.js";
27
27
  import {
28
28
  convertMessagesToResponsesInput,
29
29
  getUsageRequestOptions,
@@ -3,7 +3,7 @@ import {
3
3
  classifyAgentApiKeyRef,
4
4
  formatUnsupportedAgentApiKeyRefMessage,
5
5
  shouldReadAgentKeyRemotely
6
- } from "./chunk-RJ3EYB5G.js";
6
+ } from "./chunk-X3RWBJDQ.js";
7
7
  import {
8
8
  resolveCliAgentKeyInput
9
9
  } from "./chunk-NBTY7YJF.js";
@@ -41,6 +41,8 @@ var PROVIDER_COPY_FIELDS = [
41
41
  "model",
42
42
  "customProviderUrl",
43
43
  "apiKey",
44
+ "apiKeyRef",
45
+ "apiKeyHeader",
44
46
  "useServerProxy",
45
47
  "inputPrice",
46
48
  "outputPrice"
@@ -593,7 +595,7 @@ async function buildCreatedAgentRecord(args) {
593
595
  throw new Error(`provider source agent not found: ${args.parsed.copyProviderFrom}`);
594
596
  }
595
597
  for (const field of PROVIDER_COPY_FIELDS) {
596
- if (field in providerSource.record) {
598
+ if (field in providerSource.record && !(field in args.parsed.updates)) {
597
599
  args.parsed.updates[field] = providerSource.record[field];
598
600
  }
599
601
  }
@@ -662,7 +664,7 @@ async function buildUpdatedAgentRecord(args) {
662
664
  throw new Error(`provider source agent not found: ${args.parsed.copyProviderFrom}`);
663
665
  }
664
666
  for (const field of PROVIDER_COPY_FIELDS) {
665
- if (field in providerSource.record) {
667
+ if (field in providerSource.record && !(field in args.parsed.updates)) {
666
668
  args.parsed.updates[field] = providerSource.record[field];
667
669
  }
668
670
  }
@@ -5,7 +5,7 @@ import {
5
5
  inlineImageUrlsForCustomProvider,
6
6
  prepareTools,
7
7
  shouldInlineImageUrlsForAgent
8
- } from "./chunk-OUSUFO5W.js";
8
+ } from "./chunk-BLLD2WLC.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-V62MBA65.js";
17
+ } from "./chunk-6INEOFQ7.js";
18
18
  import {
19
19
  findToolExecutor,
20
20
  toolDefinitionsByName
21
- } from "./chunk-UC5RISH3.js";
21
+ } from "./chunk-F4OL33IQ.js";
22
22
  import {
23
23
  classifyApiError,
24
24
  classifyGenerationError,
25
25
  extractErrorDiagnostics
26
- } from "./chunk-5DIFZFYF.js";
26
+ } from "./chunk-FB3WCWBB.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-WVGVGT44.js";
35
+ } from "./chunk-BHUBGU7Y.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-63JHZKGZ.js";
48
+ } from "./chunk-F4LUA2DC.js";
49
49
  import {
50
50
  streamAgentChatTurn
51
- } from "./chunk-YHNZZIAH.js";
51
+ } from "./chunk-IUDTH3E4.js";
52
52
  import {
53
53
  addActiveController,
54
54
  removeActiveController,
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-VYNMQ6HW.js";
9
9
  import {
10
10
  fetchAndCacheTableRows
11
- } from "./chunk-YARN6MCX.js";
11
+ } from "./chunk-CB3VYZXP.js";
12
12
  import {
13
13
  require_react
14
14
  } from "./chunk-YDH3FDFQ.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-2DZDJWHZ.js");
524
+ const { findToolExecutor } = await import("./tools-6MNLO55C.js");
525
525
  const { executor } = findToolExecutor(run.toolName);
526
526
  toolRunStarted({
527
527
  id: run.id,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  toolRegistry
3
- } from "./chunk-UC5RISH3.js";
3
+ } from "./chunk-F4OL33IQ.js";
4
4
  import {
5
5
  runtime_default
6
- } from "./chunk-63JHZKGZ.js";
6
+ } from "./chunk-F4LUA2DC.js";
7
7
  import {
8
8
  canonicalizeToolNames
9
9
  } from "./chunk-AKE53VMW.js";
@@ -7,7 +7,7 @@ import {
7
7
  deleteDialog,
8
8
  runtime_default,
9
9
  toast
10
- } from "./chunk-63JHZKGZ.js";
10
+ } from "./chunk-F4LUA2DC.js";
11
11
  import {
12
12
  UNCATEGORIZED_ID,
13
13
  addContentAction,
@@ -73,7 +73,7 @@ import {
73
73
  hashStablePrefixContent,
74
74
  resolveResponseGuidelines,
75
75
  resolveToolGuidedSections
76
- } from "./chunk-I3HWJODB.js";
76
+ } from "./chunk-O6OGJTHX.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-UBLITLAZ.js";
133
+ } from "./chunk-NABJEYPJ.js";
134
134
  import {
135
135
  buildDialogFallbackTitleFromUserInput
136
136
  } from "./chunk-2MBTWINN.js";
@@ -17846,11 +17846,11 @@ function parseLinesArg(value) {
17846
17846
  const text2 = asTrimmedString(value);
17847
17847
  if (!text2) {
17848
17848
  return {
17849
- warning: `Ignored lines: expected ${LINES_ARG_SYNTAX}, received ${describeRejectedArgValue(value)}.`
17849
+ warning: `Ignored lines: only ONE range is supported (${LINES_ARG_SYNTAX}); comma-separated segments are not, received ${describeRejectedArgValue(value)}.`
17850
17850
  };
17851
17851
  }
17852
17852
  const reject = {
17853
- warning: `Ignored lines: expected ${LINES_ARG_SYNTAX}, received ${JSON.stringify(text2)}.`
17853
+ warning: `Ignored lines: only ONE range is supported (${LINES_ARG_SYNTAX}); comma-separated segments are not, received ${JSON.stringify(text2)}.`
17854
17854
  };
17855
17855
  if (/^\d+$/.test(text2)) {
17856
17856
  const count = Number(text2);
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  listUserRecordsFromServers,
3
3
  readLiveDbRecordAfterTombstoneMerge
4
- } from "./chunk-5DPVRMSY.js";
4
+ } from "./chunk-FMOZ57LN.js";
5
5
  import {
6
6
  agentRecordHasConfiguredCredential
7
- } from "./chunk-GYVLAHA4.js";
7
+ } from "./chunk-6WZQGT5X.js";
8
8
  import {
9
9
  deriveCredentialGroup
10
- } from "./chunk-53RSTB7T.js";
10
+ } from "./chunk-5TO2R77F.js";
11
11
  import {
12
12
  isTombstoneRecord
13
13
  } from "./chunk-D2MDMY2M.js";
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-523DITKR.js";
12
12
  import {
13
13
  runLlm
14
- } from "./chunk-YHNZZIAH.js";
14
+ } from "./chunk-IUDTH3E4.js";
15
15
  import {
16
16
  isMediaToolConfirmation
17
17
  } from "./chunk-QYPE3TS3.js";
@@ -11073,7 +11073,7 @@ var messageSlice = createSliceWithThunks({
11073
11073
  runtimeOptions: args.runtimeOptions
11074
11074
  });
11075
11075
  if (agentKeyToUse) {
11076
- const { streamAgentChatTurn } = await import("./agentSlice-TZRLTBEJ.js");
11076
+ const { streamAgentChatTurn } = await import("./agentSlice-QZGFPGMR.js");
11077
11077
  await dispatch(
11078
11078
  streamAgentChatTurn({
11079
11079
  agentKey: agentKeyToUse,
@@ -13887,7 +13887,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
13887
13887
  }
13888
13888
  if (isCurrentDialog) {
13889
13889
  await thunkApi.dispatch(resetMsgs());
13890
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-ZUYNLTF6.js");
13890
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-FHWW4E62.js");
13891
13891
  dispatch(clearPendingAttachments2());
13892
13892
  }
13893
13893
  return { dialogKey, isCurrentDialog, attachmentPlan };
@@ -13895,15 +13895,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
13895
13895
 
13896
13896
  // packages/chat/dialog/dialogSlice.ts
13897
13897
  var runCreateDialogAction = async (args, thunkApi) => {
13898
- const { createDialogAction } = await import("./createDialogAction-NV5TEAIN.js");
13898
+ const { createDialogAction } = await import("./createDialogAction-NUZFL6UT.js");
13899
13899
  return createDialogAction(args, thunkApi);
13900
13900
  };
13901
13901
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
13902
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-AYFAMQ5D.js");
13902
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-UTXF4IC7.js");
13903
13903
  return createAgentAutomationAction(args, thunkApi);
13904
13904
  };
13905
13905
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
13906
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-QZWVKVVW.js");
13906
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-WRQKK6MY.js");
13907
13907
  return updateDialogTitleAction(args, thunkApi);
13908
13908
  };
13909
13909
  var runAddDialogAgentAction = async (args, thunkApi) => {
@@ -13927,7 +13927,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
13927
13927
  return setDialogExtraReferencesAction(args, thunkApi);
13928
13928
  };
13929
13929
  var runHandleSendMessageAction = async (args, thunkApi) => {
13930
- const { handleSendMessageAction } = await import("./handleSendMessageAction-5UH3DA6V.js");
13930
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-NL5KZ4PA.js");
13931
13931
  return handleSendMessageAction(args, thunkApi);
13932
13932
  };
13933
13933
  function clearDialogState() {
@@ -13940,7 +13940,7 @@ var createPageAndAddReference = createAsyncThunk(
13940
13940
  async (payload, { dispatch, getState, rejectWithValue }) => {
13941
13941
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
13942
13942
  try {
13943
- const { createDocState } = await import("./docStore-EPAZ4HLD.js");
13943
+ const { createDocState } = await import("./docStore-KBA4FFRL.js");
13944
13944
  const pageKey = await createDocState(
13945
13945
  { slateData, title },
13946
13946
  { dispatch, getState }
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  assembleAgentDiscoveryResult,
6
6
  resolveDiscoveryScope
7
- } from "./chunk-53RSTB7T.js";
7
+ } from "./chunk-5TO2R77F.js";
8
8
  import {
9
9
  getUserDataItemTimestamp,
10
10
  mergeAndDedupUserData
@@ -38,7 +38,7 @@ import {
38
38
  toolRunUpdated,
39
39
  uiCardFallback,
40
40
  waitForAbortableDelay
41
- } from "./chunk-WVGVGT44.js";
41
+ } from "./chunk-BHUBGU7Y.js";
42
42
  import {
43
43
  isGatewayHttpStatus
44
44
  } from "./chunk-NF64D32W.js";
@@ -55,7 +55,7 @@ import {
55
55
  } from "./chunk-VYNMQ6HW.js";
56
56
  import {
57
57
  createDocState
58
- } from "./chunk-EVF6F3QU.js";
58
+ } from "./chunk-WY4ODIPK.js";
59
59
  import {
60
60
  ToolApiError,
61
61
  buildToolRequestHeaders,
@@ -82,7 +82,7 @@ import {
82
82
  } from "./chunk-63W5N6P3.js";
83
83
  import {
84
84
  createDialogAction
85
- } from "./chunk-CGKSIL4D.js";
85
+ } from "./chunk-HKPXXG5H.js";
86
86
  import {
87
87
  DEFAULT_COLLAPSED_CATEGORIES,
88
88
  addContentToSpace,
@@ -99,7 +99,7 @@ import {
99
99
  updateContentCategory,
100
100
  updateContentTitle,
101
101
  writeStoredCollapsedCategories
102
- } from "./chunk-YARN6MCX.js";
102
+ } from "./chunk-CB3VYZXP.js";
103
103
  import {
104
104
  getCurrentSpaceId,
105
105
  getCurrentSpaceIdRaw,
@@ -122,14 +122,14 @@ import {
122
122
  selectMsgById,
123
123
  uiAskChoiceFunc,
124
124
  uiAskChoiceFunctionSchema
125
- } from "./chunk-63JHZKGZ.js";
125
+ } from "./chunk-F4LUA2DC.js";
126
126
  import {
127
127
  createAgent,
128
128
  deleteServerSyncedCredential,
129
129
  runLlm,
130
130
  streamAgentChatTurn,
131
131
  updateAgent
132
- } from "./chunk-YHNZZIAH.js";
132
+ } from "./chunk-IUDTH3E4.js";
133
133
  import {
134
134
  buildMediaToolConfirmation,
135
135
  normalizeMediaConfirmExecutionRevision
@@ -229,7 +229,7 @@ import {
229
229
  resolveNoloDialogInput,
230
230
  resolveReadOnlyToolConstraints,
231
231
  verifyNoloDialogSubjectRefQuery
232
- } from "./chunk-UBLITLAZ.js";
232
+ } from "./chunk-NABJEYPJ.js";
233
233
  import {
234
234
  clipCompactText
235
235
  } from "./chunk-5MMAK75Q.js";
@@ -3884,7 +3884,7 @@ async function deleteDialogsFunc(args, thunkApi) {
3884
3884
  const deletedDialogIds = [];
3885
3885
  const deletedDialogKeys = [];
3886
3886
  const failures = [];
3887
- const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-ZUYNLTF6.js");
3887
+ const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-FHWW4E62.js");
3888
3888
  for (const target of targets) {
3889
3889
  try {
3890
3890
  await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
@@ -18590,7 +18590,7 @@ async function updateDocFunc(args, thunkApi) {
18590
18590
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
18591
18591
  };
18592
18592
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
18593
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-EPAZ4HLD.js");
18593
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-KBA4FFRL.js");
18594
18594
  if (getDocState().pageKey === id) {
18595
18595
  applyExternalDocUpdate({
18596
18596
  slateData: finalSlateData,
@@ -2,7 +2,7 @@ import {
2
2
  clipMultilineText,
3
3
  fetchAndSerializeTable,
4
4
  waitForAbortableDelay
5
- } from "./chunk-WVGVGT44.js";
5
+ } from "./chunk-BHUBGU7Y.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-63JHZKGZ.js";
24
+ } from "./chunk-F4LUA2DC.js";
25
25
  import {
26
26
  createSpaceKey
27
27
  } from "./chunk-UAD2WT54.js";
@@ -2,7 +2,7 @@ import {
2
2
  deleteDbRecord,
3
3
  queryUserRecords,
4
4
  readDbRecord
5
- } from "./chunk-GYVLAHA4.js";
5
+ } from "./chunk-6WZQGT5X.js";
6
6
  import {
7
7
  mergeAndDedupUserData
8
8
  } from "./chunk-OXME3PEE.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  fetchReferenceContents,
3
3
  resolveReferenceAssets
4
- } from "./chunk-5DIFZFYF.js";
4
+ } from "./chunk-FB3WCWBB.js";
5
5
  import {
6
6
  updateTokensAction
7
- } from "./chunk-63JHZKGZ.js";
7
+ } from "./chunk-F4LUA2DC.js";
8
8
  import {
9
9
  applyUpdateTokensFulfilled
10
10
  } from "./chunk-OWYYDMGJ.js";