nolo-cli 0.78.0-alpha.1 → 0.78.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 (150) hide show
  1. package/README.md +2 -2
  2. package/{_executeModel-T3FPYFVF.js → _executeModel-W26HVI75.js} +46 -46
  3. package/{action-D22U6CTH.js → action-6DXQGJMX.js} +11 -11
  4. package/{addContentAction-XAPUTGL4.js → addContentAction-I7VX5SAC.js} +9 -9
  5. package/{addDialogAgentAction-M7VLLBZM.js → addDialogAgentAction-OJSFV7DZ.js} +8 -8
  6. package/{agentDeleteCommand-2TYFURBN.js → agentDeleteCommand-XNFWCKBH.js} +30 -28
  7. package/{agentEmailCommands-7P35ZMUA.js → agentEmailCommands-XYOZGQ6F.js} +61 -59
  8. package/{agentGrantCommands-R3VQEZJR.js → agentGrantCommands-YW6PQAQ2.js} +2 -2
  9. package/{agentListCommands-IFUOWXP3.js → agentListCommands-DFWFU6XO.js} +38 -30
  10. package/{agentMachineCommands-G46ZZ2ZQ.js → agentMachineCommands-2EANXBQS.js} +30 -28
  11. package/{agentProviderCommands-65ZC2WB4.js → agentProviderCommands-ZBYHGTGY.js} +87 -0
  12. package/{agentPullCommand-N7L2CT7L.js → agentPullCommand-GLOOXJ2E.js} +3 -3
  13. package/{agentRecordCommands-R74LTQEQ.js → agentRecordCommands-DRY5LE4F.js} +58 -56
  14. package/{agentRunCommand-IRSZYCEU.js → agentRunCommand-YONMYI4X.js} +59 -57
  15. package/{agentRuntimeLocal-PUZINLWJ.js → agentRuntimeLocal-2JFG4HDU.js} +28 -26
  16. package/{agentSlice-EACXUOWW.js → agentSlice-ZNLGFUB5.js} +10 -10
  17. package/{appDeleteCommands-U4NTEJYQ.js → appDeleteCommands-2UN4N2NR.js} +30 -28
  18. package/{appDeployCommands-FXF45Q7F.js → appDeployCommands-37D74KRR.js} +30 -28
  19. package/{appDeployStatusCommands-KONVRM53.js → appDeployStatusCommands-QBLWL2IA.js} +30 -28
  20. package/{appGetCommands-3VOGIZ7T.js → appGetCommands-6KXIDF2T.js} +30 -28
  21. package/{appListCommands-A6ROBW7P.js → appListCommands-G2WFGEWQ.js} +30 -28
  22. package/{authCommand-EVGFLAHO.js → authCommand-V2DJ7DB7.js} +164 -24
  23. package/{authCommands-ILTBI6JV.js → authCommands-RGOGCPP6.js} +4 -5
  24. package/builtinSkillRegistry-WBGYKIAZ.js +33 -0
  25. package/{chatQueueReduxAdapter-XEIJO5WR.js → chatQueueReduxAdapter-XCJHIY3R.js} +24 -24
  26. package/chunk-2ADBVBEM.js +1625 -0
  27. package/{chunk-FPTQQSS6.js → chunk-2AYMFHUG.js} +26 -5
  28. package/{chunk-EXMHJN7C.js → chunk-2F4VYGFW.js} +2 -2
  29. package/{chunk-C3FZR5EC.js → chunk-2F7RJC6L.js} +1 -1
  30. package/{chunk-MGU5ADIQ.js → chunk-36ZJDN6A.js} +10 -10
  31. package/{chunk-HQUORJTM.js → chunk-3BMYXEUW.js} +1 -1
  32. package/{chunk-PZM3EENV.js → chunk-3CR2LC6X.js} +1 -1
  33. package/{chunk-DWPNOYMB.js → chunk-3R5PH4IP.js} +1 -1
  34. package/{chunk-ZY4K4CZR.js → chunk-4BYPU626.js} +909 -304
  35. package/{chunk-ZZCJUXUI.js → chunk-4DRWWIOL.js} +2 -2
  36. package/{chunk-H7UKKEIS.js → chunk-576IMUGH.js} +1 -1
  37. package/{chunk-QRBAZ5PW.js → chunk-5DFFKASO.js} +3 -3
  38. package/{chunk-5XTOKQLW.js → chunk-5UTFL4QJ.js} +6 -2
  39. package/{chunk-CDVGNZDA.js → chunk-5V4NJHRM.js} +11 -173
  40. package/chunk-5ZUL4CUO.js +10 -0
  41. package/{chunk-BJCWNHVU.js → chunk-6BEA566T.js} +2 -2
  42. package/{chunk-E6RGHPDR.js → chunk-6D6VBVEW.js} +4 -6
  43. package/{chunk-XEEHSS64.js → chunk-74UCTXK3.js} +1199 -51
  44. package/{chunk-U6LKJRJB.js → chunk-7MYYE7WX.js} +42 -26
  45. package/{chunk-BYEJ7K2Z.js → chunk-7S4YWN7P.js} +1 -1
  46. package/{chunk-AFIWC5NH.js → chunk-A2C4AKKM.js} +1 -1
  47. package/{chunk-SREASRV5.js → chunk-ABQYVJBJ.js} +1 -1
  48. package/{chunk-AJHEFRGJ.js → chunk-ASGDO77C.js} +122 -1
  49. package/{chunk-2KDR4CWE.js → chunk-BYMV6QZG.js} +24 -1
  50. package/{chunk-MYU3MJCF.js → chunk-CLI4LFSM.js} +175 -7
  51. package/{chunk-PYXL2CJL.js → chunk-DNQPPRHY.js} +1 -1
  52. package/{chunk-3QPYFHAH.js → chunk-DPQ2WVBY.js} +1 -1
  53. package/{chunk-733J6D44.js → chunk-EXTJ4GXV.js} +6 -6
  54. package/{chunk-DSRXPQWA.js → chunk-F2CGG72C.js} +43 -43
  55. package/{chunk-P7FA2HMM.js → chunk-FQYMLZ6C.js} +13 -15
  56. package/{chunk-BJIRLHJR.js → chunk-GII32WZW.js} +1 -0
  57. package/{chunk-FSFQ3A7S.js → chunk-GRYGRGPS.js} +10 -10
  58. package/{chunk-D74EWXL4.js → chunk-HMEMJ7GH.js} +386 -46
  59. package/{chunk-OZX2IPKM.js → chunk-HQCSU3DI.js} +1 -1
  60. package/{chunk-3JQ2NRYU.js → chunk-HVURBGF3.js} +4 -4
  61. package/{chunk-ALGK6TIE.js → chunk-HYZHJ5GW.js} +3 -3
  62. package/{chunk-Q6FF2MCK.js → chunk-IIKPWSPX.js} +1 -1
  63. package/{chunk-X7Z7U4Z6.js → chunk-JBBZ5KUM.js} +15 -15
  64. package/{chunk-KC5FAHVS.js → chunk-JEDZAO7L.js} +1 -1
  65. package/{chunk-6XIE5ZGI.js → chunk-JPGCXHNM.js} +1 -1
  66. package/{chunk-4EJ5QYB5.js → chunk-JTK3TJYV.js} +1 -1
  67. package/{chunk-CMH2SYHX.js → chunk-K7M3MWCE.js} +2 -2
  68. package/{chunk-5J7W2VWW.js → chunk-L2ICPOAL.js} +6 -265
  69. package/{chunk-RXX4GDIH.js → chunk-LS2ZANRJ.js} +1 -1
  70. package/{chunk-EVBFYPDC.js → chunk-MC4XLIJ7.js} +6 -2
  71. package/{chunk-PGSKWZCB.js → chunk-MJHQ3NRV.js} +1 -1
  72. package/{chunk-ZLPA7K55.js → chunk-N3OAPEZE.js} +29 -10
  73. package/{chunk-K7AG465Q.js → chunk-ND2J3NRB.js} +4 -2
  74. package/{chunk-XWNRAIUL.js → chunk-PH5J5VUY.js} +6 -16
  75. package/{chunk-AETZ7AD6.js → chunk-Q554LLSI.js} +1 -1
  76. package/chunk-Q5FJJ6XI.js +103 -0
  77. package/{chunk-JYYZCK2Z.js → chunk-QFMFJZLO.js} +1 -1
  78. package/{chunk-KIS76A2P.js → chunk-QHETQ3KI.js} +38 -4
  79. package/{chunk-UZ6XXCVR.js → chunk-RZANZZL2.js} +15 -2
  80. package/{chunk-SPAQ4PVV.js → chunk-SAFZABH7.js} +1 -1
  81. package/{chunk-QC5LGHYP.js → chunk-SMZSWB44.js} +10 -5
  82. package/chunk-TL6L5XUT.js +266 -0
  83. package/{chunk-QUH3XHL5.js → chunk-TVNI5FLG.js} +7 -7
  84. package/{chunk-YFADVSZE.js → chunk-UA5S3LQQ.js} +6 -6
  85. package/{chunk-G3NT6BM3.js → chunk-UMGHLCDZ.js} +141 -58
  86. package/{chunk-QA6YKM3H.js → chunk-UTCCPWB2.js} +32 -4
  87. package/{chunk-E36HZARC.js → chunk-VHJLQHPQ.js} +3 -3
  88. package/{chunk-NHRQCXIQ.js → chunk-VMFTFOWF.js} +13 -3
  89. package/{chunk-UJ63UXGE.js → chunk-VRLI2WNW.js} +1073 -752
  90. package/{chunk-NG4UT4K4.js → chunk-WS22FPWT.js} +1 -1
  91. package/{chunk-MEVSATIF.js → chunk-WXPVOQD7.js} +66 -792
  92. package/{chunk-AFIKMMGC.js → chunk-XKQJJK4F.js} +1 -1
  93. package/{chunk-SZLVDREM.js → chunk-XMGHGEN6.js} +3 -3
  94. package/{chunk-L2Y24GRM.js → chunk-XTUY5EL4.js} +16 -12
  95. package/{chunk-V3ZKNK5D.js → chunk-YOXYA2GU.js} +10 -10
  96. package/{chunk-GBPZKFYK.js → chunk-Z33ARZCP.js} +4 -4
  97. package/chunk-ZAB3A45K.js +677 -0
  98. package/{chunk-UDQWGU7F.js → chunk-ZBT3WNBK.js} +1 -1
  99. package/{contentThunks-3SPROFG5.js → contentThunks-VURN3DFW.js} +25 -25
  100. package/{createAgentAutomationAction-EIP2EG3O.js → createAgentAutomationAction-QZAAY77R.js} +25 -25
  101. package/{createDialogAction-RLUSTN4D.js → createDialogAction-CHGXVTAC.js} +28 -28
  102. package/{createPageAction-4Y52G7WG.js → createPageAction-IOGAFIN7.js} +26 -26
  103. package/{dbSlice-GKGGFNOB.js → dbSlice-YXQ6RYIH.js} +8 -8
  104. package/{deleteFile-LWSR674W.js → deleteFile-YG6QMJLU.js} +3 -3
  105. package/{dialogCommands-G223U5WU.js → dialogCommands-XREAP6WQ.js} +32 -30
  106. package/{dialogSlice-THY45JWM.js → dialogSlice-DOPGWGS4.js} +24 -24
  107. package/{docCreateCommands-2P47IJDK.js → docCreateCommands-3PYZGSCL.js} +31 -29
  108. package/{docDeleteCommands-N3EGDOIC.js → docDeleteCommands-3Y6MU44Q.js} +32 -30
  109. package/{docReadCommands-6BFV2HI7.js → docReadCommands-UBANMAFR.js} +31 -29
  110. package/{docStore-ZQ3ECOPY.js → docStore-SYYFBENY.js} +9 -9
  111. package/{docUpdateCommands-ZTMPXHC5.js → docUpdateCommands-4GK2X6BN.js} +31 -29
  112. package/{fetchMessages-DRABNDPZ.js → fetchMessages-EIU7UFFK.js} +3 -4
  113. package/{getPricing-HRMSOF3E.js → getPricing-F2C65RIX.js} +4 -4
  114. package/{handleSendMessageAction-CE4M5XIE.js → handleSendMessageAction-NPVTY2GE.js} +24 -24
  115. package/index.js +83 -75
  116. package/{localDialogRead-PUQKFI73.js → localDialogRead-BTFJ4V2I.js} +2 -2
  117. package/{localRuntimeDb-P37ZTX55.js → localRuntimeDb-SYQGUF4U.js} +1 -1
  118. package/{machineCommands-4OT7KVCD.js → machineCommands-LES3MCTZ.js} +58 -56
  119. package/{machineWsRunDispatch-TR3EYESP.js → machineWsRunDispatch-FZLFAUUP.js} +56 -54
  120. package/{memberThunks-KATHH3F4.js → memberThunks-5T4J6KXQ.js} +9 -9
  121. package/{models-GS72DVJS.js → models-WW7VFNXB.js} +2 -2
  122. package/{offlineMarxistsAgentCommand-GEH6SNNA.js → offlineMarxistsAgentCommand-JEWCIAWM.js} +1 -1
  123. package/package.json +1 -1
  124. package/providerPresetApply-OCWWKBSD.js +214 -0
  125. package/providerRegistry-ZJQU7AJ7.js +31 -0
  126. package/{read-LC6HVYBN.js → read-M2Q6WEKB.js} +5 -4
  127. package/{readDocTool-N3ERJHHF.js → readDocTool-T37P3YPB.js} +1 -1
  128. package/{readlineWorkspace-GSL5CYNJ.js → readlineWorkspace-OZBKHD4T.js} +195 -110
  129. package/{removeDialogAgentAction-F5GPTALR.js → removeDialogAgentAction-HB3JBVAI.js} +11 -11
  130. package/{runAgentClientLoop-NE5EHXSS.js → runAgentClientLoop-3NDADLVE.js} +45 -45
  131. package/{runtimeDoctorCommands-CROTMULY.js → runtimeDoctorCommands-X6WDBEQX.js} +2 -2
  132. package/{setDialogExtraReferencesAction-AY4ZCF3A.js → setDialogExtraReferencesAction-4XLHRV37.js} +9 -9
  133. package/{setPrimaryDialogAgentAction-HPMG7V3R.js → setPrimaryDialogAgentAction-C3JOFC4W.js} +11 -11
  134. package/{settingSlice-OEJA4NQO.js → settingSlice-CZRURSTH.js} +10 -10
  135. package/{spaceCommands-MRP5U3C3.js → spaceCommands-ENYCUUZH.js} +29 -27
  136. package/{streamAgentChatTurn-A6L6O22P.js → streamAgentChatTurn-634OFUSR.js} +57 -56
  137. package/{switchDialogAgentAction-HMDZTZ4I.js → switchDialogAgentAction-C6KVUKJP.js} +8 -8
  138. package/{tableCommands-SUNTHAYX.js → tableCommands-O6NWHFKV.js} +1 -1
  139. package/{toolApiClient-VGYUB4P5.js → toolApiClient-7PSIFQPJ.js} +2 -2
  140. package/{tools-JS475NYO.js → tools-ILBLCF7D.js} +41 -39
  141. package/tuiSummaryLlmCaller-LFUBZKXK.js +127 -0
  142. package/{updateCommands-Y363MC3L.js → updateCommands-2M74UL7P.js} +2 -2
  143. package/{updateDialogTitleAction-GMZUT6RP.js → updateDialogTitleAction-RKFET73N.js} +45 -28
  144. package/chunk-3IT2PFHL.js +0 -611
  145. package/chunk-I42VC5KR.js +0 -15
  146. package/codingSkills-E6KSDNSJ.js +0 -48
  147. package/tuiSummaryLlmCaller-3Z24VUWM.js +0 -116
  148. package/{chunk-3RAG2NAD.js → chunk-UKWGR5SS.js} +3 -3
  149. package/{db-VQSAOWAO.js → db-WK5MDZVN.js} +1 -1
  150. package/{localRuntimeAuthority-R5UBODT3.js → localRuntimeAuthority-6IR6BBXE.js} +3 -3
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearCliLocalRuntimePreparedAgentCache
3
- } from "./chunk-G3NT6BM3.js";
3
+ } from "./chunk-UMGHLCDZ.js";
4
4
  import {
5
5
  getReadableCliDb
6
- } from "./chunk-RXX4GDIH.js";
6
+ } from "./chunk-LS2ZANRJ.js";
7
7
  import {
8
8
  buildCreatedAgentRecord,
9
9
  buildUpdatedAgentRecord,
@@ -12,10 +12,10 @@ import {
12
12
  resolveAgentRecordFromHybridStore,
13
13
  sanitizeAgentRecordForCliOutput,
14
14
  writeAgentRecord
15
- } from "./chunk-QA6YKM3H.js";
15
+ } from "./chunk-UTCCPWB2.js";
16
16
  import {
17
17
  resolveCliAgentKeyInput
18
- } from "./chunk-SPAQ4PVV.js";
18
+ } from "./chunk-SAFZABH7.js";
19
19
  import {
20
20
  toErrorMessage
21
21
  } from "./chunk-HNMXYYJR.js";
