agentfootprint 18.2.0 → 19.0.0

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 (295) hide show
  1. package/CAPABILITIES.md +3 -0
  2. package/dist/adapters/llm/AnthropicProvider.js +4 -0
  3. package/dist/adapters/llm/AnthropicProvider.js.map +1 -1
  4. package/dist/adapters/llm/BrowserAnthropicProvider.js +4 -0
  5. package/dist/adapters/llm/BrowserAnthropicProvider.js.map +1 -1
  6. package/dist/adapters/llm/InvokeModelGatewayProvider.js +18 -21
  7. package/dist/adapters/llm/InvokeModelGatewayProvider.js.map +1 -1
  8. package/dist/adapters/llm/anthropicModels.js +72 -4
  9. package/dist/adapters/llm/anthropicModels.js.map +1 -1
  10. package/dist/adapters/observability/auditShapes/events/decisions.js +19 -0
  11. package/dist/adapters/observability/auditShapes/events/decisions.js.map +1 -1
  12. package/dist/core/agent/contextBinding/check.js +141 -0
  13. package/dist/core/agent/contextBinding/check.js.map +1 -0
  14. package/dist/core/agent/contextBinding/compare.js +84 -0
  15. package/dist/core/agent/contextBinding/compare.js.map +1 -0
  16. package/dist/core/agent/contextBinding/composition.js +87 -0
  17. package/dist/core/agent/contextBinding/composition.js.map +1 -0
  18. package/dist/core/agent/contextBinding/forCall.js +41 -0
  19. package/dist/core/agent/contextBinding/forCall.js.map +1 -0
  20. package/dist/core/agent/runValues.js +1 -0
  21. package/dist/core/agent/runValues.js.map +1 -1
  22. package/dist/core/agent/runtime/configuration/configure.js +6 -0
  23. package/dist/core/agent/runtime/configuration/configure.js.map +1 -1
  24. package/dist/core/agent/runtime/configuration/values.js.map +1 -1
  25. package/dist/core/agent/runtime/native/initialize.js +1 -0
  26. package/dist/core/agent/runtime/native/initialize.js.map +1 -1
  27. package/dist/core/agent/runtime/request/factory.js +1 -0
  28. package/dist/core/agent/runtime/request/factory.js.map +1 -1
  29. package/dist/core/agent/stages/callLLM/prepareCall.js +13 -0
  30. package/dist/core/agent/stages/callLLM/prepareCall.js.map +1 -1
  31. package/dist/core/agent/stages/callLLM.js +2 -0
  32. package/dist/core/agent/stages/callLLM.js.map +1 -1
  33. package/dist/esm/adapters/llm/AnthropicProvider.d.ts +16 -0
  34. package/dist/esm/adapters/llm/AnthropicProvider.js +5 -1
  35. package/dist/esm/adapters/llm/AnthropicProvider.js.map +1 -1
  36. package/dist/esm/adapters/llm/BrowserAnthropicProvider.d.ts +9 -0
  37. package/dist/esm/adapters/llm/BrowserAnthropicProvider.js +5 -1
  38. package/dist/esm/adapters/llm/BrowserAnthropicProvider.js.map +1 -1
  39. package/dist/esm/adapters/llm/InvokeModelGatewayProvider.d.ts +10 -8
  40. package/dist/esm/adapters/llm/InvokeModelGatewayProvider.js +19 -22
  41. package/dist/esm/adapters/llm/InvokeModelGatewayProvider.js.map +1 -1
  42. package/dist/esm/adapters/llm/anthropicModels.d.ts +37 -0
  43. package/dist/esm/adapters/llm/anthropicModels.js +70 -3
  44. package/dist/esm/adapters/llm/anthropicModels.js.map +1 -1
  45. package/dist/esm/adapters/observability/auditShapes/events/decisions.js +19 -0
  46. package/dist/esm/adapters/observability/auditShapes/events/decisions.js.map +1 -1
  47. package/dist/esm/core/agent/contextBinding/check.d.ts +68 -0
  48. package/dist/esm/core/agent/contextBinding/check.js +135 -0
  49. package/dist/esm/core/agent/contextBinding/check.js.map +1 -0
  50. package/dist/esm/core/agent/contextBinding/compare.d.ts +13 -0
  51. package/dist/esm/core/agent/contextBinding/compare.js +80 -0
  52. package/dist/esm/core/agent/contextBinding/compare.js.map +1 -0
  53. package/dist/esm/core/agent/contextBinding/composition.d.ts +54 -0
  54. package/dist/esm/core/agent/contextBinding/composition.js +79 -0
  55. package/dist/esm/core/agent/contextBinding/composition.js.map +1 -0
  56. package/dist/esm/core/agent/contextBinding/forCall.d.ts +23 -0
  57. package/dist/esm/core/agent/contextBinding/forCall.js +36 -0
  58. package/dist/esm/core/agent/contextBinding/forCall.js.map +1 -0
  59. package/dist/esm/core/agent/runValues.d.ts +3 -0
  60. package/dist/esm/core/agent/runValues.js +1 -0
  61. package/dist/esm/core/agent/runValues.js.map +1 -1
  62. package/dist/esm/core/agent/runtime/configuration/configure.js +6 -0
  63. package/dist/esm/core/agent/runtime/configuration/configure.js.map +1 -1
  64. package/dist/esm/core/agent/runtime/configuration/types.d.ts +5 -1
  65. package/dist/esm/core/agent/runtime/configuration/values.d.ts +1 -0
  66. package/dist/esm/core/agent/runtime/configuration/values.js.map +1 -1
  67. package/dist/esm/core/agent/runtime/native/initialize.js +1 -0
  68. package/dist/esm/core/agent/runtime/native/initialize.js.map +1 -1
  69. package/dist/esm/core/agent/runtime/request/factory.js +1 -0
  70. package/dist/esm/core/agent/runtime/request/factory.js.map +1 -1
  71. package/dist/esm/core/agent/stages/callLLM/prepareCall.d.ts +1 -0
  72. package/dist/esm/core/agent/stages/callLLM/prepareCall.js +13 -0
  73. package/dist/esm/core/agent/stages/callLLM/prepareCall.js.map +1 -1
  74. package/dist/esm/core/agent/stages/callLLM/types.d.ts +6 -0
  75. package/dist/esm/core/agent/stages/callLLM.js +2 -0
  76. package/dist/esm/core/agent/stages/callLLM.js.map +1 -1
  77. package/dist/esm/core/agent/types/observation.d.ts +34 -1
  78. package/dist/esm/events/payloads/contextChange.d.ts +68 -0
  79. package/dist/esm/events/payloads/contextChange.js +2 -0
  80. package/dist/esm/events/payloads/contextChange.js.map +1 -0
  81. package/dist/esm/events/payloads/stream.d.ts +13 -0
  82. package/dist/esm/events/payloads.d.ts +1 -0
  83. package/dist/esm/hosting/durability.d.ts +10 -0
  84. package/dist/esm/hosting/durability.js +54 -30
  85. package/dist/esm/hosting/durability.js.map +1 -1
  86. package/dist/esm/hosting/standingAgent/artifacts/accountParts.d.ts +3 -2
  87. package/dist/esm/hosting/standingAgent/artifacts/accountParts.js +9 -4
  88. package/dist/esm/hosting/standingAgent/artifacts/accountParts.js.map +1 -1
  89. package/dist/esm/index.d.ts +1 -0
  90. package/dist/esm/observe.d.ts +1 -1
  91. package/dist/esm/observe.js.map +1 -1
  92. package/dist/esm/provider-contract/requestRefusal.js +3 -1
  93. package/dist/esm/provider-contract/requestRefusal.js.map +1 -1
  94. package/dist/esm/provider-contract/thinkingBinding.d.ts +20 -0
  95. package/dist/esm/provider-contract/thinkingBinding.js +27 -0
  96. package/dist/esm/provider-contract/thinkingBinding.js.map +1 -0
  97. package/dist/esm/provider-contract/types/provider.d.ts +43 -0
  98. package/dist/esm/provider-contract/types.d.ts +1 -1
  99. package/dist/esm/provider-contract/types.js.map +1 -1
  100. package/dist/esm/providers.d.ts +2 -0
  101. package/dist/esm/providers.js +2 -0
  102. package/dist/esm/providers.js.map +1 -1
  103. package/dist/esm/recorders/observability/FlowchartRecorder.d.ts +8 -120
  104. package/dist/esm/recorders/observability/FlowchartRecorder.js +16 -0
  105. package/dist/esm/recorders/observability/FlowchartRecorder.js.map +1 -1
  106. package/dist/esm/recorders/observability/boundaryRecorder/domainEvents.d.ts +9 -0
  107. package/dist/esm/recorders/observability/recordingParts/format.d.ts +87 -12
  108. package/dist/esm/recorders/observability/recordingParts/format.js +136 -17
  109. package/dist/esm/recorders/observability/recordingParts/format.js.map +1 -1
  110. package/dist/esm/recorders/observability/recordingParts/open.d.ts +41 -7
  111. package/dist/esm/recorders/observability/recordingParts/open.js +32 -6
  112. package/dist/esm/recorders/observability/recordingParts/open.js.map +1 -1
  113. package/dist/esm/recorders/observability/recordingParts/partReader.d.ts +25 -2
  114. package/dist/esm/recorders/observability/recordingParts/partReader.js +183 -15
  115. package/dist/esm/recorders/observability/recordingParts/partReader.js.map +1 -1
  116. package/dist/esm/recorders/observability/recordingParts/split.d.ts +13 -0
  117. package/dist/esm/recorders/observability/recordingParts/split.js +135 -26
  118. package/dist/esm/recorders/observability/recordingParts/split.js.map +1 -1
  119. package/dist/esm/recorders/observability/recordingParts/subflowPayloads.d.ts +124 -0
  120. package/dist/esm/recorders/observability/recordingParts/subflowPayloads.js +389 -0
  121. package/dist/esm/recorders/observability/recordingParts/subflowPayloads.js.map +1 -0
  122. package/dist/esm/recorders/observability/stepGraphTypes.d.ts +139 -0
  123. package/dist/esm/recorders/observability/stepGraphTypes.js +10 -0
  124. package/dist/esm/recorders/observability/stepGraphTypes.js.map +1 -0
  125. package/dist/esm/redaction/knownStrings/fields-0.d.ts +5 -5
  126. package/dist/esm/redaction/knownStrings/fields-0.js +5 -5
  127. package/dist/esm/redaction/knownStrings/fields-0.js.map +1 -1
  128. package/dist/esm/redaction/knownStrings/fields-1.d.ts +7 -7
  129. package/dist/esm/redaction/knownStrings/fields-1.js +7 -7
  130. package/dist/esm/redaction/knownStrings/fields-1.js.map +1 -1
  131. package/dist/esm/redaction/knownStrings/fields-2.d.ts +7 -0
  132. package/dist/esm/redaction/knownStrings/fields-2.js +7 -0
  133. package/dist/esm/redaction/knownStrings/fields-2.js.map +1 -1
  134. package/dist/esm/redaction/knownStrings/words-0.d.ts +4 -4
  135. package/dist/esm/redaction/knownStrings/words-0.js +4 -4
  136. package/dist/esm/redaction/knownStrings/words-0.js.map +1 -1
  137. package/dist/esm/redaction/knownStrings/words-1.d.ts +5 -5
  138. package/dist/esm/redaction/knownStrings/words-1.js +5 -5
  139. package/dist/esm/redaction/knownStrings/words-1.js.map +1 -1
  140. package/dist/esm/redaction/knownStrings/words-2.d.ts +6 -0
  141. package/dist/esm/redaction/knownStrings/words-2.js +6 -0
  142. package/dist/esm/redaction/knownStrings/words-2.js.map +1 -1
  143. package/dist/esm/resilience/withCircuitBreaker.js +1 -0
  144. package/dist/esm/resilience/withCircuitBreaker.js.map +1 -1
  145. package/dist/esm/resilience/withFallback.js +4 -0
  146. package/dist/esm/resilience/withFallback.js.map +1 -1
  147. package/dist/esm/resilience/withRetry.js +1 -0
  148. package/dist/esm/resilience/withRetry.js.map +1 -1
  149. package/dist/esm/thinking/contextChange.d.ts +53 -0
  150. package/dist/esm/thinking/contextChange.js +101 -0
  151. package/dist/esm/thinking/contextChange.js.map +1 -0
  152. package/dist/esm/time-travel/servedView/recordReads.js +12 -0
  153. package/dist/esm/time-travel/servedView/recordReads.js.map +1 -1
  154. package/dist/esm/time-travel/servedView.d.ts +4 -1
  155. package/dist/esm/time-travel/servedView.js.map +1 -1
  156. package/dist/events/payloads/contextChange.js +3 -0
  157. package/dist/events/payloads/contextChange.js.map +1 -0
  158. package/dist/hosting/durability.js +54 -30
  159. package/dist/hosting/durability.js.map +1 -1
  160. package/dist/hosting/standingAgent/artifacts/accountParts.js +9 -4
  161. package/dist/hosting/standingAgent/artifacts/accountParts.js.map +1 -1
  162. package/dist/observe.js.map +1 -1
  163. package/dist/provider-contract/requestRefusal.js +3 -1
  164. package/dist/provider-contract/requestRefusal.js.map +1 -1
  165. package/dist/provider-contract/thinkingBinding.js +31 -0
  166. package/dist/provider-contract/thinkingBinding.js.map +1 -0
  167. package/dist/provider-contract/types.js.map +1 -1
  168. package/dist/providers.js +5 -1
  169. package/dist/providers.js.map +1 -1
  170. package/dist/recorders/observability/FlowchartRecorder.js +16 -0
  171. package/dist/recorders/observability/FlowchartRecorder.js.map +1 -1
  172. package/dist/recorders/observability/recordingParts/format.js +139 -18
  173. package/dist/recorders/observability/recordingParts/format.js.map +1 -1
  174. package/dist/recorders/observability/recordingParts/open.js +30 -4
  175. package/dist/recorders/observability/recordingParts/open.js.map +1 -1
  176. package/dist/recorders/observability/recordingParts/partReader.js +182 -14
  177. package/dist/recorders/observability/recordingParts/partReader.js.map +1 -1
  178. package/dist/recorders/observability/recordingParts/split.js +134 -25
  179. package/dist/recorders/observability/recordingParts/split.js.map +1 -1
  180. package/dist/recorders/observability/recordingParts/subflowPayloads.js +396 -0
  181. package/dist/recorders/observability/recordingParts/subflowPayloads.js.map +1 -0
  182. package/dist/recorders/observability/stepGraphTypes.js +11 -0
  183. package/dist/recorders/observability/stepGraphTypes.js.map +1 -0
  184. package/dist/redaction/knownStrings/fields-0.js +5 -5
  185. package/dist/redaction/knownStrings/fields-0.js.map +1 -1
  186. package/dist/redaction/knownStrings/fields-1.js +7 -7
  187. package/dist/redaction/knownStrings/fields-1.js.map +1 -1
  188. package/dist/redaction/knownStrings/fields-2.js +7 -0
  189. package/dist/redaction/knownStrings/fields-2.js.map +1 -1
  190. package/dist/redaction/knownStrings/words-0.js +4 -4
  191. package/dist/redaction/knownStrings/words-0.js.map +1 -1
  192. package/dist/redaction/knownStrings/words-1.js +5 -5
  193. package/dist/redaction/knownStrings/words-1.js.map +1 -1
  194. package/dist/redaction/knownStrings/words-2.js +6 -0
  195. package/dist/redaction/knownStrings/words-2.js.map +1 -1
  196. package/dist/resilience/withCircuitBreaker.js +1 -0
  197. package/dist/resilience/withCircuitBreaker.js.map +1 -1
  198. package/dist/resilience/withFallback.js +4 -0
  199. package/dist/resilience/withFallback.js.map +1 -1
  200. package/dist/resilience/withRetry.js +1 -0
  201. package/dist/resilience/withRetry.js.map +1 -1
  202. package/dist/thinking/contextChange.js +107 -0
  203. package/dist/thinking/contextChange.js.map +1 -0
  204. package/dist/time-travel/servedView/recordReads.js +12 -0
  205. package/dist/time-travel/servedView/recordReads.js.map +1 -1
  206. package/dist/time-travel/servedView.js.map +1 -1
  207. package/dist/types/adapters/llm/AnthropicProvider.d.ts +16 -0
  208. package/dist/types/adapters/llm/AnthropicProvider.d.ts.map +1 -1
  209. package/dist/types/adapters/llm/BrowserAnthropicProvider.d.ts +9 -0
  210. package/dist/types/adapters/llm/BrowserAnthropicProvider.d.ts.map +1 -1
  211. package/dist/types/adapters/llm/InvokeModelGatewayProvider.d.ts +10 -8
  212. package/dist/types/adapters/llm/InvokeModelGatewayProvider.d.ts.map +1 -1
  213. package/dist/types/adapters/llm/anthropicModels.d.ts +37 -0
  214. package/dist/types/adapters/llm/anthropicModels.d.ts.map +1 -1
  215. package/dist/types/adapters/observability/auditShapes/events/decisions.d.ts.map +1 -1
  216. package/dist/types/core/agent/contextBinding/check.d.ts +69 -0
  217. package/dist/types/core/agent/contextBinding/check.d.ts.map +1 -0
  218. package/dist/types/core/agent/contextBinding/compare.d.ts +14 -0
  219. package/dist/types/core/agent/contextBinding/compare.d.ts.map +1 -0
  220. package/dist/types/core/agent/contextBinding/composition.d.ts +55 -0
  221. package/dist/types/core/agent/contextBinding/composition.d.ts.map +1 -0
  222. package/dist/types/core/agent/contextBinding/forCall.d.ts +24 -0
  223. package/dist/types/core/agent/contextBinding/forCall.d.ts.map +1 -0
  224. package/dist/types/core/agent/runValues.d.ts +3 -0
  225. package/dist/types/core/agent/runValues.d.ts.map +1 -1
  226. package/dist/types/core/agent/runtime/configuration/configure.d.ts.map +1 -1
  227. package/dist/types/core/agent/runtime/configuration/types.d.ts +5 -1
  228. package/dist/types/core/agent/runtime/configuration/types.d.ts.map +1 -1
  229. package/dist/types/core/agent/runtime/configuration/values.d.ts +1 -0
  230. package/dist/types/core/agent/runtime/configuration/values.d.ts.map +1 -1
  231. package/dist/types/core/agent/runtime/native/initialize.d.ts.map +1 -1
  232. package/dist/types/core/agent/runtime/request/factory.d.ts.map +1 -1
  233. package/dist/types/core/agent/stages/callLLM/prepareCall.d.ts +1 -0
  234. package/dist/types/core/agent/stages/callLLM/prepareCall.d.ts.map +1 -1
  235. package/dist/types/core/agent/stages/callLLM/types.d.ts +6 -0
  236. package/dist/types/core/agent/stages/callLLM/types.d.ts.map +1 -1
  237. package/dist/types/core/agent/stages/callLLM.d.ts.map +1 -1
  238. package/dist/types/core/agent/types/observation.d.ts +34 -1
  239. package/dist/types/core/agent/types/observation.d.ts.map +1 -1
  240. package/dist/types/events/payloads/contextChange.d.ts +69 -0
  241. package/dist/types/events/payloads/contextChange.d.ts.map +1 -0
  242. package/dist/types/events/payloads/stream.d.ts +13 -0
  243. package/dist/types/events/payloads/stream.d.ts.map +1 -1
  244. package/dist/types/events/payloads.d.ts +1 -0
  245. package/dist/types/events/payloads.d.ts.map +1 -1
  246. package/dist/types/hosting/durability.d.ts +10 -0
  247. package/dist/types/hosting/durability.d.ts.map +1 -1
  248. package/dist/types/hosting/standingAgent/artifacts/accountParts.d.ts +3 -2
  249. package/dist/types/hosting/standingAgent/artifacts/accountParts.d.ts.map +1 -1
  250. package/dist/types/index.d.ts +1 -0
  251. package/dist/types/index.d.ts.map +1 -1
  252. package/dist/types/observe.d.ts +1 -1
  253. package/dist/types/observe.d.ts.map +1 -1
  254. package/dist/types/provider-contract/requestRefusal.d.ts.map +1 -1
  255. package/dist/types/provider-contract/thinkingBinding.d.ts +21 -0
  256. package/dist/types/provider-contract/thinkingBinding.d.ts.map +1 -0
  257. package/dist/types/provider-contract/types/provider.d.ts +43 -0
  258. package/dist/types/provider-contract/types/provider.d.ts.map +1 -1
  259. package/dist/types/provider-contract/types.d.ts +1 -1
  260. package/dist/types/provider-contract/types.d.ts.map +1 -1
  261. package/dist/types/providers.d.ts +2 -0
  262. package/dist/types/providers.d.ts.map +1 -1
  263. package/dist/types/recorders/observability/FlowchartRecorder.d.ts +8 -120
  264. package/dist/types/recorders/observability/FlowchartRecorder.d.ts.map +1 -1
  265. package/dist/types/recorders/observability/boundaryRecorder/domainEvents.d.ts +9 -0
  266. package/dist/types/recorders/observability/boundaryRecorder/domainEvents.d.ts.map +1 -1
  267. package/dist/types/recorders/observability/recordingParts/format.d.ts +87 -12
  268. package/dist/types/recorders/observability/recordingParts/format.d.ts.map +1 -1
  269. package/dist/types/recorders/observability/recordingParts/open.d.ts +41 -7
  270. package/dist/types/recorders/observability/recordingParts/open.d.ts.map +1 -1
  271. package/dist/types/recorders/observability/recordingParts/partReader.d.ts +25 -2
  272. package/dist/types/recorders/observability/recordingParts/partReader.d.ts.map +1 -1
  273. package/dist/types/recorders/observability/recordingParts/split.d.ts +13 -0
  274. package/dist/types/recorders/observability/recordingParts/split.d.ts.map +1 -1
  275. package/dist/types/recorders/observability/recordingParts/subflowPayloads.d.ts +125 -0
  276. package/dist/types/recorders/observability/recordingParts/subflowPayloads.d.ts.map +1 -0
  277. package/dist/types/recorders/observability/stepGraphTypes.d.ts +140 -0
  278. package/dist/types/recorders/observability/stepGraphTypes.d.ts.map +1 -0
  279. package/dist/types/redaction/knownStrings/fields-0.d.ts +5 -5
  280. package/dist/types/redaction/knownStrings/fields-1.d.ts +7 -7
  281. package/dist/types/redaction/knownStrings/fields-2.d.ts +7 -0
  282. package/dist/types/redaction/knownStrings/fields-2.d.ts.map +1 -1
  283. package/dist/types/redaction/knownStrings/words-0.d.ts +4 -4
  284. package/dist/types/redaction/knownStrings/words-1.d.ts +5 -5
  285. package/dist/types/redaction/knownStrings/words-2.d.ts +6 -0
  286. package/dist/types/redaction/knownStrings/words-2.d.ts.map +1 -1
  287. package/dist/types/resilience/withCircuitBreaker.d.ts.map +1 -1
  288. package/dist/types/resilience/withFallback.d.ts.map +1 -1
  289. package/dist/types/resilience/withRetry.d.ts.map +1 -1
  290. package/dist/types/thinking/contextChange.d.ts +54 -0
  291. package/dist/types/thinking/contextChange.d.ts.map +1 -0
  292. package/dist/types/time-travel/servedView/recordReads.d.ts.map +1 -1
  293. package/dist/types/time-travel/servedView.d.ts +4 -1
  294. package/dist/types/time-travel/servedView.d.ts.map +1 -1
  295. package/package.json +1 -1
