@dailephd/my-centcom 0.1.0 → 0.3.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/README.md +10 -5
- package/apps/daemon/dist/artifacts/returnSnapshots.d.ts +12 -0
- package/apps/daemon/dist/artifacts/returnSnapshots.js +41 -0
- package/apps/daemon/dist/bootstrap/app.d.ts +21 -0
- package/apps/daemon/dist/bootstrap/app.js +27 -0
- package/apps/daemon/dist/bootstrap/installLayout.d.ts +81 -0
- package/apps/daemon/dist/bootstrap/installLayout.js +164 -0
- package/apps/daemon/dist/bootstrap/main.d.ts +14 -0
- package/apps/daemon/dist/bootstrap/main.js +141 -0
- package/apps/daemon/dist/bootstrap/operatorConsole.d.ts +75 -0
- package/apps/daemon/dist/bootstrap/operatorConsole.js +293 -0
- package/apps/daemon/dist/bootstrap/privateDataRoot.d.ts +38 -0
- package/apps/daemon/dist/bootstrap/privateDataRoot.js +204 -0
- package/apps/daemon/dist/bootstrap/secureMain.d.ts +118 -0
- package/apps/daemon/dist/bootstrap/secureMain.js +403 -0
- package/apps/daemon/dist/bootstrap/setup.d.ts +93 -0
- package/apps/daemon/dist/bootstrap/setup.js +738 -0
- package/apps/daemon/dist/context/changeProposal.d.ts +97 -0
- package/apps/daemon/dist/context/changeProposal.js +259 -0
- package/apps/daemon/dist/context/gitEvidence.d.ts +88 -0
- package/apps/daemon/dist/context/gitEvidence.js +332 -0
- package/apps/daemon/dist/context/gitObservation.d.ts +30 -0
- package/apps/daemon/dist/context/gitObservation.js +113 -0
- package/apps/daemon/dist/context/projectReadIssuer.d.ts +68 -0
- package/apps/daemon/dist/context/projectReadIssuer.js +158 -0
- package/apps/daemon/dist/context/projectReadService.d.ts +153 -0
- package/apps/daemon/dist/context/projectReadService.js +652 -0
- package/apps/daemon/dist/context/projectViewService.d.ts +85 -0
- package/apps/daemon/dist/context/projectViewService.js +332 -0
- package/apps/daemon/dist/context/proposalRecorder.d.ts +11 -0
- package/apps/daemon/dist/context/proposalRecorder.js +19 -0
- package/apps/daemon/dist/plugins/drivers/codexMcpConfig.d.ts +40 -0
- package/apps/daemon/dist/plugins/drivers/codexMcpConfig.js +73 -0
- package/apps/daemon/dist/plugins/drivers/codexModelCompatibility.d.ts +49 -0
- package/apps/daemon/dist/plugins/drivers/codexModelCompatibility.js +70 -0
- package/apps/daemon/dist/plugins/drivers/fakePluginDriver.d.ts +16 -0
- package/apps/daemon/dist/plugins/drivers/fakePluginDriver.js +115 -0
- package/apps/daemon/dist/plugins/drivers/finiteCliDriver.d.ts +153 -0
- package/apps/daemon/dist/plugins/drivers/finiteCliDriver.js +505 -0
- package/apps/daemon/dist/plugins/registry/operationCatalog.d.ts +23 -0
- package/apps/daemon/dist/plugins/registry/operationCatalog.js +41 -0
- package/apps/daemon/dist/plugins/registry/registryOperationCatalog.d.ts +14 -0
- package/apps/daemon/dist/plugins/registry/registryOperationCatalog.js +29 -0
- package/apps/daemon/dist/plugins/registry/verifiedCapabilityRegistry.d.ts +151 -0
- package/apps/daemon/dist/plugins/registry/verifiedCapabilityRegistry.js +579 -0
- package/apps/daemon/dist/projects/codingAuthority.d.ts +102 -0
- package/apps/daemon/dist/projects/codingAuthority.js +244 -0
- package/apps/daemon/dist/projects/fixtureAuthorization.d.ts +54 -0
- package/apps/daemon/dist/projects/fixtureAuthorization.js +172 -0
- package/apps/daemon/dist/projects/pairedAuthority.d.ts +158 -0
- package/apps/daemon/dist/projects/pairedAuthority.js +273 -0
- package/apps/daemon/dist/projects/trustedCliConsent.d.ts +47 -0
- package/apps/daemon/dist/projects/trustedCliConsent.js +84 -0
- package/apps/daemon/dist/runs/changeApplier.d.ts +59 -0
- package/apps/daemon/dist/runs/changeApplier.js +319 -0
- package/apps/daemon/dist/runs/codingWorkflowService.d.ts +283 -0
- package/apps/daemon/dist/runs/codingWorkflowService.js +785 -0
- package/apps/daemon/dist/runs/durableIntentCoordinator.d.ts +72 -0
- package/apps/daemon/dist/runs/durableIntentCoordinator.js +160 -0
- package/apps/daemon/dist/runs/inMemoryCoordinator.d.ts +55 -0
- package/apps/daemon/dist/runs/inMemoryCoordinator.js +375 -0
- package/apps/daemon/dist/runs/runExecutor.d.ts +154 -0
- package/apps/daemon/dist/runs/runExecutor.js +295 -0
- package/apps/daemon/dist/runs/workflowService.d.ts +185 -0
- package/apps/daemon/dist/runs/workflowService.js +300 -0
- package/apps/daemon/dist/runtime/boundedProcessHost.d.ts +111 -0
- package/apps/daemon/dist/runtime/boundedProcessHost.js +752 -0
- package/apps/daemon/dist/runtime/evidenceRedaction.d.ts +30 -0
- package/apps/daemon/dist/runtime/evidenceRedaction.js +79 -0
- package/apps/daemon/dist/runtime/executionDiagnostics.d.ts +134 -0
- package/apps/daemon/dist/runtime/executionDiagnostics.js +213 -0
- package/apps/daemon/dist/runtime/modelExecutionPolicy.d.ts +22 -0
- package/apps/daemon/dist/runtime/modelExecutionPolicy.js +19 -0
- package/apps/daemon/dist/runtime/mxcExecution.d.ts +12 -0
- package/apps/daemon/dist/runtime/mxcExecution.js +163 -0
- package/apps/daemon/dist/runtime/mxcIntegrity.d.ts +24 -0
- package/apps/daemon/dist/runtime/mxcIntegrity.js +81 -0
- package/apps/daemon/dist/runtime/mxcWorker.d.ts +2 -0
- package/apps/daemon/dist/runtime/mxcWorker.js +45 -0
- package/apps/daemon/dist/runtime/provisionedExecution.d.ts +150 -0
- package/apps/daemon/dist/runtime/provisionedExecution.js +653 -0
- package/apps/daemon/dist/runtime/testExecution.d.ts +76 -0
- package/apps/daemon/dist/runtime/testExecution.js +106 -0
- package/apps/daemon/dist/runtime/testProfiles.d.ts +10 -0
- package/apps/daemon/dist/runtime/testProfiles.js +4 -0
- package/apps/daemon/dist/runtime/trustedAgentStaging.d.ts +89 -0
- package/apps/daemon/dist/runtime/trustedAgentStaging.js +262 -0
- package/apps/daemon/dist/runtime/trustedCaBundle.d.ts +77 -0
- package/apps/daemon/dist/runtime/trustedCaBundle.js +125 -0
- package/apps/daemon/dist/runtime/windows/windowsJobSupervisor.d.ts +166 -0
- package/apps/daemon/dist/runtime/windows/windowsJobSupervisor.js +521 -0
- package/apps/daemon/dist/storage/diagnosticLog.d.ts +63 -0
- package/apps/daemon/dist/storage/diagnosticLog.js +136 -0
- package/apps/daemon/dist/storage/executionTelemetry.d.ts +63 -0
- package/apps/daemon/dist/storage/executionTelemetry.js +247 -0
- package/apps/daemon/dist/storage/protectedSecrets.d.ts +39 -0
- package/apps/daemon/dist/storage/protectedSecrets.js +106 -0
- package/apps/daemon/dist/storage/sqliteLedger.d.ts +786 -0
- package/apps/daemon/dist/storage/sqliteLedger.js +1303 -0
- package/apps/daemon/dist/transports/http/dispatch.d.ts +43 -0
- package/apps/daemon/dist/transports/http/dispatch.js +405 -0
- package/apps/daemon/dist/transports/http/secureRoutes.d.ts +40 -0
- package/apps/daemon/dist/transports/http/secureRoutes.js +332 -0
- package/apps/daemon/dist/transports/http/workflowRoutes.d.ts +41 -0
- package/apps/daemon/dist/transports/http/workflowRoutes.js +473 -0
- package/apps/daemon/dist/transports/mcp/localProjectReadServer.d.ts +182 -0
- package/apps/daemon/dist/transports/mcp/localProjectReadServer.js +221 -0
- package/apps/daemon/dist/transports/native/nativeHost.d.ts +24 -0
- package/apps/daemon/dist/transports/native/nativeHost.js +344 -0
- package/apps/daemon/package.json +24 -0
- package/apps/daemon/src/runtime/benign/referenceEcho.mjs +27 -0
- package/apps/daemon/src/runtime/windows/buildSupervisor.mjs +87 -0
- package/apps/daemon/src/runtime/windows/supervisorMain.cs +676 -0
- package/apps/extension/manifest.secure.json +25 -0
- package/apps/extension/scripts/build.mjs +173 -0
- package/apps/extension/src/background/secureWorker.ts +1595 -0
- package/apps/extension/src/background/serviceWorker.ts +892 -0
- package/apps/extension/src/content/captureSelection.ts +64 -0
- package/apps/extension/src/content/secureInsert.ts +207 -0
- package/apps/extension/src/probe/index.html +41 -0
- package/apps/extension/src/probe/main.ts +201 -0
- package/apps/extension/src/sidepanel/index.html +203 -0
- package/apps/extension/src/sidepanel/main.ts +903 -0
- package/package.json +19 -3
- package/packages/contracts/dist/artifacts.d.ts +66 -0
- package/packages/contracts/dist/artifacts.js +64 -0
- package/packages/contracts/dist/automation.d.ts +540 -0
- package/packages/contracts/dist/automation.js +191 -0
- package/packages/contracts/dist/browser.d.ts +251 -0
- package/packages/contracts/dist/browser.js +131 -0
- package/packages/contracts/dist/context.d.ts +71 -0
- package/packages/contracts/dist/context.js +73 -0
- package/packages/contracts/dist/diagnostics.d.ts +99 -0
- package/packages/contracts/dist/diagnostics.js +284 -0
- package/packages/contracts/dist/effects.d.ts +42 -0
- package/packages/contracts/dist/effects.js +42 -0
- package/packages/contracts/dist/errors.d.ts +75 -0
- package/packages/contracts/dist/errors.js +70 -0
- package/packages/contracts/dist/events.d.ts +50 -0
- package/packages/contracts/dist/events.js +34 -0
- package/packages/contracts/dist/executionDiagnostics.d.ts +212 -0
- package/packages/contracts/dist/executionDiagnostics.js +101 -0
- package/packages/contracts/dist/identity.d.ts +54 -0
- package/packages/contracts/dist/identity.js +40 -0
- package/packages/contracts/dist/index.d.ts +20 -0
- package/packages/contracts/dist/index.js +20 -0
- package/packages/contracts/dist/invocation.d.ts +90 -0
- package/packages/contracts/dist/invocation.js +77 -0
- package/packages/contracts/dist/lifecycle.d.ts +130 -0
- package/packages/contracts/dist/lifecycle.js +135 -0
- package/packages/contracts/dist/plugin.d.ts +214 -0
- package/packages/contracts/dist/plugin.js +117 -0
- package/packages/contracts/dist/projectRead.d.ts +205 -0
- package/packages/contracts/dist/projectRead.js +162 -0
- package/packages/contracts/dist/secure.d.ts +128 -0
- package/packages/contracts/dist/secure.js +99 -0
- package/packages/contracts/package.json +32 -0
- package/packages/contracts/src/artifacts.ts +83 -0
- package/packages/contracts/src/automation.ts +238 -0
- package/packages/contracts/src/browser.ts +164 -0
- package/packages/contracts/src/context.ts +91 -0
- package/packages/contracts/src/diagnostics.ts +318 -0
- package/packages/contracts/src/effects.ts +49 -0
- package/packages/contracts/src/errors.ts +83 -0
- package/packages/contracts/src/events.ts +46 -0
- package/packages/contracts/src/executionDiagnostics.ts +116 -0
- package/packages/contracts/src/identity.ts +68 -0
- package/packages/contracts/src/index.ts +20 -0
- package/packages/contracts/src/invocation.ts +96 -0
- package/packages/contracts/src/lifecycle.ts +169 -0
- package/packages/contracts/src/plugin.ts +174 -0
- package/packages/contracts/src/projectRead.ts +179 -0
- package/packages/contracts/src/secure.ts +136 -0
- package/provenance.json +179 -9
- package/source.zip +0 -0
|
@@ -0,0 +1,540 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* SW-062 (integrated automation and recovery) contracts. Additive, schema version 1.
|
|
4
|
+
*
|
|
5
|
+
* K-native : extension service worker <-> per-user native messaging bootstrap host (C02 platform adapter). Tiny, length-bounded, two message types.
|
|
6
|
+
* K-boot : native host -> daemon, POST /v1/bootstrap/session. Requires NO Origin header (a browser page can never present it) and the installation secret.
|
|
7
|
+
* K-capture : worker -> daemon durable capture store / capture-run / workflow resume / long-poll wait / return receipts and explicit rebind.
|
|
8
|
+
*
|
|
9
|
+
* Nothing here carries an executable, path, argument or environment. A browser click can never choose an effect class or a consent mode.
|
|
10
|
+
*/
|
|
11
|
+
/** Chrome native messaging host name (lowercase alphanumerics, dots and underscores only). */
|
|
12
|
+
export declare const NATIVE_HOST_NAME = "com.my_centcom.bridge";
|
|
13
|
+
/** Hard ceiling of ONE inbound native message (the extension only ever sends a few dozen bytes). */
|
|
14
|
+
export declare const NATIVE_MAX_INBOUND_BYTES = 4096;
|
|
15
|
+
/** Hard ceiling of ONE outbound native message (well under Chrome's 1 MiB limit). */
|
|
16
|
+
export declare const NATIVE_MAX_OUTBOUND_BYTES = 8192;
|
|
17
|
+
export declare const NativeRequestV1Schema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18
|
+
v: z.ZodLiteral<1>;
|
|
19
|
+
type: z.ZodLiteral<"PING">;
|
|
20
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
21
|
+
v: z.ZodLiteral<1>;
|
|
22
|
+
type: z.ZodLiteral<"CONNECT">;
|
|
23
|
+
}, z.core.$strict>], "type">;
|
|
24
|
+
export type NativeRequestV1 = z.infer<typeof NativeRequestV1Schema>;
|
|
25
|
+
/** Fixed host refusal vocabulary (the host never forwards free text). */
|
|
26
|
+
export declare const NATIVE_HOST_ERROR_CODES: readonly ["HOST_MESSAGE_INVALID", "HOST_MESSAGE_TOO_LARGE", "HOST_ORIGIN_MISMATCH", "HOST_NOT_INSTALLED", "HOST_CONFIG_INVALID", "HOST_CONFIG_TAMPERED", "INSTALL_INTEGRITY_FAILED", "UPDATE_REQUIRES_RECONSENT", "INSTALLATION_REVOKED", "DAEMON_START_FAILED", "DAEMON_NOT_RESPONDING", "SESSION_REFUSED", "HOST_INTERNAL_ERROR"];
|
|
27
|
+
export type NativeHostErrorCode = (typeof NATIVE_HOST_ERROR_CODES)[number];
|
|
28
|
+
export declare const NativeResponseV1Schema: z.ZodUnion<readonly [z.ZodObject<{
|
|
29
|
+
v: z.ZodLiteral<1>;
|
|
30
|
+
ok: z.ZodLiteral<true>;
|
|
31
|
+
type: z.ZodLiteral<"PONG">;
|
|
32
|
+
installed: z.ZodBoolean;
|
|
33
|
+
hostVersion: z.ZodString;
|
|
34
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
35
|
+
v: z.ZodLiteral<1>;
|
|
36
|
+
ok: z.ZodLiteral<true>;
|
|
37
|
+
type: z.ZodLiteral<"CONNECTED">;
|
|
38
|
+
port: z.ZodNumber;
|
|
39
|
+
bearerToken: z.ZodString;
|
|
40
|
+
expiresAt: z.ZodString;
|
|
41
|
+
installationId: z.ZodString;
|
|
42
|
+
daemonStarted: z.ZodBoolean;
|
|
43
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
44
|
+
v: z.ZodLiteral<1>;
|
|
45
|
+
ok: z.ZodLiteral<false>;
|
|
46
|
+
code: z.ZodEnum<{
|
|
47
|
+
HOST_MESSAGE_INVALID: "HOST_MESSAGE_INVALID";
|
|
48
|
+
HOST_MESSAGE_TOO_LARGE: "HOST_MESSAGE_TOO_LARGE";
|
|
49
|
+
HOST_ORIGIN_MISMATCH: "HOST_ORIGIN_MISMATCH";
|
|
50
|
+
HOST_NOT_INSTALLED: "HOST_NOT_INSTALLED";
|
|
51
|
+
HOST_CONFIG_INVALID: "HOST_CONFIG_INVALID";
|
|
52
|
+
HOST_CONFIG_TAMPERED: "HOST_CONFIG_TAMPERED";
|
|
53
|
+
INSTALL_INTEGRITY_FAILED: "INSTALL_INTEGRITY_FAILED";
|
|
54
|
+
UPDATE_REQUIRES_RECONSENT: "UPDATE_REQUIRES_RECONSENT";
|
|
55
|
+
INSTALLATION_REVOKED: "INSTALLATION_REVOKED";
|
|
56
|
+
DAEMON_START_FAILED: "DAEMON_START_FAILED";
|
|
57
|
+
DAEMON_NOT_RESPONDING: "DAEMON_NOT_RESPONDING";
|
|
58
|
+
SESSION_REFUSED: "SESSION_REFUSED";
|
|
59
|
+
HOST_INTERNAL_ERROR: "HOST_INTERNAL_ERROR";
|
|
60
|
+
}>;
|
|
61
|
+
}, z.core.$strict>]>;
|
|
62
|
+
export type NativeResponseV1 = z.infer<typeof NativeResponseV1Schema>;
|
|
63
|
+
/** Coding effects name a stored proposal and its exact reviewed identity; executable and command arguments are never accepted. */
|
|
64
|
+
export declare const CodingReadRequestV1Schema: z.ZodObject<{
|
|
65
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
66
|
+
}, z.core.$strict>;
|
|
67
|
+
export declare const CodingActionRequestV1Schema: z.ZodObject<{
|
|
68
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
69
|
+
proposalId: z.ZodString;
|
|
70
|
+
digest: z.ZodString;
|
|
71
|
+
action: z.ZodEnum<{
|
|
72
|
+
apply: "apply";
|
|
73
|
+
reject: "reject";
|
|
74
|
+
test: "test";
|
|
75
|
+
git: "git";
|
|
76
|
+
commit: "commit";
|
|
77
|
+
finalize: "finalize";
|
|
78
|
+
proposal: "proposal";
|
|
79
|
+
}>;
|
|
80
|
+
}, z.core.$strict>;
|
|
81
|
+
export type CodingActionRequestV1 = z.infer<typeof CodingActionRequestV1Schema>;
|
|
82
|
+
/** Distinct immutable coding deliveries; proposal-only never implies TEST. */
|
|
83
|
+
export declare const CodingResultKindV1Schema: z.ZodEnum<{
|
|
84
|
+
VERIFIED_CODING_RESULT: "VERIFIED_CODING_RESULT";
|
|
85
|
+
PROPOSAL_ONLY_UNVERIFIED: "PROPOSAL_ONLY_UNVERIFIED";
|
|
86
|
+
APPLIED_UNTESTED_RESULT: "APPLIED_UNTESTED_RESULT";
|
|
87
|
+
COMMITTED_UNTESTED_RESULT: "COMMITTED_UNTESTED_RESULT";
|
|
88
|
+
}>;
|
|
89
|
+
export declare const ReviewedCommitRequestSchema: z.ZodObject<{
|
|
90
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
91
|
+
proposalId: z.ZodString;
|
|
92
|
+
message: z.ZodString;
|
|
93
|
+
challenge: z.ZodString;
|
|
94
|
+
}, z.core.$strict>;
|
|
95
|
+
export type CodingResultKindV1 = z.infer<typeof CodingResultKindV1Schema>;
|
|
96
|
+
/** Separate non-model transaction. Both displayed authorities must be approved. */
|
|
97
|
+
export declare const ReviewedPatchRequestV1Schema: z.ZodObject<{
|
|
98
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
99
|
+
proposalId: z.ZodString;
|
|
100
|
+
projectId: z.ZodString;
|
|
101
|
+
digest: z.ZodString;
|
|
102
|
+
baseHead: z.ZodString;
|
|
103
|
+
challenge: z.ZodString;
|
|
104
|
+
action: z.ZodEnum<{
|
|
105
|
+
apply: "apply";
|
|
106
|
+
cancel: "cancel";
|
|
107
|
+
}>;
|
|
108
|
+
}, z.core.$strict>;
|
|
109
|
+
export declare const ModelExecutionModeSchema: z.ZodEnum<{
|
|
110
|
+
STRICT_ISOLATED: "STRICT_ISOLATED";
|
|
111
|
+
TRUSTED_LOCAL_CLI_PROPOSAL_ONLY: "TRUSTED_LOCAL_CLI_PROPOSAL_ONLY";
|
|
112
|
+
}>;
|
|
113
|
+
export type ModelExecutionMode = z.infer<typeof ModelExecutionModeSchema>;
|
|
114
|
+
export declare const TRUSTED_CLI_WARNING = "Trusted proposal-only CLI: Codex is a trusted local program. It can have your normal OS-level file and network access. The current shared restricted token does not isolate sibling credentials or other agent storage. MCP tool limits are product controls, not OS confidentiality. Only inspection and proposals are authorized; tests, application and commits are not.";
|
|
115
|
+
export declare const TRUSTED_CLI_WARNING_VERSION = "trusted-cli-proposal-v1";
|
|
116
|
+
export declare const TrustedCliConsentRequestSchema: z.ZodObject<{
|
|
117
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
118
|
+
projectId: z.ZodString;
|
|
119
|
+
pluginId: z.ZodString;
|
|
120
|
+
operationId: z.ZodString;
|
|
121
|
+
action: z.ZodEnum<{
|
|
122
|
+
status: "status";
|
|
123
|
+
accept: "accept";
|
|
124
|
+
revoke: "revoke";
|
|
125
|
+
}>;
|
|
126
|
+
challenge: z.ZodOptional<z.ZodString>;
|
|
127
|
+
warningVersion: z.ZodOptional<z.ZodLiteral<"trusted-cli-proposal-v1">>;
|
|
128
|
+
}, z.core.$strict>;
|
|
129
|
+
export declare const BootstrapSessionRequestV1Schema: z.ZodObject<{
|
|
130
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
131
|
+
installationId: z.ZodString;
|
|
132
|
+
secret: z.ZodString;
|
|
133
|
+
extensionOrigin: z.ZodString;
|
|
134
|
+
}, z.core.$strict>;
|
|
135
|
+
export type BootstrapSessionRequestV1 = z.infer<typeof BootstrapSessionRequestV1Schema>;
|
|
136
|
+
export declare const BootstrapSessionResponseV1Schema: z.ZodObject<{
|
|
137
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
138
|
+
installationId: z.ZodString;
|
|
139
|
+
bearerToken: z.ZodString;
|
|
140
|
+
expiresAt: z.ZodString;
|
|
141
|
+
}, z.core.$strict>;
|
|
142
|
+
export type BootstrapSessionResponseV1 = z.infer<typeof BootstrapSessionResponseV1Schema>;
|
|
143
|
+
/** Daemon instance identity, published only into the private data root (never over a browser-reachable route). */
|
|
144
|
+
export interface DaemonRuntimeRecordV1 {
|
|
145
|
+
schemaVersion: 1;
|
|
146
|
+
port: number;
|
|
147
|
+
pid: number;
|
|
148
|
+
instanceId: string;
|
|
149
|
+
startedAt: string;
|
|
150
|
+
}
|
|
151
|
+
export declare const CAPTURE_MAX_UTF8_BYTES = 32768;
|
|
152
|
+
export declare const CAPTURE_TTL_MS: number;
|
|
153
|
+
/** What the worker learned about the page at the user's gesture. Identity fields are opaque browser values; nothing here is page HTML. */
|
|
154
|
+
export declare const TabBindingV1Schema: z.ZodObject<{
|
|
155
|
+
tabId: z.ZodNumber;
|
|
156
|
+
windowId: z.ZodNumber;
|
|
157
|
+
frameId: z.ZodLiteral<0>;
|
|
158
|
+
documentId: z.ZodString;
|
|
159
|
+
nonce: z.ZodString;
|
|
160
|
+
sourceUrl: z.ZodString;
|
|
161
|
+
}, z.core.$strict>;
|
|
162
|
+
export type TabBindingV1 = z.infer<typeof TabBindingV1Schema>;
|
|
163
|
+
/**
|
|
164
|
+
* What the captured bytes ARE (SW-065). Neither value is verified to be an assistant message; the user's explicit action is the only attestation.
|
|
165
|
+
* CAPTURED_RENDERED_TEXT the rendered text of the user's DOM selection on the page (formatting such as code fences may be missing);
|
|
166
|
+
* PASTED_PLAIN_TEXT the text/plain flavor of what the USER pasted into the side panel (Ctrl+V), line breaks normalized to LF and nothing else
|
|
167
|
+
* changed. Text copied with ChatGPT's own Copy button is normally the message's Markdown source, but that is not verified.
|
|
168
|
+
*/
|
|
169
|
+
export declare const CAPTURE_FIDELITIES: readonly ["CAPTURED_RENDERED_TEXT", "PASTED_PLAIN_TEXT", "EDITED_TASK_TEXT"];
|
|
170
|
+
export declare const CaptureFidelitySchema: z.ZodEnum<{
|
|
171
|
+
CAPTURED_RENDERED_TEXT: "CAPTURED_RENDERED_TEXT";
|
|
172
|
+
PASTED_PLAIN_TEXT: "PASTED_PLAIN_TEXT";
|
|
173
|
+
EDITED_TASK_TEXT: "EDITED_TASK_TEXT";
|
|
174
|
+
}>;
|
|
175
|
+
export type CaptureFidelity = z.infer<typeof CaptureFidelitySchema>;
|
|
176
|
+
export declare const CaptureStoreRequestV1Schema: z.ZodObject<{
|
|
177
|
+
editOf: z.ZodOptional<z.ZodString>;
|
|
178
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
179
|
+
text: z.ZodString;
|
|
180
|
+
sha256: z.ZodString;
|
|
181
|
+
bytes: z.ZodNumber;
|
|
182
|
+
fidelity: z.ZodEnum<{
|
|
183
|
+
CAPTURED_RENDERED_TEXT: "CAPTURED_RENDERED_TEXT";
|
|
184
|
+
PASTED_PLAIN_TEXT: "PASTED_PLAIN_TEXT";
|
|
185
|
+
EDITED_TASK_TEXT: "EDITED_TASK_TEXT";
|
|
186
|
+
}>;
|
|
187
|
+
lineEndingsNormalized: z.ZodOptional<z.ZodNumber>;
|
|
188
|
+
binding: z.ZodObject<{
|
|
189
|
+
tabId: z.ZodNumber;
|
|
190
|
+
windowId: z.ZodNumber;
|
|
191
|
+
frameId: z.ZodLiteral<0>;
|
|
192
|
+
documentId: z.ZodString;
|
|
193
|
+
nonce: z.ZodString;
|
|
194
|
+
sourceUrl: z.ZodString;
|
|
195
|
+
}, z.core.$strict>;
|
|
196
|
+
}, z.core.$strict>;
|
|
197
|
+
export type CaptureStoreRequestV1 = z.infer<typeof CaptureStoreRequestV1Schema>;
|
|
198
|
+
export declare const CaptureStoreResponseV1Schema: z.ZodObject<{
|
|
199
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
200
|
+
captureId: z.ZodString;
|
|
201
|
+
sha256: z.ZodString;
|
|
202
|
+
bytes: z.ZodNumber;
|
|
203
|
+
createdAt: z.ZodString;
|
|
204
|
+
expiresAt: z.ZodString;
|
|
205
|
+
duplicate: z.ZodBoolean;
|
|
206
|
+
}, z.core.$strict>;
|
|
207
|
+
export declare const CaptureRunRequestV1Schema: z.ZodObject<{
|
|
208
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
209
|
+
projectId: z.ZodString;
|
|
210
|
+
pluginId: z.ZodString;
|
|
211
|
+
operationId: z.ZodString;
|
|
212
|
+
}, z.core.$strict>;
|
|
213
|
+
export type CaptureRunRequestV1 = z.infer<typeof CaptureRunRequestV1Schema>;
|
|
214
|
+
export declare const CodingCaptureRunRequestV1Schema: z.ZodObject<{
|
|
215
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
216
|
+
projectId: z.ZodString;
|
|
217
|
+
pluginId: z.ZodString;
|
|
218
|
+
operationId: z.ZodString;
|
|
219
|
+
executionMode: z.ZodOptional<z.ZodEnum<{
|
|
220
|
+
STRICT_ISOLATED: "STRICT_ISOLATED";
|
|
221
|
+
TRUSTED_LOCAL_CLI_PROPOSAL_ONLY: "TRUSTED_LOCAL_CLI_PROPOSAL_ONLY";
|
|
222
|
+
}>>;
|
|
223
|
+
}, z.core.$strict>;
|
|
224
|
+
/** RUN_CLICK: a trusted local grant made the user's own Run click the per-run consent (read-only, verified operations only). */
|
|
225
|
+
export declare const ConsentModeSchema: z.ZodEnum<{
|
|
226
|
+
RUN_CLICK: "RUN_CLICK";
|
|
227
|
+
LOCAL_CONFIRM: "LOCAL_CONFIRM";
|
|
228
|
+
}>;
|
|
229
|
+
export type ConsentMode = z.infer<typeof ConsentModeSchema>;
|
|
230
|
+
export declare const CaptureRunResponseV1Schema: z.ZodObject<{
|
|
231
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
232
|
+
runId: z.ZodString;
|
|
233
|
+
lifecycleState: z.ZodEnum<{
|
|
234
|
+
CREATED: "CREATED";
|
|
235
|
+
AWAITING_USER_APPROVAL: "AWAITING_USER_APPROVAL";
|
|
236
|
+
QUEUED: "QUEUED";
|
|
237
|
+
STARTING: "STARTING";
|
|
238
|
+
RUNNING: "RUNNING";
|
|
239
|
+
WAITING_AGENT_APPROVAL: "WAITING_AGENT_APPROVAL";
|
|
240
|
+
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
241
|
+
COMPLETED: "COMPLETED";
|
|
242
|
+
FAILED: "FAILED";
|
|
243
|
+
CANCELLED: "CANCELLED";
|
|
244
|
+
UNKNOWN: "UNKNOWN";
|
|
245
|
+
}>;
|
|
246
|
+
duplicate: z.ZodBoolean;
|
|
247
|
+
consent: z.ZodEnum<{
|
|
248
|
+
RUN_CLICK: "RUN_CLICK";
|
|
249
|
+
LOCAL_CONFIRM: "LOCAL_CONFIRM";
|
|
250
|
+
}>;
|
|
251
|
+
effectClass: z.ZodEnum<{
|
|
252
|
+
read: "read";
|
|
253
|
+
write_project: "write_project";
|
|
254
|
+
external_network: "external_network";
|
|
255
|
+
destructive: "destructive";
|
|
256
|
+
}>;
|
|
257
|
+
}, z.core.$strict>;
|
|
258
|
+
export declare const RunWaitRequestV1Schema: z.ZodObject<{
|
|
259
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
260
|
+
sinceUpdatedAt: z.ZodNullable<z.ZodString>;
|
|
261
|
+
timeoutMs: z.ZodNumber;
|
|
262
|
+
}, z.core.$strict>;
|
|
263
|
+
export declare const RETURN_STATES: readonly ["RETURN_READY", "INSERTED_UNSENT", "RETURN_STALE", "INSERT_FAILED"];
|
|
264
|
+
export declare const ReturnStateSchema: z.ZodEnum<{
|
|
265
|
+
RETURN_READY: "RETURN_READY";
|
|
266
|
+
INSERTED_UNSENT: "INSERTED_UNSENT";
|
|
267
|
+
RETURN_STALE: "RETURN_STALE";
|
|
268
|
+
INSERT_FAILED: "INSERT_FAILED";
|
|
269
|
+
}>;
|
|
270
|
+
export type ReturnState = z.infer<typeof ReturnStateSchema>;
|
|
271
|
+
export declare const ReturnReceiptRequestV1Schema: z.ZodObject<{
|
|
272
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
273
|
+
state: z.ZodEnum<{
|
|
274
|
+
INSERTED_UNSENT: "INSERTED_UNSENT";
|
|
275
|
+
RETURN_STALE: "RETURN_STALE";
|
|
276
|
+
INSERT_FAILED: "INSERT_FAILED";
|
|
277
|
+
}>;
|
|
278
|
+
code: z.ZodOptional<z.ZodString>;
|
|
279
|
+
editor: z.ZodOptional<z.ZodEnum<{
|
|
280
|
+
TEXTAREA: "TEXTAREA";
|
|
281
|
+
CONTENTEDITABLE: "CONTENTEDITABLE";
|
|
282
|
+
PROSEMIRROR: "PROSEMIRROR";
|
|
283
|
+
}>>;
|
|
284
|
+
sha256: z.ZodString;
|
|
285
|
+
}, z.core.$strict>;
|
|
286
|
+
export declare const ReturnRebindRequestV1Schema: z.ZodObject<{
|
|
287
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
288
|
+
sha256: z.ZodString;
|
|
289
|
+
binding: z.ZodObject<{
|
|
290
|
+
tabId: z.ZodNumber;
|
|
291
|
+
windowId: z.ZodNumber;
|
|
292
|
+
frameId: z.ZodLiteral<0>;
|
|
293
|
+
documentId: z.ZodString;
|
|
294
|
+
nonce: z.ZodString;
|
|
295
|
+
sourceUrl: z.ZodString;
|
|
296
|
+
}, z.core.$strict>;
|
|
297
|
+
}, z.core.$strict>;
|
|
298
|
+
export declare const WorkflowPreferenceRequestV1Schema: z.ZodObject<{
|
|
299
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
300
|
+
projectId: z.ZodString;
|
|
301
|
+
pluginId: z.ZodString;
|
|
302
|
+
operationId: z.ZodString;
|
|
303
|
+
}, z.core.$strict>;
|
|
304
|
+
export declare const WorkflowDismissRequestV1Schema: z.ZodObject<{
|
|
305
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
306
|
+
captureId: z.ZodString;
|
|
307
|
+
}, z.core.$strict>;
|
|
308
|
+
export declare const WorkflowReadRequestV1Schema: z.ZodObject<{
|
|
309
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
310
|
+
watchOnly: z.ZodOptional<z.ZodLiteral<true>>;
|
|
311
|
+
sinceRevision: z.ZodOptional<z.ZodString>;
|
|
312
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
313
|
+
}, z.core.$strict>;
|
|
314
|
+
/** Conditional notification on the existing authenticated workflow channel; no prompt/result duplication on a quiet connection. */
|
|
315
|
+
export declare const WorkflowWatchResponseSchema: z.ZodObject<{
|
|
316
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
317
|
+
revision: z.ZodString;
|
|
318
|
+
changed: z.ZodBoolean;
|
|
319
|
+
observedAt: z.ZodString;
|
|
320
|
+
daemonVersion: z.ZodString;
|
|
321
|
+
}, z.core.$strict>;
|
|
322
|
+
declare const OperationOptionSchema: z.ZodObject<{
|
|
323
|
+
projectLabel: z.ZodOptional<z.ZodString>;
|
|
324
|
+
agentLabel: z.ZodOptional<z.ZodString>;
|
|
325
|
+
coding: z.ZodOptional<z.ZodBoolean>;
|
|
326
|
+
strictReady: z.ZodOptional<z.ZodBoolean>;
|
|
327
|
+
projectId: z.ZodString;
|
|
328
|
+
pluginId: z.ZodString;
|
|
329
|
+
operationId: z.ZodString;
|
|
330
|
+
effectClass: z.ZodEnum<{
|
|
331
|
+
read: "read";
|
|
332
|
+
write_project: "write_project";
|
|
333
|
+
external_network: "external_network";
|
|
334
|
+
destructive: "destructive";
|
|
335
|
+
}>;
|
|
336
|
+
consent: z.ZodEnum<{
|
|
337
|
+
RUN_CLICK: "RUN_CLICK";
|
|
338
|
+
LOCAL_CONFIRM: "LOCAL_CONFIRM";
|
|
339
|
+
}>;
|
|
340
|
+
expiresAt: z.ZodString;
|
|
341
|
+
}, z.core.$strict>;
|
|
342
|
+
export type OperationOptionV1 = z.infer<typeof OperationOptionSchema>;
|
|
343
|
+
export declare const WorkflowCurrentResponseV1Schema: z.ZodObject<{
|
|
344
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
345
|
+
daemonVersion: z.ZodOptional<z.ZodString>;
|
|
346
|
+
observedAt: z.ZodOptional<z.ZodString>;
|
|
347
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
348
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
349
|
+
projectLabel: z.ZodOptional<z.ZodString>;
|
|
350
|
+
agentLabel: z.ZodOptional<z.ZodString>;
|
|
351
|
+
coding: z.ZodOptional<z.ZodBoolean>;
|
|
352
|
+
strictReady: z.ZodOptional<z.ZodBoolean>;
|
|
353
|
+
projectId: z.ZodString;
|
|
354
|
+
pluginId: z.ZodString;
|
|
355
|
+
operationId: z.ZodString;
|
|
356
|
+
effectClass: z.ZodEnum<{
|
|
357
|
+
read: "read";
|
|
358
|
+
write_project: "write_project";
|
|
359
|
+
external_network: "external_network";
|
|
360
|
+
destructive: "destructive";
|
|
361
|
+
}>;
|
|
362
|
+
consent: z.ZodEnum<{
|
|
363
|
+
RUN_CLICK: "RUN_CLICK";
|
|
364
|
+
LOCAL_CONFIRM: "LOCAL_CONFIRM";
|
|
365
|
+
}>;
|
|
366
|
+
expiresAt: z.ZodString;
|
|
367
|
+
}, z.core.$strict>>;
|
|
368
|
+
preferred: z.ZodNullable<z.ZodObject<{
|
|
369
|
+
projectId: z.ZodString;
|
|
370
|
+
pluginId: z.ZodString;
|
|
371
|
+
operationId: z.ZodString;
|
|
372
|
+
}, z.core.$strict>>;
|
|
373
|
+
capture: z.ZodNullable<z.ZodObject<{
|
|
374
|
+
captureId: z.ZodString;
|
|
375
|
+
text: z.ZodString;
|
|
376
|
+
sha256: z.ZodString;
|
|
377
|
+
bytes: z.ZodNumber;
|
|
378
|
+
createdAt: z.ZodString;
|
|
379
|
+
expiresAt: z.ZodString;
|
|
380
|
+
state: z.ZodEnum<{
|
|
381
|
+
CAPTURED: "CAPTURED";
|
|
382
|
+
DISPATCHED: "DISPATCHED";
|
|
383
|
+
EXPIRED: "EXPIRED";
|
|
384
|
+
}>;
|
|
385
|
+
binding: z.ZodObject<{
|
|
386
|
+
tabId: z.ZodNumber;
|
|
387
|
+
windowId: z.ZodNumber;
|
|
388
|
+
frameId: z.ZodLiteral<0>;
|
|
389
|
+
documentId: z.ZodString;
|
|
390
|
+
nonce: z.ZodString;
|
|
391
|
+
sourceUrl: z.ZodString;
|
|
392
|
+
}, z.core.$strict>;
|
|
393
|
+
fidelity: z.ZodEnum<{
|
|
394
|
+
CAPTURED_RENDERED_TEXT: "CAPTURED_RENDERED_TEXT";
|
|
395
|
+
PASTED_PLAIN_TEXT: "PASTED_PLAIN_TEXT";
|
|
396
|
+
EDITED_TASK_TEXT: "EDITED_TASK_TEXT";
|
|
397
|
+
}>;
|
|
398
|
+
lineEndingsNormalized: z.ZodDefault<z.ZodNumber>;
|
|
399
|
+
}, z.core.$strict>>;
|
|
400
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
401
|
+
runId: z.ZodString;
|
|
402
|
+
lifecycleState: z.ZodEnum<{
|
|
403
|
+
CREATED: "CREATED";
|
|
404
|
+
AWAITING_USER_APPROVAL: "AWAITING_USER_APPROVAL";
|
|
405
|
+
QUEUED: "QUEUED";
|
|
406
|
+
STARTING: "STARTING";
|
|
407
|
+
RUNNING: "RUNNING";
|
|
408
|
+
WAITING_AGENT_APPROVAL: "WAITING_AGENT_APPROVAL";
|
|
409
|
+
CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
410
|
+
COMPLETED: "COMPLETED";
|
|
411
|
+
FAILED: "FAILED";
|
|
412
|
+
CANCELLED: "CANCELLED";
|
|
413
|
+
UNKNOWN: "UNKNOWN";
|
|
414
|
+
}>;
|
|
415
|
+
updatedAt: z.ZodString;
|
|
416
|
+
consent: z.ZodEnum<{
|
|
417
|
+
RUN_CLICK: "RUN_CLICK";
|
|
418
|
+
LOCAL_CONFIRM: "LOCAL_CONFIRM";
|
|
419
|
+
}>;
|
|
420
|
+
failure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
421
|
+
category: z.ZodEnum<{
|
|
422
|
+
CANCELLED: "CANCELLED";
|
|
423
|
+
EXECUTABLE_INVALID: "EXECUTABLE_INVALID";
|
|
424
|
+
AUTHENTICATION_FAILURE: "AUTHENTICATION_FAILURE";
|
|
425
|
+
AUTHORIZATION_FAILURE: "AUTHORIZATION_FAILURE";
|
|
426
|
+
NETWORK_OR_TLS_FAILURE: "NETWORK_OR_TLS_FAILURE";
|
|
427
|
+
PROVIDER_REJECTION: "PROVIDER_REJECTION";
|
|
428
|
+
RATE_OR_USAGE_LIMIT: "RATE_OR_USAGE_LIMIT";
|
|
429
|
+
SANDBOX_FAILURE: "SANDBOX_FAILURE";
|
|
430
|
+
PROCESS_START_FAILURE: "PROCESS_START_FAILURE";
|
|
431
|
+
PROCESS_EXIT_FAILURE: "PROCESS_EXIT_FAILURE";
|
|
432
|
+
TIMEOUT: "TIMEOUT";
|
|
433
|
+
EVENT_PROTOCOL_ERROR: "EVENT_PROTOCOL_ERROR";
|
|
434
|
+
UNKNOWN_OUTCOME: "UNKNOWN_OUTCOME";
|
|
435
|
+
UNCLASSIFIED_FAILURE: "UNCLASSIFIED_FAILURE";
|
|
436
|
+
}>;
|
|
437
|
+
basis: z.ZodEnum<{
|
|
438
|
+
OBSERVED_ERROR_TEXT: "OBSERVED_ERROR_TEXT";
|
|
439
|
+
OBSERVED_HOST_FACT: "OBSERVED_HOST_FACT";
|
|
440
|
+
INFERRED: "INFERRED";
|
|
441
|
+
NOT_DETERMINED: "NOT_DETERMINED";
|
|
442
|
+
}>;
|
|
443
|
+
causeDetermined: z.ZodBoolean;
|
|
444
|
+
correlationId: z.ZodString;
|
|
445
|
+
}, z.core.$strict>>>;
|
|
446
|
+
}, z.core.$strict>>;
|
|
447
|
+
ret: z.ZodNullable<z.ZodObject<{
|
|
448
|
+
returnId: z.ZodString;
|
|
449
|
+
sha256: z.ZodString;
|
|
450
|
+
bytes: z.ZodNumber;
|
|
451
|
+
text: z.ZodString;
|
|
452
|
+
state: z.ZodEnum<{
|
|
453
|
+
RETURN_READY: "RETURN_READY";
|
|
454
|
+
INSERTED_UNSENT: "INSERTED_UNSENT";
|
|
455
|
+
RETURN_STALE: "RETURN_STALE";
|
|
456
|
+
INSERT_FAILED: "INSERT_FAILED";
|
|
457
|
+
}>;
|
|
458
|
+
code: z.ZodNullable<z.ZodString>;
|
|
459
|
+
binding: z.ZodObject<{
|
|
460
|
+
tabId: z.ZodNumber;
|
|
461
|
+
windowId: z.ZodNumber;
|
|
462
|
+
frameId: z.ZodLiteral<0>;
|
|
463
|
+
documentId: z.ZodString;
|
|
464
|
+
nonce: z.ZodString;
|
|
465
|
+
sourceUrl: z.ZodString;
|
|
466
|
+
}, z.core.$strict>;
|
|
467
|
+
rebinds: z.ZodNumber;
|
|
468
|
+
}, z.core.$strict>>;
|
|
469
|
+
}, z.core.$strict>;
|
|
470
|
+
export type WorkflowCurrentResponseV1 = z.infer<typeof WorkflowCurrentResponseV1Schema>;
|
|
471
|
+
/** Workflow phases shown by the panel (C11). Derived, never stored. */
|
|
472
|
+
export declare const WORKFLOW_PHASES: readonly ["CONNECTING", "REPAIR", "NO_CAPTURE", "CAPTURED", "AWAITING_RISK_APPROVAL", "QUEUED", "RUNNING", "COMPLETED", "FAILED", "UNKNOWN", "CANCELLED", "RETURN_READY", "INSERTED_UNSENT", "RETURN_STALE", "INSERT_FAILED"];
|
|
473
|
+
export type WorkflowPhase = (typeof WORKFLOW_PHASES)[number];
|
|
474
|
+
/** SW-097: projections of existing C09 rows, never a second event store. */
|
|
475
|
+
export declare const ActivityRequestSchema: z.ZodObject<{
|
|
476
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
477
|
+
cursor: z.ZodString;
|
|
478
|
+
timeoutMs: z.ZodNumber;
|
|
479
|
+
}, z.core.$strict>;
|
|
480
|
+
export declare const ActivityEventSchema: z.ZodObject<{
|
|
481
|
+
id: z.ZodString;
|
|
482
|
+
ts: z.ZodString;
|
|
483
|
+
component: z.ZodEnum<{
|
|
484
|
+
C02: "C02";
|
|
485
|
+
C05: "C05";
|
|
486
|
+
C06: "C06";
|
|
487
|
+
C07: "C07";
|
|
488
|
+
}>;
|
|
489
|
+
severity: z.ZodEnum<{
|
|
490
|
+
INFO: "INFO";
|
|
491
|
+
WARN: "WARN";
|
|
492
|
+
ERROR: "ERROR";
|
|
493
|
+
}>;
|
|
494
|
+
status: z.ZodEnum<{
|
|
495
|
+
UNKNOWN: "UNKNOWN";
|
|
496
|
+
OBSERVED: "OBSERVED";
|
|
497
|
+
RECONSTRUCTED: "RECONSTRUCTED";
|
|
498
|
+
STALE: "STALE";
|
|
499
|
+
}>;
|
|
500
|
+
kind: z.ZodString;
|
|
501
|
+
summary: z.ZodString;
|
|
502
|
+
runId: z.ZodString;
|
|
503
|
+
}, z.core.$strict>;
|
|
504
|
+
export declare const ActivityResponseSchema: z.ZodObject<{
|
|
505
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
506
|
+
runId: z.ZodString;
|
|
507
|
+
cursor: z.ZodString;
|
|
508
|
+
collectedAt: z.ZodString;
|
|
509
|
+
daemonVersion: z.ZodString;
|
|
510
|
+
phase: z.ZodString;
|
|
511
|
+
startedAt: z.ZodString;
|
|
512
|
+
truncated: z.ZodBoolean;
|
|
513
|
+
events: z.ZodArray<z.ZodObject<{
|
|
514
|
+
id: z.ZodString;
|
|
515
|
+
ts: z.ZodString;
|
|
516
|
+
component: z.ZodEnum<{
|
|
517
|
+
C02: "C02";
|
|
518
|
+
C05: "C05";
|
|
519
|
+
C06: "C06";
|
|
520
|
+
C07: "C07";
|
|
521
|
+
}>;
|
|
522
|
+
severity: z.ZodEnum<{
|
|
523
|
+
INFO: "INFO";
|
|
524
|
+
WARN: "WARN";
|
|
525
|
+
ERROR: "ERROR";
|
|
526
|
+
}>;
|
|
527
|
+
status: z.ZodEnum<{
|
|
528
|
+
UNKNOWN: "UNKNOWN";
|
|
529
|
+
OBSERVED: "OBSERVED";
|
|
530
|
+
RECONSTRUCTED: "RECONSTRUCTED";
|
|
531
|
+
STALE: "STALE";
|
|
532
|
+
}>;
|
|
533
|
+
kind: z.ZodString;
|
|
534
|
+
summary: z.ZodString;
|
|
535
|
+
runId: z.ZodString;
|
|
536
|
+
}, z.core.$strict>>;
|
|
537
|
+
}, z.core.$strict>;
|
|
538
|
+
export type ActivityResponse = z.infer<typeof ActivityResponseSchema>;
|
|
539
|
+
export {};
|
|
540
|
+
//# sourceMappingURL=automation.d.ts.map
|