nolo-cli 0.224.0-alpha.1 → 0.224.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/{_executeModel-WW57SJN4.js → _executeModel-4WBUORCW.js} +13 -12
  2. package/{agentDeleteCommand-X2VWEKUA.js → agentDeleteCommand-BB6KU5AO.js} +10 -9
  3. package/{agentEmailCommands-6IE773VW.js → agentEmailCommands-KMHPL6OH.js} +11 -10
  4. package/{agentMachineCommands-EVWFKK6Q.js → agentMachineCommands-OC5D4YZW.js} +1 -1
  5. package/{agentRecordCommands-DX2WE6BH.js → agentRecordCommands-S2IVVEES.js} +11 -10
  6. package/{agentRunCommand-KGOT2AFB.js → agentRunCommand-M22Y3D5U.js} +12 -10
  7. package/{agentSlice-ACZGTZVW.js → agentSlice-AJPMMBOP.js} +1 -1
  8. package/{authCommand-4FDPL7WG.js → authCommand-VQP625QS.js} +6 -2
  9. package/{authCommands-GAJ3NIXO.js → authCommands-PAKU3CJZ.js} +5 -1
  10. package/{chunk-3N4ASIP6.js → chunk-53X6PS42.js} +2 -2
  11. package/{chunk-DVQH4BTR.js → chunk-6E2NWYT4.js} +5 -1
  12. package/chunk-BJF2MHJ3.js +118 -0
  13. package/{chunk-T3O6BLYU.js → chunk-BKJSRO66.js} +8 -8
  14. package/{chunk-MKQ2UTTX.js → chunk-EK7PGVPY.js} +6 -6
  15. package/{chunk-KAVGK4ES.js → chunk-EVYGYDPG.js} +2 -2
  16. package/{chunk-7UH3DGV6.js → chunk-H5LWB3D3.js} +6 -117
  17. package/{chunk-3ESU44FG.js → chunk-HJAGA3GR.js} +2 -2
  18. package/{chunk-65XXHYZ5.js → chunk-KPAFQHRT.js} +2 -2
  19. package/{chunk-N3J4VDGV.js → chunk-ME4XUFTD.js} +2 -2
  20. package/{chunk-XFJ4ZPFC.js → chunk-OK4MZRJ6.js} +5 -5
  21. package/{chunk-N7HVLYOY.js → chunk-PYIMOZSX.js} +2 -2
  22. package/{chunk-F3TQURKK.js → chunk-QG3USDTD.js} +1 -1
  23. package/{chunk-QWYFFHCJ.js → chunk-RXJ26SQW.js} +3 -3
  24. package/{chunk-FVZW66K4.js → chunk-S7RA7A4X.js} +8 -8
  25. package/chunk-SH3IKNCG.js +100 -0
  26. package/{chunk-VHPAA6MT.js → chunk-SJYK3LLP.js} +2 -2
  27. package/{chunk-KO63FPG3.js → chunk-ULK35M44.js} +4 -4
  28. package/{chunk-4NMHE7CX.js → chunk-WOIURUUV.js} +1 -1
  29. package/{chunk-S7SB7L2I.js → chunk-XUJZYUIM.js} +2 -2
  30. package/{chunk-O2CYENYJ.js → chunk-ZLNHUFOF.js} +19 -95
  31. package/{chunk-7WPAI5JJ.js → chunk-ZLOSGVCQ.js} +1 -1
  32. package/{commandRegistry-SDSYBKMC.js → commandRegistry-3JVE76K2.js} +25 -25
  33. package/{contentThunks-G3TRPEAU.js → contentThunks-SRKUHSBR.js} +3 -3
  34. package/{createAgentAutomationAction-KHA4MXUJ.js → createAgentAutomationAction-B4BQV46J.js} +3 -3
  35. package/{createDialogAction-KWSBNAPJ.js → createDialogAction-IONSKZIX.js} +5 -4
  36. package/{createPageAction-HXKJ7OFG.js → createPageAction-K75KBQOO.js} +4 -4
  37. package/{dialogSlice-HXPKFGRL.js → dialogSlice-GPALSBQM.js} +2 -2
  38. package/{docStore-A2B3GH33.js → docStore-O43KOHIX.js} +1 -1
  39. package/{handleSendMessageAction-NWYG3Q72.js → handleSendMessageAction-I2GHUSHZ.js} +8 -8
  40. package/{hostCredentialCreate-WS6D3EHT.js → hostCredentialCreate-V775SKCE.js} +11 -10
  41. package/index.js +3 -3
  42. package/{localRuntimeAdapter-TFYOA6YE.js → localRuntimeAdapter-SAMUDW5S.js} +10 -9
  43. package/{machineCommands-WFWV25IR.js → machineCommands-ZXZWGMFE.js} +11 -10
  44. package/{machineWsRunDispatch-ZGXC3F2R.js → machineWsRunDispatch-3ZEI4BEC.js} +11 -10
  45. package/package.json +1 -1
  46. package/{projectArchive-ULJDLUA6.js → projectArchive-V7EYBAX6.js} +4 -4
  47. package/{readlineWorkspace-LTCV2BFW.js → readlineWorkspace-S4VRNWYG.js} +17 -15
  48. package/{runAgentClientLoop-BVIEQUB3.js → runAgentClientLoop-MQLOUDF5.js} +11 -10
  49. package/{streamAgentChatTurn-DNYFHBJM.js → streamAgentChatTurn-GMNIKJVL.js} +13 -12
  50. package/{tools-JVOJ5HC4.js → tools-MWIF3S4T.js} +8 -7
  51. package/{updateDialogTitleAction-Q57BOSXG.js → updateDialogTitleAction-ZXHMZFSX.js} +3 -3
