nolo-cli 0.249.0-alpha.8 → 0.250.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/{_executeModel-HWAMKGWB.js → _executeModel-F4MT6OPO.js} +15 -15
  2. package/{agentDeleteCommand-B7XG4QD5.js → agentDeleteCommand-DBCRHB4S.js} +18 -18
  3. package/{agentEmailCommands-IWRTGO7J.js → agentEmailCommands-T4PAJ4KG.js} +18 -18
  4. package/{agentListCommands-ZJAHAV33.js → agentListCommands-5ULWKQ3E.js} +8 -8
  5. package/{agentMachineCommands-ACOBJR4U.js → agentMachineCommands-65QUOCEY.js} +6 -6
  6. package/{agentRecordCommands-NWKL4YUG.js → agentRecordCommands-EKANS3A5.js} +18 -18
  7. package/{agentRunCommand-MRDX6DL6.js → agentRunCommand-336PXBRJ.js} +18 -18
  8. package/{agentRuntimeLocal-65F3RVQM.js → agentRuntimeLocal-KKXJOBD3.js} +3 -3
  9. package/{agentSlice-CF3SO4QW.js → agentSlice-FWYXP332.js} +1 -1
  10. package/{appDeleteCommands-6ML7IZWP.js → appDeleteCommands-ERJK367V.js} +7 -7
  11. package/{appDeployCommands-CZOP3X47.js → appDeployCommands-LUV6QKQJ.js} +7 -7
  12. package/{appDeployStatusCommands-T4QEGCMV.js → appDeployStatusCommands-WW7IYQD4.js} +7 -7
  13. package/{appGetCommands-4MWH3GB7.js → appGetCommands-G7XYYSFO.js} +7 -7
  14. package/{appListCommands-EYM6PLZM.js → appListCommands-4RXCIDNI.js} +7 -7
  15. package/{chunk-MNXWT3GC.js → chunk-222CJNC2.js} +3 -3
  16. package/{chunk-BGWCWHWL.js → chunk-32WTED6G.js} +5 -5
  17. package/{chunk-H772FXSL.js → chunk-3IVFGQIM.js} +1 -1
  18. package/{chunk-SAXVCWLZ.js → chunk-6QL3SUEK.js} +2 -2
  19. package/{chunk-5D5C7IFJ.js → chunk-7IQA2VJF.js} +10 -10
  20. package/{chunk-RJSITWNF.js → chunk-AKWA6PCE.js} +3 -3
  21. package/{chunk-V4D5ZKWF.js → chunk-ATRU65OK.js} +6 -6
  22. package/{chunk-DKOUQOJ7.js → chunk-AXZ5DDLB.js} +11 -11
  23. package/{chunk-3WHVE2XX.js → chunk-BQ4CZEVZ.js} +1 -1
  24. package/{chunk-ITBX27W6.js → chunk-CFDOIIOZ.js} +2 -2
  25. package/{chunk-OP7UDCGP.js → chunk-HEIIOJGN.js} +2 -2
  26. package/{chunk-CUMWQC3F.js → chunk-I3J7HO3U.js} +2 -2
  27. package/{chunk-WNIV5BV7.js → chunk-I3OW5RAX.js} +2 -2
  28. package/{chunk-CX5BGBCX.js → chunk-KHVTT4WW.js} +1 -1
  29. package/{chunk-L4ES2RVY.js → chunk-KJDN2YRH.js} +1 -1
  30. package/{chunk-VOWN2ZQI.js → chunk-LXKK7QFI.js} +1 -1
  31. package/{chunk-5FU7HEII.js → chunk-OKKA4BCM.js} +3 -3
  32. package/{chunk-DGHHJV3T.js → chunk-PGDM7AM2.js} +3 -3
  33. package/{chunk-Y45F45YH.js → chunk-RDBDHGU7.js} +2 -2
  34. package/{chunk-YM6L335H.js → chunk-SLUZ6FBJ.js} +1 -1
  35. package/{chunk-LAIWAVKI.js → chunk-SMEX763N.js} +8 -8
  36. package/{chunk-JRKQT7ST.js → chunk-U7OMQLRE.js} +2 -2
  37. package/{chunk-FNB2XPBD.js → chunk-VHMPJGT4.js} +2 -2
  38. package/{chunk-MBJSAYYK.js → chunk-VV5IS3ES.js} +3 -3
  39. package/{chunk-IQAO6IUP.js → chunk-W4G25PVP.js} +3 -3
  40. package/{chunk-KLAMJNKQ.js → chunk-WEZ27JA7.js} +13 -6
  41. package/{chunk-E2U4I3NK.js → chunk-X6LYQDN5.js} +1 -1
  42. package/{chunk-RNKWM6DL.js → chunk-XHG7QROB.js} +2 -2
  43. package/{chunk-P4HBFHQB.js → chunk-YQO5UKHP.js} +8 -8
  44. package/{chunk-IJZC2KIJ.js → chunk-Z7A2ZQ5X.js} +1 -1
  45. package/{chunk-DQFQOKCR.js → chunk-ZKMS73DK.js} +2 -2
  46. package/{cliLocalAgentRecordReader-WUSV4VMI.js → cliLocalAgentRecordReader-R4CLUHYO.js} +5 -5
  47. package/{commandRegistry-MR6GOEUC.js → commandRegistry-UIZRI4JV.js} +41 -41
  48. package/{contentThunks-WF73YCYA.js → contentThunks-ZQSZA4GH.js} +3 -3
  49. package/{createAgentAutomationAction-NUIQOIOW.js → createAgentAutomationAction-RQE4F6PR.js} +3 -3
  50. package/{createDialogAction-IASHJN3H.js → createDialogAction-JDSMQ34U.js} +4 -4
  51. package/{createPageAction-7YDRLGGF.js → createPageAction-VLF6XCYO.js} +4 -4
  52. package/{dialogCommands-E4KH23LG.js → dialogCommands-PLM7ZFWH.js} +7 -7
  53. package/{dialogSlice-CTSI7MTT.js → dialogSlice-63DD2ER2.js} +2 -2
  54. package/{docCreateCommands-3OVVJQ5T.js → docCreateCommands-BST5DO7L.js} +6 -6
  55. package/{docDeleteCommands-ZY3YVAKQ.js → docDeleteCommands-YE6G2SO4.js} +7 -7
  56. package/{docReadCommands-DRKAOI4S.js → docReadCommands-M6T35U3G.js} +6 -6
  57. package/{docStore-6WBQOAXG.js → docStore-7QNJWRJ2.js} +1 -1
  58. package/{docUpdateCommands-YUOV2EY6.js → docUpdateCommands-6DFWGPVG.js} +6 -6
  59. package/{handleSendMessageAction-N2OMO5G4.js → handleSendMessageAction-FCEFFAV4.js} +8 -8
  60. package/{hostCredentialCreate-7URAYDDW.js → hostCredentialCreate-YEWCAMZN.js} +18 -18
  61. package/index.js +3 -3
  62. package/{localRuntimeAdapter-N7UAZM2A.js → localRuntimeAdapter-Z22ZOZRY.js} +17 -17
  63. package/{machineCommands-37DP3W6M.js → machineCommands-PT5OJ36V.js} +18 -18
  64. package/{machineWsRunDispatch-MWJ3YPHO.js → machineWsRunDispatch-DQVNBSVE.js} +18 -18
  65. package/{mcpLocalAuthorizeCommand-TI656UWC.js → mcpLocalAuthorizeCommand-GO6AYT63.js} +1 -1
  66. package/package.json +1 -1
  67. package/{projectArchive-LP7LCMCR.js → projectArchive-4XUC5SLF.js} +4 -4
  68. package/{readlineWorkspace-VFI2DNJS.js → readlineWorkspace-7U5QM3OM.js} +24 -24
  69. package/{runAgentClientLoop-S5Y42KAZ.js → runAgentClientLoop-7D7UCAS2.js} +13 -13
  70. package/{spaceCommands-EKDIDAQD.js → spaceCommands-WCLD36WH.js} +6 -6
  71. package/{streamAgentChatTurn-IYNNLYI5.js → streamAgentChatTurn-DVTOINT3.js} +15 -15
  72. package/{tools-GIATFQW5.js → tools-BOPINT5S.js} +9 -9
  73. package/{updateDialogTitleAction-PQDJD35N.js → updateDialogTitleAction-S76PUCLQ.js} +3 -3