@@ -167,7 +167,7 @@ async function runAgentCreateCommand(args, deps = {}) {
167
167
  }
168
168
  if (!parsed) {
169
169
  output.write(
170
- "Usage: nolo agent create <agent> [--model <id>] [--cli-provider <provider>] [--api-source <source>] [--max-concurrent <n>] [--expires-at <iso>] [--prompt <text> | --prompt-file <path> | --prompt-doc <pageKey>] [--tools <json>] [--copy-provider-from <agent>] [--name <name>] [--custom-provider-url <url>] [--api-key <key>|--provider-api-key <key>] [--verify] [--field key=value]\n".replace("[--field key=value]", "[--handle <name>] [--field key=value]")
170
+ "Usage: nolo agent create <agent> [--preset <id>] [--model <id>] [--cli-provider <provider>] [--api-source <source>] [--max-concurrent <n>] [--expires-at <iso>] [--prompt <text> | --prompt-file <path> | --prompt-doc <pageKey>] [--tools <json>] [--copy-provider-from <agent>] [--name <name>] [--custom-provider-url <url>] [--api-key <key>|--provider-api-key <key>] [--verify] [--field key=value]\n" + " --preset <id> resolves a `nolo agent providers` preset (e.g. step-plan) into provider/baseUrl/model; explicit flags override it.\n".replace("[--field key=value]", "[--handle <name>] [--field key=value]")
171
171
  );
172
172
  return args[0] ? 0 : 1;
173
173
  }
