nolo-cli 0.110.0-alpha.1 → 0.112.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 (62) hide show
  1. package/{_executeModel-OXVCJ2BM.js → _executeModel-S7OU2QIO.js} +13 -13
  2. package/{agentDeleteCommand-QJAHAZ4T.js → agentDeleteCommand-XWLL2PMB.js} +6 -6
  3. package/{agentEmailCommands-3SCPUF33.js → agentEmailCommands-PNEZCF6T.js} +15 -15
  4. package/{agentListCommands-QXGSCIV4.js → agentListCommands-MQVMQVOE.js} +17 -10
  5. package/{agentMachineCommands-E4NUTGI6.js → agentMachineCommands-SIVJRNKN.js} +6 -6
  6. package/{agentRecordCommands-OMWI6OH5.js → agentRecordCommands-6POMYCA7.js} +15 -15
  7. package/{agentRunCommand-WE72RU4J.js → agentRunCommand-A5JN2A55.js} +15 -15
  8. package/{agentRuntimeLocal-7MO5IJV6.js → agentRuntimeLocal-73R544NQ.js} +3 -3
  9. package/{agentSlice-5H7MTCE7.js → agentSlice-UTLXHAFW.js} +1 -1
  10. package/{appDeleteCommands-UQ5YMNLP.js → appDeleteCommands-WOSWEWOC.js} +7 -7
  11. package/{appDeployCommands-QX6BL5XL.js → appDeployCommands-KSOWMHCG.js} +7 -7
  12. package/{appDeployStatusCommands-QHQVLR3J.js → appDeployStatusCommands-JCMJMYK4.js} +7 -7
  13. package/{appGetCommands-GY4NGSF4.js → appGetCommands-7LIJCRZ3.js} +7 -7
  14. package/{appListCommands-IZCYPSKI.js → appListCommands-T4JTSWDD.js} +7 -7
  15. package/{chatQueueReduxAdapter-LO7EUBKJ.js → chatQueueReduxAdapter-LXYPUM6T.js} +2 -2
  16. package/{chunk-Z77CRGTW.js → chunk-3AMA42ZI.js} +1 -1
  17. package/{chunk-IQPFGYO3.js → chunk-3YIAR5UI.js} +1 -1
  18. package/{chunk-LXATDEM7.js → chunk-4RMFGFRH.js} +3 -3
  19. package/{chunk-3OD2OTTR.js → chunk-5PJTI4EP.js} +1 -1
  20. package/{chunk-CQ5TTXPU.js → chunk-6S3QIHMN.js} +5 -5
  21. package/{chunk-2OASQKU2.js → chunk-CWQINZEA.js} +112 -2
  22. package/{chunk-2KNZCY53.js → chunk-FBFEKY73.js} +7 -7
  23. package/{chunk-PHXD6JTX.js → chunk-FKNWP6SG.js} +1 -1
  24. package/{chunk-MRIHM22T.js → chunk-FORUBDQQ.js} +1 -1
  25. package/{chunk-APB6ES6B.js → chunk-FZK3Z2MJ.js} +1 -1
  26. package/{chunk-KZJP33ZK.js → chunk-HAFJ3NDE.js} +2 -2
  27. package/{chunk-IIVGDG4I.js → chunk-HCT7U36O.js} +3 -0
  28. package/{chunk-HSSRGGXJ.js → chunk-K36IXSCQ.js} +1 -1
  29. package/{chunk-PBF2K4ER.js → chunk-K4A446HZ.js} +2 -2
  30. package/{chunk-DGE5HEGA.js → chunk-L322LGOM.js} +2 -2
  31. package/{chunk-L6LNO27F.js → chunk-L4KM22WM.js} +10 -9
  32. package/{chunk-QHYC7W2Y.js → chunk-NJBXVHED.js} +2 -2
  33. package/{chunk-LWKP7AWH.js → chunk-QSHEEA5N.js} +1 -1
  34. package/{chunk-HQTMPHIS.js → chunk-TDGDSTGC.js} +29 -107
  35. package/{chunk-XA6KE2HD.js → chunk-WKWF4RJH.js} +8 -8
  36. package/{chunk-AODJ7WSF.js → chunk-WP5UXDA5.js} +4 -3
  37. package/{chunk-HLKK4S6U.js → chunk-WTDSXQIV.js} +2 -2
  38. package/{chunk-TJOYV65D.js → chunk-XRTLTE4O.js} +4 -4
  39. package/{chunk-HWGNS46C.js → chunk-YP7H6FE4.js} +4 -4
  40. package/{chunk-QPPZN3AA.js → chunk-YYYAN2NH.js} +2 -2
  41. package/{contentThunks-L4UB5RXR.js → contentThunks-BKHGW5JF.js} +3 -3
  42. package/{createAgentAutomationAction-FOXQWOJQ.js → createAgentAutomationAction-5VG5HN7Z.js} +3 -3
  43. package/{createDialogAction-YRAHHXWR.js → createDialogAction-MA7HM3BD.js} +4 -4
  44. package/{createPageAction-MVFMLE3N.js → createPageAction-G7IYJMTT.js} +3 -3
  45. package/{dialogCommands-HSLLNN4Y.js → dialogCommands-2PEE34TR.js} +7 -7
  46. package/{dialogSlice-VI4GR4PA.js → dialogSlice-ORVLG3AA.js} +2 -2
  47. package/{docCreateCommands-I2Y4IR2O.js → docCreateCommands-PZHUUFTX.js} +6 -6
  48. package/{docDeleteCommands-TLRPJXQ6.js → docDeleteCommands-CEWIA4CQ.js} +7 -7
  49. package/{docReadCommands-6AKGK2LU.js → docReadCommands-4TVEX6ZD.js} +6 -6
  50. package/{docStore-X75VCYIF.js → docStore-JFRTM66X.js} +1 -1
  51. package/{docUpdateCommands-54AZTMMH.js → docUpdateCommands-TW3PHXLY.js} +6 -6
  52. package/{handleSendMessageAction-E3B2YV3N.js → handleSendMessageAction-GALALRRM.js} +2 -2
  53. package/index.js +41 -41
  54. package/{machineCommands-MGVJGN3N.js → machineCommands-SLKZBMRB.js} +14 -14
  55. package/{machineWsRunDispatch-AHRZCOIG.js → machineWsRunDispatch-4JISAOO2.js} +14 -14
  56. package/package.json +1 -1
  57. package/{readlineWorkspace-5GEDEDMU.js → readlineWorkspace-6USXFY6R.js} +18 -18
  58. package/{runAgentClientLoop-O4EDXPBJ.js → runAgentClientLoop-6DAWYFWZ.js} +11 -11
  59. package/{spaceCommands-ESJCQ5UY.js → spaceCommands-7Y5AUMLD.js} +6 -6
  60. package/{streamAgentChatTurn-OBSA4Z6K.js → streamAgentChatTurn-T7B7IVHX.js} +12 -12
  61. package/{tools-XBU2MRGG.js → tools-CGRUHWCA.js} +8 -8
  62. package/{updateDialogTitleAction-DATQ2KIC.js → updateDialogTitleAction-QMSKYS55.js} +3 -3
