@vercel/factory 0.0.13 → 0.0.14

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 (54) hide show
  1. package/README.md +1 -1
  2. package/dist/api.d.mts +225 -0
  3. package/dist/api.mjs +312 -0
  4. package/dist/api.mjs.map +1 -0
  5. package/dist/approval-JX2Px9IC.mjs +132 -0
  6. package/dist/approval-JX2Px9IC.mjs.map +1 -0
  7. package/dist/blob/index.d.mts +4 -3
  8. package/dist/blob/index.mjs +21 -15
  9. package/dist/blob/index.mjs.map +1 -1
  10. package/dist/budget-DzSiIA4t.mjs +42 -0
  11. package/dist/budget-DzSiIA4t.mjs.map +1 -0
  12. package/dist/build-factory.mjs +1 -1
  13. package/dist/{change-CzEAoFVE.mjs → change-D2U6v7Ek.mjs} +10 -76
  14. package/dist/change-D2U6v7Ek.mjs.map +1 -0
  15. package/dist/communication-Kd9nU5RP.mjs +30 -0
  16. package/dist/communication-Kd9nU5RP.mjs.map +1 -0
  17. package/dist/connectors/index.d.mts +3 -2
  18. package/dist/connectors/index.mjs +53 -26
  19. package/dist/connectors/index.mjs.map +1 -1
  20. package/dist/connectors/slack.d.mts +13 -2
  21. package/dist/connectors/slack.mjs +18 -2
  22. package/dist/connectors/slack.mjs.map +1 -1
  23. package/dist/coordination-Cq08hb1l.mjs +76 -0
  24. package/dist/coordination-Cq08hb1l.mjs.map +1 -0
  25. package/dist/dispatch-BaZS3PT8.d.mts +76 -0
  26. package/dist/{driver-BJutB0PE.d.mts → driver-BC0Mt5KG.d.mts} +2 -2
  27. package/dist/driver-Bbd25rNM.mjs.map +1 -1
  28. package/dist/{dispatch-B77cuPxh.d.mts → engine-DFHU2Pe-.d.mts} +356 -288
  29. package/dist/engine-WaUM2cGA.mjs +1068 -0
  30. package/dist/engine-WaUM2cGA.mjs.map +1 -0
  31. package/dist/eve/index.d.mts +44 -334
  32. package/dist/eve/index.mjs +51 -38
  33. package/dist/eve/index.mjs.map +1 -1
  34. package/dist/{factory-config-BJcjsPKl.mjs → factory-config-BoRXOw43.mjs} +5 -41
  35. package/dist/factory-config-BoRXOw43.mjs.map +1 -0
  36. package/dist/{github-DXsxboUL.d.mts → github-C5HNBN6p.d.mts} +11 -3
  37. package/dist/github.d.mts +2 -2
  38. package/dist/github.mjs +15 -1
  39. package/dist/github.mjs.map +1 -1
  40. package/dist/{id-DwCihQr4.mjs → id-BLIkCVue.mjs} +4 -2
  41. package/dist/{id-DwCihQr4.mjs.map → id-BLIkCVue.mjs.map} +1 -1
  42. package/dist/index-Bw6hggoH.d.mts +40 -0
  43. package/dist/index.d.mts +176 -6
  44. package/dist/index.mjs +50 -652
  45. package/dist/index.mjs.map +1 -1
  46. package/dist/postgres/index.d.mts +1 -1
  47. package/dist/{approval-CwhTP1XB.mjs → task-CcOyOJ3k.mjs} +18 -133
  48. package/dist/task-CcOyOJ3k.mjs.map +1 -0
  49. package/package.json +5 -1
  50. package/dist/approval-CwhTP1XB.mjs.map +0 -1
  51. package/dist/change-CzEAoFVE.mjs.map +0 -1
  52. package/dist/factory-config-BJcjsPKl.mjs.map +0 -1
  53. package/dist/index-Cy4jfXh5.d.mts +0 -67
  54. package/dist/signal-CHVEmzvI.d.mts +0 -59
