nolo-cli 0.75.0-alpha.1 → 0.75.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 (37) hide show
  1. package/{_executeModel-CNEEELFV.js → _executeModel-WEZ3PEQX.js} +10 -10
  2. package/{agentEmailCommands-VX5OYTHG.js → agentEmailCommands-63LDSFLY.js} +9 -9
  3. package/{agentMachineCommands-IG6KJFNN.js → agentMachineCommands-NZ7GGXDI.js} +1 -1
  4. package/{agentRecordCommands-V5LRQDDX.js → agentRecordCommands-CVYIAAA7.js} +9 -9
  5. package/{agentRunCommand-RUUOF2DY.js → agentRunCommand-DTSXYOFC.js} +9 -9
  6. package/{agentSlice-S3JFDTH4.js → agentSlice-J6B5FD5T.js} +1 -1
  7. package/{chatQueueReduxAdapter-CHJZ2O2P.js → chatQueueReduxAdapter-7HTXKEAI.js} +2 -2
  8. package/{chunk-6RUYWJXO.js → chunk-2BA5B35E.js} +3 -3
  9. package/{chunk-KG7ANYLN.js → chunk-3WR7AKML.js} +2 -2
  10. package/{chunk-5WUTIRKL.js → chunk-6ULAXDTC.js} +4 -4
  11. package/{chunk-PEBKIEA5.js → chunk-6VHEHZ3O.js} +8 -8
  12. package/{chunk-NU6FRRNU.js → chunk-73Z4HXBB.js} +4 -4
  13. package/{chunk-ZNZCVXRV.js → chunk-7SM7OIAA.js} +3 -3
  14. package/{chunk-MWV66JTV.js → chunk-CB4TPLND.js} +1 -1
  15. package/{chunk-ZHIOJU46.js → chunk-DORA6JDU.js} +5 -5
  16. package/{chunk-WD4SMAPR.js → chunk-ESNV5ZH6.js} +2 -2
  17. package/{chunk-ITFKTCHH.js → chunk-GKCVKZMJ.js} +2 -2
  18. package/{chunk-RUX46F4O.js → chunk-IHHZ5QIT.js} +2 -2
  19. package/{chunk-D42DMWKD.js → chunk-KTCEAOB7.js} +8 -8
  20. package/{chunk-BNLAGFPO.js → chunk-OCIRWOJN.js} +1 -1
  21. package/{chunk-DDWYTB5N.js → chunk-X4J6SLM7.js} +59 -119
  22. package/{contentThunks-P73Q4WUM.js → contentThunks-YTGI4QHN.js} +3 -3
  23. package/{createAgentAutomationAction-JLHVMB4X.js → createAgentAutomationAction-NKJB4ZUJ.js} +3 -3
  24. package/{createDialogAction-6ZKSFM5O.js → createDialogAction-46TNX2KI.js} +4 -4
  25. package/{createPageAction-MN4VOJYH.js → createPageAction-XKCTX2L5.js} +3 -3
  26. package/{dialogSlice-P2G3GRRG.js → dialogSlice-IA4AYIZT.js} +2 -2
  27. package/{docStore-GUHCPV37.js → docStore-BTPXEBOF.js} +1 -1
  28. package/{handleSendMessageAction-NLDMT3LZ.js → handleSendMessageAction-EVLVKKX5.js} +2 -2
  29. package/index.js +15 -15
  30. package/{machineCommands-BCCBSQQR.js → machineCommands-6IEXOQSE.js} +9 -9
  31. package/{machineWsRunDispatch-7FMVGMI6.js → machineWsRunDispatch-Y6X7MZZT.js} +9 -9
  32. package/package.json +1 -1
  33. package/{readlineWorkspace-S5ZQIVWS.js → readlineWorkspace-XKMEZZ5A.js} +9 -9
  34. package/{runAgentClientLoop-UANNODBO.js → runAgentClientLoop-3XIXREHM.js} +8 -8
  35. package/{streamAgentChatTurn-76WFI2YK.js → streamAgentChatTurn-J27A54UC.js} +9 -9
  36. package/{tools-XJGU2HAF.js → tools-CZTAI4BF.js} +6 -6
  37. package/{updateDialogTitleAction-5BHRK2XV.js → updateDialogTitleAction-QUU6G7SD.js} +3 -3
@@ -9,7 +9,7 @@ import {
9
9
  initReactI18next,
10
10
  instance,
11
11
  toast
12
- } from "./chunk-PEBKIEA5.js";
12
+ } from "./chunk-6VHEHZ3O.js";
13
13
  import {
14
14
  require_date_fns
15
15
  } from "./chunk-M76ECQRD.js";