@@ -49,7 +49,7 @@ import {
49
49
  withholdIfSecretLike,
50
50
  wrapLocalCommandWorkspaceObservation,
51
51
  writeUsage
52
- } from "./chunk-KO63FPG3.js";
52
+ } from "./chunk-ULK35M44.js";
53
53
  import {
54
54
  clearCredentialAvailability,
55
55
  readEffectiveCredentialEntry
@@ -66,6 +66,11 @@ import {
66
66
  tokenizeAnsiLine,
67
67
  visibleWidth
68
68
  } from "./chunk-J6T25AJ6.js";
69
+ import {
70
+ deriveStateResident,
71
+ resolvePureVNextRuntime,
72
+ touchMemoryItemsInDb
73
+ } from "./chunk-SH3IKNCG.js";
69
74
  import {
70
75
  _appendEntityBatch,
71
76
  _appendEvidenceBatch,
@@ -108,24 +113,26 @@ import {
108
113
  } from "./chunk-BMQ2MJUK.js";
109
114
  import {
110
115
  resolveCliLocalRuntimeKeyCapability
111
- } from "./chunk-T3O6BLYU.js";
116
+ } from "./chunk-BKJSRO66.js";
112
117
  import {
113
118
  isTransientFetchError
114
119
  } from "./chunk-KFHREHUQ.js";
115
120
  import {
116
121
  parseUiCard,
117
122
  uiCardFallback
118
- } from "./chunk-3N4ASIP6.js";
123
+ } from "./chunk-53X6PS42.js";
119
124
  import {
120
125
  isGatewayHttpStatus
121
126
  } from "./chunk-NF64D32W.js";
