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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/{_executeModel-4GGQQHOB.js → _executeModel-4WBUORCW.js} +40 -39
  2. package/{addContentAction-GDHDOF4U.js → addContentAction-EQXMFNPR.js} +4 -4
  3. package/{addDialogAgentAction-CAKRU3ZT.js → addDialogAgentAction-RSDZDASD.js} +3 -3
  4. package/{agentDeleteCommand-BPV2XZL7.js → agentDeleteCommand-BB6KU5AO.js} +58 -57
  5. package/{agentEmailCommands-EJOS75YL.js → agentEmailCommands-KMHPL6OH.js} +55 -54
  6. package/{agentListCommands-HIZODBF3.js → agentListCommands-5UNM7CGG.js} +27 -27
  7. package/{agentMachineCommands-ZMQ2CY7Y.js → agentMachineCommands-OC5D4YZW.js} +23 -23
  8. package/{agentProviderCommands-WKJOAWBP.js → agentProviderCommands-ZCH37KAL.js} +2 -2
  9. package/{agentRecordCommands-OMXVDLDX.js → agentRecordCommands-S2IVVEES.js} +54 -53
  10. package/{agentRunCommand-CB34YWMV.js → agentRunCommand-M22Y3D5U.js} +55 -53
  11. package/{agentRunControl-JNONH3RP.js → agentRunControl-QDFW5P2T.js} +6 -6
  12. package/{agentRuntimeLocal-QZPFWMLG.js → agentRuntimeLocal-SD7U2EGY.js} +21 -21
  13. package/{agentSlice-RD2CDU7T.js → agentSlice-AJPMMBOP.js} +4 -4
  14. package/{appDeleteCommands-QCCFDIEQ.js → appDeleteCommands-NE3NQQJL.js} +24 -24
  15. package/{appDeployCommands-V2T7TNMQ.js → appDeployCommands-2BAHY522.js} +24 -24
  16. package/{appDeployStatusCommands-6PGH7ZCG.js → appDeployStatusCommands-JTW6LZNC.js} +24 -24
  17. package/{appGetCommands-3L7WWJA6.js → appGetCommands-WKFEJO6A.js} +24 -24
  18. package/{appListCommands-ENJCK4PO.js → appListCommands-HNAZZLFX.js} +24 -24
  19. package/{authCommand-6V47SYGK.js → authCommand-VQP625QS.js} +16 -12
  20. package/{authCommands-GAJ3NIXO.js → authCommands-PAKU3CJZ.js} +5 -1
  21. package/{builtinSkillRegistry-2ECA42FC.js → builtinSkillRegistry-PXH7EGQB.js} +3 -3
  22. package/{chunk-AN74ON4G.js → chunk-2KTUDBG7.js} +1 -1
  23. package/{chunk-I7WBYGBP.js → chunk-2OLYKYNY.js} +2 -2
  24. package/{chunk-BGP2EDFG.js → chunk-4A2JIXR2.js} +1 -1
  25. package/{chunk-ON37YXGX.js → chunk-53X6PS42.js} +8 -8
  26. package/{chunk-2CI3ZFWD.js → chunk-5OZC7R7Y.js} +4 -4
  27. package/{chunk-5CHGAKRT.js → chunk-5R63B62U.js} +4 -4
  28. package/{chunk-ODJ7BVSI.js → chunk-652XYZGP.js} +3 -3
  29. package/{chunk-6WU5572L.js → chunk-6D7NVU66.js} +3 -3
  30. package/{chunk-DVQH4BTR.js → chunk-6E2NWYT4.js} +5 -1
  31. package/{chunk-27PCUMJI.js → chunk-6NKA6RKF.js} +1 -1
  32. package/{chunk-I4EADJ4P.js → chunk-6RQFZCKH.js} +16 -16
  33. package/{chunk-MYHNBEXD.js → chunk-AFHOCBSP.js} +1 -1
  34. package/{chunk-44X52WOJ.js → chunk-AVHRSJUH.js} +2 -2
  35. package/{chunk-SQYIK6HO.js → chunk-BGGHA5DV.js} +1 -1
  36. package/chunk-BJF2MHJ3.js +118 -0
  37. package/{chunk-B4GOW4MT.js → chunk-BKJSRO66.js} +26 -26
  38. package/{chunk-4DESLZTK.js → chunk-CXDPIPZ4.js} +2 -2
  39. package/{chunk-QNWG52I4.js → chunk-DJSTBAOU.js} +4 -4
  40. package/{chunk-WJVYAO6P.js → chunk-EGXPAWLG.js} +1 -1
  41. package/{chunk-SVT62ULE.js → chunk-EK7PGVPY.js} +13 -13
  42. package/{chunk-FS2XP5D7.js → chunk-EOWLBDY6.js} +1 -1
  43. package/{chunk-GYVCJABP.js → chunk-EVYGYDPG.js} +5 -5
  44. package/{chunk-EIAI3PPH.js → chunk-FRSBYNWI.js} +2 -2
  45. package/{chunk-MDLS23JK.js → chunk-G2EJ7NL4.js} +2 -2
  46. package/{chunk-UB3D4TRQ.js → chunk-GGKNJ42M.js} +2 -2
  47. package/{chunk-DNKTQ3IN.js → chunk-GIABSSWQ.js} +1 -1
  48. package/{chunk-PJCIP64Z.js → chunk-GNHMRBYZ.js} +1 -1
  49. package/{chunk-AD5EWDFD.js → chunk-GVGOEMNV.js} +1 -1
  50. package/{chunk-XWVCYUUU.js → chunk-H5LWB3D3.js} +7 -117
  51. package/{chunk-AIHYNKGV.js → chunk-H7R3365N.js} +3 -3
  52. package/{chunk-RDH5CQ4T.js → chunk-HCJFGH6Y.js} +3 -3
  53. package/{chunk-O6J3OTOP.js → chunk-HJAGA3GR.js} +3 -3
  54. package/{chunk-3LMUPOHG.js → chunk-IWH5SOU4.js} +2 -2
  55. package/{chunk-FJK526XH.js → chunk-IWQAOW2X.js} +2 -2
  56. package/{chunk-F3GRJO4Z.js → chunk-J6T25AJ6.js} +1 -1
  57. package/{chunk-SY3C4SQ7.js → chunk-JC5XLWZK.js} +3 -3
  58. package/{chunk-HYIETXA6.js → chunk-JVRQ6YVK.js} +1 -1
  59. package/{chunk-2GJKRKI6.js → chunk-K5FNYHZC.js} +1 -1
  60. package/{chunk-7ET2U67U.js → chunk-KN3HEZIQ.js} +1 -1
  61. package/{chunk-7EEZJ6BS.js → chunk-KOXKKHFE.js} +1 -1
  62. package/{chunk-LVL6GFCM.js → chunk-KPAFQHRT.js} +3 -3
  63. package/{chunk-2UCBGYO4.js → chunk-LE6LGAJE.js} +1 -1
  64. package/{chunk-X7UF53VA.js → chunk-ME4XUFTD.js} +3 -3
  65. package/{chunk-MBG66ZBH.js → chunk-MOMR7NMG.js} +1 -1
  66. package/{chunk-AQZ6BMRK.js → chunk-OGHP3CTL.js} +1 -1
  67. package/{chunk-DWX2HEVC.js → chunk-OK4MZRJ6.js} +14 -14
  68. package/{chunk-7JLY4WYF.js → chunk-OOF7XDZF.js} +2 -2
  69. package/{chunk-34J5K2YA.js → chunk-OXKUPBAQ.js} +2 -2
  70. package/{chunk-MAIITKBT.js → chunk-PFJNLBRU.js} +2 -2
  71. package/{chunk-JA3ICVJY.js → chunk-PVZY6P3S.js} +1 -1
  72. package/{chunk-IILMY4W4.js → chunk-PYIMOZSX.js} +3 -3
  73. package/{chunk-CIRB724Q.js → chunk-Q6HOUF4O.js} +1 -1
  74. package/{chunk-FYF2TONJ.js → chunk-Q7WP5RPC.js} +1 -1
  75. package/{chunk-YWWDC3O7.js → chunk-QG3USDTD.js} +5 -5
  76. package/{chunk-WAE3GFCJ.js → chunk-QLFCTYRH.js} +1 -1
  77. package/{chunk-NWP2OYOX.js → chunk-RXJ26SQW.js} +4 -4
  78. package/{chunk-MZLE5HQ3.js → chunk-S7RA7A4X.js} +26 -25
  79. package/{chunk-YU4ZPWVF.js → chunk-SASHAZ67.js} +1 -1
  80. package/chunk-SH3IKNCG.js +100 -0
  81. package/{chunk-MS4NZNKI.js → chunk-SJYK3LLP.js} +4 -4
  82. package/{chunk-OBWT45ZU.js → chunk-SRL56PI2.js} +3 -3
  83. package/{chunk-T6DXNI6Z.js → chunk-SYQR7FQS.js} +2 -2
  84. package/{chunk-WKGQSYTB.js → chunk-TRWT3EE3.js} +1 -1
  85. package/{chunk-Z2PITYZN.js → chunk-TVFRV3UQ.js} +16 -16
  86. package/{chunk-3IK6ILVW.js → chunk-UJKTI5PG.js} +6 -6
  87. package/{chunk-P5ZJRTCH.js → chunk-ULK35M44.js} +30 -30
  88. package/{chunk-KQSYAIZR.js → chunk-UMRI2IRY.js} +3 -3
  89. package/{chunk-CKG3PRZ7.js → chunk-VALBGPM6.js} +106 -50
  90. package/{chunk-WI67URFP.js → chunk-WOIURUUV.js} +4 -4
  91. package/{chunk-WUUH4LWZ.js → chunk-XUJZYUIM.js} +9 -9
  92. package/{chunk-NIZ2BXFD.js → chunk-XWGDCWXY.js} +2 -2
  93. package/{chunk-PJVKMGPZ.js → chunk-ZLNHUFOF.js} +133 -106
  94. package/{chunk-CMZ3Z5PT.js → chunk-ZLOSGVCQ.js} +3 -3
  95. package/{cliAgentConfigHelpers-TKYL43MT.js → cliAgentConfigHelpers-PO3MVDME.js} +7 -7
  96. package/{cliLocalAgentRecordReader-MHHD4T7R.js → cliLocalAgentRecordReader-Z7CH4K4R.js} +25 -25
  97. package/{commandRegistry-5DA5UP7S.js → commandRegistry-3JVE76K2.js} +61 -61
  98. package/{contentThunks-5GUQ7FWJ.js → contentThunks-SRKUHSBR.js} +17 -17
  99. package/{createAgentAutomationAction-UCLTHQRI.js → createAgentAutomationAction-B4BQV46J.js} +17 -17
  100. package/{createDialogAction-UPN774AF.js → createDialogAction-IONSKZIX.js} +19 -18
  101. package/{createPageAction-JRQ2TA4O.js → createPageAction-K75KBQOO.js} +18 -18
  102. package/{dbSlice-WNON7TOL.js → dbSlice-ZJPDIFER.js} +3 -3
  103. package/{dialogCommands-VRI7VCXH.js → dialogCommands-6KQEBHSG.js} +26 -26
  104. package/{dialogNotifyCommand-6TMCX4D2.js → dialogNotifyCommand-WIZFFEY3.js} +8 -8
  105. package/{dialogSlice-LFNVUSAN.js → dialogSlice-GPALSBQM.js} +15 -15
  106. package/{docCreateCommands-AMPXMOX3.js → docCreateCommands-XZOLWBRC.js} +23 -23
  107. package/{docDeleteCommands-I5WFAEHP.js → docDeleteCommands-ZSO4LGWE.js} +24 -24
  108. package/{docReadCommands-X53ELNIE.js → docReadCommands-TTMXCDER.js} +23 -23
  109. package/{docStore-2VAWVLWH.js → docStore-O43KOHIX.js} +4 -4
  110. package/{docUpdateCommands-6QPNDC7M.js → docUpdateCommands-PRG6WOXL.js} +23 -23
  111. package/{getPricing-MB2GBXOK.js → getPricing-YH3VMSVU.js} +3 -3
  112. package/{handleSendMessageAction-AAJOHXOB.js → handleSendMessageAction-I2GHUSHZ.js} +34 -34
  113. package/{hostCredentialCreate-GLMJ22M6.js → hostCredentialCreate-V775SKCE.js} +54 -53
  114. package/index.js +4 -4
  115. package/{localRuntimeAdapter-BMP57P42.js → localRuntimeAdapter-SAMUDW5S.js} +53 -52
  116. package/{machineCommands-3MLIAK5Q.js → machineCommands-ZXZWGMFE.js} +54 -53
  117. package/{machineWsRunDispatch-FKIGROQF.js → machineWsRunDispatch-3ZEI4BEC.js} +54 -53
  118. package/{memberThunks-ZGLZ36PK.js → memberThunks-JRYNONYV.js} +5 -5
  119. package/{models-ULVWLSQ6.js → models-CXINDUJA.js} +2 -2
  120. package/package.json +1 -1
  121. package/{projectArchive-HK63GMF4.js → projectArchive-V7EYBAX6.js} +18 -18
  122. package/{providerPresetApply-OIFQ73LH.js → providerPresetApply-SHT2SUVB.js} +5 -5
  123. package/{providerRegistry-KZ3SDZ3D.js → providerRegistry-TA7EGCVZ.js} +5 -5
  124. package/{read-MRQHJMJ2.js → read-Q7GOHGNP.js} +2 -2
  125. package/{readDocTool-4BGTXTXA.js → readDocTool-Z5OQ6422.js} +1 -1
  126. package/{readlineWorkspace-AKAHSCNY.js → readlineWorkspace-S4VRNWYG.js} +65 -63
  127. package/{removeDialogAgentAction-B6H7DXFM.js → removeDialogAgentAction-U3F2MNAY.js} +4 -4
  128. package/{runAgentClientLoop-UVAWGEON.js → runAgentClientLoop-MQLOUDF5.js} +37 -36
  129. package/{runtimeDoctorCommands-FW6XKDUG.js → runtimeDoctorCommands-I47JN4HS.js} +5 -5
  130. package/{setDialogExtraReferencesAction-EVCY3TRW.js → setDialogExtraReferencesAction-G3WSJ7EM.js} +4 -4
  131. package/{setPrimaryDialogAgentAction-KPFVPHCJ.js → setPrimaryDialogAgentAction-6FHAHZBB.js} +4 -4
  132. package/{settingThunks-ENOAK2WV.js → settingThunks-AXTBX3Q5.js} +7 -7
  133. package/{spaceCommands-DTTNAS2L.js → spaceCommands-IB6FKWIC.js} +23 -23
  134. package/{streamAgentChatTurn-R5UY25VB.js → streamAgentChatTurn-GMNIKJVL.js} +45 -44
  135. package/{switchDialogAgentAction-SZ44XDRY.js → switchDialogAgentAction-UOFIAGPL.js} +3 -3
  136. package/{tools-HWFG6GMJ.js → tools-MWIF3S4T.js} +31 -30
  137. package/{tuiSummaryLlmCaller-HQQZAMYF.js → tuiSummaryLlmCaller-7LWYTHLM.js} +12 -12
  138. package/{updateDialogTitleAction-KNPOAMVS.js → updateDialogTitleAction-ZXHMZFSX.js} +17 -17
  139. package/{usageCommand-FWZCB7AM.js → usageCommand-RVKHEPLU.js} +1 -1
  140. package/{usageRebuildCommand-SP2BLNJU.js → usageRebuildCommand-GRAFOZF2.js} +2 -2
  141. package/{workloadLifecycle-DYNEYHV5.js → workloadLifecycle-O2I3NZ2Q.js} +3 -3