@@ -72,7 +72,8 @@ import {
72
72
  scheduleWriteReplication
73
73
  } from "./chunk-3RAG2NAD.js";
74
74
  import {
75
- createClientLogger
75
+ createClientLogger,
76
+ isAbortError
76
77
  } from "./chunk-QOKAKDPE.js";
77
78
  import {
78
79
  selectIdentityUserId
@@ -102,6 +103,7 @@ var import_date_fns2 = __toESM(require_date_fns(), 1);
102
103
  import { ulid as ulid3 } from "ulid";
103
104
 
104
105
  // packages/render/table/fetchAndCacheTableRows.ts
106
+ var TABLE_ROWS_FETCH_TIMEOUT_MS = 5e3;
105
107
  var getRowTimestamp = (row) => {
106
108
  if (!row || typeof row !== "object") return 0;
107
109
  return asOptionalPositiveFiniteNumber(Date.parse(row.updatedAt ?? "")) ?? asOptionalPositiveFiniteNumber(Date.parse(row.createdAt ?? "")) ?? 0;
@@ -155,46 +157,63 @@ var loadLocalTableRows = async (db, tenantId, tableId) => {
155
157
  }
156
158
  return rows;
157
159
  };
158
- var fetchTableRowsFromServer = async (server, tenantId, tableId, headers) => {
159
- const res = await fetch(`${server}/rpc/listTableRows`, {
160
- method: "POST",
161
- headers,
162
- body: JSON.stringify({
163
- tenantId,
164
- tableId,
165
- includeDeleted: true,
166
- envelope: TABLE_SYNC_ENVELOPE
167
- })
168
- });
169
- if (!res.ok) {
170
- let msg = `\u52A0\u8F7D\u8868 ${tableId} \u884C\u5931\u8D25\uFF08${res.status}\uFF09`;
171
- try {
172
- const err2 = await res.json();
173
- if (err2 && typeof err2.message === "string") {
174
- msg = err2.message;
160
+ var fetchTableRowsFromServer = async (server, tenantId, tableId, headers, fetchImpl = fetch) => {
161
+ const controller = new AbortController();
162
+ const timeoutId = setTimeout(
163
+ () => controller.abort(),
164
+ TABLE_ROWS_FETCH_TIMEOUT_MS
165
+ );
166
+ try {
167
+ const res = await fetchImpl(`${server}/rpc/listTableRows`, {
168
+ method: "POST",
169
+ headers,
170
+ body: JSON.stringify({
171
+ tenantId,
172
+ tableId,
173
+ includeDeleted: true,
174
+ envelope: TABLE_SYNC_ENVELOPE
175
+ }),
176
+ signal: controller.signal
177
+ });
178
+ if (!res.ok) {
179
+ let msg = `\u52A0\u8F7D\u8868 ${tableId} \u884C\u5931\u8D25\uFF08${res.status}\uFF09`;
180
+ try {
181
+ const err2 = await res.json();
182
+ if (err2 && typeof err2.message === "string") {
183
+ msg = err2.message;
184
+ }
185
+ } catch {
175
186
  }
176
- } catch {
187
+ throw new Error(msg);
188
+ }
189
+ const data = await res.json();
190
+ if (Array.isArray(data)) {
191
+ return {
192
+ rows: data,
193
+ deletedRows: [],
194
+ tableMeta: null,
195
+ complete: false
196
+ };
197
+ }
198
+ if (!data || typeof data !== "object" || !Array.isArray(data.rows)) {
199
+ throw new Error("\u670D\u52A1\u5668\u8FD4\u56DE\u683C\u5F0F\u9519\u8BEF\uFF1A\u9884\u671F\u4E3A\u6570\u7EC4");
177
200
  }
178
- throw new Error(msg);
179
- }
180
- const data = await res.json();
181
- if (Array.isArray(data)) {
182
201
  return {
183
- rows: data,
184
- deletedRows: [],
185
- tableMeta: null,
186
- complete: false
202
+ rows: data.rows,
203
+ deletedRows: Array.isArray(data.deletedRows) ? data.deletedRows : [],
204
+ tableMeta: data.tableMeta ?? null,
205
+ complete: data.complete === true
187
206
  };
207
+ } catch (err2) {
208
+ if (isAbortError(err2)) {
209
+ throw new Error(
210
+ `\u52A0\u8F7D\u8868 ${tableId} \u884C\u8D85\u65F6\uFF1A${server} \u5728 ${TABLE_ROWS_FETCH_TIMEOUT_MS / 1e3}s \u5185\u65E0\u54CD\u5E94`
211
+ );
212
+ }
213
+ throw err2;
214
+ } finally {
215
+ clearTimeout(timeoutId);
188
216
  }
189
- if (!data || typeof data !== "object" || !Array.isArray(data.rows)) {
190
- throw new Error("\u670D\u52A1\u5668\u8FD4\u56DE\u683C\u5F0F\u9519\u8BEF\uFF1A\u9884\u671F\u4E3A\u6570\u7EC4");
191
- }
192
- return {
193
- rows: data.rows,
194
- deletedRows: Array.isArray(data.deletedRows) ? data.deletedRows : [],
195
- tableMeta: data.tableMeta ?? null,
196
- complete: data.complete === true
197
- };
198
217
  };
199
218
  var cacheMergedTableRows = async (db, mergedRows) => {
200
219
  if (!db) return;
@@ -252,7 +271,8 @@ var fetchAndCacheTableRows = async ({
252
271
  tenantId,
253
272
  tableId,
254
273
  token,
255
- remoteServers = []
274
+ remoteServers = [],
275
+ fetchImpl = fetch
256
276
  }) => {
257
277
  const headers = {
258
278
  "Content-Type": "application/json"
@@ -263,7 +283,7 @@ var fetchAndCacheTableRows = async ({
263
283
  const localRows = await loadLocalTableRows(db, tenantId, tableId);
264
284
  const remoteResults = await Promise.allSettled(
265
285
  remoteServers.map(
266
- (server) => fetchTableRowsFromServer(server, tenantId, tableId, headers)
286
+ (server) => fetchTableRowsFromServer(server, tenantId, tableId, headers, fetchImpl)
267
287
  )
268
288
  );
269
289
  const fulfilledRemoteSnapshots = remoteResults.filter(
@@ -367,43 +387,6 @@ function reorderColumnInMeta(meta, input, deps) {
367
387
  buildMeta(meta, reorderList(meta.columns, fromIndex, toIndex), deps.nowIso)
368
388
  );
369
389
  }
370
- function renameColumnInMeta(meta, rows, input, deps) {
371
- const { oldName } = input;
372
- const { nowIso } = deps;
373
- const newName = input.newName.trim();
374
- if (!newName) {
375
- return err("\u65B0\u7684\u5B57\u6BB5\u540D\u4E0D\u80FD\u4E3A\u7A7A");
376
- }
377
- if (!meta.columns.some((c) => c.name === oldName)) {
378
- return err(`\u5B57\u6BB5 ${oldName} \u4E0D\u5B58\u5728`);
379
- }
380
- if (meta.columns.some((c) => c.name === newName)) {
381
- return err(`\u5B57\u6BB5 ${newName} \u5DF2\u5B58\u5728`);
382
- }
383
- const newColumns = meta.columns.map(
384
- (c) => c.name === oldName ? { ...c, name: newName } : c
385
- );
386
- const rowPatches = rows.filter((row) => hasOwn(row, oldName)).map((row) => ({
387
- dbKey: row.dbKey,
388
- changes: {
389
- [newName]: row[oldName],
390
- [oldName]: null,
391
- updatedAt: nowIso
392
- }
393
- }));
394
- const newRows = rows.map((row) => {
395
- if (!hasOwn(row, oldName)) {
396
- return row;
397
- }
398
- const { [oldName]: oldValue, ...rest } = row;
399
- return { ...rest, [newName]: oldValue, updatedAt: nowIso };
400
- });
401
- return ok({
402
- ...buildMeta(meta, newColumns, nowIso),
403
- rows: newRows,
404
- rowPatches
405
- });
406
- }
407
390
  function renameColumnLabelInMeta(meta, input, deps) {
408
391
  const { columnId } = input;
409
392
  const label = input.label.trim();
@@ -1189,49 +1172,6 @@ var reorderColumn = createTableCommand(
1189
1172
  }
1190
1173
  }
1191
1174
  );
1192
- var renameColumn = createTableCommand(
1193
- "table/renameColumn",
1194
- async (args, { dispatch } = {}) => {
1195
- const { tenantId, tableId, oldName, newName } = args;
1196
- const meta = state.currentTable;
1197
- if (!meta || meta.tenantId !== tenantId || meta.tableId !== tableId) {
1198
- throw new Error("\u5F53\u524D\u6CA1\u6709\u52A0\u8F7D\u5BF9\u5E94\u7684\u8868\u5B9A\u4E49");
1199
- }
1200
- const result = renameColumnInMeta(
1201
- meta,
1202
- state.rows,
1203
- { oldName, newName },
1204
- { nowIso: (0, import_date_fns2.formatISO)(/* @__PURE__ */ new Date()) }
1205
- );
1206
- if (!result.ok) {
1207
- throw new Error(result.error);
1208
- }
1209
- const { meta: nextMeta, metaChanges, rows: newRows, rowPatches } = result.value;
1210
- setState((s) => ({ ...s, error: null }));
1211
- try {
1212
- if (dispatch) {
1213
- await Promise.all(
1214
- rowPatches.map((p) => safeDispatch(dispatch, patch(p)))
1215
- );
1216
- await safeDispatch(
1217
- dispatch,
1218
- patch({ dbKey: meta.dbKey, changes: metaChanges })
1219
- );
1220
- }
1221
- setState((s) => ({
1222
- ...s,
1223
- currentTable: nextMeta,
1224
- rows: newRows,
1225
- isInitialized: true
1226
- }));
1227
- return { meta: nextMeta, rows: newRows };
1228
- } catch (e) {
1229
- const msg = e?.message || "\u91CD\u547D\u540D\u5B57\u6BB5\u5931\u8D25";
1230
- setState((s) => ({ ...s, error: msg }));
1231
- throw e;
1232
- }
1233
- }
1234
- );
1235
1175
  var renameColumnLabel = createTableCommand(
1236
1176
  "table/renameColumnLabel",
1237
1177
  async (args, { dispatch } = {}) => {
@@ -7,14 +7,14 @@ import {
7
7
  updateContentPinned,
8
8
  updateContentTitle,
9
9
  uploadAndAddFileToSpace
10
- } from "./chunk-DDWYTB5N.js";
10
+ } from "./chunk-X4J6SLM7.js";
11
11
  import "./chunk-ZJ7UHBJS.js";
12
- import "./chunk-PEBKIEA5.js";
12
+ import "./chunk-6VHEHZ3O.js";
13
13
  import "./chunk-EVBFYPDC.js";
14
14
  import "./chunk-HQUORJTM.js";
15
15
  import "./chunk-YYLHWIW6.js";
16
16
  import "./chunk-AGGIDPCZ.js";
17
- import "./chunk-6RUYWJXO.js";
17
+ import "./chunk-2BA5B35E.js";
18
18
  import "./chunk-BJCWNHVU.js";
19
19
  import "./chunk-5RGU3J7P.js";
20
20
  import "./chunk-6YTOJY35.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-DDWYTB5N.js";
3
+ } from "./chunk-X4J6SLM7.js";
4
4
  import "./chunk-ZJ7UHBJS.js";
5
- import "./chunk-PEBKIEA5.js";
5
+ import "./chunk-6VHEHZ3O.js";
6
6
  import "./chunk-EVBFYPDC.js";
7
7
  import "./chunk-HQUORJTM.js";
8
8
  import "./chunk-YYLHWIW6.js";
9
9
  import "./chunk-AGGIDPCZ.js";
10
- import "./chunk-6RUYWJXO.js";
10
+ import "./chunk-2BA5B35E.js";
11
11
  import "./chunk-BJCWNHVU.js";
12
12
  import "./chunk-5RGU3J7P.js";
13
13
  import "./chunk-6YTOJY35.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  createDialogAction,
3
3
  isLocalOwnerDialogAgents
4
- } from "./chunk-WD4SMAPR.js";
5
- import "./chunk-DDWYTB5N.js";
4
+ } from "./chunk-ESNV5ZH6.js";
5
+ import "./chunk-X4J6SLM7.js";
6
6
  import "./chunk-ZJ7UHBJS.js";
7
- import "./chunk-PEBKIEA5.js";
7
+ import "./chunk-6VHEHZ3O.js";
8
8
  import "./chunk-EVBFYPDC.js";
9
9
  import "./chunk-HQUORJTM.js";
10
10
  import "./chunk-YYLHWIW6.js";
11
11
  import "./chunk-AGGIDPCZ.js";
12
- import "./chunk-6RUYWJXO.js";
12
+ import "./chunk-2BA5B35E.js";
13
13
  import "./chunk-BJCWNHVU.js";
14
14
  import "./chunk-5RGU3J7P.js";
15
15
  import "./chunk-6YTOJY35.js";
@@ -14,16 +14,16 @@ import {
14
14
  import {
15
15
  addContentToSpace,
16
16
  client_default
17
- } from "./chunk-DDWYTB5N.js";
17
+ } from "./chunk-X4J6SLM7.js";
18
18
  import {
19
19
  getCurrentSpaceId
20
20
  } from "./chunk-ZJ7UHBJS.js";
21
- import "./chunk-PEBKIEA5.js";
21
+ import "./chunk-6VHEHZ3O.js";
22
22
  import "./chunk-EVBFYPDC.js";
23
23
  import "./chunk-HQUORJTM.js";
24
24
  import "./chunk-YYLHWIW6.js";
25
25
  import "./chunk-AGGIDPCZ.js";
26
- import "./chunk-6RUYWJXO.js";
26
+ import "./chunk-2BA5B35E.js";
27
27
  import "./chunk-BJCWNHVU.js";
28
28
  import "./chunk-5RGU3J7P.js";
29
29
  import "./chunk-6YTOJY35.js";
@@ -20,12 +20,12 @@ import {
20
20
  switchDialogAgent,
21
21
  updateDialogTitle,
22
22
  updateTokens
23
- } from "./chunk-PEBKIEA5.js";
23
+ } from "./chunk-6VHEHZ3O.js";
24
24
  import "./chunk-EVBFYPDC.js";
25
25
  import "./chunk-HQUORJTM.js";
26
26
  import "./chunk-YYLHWIW6.js";
27
27
  import "./chunk-AGGIDPCZ.js";
28
- import "./chunk-6RUYWJXO.js";
28
+ import "./chunk-2BA5B35E.js";
29
29
  import "./chunk-BJCWNHVU.js";
30
30
  import {
31
31
  getActiveDialogAgentId
@@ -24,7 +24,7 @@ import {
24
24
  updateTitleDoc,
25
25
  useDocField,
26
26
  useDocState
27
- } from "./chunk-ITFKTCHH.js";
27
+ } from "./chunk-GKCVKZMJ.js";
28
28
  import "./chunk-M76ECQRD.js";
29
29
  import "./chunk-YDH3FDFQ.js";
30
30
  import "./chunk-HNMXYYJR.js";
@@ -6,14 +6,14 @@ import {
6
6
  prepareAndPersistUserMessage,
7
7
  resolveHandleSendMessageContext,
8
8
  selectAllMsgs
9
- } from "./chunk-PEBKIEA5.js";
9
+ } from "./chunk-6VHEHZ3O.js";
10
10
  import "./chunk-EVBFYPDC.js";
11
11
  import "./chunk-HQUORJTM.js";
12
12
  import "./chunk-YYLHWIW6.js";
13
13
  import "./chunk-AGGIDPCZ.js";
14
14
  import {
15
15
  streamAgentChatTurn
16
- } from "./chunk-6RUYWJXO.js";
16
+ } from "./chunk-2BA5B35E.js";
17
17
  import "./chunk-BJCWNHVU.js";
18
18
  import "./chunk-5RGU3J7P.js";
19
19
  import {
package/index.js CHANGED
@@ -127,7 +127,7 @@ function createDaemonShortcutCommand(path, description, command2) {
127
127
  // packages/cli/agentInternalCommandEntries.ts
128
128
  function getAgentInternalCommandEntries() {
129
129
  const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args2, ctx) => {
130
- const { runAgentRunCommand } = await import("./agentRunCommand-RUUOF2DY.js");
130
+ const { runAgentRunCommand } = await import("./agentRunCommand-DTSXYOFC.js");
131
131
  return runAgentRunCommand(args2, {
132
132
  env: ctx.env,
133
133
  scriptDir: ctx.scriptDir,
@@ -143,7 +143,7 @@ function getAgentInternalCommandEntries() {
143
143
  return runAgentListCommand(args2, deps);
144
144
  }),
145
145
  createEnvCommand(["agent", "create"], "Create a new agent", async (args2, deps) => {
146
- const { runAgentCreateCommand } = await import("./agentRecordCommands-V5LRQDDX.js");
146
+ const { runAgentCreateCommand } = await import("./agentRecordCommands-CVYIAAA7.js");
147
147
  return runAgentCreateCommand(args2, deps);
148
148
  }),
149
149
  createEnvCommand(["agent", "models"], "List models available on an OpenAI-compatible provider", async (args2, deps) => {
@@ -155,7 +155,7 @@ function getAgentInternalCommandEntries() {
155
155
  return runAgentPullCommand(args2, deps);
156
156
  }),
157
157
  createEnvCommand(["agent", "read"], "Read a single agent", async (args2, deps) => {
158
- const { runAgentReadCommand } = await import("./agentRecordCommands-V5LRQDDX.js");
158
+ const { runAgentReadCommand } = await import("./agentRecordCommands-CVYIAAA7.js");
159
159
  return runAgentReadCommand(args2, deps);
160
160
  }),
161
161
  createAgentRunCommand(["agent", "run"], "Run an agent"),
@@ -184,26 +184,26 @@ function getAgentInternalCommandEntries() {
184
184
  return runSetupOfflineMarxistsAgentCommand(args2, deps);
185
185
  }),
186
186
  createEnvCommand(["agent", "update"], "Update agent fields", async (args2, deps) => {
187
- const { runAgentUpdateCommand } = await import("./agentRecordCommands-V5LRQDDX.js");
187
+ const { runAgentUpdateCommand } = await import("./agentRecordCommands-CVYIAAA7.js");
188
188
  return runAgentUpdateCommand(args2, deps);
189
189
  }),
190
190
  createEnvCommand(["agent", "email", "provision"], "Provision a controlled inbox for an agent", async (args2, deps) => {
191
- const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-VX5OYTHG.js");
191
+ const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-63LDSFLY.js");
192
192
  return runAgentEmailProvisionCommand(args2, deps);
193
193
  }),
194
194
  createEnvCommand(["agent", "email", "bind"], "Bind an existing email address to an agent", async (args2, deps) => {
195
- const { runAgentEmailBindCommand } = await import("./agentEmailCommands-VX5OYTHG.js");
195
+ const { runAgentEmailBindCommand } = await import("./agentEmailCommands-63LDSFLY.js");
196
196
  return runAgentEmailBindCommand(args2, deps);
197
197
  }),
198
198
  createEnvCommand(["agent", "email", "transfer"], "Transfer an email identity from one agent to another (cross-account)", async (args2, deps) => {
199
- const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-VX5OYTHG.js");
199
+ const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-63LDSFLY.js");
200
200
  return runAgentEmailTransferCommand(args2, deps);
201
201
  }),
202
202
  createEnvCommand(
203
203
  ["agent", "email", "create-and-provision"],
204
204
  "Create an agent and provision its controlled inbox",
205
205
  async (args2, deps) => {
206
- const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-VX5OYTHG.js");
206
+ const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-63LDSFLY.js");
207
207
  return runAgentEmailCreateAndProvisionCommand(args2, deps);
208
208
  }
209
209
  ),
@@ -224,15 +224,15 @@ function getAgentInternalCommandEntries() {
224
224
  return runAgentRevokeGrantCommand(args2, deps);
225
225
  }),
226
226
  createEnvCommand(["agent", "bind-current"], "Bind an agent to this machine", async (args2, deps) => {
227
- const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-IG6KJFNN.js");
227
+ const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-NZ7GGXDI.js");
228
228
  return runAgentBindCurrentCommand(args2, deps);
229
229
  }),
230
230
  createEnvCommand(["agent", "smoke-current"], "Smoke test a bound agent through this machine", async (args2, deps) => {
231
- const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-IG6KJFNN.js");
231
+ const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-NZ7GGXDI.js");
232
232
  return runAgentSmokeCurrentCommand(args2, deps);
233
233
  }),
234
234
  createEnvCommand(["agent", "runtime-doctor"], "Diagnose current machine runtime compatibility", async (args2, deps) => {
235
- const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-IG6KJFNN.js");
235
+ const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-NZ7GGXDI.js");
236
236
  return runAgentRuntimeDoctorCommand(args2, deps);
237
237
  }),
238
238
  createAgentRunCommand(["agent", "chat"], "Chat with an agent")
@@ -472,15 +472,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
472
472
  return runWhoamiCommand({ args: args2, env: ctx.env });
473
473
  }),
474
474
  createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args2, deps) => {
475
- const { runMachineConnectCommand } = await import("./machineCommands-BCCBSQQR.js");
475
+ const { runMachineConnectCommand } = await import("./machineCommands-6IEXOQSE.js");
476
476
  return runMachineConnectCommand(args2, deps);
477
477
  }),
478
478
  createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args2, deps) => {
479
- const { runMachineConnectCommand } = await import("./machineCommands-BCCBSQQR.js");
479
+ const { runMachineConnectCommand } = await import("./machineCommands-6IEXOQSE.js");
480
480
  return runMachineConnectCommand(args2, deps);
481
481
  }),
482
482
  createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args2, deps) => {
483
- const { runMachineStatusCommand } = await import("./machineCommands-BCCBSQQR.js");
483
+ const { runMachineStatusCommand } = await import("./machineCommands-6IEXOQSE.js");
484
484
  return runMachineStatusCommand(args2, deps);
485
485
  }),
