@spotpatch/shared 1.12.0 → 1.13.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-C0Me9mN2.d.cts +102 -0
- package/dist/annotation-C0Me9mN2.d.ts +102 -0
- package/dist/chunk-C2PJ4UUU.js +195 -0
- package/dist/chunk-C2PJ4UUU.js.map +1 -0
- package/dist/chunk-DYTWEIES.js +89 -0
- package/dist/chunk-DYTWEIES.js.map +1 -0
- package/dist/{chunk-JGOIBOFI.js → chunk-FPDSZDP2.js} +16 -2
- package/dist/chunk-FPDSZDP2.js.map +1 -0
- package/dist/chunk-IUTOVI5G.js +584 -0
- package/dist/chunk-IUTOVI5G.js.map +1 -0
- package/dist/{chunk-JU5HIWX7.js → chunk-YQ5GL523.js} +8 -173
- package/dist/chunk-YQ5GL523.js.map +1 -0
- package/dist/contextual-ask-B0mCFn92.d.cts +1451 -0
- package/dist/contextual-ask-B0mCFn92.d.ts +1451 -0
- package/dist/contextual-ask-browser.cjs +200 -0
- package/dist/contextual-ask-browser.cjs.map +1 -0
- package/dist/contextual-ask-browser.d.cts +31 -0
- package/dist/contextual-ask-browser.d.ts +31 -0
- package/dist/contextual-ask-browser.js +66 -0
- package/dist/contextual-ask-browser.js.map +1 -0
- package/dist/contextual-ask-node.cjs +968 -0
- package/dist/contextual-ask-node.cjs.map +1 -0
- package/dist/contextual-ask-node.d.cts +14 -0
- package/dist/contextual-ask-node.d.ts +14 -0
- package/dist/contextual-ask-node.js +122 -0
- package/dist/contextual-ask-node.js.map +1 -0
- package/dist/{data-flow-runtime-oq9m21IP.d.cts → data-flow-runtime-D8HPSb2i.d.cts} +13 -13
- package/dist/{data-flow-runtime-BelOgo8s.d.ts → data-flow-runtime-vKeEaJgT.d.ts} +13 -13
- package/dist/data-flow-runtime.cjs +2 -0
- package/dist/data-flow-runtime.cjs.map +1 -1
- package/dist/data-flow-runtime.d.cts +2 -2
- package/dist/data-flow-runtime.d.ts +2 -2
- package/dist/data-flow-runtime.js +1 -1
- package/dist/{endpoints-GedF44M2.d.cts → endpoints-O3ohYyAo.d.cts} +7 -1
- package/dist/{endpoints-GedF44M2.d.ts → endpoints-O3ohYyAo.d.ts} +7 -1
- package/dist/error-code-DRz2eqcB.d.cts +63 -0
- package/dist/error-code-DRz2eqcB.d.ts +63 -0
- package/dist/external-agent-node.cjs +142 -121
- package/dist/external-agent-node.cjs.map +1 -1
- package/dist/external-agent-node.d.cts +27 -26
- package/dist/external-agent-node.d.ts +27 -26
- package/dist/external-agent-node.js +4 -2
- package/dist/external-agent-node.js.map +1 -1
- package/dist/{external-handoff-BNUyMfNb.d.ts → external-handoff-DighrWn8.d.ts} +30 -130
- package/dist/{external-handoff-BNUyMfNb.d.cts → external-handoff-DwtFFR6F.d.cts} +30 -130
- package/dist/external-handoff-browser.cjs +2 -0
- package/dist/external-handoff-browser.cjs.map +1 -1
- package/dist/external-handoff-browser.d.cts +4 -3
- package/dist/external-handoff-browser.d.ts +4 -3
- package/dist/external-handoff-browser.js +1 -1
- package/dist/index.cjs +1144 -422
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +126 -178
- package/dist/index.d.ts +126 -178
- package/dist/index.js +97 -16
- package/dist/index.js.map +1 -1
- package/package.json +29 -2
- package/dist/chunk-JGOIBOFI.js.map +0 -1
- package/dist/chunk-JU5HIWX7.js.map +0 -1
- package/dist/{external-agent-control-BMoSq_xI.d.cts → external-agent-control-CRBbjDDk.d.cts} +46 -46
- package/dist/{external-agent-control-BMoSq_xI.d.ts → external-agent-control-CRBbjDDk.d.ts} +46 -46
package/dist/index.d.ts
CHANGED
|
@@ -1,71 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
1
|
+
import { E as ErrorCode } from './error-code-DRz2eqcB.js';
|
|
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
|
+
import { C as ContextBudget, b as SPOTPATCH_LOCALE_PREFERENCES, S as SpotAnnotation } from './annotation-C0Me9mN2.js';
|
|
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-C0Me9mN2.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-B0mCFn92.js';
|
|
6
|
+
import { R as ReportCompleteness, C as ComponentDataFlowReport, P as PageDataFlowReport, a as RuntimeDataFlowConfig } from './data-flow-runtime-vKeEaJgT.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-vKeEaJgT.js';
|
|
5
8
|
import { z } from 'zod';
|
|
6
|
-
import { b as SPOTPATCH_API_BASE } from './endpoints-
|
|
7
|
-
export {
|
|
8
|
-
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-
|
|
9
|
-
|
|
10
|
-
declare const ERROR_CODES: {
|
|
11
|
-
readonly INVALID_REQUEST: "INVALID_REQUEST";
|
|
12
|
-
readonly INVALID_TOKEN: "INVALID_TOKEN";
|
|
13
|
-
readonly ORIGIN_NOT_ALLOWED: "ORIGIN_NOT_ALLOWED";
|
|
14
|
-
readonly SOURCE_NOT_FOUND: "SOURCE_NOT_FOUND";
|
|
15
|
-
readonly SOURCE_OUTSIDE_ROOT: "SOURCE_OUTSIDE_ROOT";
|
|
16
|
-
readonly SOURCE_TOO_LARGE: "SOURCE_TOO_LARGE";
|
|
17
|
-
readonly EDITOR_OPEN_FAILED: "EDITOR_OPEN_FAILED";
|
|
18
|
-
readonly DATA_FLOW_DISABLED: "DATA_FLOW_DISABLED";
|
|
19
|
-
readonly DATA_FLOW_SOURCE_STALE: "DATA_FLOW_SOURCE_STALE";
|
|
20
|
-
readonly DATA_FLOW_ANALYSIS_CANCELLED: "DATA_FLOW_ANALYSIS_CANCELLED";
|
|
21
|
-
readonly AI_DISABLED: "AI_DISABLED";
|
|
22
|
-
readonly PROVIDER_NOT_CONFIGURED: "PROVIDER_NOT_CONFIGURED";
|
|
23
|
-
readonly PROVIDER_AUTH_FAILED: "PROVIDER_AUTH_FAILED";
|
|
24
|
-
readonly PROVIDER_PROTOCOL_UNSUPPORTED: "PROVIDER_PROTOCOL_UNSUPPORTED";
|
|
25
|
-
readonly MODEL_NOT_ALLOWED: "MODEL_NOT_ALLOWED";
|
|
26
|
-
readonly MODEL_TOOL_CALL_UNSUPPORTED: "MODEL_TOOL_CALL_UNSUPPORTED";
|
|
27
|
-
readonly PROVIDER_RATE_LIMITED: "PROVIDER_RATE_LIMITED";
|
|
28
|
-
readonly AGENT_BUSY: "AGENT_BUSY";
|
|
29
|
-
readonly AGENT_LIMIT_EXCEEDED: "AGENT_LIMIT_EXCEEDED";
|
|
30
|
-
readonly AGENT_CANCELLED: "AGENT_CANCELLED";
|
|
31
|
-
readonly EXTERNAL_HANDOFF_DISABLED: "EXTERNAL_HANDOFF_DISABLED";
|
|
32
|
-
readonly EXTERNAL_HANDOFF_UNAVAILABLE: "EXTERNAL_HANDOFF_UNAVAILABLE";
|
|
33
|
-
readonly HANDOFF_VALIDATION_FAILED: "HANDOFF_VALIDATION_FAILED";
|
|
34
|
-
readonly HANDOFF_SOURCE_STALE: "HANDOFF_SOURCE_STALE";
|
|
35
|
-
readonly HANDOFF_NOT_FOUND: "HANDOFF_NOT_FOUND";
|
|
36
|
-
readonly HANDOFF_EXPIRED: "HANDOFF_EXPIRED";
|
|
37
|
-
readonly HANDOFF_CURSOR_INVALID: "HANDOFF_CURSOR_INVALID";
|
|
38
|
-
readonly HANDOFF_RESPONSE_TOO_LARGE: "HANDOFF_RESPONSE_TOO_LARGE";
|
|
39
|
-
readonly BRIDGE_UNAUTHORIZED: "BRIDGE_UNAUTHORIZED";
|
|
40
|
-
readonly BRIDGE_PROTOCOL_MISMATCH: "BRIDGE_PROTOCOL_MISMATCH";
|
|
41
|
-
readonly BRIDGE_BUSY: "BRIDGE_BUSY";
|
|
42
|
-
readonly EXTERNAL_AGENT_BUSY: "EXTERNAL_AGENT_BUSY";
|
|
43
|
-
readonly ACTIVE_ADAPTER_CONFLICT: "ACTIVE_ADAPTER_CONFLICT";
|
|
44
|
-
readonly ACTIVE_ADAPTER_LEASE_INVALID: "ACTIVE_ADAPTER_LEASE_INVALID";
|
|
45
|
-
readonly ACTIVE_DISPATCH_INVALID: "ACTIVE_DISPATCH_INVALID";
|
|
46
|
-
readonly SESSION_NOT_FOUND: "SESSION_NOT_FOUND";
|
|
47
|
-
readonly SESSION_AMBIGUOUS: "SESSION_AMBIGUOUS";
|
|
48
|
-
readonly SESSION_CLOSED: "SESSION_CLOSED";
|
|
49
|
-
readonly WORKTREE_DIRTY: "WORKTREE_DIRTY";
|
|
50
|
-
readonly WORKTREE_NOT_REPOSITORY: "WORKTREE_NOT_REPOSITORY";
|
|
51
|
-
readonly WORKTREE_OPERATION_IN_PROGRESS: "WORKTREE_OPERATION_IN_PROGRESS";
|
|
52
|
-
readonly WORKTREE_CONFLICTED: "WORKTREE_CONFLICTED";
|
|
53
|
-
readonly WORKTREE_LOCAL_CHANGES_TOO_LARGE: "WORKTREE_LOCAL_CHANGES_TOO_LARGE";
|
|
54
|
-
readonly WORKTREE_UNTRACKED_UNSUPPORTED: "WORKTREE_UNTRACKED_UNSUPPORTED";
|
|
55
|
-
readonly WORKTREE_LOCAL_CHANGES_UNSUPPORTED: "WORKTREE_LOCAL_CHANGES_UNSUPPORTED";
|
|
56
|
-
readonly TOOL_DENIED: "TOOL_DENIED";
|
|
57
|
-
readonly TOOL_INPUT_INVALID: "TOOL_INPUT_INVALID";
|
|
58
|
-
readonly TOOL_ARGUMENTS_INVALID: "TOOL_ARGUMENTS_INVALID";
|
|
59
|
-
readonly TOOL_CALL_ID_CONFLICT: "TOOL_CALL_ID_CONFLICT";
|
|
60
|
-
readonly TOOL_PATH_DENIED: "TOOL_PATH_DENIED";
|
|
61
|
-
readonly PATCH_REJECTED: "PATCH_REJECTED";
|
|
62
|
-
readonly VALIDATION_FAILED: "VALIDATION_FAILED";
|
|
63
|
-
readonly APPLY_CONFLICT: "APPLY_CONFLICT";
|
|
64
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
65
|
-
};
|
|
66
|
-
type ErrorCode = (typeof ERROR_CODES)[keyof typeof ERROR_CODES];
|
|
67
|
-
declare const ERROR_CODE_VALUES: readonly ("INVALID_REQUEST" | "INVALID_TOKEN" | "ORIGIN_NOT_ALLOWED" | "SOURCE_NOT_FOUND" | "SOURCE_OUTSIDE_ROOT" | "SOURCE_TOO_LARGE" | "EDITOR_OPEN_FAILED" | "DATA_FLOW_DISABLED" | "DATA_FLOW_SOURCE_STALE" | "DATA_FLOW_ANALYSIS_CANCELLED" | "AI_DISABLED" | "PROVIDER_NOT_CONFIGURED" | "PROVIDER_AUTH_FAILED" | "PROVIDER_PROTOCOL_UNSUPPORTED" | "MODEL_NOT_ALLOWED" | "MODEL_TOOL_CALL_UNSUPPORTED" | "PROVIDER_RATE_LIMITED" | "AGENT_BUSY" | "AGENT_LIMIT_EXCEEDED" | "AGENT_CANCELLED" | "EXTERNAL_HANDOFF_DISABLED" | "EXTERNAL_HANDOFF_UNAVAILABLE" | "HANDOFF_VALIDATION_FAILED" | "HANDOFF_SOURCE_STALE" | "HANDOFF_NOT_FOUND" | "HANDOFF_EXPIRED" | "HANDOFF_CURSOR_INVALID" | "HANDOFF_RESPONSE_TOO_LARGE" | "BRIDGE_UNAUTHORIZED" | "BRIDGE_PROTOCOL_MISMATCH" | "BRIDGE_BUSY" | "EXTERNAL_AGENT_BUSY" | "ACTIVE_ADAPTER_CONFLICT" | "ACTIVE_ADAPTER_LEASE_INVALID" | "ACTIVE_DISPATCH_INVALID" | "SESSION_NOT_FOUND" | "SESSION_AMBIGUOUS" | "SESSION_CLOSED" | "WORKTREE_DIRTY" | "WORKTREE_NOT_REPOSITORY" | "WORKTREE_OPERATION_IN_PROGRESS" | "WORKTREE_CONFLICTED" | "WORKTREE_LOCAL_CHANGES_TOO_LARGE" | "WORKTREE_UNTRACKED_UNSUPPORTED" | "WORKTREE_LOCAL_CHANGES_UNSUPPORTED" | "TOOL_DENIED" | "TOOL_INPUT_INVALID" | "TOOL_ARGUMENTS_INVALID" | "TOOL_CALL_ID_CONFLICT" | "TOOL_PATH_DENIED" | "PATCH_REJECTED" | "VALIDATION_FAILED" | "APPLY_CONFLICT" | "INTERNAL_ERROR")[];
|
|
68
|
-
declare function isErrorCode(value: unknown): value is ErrorCode;
|
|
9
|
+
import { b as SPOTPATCH_API_BASE } from './endpoints-O3ohYyAo.js';
|
|
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-CRBbjDDk.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-DighrWn8.js';
|
|
69
13
|
|
|
70
14
|
declare class SpotPatchError extends Error {
|
|
71
15
|
readonly code: ErrorCode;
|
|
@@ -313,6 +257,9 @@ interface RuntimeConfigBase {
|
|
|
313
257
|
readonly apiBase: typeof SPOTPATCH_API_BASE;
|
|
314
258
|
readonly ai: RuntimeAiConfig;
|
|
315
259
|
readonly budget: Readonly<ContextBudget>;
|
|
260
|
+
readonly contextualAsk: Readonly<{
|
|
261
|
+
enabled: boolean;
|
|
262
|
+
}>;
|
|
316
263
|
readonly dataFlow: RuntimeDataFlowConfig;
|
|
317
264
|
readonly debug: boolean;
|
|
318
265
|
readonly editor: (typeof SPOTPATCH_EDITOR_PREFERENCES)[number];
|
|
@@ -346,44 +293,7 @@ interface SourceMarker {
|
|
|
346
293
|
declare function formatSourceMarker(marker: SourceMarker): string;
|
|
347
294
|
declare function parseSourceMarker(value: string | null): SourceMarker | undefined;
|
|
348
295
|
|
|
349
|
-
declare const
|
|
350
|
-
declare const sourceContextRequestSchema: z.ZodObject<{
|
|
351
|
-
fileId: z.ZodString;
|
|
352
|
-
line: z.ZodNumber;
|
|
353
|
-
column: z.ZodNumber;
|
|
354
|
-
maxLines: z.ZodNumber;
|
|
355
|
-
}, z.core.$strict>;
|
|
356
|
-
declare const openEditorRequestSchema: z.ZodObject<{
|
|
357
|
-
fileId: z.ZodString;
|
|
358
|
-
line: z.ZodNumber;
|
|
359
|
-
column: z.ZodNumber;
|
|
360
|
-
}, z.core.$strict>;
|
|
361
|
-
declare const dataFlowComponentReportRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
362
|
-
fileId: z.ZodString;
|
|
363
|
-
line: z.ZodNumber;
|
|
364
|
-
column: z.ZodNumber;
|
|
365
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
366
|
-
sourceVersion: z.ZodOptional<z.ZodString>;
|
|
367
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
368
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
369
|
-
componentSourceId: z.ZodString;
|
|
370
|
-
sourceVersion: z.ZodString;
|
|
371
|
-
}, z.core.$strict>]>;
|
|
372
|
-
declare const dataFlowPageReportRequestSchema: z.ZodObject<{
|
|
373
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
374
|
-
targets: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
375
|
-
fileId: z.ZodString;
|
|
376
|
-
line: z.ZodNumber;
|
|
377
|
-
column: z.ZodNumber;
|
|
378
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
379
|
-
sourceVersion: z.ZodOptional<z.ZodString>;
|
|
380
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
381
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
382
|
-
componentSourceId: z.ZodString;
|
|
383
|
-
sourceVersion: z.ZodString;
|
|
384
|
-
}, z.core.$strict>]>>;
|
|
385
|
-
}, z.core.$strict>;
|
|
386
|
-
declare const spotTargetContextRequestSchema: z.ZodObject<{
|
|
296
|
+
declare const spotTargetContextSchema: z.ZodObject<{
|
|
387
297
|
instruction: z.ZodString;
|
|
388
298
|
page: z.ZodOptional<z.ZodObject<{
|
|
389
299
|
url: z.ZodString;
|
|
@@ -399,16 +309,16 @@ declare const spotTargetContextRequestSchema: z.ZodObject<{
|
|
|
399
309
|
line: z.ZodOptional<z.ZodNumber>;
|
|
400
310
|
column: z.ZodOptional<z.ZodNumber>;
|
|
401
311
|
origin: z.ZodEnum<{
|
|
402
|
-
none: "none";
|
|
403
312
|
"jsx-host": "jsx-host";
|
|
404
313
|
"react-fiber": "react-fiber";
|
|
405
314
|
"dom-ancestor": "dom-ancestor";
|
|
315
|
+
none: "none";
|
|
406
316
|
}>;
|
|
407
317
|
confidence: z.ZodEnum<{
|
|
408
|
-
unknown: "unknown";
|
|
409
318
|
exact: "exact";
|
|
410
319
|
probable: "probable";
|
|
411
320
|
approximate: "approximate";
|
|
321
|
+
unknown: "unknown";
|
|
412
322
|
}>;
|
|
413
323
|
}, z.core.$strict>;
|
|
414
324
|
react: z.ZodObject<{
|
|
@@ -424,16 +334,16 @@ declare const spotTargetContextRequestSchema: z.ZodObject<{
|
|
|
424
334
|
line: z.ZodOptional<z.ZodNumber>;
|
|
425
335
|
column: z.ZodOptional<z.ZodNumber>;
|
|
426
336
|
origin: z.ZodEnum<{
|
|
427
|
-
none: "none";
|
|
428
337
|
"jsx-host": "jsx-host";
|
|
429
338
|
"react-fiber": "react-fiber";
|
|
430
339
|
"dom-ancestor": "dom-ancestor";
|
|
340
|
+
none: "none";
|
|
431
341
|
}>;
|
|
432
342
|
confidence: z.ZodEnum<{
|
|
433
|
-
unknown: "unknown";
|
|
434
343
|
exact: "exact";
|
|
435
344
|
probable: "probable";
|
|
436
345
|
approximate: "approximate";
|
|
346
|
+
unknown: "unknown";
|
|
437
347
|
}>;
|
|
438
348
|
}, z.core.$strict>>;
|
|
439
349
|
}, z.core.$strict>;
|
|
@@ -478,7 +388,7 @@ declare const spotTargetContextRequestSchema: z.ZodObject<{
|
|
|
478
388
|
}, z.core.$strict>>;
|
|
479
389
|
warnings: z.ZodArray<z.ZodString>;
|
|
480
390
|
}, z.core.$strict>;
|
|
481
|
-
declare const
|
|
391
|
+
declare const spotAnnotationSchema: z.ZodObject<{
|
|
482
392
|
schemaVersion: z.ZodLiteral<3>;
|
|
483
393
|
id: z.ZodString;
|
|
484
394
|
locale: z.ZodEnum<{
|
|
@@ -509,16 +419,16 @@ declare const spotAnnotationRequestSchema: z.ZodObject<{
|
|
|
509
419
|
line: z.ZodOptional<z.ZodNumber>;
|
|
510
420
|
column: z.ZodOptional<z.ZodNumber>;
|
|
511
421
|
origin: z.ZodEnum<{
|
|
512
|
-
none: "none";
|
|
513
422
|
"jsx-host": "jsx-host";
|
|
514
423
|
"react-fiber": "react-fiber";
|
|
515
424
|
"dom-ancestor": "dom-ancestor";
|
|
425
|
+
none: "none";
|
|
516
426
|
}>;
|
|
517
427
|
confidence: z.ZodEnum<{
|
|
518
|
-
unknown: "unknown";
|
|
519
428
|
exact: "exact";
|
|
520
429
|
probable: "probable";
|
|
521
430
|
approximate: "approximate";
|
|
431
|
+
unknown: "unknown";
|
|
522
432
|
}>;
|
|
523
433
|
}, z.core.$strict>;
|
|
524
434
|
react: z.ZodObject<{
|
|
@@ -534,16 +444,16 @@ declare const spotAnnotationRequestSchema: z.ZodObject<{
|
|
|
534
444
|
line: z.ZodOptional<z.ZodNumber>;
|
|
535
445
|
column: z.ZodOptional<z.ZodNumber>;
|
|
536
446
|
origin: z.ZodEnum<{
|
|
537
|
-
none: "none";
|
|
538
447
|
"jsx-host": "jsx-host";
|
|
539
448
|
"react-fiber": "react-fiber";
|
|
540
449
|
"dom-ancestor": "dom-ancestor";
|
|
450
|
+
none: "none";
|
|
541
451
|
}>;
|
|
542
452
|
confidence: z.ZodEnum<{
|
|
543
|
-
unknown: "unknown";
|
|
544
453
|
exact: "exact";
|
|
545
454
|
probable: "probable";
|
|
546
455
|
approximate: "approximate";
|
|
456
|
+
unknown: "unknown";
|
|
547
457
|
}>;
|
|
548
458
|
}, z.core.$strict>>;
|
|
549
459
|
}, z.core.$strict>;
|
|
@@ -590,6 +500,44 @@ declare const spotAnnotationRequestSchema: z.ZodObject<{
|
|
|
590
500
|
}, z.core.$strict>>;
|
|
591
501
|
createdAt: z.ZodISODateTime;
|
|
592
502
|
}, z.core.$strict>;
|
|
503
|
+
|
|
504
|
+
declare const runtimeBootstrapRequestSchema: z.ZodObject<{}, z.core.$strict>;
|
|
505
|
+
declare const sourceContextRequestSchema: z.ZodObject<{
|
|
506
|
+
fileId: z.ZodString;
|
|
507
|
+
line: z.ZodNumber;
|
|
508
|
+
column: z.ZodNumber;
|
|
509
|
+
maxLines: z.ZodNumber;
|
|
510
|
+
}, z.core.$strict>;
|
|
511
|
+
declare const openEditorRequestSchema: z.ZodObject<{
|
|
512
|
+
fileId: z.ZodString;
|
|
513
|
+
line: z.ZodNumber;
|
|
514
|
+
column: z.ZodNumber;
|
|
515
|
+
}, z.core.$strict>;
|
|
516
|
+
declare const dataFlowComponentReportRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
517
|
+
fileId: z.ZodString;
|
|
518
|
+
line: z.ZodNumber;
|
|
519
|
+
column: z.ZodNumber;
|
|
520
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
521
|
+
sourceVersion: z.ZodOptional<z.ZodString>;
|
|
522
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
523
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
524
|
+
componentSourceId: z.ZodString;
|
|
525
|
+
sourceVersion: z.ZodString;
|
|
526
|
+
}, z.core.$strict>]>;
|
|
527
|
+
declare const dataFlowPageReportRequestSchema: z.ZodObject<{
|
|
528
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
529
|
+
targets: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
530
|
+
fileId: z.ZodString;
|
|
531
|
+
line: z.ZodNumber;
|
|
532
|
+
column: z.ZodNumber;
|
|
533
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
534
|
+
sourceVersion: z.ZodOptional<z.ZodString>;
|
|
535
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
536
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
537
|
+
componentSourceId: z.ZodString;
|
|
538
|
+
sourceVersion: z.ZodString;
|
|
539
|
+
}, z.core.$strict>]>>;
|
|
540
|
+
}, z.core.$strict>;
|
|
593
541
|
declare const agentCapabilityRequestSchema: z.ZodObject<{
|
|
594
542
|
providerProfileId: z.ZodString;
|
|
595
543
|
modelProfileId: z.ZodString;
|
|
@@ -627,16 +575,16 @@ declare const agentJobCreateRequestSchema: z.ZodObject<{
|
|
|
627
575
|
line: z.ZodOptional<z.ZodNumber>;
|
|
628
576
|
column: z.ZodOptional<z.ZodNumber>;
|
|
629
577
|
origin: z.ZodEnum<{
|
|
630
|
-
none: "none";
|
|
631
578
|
"jsx-host": "jsx-host";
|
|
632
579
|
"react-fiber": "react-fiber";
|
|
633
580
|
"dom-ancestor": "dom-ancestor";
|
|
581
|
+
none: "none";
|
|
634
582
|
}>;
|
|
635
583
|
confidence: z.ZodEnum<{
|
|
636
|
-
unknown: "unknown";
|
|
637
584
|
exact: "exact";
|
|
638
585
|
probable: "probable";
|
|
639
586
|
approximate: "approximate";
|
|
587
|
+
unknown: "unknown";
|
|
640
588
|
}>;
|
|
641
589
|
}, z.core.$strict>;
|
|
642
590
|
react: z.ZodObject<{
|
|
@@ -652,16 +600,16 @@ declare const agentJobCreateRequestSchema: z.ZodObject<{
|
|
|
652
600
|
line: z.ZodOptional<z.ZodNumber>;
|
|
653
601
|
column: z.ZodOptional<z.ZodNumber>;
|
|
654
602
|
origin: z.ZodEnum<{
|
|
655
|
-
none: "none";
|
|
656
603
|
"jsx-host": "jsx-host";
|
|
657
604
|
"react-fiber": "react-fiber";
|
|
658
605
|
"dom-ancestor": "dom-ancestor";
|
|
606
|
+
none: "none";
|
|
659
607
|
}>;
|
|
660
608
|
confidence: z.ZodEnum<{
|
|
661
|
-
unknown: "unknown";
|
|
662
609
|
exact: "exact";
|
|
663
610
|
probable: "probable";
|
|
664
611
|
approximate: "approximate";
|
|
612
|
+
unknown: "unknown";
|
|
665
613
|
}>;
|
|
666
614
|
}, z.core.$strict>>;
|
|
667
615
|
}, z.core.$strict>;
|
|
@@ -949,8 +897,8 @@ declare const agentCheckResultSchema: z.ZodObject<{
|
|
|
949
897
|
checkId: z.ZodString;
|
|
950
898
|
label: z.ZodString;
|
|
951
899
|
status: z.ZodEnum<{
|
|
952
|
-
failed: "failed";
|
|
953
900
|
cancelled: "cancelled";
|
|
901
|
+
failed: "failed";
|
|
954
902
|
passed: "passed";
|
|
955
903
|
"timed-out": "timed-out";
|
|
956
904
|
}>;
|
|
@@ -961,16 +909,16 @@ declare const agentJobSnapshotSchema: z.ZodObject<{
|
|
|
961
909
|
jobId: z.ZodString;
|
|
962
910
|
status: z.ZodEnum<{
|
|
963
911
|
queued: "queued";
|
|
964
|
-
preparing: "preparing";
|
|
965
912
|
running: "running";
|
|
966
|
-
|
|
967
|
-
applying: "applying";
|
|
968
|
-
completed: "completed";
|
|
969
|
-
failed: "failed";
|
|
913
|
+
cancelling: "cancelling";
|
|
970
914
|
cancelled: "cancelled";
|
|
915
|
+
failed: "failed";
|
|
916
|
+
preparing: "preparing";
|
|
917
|
+
validating: "validating";
|
|
971
918
|
"awaiting-review": "awaiting-review";
|
|
919
|
+
applying: "applying";
|
|
972
920
|
applied: "applied";
|
|
973
|
-
|
|
921
|
+
completed: "completed";
|
|
974
922
|
reverting: "reverting";
|
|
975
923
|
reverted: "reverted";
|
|
976
924
|
}>;
|
|
@@ -1059,8 +1007,8 @@ declare const agentJobResultSchema: z.ZodObject<{
|
|
|
1059
1007
|
checkId: z.ZodString;
|
|
1060
1008
|
label: z.ZodString;
|
|
1061
1009
|
status: z.ZodEnum<{
|
|
1062
|
-
failed: "failed";
|
|
1063
1010
|
cancelled: "cancelled";
|
|
1011
|
+
failed: "failed";
|
|
1064
1012
|
passed: "passed";
|
|
1065
1013
|
"timed-out": "timed-out";
|
|
1066
1014
|
}>;
|
|
@@ -1073,16 +1021,16 @@ declare const agentJobResultResponseSchema: z.ZodObject<{
|
|
|
1073
1021
|
jobId: z.ZodString;
|
|
1074
1022
|
status: z.ZodEnum<{
|
|
1075
1023
|
queued: "queued";
|
|
1076
|
-
preparing: "preparing";
|
|
1077
1024
|
running: "running";
|
|
1078
|
-
|
|
1079
|
-
applying: "applying";
|
|
1080
|
-
completed: "completed";
|
|
1081
|
-
failed: "failed";
|
|
1025
|
+
cancelling: "cancelling";
|
|
1082
1026
|
cancelled: "cancelled";
|
|
1027
|
+
failed: "failed";
|
|
1028
|
+
preparing: "preparing";
|
|
1029
|
+
validating: "validating";
|
|
1083
1030
|
"awaiting-review": "awaiting-review";
|
|
1031
|
+
applying: "applying";
|
|
1084
1032
|
applied: "applied";
|
|
1085
|
-
|
|
1033
|
+
completed: "completed";
|
|
1086
1034
|
reverting: "reverting";
|
|
1087
1035
|
reverted: "reverted";
|
|
1088
1036
|
}>;
|
|
@@ -1171,8 +1119,8 @@ declare const agentJobResultResponseSchema: z.ZodObject<{
|
|
|
1171
1119
|
checkId: z.ZodString;
|
|
1172
1120
|
label: z.ZodString;
|
|
1173
1121
|
status: z.ZodEnum<{
|
|
1174
|
-
failed: "failed";
|
|
1175
1122
|
cancelled: "cancelled";
|
|
1123
|
+
failed: "failed";
|
|
1176
1124
|
passed: "passed";
|
|
1177
1125
|
"timed-out": "timed-out";
|
|
1178
1126
|
}>;
|
|
@@ -1187,16 +1135,16 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1187
1135
|
jobId: z.ZodString;
|
|
1188
1136
|
status: z.ZodEnum<{
|
|
1189
1137
|
queued: "queued";
|
|
1190
|
-
preparing: "preparing";
|
|
1191
1138
|
running: "running";
|
|
1192
|
-
|
|
1193
|
-
applying: "applying";
|
|
1194
|
-
completed: "completed";
|
|
1195
|
-
failed: "failed";
|
|
1139
|
+
cancelling: "cancelling";
|
|
1196
1140
|
cancelled: "cancelled";
|
|
1141
|
+
failed: "failed";
|
|
1142
|
+
preparing: "preparing";
|
|
1143
|
+
validating: "validating";
|
|
1197
1144
|
"awaiting-review": "awaiting-review";
|
|
1145
|
+
applying: "applying";
|
|
1198
1146
|
applied: "applied";
|
|
1199
|
-
|
|
1147
|
+
completed: "completed";
|
|
1200
1148
|
reverting: "reverting";
|
|
1201
1149
|
reverted: "reverted";
|
|
1202
1150
|
}>;
|
|
@@ -1207,16 +1155,16 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1207
1155
|
jobId: z.ZodString;
|
|
1208
1156
|
status: z.ZodEnum<{
|
|
1209
1157
|
queued: "queued";
|
|
1210
|
-
preparing: "preparing";
|
|
1211
1158
|
running: "running";
|
|
1212
|
-
|
|
1213
|
-
applying: "applying";
|
|
1214
|
-
completed: "completed";
|
|
1215
|
-
failed: "failed";
|
|
1159
|
+
cancelling: "cancelling";
|
|
1216
1160
|
cancelled: "cancelled";
|
|
1161
|
+
failed: "failed";
|
|
1162
|
+
preparing: "preparing";
|
|
1163
|
+
validating: "validating";
|
|
1217
1164
|
"awaiting-review": "awaiting-review";
|
|
1165
|
+
applying: "applying";
|
|
1218
1166
|
applied: "applied";
|
|
1219
|
-
|
|
1167
|
+
completed: "completed";
|
|
1220
1168
|
reverting: "reverting";
|
|
1221
1169
|
reverted: "reverted";
|
|
1222
1170
|
}>;
|
|
@@ -1294,16 +1242,16 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1294
1242
|
jobId: z.ZodString;
|
|
1295
1243
|
status: z.ZodEnum<{
|
|
1296
1244
|
queued: "queued";
|
|
1297
|
-
preparing: "preparing";
|
|
1298
1245
|
running: "running";
|
|
1299
|
-
|
|
1300
|
-
applying: "applying";
|
|
1301
|
-
completed: "completed";
|
|
1302
|
-
failed: "failed";
|
|
1246
|
+
cancelling: "cancelling";
|
|
1303
1247
|
cancelled: "cancelled";
|
|
1248
|
+
failed: "failed";
|
|
1249
|
+
preparing: "preparing";
|
|
1250
|
+
validating: "validating";
|
|
1304
1251
|
"awaiting-review": "awaiting-review";
|
|
1252
|
+
applying: "applying";
|
|
1305
1253
|
applied: "applied";
|
|
1306
|
-
|
|
1254
|
+
completed: "completed";
|
|
1307
1255
|
reverting: "reverting";
|
|
1308
1256
|
reverted: "reverted";
|
|
1309
1257
|
}>;
|
|
@@ -1318,16 +1266,16 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1318
1266
|
jobId: z.ZodString;
|
|
1319
1267
|
status: z.ZodEnum<{
|
|
1320
1268
|
queued: "queued";
|
|
1321
|
-
preparing: "preparing";
|
|
1322
1269
|
running: "running";
|
|
1323
|
-
|
|
1324
|
-
applying: "applying";
|
|
1325
|
-
completed: "completed";
|
|
1326
|
-
failed: "failed";
|
|
1270
|
+
cancelling: "cancelling";
|
|
1327
1271
|
cancelled: "cancelled";
|
|
1272
|
+
failed: "failed";
|
|
1273
|
+
preparing: "preparing";
|
|
1274
|
+
validating: "validating";
|
|
1328
1275
|
"awaiting-review": "awaiting-review";
|
|
1276
|
+
applying: "applying";
|
|
1329
1277
|
applied: "applied";
|
|
1330
|
-
|
|
1278
|
+
completed: "completed";
|
|
1331
1279
|
reverting: "reverting";
|
|
1332
1280
|
reverted: "reverted";
|
|
1333
1281
|
}>;
|
|
@@ -1338,8 +1286,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1338
1286
|
toolCallId: z.ZodString;
|
|
1339
1287
|
toolName: z.ZodString;
|
|
1340
1288
|
state: z.ZodEnum<{
|
|
1341
|
-
started: "started";
|
|
1342
1289
|
failed: "failed";
|
|
1290
|
+
started: "started";
|
|
1343
1291
|
succeeded: "succeeded";
|
|
1344
1292
|
}>;
|
|
1345
1293
|
relativePath: z.ZodOptional<z.ZodString>;
|
|
@@ -1351,16 +1299,16 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1351
1299
|
jobId: z.ZodString;
|
|
1352
1300
|
status: z.ZodEnum<{
|
|
1353
1301
|
queued: "queued";
|
|
1354
|
-
preparing: "preparing";
|
|
1355
1302
|
running: "running";
|
|
1356
|
-
|
|
1357
|
-
applying: "applying";
|
|
1358
|
-
completed: "completed";
|
|
1359
|
-
failed: "failed";
|
|
1303
|
+
cancelling: "cancelling";
|
|
1360
1304
|
cancelled: "cancelled";
|
|
1305
|
+
failed: "failed";
|
|
1306
|
+
preparing: "preparing";
|
|
1307
|
+
validating: "validating";
|
|
1361
1308
|
"awaiting-review": "awaiting-review";
|
|
1309
|
+
applying: "applying";
|
|
1362
1310
|
applied: "applied";
|
|
1363
|
-
|
|
1311
|
+
completed: "completed";
|
|
1364
1312
|
reverting: "reverting";
|
|
1365
1313
|
reverted: "reverted";
|
|
1366
1314
|
}>;
|
|
@@ -1371,8 +1319,8 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1371
1319
|
checkId: z.ZodString;
|
|
1372
1320
|
label: z.ZodString;
|
|
1373
1321
|
status: z.ZodEnum<{
|
|
1374
|
-
failed: "failed";
|
|
1375
1322
|
cancelled: "cancelled";
|
|
1323
|
+
failed: "failed";
|
|
1376
1324
|
passed: "passed";
|
|
1377
1325
|
"timed-out": "timed-out";
|
|
1378
1326
|
}>;
|
|
@@ -1386,16 +1334,16 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1386
1334
|
jobId: z.ZodString;
|
|
1387
1335
|
status: z.ZodEnum<{
|
|
1388
1336
|
queued: "queued";
|
|
1389
|
-
preparing: "preparing";
|
|
1390
1337
|
running: "running";
|
|
1391
|
-
|
|
1392
|
-
applying: "applying";
|
|
1393
|
-
completed: "completed";
|
|
1394
|
-
failed: "failed";
|
|
1338
|
+
cancelling: "cancelling";
|
|
1395
1339
|
cancelled: "cancelled";
|
|
1340
|
+
failed: "failed";
|
|
1341
|
+
preparing: "preparing";
|
|
1342
|
+
validating: "validating";
|
|
1396
1343
|
"awaiting-review": "awaiting-review";
|
|
1344
|
+
applying: "applying";
|
|
1397
1345
|
applied: "applied";
|
|
1398
|
-
|
|
1346
|
+
completed: "completed";
|
|
1399
1347
|
reverting: "reverting";
|
|
1400
1348
|
reverted: "reverted";
|
|
1401
1349
|
}>;
|
|
@@ -1410,16 +1358,16 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1410
1358
|
jobId: z.ZodString;
|
|
1411
1359
|
status: z.ZodEnum<{
|
|
1412
1360
|
queued: "queued";
|
|
1413
|
-
preparing: "preparing";
|
|
1414
1361
|
running: "running";
|
|
1415
|
-
|
|
1416
|
-
applying: "applying";
|
|
1417
|
-
completed: "completed";
|
|
1418
|
-
failed: "failed";
|
|
1362
|
+
cancelling: "cancelling";
|
|
1419
1363
|
cancelled: "cancelled";
|
|
1364
|
+
failed: "failed";
|
|
1365
|
+
preparing: "preparing";
|
|
1366
|
+
validating: "validating";
|
|
1420
1367
|
"awaiting-review": "awaiting-review";
|
|
1368
|
+
applying: "applying";
|
|
1421
1369
|
applied: "applied";
|
|
1422
|
-
|
|
1370
|
+
completed: "completed";
|
|
1423
1371
|
reverting: "reverting";
|
|
1424
1372
|
reverted: "reverted";
|
|
1425
1373
|
}>;
|
|
@@ -1501,4 +1449,4 @@ type ApiResponse<T> = ApiSuccess<T> | ApiFailure;
|
|
|
1501
1449
|
|
|
1502
1450
|
declare const SPOTPATCH_REPOSITORY_URL: "https://github.com/huanglvjing/spotpatch";
|
|
1503
1451
|
|
|
1504
|
-
export { AGENT_APPLY_MODES, AGENT_CAPABILITY_STATES, AGENT_CHECK_STATUSES, AGENT_FILE_CHANGE_KINDS, AGENT_JOB_STATUSES, AGENT_WORKSPACE_SNAPSHOT_LIMITS, AGENT_WORKSPACE_STATES, type AgentApplyMode, type AgentCapabilityRequest, type AgentCapabilitySnapshot, type AgentCapabilityState, type AgentChangedFile, type AgentCheckDefinition, type AgentCheckResult, type AgentCheckStatus, type AgentFileChangeKind, type AgentJobCreateRequest, type AgentJobEvent, type AgentJobResult, type AgentJobResultResponse, type AgentJobSnapshot, type AgentJobStatus, type AgentLimits, type AgentWorkingTreeMode, type AgentWorkspaceChangeSummary, type AgentWorkspaceHealthSnapshot, type AgentWorkspaceState, type AiExecutionOptions, type AiModelProfile, type AiOptions, type AiProviderAuthentication, type AiProviderProtocol, type ApiFailure, type ApiResponse, type ApiSuccess, ComponentDataFlowReport, ContextBudget, DATA_FLOW_QUERY_ADAPTER_MODULES, DATA_FLOW_QUERY_HOOK_NAMES, DATA_FLOW_TRPC_CLIENT_FACTORY_NAMES, DATA_FLOW_TRPC_PROXY_FACTORY_NAMES, DATA_FLOW_TRPC_REQUEST_METHODS, DATA_FLOW_TRPC_ROOT_FACTORY_NAMES, DEFAULT_AGENT_LIMITS, type DataFlowCollectionLimitOptions, type DataFlowComponentReportRequest, type DataFlowPageReportRequest,
|
|
1452
|
+
export { AGENT_APPLY_MODES, AGENT_CAPABILITY_STATES, AGENT_CHECK_STATUSES, AGENT_FILE_CHANGE_KINDS, AGENT_JOB_STATUSES, AGENT_WORKSPACE_SNAPSHOT_LIMITS, AGENT_WORKSPACE_STATES, type AgentApplyMode, type AgentCapabilityRequest, type AgentCapabilitySnapshot, type AgentCapabilityState, type AgentChangedFile, type AgentCheckDefinition, type AgentCheckResult, type AgentCheckStatus, type AgentFileChangeKind, type AgentJobCreateRequest, type AgentJobEvent, type AgentJobResult, type AgentJobResultResponse, type AgentJobSnapshot, type AgentJobStatus, type AgentLimits, type AgentWorkingTreeMode, type AgentWorkspaceChangeSummary, type AgentWorkspaceHealthSnapshot, type AgentWorkspaceState, type AiExecutionOptions, type AiModelProfile, type AiOptions, type AiProviderAuthentication, type AiProviderProtocol, type ApiFailure, type ApiResponse, type ApiSuccess, ComponentDataFlowReport, ContextBudget, DATA_FLOW_QUERY_ADAPTER_MODULES, DATA_FLOW_QUERY_HOOK_NAMES, DATA_FLOW_TRPC_CLIENT_FACTORY_NAMES, DATA_FLOW_TRPC_PROXY_FACTORY_NAMES, DATA_FLOW_TRPC_REQUEST_METHODS, DATA_FLOW_TRPC_ROOT_FACTORY_NAMES, DEFAULT_AGENT_LIMITS, type DataFlowCollectionLimitOptions, type DataFlowComponentReportRequest, type DataFlowPageReportRequest, type EditorOpenResult, ErrorCode, type OpenAICompatibleProviderOptions, type OpenEditorRequest, PageDataFlowReport, ReportCompleteness, type ResolvedAgentCheckDefinition, type ResolvedAiExecutionOptions, type ResolvedAiModelProfile, type ResolvedAiOptions, type ResolvedOpenAICompatibleProviderOptions, type RuntimeAiConfig, type RuntimeAiModelProfile, type RuntimeAiProviderProfile, type RuntimeBootstrapRequest, RuntimeDataFlowConfig, SOURCE_MARKER_ATTRIBUTE, SPOTPATCH_API_BASE, SPOTPATCH_EDITOR_PREFERENCES, SPOTPATCH_LOCALE_PREFERENCES, SPOTPATCH_NEXT_BUNDLERS, SPOTPATCH_NEXT_ROUTER_KINDS, SPOTPATCH_REPOSITORY_URL, type SourceContextRequest, type SourceMarker, SpotAnnotation, type SpotPatchEditorPreference, SpotPatchError, type SpotPatchNextBundler, type SpotPatchNextRouterKind, type SpotPatchRuntimeConfig, agentCapabilityRequestSchema, agentCapabilitySnapshotSchema, agentChangedFileSchema, agentCheckResultSchema, agentJobActionRequestSchema, agentJobCreateRequestSchema, agentJobEventSchema, agentJobResultResponseSchema, agentJobResultSchema, agentJobSnapshotSchema, agentWorkspaceHealthRequestSchema, agentWorkspaceHealthSnapshotSchema, dataFlowComponentReportRequestSchema, dataFlowPageReportRequestSchema, formatSourceMarker, isSensitiveName, limitDataFlowReportCollections, openEditorRequestSchema, parseSourceMarker, redactSensitiveText, runtimeBootstrapRequestSchema, runtimeConfigSchema, sanitizeUrl, sourceContextRequestSchema, spotAnnotationSchema as spotAnnotationRequestSchema, spotTargetContextSchema as spotTargetContextRequestSchema };
|