122
127
  import {
123
128
  buildMemorySubjectsForAgent,
129
+ resolveAgentMemoryPolicy
130
+ } from "./chunk-H5LWB3D3.js";
131
+ import {
124
132
  chooseMemoryOwners,
125
133
  loadMemoryCandidatesFromDb,
126
- loadOwnerItemsFromDb,
127
- resolveAgentMemoryPolicy
128
- } from "./chunk-7UH3DGV6.js";
134
+ loadOwnerItemsFromDb
135
+ } from "./chunk-BJF2MHJ3.js";
129
136
  import {
130
137
  API_REPORTED_COST_MULTIPLIER,
131
138
  estimateMessagesTokens,
@@ -135,7 +142,7 @@ import {
135
142
  resolveAgentContextWindow,
136
143
  resolveOccupancy,
137
144
  resolveOccupancyWindow
138
- } from "./chunk-FVZW66K4.js";
145
+ } from "./chunk-S7RA7A4X.js";
139
146
  import {
140
147
  isCliAuthorityBrokerProtocolError,
141
148
  isCliAuthorityBrokerTimeoutError,
@@ -209,9 +216,6 @@ import {
209
216
  import {
210
217
  parsePublicAgentId
211
218
  } from "./chunk-M2EJHDJP.js";
212
- import {
213
- createMemoryKey
214
- } from "./chunk-SYTHYBMI.js";
215
219
  import {
216
220
  ulid
217
221
  } from "./chunk-OJKUU3LP.js";
@@ -13545,22 +13549,6 @@ function imageMimeTypeForPath(path2) {
13545
13549
  }
13546
13550
  }
13547
13551
 
13548
- // packages/ai/memory/storeShared.ts
13549
- var retrievalCountOf = (item) => item.activationCount ?? 0;
13550
- var touchMemoryItemsInDb = async (db, items, now = (/* @__PURE__ */ new Date()).toISOString()) => {
13551
- if (items.length === 0) return;
13552
- const batch = db.batch();
13553
- for (const item of items) {
13554
- batch.put(createMemoryKey(item.ownerType, item.ownerId, item.id), {
13555
- ...item,
13556
- // retrieval bookkeeping on legacy storage names — see doc comment above
13557
- lastActivatedAt: now,
13558
- activationCount: retrievalCountOf(item) + 1
13559
- });
13560
- }
13561
- await batch.write();
13562
- };
13563
-
13564
13552
  // packages/ai/memory/vnext/detachedThrottle.ts
13565
13553
  var DEFAULT_DETACHED_MEMORY_COOLDOWN_MS = 10 * 60 * 1e3;
13566
13554
  var MAX_COOLDOWN_KEYS = 512;
@@ -14725,75 +14713,10 @@ var isMemoryVNextLazyPromotionEnabled = (env = typeof process !== "undefined" ?
14725
14713
  // packages/ai/memory/vnext/pureReadGate.ts
14726
14714
  var isMemoryVNextPureReadEnabled = (env = typeof process !== "undefined" ? process.env : {}) => env.NOLO_MEMORY_VNEXT_PURE_READ === "1" || env.NOLO_MEMORY_VNEXT_PURE_READ === "true";
14727
14715
 
14728
- // packages/ai/memory/remember.ts
14729
- var RESIDENT_MAX_CONTENT_CHARS = 240;
14730
-
14731
- // packages/ai/memory/vnext/pureVNextRuntime.ts
14732
- function deriveStateResident(state2, ownerType) {
14733
- if (ownerType !== "user") return false;
14734
- if (state2.text.trim().length > RESIDENT_MAX_CONTENT_CHARS) return false;
14735
- return state2.facet === "preference" || state2.facet === "style";
14736
- }
14737
- var buildSynthesizedStateItem = (state2, entity, ownerType, ownerId) => ({
14738
- id: `vnext-state-${state2.id}`,
14739
- ownerType,
14740
- ownerId,
14741
- visibility: "private",
14742
- subjectType: "user",
14743
- subjectId: ownerId,
14744
- kind: "semantic",
14745
- content: state2.text.trim(),
14746
- createdAt: state2.createdAt,
14747
- lastActivatedAt: state2.createdAt,
14748
- activationCount: 1,
14749
- importance: 0.9,
14750
- confidence: 0.9,
14751
- resident: deriveStateResident(state2, ownerType)
14752
- });
14753
- async function resolvePureVNextRuntime(input) {
14754
- const { db, owners, userInput } = input;
14755
- if (owners.length === 0 || !userInput.trim()) {
14756
- return { selectedItems: [], promptBlock: null, recalledStateCount: 0 };
14757
- }
14758
- const ownerIds = owners.map((o) => `${o.ownerType}:${encodeURIComponent(o.ownerId)}`);
14759
- const catalogs = await Promise.all(
14760
- ownerIds.map((ownerId) => loadMemoryVNextCatalog(db, ownerId))
14761
- );
14762
- const selectedItems = [];
14763
- const seenStateKeys = /* @__PURE__ */ new Set();
14764
- for (let i = 0; i < owners.length; i++) {
14765
- const owner = owners[i];
14766
- const catalog = catalogs[i];
14767
- const currentStates = catalog.states.filter((s) => !s.retiredAt && s.text.trim());
14768
- const hits = recallMemoryVNextLocal({
14769
- query: userInput,
14770
- entities: catalog.entities,
14771
- states: currentStates
14772
- });
14773
- const entityById = new Map(catalog.entities.map((e) => [e.id, e]));
14774
- for (const hit of hits) {
14775
- const stateKey = `${hit.state.ownerId}\0${hit.state.id}`;
14776
- if (seenStateKeys.has(stateKey)) continue;
14777
- seenStateKeys.add(stateKey);
14778
- selectedItems.push(
14779
- buildSynthesizedStateItem(hit.state, entityById.get(hit.state.entityId), owner.ownerType, owner.ownerId)
14780
- );
14781
- }
14782
- }
14783
- const promptBlock = selectedItems.length === 0 ? null : buildMemoryOverlay(selectedItems, {
14784
- maxTokens: input.maxTokens ?? DEFAULT_MEMORY_OVERLAY_TOKEN_BUDGET
14785
- });
14786
- return {
14787
- selectedItems,
14788
- promptBlock,
14789
- recalledStateCount: selectedItems.length
14790
- };
14791
- }
14792
-
14793
14716
  // packages/ai/memory/vnext/primaryRead.ts
14794
14717
  var MEMORY_VNEXT_PRIMARY_READ_TIMEOUT_MS = 300;
14795
14718
  var isMemoryVNextPrimaryReadEnabled = (env = typeof process !== "undefined" ? process.env : {}) => env.NOLO_MEMORY_VNEXT_PRIMARY_READ === "1" || env.NOLO_MEMORY_VNEXT_PRIMARY_READ === "true";
14796
- var buildSynthesizedStateItem2 = (state2, entity, ownerType, ownerId) => ({
14719
+ var buildSynthesizedStateItem = (state2, entity, ownerType, ownerId) => ({
14797
14720
  id: `vnext-state-${state2.id}`,
14798
14721
  ownerType,
14799
14722
  ownerId,
@@ -14805,8 +14728,9 @@ var buildSynthesizedStateItem2 = (state2, entity, ownerType, ownerId) => ({
14805
14728
  createdAt: state2.createdAt,
14806
14729
  importance: 0.9,
14807
14730
  confidence: 0.9,
14808
- // Flag resident preferences so they flow into overlay's resident section.
14809
- resident: state2.facet === "preference" || state2.facet === "style",
14731
+ // 与 pureVNextRuntime / queryMemoryHandler 共用同一判定,避免四条合成路径分裂
14732
+ // (2026-11-15:这里原先各自写 facet,漏了 ownerType/长度约束)。
14733
+ resident: deriveStateResident(state2, ownerType),
14810
14734
  lastActivatedAt: state2.createdAt,
14811
14735
  activationCount: 1
14812
14736
  });
@@ -14838,7 +14762,7 @@ var resolveMemoryVNextM4Selection = async (input) => {
14838
14762
  if (recalledStateIds.has(hit.state.id)) continue;
14839
14763
  recalledStateIds.add(hit.state.id);
14840
14764
  recalledStates.push(
14841
- buildSynthesizedStateItem2(hit.state, entityById.get(hit.state.entityId), owner.ownerType, owner.ownerId)
14765
+ buildSynthesizedStateItem(hit.state, entityById.get(hit.state.entityId), owner.ownerType, owner.ownerId)
14842
14766
  );
14843
14767
  }
14844
14768
  }
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-YFLVRVYK.js";
7
7
  import {
8
8
  clearCliLocalRuntimePreparedAgentCache
9
- } from "./chunk-KO63FPG3.js";
9
+ } from "./chunk-ULK35M44.js";
10
10
  import {
11
11
  readCredentialAvailability
12
12
  } from "./chunk-FIYSMXHY.js";
@@ -112,7 +112,7 @@ function createDaemonShortcutCommand(path, description, command) {
112
112
  // packages/cli/agentInternalCommandEntries.ts
113
113
  function getAgentInternalCommandEntries() {
114
114
  const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args, ctx) => {
115
- const { runAgentRunCommand } = await import("./agentRunCommand-KGOT2AFB.js");
115
+ const { runAgentRunCommand } = await import("./agentRunCommand-M22Y3D5U.js");
116
116
  return runAgentRunCommand(args, {
117
117
  env: ctx.env,
118
118
  scriptDir: ctx.scriptDir,
@@ -128,7 +128,7 @@ function getAgentInternalCommandEntries() {
128
128
  return runAgentListCommand(args, deps);
129
129
  }),
130
130
  createEnvCommand(["agent", "create"], "Create a new agent", async (args, deps) => {
131
- const { runAgentCreateCommand } = await import("./agentRecordCommands-DX2WE6BH.js");
131
+ const { runAgentCreateCommand } = await import("./agentRecordCommands-S2IVVEES.js");
132
132
  return runAgentCreateCommand(args, deps);
133
133
  }),
134
134
  createEnvCommand(["agent", "models"], "List models: --preset <id> (server discovery, exit 1 on static fallback) or --url <base> --api-key <key> (OpenAI-compatible /models)", async (args, deps) => {
@@ -144,7 +144,7 @@ function getAgentInternalCommandEntries() {
144
144
  return runAgentPullCommand(args, deps);
145
145
  }),
146
146
  createEnvCommand(["agent", "read"], "Read a single agent", async (args, deps) => {
147
- const { runAgentReadCommand } = await import("./agentRecordCommands-DX2WE6BH.js");
147
+ const { runAgentReadCommand } = await import("./agentRecordCommands-S2IVVEES.js");
148
148
  return runAgentReadCommand(args, deps);
149
149
  }),
150
150
  createAgentRunCommand(["agent", "run"], "Run an agent"),
@@ -177,31 +177,31 @@ function getAgentInternalCommandEntries() {
177
177
  return runSetupOfflineMarxistsAgentCommand(args, deps);
178
178
  }),
179
179
  createEnvCommand(["agent", "update"], "Update agent fields", async (args, deps) => {
180
- const { runAgentUpdateCommand } = await import("./agentRecordCommands-DX2WE6BH.js");
180
+ const { runAgentUpdateCommand } = await import("./agentRecordCommands-S2IVVEES.js");
181
181
  return runAgentUpdateCommand(args, deps);
182
182
  }),
183
183
  createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args, deps) => {
184
- const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-6IE773VW.js");
184
+ const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-KMHPL6OH.js");
185
185
  return runAgentEmailProvisionCommand(args, deps);
186
186
  }),
187
187
  createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args, deps) => {
188
- const { runAgentEmailBindCommand } = await import("./agentEmailCommands-6IE773VW.js");
188
+ const { runAgentEmailBindCommand } = await import("./agentEmailCommands-KMHPL6OH.js");
189
189
  return runAgentEmailBindCommand(args, deps);
190
190
  }),
191
191
  createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args, deps) => {
192
- const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-6IE773VW.js");
192
+ const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-KMHPL6OH.js");
193
193
  return runAgentEmailTransferCommand(args, deps);
194
194
  }),
195
195
  createEnvCommand(
196
196
  ["agent", "email", "create-and-provision"],
197
197
  "Create an agent and provision its controlled inbox",
198
198
  async (args, deps) => {
199
- const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-6IE773VW.js");
199
+ const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-KMHPL6OH.js");
200
200
  return runAgentEmailCreateAndProvisionCommand(args, deps);
201
201
  }
202
202
  ),
203
203
  createEnvCommand(["agent", "delete"], "Hard-delete an agent's private and public records", async (args, deps) => {
204
- const { runAgentDeleteCommand } = await import("./agentDeleteCommand-X2VWEKUA.js");
204
+ const { runAgentDeleteCommand } = await import("./agentDeleteCommand-BB6KU5AO.js");
205
205
  return runAgentDeleteCommand(args, deps);
206
206
  }),
207
207
  createEnvCommand(["agent", "grant"], "Grant another user access to this agent's owner credentials", async (args, deps) => {
@@ -221,15 +221,15 @@ function getAgentInternalCommandEntries() {
221
221
  return runAgentRevokeGrantCommand(args, deps);
222
222
  }),
223
223
  createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args, deps) => {
224
- const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-EVWFKK6Q.js");
224
+ const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-OC5D4YZW.js");
225
225
  return runAgentBindCurrentCommand(args, deps);
226
226
  }),