@@ -212,7 +212,7 @@ async function runAgentCreateCommand(args, deps = {}) {
212
212
  clearCliLocalRuntimePreparedAgentCache();
213
213
  let verifyResult;
214
214
  if (parsed.verify) {
215
- const { verifyCustomProvider } = await import("./agentProviderCommands-65ZC2WB4.js");
215
+ const { verifyCustomProvider } = await import("./agentProviderCommands-ZBYHGTGY.js");
216
216
  const rec = built.nextRecord;
217
217
  verifyResult = await verifyCustomProvider({
218
218
  providerUrl: rec.customProviderUrl,
@@ -1,25 +1,61 @@
1
1
  import {
2
2
  normalizeTimingMs
3
- } from "./chunk-E36HZARC.js";
3
+ } from "./chunk-VHJLQHPQ.js";
4
4
  import {
5
5
  MODEL_LOOKUP_MAP
6
- } from "./chunk-UJ63UXGE.js";
6
+ } from "./chunk-VRLI2WNW.js";
7
7
  import {
8
8
  ALL_MODELS
9
- } from "./chunk-NG4UT4K4.js";
9
+ } from "./chunk-WS22FPWT.js";
10
+ import {
11
+ asTrimmedNonEmptyStringArray
12
+ } from "./chunk-VMFTFOWF.js";
10
13
  import {
11
14
  asOptionalFiniteNumber
12
15
  } from "./chunk-WWC7I6TA.js";
13
- import {
14
- asTrimmedNonEmptyStringArray
15
- } from "./chunk-I42VC5KR.js";
16
16
  import {
17
17
  BUILTIN_NOLO_AGENT_KEY
18
- } from "./chunk-5J7W2VWW.js";
18
+ } from "./chunk-TL6L5XUT.js";
19
19
  import {
20
20
  asOptionalTrimmedString
21
21
  } from "./chunk-G3SUCT4W.js";