@@ -14,10 +14,10 @@ import {
14
14
  import {
15
15
  addContentToSpace,
16
16
  resolveCreationSpaceId
17
- } from "./chunk-E2U4I3NK.js";
17
+ } from "./chunk-X6LYQDN5.js";
18
18
  import {
19
19
  runtime_default
20
- } from "./chunk-P4HBFHQB.js";
20
+ } from "./chunk-YQO5UKHP.js";
21
21
  import {
22
22
  getCurrentSpaceId
23
23
  } from "./chunk-FFFKAOJN.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-E2U4I3NK.js";
3
+ } from "./chunk-X6LYQDN5.js";
4
4
  import {
5
5
  prepareAndPersistMessage
6
- } from "./chunk-P4HBFHQB.js";
6
+ } from "./chunk-YQO5UKHP.js";
7
7
  import {
8
8
  require_format
9
9
  } from "./chunk-BUDVRYES.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-DKOUQOJ7.js";
4
+ } from "./chunk-AXZ5DDLB.js";
5
5
  import {
6
6
  clipMultilineText
7
- } from "./chunk-DGHHJV3T.js";
7
+ } from "./chunk-PGDM7AM2.js";
8
8
  import {
9
9
  runLocalAgentTurn
10
- } from "./chunk-IQAO6IUP.js";
10
+ } from "./chunk-W4G25PVP.js";
11
11
  import {
12
12
  resolveLocalRuntimeEnvFromPolicy
13
13
  } from "./chunk-USGHJSGO.js";
