agent-inspect 6.31.31 → 6.31.32
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.
- package/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/docs/CLI.md +3 -1
- package/docs/TRACE-CONTRACTS.md +2 -0
- package/package.json +1 -1
- package/packages/cli/dist/{chunk-4GTOJ3G2.mjs → chunk-PEGM6T2X.mjs} +82 -9
- package/packages/cli/dist/chunk-PEGM6T2X.mjs.map +1 -0
- package/packages/cli/dist/index.cjs +100 -11
- package/packages/cli/dist/index.cjs.map +1 -1
- package/packages/cli/dist/index.mjs +23 -7
- package/packages/cli/dist/index.mjs.map +1 -1
- package/packages/cli/dist/{src-BF74ZVDF.mjs → src-CWUJTMRD.mjs} +3 -3
- package/packages/cli/dist/{src-BF74ZVDF.mjs.map → src-CWUJTMRD.mjs.map} +1 -1
- package/packages/core/dist/advanced.cjs +4 -0
- package/packages/core/dist/advanced.cjs.map +1 -1
- package/packages/core/dist/advanced.d.cts +2 -2
- package/packages/core/dist/advanced.d.ts +2 -2
- package/packages/core/dist/advanced.mjs +9 -9
- package/packages/core/dist/checks.cjs +76 -7
- package/packages/core/dist/checks.cjs.map +1 -1
- package/packages/core/dist/checks.d.cts +2 -2
- package/packages/core/dist/checks.d.ts +2 -2
- package/packages/core/dist/checks.mjs +3 -3
- package/packages/core/dist/{chunk-BYNAJPNH.mjs → chunk-6G67ZN72.mjs} +79 -10
- package/packages/core/dist/chunk-6G67ZN72.mjs.map +1 -0
- package/packages/core/dist/{chunk-76QIWWJ5.mjs → chunk-6S666BF4.mjs} +3 -3
- package/packages/core/dist/{chunk-76QIWWJ5.mjs.map → chunk-6S666BF4.mjs.map} +1 -1
- package/packages/core/dist/{chunk-QMO3ITYF.mjs → chunk-FBPDF7HO.mjs} +3 -3
- package/packages/core/dist/{chunk-QMO3ITYF.mjs.map → chunk-FBPDF7HO.mjs.map} +1 -1
- package/packages/core/dist/{chunk-XM27TZLD.mjs → chunk-RB6WANSW.mjs} +6 -2
- package/packages/core/dist/chunk-RB6WANSW.mjs.map +1 -0
- package/packages/core/dist/{chunk-JTJN4KBJ.mjs → chunk-VIEJJ5JB.mjs} +4 -4
- package/packages/core/dist/{chunk-JTJN4KBJ.mjs.map → chunk-VIEJJ5JB.mjs.map} +1 -1
- package/packages/core/dist/exporters.cjs +4 -0
- package/packages/core/dist/exporters.cjs.map +1 -1
- package/packages/core/dist/exporters.mjs +3 -3
- package/packages/core/dist/{index-DACU4Dy1.d.cts → index-Ceyw5x7b.d.cts} +4 -2
- package/packages/core/dist/{index-b4tIGrzq.d.ts → index-K5Cinf1r.d.ts} +4 -2
- package/packages/core/dist/index.cjs +4 -0
- package/packages/core/dist/index.cjs.map +1 -1
- package/packages/core/dist/index.mjs +4 -4
- package/packages/core/dist/writers.cjs +4 -0
- package/packages/core/dist/writers.cjs.map +1 -1
- package/packages/core/dist/writers.mjs +1 -1
- package/packages/cli/dist/chunk-4GTOJ3G2.mjs.map +0 -1
- package/packages/core/dist/chunk-BYNAJPNH.mjs.map +0 -1
- package/packages/core/dist/chunk-XM27TZLD.mjs.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { buildRunWhatSummary, renderRunWhat, renderTimeline, buildRunTimeline } from './chunk-
|
|
2
|
-
import { summarizeObservedOutcomes, extractOutcomesFromTraceEvents, renderObservedOutcomesMarkdown, renderObservedOutcomesHtml } from './chunk-
|
|
1
|
+
import { buildRunWhatSummary, renderRunWhat, renderTimeline, buildRunTimeline } from './chunk-6S666BF4.mjs';
|
|
2
|
+
import { summarizeObservedOutcomes, extractOutcomesFromTraceEvents, renderObservedOutcomesMarkdown, renderObservedOutcomesHtml } from './chunk-FBPDF7HO.mjs';
|
|
3
3
|
import { escapeHtml, flattenTree, safeString, compactAttributes, stableJson, escapeMarkdown, zeroKinds } from './chunk-CAWPF22J.mjs';
|
|
4
4
|
export { compactAttributes, escapeHtml, escapeMarkdown, flattenTree, safeString, stableJson, summarizeTree } from './chunk-CAWPF22J.mjs';
|
|
5
|
-
import { resolveRedactionProfile, applyProfileMetadataCaps, truncateStringForProfile, stringContainsHighConfidenceCredential } from './chunk-
|
|
5
|
+
import { resolveRedactionProfile, applyProfileMetadataCaps, truncateStringForProfile, stringContainsHighConfidenceCredential } from './chunk-RB6WANSW.mjs';
|
|
6
6
|
import { Redactor, DEFAULT_REDACT_KEYS, isCredentialSensitiveKey } from './chunk-VLVCLAPB.mjs';
|
|
7
7
|
import { IDENTITY_CONFLICT_ATTR, DELIVERY_CONFLICT_ATTR, DELIVERY_EVENT_BASE_ATTR } from './chunk-AN5MOADW.mjs';
|
|
8
8
|
import './chunk-7DHSWDKB.mjs';
|
|
@@ -1024,7 +1024,8 @@ interface StepOrderingRuleOptions {
|
|
|
1024
1024
|
* Ordering semantics. `first-occurrence` preserves first-occurrence encounter
|
|
1025
1025
|
* ordering, `happens-before` requires the first before event to finish before
|
|
1026
1026
|
* the first after event starts, and `all-occurrences` applies that causal
|
|
1027
|
-
* boundary to every matching occurrence.
|
|
1027
|
+
* boundary to every matching occurrence. When the boundary timestamps tie at
|
|
1028
|
+
* millisecond resolution, the causal modes decide by recorded event order.
|
|
1028
1029
|
*
|
|
1029
1030
|
* @defaultValue `"first-occurrence"`
|
|
1030
1031
|
*/
|
|
@@ -1055,7 +1056,8 @@ interface ToolOrderingRuleOptions {
|
|
|
1055
1056
|
* Ordering semantics. `first-occurrence` preserves first-occurrence encounter
|
|
1056
1057
|
* ordering, `happens-before` requires the first before event to finish before
|
|
1057
1058
|
* the first after event starts, and `all-occurrences` applies that causal
|
|
1058
|
-
* boundary to every matching occurrence.
|
|
1059
|
+
* boundary to every matching occurrence. When the boundary timestamps tie at
|
|
1060
|
+
* millisecond resolution, the causal modes decide by recorded event order.
|
|
1059
1061
|
*
|
|
1060
1062
|
* @defaultValue `"first-occurrence"`
|
|
1061
1063
|
* @experimental Available through `agent-inspect/checks`.
|
|
@@ -1024,7 +1024,8 @@ interface StepOrderingRuleOptions {
|
|
|
1024
1024
|
* Ordering semantics. `first-occurrence` preserves first-occurrence encounter
|
|
1025
1025
|
* ordering, `happens-before` requires the first before event to finish before
|
|
1026
1026
|
* the first after event starts, and `all-occurrences` applies that causal
|
|
1027
|
-
* boundary to every matching occurrence.
|
|
1027
|
+
* boundary to every matching occurrence. When the boundary timestamps tie at
|
|
1028
|
+
* millisecond resolution, the causal modes decide by recorded event order.
|
|
1028
1029
|
*
|
|
1029
1030
|
* @defaultValue `"first-occurrence"`
|
|
1030
1031
|
*/
|
|
@@ -1055,7 +1056,8 @@ interface ToolOrderingRuleOptions {
|
|
|
1055
1056
|
* Ordering semantics. `first-occurrence` preserves first-occurrence encounter
|
|
1056
1057
|
* ordering, `happens-before` requires the first before event to finish before
|
|
1057
1058
|
* the first after event starts, and `all-occurrences` applies that causal
|
|
1058
|
-
* boundary to every matching occurrence.
|
|
1059
|
+
* boundary to every matching occurrence. When the boundary timestamps tie at
|
|
1060
|
+
* millisecond resolution, the causal modes decide by recorded event order.
|
|
1059
1061
|
*
|
|
1060
1062
|
* @defaultValue `"first-occurrence"`
|
|
1061
1063
|
* @experimental Available through `agent-inspect/checks`.
|
|
@@ -241,6 +241,10 @@ var HIGH_CONFIDENCE_CREDENTIAL_PATTERNS = [
|
|
|
241
241
|
/\b[a-z0-9_.-]+=[^;\s]+(?:;\s*[a-z0-9_.-]+=[^;\s]+)+/i,
|
|
242
242
|
/\beyJ[a-zA-Z0-9_-]{8,}\.[a-zA-Z0-9_-]{8,}\.[a-zA-Z0-9_-]{8,}\b/,
|
|
243
243
|
/\b(?:sk-(?:proj-)?[a-zA-Z0-9_-]{16,}|sk-ant-[a-zA-Z0-9_-]{16,}|AIza[0-9A-Za-z_-]{20,})\b/,
|
|
244
|
+
// Stripe secret / restricted keys use underscores (not sk-). Keep in sync with
|
|
245
|
+
// packages/redact/src/index.ts + packages/core/src/checks DEFAULT_SECRET_PATTERNS (#520).
|
|
246
|
+
/\b(?:sk|rk)_(?:live|test)_[A-Za-z0-9]{16,}\b/,
|
|
247
|
+
/\bxox[abposr]-[A-Za-z0-9-]{10,}\b/,
|
|
244
248
|
/\b(?:ghp|gho|ghu|ghs|ghr)_[A-Za-z0-9_]{20,}\b/,
|
|
245
249
|
/\b(?:AKIA|ASIA)[A-Z0-9]{16}\b/,
|
|
246
250
|
/-----BEGIN [A-Z ]*PRIVATE KEY-----[\s\S]*-----END [A-Z ]*PRIVATE KEY-----/,
|