22
22
 
23
+ // packages/ai/token/cacheTokenFields.ts
24
+ var finiteTokenCount = (value) => {
25
+ if (typeof value !== "number" || !Number.isFinite(value)) return void 0;
26
+ return Math.max(0, Math.floor(value));
27
+ };
28
+ var readNested = (value, path) => {
29
+ let cursor = value;
30
+ for (const key of path) {
31
+ if (!cursor || typeof cursor !== "object") return void 0;
32
+ cursor = cursor[key];
33
+ }
34
+ return finiteTokenCount(cursor);
35
+ };
36
+ var firstPositive = (usage, readers) => {
37
+ for (const read of readers) {
38
+ const value = read(usage);
39
+ if (value !== void 0 && value !== 0) return value;
40
+ }
41
+ return 0;
42
+ };
43
+ var topLevel = (field) => (usage) => {
44
+ if (!usage || typeof usage !== "object") return void 0;
45
+ return finiteTokenCount(usage[field]);
46
+ };
47
+ var nested = (path) => (usage) => readNested(usage, path);
48
+ var readCacheReadInputTokens = (usage) => firstPositive(usage, [
49
+ topLevel("cache_read_input_tokens"),
50
+ topLevel("prompt_cache_hit_tokens"),
51
+ nested(["input_tokens_details", "cached_tokens"]),
52
+ nested(["prompt_tokens_details", "cached_tokens"])
53
+ ]);
54
+ var readCacheCreationInputTokens = (usage) => firstPositive(usage, [
55
+ topLevel("cache_creation_input_tokens"),
56
+ topLevel("prompt_cache_miss_tokens")
57
+ ]);
58
+
23
59
  // packages/ai/llm/getModelContextWindow.ts
