agent-inspect 1.5.0 → 1.6.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 (85) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +12 -4
  3. package/docs/API.md +124 -9
  4. package/docs/ARCHITECTURE.md +4 -0
  5. package/docs/CLI.md +41 -12
  6. package/docs/KNOWN-ISSUES.md +8 -1
  7. package/docs/LIMITATIONS.md +11 -2
  8. package/docs/SCHEMA.md +16 -6
  9. package/package.json +21 -1
  10. package/packages/cli/dist/index.cjs +2449 -157
  11. package/packages/cli/dist/index.cjs.map +1 -1
  12. package/packages/cli/dist/index.mjs +2450 -158
  13. package/packages/cli/dist/index.mjs.map +1 -1
  14. package/packages/core/dist/advanced.cjs +839 -18
  15. package/packages/core/dist/advanced.cjs.map +1 -1
  16. package/packages/core/dist/advanced.d.cts +98 -3
  17. package/packages/core/dist/advanced.d.ts +98 -3
  18. package/packages/core/dist/advanced.mjs +7 -4
  19. package/packages/core/dist/chunk-57S5D6HR.mjs +655 -0
  20. package/packages/core/dist/chunk-57S5D6HR.mjs.map +1 -0
  21. package/packages/core/dist/chunk-6QSLZCBJ.mjs +743 -0
  22. package/packages/core/dist/chunk-6QSLZCBJ.mjs.map +1 -0
  23. package/packages/core/dist/chunk-6SZPTECC.mjs +342 -0
  24. package/packages/core/dist/chunk-6SZPTECC.mjs.map +1 -0
  25. package/packages/core/dist/{chunk-QX3ZMPUF.mjs → chunk-74XZ6N7Q.mjs} +13 -55
  26. package/packages/core/dist/chunk-74XZ6N7Q.mjs.map +1 -0
  27. package/packages/core/dist/{chunk-QPAU2TPA.mjs → chunk-HR7G62IE.mjs} +4 -4
  28. package/packages/core/dist/{chunk-QPAU2TPA.mjs.map → chunk-HR7G62IE.mjs.map} +1 -1
  29. package/packages/core/dist/chunk-S4YWKV4G.mjs +48 -0
  30. package/packages/core/dist/chunk-S4YWKV4G.mjs.map +1 -0
  31. package/packages/core/dist/chunk-TFLPUZ56.mjs +1571 -0
  32. package/packages/core/dist/chunk-TFLPUZ56.mjs.map +1 -0
  33. package/packages/core/dist/{chunk-Q6EPNB3V.mjs → chunk-TZISEVLQ.mjs} +34 -183
  34. package/packages/core/dist/chunk-TZISEVLQ.mjs.map +1 -0
  35. package/packages/core/dist/chunk-U2BGPESY.mjs +150 -0
  36. package/packages/core/dist/chunk-U2BGPESY.mjs.map +1 -0
  37. package/packages/core/dist/chunk-VTIB5MDK.mjs +304 -0
  38. package/packages/core/dist/chunk-VTIB5MDK.mjs.map +1 -0
  39. package/packages/core/dist/{chunk-5EMIZZXD.mjs → chunk-Y56BPA3B.mjs} +87 -4
  40. package/packages/core/dist/chunk-Y56BPA3B.mjs.map +1 -0
  41. package/packages/core/dist/diff.d.cts +3 -2
  42. package/packages/core/dist/diff.d.ts +3 -2
  43. package/packages/core/dist/exporters.cjs.map +1 -1
  44. package/packages/core/dist/exporters.d.cts +3 -2
  45. package/packages/core/dist/exporters.d.ts +3 -2
  46. package/packages/core/dist/exporters.mjs +2 -2
  47. package/packages/core/dist/index.cjs +2975 -229
  48. package/packages/core/dist/index.cjs.map +1 -1
  49. package/packages/core/dist/index.d.cts +27 -6
  50. package/packages/core/dist/index.d.ts +27 -6
  51. package/packages/core/dist/index.mjs +113 -60
  52. package/packages/core/dist/index.mjs.map +1 -1
  53. package/packages/core/dist/{log-config-BzGmDYum.d.cts → inspect-event-Des4JDHo.d.cts} +1 -31
  54. package/packages/core/dist/{log-config-BzGmDYum.d.ts → inspect-event-Des4JDHo.d.ts} +1 -31
  55. package/packages/core/dist/log-config-BnH8Ykcb.d.cts +33 -0
  56. package/packages/core/dist/log-config-C1GcJPIM.d.ts +33 -0
  57. package/packages/core/dist/logs.d.cts +3 -2
  58. package/packages/core/dist/logs.d.ts +3 -2
  59. package/packages/core/dist/logs.mjs +3 -3
  60. package/packages/core/dist/persisted-inspect-event-0kaRADsp.d.cts +56 -0
  61. package/packages/core/dist/persisted-inspect-event-DiFto0K2.d.ts +56 -0
  62. package/packages/core/dist/persisted.cjs +38 -40
  63. package/packages/core/dist/persisted.cjs.map +1 -1
  64. package/packages/core/dist/persisted.d.cts +6 -55
  65. package/packages/core/dist/persisted.d.ts +6 -55
  66. package/packages/core/dist/persisted.mjs +4 -2
  67. package/packages/core/dist/readers.cjs +2590 -0
  68. package/packages/core/dist/readers.cjs.map +1 -0
  69. package/packages/core/dist/readers.d.cts +80 -0
  70. package/packages/core/dist/readers.d.ts +80 -0
  71. package/packages/core/dist/readers.mjs +9 -0
  72. package/packages/core/dist/readers.mjs.map +1 -0
  73. package/packages/core/dist/{types-CNbheSdk.d.cts → types-DB8jB6Jg.d.cts} +7 -1
  74. package/packages/core/dist/{types-Bkt7LS01.d.ts → types-tSix7tfv.d.ts} +7 -1
  75. package/packages/core/dist/writers.cjs +997 -0
  76. package/packages/core/dist/writers.cjs.map +1 -0
  77. package/packages/core/dist/writers.d.cts +62 -0
  78. package/packages/core/dist/writers.d.ts +62 -0
  79. package/packages/core/dist/writers.mjs +9 -0
  80. package/packages/core/dist/writers.mjs.map +1 -0
  81. package/packages/core/dist/chunk-5EMIZZXD.mjs.map +0 -1
  82. package/packages/core/dist/chunk-Q6EPNB3V.mjs.map +0 -1
  83. package/packages/core/dist/chunk-QX3ZMPUF.mjs.map +0 -1
  84. package/packages/core/dist/chunk-XDBND27A.mjs +0 -975
  85. package/packages/core/dist/chunk-XDBND27A.mjs.map +0 -1
