nolo-cli 0.30.0-alpha.9 → 1.0.0

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 (99) hide show
  1. package/{_executeModel-5ARVVUIK.js → _executeModel-MYLWE5K2.js} +30 -30
  2. package/{action-HI3VRQLP.js → action-P5NVIGGG.js} +6 -6
  3. package/{addContentAction-NCURJ6PK.js → addContentAction-V2QQUJ32.js} +5 -5
  4. package/{addDialogAgentAction-RCY4ECF4.js → addDialogAgentAction-536QKJ6L.js} +4 -4
  5. package/{agentDeleteCommand-5Q6TDCJU.js → agentDeleteCommand-RIILFDSH.js} +23 -23
  6. package/{agentEmailCommands-DSX4BJ2I.js → agentEmailCommands-KWJ5CUHY.js} +35 -35
  7. package/{agentListCommands-S66HL5RO.js → agentListCommands-BZZSDNCU.js} +25 -25
  8. package/{agentMachineCommands-ULCQ5ZNN.js → agentMachineCommands-Q7LS3LQH.js} +23 -23
  9. package/{agentRecordCommands-2AA3GEGO.js → agentRecordCommands-SJUBM3AJ.js} +34 -34
  10. package/{agentRunCommand-3KOT77XY.js → agentRunCommand-6O2VTHXQ.js} +34 -34
  11. package/{agentRuntimeLocal-7TMDJD4S.js → agentRuntimeLocal-43ZQHP35.js} +20 -20
  12. package/{agentSlice-6IQRQZX3.js → agentSlice-JLADUWUP.js} +5 -5
  13. package/{appDeleteCommands-UUDIWLNE.js → appDeleteCommands-4UNQSSWN.js} +24 -24
  14. package/{appDeployCommands-CO6SZ7YP.js → appDeployCommands-KG2BZXOG.js} +24 -24
  15. package/{appDeployStatusCommands-QEVKVECJ.js → appDeployStatusCommands-KF7DF2YA.js} +24 -24
  16. package/{appGetCommands-3YSCCLK4.js → appGetCommands-QPHSEE5N.js} +24 -24
  17. package/{appListCommands-FBJAFZKK.js → appListCommands-F3EP542I.js} +24 -24
  18. package/{authCommand-3ADNCFKD.js → authCommand-YLP77TMC.js} +5 -5
  19. package/{chunk-ATK5WJOA.js → chunk-2U6OW2C3.js} +3 -3
  20. package/{chunk-J3LHGBNO.js → chunk-75XQT73Q.js} +1 -1
  21. package/{chunk-OIW2RJ74.js → chunk-B4HGX366.js} +6 -6
  22. package/{chunk-W3UDJJMA.js → chunk-BSMTXN5T.js} +11 -11
  23. package/{chunk-Q243PXRU.js → chunk-D6K6XCUJ.js} +14 -14
  24. package/{chunk-LAXMH7JY.js → chunk-DFPTW7QE.js} +5 -5
  25. package/{chunk-PACNSC37.js → chunk-DWZMXGKK.js} +1 -1
  26. package/{chunk-2IJAKBK2.js → chunk-E5WZMGFH.js} +414 -236
  27. package/{chunk-R5Y4XELF.js → chunk-EAKXD6CA.js} +9 -9
  28. package/{chunk-EIQDGAAE.js → chunk-ECHKECDC.js} +23 -41
  29. package/{chunk-T4X4GCYT.js → chunk-FCHECEX7.js} +4 -4
  30. package/{chunk-ZJH3LKEW.js → chunk-FD6FKCDH.js} +1 -1
  31. package/{chunk-4F77PJBR.js → chunk-GD5XAUJ3.js} +5 -5
  32. package/{chunk-VP4WJWKW.js → chunk-GM6PU7B6.js} +431 -345
  33. package/{chunk-VQ4QPCKE.js → chunk-HC73BU6M.js} +11 -11
  34. package/{chunk-3LY4F7SV.js → chunk-INZZJSQF.js} +348 -331
  35. package/{chunk-2CYGIPJH.js → chunk-IT7IN5AX.js} +2 -2
  36. package/{chunk-43EPBPZ2.js → chunk-JQFRQWGN.js} +1 -1
  37. package/{chunk-6JH2DF7J.js → chunk-JZTOEZJ4.js} +4 -4
  38. package/{chunk-GKXS4F2I.js → chunk-KHYNTGOT.js} +5 -5
  39. package/{chunk-XORE26Z4.js → chunk-KMGSN747.js} +1 -1
  40. package/{chunk-EDWM6D6L.js → chunk-KR6G42Z2.js} +1 -1
  41. package/{chunk-ARPAHODF.js → chunk-KU6JXKVW.js} +4 -4
  42. package/{chunk-BIPRFBC2.js → chunk-LE5PV7CF.js} +2 -2
  43. package/{chunk-IPSPETAL.js → chunk-LOZF4FBI.js} +25 -25
  44. package/{chunk-GVPMJPCT.js → chunk-MZIHJGB5.js} +1 -1
  45. package/{chunk-EBNSAABL.js → chunk-N6F6HKEE.js} +1 -1
  46. package/{chunk-2SOQY5L6.js → chunk-NHOV2D4N.js} +13 -13
  47. package/{chunk-RWJPDKPB.js → chunk-NLEEVJZU.js} +1 -1
  48. package/{chunk-G5GVZAXF.js → chunk-OJE3M2CY.js} +3 -3
  49. package/{chunk-KGEVMUMI.js → chunk-OMR6FM26.js} +2 -2
  50. package/{chunk-S2BMRBR2.js → chunk-ORCLFNKB.js} +3 -3
  51. package/{chunk-ZJ2WITOO.js → chunk-QGSD46W6.js} +1 -1
  52. package/{chunk-TXVSNFHC.js → chunk-R3YEGS4D.js} +3 -3
  53. package/{chunk-PIC6Z7VI.js → chunk-RXGTXWYH.js} +1 -1
  54. package/{chunk-2HQ4OG6N.js → chunk-SVZ6MSA3.js} +1 -1
  55. package/{chunk-V54H24CQ.js → chunk-U2I2DYUD.js} +2 -2
  56. package/{chunk-YLC42PIE.js → chunk-UD4A2FNM.js} +249 -215
  57. package/{chunk-CYRMUTGB.js → chunk-UEH4ANWR.js} +6 -6
  58. package/{chunk-LEVCXTDN.js → chunk-UUNZE2KQ.js} +21 -21
  59. package/{chunk-N2IX3ZYK.js → chunk-VWBCW4JY.js} +1 -1
  60. package/{chunk-QBOW6RZN.js → chunk-W427FQJD.js} +2 -2
  61. package/{chunk-NZBH7FTB.js → chunk-XBACY73D.js} +1 -1
  62. package/{chunk-F3MP7CP6.js → chunk-XD6JM3SC.js} +1 -1
  63. package/{chunk-WTPC3XD4.js → chunk-ZIKG63EC.js} +1 -1
  64. package/{clipboardy-BVE3LVEH.js → clipboardy-MMBYVRLF.js} +166 -372
  65. package/{createAgentAutomationAction-EYNYY2LB.js → createAgentAutomationAction-B6ZSNUUI.js} +11 -11
  66. package/{createDialogAction-OUIRWYZP.js → createDialogAction-G34J7HP5.js} +12 -12
  67. package/{createPageAction-2I5PHJFF.js → createPageAction-KL4OCNNH.js} +13 -13
  68. package/{dbSlice-BBL3PEVW.js → dbSlice-6IRTSQLA.js} +4 -4
  69. package/{deleteFile-RJTEPOT4.js → deleteFile-TSEW36N4.js} +2 -2
  70. package/{dialogCommands-5CL4QYQ7.js → dialogCommands-PHH75OPO.js} +24 -24
  71. package/{dialogSlice-EKKVFKBJ.js → dialogSlice-2B5AGZXL.js} +10 -10
  72. package/{docCreateCommands-QHCLYGNW.js → docCreateCommands-2EZAGRNU.js} +23 -23
  73. package/{docDeleteCommands-DS6KOU6N.js → docDeleteCommands-ZYL2JBF2.js} +24 -24
  74. package/{docReadCommands-FRI5DAKH.js → docReadCommands-Q5HGLLRZ.js} +23 -23
  75. package/{docStore-V7EJS4PX.js → docStore-CCQWPWYV.js} +12 -12
  76. package/{docUpdateCommands-RQO5ZTXT.js → docUpdateCommands-KGOPINTR.js} +23 -23
  77. package/{getPricing-67TQVKFV.js → getPricing-6FIKFX4A.js} +2 -2
  78. package/{handleSendMessageAction-KCF7KII4.js → handleSendMessageAction-TS5MF7R4.js} +10 -10
  79. package/index.js +47 -47
  80. package/{lib-FYYBQIXS.js → lib-2ZTNRXR4.js} +432 -183
  81. package/{machineCommands-IAGAKTHV.js → machineCommands-4UGY53XP.js} +33 -33
  82. package/{machineWsRunDispatch-JGKC2HEK.js → machineWsRunDispatch-6KNOLLYI.js} +33 -33
  83. package/package.json +1 -1
  84. package/{read-64OQDO3I.js → read-UMWKE5D4.js} +2 -2
  85. package/{readDocTool-MXM3T6PE.js → readDocTool-FEHZDVEE.js} +1 -1
  86. package/{readlineWorkspace-5AQHHIBK.js → readlineWorkspace-7YWWGBSU.js} +38 -38
  87. package/{removeDialogAgentAction-NEKVAMSH.js → removeDialogAgentAction-X32EDHZX.js} +6 -6
  88. package/{runAgentClientLoop-6OGPS6SI.js → runAgentClientLoop-UQ23LEWR.js} +26 -26
  89. package/{setDialogExtraReferencesAction-WTOHQDIV.js → setDialogExtraReferencesAction-VGI5CCSY.js} +5 -5
  90. package/{setPrimaryDialogAgentAction-LDJOYC4F.js → setPrimaryDialogAgentAction-QOFXGQT6.js} +6 -6
  91. package/{settingSlice-4M37TN7V.js → settingSlice-RHSYAKFT.js} +5 -5
  92. package/{slateUtils-2M7MUTWX.js → slateUtils-VO2FU36K.js} +1 -1
  93. package/{spaceCommands-VTDNKTSF.js → spaceCommands-GH5DTWKY.js} +23 -23
  94. package/{spaceSlice-LGUZMB7Y.js → spaceSlice-AW66HZHQ.js} +11 -11
  95. package/{streamAgentChatTurn-TIGCZUNZ.js → streamAgentChatTurn-TZQZFDJQ.js} +29 -29
  96. package/{switchDialogAgentAction-XVWGKR2Z.js → switchDialogAgentAction-KX56UKUF.js} +4 -4
  97. package/{tools-BQAOPYMR.js → tools-FO7J53WL.js} +21 -21
  98. package/{tuiSummaryLlmCaller-YQBN5IMG.js → tuiSummaryLlmCaller-OX5M2GJW.js} +3 -3
  99. package/{updateDialogTitleAction-E6HMEDPH.js → updateDialogTitleAction-FVDTGJNA.js} +11 -11
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ANTIGRAVITY_CLOUD_CODE_BASE_URL,
3
3
  isAntigravityOAuthAgent