227
227
  createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args, deps) => {
228
- const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-EVWFKK6Q.js");
228
+ const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-OC5D4YZW.js");
229
229
  return runAgentSmokeCurrentCommand(args, deps);
230
230
  }),
231
231
  createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args, deps) => {
232
- const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-EVWFKK6Q.js");
232
+ const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-OC5D4YZW.js");
233
233
  return runAgentRuntimeDoctorCommand(args, deps);
234
234
  }),
235
235
  createAgentRunCommand(["agent", "chat"], "Chat with an agent")
@@ -539,55 +539,55 @@ function getSystemInternalCommandEntries(renderHelpText2) {
539
539
  return runAuthCooldownCommand(_args, ctx.env);
540
540
  }),
541
541
  createArgsCommand(["auth", "cloudflare"], "Authorize Cloudflare OAuth", async (args) => {
542
- const { runAuthCloudflareCommand } = await import("./authCommand-4FDPL7WG.js");
542
+ const { runAuthCloudflareCommand } = await import("./authCommand-VQP625QS.js");
543
543
  return runAuthCloudflareCommand(args);
544
544
  }),
545
545
  createArgsCommand(["auth", "chatgpt"], "Authorize ChatGPT / OpenAI Codex OAuth", async (args) => {
546
- const { runAuthChatgptCommand } = await import("./authCommand-4FDPL7WG.js");
546
+ const { runAuthChatgptCommand } = await import("./authCommand-VQP625QS.js");
547
547
  return runAuthChatgptCommand(args);
548
548
  }),
