@spotpatch/shared 1.14.3 → 1.15.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/{chunk-CLQ6MIJB.js → chunk-R3BQKCCY.js} +4 -3
- package/dist/chunk-R3BQKCCY.js.map +1 -0
- package/dist/{chunk-EWJTKNL4.js → chunk-RWFGFW4N.js} +3 -2
- package/dist/chunk-RWFGFW4N.js.map +1 -0
- package/dist/{contextual-ask-BpbkpFFf.d.cts → contextual-ask-BbmHG3Z8.d.cts} +12 -1
- package/dist/{contextual-ask-BpbkpFFf.d.ts → contextual-ask-BbmHG3Z8.d.ts} +12 -1
- package/dist/contextual-ask-browser.cjs +2 -1
- package/dist/contextual-ask-browser.cjs.map +1 -1
- package/dist/contextual-ask-browser.d.cts +1 -1
- package/dist/contextual-ask-browser.d.ts +1 -1
- package/dist/contextual-ask-browser.js +1 -1
- package/dist/contextual-ask-node.cjs +4 -2
- package/dist/contextual-ask-node.cjs.map +1 -1
- package/dist/contextual-ask-node.d.cts +2 -2
- package/dist/contextual-ask-node.d.ts +2 -2
- 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.d.cts +35 -35
- package/dist/external-agent-node.d.ts +35 -35
- package/dist/external-handoff-browser.d.cts +2 -2
- package/dist/external-handoff-browser.d.ts +2 -2
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +29 -29
- package/dist/index.d.ts +29 -29
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-CLQ6MIJB.js.map +0 -1
- package/dist/chunk-EWJTKNL4.js.map +0 -1
- package/dist/{data-flow-runtime-w43iwvGA.d.cts → data-flow-runtime-Bfm5LbHE.d.cts} +8 -8
- package/dist/{data-flow-runtime-DhWpQoik.d.ts → data-flow-runtime-tyqGH1OS.d.ts} +8 -8
- package/dist/{external-agent-control-DKxQACUv.d.ts → external-agent-control-yC4ToQXg.d.cts} +28 -28
- package/dist/{external-agent-control-DKxQACUv.d.cts → external-agent-control-yC4ToQXg.d.ts} +28 -28
- package/dist/{external-handoff-5zHu-fz2.d.ts → external-handoff-BpoxbpPk.d.ts} +37 -37
- package/dist/{external-handoff-DeiIvR-2.d.cts → external-handoff-D1Ua2jIA.d.cts} +37 -37
package/dist/index.d.cts
CHANGED
|
@@ -2,14 +2,14 @@ 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
3
|
import { C as ContextBudget, b as SPOTPATCH_LOCALE_PREFERENCES, S as SpotAnnotation } from './annotation-Cz-NNgR4.cjs';
|
|
4
4
|
export { c as CodeContext, E as ElementContext, M as MAX_ANNOTATION_INSTRUCTION_CHARACTERS, d as MAX_ANNOTATION_TARGETS, e as MAX_TARGET_INSTRUCTION_CHARACTERS, f as MatchedStyleRule, P as PageContext, R as ReactContext, g as SPOTPATCH_LOCALES, h as SourceConfidence, i as SourceOrigin, j as SourceRef, a as SpotPatchLocale, k as SpotPatchLocalePreference, l as SpotTargetContext, m as StyleContext } from './annotation-Cz-NNgR4.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-
|
|
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-
|
|
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-BbmHG3Z8.cjs';
|
|
6
|
+
import { R as ReportCompleteness, C as ComponentDataFlowReport, P as PageDataFlowReport, a as RuntimeDataFlowConfig } from './data-flow-runtime-Bfm5LbHE.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-Bfm5LbHE.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-yC4ToQXg.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-D1Ua2jIA.cjs';
|
|
13
13
|
|
|
14
14
|
declare class SpotPatchError extends Error {
|
|
15
15
|
readonly code: ErrorCode;
|
|
@@ -652,9 +652,9 @@ declare const agentJobCreateRequestSchema: z.ZodObject<{
|
|
|
652
652
|
code: z.ZodOptional<z.ZodObject<{
|
|
653
653
|
relativePath: z.ZodString;
|
|
654
654
|
language: z.ZodEnum<{
|
|
655
|
+
astro: "astro";
|
|
655
656
|
tsx: "tsx";
|
|
656
657
|
jsx: "jsx";
|
|
657
|
-
astro: "astro";
|
|
658
658
|
}>;
|
|
659
659
|
startLine: z.ZodNumber;
|
|
660
660
|
endLine: z.ZodNumber;
|
|
@@ -826,8 +826,8 @@ declare const agentCapabilitySnapshotSchema: z.ZodObject<{
|
|
|
826
826
|
declare const agentWorkspaceHealthSnapshotSchema: z.ZodObject<{
|
|
827
827
|
state: z.ZodEnum<{
|
|
828
828
|
ready: "ready";
|
|
829
|
-
"consent-required": "consent-required";
|
|
830
829
|
blocked: "blocked";
|
|
830
|
+
"consent-required": "consent-required";
|
|
831
831
|
}>;
|
|
832
832
|
checkedAt: z.ZodISODateTime;
|
|
833
833
|
changes: z.ZodObject<{
|
|
@@ -909,8 +909,8 @@ declare const agentCheckResultSchema: z.ZodObject<{
|
|
|
909
909
|
checkId: z.ZodString;
|
|
910
910
|
label: z.ZodString;
|
|
911
911
|
status: z.ZodEnum<{
|
|
912
|
-
cancelled: "cancelled";
|
|
913
912
|
failed: "failed";
|
|
913
|
+
cancelled: "cancelled";
|
|
914
914
|
passed: "passed";
|
|
915
915
|
"timed-out": "timed-out";
|
|
916
916
|
}>;
|
|
@@ -920,17 +920,17 @@ declare const agentCheckResultSchema: z.ZodObject<{
|
|
|
920
920
|
declare const agentJobSnapshotSchema: z.ZodObject<{
|
|
921
921
|
jobId: z.ZodString;
|
|
922
922
|
status: z.ZodEnum<{
|
|
923
|
+
completed: "completed";
|
|
924
|
+
failed: "failed";
|
|
923
925
|
queued: "queued";
|
|
924
926
|
running: "running";
|
|
925
927
|
cancelling: "cancelling";
|
|
926
928
|
cancelled: "cancelled";
|
|
927
|
-
failed: "failed";
|
|
928
929
|
preparing: "preparing";
|
|
929
930
|
validating: "validating";
|
|
930
931
|
"awaiting-review": "awaiting-review";
|
|
931
932
|
applying: "applying";
|
|
932
933
|
applied: "applied";
|
|
933
|
-
completed: "completed";
|
|
934
934
|
reverting: "reverting";
|
|
935
935
|
reverted: "reverted";
|
|
936
936
|
}>;
|
|
@@ -1019,8 +1019,8 @@ declare const agentJobResultSchema: z.ZodObject<{
|
|
|
1019
1019
|
checkId: z.ZodString;
|
|
1020
1020
|
label: z.ZodString;
|
|
1021
1021
|
status: z.ZodEnum<{
|
|
1022
|
-
cancelled: "cancelled";
|
|
1023
1022
|
failed: "failed";
|
|
1023
|
+
cancelled: "cancelled";
|
|
1024
1024
|
passed: "passed";
|
|
1025
1025
|
"timed-out": "timed-out";
|
|
1026
1026
|
}>;
|
|
@@ -1032,17 +1032,17 @@ declare const agentJobResultResponseSchema: z.ZodObject<{
|
|
|
1032
1032
|
snapshot: z.ZodObject<{
|
|
1033
1033
|
jobId: z.ZodString;
|
|
1034
1034
|
status: z.ZodEnum<{
|
|
1035
|
+
completed: "completed";
|
|
1036
|
+
failed: "failed";
|
|
1035
1037
|
queued: "queued";
|
|
1036
1038
|
running: "running";
|
|
1037
1039
|
cancelling: "cancelling";
|
|
1038
1040
|
cancelled: "cancelled";
|
|
1039
|
-
failed: "failed";
|
|
1040
1041
|
preparing: "preparing";
|
|
1041
1042
|
validating: "validating";
|
|
1042
1043
|
"awaiting-review": "awaiting-review";
|
|
1043
1044
|
applying: "applying";
|
|
1044
1045
|
applied: "applied";
|
|
1045
|
-
completed: "completed";
|
|
1046
1046
|
reverting: "reverting";
|
|
1047
1047
|
reverted: "reverted";
|
|
1048
1048
|
}>;
|
|
@@ -1131,8 +1131,8 @@ declare const agentJobResultResponseSchema: z.ZodObject<{
|
|
|
1131
1131
|
checkId: z.ZodString;
|
|
1132
1132
|
label: z.ZodString;
|
|
1133
1133
|
status: z.ZodEnum<{
|
|
1134
|
-
cancelled: "cancelled";
|
|
1135
1134
|
failed: "failed";
|
|
1135
|
+
cancelled: "cancelled";
|
|
1136
1136
|
passed: "passed";
|
|
1137
1137
|
"timed-out": "timed-out";
|
|
1138
1138
|
}>;
|
|
@@ -1146,17 +1146,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1146
1146
|
sequence: z.ZodNumber;
|
|
1147
1147
|
jobId: z.ZodString;
|
|
1148
1148
|
status: z.ZodEnum<{
|
|
1149
|
+
completed: "completed";
|
|
1150
|
+
failed: "failed";
|
|
1149
1151
|
queued: "queued";
|
|
1150
1152
|
running: "running";
|
|
1151
1153
|
cancelling: "cancelling";
|
|
1152
1154
|
cancelled: "cancelled";
|
|
1153
|
-
failed: "failed";
|
|
1154
1155
|
preparing: "preparing";
|
|
1155
1156
|
validating: "validating";
|
|
1156
1157
|
"awaiting-review": "awaiting-review";
|
|
1157
1158
|
applying: "applying";
|
|
1158
1159
|
applied: "applied";
|
|
1159
|
-
completed: "completed";
|
|
1160
1160
|
reverting: "reverting";
|
|
1161
1161
|
reverted: "reverted";
|
|
1162
1162
|
}>;
|
|
@@ -1166,17 +1166,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1166
1166
|
snapshot: z.ZodObject<{
|
|
1167
1167
|
jobId: z.ZodString;
|
|
1168
1168
|
status: z.ZodEnum<{
|
|
1169
|
+
completed: "completed";
|
|
1170
|
+
failed: "failed";
|
|
1169
1171
|
queued: "queued";
|
|
1170
1172
|
running: "running";
|
|
1171
1173
|
cancelling: "cancelling";
|
|
1172
1174
|
cancelled: "cancelled";
|
|
1173
|
-
failed: "failed";
|
|
1174
1175
|
preparing: "preparing";
|
|
1175
1176
|
validating: "validating";
|
|
1176
1177
|
"awaiting-review": "awaiting-review";
|
|
1177
1178
|
applying: "applying";
|
|
1178
1179
|
applied: "applied";
|
|
1179
|
-
completed: "completed";
|
|
1180
1180
|
reverting: "reverting";
|
|
1181
1181
|
reverted: "reverted";
|
|
1182
1182
|
}>;
|
|
@@ -1253,17 +1253,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1253
1253
|
sequence: z.ZodNumber;
|
|
1254
1254
|
jobId: z.ZodString;
|
|
1255
1255
|
status: z.ZodEnum<{
|
|
1256
|
+
completed: "completed";
|
|
1257
|
+
failed: "failed";
|
|
1256
1258
|
queued: "queued";
|
|
1257
1259
|
running: "running";
|
|
1258
1260
|
cancelling: "cancelling";
|
|
1259
1261
|
cancelled: "cancelled";
|
|
1260
|
-
failed: "failed";
|
|
1261
1262
|
preparing: "preparing";
|
|
1262
1263
|
validating: "validating";
|
|
1263
1264
|
"awaiting-review": "awaiting-review";
|
|
1264
1265
|
applying: "applying";
|
|
1265
1266
|
applied: "applied";
|
|
1266
|
-
completed: "completed";
|
|
1267
1267
|
reverting: "reverting";
|
|
1268
1268
|
reverted: "reverted";
|
|
1269
1269
|
}>;
|
|
@@ -1277,17 +1277,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1277
1277
|
sequence: z.ZodNumber;
|
|
1278
1278
|
jobId: z.ZodString;
|
|
1279
1279
|
status: z.ZodEnum<{
|
|
1280
|
+
completed: "completed";
|
|
1281
|
+
failed: "failed";
|
|
1280
1282
|
queued: "queued";
|
|
1281
1283
|
running: "running";
|
|
1282
1284
|
cancelling: "cancelling";
|
|
1283
1285
|
cancelled: "cancelled";
|
|
1284
|
-
failed: "failed";
|
|
1285
1286
|
preparing: "preparing";
|
|
1286
1287
|
validating: "validating";
|
|
1287
1288
|
"awaiting-review": "awaiting-review";
|
|
1288
1289
|
applying: "applying";
|
|
1289
1290
|
applied: "applied";
|
|
1290
|
-
completed: "completed";
|
|
1291
1291
|
reverting: "reverting";
|
|
1292
1292
|
reverted: "reverted";
|
|
1293
1293
|
}>;
|
|
@@ -1310,17 +1310,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1310
1310
|
sequence: z.ZodNumber;
|
|
1311
1311
|
jobId: z.ZodString;
|
|
1312
1312
|
status: z.ZodEnum<{
|
|
1313
|
+
completed: "completed";
|
|
1314
|
+
failed: "failed";
|
|
1313
1315
|
queued: "queued";
|
|
1314
1316
|
running: "running";
|
|
1315
1317
|
cancelling: "cancelling";
|
|
1316
1318
|
cancelled: "cancelled";
|
|
1317
|
-
failed: "failed";
|
|
1318
1319
|
preparing: "preparing";
|
|
1319
1320
|
validating: "validating";
|
|
1320
1321
|
"awaiting-review": "awaiting-review";
|
|
1321
1322
|
applying: "applying";
|
|
1322
1323
|
applied: "applied";
|
|
1323
|
-
completed: "completed";
|
|
1324
1324
|
reverting: "reverting";
|
|
1325
1325
|
reverted: "reverted";
|
|
1326
1326
|
}>;
|
|
@@ -1331,8 +1331,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1331
1331
|
checkId: z.ZodString;
|
|
1332
1332
|
label: z.ZodString;
|
|
1333
1333
|
status: z.ZodEnum<{
|
|
1334
|
-
cancelled: "cancelled";
|
|
1335
1334
|
failed: "failed";
|
|
1335
|
+
cancelled: "cancelled";
|
|
1336
1336
|
passed: "passed";
|
|
1337
1337
|
"timed-out": "timed-out";
|
|
1338
1338
|
}>;
|
|
@@ -1345,17 +1345,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1345
1345
|
sequence: z.ZodNumber;
|
|
1346
1346
|
jobId: z.ZodString;
|
|
1347
1347
|
status: z.ZodEnum<{
|
|
1348
|
+
completed: "completed";
|
|
1349
|
+
failed: "failed";
|
|
1348
1350
|
queued: "queued";
|
|
1349
1351
|
running: "running";
|
|
1350
1352
|
cancelling: "cancelling";
|
|
1351
1353
|
cancelled: "cancelled";
|
|
1352
|
-
failed: "failed";
|
|
1353
1354
|
preparing: "preparing";
|
|
1354
1355
|
validating: "validating";
|
|
1355
1356
|
"awaiting-review": "awaiting-review";
|
|
1356
1357
|
applying: "applying";
|
|
1357
1358
|
applied: "applied";
|
|
1358
|
-
completed: "completed";
|
|
1359
1359
|
reverting: "reverting";
|
|
1360
1360
|
reverted: "reverted";
|
|
1361
1361
|
}>;
|
|
@@ -1369,17 +1369,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1369
1369
|
sequence: z.ZodNumber;
|
|
1370
1370
|
jobId: z.ZodString;
|
|
1371
1371
|
status: z.ZodEnum<{
|
|
1372
|
+
completed: "completed";
|
|
1373
|
+
failed: "failed";
|
|
1372
1374
|
queued: "queued";
|
|
1373
1375
|
running: "running";
|
|
1374
1376
|
cancelling: "cancelling";
|
|
1375
1377
|
cancelled: "cancelled";
|
|
1376
|
-
failed: "failed";
|
|
1377
1378
|
preparing: "preparing";
|
|
1378
1379
|
validating: "validating";
|
|
1379
1380
|
"awaiting-review": "awaiting-review";
|
|
1380
1381
|
applying: "applying";
|
|
1381
1382
|
applied: "applied";
|
|
1382
|
-
completed: "completed";
|
|
1383
1383
|
reverting: "reverting";
|
|
1384
1384
|
reverted: "reverted";
|
|
1385
1385
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,14 +2,14 @@ import { E as ErrorCode } from './error-code-DRz2eqcB.js';
|
|
|
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.js';
|
|
3
3
|
import { C as ContextBudget, b as SPOTPATCH_LOCALE_PREFERENCES, S as SpotAnnotation } from './annotation-Cz-NNgR4.js';
|
|
4
4
|
export { c as CodeContext, E as ElementContext, M as MAX_ANNOTATION_INSTRUCTION_CHARACTERS, d as MAX_ANNOTATION_TARGETS, e as MAX_TARGET_INSTRUCTION_CHARACTERS, f as MatchedStyleRule, P as PageContext, R as ReactContext, g as SPOTPATCH_LOCALES, h as SourceConfidence, i as SourceOrigin, j as SourceRef, a as SpotPatchLocale, k as SpotPatchLocalePreference, l as SpotTargetContext, m as StyleContext } from './annotation-Cz-NNgR4.js';
|
|
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-
|
|
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-BbmHG3Z8.js';
|
|
6
|
+
import { R as ReportCompleteness, C as ComponentDataFlowReport, P as PageDataFlowReport, a as RuntimeDataFlowConfig } from './data-flow-runtime-tyqGH1OS.js';
|
|
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-tyqGH1OS.js';
|
|
8
8
|
import { z } from 'zod';
|
|
9
9
|
import { b as SPOTPATCH_API_BASE } from './endpoints-O3ohYyAo.js';
|
|
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.js';
|
|
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-yC4ToQXg.js';
|
|
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-BpoxbpPk.js';
|
|
13
13
|
|
|
14
14
|
declare class SpotPatchError extends Error {
|
|
15
15
|
readonly code: ErrorCode;
|
|
@@ -652,9 +652,9 @@ declare const agentJobCreateRequestSchema: z.ZodObject<{
|
|
|
652
652
|
code: z.ZodOptional<z.ZodObject<{
|
|
653
653
|
relativePath: z.ZodString;
|
|
654
654
|
language: z.ZodEnum<{
|
|
655
|
+
astro: "astro";
|
|
655
656
|
tsx: "tsx";
|
|
656
657
|
jsx: "jsx";
|
|
657
|
-
astro: "astro";
|
|
658
658
|
}>;
|
|
659
659
|
startLine: z.ZodNumber;
|
|
660
660
|
endLine: z.ZodNumber;
|
|
@@ -826,8 +826,8 @@ declare const agentCapabilitySnapshotSchema: z.ZodObject<{
|
|
|
826
826
|
declare const agentWorkspaceHealthSnapshotSchema: z.ZodObject<{
|
|
827
827
|
state: z.ZodEnum<{
|
|
828
828
|
ready: "ready";
|
|
829
|
-
"consent-required": "consent-required";
|
|
830
829
|
blocked: "blocked";
|
|
830
|
+
"consent-required": "consent-required";
|
|
831
831
|
}>;
|
|
832
832
|
checkedAt: z.ZodISODateTime;
|
|
833
833
|
changes: z.ZodObject<{
|
|
@@ -909,8 +909,8 @@ declare const agentCheckResultSchema: z.ZodObject<{
|
|
|
909
909
|
checkId: z.ZodString;
|
|
910
910
|
label: z.ZodString;
|
|
911
911
|
status: z.ZodEnum<{
|
|
912
|
-
cancelled: "cancelled";
|
|
913
912
|
failed: "failed";
|
|
913
|
+
cancelled: "cancelled";
|
|
914
914
|
passed: "passed";
|
|
915
915
|
"timed-out": "timed-out";
|
|
916
916
|
}>;
|
|
@@ -920,17 +920,17 @@ declare const agentCheckResultSchema: z.ZodObject<{
|
|
|
920
920
|
declare const agentJobSnapshotSchema: z.ZodObject<{
|
|
921
921
|
jobId: z.ZodString;
|
|
922
922
|
status: z.ZodEnum<{
|
|
923
|
+
completed: "completed";
|
|
924
|
+
failed: "failed";
|
|
923
925
|
queued: "queued";
|
|
924
926
|
running: "running";
|
|
925
927
|
cancelling: "cancelling";
|
|
926
928
|
cancelled: "cancelled";
|
|
927
|
-
failed: "failed";
|
|
928
929
|
preparing: "preparing";
|
|
929
930
|
validating: "validating";
|
|
930
931
|
"awaiting-review": "awaiting-review";
|
|
931
932
|
applying: "applying";
|
|
932
933
|
applied: "applied";
|
|
933
|
-
completed: "completed";
|
|
934
934
|
reverting: "reverting";
|
|
935
935
|
reverted: "reverted";
|
|
936
936
|
}>;
|
|
@@ -1019,8 +1019,8 @@ declare const agentJobResultSchema: z.ZodObject<{
|
|
|
1019
1019
|
checkId: z.ZodString;
|
|
1020
1020
|
label: z.ZodString;
|
|
1021
1021
|
status: z.ZodEnum<{
|
|
1022
|
-
cancelled: "cancelled";
|
|
1023
1022
|
failed: "failed";
|
|
1023
|
+
cancelled: "cancelled";
|
|
1024
1024
|
passed: "passed";
|
|
1025
1025
|
"timed-out": "timed-out";
|
|
1026
1026
|
}>;
|
|
@@ -1032,17 +1032,17 @@ declare const agentJobResultResponseSchema: z.ZodObject<{
|
|
|
1032
1032
|
snapshot: z.ZodObject<{
|
|
1033
1033
|
jobId: z.ZodString;
|
|
1034
1034
|
status: z.ZodEnum<{
|
|
1035
|
+
completed: "completed";
|
|
1036
|
+
failed: "failed";
|
|
1035
1037
|
queued: "queued";
|
|
1036
1038
|
running: "running";
|
|
1037
1039
|
cancelling: "cancelling";
|
|
1038
1040
|
cancelled: "cancelled";
|
|
1039
|
-
failed: "failed";
|
|
1040
1041
|
preparing: "preparing";
|
|
1041
1042
|
validating: "validating";
|
|
1042
1043
|
"awaiting-review": "awaiting-review";
|
|
1043
1044
|
applying: "applying";
|
|
1044
1045
|
applied: "applied";
|
|
1045
|
-
completed: "completed";
|
|
1046
1046
|
reverting: "reverting";
|
|
1047
1047
|
reverted: "reverted";
|
|
1048
1048
|
}>;
|
|
@@ -1131,8 +1131,8 @@ declare const agentJobResultResponseSchema: z.ZodObject<{
|
|
|
1131
1131
|
checkId: z.ZodString;
|
|
1132
1132
|
label: z.ZodString;
|
|
1133
1133
|
status: z.ZodEnum<{
|
|
1134
|
-
cancelled: "cancelled";
|
|
1135
1134
|
failed: "failed";
|
|
1135
|
+
cancelled: "cancelled";
|
|
1136
1136
|
passed: "passed";
|
|
1137
1137
|
"timed-out": "timed-out";
|
|
1138
1138
|
}>;
|
|
@@ -1146,17 +1146,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1146
1146
|
sequence: z.ZodNumber;
|
|
1147
1147
|
jobId: z.ZodString;
|
|
1148
1148
|
status: z.ZodEnum<{
|
|
1149
|
+
completed: "completed";
|
|
1150
|
+
failed: "failed";
|
|
1149
1151
|
queued: "queued";
|
|
1150
1152
|
running: "running";
|
|
1151
1153
|
cancelling: "cancelling";
|
|
1152
1154
|
cancelled: "cancelled";
|
|
1153
|
-
failed: "failed";
|
|
1154
1155
|
preparing: "preparing";
|
|
1155
1156
|
validating: "validating";
|
|
1156
1157
|
"awaiting-review": "awaiting-review";
|
|
1157
1158
|
applying: "applying";
|
|
1158
1159
|
applied: "applied";
|
|
1159
|
-
completed: "completed";
|
|
1160
1160
|
reverting: "reverting";
|
|
1161
1161
|
reverted: "reverted";
|
|
1162
1162
|
}>;
|
|
@@ -1166,17 +1166,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1166
1166
|
snapshot: z.ZodObject<{
|
|
1167
1167
|
jobId: z.ZodString;
|
|
1168
1168
|
status: z.ZodEnum<{
|
|
1169
|
+
completed: "completed";
|
|
1170
|
+
failed: "failed";
|
|
1169
1171
|
queued: "queued";
|
|
1170
1172
|
running: "running";
|
|
1171
1173
|
cancelling: "cancelling";
|
|
1172
1174
|
cancelled: "cancelled";
|
|
1173
|
-
failed: "failed";
|
|
1174
1175
|
preparing: "preparing";
|
|
1175
1176
|
validating: "validating";
|
|
1176
1177
|
"awaiting-review": "awaiting-review";
|
|
1177
1178
|
applying: "applying";
|
|
1178
1179
|
applied: "applied";
|
|
1179
|
-
completed: "completed";
|
|
1180
1180
|
reverting: "reverting";
|
|
1181
1181
|
reverted: "reverted";
|
|
1182
1182
|
}>;
|
|
@@ -1253,17 +1253,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1253
1253
|
sequence: z.ZodNumber;
|
|
1254
1254
|
jobId: z.ZodString;
|
|
1255
1255
|
status: z.ZodEnum<{
|
|
1256
|
+
completed: "completed";
|
|
1257
|
+
failed: "failed";
|
|
1256
1258
|
queued: "queued";
|
|
1257
1259
|
running: "running";
|
|
1258
1260
|
cancelling: "cancelling";
|
|
1259
1261
|
cancelled: "cancelled";
|
|
1260
|
-
failed: "failed";
|
|
1261
1262
|
preparing: "preparing";
|
|
1262
1263
|
validating: "validating";
|
|
1263
1264
|
"awaiting-review": "awaiting-review";
|
|
1264
1265
|
applying: "applying";
|
|
1265
1266
|
applied: "applied";
|
|
1266
|
-
completed: "completed";
|
|
1267
1267
|
reverting: "reverting";
|
|
1268
1268
|
reverted: "reverted";
|
|
1269
1269
|
}>;
|
|
@@ -1277,17 +1277,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1277
1277
|
sequence: z.ZodNumber;
|
|
1278
1278
|
jobId: z.ZodString;
|
|
1279
1279
|
status: z.ZodEnum<{
|
|
1280
|
+
completed: "completed";
|
|
1281
|
+
failed: "failed";
|
|
1280
1282
|
queued: "queued";
|
|
1281
1283
|
running: "running";
|
|
1282
1284
|
cancelling: "cancelling";
|
|
1283
1285
|
cancelled: "cancelled";
|
|
1284
|
-
failed: "failed";
|
|
1285
1286
|
preparing: "preparing";
|
|
1286
1287
|
validating: "validating";
|
|
1287
1288
|
"awaiting-review": "awaiting-review";
|
|
1288
1289
|
applying: "applying";
|
|
1289
1290
|
applied: "applied";
|
|
1290
|
-
completed: "completed";
|
|
1291
1291
|
reverting: "reverting";
|
|
1292
1292
|
reverted: "reverted";
|
|
1293
1293
|
}>;
|
|
@@ -1310,17 +1310,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1310
1310
|
sequence: z.ZodNumber;
|
|
1311
1311
|
jobId: z.ZodString;
|
|
1312
1312
|
status: z.ZodEnum<{
|
|
1313
|
+
completed: "completed";
|
|
1314
|
+
failed: "failed";
|
|
1313
1315
|
queued: "queued";
|
|
1314
1316
|
running: "running";
|
|
1315
1317
|
cancelling: "cancelling";
|
|
1316
1318
|
cancelled: "cancelled";
|
|
1317
|
-
failed: "failed";
|
|
1318
1319
|
preparing: "preparing";
|
|
1319
1320
|
validating: "validating";
|
|
1320
1321
|
"awaiting-review": "awaiting-review";
|
|
1321
1322
|
applying: "applying";
|
|
1322
1323
|
applied: "applied";
|
|
1323
|
-
completed: "completed";
|
|
1324
1324
|
reverting: "reverting";
|
|
1325
1325
|
reverted: "reverted";
|
|
1326
1326
|
}>;
|
|
@@ -1331,8 +1331,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1331
1331
|
checkId: z.ZodString;
|
|
1332
1332
|
label: z.ZodString;
|
|
1333
1333
|
status: z.ZodEnum<{
|
|
1334
|
-
cancelled: "cancelled";
|
|
1335
1334
|
failed: "failed";
|
|
1335
|
+
cancelled: "cancelled";
|
|
1336
1336
|
passed: "passed";
|
|
1337
1337
|
"timed-out": "timed-out";
|
|
1338
1338
|
}>;
|
|
@@ -1345,17 +1345,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1345
1345
|
sequence: z.ZodNumber;
|
|
1346
1346
|
jobId: z.ZodString;
|
|
1347
1347
|
status: z.ZodEnum<{
|
|
1348
|
+
completed: "completed";
|
|
1349
|
+
failed: "failed";
|
|
1348
1350
|
queued: "queued";
|
|
1349
1351
|
running: "running";
|
|
1350
1352
|
cancelling: "cancelling";
|
|
1351
1353
|
cancelled: "cancelled";
|
|
1352
|
-
failed: "failed";
|
|
1353
1354
|
preparing: "preparing";
|
|
1354
1355
|
validating: "validating";
|
|
1355
1356
|
"awaiting-review": "awaiting-review";
|
|
1356
1357
|
applying: "applying";
|
|
1357
1358
|
applied: "applied";
|
|
1358
|
-
completed: "completed";
|
|
1359
1359
|
reverting: "reverting";
|
|
1360
1360
|
reverted: "reverted";
|
|
1361
1361
|
}>;
|
|
@@ -1369,17 +1369,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1369
1369
|
sequence: z.ZodNumber;
|
|
1370
1370
|
jobId: z.ZodString;
|
|
1371
1371
|
status: z.ZodEnum<{
|
|
1372
|
+
completed: "completed";
|
|
1373
|
+
failed: "failed";
|
|
1372
1374
|
queued: "queued";
|
|
1373
1375
|
running: "running";
|
|
1374
1376
|
cancelling: "cancelling";
|
|
1375
1377
|
cancelled: "cancelled";
|
|
1376
|
-
failed: "failed";
|
|
1377
1378
|
preparing: "preparing";
|
|
1378
1379
|
validating: "validating";
|
|
1379
1380
|
"awaiting-review": "awaiting-review";
|
|
1380
1381
|
applying: "applying";
|
|
1381
1382
|
applied: "applied";
|
|
1382
|
-
completed: "completed";
|
|
1383
1383
|
reverting: "reverting";
|
|
1384
1384
|
reverted: "reverted";
|
|
1385
1385
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
spotSelectionContextSchema,
|
|
24
24
|
spotSelectionTargetSchema,
|
|
25
25
|
spotTaskEnvelopeSchema
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-R3BQKCCY.js";
|
|
27
27
|
import {
|
|
28
28
|
ASK_ANSWER_WARNING_CODES,
|
|
29
29
|
ASK_EXECUTOR_ANSWER_WARNING_CODES,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
CONTEXTUAL_ASK_LIMITS,
|
|
37
37
|
CONTEXTUAL_ASK_PERMISSION_PROFILE,
|
|
38
38
|
CONTEXTUAL_ASK_SCHEMA_VERSION
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-RWFGFW4N.js";
|
|
40
40
|
import {
|
|
41
41
|
DATA_FLOW_SCHEMA_VERSION,
|
|
42
42
|
DATA_FLOW_URL_QUERY_KEY_LIMIT,
|