4
- } from "./chunk-J3LHGBNO.js";
4
+ } from "./chunk-75XQT73Q.js";
5
5
  import {
6
6
  buildCurrentTimeBlock,
7
7
  buildIdentityBlock,
@@ -9,7 +9,7 @@ import {
9
9
  requiresBareImageUrl,
10
10
  resolveToolGuidedSections,
11
11
  toBareImageUrlMessages
12
- } from "./chunk-OIW2RJ74.js";
12
+ } from "./chunk-B4HGX366.js";
13
13
  import {
14
14
  convertMessagesToResponsesInput,
15
15
  preserveAgentStateFields
@@ -19,14 +19,14 @@ import {
19
19
  isOpenAiResponsesModel,
20
20
  resolvePlatformChatCompletionsEndpoint,
21
21
  resolvePlatformResponsesEndpoint
22
- } from "./chunk-WTPC3XD4.js";
22
+ } from "./chunk-ZIKG63EC.js";
23
23
  import {
24
24
  MEMORY_USE_GUIDANCE,
25
25
  wrapHistoricalSummaryWithReplayGuard
26
26
  } from "./chunk-4PWB7JRR.js";
27
27
  import {
28
28
  waitForAbortableDelay
29
- } from "./chunk-IPSPETAL.js";
29
+ } from "./chunk-LOZF4FBI.js";
30
30
  import {
31
31
  createDrainExhaustedResponse,
32
32
  isCoreDrainingBody,
@@ -36,15 +36,15 @@ import {
36
36
  } from "./chunk-Z5MXSEOJ.js";
37
37
  import {
38
38
  resolveBuiltinSkillPage
39
- } from "./chunk-CYRMUTGB.js";
39
+ } from "./chunk-UEH4ANWR.js";
40
40
  import {
41
41
  estimateTokenCount,
42
42
  shouldUseServerProxy
43
- } from "./chunk-LEVCXTDN.js";
43
+ } from "./chunk-UUNZE2KQ.js";
44
44
  import {
45
45
  createFileCredentialBroker,
46
46
  fetchServerSyncedCredential
47
- } from "./chunk-4F77PJBR.js";
47
+ } from "./chunk-GD5XAUJ3.js";
48
48
  import {
49
49
  toErrorMessage
50
50
  } from "./chunk-HNMXYYJR.js";