486
486
  createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args2, deps) => {
@@ -875,7 +875,7 @@ async function runScript(script, forwardedArgs, env) {
875
875
  return proc.exited;
876
876
  }
877
877
  async function launchTuiWorkspace(args2) {
878
- const { startTuiWorkspace } = await import("./readlineWorkspace-S5ZQIVWS.js");
878
+ const { startTuiWorkspace } = await import("./readlineWorkspace-XKMEZZ5A.js");
879
879
  const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-J5BEPLW5.js");
880
880
  return startTuiWorkspace({
881
881
  ...args2,
@@ -2,13 +2,13 @@ import {
2
2
  buildMachinePermissionPromptBlock,
3
3
  handleConnectorRunMessage,
4
4
  resolveMachineRunPermissionPolicy
5
- } from "./chunk-RUX46F4O.js";
5
+ } from "./chunk-IHHZ5QIT.js";
6
6
  import {
7
7
  isConnectorWebSocketAuthError,
8
8
  isConnectorWebSocketRetryableError,
9
9
  resolveConnectorWebSocketTarget
10
10
  } from "./chunk-ALXHV7NK.js";
11
- import "./chunk-NU6FRRNU.js";
11
+ import "./chunk-73Z4HXBB.js";
12
12
  import "./chunk-GBPZKFYK.js";
13
13
  import "./chunk-QCZX4FTW.js";
14
14
  import "./chunk-EADNWBAZ.js";
@@ -23,9 +23,9 @@ import {
23
23
  import "./chunk-JBTJAPUF.js";
24
24
  import "./chunk-3QPYFHAH.js";
25
25
  import "./chunk-ATNTHIZI.js";
26
- import "./chunk-KG7ANYLN.js";
26
+ import "./chunk-3WR7AKML.js";
27
27
  import "./chunk-HS7MLR74.js";
28
- import "./chunk-D42DMWKD.js";
28
+ import "./chunk-KTCEAOB7.js";
29
29
  import "./chunk-5XTOKQLW.js";
30
30
  import "./chunk-NF64D32W.js";
31
31
  import {
@@ -43,16 +43,16 @@ import "./chunk-FZGV4FGK.js";
43
43
  import "./chunk-MEYIRKDN.js";
44
44
  import "./chunk-63W5N6P3.js";
45
45
  import "./chunk-VF4K2QE6.js";
46
- import "./chunk-ITFKTCHH.js";
47
- import "./chunk-WD4SMAPR.js";
48
- import "./chunk-DDWYTB5N.js";
46
+ import "./chunk-GKCVKZMJ.js";
47
+ import "./chunk-ESNV5ZH6.js";
48
+ import "./chunk-X4J6SLM7.js";
49
49
  import "./chunk-ZJ7UHBJS.js";
50
- import "./chunk-PEBKIEA5.js";
50
+ import "./chunk-6VHEHZ3O.js";
51
51
  import "./chunk-EVBFYPDC.js";
52
52
  import "./chunk-HQUORJTM.js";
53
53
  import "./chunk-YYLHWIW6.js";
54
54
  import "./chunk-AGGIDPCZ.js";
55
- import "./chunk-6RUYWJXO.js";
55
+ import "./chunk-2BA5B35E.js";
56
56
  import "./chunk-BJCWNHVU.js";
57
57
  import "./chunk-5RGU3J7P.js";
58
58
  import "./chunk-6YTOJY35.js";
@@ -11,8 +11,8 @@ import {
11
11
  runtimeWorkspacePermissionPolicy,
12
12
  scopePermissionPolicyToRuntimeWorkspace,
13
13
  summarizeAgentConfigForLogs
14
- } from "./chunk-RUX46F4O.js";
15
- import "./chunk-NU6FRRNU.js";
14
+ } from "./chunk-IHHZ5QIT.js";
15
+ import "./chunk-73Z4HXBB.js";
16
16
  import "./chunk-GBPZKFYK.js";
17
17
  import "./chunk-QCZX4FTW.js";
18
18
  import "./chunk-EADNWBAZ.js";
@@ -24,9 +24,9 @@ import "./chunk-MP64VFGD.js";
24
24
  import "./chunk-JBTJAPUF.js";
25
25
  import "./chunk-3QPYFHAH.js";
26
26
  import "./chunk-ATNTHIZI.js";
27
- import "./chunk-KG7ANYLN.js";
27
+ import "./chunk-3WR7AKML.js";
28
28
  import "./chunk-HS7MLR74.js";
29
- import "./chunk-D42DMWKD.js";
29
+ import "./chunk-KTCEAOB7.js";
30
30
  import "./chunk-5XTOKQLW.js";
31
31
  import "./chunk-NF64D32W.js";
32
32
  import "./chunk-3L2WKC3W.js";
@@ -42,16 +42,16 @@ import "./chunk-FZGV4FGK.js";
42
42
  import "./chunk-MEYIRKDN.js";
43
43
  import "./chunk-63W5N6P3.js";
44
44
  import "./chunk-VF4K2QE6.js";
45
- import "./chunk-ITFKTCHH.js";
46
- import "./chunk-WD4SMAPR.js";
47
- import "./chunk-DDWYTB5N.js";
45
+ import "./chunk-GKCVKZMJ.js";
46
+ import "./chunk-ESNV5ZH6.js";
47
+ import "./chunk-X4J6SLM7.js";
48
48
  import "./chunk-ZJ7UHBJS.js";
49
- import "./chunk-PEBKIEA5.js";
49
+ import "./chunk-6VHEHZ3O.js";
50
50
  import "./chunk-EVBFYPDC.js";
51
51
  import "./chunk-HQUORJTM.js";
52
52
  import "./chunk-YYLHWIW6.js";
53
53
  import "./chunk-AGGIDPCZ.js";
54
- import "./chunk-6RUYWJXO.js";
54
+ import "./chunk-2BA5B35E.js";
55
55
  import "./chunk-BJCWNHVU.js";
56
56
  import "./chunk-5RGU3J7P.js";
57
57
  import "./chunk-6YTOJY35.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nolo-cli",
3
- "version": "0.75.0-alpha.1",
3
+ "version": "0.75.0-alpha.2",
4
4
  "type": "module",
5
5
  "description": "Agent-first terminal workspace for Nolo",
6
6
  "bin": {
@@ -72,7 +72,7 @@ import {
72
72
  wrapTextToLines,
73
73
  wrapTranscriptLine,
74
74
  wrapTranscriptLineWithLayout
75
- } from "./chunk-5WUTIRKL.js";
75
+ } from "./chunk-6ULAXDTC.js";
76
76
  import "./chunk-S7Z2HMCN.js";
77
77
  import {
78
78
  listFavoriteAgentIdsAcrossServers,
@@ -96,7 +96,7 @@ import {
96
96
  readTimestamp,
97
97
  setCliLocale,
98
98
  t
99
- } from "./chunk-NU6FRRNU.js";
99
+ } from "./chunk-73Z4HXBB.js";
100
100
  import "./chunk-GBPZKFYK.js";
101
101
  import "./chunk-QCZX4FTW.js";
102
102
  import "./chunk-EADNWBAZ.js";
@@ -135,12 +135,12 @@ import "./chunk-ATNTHIZI.js";
135
135
  import "./chunk-JEXVIMYZ.js";
136
136
  import {
137
137
  prepareTools
138
- } from "./chunk-KG7ANYLN.js";
138
+ } from "./chunk-3WR7AKML.js";
139
139
  import {
140
140
  buildResponseGuidelines
141
141
  } from "./chunk-EOARMOVD.js";
142
142
  import "./chunk-HS7MLR74.js";
143
- import "./chunk-D42DMWKD.js";
143
+ import "./chunk-KTCEAOB7.js";
144
144
  import "./chunk-5XTOKQLW.js";
145
145
  import "./chunk-NF64D32W.js";
146
146
  import "./chunk-3L2WKC3W.js";
@@ -166,18 +166,18 @@ import "./chunk-FZGV4FGK.js";
166
166
  import "./chunk-MEYIRKDN.js";
167
167
  import "./chunk-63W5N6P3.js";
168
168
  import "./chunk-VF4K2QE6.js";
169
- import "./chunk-ITFKTCHH.js";
170
- import "./chunk-WD4SMAPR.js";
171
- import "./chunk-DDWYTB5N.js";
169
+ import "./chunk-GKCVKZMJ.js";
170
+ import "./chunk-ESNV5ZH6.js";
171
+ import "./chunk-X4J6SLM7.js";
172
172
  import "./chunk-ZJ7UHBJS.js";
173
173
  import {
174
174
  extractReferenceKeysFromMessage
175
- } from "./chunk-PEBKIEA5.js";
175
+ } from "./chunk-6VHEHZ3O.js";
176
176
  import "./chunk-EVBFYPDC.js";
177
177
  import "./chunk-HQUORJTM.js";
178
178
  import "./chunk-YYLHWIW6.js";
179
179
  import "./chunk-AGGIDPCZ.js";
180
- import "./chunk-6RUYWJXO.js";
180
+ import "./chunk-2BA5B35E.js";
181
181
  import "./chunk-BJCWNHVU.js";
182
182
  import "./chunk-5RGU3J7P.js";
183
183
  import "./chunk-6YTOJY35.js";