@@ -23,13 +23,10 @@ import {
23
23
  resolveRunLabel
24
24
  } from "./chunk-3VNWWVKB.js";
25
25
  import {
26
- omitNullishAgentSummaryFields,
27
- sortSafeAgentSummaries,
28
- summarizeCredentialGroups,
29
- toCompactAgentSummary,
30
- toSafeAgentSummary,
31
- toUnavailableAgentSummary
32
- } from "./chunk-2OASQKU2.js";
26
+ buildAgentDiscoveryResult,
27
+ resolveDiscoveryScope,
28
+ toSafeAgentSummary
29
+ } from "./chunk-CWQINZEA.js";
33
30
  import {
34
31
  getUserDataItemTimestamp,
35
32
  mergeAndDedupUserData
@@ -81,10 +78,10 @@ import {
81
78
  } from "./chunk-VF4K2QE6.js";
82
79
  import {
83
80
  createDocState
84
- } from "./chunk-HLKK4S6U.js";
81
+ } from "./chunk-WTDSXQIV.js";
85
82
  import {
86
83
  createDialogAction
87
- } from "./chunk-QPPZN3AA.js";
84
+ } from "./chunk-YYYAN2NH.js";
88
85
  import {
89
86
  DEFAULT_COLLAPSED_CATEGORIES,
90
87
  addContentToSpace,
@@ -102,7 +99,7 @@ import {
102
99
  updateContentCategory,
103
100
  updateContentTitle,
104
101
  writeStoredCollapsedCategories
105
- } from "./chunk-APB6ES6B.js";
102
+ } from "./chunk-FZK3Z2MJ.js";
106
103
  import {
107
104
  getCurrentSpaceId,
108
105
  getCurrentSpaceIdRaw,
@@ -124,14 +121,14 @@ import {
124
121
  selectMsgById,
125
122
  uiAskChoiceFunc,
126
123
  uiAskChoiceFunctionSchema
127
- } from "./chunk-XA6KE2HD.js";
124
+ } from "./chunk-WKWF4RJH.js";
128
125
  import {
129
126
  createAgent,
130
127
  deleteServerSyncedCredential,
131
128
  runLlm,
132
129
  streamAgentChatTurn,
133
130
  updateAgent
134
- } from "./chunk-LXATDEM7.js";
131
+ } from "./chunk-4RMFGFRH.js";
135
132
  import {
136
133
  getActiveDialogKey,
137
134
  selectCurrentDialogKey,
@@ -173,10 +170,7 @@ import {
173
170
  redactAgentRecordForWorkspaceTool,
174
171
  resolveNoloDialogInput,
175
172
  verifyNoloDialogSubjectRefQuery
176
- } from "./chunk-IIVGDG4I.js";
177
- import {
178
- isAgentUnavailableNow
179
- } from "./chunk-FDTR4QJ6.js";
173
+ } from "./chunk-HCT7U36O.js";
180
174
  import {
181
175
  buildDatabaseFileContentUrl
182
176
  } from "./chunk-P5EVSOPA.js";
@@ -3494,92 +3488,6 @@ async function listUserSpacesFunc(args, thunkApi, context) {
3494
3488
  }
3495
3489
  }
3496
3490
 
