@spotpatch/shared 1.11.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.
Files changed (64) hide show
  1. package/dist/annotation-C0Me9mN2.d.cts +102 -0
  2. package/dist/annotation-C0Me9mN2.d.ts +102 -0
  3. package/dist/{chunk-RK46Y7LD.js → chunk-5CHYMRNS.js} +3 -2
  4. package/dist/chunk-5CHYMRNS.js.map +1 -0
  5. package/dist/chunk-C2PJ4UUU.js +195 -0
  6. package/dist/chunk-C2PJ4UUU.js.map +1 -0
  7. package/dist/chunk-DYTWEIES.js +89 -0
  8. package/dist/chunk-DYTWEIES.js.map +1 -0
  9. package/dist/{chunk-JGOIBOFI.js → chunk-FPDSZDP2.js} +16 -2
  10. package/dist/chunk-FPDSZDP2.js.map +1 -0
  11. package/dist/chunk-IUTOVI5G.js +584 -0
  12. package/dist/chunk-IUTOVI5G.js.map +1 -0
  13. package/dist/{chunk-JU5HIWX7.js → chunk-YQ5GL523.js} +8 -173
  14. package/dist/chunk-YQ5GL523.js.map +1 -0
  15. package/dist/contextual-ask-B0mCFn92.d.cts +1451 -0
  16. package/dist/contextual-ask-B0mCFn92.d.ts +1451 -0
  17. package/dist/contextual-ask-browser.cjs +200 -0
  18. package/dist/contextual-ask-browser.cjs.map +1 -0
  19. package/dist/contextual-ask-browser.d.cts +31 -0
  20. package/dist/contextual-ask-browser.d.ts +31 -0
  21. package/dist/contextual-ask-browser.js +66 -0
  22. package/dist/contextual-ask-browser.js.map +1 -0
  23. package/dist/contextual-ask-node.cjs +968 -0
  24. package/dist/contextual-ask-node.cjs.map +1 -0
  25. package/dist/contextual-ask-node.d.cts +14 -0
  26. package/dist/contextual-ask-node.d.ts +14 -0
  27. package/dist/contextual-ask-node.js +122 -0
  28. package/dist/contextual-ask-node.js.map +1 -0
  29. package/dist/{data-flow-runtime-oKZOBYAB.d.ts → data-flow-runtime-D8HPSb2i.d.cts} +14 -13
  30. package/dist/{data-flow-runtime-BiouPr1G.d.cts → data-flow-runtime-vKeEaJgT.d.ts} +14 -13
  31. package/dist/data-flow-runtime.cjs +4 -1
  32. package/dist/data-flow-runtime.cjs.map +1 -1
  33. package/dist/data-flow-runtime.d.cts +2 -2
  34. package/dist/data-flow-runtime.d.ts +2 -2
  35. package/dist/data-flow-runtime.js +2 -2
  36. package/dist/{endpoints-GedF44M2.d.cts → endpoints-O3ohYyAo.d.cts} +7 -1
  37. package/dist/{endpoints-GedF44M2.d.ts → endpoints-O3ohYyAo.d.ts} +7 -1
  38. package/dist/error-code-DRz2eqcB.d.cts +63 -0
  39. package/dist/error-code-DRz2eqcB.d.ts +63 -0
  40. package/dist/external-agent-node.cjs +142 -121
  41. package/dist/external-agent-node.cjs.map +1 -1
  42. package/dist/external-agent-node.d.cts +28 -27
  43. package/dist/external-agent-node.d.ts +28 -27
  44. package/dist/external-agent-node.js +4 -2
  45. package/dist/external-agent-node.js.map +1 -1
  46. package/dist/{external-handoff--lT9XQEw.d.ts → external-handoff-DighrWn8.d.ts} +33 -133
  47. package/dist/{external-handoff--lT9XQEw.d.cts → external-handoff-DwtFFR6F.d.cts} +33 -133
  48. package/dist/external-handoff-browser.cjs +2 -0
  49. package/dist/external-handoff-browser.cjs.map +1 -1
  50. package/dist/external-handoff-browser.d.cts +4 -3
  51. package/dist/external-handoff-browser.d.ts +4 -3
  52. package/dist/external-handoff-browser.js +1 -1
  53. package/dist/index.cjs +1146 -423
  54. package/dist/index.cjs.map +1 -1
  55. package/dist/index.d.cts +106 -158
  56. package/dist/index.d.ts +106 -158
  57. package/dist/index.js +98 -17
  58. package/dist/index.js.map +1 -1
  59. package/package.json +29 -2
  60. package/dist/chunk-JGOIBOFI.js.map +0 -1
  61. package/dist/chunk-JU5HIWX7.js.map +0 -1
  62. package/dist/chunk-RK46Y7LD.js.map +0 -1
  63. package/dist/{external-agent-control-BB-oicmw.d.cts → external-agent-control-CRBbjDDk.d.cts} +31 -31
  64. package/dist/{external-agent-control-BB-oicmw.d.ts → external-agent-control-CRBbjDDk.d.ts} +31 -31
