nolo-cli 0.229.0-alpha.1 → 0.231.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 (54) hide show
  1. package/{_executeModel-VYCHHZVT.js → _executeModel-7V3NSK4W.js} +12 -12
  2. package/{agentDeleteCommand-QWQKT54A.js → agentDeleteCommand-MD76OMLN.js} +11 -11
  3. package/{agentEmailCommands-EISMBIRE.js → agentEmailCommands-T4TW4IBX.js} +12 -12
  4. package/{agentMachineCommands-DC6NKWTU.js → agentMachineCommands-LSDGA5WR.js} +1 -1
  5. package/{agentRecordCommands-IZYUVHME.js → agentRecordCommands-7TEX2B7Y.js} +12 -12
  6. package/{agentRunCommand-QM7ETUTX.js → agentRunCommand-23SMDVDW.js} +13 -13
  7. package/{agentSlice-UG76KEBH.js → agentSlice-AATYVDP6.js} +1 -1
  8. package/{authCommand-OZ2KTP4Z.js → authCommand-3SUYUNQV.js} +3 -3
  9. package/{authCommands-55OGQGCR.js → authCommands-BLE7ETZH.js} +2 -2
  10. package/{chunk-YVFH2MFB.js → chunk-3ING4D5X.js} +2 -2
  11. package/{chunk-45CAVC35.js → chunk-57TLKTVZ.js} +6 -6
  12. package/{chunk-HXB4VDGK.js → chunk-6NNDUDAZ.js} +1 -1
  13. package/{chunk-WFDNADFX.js → chunk-6OQMSPB7.js} +1 -1
  14. package/{chunk-XTJKU3Z4.js → chunk-EXNV7CCV.js} +2 -2
  15. package/{chunk-M3JEW6N6.js → chunk-F26GAEH3.js} +10 -0
  16. package/{chunk-YKY4OVOX.js → chunk-FFSPUVL5.js} +8 -2
  17. package/{chunk-LYD6C7OU.js → chunk-FTMFO6LI.js} +2 -2
  18. package/{chunk-CNMY2XM6.js → chunk-GXZ5LB7H.js} +1 -1
  19. package/{chunk-4QYJPWHH.js → chunk-IONGMVPY.js} +2 -2
  20. package/{chunk-EGHP7KOY.js → chunk-KUDCKVYQ.js} +2 -2
  21. package/{chunk-7BCG67EI.js → chunk-KUOMUZH6.js} +8 -8
  22. package/{chunk-HF7BLF3F.js → chunk-MHHLABT3.js} +2 -2
  23. package/{chunk-DLXMMTGM.js → chunk-NVEYEKN3.js} +11 -5
  24. package/{chunk-3VZLEKV2.js → chunk-PR2LAQAC.js} +2 -2
  25. package/{chunk-WCFFRBL5.js → chunk-TPG2DPN2.js} +3 -3
  26. package/{chunk-MJI3UAXN.js → chunk-U4FF7LRY.js} +6 -6
  27. package/{chunk-TSPMLCWI.js → chunk-WFVASLQT.js} +1 -1
  28. package/{chunk-OTKSESZR.js → chunk-WU443D7A.js} +2 -2
  29. package/{chunk-X3E6EHJW.js → chunk-X7QAIY5B.js} +5 -5
  30. package/{chunk-GAYNXB6T.js → chunk-YCFP57LH.js} +16 -10
  31. package/{chunk-MZG5CETE.js → chunk-ZTR65O4L.js} +2 -2
  32. package/{commandRegistry-FVYPE2IN.js → commandRegistry-35EMLPIZ.js} +29 -29
  33. package/{contentThunks-GNFPG32S.js → contentThunks-BCNMGA5J.js} +3 -3
  34. package/{createAgentAutomationAction-PB4QIFQ4.js → createAgentAutomationAction-HEU4KOYF.js} +3 -3
  35. package/{createDialogAction-EVTOPY7A.js → createDialogAction-5DSL5ESZ.js} +4 -4
  36. package/{createPageAction-2UYF2IDZ.js → createPageAction-BBZ25AFI.js} +4 -4
  37. package/{dialogSlice-5EQ2A6LY.js → dialogSlice-QJ5PQOM3.js} +2 -2
  38. package/{docStore-OKKIKLT3.js → docStore-XJ4UMU3C.js} +1 -1
  39. package/{handleSendMessageAction-LNT7SZND.js → handleSendMessageAction-YHAOXARI.js} +8 -8
  40. package/{hostCredentialCreate-XUU2CSHI.js → hostCredentialCreate-62AWCBQC.js} +12 -12
  41. package/index.js +4 -4
  42. package/{localRuntimeAdapter-IBSTMSX7.js → localRuntimeAdapter-KNQNNHUM.js} +11 -11
  43. package/{machineCommands-HSQHDHOT.js → machineCommands-X2FMPSV4.js} +12 -12
  44. package/{machineWsRunDispatch-L6H7J66T.js → machineWsRunDispatch-XHTPOYVJ.js} +12 -12
  45. package/package.json +1 -1
  46. package/{projectArchive-FQO654Z3.js → projectArchive-NPQ3YOAV.js} +4 -4
  47. package/{readlineWorkspace-7U272DSA.js → readlineWorkspace-77PILYDH.js} +38 -18
  48. package/{runAgentClientLoop-AF4JQIJ7.js → runAgentClientLoop-XNKAXUKU.js} +10 -10
  49. package/{spaceCommands-5VNWMDBE.js → spaceCommands-TOGSGCPS.js} +1 -1
  50. package/{streamAgentChatTurn-YSPEFY4K.js → streamAgentChatTurn-IARUEZPU.js} +12 -12
  51. package/{tools-M35PTIFB.js → tools-5UWS65PB.js} +7 -7
  52. package/{tuiSummaryLlmCaller-W2QN4VAC.js → tuiSummaryLlmCaller-R4H3ZZ52.js} +2 -2
  53. package/{updateDialogTitleAction-IMIRJRQQ.js → updateDialogTitleAction-G6C6XVNV.js} +3 -3
  54. /package/{chunk-ZOHO6MOF.js → chunk-LHN7NIQZ.js} +0 -0
