clinkx 1.0.0 → 1.1.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.
- package/CHANGELOG.md +86 -0
- package/README.md +72 -0
- package/clinkx-workflows/dist/chairman-knobs.d.ts +24 -0
- package/clinkx-workflows/dist/chairman-knobs.js +27 -0
- package/clinkx-workflows/dist/chairman-knobs.js.map +1 -0
- package/clinkx-workflows/dist/clink-client.d.ts +10 -0
- package/clinkx-workflows/dist/clink-client.js +39 -1
- package/clinkx-workflows/dist/clink-client.js.map +1 -1
- package/clinkx-workflows/dist/config.d.ts +29 -1
- package/clinkx-workflows/dist/config.js +35 -2
- package/clinkx-workflows/dist/config.js.map +1 -1
- package/clinkx-workflows/dist/context-preflight.d.ts +5 -0
- package/clinkx-workflows/dist/context-preflight.js.map +1 -1
- package/clinkx-workflows/dist/council-execution-policy.d.ts +68 -0
- package/clinkx-workflows/dist/council-execution-policy.js +110 -0
- package/clinkx-workflows/dist/council-execution-policy.js.map +1 -0
- package/clinkx-workflows/dist/council-expander.d.ts +9 -8
- package/clinkx-workflows/dist/council-expander.js +18 -9
- package/clinkx-workflows/dist/council-expander.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/activity-contract.d.ts +5557 -4
- package/clinkx-workflows/dist/dashboard/activity-contract.js +55 -3
- package/clinkx-workflows/dist/dashboard/activity-contract.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/activity-reader.d.ts +9 -5
- package/clinkx-workflows/dist/dashboard/activity-reader.js +15 -2
- package/clinkx-workflows/dist/dashboard/activity-reader.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/api-routes.d.ts +4 -0
- package/clinkx-workflows/dist/dashboard/api-routes.js +133 -25
- package/clinkx-workflows/dist/dashboard/api-routes.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/context-builder-invocation-contract.d.ts +3865 -0
- package/clinkx-workflows/dist/dashboard/context-builder-invocation-contract.js +69 -0
- package/clinkx-workflows/dist/dashboard/context-builder-invocation-contract.js.map +1 -0
- package/clinkx-workflows/dist/dashboard/context-run-reader.d.ts +36 -2
- package/clinkx-workflows/dist/dashboard/context-run-reader.js +142 -19
- package/clinkx-workflows/dist/dashboard/context-run-reader.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/contracts.d.ts +20027 -480
- package/clinkx-workflows/dist/dashboard/contracts.js +133 -6
- package/clinkx-workflows/dist/dashboard/contracts.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/index.d.ts +4 -0
- package/clinkx-workflows/dist/dashboard/index.js +4 -0
- package/clinkx-workflows/dist/dashboard/index.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/invocation-contract.d.ts +786 -0
- package/clinkx-workflows/dist/dashboard/invocation-contract.js +201 -0
- package/clinkx-workflows/dist/dashboard/invocation-contract.js.map +1 -0
- package/clinkx-workflows/dist/dashboard/lazy-content.d.ts +14 -1
- package/clinkx-workflows/dist/dashboard/lazy-content.js +53 -2
- package/clinkx-workflows/dist/dashboard/lazy-content.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/native-transcript/contract.d.ts +90 -0
- package/clinkx-workflows/dist/dashboard/native-transcript/contract.js +31 -0
- package/clinkx-workflows/dist/dashboard/native-transcript/contract.js.map +1 -0
- package/clinkx-workflows/dist/dashboard/native-transcript/projection.d.ts +12 -0
- package/clinkx-workflows/dist/dashboard/native-transcript/projection.js +286 -0
- package/clinkx-workflows/dist/dashboard/native-transcript/projection.js.map +1 -0
- package/clinkx-workflows/dist/dashboard/progress-report-contract.d.ts +147 -4
- package/clinkx-workflows/dist/dashboard/progress-report-contract.js +11 -11
- package/clinkx-workflows/dist/dashboard/progress-report-contract.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/progress-report-reader.js +4 -56
- package/clinkx-workflows/dist/dashboard/progress-report-reader.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/progress-report-status-store.d.ts +2 -1
- package/clinkx-workflows/dist/dashboard/progress-report-status-store.js +6 -5
- package/clinkx-workflows/dist/dashboard/progress-report-status-store.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/prompt-builder-library-contract.d.ts +194 -0
- package/clinkx-workflows/dist/dashboard/prompt-builder-library-contract.js +89 -0
- package/clinkx-workflows/dist/dashboard/prompt-builder-library-contract.js.map +1 -0
- package/clinkx-workflows/dist/dashboard/prompt-builder-library-store.d.ts +26 -0
- package/clinkx-workflows/dist/dashboard/prompt-builder-library-store.js +102 -0
- package/clinkx-workflows/dist/dashboard/prompt-builder-library-store.js.map +1 -0
- package/clinkx-workflows/dist/dashboard/request-admission.js +4 -0
- package/clinkx-workflows/dist/dashboard/request-admission.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/scanner.d.ts +3 -0
- package/clinkx-workflows/dist/dashboard/scanner.js +52 -8
- package/clinkx-workflows/dist/dashboard/scanner.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/server-factory.d.ts +14 -1
- package/clinkx-workflows/dist/dashboard/server-factory.js +73 -21
- package/clinkx-workflows/dist/dashboard/server-factory.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/session-log-contract.d.ts +223 -56
- package/clinkx-workflows/dist/dashboard/session-log-contract.js +26 -0
- package/clinkx-workflows/dist/dashboard/session-log-contract.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/session-log-journal.js +10 -3
- package/clinkx-workflows/dist/dashboard/session-log-journal.js.map +1 -1
- package/clinkx-workflows/dist/dashboard/session-log-redaction.d.ts +9 -1
- package/clinkx-workflows/dist/dashboard/session-log-redaction.js +793 -59
- package/clinkx-workflows/dist/dashboard/session-log-redaction.js.map +1 -1
- package/clinkx-workflows/dist/dashboard-ui/assets/index-JPHQVtn9.js +106 -0
- package/clinkx-workflows/dist/dashboard-ui/assets/style-DOMHk-j6.css +1 -0
- package/clinkx-workflows/dist/dashboard-ui/index.html +2 -2
- package/clinkx-workflows/dist/delegate-finalizer-policy.d.ts +26 -0
- package/clinkx-workflows/dist/delegate-finalizer-policy.js +72 -0
- package/clinkx-workflows/dist/delegate-finalizer-policy.js.map +1 -0
- package/clinkx-workflows/dist/delegate-signature.d.ts +14 -0
- package/clinkx-workflows/dist/delegate-signature.js +14 -0
- package/clinkx-workflows/dist/delegate-signature.js.map +1 -0
- package/clinkx-workflows/dist/delegate-validate.d.ts +32 -2
- package/clinkx-workflows/dist/delegate-validate.js +51 -0
- package/clinkx-workflows/dist/delegate-validate.js.map +1 -1
- package/clinkx-workflows/dist/engine.d.ts +113 -3
- package/clinkx-workflows/dist/engine.js +476 -80
- package/clinkx-workflows/dist/engine.js.map +1 -1
- package/clinkx-workflows/dist/errors.d.ts +22 -2
- package/clinkx-workflows/dist/errors.js +30 -2
- package/clinkx-workflows/dist/errors.js.map +1 -1
- package/clinkx-workflows/dist/fidelity.d.ts +47 -1
- package/clinkx-workflows/dist/fidelity.js +54 -1
- package/clinkx-workflows/dist/fidelity.js.map +1 -1
- package/clinkx-workflows/dist/fingerprint.d.ts +24 -6
- package/clinkx-workflows/dist/fingerprint.js +32 -9
- package/clinkx-workflows/dist/fingerprint.js.map +1 -1
- package/clinkx-workflows/dist/index.js +53 -1
- package/clinkx-workflows/dist/index.js.map +1 -1
- package/clinkx-workflows/dist/logger.d.ts +1 -1
- package/clinkx-workflows/dist/logger.js +17 -3
- package/clinkx-workflows/dist/logger.js.map +1 -1
- package/clinkx-workflows/dist/monotonic-clock.d.ts +19 -0
- package/clinkx-workflows/dist/monotonic-clock.js +22 -0
- package/clinkx-workflows/dist/monotonic-clock.js.map +1 -0
- package/clinkx-workflows/dist/plan-review/contract.d.ts +52 -52
- package/clinkx-workflows/dist/plan-review/publication.d.ts +4 -4
- package/clinkx-workflows/dist/plan-review/run-state.d.ts +16 -16
- package/clinkx-workflows/dist/roster-contract.d.ts +889 -0
- package/clinkx-workflows/dist/roster-contract.js +180 -0
- package/clinkx-workflows/dist/roster-contract.js.map +1 -0
- package/clinkx-workflows/dist/rosters.d.ts +14 -0
- package/clinkx-workflows/dist/rosters.js +169 -0
- package/clinkx-workflows/dist/rosters.js.map +1 -0
- package/clinkx-workflows/dist/run-health.d.ts +7 -0
- package/clinkx-workflows/dist/run-health.js +25 -0
- package/clinkx-workflows/dist/run-health.js.map +1 -0
- package/clinkx-workflows/dist/schema.d.ts +64 -0
- package/clinkx-workflows/dist/schema.js +24 -0
- package/clinkx-workflows/dist/schema.js.map +1 -1
- package/clinkx-workflows/dist/server.js +2 -0
- package/clinkx-workflows/dist/server.js.map +1 -1
- package/clinkx-workflows/dist/shutdown.d.ts +15 -2
- package/clinkx-workflows/dist/shutdown.js +60 -16
- package/clinkx-workflows/dist/shutdown.js.map +1 -1
- package/clinkx-workflows/dist/state-schema.d.ts +23 -0
- package/clinkx-workflows/dist/state.d.ts +5 -0
- package/clinkx-workflows/dist/state.js +128 -21
- package/clinkx-workflows/dist/state.js.map +1 -1
- package/clinkx-workflows/dist/stdio-watchdog.d.ts +52 -0
- package/clinkx-workflows/dist/stdio-watchdog.js +212 -0
- package/clinkx-workflows/dist/stdio-watchdog.js.map +1 -0
- package/clinkx-workflows/dist/types.d.ts +6 -0
- package/clinkx-workflows/dist/validators/council.d.ts +50 -50
- package/clinkx-workflows/dist/validators/plan-review.d.ts +3 -3
- package/clinkx-workflows/dist/workflow-tools.d.ts +70 -0
- package/clinkx-workflows/dist/workflow-tools.js +760 -168
- package/clinkx-workflows/dist/workflow-tools.js.map +1 -1
- package/clinkx-workflows/templates/council/answer-chairman.txt +3 -0
- package/clinkx-workflows/templates/council/answer-cross-reviewer.txt +3 -0
- package/clinkx-workflows/templates/council/answer-specialist.txt +3 -0
- package/clinkx-workflows/templates/council/chairman.txt +3 -0
- package/clinkx-workflows/templates/council/code-review-chairman.txt +3 -0
- package/clinkx-workflows/templates/council/code-review-cross-reviewer.txt +3 -0
- package/clinkx-workflows/templates/council/code-review-reviewer.txt +3 -0
- package/clinkx-workflows/templates/council/debug-chairman.txt +3 -0
- package/clinkx-workflows/templates/council/debug-cross-reviewer.txt +3 -0
- package/clinkx-workflows/templates/council/debug-debugger.txt +3 -0
- package/clinkx-workflows/templates/council/discover-analyst.txt +3 -0
- package/clinkx-workflows/templates/council/discover-chairman.txt +3 -0
- package/clinkx-workflows/templates/council/discover-cross-reviewer.txt +3 -0
- package/clinkx-workflows/templates/council/member.txt +3 -0
- package/clinkx-workflows/templates/council/plan-review-chairman.txt +3 -0
- package/clinkx-workflows/templates/council/plan-review-cross-reviewer.txt +3 -0
- package/clinkx-workflows/templates/council/plan-review-reviewer.txt +3 -0
- package/clinkx-workflows/templates/council/reviewer.txt +3 -0
- package/clinkx-workflows/workflows/council-answer.yaml +3 -0
- package/clinkx-workflows/workflows/council-code-review.yaml +3 -0
- package/clinkx-workflows/workflows/council-debug.yaml +3 -0
- package/clinkx-workflows/workflows/council-default.yaml +7 -0
- package/clinkx-workflows/workflows/council-discover.yaml +3 -0
- package/clinkx-workflows/workflows/council-plan-review.yaml +3 -0
- package/conf/adapters/agy.json +9 -2
- package/conf/adapters/claude.json +7 -0
- package/conf/adapters/codex.json +7 -0
- package/conf/adapters/glm.json +19 -3
- package/conf/adapters/grok.json +9 -2
- package/conf/adapters/hapi/agy.json +9 -2
- package/conf/adapters/hapi/claude.json +7 -0
- package/conf/adapters/hapi/codex.json +7 -0
- package/conf/adapters/hapi/glm.json +20 -4
- package/conf/rosters/default-council.json +21 -0
- package/dist/activity-journal.d.ts +17 -3
- package/dist/activity-journal.js +404 -79
- package/dist/activity-journal.js.map +1 -1
- package/dist/codex/agent-tools.js +36 -0
- package/dist/codex/agent-tools.js.map +1 -1
- package/dist/codex/app-server-client.d.ts +3 -0
- package/dist/codex/app-server-client.js +11 -0
- package/dist/codex/app-server-client.js.map +1 -1
- package/dist/codex/app-server-registry.d.ts +18 -0
- package/dist/codex/app-server-registry.js +88 -2
- package/dist/codex/app-server-registry.js.map +1 -1
- package/dist/codex/client-types.d.ts +7 -1
- package/dist/codex/protocol.d.ts +4 -4
- package/dist/config.d.ts +220 -23
- package/dist/config.js +104 -1
- package/dist/config.js.map +1 -1
- package/dist/context-builder/bundle.d.ts +13 -0
- package/dist/context-builder/bundle.js +46 -0
- package/dist/context-builder/bundle.js.map +1 -1
- package/dist/context-builder/delegate-finalizer-effective.d.ts +33 -0
- package/dist/context-builder/delegate-finalizer-effective.js +82 -0
- package/dist/context-builder/delegate-finalizer-effective.js.map +1 -0
- package/dist/context-builder/delegate-packet.d.ts +18 -0
- package/dist/context-builder/delegate-packet.js +73 -9
- package/dist/context-builder/delegate-packet.js.map +1 -1
- package/dist/context-builder/delegate-reconstruction.d.ts +29 -0
- package/dist/context-builder/delegate-reconstruction.js +110 -41
- package/dist/context-builder/delegate-reconstruction.js.map +1 -1
- package/dist/context-builder/delegate-validation.d.ts +31 -0
- package/dist/context-builder/delegate-validation.js +87 -10
- package/dist/context-builder/delegate-validation.js.map +1 -1
- package/dist/context-builder/delegate.d.ts +9 -0
- package/dist/context-builder/delegate.js +210 -59
- package/dist/context-builder/delegate.js.map +1 -1
- package/dist/context-builder/diagnostics.d.ts +1 -1
- package/dist/context-builder/diagnostics.js.map +1 -1
- package/dist/context-builder/discovery-progress.d.ts +25 -0
- package/dist/context-builder/discovery-progress.js +64 -0
- package/dist/context-builder/discovery-progress.js.map +1 -0
- package/dist/context-builder/discovery-watchdog.d.ts +15 -0
- package/dist/context-builder/discovery-watchdog.js +39 -0
- package/dist/context-builder/discovery-watchdog.js.map +1 -0
- package/dist/context-builder/discovery.d.ts +7 -0
- package/dist/context-builder/discovery.js +119 -7
- package/dist/context-builder/discovery.js.map +1 -1
- package/dist/context-builder/external-gaps.d.ts +73 -0
- package/dist/context-builder/external-gaps.js +248 -0
- package/dist/context-builder/external-gaps.js.map +1 -0
- package/dist/context-builder/globs.d.ts +1 -0
- package/dist/context-builder/globs.js +15 -0
- package/dist/context-builder/globs.js.map +1 -1
- package/dist/context-builder/handler.d.ts +42 -1
- package/dist/context-builder/handler.js +690 -62
- package/dist/context-builder/handler.js.map +1 -1
- package/dist/context-builder/invocation-sidecar.d.ts +41 -0
- package/dist/context-builder/invocation-sidecar.js +189 -0
- package/dist/context-builder/invocation-sidecar.js.map +1 -0
- package/dist/context-builder/lifecycle-contract.d.ts +51 -51
- package/dist/context-builder/mutation-lock.d.ts +32 -0
- package/dist/context-builder/mutation-lock.js +321 -0
- package/dist/context-builder/mutation-lock.js.map +1 -0
- package/dist/context-builder/review-coverage.d.ts +32 -0
- package/dist/context-builder/review-coverage.js +130 -23
- package/dist/context-builder/review-coverage.js.map +1 -1
- package/dist/context-builder/schema.d.ts +76 -1
- package/dist/context-builder/schema.js +21 -1
- package/dist/context-builder/schema.js.map +1 -1
- package/dist/context-builder/secrets.d.ts +31 -0
- package/dist/context-builder/secrets.js +865 -83
- package/dist/context-builder/secrets.js.map +1 -1
- package/dist/context-builder/status.d.ts +1 -1
- package/dist/context-builder/status.js +1 -0
- package/dist/context-builder/status.js.map +1 -1
- package/dist/context-builder/storage.d.ts +29 -5
- package/dist/context-builder/storage.js +311 -236
- package/dist/context-builder/storage.js.map +1 -1
- package/dist/context-builder/versions.d.ts +19 -4
- package/dist/context-builder/versions.js +19 -4
- package/dist/context-builder/versions.js.map +1 -1
- package/dist/context-builder/workflow-runner.d.ts +6 -0
- package/dist/context-builder/workflow-runner.js +363 -173
- package/dist/context-builder/workflow-runner.js.map +1 -1
- package/dist/dashboard-adapter-catalog.js +7 -0
- package/dist/dashboard-adapter-catalog.js.map +1 -1
- package/dist/dashboard-cli.d.ts +2 -0
- package/dist/dashboard-cli.js +40 -2
- package/dist/dashboard-cli.js.map +1 -1
- package/dist/dashboard-companion/client.d.ts +1 -0
- package/dist/dashboard-companion/client.js +22 -3
- package/dist/dashboard-companion/client.js.map +1 -1
- package/dist/dashboard-companion/protocol.js +4 -1
- package/dist/dashboard-companion/protocol.js.map +1 -1
- package/dist/dashboard-gateway/index.d.ts +1 -0
- package/dist/dashboard-gateway/index.js +33 -2
- package/dist/dashboard-gateway/index.js.map +1 -1
- package/dist/handler.js +5 -1
- package/dist/handler.js.map +1 -1
- package/dist/index.d.ts +18 -1
- package/dist/index.js +145 -7
- package/dist/index.js.map +1 -1
- package/dist/logger.d.ts +1 -1
- package/dist/logger.js +18 -3
- package/dist/logger.js.map +1 -1
- package/dist/parsers/agy-stream-json.d.ts +14 -0
- package/dist/parsers/agy-stream-json.js +172 -0
- package/dist/parsers/agy-stream-json.js.map +1 -0
- package/dist/parsers/extract.js +5 -1
- package/dist/parsers/extract.js.map +1 -1
- package/dist/parsers/observed-invocation.d.ts +20 -0
- package/dist/parsers/observed-invocation.js +42 -0
- package/dist/parsers/observed-invocation.js.map +1 -0
- package/dist/pipeline.d.ts +13 -0
- package/dist/pipeline.js +60 -10
- package/dist/pipeline.js.map +1 -1
- package/dist/progress-report/lock.d.ts +74 -0
- package/dist/progress-report/lock.js +343 -0
- package/dist/progress-report/lock.js.map +1 -0
- package/dist/progress-report/schema.d.ts +808 -0
- package/dist/progress-report/schema.js +119 -0
- package/dist/progress-report/schema.js.map +1 -0
- package/dist/progress-report/store.d.ts +66 -0
- package/dist/progress-report/store.js +766 -0
- package/dist/progress-report/store.js.map +1 -0
- package/dist/progress-report/tools.d.ts +20 -0
- package/dist/progress-report/tools.js +141 -0
- package/dist/progress-report/tools.js.map +1 -0
- package/dist/prompt-mode.d.ts +1 -1
- package/dist/prompt-mode.js +7 -2
- package/dist/prompt-mode.js.map +1 -1
- package/dist/runner.d.ts +7 -0
- package/dist/runner.js +10 -3
- package/dist/runner.js.map +1 -1
- package/dist/safety.d.ts +50 -0
- package/dist/safety.js +182 -1
- package/dist/safety.js.map +1 -1
- package/dist/schema.d.ts +8 -0
- package/dist/schema.js +20 -0
- package/dist/schema.js.map +1 -1
- package/dist/server.d.ts +6 -1
- package/dist/server.js +94 -8
- package/dist/server.js.map +1 -1
- package/dist/session-log-stream.d.ts +1 -1
- package/dist/session-log-stream.js +280 -33
- package/dist/session-log-stream.js.map +1 -1
- package/dist/stdio-activity.d.ts +28 -0
- package/dist/stdio-activity.js +72 -0
- package/dist/stdio-activity.js.map +1 -0
- package/package.json +2 -1
- package/clinkx-workflows/dist/dashboard-ui/assets/index-DOkMXTfB.js +0 -25
- package/clinkx-workflows/dist/dashboard-ui/assets/style-ChJsn0KD.css +0 -1
|
@@ -110,35 +110,59 @@ declare const NormalizedEventSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"kind"
|
|
|
110
110
|
kind: z.ZodLiteral<"user">;
|
|
111
111
|
content: z.ZodString;
|
|
112
112
|
}, "strict", z.ZodTypeAny, {
|
|
113
|
-
kind: "user";
|
|
114
113
|
content: string;
|
|
115
|
-
}, {
|
|
116
114
|
kind: "user";
|
|
115
|
+
}, {
|
|
117
116
|
content: string;
|
|
117
|
+
kind: "user";
|
|
118
118
|
}>, z.ZodObject<{
|
|
119
119
|
kind: z.ZodLiteral<"assistant">;
|
|
120
120
|
content: z.ZodString;
|
|
121
121
|
}, "strict", z.ZodTypeAny, {
|
|
122
|
-
kind: "assistant";
|
|
123
122
|
content: string;
|
|
124
|
-
}, {
|
|
125
123
|
kind: "assistant";
|
|
124
|
+
}, {
|
|
126
125
|
content: string;
|
|
126
|
+
kind: "assistant";
|
|
127
127
|
}>, z.ZodObject<{
|
|
128
128
|
kind: z.ZodLiteral<"tool_call">;
|
|
129
129
|
toolName: z.ZodString;
|
|
130
130
|
callId: z.ZodString;
|
|
131
131
|
summary: z.ZodString;
|
|
132
|
+
arguments: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
133
|
+
content: z.ZodEffects<z.ZodString, string, string>;
|
|
134
|
+
omission: z.ZodEnum<["none", "size_limit", "structure_limit", "invalid"]>;
|
|
135
|
+
}, "strict", z.ZodTypeAny, {
|
|
136
|
+
content: string;
|
|
137
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
138
|
+
}, {
|
|
139
|
+
content: string;
|
|
140
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
141
|
+
}>, {
|
|
142
|
+
content: string;
|
|
143
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
144
|
+
}, {
|
|
145
|
+
content: string;
|
|
146
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
147
|
+
}>>;
|
|
132
148
|
}, "strict", z.ZodTypeAny, {
|
|
133
149
|
summary: string;
|
|
134
150
|
kind: "tool_call";
|
|
135
151
|
callId: string;
|
|
136
152
|
toolName: string;
|
|
153
|
+
arguments?: {
|
|
154
|
+
content: string;
|
|
155
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
156
|
+
} | undefined;
|
|
137
157
|
}, {
|
|
138
158
|
summary: string;
|
|
139
159
|
kind: "tool_call";
|
|
140
160
|
callId: string;
|
|
141
161
|
toolName: string;
|
|
162
|
+
arguments?: {
|
|
163
|
+
content: string;
|
|
164
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
165
|
+
} | undefined;
|
|
142
166
|
}>, z.ZodObject<{
|
|
143
167
|
kind: z.ZodLiteral<"tool_result">;
|
|
144
168
|
toolName: z.ZodString;
|
|
@@ -254,16 +278,20 @@ declare const NormalizedEventSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"kind"
|
|
|
254
278
|
originalKind: string;
|
|
255
279
|
forwardCaptured: true;
|
|
256
280
|
}>]>, {
|
|
257
|
-
kind: "user";
|
|
258
281
|
content: string;
|
|
282
|
+
kind: "user";
|
|
259
283
|
} | {
|
|
260
|
-
kind: "assistant";
|
|
261
284
|
content: string;
|
|
285
|
+
kind: "assistant";
|
|
262
286
|
} | {
|
|
263
287
|
summary: string;
|
|
264
288
|
kind: "tool_call";
|
|
265
289
|
callId: string;
|
|
266
290
|
toolName: string;
|
|
291
|
+
arguments?: {
|
|
292
|
+
content: string;
|
|
293
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
294
|
+
} | undefined;
|
|
267
295
|
} | {
|
|
268
296
|
summary: string;
|
|
269
297
|
kind: "tool_result";
|
|
@@ -303,16 +331,20 @@ declare const NormalizedEventSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"kind"
|
|
|
303
331
|
originalKind: string;
|
|
304
332
|
forwardCaptured: true;
|
|
305
333
|
}, {
|
|
306
|
-
kind: "user";
|
|
307
334
|
content: string;
|
|
335
|
+
kind: "user";
|
|
308
336
|
} | {
|
|
309
|
-
kind: "assistant";
|
|
310
337
|
content: string;
|
|
338
|
+
kind: "assistant";
|
|
311
339
|
} | {
|
|
312
340
|
summary: string;
|
|
313
341
|
kind: "tool_call";
|
|
314
342
|
callId: string;
|
|
315
343
|
toolName: string;
|
|
344
|
+
arguments?: {
|
|
345
|
+
content: string;
|
|
346
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
347
|
+
} | undefined;
|
|
316
348
|
} | {
|
|
317
349
|
summary: string;
|
|
318
350
|
kind: "tool_result";
|
|
@@ -475,22 +507,27 @@ declare const SessionLogEventV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
475
507
|
ran: z.ZodLiteral<true>;
|
|
476
508
|
status: z.ZodEnum<["no_matches", "redacted"]>;
|
|
477
509
|
count: z.ZodNumber;
|
|
510
|
+
coverage: z.ZodOptional<z.ZodLiteral<"pattern_best_effort">>;
|
|
478
511
|
}, "strict", z.ZodTypeAny, {
|
|
479
512
|
status: "no_matches" | "redacted";
|
|
480
513
|
ran: true;
|
|
481
514
|
count: number;
|
|
515
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
482
516
|
}, {
|
|
483
517
|
status: "no_matches" | "redacted";
|
|
484
518
|
ran: true;
|
|
485
519
|
count: number;
|
|
520
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
486
521
|
}>, {
|
|
487
522
|
status: "no_matches" | "redacted";
|
|
488
523
|
ran: true;
|
|
489
524
|
count: number;
|
|
525
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
490
526
|
}, {
|
|
491
527
|
status: "no_matches" | "redacted";
|
|
492
528
|
ran: true;
|
|
493
529
|
count: number;
|
|
530
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
494
531
|
}>;
|
|
495
532
|
truncation: z.ZodEnum<["none", "head", "tail", "middle"]>;
|
|
496
533
|
completeness: z.ZodEnum<["complete", "partial", "unknown"]>;
|
|
@@ -499,35 +536,59 @@ declare const SessionLogEventV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
499
536
|
kind: z.ZodLiteral<"user">;
|
|
500
537
|
content: z.ZodString;
|
|
501
538
|
}, "strict", z.ZodTypeAny, {
|
|
502
|
-
kind: "user";
|
|
503
539
|
content: string;
|
|
504
|
-
}, {
|
|
505
540
|
kind: "user";
|
|
541
|
+
}, {
|
|
506
542
|
content: string;
|
|
543
|
+
kind: "user";
|
|
507
544
|
}>, z.ZodObject<{
|
|
508
545
|
kind: z.ZodLiteral<"assistant">;
|
|
509
546
|
content: z.ZodString;
|
|
510
547
|
}, "strict", z.ZodTypeAny, {
|
|
511
|
-
kind: "assistant";
|
|
512
548
|
content: string;
|
|
513
|
-
}, {
|
|
514
549
|
kind: "assistant";
|
|
550
|
+
}, {
|
|
515
551
|
content: string;
|
|
552
|
+
kind: "assistant";
|
|
516
553
|
}>, z.ZodObject<{
|
|
517
554
|
kind: z.ZodLiteral<"tool_call">;
|
|
518
555
|
toolName: z.ZodString;
|
|
519
556
|
callId: z.ZodString;
|
|
520
557
|
summary: z.ZodString;
|
|
558
|
+
arguments: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
559
|
+
content: z.ZodEffects<z.ZodString, string, string>;
|
|
560
|
+
omission: z.ZodEnum<["none", "size_limit", "structure_limit", "invalid"]>;
|
|
561
|
+
}, "strict", z.ZodTypeAny, {
|
|
562
|
+
content: string;
|
|
563
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
564
|
+
}, {
|
|
565
|
+
content: string;
|
|
566
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
567
|
+
}>, {
|
|
568
|
+
content: string;
|
|
569
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
570
|
+
}, {
|
|
571
|
+
content: string;
|
|
572
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
573
|
+
}>>;
|
|
521
574
|
}, "strict", z.ZodTypeAny, {
|
|
522
575
|
summary: string;
|
|
523
576
|
kind: "tool_call";
|
|
524
577
|
callId: string;
|
|
525
578
|
toolName: string;
|
|
579
|
+
arguments?: {
|
|
580
|
+
content: string;
|
|
581
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
582
|
+
} | undefined;
|
|
526
583
|
}, {
|
|
527
584
|
summary: string;
|
|
528
585
|
kind: "tool_call";
|
|
529
586
|
callId: string;
|
|
530
587
|
toolName: string;
|
|
588
|
+
arguments?: {
|
|
589
|
+
content: string;
|
|
590
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
591
|
+
} | undefined;
|
|
531
592
|
}>, z.ZodObject<{
|
|
532
593
|
kind: z.ZodLiteral<"tool_result">;
|
|
533
594
|
toolName: z.ZodString;
|
|
@@ -643,16 +704,20 @@ declare const SessionLogEventV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
643
704
|
originalKind: string;
|
|
644
705
|
forwardCaptured: true;
|
|
645
706
|
}>]>, {
|
|
646
|
-
kind: "user";
|
|
647
707
|
content: string;
|
|
708
|
+
kind: "user";
|
|
648
709
|
} | {
|
|
649
|
-
kind: "assistant";
|
|
650
710
|
content: string;
|
|
711
|
+
kind: "assistant";
|
|
651
712
|
} | {
|
|
652
713
|
summary: string;
|
|
653
714
|
kind: "tool_call";
|
|
654
715
|
callId: string;
|
|
655
716
|
toolName: string;
|
|
717
|
+
arguments?: {
|
|
718
|
+
content: string;
|
|
719
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
720
|
+
} | undefined;
|
|
656
721
|
} | {
|
|
657
722
|
summary: string;
|
|
658
723
|
kind: "tool_result";
|
|
@@ -692,16 +757,20 @@ declare const SessionLogEventV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
692
757
|
originalKind: string;
|
|
693
758
|
forwardCaptured: true;
|
|
694
759
|
}, {
|
|
695
|
-
kind: "user";
|
|
696
760
|
content: string;
|
|
761
|
+
kind: "user";
|
|
697
762
|
} | {
|
|
698
|
-
kind: "assistant";
|
|
699
763
|
content: string;
|
|
764
|
+
kind: "assistant";
|
|
700
765
|
} | {
|
|
701
766
|
summary: string;
|
|
702
767
|
kind: "tool_call";
|
|
703
768
|
callId: string;
|
|
704
769
|
toolName: string;
|
|
770
|
+
arguments?: {
|
|
771
|
+
content: string;
|
|
772
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
773
|
+
} | undefined;
|
|
705
774
|
} | {
|
|
706
775
|
summary: string;
|
|
707
776
|
kind: "tool_result";
|
|
@@ -777,20 +846,25 @@ declare const SessionLogEventV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
777
846
|
status: "no_matches" | "redacted";
|
|
778
847
|
ran: true;
|
|
779
848
|
count: number;
|
|
849
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
780
850
|
};
|
|
781
851
|
truncation: "none" | "head" | "tail" | "middle";
|
|
782
852
|
parseWarnings: ("unknown_event_type" | "provider_payload_omitted" | "malformed_field_omitted" | "unsupported_field_omitted" | "content_truncated" | "corrupt_capture")[];
|
|
783
853
|
event: {
|
|
784
|
-
kind: "user";
|
|
785
854
|
content: string;
|
|
855
|
+
kind: "user";
|
|
786
856
|
} | {
|
|
787
|
-
kind: "assistant";
|
|
788
857
|
content: string;
|
|
858
|
+
kind: "assistant";
|
|
789
859
|
} | {
|
|
790
860
|
summary: string;
|
|
791
861
|
kind: "tool_call";
|
|
792
862
|
callId: string;
|
|
793
863
|
toolName: string;
|
|
864
|
+
arguments?: {
|
|
865
|
+
content: string;
|
|
866
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
867
|
+
} | undefined;
|
|
794
868
|
} | {
|
|
795
869
|
summary: string;
|
|
796
870
|
kind: "tool_result";
|
|
@@ -866,20 +940,25 @@ declare const SessionLogEventV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
866
940
|
status: "no_matches" | "redacted";
|
|
867
941
|
ran: true;
|
|
868
942
|
count: number;
|
|
943
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
869
944
|
};
|
|
870
945
|
truncation: "none" | "head" | "tail" | "middle";
|
|
871
946
|
parseWarnings: ("unknown_event_type" | "provider_payload_omitted" | "malformed_field_omitted" | "unsupported_field_omitted" | "content_truncated" | "corrupt_capture")[];
|
|
872
947
|
event: {
|
|
873
|
-
kind: "user";
|
|
874
948
|
content: string;
|
|
949
|
+
kind: "user";
|
|
875
950
|
} | {
|
|
876
|
-
kind: "assistant";
|
|
877
951
|
content: string;
|
|
952
|
+
kind: "assistant";
|
|
878
953
|
} | {
|
|
879
954
|
summary: string;
|
|
880
955
|
kind: "tool_call";
|
|
881
956
|
callId: string;
|
|
882
957
|
toolName: string;
|
|
958
|
+
arguments?: {
|
|
959
|
+
content: string;
|
|
960
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
961
|
+
} | undefined;
|
|
883
962
|
} | {
|
|
884
963
|
summary: string;
|
|
885
964
|
kind: "tool_result";
|
|
@@ -955,20 +1034,25 @@ declare const SessionLogEventV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
955
1034
|
status: "no_matches" | "redacted";
|
|
956
1035
|
ran: true;
|
|
957
1036
|
count: number;
|
|
1037
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
958
1038
|
};
|
|
959
1039
|
truncation: "none" | "head" | "tail" | "middle";
|
|
960
1040
|
parseWarnings: ("unknown_event_type" | "provider_payload_omitted" | "malformed_field_omitted" | "unsupported_field_omitted" | "content_truncated" | "corrupt_capture")[];
|
|
961
1041
|
event: {
|
|
962
|
-
kind: "user";
|
|
963
1042
|
content: string;
|
|
1043
|
+
kind: "user";
|
|
964
1044
|
} | {
|
|
965
|
-
kind: "assistant";
|
|
966
1045
|
content: string;
|
|
1046
|
+
kind: "assistant";
|
|
967
1047
|
} | {
|
|
968
1048
|
summary: string;
|
|
969
1049
|
kind: "tool_call";
|
|
970
1050
|
callId: string;
|
|
971
1051
|
toolName: string;
|
|
1052
|
+
arguments?: {
|
|
1053
|
+
content: string;
|
|
1054
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
1055
|
+
} | undefined;
|
|
972
1056
|
} | {
|
|
973
1057
|
summary: string;
|
|
974
1058
|
kind: "tool_result";
|
|
@@ -1044,20 +1128,25 @@ declare const SessionLogEventV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
1044
1128
|
status: "no_matches" | "redacted";
|
|
1045
1129
|
ran: true;
|
|
1046
1130
|
count: number;
|
|
1131
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
1047
1132
|
};
|
|
1048
1133
|
truncation: "none" | "head" | "tail" | "middle";
|
|
1049
1134
|
parseWarnings: ("unknown_event_type" | "provider_payload_omitted" | "malformed_field_omitted" | "unsupported_field_omitted" | "content_truncated" | "corrupt_capture")[];
|
|
1050
1135
|
event: {
|
|
1051
|
-
kind: "user";
|
|
1052
1136
|
content: string;
|
|
1137
|
+
kind: "user";
|
|
1053
1138
|
} | {
|
|
1054
|
-
kind: "assistant";
|
|
1055
1139
|
content: string;
|
|
1140
|
+
kind: "assistant";
|
|
1056
1141
|
} | {
|
|
1057
1142
|
summary: string;
|
|
1058
1143
|
kind: "tool_call";
|
|
1059
1144
|
callId: string;
|
|
1060
1145
|
toolName: string;
|
|
1146
|
+
arguments?: {
|
|
1147
|
+
content: string;
|
|
1148
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
1149
|
+
} | undefined;
|
|
1061
1150
|
} | {
|
|
1062
1151
|
summary: string;
|
|
1063
1152
|
kind: "tool_result";
|
|
@@ -1135,10 +1224,10 @@ declare const AvailabilitySchema: z.ZodDiscriminatedUnion<"availability", [z.Zod
|
|
|
1135
1224
|
availability: z.ZodLiteral<"pruned">;
|
|
1136
1225
|
reason: z.ZodEnum<["retention_limit", "age_limit", "size_limit", "event_limit", "operator_request"]>;
|
|
1137
1226
|
}, "strict", z.ZodTypeAny, {
|
|
1138
|
-
reason: "
|
|
1227
|
+
reason: "size_limit" | "retention_limit" | "age_limit" | "event_limit" | "operator_request";
|
|
1139
1228
|
availability: "pruned";
|
|
1140
1229
|
}, {
|
|
1141
|
-
reason: "
|
|
1230
|
+
reason: "size_limit" | "retention_limit" | "age_limit" | "event_limit" | "operator_request";
|
|
1142
1231
|
availability: "pruned";
|
|
1143
1232
|
}>]>;
|
|
1144
1233
|
declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
@@ -1293,10 +1382,10 @@ declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
1293
1382
|
availability: z.ZodLiteral<"pruned">;
|
|
1294
1383
|
reason: z.ZodEnum<["retention_limit", "age_limit", "size_limit", "event_limit", "operator_request"]>;
|
|
1295
1384
|
}, "strict", z.ZodTypeAny, {
|
|
1296
|
-
reason: "
|
|
1385
|
+
reason: "size_limit" | "retention_limit" | "age_limit" | "event_limit" | "operator_request";
|
|
1297
1386
|
availability: "pruned";
|
|
1298
1387
|
}, {
|
|
1299
|
-
reason: "
|
|
1388
|
+
reason: "size_limit" | "retention_limit" | "age_limit" | "event_limit" | "operator_request";
|
|
1300
1389
|
availability: "pruned";
|
|
1301
1390
|
}>]>;
|
|
1302
1391
|
requestedSequence: z.ZodNumber;
|
|
@@ -1426,22 +1515,27 @@ declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
1426
1515
|
ran: z.ZodLiteral<true>;
|
|
1427
1516
|
status: z.ZodEnum<["no_matches", "redacted"]>;
|
|
1428
1517
|
count: z.ZodNumber;
|
|
1518
|
+
coverage: z.ZodOptional<z.ZodLiteral<"pattern_best_effort">>;
|
|
1429
1519
|
}, "strict", z.ZodTypeAny, {
|
|
1430
1520
|
status: "no_matches" | "redacted";
|
|
1431
1521
|
ran: true;
|
|
1432
1522
|
count: number;
|
|
1523
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
1433
1524
|
}, {
|
|
1434
1525
|
status: "no_matches" | "redacted";
|
|
1435
1526
|
ran: true;
|
|
1436
1527
|
count: number;
|
|
1528
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
1437
1529
|
}>, {
|
|
1438
1530
|
status: "no_matches" | "redacted";
|
|
1439
1531
|
ran: true;
|
|
1440
1532
|
count: number;
|
|
1533
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
1441
1534
|
}, {
|
|
1442
1535
|
status: "no_matches" | "redacted";
|
|
1443
1536
|
ran: true;
|
|
1444
1537
|
count: number;
|
|
1538
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
1445
1539
|
}>;
|
|
1446
1540
|
truncation: z.ZodEnum<["none", "head", "tail", "middle"]>;
|
|
1447
1541
|
completeness: z.ZodEnum<["complete", "partial", "unknown"]>;
|
|
@@ -1450,35 +1544,59 @@ declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
1450
1544
|
kind: z.ZodLiteral<"user">;
|
|
1451
1545
|
content: z.ZodString;
|
|
1452
1546
|
}, "strict", z.ZodTypeAny, {
|
|
1453
|
-
kind: "user";
|
|
1454
1547
|
content: string;
|
|
1455
|
-
}, {
|
|
1456
1548
|
kind: "user";
|
|
1549
|
+
}, {
|
|
1457
1550
|
content: string;
|
|
1551
|
+
kind: "user";
|
|
1458
1552
|
}>, z.ZodObject<{
|
|
1459
1553
|
kind: z.ZodLiteral<"assistant">;
|
|
1460
1554
|
content: z.ZodString;
|
|
1461
1555
|
}, "strict", z.ZodTypeAny, {
|
|
1462
|
-
kind: "assistant";
|
|
1463
1556
|
content: string;
|
|
1464
|
-
}, {
|
|
1465
1557
|
kind: "assistant";
|
|
1558
|
+
}, {
|
|
1466
1559
|
content: string;
|
|
1560
|
+
kind: "assistant";
|
|
1467
1561
|
}>, z.ZodObject<{
|
|
1468
1562
|
kind: z.ZodLiteral<"tool_call">;
|
|
1469
1563
|
toolName: z.ZodString;
|
|
1470
1564
|
callId: z.ZodString;
|
|
1471
1565
|
summary: z.ZodString;
|
|
1566
|
+
arguments: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1567
|
+
content: z.ZodEffects<z.ZodString, string, string>;
|
|
1568
|
+
omission: z.ZodEnum<["none", "size_limit", "structure_limit", "invalid"]>;
|
|
1569
|
+
}, "strict", z.ZodTypeAny, {
|
|
1570
|
+
content: string;
|
|
1571
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
1572
|
+
}, {
|
|
1573
|
+
content: string;
|
|
1574
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
1575
|
+
}>, {
|
|
1576
|
+
content: string;
|
|
1577
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
1578
|
+
}, {
|
|
1579
|
+
content: string;
|
|
1580
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
1581
|
+
}>>;
|
|
1472
1582
|
}, "strict", z.ZodTypeAny, {
|
|
1473
1583
|
summary: string;
|
|
1474
1584
|
kind: "tool_call";
|
|
1475
1585
|
callId: string;
|
|
1476
1586
|
toolName: string;
|
|
1587
|
+
arguments?: {
|
|
1588
|
+
content: string;
|
|
1589
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
1590
|
+
} | undefined;
|
|
1477
1591
|
}, {
|
|
1478
1592
|
summary: string;
|
|
1479
1593
|
kind: "tool_call";
|
|
1480
1594
|
callId: string;
|
|
1481
1595
|
toolName: string;
|
|
1596
|
+
arguments?: {
|
|
1597
|
+
content: string;
|
|
1598
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
1599
|
+
} | undefined;
|
|
1482
1600
|
}>, z.ZodObject<{
|
|
1483
1601
|
kind: z.ZodLiteral<"tool_result">;
|
|
1484
1602
|
toolName: z.ZodString;
|
|
@@ -1594,16 +1712,20 @@ declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
1594
1712
|
originalKind: string;
|
|
1595
1713
|
forwardCaptured: true;
|
|
1596
1714
|
}>]>, {
|
|
1597
|
-
kind: "user";
|
|
1598
1715
|
content: string;
|
|
1716
|
+
kind: "user";
|
|
1599
1717
|
} | {
|
|
1600
|
-
kind: "assistant";
|
|
1601
1718
|
content: string;
|
|
1719
|
+
kind: "assistant";
|
|
1602
1720
|
} | {
|
|
1603
1721
|
summary: string;
|
|
1604
1722
|
kind: "tool_call";
|
|
1605
1723
|
callId: string;
|
|
1606
1724
|
toolName: string;
|
|
1725
|
+
arguments?: {
|
|
1726
|
+
content: string;
|
|
1727
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
1728
|
+
} | undefined;
|
|
1607
1729
|
} | {
|
|
1608
1730
|
summary: string;
|
|
1609
1731
|
kind: "tool_result";
|
|
@@ -1643,16 +1765,20 @@ declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
1643
1765
|
originalKind: string;
|
|
1644
1766
|
forwardCaptured: true;
|
|
1645
1767
|
}, {
|
|
1646
|
-
kind: "user";
|
|
1647
1768
|
content: string;
|
|
1769
|
+
kind: "user";
|
|
1648
1770
|
} | {
|
|
1649
|
-
kind: "assistant";
|
|
1650
1771
|
content: string;
|
|
1772
|
+
kind: "assistant";
|
|
1651
1773
|
} | {
|
|
1652
1774
|
summary: string;
|
|
1653
1775
|
kind: "tool_call";
|
|
1654
1776
|
callId: string;
|
|
1655
1777
|
toolName: string;
|
|
1778
|
+
arguments?: {
|
|
1779
|
+
content: string;
|
|
1780
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
1781
|
+
} | undefined;
|
|
1656
1782
|
} | {
|
|
1657
1783
|
summary: string;
|
|
1658
1784
|
kind: "tool_result";
|
|
@@ -1728,20 +1854,25 @@ declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
1728
1854
|
status: "no_matches" | "redacted";
|
|
1729
1855
|
ran: true;
|
|
1730
1856
|
count: number;
|
|
1857
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
1731
1858
|
};
|
|
1732
1859
|
truncation: "none" | "head" | "tail" | "middle";
|
|
1733
1860
|
parseWarnings: ("unknown_event_type" | "provider_payload_omitted" | "malformed_field_omitted" | "unsupported_field_omitted" | "content_truncated" | "corrupt_capture")[];
|
|
1734
1861
|
event: {
|
|
1735
|
-
kind: "user";
|
|
1736
1862
|
content: string;
|
|
1863
|
+
kind: "user";
|
|
1737
1864
|
} | {
|
|
1738
|
-
kind: "assistant";
|
|
1739
1865
|
content: string;
|
|
1866
|
+
kind: "assistant";
|
|
1740
1867
|
} | {
|
|
1741
1868
|
summary: string;
|
|
1742
1869
|
kind: "tool_call";
|
|
1743
1870
|
callId: string;
|
|
1744
1871
|
toolName: string;
|
|
1872
|
+
arguments?: {
|
|
1873
|
+
content: string;
|
|
1874
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
1875
|
+
} | undefined;
|
|
1745
1876
|
} | {
|
|
1746
1877
|
summary: string;
|
|
1747
1878
|
kind: "tool_result";
|
|
@@ -1817,20 +1948,25 @@ declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
1817
1948
|
status: "no_matches" | "redacted";
|
|
1818
1949
|
ran: true;
|
|
1819
1950
|
count: number;
|
|
1951
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
1820
1952
|
};
|
|
1821
1953
|
truncation: "none" | "head" | "tail" | "middle";
|
|
1822
1954
|
parseWarnings: ("unknown_event_type" | "provider_payload_omitted" | "malformed_field_omitted" | "unsupported_field_omitted" | "content_truncated" | "corrupt_capture")[];
|
|
1823
1955
|
event: {
|
|
1824
|
-
kind: "user";
|
|
1825
1956
|
content: string;
|
|
1957
|
+
kind: "user";
|
|
1826
1958
|
} | {
|
|
1827
|
-
kind: "assistant";
|
|
1828
1959
|
content: string;
|
|
1960
|
+
kind: "assistant";
|
|
1829
1961
|
} | {
|
|
1830
1962
|
summary: string;
|
|
1831
1963
|
kind: "tool_call";
|
|
1832
1964
|
callId: string;
|
|
1833
1965
|
toolName: string;
|
|
1966
|
+
arguments?: {
|
|
1967
|
+
content: string;
|
|
1968
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
1969
|
+
} | undefined;
|
|
1834
1970
|
} | {
|
|
1835
1971
|
summary: string;
|
|
1836
1972
|
kind: "tool_result";
|
|
@@ -1906,20 +2042,25 @@ declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
1906
2042
|
status: "no_matches" | "redacted";
|
|
1907
2043
|
ran: true;
|
|
1908
2044
|
count: number;
|
|
2045
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
1909
2046
|
};
|
|
1910
2047
|
truncation: "none" | "head" | "tail" | "middle";
|
|
1911
2048
|
parseWarnings: ("unknown_event_type" | "provider_payload_omitted" | "malformed_field_omitted" | "unsupported_field_omitted" | "content_truncated" | "corrupt_capture")[];
|
|
1912
2049
|
event: {
|
|
1913
|
-
kind: "user";
|
|
1914
2050
|
content: string;
|
|
2051
|
+
kind: "user";
|
|
1915
2052
|
} | {
|
|
1916
|
-
kind: "assistant";
|
|
1917
2053
|
content: string;
|
|
2054
|
+
kind: "assistant";
|
|
1918
2055
|
} | {
|
|
1919
2056
|
summary: string;
|
|
1920
2057
|
kind: "tool_call";
|
|
1921
2058
|
callId: string;
|
|
1922
2059
|
toolName: string;
|
|
2060
|
+
arguments?: {
|
|
2061
|
+
content: string;
|
|
2062
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
2063
|
+
} | undefined;
|
|
1923
2064
|
} | {
|
|
1924
2065
|
summary: string;
|
|
1925
2066
|
kind: "tool_result";
|
|
@@ -1995,20 +2136,25 @@ declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
1995
2136
|
status: "no_matches" | "redacted";
|
|
1996
2137
|
ran: true;
|
|
1997
2138
|
count: number;
|
|
2139
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
1998
2140
|
};
|
|
1999
2141
|
truncation: "none" | "head" | "tail" | "middle";
|
|
2000
2142
|
parseWarnings: ("unknown_event_type" | "provider_payload_omitted" | "malformed_field_omitted" | "unsupported_field_omitted" | "content_truncated" | "corrupt_capture")[];
|
|
2001
2143
|
event: {
|
|
2002
|
-
kind: "user";
|
|
2003
2144
|
content: string;
|
|
2145
|
+
kind: "user";
|
|
2004
2146
|
} | {
|
|
2005
|
-
kind: "assistant";
|
|
2006
2147
|
content: string;
|
|
2148
|
+
kind: "assistant";
|
|
2007
2149
|
} | {
|
|
2008
2150
|
summary: string;
|
|
2009
2151
|
kind: "tool_call";
|
|
2010
2152
|
callId: string;
|
|
2011
2153
|
toolName: string;
|
|
2154
|
+
arguments?: {
|
|
2155
|
+
content: string;
|
|
2156
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
2157
|
+
} | undefined;
|
|
2012
2158
|
} | {
|
|
2013
2159
|
summary: string;
|
|
2014
2160
|
kind: "tool_result";
|
|
@@ -2089,7 +2235,7 @@ declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2089
2235
|
reason: "disabled" | "skipped" | "not_requested" | "cancelled_before_start";
|
|
2090
2236
|
availability: "not_executed";
|
|
2091
2237
|
} | {
|
|
2092
|
-
reason: "
|
|
2238
|
+
reason: "size_limit" | "retention_limit" | "age_limit" | "event_limit" | "operator_request";
|
|
2093
2239
|
availability: "pruned";
|
|
2094
2240
|
};
|
|
2095
2241
|
requestedSequence: number;
|
|
@@ -2131,20 +2277,25 @@ declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2131
2277
|
status: "no_matches" | "redacted";
|
|
2132
2278
|
ran: true;
|
|
2133
2279
|
count: number;
|
|
2280
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
2134
2281
|
};
|
|
2135
2282
|
truncation: "none" | "head" | "tail" | "middle";
|
|
2136
2283
|
parseWarnings: ("unknown_event_type" | "provider_payload_omitted" | "malformed_field_omitted" | "unsupported_field_omitted" | "content_truncated" | "corrupt_capture")[];
|
|
2137
2284
|
event: {
|
|
2138
|
-
kind: "user";
|
|
2139
2285
|
content: string;
|
|
2286
|
+
kind: "user";
|
|
2140
2287
|
} | {
|
|
2141
|
-
kind: "assistant";
|
|
2142
2288
|
content: string;
|
|
2289
|
+
kind: "assistant";
|
|
2143
2290
|
} | {
|
|
2144
2291
|
summary: string;
|
|
2145
2292
|
kind: "tool_call";
|
|
2146
2293
|
callId: string;
|
|
2147
2294
|
toolName: string;
|
|
2295
|
+
arguments?: {
|
|
2296
|
+
content: string;
|
|
2297
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
2298
|
+
} | undefined;
|
|
2148
2299
|
} | {
|
|
2149
2300
|
summary: string;
|
|
2150
2301
|
kind: "tool_result";
|
|
@@ -2225,7 +2376,7 @@ declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2225
2376
|
reason: "disabled" | "skipped" | "not_requested" | "cancelled_before_start";
|
|
2226
2377
|
availability: "not_executed";
|
|
2227
2378
|
} | {
|
|
2228
|
-
reason: "
|
|
2379
|
+
reason: "size_limit" | "retention_limit" | "age_limit" | "event_limit" | "operator_request";
|
|
2229
2380
|
availability: "pruned";
|
|
2230
2381
|
};
|
|
2231
2382
|
requestedSequence: number;
|
|
@@ -2267,20 +2418,25 @@ declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2267
2418
|
status: "no_matches" | "redacted";
|
|
2268
2419
|
ran: true;
|
|
2269
2420
|
count: number;
|
|
2421
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
2270
2422
|
};
|
|
2271
2423
|
truncation: "none" | "head" | "tail" | "middle";
|
|
2272
2424
|
parseWarnings: ("unknown_event_type" | "provider_payload_omitted" | "malformed_field_omitted" | "unsupported_field_omitted" | "content_truncated" | "corrupt_capture")[];
|
|
2273
2425
|
event: {
|
|
2274
|
-
kind: "user";
|
|
2275
2426
|
content: string;
|
|
2427
|
+
kind: "user";
|
|
2276
2428
|
} | {
|
|
2277
|
-
kind: "assistant";
|
|
2278
2429
|
content: string;
|
|
2430
|
+
kind: "assistant";
|
|
2279
2431
|
} | {
|
|
2280
2432
|
summary: string;
|
|
2281
2433
|
kind: "tool_call";
|
|
2282
2434
|
callId: string;
|
|
2283
2435
|
toolName: string;
|
|
2436
|
+
arguments?: {
|
|
2437
|
+
content: string;
|
|
2438
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
2439
|
+
} | undefined;
|
|
2284
2440
|
} | {
|
|
2285
2441
|
summary: string;
|
|
2286
2442
|
kind: "tool_result";
|
|
@@ -2361,7 +2517,7 @@ declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2361
2517
|
reason: "disabled" | "skipped" | "not_requested" | "cancelled_before_start";
|
|
2362
2518
|
availability: "not_executed";
|
|
2363
2519
|
} | {
|
|
2364
|
-
reason: "
|
|
2520
|
+
reason: "size_limit" | "retention_limit" | "age_limit" | "event_limit" | "operator_request";
|
|
2365
2521
|
availability: "pruned";
|
|
2366
2522
|
};
|
|
2367
2523
|
requestedSequence: number;
|
|
@@ -2403,20 +2559,25 @@ declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2403
2559
|
status: "no_matches" | "redacted";
|
|
2404
2560
|
ran: true;
|
|
2405
2561
|
count: number;
|
|
2562
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
2406
2563
|
};
|
|
2407
2564
|
truncation: "none" | "head" | "tail" | "middle";
|
|
2408
2565
|
parseWarnings: ("unknown_event_type" | "provider_payload_omitted" | "malformed_field_omitted" | "unsupported_field_omitted" | "content_truncated" | "corrupt_capture")[];
|
|
2409
2566
|
event: {
|
|
2410
|
-
kind: "user";
|
|
2411
2567
|
content: string;
|
|
2568
|
+
kind: "user";
|
|
2412
2569
|
} | {
|
|
2413
|
-
kind: "assistant";
|
|
2414
2570
|
content: string;
|
|
2571
|
+
kind: "assistant";
|
|
2415
2572
|
} | {
|
|
2416
2573
|
summary: string;
|
|
2417
2574
|
kind: "tool_call";
|
|
2418
2575
|
callId: string;
|
|
2419
2576
|
toolName: string;
|
|
2577
|
+
arguments?: {
|
|
2578
|
+
content: string;
|
|
2579
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
2580
|
+
} | undefined;
|
|
2420
2581
|
} | {
|
|
2421
2582
|
summary: string;
|
|
2422
2583
|
kind: "tool_result";
|
|
@@ -2497,7 +2658,7 @@ declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2497
2658
|
reason: "disabled" | "skipped" | "not_requested" | "cancelled_before_start";
|
|
2498
2659
|
availability: "not_executed";
|
|
2499
2660
|
} | {
|
|
2500
|
-
reason: "
|
|
2661
|
+
reason: "size_limit" | "retention_limit" | "age_limit" | "event_limit" | "operator_request";
|
|
2501
2662
|
availability: "pruned";
|
|
2502
2663
|
};
|
|
2503
2664
|
requestedSequence: number;
|
|
@@ -2539,20 +2700,25 @@ declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2539
2700
|
status: "no_matches" | "redacted";
|
|
2540
2701
|
ran: true;
|
|
2541
2702
|
count: number;
|
|
2703
|
+
coverage?: "pattern_best_effort" | undefined;
|
|
2542
2704
|
};
|
|
2543
2705
|
truncation: "none" | "head" | "tail" | "middle";
|
|
2544
2706
|
parseWarnings: ("unknown_event_type" | "provider_payload_omitted" | "malformed_field_omitted" | "unsupported_field_omitted" | "content_truncated" | "corrupt_capture")[];
|
|
2545
2707
|
event: {
|
|
2546
|
-
kind: "user";
|
|
2547
2708
|
content: string;
|
|
2709
|
+
kind: "user";
|
|
2548
2710
|
} | {
|
|
2549
|
-
kind: "assistant";
|
|
2550
2711
|
content: string;
|
|
2712
|
+
kind: "assistant";
|
|
2551
2713
|
} | {
|
|
2552
2714
|
summary: string;
|
|
2553
2715
|
kind: "tool_call";
|
|
2554
2716
|
callId: string;
|
|
2555
2717
|
toolName: string;
|
|
2718
|
+
arguments?: {
|
|
2719
|
+
content: string;
|
|
2720
|
+
omission: "none" | "invalid" | "size_limit" | "structure_limit";
|
|
2721
|
+
} | undefined;
|
|
2556
2722
|
} | {
|
|
2557
2723
|
summary: string;
|
|
2558
2724
|
kind: "tool_result";
|
|
@@ -2594,6 +2760,7 @@ declare const SessionLogPageV1Schema: z.ZodEffects<z.ZodObject<{
|
|
|
2594
2760
|
};
|
|
2595
2761
|
}[];
|
|
2596
2762
|
}>;
|
|
2763
|
+
export declare function parseSessionLogOwnerV1(input: unknown): SessionLogOwnerV1;
|
|
2597
2764
|
/**
|
|
2598
2765
|
* Shape validation only. A successful parse proves neither secret absence nor
|
|
2599
2766
|
* that redaction was effective; SLOG-01 owns construction and redaction.
|