package/dist/index.d.cts CHANGED
@@ -1,71 +1,15 @@
1
- import { C as ContextBudget, y as SPOTPATCH_LOCALE_PREFERENCES, S as SpotAnnotation } from './external-handoff--lT9XQEw.cjs';
2
- export { A as ActiveAdapterSummary, z as CodeContext, 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, B as ElementContext, 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, M as MAX_ANNOTATION_INSTRUCTION_CHARACTERS, F as MAX_ANNOTATION_TARGETS, G as MAX_TARGET_INSTRUCTION_CHARACTERS, H as MatchedStyleRule, P as PageContext, R as ReactContext, I as SPOTPATCH_LOCALES, J as SourceConfidence, K as SourceOrigin, L as SourceRef, x as SpotPatchLocale, N as SpotPatchLocalePreference, O as SpotTargetContext, Q as StyleContext, T as activeAdapterSummarySchema, U as dispatchSummarySchema, V as externalHandoffCapabilityRequestSchema, W as externalHandoffCapabilitySchema, X as externalHandoffPublishDeliverySchema, Y as externalHandoffPublishRequestSchema, Z as externalHandoffPublishResultSchema, _ as externalHandoffReportableDispatchPhaseSchema, $ as externalHandoffResolveDeliveryRequestSchema, a0 as externalHandoffSnapshotSchema, a1 as externalHandoffStatusRequestSchema, a2 as externalHandoffStatusResultSchema, a3 as externalHandoffSummarySchema } from './external-handoff--lT9XQEw.cjs';
3
- import { R as ReportCompleteness, C as ComponentDataFlowReport, P as PageDataFlowReport, a as RuntimeDataFlowConfig } from './data-flow-runtime-BiouPr1G.cjs';
4
- 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-BiouPr1G.cjs';
1
+ import { E as ErrorCode } from './error-code-DRz2eqcB.cjs';
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-C0Me9mN2.cjs';
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.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-B0mCFn92.cjs';
6
+ import { R as ReportCompleteness, C as ComponentDataFlowReport, P as PageDataFlowReport, a as RuntimeDataFlowConfig } from './data-flow-runtime-D8HPSb2i.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-D8HPSb2i.cjs';
5
8
  import { z } from 'zod';