3497
- // packages/ai/agent/agentDiscovery.ts
3498
- function isPreferredAgent(agent) {
3499
- return agent.isFavorite === true || agent.isOwned === true || agent.isOAuth === true || agent.billingSource === "user_subscription" || agent.billingSource === "user_api" || agent.billingSource === "local";
3500
- }
3501
- function isPublicDiscoveryAgent(agent) {
3502
- return agent.isPublic === true && !isPreferredAgent(agent);
3503
- }
3504
- function resolveDiscoveryScope(args) {
3505
- const rawScope = typeof args?.scope === "string" ? args.scope.trim().toLowerCase() : void 0;
3506
- const hasScope = rawScope !== void 0 && rawScope !== "";
3507
- const hasPublicOnly = typeof args?.publicOnly === "boolean";
3508
- const publicOnly = args?.publicOnly === true;
3509
- if (hasScope) {
3510
- if (rawScope !== "preferred" && rawScope !== "public" && rawScope !== "all") {
3511
- throw new Error(`Invalid scope '${args?.scope}': must be 'preferred', 'public', or 'all'.`);
3512
- }
3513
- const scope = rawScope;
3514
- if (hasPublicOnly) {
3515
- if (publicOnly && scope !== "public") {
3516
- throw new Error(
3517
- `Conflicting arguments: scope='${args?.scope}' conflicts with publicOnly=true.`
3518
- );
3519
- }
3520
- if (!publicOnly && scope === "public") {
3521
- throw new Error(
3522
- `Conflicting arguments: scope='${args?.scope}' conflicts with publicOnly=false.`
3523
- );
3524
- }
3525
- }
3526
- return scope;
3527
- }
3528
- if (hasPublicOnly && publicOnly) {
3529
- return "public";
3530
- }
3531
- return "preferred";
3532
- }
3533
- function agentIdentityKeys(agent) {
3534
- return [agent.agentKey, agent.publicKey, agent.id].filter(
3535
- (key) => typeof key === "string" && key.length > 0
3536
- );
3537
- }
3538
- function deduplicateAgentSummaries(agents) {
3539
- const byIdentity = /* @__PURE__ */ new Map();
3540
- for (const agent of agents) {
3541
- const keys = agentIdentityKeys(agent);
3542
- const existing = keys.map((key) => byIdentity.get(key)).find(Boolean);
3543
- if (!existing) {
3544
- for (const key of keys) byIdentity.set(key, agent);
3545
- continue;
3546
- }
3547
- const winner = isPreferredAgent(agent) && !isPreferredAgent(existing) ? agent : existing;
3548
- for (const key of /* @__PURE__ */ new Set([...agentIdentityKeys(existing), ...keys])) byIdentity.set(key, winner);
3549
- }
3550
- return [...new Set(byIdentity.values())];
3551
- }
3552
- function filterAgentsByScope(agents, scope) {
3553
- const unique = deduplicateAgentSummaries(agents);
3554
- if (scope === "preferred") return unique.filter((agent) => isPreferredAgent(agent));
3555
- if (scope === "public") return unique.filter((agent) => isPublicDiscoveryAgent(agent));
3556
- return unique.filter((agent) => isPreferredAgent(agent) || agent.isPublic === true);
3557
- }
3558
- function buildAgentDiscoveryResult(options) {
3559
- const scope = resolveDiscoveryScope({
3560
- scope: options.scope,
3561
- publicOnly: options.publicOnly
3562
- });
3563
- const now = options.now ?? Date.now();
3564
- let scopedAgents = filterAgentsByScope(options.agents, scope);
3565
- const unavailableList = scopedAgents.filter((a) => isAgentUnavailableNow(a, now));
3566
- const unavailableCount = unavailableList.length;
3567
- const unavailableAgents = sortSafeAgentSummaries(unavailableList).map(toUnavailableAgentSummary);
3568
- const credentialGroups = summarizeCredentialGroups(scopedAgents, now);
3569
- if (options.showUnavailable !== true) {
3570
- scopedAgents = scopedAgents.filter((a) => !isAgentUnavailableNow(a, now));
3571
- }
3572
- const sortedAgents = sortSafeAgentSummaries(scopedAgents);
3573
- const projectedAgents = options.verbose === true ? sortedAgents.map(omitNullishAgentSummaryFields) : sortedAgents.map(toCompactAgentSummary);
3574
- return {
3575
- total: projectedAgents.length,
3576
- unavailableCount,
3577
- unavailableAgents,
3578
- credentialGroups,
3579
- agents: projectedAgents
3580
- };
3581
- }
3582
-
3583
3491
  // packages/ai/agent/publicAgentDiscovery.ts