24
60
  var DEFAULT_CONTEXT_WINDOW = 256e3;
25
61
  var QWEN_3_6_CONTEXT_WINDOW = 262144;
@@ -157,42 +193,6 @@ var getModelInfo = (modelName) => {
157
193
  return map.get(modelName) || map.get(modelName.toLowerCase()) || null;
158
194
  };
159
195
 
160
- // packages/ai/token/cacheTokenFields.ts
161
- var finiteTokenCount = (value) => {
162
- if (typeof value !== "number" || !Number.isFinite(value)) return void 0;
163
- return Math.max(0, Math.floor(value));
164
- };
165
- var readNested = (value, path) => {
166
- let cursor = value;
167
- for (const key of path) {
168
- if (!cursor || typeof cursor !== "object") return void 0;
169
- cursor = cursor[key];
170
- }
171
- return finiteTokenCount(cursor);
172
- };
173
- var firstPositive = (usage, readers) => {
174
- for (const read of readers) {
175
- const value = read(usage);
176
- if (value !== void 0 && value !== 0) return value;
177
- }
178
- return 0;
179
- };
180
- var topLevel = (field) => (usage) => {
181
- if (!usage || typeof usage !== "object") return void 0;
182
- return finiteTokenCount(usage[field]);
183
- };
184
- var nested = (path) => (usage) => readNested(usage, path);
185
- var readCacheReadInputTokens = (usage) => firstPositive(usage, [
186
- topLevel("cache_read_input_tokens"),
187
- topLevel("prompt_cache_hit_tokens"),
188
- nested(["input_tokens_details", "cached_tokens"]),
189
- nested(["prompt_tokens_details", "cached_tokens"])
190
- ]);
191
- var readCacheCreationInputTokens = (usage) => firstPositive(usage, [
192
- topLevel("cache_creation_input_tokens"),
193
- topLevel("prompt_cache_miss_tokens")
194
- ]);
195
-
196
196
  // packages/ai/token/normalizeUsage.ts