549
549
  createArgsCommand(["auth", "xai"], "Authorize xAI Grok OAuth (SuperGrok subscription)", async (args) => {
550
- const { runAuthXaiCommand } = await import("./authCommand-4FDPL7WG.js");
550
+ const { runAuthXaiCommand } = await import("./authCommand-VQP625QS.js");
551
551
  return runAuthXaiCommand(args);
552
552
  }),
553
553
  createArgsCommand(["auth", "antigravity"], "Authorize Google Antigravity OAuth", async (args) => {
554
- const { runAuthAntigravityCommand } = await import("./authCommand-4FDPL7WG.js");
554
+ const { runAuthAntigravityCommand } = await import("./authCommand-VQP625QS.js");
555
555
  return runAuthAntigravityCommand(args);
556
556
  }),
557
557
  createArgsCommand(["auth", "claude"], "Authorize Claude Pro/Max OAuth", async (args) => {
558
- const { runAuthClaudeCommand } = await import("./authCommand-4FDPL7WG.js");
558
+ const { runAuthClaudeCommand } = await import("./authCommand-VQP625QS.js");
559
559
  return runAuthClaudeCommand(args);
560
560
  }),
561
561
  createArgsCommand(["auth", "cursor"], "Authorize Cursor Pro OAuth", async (args) => {
562
- const { runAuthCursorCommand } = await import("./authCommand-4FDPL7WG.js");
562
+ const { runAuthCursorCommand } = await import("./authCommand-VQP625QS.js");
563
563
  return runAuthCursorCommand(args);
564
564
  }),
565
565
  createArgsCommand(["auth", "devin"], "Authorize Devin OAuth (Free SWE-2)", async (args) => {
566
- const { runAuthDevinCommand } = await import("./authCommand-4FDPL7WG.js");
566
+ const { runAuthDevinCommand } = await import("./authCommand-VQP625QS.js");
567
567
  return runAuthDevinCommand(args);
568
568
  }),
569
569
  createArgsCommand(["login"], "Log in to Nolo", async (args) => {
570
- const { runLoginCommand } = await import("./authCommands-GAJ3NIXO.js");
570
+ const { runLoginCommand } = await import("./authCommands-PAKU3CJZ.js");
571
571
  return runLoginCommand(args);
572
572
  }),
573
573
  createContextCommand(["logout"], "Log out of Nolo", async (args, ctx) => {
574
- const { runLogoutCommand } = await import("./authCommands-GAJ3NIXO.js");
574
+ const { runLogoutCommand } = await import("./authCommands-PAKU3CJZ.js");
575
575
  return runLogoutCommand({ args, env: ctx.env });
576
576
  }),
577
577
  createContextCommand(["whoami"], "Show the current login state", async (args, ctx) => {
578
- const { runWhoamiCommand } = await import("./authCommands-GAJ3NIXO.js");
578
+ const { runWhoamiCommand } = await import("./authCommands-PAKU3CJZ.js");
579
579
  return runWhoamiCommand({ args, env: ctx.env });
580
580
  }),
581
581
  createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args, deps) => {
582
- const { runMachineConnectCommand } = await import("./machineCommands-WFWV25IR.js");
582
+ const { runMachineConnectCommand } = await import("./machineCommands-ZXZWGMFE.js");
583
583
  return runMachineConnectCommand(args, deps);
584
584
  }),
585
585
  createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
586
- const { runMachineConnectCommand } = await import("./machineCommands-WFWV25IR.js");
586
+ const { runMachineConnectCommand } = await import("./machineCommands-ZXZWGMFE.js");
587
587
  return runMachineConnectCommand(args, deps);
588
588
  }),
589
589
  createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
590
- const { runMachineStatusCommand } = await import("./machineCommands-WFWV25IR.js");
590
+ const { runMachineStatusCommand } = await import("./machineCommands-ZXZWGMFE.js");
591
591
  return runMachineStatusCommand(args, deps);
592
592
  }),
593
593
  createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
@@ -9,13 +9,13 @@ import {
9
9
  updateContentPinned,
10
10
  updateContentTitle,
11
11
  uploadAndAddFileToSpace
12
- } from "./chunk-F3TQURKK.js";
13
- import "./chunk-FVZW66K4.js";
12
+ } from "./chunk-QG3USDTD.js";
13
+ import "./chunk-S7RA7A4X.js";
14
14
  import "./chunk-TZXPT53C.js";