3584
3492
  async function fetchPublicAgentsForDiscovery(args) {
3585
3493
  const fetchImpl = args.fetchImpl ?? fetch;
@@ -4042,7 +3950,7 @@ async function deleteDialogsFunc(args, thunkApi) {
4042
3950
  const deletedDialogIds = [];
4043
3951
  const deletedDialogKeys = [];
4044
3952
  const failures = [];
4045
- const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-VI4GR4PA.js");
3953
+ const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-ORVLG3AA.js");
4046
3954
  for (const target of targets) {
4047
3955
  try {
4048
3956
  await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
@@ -4138,6 +4046,10 @@ var listAgentsFunctionSchema = {
4138
4046
  },
4139
4047
  publicOnly: { type: "boolean", description: "Deprecated compatibility alias for scope='public'." },
4140
4048
  showUnavailable: { type: "boolean", description: "Include agents currently rate-limited (429). Default false." },
4049
+ query: {
4050
+ type: "string",
4051
+ description: "Optional case-insensitive search substring matching agent name, model, provider, handle, or agentKey. Use to locate specific candidates like 'opus', 'devin', or 'claude'."
4052
+ },
4141
4053
  verbose: { type: "boolean", description: "Return the full safe-summary field set (prices, introduction, modelAbility, timestamps) for troubleshooting. Default false returns the compact agent-selection projection." }
4142
4054
  }
4143
4055
  }
@@ -4190,6 +4102,7 @@ async function listAgentsFunc(args, thunkApi) {
4190
4102
  const discovery = buildAgentDiscoveryResult({
4191
4103
  agents,
4192
4104
  scope: args?.scope,
4105
+ query: args?.query,
4193
4106
  publicOnly: args?.publicOnly,
4194
4107
  showUnavailable: args?.showUnavailable,
4195
4108
  verbose: args?.verbose
@@ -13269,11 +13182,14 @@ function checkCredentialFanout(args) {
13269
13182
  };
13270
13183
  }
13271
13184
  if (candidateGroup === entryGroup) {
13185
+ if (args.allowCredentialConcurrency === true) {
13186
+ continue;
13187
+ }
13272
13188
  return {
13273
13189
  allowed: false,
13274
13190
  reason: "credential_group_conflict",
13275
13191
  conflict: entry,
13276
- message: `\u62D2\u7EDD\u5E76\u53D1\u6D3E\u53D1\uFF1A\u5019\u9009 agent ${describeEntry(args.candidate)} \u4E0E\u5DF2\u6D3B\u8DC3 run ${describeEntry(entry)} \u540C\u5C5E credentialGroup "${candidateGroup}"\uFF0C\u540C\u4E00\u51ED\u8BC1\u4E0A\u7981\u6B62\u5E76\u53D1\u6247\u51FA\u3002\u8BF7\u4E32\u884C\u6D3E\u53D1\u6216\u6539\u7528\u5176\u4ED6 credentialGroup \u7684 agent\u3002`
13192
+ message: `\u62D2\u7EDD\u5E76\u53D1\u6D3E\u53D1\uFF1A\u5019\u9009 agent ${describeEntry(args.candidate)} \u4E0E\u5DF2\u6D3B\u8DC3 run ${describeEntry(entry)} \u540C\u5C5E credentialGroup "${candidateGroup}"\uFF0C\u540C\u4E00\u51ED\u8BC1\u4E0A\u7981\u6B62\u5E76\u53D1\u6247\u51FA\u3002\u8BF7\u4E32\u884C\u6D3E\u53D1\u3001\u6362\u7528\u5176\u4ED6 credentialGroup \u7684 agent\uFF0C\u6216\u4F20 allowCredentialConcurrency: true \u5141\u8BB8\u5E76\u53D1\u3002`
13277
13193
  };
13278
13194
  }
13279
13195
  }
@@ -13334,6 +13250,11 @@ function buildStartAgentRunFunctionSchema(opts) {
13334
13250
  description: "\u53EF\u9009\u3002\u663E\u5F0F\u786E\u8BA4\u300C\u51ED\u8BC1\u5F52\u5C5E\u672A\u77E5\u300D\u7684\u5E76\u53D1\u98CE\u9669\u540E\u5F3A\u5236\u653E\u884C\uFF08\u7B49\u540C\u4E8E CLI \u7684 --force-unknown-credential\uFF09\u3002\u4EC5\u5728\u5DF2\u81EA\u884C\u786E\u8BA4\u4E24\u4FA7\u4E0D\u5171\u7528\u4E0A\u6E38\u51ED\u8BC1\u65F6\u4F7F\u7528\uFF1B\u9ED8\u8BA4 false\uFF0C\u672A\u77E5\u51ED\u8BC1\u5E76\u53D1\u4E00\u5F8B\u62D2\u7EDD\u3002",
13335
13251
  default: false
13336
13252
  },
13253
+ allowCredentialConcurrency: {
13254
+ type: "boolean",
13255
+ description: "\u53EF\u9009\u3002\u663E\u5F0F\u5141\u8BB8\u540C\u4E00\u51ED\u8BC1\u7EC4\u5E76\u53D1\u6D3E\u53D1\u3002\u9ED8\u8BA4 false\u3002\u5728\u7528\u6237\u6388\u6743\u540C\u4E00\u51ED\u636E\u591A\u4EFB\u52A1\u5E76\u53D1\u6216\u786E\u8BA4\u4E0A\u6E38\u652F\u6301\u5E76\u53D1\u65F6\u4F7F\u7528\u3002",
13256
+ default: false
13257
+ },
13337
13258
  trackTodo: {
13338
13259
  type: "boolean",
13339
13260
  description: '\u53EF\u9009\u3002\u4E3A true \u65F6\u672C\u6B21 run \u4F1A\u88AB\u8BB0\u5F55\u8FDB runtime todo\uFF08~/.nolo/todos.json\uFF09\u3002\u4F20\u4E86 batchId \u65F6\u9ED8\u8BA4\u5373\u8BB0\u5F55\uFF08\u6BCF\u6279\u5BF9\u5E94\u4E00\u9879 todo\uFF09\u3002todo \u72B6\u6001\u7531\u5173\u8054 run \u72B6\u6001 + review \u7ED3\u8BBA\u63A8\u5BFC\uFF0C\u7528 controlAgentRun(action:"todo") \u67E5\u8BE2\u3002'
@@ -13380,7 +13301,8 @@ async function startAgentRunFunc(args, thunkApi, _context) {
13380
13301
  const verdict = checkCredentialFanout({
13381
13302
  active,
13382
13303
  candidate: { agentKey, credentialGroup: args.credentialGroup },
13383
- allowUnknownCredential: args.allowUnknownCredential === true
13304
+ allowUnknownCredential: args.allowUnknownCredential === true,
13305
+ allowCredentialConcurrency: args.allowCredentialConcurrency === true
13384
13306
  });
13385
13307
  if (!verdict.allowed) throw new Error(verdict.message);
13386
13308
  }
@@ -15116,7 +15038,7 @@ var executeToolRun = createAsyncThunk(
15116
15038
  if (!executionInput) {
15117
15039
  throw new Error(`ToolRun ${id} has no input to execute with.`);
15118
15040
  }
15119
- const { findToolExecutor: findToolExecutor2 } = await import("./tools-XBU2MRGG.js");
15041
+ const { findToolExecutor: findToolExecutor2 } = await import("./tools-CGRUHWCA.js");
15120
15042
  const { executor } = findToolExecutor2(run.toolName);
15121
15043
  toolRunStarted({
15122
15044
  id: run.id,
@@ -17623,7 +17545,7 @@ async function updateDocFunc(args, thunkApi) {
17623
17545
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
17624
17546
  };
17625
17547
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
17626
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-X75VCYIF.js");
17548
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-JFRTM66X.js");
17627
17549
  if (getDocState().pageKey === id) {
17628
17550
  applyExternalDocUpdate({
17629
17551
  slateData: finalSlateData,
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-AGGIDPCZ.js";
15
15
  import {
16
16
  runLlm
17
- } from "./chunk-LXATDEM7.js";
17
+ } from "./chunk-4RMFGFRH.js";
18
18
  import {
19
19
  cleanupCliSessionForDialog
20
20
  } from "./chunk-BFDFRLLQ.js";
@@ -19998,7 +19998,7 @@ var messageSlice = createSliceWithThunks({
19998
19998
  runtimeOptions: args.runtimeOptions
19999
19999
  });
20000
20000
  if (agentKeyToUse) {
20001
- const { streamAgentChatTurn } = await import("./agentSlice-5H7MTCE7.js");
20001
+ const { streamAgentChatTurn } = await import("./agentSlice-UTLXHAFW.js");
20002
20002
  await dispatch(
20003
20003
  streamAgentChatTurn({
20004
20004
  agentKey: agentKeyToUse,
@@ -21134,7 +21134,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
21134
21134
  }
21135
21135
  if (isCurrentDialog) {
21136
21136
  await thunkApi.dispatch(resetMsgs());
21137
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-VI4GR4PA.js");
21137
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-ORVLG3AA.js");
21138
21138
  dispatch(clearPendingAttachments2());
21139
21139
  }
21140
21140
  return { dialogKey, isCurrentDialog, attachmentPlan };
@@ -21142,15 +21142,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
21142
21142
 
21143
21143
  // packages/chat/dialog/dialogSlice.ts
21144
21144
  var runCreateDialogAction = async (args, thunkApi) => {
21145
- const { createDialogAction } = await import("./createDialogAction-YRAHHXWR.js");
21145
+ const { createDialogAction } = await import("./createDialogAction-MA7HM3BD.js");
21146
21146
  return createDialogAction(args, thunkApi);
21147
21147
  };
21148
21148
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
21149
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-FOXQWOJQ.js");
21149
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-5VG5HN7Z.js");
21150
21150
  return createAgentAutomationAction(args, thunkApi);
21151
21151
  };
21152
21152
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
21153
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-DATQ2KIC.js");
21153
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-QMSKYS55.js");
21154
21154
  return updateDialogTitleAction(args, thunkApi);
21155
21155
  };
21156
21156
  var runAddDialogAgentAction = async (args, thunkApi) => {
@@ -21174,7 +21174,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
21174
21174
  return setDialogExtraReferencesAction(args, thunkApi);
21175
21175
  };
21176
21176
  var runHandleSendMessageAction = async (args, thunkApi) => {
21177
- const { handleSendMessageAction } = await import("./handleSendMessageAction-E3B2YV3N.js");
21177
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-GALALRRM.js");
21178
21178
  return handleSendMessageAction(args, thunkApi);
21179
21179
  };
21180
21180
  function clearDialogState() {
@@ -21187,7 +21187,7 @@ var createPageAndAddReference = createAsyncThunk(
21187
21187
  async (payload, { dispatch, getState, rejectWithValue }) => {
21188
21188
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
21189
21189
  try {
21190
- const { createDocState } = await import("./docStore-X75VCYIF.js");
21190
+ const { createDocState } = await import("./docStore-JFRTM66X.js");
21191
21191
  const pageKey = await createDocState(
21192
21192
  { slateData, title },
21193
21193
  { dispatch, getState }
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  listUserRecordsFromServers,
3
3
  readLiveDbRecordAfterTombstoneMerge
4
- } from "./chunk-IQPFGYO3.js";
4
+ } from "./chunk-3YIAR5UI.js";
5
5
  import {
6
6
  agentRecordHasConfiguredCredential
7
- } from "./chunk-LWKP7AWH.js";
7
+ } from "./chunk-QSHEEA5N.js";
8
8
  import {
9
9
  deriveCredentialGroup,
10
10
  toSafeAgentSummary
11
- } from "./chunk-2OASQKU2.js";
11
+ } from "./chunk-CWQINZEA.js";
12
12
  import {
13
13
  PUBLIC_AGENT_KEY_PREFIX,
14
14
  isOwnedAgentKey,
@@ -162,6 +162,7 @@ function parseAgentListArgs(args) {
162
162
  publicOnly: args.includes("--public-only"),
163
163
  idsOnly: args.includes("--ids-only"),
164
164
  scope: readArgValue(args, "--scope"),
165
+ query: readArgValue(args, "--query"),
165
166
  showUnavailable: args.includes("--show-unavailable"),
166
167
  // --safe 默认输出精简投影(与 server listAgents 一致,防大列表被截断);
167
168
  // --verbose 拿回完整字段集排障。
@@ -326,7 +326,7 @@ async function saveDocState(arg, { dispatch, getState }) {
326
326
  ).unwrap();
327
327
  if (dbSpaceId) {
328
328
  try {
329
- const { updateContentTitle } = await import("./contentThunks-L4UB5RXR.js");
329
+ const { updateContentTitle } = await import("./contentThunks-BKHGW5JF.js");
330
330
  await dispatch(
331
331
  updateContentTitle({
332
332
  spaceId: dbSpaceId,
@@ -365,7 +365,7 @@ async function saveDocState(arg, { dispatch, getState }) {
365
365
  }
366
366
  }
367
367
  async function createDocState(args, thunkApi) {
368
- const { createPageAction } = await import("./createPageAction-MVFMLE3N.js");
368
+ const { createPageAction } = await import("./createPageAction-G7IYJMTT.js");
369
369
  return createPageAction(args, thunkApi);
370
370
  }
371
371
  function subscribe(listener) {
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  clipMultilineText,
9
9
  fetchAndSerializeTable
10
- } from "./chunk-HQTMPHIS.js";
10
+ } from "./chunk-TDGDSTGC.js";
11
11
  import {
12
12
  isGatewayHttpStatus
13
13
  } from "./chunk-NF64D32W.js";
@@ -28,13 +28,13 @@ import {
28
28
  } from "./chunk-MEYIRKDN.js";
29
29
  import {
30
30
  fetchAndCacheMessages
31
- } from "./chunk-XA6KE2HD.js";
31
+ } from "./chunk-WKWF4RJH.js";
32
32
  import {
33
33
  shouldUseServerProxy
34
34
  } from "./chunk-YYLHWIW6.js";
35
35
  import {
36
36
  fetchServerSyncedCredential
37
- } from "./chunk-LXATDEM7.js";
37
+ } from "./chunk-4RMFGFRH.js";
38
38
  import {
39
39
  buildSkillGuidancePromptBlock,
40
40
  extractRuntimePageCapabilities,
@@ -48,7 +48,7 @@ import {
48
48
  detectDispatchIntentFromMessages,
49
49
  normalizeChatCompletionsBodyForProvider,
50
50
  resolveToolGuidedSections
51
- } from "./chunk-MRIHM22T.js";
51
+ } from "./chunk-FORUBDQQ.js";
52
52
  import {
53
53
  convertMessagesToResponsesInput,
54
54
  getUsageRequestOptions,
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-L6LNO27F.js";
4
+ } from "./chunk-L4KM22WM.js";
5
5
  import {
6
6
  clipMultilineText
7
- } from "./chunk-HQTMPHIS.js";
7
+ } from "./chunk-TDGDSTGC.js";
8
8
  import {
9
9
  runLocalAgentTurn
10
- } from "./chunk-DGE5HEGA.js";
10
+ } from "./chunk-L322LGOM.js";
11
11
  import {
12
12
  applyToolSurfaceConstraints
13
- } from "./chunk-IIVGDG4I.js";
13
+ } from "./chunk-HCT7U36O.js";
14
14
  import {
15
15
  resolveLocalRuntimeEnvFromPolicy
16
16
  } from "./chunk-HVURBGF3.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-APB6ES6B.js";
3
+ } from "./chunk-FZK3Z2MJ.js";
4
4
  import {
5
5
  prepareAndPersistMessage,
6
6
  uiAskChoiceFunc,
7
7
  uiAskChoiceFunctionSchema
8
- } from "./chunk-XA6KE2HD.js";
8
+ } from "./chunk-WKWF4RJH.js";
9
9
  import {
10
10
  require_date_fns
11
11
  } from "./chunk-M76ECQRD.js";
@@ -7,14 +7,14 @@ import {
7
7
  updateContentPinned,
8
8
  updateContentTitle,
9
9
  uploadAndAddFileToSpace
10
- } from "./chunk-APB6ES6B.js";
10
+ } from "./chunk-FZK3Z2MJ.js";
11
11
  import "./chunk-ZJ7UHBJS.js";
12
- import "./chunk-XA6KE2HD.js";
12
+ import "./chunk-WKWF4RJH.js";
13
13
  import "./chunk-MC4XLIJ7.js";
14
14
  import "./chunk-3BMYXEUW.js";
15
15
  import "./chunk-YYLHWIW6.js";
16
16
  import "./chunk-AGGIDPCZ.js";
17
- import "./chunk-LXATDEM7.js";
17
+ import "./chunk-4RMFGFRH.js";
18
18
  import "./chunk-BFDFRLLQ.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-APB6ES6B.js";
3
+ } from "./chunk-FZK3Z2MJ.js";
4
4
  import "./chunk-ZJ7UHBJS.js";
5
- import "./chunk-XA6KE2HD.js";
5
+ import "./chunk-WKWF4RJH.js";
6
6
  import "./chunk-MC4XLIJ7.js";
7
7
  import "./chunk-3BMYXEUW.js";
8
8
  import "./chunk-YYLHWIW6.js";
9
9
  import "./chunk-AGGIDPCZ.js";
10
- import "./chunk-LXATDEM7.js";
10
+ import "./chunk-4RMFGFRH.js";
11
11
  import "./chunk-BFDFRLLQ.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-QPPZN3AA.js";
5
- import "./chunk-APB6ES6B.js";
4
+ } from "./chunk-YYYAN2NH.js";
5
+ import "./chunk-FZK3Z2MJ.js";
6
6
  import "./chunk-ZJ7UHBJS.js";
7
- import "./chunk-XA6KE2HD.js";
7
+ import "./chunk-WKWF4RJH.js";
8
8
  import "./chunk-MC4XLIJ7.js";
9
9
  import "./chunk-3BMYXEUW.js";
10
10
  import "./chunk-YYLHWIW6.js";
11
11
  import "./chunk-AGGIDPCZ.js";
12
- import "./chunk-LXATDEM7.js";
12
+ import "./chunk-4RMFGFRH.js";
13
13
  import "./chunk-BFDFRLLQ.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-APB6ES6B.js";
17
+ } from "./chunk-FZK3Z2MJ.js";
18
18
  import {
19
19
  getCurrentSpaceId
20
20
  } from "./chunk-ZJ7UHBJS.js";
21
- import "./chunk-XA6KE2HD.js";
21
+ import "./chunk-WKWF4RJH.js";
22
22
  import "./chunk-MC4XLIJ7.js";
23
23
  import "./chunk-3BMYXEUW.js";
24
24
  import "./chunk-YYLHWIW6.js";
25
25
  import "./chunk-AGGIDPCZ.js";
26
- import "./chunk-LXATDEM7.js";
26
+ import "./chunk-4RMFGFRH.js";
27
27
  import "./chunk-BFDFRLLQ.js";
28
28
  import "./chunk-5RGU3J7P.js";
29
29
  import "./chunk-6YTOJY35.js";
@@ -11,12 +11,12 @@ import {
11
11
  runDialogSearchCommand,
12
12
  runDialogStatusCommand,
13
13
  sortDialogs
14
- } from "./chunk-KZJP33ZK.js";
14
+ } from "./chunk-HAFJ3NDE.js";
15
15
  import "./chunk-ID4G2MAR.js";
16
- import "./chunk-IQPFGYO3.js";
16
+ import "./chunk-3YIAR5UI.js";
17
17
  import "./chunk-EADNWBAZ.js";
18
- import "./chunk-LWKP7AWH.js";
19
- import "./chunk-Z77CRGTW.js";
18
+ import "./chunk-QSHEEA5N.js";
19
+ import "./chunk-3AMA42ZI.js";
20
20
  import "./chunk-SV5IJK6K.js";
21
21
  import "./chunk-5UTFL4QJ.js";
22
22
  import "./chunk-3L2WKC3W.js";
@@ -24,7 +24,7 @@ import "./chunk-KQHGZWSV.js";
24
24
  import "./chunk-3BMYXEUW.js";
25
25
  import "./chunk-URMS4XY2.js";
26
26
  import "./chunk-GLKOYSRU.js";
27
- import "./chunk-DGE5HEGA.js";
27
+ import "./chunk-L322LGOM.js";
28
28
  import "./chunk-H4AHY5BU.js";
29
29
  import "./chunk-FV3JEYR3.js";
30
30
  import "./chunk-GMZLP5DV.js";
@@ -33,9 +33,9 @@ import "./chunk-4MK3I7Y4.js";
33
33
  import "./chunk-CQ3WA2NE.js";
34
34
  import "./chunk-5ZUL4CUO.js";
35
35
  import "./chunk-N7J63Q6C.js";
36
- import "./chunk-MRIHM22T.js";
36
+ import "./chunk-FORUBDQQ.js";
37
37
  import "./chunk-PUOC4YRO.js";
38
- import "./chunk-IIVGDG4I.js";
38
+ import "./chunk-HCT7U36O.js";
39
39
  import "./chunk-FDTR4QJ6.js";
40
40
  import "./chunk-GNCCNNZD.js";
41
41
  import "./chunk-6OZ36FXI.js";
@@ -20,12 +20,12 @@ import {
20
20
  switchDialogAgent,
21
21
  updateDialogTitle,
22
22
  updateTokens
23
- } from "./chunk-XA6KE2HD.js";
23
+ } from "./chunk-WKWF4RJH.js";
24
24
  import "./chunk-MC4XLIJ7.js";
25
25
  import "./chunk-3BMYXEUW.js";
26
26
  import "./chunk-YYLHWIW6.js";
27
27
  import "./chunk-AGGIDPCZ.js";
28
- import "./chunk-LXATDEM7.js";
28
+ import "./chunk-4RMFGFRH.js";
29
29
  import "./chunk-BFDFRLLQ.js";
30
30
  import {
31
31
  getActiveDialogAgentId
@@ -17,18 +17,18 @@ import {
17
17
  resolveDocKind,
18
18
  resolveWriteTargets,
19
19
  writePageRecord
20
- } from "./chunk-PHXD6JTX.js";
20
+ } from "./chunk-FKNWP6SG.js";
21
21
  import {
22
22
  findPotentialSecrets,
23
23
  formatSecretFindings
24
24
  } from "./chunk-S7Z2HMCN.js";
25
- import "./chunk-LWKP7AWH.js";
26
- import "./chunk-Z77CRGTW.js";
25
+ import "./chunk-QSHEEA5N.js";
26
+ import "./chunk-3AMA42ZI.js";
27
27
  import "./chunk-SV5IJK6K.js";
28
28
  import "./chunk-VF4K2QE6.js";
29
29
  import "./chunk-Q554LLSI.js";
30
30
  import "./chunk-KHCLMKZZ.js";
31
- import "./chunk-DGE5HEGA.js";
31
+ import "./chunk-L322LGOM.js";
32
32
  import "./chunk-H4AHY5BU.js";
33
33
  import "./chunk-FV3JEYR3.js";
34
34
  import "./chunk-GMZLP5DV.js";
@@ -37,9 +37,9 @@ import "./chunk-4MK3I7Y4.js";
37
37
  import "./chunk-CQ3WA2NE.js";
38
38
  import "./chunk-5ZUL4CUO.js";
39
39
  import "./chunk-N7J63Q6C.js";
40
- import "./chunk-MRIHM22T.js";
40
+ import "./chunk-FORUBDQQ.js";
41
41
  import "./chunk-PUOC4YRO.js";
42
- import "./chunk-IIVGDG4I.js";
42
+ import "./chunk-HCT7U36O.js";
43
43
  import "./chunk-FDTR4QJ6.js";
44
44
  import "./chunk-GNCCNNZD.js";
45
45
  import "./chunk-6OZ36FXI.js";
@@ -10,18 +10,18 @@ import {
10
10
  requireTokenUser,
11
11
  resolveDocKind,
12
12
  resolveWriteTargets
13
- } from "./chunk-PHXD6JTX.js";
13
+ } from "./chunk-FKNWP6SG.js";
14
14
  import {
15
15
  deleteDbRecordOnServers
16
- } from "./chunk-IQPFGYO3.js";
17
- import "./chunk-LWKP7AWH.js";
18
- import "./chunk-Z77CRGTW.js";
16
+ } from "./chunk-3YIAR5UI.js";
17
+ import "./chunk-QSHEEA5N.js";
18
+ import "./chunk-3AMA42ZI.js";
19
19
  import "./chunk-SV5IJK6K.js";
20
20
  import "./chunk-KQHGZWSV.js";
21
21
  import "./chunk-VF4K2QE6.js";
22
22
  import "./chunk-Q554LLSI.js";
23
23
  import "./chunk-KHCLMKZZ.js";
24
- import "./chunk-DGE5HEGA.js";
24
+ import "./chunk-L322LGOM.js";
25
25
  import "./chunk-H4AHY5BU.js";
26
26
  import "./chunk-FV3JEYR3.js";
27
27
  import "./chunk-GMZLP5DV.js";
@@ -30,9 +30,9 @@ import "./chunk-4MK3I7Y4.js";
30
30
  import "./chunk-CQ3WA2NE.js";
31
31
  import "./chunk-5ZUL4CUO.js";
32
32
  import "./chunk-N7J63Q6C.js";
33
- import "./chunk-MRIHM22T.js";
33
+ import "./chunk-FORUBDQQ.js";
34
34
  import "./chunk-PUOC4YRO.js";
35
- import "./chunk-IIVGDG4I.js";
35
+ import "./chunk-HCT7U36O.js";
36
36
  import "./chunk-FDTR4QJ6.js";
37
37
  import "./chunk-GNCCNNZD.js";
38
38
  import "./chunk-6OZ36FXI.js";
@@ -9,14 +9,14 @@ import {
9
9
  requireTokenUser,
10
10
  resolveDocKind,
11
11
  resolveWriteTargets
12
- } from "./chunk-PHXD6JTX.js";
13
- import "./chunk-LWKP7AWH.js";
14
- import "./chunk-Z77CRGTW.js";
12
+ } from "./chunk-FKNWP6SG.js";
13
+ import "./chunk-QSHEEA5N.js";
14
+ import "./chunk-3AMA42ZI.js";
15
15
  import "./chunk-SV5IJK6K.js";
16
16
  import "./chunk-VF4K2QE6.js";
17
17
  import "./chunk-Q554LLSI.js";
18
18
  import "./chunk-KHCLMKZZ.js";
19
- import "./chunk-DGE5HEGA.js";
19
+ import "./chunk-L322LGOM.js";
20
20
  import "./chunk-H4AHY5BU.js";
21
21
  import "./chunk-FV3JEYR3.js";
22
22
  import "./chunk-GMZLP5DV.js";
@@ -25,9 +25,9 @@ import "./chunk-4MK3I7Y4.js";
25
25
  import "./chunk-CQ3WA2NE.js";
26
26
  import "./chunk-5ZUL4CUO.js";
27
27
  import "./chunk-N7J63Q6C.js";
28
- import "./chunk-MRIHM22T.js";
28
+ import "./chunk-FORUBDQQ.js";
29
29
  import "./chunk-PUOC4YRO.js";
30
- import "./chunk-IIVGDG4I.js";
30
+ import "./chunk-HCT7U36O.js";
31
31
  import "./chunk-FDTR4QJ6.js";
32
32
  import "./chunk-GNCCNNZD.js";
33
33
  import "./chunk-6OZ36FXI.js";