@spotpatch/shared 1.15.0 → 1.16.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/dist/{annotation-Cz-NNgR4.d.cts → annotation-eo_ltNRm.d.cts} +24 -1
- package/dist/{annotation-Cz-NNgR4.d.ts → annotation-eo_ltNRm.d.ts} +24 -1
- package/dist/{chunk-JTZFOTPT.js → chunk-7777QFBJ.js} +2 -2
- package/dist/{chunk-R3BQKCCY.js → chunk-D7R32NFF.js} +2 -2
- package/dist/{chunk-R6QJFNT2.js → chunk-FCY5V76A.js} +31 -1
- package/dist/chunk-FCY5V76A.js.map +1 -0
- package/dist/{contextual-ask-BbmHG3Z8.d.cts → contextual-ask-Dz3Mh9LR.d.cts} +105 -0
- package/dist/{contextual-ask-BbmHG3Z8.d.ts → contextual-ask-Dz3Mh9LR.d.ts} +105 -0
- package/dist/contextual-ask-browser.d.cts +1 -1
- package/dist/contextual-ask-browser.d.ts +1 -1
- package/dist/contextual-ask-node.cjs +24 -0
- package/dist/contextual-ask-node.cjs.map +1 -1
- package/dist/contextual-ask-node.d.cts +3 -3
- package/dist/contextual-ask-node.d.ts +3 -3
- package/dist/contextual-ask-node.js +2 -2
- package/dist/data-flow-runtime.d.cts +1 -1
- package/dist/data-flow-runtime.d.ts +1 -1
- package/dist/external-agent-node.cjs +26 -0
- package/dist/external-agent-node.cjs.map +1 -1
- package/dist/external-agent-node.d.cts +66 -36
- package/dist/external-agent-node.d.ts +66 -36
- package/dist/external-agent-node.js +2 -2
- package/dist/{external-handoff-BpoxbpPk.d.ts → external-handoff-BaPiKnYG.d.ts} +68 -38
- package/dist/{external-handoff-D1Ua2jIA.d.cts → external-handoff-ByHmcwWv.d.cts} +68 -38
- package/dist/external-handoff-browser.d.cts +3 -3
- package/dist/external-handoff-browser.d.ts +3 -3
- package/dist/index.cjs +34 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +76 -31
- package/dist/index.d.ts +76 -31
- package/dist/index.js +11 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-R6QJFNT2.js.map +0 -1
- package/dist/{chunk-JTZFOTPT.js.map → chunk-7777QFBJ.js.map} +0 -0
- package/dist/{chunk-R3BQKCCY.js.map → chunk-D7R32NFF.js.map} +0 -0
- package/dist/{data-flow-runtime-tyqGH1OS.d.ts → data-flow-runtime-DhWpQoik.d.ts} +8 -8
- package/dist/{data-flow-runtime-Bfm5LbHE.d.cts → data-flow-runtime-w43iwvGA.d.cts} +8 -8
- package/dist/{external-agent-control-yC4ToQXg.d.cts → external-agent-control-DKxQACUv.d.cts} +28 -28
- package/dist/{external-agent-control-yC4ToQXg.d.ts → external-agent-control-DKxQACUv.d.ts} +28 -28
package/dist/index.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { E as ErrorCode } from './error-code-DRz2eqcB.cjs';
|
|
2
2
|
export { C as CONTEXTUAL_ASK_ERROR_CODES, a as ContextualAskErrorCode, b as ERROR_CODES, c as ERROR_CODE_VALUES, i as isErrorCode } from './error-code-DRz2eqcB.cjs';
|
|
3
|
-
import { C as ContextBudget, b as SPOTPATCH_LOCALE_PREFERENCES, S as SpotAnnotation } from './annotation-
|
|
4
|
-
export { c as CodeContext, E as ElementContext, M as MAX_ANNOTATION_INSTRUCTION_CHARACTERS,
|
|
5
|
-
export { A as ASK_ANSWER_WARNING_CODES, a as ASK_EXECUTOR_ANSWER_WARNING_CODES, b as ASK_FILE_COUNT_BUCKETS, c as ASK_JOB_STATUSES, d as ASK_READ_ACTIVITY_STATES, e as ASK_SOURCE_CONFIDENCES, f as AskAnswerBlock, K as AskAnswerDraft, L as AskAnswerDraftBlock, g as AskAnswerResult, h as AskAnswerWarning, i as AskAnswerWarningCode, M as AskDraftCitation, j as AskDraftOrigin, k as AskExecutorAnswerWarningCode, l as AskFileCountBucket, m as AskJobActionRequest, n as AskJobCreateRequest, o as AskJobEvent, p as AskJobEventsRequest, q as AskJobResultResponse, r as AskJobSnapshot, s as AskJobStatus, t as AskReadActivityState, u as AskSourceConfidence, v as AskSourceReference, C as CONTEXTUAL_ASK_EXECUTOR_KINDS, w as CONTEXTUAL_ASK_EXECUTOR_STATES, x as CONTEXTUAL_ASK_LIMITS, N as CONTEXTUAL_ASK_PERMISSION_PROFILE, y as CONTEXTUAL_ASK_SCHEMA_VERSION, z as ContextualAskCapability, B as ContextualAskCapabilityRequest, D as ContextualAskExecutorCapability, E as ContextualAskExecutorKind, O as ContextualAskExecutorPreference, F as ContextualAskExecutorState, P as ContextualAskOptions, S as SpotAskTaskEnvelope, G as SpotChangeTaskEnvelope, H as SpotSelectionContext, I as SpotSelectionTarget, J as SpotTaskEnvelope, Q as askAnswerBlockSchema, R as askAnswerDraftBlockSchema, T as askAnswerDraftSchema, U as askAnswerResultSchema, V as askAnswerWarningSchema, W as askDraftCitationSchema, X as askDraftOriginSchema, Y as askJobActionRequestSchema, Z as askJobCreateRequestSchema, _ as askJobEventSchema, $ as askJobEventsRequestSchema, a0 as askJobResultResponseSchema, a1 as askJobSnapshotSchema, a2 as askSourceReferenceSchema, a3 as contextualAskCapabilityRequestSchema, a4 as contextualAskCapabilitySchema, a5 as contextualAskExecutorCapabilitySchema, a6 as contextualAskExecutorPreferenceSchema, a7 as contextualAskOptionsSchema, a8 as spotAskTaskEnvelopeSchema, a9 as spotChangeTaskEnvelopeSchema, aa as spotSelectionContextSchema, ab as spotSelectionTargetSchema, ac as spotTaskEnvelopeSchema } from './contextual-ask-
|
|
6
|
-
import { R as ReportCompleteness, C as ComponentDataFlowReport, P as PageDataFlowReport, a as RuntimeDataFlowConfig } from './data-flow-runtime-
|
|
7
|
-
export { A as AnalysisBaseline, b as AssociationKind, c as ComponentIdentity, D as DATA_FLOW_ASSOCIATION_KINDS, d as DATA_FLOW_DIAGNOSTIC_CODES, e as DATA_FLOW_EXECUTION_STATES, f as DATA_FLOW_FRESHNESS_STATES, g as DATA_FLOW_PROOF_STATES, h as DATA_FLOW_SCHEMA_VERSION, i as DATA_FLOW_URL_QUERY_KEY_LIMIT, j as DEFAULT_DATA_FLOW_LIMITS, k as DEFAULT_RUNTIME_DATA_FLOW_LIMITS, l as DataDependency, m as DataFlowCapability, n as DataFlowCapabilityReason, o as DataFlowDiagnostic, p as DataFlowDiagnosticCode, q as DataFlowLimits, r as DataParameter, s as DataResponseDescriptor, E as EvidenceRef, t as EvidenceSourceRef, u as ExecutionState, F as FreshnessState, N as NetworkObservation, v as ProofState, w as RequestOrigin, x as RuntimeDataFlowLimits, S as SanitizedObservedUrl, y as componentDataFlowReportSchema, z as dataDependencySchema, B as networkObservationSchema, G as pageDataFlowReportSchema, H as runtimeDataFlowConfigSchema } from './data-flow-runtime-
|
|
3
|
+
import { C as ContextBudget, b as SPOTPATCH_LOCALE_PREFERENCES, S as SpotAnnotation } from './annotation-eo_ltNRm.cjs';
|
|
4
|
+
export { c as CodeContext, E as ELEMENT_INSTANCE_HINT_ATTRIBUTE, d as ELEMENT_INSTANCE_LIMITS, e as ELEMENT_INSTANCE_STATES, f as ElementContext, g as ElementInstanceContext, I as INSTANCE_SELECTION_INSTRUCTIONS, M as MAX_ANNOTATION_INSTRUCTION_CHARACTERS, h as MAX_ANNOTATION_TARGETS, i as MAX_TARGET_INSTRUCTION_CHARACTERS, j as MatchedStyleRule, P as PageContext, R as ReactContext, k as SPOTPATCH_LOCALES, l as SourceConfidence, m as SourceOrigin, n as SourceRef, a as SpotPatchLocale, o as SpotPatchLocalePreference, p as SpotTargetContext, q as StyleContext } from './annotation-eo_ltNRm.cjs';
|
|
5
|
+
export { A as ASK_ANSWER_WARNING_CODES, a as ASK_EXECUTOR_ANSWER_WARNING_CODES, b as ASK_FILE_COUNT_BUCKETS, c as ASK_JOB_STATUSES, d as ASK_READ_ACTIVITY_STATES, e as ASK_SOURCE_CONFIDENCES, f as AskAnswerBlock, K as AskAnswerDraft, L as AskAnswerDraftBlock, g as AskAnswerResult, h as AskAnswerWarning, i as AskAnswerWarningCode, M as AskDraftCitation, j as AskDraftOrigin, k as AskExecutorAnswerWarningCode, l as AskFileCountBucket, m as AskJobActionRequest, n as AskJobCreateRequest, o as AskJobEvent, p as AskJobEventsRequest, q as AskJobResultResponse, r as AskJobSnapshot, s as AskJobStatus, t as AskReadActivityState, u as AskSourceConfidence, v as AskSourceReference, C as CONTEXTUAL_ASK_EXECUTOR_KINDS, w as CONTEXTUAL_ASK_EXECUTOR_STATES, x as CONTEXTUAL_ASK_LIMITS, N as CONTEXTUAL_ASK_PERMISSION_PROFILE, y as CONTEXTUAL_ASK_SCHEMA_VERSION, z as ContextualAskCapability, B as ContextualAskCapabilityRequest, D as ContextualAskExecutorCapability, E as ContextualAskExecutorKind, O as ContextualAskExecutorPreference, F as ContextualAskExecutorState, P as ContextualAskOptions, S as SpotAskTaskEnvelope, G as SpotChangeTaskEnvelope, H as SpotSelectionContext, I as SpotSelectionTarget, J as SpotTaskEnvelope, Q as askAnswerBlockSchema, R as askAnswerDraftBlockSchema, T as askAnswerDraftSchema, U as askAnswerResultSchema, V as askAnswerWarningSchema, W as askDraftCitationSchema, X as askDraftOriginSchema, Y as askJobActionRequestSchema, Z as askJobCreateRequestSchema, _ as askJobEventSchema, $ as askJobEventsRequestSchema, a0 as askJobResultResponseSchema, a1 as askJobSnapshotSchema, a2 as askSourceReferenceSchema, a3 as contextualAskCapabilityRequestSchema, a4 as contextualAskCapabilitySchema, a5 as contextualAskExecutorCapabilitySchema, a6 as contextualAskExecutorPreferenceSchema, a7 as contextualAskOptionsSchema, a8 as spotAskTaskEnvelopeSchema, a9 as spotChangeTaskEnvelopeSchema, aa as spotSelectionContextSchema, ab as spotSelectionTargetSchema, ac as spotTaskEnvelopeSchema } from './contextual-ask-Dz3Mh9LR.cjs';
|
|
6
|
+
import { R as ReportCompleteness, C as ComponentDataFlowReport, P as PageDataFlowReport, a as RuntimeDataFlowConfig } from './data-flow-runtime-w43iwvGA.cjs';
|
|
7
|
+
export { A as AnalysisBaseline, b as AssociationKind, c as ComponentIdentity, D as DATA_FLOW_ASSOCIATION_KINDS, d as DATA_FLOW_DIAGNOSTIC_CODES, e as DATA_FLOW_EXECUTION_STATES, f as DATA_FLOW_FRESHNESS_STATES, g as DATA_FLOW_PROOF_STATES, h as DATA_FLOW_SCHEMA_VERSION, i as DATA_FLOW_URL_QUERY_KEY_LIMIT, j as DEFAULT_DATA_FLOW_LIMITS, k as DEFAULT_RUNTIME_DATA_FLOW_LIMITS, l as DataDependency, m as DataFlowCapability, n as DataFlowCapabilityReason, o as DataFlowDiagnostic, p as DataFlowDiagnosticCode, q as DataFlowLimits, r as DataParameter, s as DataResponseDescriptor, E as EvidenceRef, t as EvidenceSourceRef, u as ExecutionState, F as FreshnessState, N as NetworkObservation, v as ProofState, w as RequestOrigin, x as RuntimeDataFlowLimits, S as SanitizedObservedUrl, y as componentDataFlowReportSchema, z as dataDependencySchema, B as networkObservationSchema, G as pageDataFlowReportSchema, H as runtimeDataFlowConfigSchema } from './data-flow-runtime-w43iwvGA.cjs';
|
|
8
8
|
import { z } from 'zod';
|
|
9
9
|
import { b as SPOTPATCH_API_BASE } from './endpoints-O3ohYyAo.cjs';
|
|
10
10
|
export { c as AgentJobAction, A as AskJobAction, S as SPOTPATCH_ENDPOINTS, a as SPOTPATCH_TOKEN_HEADER, d as getAgentJobEndpoint, g as getAskJobEndpoint } from './endpoints-O3ohYyAo.cjs';
|
|
11
|
-
export { k as EXTERNAL_AGENT_ACTIONS, l as EXTERNAL_AGENT_AUTH_READINESS, m as EXTERNAL_AGENT_CONNECTION_STATES, n as EXTERNAL_AGENT_CONTROL_LIMITS, o as EXTERNAL_AGENT_CONTROL_SCHEMA_VERSION, p as EXTERNAL_AGENT_DELIVERY_STATUSES, q as EXTERNAL_AGENT_ERROR_CODES, r as EXTERNAL_AGENT_ERROR_RECOVERABILITY, s as EXTERNAL_AGENT_ERROR_STAGES, t as EXTERNAL_AGENT_EXECUTION_STATUSES, u as EXTERNAL_AGENT_GRANT_STATES, v as EXTERNAL_AGENT_MANAGED_ADAPTER_KINDS, w as EXTERNAL_AGENT_MANAGED_PHASES, x as EXTERNAL_AGENT_MANAGED_PROFILE, y as EXTERNAL_AGENT_MODES, z as EXTERNAL_AGENT_VALIDATION_OUTCOMES, E as ExternalAgentAction, a as ExternalAgentConnectionState, b as ExternalAgentControlCancelRequest, c as ExternalAgentControlConnectRequest, d as ExternalAgentControlDisconnectRequest, e as ExternalAgentControlStatus, f as ExternalAgentErrorCode, g as ExternalAgentEvent, h as ExternalAgentEventsRequest, i as ExternalAgentManagedResult, j as ExternalAgentResultRequest, A as externalAgentControlCancelRequestSchema, B as externalAgentControlConnectRequestSchema, C as externalAgentControlDisconnectRequestSchema, D as externalAgentControlStatusRequestSchema, F as externalAgentControlStatusSchema, G as externalAgentErrorSchema, H as externalAgentEventSchema, I as externalAgentEventsRequestSchema, J as externalAgentManagedResultSchema, K as externalAgentResultRequestSchema, L as managedCheckSummarySchema, M as managedFileSummarySchema, N as managedTaskStatusSchema, O as managedTimingSummarySchema } from './external-agent-control-
|
|
12
|
-
export { A as ActiveAdapterSummary, D as DispatchSummary, b as EXTERNAL_HANDOFF_ACTIVE_ADAPTER_KINDS, c as EXTERNAL_HANDOFF_ACTIVE_ADAPTER_STATES, d as EXTERNAL_HANDOFF_BROKER_PROTOCOL_VERSION, e as EXTERNAL_HANDOFF_DISPATCH_PHASES, f as EXTERNAL_HANDOFF_FRAMEWORKS, E as EXTERNAL_HANDOFF_LIMITS, g as EXTERNAL_HANDOFF_REPORTABLE_DISPATCH_PHASES, h as EXTERNAL_HANDOFF_SNAPSHOT_SCHEMA_VERSION, i as EXTERNAL_HANDOFF_STATES, j as ExternalHandoffActiveAdapterKind, k as ExternalHandoffActiveAdapterState, l as ExternalHandoffCapability, m as ExternalHandoffDispatchPhase, n as ExternalHandoffFramework, o as ExternalHandoffPublishDelivery, p as ExternalHandoffPublishRequest, q as ExternalHandoffPublishResult, r as ExternalHandoffReportableDispatchPhase, s as ExternalHandoffResolveDeliveryRequest, a as ExternalHandoffSnapshot, t as ExternalHandoffState, u as ExternalHandoffStatusRequest, v as ExternalHandoffStatusResult, w as ExternalHandoffSummary, x as activeAdapterSummarySchema, y as dispatchSummarySchema, z as externalHandoffCapabilityRequestSchema, B as externalHandoffCapabilitySchema, C as externalHandoffPublishDeliverySchema, F as externalHandoffPublishRequestSchema, G as externalHandoffPublishResultSchema, H as externalHandoffReportableDispatchPhaseSchema, I as externalHandoffResolveDeliveryRequestSchema, J as externalHandoffSnapshotSchema, K as externalHandoffStatusRequestSchema, L as externalHandoffStatusResultSchema, M as externalHandoffSummarySchema } from './external-handoff-
|
|
11
|
+
export { k as EXTERNAL_AGENT_ACTIONS, l as EXTERNAL_AGENT_AUTH_READINESS, m as EXTERNAL_AGENT_CONNECTION_STATES, n as EXTERNAL_AGENT_CONTROL_LIMITS, o as EXTERNAL_AGENT_CONTROL_SCHEMA_VERSION, p as EXTERNAL_AGENT_DELIVERY_STATUSES, q as EXTERNAL_AGENT_ERROR_CODES, r as EXTERNAL_AGENT_ERROR_RECOVERABILITY, s as EXTERNAL_AGENT_ERROR_STAGES, t as EXTERNAL_AGENT_EXECUTION_STATUSES, u as EXTERNAL_AGENT_GRANT_STATES, v as EXTERNAL_AGENT_MANAGED_ADAPTER_KINDS, w as EXTERNAL_AGENT_MANAGED_PHASES, x as EXTERNAL_AGENT_MANAGED_PROFILE, y as EXTERNAL_AGENT_MODES, z as EXTERNAL_AGENT_VALIDATION_OUTCOMES, E as ExternalAgentAction, a as ExternalAgentConnectionState, b as ExternalAgentControlCancelRequest, c as ExternalAgentControlConnectRequest, d as ExternalAgentControlDisconnectRequest, e as ExternalAgentControlStatus, f as ExternalAgentErrorCode, g as ExternalAgentEvent, h as ExternalAgentEventsRequest, i as ExternalAgentManagedResult, j as ExternalAgentResultRequest, A as externalAgentControlCancelRequestSchema, B as externalAgentControlConnectRequestSchema, C as externalAgentControlDisconnectRequestSchema, D as externalAgentControlStatusRequestSchema, F as externalAgentControlStatusSchema, G as externalAgentErrorSchema, H as externalAgentEventSchema, I as externalAgentEventsRequestSchema, J as externalAgentManagedResultSchema, K as externalAgentResultRequestSchema, L as managedCheckSummarySchema, M as managedFileSummarySchema, N as managedTaskStatusSchema, O as managedTimingSummarySchema } from './external-agent-control-DKxQACUv.cjs';
|
|
12
|
+
export { A as ActiveAdapterSummary, D as DispatchSummary, b as EXTERNAL_HANDOFF_ACTIVE_ADAPTER_KINDS, c as EXTERNAL_HANDOFF_ACTIVE_ADAPTER_STATES, d as EXTERNAL_HANDOFF_BROKER_PROTOCOL_VERSION, e as EXTERNAL_HANDOFF_DISPATCH_PHASES, f as EXTERNAL_HANDOFF_FRAMEWORKS, E as EXTERNAL_HANDOFF_LIMITS, g as EXTERNAL_HANDOFF_REPORTABLE_DISPATCH_PHASES, h as EXTERNAL_HANDOFF_SNAPSHOT_SCHEMA_VERSION, i as EXTERNAL_HANDOFF_STATES, j as ExternalHandoffActiveAdapterKind, k as ExternalHandoffActiveAdapterState, l as ExternalHandoffCapability, m as ExternalHandoffDispatchPhase, n as ExternalHandoffFramework, o as ExternalHandoffPublishDelivery, p as ExternalHandoffPublishRequest, q as ExternalHandoffPublishResult, r as ExternalHandoffReportableDispatchPhase, s as ExternalHandoffResolveDeliveryRequest, a as ExternalHandoffSnapshot, t as ExternalHandoffState, u as ExternalHandoffStatusRequest, v as ExternalHandoffStatusResult, w as ExternalHandoffSummary, x as activeAdapterSummarySchema, y as dispatchSummarySchema, z as externalHandoffCapabilityRequestSchema, B as externalHandoffCapabilitySchema, C as externalHandoffPublishDeliverySchema, F as externalHandoffPublishRequestSchema, G as externalHandoffPublishResultSchema, H as externalHandoffReportableDispatchPhaseSchema, I as externalHandoffResolveDeliveryRequestSchema, J as externalHandoffSnapshotSchema, K as externalHandoffStatusRequestSchema, L as externalHandoffStatusResultSchema, M as externalHandoffSummarySchema } from './external-handoff-ByHmcwWv.cjs';
|
|
13
13
|
|
|
14
14
|
declare class SpotPatchError extends Error {
|
|
15
15
|
readonly code: ErrorCode;
|
|
@@ -353,6 +353,21 @@ declare const spotTargetContextSchema: z.ZodObject<{
|
|
|
353
353
|
}, z.core.$strict>>;
|
|
354
354
|
}, z.core.$strict>;
|
|
355
355
|
element: z.ZodObject<{
|
|
356
|
+
instance: z.ZodOptional<z.ZodObject<{
|
|
357
|
+
id: z.ZodString;
|
|
358
|
+
state: z.ZodEnum<{
|
|
359
|
+
captured: "captured";
|
|
360
|
+
changed: "changed";
|
|
361
|
+
detached: "detached";
|
|
362
|
+
restored: "restored";
|
|
363
|
+
}>;
|
|
364
|
+
selectorStatus: z.ZodEnum<{
|
|
365
|
+
unavailable: "unavailable";
|
|
366
|
+
"unique-at-capture": "unique-at-capture";
|
|
367
|
+
}>;
|
|
368
|
+
label: z.ZodString;
|
|
369
|
+
context: z.ZodString;
|
|
370
|
+
}, z.core.$strict>>;
|
|
356
371
|
tagName: z.ZodString;
|
|
357
372
|
selector: z.ZodString;
|
|
358
373
|
sanitizedHtml: z.ZodString;
|
|
@@ -466,6 +481,21 @@ declare const spotAnnotationSchema: z.ZodObject<{
|
|
|
466
481
|
}, z.core.$strict>>;
|
|
467
482
|
}, z.core.$strict>;
|
|
468
483
|
element: z.ZodObject<{
|
|
484
|
+
instance: z.ZodOptional<z.ZodObject<{
|
|
485
|
+
id: z.ZodString;
|
|
486
|
+
state: z.ZodEnum<{
|
|
487
|
+
captured: "captured";
|
|
488
|
+
changed: "changed";
|
|
489
|
+
detached: "detached";
|
|
490
|
+
restored: "restored";
|
|
491
|
+
}>;
|
|
492
|
+
selectorStatus: z.ZodEnum<{
|
|
493
|
+
unavailable: "unavailable";
|
|
494
|
+
"unique-at-capture": "unique-at-capture";
|
|
495
|
+
}>;
|
|
496
|
+
label: z.ZodString;
|
|
497
|
+
context: z.ZodString;
|
|
498
|
+
}, z.core.$strict>>;
|
|
469
499
|
tagName: z.ZodString;
|
|
470
500
|
selector: z.ZodString;
|
|
471
501
|
sanitizedHtml: z.ZodString;
|
|
@@ -625,6 +655,21 @@ declare const agentJobCreateRequestSchema: z.ZodObject<{
|
|
|
625
655
|
}, z.core.$strict>>;
|
|
626
656
|
}, z.core.$strict>;
|
|
627
657
|
element: z.ZodObject<{
|
|
658
|
+
instance: z.ZodOptional<z.ZodObject<{
|
|
659
|
+
id: z.ZodString;
|
|
660
|
+
state: z.ZodEnum<{
|
|
661
|
+
captured: "captured";
|
|
662
|
+
changed: "changed";
|
|
663
|
+
detached: "detached";
|
|
664
|
+
restored: "restored";
|
|
665
|
+
}>;
|
|
666
|
+
selectorStatus: z.ZodEnum<{
|
|
667
|
+
"unique-at-capture": "unique-at-capture";
|
|
668
|
+
unavailable: "unavailable";
|
|
669
|
+
}>;
|
|
670
|
+
label: z.ZodString;
|
|
671
|
+
context: z.ZodString;
|
|
672
|
+
}, z.core.$strict>>;
|
|
628
673
|
tagName: z.ZodString;
|
|
629
674
|
selector: z.ZodString;
|
|
630
675
|
sanitizedHtml: z.ZodString;
|
|
@@ -652,9 +697,9 @@ declare const agentJobCreateRequestSchema: z.ZodObject<{
|
|
|
652
697
|
code: z.ZodOptional<z.ZodObject<{
|
|
653
698
|
relativePath: z.ZodString;
|
|
654
699
|
language: z.ZodEnum<{
|
|
655
|
-
astro: "astro";
|
|
656
700
|
tsx: "tsx";
|
|
657
701
|
jsx: "jsx";
|
|
702
|
+
astro: "astro";
|
|
658
703
|
}>;
|
|
659
704
|
startLine: z.ZodNumber;
|
|
660
705
|
endLine: z.ZodNumber;
|
|
@@ -826,8 +871,8 @@ declare const agentCapabilitySnapshotSchema: z.ZodObject<{
|
|
|
826
871
|
declare const agentWorkspaceHealthSnapshotSchema: z.ZodObject<{
|
|
827
872
|
state: z.ZodEnum<{
|
|
828
873
|
ready: "ready";
|
|
829
|
-
blocked: "blocked";
|
|
830
874
|
"consent-required": "consent-required";
|
|
875
|
+
blocked: "blocked";
|
|
831
876
|
}>;
|
|
832
877
|
checkedAt: z.ZodISODateTime;
|
|
833
878
|
changes: z.ZodObject<{
|
|
@@ -909,8 +954,8 @@ declare const agentCheckResultSchema: z.ZodObject<{
|
|
|
909
954
|
checkId: z.ZodString;
|
|
910
955
|
label: z.ZodString;
|
|
911
956
|
status: z.ZodEnum<{
|
|
912
|
-
failed: "failed";
|
|
913
957
|
cancelled: "cancelled";
|
|
958
|
+
failed: "failed";
|
|
914
959
|
passed: "passed";
|
|
915
960
|
"timed-out": "timed-out";
|
|
916
961
|
}>;
|
|
@@ -920,17 +965,17 @@ declare const agentCheckResultSchema: z.ZodObject<{
|
|
|
920
965
|
declare const agentJobSnapshotSchema: z.ZodObject<{
|
|
921
966
|
jobId: z.ZodString;
|
|
922
967
|
status: z.ZodEnum<{
|
|
923
|
-
completed: "completed";
|
|
924
|
-
failed: "failed";
|
|
925
968
|
queued: "queued";
|
|
926
969
|
running: "running";
|
|
927
970
|
cancelling: "cancelling";
|
|
928
971
|
cancelled: "cancelled";
|
|
972
|
+
failed: "failed";
|
|
929
973
|
preparing: "preparing";
|
|
930
974
|
validating: "validating";
|
|
931
975
|
"awaiting-review": "awaiting-review";
|
|
932
976
|
applying: "applying";
|
|
933
977
|
applied: "applied";
|
|
978
|
+
completed: "completed";
|
|
934
979
|
reverting: "reverting";
|
|
935
980
|
reverted: "reverted";
|
|
936
981
|
}>;
|
|
@@ -1019,8 +1064,8 @@ declare const agentJobResultSchema: z.ZodObject<{
|
|
|
1019
1064
|
checkId: z.ZodString;
|
|
1020
1065
|
label: z.ZodString;
|
|
1021
1066
|
status: z.ZodEnum<{
|
|
1022
|
-
failed: "failed";
|
|
1023
1067
|
cancelled: "cancelled";
|
|
1068
|
+
failed: "failed";
|
|
1024
1069
|
passed: "passed";
|
|
1025
1070
|
"timed-out": "timed-out";
|
|
1026
1071
|
}>;
|
|
@@ -1032,17 +1077,17 @@ declare const agentJobResultResponseSchema: z.ZodObject<{
|
|
|
1032
1077
|
snapshot: z.ZodObject<{
|
|
1033
1078
|
jobId: z.ZodString;
|
|
1034
1079
|
status: z.ZodEnum<{
|
|
1035
|
-
completed: "completed";
|
|
1036
|
-
failed: "failed";
|
|
1037
1080
|
queued: "queued";
|
|
1038
1081
|
running: "running";
|
|
1039
1082
|
cancelling: "cancelling";
|
|
1040
1083
|
cancelled: "cancelled";
|
|
1084
|
+
failed: "failed";
|
|
1041
1085
|
preparing: "preparing";
|
|
1042
1086
|
validating: "validating";
|
|
1043
1087
|
"awaiting-review": "awaiting-review";
|
|
1044
1088
|
applying: "applying";
|
|
1045
1089
|
applied: "applied";
|
|
1090
|
+
completed: "completed";
|
|
1046
1091
|
reverting: "reverting";
|
|
1047
1092
|
reverted: "reverted";
|
|
1048
1093
|
}>;
|
|
@@ -1131,8 +1176,8 @@ declare const agentJobResultResponseSchema: z.ZodObject<{
|
|
|
1131
1176
|
checkId: z.ZodString;
|
|
1132
1177
|
label: z.ZodString;
|
|
1133
1178
|
status: z.ZodEnum<{
|
|
1134
|
-
failed: "failed";
|
|
1135
1179
|
cancelled: "cancelled";
|
|
1180
|
+
failed: "failed";
|
|
1136
1181
|
passed: "passed";
|
|
1137
1182
|
"timed-out": "timed-out";
|
|
1138
1183
|
}>;
|
|
@@ -1146,17 +1191,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1146
1191
|
sequence: z.ZodNumber;
|
|
1147
1192
|
jobId: z.ZodString;
|
|
1148
1193
|
status: z.ZodEnum<{
|
|
1149
|
-
completed: "completed";
|
|
1150
|
-
failed: "failed";
|
|
1151
1194
|
queued: "queued";
|
|
1152
1195
|
running: "running";
|
|
1153
1196
|
cancelling: "cancelling";
|
|
1154
1197
|
cancelled: "cancelled";
|
|
1198
|
+
failed: "failed";
|
|
1155
1199
|
preparing: "preparing";
|
|
1156
1200
|
validating: "validating";
|
|
1157
1201
|
"awaiting-review": "awaiting-review";
|
|
1158
1202
|
applying: "applying";
|
|
1159
1203
|
applied: "applied";
|
|
1204
|
+
completed: "completed";
|
|
1160
1205
|
reverting: "reverting";
|
|
1161
1206
|
reverted: "reverted";
|
|
1162
1207
|
}>;
|
|
@@ -1166,17 +1211,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1166
1211
|
snapshot: z.ZodObject<{
|
|
1167
1212
|
jobId: z.ZodString;
|
|
1168
1213
|
status: z.ZodEnum<{
|
|
1169
|
-
completed: "completed";
|
|
1170
|
-
failed: "failed";
|
|
1171
1214
|
queued: "queued";
|
|
1172
1215
|
running: "running";
|
|
1173
1216
|
cancelling: "cancelling";
|
|
1174
1217
|
cancelled: "cancelled";
|
|
1218
|
+
failed: "failed";
|
|
1175
1219
|
preparing: "preparing";
|
|
1176
1220
|
validating: "validating";
|
|
1177
1221
|
"awaiting-review": "awaiting-review";
|
|
1178
1222
|
applying: "applying";
|
|
1179
1223
|
applied: "applied";
|
|
1224
|
+
completed: "completed";
|
|
1180
1225
|
reverting: "reverting";
|
|
1181
1226
|
reverted: "reverted";
|
|
1182
1227
|
}>;
|
|
@@ -1253,17 +1298,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1253
1298
|
sequence: z.ZodNumber;
|
|
1254
1299
|
jobId: z.ZodString;
|
|
1255
1300
|
status: z.ZodEnum<{
|
|
1256
|
-
completed: "completed";
|
|
1257
|
-
failed: "failed";
|
|
1258
1301
|
queued: "queued";
|
|
1259
1302
|
running: "running";
|
|
1260
1303
|
cancelling: "cancelling";
|
|
1261
1304
|
cancelled: "cancelled";
|
|
1305
|
+
failed: "failed";
|
|
1262
1306
|
preparing: "preparing";
|
|
1263
1307
|
validating: "validating";
|
|
1264
1308
|
"awaiting-review": "awaiting-review";
|
|
1265
1309
|
applying: "applying";
|
|
1266
1310
|
applied: "applied";
|
|
1311
|
+
completed: "completed";
|
|
1267
1312
|
reverting: "reverting";
|
|
1268
1313
|
reverted: "reverted";
|
|
1269
1314
|
}>;
|
|
@@ -1277,17 +1322,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1277
1322
|
sequence: z.ZodNumber;
|
|
1278
1323
|
jobId: z.ZodString;
|
|
1279
1324
|
status: z.ZodEnum<{
|
|
1280
|
-
completed: "completed";
|
|
1281
|
-
failed: "failed";
|
|
1282
1325
|
queued: "queued";
|
|
1283
1326
|
running: "running";
|
|
1284
1327
|
cancelling: "cancelling";
|
|
1285
1328
|
cancelled: "cancelled";
|
|
1329
|
+
failed: "failed";
|
|
1286
1330
|
preparing: "preparing";
|
|
1287
1331
|
validating: "validating";
|
|
1288
1332
|
"awaiting-review": "awaiting-review";
|
|
1289
1333
|
applying: "applying";
|
|
1290
1334
|
applied: "applied";
|
|
1335
|
+
completed: "completed";
|
|
1291
1336
|
reverting: "reverting";
|
|
1292
1337
|
reverted: "reverted";
|
|
1293
1338
|
}>;
|
|
@@ -1310,17 +1355,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1310
1355
|
sequence: z.ZodNumber;
|
|
1311
1356
|
jobId: z.ZodString;
|
|
1312
1357
|
status: z.ZodEnum<{
|
|
1313
|
-
completed: "completed";
|
|
1314
|
-
failed: "failed";
|
|
1315
1358
|
queued: "queued";
|
|
1316
1359
|
running: "running";
|
|
1317
1360
|
cancelling: "cancelling";
|
|
1318
1361
|
cancelled: "cancelled";
|
|
1362
|
+
failed: "failed";
|
|
1319
1363
|
preparing: "preparing";
|
|
1320
1364
|
validating: "validating";
|
|
1321
1365
|
"awaiting-review": "awaiting-review";
|
|
1322
1366
|
applying: "applying";
|
|
1323
1367
|
applied: "applied";
|
|
1368
|
+
completed: "completed";
|
|
1324
1369
|
reverting: "reverting";
|
|
1325
1370
|
reverted: "reverted";
|
|
1326
1371
|
}>;
|
|
@@ -1331,8 +1376,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1331
1376
|
checkId: z.ZodString;
|
|
1332
1377
|
label: z.ZodString;
|
|
1333
1378
|
status: z.ZodEnum<{
|
|
1334
|
-
failed: "failed";
|
|
1335
1379
|
cancelled: "cancelled";
|
|
1380
|
+
failed: "failed";
|
|
1336
1381
|
passed: "passed";
|
|
1337
1382
|
"timed-out": "timed-out";
|
|
1338
1383
|
}>;
|
|
@@ -1345,17 +1390,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1345
1390
|
sequence: z.ZodNumber;
|
|
1346
1391
|
jobId: z.ZodString;
|
|
1347
1392
|
status: z.ZodEnum<{
|
|
1348
|
-
completed: "completed";
|
|
1349
|
-
failed: "failed";
|
|
1350
1393
|
queued: "queued";
|
|
1351
1394
|
running: "running";
|
|
1352
1395
|
cancelling: "cancelling";
|
|
1353
1396
|
cancelled: "cancelled";
|
|
1397
|
+
failed: "failed";
|
|
1354
1398
|
preparing: "preparing";
|
|
1355
1399
|
validating: "validating";
|
|
1356
1400
|
"awaiting-review": "awaiting-review";
|
|
1357
1401
|
applying: "applying";
|
|
1358
1402
|
applied: "applied";
|
|
1403
|
+
completed: "completed";
|
|
1359
1404
|
reverting: "reverting";
|
|
1360
1405
|
reverted: "reverted";
|
|
1361
1406
|
}>;
|
|
@@ -1369,17 +1414,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1369
1414
|
sequence: z.ZodNumber;
|
|
1370
1415
|
jobId: z.ZodString;
|
|
1371
1416
|
status: z.ZodEnum<{
|
|
1372
|
-
completed: "completed";
|
|
1373
|
-
failed: "failed";
|
|
1374
1417
|
queued: "queued";
|
|
1375
1418
|
running: "running";
|
|
1376
1419
|
cancelling: "cancelling";
|
|
1377
1420
|
cancelled: "cancelled";
|
|
1421
|
+
failed: "failed";
|
|
1378
1422
|
preparing: "preparing";
|
|
1379
1423
|
validating: "validating";
|
|
1380
1424
|
"awaiting-review": "awaiting-review";
|
|
1381
1425
|
applying: "applying";
|
|
1382
1426
|
applied: "applied";
|
|
1427
|
+
completed: "completed";
|
|
1383
1428
|
reverting: "reverting";
|
|
1384
1429
|
reverted: "reverted";
|
|
1385
1430
|
}>;
|