@@ -47,7 +47,7 @@ import {
47
47
  } from "./chunk-WOAZVUSN.js";
48
48
  import {
49
49
  createTuiSummaryLlmCaller
50
- } from "./chunk-TSPMLCWI.js";
50
+ } from "./chunk-WFVASLQT.js";
51
51
  import {
52
52
  CliProviderQuotaError,
53
53
  executeCli,
@@ -72,7 +72,7 @@ import {
72
72
  import {
73
73
  inlineImageUrlsForCustomProvider,
74
74
  prepareTools
75
- } from "./chunk-OTKSESZR.js";
75
+ } from "./chunk-WU443D7A.js";
76
76
  import {
77
77
  getServerProviderSecret
78
78
  } from "./chunk-HS7MLR74.js";
@@ -95,7 +95,7 @@ import {
95
95
  resolveCliLocalSpawnDispatch,
96
96
  resolveRunContextFacts,
97
97
  resolveStartAgentRunCwd
98
- } from "./chunk-GAYNXB6T.js";
98
+ } from "./chunk-YCFP57LH.js";
99
99
  import {
100
100
  deriveCredentialGroup,
101
101
  deriveCustomProviderCredentialGroup
@@ -108,7 +108,7 @@ import {
108
108
  prepareTokenUsageData,
109
109
  runKeyed,
110
110
  validateAskChoiceInput
111
- } from "./chunk-7BCG67EI.js";
111
+ } from "./chunk-KUOMUZH6.js";
112
112
  import {
113
113
  applyTokenUsageToDayStats,
114
114
  require_format
@@ -119,7 +119,7 @@ import {
119
119
  } from "./chunk-523DITKR.js";
120
120
  import {
121
121
  fetchServerSyncedCredential
122
- } from "./chunk-WCFFRBL5.js";
122
+ } from "./chunk-TPG2DPN2.js";
123
123
  import {
124
124
  defaultLoopbackRequest
125
125
  } from "./chunk-VP3BINY7.js";
@@ -6589,6 +6589,7 @@ function buildServerPlatformToolExecutors(args) {
6589
6589
  activationCount: 1,
6590
6590
  importance: typeof value.importance === "number" ? value.importance : 0.9,
6591
6591
  ...typeof value.confidence === "number" && Number.isFinite(value.confidence) ? { confidence: value.confidence } : {},
6592
+ ...["verified", "stated", "inferred"].includes(value.provenance) ? { provenance: value.provenance } : {},
6592
6593
  ...typeof value.sourceKind === "string" ? { sourceKind: value.sourceKind } : {},
6593
6594
  ...typeof value.sourceDialogId === "string" ? { sourceDialogId: value.sourceDialogId } : {},
6594
6595
  evidence,
@@ -6667,6 +6668,8 @@ function buildServerPlatformToolExecutors(args) {
6667
6668
  kind: input.kind,
6668
6669
  contentKey,
6669
6670
  origin: "cli-local",
6671
+ ...input.provenance ? { provenance: input.provenance } : {},
6672
+ ...input.sourceKind ? { sourceKind: input.sourceKind } : {},
6670
6673
  ...input.tags?.length ? { tags: input.tags } : {}
6671
6674
  },
6672
6675
  text: input.content,
@@ -6775,6 +6778,7 @@ function buildServerPlatformToolExecutors(args) {
6775
6778
  kind: parsed.kind ?? "episodic",
6776
6779
  source: "agent-inferred"
6777
6780
  };
6781
+ if (["verified", "stated", "inferred"].includes(parsed.provenance)) body.provenance = parsed.provenance;
6778
6782
  if (typeof parsed.recurrenceEvidence === "string" && parsed.recurrenceEvidence.trim()) {
6779
6783
  body.recurrenceEvidence = parsed.recurrenceEvidence.trim();
6780
6784
  }
@@ -6795,6 +6799,8 @@ function buildServerPlatformToolExecutors(args) {
6795
6799
  kind: String(saved?.kind ?? serverResult?.savedKind ?? body.kind ?? "episodic"),
6796
6800
  createdAt: typeof saved?.createdAt === "string" && saved.createdAt ? saved.createdAt : (/* @__PURE__ */ new Date()).toISOString(),
6797
6801
  confidence: typeof saved?.confidence === "number" ? saved.confidence : 0.8,
6802
+ provenance: typeof saved?.provenance === "string" ? saved.provenance : void 0,
6803
+ sourceKind: typeof saved?.sourceKind === "string" ? saved.sourceKind : void 0,
6798
6804
  tags: Array.isArray(saved?.tags) ? saved.tags.map(String) : void 0
6799
6805
  });
