@cat-factory/sdk 0.26.0 → 0.28.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/http.d.ts +1 -1
- package/dist/http.js +1 -1
- package/dist/models.generated.d.ts +172 -0
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +12 -0
- package/dist/models.generated.js.map +1 -1
- package/dist/operations.generated.d.ts +60 -16
- package/dist/operations.generated.d.ts.map +1 -1
- package/dist/operations.generated.js +97 -15
- package/dist/operations.generated.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { EventStream } from './sse.ts';
|
|
2
2
|
import type { RequestOptions, Transport } from './http.ts';
|
|
3
|
-
import type { AddPublicTaskDependencyRequest, AttachPublicTaskDocumentRequest, CreateHeadlessPublicApiKey, CreatePublicJob, CreatePublicServiceRequest, CreatePublicTask, CreatedPublicApiKey, DebugAgentContextSnapshot, DebugLlmCall, DebugRunOverview, DetachPublicTaskDocumentRequest, GetDebugLlmCallView, GetDebugLlmExportResponse, GetPublicRunOutcomeResponse, ListDebugAgentContextResponse, ListDebugLlmCallsOrder, ListDebugLlmCallsResponse, ListDebugLogsResponse, ListDebugRunsResponse, ListDebugSearchQueriesResponse, ListDebugToolCallsOrder, ListDebugToolCallsOutcome, ListDebugToolCallsResponse, ListPublicJobsResponse, ListPublicReposResponse, ListPublicTaskDocumentsResponse, ListPublicTaskDocumentsResponseDocument, ListPublicTaskTypesResponse, LlmCallOutcome, Notification, NotificationWebhook, PrVerificationReport, PublicAnswerFollowUp, PublicAnswerInterview, PublicApiKeyList, PublicApproveStep, PublicChallengePrReviewFinding, PublicChooseFork, PublicDecisionList, PublicIdentity, PublicIncorporate, PublicJob, PublicJobAccepted, PublicJobStatus, PublicNotificationList, PublicNotificationWebhook, PublicNotificationWebhookList, PublicPipelineList, PublicRejectStep, PublicReplyFinding, PublicRequestGateFix, PublicRequestStepChanges, PublicResolveAgentDecision, PublicResolveExceeded, PublicResolveInputGate, PublicResolveJudge, PublicResolvePrReview, PublicRun, PublicRunArtifactList, PublicService, PublicServiceList, PublicSetFindingStatus, PublicSpend, PublicSpendDimension, PublicSpendWindow, PublicTask, PublicTaskList, PublicUsage, PutNotificationWebhook, RunStatus, StartPublicTask, TaskStatus, UpdatePublicTask } from './models.generated.ts';
|
|
3
|
+
import type { ActPublicNotificationRequest, AddPublicTaskDependencyRequest, AttachPublicTaskDocumentRequest, CreateHeadlessPublicApiKey, CreatePublicJob, CreatePublicServiceRequest, CreatePublicTask, CreatedPublicApiKey, DebugAgentContextSnapshot, DebugLlmCall, DebugRunOverview, DetachPublicTaskDocumentRequest, GetDebugLlmCallView, GetDebugLlmExportResponse, GetPublicMergeRecordResponse, GetPublicRunOutcomeResponse, ListDebugAgentContextResponse, ListDebugLlmCallsOrder, ListDebugLlmCallsResponse, ListDebugLogsResponse, ListDebugRunsResponse, ListDebugSearchQueriesResponse, ListDebugToolCallsOrder, ListDebugToolCallsOutcome, ListDebugToolCallsResponse, ListPublicJobsResponse, ListPublicMergeClassRollupsResponse, ListPublicReposResponse, ListPublicTaskDocumentsResponse, ListPublicTaskDocumentsResponseDocument, ListPublicTaskTypesResponse, LlmCallOutcome, Notification, NotificationWebhook, PrVerificationReport, PublicAnswerFollowUp, PublicAnswerInterview, PublicApiKeyList, PublicApproveStep, PublicChallengePrReviewFinding, PublicChooseFork, PublicDecisionList, PublicIdentity, PublicIncorporate, PublicJob, PublicJobAccepted, PublicJobStatus, PublicNotificationList, PublicNotificationWebhook, PublicNotificationWebhookList, PublicPipelineList, PublicRejectStep, PublicReplyFinding, PublicRequestGateFix, PublicRequestStepChanges, PublicResolveAgentDecision, PublicResolveExceeded, PublicResolveInputGate, PublicResolveJudge, PublicResolvePrReview, PublicRun, PublicRunArtifactList, PublicService, PublicServiceList, PublicServiceSpec, PublicSetFindingStatus, PublicSpend, PublicSpendDimension, PublicSpendWindow, PublicTask, PublicTaskList, PublicUsage, PutNotificationWebhook, RunStatus, StartPublicTask, TagPublicMergeReviewEffortRequest, TaskStatus, UpdatePublicTask } from './models.generated.ts';
|
|
4
4
|
/** Query parameters for `client.debug.getAgentContext()`. */
|
|
5
5
|
export type DebugGetAgentContextQuery = {
|
|
6
6
|
bodyChars?: number;
|
|
@@ -129,7 +129,7 @@ export declare class ServicesResource {
|
|
|
129
129
|
* Create a board service, optionally backed by a repository from `GET /api/v1/repos`. The repository link is what makes the service runnable: execution resolves a task’s repository by walking up to its enclosing service frame, so a service with none holds tasks and can start none of them. A whole-repo repository that already backs a service in this account is MOUNTED rather than duplicated; a monorepo service must name its subdirectory. The board lays the service out itself: this surface publishes no coordinates. Requires an `admin` key.
|
|
130
130
|
* `POST /api/v1/services` — operation `createPublicService`.
|
|
131
131
|
*/
|
|
132
|
-
create(body
|
|
132
|
+
create(body?: CreatePublicServiceRequest, options?: RequestOptions): Promise<PublicService>;
|
|
133
133
|
/**
|
|
134
134
|
* List the workspace's services
|
|
135
135
|
* List the board service frames in the key’s workspace, so a caller can discover the serviceId to create/list tasks under.
|
|
@@ -137,6 +137,17 @@ export declare class ServicesResource {
|
|
|
137
137
|
*/
|
|
138
138
|
list(options?: RequestOptions): Promise<PublicServiceList>;
|
|
139
139
|
}
|
|
140
|
+
/** A service's in-repo specification: the structured requirement tree (modules → feature groups → requirements, with their acceptance criteria and domain rules), the Gherkin rendered from it, and the branch and commit the read describes. Read-only; the requirement ids are the join key onto a run's report and outcome. */
|
|
141
|
+
export declare class SpecResource {
|
|
142
|
+
#private;
|
|
143
|
+
constructor(transport: Transport);
|
|
144
|
+
/**
|
|
145
|
+
* Get a service's in-repo specification
|
|
146
|
+
* The prescriptive specification stored in the service’s own repository under `spec/`: modules → feature groups → requirement items, each with its MoSCoW priority, its `aspirational`/`established` implementation state and its Given/When/Then acceptance criteria, plus the domain rules scoped to each group and the Gherkin `.feature` files rendered from the same tree. `provenance` names the branch and commit the read describes, because the default branch is not what a run with an open pull request is working against. The requirement ids here are the join key onto `requirements` on a run’s report and outcome, so criterion → evidence is a map lookup. Four outcomes are kept apart rather than folded: `present: false` means the default branch holds no spec, a `503` with `reason: "spec_read_failed"` means the repository could not be read, a `503` with `reason: "vcs_not_configured"` means the deployment or workspace wired no version control, and a partially readable spec is SERVED with `issues` naming each file that did not survive. Read-only: the spec’s write path is a reviewed commit.
|
|
147
|
+
* `GET /api/v1/services/{serviceId}/spec` — operation `getPublicServiceSpec`.
|
|
148
|
+
*/
|
|
149
|
+
get(serviceId: string, options?: RequestOptions): Promise<PublicServiceSpec>;
|
|
150
|
+
}
|
|
140
151
|
/** The repositories this workspace can back a service with, and which service each already backs: the discovery half of service creation. */
|
|
141
152
|
export declare class ReposResource {
|
|
142
153
|
#private;
|
|
@@ -229,7 +240,7 @@ export declare class TasksResource {
|
|
|
229
240
|
* Start a task’s pipeline. Uses the request’s pipelineId, else the task’s pinned pipeline. A pipeline that can park on a human decision requires a `decide`-scope key. A task on an individual-usage model cannot be started through the API (no headless personal-credential unlock).
|
|
230
241
|
* `POST /api/v1/tasks/{taskId}/start` — operation `startPublicTask`.
|
|
231
242
|
*/
|
|
232
|
-
start(taskId: string, body
|
|
243
|
+
start(taskId: string, body?: StartPublicTask, options?: RequestOptions): Promise<PublicTask>;
|
|
233
244
|
/**
|
|
234
245
|
* Stop a task's run
|
|
235
246
|
* Stop a task’s in-flight run. Records a `cancelled` terminal state, leaving the run retryable.
|
|
@@ -247,7 +258,7 @@ export declare class TasksResource {
|
|
|
247
258
|
* Edit a task’s human-authored inputs before it runs: its title, its description, and `fields`, the per-case values for its own task type (checked against the descriptors `GET /api/v1/task-types` serves). All are optional. `fields` is MERGED over what the task already carries — a key you send is written, a key you omit keeps its stored value — because this API does not serve the bag back. This is what makes an input the pre-dispatch gate refused repairable: supply the value it named, then recheck the parked run.
|
|
248
259
|
* `PATCH /api/v1/tasks/{taskId}` — operation `updatePublicTask`.
|
|
249
260
|
*/
|
|
250
|
-
update(taskId: string, body
|
|
261
|
+
update(taskId: string, body?: UpdatePublicTask, options?: RequestOptions): Promise<PublicTask>;
|
|
251
262
|
}
|
|
252
263
|
/** The pipelines a task can be started with, and whether each is headless-startable. */
|
|
253
264
|
export declare class PipelinesResource {
|
|
@@ -277,10 +288,10 @@ export declare class NotificationsResource {
|
|
|
277
288
|
constructor(transport: Transport);
|
|
278
289
|
/**
|
|
279
290
|
* Act on a notification
|
|
280
|
-
* Run a notification’s typed side-effect and resolve it: merge the PR (merge_review / pipeline_complete) or retry the run (ci_failed / test_failed). Performs a real GitHub merge, so it requires an admin-scoped key. Only these automated-action types are actionable through the API — a notification that parks a run on an interactive human decision cannot be acted on headlessly (dismiss it instead). A card that would retry a run on an individual-usage model likewise cannot be acted on through the API.
|
|
291
|
+
* Run a notification’s typed side-effect and resolve it: merge the PR (merge_review / pipeline_complete) or retry the run (ci_failed / test_failed). Performs a real GitHub merge, so it requires an admin-scoped key. Only these automated-action types are actionable through the API — a notification that parks a run on an interactive human decision cannot be acted on headlessly (dismiss it instead). A card that would retry a run on an individual-usage model likewise cannot be acted on through the API. To record how much review a merged pull request needed, call `POST /api/v1/merge-records/{recordId}/effort` (a `write` key) before or after this; a `merge_tag_request` card carries its record id on the payload and is resolved by tagging that record and dismissing the card.
|
|
281
292
|
* `POST /api/v1/notifications/{id}/act` — operation `actPublicNotification`.
|
|
282
293
|
*/
|
|
283
|
-
act(id: string, options?: RequestOptions): Promise<Notification>;
|
|
294
|
+
act(id: string, body?: ActPublicNotificationRequest, options?: RequestOptions): Promise<Notification>;
|
|
284
295
|
/**
|
|
285
296
|
* Dismiss a notification
|
|
286
297
|
* Dismiss a notification without acting on it.
|
|
@@ -333,13 +344,13 @@ export declare class WebhookResource {
|
|
|
333
344
|
* Register the HTTPS endpoint deliveries are POSTed to, or update the one already registered. Every omitted field keeps its stored value, so subscribing to run events is a one-field call that re-sends neither the URL nor the secret. `url` is required only on the first call, when there is nothing registered to keep; omitting it otherwise leaves the endpoint alone. Supplying `secret` rotates the signing secret; omitting it keeps the current one. The endpoint must be `https:` and publicly routable unless the deployment widened its allow-list.
|
|
334
345
|
* `PUT /api/v1/notification-webhook` — operation `putPublicNotificationWebhook`.
|
|
335
346
|
*/
|
|
336
|
-
set(body
|
|
347
|
+
set(body?: PutNotificationWebhook, options?: RequestOptions): Promise<NotificationWebhook>;
|
|
337
348
|
/**
|
|
338
349
|
* Register or update one named outbound webhook
|
|
339
350
|
* Register an endpoint under an id YOU choose (1-63 characters of lowercase letters, digits, `-` or `_`), or update the one already there. Idempotent by id, so an integration can enroll its own receiver on every cold start without tracking whether it has enrolled before, and without displacing anything else the workspace registered. Every field follows the same keep-on-omit rule as the unnamed route, `url` being required only when there is nothing under this id to keep, and a supplied `secret` rotating this endpoint's own signing secret. Refused with `reason: "invalid_webhook_id"` for an id that is not a slug, and `reason: "webhook_limit_reached"` (409) when registering a NEW id would exceed the per-workspace cap; editing an existing one is admitted either way.
|
|
340
351
|
* `PUT /api/v1/notification-webhooks/{webhookId}` — operation `putPublicNamedNotificationWebhook`.
|
|
341
352
|
*/
|
|
342
|
-
setNamed(webhookId: string, body
|
|
353
|
+
setNamed(webhookId: string, body?: PutNotificationWebhook, options?: RequestOptions): Promise<NotificationWebhook>;
|
|
343
354
|
}
|
|
344
355
|
/** The workspace's money, two ways: the billing period's metered budget position with the per-model breakdown behind it, and spend over a window sliced by the dimension a budget is kept against (a repository, a tracker ticket, one run). */
|
|
345
356
|
export declare class UsageResource {
|
|
@@ -396,7 +407,7 @@ export declare class DecisionsResource {
|
|
|
396
407
|
* Approve the proposal a gated step is holding up, optionally replacing it with an edited one (the edit is what flows to every downstream step), and advance the run. The `approvalId` comes from the run's decision list; passing it back is what makes a racing app user and a racing integration resolve the same gate. Requires a `decide`-scope key.
|
|
397
408
|
* `POST /api/v1/runs/{runId}/decisions/approvals/{approvalId}/approve` — operation `approvePublicRunStep`.
|
|
398
409
|
*/
|
|
399
|
-
approveStep(runId: string, approvalId: string, body
|
|
410
|
+
approveStep(runId: string, approvalId: string, body?: PublicApproveStep, options?: RequestOptions): Promise<PublicDecisionList>;
|
|
400
411
|
/**
|
|
401
412
|
* Approve a visual-confirmation gate
|
|
402
413
|
* Approve the captured screenshots against the reference designs and advance the run. The images themselves are not readable over this API — the decision carries only artifact ids — so approving on the projection alone approves screenshots you have not seen. Requires a `decide`-scope key.
|
|
@@ -408,13 +419,13 @@ export declare class DecisionsResource {
|
|
|
408
419
|
* Dispatch a read-only investigator to re-examine one finding against the full source, optionally with a specific concern. It upholds, strengthens or retracts the finding, and the review re-parks carrying the verdict. Requires a `decide`-scope key.
|
|
409
420
|
* `POST /api/v1/runs/{runId}/decisions/pr-review/findings/{findingId}/challenge` — operation `challengePublicRunPrReviewFinding`.
|
|
410
421
|
*/
|
|
411
|
-
challengePrReviewFinding(runId: string, findingId: string, body
|
|
422
|
+
challengePrReviewFinding(runId: string, findingId: string, body?: PublicChallengePrReviewFinding, options?: RequestOptions): Promise<PublicDecisionList>;
|
|
412
423
|
/**
|
|
413
424
|
* Choose an implementation approach
|
|
414
425
|
* Pick one of the proposed implementation forks (by id) or submit your own approach. The Coder then runs with the choice folded in as a binding directive. Requires a `decide`-scope key.
|
|
415
426
|
* `POST /api/v1/runs/{runId}/decisions/fork/choose` — operation `choosePublicRunFork`.
|
|
416
427
|
*/
|
|
417
|
-
chooseFork(runId: string, body
|
|
428
|
+
chooseFork(runId: string, body?: PublicChooseFork, options?: RequestOptions): Promise<PublicDecisionList>;
|
|
418
429
|
/**
|
|
419
430
|
* Confirm a human-test gate
|
|
420
431
|
* Confirm the change works in the ephemeral environment: it is torn down and the run advances. The decision carries the environment URL to exercise; confirming without exercising it approves untested work. Requires a `decide`-scope key.
|
|
@@ -450,19 +461,19 @@ export declare class DecisionsResource {
|
|
|
450
461
|
* Fold the recorded answers into one standardized requirements document. Asynchronous — the run re-reviews in the background, so the response shows the review `incorporating`. Requires a `decide`-scope key.
|
|
451
462
|
* `POST /api/v1/runs/{runId}/decisions/requirements/incorporate` — operation `incorporatePublicRunRequirements`.
|
|
452
463
|
*/
|
|
453
|
-
incorporate(runId: string, body
|
|
464
|
+
incorporate(runId: string, body?: PublicIncorporate, options?: RequestOptions): Promise<PublicDecisionList>;
|
|
454
465
|
/**
|
|
455
466
|
* Incorporate brainstorm picks
|
|
456
467
|
* Fold the picks into one converged direction. ASYNCHRONOUS: the response shows the session `incorporating` while the durable driver folds and re-runs in the background. Requires a `decide`-scope key.
|
|
457
468
|
* `POST /api/v1/runs/{runId}/decisions/brainstorm/{stage}/incorporate` — operation `incorporatePublicRunBrainstorm`.
|
|
458
469
|
*/
|
|
459
|
-
incorporateBrainstorm(runId: string, stage: string, body
|
|
470
|
+
incorporateBrainstorm(runId: string, stage: string, body?: PublicIncorporate, options?: RequestOptions): Promise<PublicDecisionList>;
|
|
460
471
|
/**
|
|
461
472
|
* Incorporate clarity answers
|
|
462
473
|
* Fold the recorded answers into one standardized bug report. ASYNCHRONOUS: the response shows the review `incorporating` while the durable driver folds and re-reviews in the background. Requires a `decide`-scope key.
|
|
463
474
|
* `POST /api/v1/runs/{runId}/decisions/clarity/incorporate` — operation `incorporatePublicRunClarity`.
|
|
464
475
|
*/
|
|
465
|
-
incorporateClarity(runId: string, body
|
|
476
|
+
incorporateClarity(runId: string, body?: PublicIncorporate, options?: RequestOptions): Promise<PublicDecisionList>;
|
|
466
477
|
/**
|
|
467
478
|
* List a run's parked decisions
|
|
468
479
|
* Read what a run is currently asking a human. Each entry names its `kind`, and every kind this surface can answer is listed: `requirements-review`, `clarity-review`, `brainstorm`, `interview`, `input-gate`, `approval-gate`, `judge`, `fork`, `agent-decision`, `pr-review`, `human-test`, `visual-confirmation`, `follow-ups`. Each carries the stable ids (item, approval, decision, finding) that its answering route addresses. `parked` reports only whether the run has STOPPED (`status` is `blocked`); it is not a precondition for `decisions` being non-empty, since a `follow-ups` entry is answerable while the run is still working, so poll this regardless of `parked`. An empty `decisions` beside a non-empty `unanswerable` means a wait no route here can settle (a person reviewing the pull request, a deployment-registered gate), each named with its reason and step.
|
|
@@ -498,7 +509,7 @@ export declare class DecisionsResource {
|
|
|
498
509
|
* Reject the gated proposal: the run stops entirely, recording a terminal `rejected` failure the board can retry. Requires a `decide`-scope key.
|
|
499
510
|
* `POST /api/v1/runs/{runId}/decisions/approvals/{approvalId}/reject` — operation `rejectPublicRunStep`.
|
|
500
511
|
*/
|
|
501
|
-
rejectStep(runId: string, approvalId: string, body
|
|
512
|
+
rejectStep(runId: string, approvalId: string, body?: PublicRejectStep, options?: RequestOptions): Promise<PublicDecisionList>;
|
|
502
513
|
/**
|
|
503
514
|
* Respond to a brainstorm option
|
|
504
515
|
* Pick or steer one of the options the brainstorm agent proposed, for the named stage (`requirements` or `architecture`). A task may hold one live session per stage at once. Requires a `decide`-scope key.
|
|
@@ -588,7 +599,7 @@ export declare class DecisionsResource {
|
|
|
588
599
|
* Record the curated finding selection and say what to do with it: `finish` completes the read-only review, `fix` hands the selected findings to a fixer that commits onto the reviewed PR branch, `post` publishes them as inline PR review comments. `fix` and `post` need at least one selected finding and act on the real pull request. Requires a `decide`-scope key.
|
|
589
600
|
* `POST /api/v1/runs/{runId}/decisions/pr-review/resolve` — operation `resolvePublicRunPrReview`.
|
|
590
601
|
*/
|
|
591
|
-
resolvePrReview(runId: string, body
|
|
602
|
+
resolvePrReview(runId: string, body?: PublicResolvePrReview, options?: RequestOptions): Promise<PublicDecisionList>;
|
|
592
603
|
/**
|
|
593
604
|
* Resolve a companion gate at its rework cap
|
|
594
605
|
* Pick how a quality companion that spent its automatic rework budget proceeds: one more round, proceed with the output as it stands, or stop and reset the task. A gate in this state reports `exceeded: true` and refuses the plain approve. Requires a `decide`-scope key.
|
|
@@ -750,6 +761,35 @@ export declare class EvidenceResource {
|
|
|
750
761
|
*/
|
|
751
762
|
listArtifacts(runId: string, options?: RequestOptions): Promise<PublicRunArtifactList>;
|
|
752
763
|
}
|
|
764
|
+
/** The evidence behind the auto-merge policy: what kind of change each merged run made, what the merger scored it, what happened to the pull request, and how much review a human actually spent, plus the per-class rollups that justify widening a rule. Reading takes a `read` key and recording an effort tag a `write` one: neither merges anything. */
|
|
765
|
+
export declare class MergeRecordsResource {
|
|
766
|
+
#private;
|
|
767
|
+
constructor(transport: Transport);
|
|
768
|
+
/**
|
|
769
|
+
* Get one merge record
|
|
770
|
+
* The same record addressed by its own id, for a caller that holds one without the run: the id a `merge_tag_request` notification carries on its payload, for instance. Scoped to the calling key’s workspace.
|
|
771
|
+
* `GET /api/v1/merge-records/{recordId}` — operation `getPublicMergeRecord`.
|
|
772
|
+
*/
|
|
773
|
+
get(recordId: string, options?: RequestOptions): Promise<GetPublicMergeRecordResponse>;
|
|
774
|
+
/**
|
|
775
|
+
* Get the merge decision a run left behind
|
|
776
|
+
* What kind of change the run’s pull request made (a change class derived on the backend from the changed-file list, never from an agent’s opinion), what the merger scored it, which merge-threshold preset the decision was compared against, what ultimately happened to the pull request, and how much review a human spent if anybody has tagged it. The entry point of the merge-evidence loop for a caller holding a run id: it also hands back the `recordId` the effort-tag route takes. A run whose pipeline had no `merger` step made no merge decision and answers `404` with `details.reason: "no_merge_record"`, distinct from the `"run_not_found"` a run this key cannot read gets.
|
|
777
|
+
* `GET /api/v1/runs/{runId}/merge-record` — operation `getPublicRunMergeRecord`.
|
|
778
|
+
*/
|
|
779
|
+
getForRun(runId: string, options?: RequestOptions): Promise<GetPublicMergeRecordResponse>;
|
|
780
|
+
/**
|
|
781
|
+
* List the per-change-class merge rollups
|
|
782
|
+
* Every change class’s accumulated track record for the workspace, as one aggregate: how many records it holds, how many landed and by which route (auto-merged, merged through the app, merged directly on the provider), how many were rejected or are still awaiting review, and the distribution of reviewer-effort tags. This is the evidence that justifies widening a per-class auto-merge rule; nothing widens one automatically. A class with no records is present as zeros rather than absent, so "nothing has landed here yet" never reads as a class the response left out. `unknown` is a real class (no changed-file list was available) and never matches a per-class rule.
|
|
783
|
+
* `GET /api/v1/merge-records/rollups` — operation `listPublicMergeClassRollups`.
|
|
784
|
+
*/
|
|
785
|
+
listRollups(options?: RequestOptions): Promise<ListPublicMergeClassRollupsResponse>;
|
|
786
|
+
/**
|
|
787
|
+
* Tag the reviewer effort a merge took
|
|
788
|
+
* Record how much review a landed pull request actually needed (`none` for zero blocking comments, `minor` for a nit pass, `major` for real rework), or `null` to clear the tag. This is the ground truth the auto-merge score thresholds are trying to approximate, and it is never mandatory: an untagged merge records a null tag and nothing downstream breaks. A `write` key, not an `admin` one: the pull request already landed, so tagging it merges nothing. Idempotent, and orthogonal to the decision, so a record can be tagged whenever the effort becomes known, before or after the `act` that merged it.
|
|
789
|
+
* `POST /api/v1/merge-records/{recordId}/effort` — operation `tagPublicMergeReviewEffort`.
|
|
790
|
+
*/
|
|
791
|
+
tagEffort(recordId: string, body: TagPublicMergeReviewEffortRequest, options?: RequestOptions): Promise<GetPublicMergeRecordResponse>;
|
|
792
|
+
}
|
|
753
793
|
/** The workspace's own API keys: provision one headlessly, list them, revoke one (and what it minted). */
|
|
754
794
|
export declare class KeysResource {
|
|
755
795
|
#private;
|
|
@@ -786,6 +826,8 @@ export declare abstract class CatFactoryResources {
|
|
|
786
826
|
readonly jobs: JobsResource;
|
|
787
827
|
/** The workspace's board services, the frames tasks are created under: list them, or create one (optionally backed by a repository). */
|
|
788
828
|
readonly services: ServicesResource;
|
|
829
|
+
/** A service's in-repo specification: the structured requirement tree (modules → feature groups → requirements, with their acceptance criteria and domain rules), the Gherkin rendered from it, and the branch and commit the read describes. Read-only; the requirement ids are the join key onto a run's report and outcome. */
|
|
830
|
+
readonly spec: SpecResource;
|
|
789
831
|
/** The repositories this workspace can back a service with, and which service each already backs: the discovery half of service creation. */
|
|
790
832
|
readonly repos: ReposResource;
|
|
791
833
|
/** A board task's whole lifecycle: create, edit, start, stop, retry, watch, delete, plus the two relationships that outlive a create: the tasks it waits for, and the requirements documents it is built against. */
|
|
@@ -808,6 +850,8 @@ export declare abstract class CatFactoryResources {
|
|
|
808
850
|
readonly debug: DebugResource;
|
|
809
851
|
/** What a run proved: the engine's verification report, the outcome summary behind it, and the artifacts it captured, bytes included. */
|
|
810
852
|
readonly evidence: EvidenceResource;
|
|
853
|
+
/** The evidence behind the auto-merge policy: what kind of change each merged run made, what the merger scored it, what happened to the pull request, and how much review a human actually spent, plus the per-class rollups that justify widening a rule. Reading takes a `read` key and recording an effort tag a `write` one: neither merges anything. */
|
|
854
|
+
readonly mergeRecords: MergeRecordsResource;
|
|
811
855
|
/** The workspace's own API keys: provision one headlessly, list them, revoke one (and what it minted). */
|
|
812
856
|
readonly keys: KeysResource;
|
|
813
857
|
protected constructor(transport: Transport);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.generated.d.ts","sourceRoot":"","sources":["../src/operations.generated.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAG1D,OAAO,KAAK,EACV,8BAA8B,EAC9B,+BAA+B,EAC/B,0BAA0B,EAC1B,eAAe,EACf,0BAA0B,EAC1B,gBAAgB,EAChB,mBAAmB,EACnB,yBAAyB,EACzB,YAAY,EACZ,gBAAgB,EAChB,+BAA+B,EAC/B,mBAAmB,EACnB,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAC7B,sBAAsB,EACtB,yBAAyB,EACzB,qBAAqB,EACrB,qBAAqB,EACrB,8BAA8B,EAC9B,uBAAuB,EACvB,yBAAyB,EACzB,0BAA0B,EAC1B,sBAAsB,EACtB,uBAAuB,EACvB,+BAA+B,EAC/B,uCAAuC,EACvC,2BAA2B,EAC3B,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EACjB,8BAA8B,EAC9B,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,SAAS,EACT,iBAAiB,EACjB,eAA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ts","sourceRoot":"","sources":["../src/operations.generated.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAG1D,OAAO,KAAK,EACV,4BAA4B,EAC5B,8BAA8B,EAC9B,+BAA+B,EAC/B,0BAA0B,EAC1B,eAAe,EACf,0BAA0B,EAC1B,gBAAgB,EAChB,mBAAmB,EACnB,yBAAyB,EACzB,YAAY,EACZ,gBAAgB,EAChB,+BAA+B,EAC/B,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,2BAA2B,EAC3B,6BAA6B,EAC7B,sBAAsB,EACtB,yBAAyB,EACzB,qBAAqB,EACrB,qBAAqB,EACrB,8BAA8B,EAC9B,uBAAuB,EACvB,yBAAyB,EACzB,0BAA0B,EAC1B,sBAAsB,EACtB,mCAAmC,EACnC,uBAAuB,EACvB,+BAA+B,EAC/B,uCAAuC,EACvC,2BAA2B,EAC3B,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EACjB,8BAA8B,EAC9B,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,SAAS,EACT,iBAAiB,EACjB,eAAe,EACf,sBAAsB,EACtB,yBAAyB,EACzB,6BAA6B,EAC7B,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,wBAAwB,EACxB,0BAA0B,EAC1B,qBAAqB,EACrB,sBAAsB,EACtB,kBAAkB,EAClB,qBAAqB,EACrB,SAAS,EACT,qBAAqB,EACrB,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,sBAAsB,EACtB,WAAW,EACX,oBAAoB,EACpB,iBAAiB,EACjB,UAAU,EACV,cAAc,EACd,WAAW,EACX,sBAAsB,EACtB,SAAS,EACT,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Q,CAAC,OAAO,EAAE,eAAe,CAAA;IACjC,gPAAgP;IAChP,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAA;IAC7B,kGAAkG;IAClG,QAAQ,CAAC,EAAE,EAAE,UAAU,CAAA;IACvB,qMAAqM;IACrM,QAAQ,CAAC,SAAS,EAAE,iBAAiB,CAAA;IACrC,wKAAwK;IACxK,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAA;IAC7B,yIAAyI;IACzI,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAA;IACnC,6VAA6V;IAC7V,QAAQ,CAAC,YAAY,EAAE,oBAAoB,CAAA;IAC3C,0GAA0G;IAC1G,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAA;IAE3B,SAAS,aAAa,SAAS,EAAE,SAAS,EAiBzC;CACF"}
|
|
@@ -100,7 +100,7 @@ export class ServicesResource {
|
|
|
100
100
|
* Create a board service, optionally backed by a repository from `GET /api/v1/repos`. The repository link is what makes the service runnable: execution resolves a task’s repository by walking up to its enclosing service frame, so a service with none holds tasks and can start none of them. A whole-repo repository that already backs a service in this account is MOUNTED rather than duplicated; a monorepo service must name its subdirectory. The board lays the service out itself: this surface publishes no coordinates. Requires an `admin` key.
|
|
101
101
|
* `POST /api/v1/services` — operation `createPublicService`.
|
|
102
102
|
*/
|
|
103
|
-
create(body, options = {}) {
|
|
103
|
+
create(body = {}, options = {}) {
|
|
104
104
|
return this.#transport.request({
|
|
105
105
|
method: 'POST',
|
|
106
106
|
path: `/api/v1/services`,
|
|
@@ -121,6 +121,25 @@ export class ServicesResource {
|
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
+
/** A service's in-repo specification: the structured requirement tree (modules → feature groups → requirements, with their acceptance criteria and domain rules), the Gherkin rendered from it, and the branch and commit the read describes. Read-only; the requirement ids are the join key onto a run's report and outcome. */
|
|
125
|
+
export class SpecResource {
|
|
126
|
+
#transport;
|
|
127
|
+
constructor(transport) {
|
|
128
|
+
this.#transport = transport;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Get a service's in-repo specification
|
|
132
|
+
* The prescriptive specification stored in the service’s own repository under `spec/`: modules → feature groups → requirement items, each with its MoSCoW priority, its `aspirational`/`established` implementation state and its Given/When/Then acceptance criteria, plus the domain rules scoped to each group and the Gherkin `.feature` files rendered from the same tree. `provenance` names the branch and commit the read describes, because the default branch is not what a run with an open pull request is working against. The requirement ids here are the join key onto `requirements` on a run’s report and outcome, so criterion → evidence is a map lookup. Four outcomes are kept apart rather than folded: `present: false` means the default branch holds no spec, a `503` with `reason: "spec_read_failed"` means the repository could not be read, a `503` with `reason: "vcs_not_configured"` means the deployment or workspace wired no version control, and a partially readable spec is SERVED with `issues` naming each file that did not survive. Read-only: the spec’s write path is a reviewed commit.
|
|
133
|
+
* `GET /api/v1/services/{serviceId}/spec` — operation `getPublicServiceSpec`.
|
|
134
|
+
*/
|
|
135
|
+
get(serviceId, options = {}) {
|
|
136
|
+
return this.#transport.request({
|
|
137
|
+
method: 'GET',
|
|
138
|
+
path: `/api/v1/services/${encodePathSegment(serviceId)}/spec`,
|
|
139
|
+
options,
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
}
|
|
124
143
|
/** The repositories this workspace can back a service with, and which service each already backs: the discovery half of service creation. */
|
|
125
144
|
export class ReposResource {
|
|
126
145
|
#transport;
|
|
@@ -307,7 +326,7 @@ export class TasksResource {
|
|
|
307
326
|
* Start a task’s pipeline. Uses the request’s pipelineId, else the task’s pinned pipeline. A pipeline that can park on a human decision requires a `decide`-scope key. A task on an individual-usage model cannot be started through the API (no headless personal-credential unlock).
|
|
308
327
|
* `POST /api/v1/tasks/{taskId}/start` — operation `startPublicTask`.
|
|
309
328
|
*/
|
|
310
|
-
start(taskId, body, options = {}) {
|
|
329
|
+
start(taskId, body = {}, options = {}) {
|
|
311
330
|
return this.#transport.request({
|
|
312
331
|
method: 'POST',
|
|
313
332
|
path: `/api/v1/tasks/${encodePathSegment(taskId)}/start`,
|
|
@@ -344,7 +363,7 @@ export class TasksResource {
|
|
|
344
363
|
* Edit a task’s human-authored inputs before it runs: its title, its description, and `fields`, the per-case values for its own task type (checked against the descriptors `GET /api/v1/task-types` serves). All are optional. `fields` is MERGED over what the task already carries — a key you send is written, a key you omit keeps its stored value — because this API does not serve the bag back. This is what makes an input the pre-dispatch gate refused repairable: supply the value it named, then recheck the parked run.
|
|
345
364
|
* `PATCH /api/v1/tasks/{taskId}` — operation `updatePublicTask`.
|
|
346
365
|
*/
|
|
347
|
-
update(taskId, body, options = {}) {
|
|
366
|
+
update(taskId, body = {}, options = {}) {
|
|
348
367
|
return this.#transport.request({
|
|
349
368
|
method: 'PATCH',
|
|
350
369
|
path: `/api/v1/tasks/${encodePathSegment(taskId)}`,
|
|
@@ -399,13 +418,14 @@ export class NotificationsResource {
|
|
|
399
418
|
}
|
|
400
419
|
/**
|
|
401
420
|
* Act on a notification
|
|
402
|
-
* Run a notification’s typed side-effect and resolve it: merge the PR (merge_review / pipeline_complete) or retry the run (ci_failed / test_failed). Performs a real GitHub merge, so it requires an admin-scoped key. Only these automated-action types are actionable through the API — a notification that parks a run on an interactive human decision cannot be acted on headlessly (dismiss it instead). A card that would retry a run on an individual-usage model likewise cannot be acted on through the API.
|
|
421
|
+
* Run a notification’s typed side-effect and resolve it: merge the PR (merge_review / pipeline_complete) or retry the run (ci_failed / test_failed). Performs a real GitHub merge, so it requires an admin-scoped key. Only these automated-action types are actionable through the API — a notification that parks a run on an interactive human decision cannot be acted on headlessly (dismiss it instead). A card that would retry a run on an individual-usage model likewise cannot be acted on through the API. To record how much review a merged pull request needed, call `POST /api/v1/merge-records/{recordId}/effort` (a `write` key) before or after this; a `merge_tag_request` card carries its record id on the payload and is resolved by tagging that record and dismissing the card.
|
|
403
422
|
* `POST /api/v1/notifications/{id}/act` — operation `actPublicNotification`.
|
|
404
423
|
*/
|
|
405
|
-
act(id, options = {}) {
|
|
424
|
+
act(id, body = {}, options = {}) {
|
|
406
425
|
return this.#transport.request({
|
|
407
426
|
method: 'POST',
|
|
408
427
|
path: `/api/v1/notifications/${encodePathSegment(id)}/act`,
|
|
428
|
+
body,
|
|
409
429
|
options,
|
|
410
430
|
});
|
|
411
431
|
}
|
|
@@ -505,7 +525,7 @@ export class WebhookResource {
|
|
|
505
525
|
* Register the HTTPS endpoint deliveries are POSTed to, or update the one already registered. Every omitted field keeps its stored value, so subscribing to run events is a one-field call that re-sends neither the URL nor the secret. `url` is required only on the first call, when there is nothing registered to keep; omitting it otherwise leaves the endpoint alone. Supplying `secret` rotates the signing secret; omitting it keeps the current one. The endpoint must be `https:` and publicly routable unless the deployment widened its allow-list.
|
|
506
526
|
* `PUT /api/v1/notification-webhook` — operation `putPublicNotificationWebhook`.
|
|
507
527
|
*/
|
|
508
|
-
set(body, options = {}) {
|
|
528
|
+
set(body = {}, options = {}) {
|
|
509
529
|
return this.#transport.request({
|
|
510
530
|
method: 'PUT',
|
|
511
531
|
path: `/api/v1/notification-webhook`,
|
|
@@ -518,7 +538,7 @@ export class WebhookResource {
|
|
|
518
538
|
* Register an endpoint under an id YOU choose (1-63 characters of lowercase letters, digits, `-` or `_`), or update the one already there. Idempotent by id, so an integration can enroll its own receiver on every cold start without tracking whether it has enrolled before, and without displacing anything else the workspace registered. Every field follows the same keep-on-omit rule as the unnamed route, `url` being required only when there is nothing under this id to keep, and a supplied `secret` rotating this endpoint's own signing secret. Refused with `reason: "invalid_webhook_id"` for an id that is not a slug, and `reason: "webhook_limit_reached"` (409) when registering a NEW id would exceed the per-workspace cap; editing an existing one is admitted either way.
|
|
519
539
|
* `PUT /api/v1/notification-webhooks/{webhookId}` — operation `putPublicNamedNotificationWebhook`.
|
|
520
540
|
*/
|
|
521
|
-
setNamed(webhookId, body, options = {}) {
|
|
541
|
+
setNamed(webhookId, body = {}, options = {}) {
|
|
522
542
|
return this.#transport.request({
|
|
523
543
|
method: 'PUT',
|
|
524
544
|
path: `/api/v1/notification-webhooks/${encodePathSegment(webhookId)}`,
|
|
@@ -628,7 +648,7 @@ export class DecisionsResource {
|
|
|
628
648
|
* Approve the proposal a gated step is holding up, optionally replacing it with an edited one (the edit is what flows to every downstream step), and advance the run. The `approvalId` comes from the run's decision list; passing it back is what makes a racing app user and a racing integration resolve the same gate. Requires a `decide`-scope key.
|
|
629
649
|
* `POST /api/v1/runs/{runId}/decisions/approvals/{approvalId}/approve` — operation `approvePublicRunStep`.
|
|
630
650
|
*/
|
|
631
|
-
approveStep(runId, approvalId, body, options = {}) {
|
|
651
|
+
approveStep(runId, approvalId, body = {}, options = {}) {
|
|
632
652
|
return this.#transport.request({
|
|
633
653
|
method: 'POST',
|
|
634
654
|
path: `/api/v1/runs/${encodePathSegment(runId)}/decisions/approvals/${encodePathSegment(approvalId)}/approve`,
|
|
@@ -653,7 +673,7 @@ export class DecisionsResource {
|
|
|
653
673
|
* Dispatch a read-only investigator to re-examine one finding against the full source, optionally with a specific concern. It upholds, strengthens or retracts the finding, and the review re-parks carrying the verdict. Requires a `decide`-scope key.
|
|
654
674
|
* `POST /api/v1/runs/{runId}/decisions/pr-review/findings/{findingId}/challenge` — operation `challengePublicRunPrReviewFinding`.
|
|
655
675
|
*/
|
|
656
|
-
challengePrReviewFinding(runId, findingId, body, options = {}) {
|
|
676
|
+
challengePrReviewFinding(runId, findingId, body = {}, options = {}) {
|
|
657
677
|
return this.#transport.request({
|
|
658
678
|
method: 'POST',
|
|
659
679
|
path: `/api/v1/runs/${encodePathSegment(runId)}/decisions/pr-review/findings/${encodePathSegment(findingId)}/challenge`,
|
|
@@ -666,7 +686,7 @@ export class DecisionsResource {
|
|
|
666
686
|
* Pick one of the proposed implementation forks (by id) or submit your own approach. The Coder then runs with the choice folded in as a binding directive. Requires a `decide`-scope key.
|
|
667
687
|
* `POST /api/v1/runs/{runId}/decisions/fork/choose` — operation `choosePublicRunFork`.
|
|
668
688
|
*/
|
|
669
|
-
chooseFork(runId, body, options = {}) {
|
|
689
|
+
chooseFork(runId, body = {}, options = {}) {
|
|
670
690
|
return this.#transport.request({
|
|
671
691
|
method: 'POST',
|
|
672
692
|
path: `/api/v1/runs/${encodePathSegment(runId)}/decisions/fork/choose`,
|
|
@@ -739,7 +759,7 @@ export class DecisionsResource {
|
|
|
739
759
|
* Fold the recorded answers into one standardized requirements document. Asynchronous — the run re-reviews in the background, so the response shows the review `incorporating`. Requires a `decide`-scope key.
|
|
740
760
|
* `POST /api/v1/runs/{runId}/decisions/requirements/incorporate` — operation `incorporatePublicRunRequirements`.
|
|
741
761
|
*/
|
|
742
|
-
incorporate(runId, body, options = {}) {
|
|
762
|
+
incorporate(runId, body = {}, options = {}) {
|
|
743
763
|
return this.#transport.request({
|
|
744
764
|
method: 'POST',
|
|
745
765
|
path: `/api/v1/runs/${encodePathSegment(runId)}/decisions/requirements/incorporate`,
|
|
@@ -752,7 +772,7 @@ export class DecisionsResource {
|
|
|
752
772
|
* Fold the picks into one converged direction. ASYNCHRONOUS: the response shows the session `incorporating` while the durable driver folds and re-runs in the background. Requires a `decide`-scope key.
|
|
753
773
|
* `POST /api/v1/runs/{runId}/decisions/brainstorm/{stage}/incorporate` — operation `incorporatePublicRunBrainstorm`.
|
|
754
774
|
*/
|
|
755
|
-
incorporateBrainstorm(runId, stage, body, options = {}) {
|
|
775
|
+
incorporateBrainstorm(runId, stage, body = {}, options = {}) {
|
|
756
776
|
return this.#transport.request({
|
|
757
777
|
method: 'POST',
|
|
758
778
|
path: `/api/v1/runs/${encodePathSegment(runId)}/decisions/brainstorm/${encodePathSegment(stage)}/incorporate`,
|
|
@@ -765,7 +785,7 @@ export class DecisionsResource {
|
|
|
765
785
|
* Fold the recorded answers into one standardized bug report. ASYNCHRONOUS: the response shows the review `incorporating` while the durable driver folds and re-reviews in the background. Requires a `decide`-scope key.
|
|
766
786
|
* `POST /api/v1/runs/{runId}/decisions/clarity/incorporate` — operation `incorporatePublicRunClarity`.
|
|
767
787
|
*/
|
|
768
|
-
incorporateClarity(runId, body, options = {}) {
|
|
788
|
+
incorporateClarity(runId, body = {}, options = {}) {
|
|
769
789
|
return this.#transport.request({
|
|
770
790
|
method: 'POST',
|
|
771
791
|
path: `/api/v1/runs/${encodePathSegment(runId)}/decisions/clarity/incorporate`,
|
|
@@ -838,7 +858,7 @@ export class DecisionsResource {
|
|
|
838
858
|
* Reject the gated proposal: the run stops entirely, recording a terminal `rejected` failure the board can retry. Requires a `decide`-scope key.
|
|
839
859
|
* `POST /api/v1/runs/{runId}/decisions/approvals/{approvalId}/reject` — operation `rejectPublicRunStep`.
|
|
840
860
|
*/
|
|
841
|
-
rejectStep(runId, approvalId, body, options = {}) {
|
|
861
|
+
rejectStep(runId, approvalId, body = {}, options = {}) {
|
|
842
862
|
return this.#transport.request({
|
|
843
863
|
method: 'POST',
|
|
844
864
|
path: `/api/v1/runs/${encodePathSegment(runId)}/decisions/approvals/${encodePathSegment(approvalId)}/reject`,
|
|
@@ -1030,7 +1050,7 @@ export class DecisionsResource {
|
|
|
1030
1050
|
* Record the curated finding selection and say what to do with it: `finish` completes the read-only review, `fix` hands the selected findings to a fixer that commits onto the reviewed PR branch, `post` publishes them as inline PR review comments. `fix` and `post` need at least one selected finding and act on the real pull request. Requires a `decide`-scope key.
|
|
1031
1051
|
* `POST /api/v1/runs/{runId}/decisions/pr-review/resolve` — operation `resolvePublicRunPrReview`.
|
|
1032
1052
|
*/
|
|
1033
|
-
resolvePrReview(runId, body, options = {}) {
|
|
1053
|
+
resolvePrReview(runId, body = {}, options = {}) {
|
|
1034
1054
|
return this.#transport.request({
|
|
1035
1055
|
method: 'POST',
|
|
1036
1056
|
path: `/api/v1/runs/${encodePathSegment(runId)}/decisions/pr-review/resolve`,
|
|
@@ -1402,6 +1422,62 @@ export class EvidenceResource {
|
|
|
1402
1422
|
});
|
|
1403
1423
|
}
|
|
1404
1424
|
}
|
|
1425
|
+
/** The evidence behind the auto-merge policy: what kind of change each merged run made, what the merger scored it, what happened to the pull request, and how much review a human actually spent, plus the per-class rollups that justify widening a rule. Reading takes a `read` key and recording an effort tag a `write` one: neither merges anything. */
|
|
1426
|
+
export class MergeRecordsResource {
|
|
1427
|
+
#transport;
|
|
1428
|
+
constructor(transport) {
|
|
1429
|
+
this.#transport = transport;
|
|
1430
|
+
}
|
|
1431
|
+
/**
|
|
1432
|
+
* Get one merge record
|
|
1433
|
+
* The same record addressed by its own id, for a caller that holds one without the run: the id a `merge_tag_request` notification carries on its payload, for instance. Scoped to the calling key’s workspace.
|
|
1434
|
+
* `GET /api/v1/merge-records/{recordId}` — operation `getPublicMergeRecord`.
|
|
1435
|
+
*/
|
|
1436
|
+
get(recordId, options = {}) {
|
|
1437
|
+
return this.#transport.request({
|
|
1438
|
+
method: 'GET',
|
|
1439
|
+
path: `/api/v1/merge-records/${encodePathSegment(recordId)}`,
|
|
1440
|
+
options,
|
|
1441
|
+
});
|
|
1442
|
+
}
|
|
1443
|
+
/**
|
|
1444
|
+
* Get the merge decision a run left behind
|
|
1445
|
+
* What kind of change the run’s pull request made (a change class derived on the backend from the changed-file list, never from an agent’s opinion), what the merger scored it, which merge-threshold preset the decision was compared against, what ultimately happened to the pull request, and how much review a human spent if anybody has tagged it. The entry point of the merge-evidence loop for a caller holding a run id: it also hands back the `recordId` the effort-tag route takes. A run whose pipeline had no `merger` step made no merge decision and answers `404` with `details.reason: "no_merge_record"`, distinct from the `"run_not_found"` a run this key cannot read gets.
|
|
1446
|
+
* `GET /api/v1/runs/{runId}/merge-record` — operation `getPublicRunMergeRecord`.
|
|
1447
|
+
*/
|
|
1448
|
+
getForRun(runId, options = {}) {
|
|
1449
|
+
return this.#transport.request({
|
|
1450
|
+
method: 'GET',
|
|
1451
|
+
path: `/api/v1/runs/${encodePathSegment(runId)}/merge-record`,
|
|
1452
|
+
options,
|
|
1453
|
+
});
|
|
1454
|
+
}
|
|
1455
|
+
/**
|
|
1456
|
+
* List the per-change-class merge rollups
|
|
1457
|
+
* Every change class’s accumulated track record for the workspace, as one aggregate: how many records it holds, how many landed and by which route (auto-merged, merged through the app, merged directly on the provider), how many were rejected or are still awaiting review, and the distribution of reviewer-effort tags. This is the evidence that justifies widening a per-class auto-merge rule; nothing widens one automatically. A class with no records is present as zeros rather than absent, so "nothing has landed here yet" never reads as a class the response left out. `unknown` is a real class (no changed-file list was available) and never matches a per-class rule.
|
|
1458
|
+
* `GET /api/v1/merge-records/rollups` — operation `listPublicMergeClassRollups`.
|
|
1459
|
+
*/
|
|
1460
|
+
listRollups(options = {}) {
|
|
1461
|
+
return this.#transport.request({
|
|
1462
|
+
method: 'GET',
|
|
1463
|
+
path: `/api/v1/merge-records/rollups`,
|
|
1464
|
+
options,
|
|
1465
|
+
});
|
|
1466
|
+
}
|
|
1467
|
+
/**
|
|
1468
|
+
* Tag the reviewer effort a merge took
|
|
1469
|
+
* Record how much review a landed pull request actually needed (`none` for zero blocking comments, `minor` for a nit pass, `major` for real rework), or `null` to clear the tag. This is the ground truth the auto-merge score thresholds are trying to approximate, and it is never mandatory: an untagged merge records a null tag and nothing downstream breaks. A `write` key, not an `admin` one: the pull request already landed, so tagging it merges nothing. Idempotent, and orthogonal to the decision, so a record can be tagged whenever the effort becomes known, before or after the `act` that merged it.
|
|
1470
|
+
* `POST /api/v1/merge-records/{recordId}/effort` — operation `tagPublicMergeReviewEffort`.
|
|
1471
|
+
*/
|
|
1472
|
+
tagEffort(recordId, body, options = {}) {
|
|
1473
|
+
return this.#transport.request({
|
|
1474
|
+
method: 'POST',
|
|
1475
|
+
path: `/api/v1/merge-records/${encodePathSegment(recordId)}/effort`,
|
|
1476
|
+
body,
|
|
1477
|
+
options,
|
|
1478
|
+
});
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1405
1481
|
/** The workspace's own API keys: provision one headlessly, list them, revoke one (and what it minted). */
|
|
1406
1482
|
export class KeysResource {
|
|
1407
1483
|
#transport;
|
|
@@ -1459,6 +1535,8 @@ export class CatFactoryResources {
|
|
|
1459
1535
|
jobs;
|
|
1460
1536
|
/** The workspace's board services, the frames tasks are created under: list them, or create one (optionally backed by a repository). */
|
|
1461
1537
|
services;
|
|
1538
|
+
/** A service's in-repo specification: the structured requirement tree (modules → feature groups → requirements, with their acceptance criteria and domain rules), the Gherkin rendered from it, and the branch and commit the read describes. Read-only; the requirement ids are the join key onto a run's report and outcome. */
|
|
1539
|
+
spec;
|
|
1462
1540
|
/** The repositories this workspace can back a service with, and which service each already backs: the discovery half of service creation. */
|
|
1463
1541
|
repos;
|
|
1464
1542
|
/** A board task's whole lifecycle: create, edit, start, stop, retry, watch, delete, plus the two relationships that outlive a create: the tasks it waits for, and the requirements documents it is built against. */
|
|
@@ -1481,11 +1559,14 @@ export class CatFactoryResources {
|
|
|
1481
1559
|
debug;
|
|
1482
1560
|
/** What a run proved: the engine's verification report, the outcome summary behind it, and the artifacts it captured, bytes included. */
|
|
1483
1561
|
evidence;
|
|
1562
|
+
/** The evidence behind the auto-merge policy: what kind of change each merged run made, what the merger scored it, what happened to the pull request, and how much review a human actually spent, plus the per-class rollups that justify widening a rule. Reading takes a `read` key and recording an effort tag a `write` one: neither merges anything. */
|
|
1563
|
+
mergeRecords;
|
|
1484
1564
|
/** The workspace's own API keys: provision one headlessly, list them, revoke one (and what it minted). */
|
|
1485
1565
|
keys;
|
|
1486
1566
|
constructor(transport) {
|
|
1487
1567
|
this.jobs = new JobsResource(transport);
|
|
1488
1568
|
this.services = new ServicesResource(transport);
|
|
1569
|
+
this.spec = new SpecResource(transport);
|
|
1489
1570
|
this.repos = new ReposResource(transport);
|
|
1490
1571
|
this.tasks = new TasksResource(transport);
|
|
1491
1572
|
this.pipelines = new PipelinesResource(transport);
|
|
@@ -1497,6 +1578,7 @@ export class CatFactoryResources {
|
|
|
1497
1578
|
this.decisions = new DecisionsResource(transport);
|
|
1498
1579
|
this.debug = new DebugResource(transport);
|
|
1499
1580
|
this.evidence = new EvidenceResource(transport);
|
|
1581
|
+
this.mergeRecords = new MergeRecordsResource(transport);
|
|
1500
1582
|
this.keys = new KeysResource(transport);
|
|
1501
1583
|
}
|
|
1502
1584
|
}
|