package/dist/index.d.mts CHANGED
@@ -1,7 +1,173 @@
1
- import { a as StoredEntry, i as StoreDriver, n as RecordExistsError, o as StoredRecord, r as RecordNotFoundError, s as VersionConflictError, t as CollectionName } from "./driver-BJutB0PE.mjs";
1
+ import { a as DispatchRefusedError, c as AgentRouteInput, d as defineAgentRoutes, i as DispatchOptions, l as AgentRouteRegistry, n as DEFAULT_MAX_LAUNCH_ATTEMPTS, o as dispatchTask, r as DispatchBudget, s as AgentRoute, t as BudgetExhaustedError, u as agentRouteSchema } from "./dispatch-BaZS3PT8.mjs";
2
+ import { $ as Change, $t as outboxIdSchema, A as standardSignalSources, At as coordinationRepositoryIdsSchema, B as costSchema, Bt as taskStateSchema, C as createStores, Ct as answerEventSchema, D as signalOutcomeSchema, Dt as TaskKind, E as SignalSource, Et as TaskApproval, F as Cost, Ft as taskExecutionRepositoryIdsSchema, G as standardReceiptKinds, Gt as OutboxId, H as receiptPhaseSchema, Ht as AnswerId, I as Receipt, It as taskKindSchema, J as OutboxMessage, Jt as SignalId, K as standardReceiptPhases, Kt as ReceiptId, L as ReceiptKind, Lt as taskOriginSchema, M as RepositorySlug, Mt as harnessSchema, N as repositorySchema, Nt as standardTaskKinds, O as signalSchema, Ot as TaskState, P as repositorySlugSchema, Pt as taskApprovalSchema, Q as outboxStateSchema, Qt as factoryIdSchema, R as ReceiptPhase, Rt as taskQuestionSchema, S as TaskTransitionOptions, St as AnswerEvent, T as SignalOutcome, Tt as Task, U as receiptSchema, Ut as ChangeId, V as receiptKindSchema, Vt as taskUsageSchema, W as receiptStateSchema, Wt as FactoryId, X as outboxMessageSchema, Xt as answerIdSchema, Y as OutboxQueue, Yt as TaskId, Z as outboxQueueSchema, Zt as changeIdSchema, _ as SessionConflictError, _t as usdSchema, a as ApprovalError, an as Budget, at as changeStateSchema, b as StepUsage, bt as agentSessionIdSchema, c as ChangeTransitionOptions, cn as budgetMonthSchema, ct as CommunicationOutcome, d as CreateStoresOptions, dt as communicationOutcomes, en as receiptIdSchema, et as ChangeEvidence, f as CreateTaskInput, ft as ReplyTo, g as OutboxEventConflictError, gt as schemaVersionSchema, h as FactoryStores, ht as replyToSchema, i as ApprovalDecision, in as taskIdSchema, it as changeSchema, j as Repository, jt as executionReferenceSchema, k as signalSourceSchema, kt as TaskUsage, l as CreateChangeInput, ln as budgetSchema, lt as communicationEventSchema, m as EnsureBudgetInput, mt as isoDateTimeSchema, n as AnswerQuestionInput, nn as repositoryIdsSchema, nt as Level, o as ChangeAssociationError, on as BudgetLimits, ot as levelSchema, p as DecideSignalOptions, pt as SCHEMA_VERSION, q as standardReceiptStates, qt as RepositoryId, r as AppendReceiptInput, rn as signalIdSchema, rt as changeEvidenceSchema, s as ChangePatch, sn as budgetLimitsSchema, st as CommunicationEvent, t as AnswerEventConflictError, tn as repositoryIdSchema, tt as ChangeState, u as CreateSignalInput, ut as communicationOutcomeSchema, v as SettleTaskOptions, vt as vocabularySchema, w as Signal, wt as ExecutionReference, x as TaskPatch, xt as agentSessionSchema, y as SettlementError, yt as AgentSession, z as ReceiptState, zt as taskSchema } from "./engine-DFHU2Pe-.mjs";
3
+ import { a as StoredEntry, i as StoreDriver, n as RecordExistsError, o as StoredRecord, r as RecordNotFoundError, s as VersionConflictError, t as CollectionName } from "./driver-BC0Mt5KG.mjs";
2
4
  import { a as defineFactory, c as factoryConfigSchema, i as defaultExecutionPolicy, n as FactoryConfig, o as executionPolicySchema, r as FactoryConfigInput, s as factoryConfigRepositorySchema, t as ExecutionPolicy } from "./factory-config-D2yU3G0c.mjs";