15
15
  import "./chunk-BUDVRYES.js";
16
16
  import "./chunk-KEPOVMF4.js";
17
17
  import "./chunk-523DITKR.js";
18
- import "./chunk-QWYFFHCJ.js";
18
+ import "./chunk-RXJ26SQW.js";
19
19
  import "./chunk-MOMR7NMG.js";
20
20
  import "./chunk-BYXBJQAS.js";
21
21
  import "./chunk-QYPE3TS3.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-F3TQURKK.js";
4
- import "./chunk-FVZW66K4.js";
3
+ } from "./chunk-QG3USDTD.js";
4
+ import "./chunk-S7RA7A4X.js";
5
5
  import "./chunk-TZXPT53C.js";
6
6
  import "./chunk-BUDVRYES.js";
7
7
  import "./chunk-KEPOVMF4.js";
8
8
  import "./chunk-523DITKR.js";
9
- import "./chunk-QWYFFHCJ.js";
9
+ import "./chunk-RXJ26SQW.js";
10
10
  import "./chunk-MOMR7NMG.js";
11
11
  import "./chunk-BYXBJQAS.js";
12
12
  import "./chunk-QYPE3TS3.js";
@@ -1,14 +1,15 @@
1
1
  import {
2
2
  createDialogAction,
3
3
  isLocalOwnerDialogAgents
4
- } from "./chunk-7UH3DGV6.js";
5
- import "./chunk-F3TQURKK.js";
6
- import "./chunk-FVZW66K4.js";
4
+ } from "./chunk-H5LWB3D3.js";
5
+ import "./chunk-BJF2MHJ3.js";
6
+ import "./chunk-QG3USDTD.js";
7
+ import "./chunk-S7RA7A4X.js";
7
8
  import "./chunk-TZXPT53C.js";
8
9
  import "./chunk-BUDVRYES.js";
9
10
  import "./chunk-KEPOVMF4.js";
10
11
  import "./chunk-523DITKR.js";
11
- import "./chunk-QWYFFHCJ.js";
12
+ import "./chunk-RXJ26SQW.js";
12
13
  import "./chunk-MOMR7NMG.js";
13
14
  import "./chunk-BYXBJQAS.js";
14
15
  import "./chunk-QYPE3TS3.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  createPageAction
3
- } from "./chunk-VHPAA6MT.js";
3
+ } from "./chunk-SJYK3LLP.js";
4
4
  import "./chunk-FJ23FZXF.js";
5
5
  import "./chunk-AGIM7IMJ.js";
6
6
  import "./chunk-63W5N6P3.js";
7
7
  import "./chunk-VF4K2QE6.js";
8
- import "./chunk-F3TQURKK.js";
9
- import "./chunk-FVZW66K4.js";
8
+ import "./chunk-QG3USDTD.js";
9
+ import "./chunk-S7RA7A4X.js";
10
10
  import "./chunk-TZXPT53C.js";
11
11
  import "./chunk-BUDVRYES.js";
12
12
  import "./chunk-KEPOVMF4.js";
13
13
  import "./chunk-523DITKR.js";
14
- import "./chunk-QWYFFHCJ.js";
14
+ import "./chunk-RXJ26SQW.js";
15
15
  import "./chunk-MOMR7NMG.js";
16
16
  import "./chunk-BYXBJQAS.js";
17
17
  import "./chunk-QYPE3TS3.js";
@@ -20,12 +20,12 @@ import {
20
20
  switchDialogAgent,
21
21
  updateDialogTitle,
22
22
  updateTokens
23
- } from "./chunk-FVZW66K4.js";
23
+ } from "./chunk-S7RA7A4X.js";
24
24
  import "./chunk-TZXPT53C.js";
25
25
  import "./chunk-BUDVRYES.js";
26
26
  import "./chunk-KEPOVMF4.js";
27
27
  import "./chunk-523DITKR.js";
28
- import "./chunk-QWYFFHCJ.js";
28
+ import "./chunk-RXJ26SQW.js";
29
29
  import "./chunk-BYXBJQAS.js";
30
30
  import "./chunk-QYPE3TS3.js";
31
31
  import "./chunk-GVGOEMNV.js";
@@ -25,7 +25,7 @@ import {
25
25
  updateTitleDoc,
26
26
  useDocField,
27
27
  useDocState
28
- } from "./chunk-N7HVLYOY.js";
28
+ } from "./chunk-PYIMOZSX.js";
29
29
  import "./chunk-UVLYNWIE.js";
30
30
  import "./chunk-YNIYE47Z.js";
31
31
  import "./chunk-5FUN7EG4.js";
@@ -12,24 +12,24 @@ import {
12
12
  projectDesktopToolUiContent,
13
13
  pushGate,
14
14
  resolveTurnToolContext
15
- } from "./chunk-XFJ4ZPFC.js";
15
+ } from "./chunk-OK4MZRJ6.js";
16
16
  import {
17
17
  resolveUserSkillRuntime
18
18
  } from "./chunk-652XYZGP.js";
19
19
  import {
20
20
  performServerProxyFetchWithRetry
21
- } from "./chunk-KAVGK4ES.js";
21
+ } from "./chunk-EVYGYDPG.js";
22
22
  import {
23
23
  createSSEParser,
24
24
  loadSkillFunc,
25
25
  waitForAbortableDelay
26
- } from "./chunk-3N4ASIP6.js";
26
+ } from "./chunk-53X6PS42.js";
27
27
  import "./chunk-NF64D32W.js";