@@ -3,7 +3,7 @@ import {
3
3
  parseFlagWithOptionalValue,
4
4
  runCloudflareOAuthLogin,
5
5
  upsertEnvVariable
6
- } from "./chunk-WJVYAO6P.js";
6
+ } from "./chunk-EGXPAWLG.js";
7
7
  import {
8
8
  ANTHROPIC_OAUTH_AUTHORIZE_URL,
9
9
  ANTHROPIC_OAUTH_CALLBACK_PORT,
@@ -47,10 +47,10 @@ import {
47
47
  startCallbackServer,
48
48
  validateXAIEndpoint,
49
49
  xaiOAuthDiscovery
50
- } from "./chunk-F3GRJO4Z.js";
50
+ } from "./chunk-J6T25AJ6.js";
51
51
  import {
52
52
  defaultOpenBrowser
53
- } from "./chunk-DVQH4BTR.js";
53
+ } from "./chunk-6E2NWYT4.js";
54
54
  import {
55
55
  extractGoogleValidationLink
56
56
  } from "./chunk-BMQ2MJUK.js";
@@ -60,7 +60,7 @@ import {
60
60
  detectLocalDevinCredentials,
61
61
  extractDevinToken,
62
62
  fetchAntigravityCloudCodeCompletion
63
- } from "./chunk-3LMUPOHG.js";
63
+ } from "./chunk-IWH5SOU4.js";
64
64
  import {
65
65
  getProfileOAuthSync,
66
66
  saveProfileOAuthSync
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-HS7MLR74.js";
4
4
  import {
5
5
  performServerProxyFetchWithRetry
6
- } from "./chunk-GYVCJABP.js";
6
+ } from "./chunk-EVYGYDPG.js";
7
7
  import {
8
8
  fetchServerSyncedCredential
9
- } from "./chunk-NWP2OYOX.js";
9
+ } from "./chunk-RXJ26SQW.js";
10
10
  import {
11
11
  CREDENTIAL_HYGIENE_RULE,
12
12
  DELETE_SAFETY_RED_LINE,
@@ -22,7 +22,7 @@ import {
22
22
  compileContextLayers,
23
23
  detectDispatchIntentFromMessages,
24
24
  resolveToolGuidedSections
25
- } from "./chunk-EIAI3PPH.js";
25
+ } from "./chunk-FRSBYNWI.js";
26
26
  import {
27
27
  convertMessagesToResponsesInput,
28
28
  getUsageRequestOptions,
@@ -31,18 +31,18 @@ import {
31
31
  resolveReasoningReplayOptions,
32
32
  shouldStripReasoningContentForOutbound,
33
33
  stablePromptCacheKey
34
- } from "./chunk-MAIITKBT.js";
34
+ } from "./chunk-PFJNLBRU.js";
35
35
  import {
36
36
  resolveAgentCallPlan,
37
37
  resolveClientWire
38
- } from "./chunk-KQSYAIZR.js";
38
+ } from "./chunk-UMRI2IRY.js";
39
39
  import {
40
40
  createFileCredentialBroker
41
41
  } from "./chunk-SNBZZPYH.js";