3
- import { a as signalSchema, c as ReplyTo, d as replyToSchema, f as schemaVersionSchema, i as signalOutcomeSchema, l as SCHEMA_VERSION, m as vocabularySchema, n as SignalOutcome, o as signalSourceSchema, p as usdSchema, r as SignalSource, s as standardSignalSources, t as Signal, u as isoDateTimeSchema } from "./signal-CHVEmzvI.mjs";
4
- import { $ as Cost, $t as taskSchema, A as AppendReceiptInput, At as TaskId, B as DecideSignalOptions, Bt as TaskApproval, C as findingCategorySchema, Ct as budgetMonthSchema, D as findingVerificationLevelSchema, Dt as ReceiptId, E as findingSchema, Et as FactoryId, F as ChangeTransitionOptions, Ft as repositoryIdsSchema, G as StepUsage, Gt as executionReferenceSchema, H as FactoryStores, Ht as TaskState, I as CreateChangeInput, It as signalIdSchema, J as createStores, Jt as taskApprovalSchema, K as TaskPatch, Kt as harnessSchema, L as CreateSignalInput, Lt as taskIdSchema, M as ApprovalError, Mt as factoryIdSchema, N as ChangeAssociationError, Nt as receiptIdSchema, O as findingVerificationMethodSchema, Ot as RepositoryId, P as ChangePatch, Pt as repositoryIdSchema, Q as repositorySlugSchema, Qt as taskQuestionSchema, R as CreateStoresOptions, Rt as ExecutionReference, S as FindingVerification, St as budgetLimitsSchema, T as findingPrioritySchema, Tt as ChangeId, U as SettleTaskOptions, Ut as TaskUsage, V as EnsureBudgetInput, Vt as TaskKind, W as SettlementError, Wt as coordinationRepositoryIdsSchema, X as RepositorySlug, Xt as taskKindSchema, Y as Repository, Yt as taskExecutionRepositoryIdsSchema, Z as repositorySchema, Zt as taskOriginSchema, _ as defaultApprovalPolicy, _t as changeSchema, a as DispatchRefusedError, at as receiptKindSchema, b as FindingCategory, bt as Budget, c as AgentRouteInput, ct as receiptStateSchema, d as defineAgentRoutes, dt as standardReceiptStates, en as taskStateSchema, et as Receipt, f as ApprovalPolicy, ft as Change, g as approvalRuleSchema, gt as changeEvidenceSchema, h as approvalPolicySchema, ht as Level, i as DispatchOptions, it as costSchema, j as ApprovalDecision, jt as changeIdSchema, k as findingVerificationSchema, kt as SignalId, l as AgentRouteRegistry, lt as standardReceiptKinds, m as ApprovalSubject, mt as ChangeState, n as DEFAULT_MAX_LAUNCH_ATTEMPTS, nt as ReceiptPhase, o as dispatchTask, ot as receiptPhaseSchema, p as ApprovalRule, pt as ChangeEvidence, q as TaskTransitionOptions, qt as standardTaskKinds, r as DispatchBudget, rt as ReceiptState, s as AgentRoute, st as receiptSchema, t as BudgetExhaustedError, tn as taskUsageSchema, tt as ReceiptKind, u as agentRouteSchema, ut as standardReceiptPhases, v as requiresApproval, vt as changeStateSchema, w as findingFingerprint, wt as budgetSchema, x as FindingPriority, xt as BudgetLimits, y as Finding, yt as levelSchema, z as CreateTaskInput, zt as Task } from "./dispatch-B77cuPxh.mjs";
5
+ import { z } from "zod";
6
+ //#region src/schema/finding.d.ts
7
+ declare const findingPrioritySchema: z.ZodEnum<{
8
+ P0: "P0";
9
+ P1: "P1";
10
+ P2: "P2";
11
+ P3: "P3";
12
+ }>;
13
+ declare const findingCategorySchema: z.ZodEnum<{
14
+ security: "security";
15
+ correctness: "correctness";
16
+ reliability: "reliability";
17
+ performance: "performance";
18
+ compatibility: "compatibility";
19
+ accessibility: "accessibility";
20
+ documentation: "documentation";
21
+ maintainability: "maintainability";
22
+ testing: "testing";
23
+ usability: "usability";
24
+ }>;
25
+ declare const findingVerificationLevelSchema: z.ZodEnum<{
26
+ unverified: "unverified";
27
+ supported: "supported";
28
+ confirmed: "confirmed";
29
+ }>;
30
+ declare const findingVerificationMethodSchema: z.ZodEnum<{
31
+ documentation: "documentation";
32
+ code_inspection: "code_inspection";
33
+ static_analysis: "static_analysis";
34
+ manual_reproduction: "manual_reproduction";
35
+ unit_test: "unit_test";
36
+ integration_test: "integration_test";
37
+ e2e_test: "e2e_test";
38
+ runtime_observation: "runtime_observation";
39
+ }>;
40
+ /**
41
+ * What was done to check the finding. Forces a reporter to distinguish "I
42
+ * think this is a problem" from "I demonstrated it", which is the axis a human
43
+ * approving fixes cares about most.
44
+ */
45
+ declare const findingVerificationSchema: z.ZodObject<{
46
+ level: z.ZodEnum<{
47
+ unverified: "unverified";
48
+ supported: "supported";
49
+ confirmed: "confirmed";
50
+ }>;
51
+ method: z.ZodEnum<{
52
+ documentation: "documentation";
53
+ code_inspection: "code_inspection";
54
+ static_analysis: "static_analysis";
55
+ manual_reproduction: "manual_reproduction";
56
+ unit_test: "unit_test";
57
+ integration_test: "integration_test";
58
+ e2e_test: "e2e_test";
59
+ runtime_observation: "runtime_observation";
60
+ }>;
61
+ summary: z.ZodString;
62
+ limitations: z.ZodOptional<z.ZodString>;
63
+ }, z.core.$strict>;
64
+ /** A single problem found in a repository, as a scanner or agent reports it. */
65
+ declare const findingSchema: z.ZodObject<{
66
+ title: z.ZodString;
67
+ body: z.ZodString;
68
+ path: z.ZodOptional<z.ZodString>;
69
+ line: z.ZodOptional<z.ZodNumber>;
70
+ endLine: z.ZodOptional<z.ZodNumber>;
71
+ priority: z.ZodEnum<{
72
+ P0: "P0";
73
+ P1: "P1";
74
+ P2: "P2";
75
+ P3: "P3";
76
+ }>;
77
+ category: z.ZodEnum<{
78
+ security: "security";
79
+ correctness: "correctness";
80
+ reliability: "reliability";
81
+ performance: "performance";
82
+ compatibility: "compatibility";
83
+ accessibility: "accessibility";
84
+ documentation: "documentation";
85
+ maintainability: "maintainability";
86
+ testing: "testing";
87
+ usability: "usability";
88
+ }>;
89
+ verification: z.ZodObject<{
90
+ level: z.ZodEnum<{
91
+ unverified: "unverified";
92
+ supported: "supported";
93
+ confirmed: "confirmed";
94
+ }>;
95
+ method: z.ZodEnum<{
96
+ documentation: "documentation";
97
+ code_inspection: "code_inspection";
98
+ static_analysis: "static_analysis";
99
+ manual_reproduction: "manual_reproduction";
100
+ unit_test: "unit_test";
101
+ integration_test: "integration_test";
102
+ e2e_test: "e2e_test";
103
+ runtime_observation: "runtime_observation";
104
+ }>;
105
+ summary: z.ZodString;
106
+ limitations: z.ZodOptional<z.ZodString>;
107
+ }, z.core.$strict>;
108
+ tool: z.ZodOptional<z.ZodString>;
109
+ ruleId: z.ZodOptional<z.ZodString>;
110
+ }, z.core.$strict>;
111
+ type FindingPriority = z.infer<typeof findingPrioritySchema>;
112
+ type FindingCategory = z.infer<typeof findingCategorySchema>;
113
+ type FindingVerification = z.infer<typeof findingVerificationSchema>;
114
+ type Finding = z.infer<typeof findingSchema>;
115
+ /**
116
+ * Stable identity of a finding across scans, used as the signal's delivery id
117
+ * so re-reporting is a no-op instead of a second task. A scanner finding is
118
+ * the same problem when the same tool reports the same rule on the same file;
119
+ * its title is model-written prose and changes between runs, so it is left
120
+ * out. Without a rule id the title is all there is, normalised.
121
+ */
122
+ declare function findingFingerprint(repositoryId: string, finding: Finding): string;
123
+ //#endregion
124
+ //#region src/approval.d.ts
125
+ /**
126
+ * One approval rule. Every listed field must match for the rule to apply;
127
+ * absent fields match anything. Rules are evaluated first-match.
128
+ */
129
+ declare const approvalRuleSchema: z.ZodObject<{
130
+ source: z.ZodOptional<z.ZodString>;
131
+ kind: z.ZodOptional<z.ZodString>;
132
+ priority: z.ZodOptional<z.ZodArray<z.ZodEnum<{
133
+ P0: "P0";
134
+ P1: "P1";
135
+ P2: "P2";
136
+ P3: "P3";
137
+ }>>>;
138
+ require: z.ZodBoolean;
139
+ }, z.core.$strict>;
140
+ declare const approvalPolicySchema: z.ZodArray<z.ZodObject<{
141
+ source: z.ZodOptional<z.ZodString>;
142
+ kind: z.ZodOptional<z.ZodString>;
143
+ priority: z.ZodOptional<z.ZodArray<z.ZodEnum<{
144
+ P0: "P0";
145
+ P1: "P1";
146
+ P2: "P2";
147
+ P3: "P3";
148
+ }>>>;
149
+ require: z.ZodBoolean;
150
+ }, z.core.$strict>>;
151
+ type ApprovalRule = z.infer<typeof approvalRuleSchema>;
152
+ type ApprovalPolicy = z.infer<typeof approvalPolicySchema>;
153
+ /**
154
+ * The default: fixes for security findings wait for a human; everything else
155
+ * runs as it always has. Handoffs between agents (verification) never wait,
156
+ * because a human already approved the work they continue.
157
+ */
158
+ declare const defaultApprovalPolicy: ApprovalPolicy;
159
+ interface ApprovalSubject {
160
+ source?: string;
161
+ kind: string;
162
+ priority?: FindingPriority;
163
+ }
164
+ /**
165
+ * Decide at task-creation time whether a task needs approval. Pure: the answer
166
+ * is stamped on the task and never re-evaluated, so a later policy change
167
+ * cannot silently release work a human was expecting to see.
168
+ */
169
+ declare function requiresApproval(policy: ApprovalPolicy, subject: ApprovalSubject): boolean;
170
+ //#endregion
5
171
  //#region src/briefs.d.ts