28
28
  import "./chunk-3L2WKC3W.js";
29
29
  import "./chunk-GGKNJ42M.js";
30
30
  import "./chunk-AGIM7IMJ.js";
31
31
  import "./chunk-VF4K2QE6.js";
32
- import "./chunk-N7HVLYOY.js";
32
+ import "./chunk-PYIMOZSX.js";
33
33
  import "./chunk-4JVNURX4.js";
34
34
  import {
35
35
  DESKTOP_FOLDER_PROJECTS_KEY,
@@ -38,7 +38,7 @@ import {
38
38
  } from "./chunk-RGQ4UUWZ.js";
39
39
  import "./chunk-GIABSSWQ.js";
40
40
  import "./chunk-BGGHA5DV.js";
41
- import "./chunk-F3TQURKK.js";
41
+ import "./chunk-QG3USDTD.js";
42
42
  import {
43
43
  admitPendingUserMessages,
44
44
  clearForegroundTurnSettledVisible,
@@ -57,14 +57,14 @@ import {
57
57
  setStreamingMessageId,
58
58
  toolResultNeedsUserConfirmation,
59
59
  updateToolMessage
60
- } from "./chunk-FVZW66K4.js";
60
+ } from "./chunk-S7RA7A4X.js";
61
61
  import "./chunk-TZXPT53C.js";
62
62
  import "./chunk-BUDVRYES.js";
63
63
  import "./chunk-KEPOVMF4.js";
64
64
  import "./chunk-523DITKR.js";
65
65
  import {
66
66
  streamAgentChatTurn
67
- } from "./chunk-QWYFFHCJ.js";
67
+ } from "./chunk-RXJ26SQW.js";
68
68
  import "./chunk-MOMR7NMG.js";
69
69
  import "./chunk-BYXBJQAS.js";
70
70
  import "./chunk-QYPE3TS3.js";
@@ -1706,7 +1706,7 @@ var handleSendMessageAction = async (args, thunkApi) => {
1706
1706
  const dialogKey = dialogConfig.dbKey;
1707
1707
  const projectId = isDesktopContext && dialogKey ? readDialogProjectId(window.localStorage, dialogKey) : null;
1708
1708
  if (projectId) {
1709
- const { ensureProjectArchive } = await import("./projectArchive-ULJDLUA6.js");
1709
+ const { ensureProjectArchive } = await import("./projectArchive-V7EYBAX6.js");
1710
1710
  const { DESKTOP_FOLDER_PROJECTS_KEY: DESKTOP_FOLDER_PROJECTS_KEY2, readDesktopFolderProjects: readDesktopFolderProjects2 } = await import("./desktopFolderProjects-4POAMVJN.js");
1711
1711
  const project = readDesktopFolderProjects2(window.localStorage.getItem(DESKTOP_FOLDER_PROJECTS_KEY2)).find((entry) => entry.id === projectId);
1712
1712
  if (!project) throw new Error("\u9879\u76EE\u5DF2\u4E0D\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u9879\u76EE");
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  runAgentCreateCommand
3
- } from "./chunk-7WPAI5JJ.js";
3
+ } from "./chunk-ZLOSGVCQ.js";
4
4
  import "./chunk-QVBXJNZ2.js";
5
5
  import "./chunk-YFLVRVYK.js";
6
- import "./chunk-KO63FPG3.js";
6
+ import "./chunk-ULK35M44.js";
7
7
  import "./chunk-2YGBI2XB.js";
8
8
  import "./chunk-6QDYSCPW.js";
9
9
  import "./chunk-VP3BINY7.js";
@@ -27,12 +27,12 @@ import "./chunk-MK2Q7ZJD.js";
27
27
  import "./chunk-ZEZC7IIM.js";
28
28
  import "./chunk-ATNTHIZI.js";
29
29
  import "./chunk-652XYZGP.js";
30
- import "./chunk-3ESU44FG.js";
30
+ import "./chunk-HJAGA3GR.js";
31
31
  import "./chunk-HS7MLR74.js";
32
- import "./chunk-T3O6BLYU.js";
32
+ import "./chunk-BKJSRO66.js";
33
33
  import "./chunk-KFHREHUQ.js";
34
34
  import "./chunk-OXKUPBAQ.js";
35
- import "./chunk-3N4ASIP6.js";
35
+ import "./chunk-53X6PS42.js";
36
36
  import "./chunk-NF64D32W.js";
37
37
  import "./chunk-3L2WKC3W.js";
38
38
  import "./chunk-GGKNJ42M.js";
@@ -40,20 +40,21 @@ import "./chunk-FJ23FZXF.js";
40
40
  import "./chunk-AGIM7IMJ.js";
41
41
  import "./chunk-63W5N6P3.js";
42
42
  import "./chunk-VF4K2QE6.js";
43
- import "./chunk-N7HVLYOY.js";
43
+ import "./chunk-PYIMOZSX.js";
44
44
  import "./chunk-KOXKKHFE.js";
45
45
  import "./chunk-4JVNURX4.js";
46
46
  import "./chunk-GIABSSWQ.js";
47
47
  import "./chunk-BGGHA5DV.js";
48
48
  import "./chunk-AK5O76CC.js";