@@ -0,0 +1,140 @@
1
+ /**
2
+ * stepGraphTypes — the step graph's public shapes: what
3
+ * `FlowchartRecorder.ts · buildStepGraphFromEvents` folds a boundary event
4
+ * stream into, and what Lens and the strategies read.
5
+ *
6
+ * Role: Types only. Re-exported from `FlowchartRecorder.ts`, the module every
7
+ * consumer imports them from; kept apart so the fold stays small.
8
+ */
9
+ /**
10
+ * One node in the step-level flowchart. Node kind drives rendering
11
+ * (actor icon, color). ReAct steps carry token + tool details; topology
12
+ * nodes (subflow / fork-branch / decision-branch) mirror the footprintjs
13
+ * composition events and exist so composition structure (Loop, Parallel,
14
+ * Conditional, Swarm) stays visible in the graph.
15
+ */
16
+ export interface StepNode {
17
+ readonly id: string;
18
+ readonly kind: 'user->llm' | 'llm->tool' | 'tool->llm' | 'llm->user' | 'subflow' | 'fork-branch' | 'decision-branch';
19
+ readonly label: string;
20
+ readonly startOffsetMs: number;
21
+ readonly endOffsetMs?: number;
22
+ /** LLM step: token usage of the call that bounded this step. */
23
+ readonly tokens?: {
24
+ readonly in: number;
25
+ readonly out: number;
26
+ };
27
+ /** llm->tool / tool->llm: the tool name. */
28
+ readonly toolName?: string;
29
+ /** user->llm / tool->llm: the model that was invoked. */
30
+ readonly llmModel?: string;
31
+ /** Decomposition of the underlying subflowId (rooted under '__root__'). */
32
+ readonly subflowPath: readonly string[];
33
+ /** Context injections attributed to this step (LLM steps only). */
34
+ readonly injections?: readonly ContextInjection[];
35
+ /** 1-based ReAct iteration this step belongs to. Undefined for
36
+ * topology / composition nodes. */
37
+ readonly iterationIndex?: number;
38
+ /** Which slot the step's input updated. ReAct steps only. */
39
+ readonly slotUpdated?: 'system-prompt' | 'messages' | 'tools';
40
+ /** True ONLY for `subflow` StepNodes whose primitiveKind is `'Agent'`.
41
+ * Narrow flag for callers that distinguish ReAct agents from other
42
+ * composition primitives (cost / iteration / token attribution). */
43
+ readonly isAgentBoundary?: boolean;
44
+ /** Primitive kind from the subflow root description prefix
45
+ * (`'Agent'` / `'LLMCall'` / `'Sequence'` / etc.). */
46
+ readonly primitiveKind?: string;
47
+ /** True for `subflow` StepNodes representing any KNOWN primitive
48
+ * (Agent / LLMCall / Sequence / Parallel / Conditional / Loop) —
49
+ * drives Lens's drill-in container treatment. */
50
+ readonly isPrimitiveBoundary?: boolean;
51
+ /** `inputMapper` payload at the subflow's entry. Subflow nodes only. */
52
+ readonly entryPayload?: unknown;
53
+ /** Subflow shared state at exit. Subflow nodes only.
54
+ * Undefined for in-progress / paused subflows. */
55
+ readonly exitPayload?: unknown;
56
+ /** Set instead of `entryPayload` when the recording keeps that payload with
57
+ * the invocation (a recording saved in parts, index format 2): ask for the
58
+ * invocation `runtimeStageId` names. Neither field = none was recorded. */
59
+ readonly entryPayloadWith?: 'invocation';
60
+ /** The same, instead of `exitPayload`. */
61
+ readonly exitPayloadWith?: 'invocation';
62
+ /** LLM's text content. Set on `llm->tool` (the reasoning emitted with the
63
+ * tool_use blocks) and on `llm->user` (the terminal answer). */
64
+ readonly assistantText?: string;
65
+ /** Tool input arguments the LLM produced. Set on `llm->tool` from the
66
+ * matching `tool.start` event payload. */
67
+ readonly toolArgs?: unknown;
68
+ /** Tool result returned to the LLM. Set on `tool->llm` from the
69
+ * preceding `tool.end` event payload. */
70
+ readonly toolResult?: unknown;
71
+ /** Stable per-execution key — same `runtimeStageId` Trace view uses. */
72
+ readonly runtimeStageId?: string;
73
+ /**
74
+ * Slot boundary payloads composed for THIS LLM step.
75
+ *
76
+ * Set ONLY for `kind === 'user->llm'` and `kind === 'tool->llm'`
77
+ * StepNodes — the moments where context flows INTO the LLM. Each
78
+ * entry carries the slot subflow's `inputMapper` result (entryPayload)
79
+ * and rendered slot output (exitPayload).
80
+ *
81
+ * Attribution: any slot subflow that fired BETWEEN the previous LLM
82
+ * end (or run start) and THIS LLM start is attributed to this call.
83
+ * Done at projection time over `boundary.getEvents()`; no consumer-
84
+ * side correlation required.
85
+ *
86
+ * Lens uses this to make the 3 slot rows inside the LLM card
87
+ * clickable — clicking a slot reveals its entry/exit payloads in
88
+ * the right-pane detail panel without needing direct BoundaryRecorder
89
+ * access.
90
+ */
91
+ readonly slotBoundaries?: {
92
+ readonly systemPrompt?: SlotBoundary;
93
+ readonly messages?: SlotBoundary;
94
+ readonly tools?: SlotBoundary;
95
+ };
96
+ }
97
+ /** One slot's boundary pair attributed to a specific LLM step. */
98
+ export interface SlotBoundary {
99
+ /** runtimeStageId of the slot subflow execution. */
100
+ readonly runtimeStageId: string;
101
+ /** `inputMapper` payload — the data the slot was COMPOSED FROM
102
+ * (RAG hits, skill content, user message, tool result, etc). */
103
+ readonly entryPayload?: unknown;
104
+ /** Subflow shared state at exit — the rendered slot content
105
+ * (system prompt string, messages array, tools array). */
106
+ readonly exitPayload?: unknown;
107
+ /** Set instead of `entryPayload` when the recording keeps that payload with
108
+ * the slot invocation `runtimeStageId` names (index format 2). */
109
+ readonly entryPayloadWith?: 'invocation';
110
+ /** The same, instead of `exitPayload`. */
111
+ readonly exitPayloadWith?: 'invocation';
112
+ }
113
+ /** Consumer-facing context injection (5 axes of context engineering). */
114
+ export interface ContextInjection {
115
+ readonly slot: 'system-prompt' | 'messages' | 'tools';
116
+ readonly asRole?: 'system' | 'user' | 'assistant' | 'tool';
117
+ readonly source: string;
118
+ readonly sourceId?: string;
119
+ readonly contentSummary?: string;
120
+ readonly reason?: string;
121
+ readonly sectionTag?: string;
122
+ readonly upstreamRef?: string;
123
+ readonly retrievalScore?: number;
124
+ readonly rankPosition?: number;
125
+ readonly budgetTokens?: number;
126
+ readonly budgetFraction?: number;
127
+ }
128
+ export interface StepEdge {
129
+ readonly id: string;
130
+ readonly from: string;
131
+ readonly to: string;
132
+ readonly kind: 'next' | 'loop-iteration' | 'fork-branch' | 'decision-branch';
133
+ readonly iteration?: number;
134
+ }
135
+ export interface StepGraph {
136
+ readonly nodes: readonly StepNode[];
137
+ readonly edges: readonly StepEdge[];
138
+ readonly activeNodeId?: string;
139
+ }
140
+ //# sourceMappingURL=stepGraphTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stepGraphTypes.d.ts","sourceRoot":"","sources":["../../../../src/recorders/observability/stepGraphTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH;;;;;;GAMG;AACH,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EACT,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,SAAS,GACT,aAAa,GACb,iBAAiB,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,gEAAgE;IAChE,QAAQ,CAAC,MAAM,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,GAAG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CAAC;CAClC;AAED,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB,GAAG,aAAa,GAAG,iBAAiB,CAAC;IAC7E,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,KAAK,EAAE,SAAS,QAAQ,EAAE,CAAC;IACpC,QAAQ,CAAC,KAAK,EAAE,SAAS,QAAQ,EAAE,CAAC;IACpC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;CAChC"}
@@ -35,6 +35,7 @@ export declare const fields0: {
35
35
  readonly answeredById: true;
36
36
  readonly answersAsk: true;
37
37
  readonly any: true;
38
+ readonly appStatement: true;
38
39
  readonly approved: true;
39
40
  readonly args: true;
40
41
  readonly argsFingerprint: true;
@@ -94,8 +95,11 @@ export declare const fields0: {
94
95
  readonly carriedBy: true;
95
96
  readonly carriers: true;
96
97
  readonly cause: true;
98
+ readonly change: true;
97
99
  readonly changed: true;
98
100
  readonly changedArgKeys: true;
101
+ readonly changes: true;
102
+ readonly channel: true;
99
103
  readonly char: true;
100
104
  readonly charAt: true;
101
105
  readonly charCodeAt: true;
@@ -138,6 +142,7 @@ export declare const fields0: {
138
142
  readonly contentHash: true;
139
143
  readonly contentSummary: true;
140
144
  readonly contentWithheld: true;
145
+ readonly contextChange: true;
141
146
  readonly continuity: true;
142
147
  readonly corpusEmpty: true;
143
148
  readonly correction: true;
@@ -294,10 +299,5 @@ export declare const fields0: {
294
299
  readonly lastError: true;
295
300
  readonly lastFiredAt: true;
296
301
  readonly lastIndexOf: true;
297
- readonly latencyMs: true;
298
- readonly layer: true;
299
- readonly layout: true;
300
- readonly length: true;
301
- readonly limit: true;
302
302
  };
303
303
  //# sourceMappingURL=fields-0.d.ts.map
@@ -1,4 +1,9 @@
1
1
  export declare const fields1: {
2
+ readonly latencyMs: true;
3
+ readonly layer: true;
4
+ readonly layout: true;
5
+ readonly length: true;
6
+ readonly limit: true;
2
7
  readonly lines: true;
3
8
  readonly link: true;
4
9
  readonly llm: true;
@@ -66,6 +71,7 @@ export declare const fields1: {
66
71
  readonly ok: true;
67
72
  readonly omission: true;
68
73
  readonly omitted: true;
74
+ readonly omittedChanges: true;
69
75
  readonly on: true;
70
76
  readonly only: true;
71
77
  readonly ontology: true;
@@ -87,6 +93,7 @@ export declare const fields1: {
87
93
  readonly parallelCount: true;
88
94
  readonly parentId: true;
89
95
  readonly parentRefs: true;
96
+ readonly party: true;
90
97
  readonly passed: true;
91
98
  readonly path: true;
92
99
  readonly pausedCall: true;
@@ -292,12 +299,5 @@ export declare const fields1: {
292
299
  readonly system: true;
293
300
  readonly systemPromptChars: true;
294
301
  readonly systemPromptText: true;
295
- readonly t: true;
296
- readonly target: true;
297
- readonly targetRef: true;
298
- readonly targetSkillId: true;
299
- readonly tellLLM: true;
300
- readonly temperature: true;
301
- readonly tenantChanged: true;
302
302
  };
303
303
  //# sourceMappingURL=fields-1.d.ts.map
@@ -1,4 +1,11 @@
1
1
  export declare const fields2: {
2
+ readonly t: true;
3
+ readonly target: true;
4
+ readonly targetRef: true;
5
+ readonly targetSkillId: true;
6
+ readonly tellLLM: true;
7
+ readonly temperature: true;
8
+ readonly tenantChanged: true;
2
9
  readonly terminatedBy: true;
3
10
  readonly text: true;
4
11
  readonly thinking: true;
@@ -1 +1 @@
1
- {"version":3,"file":"fields-2.d.ts","sourceRoot":"","sources":["../../../../src/redaction/knownStrings/fields-2.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoGV,CAAC"}
1
+ {"version":3,"file":"fields-2.d.ts","sourceRoot":"","sources":["../../../../src/redaction/knownStrings/fields-2.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2GV,CAAC"}
@@ -15,6 +15,7 @@ export declare const words0: {
15
15
  readonly accepted: true;
16
16
  readonly acknowledged: true;
17
17
  readonly adapter: true;
18
+ readonly added: true;
18
19
  readonly advance: true;
19
20
  readonly 'after-miss': true;
20
21
  readonly 'after-tool': true;
@@ -192,6 +193,7 @@ export declare const words0: {
192
193
  readonly 'below-threshold': true;
193
194
  readonly 'binding-changed': true;
194
195
  readonly body_complete: true;
196
+ readonly bound: true;
195
197
  readonly break: true;
196
198
  readonly budget: true;
197
199
  readonly budget_exhausted: true;
@@ -202,6 +204,7 @@ export declare const words0: {
202
204
  readonly 'cap-reached': true;
203
205
  readonly causal: true;
204
206
  readonly cerbos: true;
207
+ readonly changed: true;
205
208
  readonly 'changes-without-key': true;
206
209
  readonly characters: true;
207
210
  readonly chars: true;
@@ -221,6 +224,7 @@ export declare const words0: {
221
224
  readonly 'column-ratio': true;
222
225
  readonly 'column-sum': true;
223
226
  readonly 'column-type-mismatch': true;
227
+ readonly compared: true;
224
228
  readonly compatibility: true;
225
229
  readonly complement: true;
226
230
  readonly complete: true;
@@ -295,9 +299,5 @@ export declare const words0: {
295
299
  readonly fact: true;
296
300
  readonly 'fact-extraction': true;
297
301
  readonly failed: true;
298
- readonly failure: true;
299
- readonly fallback: true;
300
- readonly filter: true;
301
- readonly final: true;
302
302
  };
303
303
  //# sourceMappingURL=words-0.d.ts.map
@@ -1,4 +1,8 @@
1
1
  export declare const words1: {
2
+ readonly failure: true;
3
+ readonly fallback: true;
4
+ readonly filter: true;
5
+ readonly final: true;
2
6
  readonly findings: true;
3
7
  readonly flagged: true;
4
8
  readonly fn: true;
@@ -228,6 +232,7 @@ export declare const words1: {
228
232
  readonly 'registry+injections': true;
229
233
  readonly 'registry+provider+injections': true;
230
234
  readonly remote: true;
235
+ readonly removed: true;
231
236
  readonly 'reported-failure': true;
232
237
  readonly 'reported-success': true;
233
238
  readonly request: true;
@@ -294,10 +299,5 @@ export declare const words1: {
294
299
  readonly stay: true;
295
300
  readonly steering: true;
296
301
  readonly 'step-nudge': true;
297
- readonly 'step-skipped': true;
298
- readonly 'steps-unfinished': true;
299
- readonly stop: true;
300
- readonly 'stopped-early': true;
301
- readonly store: true;
302
302
  };
303
303
  //# sourceMappingURL=words-1.d.ts.map
@@ -1,4 +1,9 @@
1
1
  export declare const words2: {
2
+ readonly 'step-skipped': true;
3
+ readonly 'steps-unfinished': true;
4
+ readonly stop: true;
5
+ readonly 'stopped-early': true;
6
+ readonly store: true;
2
7
  readonly 'store-unavailable': true;
3
8
  readonly structural: true;
4
9
  readonly subject: true;
@@ -42,6 +47,7 @@ export declare const words2: {
42
47
  readonly unavailable: true;
43
48
  readonly unchanged: true;
44
49
  readonly uncheckable: true;
50
+ readonly unchecked: true;
45
51
  readonly unclassified: true;
46
52
  readonly unconfirmed: true;
47
53
  readonly undeclared: true;
@@ -1 +1 @@
1
- {"version":3,"file":"words-2.d.ts","sourceRoot":"","sources":["../../../../src/redaction/knownStrings/words-2.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmFT,CAAC"}
1
+ {"version":3,"file":"words-2.d.ts","sourceRoot":"","sources":["../../../../src/redaction/knownStrings/words-2.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyFT,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Fallback.d.ts","sourceRoot":"","sources":["../../../src/resilience/withFallback.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,KAAK,EAGV,WAAW,EAIZ,MAAM,+BAA+B,CAAC;AAoJvC,MAAM,WAAW,mBAAmB;IAClC;;;;;;;OAOG;IACH,QAAQ,CAAC,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC;IACtD;;;;;;;;;OASG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAChD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAC1B,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,WAAW,EACrB,OAAO,GAAE,mBAAwB,GAChC,WAAW,CA0Mb"}
1
+ {"version":3,"file":"withFallback.d.ts","sourceRoot":"","sources":["../../../src/resilience/withFallback.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,KAAK,EAGV,WAAW,EAIZ,MAAM,+BAA+B,CAAC;AAoJvC,MAAM,WAAW,mBAAmB;IAClC;;;;;;;OAOG;IACH,QAAQ,CAAC,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC;IACtD;;;;;;;;;OASG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAChD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAC1B,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,WAAW,EACrB,OAAO,GAAE,mBAAwB,GAChC,WAAW,CA8Mb"}
@@ -1 +1 @@
1
- {"version":3,"file":"withRetry.d.ts","sourceRoot":"","sources":["../../../src/resilience/withRetry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAM,CAAC;IACjC,sEAAsE;IACtE,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;;;OAMG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IACpE;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/E;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,WAAW,EAAE,OAAO,GAAE,gBAAqB,GAAG,WAAW,CA+M5F;AAoDD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAW1E"}
@@ -0,0 +1,54 @@
1
+ /**
2
+ * The named refusal a bound model's tool turn gets when its context changed
3
+ * under its signed reasoning (`ContextChangedError`), and the one sentence
4
+ * that names each change.
5
+ *
6
+ * Raised by the agent BEFORE the request is sent, so the adapter's own guard
7
+ * (`UnsafeThinkingReplayError`, `prefix-changed`) is never the first thing a
8
+ * caller reads. The message names the slot and the injection or tool by its
9
+ * id — never a value the request carried.
10
+ */
11
+ import type { ContextChange } from '../events/payloads/contextChange.js';
12
+ export type { ContextChange } from '../events/payloads/contextChange.js';
13
+ /**
14
+ * A name made safe to carry: control characters become spaces and the text is
15
+ * cut at `max` characters with `…`. Names come from the app (skill and
16
+ * injection ids) and from servers (MCP tool names), so they are untrusted text.
17
+ */
18
+ export declare function boundName(text: string, max: number): string;
19
+ /** One change in plain words: `skill 'smb-triage' was added to the system prompt`. */
20
+ export declare function describeContextChange(change: ContextChange): string;
21
+ /**
22
+ * A tool turn on a model that binds its reasoning to the context it was
23
+ * written under changed that context, so the request was not sent.
24
+ *
25
+ * The API would refuse the replayed reasoning (or drop it); the agent refuses
26
+ * first and says which change did it. `changes` names each one (slot, id,
27
+ * tool), never a value. Not retryable: the same turn fails the same way.
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * try {
32
+ * await agent.run({ message });
33
+ * } catch (error) {
34
+ * if (error instanceof ContextChangedError) console.log(error.changes);
35
+ * }
36
+ * ```
37
+ */
38
+ export declare class ContextChangedError extends Error {
39
+ readonly provider: string;
40
+ readonly model: string;
41
+ /** Position of the signed reasoning's message in the request. */
42
+ readonly messageIndex: number;
43
+ /** Changes beyond the named ones, counted. */
44
+ readonly omittedChanges: number;
45
+ readonly code = "CONTEXT_CHANGED_IN_TURN";
46
+ readonly retryable = false;
47
+ readonly changes: readonly ContextChange[];
48
+ constructor(provider: string, model: string,
49
+ /** Position of the signed reasoning's message in the request. */
50
+ messageIndex: number, changes: readonly ContextChange[],
51
+ /** Changes beyond the named ones, counted. */
52
+ omittedChanges?: number);
53
+ }
54
+ //# sourceMappingURL=contextChange.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contextChange.d.ts","sourceRoot":"","sources":["../../../src/thinking/contextChange.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEzE,YAAY,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAMzE;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAG3D;AAmBD,sFAAsF;AACtF,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CA0BnE;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,mBAAoB,SAAQ,KAAK;IAK1C,QAAQ,CAAC,QAAQ,EAAE,MAAM;IACzB,QAAQ,CAAC,KAA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CAAC,QAAQ,EAAE,aAAa,GAAG,WAAW,CAehE"}
1
+ {"version":3,"file":"recordReads.d.ts","sourceRoot":"","sources":["../../../../src/time-travel/servedView/recordReads.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,aAAa,EACnB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAoBvD,+KAA+K;AAC/K,wBAAgB,UAAU,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,OAAO,CAGzF;AAED,oLAAoL;AACpL,wBAAgB,eAAe,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,OAAO,CAG9F;AAED;UACU;AACV,KAAK,WAAW,GACZ;IAAE,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,CAAA;CAAE,GAC/D;IAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAA;CAAE,CAAC;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,aAAa,GAAG,WAAW,CA6BhE"}
@@ -189,7 +189,10 @@ export type ServedGapKind = 'findings-layout' | 'cache-transform' | 'thinking-re
189
189
  * apart there would be this field repeating the defect it was added to fix.
190
190
  *
191
191
  * - `'no-receipt-committed'` — nothing was committed under the receipt key on
192
- * this epoch's call.
192
+ * this epoch's call. The key may still hold an EARLIER call's receipt (a
193
+ * request refused before its receipt was minted leaves that): a receipt
194
+ * the key already held before this call, by its own basis (epoch and run),
195
+ * is that earlier call's, never this one's.
193
196
  * - `'receipt-shape-rejected'` — something WAS committed there and the read
194
197
  * refused it, because it carries no basis and a value without one is not a
195
198
  * receipt. This is the value that means DAMAGE: a recording that lost or
@@ -1 +1 @@
1
- {"version":3,"file":"servedView.d.ts","sourceRoot":"","sources":["../../../src/time-travel/servedView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwJG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAClF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAKtE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC;AAExC,8DAA8D;AAC9D,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;CAChC;AAED,wDAAwD;AACxD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;yEACqE;IACrE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,iDAAiD;AACjD,MAAM,MAAM,aAAa,GACrB,iBAAiB,GACjB,iBAAiB,GACjB,iBAAiB,GACjB,oBAAoB,GACpB,mBAAmB,GACnB,gBAAgB,GAChB,cAAc,GACd,2BAA2B,GAC3B,YAAY,GACZ,qBAAqB,CAAC;AAE1B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ACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU,EAAE,CAIzD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS,CAGnF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentfootprint",
3
- "version": "18.2.0",
3
+ "version": "19.0.0",
4
4
  "description": "The explainable agent framework \u2014 backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",