6
172
  /** The finding behind a task, when its signal carries one. */
7
173
  declare function findingForTask(stores: FactoryStores, task: Task): Promise<Finding | null>;
@@ -193,6 +359,8 @@ interface HealthOptions {
193
359
  now?: Date;
194
360
  /** Open-change cap from factory configuration; omitted disables that check. */
195
361
  maxOpenChanges?: number;
362
+ /** Minutes an eligible executable task may remain queued before health turns yellow. Default 5. */
363
+ maxQueuedMinutes?: number;
196
364
  }
197
365
  interface RepositoryHealth {
198
366
  color: HealthColor;
@@ -278,15 +446,17 @@ interface SweepOptions {
278
446
  launchers: Readonly<Record<string, TaskLauncher>>;
279
447
  /** Reserve-before-execution limits, passed through to every dispatch. */
280
448
  budget?: DispatchBudget;
449
+ /** Maximum task launches attempted in one pass; omitted means no limit. */
450
+ maxDispatches?: number;
281
451
  }
282
452
  interface SweepResult {
283
453
  dispatched: string[];
284
- /** Tasks left in the queue and why: awaiting approval, no launcher, missing repository. */
454
+ /** Tasks left in the queue because a declared gate may become eligible later. */
285
455
  skipped: {
286
456
  taskId: string;
287
457
  reason: string;
288
458
  }[];
289
- /** Tasks whose launch threw; dispatchTask has already recorded them as failed. */
459
+ /** Tasks whose routing is invalid or whose launch threw. */
290
460
  failed: {
291
461
  taskId: string;
292
462
  reason: string;
@@ -310,5 +480,5 @@ interface VerificationTaskSweep {
310
480
  /** Ensure every recorded code change has exactly one durable verification task. */
311
481
  declare function ensureVerificationTasks(stores: FactoryStores): Promise<VerificationTaskSweep>;
312
482
  //#endregion
313
- export { AdoptPullRequestInput, AgentRoute, AgentRouteInput, AgentRouteRegistry, AppendReceiptInput, ApprovalDecision, ApprovalError, ApprovalPolicy, ApprovalRule, ApprovalSubject, Budget, BudgetExhaustedError, BudgetLimits, BudgetNotice, BudgetStatus, BudgetSweepOptions, BudgetSweepResult, Change, ChangeAssociationError, ChangeEvidence, ChangeId, ChangePatch, ChangeState, ChangeTransitionOptions, CollectionName, CoordinationPlan, CoordinationReconciliation, Cost, CreateChangeInput, CreateCoordinationInput, CreateSignalInput, CreateStoresOptions, CreateTaskInput, DEFAULT_MAX_LAUNCH_ATTEMPTS, DecideSignalOptions, DispatchBudget, DispatchOptions, DispatchRefusedError, EnsureBudgetInput, ExecutionPolicy, ExecutionReference, FactoryConfig, FactoryConfigInput, FactoryId, FactoryStores, Finding, FindingCategory, FindingPriority, FindingVerification, HealthColor, HealthOptions, InvalidTransitionError, LedgerMetrics, LedgerRows, Level, MetricsOptions, Receipt, ReceiptId, ReceiptKind, ReceiptPhase, ReceiptState, ReconcileCoordinationOptions, RecordExistsError, RecordNotFoundError, ReplyTo, Repository, RepositoryHealth, RepositoryId, RepositorySlug, ReviewBucket, SCHEMA_VERSION, SettleSweepOptions, SettleSweepResult, SettleTaskOptions, SettlementError, Signal, SignalCreator, SignalId, SignalOutcome, SignalSource, StallSweepOptions, StallSweepResult, StepUsage, StoreDriver, StoredEntry, StoredRecord, SweepOptions, SweepResult, Task, TaskApproval, TaskId, TaskKind, TaskLauncher, TaskPatch, TaskState, TaskTransitionOptions, TaskUsage, Transition, TransitionActor, VerificationTaskSweep, VersionConflictError, adoptPullRequest, agentRouteSchema, approvalPolicySchema, approvalRuleSchema, assertTransition, budgetLimitsSchema, budgetMonthOf, budgetMonthSchema, budgetSchema, budgetStatus, canReserve, changeEvidenceSchema, changeIdSchema, changeInitialState, changeSchema, changeStateSchema, changeTransitions, computeLedgerMetrics, computeMonthSpendUsd, computeRepositoryHealth, coordinationRepositoryIdsSchema, costSchema, createCoordination, createInMemoryDriver, createSignalCreator, createStores, defaultApprovalPolicy, defaultExecutionPolicy, defineAgentRoutes, defineFactory, deriveFactoryId, dispatchTask, ensureVerificationTasks, executionPolicySchema, executionReferenceSchema, factoryConfigRepositorySchema, factoryConfigSchema, factoryIdSchema, findingCategorySchema, findingFingerprint, findingForTask, findingPrioritySchema, findingSchema, findingVerificationLevelSchema, findingVerificationMethodSchema, findingVerificationSchema, fixBrief, harnessSchema, isTransitionAllowed, isoDateTimeSchema, legalNextStates, levelSchema, receiptIdSchema, receiptKindSchema, receiptPhaseSchema, receiptSchema, receiptStateSchema, reconcileCoordination, replyToSchema, repositoryIdSchema, repositoryIdsSchema, repositorySchema, repositorySlugSchema, requiresApproval, reviewBucket, scanBrief, schemaVersionSchema, signalIdSchema, signalInitialOutcome, signalOutcomeSchema, signalOutcomeTransitions, signalSchema, signalSourceSchema, stallWindowMinutes, standardReceiptKinds, standardReceiptPhases, standardReceiptStates, standardSignalSources, standardTaskKinds, sweepBudget, sweepQueued, sweepSettlements, sweepStalled, taskApprovalSchema, taskExecutionRepositoryIdsSchema, taskIdSchema, taskInitialState, taskKindSchema, taskOriginSchema, taskQuestionSchema, taskSchema, taskStateSchema, taskTransitions, taskUsageSchema, terminalStates, usdSchema, verificationBrief, vocabularySchema };
483
+ export { AdoptPullRequestInput, AgentRoute, AgentRouteInput, AgentRouteRegistry, AgentSession, AnswerEvent, AnswerEventConflictError, AnswerId, AnswerQuestionInput, AppendReceiptInput, ApprovalDecision, ApprovalError, ApprovalPolicy, ApprovalRule, ApprovalSubject, Budget, BudgetExhaustedError, BudgetLimits, BudgetNotice, BudgetStatus, BudgetSweepOptions, BudgetSweepResult, Change, ChangeAssociationError, ChangeEvidence, ChangeId, ChangePatch, ChangeState, ChangeTransitionOptions, CollectionName, CommunicationEvent, CommunicationOutcome, CoordinationPlan, CoordinationReconciliation, Cost, CreateChangeInput, CreateCoordinationInput, CreateSignalInput, CreateStoresOptions, CreateTaskInput, DEFAULT_MAX_LAUNCH_ATTEMPTS, DecideSignalOptions, DispatchBudget, DispatchOptions, DispatchRefusedError, EnsureBudgetInput, ExecutionPolicy, ExecutionReference, FactoryConfig, FactoryConfigInput, FactoryId, FactoryStores, Finding, FindingCategory, FindingPriority, FindingVerification, HealthColor, HealthOptions, InvalidTransitionError, LedgerMetrics, LedgerRows, Level, MetricsOptions, OutboxEventConflictError, OutboxId, OutboxMessage, OutboxQueue, Receipt, ReceiptId, ReceiptKind, ReceiptPhase, ReceiptState, ReconcileCoordinationOptions, RecordExistsError, RecordNotFoundError, ReplyTo, Repository, RepositoryHealth, RepositoryId, RepositorySlug, ReviewBucket, SCHEMA_VERSION, SessionConflictError, SettleSweepOptions, SettleSweepResult, SettleTaskOptions, SettlementError, Signal, SignalCreator, SignalId, SignalOutcome, SignalSource, StallSweepOptions, StallSweepResult, StepUsage, StoreDriver, StoredEntry, StoredRecord, SweepOptions, SweepResult, Task, TaskApproval, TaskId, TaskKind, TaskLauncher, TaskPatch, TaskState, TaskTransitionOptions, TaskUsage, Transition, TransitionActor, VerificationTaskSweep, VersionConflictError, adoptPullRequest, agentRouteSchema, agentSessionIdSchema, agentSessionSchema, answerEventSchema, answerIdSchema, approvalPolicySchema, approvalRuleSchema, assertTransition, budgetLimitsSchema, budgetMonthOf, budgetMonthSchema, budgetSchema, budgetStatus, canReserve, changeEvidenceSchema, changeIdSchema, changeInitialState, changeSchema, changeStateSchema, changeTransitions, communicationEventSchema, communicationOutcomeSchema, communicationOutcomes, computeLedgerMetrics, computeMonthSpendUsd, computeRepositoryHealth, coordinationRepositoryIdsSchema, costSchema, createCoordination, createInMemoryDriver, createSignalCreator, createStores, defaultApprovalPolicy, defaultExecutionPolicy, defineAgentRoutes, defineFactory, deriveFactoryId, dispatchTask, ensureVerificationTasks, executionPolicySchema, executionReferenceSchema, factoryConfigRepositorySchema, factoryConfigSchema, factoryIdSchema, findingCategorySchema, findingFingerprint, findingForTask, findingPrioritySchema, findingSchema, findingVerificationLevelSchema, findingVerificationMethodSchema, findingVerificationSchema, fixBrief, harnessSchema, isTransitionAllowed, isoDateTimeSchema, legalNextStates, levelSchema, outboxIdSchema, outboxMessageSchema, outboxQueueSchema, outboxStateSchema, receiptIdSchema, receiptKindSchema, receiptPhaseSchema, receiptSchema, receiptStateSchema, reconcileCoordination, replyToSchema, repositoryIdSchema, repositoryIdsSchema, repositorySchema, repositorySlugSchema, requiresApproval, reviewBucket, scanBrief, schemaVersionSchema, signalIdSchema, signalInitialOutcome, signalOutcomeSchema, signalOutcomeTransitions, signalSchema, signalSourceSchema, stallWindowMinutes, standardReceiptKinds, standardReceiptPhases, standardReceiptStates, standardSignalSources, standardTaskKinds, sweepBudget, sweepQueued, sweepSettlements, sweepStalled, taskApprovalSchema, taskExecutionRepositoryIdsSchema, taskIdSchema, taskInitialState, taskKindSchema, taskOriginSchema, taskQuestionSchema, taskSchema, taskStateSchema, taskTransitions, taskUsageSchema, terminalStates, usdSchema, verificationBrief, vocabularySchema };
314
484
  //# sourceMappingURL=index.d.mts.map