@@ -62,7 +62,7 @@ import {
62
62
  hashStablePrefixContent,
63
63
  resolveResponseGuidelines,
64
64
  resolveToolGuidedSections
65
- } from "./chunk-VOWN2ZQI.js";
65
+ } from "./chunk-LXKK7QFI.js";
66
66
  import {
67
67
  BRIDGE_STREAM_MAX_CHARS,
68
68
  CLI_NOLO_WORKSPACE_TOOL_NAMES,
@@ -77,7 +77,7 @@ import {
77
77
  parseNoloWorkspaceToolArguments,
78
78
  readTextStreamUpToChars,
79
79
  resolveNoloDialogInput
80
- } from "./chunk-ITBX27W6.js";
80
+ } from "./chunk-CFDOIIOZ.js";
81
81
  import {
82
82
  classifyUnparsableToolArgs,
83
83
  collectStablePromptPrefix,
@@ -23858,7 +23858,7 @@ async function saveCliPendingUserMessages(args2) {
23858
23858
  if (ops.length) await args2.store.batch(ops);
23859
23859
  }
23860
23860
  async function readCliPendingUserMessages(store, dialogId) {
23861
- const { readDialogMessageRecords } = await import("./cliLocalAgentRecordReader-WUSV4VMI.js");
23861
+ const { readDialogMessageRecords } = await import("./cliLocalAgentRecordReader-R4CLUHYO.js");
23862
23862
  const rows = await readDialogMessageRecords({ store, dialogId });
23863
23863
  const uncertain = rows.filter(({ record: record2 }) => record2.metadata?.cliBatchPhase === "requested" && !record2.metadata?.cliBatchResolution);
23864
23864
  const recovery = uncertain.length ? {
@@ -8098,7 +8098,10 @@ function createMcpNetworkPolicy(options) {
8098
8098
  const url2 = urlOf(req ? req.url : String(input));
8099
8099
  const signal = AbortSignal.any([...init?.signal ?? req?.signal ? [init?.signal ?? req.signal] : [], AbortSignal.timeout(timeoutMs)]);
8100
8100
  signal?.throwIfAborted();
8101
- if (options.placement.kind === "server" && url2.protocol !== "https:") throw new Error("network_denied");
8101
+ const isExactOperatorLoopback = Boolean(
8102
+ options.allowOperatorLoopback && url2.origin === saved.origin && (saved.hostname === "127.0.0.1" || saved.hostname === "[::1]" || saved.hostname === "::1")
8103
+ );
8104
+ if (options.placement.kind === "server" && url2.protocol !== "https:" && !isExactOperatorLoopback) throw new Error("network_denied");
8102
8105
  const host = url2.hostname.replace(/^\[|\]$/g, "");
8103
8106
  const addresses = isIP(host) ? [{ address: host, family: isIP(host) }] : await new Promise((done, reject) => {
8104
8107
  const abort = () => reject(new Error(signal.reason?.name === "TimeoutError" ? "timeout" : "cancelled"));
@@ -8110,6 +8113,7 @@ function createMcpNetworkPolicy(options) {
8110
8113
  for (const entry of addresses) {
8111
8114
  if (entry.family !== isIP(entry.address) || !entry.family) throw new Error("network_denied");
8112
8115
  if (isMcpPublicAddress(entry.address)) continue;
8116
+ if (isExactOperatorLoopback && (entry.address === "127.0.0.1" || entry.address === "::1")) continue;
8113
8117
  const lan = new BlockList();
8114
8118
  for (const [ip, bits] of [["10.0.0.0", 8], ["127.0.0.0", 8], ["172.16.0.0", 12], ["192.168.0.0", 16]]) lan.addSubnet(ip, bits, "ipv4");
8115
8119
  lan.addAddress("::1", "ipv6");
@@ -33156,7 +33160,7 @@ function createMcpRemoteClient(deps) {
33156
33160
  if (c.schemaVersion !== 1) return fail2("unsupported_version");
33157
33161
  if (!sameMcpPlacement(c.placement, deps.placement)) return fail2("placement_unavailable");
33158
33162
  if (c.transport.kind !== "streamable-http") return fail2("placement_unavailable");
33159
- if (!c.enabled) return fail2("disabled");
33163
+ if (!c.enabled && !deps.discoverUnfiltered) return fail2("disabled");
33160
33164
  if (c.ownerUserId !== context.authenticatedUserId) return fail2("forbidden");
33161
33165
  if (context.signal.aborted) return fail2("cancelled");
33162
33166
  const timeout = AbortSignal.timeout(limits.timeoutMs);
@@ -33185,7 +33189,7 @@ function createMcpRemoteClient(deps) {
33185
33189
  if (!live.enabled) throw new Error("disabled");
33186
33190
  if (live.revision !== c.revision) throw new Error("revision_conflict");
33187
33191
  if (!permitsMcpRead(live, message.params?.name, message.params?.arguments ?? {})) throw new Error("forbidden");
33188
- }, placement: deps.placement, savedEndpoint: endpoint, resolve: deps.resolveDns, timeoutMs: limits.timeoutMs, maxResponseBytes: limits.maxResponseBytes });
33192
+ }, placement: deps.placement, savedEndpoint: endpoint, resolve: deps.resolveDns, allowOperatorLoopback: deps.allowOperatorLoopback, timeoutMs: limits.timeoutMs, maxResponseBytes: limits.maxResponseBytes });
33189
33193
  let networkError;
33190
33194
  const fetch2 = async (input, init) => {
33191
33195
  try {
@@ -33256,9 +33260,11 @@ function createMcpRemoteClient(deps) {
33256
33260
  for (const tool of result.tools) {
33257
33261
  if (!tool.name || tool.name.length > 256 || names.has(tool.name)) throw new Error("untrusted_schema");
33258
33262
  names.add(tool.name);
33259
- if (!permitsMcpRead(context.connection, tool.name)) continue;
33260
- validator.getValidator(tool.inputSchema);
33261
- if (tool.outputSchema) validator.getValidator(tool.outputSchema);
33263
+ if (!deps.discoverUnfiltered) {
33264
+ if (!permitsMcpRead(context.connection, tool.name)) continue;
33265
+ validator.getValidator(tool.inputSchema);
33266
+ if (tool.outputSchema) validator.getValidator(tool.outputSchema);
33267
+ }
33262
33268
  tools.push({ name: tool.name, ...tool.description !== void 0 ? { description: tool.description } : {}, inputSchema: tool.inputSchema, ...tool.outputSchema !== void 0 ? { outputSchema: tool.outputSchema } : {}, ...tool.annotations !== void 0 ? { annotations: tool.annotations } : {} });
33263
33269
  if (tools.length > limits.maxTools) throw new Error("limit_exceeded");
33264
33270
  }
@@ -33299,6 +33305,7 @@ function createMcpRemoteClient(deps) {
33299
33305
  });
33300
33306
  },
33301
33307
  async callTool(context, input) {
33308
+ if (deps.discoverUnfiltered) return fail2("forbidden");
33302
33309
  const parsed = parseMcpCallToolInput(input);
33303
33310
  if (!parsed.ok) return parsed;
33304
33311
  input = parsed.value;
@@ -2,7 +2,7 @@ import {
2
2
  deleteDialog,
3
3
  runtime_default,
4
4
  toast
5
- } from "./chunk-P4HBFHQB.js";
5
+ } from "./chunk-YQO5UKHP.js";
6
6
  import {
7
7
  getAllMemberSpaces,
8
8
  getCurrentSpaceId,
@@ -2,7 +2,7 @@ import {
2
2
  clipMultilineText,
3
3
  fetchAndSerializeTable,
4
4
  waitForAbortableDelay
5
- } from "./chunk-DGHHJV3T.js";
5
+ } from "./chunk-PGDM7AM2.js";
6
6
  import {
7
7
  isGatewayHttpStatus
8
8
  } from "./chunk-NF64D32W.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-AGIM7IMJ.js";
16
16
  import {
17
17
  fetchAndCacheMessages
18
- } from "./chunk-P4HBFHQB.js";
18
+ } from "./chunk-YQO5UKHP.js";
19
19
  import {
20
20
  createSpaceKey
21
21
  } from "./chunk-UAD2WT54.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-523DITKR.js";
11
11
  import {
12
12
  runLlm
13
- } from "./chunk-RJSITWNF.js";
13
+ } from "./chunk-AKWA6PCE.js";
14
14
  import {
15
15
  cleanupCliSessionForDialog
16
16
  } from "./chunk-ARFCL53U.js";
@@ -14680,7 +14680,7 @@ var messageSlice = createSliceWithThunks({
14680
14680
  runtimeOptions: args.runtimeOptions
14681
14681
  });
14682
14682
  if (agentKeyToUse) {
14683
- const { streamAgentChatTurn } = await import("./agentSlice-CF3SO4QW.js");
14683
+ const { streamAgentChatTurn } = await import("./agentSlice-FWYXP332.js");
14684
14684
  await dispatch(
14685
14685
  streamAgentChatTurn({
14686
14686
  agentKey: agentKeyToUse,
@@ -15826,7 +15826,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
15826
15826
  }
15827
15827
  if (isCurrentDialog) {
15828
15828
  await thunkApi.dispatch(resetMsgs());
15829
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-CTSI7MTT.js");
15829
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-63DD2ER2.js");
15830
15830
  dispatch(clearPendingAttachments2());
15831
15831
  }
15832
15832
  return { dialogKey, isCurrentDialog, attachmentPlan };
@@ -15834,15 +15834,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
15834
15834
 
15835
15835
  // packages/chat/dialog/dialogSlice.ts
15836
15836
  var runCreateDialogAction = async (args, thunkApi) => {
15837
- const { createDialogAction } = await import("./createDialogAction-IASHJN3H.js");
15837
+ const { createDialogAction } = await import("./createDialogAction-JDSMQ34U.js");
15838
15838
  return createDialogAction(args, thunkApi);
15839
15839
  };
15840
15840
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
15841
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-NUIQOIOW.js");
15841
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-RQE4F6PR.js");
15842
15842
  return createAgentAutomationAction(args, thunkApi);
15843
15843
  };
15844
15844
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
15845
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-PQDJD35N.js");
15845
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-S76PUCLQ.js");
15846
15846
  return updateDialogTitleAction(args, thunkApi);
15847
15847
  };
15848
15848
  var runAddDialogAgentAction = async (args, thunkApi) => {
@@ -15866,7 +15866,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
15866
15866
  return setDialogExtraReferencesAction(args, thunkApi);
15867
15867
  };
15868
15868
  var runHandleSendMessageAction = async (args, thunkApi) => {
15869
- const { handleSendMessageAction } = await import("./handleSendMessageAction-N2OMO5G4.js");
15869
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-FCEFFAV4.js");
15870
15870
  return handleSendMessageAction(args, thunkApi);
15871
15871
  };
15872
15872
  function clearDialogState() {
@@ -15879,7 +15879,7 @@ var createPageAndAddReference = createAsyncThunk(
15879
15879
  async (payload, { dispatch, getState, rejectWithValue }) => {
15880
15880
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
15881
15881
  try {
15882
- const { createDocState } = await import("./docStore-6WBQOAXG.js");
15882
+ const { createDocState } = await import("./docStore-7QNJWRJ2.js");
15883
15883
  const pageKey = await createDocState(
15884
15884
  { slateData, title },
15885
15885
  { dispatch, getState }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildAgentRuntimeAgentLookupKeys,
3
3
  shouldFetchAgentRuntimeRecordRemotely
4
- } from "./chunk-ITBX27W6.js";
4
+ } from "./chunk-CFDOIIOZ.js";
5
5
 
6
6
  // packages/cli/client/localAgentRecords.ts
7
7
  var buildLocalAgentLookupKeys = buildAgentRuntimeAgentLookupKeys;
@@ -335,7 +335,7 @@ async function saveDocState(arg, { dispatch, getState }) {
335
335
  ).unwrap();
336
336
  if (dbSpaceId) {
337
337
  try {
338
- const { updateContentTitle } = await import("./contentThunks-WF73YCYA.js");
338
+ const { updateContentTitle } = await import("./contentThunks-ZQSZA4GH.js");
339
339
  await dispatch(
340
340
  updateContentTitle({
341
341
  spaceId: dbSpaceId,
@@ -378,7 +378,7 @@ async function saveDocState(arg, { dispatch, getState }) {
378
378
  }
379
379
  }
380
380
  async function createDocState(args, thunkApi) {
381
- const { createPageAction } = await import("./createPageAction-7YDRLGGF.js");
381
+ const { createPageAction } = await import("./createPageAction-VLF6XCYO.js");
382
382
  return createPageAction(args, thunkApi);
383
383
  }
384
384
  function subscribe(listener) {
@@ -3,11 +3,11 @@ import {
3
3
  readDialogMessageRecords,
4
4
  readDialogMessages,
5
5
  resolveBuiltinLocalCliAgentConfig
6
- } from "./chunk-OP7UDCGP.js";
6
+ } from "./chunk-HEIIOJGN.js";
7
7
  import "./chunk-MZVCFV3T.js";
8
8
  import "./chunk-JP2BH4NC.js";
9
- import "./chunk-IJZC2KIJ.js";
10
- import "./chunk-IQAO6IUP.js";
9
+ import "./chunk-Z7A2ZQ5X.js";
10
+ import "./chunk-W4G25PVP.js";
11
11
  import "./chunk-LHCGKAFO.js";
12
12
  import "./chunk-ZNFJWEN4.js";
13
13
  import "./chunk-MYYNZG2M.js";
@@ -19,8 +19,8 @@ import "./chunk-CHOZJMJS.js";
19
19
  import "./chunk-WMKA2DPK.js";
20
20
  import "./chunk-2FK2KZSL.js";
21
21
  import "./chunk-56GBUMO5.js";
22
- import "./chunk-VOWN2ZQI.js";
23
- import "./chunk-ITBX27W6.js";
22
+ import "./chunk-LXKK7QFI.js";
23
+ import "./chunk-CFDOIIOZ.js";
24
24
  import "./chunk-KXOPLLFP.js";
25
25
  import "./chunk-QJTZ76CP.js";
26
26
  import "./chunk-W3HSD32M.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-MRDX6DL6.js");
115
+ const { runAgentRunCommand } = await import("./agentRunCommand-336PXBRJ.js");
116
116
  return runAgentRunCommand(args, {
117
117
  env: ctx.env,
118
118
  scriptDir: ctx.scriptDir,
@@ -124,11 +124,11 @@ function getAgentInternalCommandEntries() {
124
124
  createAgentRunCommand(["run"], "Run a no-login local agent in this workspace"),
125
125
  createAgentRunCommand(["chat"], "Chat with an agent"),
126
126
  createEnvCommand(["agent", "list"], "List owned agents", async (args, deps) => {
127
- const { runAgentListCommand } = await import("./agentListCommands-ZJAHAV33.js");
127
+ const { runAgentListCommand } = await import("./agentListCommands-5ULWKQ3E.js");
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-NWKL4YUG.js");
131
+ const { runAgentCreateCommand } = await import("./agentRecordCommands-EKANS3A5.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-NWKL4YUG.js");
147
+ const { runAgentReadCommand } = await import("./agentRecordCommands-EKANS3A5.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-NWKL4YUG.js");
180
+ const { runAgentUpdateCommand } = await import("./agentRecordCommands-EKANS3A5.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-IWRTGO7J.js");
184
+ const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-T4PAJ4KG.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-IWRTGO7J.js");
188
+ const { runAgentEmailBindCommand } = await import("./agentEmailCommands-T4PAJ4KG.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-IWRTGO7J.js");
192
+ const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-T4PAJ4KG.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-IWRTGO7J.js");
199
+ const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-T4PAJ4KG.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-B7XG4QD5.js");
204
+ const { runAgentDeleteCommand } = await import("./agentDeleteCommand-DBCRHB4S.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-ACOBJR4U.js");
224
+ const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-65QUOCEY.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-ACOBJR4U.js");
228
+ const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-65QUOCEY.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-ACOBJR4U.js");
232
+ const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-65QUOCEY.js");
233
233
  return runAgentRuntimeDoctorCommand(args, deps);
234
234
  }),
235
235
  createAgentRunCommand(["agent", "chat"], "Chat with an agent")
@@ -240,23 +240,23 @@ function getAgentInternalCommandEntries() {
240
240
  function getAppInternalCommandEntries() {
241
241
  return [
242
242
  createEnvCommand(["app", "list"], "List your apps", async (args, deps) => {
243
- const { runAppListCommand } = await import("./appListCommands-EYM6PLZM.js");
243
+ const { runAppListCommand } = await import("./appListCommands-4RXCIDNI.js");
244
244
  return runAppListCommand(args, deps);
245
245
  }),
246
246
  createEnvCommand(["app", "get"], "Get app details", async (args, deps) => {
247
- const { runAppGetCommand } = await import("./appGetCommands-4MWH3GB7.js");
247
+ const { runAppGetCommand } = await import("./appGetCommands-G7XYYSFO.js");
248
248
  return runAppGetCommand(args, deps);
249
249
  }),
250
250
  createEnvCommand(["app", "deploy"], "Deploy an app", async (args, deps) => {
251
- const { runAppDeployCommand } = await import("./appDeployCommands-CZOP3X47.js");
251
+ const { runAppDeployCommand } = await import("./appDeployCommands-LUV6QKQJ.js");
252
252
  return runAppDeployCommand(args, deps);
253
253
  }),
254
254
  createEnvCommand(["app", "deploy", "status"], "Check app deploy status", async (args, deps) => {
255
- const { runAppDeployStatusCommand } = await import("./appDeployStatusCommands-T4QEGCMV.js");
255
+ const { runAppDeployStatusCommand } = await import("./appDeployStatusCommands-WW7IYQD4.js");
256
256
  return runAppDeployStatusCommand(args, deps);
257
257
  }),
258
258
  createEnvCommand(["app", "delete"], "Delete an app", async (args, deps) => {
259
- const { runAppDeleteCommand } = await import("./appDeleteCommands-6ML7IZWP.js");
259
+ const { runAppDeleteCommand } = await import("./appDeleteCommands-ERJK367V.js");
260
260
  return runAppDeleteCommand(args, deps);
261
261
  })
262
262
  ];
@@ -421,23 +421,23 @@ function getCiInternalCommandEntries() {
421
421
  function getDialogInternalCommandEntries() {
422
422
  return [
423
423
  createEnvCommand(["dialog", "search"], "Search dialog messages across dialogs", async (args, deps) => {
424
- const { runDialogSearchCommand } = await import("./dialogCommands-E4KH23LG.js");
424
+ const { runDialogSearchCommand } = await import("./dialogCommands-PLM7ZFWH.js");
425
425
  return runDialogSearchCommand(args, deps);
426
426
  }),
427
427
  createEnvCommand(["dialog", "list"], "List dialogs (default --limit 50; --all/--limit 0 full; --jsonl streams)", async (args, deps) => {
428
- const { runDialogListCommand } = await import("./dialogCommands-E4KH23LG.js");
428
+ const { runDialogListCommand } = await import("./dialogCommands-PLM7ZFWH.js");
429
429
  return runDialogListCommand(args, deps);
430
430
  }),
431
431
  createEnvCommand(["dialog", "delete"], "Delete one or more dialogs", async (args, deps) => {
432
- const { runDialogDeleteCommand } = await import("./dialogCommands-E4KH23LG.js");
432
+ const { runDialogDeleteCommand } = await import("./dialogCommands-PLM7ZFWH.js");
433
433
  return runDialogDeleteCommand(args, deps);
434
434
  }),
435
435
  createEnvCommand(["dialog", "query"], "Query dialogs by subject refs (default --limit 50; --all full; --jsonl streams)", async (args, deps) => {
436
- const { runDialogQueryCommand } = await import("./dialogCommands-E4KH23LG.js");
436
+ const { runDialogQueryCommand } = await import("./dialogCommands-PLM7ZFWH.js");
437
437
  return runDialogQueryCommand(args, deps);
438
438
  }),
439
439
  createEnvCommand(["dialog", "read"], "Read a dialog", async (args, deps) => {
440
- const { runDialogReadCommand } = await import("./dialogCommands-E4KH23LG.js");
440
+ const { runDialogReadCommand } = await import("./dialogCommands-PLM7ZFWH.js");
441
441
  return runDialogReadCommand(args, deps);
442
442
  }),
443
443
  createEnvCommand(["dialog", "notify"], "Deliver a notification into a live CLI dialog's existing queue (--message/--file, --idempotency-key; --status for the receipt)", async (args, deps) => {
@@ -445,7 +445,7 @@ function getDialogInternalCommandEntries() {
445
445
  return runDialogNotifyCommand(args, deps);
446
446
  }),
447
447
  createEnvCommand(["dialog", "status"], "Read compact dialog status", async (args, deps) => {
448
- const { runDialogStatusCommand } = await import("./dialogCommands-E4KH23LG.js");
448
+ const { runDialogStatusCommand } = await import("./dialogCommands-PLM7ZFWH.js");
449
449
  return runDialogStatusCommand(args, deps);
450
450
  })
451
451
  ];
@@ -455,39 +455,39 @@ function getDialogInternalCommandEntries() {
455
455
  function getDocInternalCommandEntries() {
456
456
  return [
457
457
  createEnvCommand(["doc", "create"], "Create a normal doc", async (args, deps) => {
458
- const { runDocCreateCommand } = await import("./docCreateCommands-3OVVJQ5T.js");
458
+ const { runDocCreateCommand } = await import("./docCreateCommands-BST5DO7L.js");
459
459
  return runDocCreateCommand(args, deps);
460
460
  }),
461
461
  createEnvCommand(["doc", "read"], "Read a normal doc", async (args, deps) => {
462
- const { runDocReadCommand } = await import("./docReadCommands-DRKAOI4S.js");
462
+ const { runDocReadCommand } = await import("./docReadCommands-M6T35U3G.js");
463
463
  return runDocReadCommand(args, deps);
464
464
  }),
465
465
  createEnvCommand(["doc", "update"], "Update a normal doc", async (args, deps) => {
466
- const { runDocUpdateCommand } = await import("./docUpdateCommands-YUOV2EY6.js");
466
+ const { runDocUpdateCommand } = await import("./docUpdateCommands-6DFWGPVG.js");
467
467
  return runDocUpdateCommand(args, deps);
468
468
  }),
469
469
  createEnvCommand(["doc", "delete"], "Delete a normal doc", async (args, deps) => {
470
- const { runDocDeleteCommand } = await import("./docDeleteCommands-ZY3YVAKQ.js");
470
+ const { runDocDeleteCommand } = await import("./docDeleteCommands-YE6G2SO4.js");
471
471
  return runDocDeleteCommand(args, deps);
472
472
  }),
473
473
  createEnvCommand(["skill-doc", "create"], "Create a skill-backed doc", async (args, deps) => {
474
- const { runSkillDocCreateCommand } = await import("./docCreateCommands-3OVVJQ5T.js");
474
+ const { runSkillDocCreateCommand } = await import("./docCreateCommands-BST5DO7L.js");
475
475
  return runSkillDocCreateCommand(args, deps);
476
476
  }),
477
477
  createEnvCommand(["skill", "create-doc"], "Create a skill-backed doc", async (args, deps) => {
478
- const { runSkillDocCreateCommand } = await import("./docCreateCommands-3OVVJQ5T.js");
478
+ const { runSkillDocCreateCommand } = await import("./docCreateCommands-BST5DO7L.js");
479
479
  return runSkillDocCreateCommand(args, deps);
480
480
  }),
481
481
  createEnvCommand(["skill-doc", "read"], "Read a skill doc", async (args, deps) => {
482
- const { runSkillDocReadCommand } = await import("./docReadCommands-DRKAOI4S.js");
482
+ const { runSkillDocReadCommand } = await import("./docReadCommands-M6T35U3G.js");
483
483
  return runSkillDocReadCommand(args, deps);
484
484
  }),
485
485
  createEnvCommand(["skill-doc", "update"], "Update a skill doc", async (args, deps) => {
486
- const { runSkillDocUpdateCommand } = await import("./docUpdateCommands-YUOV2EY6.js");
486
+ const { runSkillDocUpdateCommand } = await import("./docUpdateCommands-6DFWGPVG.js");
487
487
  return runSkillDocUpdateCommand(args, deps);
488
488
  }),
489
489
  createEnvCommand(["skill-doc", "delete"], "Delete a skill doc", async (args, deps) => {
490
- const { runSkillDocDeleteCommand } = await import("./docDeleteCommands-ZY3YVAKQ.js");
490
+ const { runSkillDocDeleteCommand } = await import("./docDeleteCommands-YE6G2SO4.js");
491
491
  return runSkillDocDeleteCommand(args, deps);
492
492
  })
493
493
  ];
@@ -515,19 +515,19 @@ function getMemoryInternalCommandEntries() {
515
515
  function getSpaceInternalCommandEntries() {
516
516
  return [
517
517
  createEnvCommand(["space", "create"], "Create a space", async (args, deps) => {
518
- const { runSpaceCreateCommand } = await import("./spaceCommands-EKDIDAQD.js");
518
+ const { runSpaceCreateCommand } = await import("./spaceCommands-WCLD36WH.js");
519
519
  return runSpaceCreateCommand(args, deps);
520
520
  }),
521
521
  createEnvCommand(["space", "invite"], "Invite an existing user to a space", async (args, deps) => {
522
- const { runSpaceInviteCommand } = await import("./spaceCommands-EKDIDAQD.js");
522
+ const { runSpaceInviteCommand } = await import("./spaceCommands-WCLD36WH.js");
523
523
  return runSpaceInviteCommand(args, deps);
524
524
  }),
525
525
  createEnvCommand(["space", "accept-invite"], "Accept a space invite", async (args, deps) => {
526
- const { runSpaceAcceptInviteCommand } = await import("./spaceCommands-EKDIDAQD.js");
526
+ const { runSpaceAcceptInviteCommand } = await import("./spaceCommands-WCLD36WH.js");
527
527
  return runSpaceAcceptInviteCommand(args, deps);
528
528
  }),
529
529
  createEnvCommand(["space", "upload"], "Upload a file to a space", async (args, deps) => {
530
- const { runSpaceUploadCommand } = await import("./spaceCommands-EKDIDAQD.js");
530
+ const { runSpaceUploadCommand } = await import("./spaceCommands-WCLD36WH.js");
531
531
  return runSpaceUploadCommand(args, deps);
532
532
  })
533
533
  ];
@@ -537,7 +537,7 @@ function getSpaceInternalCommandEntries() {
537
537
  function getSystemInternalCommandEntries(renderHelpText2) {
538
538
  return [
539
539
  createContextCommand(["mcp", "local", "authorize"], "Authorize a local HTTP MCP connection (explicit registration only)", async (args, ctx) => {
540
- const { runMcpLocalAuthorizeCommand } = await import("./mcpLocalAuthorizeCommand-TI656UWC.js");
540
+ const { runMcpLocalAuthorizeCommand } = await import("./mcpLocalAuthorizeCommand-GO6AYT63.js");
541
541
  return runMcpLocalAuthorizeCommand(args, ctx.env);
542
542
  }),
543
543
  createContextCommand(["dialog", "usage"], "Show dialog tokens, recorded duration and speed by basis", async (args, ctx) => {
@@ -593,15 +593,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
593
593
  return runWhoamiCommand({ args, env: ctx.env });
594
594
  }),
595
595
  createEntrypointEnvCommand(["connect"], "Hold a connector websocket for this machine", async (args, deps) => {
596
- const { runMachineConnectCommand } = await import("./machineCommands-37DP3W6M.js");
596
+ const { runMachineConnectCommand } = await import("./machineCommands-PT5OJ36V.js");
597
597
  return runMachineConnectCommand(args, deps);
598
598
  }),
599
599
  createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
600
- const { runMachineConnectCommand } = await import("./machineCommands-37DP3W6M.js");
600
+ const { runMachineConnectCommand } = await import("./machineCommands-PT5OJ36V.js");
601
601
  return runMachineConnectCommand(args, deps);
602
602
  }),
603
603
  createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
604
- const { runMachineStatusCommand } = await import("./machineCommands-37DP3W6M.js");
604
+ const { runMachineStatusCommand } = await import("./machineCommands-PT5OJ36V.js");
605
605
  return runMachineStatusCommand(args, deps);
606
606
  }),
607
607
  createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
@@ -9,12 +9,12 @@ import {
9
9
  updateContentPinned,
10
10
  updateContentTitle,
11
11
  uploadAndAddFileToSpace
12
- } from "./chunk-E2U4I3NK.js";
13
- import "./chunk-P4HBFHQB.js";
12
+ } from "./chunk-X6LYQDN5.js";
13
+ import "./chunk-YQO5UKHP.js";
14
14
  import "./chunk-TZXPT53C.js";
15
15
  import "./chunk-BUDVRYES.js";
16
16
  import "./chunk-523DITKR.js";
17
- import "./chunk-RJSITWNF.js";
17
+ import "./chunk-AKWA6PCE.js";
18
18
  import "./chunk-FFFKAOJN.js";
19
19
  import "./chunk-BYXBJQAS.js";
20
20
  import "./chunk-ARFCL53U.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-E2U4I3NK.js";
4
- import "./chunk-P4HBFHQB.js";
3
+ } from "./chunk-X6LYQDN5.js";
4
+ import "./chunk-YQO5UKHP.js";
5
5
  import "./chunk-TZXPT53C.js";
6
6
  import "./chunk-BUDVRYES.js";
7
7
  import "./chunk-523DITKR.js";
8
- import "./chunk-RJSITWNF.js";
8
+ import "./chunk-AKWA6PCE.js";
9
9
  import "./chunk-FFFKAOJN.js";
10
10
  import "./chunk-BYXBJQAS.js";
11
11
  import "./chunk-ARFCL53U.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createDialogAction,
3
3
  isLocalOwnerDialogAgents
4
- } from "./chunk-FNB2XPBD.js";
5
- import "./chunk-E2U4I3NK.js";
6
- import "./chunk-P4HBFHQB.js";
4
+ } from "./chunk-VHMPJGT4.js";
5
+ import "./chunk-X6LYQDN5.js";
6
+ import "./chunk-YQO5UKHP.js";
7
7
  import "./chunk-TZXPT53C.js";
8
8
  import "./chunk-BUDVRYES.js";
9
9
  import "./chunk-523DITKR.js";
10
- import "./chunk-RJSITWNF.js";
10
+ import "./chunk-AKWA6PCE.js";
11
11
  import "./chunk-FFFKAOJN.js";
12
12
  import "./chunk-BYXBJQAS.js";
13
13
  import "./chunk-ARFCL53U.js";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  createPageAction
3
- } from "./chunk-JRKQT7ST.js";
3
+ } from "./chunk-U7OMQLRE.js";
4
4
  import "./chunk-VIYVRPMJ.js";
5
5
  import "./chunk-VF4K2QE6.js";
6
6
  import "./chunk-AGIM7IMJ.js";
7
7
  import "./chunk-63W5N6P3.js";
8
- import "./chunk-E2U4I3NK.js";
9
- import "./chunk-P4HBFHQB.js";
8
+ import "./chunk-X6LYQDN5.js";
9
+ import "./chunk-YQO5UKHP.js";
10
10
  import "./chunk-TZXPT53C.js";
11
11
  import "./chunk-BUDVRYES.js";
12
12
  import "./chunk-523DITKR.js";
13
- import "./chunk-RJSITWNF.js";
13
+ import "./chunk-AKWA6PCE.js";
14
14
  import "./chunk-FFFKAOJN.js";
15
15
  import "./chunk-BYXBJQAS.js";
16
16
  import "./chunk-ARFCL53U.js";