197
197
  var normalizeStringArray = (value) => {
198
198
  if (!Array.isArray(value)) return void 0;
@@ -9,7 +9,7 @@ import {
9
9
  initReactI18next,
10
10
  instance,
11
11
  toast
12
- } from "./chunk-D74EWXL4.js";
12
+ } from "./chunk-HMEMJ7GH.js";
13
13
  import {
14
14
  require_date_fns
15
15
  } from "./chunk-M76ECQRD.js";
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-YDH3FDFQ.js";
19
19
  import {
20
20
  isSystemAdmin
21
- } from "./chunk-XWNRAIUL.js";
21
+ } from "./chunk-RZANZZL2.js";
22
22
  import {
23
23
  asRecordOrEmpty
24
24
  } from "./chunk-KX6YBIHG.js";
@@ -27,7 +27,7 @@ import {
27
27
  addContentAction,
28
28
  checkSpaceMembership,
29
29
  localSpaceAuthorityPatchStamp
30
- } from "./chunk-ZZCJUXUI.js";
30
+ } from "./chunk-4DRWWIOL.js";
31
31
  import {
32
32
  createSpaceKey,
33
33
  normalizeSpaceId
@@ -41,9 +41,10 @@ import {
41
41
  uploadFileAction,
42
42
  upsertSSREntity,
43
43
  write
44
- } from "./chunk-YFADVSZE.js";
44
+ } from "./chunk-UA5S3LQQ.js";
45
45
  import {
46
46
  SEPARATOR,
47
+ asTrimmedNonEmptyStringArray,
47
48
  createKey,
48
49
  fileKey,
49
50
  isAgentKey,
@@ -52,16 +53,13 @@ import {
52
53
  rowKey,
53
54
  splitKey,
54
55
  ulid
55
- } from "./chunk-NHRQCXIQ.js";
56
+ } from "./chunk-VMFTFOWF.js";
56
57
  import {
57
58
  asOptionalFiniteNumber
58
59
  } from "./chunk-WWC7I6TA.js";