@@ -52,7 +52,7 @@ import {
52
52
  clampReasoningEffort,
53
53
  getModelConfig,
54
54
  isModelSupportReasoningEffort
55
- } from "./chunk-EIQDGAAE.js";
55
+ } from "./chunk-ECHKECDC.js";
56
56
  import {
57
57
  isDeepInfraKimiModel,
58
58
  isFireworksKimiModel,
@@ -60,7 +60,7 @@ import {
60
60
  } from "./chunk-CAENRKNJ.js";
61
61
  import {
62
62
  read
63
- } from "./chunk-LAXMH7JY.js";
63
+ } from "./chunk-DFPTW7QE.js";
64
64
  import {
65
65
  asTrimmedLowercaseString
66
66
  } from "./chunk-QSJ3HFEF.js";
@@ -649,7 +649,7 @@ var opencodeGoModels = [
649
649
  }
650
650
  ];
651
651
 
652
- // node_modules/zod/dist/esm/v3/external.js
652
+ // node_modules/zod/v3/external.js
653
653
  var external_exports = {};
654
654
  __export(external_exports, {
655
655
  BRAND: () => BRAND,
@@ -761,7 +761,7 @@ __export(external_exports, {
761
761
  void: () => voidType
762
762
  });
763
763
 
764
- // node_modules/zod/dist/esm/v3/helpers/util.js
764
+ // node_modules/zod/v3/helpers/util.js
765
765
  var util;
766
766
  (function(util2) {
767
767
  util2.assertEqual = (_) => {
@@ -895,7 +895,7 @@ var getParsedType = (data) => {
895
895
  }
896
896
  };
897
897
 
898
- // node_modules/zod/dist/esm/v3/ZodError.js
898
+ // node_modules/zod/v3/ZodError.js
899
899
  var ZodIssueCode = util.arrayToEnum([
900
900
  "invalid_type",
901
901
  "invalid_literal",
@@ -995,8 +995,9 @@ var ZodError = class _ZodError extends Error {
995
995
  const formErrors = [];
996
996
  for (const sub of this.issues) {
997
997
  if (sub.path.length > 0) {
998
- fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || [];
999
- fieldErrors[sub.path[0]].push(mapper(sub));
998
+ const firstEl = sub.path[0];
999
+ fieldErrors[firstEl] = fieldErrors[firstEl] || [];
1000
+ fieldErrors[firstEl].push(mapper(sub));
1000
1001
  } else {
1001
1002
  formErrors.push(mapper(sub));
1002
1003
  }
@@ -1012,7 +1013,7 @@ ZodError.create = (issues) => {
1012
1013
  return error;
1013
1014
  };
1014
1015
 
1015
- // node_modules/zod/dist/esm/v3/locales/en.js
1016
+ // node_modules/zod/v3/locales/en.js
1016
1017
  var errorMap = (issue, _ctx) => {
1017
1018
  let message;
1018
1019
  switch (issue.code) {
@@ -1074,6 +1075,8 @@ var errorMap = (issue, _ctx) => {
1074
1075
  message = `String must contain ${issue.exact ? "exactly" : issue.inclusive ? `at least` : `over`} ${issue.minimum} character(s)`;
1075
1076
  else if (issue.type === "number")
1076
1077
  message = `Number must be ${issue.exact ? `exactly equal to ` : issue.inclusive ? `greater than or equal to ` : `greater than `}${issue.minimum}`;
1078
+ else if (issue.type === "bigint")
1079
+ message = `Number must be ${issue.exact ? `exactly equal to ` : issue.inclusive ? `greater than or equal to ` : `greater than `}${issue.minimum}`;
1077
1080
  else if (issue.type === "date")
1078
1081
  message = `Date must be ${issue.exact ? `exactly equal to ` : issue.inclusive ? `greater than or equal to ` : `greater than `}${new Date(Number(issue.minimum))}`;
1079
1082
  else
@@ -1113,7 +1116,7 @@ var errorMap = (issue, _ctx) => {
1113
1116
  };
1114
1117
  var en_default = errorMap;
1115
1118
 
1116
- // node_modules/zod/dist/esm/v3/errors.js
1119
+ // node_modules/zod/v3/errors.js
1117
1120
  var overrideErrorMap = en_default;
1118
1121
  function setErrorMap(map) {
1119
1122
  overrideErrorMap = map;
@@ -1122,7 +1125,7 @@ function getErrorMap() {
1122
1125
  return overrideErrorMap;
1123
1126
  }
1124
1127
 
1125
- // node_modules/zod/dist/esm/v3/helpers/parseUtil.js
1128
+ // node_modules/zod/v3/helpers/parseUtil.js
1126
1129
  var makeIssue = (params) => {
1127
1130
  const { data, path, errorMaps, issueData } = params;
1128
1131
  const fullPath = [...path, ...issueData.path || []];
@@ -1232,27 +1235,14 @@ var isDirty = (x) => x.status === "dirty";
1232
1235
  var isValid = (x) => x.status === "valid";
1233
1236
  var isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
1234
1237
 
1235
- // node_modules/zod/dist/esm/v3/helpers/errorUtil.js
1238
+ // node_modules/zod/v3/helpers/errorUtil.js
1236
1239
  var errorUtil;
1237
1240
  (function(errorUtil2) {
1238
1241
  errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
1239
1242
  errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
1240
1243
  })(errorUtil || (errorUtil = {}));
1241
1244
 
1242
- // node_modules/zod/dist/esm/v3/types.js
1243
- var __classPrivateFieldGet = function(receiver, state, kind, f) {
1244
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
1245
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
1246
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
1247
- };
1248
- var __classPrivateFieldSet = function(receiver, state, value, kind, f) {
1249
- if (kind === "m") throw new TypeError("Private method is not writable");
1250
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
1251
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
1252
- return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
1253
- };
1254
- var _ZodEnum_cache;
1255
- var _ZodNativeEnum_cache;
1245
+ // node_modules/zod/v3/types.js
1256
1246
  var ParseInputLazyPath = class {
1257
1247
  constructor(parent, value, path, key) {
1258
1248
  this._cachedPath = [];
@@ -1651,6 +1641,8 @@ function isValidJWT(jwt, alg) {
1651
1641
  return false;
1652
1642
  try {
1653
1643
  const [header] = jwt.split(".");
1644
+ if (!header)
1645
+ return false;
1654
1646
  const base64 = header.replace(/-/g, "+").replace(/_/g, "/").padEnd(header.length + (4 - header.length % 4) % 4, "=");
1655
1647
  const decoded = JSON.parse(atob(base64));
1656
1648
  if (typeof decoded !== "object" || decoded === null)
@@ -4077,10 +4069,6 @@ function createZodEnum(values, params) {
4077
4069
  });
4078
4070
  }
4079
4071
  var ZodEnum = class _ZodEnum extends ZodType {
4080
- constructor() {
4081
- super(...arguments);
4082
- _ZodEnum_cache.set(this, void 0);
4083
- }
4084
4072
  _parse(input) {
4085
4073
  if (typeof input.data !== "string") {
4086
4074
  const ctx = this._getOrReturnCtx(input);
@@ -4092,10 +4080,10 @@ var ZodEnum = class _ZodEnum extends ZodType {
4092
4080
  });
4093
4081
  return INVALID;
4094
4082
  }
4095
- if (!__classPrivateFieldGet(this, _ZodEnum_cache, "f")) {
4096
- __classPrivateFieldSet(this, _ZodEnum_cache, new Set(this._def.values), "f");
4083
+ if (!this._cache) {
4084
+ this._cache = new Set(this._def.values);
4097
4085
  }
4098
- if (!__classPrivateFieldGet(this, _ZodEnum_cache, "f").has(input.data)) {
4086
+ if (!this._cache.has(input.data)) {
4099
4087
  const ctx = this._getOrReturnCtx(input);
4100
4088
  const expectedValues = this._def.values;
4101
4089
  addIssueToContext(ctx, {
@@ -4144,13 +4132,8 @@ var ZodEnum = class _ZodEnum extends ZodType {
4144
4132
  });
4145
4133
  }
4146
4134
  };
4147
- _ZodEnum_cache = /* @__PURE__ */ new WeakMap();
4148
4135
  ZodEnum.create = createZodEnum;
4149
4136
  var ZodNativeEnum = class extends ZodType {
4150
- constructor() {
4151
- super(...arguments);
4152
- _ZodNativeEnum_cache.set(this, void 0);
4153
- }
4154
4137
  _parse(input) {
4155
4138
  const nativeEnumValues = util.getValidEnumValues(this._def.values);
4156
4139
  const ctx = this._getOrReturnCtx(input);
@@ -4163,10 +4146,10 @@ var ZodNativeEnum = class extends ZodType {
4163
4146
  });
4164
4147
  return INVALID;
4165
4148
  }
4166
- if (!__classPrivateFieldGet(this, _ZodNativeEnum_cache, "f")) {
4167
- __classPrivateFieldSet(this, _ZodNativeEnum_cache, new Set(util.getValidEnumValues(this._def.values)), "f");
4149
+ if (!this._cache) {
4150
+ this._cache = new Set(util.getValidEnumValues(this._def.values));
4168
4151
  }
4169
- if (!__classPrivateFieldGet(this, _ZodNativeEnum_cache, "f").has(input.data)) {
4152
+ if (!this._cache.has(input.data)) {
4170
4153
  const expectedValues = util.objectValues(nativeEnumValues);
4171
4154
  addIssueToContext(ctx, {
4172
4155
  received: ctx.data,
@@ -4181,7 +4164,6 @@ var ZodNativeEnum = class extends ZodType {
4181
4164
  return this._def.values;
4182
4165
  }
4183
4166
  };
4184
- _ZodNativeEnum_cache = /* @__PURE__ */ new WeakMap();
4185
4167
  ZodNativeEnum.create = (values, params) => {
4186
4168
  return new ZodNativeEnum({
4187
4169
  values,
@@ -4322,7 +4304,7 @@ var ZodEffects = class extends ZodType {
4322
4304
  parent: ctx
4323
4305
  });
4324
4306
  if (!isValid(base))
4325
- return base;
4307
+ return INVALID;
4326
4308
  const result = effect.transform(base.value, checkCtx);
4327
4309
  if (result instanceof Promise) {
4328
4310
  throw new Error(`Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.`);
@@ -4331,7 +4313,7 @@ var ZodEffects = class extends ZodType {
4331
4313
  } else {
4332
4314
  return this._def.schema._parseAsync({ data: ctx.data, path: ctx.path, parent: ctx }).then((base) => {
4333
4315
  if (!isValid(base))
4334
- return base;
4316
+ return INVALID;
4335
4317
  return Promise.resolve(effect.transform(base.value, checkCtx)).then((result) => ({
4336
4318
  status: status.value,
4337
4319
  value: result
@@ -3,12 +3,12 @@ import {
3
3
  } from "./chunk-DCDL3GC4.js";
4
4
  import {
5
5
  addContentToSpace
6
- } from "./chunk-YLC42PIE.js";
6
+ } from "./chunk-UD4A2FNM.js";
7
7
  import {
8
8
  prepareAndPersistMessage,
9
9
  uiAskChoiceFunc,
10
10
  uiAskChoiceFunctionSchema
11
- } from "./chunk-LEVCXTDN.js";
11
+ } from "./chunk-UUNZE2KQ.js";
12
12
  import {
13
13
  require_date_fns
14
14
  } from "./chunk-M76ECQRD.js";
@@ -23,13 +23,13 @@ import {
23
23
  removeCachedEntity,
24
24
  upsertSSREntity,
25
25
  write
26
- } from "./chunk-LAXMH7JY.js";
26
+ } from "./chunk-DFPTW7QE.js";
27
27
  import {
28
28
  extractCustomId
29
29
  } from "./chunk-TOW4E763.js";
30
30
  import {
31
31
  selectIdentityUserId
32
- } from "./chunk-2IJAKBK2.js";
32
+ } from "./chunk-E5WZMGFH.js";
33
33
  import {
34
34
  isDevelopment
35
35
  } from "./chunk-5RDLGLAP.js";
@@ -10,7 +10,7 @@ import {
10
10
  scheduleExistingRecordReplication,
11
11
  shouldReplaceLocalWithRemoteRecord,
12
12
  shouldReplicateLocalRecord
13
- } from "./chunk-2IJAKBK2.js";
13
+ } from "./chunk-E5WZMGFH.js";
14
14
  import {
15
15
  fetchFromClientDb,
16
16
  fetchFromServer,
@@ -8,12 +8,12 @@ import {
8
8
  patch,
9
9
  remove,
10
10
  write
11
- } from "./chunk-LAXMH7JY.js";
11
+ } from "./chunk-DFPTW7QE.js";
12
12
  import {
13
13
  asyncThunkCreator,
14
14
  buildCreateSlice,
15
15
  getRuntimeServerContext
16
- } from "./chunk-2IJAKBK2.js";
16
+ } from "./chunk-E5WZMGFH.js";
17
17
  import {
18
18
  createAgentKey,
19
19
  toTrimmedString
@@ -583,7 +583,7 @@ var slice = createSliceWithThunks({
583
583
  const overrides = {};
584
584
  if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
585
585
  if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
586
- const { _executeModel } = await import("./_executeModel-5ARVVUIK.js");
586
+ const { _executeModel } = await import("./_executeModel-MYLWE5K2.js");
587
587
  return _executeModel(
588
588
  {
589
589
  isStreaming: args.isStreaming ?? false,
@@ -604,7 +604,7 @@ var slice = createSliceWithThunks({
604
604
  * - 循环直到无工具调用或触发其他运行时停止条件
605
605
  */
606
606
  runAgent: create.asyncThunk(async (args, thunkApi) => {
607
- const { runAgentClientLoop } = await import("./runAgentClientLoop-6OGPS6SI.js");
607
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-UQ23LEWR.js");
608
608
  const { content: loopContent, toolCallCount } = await runAgentClientLoop(
609
609
  {
610
610
  agentKey: args.agentKey,
@@ -620,7 +620,7 @@ var slice = createSliceWithThunks({
620
620
  * 聊天轮次流式 Agent 调用
621
621
  */
622
622
  streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
623
- const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-TIGCZUNZ.js");
623
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-TZQZFDJQ.js");
624
624
  return streamAgentChatTurnHandler(args, thunkApi);
625
625
  }),
626
626
  /**