@@ -1,5 +1,8 @@
1
- import { E as ErrorInfo, e as RedactionProfile, n as StepMetadata, T as TraceEvent, I as InspectRunOptions, g as ExecutionContext, d as TraceCorrelationMetadata, k as RunStatus, c as StepStatus } from './types-CNbheSdk.cjs';
2
- import { R as RedactionRule } from './log-config-BzGmDYum.cjs';
1
+ import { E as ErrorInfo, e as RedactionProfile, n as StepMetadata, T as TraceEvent, I as InspectRunOptions, g as ExecutionContext, d as TraceCorrelationMetadata, S as StepType, k as RunStatus, c as StepStatus } from './types-DB8jB6Jg.cjs';
2
+ import { R as RedactionRule } from './log-config-BnH8Ykcb.cjs';
3
+ import { P as PersistedInspectEvent } from './persisted-inspect-event-0kaRADsp.cjs';
4
+ import { TraceWriterStats, TraceWriter } from './writers.cjs';
5
+ import './inspect-event-Des4JDHo.cjs';
3
6
 
4
7
  /** Default folder under the user home for AgentInspect data. */
5
8
  declare const DEFAULT_TRACE_DIR_NAME = ".agent-inspect";
@@ -127,6 +130,98 @@ declare function runWithContext<T>(context: ExecutionContext, fn: () => Promise<
127
130
  */
128
131
  declare function runWithStepContext<T>(stepId: string, fn: () => Promise<T> | T): Promise<T>;
129
132
 
133
+ interface InspectorRuntimeOptions {
134
+ enabled?: boolean;
135
+ writer?: TraceWriter;
136
+ traceSafety?: TraceSafetyOptions;
137
+ }
138
+ interface InspectorRuntimeContext extends ExecutionContext {
139
+ runtimeId: string;
140
+ }
141
+ interface InspectorRuntimeDiagnostics {
142
+ instrumentationErrors: number;
143
+ lastInstrumentationError?: string;
144
+ writerStats?: TraceWriterStats;
145
+ }
146
+ interface InspectorRuntime {
147
+ readonly runtimeId: string;
148
+ readonly enabled: boolean;
149
+ runWithContext<T>(context: ExecutionContext, fn: () => Promise<T> | T): Promise<T>;
150
+ runWithStepContext<T>(stepId: string, fn: () => Promise<T> | T): Promise<T>;
151
+ getCurrentContext(): InspectorRuntimeContext | undefined;
152
+ getCurrentCorrelationMetadata(): TraceCorrelationMetadata | undefined;
153
+ getCurrentStepId(): string | undefined;
154
+ getCurrentDepth(): number;
155
+ getTraceSafety(): TraceSafetyOptions;
156
+ write(event: PersistedInspectEvent): Promise<void>;
157
+ flush(): Promise<void>;
158
+ close(): Promise<void>;
159
+ getDiagnostics(): InspectorRuntimeDiagnostics;
160
+ }
161
+ declare function createInspectorRuntime(options?: InspectorRuntimeOptions): InspectorRuntime;
162
+
163
+ interface InspectorCaptureOptions {
164
+ onSuccess?: "none" | "metadata-only";
165
+ onError?: "none" | "metadata-only";
166
+ }
167
+ interface CreateInspectorOptions {
168
+ enabled?: boolean;
169
+ writer?: TraceWriter;
170
+ /**
171
+ * Context metadata only. Does not configure writer output; use
172
+ * `fileWriter({ dir })` or another explicit writer for persistence paths.
173
+ *
174
+ * @experimental
175
+ */
176
+ traceDir?: string;
177
+ /**
178
+ * Context metadata only for compatibility with existing terminal helpers.
179
+ * `createInspector()` does not print lifecycle output.
180
+ *
181
+ * @experimental
182
+ */
183
+ silent?: boolean;
184
+ metadata?: Record<string, unknown>;
185
+ redactionProfile?: RedactionProfile;
186
+ /**
187
+ * Metadata-only summaries for persisted run/step completion rows.
188
+ * This never stores raw return values, prompts, outputs, or thrown objects.
189
+ *
190
+ * @experimental
191
+ */
192
+ capture?: InspectorCaptureOptions;
193
+ traceSafety?: TraceSafetyOptions;
194
+ }
195
+ interface InspectorRunOptions {
196
+ runId?: string;
197
+ traceDir?: string;
198
+ silent?: boolean;
199
+ metadata?: Record<string, unknown>;
200
+ }
201
+ interface InspectorStepOptions {
202
+ type?: StepType;
203
+ metadata?: StepMetadata;
204
+ }
205
+ type InspectorObserveOptions = InspectorStepOptions;
206
+ interface Inspector {
207
+ /**
208
+ * Low-level runtime access is retained for v1.6 compatibility. Prefer
209
+ * `getDiagnostics()` unless you need advanced runtime context primitives.
210
+ *
211
+ * @experimental
212
+ */
213
+ readonly runtime: InspectorRuntime;
214
+ run<T>(name: string, fn: () => T | Promise<T>, options?: InspectorRunOptions): Promise<T>;
215
+ step<T>(name: string, fn: () => T | Promise<T>, options?: InspectorStepOptions): Promise<T>;
216
+ tool<T>(name: string, fn: () => T | Promise<T>, options?: InspectorStepOptions): Promise<T>;
217
+ llm<T>(name: string, fn: () => T | Promise<T>, options?: InspectorStepOptions): Promise<T>;
218
+ observe<TFunction extends (...args: any[]) => any>(name: string, fn: TFunction, options?: InspectorObserveOptions): (...args: Parameters<TFunction>) => Promise<Awaited<ReturnType<TFunction>>>;
219
+ getDiagnostics(): ReturnType<InspectorRuntime["getDiagnostics"]>;
220
+ flush(): Promise<void>;
221
+ close(): Promise<void>;
222
+ }
223
+ declare function createInspector(options?: CreateInspectorOptions): Inspector;
224
+
130
225
  /** Two spaces per nesting level in terminal output. */
131
226
  declare const TERMINAL_INDENT = " ";
132
227
  /** Max display length for names in terminal output. */
@@ -156,4 +251,4 @@ declare function printRunComplete(_name: string, _runId: string, durationMs: num
156
251
  /** Prints which step failed. */
157
252
  declare function printFailedAt(stepName: string): void;
158
253
 
159
- export { DEFAULT_MAX_EVENT_BYTES, DEFAULT_MAX_METADATA_VALUE_LENGTH, DEFAULT_MAX_PREVIEW_LENGTH, DEFAULT_TRACE_DIR_NAME, FALLBACK_TRACE_DIR, MAX_NAME_LENGTH, MAX_TERMINAL_DEPTH, MAX_TERMINAL_NAME_LENGTH, RUNS_DIR_NAME, type ResolvedRedactionProfile, TERMINAL_INDENT, type TraceSafetyOptions, createRunId, createStepId, ensureTraceDir, formatDuration, formatError, formatTerminalName, formatTimestamp, getCurrentContext, getCurrentCorrelationMetadata, getCurrentDepth, getCurrentRunId, getCurrentRunName, getCurrentStepId, getDefaultTraceDir, getIndent, getParentStepId, getTraceDirFromContext, getTraceFilePath, getTraceSafetyFromContext, hasActiveContext, isSilentContext, prepareMetadataForDisk, prepareTraceEventForDisk, printError, printFailedAt, printRunComplete, printRunStart, printStepComplete, printStepStart, renderErrorLine, renderRunSummary, renderStepLine, resolveRedactionProfile, resolveTraceSafetyOptions, runWithContext, runWithStepContext, truncateName, warn };
254
+ export { type CreateInspectorOptions, DEFAULT_MAX_EVENT_BYTES, DEFAULT_MAX_METADATA_VALUE_LENGTH, DEFAULT_MAX_PREVIEW_LENGTH, DEFAULT_TRACE_DIR_NAME, FALLBACK_TRACE_DIR, type Inspector, type InspectorCaptureOptions, type InspectorObserveOptions, type InspectorRunOptions, type InspectorRuntime, type InspectorRuntimeContext, type InspectorRuntimeDiagnostics, type InspectorRuntimeOptions, type InspectorStepOptions, MAX_NAME_LENGTH, MAX_TERMINAL_DEPTH, MAX_TERMINAL_NAME_LENGTH, RUNS_DIR_NAME, type ResolvedRedactionProfile, TERMINAL_INDENT, type TraceSafetyOptions, createInspector, createInspectorRuntime, createRunId, createStepId, ensureTraceDir, formatDuration, formatError, formatTerminalName, formatTimestamp, getCurrentContext, getCurrentCorrelationMetadata, getCurrentDepth, getCurrentRunId, getCurrentRunName, getCurrentStepId, getDefaultTraceDir, getIndent, getParentStepId, getTraceDirFromContext, getTraceFilePath, getTraceSafetyFromContext, hasActiveContext, isSilentContext, prepareMetadataForDisk, prepareTraceEventForDisk, printError, printFailedAt, printRunComplete, printRunStart, printStepComplete, printStepStart, renderErrorLine, renderRunSummary, renderStepLine, resolveRedactionProfile, resolveTraceSafetyOptions, runWithContext, runWithStepContext, truncateName, warn };
@@ -1,5 +1,8 @@
1
- import { E as ErrorInfo, e as RedactionProfile, n as StepMetadata, T as TraceEvent, I as InspectRunOptions, g as ExecutionContext, d as TraceCorrelationMetadata, k as RunStatus, c as StepStatus } from './types-Bkt7LS01.js';
2
- import { R as RedactionRule } from './log-config-BzGmDYum.js';
1
+ import { E as ErrorInfo, e as RedactionProfile, n as StepMetadata, T as TraceEvent, I as InspectRunOptions, g as ExecutionContext, d as TraceCorrelationMetadata, S as StepType, k as RunStatus, c as StepStatus } from './types-tSix7tfv.js';
2
+ import { R as RedactionRule } from './log-config-C1GcJPIM.js';
3
+ import { P as PersistedInspectEvent } from './persisted-inspect-event-DiFto0K2.js';
4
+ import { TraceWriterStats, TraceWriter } from './writers.js';
5
+ import './inspect-event-Des4JDHo.js';
3
6
 
4
7
  /** Default folder under the user home for AgentInspect data. */
5
8
  declare const DEFAULT_TRACE_DIR_NAME = ".agent-inspect";
@@ -127,6 +130,98 @@ declare function runWithContext<T>(context: ExecutionContext, fn: () => Promise<
127
130
  */
128
131
  declare function runWithStepContext<T>(stepId: string, fn: () => Promise<T> | T): Promise<T>;
129
132
 
133
+ interface InspectorRuntimeOptions {
134
+ enabled?: boolean;
135
+ writer?: TraceWriter;
136
+ traceSafety?: TraceSafetyOptions;
137
+ }
138
+ interface InspectorRuntimeContext extends ExecutionContext {
139
+ runtimeId: string;
140
+ }
141
+ interface InspectorRuntimeDiagnostics {
142
+ instrumentationErrors: number;
143
+ lastInstrumentationError?: string;
144
+ writerStats?: TraceWriterStats;
145
+ }
146
+ interface InspectorRuntime {
147
+ readonly runtimeId: string;
148
+ readonly enabled: boolean;
149
+ runWithContext<T>(context: ExecutionContext, fn: () => Promise<T> | T): Promise<T>;
150
+ runWithStepContext<T>(stepId: string, fn: () => Promise<T> | T): Promise<T>;
151
+ getCurrentContext(): InspectorRuntimeContext | undefined;
152
+ getCurrentCorrelationMetadata(): TraceCorrelationMetadata | undefined;
153
+ getCurrentStepId(): string | undefined;
154
+ getCurrentDepth(): number;
155
+ getTraceSafety(): TraceSafetyOptions;
156
+ write(event: PersistedInspectEvent): Promise<void>;
157
+ flush(): Promise<void>;
158
+ close(): Promise<void>;
159
+ getDiagnostics(): InspectorRuntimeDiagnostics;
160
+ }
161
+ declare function createInspectorRuntime(options?: InspectorRuntimeOptions): InspectorRuntime;
162
+
163
+ interface InspectorCaptureOptions {
164
+ onSuccess?: "none" | "metadata-only";
165
+ onError?: "none" | "metadata-only";
166
+ }
167
+ interface CreateInspectorOptions {
168
+ enabled?: boolean;
169
+ writer?: TraceWriter;
170
+ /**
171
+ * Context metadata only. Does not configure writer output; use
172
+ * `fileWriter({ dir })` or another explicit writer for persistence paths.
173
+ *
174
+ * @experimental
175
+ */
176
+ traceDir?: string;
177
+ /**
178
+ * Context metadata only for compatibility with existing terminal helpers.
179
+ * `createInspector()` does not print lifecycle output.
180
+ *
181
+ * @experimental
182
+ */
183
+ silent?: boolean;
184
+ metadata?: Record<string, unknown>;
185
+ redactionProfile?: RedactionProfile;
186
+ /**
187
+ * Metadata-only summaries for persisted run/step completion rows.
188
+ * This never stores raw return values, prompts, outputs, or thrown objects.
189
+ *
190
+ * @experimental
191
+ */
192
+ capture?: InspectorCaptureOptions;
193
+ traceSafety?: TraceSafetyOptions;
194
+ }
195
+ interface InspectorRunOptions {
196
+ runId?: string;
197
+ traceDir?: string;
198
+ silent?: boolean;
199
+ metadata?: Record<string, unknown>;
200
+ }
201
+ interface InspectorStepOptions {
202
+ type?: StepType;
203
+ metadata?: StepMetadata;
204
+ }
205
+ type InspectorObserveOptions = InspectorStepOptions;
206
+ interface Inspector {
207
+ /**
208
+ * Low-level runtime access is retained for v1.6 compatibility. Prefer
209
+ * `getDiagnostics()` unless you need advanced runtime context primitives.
210
+ *
211
+ * @experimental
212
+ */
213
+ readonly runtime: InspectorRuntime;
214
+ run<T>(name: string, fn: () => T | Promise<T>, options?: InspectorRunOptions): Promise<T>;
215
+ step<T>(name: string, fn: () => T | Promise<T>, options?: InspectorStepOptions): Promise<T>;
216
+ tool<T>(name: string, fn: () => T | Promise<T>, options?: InspectorStepOptions): Promise<T>;
217
+ llm<T>(name: string, fn: () => T | Promise<T>, options?: InspectorStepOptions): Promise<T>;
218
+ observe<TFunction extends (...args: any[]) => any>(name: string, fn: TFunction, options?: InspectorObserveOptions): (...args: Parameters<TFunction>) => Promise<Awaited<ReturnType<TFunction>>>;
219
+ getDiagnostics(): ReturnType<InspectorRuntime["getDiagnostics"]>;
220
+ flush(): Promise<void>;
221
+ close(): Promise<void>;
222
+ }
223
+ declare function createInspector(options?: CreateInspectorOptions): Inspector;
224
+
130
225
  /** Two spaces per nesting level in terminal output. */
131
226
  declare const TERMINAL_INDENT = " ";
132
227
  /** Max display length for names in terminal output. */
@@ -156,4 +251,4 @@ declare function printRunComplete(_name: string, _runId: string, durationMs: num
156
251
  /** Prints which step failed. */
157
252
  declare function printFailedAt(stepName: string): void;
158
253
 
159
- export { DEFAULT_MAX_EVENT_BYTES, DEFAULT_MAX_METADATA_VALUE_LENGTH, DEFAULT_MAX_PREVIEW_LENGTH, DEFAULT_TRACE_DIR_NAME, FALLBACK_TRACE_DIR, MAX_NAME_LENGTH, MAX_TERMINAL_DEPTH, MAX_TERMINAL_NAME_LENGTH, RUNS_DIR_NAME, type ResolvedRedactionProfile, TERMINAL_INDENT, type TraceSafetyOptions, createRunId, createStepId, ensureTraceDir, formatDuration, formatError, formatTerminalName, formatTimestamp, getCurrentContext, getCurrentCorrelationMetadata, getCurrentDepth, getCurrentRunId, getCurrentRunName, getCurrentStepId, getDefaultTraceDir, getIndent, getParentStepId, getTraceDirFromContext, getTraceFilePath, getTraceSafetyFromContext, hasActiveContext, isSilentContext, prepareMetadataForDisk, prepareTraceEventForDisk, printError, printFailedAt, printRunComplete, printRunStart, printStepComplete, printStepStart, renderErrorLine, renderRunSummary, renderStepLine, resolveRedactionProfile, resolveTraceSafetyOptions, runWithContext, runWithStepContext, truncateName, warn };
254
+ export { type CreateInspectorOptions, DEFAULT_MAX_EVENT_BYTES, DEFAULT_MAX_METADATA_VALUE_LENGTH, DEFAULT_MAX_PREVIEW_LENGTH, DEFAULT_TRACE_DIR_NAME, FALLBACK_TRACE_DIR, type Inspector, type InspectorCaptureOptions, type InspectorObserveOptions, type InspectorRunOptions, type InspectorRuntime, type InspectorRuntimeContext, type InspectorRuntimeDiagnostics, type InspectorRuntimeOptions, type InspectorStepOptions, MAX_NAME_LENGTH, MAX_TERMINAL_DEPTH, MAX_TERMINAL_NAME_LENGTH, RUNS_DIR_NAME, type ResolvedRedactionProfile, TERMINAL_INDENT, type TraceSafetyOptions, createInspector, createInspectorRuntime, createRunId, createStepId, ensureTraceDir, formatDuration, formatError, formatTerminalName, formatTimestamp, getCurrentContext, getCurrentCorrelationMetadata, getCurrentDepth, getCurrentRunId, getCurrentRunName, getCurrentStepId, getDefaultTraceDir, getIndent, getParentStepId, getTraceDirFromContext, getTraceFilePath, getTraceSafetyFromContext, hasActiveContext, isSilentContext, prepareMetadataForDisk, prepareTraceEventForDisk, printError, printFailedAt, printRunComplete, printRunStart, printStepComplete, printStepStart, renderErrorLine, renderRunSummary, renderStepLine, resolveRedactionProfile, resolveTraceSafetyOptions, runWithContext, runWithStepContext, truncateName, warn };
@@ -1,8 +1,11 @@
1
- export { DEFAULT_MAX_EVENT_BYTES, DEFAULT_MAX_METADATA_VALUE_LENGTH, DEFAULT_MAX_PREVIEW_LENGTH, DEFAULT_TRACE_DIR_NAME, FALLBACK_TRACE_DIR, MAX_NAME_LENGTH, MAX_TERMINAL_DEPTH, MAX_TERMINAL_NAME_LENGTH, RUNS_DIR_NAME, TERMINAL_INDENT, createRunId, createStepId, ensureTraceDir, formatDuration, formatError, formatTerminalName, formatTimestamp, getCurrentContext, getCurrentCorrelationMetadata, getCurrentDepth, getCurrentRunId, getCurrentRunName, getCurrentStepId, getDefaultTraceDir, getIndent, getParentStepId, getTraceDirFromContext, getTraceFilePath, getTraceSafetyFromContext, hasActiveContext, isSilentContext, prepareMetadataForDisk, prepareTraceEventForDisk, printError, printFailedAt, printRunComplete, printRunStart, printStepComplete, printStepStart, renderErrorLine, renderRunSummary, renderStepLine, resolveTraceSafetyOptions, runWithContext, runWithStepContext, truncateName, warn } from './chunk-XDBND27A.mjs';
2
- import './chunk-QX3ZMPUF.mjs';
3
- import './chunk-7TGZLWEE.mjs';
1
+ export { MAX_TERMINAL_DEPTH, MAX_TERMINAL_NAME_LENGTH, TERMINAL_INDENT, createInspector, createInspectorRuntime, formatTerminalName, getCurrentContext, getCurrentCorrelationMetadata, getCurrentDepth, getCurrentRunId, getCurrentRunName, getCurrentStepId, getIndent, getParentStepId, getTraceDirFromContext, getTraceSafetyFromContext, hasActiveContext, isSilentContext, printError, printFailedAt, printRunComplete, printRunStart, printStepComplete, printStepStart, renderErrorLine, renderRunSummary, renderStepLine, runWithContext, runWithStepContext } from './chunk-6QSLZCBJ.mjs';
2
+ import './chunk-BT7CATSD.mjs';
3
+ export { DEFAULT_MAX_EVENT_BYTES, DEFAULT_MAX_METADATA_VALUE_LENGTH, DEFAULT_MAX_PREVIEW_LENGTH, prepareMetadataForDisk, prepareTraceEventForDisk, resolveTraceSafetyOptions } from './chunk-57S5D6HR.mjs';
4
4
  export { resolveRedactionProfile } from './chunk-EDTQHZPM.mjs';
5
5
  import './chunk-VU6O5QAH.mjs';
6
- import './chunk-BT7CATSD.mjs';
6
+ import './chunk-S4YWKV4G.mjs';
7
+ export { DEFAULT_TRACE_DIR_NAME, FALLBACK_TRACE_DIR, MAX_NAME_LENGTH, RUNS_DIR_NAME, createRunId, createStepId, ensureTraceDir, formatDuration, formatError, formatTimestamp, getDefaultTraceDir, getTraceFilePath, truncateName, warn } from './chunk-VTIB5MDK.mjs';
8
+ import './chunk-74XZ6N7Q.mjs';
9
+ import './chunk-7TGZLWEE.mjs';
7
10
  //# sourceMappingURL=advanced.mjs.map
8
11
  //# sourceMappingURL=advanced.mjs.map