42
42
  import {
43
43
  WORKTREE_ISOLATION_PRELUDE,
44
44
  buildSkillGuidancePromptBlock
45
- } from "./chunk-PJCIP64Z.js";
45
+ } from "./chunk-GNHMRBYZ.js";
46
46
  import {
47
47
  canonicalizeToolNames
48
48
  } from "./chunk-6OVNSQHN.js";
@@ -53,7 +53,7 @@ import {
53
53
  } from "./chunk-L5I543VB.js";
54
54
  import {
55
55
  buildProviderAuthHeaders
56
- } from "./chunk-I7WBYGBP.js";
56
+ } from "./chunk-2OLYKYNY.js";
57
57
  import {
58
58
  toErrorMessage
59
59
  } from "./chunk-HNMXYYJR.js";
@@ -64,7 +64,7 @@ import {
64
64
  clampReasoningEffort,
65
65
  getModelConfig,
66
66
  isModelSupportReasoningEffort
67
- } from "./chunk-2UCBGYO4.js";
67
+ } from "./chunk-LE6LGAJE.js";
68
68
  import {
69
69
  isRecord
70
70
  } from "./chunk-KUG52IAP.js";
@@ -73,7 +73,7 @@ import {
73
73
  isFireworksKimiModel,
74
74
  isPlatformMimoProviderModel,
75
75
  resolveFireworksKimiModel
76
- } from "./chunk-CKG3PRZ7.js";
76
+ } from "./chunk-VALBGPM6.js";
77
77
  import {
78
78
  API_ENDPOINTS
79
79
  } from "./chunk-LCBAMY2M.js";
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-5ZUL4CUO.js";
4
4
  import {
5
5
  getModelContextWindow
6
- } from "./chunk-RDH5CQ4T.js";
6
+ } from "./chunk-HCJFGH6Y.js";
7
7
  import {
8
8
  BUILTIN_NOLO_AGENT_KEY
9
- } from "./chunk-3IK6ILVW.js";
9
+ } from "./chunk-UJKTI5PG.js";
10
10
  import {
11
11
  isPageKey,
12
12
  isTableMetaKey
@@ -49,7 +49,7 @@ import {
49
49
  withholdIfSecretLike,
50
50
  wrapLocalCommandWorkspaceObservation,
51
51
  writeUsage
52
- } from "./chunk-P5ZJRTCH.js";
52
+ } from "./chunk-ULK35M44.js";
53
53
  import {
54
54
  clearCredentialAvailability,
55
55
  readEffectiveCredentialEntry
@@ -57,7 +57,7 @@ import {
57
57
  import {
58
58
  readDbRecord,
59
59
  resolveAgentRecordFromHybridStore
60
- } from "./chunk-6WU5572L.js";
60
+ } from "./chunk-6D7NVU66.js";
61
61
  import {
62
62
  boxGlyphs,
63
63
  displayWidth,
@@ -65,7 +65,12 @@ import {
65
65
  stripAnsi,
66
66
  tokenizeAnsiLine,
67
67
  visibleWidth
68
- } from "./chunk-F3GRJO4Z.js";
68
+ } from "./chunk-J6T25AJ6.js";
69
+ import {
70
+ deriveStateResident,
71
+ resolvePureVNextRuntime,
72
+ touchMemoryItemsInDb
73
+ } from "./chunk-SH3IKNCG.js";
69
74
  import {
70
75
  _appendEntityBatch,
71
76
  _appendEvidenceBatch,
@@ -96,7 +101,7 @@ import {
96
101
  import {
97
102
  isBuiltinNoloAgentRef,
98
103
  resolveLocalUserId
99
- } from "./chunk-7JLY4WYF.js";
104
+ } from "./chunk-OOF7XDZF.js";
100
105
  import {
101
106
  CliProviderQuotaError
102
107
  } from "./chunk-MK2Q7ZJD.js";
@@ -108,23 +113,26 @@ import {
108
113
  } from "./chunk-BMQ2MJUK.js";
109
114
  import {
110
115
  resolveCliLocalRuntimeKeyCapability
111
- } from "./chunk-B4GOW4MT.js";
116
+ } from "./chunk-BKJSRO66.js";
112
117
  import {
113
118
  isTransientFetchError
114
119
  } from "./chunk-KFHREHUQ.js";
115
120
  import {
116
121
  parseUiCard,
117
122
  uiCardFallback
118
- } from "./chunk-ON37YXGX.js";
123
+ } from "./chunk-53X6PS42.js";
119
124
  import {
120
125
  isGatewayHttpStatus
121
126
  } from "./chunk-NF64D32W.js";