49
- import "./chunk-7UH3DGV6.js";
50
- import "./chunk-F3TQURKK.js";
51
- import "./chunk-FVZW66K4.js";
49
+ import "./chunk-H5LWB3D3.js";
50
+ import "./chunk-BJF2MHJ3.js";
51
+ import "./chunk-QG3USDTD.js";
52
+ import "./chunk-S7RA7A4X.js";
52
53
  import "./chunk-TZXPT53C.js";
53
54
  import "./chunk-BUDVRYES.js";
54
55
  import "./chunk-KEPOVMF4.js";
55
56
  import "./chunk-523DITKR.js";
56
- import "./chunk-QWYFFHCJ.js";
57
+ import "./chunk-RXJ26SQW.js";
57
58
  import "./chunk-MOMR7NMG.js";
58
59
  import "./chunk-BYXBJQAS.js";
59
60
  import "./chunk-QYPE3TS3.js";
package/index.js CHANGED
@@ -107,9 +107,9 @@ async function runScript(script, forwardedArgs, env) {
107
107
  return proc.exited;
108
108
  }
109
109
  async function launchTuiWorkspace(args2) {
110
- const { startTuiWorkspace } = await import("./readlineWorkspace-LTCV2BFW.js");
110
+ const { startTuiWorkspace } = await import("./readlineWorkspace-S4VRNWYG.js");
111
111
  const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-7LWYTHLM.js");
112
- const { setCliAutoCompactionSummaryFallback } = await import("./localRuntimeAdapter-TFYOA6YE.js");
112
+ const { setCliAutoCompactionSummaryFallback } = await import("./localRuntimeAdapter-SAMUDW5S.js");
113
113
  setCliAutoCompactionSummaryFallback(
114
114
  createTuiSummaryLlmCaller(args2.env, { platformPrimary: true })
115
115
  );
@@ -119,7 +119,7 @@ async function launchTuiWorkspace(args2) {
119
119
  });
120
120
  }
121
121
  async function main() {
122
- const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-SDSYBKMC.js");
122
+ const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-3JVE76K2.js");
123
123
  const { buildCliRuntimeEnv, loadProfileConfig } = await import("./profileConfig-KOWK4HOG.js");
124
124
  const { resolveTuiLaunchMode } = await import("./runtimeModeArgs-X7DL7PUN.js");
125
125
  const runtimeEnv = {
@@ -39,7 +39,7 @@ import {
39
39
  withRuntimeEnabledPacksAndPrompt,
40
40
  writeDialog,
41
41
  writeLocalTokenRecord
42
- } from "./chunk-KO63FPG3.js";
42
+ } from "./chunk-ULK35M44.js";
43
43
  import "./chunk-2YGBI2XB.js";
44
44
  import "./chunk-6QDYSCPW.js";
45
45
  import {
@@ -70,14 +70,14 @@ import "./chunk-MK2Q7ZJD.js";
70
70
  import "./chunk-ZEZC7IIM.js";
71
71
  import "./chunk-ATNTHIZI.js";
72
72
  import "./chunk-652XYZGP.js";
73
- import "./chunk-3ESU44FG.js";
73
+ import "./chunk-HJAGA3GR.js";
74
74
  import "./chunk-HS7MLR74.js";
75
- import "./chunk-T3O6BLYU.js";
75
+ import "./chunk-BKJSRO66.js";
76
76
  import {
77
77
  fetchWithTransientRetry
78
78
  } from "./chunk-KFHREHUQ.js";
79
79
  import "./chunk-OXKUPBAQ.js";
80
- import "./chunk-3N4ASIP6.js";
80
+ import "./chunk-53X6PS42.js";
81
81
  import "./chunk-NF64D32W.js";
82
82
  import "./chunk-3L2WKC3W.js";
83
83
  import "./chunk-GGKNJ42M.js";
@@ -85,20 +85,21 @@ import "./chunk-FJ23FZXF.js";
85
85
  import "./chunk-AGIM7IMJ.js";
86
86
  import "./chunk-63W5N6P3.js";
87
87
  import "./chunk-VF4K2QE6.js";
88
- import "./chunk-N7HVLYOY.js";
88
+ import "./chunk-PYIMOZSX.js";
89
89
  import "./chunk-KOXKKHFE.js";
90
90
  import "./chunk-4JVNURX4.js";
91
91
  import "./chunk-GIABSSWQ.js";
92
92
  import "./chunk-BGGHA5DV.js";
93
93
  import "./chunk-AK5O76CC.js";
94
- import "./chunk-7UH3DGV6.js";
95
- import "./chunk-F3TQURKK.js";
96
- import "./chunk-FVZW66K4.js";
94
+ import "./chunk-H5LWB3D3.js";
95
+ import "./chunk-BJF2MHJ3.js";
96
+ import "./chunk-QG3USDTD.js";
97
+ import "./chunk-S7RA7A4X.js";
97
98
  import "./chunk-TZXPT53C.js";
98
99
  import "./chunk-BUDVRYES.js";
99
100
  import "./chunk-KEPOVMF4.js";
100
101
  import "./chunk-523DITKR.js";
101
- import "./chunk-QWYFFHCJ.js";
102
+ import "./chunk-RXJ26SQW.js";
102
103
  import "./chunk-MOMR7NMG.js";
103
104
  import "./chunk-BYXBJQAS.js";
104
105
  import "./chunk-QYPE3TS3.js";