agentfootprint 18.1.0 → 18.2.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 (206) hide show
  1. package/CAPABILITIES.md +7 -3
  2. package/README.md +3 -3
  3. package/dist/artifacts/fileArtifacts.js +1 -0
  4. package/dist/artifacts/fileArtifacts.js.map +1 -1
  5. package/dist/artifacts/gcsArtifacts.js +1 -0
  6. package/dist/artifacts/gcsArtifacts.js.map +1 -1
  7. package/dist/artifacts/inMemoryArtifacts.js +1 -0
  8. package/dist/artifacts/inMemoryArtifacts.js.map +1 -1
  9. package/dist/artifacts/index.js +4 -1
  10. package/dist/artifacts/index.js.map +1 -1
  11. package/dist/artifacts/recordingArtifact.js +18 -1
  12. package/dist/artifacts/recordingArtifact.js.map +1 -1
  13. package/dist/artifacts/retention.js +23 -1
  14. package/dist/artifacts/retention.js.map +1 -1
  15. package/dist/artifacts/s3Artifacts.js +5 -6
  16. package/dist/artifacts/s3Artifacts.js.map +1 -1
  17. package/dist/artifacts/sqliteArtifacts.js +1 -0
  18. package/dist/artifacts/sqliteArtifacts.js.map +1 -1
  19. package/dist/artifacts/types.js +5 -0
  20. package/dist/artifacts/types.js.map +1 -1
  21. package/dist/context-bisect/trajectory.js +3 -0
  22. package/dist/context-bisect/trajectory.js.map +1 -1
  23. package/dist/core/agent/runtime/configuration/configure.js +2 -0
  24. package/dist/core/agent/runtime/configuration/configure.js.map +1 -1
  25. package/dist/core/agent/runtime/recording/recording.js +69 -17
  26. package/dist/core/agent/runtime/recording/recording.js.map +1 -1
  27. package/dist/esm/artifacts/conformance/types.d.ts +3 -2
  28. package/dist/esm/artifacts/fileArtifacts.js +2 -1
  29. package/dist/esm/artifacts/fileArtifacts.js.map +1 -1
  30. package/dist/esm/artifacts/gcsArtifacts.js +2 -1
  31. package/dist/esm/artifacts/gcsArtifacts.js.map +1 -1
  32. package/dist/esm/artifacts/inMemoryArtifacts.js +2 -1
  33. package/dist/esm/artifacts/inMemoryArtifacts.js.map +1 -1
  34. package/dist/esm/artifacts/index.d.ts +2 -2
  35. package/dist/esm/artifacts/index.js +1 -1
  36. package/dist/esm/artifacts/index.js.map +1 -1
  37. package/dist/esm/artifacts/recordingArtifact.d.ts +17 -0
  38. package/dist/esm/artifacts/recordingArtifact.js +17 -0
  39. package/dist/esm/artifacts/recordingArtifact.js.map +1 -1
  40. package/dist/esm/artifacts/retention.d.ts +9 -1
  41. package/dist/esm/artifacts/retention.js +20 -0
  42. package/dist/esm/artifacts/retention.js.map +1 -1
  43. package/dist/esm/artifacts/s3Artifacts.js +6 -7
  44. package/dist/esm/artifacts/s3Artifacts.js.map +1 -1
  45. package/dist/esm/artifacts/sqliteArtifacts.js +2 -1
  46. package/dist/esm/artifacts/sqliteArtifacts.js.map +1 -1
  47. package/dist/esm/artifacts/types.d.ts +19 -0
  48. package/dist/esm/artifacts/types.js +5 -0
  49. package/dist/esm/artifacts/types.js.map +1 -1
  50. package/dist/esm/context-bisect/trajectory.d.ts +3 -0
  51. package/dist/esm/context-bisect/trajectory.js +3 -0
  52. package/dist/esm/context-bisect/trajectory.js.map +1 -1
  53. package/dist/esm/context-ledger/types.d.ts +3 -1
  54. package/dist/esm/core/agent/runtime/configuration/configure.js +2 -0
  55. package/dist/esm/core/agent/runtime/configuration/configure.js.map +1 -1
  56. package/dist/esm/core/agent/runtime/recording/recording.js +69 -17
  57. package/dist/esm/core/agent/runtime/recording/recording.js.map +1 -1
  58. package/dist/esm/core/agent/types/artifacts.d.ts +38 -0
  59. package/dist/esm/hosting/answerAccounts.d.ts +2 -0
  60. package/dist/esm/hosting/answerAccounts.js +3 -0
  61. package/dist/esm/hosting/answerAccounts.js.map +1 -1
  62. package/dist/esm/hosting/standingAgent/artifacts/accountParts.d.ts +64 -0
  63. package/dist/esm/hosting/standingAgent/artifacts/accountParts.js +88 -0
  64. package/dist/esm/hosting/standingAgent/artifacts/accountParts.js.map +1 -0
  65. package/dist/esm/hosting/standingAgent/artifacts/wire.js +18 -2
  66. package/dist/esm/hosting/standingAgent/artifacts/wire.js.map +1 -1
  67. package/dist/esm/index.d.ts +1 -1
  68. package/dist/esm/index.js +2 -4
  69. package/dist/esm/index.js.map +1 -1
  70. package/dist/esm/observe.d.ts +1 -0
  71. package/dist/esm/observe.js +3 -0
  72. package/dist/esm/observe.js.map +1 -1
  73. package/dist/esm/recorders/observability/recordingParts/file.d.ts +74 -0
  74. package/dist/esm/recorders/observability/recordingParts/file.js +215 -0
  75. package/dist/esm/recorders/observability/recordingParts/file.js.map +1 -0
  76. package/dist/esm/recorders/observability/recordingParts/format.d.ts +124 -0
  77. package/dist/esm/recorders/observability/recordingParts/format.js +294 -0
  78. package/dist/esm/recorders/observability/recordingParts/format.js.map +1 -0
  79. package/dist/esm/recorders/observability/recordingParts/invocations.d.ts +55 -0
  80. package/dist/esm/recorders/observability/recordingParts/invocations.js +226 -0
  81. package/dist/esm/recorders/observability/recordingParts/invocations.js.map +1 -0
  82. package/dist/esm/recorders/observability/recordingParts/open.d.ts +170 -0
  83. package/dist/esm/recorders/observability/recordingParts/open.js +275 -0
  84. package/dist/esm/recorders/observability/recordingParts/open.js.map +1 -0
  85. package/dist/esm/recorders/observability/recordingParts/packing.d.ts +18 -0
  86. package/dist/esm/recorders/observability/recordingParts/packing.js +23 -0
  87. package/dist/esm/recorders/observability/recordingParts/packing.js.map +1 -0
  88. package/dist/esm/recorders/observability/recordingParts/partReader.d.ts +45 -0
  89. package/dist/esm/recorders/observability/recordingParts/partReader.js +188 -0
  90. package/dist/esm/recorders/observability/recordingParts/partReader.js.map +1 -0
  91. package/dist/esm/recorders/observability/recordingParts/source.d.ts +58 -0
  92. package/dist/esm/recorders/observability/recordingParts/source.js +120 -0
  93. package/dist/esm/recorders/observability/recordingParts/source.js.map +1 -0
  94. package/dist/esm/recorders/observability/recordingParts/split.d.ts +74 -0
  95. package/dist/esm/recorders/observability/recordingParts/split.js +316 -0
  96. package/dist/esm/recorders/observability/recordingParts/split.js.map +1 -0
  97. package/dist/esm/recorders/observability/recordingParts/splitError.d.ts +17 -0
  98. package/dist/esm/recorders/observability/recordingParts/splitError.js +27 -0
  99. package/dist/esm/recorders/observability/recordingParts/splitError.js.map +1 -0
  100. package/dist/esm/time/convert/bounds.js +18 -2
  101. package/dist/esm/time/convert/bounds.js.map +1 -1
  102. package/dist/esm/time/convert/exact.js +26 -1
  103. package/dist/esm/time/convert/exact.js.map +1 -1
  104. package/dist/esm/time/convert.d.ts +2 -2
  105. package/dist/esm/time/convert.js +2 -2
  106. package/dist/esm/time-travel/epochs.d.ts +3 -0
  107. package/dist/esm/time-travel/epochs.js +3 -0
  108. package/dist/esm/time-travel/epochs.js.map +1 -1
  109. package/dist/esm/trace-toolpack/openRecording.d.ts +3 -0
  110. package/dist/esm/trace-toolpack/openRecording.js +3 -0
  111. package/dist/esm/trace-toolpack/openRecording.js.map +1 -1
  112. package/dist/hosting/answerAccounts.js +3 -0
  113. package/dist/hosting/answerAccounts.js.map +1 -1
  114. package/dist/hosting/standingAgent/artifacts/accountParts.js +92 -0
  115. package/dist/hosting/standingAgent/artifacts/accountParts.js.map +1 -0
  116. package/dist/hosting/standingAgent/artifacts/wire.js +17 -1
  117. package/dist/hosting/standingAgent/artifacts/wire.js.map +1 -1
  118. package/dist/index.js +6 -6
  119. package/dist/index.js.map +1 -1
  120. package/dist/observe.js +6 -2
  121. package/dist/observe.js.map +1 -1
  122. package/dist/recorders/observability/recordingParts/file.js +219 -0
  123. package/dist/recorders/observability/recordingParts/file.js.map +1 -0
  124. package/dist/recorders/observability/recordingParts/format.js +304 -0
  125. package/dist/recorders/observability/recordingParts/format.js.map +1 -0
  126. package/dist/recorders/observability/recordingParts/invocations.js +230 -0
  127. package/dist/recorders/observability/recordingParts/invocations.js.map +1 -0
  128. package/dist/recorders/observability/recordingParts/open.js +279 -0
  129. package/dist/recorders/observability/recordingParts/open.js.map +1 -0
  130. package/dist/recorders/observability/recordingParts/packing.js +28 -0
  131. package/dist/recorders/observability/recordingParts/packing.js.map +1 -0
  132. package/dist/recorders/observability/recordingParts/partReader.js +192 -0
  133. package/dist/recorders/observability/recordingParts/partReader.js.map +1 -0
  134. package/dist/recorders/observability/recordingParts/source.js +126 -0
  135. package/dist/recorders/observability/recordingParts/source.js.map +1 -0
  136. package/dist/recorders/observability/recordingParts/split.js +322 -0
  137. package/dist/recorders/observability/recordingParts/split.js.map +1 -0
  138. package/dist/recorders/observability/recordingParts/splitError.js +31 -0
  139. package/dist/recorders/observability/recordingParts/splitError.js.map +1 -0
  140. package/dist/time/convert/bounds.js +18 -2
  141. package/dist/time/convert/bounds.js.map +1 -1
  142. package/dist/time/convert/exact.js +26 -1
  143. package/dist/time/convert/exact.js.map +1 -1
  144. package/dist/time/convert.js +2 -2
  145. package/dist/time-travel/epochs.js +3 -0
  146. package/dist/time-travel/epochs.js.map +1 -1
  147. package/dist/trace-toolpack/openRecording.js +3 -0
  148. package/dist/trace-toolpack/openRecording.js.map +1 -1
  149. package/dist/types/artifacts/conformance/types.d.ts +3 -2
  150. package/dist/types/artifacts/conformance/types.d.ts.map +1 -1
  151. package/dist/types/artifacts/fileArtifacts.d.ts.map +1 -1
  152. package/dist/types/artifacts/gcsArtifacts.d.ts.map +1 -1
  153. package/dist/types/artifacts/inMemoryArtifacts.d.ts.map +1 -1
  154. package/dist/types/artifacts/index.d.ts +2 -2
  155. package/dist/types/artifacts/index.d.ts.map +1 -1
  156. package/dist/types/artifacts/recordingArtifact.d.ts +17 -0
  157. package/dist/types/artifacts/recordingArtifact.d.ts.map +1 -1
  158. package/dist/types/artifacts/retention.d.ts +9 -1
  159. package/dist/types/artifacts/retention.d.ts.map +1 -1
  160. package/dist/types/artifacts/s3Artifacts.d.ts.map +1 -1
  161. package/dist/types/artifacts/sqliteArtifacts.d.ts.map +1 -1
  162. package/dist/types/artifacts/types.d.ts +19 -0
  163. package/dist/types/artifacts/types.d.ts.map +1 -1
  164. package/dist/types/context-bisect/trajectory.d.ts +3 -0
  165. package/dist/types/context-bisect/trajectory.d.ts.map +1 -1
  166. package/dist/types/context-ledger/types.d.ts +3 -1
  167. package/dist/types/context-ledger/types.d.ts.map +1 -1
  168. package/dist/types/core/agent/runtime/configuration/configure.d.ts.map +1 -1
  169. package/dist/types/core/agent/runtime/recording/recording.d.ts.map +1 -1
  170. package/dist/types/core/agent/types/artifacts.d.ts +38 -0
  171. package/dist/types/core/agent/types/artifacts.d.ts.map +1 -1
  172. package/dist/types/hosting/answerAccounts.d.ts +2 -0
  173. package/dist/types/hosting/answerAccounts.d.ts.map +1 -1
  174. package/dist/types/hosting/standingAgent/artifacts/accountParts.d.ts +65 -0
  175. package/dist/types/hosting/standingAgent/artifacts/accountParts.d.ts.map +1 -0
  176. package/dist/types/hosting/standingAgent/artifacts/wire.d.ts.map +1 -1
  177. package/dist/types/index.d.ts +1 -1
  178. package/dist/types/index.d.ts.map +1 -1
  179. package/dist/types/observe.d.ts +1 -0
  180. package/dist/types/observe.d.ts.map +1 -1
  181. package/dist/types/recorders/observability/recordingParts/file.d.ts +75 -0
  182. package/dist/types/recorders/observability/recordingParts/file.d.ts.map +1 -0
  183. package/dist/types/recorders/observability/recordingParts/format.d.ts +125 -0
  184. package/dist/types/recorders/observability/recordingParts/format.d.ts.map +1 -0
  185. package/dist/types/recorders/observability/recordingParts/invocations.d.ts +56 -0
  186. package/dist/types/recorders/observability/recordingParts/invocations.d.ts.map +1 -0
  187. package/dist/types/recorders/observability/recordingParts/open.d.ts +171 -0
  188. package/dist/types/recorders/observability/recordingParts/open.d.ts.map +1 -0
  189. package/dist/types/recorders/observability/recordingParts/packing.d.ts +19 -0
  190. package/dist/types/recorders/observability/recordingParts/packing.d.ts.map +1 -0
  191. package/dist/types/recorders/observability/recordingParts/partReader.d.ts +46 -0
  192. package/dist/types/recorders/observability/recordingParts/partReader.d.ts.map +1 -0
  193. package/dist/types/recorders/observability/recordingParts/source.d.ts +59 -0
  194. package/dist/types/recorders/observability/recordingParts/source.d.ts.map +1 -0
  195. package/dist/types/recorders/observability/recordingParts/split.d.ts +75 -0
  196. package/dist/types/recorders/observability/recordingParts/split.d.ts.map +1 -0
  197. package/dist/types/recorders/observability/recordingParts/splitError.d.ts +18 -0
  198. package/dist/types/recorders/observability/recordingParts/splitError.d.ts.map +1 -0
  199. package/dist/types/time/convert/bounds.d.ts.map +1 -1
  200. package/dist/types/time/convert/exact.d.ts.map +1 -1
  201. package/dist/types/time/convert.d.ts +2 -2
  202. package/dist/types/time-travel/epochs.d.ts +3 -0
  203. package/dist/types/time-travel/epochs.d.ts.map +1 -1
  204. package/dist/types/trace-toolpack/openRecording.d.ts +3 -0
  205. package/dist/types/trace-toolpack/openRecording.d.ts.map +1 -1
  206. package/package.json +1 -1