122
127
  import {
123
128
  buildMemorySubjectsForAgent,
129
+ resolveAgentMemoryPolicy
130
+ } from "./chunk-H5LWB3D3.js";
131
+ import {
124
132
  chooseMemoryOwners,
125
133
  loadMemoryCandidatesFromDb,
126
- resolveAgentMemoryPolicy
127
- } from "./chunk-XWVCYUUU.js";
134
+ loadOwnerItemsFromDb
135
+ } from "./chunk-BJF2MHJ3.js";
128
136
  import {
129
137
  API_REPORTED_COST_MULTIPLIER,
130
138
  estimateMessagesTokens,
@@ -134,7 +142,7 @@ import {
134
142
  resolveAgentContextWindow,
135
143
  resolveOccupancy,
136
144
  resolveOccupancyWindow
137
- } from "./chunk-MZLE5HQ3.js";
145
+ } from "./chunk-S7RA7A4X.js";
138
146
  import {
139
147
  isCliAuthorityBrokerProtocolError,
140
148
  isCliAuthorityBrokerTimeoutError,
@@ -152,10 +160,10 @@ import {
152
160
  evaluateTaskExecutionContract,
153
161
  markCliUserBatchPhase,
154
162
  readActionGate
155
- } from "./chunk-Z2PITYZN.js";
163
+ } from "./chunk-TVFRV3UQ.js";
156
164
  import {
157
165
  resolveAgentRuntimeConfigFromRecord
158
- } from "./chunk-YU4ZPWVF.js";
166
+ } from "./chunk-SASHAZ67.js";
159
167
  import {
160
168
  createThinkParserState,
161
169
  flushThinkParser,
@@ -173,12 +181,12 @@ import {
173
181
  ATTACHMENT_PART_VERSION,
174
182
  describeAttachmentForModel,
175
183
  normalizeAttachmentPart
176
- } from "./chunk-NIZ2BXFD.js";
184
+ } from "./chunk-XWGDCWXY.js";
177
185
  import {
178
186
  findCodexOAuthPinnedContextWindow,
179
187
  normalizeUsage,
180
188
  readCacheReadInputTokensOrNull
181
- } from "./chunk-RDH5CQ4T.js";
189
+ } from "./chunk-HCJFGH6Y.js";
182
190
  import {
183
191
  isOAuthApiKeyRef
184
192
  } from "./chunk-UKZX3NHN.js";