6
- import { b as SPOTPATCH_API_BASE } from './endpoints-GedF44M2.cjs';
7
- export { A as AgentJobAction, S as SPOTPATCH_ENDPOINTS, a as SPOTPATCH_TOKEN_HEADER, g as getAgentJobEndpoint } from './endpoints-GedF44M2.cjs';
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-BB-oicmw.cjs';
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.cjs';
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-CRBbjDDk.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-DwtFFR6F.cjs';
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 runtimeBootstrapRequestSchema: z.ZodObject<{}, z.core.$strict>;
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;
@@ -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 spotAnnotationRequestSchema: z.ZodObject<{
391
+ declare const spotAnnotationSchema: z.ZodObject<{
482
392
  schemaVersion: z.ZodLiteral<3>;
483
393
  id: z.ZodString;
484
394
  locale: z.ZodEnum<{
@@ -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;
@@ -795,10 +743,10 @@ declare const agentCapabilitySnapshotSchema: z.ZodObject<{
795
743
  }>;
796
744
  state: z.ZodEnum<{
797
745
  unknown: "unknown";
746
+ unavailable: "unavailable";
798
747
  probing: "probing";
799
748
  "agent-ready": "agent-ready";
800
749
  "prompt-only": "prompt-only";
801
- unavailable: "unavailable";
802
750
  }>;
803
751
  authenticated: z.ZodBoolean;
804
752
  modelAvailable: z.ZodBoolean;
@@ -866,8 +814,8 @@ declare const agentCapabilitySnapshotSchema: z.ZodObject<{
866
814
  declare const agentWorkspaceHealthSnapshotSchema: z.ZodObject<{
867
815
  state: z.ZodEnum<{
868
816
  ready: "ready";
869
- blocked: "blocked";
870
817
  "consent-required": "consent-required";
818
+ blocked: "blocked";
871
819
  }>;
872
820
  checkedAt: z.ZodISODateTime;
873
821
  changes: z.ZodObject<{
@@ -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
  }>;
@@ -960,17 +908,17 @@ declare const agentCheckResultSchema: z.ZodObject<{
960
908
  declare const agentJobSnapshotSchema: z.ZodObject<{
961
909
  jobId: z.ZodString;
962
910
  status: z.ZodEnum<{
963
- completed: "completed";
964
- failed: "failed";
965
911
  queued: "queued";
966
- preparing: "preparing";
967
912
  running: "running";
913
+ cancelling: "cancelling";
914
+ cancelled: "cancelled";
915
+ failed: "failed";
916
+ preparing: "preparing";
968
917
  validating: "validating";
969
918
  "awaiting-review": "awaiting-review";
970
919
  applying: "applying";
971
920
  applied: "applied";
972
- cancelling: "cancelling";
973
- cancelled: "cancelled";
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
  }>;
@@ -1072,17 +1020,17 @@ declare const agentJobResultResponseSchema: z.ZodObject<{
1072
1020
  snapshot: z.ZodObject<{
1073
1021
  jobId: z.ZodString;
1074
1022
  status: z.ZodEnum<{
1075
- completed: "completed";
1076
- failed: "failed";
1077
1023
  queued: "queued";
1078
- preparing: "preparing";
1079
1024
  running: "running";
1025
+ cancelling: "cancelling";
1026
+ cancelled: "cancelled";
1027
+ failed: "failed";
1028
+ preparing: "preparing";
1080
1029
  validating: "validating";
1081
1030
  "awaiting-review": "awaiting-review";
1082
1031
  applying: "applying";
1083
1032
  applied: "applied";
1084
- cancelling: "cancelling";
1085
- cancelled: "cancelled";
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
  }>;
@@ -1186,17 +1134,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1186
1134
  sequence: z.ZodNumber;
1187
1135
  jobId: z.ZodString;
1188
1136
  status: z.ZodEnum<{
1189
- completed: "completed";
1190
- failed: "failed";
1191
1137
  queued: "queued";
1192
- preparing: "preparing";
1193
1138
  running: "running";
1139
+ cancelling: "cancelling";
1140
+ cancelled: "cancelled";
1141
+ failed: "failed";
1142
+ preparing: "preparing";
1194
1143
  validating: "validating";
1195
1144
  "awaiting-review": "awaiting-review";
1196
1145
  applying: "applying";
1197
1146
  applied: "applied";
1198
- cancelling: "cancelling";
1199
- cancelled: "cancelled";
1147
+ completed: "completed";
1200
1148
  reverting: "reverting";
1201
1149
  reverted: "reverted";
1202
1150
  }>;
@@ -1206,17 +1154,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1206
1154
  snapshot: z.ZodObject<{
1207
1155
  jobId: z.ZodString;
1208
1156
  status: z.ZodEnum<{
1209
- completed: "completed";
1210
- failed: "failed";
1211
1157
  queued: "queued";
1212
- preparing: "preparing";
1213
1158
  running: "running";
1159
+ cancelling: "cancelling";
1160
+ cancelled: "cancelled";
1161
+ failed: "failed";
1162
+ preparing: "preparing";
1214
1163
  validating: "validating";
1215
1164
  "awaiting-review": "awaiting-review";
1216
1165
  applying: "applying";
1217
1166
  applied: "applied";
1218
- cancelling: "cancelling";
1219
- cancelled: "cancelled";
1167
+ completed: "completed";
1220
1168
  reverting: "reverting";
1221
1169
  reverted: "reverted";
1222
1170
  }>;
@@ -1293,17 +1241,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1293
1241
  sequence: z.ZodNumber;
1294
1242
  jobId: z.ZodString;
1295
1243
  status: z.ZodEnum<{
1296
- completed: "completed";
1297
- failed: "failed";
1298
1244
  queued: "queued";
1299
- preparing: "preparing";
1300
1245
  running: "running";
1246
+ cancelling: "cancelling";
1247
+ cancelled: "cancelled";
1248
+ failed: "failed";
1249
+ preparing: "preparing";
1301
1250
  validating: "validating";
1302
1251
  "awaiting-review": "awaiting-review";
1303
1252
  applying: "applying";
1304
1253
  applied: "applied";
1305
- cancelling: "cancelling";
1306
- cancelled: "cancelled";
1254
+ completed: "completed";
1307
1255
  reverting: "reverting";
1308
1256
  reverted: "reverted";
1309
1257
  }>;
@@ -1317,17 +1265,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1317
1265
  sequence: z.ZodNumber;
1318
1266
  jobId: z.ZodString;
1319
1267
  status: z.ZodEnum<{
1320
- completed: "completed";
1321
- failed: "failed";
1322
1268
  queued: "queued";
1323
- preparing: "preparing";
1324
1269
  running: "running";
1270
+ cancelling: "cancelling";
1271
+ cancelled: "cancelled";
1272
+ failed: "failed";
1273
+ preparing: "preparing";
1325
1274
  validating: "validating";
1326
1275
  "awaiting-review": "awaiting-review";
1327
1276
  applying: "applying";
1328
1277
  applied: "applied";
1329
- cancelling: "cancelling";
1330
- cancelled: "cancelled";
1278
+ completed: "completed";
1331
1279
  reverting: "reverting";
1332
1280
  reverted: "reverted";
1333
1281
  }>;
@@ -1350,17 +1298,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1350
1298
  sequence: z.ZodNumber;
1351
1299
  jobId: z.ZodString;
1352
1300
  status: z.ZodEnum<{
1353
- completed: "completed";
1354
- failed: "failed";
1355
1301
  queued: "queued";
1356
- preparing: "preparing";
1357
1302
  running: "running";
1303
+ cancelling: "cancelling";
1304
+ cancelled: "cancelled";
1305
+ failed: "failed";
1306
+ preparing: "preparing";
1358
1307
  validating: "validating";
1359
1308
  "awaiting-review": "awaiting-review";
1360
1309
  applying: "applying";
1361
1310
  applied: "applied";
1362
- cancelling: "cancelling";
1363
- cancelled: "cancelled";
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
  }>;
@@ -1385,17 +1333,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1385
1333
  sequence: z.ZodNumber;
1386
1334
  jobId: z.ZodString;
1387
1335
  status: z.ZodEnum<{
1388
- completed: "completed";
1389
- failed: "failed";
1390
1336
  queued: "queued";
1391
- preparing: "preparing";
1392
1337
  running: "running";
1338
+ cancelling: "cancelling";
1339
+ cancelled: "cancelled";
1340
+ failed: "failed";
1341
+ preparing: "preparing";
1393
1342
  validating: "validating";
1394
1343
  "awaiting-review": "awaiting-review";
1395
1344
  applying: "applying";
1396
1345
  applied: "applied";
1397
- cancelling: "cancelling";
1398
- cancelled: "cancelled";
1346
+ completed: "completed";
1399
1347
  reverting: "reverting";
1400
1348
  reverted: "reverted";
1401
1349
  }>;
@@ -1409,17 +1357,17 @@ declare const agentJobEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1409
1357
  sequence: z.ZodNumber;
1410
1358
  jobId: z.ZodString;
1411
1359
  status: z.ZodEnum<{
1412
- completed: "completed";
1413
- failed: "failed";
1414
1360
  queued: "queued";
1415
- preparing: "preparing";
1416
1361
  running: "running";
1362
+ cancelling: "cancelling";
1363
+ cancelled: "cancelled";
1364
+ failed: "failed";
1365
+ preparing: "preparing";
1417
1366
  validating: "validating";
1418
1367
  "awaiting-review": "awaiting-review";
1419
1368
  applying: "applying";
1420
1369
  applied: "applied";
1421
- cancelling: "cancelling";
1422
- cancelled: "cancelled";
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, ERROR_CODES, ERROR_CODE_VALUES, type EditorOpenResult, type 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, isErrorCode, isSensitiveName, limitDataFlowReportCollections, openEditorRequestSchema, parseSourceMarker, redactSensitiveText, runtimeBootstrapRequestSchema, runtimeConfigSchema, sanitizeUrl, sourceContextRequestSchema, spotAnnotationRequestSchema, spotTargetContextRequestSchema };
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 };