@@ -0,0 +1,171 @@
1
+ /**
2
+ * recordingParts/open — open a saved recording, then read its root, one
3
+ * invocation, or the whole of it, one checked part at a time.
4
+ *
5
+ * Role: Lens. Serves one reader what one stored recording holds and nothing
6
+ * more: an invocation is read from the part that holds it, after the
7
+ * part's metadata and digest prove it is the part the index names.
8
+ * Reads: the scope-bound `head`/`get` it is handed.
9
+ * Emits: N/A.
10
+ *
11
+ * ── Two layouts, one reader ─────────────────────────────────────────────────
12
+ * A whole recording (`recording/run`) is read once, within `maxRootBytes`, and
13
+ * cut in memory by the same split a writer uses (`recordingParts/split.ts ·
14
+ * splitRecordingData`). A recording saved in parts (`recording/run-index`)
15
+ * reads only its index at open; `readRoot` reads the base part and
16
+ * `readInvocation` the one part holding that invocation. Both layouts answer
17
+ * through the same part reader, so both serve the same values.
18
+ *
19
+ * ── Honesty ─────────────────────────────────────────────────────────────────
20
+ * A missing, changed or oversized part is unavailable for exactly the
21
+ * invocations it holds; every other invocation still reads. Nothing falls
22
+ * back to another source. `readWhole` is all-or-nothing.
23
+ */
24
+ import type { ArtifactRef } from '../../../artifacts/types.js';
25
+ import type { Recording } from '../recordRun.js';
26
+ import { type SavedRecordingPartUnavailable } from './partReader.js';
27
+ import { type SavedRecordingArtifacts } from './source.js';
28
+ export type { SavedRecordingArtifacts } from './source.js';
29
+ export type { SavedRecordingPartUnavailable } from './partReader.js';
30
+ /** How much {@link openSavedRecording} agrees to read. Every cap is checked from metadata first. */
31
+ export interface OpenSavedRecordingOptions {
32
+ /** Cancels the open, and every later read that is not given its own signal. */
33
+ readonly signal?: AbortSignal;
34
+ /** The largest index, in bytes. Default 2 MiB. */
35
+ readonly maxIndexBytes?: number;
36
+ /**
37
+ * The largest base part, or whole recording, in bytes (a packed one: its plain
38
+ * size). Default 16 MiB. A whole recording within it opens, and the parts it is
39
+ * cut into in memory are not capped again.
40
+ */
41
+ readonly maxRootBytes?: number;
42
+ /** The largest invocation part, in bytes (a packed one: its plain size). Default 16 MiB. */
43
+ readonly maxPartBytes?: number;
44
+ }
45
+ /** Options for one read from an opened recording. */
46
+ export interface SavedRecordingReadOptions {
47
+ readonly signal?: AbortSignal;
48
+ }
49
+ /** Options for {@link SavedRecording.readWhole}. */
50
+ export interface SavedRecordingWholeOptions extends SavedRecordingReadOptions {
51
+ /**
52
+ * The most plain JSON bytes the whole read may take. Default 64 MiB. The stored
53
+ * total is checked from the index first; then each part may expand only to what
54
+ * the parts before it left, so a packed part is refused before it expands past it.
55
+ */
56
+ readonly maxBytes?: number;
57
+ }
58
+ /** One recorded invocation, in the order the lazy viewer lists them. */
59
+ export interface SavedInvocation {
60
+ /** The execution key: the mount's runtime stage id and its `subflowResults` key. */
61
+ readonly key: string;
62
+ /** Mount keys from the root down to this invocation (the viewer's `invocationPath`). */
63
+ readonly path: readonly string[];
64
+ readonly subflowId: string;
65
+ /** `false` when the tree mounts it but the recording holds no result for it. */
66
+ readonly recorded: boolean;
67
+ /** Compact JSON bytes of its result, when recorded. */
68
+ readonly bytes?: number;
69
+ }
70
+ /** Sizes known from the index alone, with no part read. */
71
+ export interface SavedRecordingSizes {
72
+ /** Every stored byte of this recording. */
73
+ readonly storedBytes: number;
74
+ /** How many artifacts hold it. */
75
+ readonly artifacts: number;
76
+ /** The index's bytes (parts layout only). */
77
+ readonly index?: number;
78
+ /** The base part's bytes (parts layout only). */
79
+ readonly base?: number;
80
+ /** Each invocation part (parts layout only; empty for a whole recording). */
81
+ readonly parts: readonly {
82
+ readonly part: number;
83
+ readonly bytes: number;
84
+ readonly results: number;
85
+ }[];
86
+ }
87
+ /** Why a saved recording could not be opened. */
88
+ export interface SavedRecordingUnavailable {
89
+ readonly status: 'unavailable';
90
+ readonly reason: 'not-found' | 'not-a-recording' | 'too-large' | 'invalid-index' | 'invalid-recording';
91
+ }
92
+ /** An opened saved recording. Only its index (or, for a whole recording, the whole) has been read. */
93
+ export interface SavedRecording {
94
+ readonly status: 'ready';
95
+ readonly layout: 'whole' | 'parts';
96
+ /** The run the recording was filed for (`origin.runId`). */
97
+ readonly runId?: string;
98
+ /** `snapshot.runId`, the engine's executor id: what a viewer address's `runId` must equal. */
99
+ readonly snapshotRunId?: string;
100
+ /**
101
+ * `false` when the tree and the results disagree, or a result is not in the
102
+ * shape the lazy viewer admits; such a viewer refuses the recording whole.
103
+ * Check it before relying on what `readInvocation` returns.
104
+ */
105
+ readonly complete: boolean;
106
+ readonly invocations: readonly SavedInvocation[];
107
+ /** Path aliases proven equal to an invocation's result: alias → execution key. */
108
+ readonly aliases: ReadonlyMap<string, string>;
109
+ readonly sizes: SavedRecordingSizes;
110
+ /** The recording without its subflow results: `{ snapshot, events, structure }`. */
111
+ readRoot(options?: SavedRecordingReadOptions): Promise<{
112
+ readonly status: 'ready';
113
+ readonly recording: Recording;
114
+ } | SavedRecordingPartUnavailable>;
115
+ /**
116
+ * One invocation's result, read from the one part that holds it. The result
117
+ * is the stored one, proven by digest and key set. Its SHAPE was checked when
118
+ * the recording was cut: on a recording that is not `complete`, a `ready`
119
+ * result may be one the lazy viewer would refuse, so check `complete` first.
120
+ */
121
+ readInvocation(key: string, options?: SavedRecordingReadOptions): Promise<{
122
+ readonly status: 'ready';
123
+ readonly invocation: SavedInvocation;
124
+ readonly result: unknown;
125
+ } | SavedRecordingPartUnavailable>;
126
+ /**
127
+ * Whether every stored part is still there as the index names it: a `head`
128
+ * of each, its kind, bytes, digest and run checked against the index, and no
129
+ * byte read. `ready`, or the first part's `part-missing` / `part-changed`.
130
+ * A whole recording has no separate parts: this makes NO store call for it
131
+ * and is always `ready`, so a host must `head` that artifact itself. A host
132
+ * serving something derived from the recording (a cached answer) asks this
133
+ * first, so it never serves past the store's own retention.
134
+ */
135
+ checkParts(options?: SavedRecordingReadOptions): Promise<{
136
+ readonly status: 'ready';
137
+ } | SavedRecordingPartUnavailable>;
138
+ /**
139
+ * The whole recording, with every result and alias restored; refused whole if
140
+ * any part is. It deep-equals the recording that was saved but is not
141
+ * byte-equal to it: `subflowResults` comes last in the snapshot, its keys are
142
+ * in part order, and a proven alias shares its key's result object.
143
+ */
144
+ readWhole(options?: SavedRecordingWholeOptions): Promise<{
145
+ readonly status: 'ready';
146
+ readonly recording: Recording;
147
+ } | SavedRecordingPartUnavailable>;
148
+ }
149
+ /**
150
+ * Open a saved recording by its receipt's ref: either layout.
151
+ *
152
+ * `artifacts` is already bound to ONE scope (a tool's `ctx.artifacts`, or a
153
+ * host's per-request binding), so a ref from any other scope is `not-found`.
154
+ * Open reads the index only (for a whole recording: the whole, within
155
+ * `maxRootBytes`). Every cap is checked from `head` metadata before any `get`.
156
+ * A store error that is not a fact about the recording (busy, revoked) and an
157
+ * aborted signal reject; they are never reported as a reason.
158
+ *
159
+ * @example
160
+ * ```ts
161
+ * import { openSavedRecording } from 'agentfootprint/observe';
162
+ *
163
+ * const saved = await openSavedRecording(ctx.artifacts, receipt.ref);
164
+ * if (saved.status === 'ready') {
165
+ * const root = await saved.readRoot(); // no subflow results
166
+ * const first = await saved.readInvocation(saved.invocations[0].key);
167
+ * }
168
+ * ```
169
+ */
170
+ export declare function openSavedRecording(artifacts: SavedRecordingArtifacts, ref: ArtifactRef, options?: OpenSavedRecordingOptions): Promise<SavedRecording | SavedRecordingUnavailable>;
171
+ //# sourceMappingURL=open.d.ts.map
@@ -0,0 +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,EAAE,MAAM,CAAC,CAAC;IAC9C,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;IACpC,oFAAoF;IACpF,QAAQ,CACN,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CACR;QAAE,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAA;KAAE,GAAG,6BAA6B,CAC5F,CAAC;IACF;;;;;OAKG;IACH,cAAc,CACZ,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CACN;QAAE,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,UAAU,EAAE,eAAe,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;KAAE,GAC5F,6BAA6B,CAChC,CAAC;IACF;;;;;;;;OAQG;IACH,UAAU,CACR,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC;QAAE,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;KAAE,GAAG,6BAA6B,CAAC,CAAC;IACzE;;;;;OAKG;IACH,SAAS,CACP,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CACR;QAAE,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAA;KAAE,GAAG,6BAA6B,CAC5F,CAAC;CACH;AAcD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,kBAAkB,CACtC,SAAS,EAAE,uBAAuB,EAClC,GAAG,EAAE,WAAW,EAChB,OAAO,GAAE,yBAA8B,GACtC,OAAO,CAAC,cAAc,GAAG,yBAAyB,CAAC,CA4CrD"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * recordingParts/packing — each part packed on its own, with the recording codec.
3
+ *
4
+ * `packRecording` and `unpackRecording` are typed to a whole recording, but
5
+ * the codec never reads a recording's own fields: it pools repeated values in
6
+ * any JSON value and expands them within `maxBytes`. A part is not a whole
7
+ * recording, so these two adapters only widen the type, in one place, rather
8
+ * than restating the codec. One value table per part is what lets any part be
9
+ * read without the others.
10
+ */
11
+ import { type PackedRecording } from '../recordingPack.js';
12
+ /** Pack one part's payload. */
13
+ export declare function packPart(payload: unknown): PackedRecording;
14
+ /**
15
+ * Expand one packed part, refusing before expansion when its plain form is over
16
+ * `maxBytes` (`PackedRecordingTooLargeError`).
17
+ */
18
+ export declare function unpackPart(packed: unknown, maxBytes: number): unknown;
19
+ //# sourceMappingURL=packing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"packing.d.ts","sourceRoot":"","sources":["../../../../../src/recorders/observability/recordingParts/packing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EAAkC,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3F,+BAA+B;AAC/B,wBAAgB,QAAQ,CAAC,OAAO,EAAE,OAAO,GAAG,eAAe,CAE1D;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAErE"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * recordingParts/partReader — read one part named by an admitted index, and
3
+ * prove it holds exactly what the index says before handing anything on.
4
+ *
5
+ * Role: Lens. The one place a part's bytes become values: the size cap
6
+ * before any store call, the source's metadata and digest checks,
7
+ * bounded unpacking, then the payload's own fields — its format, its
8
+ * run, its position and its exact key set.
9
+ * Reads: the part source it is handed.
10
+ * Emits: N/A.
11
+ */
12
+ import type { Recording } from '../recordRun.js';
13
+ import { type RecordingIndex } from './format.js';
14
+ import type { PartSource } from './source.js';
15
+ /** Why one read from an opened recording returned nothing. */
16
+ export interface SavedRecordingPartUnavailable {
17
+ readonly status: 'unavailable';
18
+ readonly reason: 'not-recorded' | 'part-missing' | 'part-changed' | 'too-large';
19
+ }
20
+ type Unavailable = SavedRecordingPartUnavailable;
21
+ /** One invocation part's contents, keyed, and the plain JSON bytes they took. */
22
+ export interface PartContents {
23
+ readonly results: ReadonlyMap<string, unknown>;
24
+ readonly aliases: ReadonlyMap<string, unknown>;
25
+ readonly plainBytes: number;
26
+ }
27
+ /** Reads the parts of one admitted index through one source. */
28
+ export declare function partReader(index: RecordingIndex, source: PartSource, caps: {
29
+ readonly root: number;
30
+ readonly part: number;
31
+ }): {
32
+ base: (signal: AbortSignal | undefined, budget?: number) => Promise<{
33
+ readonly recording: Recording;
34
+ readonly plainBytes: number;
35
+ } | Unavailable>;
36
+ invocations: (part: number, signal: AbortSignal | undefined, budget?: number) => Promise<PartContents | Unavailable>;
37
+ whole: (signal: AbortSignal | undefined, maxBytes: number) => Promise<{
38
+ readonly status: 'ready';
39
+ readonly recording: Recording;
40
+ } | Unavailable>;
41
+ check: (signal: AbortSignal | undefined) => Promise<{
42
+ readonly status: 'ready';
43
+ } | Unavailable>;
44
+ };
45
+ export {};
46
+ //# sourceMappingURL=partReader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"partReader.d.ts","sourceRoot":"","sources":["../../../../../src/recorders/observability/recordingParts/partReader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAMjD,OAAO,EAKL,KAAK,cAAc,EAEpB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,8DAA8D;AAC9D,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;IAC/B,QAAQ,CAAC,MAAM,EAAE,cAAc,GAAG,cAAc,GAAG,cAAc,GAAG,WAAW,CAAC;CACjF;AAED,KAAK,WAAW,GAAG,6BAA6B,CAAC;AAMjD,iFAAiF;AACjF,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/C,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAgCD,gEAAgE;AAChE,wBAAgB,UAAU,CACxB,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,UAAU,EAClB,IAAI,EAAE;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE;mBA2D5C,WAAW,GAAG,SAAS,sBAE9B,QAAQ;QAAE,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;QAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,WAAW,CAAC;wBA6BhF,MAAM,UACJ,WAAW,GAAG,SAAS,sBAE9B,QAAQ,YAAY,GAAG,WAAW,CAAC;oBA8B5B,WAAW,GAAG,SAAS,YACrB,MAAM,KACf,QAAQ;QAAE,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAA;KAAE,GAAG,WAAW,CAAC;oBA0B3E,WAAW,GAAG,SAAS,KAC9B,QAAQ;QAAE,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;KAAE,GAAG,WAAW,CAAC;EAWvD"}
@@ -0,0 +1,59 @@
1
+ /**
2
+ * recordingParts/source — where a part's text comes from, checked against its
3
+ * index entry before it is handed on.
4
+ *
5
+ * Role: Adapter. Two sources behind one shape: a STORE (a scope-bound
6
+ * `head`/`get`) and MEMORY (the parts a whole recording was cut into on
7
+ * the reader's side). Both answer a part's JSON text or a fixed reason.
8
+ * Reads: the store, through the two verbs it is handed.
9
+ * Emits: N/A.
10
+ *
11
+ * ── Metadata before bytes ───────────────────────────────────────────────────
12
+ * The store source asks `head` first and refuses a part whose kind, media
13
+ * type, byte count, digest or run disagrees with the index before any `get`.
14
+ * After `get` it checks the ticket again, the byte count of the text, and its
15
+ * OWN SHA-256 of the text against the index: a store adapter that does not
16
+ * verify its digests cannot pass a changed part. A store failure that is not
17
+ * a fact about the part (busy, revoked, aborted) is thrown, never renamed.
18
+ */
19
+ import type { ToolArtifacts } from '../../../artifacts/capability.js';
20
+ import { type ArtifactMeta } from '../../../artifacts/types.js';
21
+ import type { StoredPartEntry } from './format.js';
22
+ /** The two verbs a reader needs, already bound to one scope. */
23
+ export type SavedRecordingArtifacts = Pick<ToolArtifacts, 'head' | 'get'>;
24
+ /** What a fetch may answer instead of the text. */
25
+ export type FetchRefusal = 'missing' | 'changed';
26
+ /** One part's text, or why there is none. */
27
+ export type FetchedPart = {
28
+ readonly text: string;
29
+ } | {
30
+ readonly refused: FetchRefusal;
31
+ };
32
+ /** Where parts come from. */
33
+ export interface PartSource {
34
+ fetch(entry: StoredPartEntry, signal: AbortSignal | undefined): Promise<FetchedPart>;
35
+ /** The ticket alone, checked against the entry: no bytes are read. */
36
+ check(entry: StoredPartEntry, signal: AbortSignal | undefined): Promise<{
37
+ readonly present: true;
38
+ } | {
39
+ readonly refused: FetchRefusal;
40
+ }>;
41
+ }
42
+ /** The payload of one artifact `get`, decoded to text when it is text. */
43
+ export type FetchedPayload = {
44
+ readonly text: string;
45
+ } | {
46
+ readonly data: unknown;
47
+ } | {
48
+ readonly refused: FetchRefusal;
49
+ };
50
+ /**
51
+ * `get` the artifact `head` described, and refuse it as `changed` when the
52
+ * ticket `get` returns is not the one `head` returned.
53
+ */
54
+ export declare function fetchPayload(artifacts: SavedRecordingArtifacts, meta: ArtifactMeta, signal: AbortSignal | undefined): Promise<FetchedPayload>;
55
+ /** Parts held by a store, each bound to its index entry and the index's run. */
56
+ export declare function storeSource(artifacts: SavedRecordingArtifacts, runId: string | undefined): PartSource;
57
+ /** Parts cut in memory from a whole recording this reader already read and checked. */
58
+ export declare function memorySource(texts: ReadonlyMap<string, string>): PartSource;
59
+ //# sourceMappingURL=source.d.ts.map
@@ -0,0 +1 @@
1
+ {"version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,CAChC,SAAS,EAAE,uBAAuB,EAClC,IAAI,EAAE,YAAY,EAClB,MAAM,EAAE,WAAW,GAAG,SAAS,GAC9B,OAAO,CAAC,cAAc,CAAC,CA8BzB;AAED,gFAAgF;AAChF,wBAAgB,WAAW,CACzB,SAAS,EAAE,uBAAuB,EAClC,KAAK,EAAE,MAAM,GAAG,SAAS,GACxB,UAAU,CAuCZ;AAED,uFAAuF;AACvF,wBAAgB,YAAY,CAAC,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,UAAU,CAc3E"}
@@ -0,0 +1,75 @@
1
+ /**
2
+ * recordingParts/split — one recording, cut into a base part and invocation
3
+ * parts of about 1 MiB, plus the index that names them.
4
+ *
5
+ * Role: Codec. Pure: no store, no events. Returns each part's JSON text with
6
+ * its byte count and SHA-256, and the index without the refs a store
7
+ * mints. The writer puts the parts first and the index last; the
8
+ * reader of a whole recording runs this same split in memory, so both
9
+ * layouts are served by one cut.
10
+ * Reads: its argument.
11
+ * Emits: N/A.
12
+ *
13
+ * ── The cut ─────────────────────────────────────────────────────────────────
14
+ * • The BASE part is the recording with `snapshot.subflowResults` removed
15
+ * (the key itself, so a reader cannot mistake it for an empty map).
16
+ * • Each recorded invocation's result goes into an invocation part, in the
17
+ * viewer's order (`invocations.ts`). A part takes results while it stays
18
+ * within the target; a result larger than the target is a part of its own.
19
+ * Results no mount reaches follow, then path aliases that are not proven.
20
+ * • A path alias whose JSON text equals one stored result's text is stored
21
+ * only as `{ name, key }`: byte equality is the proof, so nothing the
22
+ * whole recording held is lost.
23
+ *
24
+ * ── Determinism ─────────────────────────────────────────────────────────────
25
+ * Every part's text is a function of the recording, the run id and `packed`
26
+ * alone: fixed key order, compact JSON, the wire rule for Errors
27
+ * (`lib/wireJson.ts · toWireJson`). Two equal recordings give equal parts and
28
+ * equal digests; their indexes differ only in the refs the store mints.
29
+ */
30
+ import { type IndexDraft } from './format.js';
31
+ /** One part, ready to store. */
32
+ export interface PartText {
33
+ readonly text: string;
34
+ /** UTF-8 bytes of `text`: what the store's `meta.bytes` must say. */
35
+ readonly bytes: number;
36
+ /** `sha-256:<hex>` over those bytes. */
37
+ readonly digest: string;
38
+ }
39
+ /** A recording, cut. Store `base` and `parts`, then `recordingIndexText(draft, refs)`. */
40
+ export interface SplitRecording {
41
+ readonly base: PartText;
42
+ readonly parts: readonly PartText[];
43
+ readonly draft: IndexDraft;
44
+ }
45
+ /** How to cut. */
46
+ export interface SplitRecordingOptions {
47
+ /** The run the recording is filed for: written into every part and the index. */
48
+ readonly runId?: string;
49
+ /** Pack each part on its own (`packRecording`'s codec), so any part reads alone. */
50
+ readonly packed?: boolean;
51
+ /** The part size target. Default {@link RECORDING_PART_TARGET_BYTES}. */
52
+ readonly targetBytes?: number;
53
+ }
54
+ /**
55
+ * Cut a live recording (`recordRun` · `toRecording()`), through the wire rule
56
+ * first, so the parts hold exactly the bytes the whole recording would.
57
+ *
58
+ * @throws RecordingSplitError — `unserializable`, `not-a-recording`, `over-limit`.
59
+ */
60
+ export declare function splitRecording(recording: unknown, options?: SplitRecordingOptions): Promise<SplitRecording>;
61
+ /**
62
+ * Cut a recording that is already plain JSON data (parsed from its text).
63
+ *
64
+ * @throws RecordingSplitError — `not-a-recording`, `over-limit`.
65
+ */
66
+ export declare function splitRecordingData(data: unknown, options?: SplitRecordingOptions): Promise<SplitRecording>;
67
+ /**
68
+ * The index's JSON text once the store has minted every ref: `refs.parts[i]`
69
+ * is the ref of `split.parts[i]`. Fixed key order, compact JSON.
70
+ */
71
+ export declare function recordingIndexText(draft: IndexDraft, refs: {
72
+ readonly base: string;
73
+ readonly parts: readonly string[];
74
+ }): string;
75
+ //# sourceMappingURL=split.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"split.d.ts","sourceRoot":"","sources":["../../../../../src/recorders/observability/recordingParts/split.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAKH,OAAO,EAUL,KAAK,UAAU,EAIhB,MAAM,aAAa,CAAC;AAKrB,gCAAgC;AAChC,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,qEAAqE;IACrE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,wCAAwC;IACxC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,0FAA0F;AAC1F,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,SAAS,QAAQ,EAAE,CAAC;IACpC,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC;CAC5B;AAED,kBAAkB;AAClB,MAAM,WAAW,qBAAqB;IACpC,iFAAiF;IACjF,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,oFAAoF;IACpF,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAC1B,yEAAyE;IACzE,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAaD;;;;;GAKG;AACH,wBAAsB,cAAc,CAClC,SAAS,EAAE,OAAO,EAClB,OAAO,GAAE,qBAA0B,GAClC,OAAO,CAAC,cAAc,CAAC,CAczB;AAED;;;;GAIG;AACH,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,OAAO,EACb,OAAO,GAAE,qBAA0B,GAClC,OAAO,CAAC,cAAc,CAAC,CAiKzB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,UAAU,EACjB,IAAI,EAAE;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,GACjE,MAAM,CA0CR"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * recordingParts/splitError — why a recording could not be split into parts.
3
+ *
4
+ * A fixed code and, past a bound, which bound. The message is a fixed
5
+ * sentence: it never quotes a key, a name or a recorded value, so a caller can
6
+ * put it on a record that other people read.
7
+ */
8
+ /** Why a split was refused. */
9
+ export type RecordingSplitErrorCode = 'not-a-recording' | 'unserializable' | 'over-limit';
10
+ /** Which bound an `over-limit` split passed. */
11
+ export type RecordingSplitLimit = 'invocations' | 'parts' | 'index' | 'path' | 'tree' | 'name';
12
+ /** Raised by the split: nothing is stored for a recording it refuses. */
13
+ export declare class RecordingSplitError extends Error {
14
+ readonly code: RecordingSplitErrorCode;
15
+ readonly limit?: RecordingSplitLimit;
16
+ constructor(code: RecordingSplitErrorCode, limit?: RecordingSplitLimit);
17
+ }
18
+ //# sourceMappingURL=splitError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"splitError.d.ts","sourceRoot":"","sources":["../../../../../src/recorders/observability/recordingParts/splitError.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,+BAA+B;AAC/B,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,GAAG,gBAAgB,GAAG,YAAY,CAAC;AAE1F,gDAAgD;AAChD,MAAM,MAAM,mBAAmB,GAAG,aAAa,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAS/F,yEAAyE;AACzE,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,QAAQ,CAAC,IAAI,EAAE,uBAAuB,CAAC;IACvC,QAAQ,CAAC,KAAK,CAAC,EAAE,mBAAmB,CAAC;gBAEzB,IAAI,EAAE,uBAAuB,EAAE,KAAK,CAAC,EAAE,mBAAmB;CAUvE"}
@@ -1 +1 @@
1
- {"version":3,"file":"bounds.d.ts","sourceRoot":"","sources":["../../../../src/time/convert/bounds.ts"],"names":[],"mappings":"AACA,OAAO,EAAiC,KAAK,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAChG,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAEnD,OAAO,EAAsB,KAAK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U,GAAG,OAAO,CAWzD;AAED,mGAAmG;AACnG,iBAAS,UAAU,CACjB,MAAM,EAAE,eAAe,EACvB,IAAI,EAAE,UAAU,EAChB,GAAG,EAAE,cAAc,GAClB;IAAE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;CAAE,GAAG,SAAS,CAoErF;AAED,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAAE,CAAC"}
1
+ {"version":3,"file":"exact.d.ts","sourceRoot":"","sources":["../../../../src/time/convert/exact.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAA2B,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AA2C5E,wEAAwE;AACxE,iBAAS,sBAAsB,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAWzD;AAED,mGAAmG;AACnG,iBAAS,UAAU,CACjB,MAAM,EAAE,eAAe,EACvB,IAAI,EAAE,UAAU,EAChB,GAAG,EAAE,cAAc,GAClB;IAAE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;CAAE,GAAG,SAAS,CAsErF;AAED,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAAE,CAAC"}
@@ -66,8 +66,8 @@
66
66
  * precision is how it was written: minutes (`to + 1 min`), seconds, or a
67
67
  * fraction (`+ 1 ms`). An epoch bound's precision is its unit; a date's is
68
68
  * the calendar day in the zone.
69
- * A confirmed endpoint reads an inclusive ISO bound as a point, including
70
- * in a form whose other bound uses a different encoding.
69
+ * A confirmed cutoff follows the same law (one second, or one millisecond,
70
+ * before it); only one written past the millisecond keeps its exact neighbour.
71
71
  *
72
72
  * @example
73
73
  * ```ts
@@ -149,6 +149,9 @@ export declare function llmCallMountKeys(subflowResults: Record<string, unknown>
149
149
  * `source`, `runSource` are the caller's own recording, and this file does not
150
150
  * get to lock down an object it was merely handed.
151
151
  *
152
+ * A recording saved in parts is read whole first, with `openSavedRecording(…)`
153
+ * then `readWhole()` (bounded, all or nothing): epochs live in its subflow results.
154
+ *
152
155
  * @example
153
156
  * ```ts
154
157
  * import { epochLocations } from 'agentfootprint';
@@ -1 +1 @@
1
- {"version":3,"file":"epochs.d.ts","sourceRoot":"","sources":["../../../src/time-travel/epochs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAG9C,OAAO,EAAa,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhF;oCACoC;AACpC,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,YAAY,EAAE,CAAC;IAC7C;;uCAEmC;IACnC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChD,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnD;AAED;8BAC8B;AAC9B,MAAM,WAAW,aAAa;IAC5B;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,4EAA4E;IAC5E,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC;0DACsD;IACtD,QAAQ,CAAC,GAAG,EAAE,SAAS,YAAY,EAAE,CAAC;IACtC,2DAA2D;IAC3D,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;0CAEsC;IACtC,QAAQ,CAAC,MAAM,EAAE,SAAS,YAAY,EAAE,CAAC;IACz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,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;CAC7B;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,OAAO,GAAG,aAAa,GAAG,SAAS,CAOtE;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,MAAM,EAAE,CAO9F;AAoCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG,SAAS,aAAa,EAAE,CASxE;AAgED;;;;;;;GAOG;AACH,wBAAgB,OAAO,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS,CAEjF;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAGxE;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAG3E;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAG7E"}
@@ -85,6 +85,9 @@ export declare function narrativeFrom(snapshot: {
85
85
  * with the bound you choose:
86
86
  * `openRecording(unpackRecording(packed, { maxBytes }))`.
87
87
  *
88
+ * A recording saved in parts is opened whole: read it with
89
+ * `openSavedRecording(…)` then `readWhole()` (bounded, all or nothing) first.
90
+ *
88
91
  * @throws PackedRecordingTooLargeError for a packed recording over that bound.
89
92
  * @throws when the recording carries no usable snapshot. A toolpack over
90
93
  * an empty bag would answer every question with "nothing
@@ -1 +1 @@
1
- {"version":3,"file":"openRecording.d.ts","sourceRoot":"","sources":["../../../src/trace-toolpack/openRecording.ts"],"names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,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,OAAO,EAAE,CAAC;IACrC,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,uDAAuD;AACvD,UAAU,WAAW;IACnB,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE;IACtC,SAAS,CAAC,EAAE,SAAS,WAAW,EAAE,CAAC;CACpC,GAAG,MAAM,EAAE,GAAG,SAAS,CAgBvB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,iBAAiB,GAAG,eAAe,EAC1C,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,GACzD,sBAAsB,CA8CxB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentfootprint",
3
- "version": "18.1.0",
3
+ "version": "18.2.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",