@@ -194,7 +202,7 @@ import {
194
202
  } from "./chunk-DWLEOOGR.js";
195
203
  import {
196
204
  isAntigravityOAuthAgent
197
- } from "./chunk-SY3C4SQ7.js";
205
+ } from "./chunk-JC5XLWZK.js";
198
206
  import {
199
207
  parseExternalSkillMarkdown,
200
208
  parseSkillDocProtocol
@@ -204,13 +212,10 @@ import {
204
212
  BUILTIN_NOLO_AGENT_NAME,
205
213
  builtinAgentCatalogEntryById,
206
214
  parseBuiltinPlatformAgentId
207
- } from "./chunk-3IK6ILVW.js";
215
+ } from "./chunk-UJKTI5PG.js";
208
216
  import {
209
217
  parsePublicAgentId
210
218
  } from "./chunk-M2EJHDJP.js";
211
- import {
212
- createMemoryKey
213
- } from "./chunk-SYTHYBMI.js";
214
219
  import {
215
220
  ulid
216
221
  } from "./chunk-OJKUU3LP.js";
@@ -254,7 +259,7 @@ import {
254
259
  serverOriginForDialog,
255
260
  settleRunTerminalAuthoritatively,
256
261
  spawnLocalBackgroundRun
257
- } from "./chunk-2GJKRKI6.js";
262
+ } from "./chunk-K5FNYHZC.js";
258
263
  import {
259
264
  formatAgentListCard,
260
265
  formatFinishedRunCard,
@@ -272,7 +277,7 @@ import {
272
277
  } from "./chunk-EWQ3HGNZ.js";
273
278
  import {
274
279
  resolveClientVersion
275
- } from "./chunk-I7WBYGBP.js";
280
+ } from "./chunk-2OLYKYNY.js";
276
281
  import {
277
282
  toErrorMessage
278
283
  } from "./chunk-HNMXYYJR.js";
@@ -281,12 +286,12 @@ import {
281
286
  } from "./chunk-3EUW3WEO.js";
282
287
  import {
283
288
  findModelConfig
284
- } from "./chunk-2UCBGYO4.js";
289
+ } from "./chunk-LE6LGAJE.js";
285
290
  import {
286
291
  CLIENT_VERSION_TOO_OLD_CODE,
287
292
  NOLO_CLIENT_VERSION_HEADER,
288
293
  buildClientVersionUpgradeMessage
289
- } from "./chunk-CKG3PRZ7.js";
294
+ } from "./chunk-VALBGPM6.js";
290
295
  import {
291
296
  asTrimmedLowercaseString
292
297
  } from "./chunk-QSJ3HFEF.js";
@@ -11018,7 +11023,7 @@ async function assessHostTaskWorkspace(input) {
11018
11023
 
11019
11024
  // packages/cli/client/agentRun.ts
11020
11025
  async function loadRunLocalAgentTurn() {
11021
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-QZPFWMLG.js");
11026
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-SD7U2EGY.js");
11022
11027
  return runLocalAgentTurn;
11023
11028
  }
11024
11029
  var stripDebugNoise = (s) => s.replace(/\s*raw="[\s\S]*"/g, "").replace(/\s*raw=\S+/g, "").replace(/\s*headers=\[[^\]]*\]/g, "").replace(/\s*headers=\S+/g, "").trim();
@@ -13544,22 +13549,6 @@ function imageMimeTypeForPath(path2) {
13544
13549
  }
13545
13550
  }
13546
13551
 
13547
- // packages/ai/memory/storeShared.ts
13548
- var retrievalCountOf = (item) => item.activationCount ?? 0;
13549
- var touchMemoryItemsInDb = async (db, items, now = (/* @__PURE__ */ new Date()).toISOString()) => {
13550
- if (items.length === 0) return;
13551
- const batch = db.batch();
13552
- for (const item of items) {
13553
- batch.put(createMemoryKey(item.ownerType, item.ownerId, item.id), {
13554
- ...item,
13555
- // retrieval bookkeeping on legacy storage names — see doc comment above
13556
- lastActivatedAt: now,
13557
- activationCount: retrievalCountOf(item) + 1
13558
- });
13559
- }
13560
- await batch.write();
13561
- };
13562
-
13563
13552
  // packages/ai/memory/vnext/detachedThrottle.ts
13564
13553
  var DEFAULT_DETACHED_MEMORY_COOLDOWN_MS = 10 * 60 * 1e3;
13565
13554
  var MAX_COOLDOWN_KEYS = 512;