59
- import {
60
- asTrimmedNonEmptyStringArray
61
- } from "./chunk-I42VC5KR.js";
62
60
  import {
63
61
  extractUserId
64
- } from "./chunk-BJIRLHJR.js";
62
+ } from "./chunk-GII32WZW.js";
65
63
  import {
66
64
  DEVICE_LOCAL_OWNER_ID,
67
65
  createAsyncThunk,
@@ -70,7 +68,7 @@ import {
70
68
  resolveReplicationServers,
71
69
  scheduleDeleteReplication,
72
70
  scheduleWriteReplication
73
- } from "./chunk-3RAG2NAD.js";
71
+ } from "./chunk-UKWGR5SS.js";
74
72
  import {
75
73
  createClientLogger,
76
74
  isAbortError
@@ -81,15 +79,15 @@ import {
81
79
  import {
82
80
  buildTombstoneRecord
83
81
  } from "./chunk-GBRG75BQ.js";
82
+ import {
83
+ isRecord
84
+ } from "./chunk-KUG52IAP.js";
84
85
  import {
85
86
  asTrimmedString
86
87
  } from "./chunk-3EUW3WEO.js";
87
88
  import {
88
89
  asOptionalPositiveFiniteNumber
89
90
  } from "./chunk-U6VC4MU4.js";
90
- import {
91
- isRecord
92
- } from "./chunk-KUG52IAP.js";
93
91
  import {
94
92
  asOptionalTrimmedString
95
93
  } from "./chunk-G3SUCT4W.js";
@@ -1455,11 +1453,11 @@ var ENTITY_DELETE_STRATEGIES = {
1455
1453
  await dispatch(deleteTable({ dbKey: key })).unwrap();
1456
1454
  },
1457
1455
  file: async (key, { thunkAPI }) => {
1458
- const { deleteFileAction } = await import("./deleteFile-LWSR674W.js");
1456
+ const { deleteFileAction } = await import("./deleteFile-YG6QMJLU.js");
1459
1457
  await deleteFileAction(key, thunkAPI);
1460
1458
  },
1461
1459
  image: async (key, { thunkAPI }) => {
1462
- const { deleteFileAction } = await import("./deleteFile-LWSR674W.js");
1460
+ const { deleteFileAction } = await import("./deleteFile-YG6QMJLU.js");
1463
1461
  await deleteFileAction(key, thunkAPI);
1464
1462
  },
1465
1463
  agent: async (key, { dispatch, userId, sourceServerOrigin }) => {
@@ -37,6 +37,7 @@ export {
37
37
  PUBLIC_AGENT_KEY_PREFIX,
38
38
  publicAgentKey,
39
39
  parsePublicAgentId,
40
+ ownedAgentKeyPrefix,
40
41
  ownedAgentKey,
41
42
  isOwnedAgentKey,
42
43
  parseOwnedAgentId
@@ -7,10 +7,10 @@ import {
7
7
  listUserRecordsFromServers,
8
8
  readDbRecordFromServers,
9
9
  readLiveDbRecordAfterTombstoneMerge
10
- } from "./chunk-AFIWC5NH.js";
10
+ } from "./chunk-A2C4AKKM.js";
11
11
  import {
12
12
  fetchWithTransientRetry
13
- } from "./chunk-5XTOKQLW.js";
13
+ } from "./chunk-5UTFL4QJ.js";
14
14
  import {
15
15
  DRAIN_EXHAUSTED_USER_MESSAGE,
16
16
  isDrainExhaustedResponse
@@ -18,7 +18,7 @@ import {
18
18
  import {
19
19
  buildDialogAttachmentPlan,
20
20
  extractFileContentIds
21
- } from "./chunk-HQUORJTM.js";
21
+ } from "./chunk-3BMYXEUW.js";
22
22
  import {
23
23
  isLevelLockError
24
24
  } from "./chunk-URMS4XY2.js";
@@ -30,7 +30,7 @@ import {
30
30
  boundSummaryText,
31
31
  buildDialogReadEnvelope,
32
32
  projectDialogReadForAgent
33
- } from "./chunk-V3ZKNK5D.js";
33
+ } from "./chunk-YOXYA2GU.js";
34
34
  import {
35
35
  toErrorMessage
36
36
  } from "./chunk-HNMXYYJR.js";
@@ -51,19 +51,19 @@ import {
51
51
  import {
52
52
  asNonEmptyStringArray,
53
53
  asTrimmedNonEmptyStringArray
54
- } from "./chunk-I42VC5KR.js";
54
+ } from "./chunk-VMFTFOWF.js";
55
55
  import {
56
56
  createClientLogger
57
57
  } from "./chunk-QOKAKDPE.js";
58
58
  import {
59
59
  isLevelNotFoundError
60
60
  } from "./chunk-OW765XBU.js";
61
- import {
62
- asTrimmedString
63
- } from "./chunk-3EUW3WEO.js";
64
61
  import {
65
62
  isRecord
66
63
  } from "./chunk-KUG52IAP.js";
64
+ import {
65
+ asTrimmedString
66
+ } from "./chunk-3EUW3WEO.js";
67
67
  import {
68
68
  DEFAULT_LOCAL_API_ORIGIN
69
69
  } from "./chunk-4SN6J65J.js";
@@ -724,7 +724,7 @@ function isExplicitDialogIdMismatch(meta, dialogId) {
724
724
  return meta && typeof meta === "object" && "id" in meta && meta.id != null && String(meta.id) !== dialogId;
725
725
  }
726
726
  async function readDialogFromLocalDb(dialogKey, dialogId, limit, readLocalDialog) {
727
- const reader = readLocalDialog ?? (await import("./localDialogRead-PUQKFI73.js")).readDialogFromLocalDb;
727
+ const reader = readLocalDialog ?? (await import("./localDialogRead-BTFJ4V2I.js")).readDialogFromLocalDb;
728
728
  const result = await reader({ dialogKey, dialogId, limit });
729
729
  return {
730
730
  ...result,
@@ -741,7 +741,7 @@ async function readLocalDialogAtDbPathDefault(args) {
741
741
  const [{ Level }, { safeJsonEncoding }, { fetchMessages }] = await Promise.all([
742
742
  import("./levelLazyShim-GZBKODGI.js"),
743
743
  import("./serverStoreFactory-YMXDF4NI.js"),
744
- import("./fetchMessages-DRABNDPZ.js")
744
+ import("./fetchMessages-EIU7UFFK.js")
745
745
  ]);
746
746
  const db = new Level(args.dbPath, {
747
747
  valueEncoding: safeJsonEncoding,