6800
6806
  } catch {
@@ -14,13 +14,13 @@ import {
14
14
  import {
15
15
  addContentToSpace,
16
16
  resolveCreationSpaceId
17
- } from "./chunk-HXB4VDGK.js";
17
+ } from "./chunk-6NNDUDAZ.js";
18
18
  import {
19
19
  getCurrentSpaceId
20
20
  } from "./chunk-547ENH5T.js";
21
21
  import {
22
22
  runtime_default
23
- } from "./chunk-7BCG67EI.js";
23
+ } from "./chunk-KUOMUZH6.js";
24
24
  import {
25
25
  write
26
26
  } from "./chunk-CMMI3DAT.js";
@@ -458,7 +458,7 @@ var slice = createSliceWithThunks({
458
458
  const overrides = {};
459
459
  if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
460
460
  if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
461
- const { _executeModel } = await import("./_executeModel-VYCHHZVT.js");
461
+ const { _executeModel } = await import("./_executeModel-7V3NSK4W.js");
462
462
  return _executeModel(
463
463
  {
464
464
  isStreaming: args.isStreaming ?? false,
@@ -479,7 +479,7 @@ var slice = createSliceWithThunks({
479
479
  * - 循环直到无工具调用或触发其他运行时停止条件
480
480
  */
481
481
  runAgent: create.asyncThunk(async (args, thunkApi) => {
482
- const { runAgentClientLoop } = await import("./runAgentClientLoop-AF4JQIJ7.js");
482
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-XNKAXUKU.js");
483
483
  const { content: loopContent, toolCallCount } = await runAgentClientLoop(
484
484
  {
485
485
  agentKey: args.agentKey,
@@ -495,7 +495,7 @@ var slice = createSliceWithThunks({
495
495
  * 聊天轮次流式 Agent 调用
496
496
  */
497
497
  streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
498
- const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-YSPEFY4K.js");
498
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-IARUEZPU.js");
499
499
  return streamAgentChatTurnHandler(args, thunkApi);
500
500
  }),
501
501
  /**
@@ -5,7 +5,7 @@ import {
5
5
  inlineImageUrlsForCustomProvider,
6
6
  prepareTools,
7
7
  shouldInlineImageUrlsForAgent
8
- } from "./chunk-OTKSESZR.js";
8
+ } from "./chunk-WU443D7A.js";
9
9
  import {
10
10
  CONFIRMATION_INPUT_KEYS,
11
11
  INVALID_TOOL_ARGS_REPLACEMENT,
@@ -14,11 +14,11 @@ import {
14
14
  performFetchRequest,
15
15
  sanitizeOutboundMessages,
16
16
  stripModelToolArgs
17
- } from "./chunk-XTJKU3Z4.js";
17
+ } from "./chunk-EXNV7CCV.js";
18
18
  import {
19
19
  findToolExecutor,
20
20
  toolDefinitionsByName
21
- } from "./chunk-GAYNXB6T.js";
21
+ } from "./chunk-YCFP57LH.js";
22
22
  import {
23
23
  createSSEParser,
24
24
  createToolRunId,
@@ -27,7 +27,7 @@ import {
27
27
  toolRunSetPending,
28
28
  toolRunStarted,
29
29
  toolRunSucceeded
30
- } from "./chunk-HF7BLF3F.js";
30
+ } from "./chunk-MHHLABT3.js";
31
31
  import {
32
32
  getCurrentSpaceId
33
33
  } from "./chunk-547ENH5T.js";
@@ -38,10 +38,10 @@ import {
38
38
  toast,
39
39
  toolResultNeedsUserConfirmation,
40
40
  updateToolMessage
41
- } from "./chunk-7BCG67EI.js";
41
+ } from "./chunk-KUOMUZH6.js";
42
42
  import {
43
43
  streamAgentChatTurn
44
- } from "./chunk-WCFFRBL5.js";
44
+ } from "./chunk-TPG2DPN2.js";
45
45
  import {
46
46
  addActiveController,
47
47
  getActiveDialogKey,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  authRoutes
3
- } from "./chunk-M3JEW6N6.js";
3
+ } from "./chunk-F26GAEH3.js";
4
4
  import {
5
5
  BUILTIN_DIALOG_LLM_FALLBACK_MODEL,
6
6
  BUILTIN_SUMMARY_LLM_CONFIG
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  toolRegistry
3
- } from "./chunk-GAYNXB6T.js";
3
+ } from "./chunk-YCFP57LH.js";
4
4
  import {
5
5
  runtime_default
6
- } from "./chunk-7BCG67EI.js";
6
+ } from "./chunk-KUOMUZH6.js";
7
7
  import {
8
8
  canonicalizeToolNames
9
9
  } from "./chunk-6OVNSQHN.js";
@@ -7,7 +7,7 @@ import {
7
7
  mergeReferences,
8
8
  resolveReferenceAssets,
9
9
  resolveToolsFromKeys
10
- } from "./chunk-EGHP7KOY.js";
10
+ } from "./chunk-KUDCKVYQ.js";
11
11
  import {
12
12
  UI_CARD_ENVELOPE_MAX_BYTES,
13
13
  getAllToolRuns,
@@ -18,16 +18,16 @@ import {
18
18
  selectSpaceContextLevel,
19
19
  selectUserTonePreset,
20
20
  uiCardFallback
21
- } from "./chunk-HF7BLF3F.js";
21
+ } from "./chunk-MHHLABT3.js";
22
22
  import {
23
23
  resolveToolBaseUrl
24
24
  } from "./chunk-4JVNURX4.js";
25
25
  import {
26
26
  getDocState
27
- } from "./chunk-LYD6C7OU.js";
27
+ } from "./chunk-FTMFO6LI.js";
28
28
  import {
29
29
  getTableState
30
- } from "./chunk-HXB4VDGK.js";
30
+ } from "./chunk-6NNDUDAZ.js";
31
31
  import {
32
32
  getCurrentSpaceIdRaw,
33
33
  getViewMode
@@ -36,7 +36,7 @@ import {
36
36
  PERSONALIZATION_DIALOG_CATEGORY,
37
37
  buildPersonalizationDialogPolicyContext,
38
38
  selectAllMsgs
39
- } from "./chunk-7BCG67EI.js";
39
+ } from "./chunk-KUOMUZH6.js";
40
40
  import {
41
41
  selectPendingFiles
42
42
  } from "./chunk-S2NTVGA2.js";
@@ -23,7 +23,7 @@ import {
23
23
  toolRunUpdated,
24
24
  uiCardFallback,
25
25
  waitForAbortableDelay
26
- } from "./chunk-HF7BLF3F.js";
26
+ } from "./chunk-MHHLABT3.js";
27
27
  import {
28
28
  isGatewayHttpStatus
29
29
  } from "./chunk-NF64D32W.js";
@@ -57,10 +57,10 @@ import {
57
57
  } from "./chunk-63W5N6P3.js";
58
58
  import {
59
59
  createDocState
60
- } from "./chunk-LYD6C7OU.js";
60
+ } from "./chunk-FTMFO6LI.js";
61
61
  import {
62
62
  createDialogAction
63
- } from "./chunk-4QYJPWHH.js";
63
+ } from "./chunk-IONGMVPY.js";
64
64
  import {
65
65
  DEFAULT_COLLAPSED_CATEGORIES,
66
66
  addContentToSpace,
@@ -77,7 +77,7 @@ import {
77
77
  updateContentCategory,
78
78
  updateContentTitle,
79
79
  writeStoredCollapsedCategories
80
- } from "./chunk-HXB4VDGK.js";
80
+ } from "./chunk-6NNDUDAZ.js";
81
81
  import {
82
82
  addMemberSpace,
83
83
  getAllMemberSpaces,
@@ -107,14 +107,14 @@ import {
107
107
  selectMsgById,
108
108
  uiAskChoiceFunc,
109
109
  uiAskChoiceFunctionSchema
110
- } from "./chunk-7BCG67EI.js";
110
+ } from "./chunk-KUOMUZH6.js";
111
111
  import {
112
112
  createAgent,
113
113
  deleteServerSyncedCredential,
114
114
  runLlm,
115
115
  streamAgentChatTurn,
116
116
  updateAgent
117
- } from "./chunk-WCFFRBL5.js";
117
+ } from "./chunk-TPG2DPN2.js";
118
118
  import {
119
119
  buildMediaToolConfirmation,
120
120
  normalizeMediaConfirmExecutionRevision
@@ -3908,7 +3908,7 @@ async function deleteDialogsFunc(args, thunkApi) {
3908
3908
  const deletedDialogIds = [];
3909
3909
  const deletedDialogKeys = [];
3910
3910
  const failures = [];
3911
- const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-5EQ2A6LY.js");
3911
+ const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-QJ5PQOM3.js");
3912
3912
  for (const target of targets) {
3913
3913
  try {
3914
3914
  await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
@@ -12580,7 +12580,7 @@ var rememberMemoryFunctionSchema = {
12580
12580
  "\u3010\u5220\u9664\u6743\u9650\u5B89\u5168\u8FB9\u754C\u3011\u7269\u7406\u5220\u9664\uFF08deleteMemory\uFF09\u4E25\u683C\u53D7\u9650\uFF1A\u4EC5\u5728\u7528\u6237\u660E\u786E\u8981\u6C42\u5220\u9664\u4E14\u5728\u5F53\u524D\u7528\u6237\u81EA\u8EAB\u6743\u9650\u8303\u56F4\u5185\u65F6\u5141\u8BB8\u6267\u884C\uFF1B\u4E25\u7981\u6A21\u578B\u81EA\u884C\u8C03\u7528 deleteMemory \u7EF4\u62A4\u7248\u672C\u6216\u5F52\u6863\u65E7\u6761\u3002\u51B2\u7A81\u6216\u504F\u597D\u6F14\u8FDB\u65F6\u4F18\u5148\u4F9D\u9760\u5F53\u524D\u8F93\u5165\u8986\u76D6\uFF0C\u4E0D\u901A\u8FC7\u64C5\u81EA\u5220\u9664\u6765\u89E3\u51B3\u3002",
12581
12581
  "",
12582
12582
  "\u3010\u7F6E\u4FE1\u5EA6\u6765\u6E90\u3011\u6BCF\u6761\u8BB0\u5FC6\u5FC5\u987B\u6807\u6CE8\u6765\u6E90\uFF08\u4F9B\u53EC\u56DE\u65F6\u5224\u65AD\u53EF\u4FE1\u5EA6\uFF09\uFF1A",
12583
- " - verified\uFF1A\u5DE5\u5177/\u547D\u4EE4\u5B9E\u6D4B\u9A8C\u8BC1\u8FC7\uFF08\u9AD8\u7F6E\u4FE1\u5EA6\uFF09",
12583
+ " - verified\uFF1A\u8C03\u7528\u8005\u58F0\u660E\u5DE5\u5177/\u547D\u4EE4\u5B9E\u6D4B\u8FC7\uFF08\u5BBF\u4E3B\u672A\u72EC\u7ACB\u9A8C\u8BC1\uFF09",
12584
12584
  " - stated\uFF1A\u7528\u6237\u660E\u786E\u9648\u8FF0\uFF08\u4E2D\u9AD8\u7F6E\u4FE1\u5EA6\uFF09",
12585
12585
  " - inferred\uFF1A\u6A21\u578B\u63A8\u65AD/\u51ED\u5370\u8C61\uFF0C\u672A\u9A8C\u8BC1\uFF08\u4F4E\u7F6E\u4FE1\u5EA6\u2014\u2014\u5BB9\u6613\u7F16\u9020\uFF0C\u4F18\u5148\u6807\u8BB0\u5B58\u7591\uFF09",
12586
12586
  "\u8C03\u7528\u65F6\u5C3D\u91CF\u660E\u786E\u6765\u6E90\uFF0C\u65E0\u6CD5\u5224\u65AD\u7684\u4FDD\u5B88\u6807 inferred\u3002"
@@ -12602,6 +12602,11 @@ var rememberMemoryFunctionSchema = {
12602
12602
  enum: ["episodic", "semantic", "procedural"],
12603
12603
  description: "\u8BB0\u5FC6\u7C7B\u578B\u3002\u9ED8\u8BA4 episodic\u3002\u53EA\u6709\u4F60\u81F3\u5C11\u9047\u5230\u8FC7\u4E24\u6B21\u7684\u53EF\u6267\u884C\u6D41\u7A0B/\u7A33\u5B9A runbook \u624D\u7528 procedural\uFF0C\u4E14\u5FC5\u987B\u540C\u65F6\u63D0\u4F9B recurrenceEvidence\uFF0C\u5426\u5219\u4F1A\u88AB\u964D\u7EA7\u4E3A episodic\u3002\u5355\u6B21\u6392\u969C\u5B9E\u5F55\u7528 episodic\u3002"
12604
12604
  },
12605
+ provenance: {
12606
+ type: "string",
12607
+ enum: ["verified", "stated", "inferred"],
12608
+ description: "\u6765\u6E90\u58F0\u660E\uFF1Averified \u4E3A\u8C03\u7528\u8005\u58F0\u660E\u5B9E\u6D4B\uFF0Cstated \u4E3A\u7528\u6237\u9648\u8FF0\uFF0Cinferred \u4E3A\u63A8\u65AD\uFF1B\u5747\u4E0D\u4EE3\u8868\u7528\u6237\u8981\u6C42\u5E38\u9A7B\u6216\u5BBF\u4E3B\u5DF2\u9A8C\u8BC1\u3002\u65E0\u6CD5\u5224\u65AD\u65F6\u7528 inferred\u3002"
12609
+ },
12605
12610
  recurrenceEvidence: {
12606
12611
  type: "string",
12607
12612
  description: "kind=procedural \u65F6\u5FC5\u586B\uFF1A\u540C\u4E00\u95EE\u9898\u6B64\u524D\u5728\u4EC0\u4E48\u65F6\u5019\u9047\u5230\u8FC7\uFF08\u65F6\u95F4/\u573A\u666F/\u5BF9\u8BDD\uFF09\uFF0C\u7528\u4E8E\u8BC1\u660E\u5B83\u786E\u5B9E\u91CD\u590D\u51FA\u73B0\u3002\u4F8B\u5982\u201C2026-08-27 \u548C 2026-09-01 \u4E24\u6B21\u90E8\u7F72\u90FD\u5361\u5728\u540C\u4E00\u5904 PM2 \u6B8B\u7559\u5B9E\u4F8B\u201D\u3002\u7F3A\u5931\u5219\u672C\u6761\u964D\u7EA7\u4E3A episodic\u3002"
@@ -12630,7 +12635,8 @@ async function rememberMemoryFunc(args, thunkApi) {
12630
12635
  scope,
12631
12636
  kind,
12632
12637
  spaceId,
12633
- ...recurrenceEvidence ? { recurrenceEvidence } : {}
12638
+ ...recurrenceEvidence ? { recurrenceEvidence } : {},
12639
+ ...args.provenance ? { provenance: args.provenance } : {}
12634
12640
  },
12635
12641
  { withAuth: true }
12636
12642
  );
@@ -18977,7 +18983,7 @@ async function updateDocFunc(args, thunkApi) {
18977
18983
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
18978
18984
  };
18979
18985
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
18980
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-OKKIKLT3.js");
18986
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-XJ4UMU3C.js");
18981
18987
  if (getDocState().pageKey === id) {
18982
18988
  applyExternalDocUpdate({
18983
18989
  slateData: finalSlateData,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  fetchReferenceContents,
3
3
  resolveReferenceAssets
4
- } from "./chunk-EGHP7KOY.js";
4
+ } from "./chunk-KUDCKVYQ.js";
5
5
  import {
6
6
  updateTokensAction
7
- } from "./chunk-7BCG67EI.js";
7
+ } from "./chunk-KUOMUZH6.js";
8
8
  import {
9
9
  applyUpdateTokensFulfilled
10
10
  } from "./chunk-S2NTVGA2.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-QM7ETUTX.js");
115
+ const { runAgentRunCommand } = await import("./agentRunCommand-23SMDVDW.js");
116
116
  return runAgentRunCommand(args, {
117
117
  env: ctx.env,
118
118
  scriptDir: ctx.scriptDir,
@@ -128,7 +128,7 @@ function getAgentInternalCommandEntries() {
128
128
  return runAgentListCommand(args, deps);
129
129
  }),
130
130
  createEnvCommand(["agent", "create"], "Create a new agent", async (args, deps) => {
131
- const { runAgentCreateCommand } = await import("./agentRecordCommands-IZYUVHME.js");
131
+ const { runAgentCreateCommand } = await import("./agentRecordCommands-7TEX2B7Y.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-IZYUVHME.js");
147
+ const { runAgentReadCommand } = await import("./agentRecordCommands-7TEX2B7Y.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-IZYUVHME.js");
180
+ const { runAgentUpdateCommand } = await import("./agentRecordCommands-7TEX2B7Y.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-EISMBIRE.js");
184
+ const { runAgentEmailProvisionCommand } = await import("./agentEmailCommands-T4TW4IBX.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-EISMBIRE.js");
188
+ const { runAgentEmailBindCommand } = await import("./agentEmailCommands-T4TW4IBX.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-EISMBIRE.js");
192
+ const { runAgentEmailTransferCommand } = await import("./agentEmailCommands-T4TW4IBX.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-EISMBIRE.js");
199
+ const { runAgentEmailCreateAndProvisionCommand } = await import("./agentEmailCommands-T4TW4IBX.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-QWQKT54A.js");
204
+ const { runAgentDeleteCommand } = await import("./agentDeleteCommand-MD76OMLN.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-DC6NKWTU.js");
224
+ const { runAgentBindCurrentCommand } = await import("./agentMachineCommands-LSDGA5WR.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-DC6NKWTU.js");
228
+ const { runAgentSmokeCurrentCommand } = await import("./agentMachineCommands-LSDGA5WR.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-DC6NKWTU.js");
232
+ const { runAgentRuntimeDoctorCommand } = await import("./agentMachineCommands-LSDGA5WR.js");
233
233
  return runAgentRuntimeDoctorCommand(args, deps);
234
234
  }),
235
235
  createAgentRunCommand(["agent", "chat"], "Chat with an agent")
@@ -505,19 +505,19 @@ function getMemoryInternalCommandEntries() {
505
505
  function getSpaceInternalCommandEntries() {
506
506
  return [
507
507
  createEnvCommand(["space", "create"], "Create a space", async (args, deps) => {
508
- const { runSpaceCreateCommand } = await import("./spaceCommands-5VNWMDBE.js");
508
+ const { runSpaceCreateCommand } = await import("./spaceCommands-TOGSGCPS.js");
509
509
  return runSpaceCreateCommand(args, deps);
510
510
  }),
511
511
  createEnvCommand(["space", "invite"], "Invite an existing user to a space", async (args, deps) => {
512
- const { runSpaceInviteCommand } = await import("./spaceCommands-5VNWMDBE.js");
512
+ const { runSpaceInviteCommand } = await import("./spaceCommands-TOGSGCPS.js");
513
513
  return runSpaceInviteCommand(args, deps);
514
514
  }),
515
515
  createEnvCommand(["space", "accept-invite"], "Accept a space invite", async (args, deps) => {
516
- const { runSpaceAcceptInviteCommand } = await import("./spaceCommands-5VNWMDBE.js");
516
+ const { runSpaceAcceptInviteCommand } = await import("./spaceCommands-TOGSGCPS.js");
517
517
  return runSpaceAcceptInviteCommand(args, deps);
518
518
  }),
519
519
  createEnvCommand(["space", "upload"], "Upload a file to a space", async (args, deps) => {
520
- const { runSpaceUploadCommand } = await import("./spaceCommands-5VNWMDBE.js");
520
+ const { runSpaceUploadCommand } = await import("./spaceCommands-TOGSGCPS.js");
521
521
  return runSpaceUploadCommand(args, deps);
522
522
  })
523
523
  ];
@@ -539,55 +539,55 @@ function getSystemInternalCommandEntries(renderHelpText2) {
539
539
  return runAuthCooldownCommand(_args, ctx.env);
540
540
  }),
541
541
  createArgsCommand(["auth", "cloudflare"], "Authorize Cloudflare OAuth", async (args) => {
542
- const { runAuthCloudflareCommand } = await import("./authCommand-OZ2KTP4Z.js");
542
+ const { runAuthCloudflareCommand } = await import("./authCommand-3SUYUNQV.js");
543
543
  return runAuthCloudflareCommand(args);
544
544
  }),
545
545
  createArgsCommand(["auth", "chatgpt"], "Authorize ChatGPT / OpenAI Codex OAuth", async (args) => {
546
- const { runAuthChatgptCommand } = await import("./authCommand-OZ2KTP4Z.js");
546
+ const { runAuthChatgptCommand } = await import("./authCommand-3SUYUNQV.js");
547
547
  return runAuthChatgptCommand(args);
548
548
  }),
549
549
  createArgsCommand(["auth", "xai"], "Authorize xAI Grok OAuth (SuperGrok subscription)", async (args) => {
550
- const { runAuthXaiCommand } = await import("./authCommand-OZ2KTP4Z.js");
550
+ const { runAuthXaiCommand } = await import("./authCommand-3SUYUNQV.js");
551
551
  return runAuthXaiCommand(args);
552
552
  }),
553
553
  createArgsCommand(["auth", "antigravity"], "Authorize Google Antigravity OAuth", async (args) => {
554
- const { runAuthAntigravityCommand } = await import("./authCommand-OZ2KTP4Z.js");
554
+ const { runAuthAntigravityCommand } = await import("./authCommand-3SUYUNQV.js");
555
555
  return runAuthAntigravityCommand(args);
556
556
  }),
557
557
  createArgsCommand(["auth", "claude"], "Authorize Claude Pro/Max OAuth", async (args) => {
558
- const { runAuthClaudeCommand } = await import("./authCommand-OZ2KTP4Z.js");
558
+ const { runAuthClaudeCommand } = await import("./authCommand-3SUYUNQV.js");
559
559
  return runAuthClaudeCommand(args);
560
560
  }),
561
561
  createArgsCommand(["auth", "cursor"], "Authorize Cursor Pro OAuth", async (args) => {
562
- const { runAuthCursorCommand } = await import("./authCommand-OZ2KTP4Z.js");
562
+ const { runAuthCursorCommand } = await import("./authCommand-3SUYUNQV.js");
563
563
  return runAuthCursorCommand(args);
564
564
  }),
565
565
  createArgsCommand(["auth", "devin"], "Authorize Devin OAuth (Free SWE-2)", async (args) => {
566
- const { runAuthDevinCommand } = await import("./authCommand-OZ2KTP4Z.js");
566
+ const { runAuthDevinCommand } = await import("./authCommand-3SUYUNQV.js");
567
567
  return runAuthDevinCommand(args);
568
568
  }),
569
569
  createArgsCommand(["login"], "Log in to Nolo", async (args) => {
570
- const { runLoginCommand } = await import("./authCommands-55OGQGCR.js");
570
+ const { runLoginCommand } = await import("./authCommands-BLE7ETZH.js");
571
571
  return runLoginCommand(args);
572
572
  }),
573
573
  createContextCommand(["logout"], "Log out of Nolo", async (args, ctx) => {
574
- const { runLogoutCommand } = await import("./authCommands-55OGQGCR.js");
574
+ const { runLogoutCommand } = await import("./authCommands-BLE7ETZH.js");
575
575
  return runLogoutCommand({ args, env: ctx.env });
576
576
  }),
577
577
  createContextCommand(["whoami"], "Show the current login state", async (args, ctx) => {
578
- const { runWhoamiCommand } = await import("./authCommands-55OGQGCR.js");
578
+ const { runWhoamiCommand } = await import("./authCommands-BLE7ETZH.js");
579
579
  return runWhoamiCommand({ args, env: ctx.env });
580
580
  }),
581
581
  createEntrypointEnvCommand(["connect"], "Send machine heartbeats or hold a connector websocket", async (args, deps) => {
582
- const { runMachineConnectCommand } = await import("./machineCommands-HSQHDHOT.js");
582
+ const { runMachineConnectCommand } = await import("./machineCommands-X2FMPSV4.js");
583
583
  return runMachineConnectCommand(args, deps);
584
584
  }),
585
585
  createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
586
- const { runMachineConnectCommand } = await import("./machineCommands-HSQHDHOT.js");
586
+ const { runMachineConnectCommand } = await import("./machineCommands-X2FMPSV4.js");
587
587
  return runMachineConnectCommand(args, deps);
588
588
  }),
589
589
  createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
590
- const { runMachineStatusCommand } = await import("./machineCommands-HSQHDHOT.js");
590
+ const { runMachineStatusCommand } = await import("./machineCommands-X2FMPSV4.js");
591
591
  return runMachineStatusCommand(args, deps);
592
592
  }),
593
593
  createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
@@ -9,13 +9,13 @@ import {
9
9
  updateContentPinned,
10
10
  updateContentTitle,
11
11
  uploadAndAddFileToSpace
12
- } from "./chunk-HXB4VDGK.js";
12
+ } from "./chunk-6NNDUDAZ.js";
13
13
  import "./chunk-547ENH5T.js";
14
- import "./chunk-7BCG67EI.js";
14
+ import "./chunk-KUOMUZH6.js";
15
15
  import "./chunk-TZXPT53C.js";
16
16
  import "./chunk-BUDVRYES.js";
17
17
  import "./chunk-523DITKR.js";
18
- import "./chunk-WCFFRBL5.js";
18
+ import "./chunk-TPG2DPN2.js";
19
19
  import "./chunk-BYXBJQAS.js";
20
20
  import "./chunk-QYPE3TS3.js";
21
21
  import "./chunk-RG2DGNL6.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-HXB4VDGK.js";
3
+ } from "./chunk-6NNDUDAZ.js";
4
4
  import "./chunk-547ENH5T.js";
5
- import "./chunk-7BCG67EI.js";
5
+ import "./chunk-KUOMUZH6.js";
6
6
  import "./chunk-TZXPT53C.js";
7
7
  import "./chunk-BUDVRYES.js";
8
8
  import "./chunk-523DITKR.js";
9
- import "./chunk-WCFFRBL5.js";
9
+ import "./chunk-TPG2DPN2.js";
10
10
  import "./chunk-BYXBJQAS.js";
11
11
  import "./chunk-QYPE3TS3.js";
12
12
  import "./chunk-RG2DGNL6.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  createDialogAction,
3
3
  isLocalOwnerDialogAgents
4
- } from "./chunk-4QYJPWHH.js";
5
- import "./chunk-HXB4VDGK.js";
4
+ } from "./chunk-IONGMVPY.js";
5
+ import "./chunk-6NNDUDAZ.js";
6
6
  import "./chunk-547ENH5T.js";
7
- import "./chunk-7BCG67EI.js";
7
+ import "./chunk-KUOMUZH6.js";
8
8
  import "./chunk-TZXPT53C.js";
9
9
  import "./chunk-BUDVRYES.js";
10
10
  import "./chunk-523DITKR.js";
11
- import "./chunk-WCFFRBL5.js";
11
+ import "./chunk-TPG2DPN2.js";
12
12
  import "./chunk-BYXBJQAS.js";
13
13
  import "./chunk-QYPE3TS3.js";
14
14
  import "./chunk-RG2DGNL6.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  createPageAction
3
- } from "./chunk-3VZLEKV2.js";
3
+ } from "./chunk-PR2LAQAC.js";
4
4
  import "./chunk-FJ23FZXF.js";
5
5
  import "./chunk-AGIM7IMJ.js";
6
6
  import "./chunk-63W5N6P3.js";
7
7
  import "./chunk-VF4K2QE6.js";
8
- import "./chunk-HXB4VDGK.js";
8
+ import "./chunk-6NNDUDAZ.js";
9
9
  import "./chunk-547ENH5T.js";
10
- import "./chunk-7BCG67EI.js";
10
+ import "./chunk-KUOMUZH6.js";
11
11
  import "./chunk-TZXPT53C.js";
12
12
  import "./chunk-BUDVRYES.js";
13
13
  import "./chunk-523DITKR.js";
14
- import "./chunk-WCFFRBL5.js";
14
+ import "./chunk-TPG2DPN2.js";
15
15
  import "./chunk-BYXBJQAS.js";
16
16
  import "./chunk-QYPE3TS3.js";
17
17
  import "./chunk-RG2DGNL6.js";
@@ -20,11 +20,11 @@ import {
20
20
  switchDialogAgent,
21
21
  updateDialogTitle,
22
22
  updateTokens
23
- } from "./chunk-7BCG67EI.js";
23
+ } from "./chunk-KUOMUZH6.js";
24
24
  import "./chunk-TZXPT53C.js";
25
25
  import "./chunk-BUDVRYES.js";
26
26
  import "./chunk-523DITKR.js";
27
- import "./chunk-WCFFRBL5.js";
27
+ import "./chunk-TPG2DPN2.js";
28
28
  import "./chunk-BYXBJQAS.js";
29
29
  import "./chunk-QYPE3TS3.js";
30
30
  import "./chunk-RG2DGNL6.js";
@@ -25,7 +25,7 @@ import {
25
25
  updateTitleDoc,
26
26
  useDocField,
27
27
  useDocState
28
- } from "./chunk-LYD6C7OU.js";
28
+ } from "./chunk-FTMFO6LI.js";
29
29
  import "./chunk-UVLYNWIE.js";
30
30
  import "./chunk-YNIYE47Z.js";
31
31
  import "./chunk-5FUN7EG4.js";