@@ -14724,67 +14713,10 @@ var isMemoryVNextLazyPromotionEnabled = (env = typeof process !== "undefined" ?
14724
14713
  // packages/ai/memory/vnext/pureReadGate.ts
14725
14714
  var isMemoryVNextPureReadEnabled = (env = typeof process !== "undefined" ? process.env : {}) => env.NOLO_MEMORY_VNEXT_PURE_READ === "1" || env.NOLO_MEMORY_VNEXT_PURE_READ === "true";
14726
14715
 
14727
- // packages/ai/memory/vnext/pureVNextRuntime.ts
14728
- var buildSynthesizedStateItem = (state2, entity, ownerType, ownerId) => ({
14729
- id: `vnext-state-${state2.id}`,
14730
- ownerType,
14731
- ownerId,
14732
- visibility: "private",
14733
- subjectType: "user",
14734
- subjectId: ownerId,
14735
- kind: "semantic",
14736
- content: state2.text.trim(),
14737
- createdAt: state2.createdAt,
14738
- lastActivatedAt: state2.createdAt,
14739
- activationCount: 1,
14740
- importance: 0.9,
14741
- confidence: 0.9,
14742
- resident: state2.facet === "preference" || state2.facet === "style"
14743
- });
14744
- async function resolvePureVNextRuntime(input) {
14745
- const { db, owners, userInput } = input;
14746
- if (owners.length === 0 || !userInput.trim()) {
14747
- return { selectedItems: [], promptBlock: null, recalledStateCount: 0 };
14748
- }
14749
- const ownerIds = owners.map((o) => `${o.ownerType}:${encodeURIComponent(o.ownerId)}`);
14750
- const catalogs = await Promise.all(
14751
- ownerIds.map((ownerId) => loadMemoryVNextCatalog(db, ownerId))
14752
- );
14753
- const selectedItems = [];
14754
- const seenStateKeys = /* @__PURE__ */ new Set();
14755
- for (let i = 0; i < owners.length; i++) {
14756
- const owner = owners[i];
14757
- const catalog = catalogs[i];
14758
- const currentStates = catalog.states.filter((s) => !s.retiredAt && s.text.trim());
14759
- const hits = recallMemoryVNextLocal({
14760
- query: userInput,
14761
- entities: catalog.entities,
14762
- states: currentStates
14763
- });
14764
- const entityById = new Map(catalog.entities.map((e) => [e.id, e]));
14765
- for (const hit of hits) {
14766
- const stateKey = `${hit.state.ownerId}\0${hit.state.id}`;
14767
- if (seenStateKeys.has(stateKey)) continue;
14768
- seenStateKeys.add(stateKey);
14769
- selectedItems.push(
14770
- buildSynthesizedStateItem(hit.state, entityById.get(hit.state.entityId), owner.ownerType, owner.ownerId)
14771
- );
14772
- }
14773
- }
14774
- const promptBlock = selectedItems.length === 0 ? null : buildMemoryOverlay(selectedItems, {
14775
- maxTokens: input.maxTokens ?? DEFAULT_MEMORY_OVERLAY_TOKEN_BUDGET
14776
- });
14777
- return {
14778
- selectedItems,
14779
- promptBlock,
14780
- recalledStateCount: selectedItems.length
14781
- };
14782
- }
14783
-
14784
14716
  // packages/ai/memory/vnext/primaryRead.ts
14785
14717
  var MEMORY_VNEXT_PRIMARY_READ_TIMEOUT_MS = 300;
14786
14718
  var isMemoryVNextPrimaryReadEnabled = (env = typeof process !== "undefined" ? process.env : {}) => env.NOLO_MEMORY_VNEXT_PRIMARY_READ === "1" || env.NOLO_MEMORY_VNEXT_PRIMARY_READ === "true";
14787
- var buildSynthesizedStateItem2 = (state2, entity, ownerType, ownerId) => ({
14719
+ var buildSynthesizedStateItem = (state2, entity, ownerType, ownerId) => ({
14788
14720
  id: `vnext-state-${state2.id}`,
14789
14721
  ownerType,
14790
14722
  ownerId,
@@ -14796,8 +14728,9 @@ var buildSynthesizedStateItem2 = (state2, entity, ownerType, ownerId) => ({
14796
14728
  createdAt: state2.createdAt,
14797
14729
  importance: 0.9,
14798
14730
  confidence: 0.9,
14799
- // Flag resident preferences so they flow into overlay's resident section.
14800
- resident: state2.facet === "preference" || state2.facet === "style",
14731
+ // 与 pureVNextRuntime / queryMemoryHandler 共用同一判定,避免四条合成路径分裂
14732
+ // (2026-11-15:这里原先各自写 facet,漏了 ownerType/长度约束)。
14733
+ resident: deriveStateResident(state2, ownerType),
14801
14734
  lastActivatedAt: state2.createdAt,
14802
14735
  activationCount: 1
14803
14736
  });
@@ -14829,7 +14762,7 @@ var resolveMemoryVNextM4Selection = async (input) => {
14829
14762
  if (recalledStateIds.has(hit.state.id)) continue;
14830
14763
  recalledStateIds.add(hit.state.id);
14831
14764
  recalledStates.push(
14832
- buildSynthesizedStateItem2(hit.state, entityById.get(hit.state.entityId), owner.ownerType, owner.ownerId)
14765
+ buildSynthesizedStateItem(hit.state, entityById.get(hit.state.entityId), owner.ownerType, owner.ownerId)
14833
14766
  );
14834
14767
  }
14835
14768
  }
@@ -14978,12 +14911,106 @@ var resolveMemoryRuntime = async (input) => {
14978
14911
  return { selectedItems: [], promptBlock: null };
14979
14912
  }
14980
14913
  if (isMemoryVNextPureReadEnabled()) {
14981
- const pure = await resolvePureVNextRuntime({
14982
- db: input.db,
14983
- owners,
14984
- userInput: input.userInput,
14985
- maxTokens: MEMORY_OVERLAY_TOKEN_BUDGET
14986
- });
14914
+ const pureStartedAt = performance.now();
14915
+ let pure;
14916
+ let pureError = null;
14917
+ try {
14918
+ pure = await resolvePureVNextRuntime({
14919
+ db: input.db,
14920
+ owners,
14921
+ userInput: input.userInput,
14922
+ maxTokens: MEMORY_OVERLAY_TOKEN_BUDGET
14923
+ });
14924
+ } catch (error) {
14925
+ pureError = error;
14926
+ pure = { selectedItems: [], promptBlock: null, recalledStateCount: 0 };
14927
+ }
14928
+ const pureLatencyMs = Math.round((performance.now() - pureStartedAt) * 10) / 10;
14929
+ const emitPureRead = (observation) => {
14930
+ try {
14931
+ if (input.pureReadEmit) {
14932
+ input.pureReadEmit(observation);
14933
+ } else if (input.primaryReadEmit) {
14934
+ input.primaryReadEmit({
14935
+ source: observation.source === "vnext" ? "vnext" : "none",
14936
+ legacyHitCount: 0,
14937
+ recalledStateCount: observation.vnextItemCount,
14938
+ vnextLatencyMs: observation.vnextLatencyMs,
14939
+ legacyLatencyMs: 0,
14940
+ contextChars: observation.contextChars,
14941
+ fallbackReason: observation.fallbackReason,
14942
+ error: observation.error
14943
+ });
14944
+ } else {
14945
+ console.info("[memory] vnext pure read", {
14946
+ event: "memory_vnext_pure_read",
14947
+ ...observation
14948
+ });
14949
+ }
14950
+ } catch {
14951
+ }
14952
+ };
14953
+ if (pureError != null) {
14954
+ emitPureRead({
14955
+ source: "none",
14956
+ itemCount: 0,
14957
+ vnextItemCount: 0,
14958
+ vnextLatencyMs: pureLatencyMs,
14959
+ contextChars: 0,
14960
+ fallbackReason: "vnext_error",
14961
+ error: pureError instanceof Error ? pureError.message : String(pureError)
14962
+ });
14963
+ } else if (pure.selectedItems.length === 0) {
14964
+ emitPureRead({
14965
+ source: "none",
14966
+ itemCount: 0,
14967
+ vnextItemCount: 0,
14968
+ vnextLatencyMs: pureLatencyMs,
14969
+ contextChars: 0,
14970
+ fallbackReason: "no_vnext_context"
14971
+ });
14972
+ } else {
14973
+ emitPureRead({
14974
+ source: "vnext",
14975
+ itemCount: pure.selectedItems.length,
14976
+ vnextItemCount: pure.recalledStateCount,
14977
+ vnextLatencyMs: pureLatencyMs,
14978
+ contextChars: pure.promptBlock?.length ?? 0
14979
+ });
14980
+ }
14981
+ const lazyPromotionEnabled2 = input.vNextShadowProvider != null && isMemoryVNextLazyPromotionEnabled();
14982
+ if (lazyPromotionEnabled2) {
14983
+ void (async () => {
14984
+ const ownerItems = await Promise.all(
14985
+ owners.map(
14986
+ (owner) => loadOwnerItemsFromDb(
14987
+ input.db,
14988
+ owner,
14989
+ input.ownerLimit ?? DEFAULT_MEMORY_RUNTIME_OWNER_LIMIT
14990
+ )
14991
+ )
14992
+ );
14993
+ const legacyCandidates = ownerItems.flat();
14994
+ if (legacyCandidates.length > 0) {
14995
+ const promotionPick = await pickFirstUncoveredLazyPromotionItem(
14996
+ input.db,
14997
+ legacyCandidates
14998
+ );
14999
+ if (promotionPick) {
15000
+ await runMemoryVNextLazyPromotion({
15001
+ db: input.db,
15002
+ item: promotionPick.item,
15003
+ selectedIndex: promotionPick.selectedIndex,
15004
+ skippedCoveredCount: promotionPick.skippedCoveredCount,
15005
+ skippedNoOpCount: promotionPick.skippedNoOpCount,
15006
+ provider: input.vNextShadowProvider,
15007
+ ...input.lazyPromotionEmit ? { emit: input.lazyPromotionEmit } : {}
15008
+ });
15009
+ }
15010
+ }
15011
+ })().catch(() => {
15012
+ });
15013
+ }
14987
15014
  return {
14988
15015
  selectedItems: pure.selectedItems,
14989
15016
  promptBlock: pure.promptBlock
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-YFLVRVYK.js";
7
7
  import {
8
8
  clearCliLocalRuntimePreparedAgentCache
9
- } from "./chunk-P5ZJRTCH.js";
9
+ } from "./chunk-ULK35M44.js";
10
10
  import {
11
11
  readCredentialAvailability
12
12
  } from "./chunk-FIYSMXHY.js";
@@ -20,7 +20,7 @@ import {
20
20
  resolveAgentRecordFromHybridStore,
21
21
  sanitizeAgentRecordForCliOutput,
22
22
  writeAgentRecord
23
- } from "./chunk-6WU5572L.js";
23
+ } from "./chunk-6D7NVU66.js";
24
24
  import {
25
25
  BIGMODEL_PROVIDER_TARGET,
26
26
  buildCredentialUseGrant,
@@ -256,7 +256,7 @@ async function runAgentCreateCommand(args, deps = {}) {
256
256
  let verifyResult;
257
257
  if (parsed.verify) {
258
258
  try {
259
- const { verifyCustomProvider } = await import("./agentProviderCommands-WKJOAWBP.js");
259
+ const { verifyCustomProvider } = await import("./agentProviderCommands-ZCH37KAL.js");
260
260
  const rec = built.nextRecord;
261
261
  const verifyCredentialRef = typeof rec.credentialRef === "string" && rec.credentialRef.trim() ? rec.credentialRef.trim() : "";
262
262
  if (verifyCredentialRef) {
@@ -6,21 +6,21 @@ import {
6
6
  localTurnHasSubjectRefs,
7
7
  resolveLocalUserId,
8
8
  withResolvedRuntimeToolSurface
9
- } from "./chunk-7JLY4WYF.js";
9
+ } from "./chunk-OOF7XDZF.js";
10
10
  import "./chunk-BR3GT6MR.js";
11
11
  import "./chunk-SOF4OWDM.js";
12
12
  import "./chunk-6OVNSQHN.js";
13
- import "./chunk-3IK6ILVW.js";
13
+ import "./chunk-UJKTI5PG.js";
14
14
  import "./chunk-M2EJHDJP.js";
15
15
  import "./chunk-I42VC5KR.js";
16
- import "./chunk-AQZ6BMRK.js";
17
- import "./chunk-I7WBYGBP.js";
18
- import "./chunk-MDLS23JK.js";
16
+ import "./chunk-OGHP3CTL.js";
17
+ import "./chunk-2OLYKYNY.js";
18
+ import "./chunk-G2EJ7NL4.js";
19
19
  import "./chunk-3EUW3WEO.js";
20
- import "./chunk-2UCBGYO4.js";
20
+ import "./chunk-LE6LGAJE.js";
21
21
  import "./chunk-JRTNUU5Z.js";
22
22
  import "./chunk-KUG52IAP.js";
23
- import "./chunk-CKG3PRZ7.js";
23
+ import "./chunk-VALBGPM6.js";
24
24
  import "./chunk-QSJ3HFEF.js";
25
25
  import "./chunk-2THCNKE4.js";
26
26
  import "./chunk-OLZBQWZU.js";
@@ -3,38 +3,38 @@ import {
3
3
  readDialogMessageRecords,
4
4
  readDialogMessages,
5
5
  resolveBuiltinLocalCliAgentConfig
6
- } from "./chunk-2CI3ZFWD.js";
6
+ } from "./chunk-5OZC7R7Y.js";
7
7
  import "./chunk-2ZKFCIJJ.js";
8
8
  import "./chunk-BR3GT6MR.js";
9
- import "./chunk-I4EADJ4P.js";
10
- import "./chunk-HYIETXA6.js";
11
- import "./chunk-Z2PITYZN.js";
9
+ import "./chunk-6RQFZCKH.js";
10
+ import "./chunk-JVRQ6YVK.js";
11
+ import "./chunk-TVFRV3UQ.js";
12
12
  import "./chunk-ZNFJWEN4.js";
13
- import "./chunk-3LMUPOHG.js";
13
+ import "./chunk-IWH5SOU4.js";
14
14
  import "./chunk-CHOZJMJS.js";
15
15
  import "./chunk-PWTNI4N7.js";
16
16
  import "./chunk-AL3TYDIF.js";
17
- import "./chunk-QNWG52I4.js";
17
+ import "./chunk-DJSTBAOU.js";
18
18
  import "./chunk-HNUWUO75.js";
19
19
  import "./chunk-LKA64WH4.js";
20
- import "./chunk-YU4ZPWVF.js";
20
+ import "./chunk-SASHAZ67.js";
21
21
  import "./chunk-2WZXXAQD.js";
22
- import "./chunk-OBWT45ZU.js";
23
- import "./chunk-BGP2EDFG.js";
22
+ import "./chunk-SRL56PI2.js";
23
+ import "./chunk-4A2JIXR2.js";
24
24
  import "./chunk-56GBUMO5.js";
25
- import "./chunk-EIAI3PPH.js";
25
+ import "./chunk-FRSBYNWI.js";
26
26
  import "./chunk-C4VAR65S.js";
27
27
  import "./chunk-HOCHUZQ7.js";
28
28
  import "./chunk-SOF4OWDM.js";
29
- import "./chunk-MAIITKBT.js";
29
+ import "./chunk-PFJNLBRU.js";
30
30
  import "./chunk-E2BESSAW.js";
31
31
  import "./chunk-TLE77UJ5.js";
32
- import "./chunk-FS2XP5D7.js";
33
- import "./chunk-KQSYAIZR.js";
32
+ import "./chunk-EOWLBDY6.js";
33
+ import "./chunk-UMRI2IRY.js";
34
34
  import "./chunk-2MBTWINN.js";
35
- import "./chunk-NIZ2BXFD.js";
35
+ import "./chunk-XWGDCWXY.js";
36
36
  import "./chunk-5ZUL4CUO.js";
37
- import "./chunk-RDH5CQ4T.js";
37
+ import "./chunk-HCJFGH6Y.js";
38
38
  import "./chunk-H57T64RA.js";
39
39
  import "./chunk-UKZX3NHN.js";
40
40
  import "./chunk-5MMAK75Q.js";
@@ -44,19 +44,19 @@ import "./chunk-SNBZZPYH.js";
44
44
  import "./chunk-DWLEOOGR.js";
45
45
  import "./chunk-OW765XBU.js";
46
46
  import "./chunk-7DPNBQSV.js";
47
- import "./chunk-WKGQSYTB.js";
48
- import "./chunk-SY3C4SQ7.js";
49
- import "./chunk-PJCIP64Z.js";
47
+ import "./chunk-TRWT3EE3.js";
48
+ import "./chunk-JC5XLWZK.js";
49
+ import "./chunk-GNHMRBYZ.js";
50
50
  import "./chunk-6OVNSQHN.js";
51
51
  import "./chunk-W6RFEDN4.js";
52
- import "./chunk-7ET2U67U.js";
53
- import "./chunk-3IK6ILVW.js";
52
+ import "./chunk-KN3HEZIQ.js";
53
+ import "./chunk-UJKTI5PG.js";
54
54
  import "./chunk-M2EJHDJP.js";
55
55
  import "./chunk-SYTHYBMI.js";
56
56
  import "./chunk-OJKUU3LP.js";
57
57
  import "./chunk-YZMNK53S.js";
58
58
  import "./chunk-I42VC5KR.js";
59
- import "./chunk-FJK526XH.js";
59
+ import "./chunk-IWQAOW2X.js";
60
60
  import "./chunk-VIDPVFP3.js";
61
61
  import "./chunk-4JH2UMJR.js";
62
62
  import "./chunk-JWXITTQB.js";
@@ -65,14 +65,14 @@ import "./chunk-KHCLMKZZ.js";
65
65
  import "./chunk-KEN3N2TN.js";
66
66
  import "./chunk-EWQ3HGNZ.js";
67
67
  import "./chunk-PSCNXBYA.js";
68
- import "./chunk-I7WBYGBP.js";
69
- import "./chunk-MDLS23JK.js";
68
+ import "./chunk-2OLYKYNY.js";
69
+ import "./chunk-G2EJ7NL4.js";
70
70
  import "./chunk-HNMXYYJR.js";
71
71
  import "./chunk-3EUW3WEO.js";
72
- import "./chunk-2UCBGYO4.js";
72
+ import "./chunk-LE6LGAJE.js";
73
73
  import "./chunk-JRTNUU5Z.js";
74
74
  import "./chunk-KUG52IAP.js";
75
- import "./chunk-CKG3PRZ7.js";
75
+ import "./chunk-VALBGPM6.js";
76
76
  import "./chunk-QSJ3HFEF.js";
77
77
  import "./chunk-U6VC4MU4.js";
78
78
  import "./chunk-WWC7I6TA.js";