@cat-factory/contracts 0.267.0 → 0.269.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/debug-api.d.ts +8 -2
- package/dist/debug-api.d.ts.map +1 -1
- package/dist/debug-api.js +3 -2
- package/dist/debug-api.js.map +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +6 -0
- package/dist/errors.js.map +1 -1
- package/dist/execution.d.ts +9 -3
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +4 -3
- package/dist/execution.js.map +1 -1
- package/dist/notification-webhooks.d.ts +92 -2
- package/dist/notification-webhooks.d.ts.map +1 -1
- package/dist/notification-webhooks.js +63 -4
- package/dist/notification-webhooks.js.map +1 -1
- package/dist/recurring.d.ts +28 -4
- package/dist/recurring.d.ts.map +1 -1
- package/dist/recurring.js +7 -1
- package/dist/recurring.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +10 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/bug-hunt.d.ts +10 -0
- package/dist/routes/bug-hunt.d.ts.map +1 -1
- package/dist/routes/debug-api.d.ts +5 -0
- package/dist/routes/debug-api.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +40 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +5 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +25 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/notification-webhooks.d.ts +390 -1
- package/dist/routes/notification-webhooks.d.ts.map +1 -1
- package/dist/routes/notification-webhooks.js +97 -8
- package/dist/routes/notification-webhooks.js.map +1 -1
- package/dist/routes/recurring.d.ts +6 -0
- package/dist/routes/recurring.d.ts.map +1 -1
- package/dist/routes/tasks.d.ts +1 -0
- package/dist/routes/tasks.d.ts.map +1 -1
- package/dist/routes/visual-confirm.d.ts +15 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +12 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/run-provenance.d.ts +33 -7
- package/dist/run-provenance.d.ts.map +1 -1
- package/dist/run-provenance.js +33 -7
- package/dist/run-provenance.js.map +1 -1
- package/dist/snapshot.d.ts +6 -0
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/tasks.d.ts +27 -0
- package/dist/tasks.d.ts.map +1 -1
- package/dist/tasks.js +24 -0
- package/dist/tasks.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
|
|
2
2
|
import * as v from 'valibot';
|
|
3
|
-
import { notificationWebhookSchema, publicNotificationWebhookSchema, putNotificationWebhookSchema, } from '../notification-webhooks.js';
|
|
4
|
-
import { errorResponses, withMinScope } from './_shared.js';
|
|
5
|
-
// Management routes for a workspace's OUTBOUND notification
|
|
3
|
+
import { notificationWebhookSchema, publicNotificationWebhookListSchema, publicNotificationWebhookSchema, putNotificationWebhookSchema, } from '../notification-webhooks.js';
|
|
4
|
+
import { errorResponses, singleStringParam, withMinScope } from './_shared.js';
|
|
5
|
+
// Management routes for a workspace's OUTBOUND notification webhooks, on TWO surfaces:
|
|
6
6
|
//
|
|
7
7
|
// 1. Session-authed, mounted under `/workspaces/:workspaceId` (so paths are relative), like the
|
|
8
8
|
// tracker/Slack settings. These are writes to an integration's configuration, so they sit
|
|
@@ -10,16 +10,22 @@ import { errorResponses, withMinScope } from './_shared.js';
|
|
|
10
10
|
// 2. `/api/v1/notification-webhook`, on absolute paths, authenticated in-controller by an
|
|
11
11
|
// `admin`-scope public-API key. Same three verbs against the same service.
|
|
12
12
|
//
|
|
13
|
-
// The
|
|
14
|
-
// platform-alert sinks beside it, not by these routes.
|
|
13
|
+
// The endpoints they configure are consumed by `WebhookNotificationChannel` and the run-lifecycle
|
|
14
|
+
// / platform-alert sinks beside it, not by these routes.
|
|
15
15
|
//
|
|
16
16
|
// The second surface exists because the FIRST one made the push channel unreachable to exactly
|
|
17
17
|
// the caller it was built for. A deployment whose operator is headless has no browser session, so
|
|
18
18
|
// the receiver that run-lifecycle push exists to feed could only be registered by a human clicking
|
|
19
19
|
// through an app the feature deliberately does not need. Both surfaces are thin delegates over
|
|
20
|
-
// `NotificationWebhookService` (same URL guard, same write-only secret, same
|
|
21
|
-
//
|
|
22
|
-
|
|
20
|
+
// `NotificationWebhookService` (same URL guard, same write-only secret, same per-endpoint rules),
|
|
21
|
+
// so neither can admit an endpoint the other would reject.
|
|
22
|
+
//
|
|
23
|
+
// Each surface comes in two shapes. The SINGULAR routes (`…/notification-webhook`) address the one
|
|
24
|
+
// id `default`; the COLLECTION (`…/notification-webhooks[/:webhookId]`) addresses any of them. The
|
|
25
|
+
// singular pair is not a legacy alias kept alive out of politeness: it is the whole surface a
|
|
26
|
+
// deployment with one receiver ever needs, and collapsing it into the collection would have made
|
|
27
|
+
// every existing consumer move for a capability it does not use.
|
|
28
|
+
/** The workspace's default webhook, or null when none is set. Never returns the secret. */
|
|
23
29
|
export const getNotificationWebhookContract = defineApiContract({
|
|
24
30
|
method: 'get',
|
|
25
31
|
pathResolver: () => '/notification-webhook',
|
|
@@ -41,6 +47,38 @@ export const deleteNotificationWebhookContract = defineApiContract({
|
|
|
41
47
|
pathResolver: () => '/notification-webhook',
|
|
42
48
|
responsesByStatusCode: { 204: ContractNoBody, ...errorResponses },
|
|
43
49
|
});
|
|
50
|
+
// ---- the session surface's COLLECTION (every named endpoint) ----
|
|
51
|
+
/** Every endpoint the workspace has registered, ordered by id. Never returns a secret. */
|
|
52
|
+
export const listNotificationWebhooksContract = defineApiContract({
|
|
53
|
+
method: 'get',
|
|
54
|
+
pathResolver: () => '/notification-webhooks',
|
|
55
|
+
responsesByStatusCode: {
|
|
56
|
+
200: publicNotificationWebhookListSchema,
|
|
57
|
+
...errorResponses,
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
/** One named endpoint, or null when nothing is registered under that id. */
|
|
61
|
+
export const getNamedNotificationWebhookContract = defineApiContract({
|
|
62
|
+
method: 'get',
|
|
63
|
+
pathResolver: (p) => `/notification-webhooks/${p.webhookId}`,
|
|
64
|
+
requestPathParamsSchema: singleStringParam('webhookId'),
|
|
65
|
+
responsesByStatusCode: { 200: publicNotificationWebhookSchema, ...errorResponses },
|
|
66
|
+
});
|
|
67
|
+
/** Register or update one named endpoint. Keep-on-omit in every field, like the singular route. */
|
|
68
|
+
export const putNamedNotificationWebhookContract = defineApiContract({
|
|
69
|
+
method: 'put',
|
|
70
|
+
pathResolver: (p) => `/notification-webhooks/${p.webhookId}`,
|
|
71
|
+
requestPathParamsSchema: singleStringParam('webhookId'),
|
|
72
|
+
requestBodySchema: putNotificationWebhookSchema,
|
|
73
|
+
responsesByStatusCode: { 200: notificationWebhookSchema, ...errorResponses },
|
|
74
|
+
});
|
|
75
|
+
/** Remove one named endpoint (its deliveries stop; its siblings are untouched). Idempotent. */
|
|
76
|
+
export const deleteNamedNotificationWebhookContract = defineApiContract({
|
|
77
|
+
method: 'delete',
|
|
78
|
+
pathResolver: (p) => `/notification-webhooks/${p.webhookId}`,
|
|
79
|
+
requestPathParamsSchema: singleStringParam('webhookId'),
|
|
80
|
+
responsesByStatusCode: { 204: ContractNoBody, ...errorResponses },
|
|
81
|
+
});
|
|
44
82
|
// ---- the external `/api/v1` surface (absolute paths, key-authenticated) ----
|
|
45
83
|
/**
|
|
46
84
|
* Read the workspace's registered endpoint. `{ webhook: null }` when none is registered: a real
|
|
@@ -73,4 +111,55 @@ export const deletePublicNotificationWebhookContract = withMinScope('admin', def
|
|
|
73
111
|
pathResolver: () => '/api/v1/notification-webhook',
|
|
74
112
|
responsesByStatusCode: { 204: ContractNoBody, ...errorResponses },
|
|
75
113
|
}));
|
|
114
|
+
// ---- the public COLLECTION: several named endpoints per workspace ----
|
|
115
|
+
//
|
|
116
|
+
// The singular resource above is ONE endpoint per workspace, which made a second integration's
|
|
117
|
+
// enrolment a hostile act: registering it stole the slot from whatever was already there, and the
|
|
118
|
+
// only way to notice was that the previous receiver went quiet. The collection is the additive fix
|
|
119
|
+
// — the singular routes keep working and now project onto the `default` id — and it is what lets a
|
|
120
|
+
// credential-holding front-end (a Cloudflare OS gatekeeper) enroll its own receiver, with its own
|
|
121
|
+
// signing secret and its own event filters, beside a deployment's existing CI hook.
|
|
122
|
+
/**
|
|
123
|
+
* Every endpoint the workspace has registered. Bounded by the write path
|
|
124
|
+
* (`MAX_NOTIFICATION_WEBHOOKS_PER_WORKSPACE`) rather than by a cursor: see the schema.
|
|
125
|
+
*/
|
|
126
|
+
export const listPublicNotificationWebhooksContract = withMinScope('admin', defineApiContract({
|
|
127
|
+
method: 'get',
|
|
128
|
+
pathResolver: () => '/api/v1/notification-webhooks',
|
|
129
|
+
responsesByStatusCode: { 200: publicNotificationWebhookListSchema, ...errorResponses },
|
|
130
|
+
}));
|
|
131
|
+
/**
|
|
132
|
+
* Read one named endpoint. `{ webhook: null }` when nothing is registered under that id, for the
|
|
133
|
+
* same reason the singular read answers that way: this is a startup self-check, and an id a caller
|
|
134
|
+
* chose for itself is not a resource it can mistype into somebody else's.
|
|
135
|
+
*/
|
|
136
|
+
export const getPublicNamedNotificationWebhookContract = withMinScope('admin', defineApiContract({
|
|
137
|
+
method: 'get',
|
|
138
|
+
requestPathParamsSchema: singleStringParam('webhookId'),
|
|
139
|
+
pathResolver: ({ webhookId }) => `/api/v1/notification-webhooks/${webhookId}`,
|
|
140
|
+
responsesByStatusCode: { 200: publicNotificationWebhookSchema, ...errorResponses },
|
|
141
|
+
}));
|
|
142
|
+
/**
|
|
143
|
+
* Register or update one named endpoint under a CALLER-CHOSEN id, with the same keep-on-omit rule
|
|
144
|
+
* and the same write-only secret as the singular route. Creating a new id past the per-workspace
|
|
145
|
+
* cap is refused with `reason: 'webhook_limit_reached'`; an id that is not a lowercase slug with
|
|
146
|
+
* `reason: 'invalid_webhook_id'`.
|
|
147
|
+
*/
|
|
148
|
+
export const putPublicNamedNotificationWebhookContract = withMinScope('admin', defineApiContract({
|
|
149
|
+
method: 'put',
|
|
150
|
+
requestPathParamsSchema: singleStringParam('webhookId'),
|
|
151
|
+
pathResolver: ({ webhookId }) => `/api/v1/notification-webhooks/${webhookId}`,
|
|
152
|
+
requestBodySchema: putNotificationWebhookSchema,
|
|
153
|
+
responsesByStatusCode: { 200: notificationWebhookSchema, ...errorResponses },
|
|
154
|
+
}));
|
|
155
|
+
/**
|
|
156
|
+
* Remove one named endpoint. Idempotent, and scoped to the id alone: a caller tearing its own
|
|
157
|
+
* receiver down can never take a sibling integration's registration with it.
|
|
158
|
+
*/
|
|
159
|
+
export const deletePublicNamedNotificationWebhookContract = withMinScope('admin', defineApiContract({
|
|
160
|
+
method: 'delete',
|
|
161
|
+
requestPathParamsSchema: singleStringParam('webhookId'),
|
|
162
|
+
pathResolver: ({ webhookId }) => `/api/v1/notification-webhooks/${webhookId}`,
|
|
163
|
+
responsesByStatusCode: { 204: ContractNoBody, ...errorResponses },
|
|
164
|
+
}));
|
|
76
165
|
//# sourceMappingURL=notification-webhooks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-webhooks.js","sourceRoot":"","sources":["../../src/routes/notification-webhooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EACL,yBAAyB,EACzB,+BAA+B,EAC/B,4BAA4B,GAC7B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"notification-webhooks.js","sourceRoot":"","sources":["../../src/routes/notification-webhooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA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AAyC,GAAG,YAAY,CACnE,OAAO,EACP,iBAAiB,CAAC;IAChB,MAAM,EAAE,KAAK;IACb,uBAAuB,EAAE,iBAAiB,CAAC,WAAW,CAAC;IACvD,YAAY,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,iCAAiC,SAAS,EAAE;IAC7E,qBAAqB,EAAE,EAAE,GAAG,EAAE,+BAA+B,EAAE,GAAG,cAAc,EAAE;CACnF,CAAC,CACH,CAAA;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,YAAY,CACnE,OAAO,EACP,iBAAiB,CAAC;IAChB,MAAM,EAAE,KAAK;IACb,uBAAuB,EAAE,iBAAiB,CAAC,WAAW,CAAC;IACvD,YAAY,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,iCAAiC,SAAS,EAAE;IAC7E,iBAAiB,EAAE,4BAA4B;IAC/C,qBAAqB,EAAE,EAAE,GAAG,EAAE,yBAAyB,EAAE,GAAG,cAAc,EAAE;CAC7E,CAAC,CACH,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAG,YAAY,CACtE,OAAO,EACP,iBAAiB,CAAC;IAChB,MAAM,EAAE,QAAQ;IAChB,uBAAuB,EAAE,iBAAiB,CAAC,WAAW,CAAC;IACvD,YAAY,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,iCAAiC,SAAS,EAAE;IAC7E,qBAAqB,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,cAAc,EAAE;CAClE,CAAC,CACH,CAAA"}
|
|
@@ -48,6 +48,7 @@ export declare const listSchedulesContract: {
|
|
|
48
48
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
49
49
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
50
50
|
readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
51
|
+
readonly gitlabProject: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
51
52
|
readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
52
53
|
}, undefined>;
|
|
53
54
|
readonly predicates: v.ObjectSchema<{
|
|
@@ -87,6 +88,7 @@ export declare const createScheduleContract: {
|
|
|
87
88
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
88
89
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
89
90
|
readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
91
|
+
readonly gitlabProject: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
90
92
|
readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
91
93
|
}, undefined>;
|
|
92
94
|
readonly predicates: v.ObjectSchema<{
|
|
@@ -145,6 +147,7 @@ export declare const createScheduleContract: {
|
|
|
145
147
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
146
148
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
147
149
|
readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
150
|
+
readonly gitlabProject: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
148
151
|
readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
149
152
|
}, undefined>;
|
|
150
153
|
readonly predicates: v.ObjectSchema<{
|
|
@@ -186,6 +189,7 @@ export declare const updateScheduleContract: {
|
|
|
186
189
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
187
190
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
188
191
|
readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
192
|
+
readonly gitlabProject: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
189
193
|
readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
190
194
|
}, undefined>;
|
|
191
195
|
readonly predicates: v.ObjectSchema<{
|
|
@@ -243,6 +247,7 @@ export declare const updateScheduleContract: {
|
|
|
243
247
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
244
248
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
245
249
|
readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
250
|
+
readonly gitlabProject: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
246
251
|
readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
247
252
|
}, undefined>;
|
|
248
253
|
readonly predicates: v.ObjectSchema<{
|
|
@@ -390,6 +395,7 @@ export declare const runScheduleNowContract: {
|
|
|
390
395
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
391
396
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
392
397
|
readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
398
|
+
readonly gitlabProject: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
393
399
|
readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
394
400
|
}, undefined>;
|
|
395
401
|
readonly predicates: v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recurring.d.ts","sourceRoot":"","sources":["../../src/routes/recurring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmB5B,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"recurring.d.ts","sourceRoot":"","sources":["../../src/routes/recurring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmB5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjC,CAAA"}
|
package/dist/routes/tasks.d.ts
CHANGED
|
@@ -46,6 +46,7 @@ export declare const listTaskSourcesContract: {
|
|
|
46
46
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
47
47
|
readonly ridesVcsProvider: v.NullableSchema<v.PicklistSchema<["github", "gitlab"], undefined>, undefined>;
|
|
48
48
|
readonly supportsIntake: v.BooleanSchema<undefined>;
|
|
49
|
+
readonly ignoredIntakePredicates: v.ArraySchema<v.PicklistSchema<["titleFragment", "labels", "issueType", "unassignedOnly"], undefined>, undefined>;
|
|
49
50
|
}, undefined>, undefined>;
|
|
50
51
|
}, undefined>;
|
|
51
52
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/routes/tasks.ts"],"names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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5B,CAAA"}
|
|
@@ -1090,6 +1090,11 @@ export declare const approveVisualConfirmContract: {
|
|
|
1090
1090
|
readonly agentKind: v.StringSchema<undefined>;
|
|
1091
1091
|
readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1092
1092
|
readonly executionBackend: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1093
|
+
readonly failure: v.OptionalSchema<v.ObjectSchema<{
|
|
1094
|
+
readonly kind: v.StringSchema<undefined>;
|
|
1095
|
+
readonly reason: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1096
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1097
|
+
}, undefined>, undefined>;
|
|
1093
1098
|
readonly repo: v.OptionalSchema<v.ObjectSchema<{
|
|
1094
1099
|
readonly owner: v.StringSchema<undefined>;
|
|
1095
1100
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -2212,6 +2217,11 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
2212
2217
|
readonly agentKind: v.StringSchema<undefined>;
|
|
2213
2218
|
readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2214
2219
|
readonly executionBackend: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2220
|
+
readonly failure: v.OptionalSchema<v.ObjectSchema<{
|
|
2221
|
+
readonly kind: v.StringSchema<undefined>;
|
|
2222
|
+
readonly reason: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2223
|
+
readonly at: v.NumberSchema<undefined>;
|
|
2224
|
+
}, undefined>, undefined>;
|
|
2215
2225
|
readonly repo: v.OptionalSchema<v.ObjectSchema<{
|
|
2216
2226
|
readonly owner: v.StringSchema<undefined>;
|
|
2217
2227
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -3332,6 +3342,11 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
3332
3342
|
readonly agentKind: v.StringSchema<undefined>;
|
|
3333
3343
|
readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3334
3344
|
readonly executionBackend: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3345
|
+
readonly failure: v.OptionalSchema<v.ObjectSchema<{
|
|
3346
|
+
readonly kind: v.StringSchema<undefined>;
|
|
3347
|
+
readonly reason: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3348
|
+
readonly at: v.NumberSchema<undefined>;
|
|
3349
|
+
}, undefined>, undefined>;
|
|
3335
3350
|
readonly repo: v.OptionalSchema<v.ObjectSchema<{
|
|
3336
3351
|
readonly owner: v.StringSchema<undefined>;
|
|
3337
3352
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMzC,CAAA"}
|
|
@@ -1601,6 +1601,11 @@ export declare const createWorkspaceContract: {
|
|
|
1601
1601
|
readonly agentKind: v.StringSchema<undefined>;
|
|
1602
1602
|
readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1603
1603
|
readonly executionBackend: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1604
|
+
readonly failure: v.OptionalSchema<v.ObjectSchema<{
|
|
1605
|
+
readonly kind: v.StringSchema<undefined>;
|
|
1606
|
+
readonly reason: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1607
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1608
|
+
}, undefined>, undefined>;
|
|
1604
1609
|
readonly repo: v.OptionalSchema<v.ObjectSchema<{
|
|
1605
1610
|
readonly owner: v.StringSchema<undefined>;
|
|
1606
1611
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -2644,6 +2649,7 @@ export declare const createWorkspaceContract: {
|
|
|
2644
2649
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2645
2650
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2646
2651
|
readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2652
|
+
readonly gitlabProject: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2647
2653
|
readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2648
2654
|
}, undefined>;
|
|
2649
2655
|
readonly predicates: v.ObjectSchema<{
|
|
@@ -5034,6 +5040,11 @@ export declare const getWorkspaceContract: {
|
|
|
5034
5040
|
readonly agentKind: v.StringSchema<undefined>;
|
|
5035
5041
|
readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5036
5042
|
readonly executionBackend: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5043
|
+
readonly failure: v.OptionalSchema<v.ObjectSchema<{
|
|
5044
|
+
readonly kind: v.StringSchema<undefined>;
|
|
5045
|
+
readonly reason: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5046
|
+
readonly at: v.NumberSchema<undefined>;
|
|
5047
|
+
}, undefined>, undefined>;
|
|
5037
5048
|
readonly repo: v.OptionalSchema<v.ObjectSchema<{
|
|
5038
5049
|
readonly owner: v.StringSchema<undefined>;
|
|
5039
5050
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -6077,6 +6088,7 @@ export declare const getWorkspaceContract: {
|
|
|
6077
6088
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
6078
6089
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
6079
6090
|
readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
6091
|
+
readonly gitlabProject: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
6080
6092
|
readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
6081
6093
|
}, undefined>;
|
|
6082
6094
|
readonly predicates: v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
|
package/dist/run-provenance.d.ts
CHANGED
|
@@ -59,11 +59,16 @@ export declare function isDryRun(mode: RunMode | null | undefined): boolean;
|
|
|
59
59
|
* Per-run diagnostic context captured for AFTER-THE-FACT investigation of a run (esp. a
|
|
60
60
|
* failure): the "where/what did this run actually execute on" facts that were previously
|
|
61
61
|
* spread across the DB (repo↔service↔installation joins), the harness transcript (model), or
|
|
62
|
-
* lost entirely (which backend a step ran on). Stamped by the engine
|
|
63
|
-
*
|
|
64
|
-
* relevant to a failure), not a per-step history. Rides in the
|
|
65
|
-
* column), like `ExecutionInstance.notes`/`frontendBindings`.
|
|
66
|
-
*
|
|
62
|
+
* lost entirely (which backend a step ran on). Stamped by the engine BEFORE the dispatch and
|
|
63
|
+
* refined by what the dispatch returned and by the first poll; it reflects the MOST RECENT
|
|
64
|
+
* dispatch (the step most likely relevant to a failure), not a per-step history. Rides in the
|
|
65
|
+
* run's `detail` JSON (no dedicated column), like `ExecutionInstance.notes`/`frontendBindings`.
|
|
66
|
+
* Absent on legacy runs. NEVER carries a token or secret.
|
|
67
|
+
*
|
|
68
|
+
* Stamped BEFORE the dispatch on purpose: it used to be written from the job handle, which
|
|
69
|
+
* only exists once the container has accepted the job, so the failures where "which model,
|
|
70
|
+
* which repo, which backend" matters most (a container that never started, a preflight
|
|
71
|
+
* rejection) were the exact ones that recorded nothing.
|
|
67
72
|
*/
|
|
68
73
|
export declare const runDiagnosticsSchema: v.ObjectSchema<{
|
|
69
74
|
/** Context of the most recent container-step dispatch. */
|
|
@@ -77,10 +82,31 @@ export declare const runDiagnosticsSchema: v.ObjectSchema<{
|
|
|
77
82
|
/**
|
|
78
83
|
* Which runner backend the step actually ran on, the datum that distinguishes a native
|
|
79
84
|
* host-process run from a sandboxed container: `local-native` | `local-container` |
|
|
80
|
-
* `runner-pool` | `cloudflare-container
|
|
81
|
-
*
|
|
85
|
+
* `runner-pool` | `cloudflare-container`, plus `inline` for a step the engine answered
|
|
86
|
+
* with an LLM call of its own rather than dispatching anywhere. Filled on the first poll
|
|
87
|
+
* for a container step (the transport reports it) and at dispatch for an inline one;
|
|
88
|
+
* absent until then or on an older runtime.
|
|
82
89
|
*/
|
|
83
90
|
readonly executionBackend: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* How the dispatch itself ended, when it did not reach a running job. PRESENCE is the
|
|
93
|
+
* signal (a dispatch that was accepted, or is still in flight, carries none), so there
|
|
94
|
+
* is no "succeeded" member to keep in step with anything.
|
|
95
|
+
*
|
|
96
|
+
* This is the half the block was missing: the model/repo/backend facts describe where a
|
|
97
|
+
* step ran, and a run that died before any of that says which of them never happened
|
|
98
|
+
* and why. `kind` is the engine's own dispatch failure taxonomy and `reason` the
|
|
99
|
+
* machine-readable cause when the throw carried one (a preflight `DomainError`), so an
|
|
100
|
+
* investigation reads the same vocabulary the run's failure card renders.
|
|
101
|
+
*/
|
|
102
|
+
readonly failure: v.OptionalSchema<v.ObjectSchema<{
|
|
103
|
+
/** `preflight` | `evicted` | `dispatch`: the engine's dispatch failure taxonomy. */
|
|
104
|
+
readonly kind: v.StringSchema<undefined>;
|
|
105
|
+
/** Machine-readable cause (e.g. `github_not_connected`), when the throw carried one. */
|
|
106
|
+
readonly reason: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
107
|
+
/** Epoch ms the dispatch failed. */
|
|
108
|
+
readonly at: v.NumberSchema<undefined>;
|
|
109
|
+
}, undefined>, undefined>;
|
|
84
110
|
/** The repo the step operated on. */
|
|
85
111
|
readonly repo: v.OptionalSchema<v.ObjectSchema<{
|
|
86
112
|
readonly owner: v.StringSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-provenance.d.ts","sourceRoot":"","sources":["../src/run-provenance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAQ5B;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,kBAAkB,0EAA0D,CAAA;AACzF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAA;AA8BnE;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,YAAY,GAAG,SAAS,GAAG,OAAO,CAE1E;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa,kDAAkC,CAAA;AAC5D,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,aAAa,CAAC,CAAA;AAEzD;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAElE;AAED
|
|
1
|
+
{"version":3,"file":"run-provenance.d.ts","sourceRoot":"","sources":["../src/run-provenance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAQ5B;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,kBAAkB,0EAA0D,CAAA;AACzF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAA;AA8BnE;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,YAAY,GAAG,SAAS,GAAG,OAAO,CAE1E;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa,kDAAkC,CAAA;AAC5D,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,aAAa,CAAC,CAAA;AAEzD;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAElE;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,oBAAoB;IAC/B,0DAA0D;;QAGtD,wDAAwD;;QAExD,mEAAmE;;QAEnE,kGAAkG;;QAElG;;;;;;;WAOG;;QAEH;;;;;;;;;;WAUG;;YAGC,oFAAoF;;YAEpF,wFAAwF;;YAExF,oCAAoC;;;QAIxC,qCAAqC;;;;YAKjC,8CAA8C;;YAE9C,+EAA+E;;;QAInF,0CAA0C;;;IAI9C;;;;;OAKG;;;;aAMH,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
|
package/dist/run-provenance.js
CHANGED
|
@@ -93,11 +93,16 @@ export function isDryRun(mode) {
|
|
|
93
93
|
* Per-run diagnostic context captured for AFTER-THE-FACT investigation of a run (esp. a
|
|
94
94
|
* failure): the "where/what did this run actually execute on" facts that were previously
|
|
95
95
|
* spread across the DB (repo↔service↔installation joins), the harness transcript (model), or
|
|
96
|
-
* lost entirely (which backend a step ran on). Stamped by the engine
|
|
97
|
-
*
|
|
98
|
-
* relevant to a failure), not a per-step history. Rides in the
|
|
99
|
-
* column), like `ExecutionInstance.notes`/`frontendBindings`.
|
|
100
|
-
*
|
|
96
|
+
* lost entirely (which backend a step ran on). Stamped by the engine BEFORE the dispatch and
|
|
97
|
+
* refined by what the dispatch returned and by the first poll; it reflects the MOST RECENT
|
|
98
|
+
* dispatch (the step most likely relevant to a failure), not a per-step history. Rides in the
|
|
99
|
+
* run's `detail` JSON (no dedicated column), like `ExecutionInstance.notes`/`frontendBindings`.
|
|
100
|
+
* Absent on legacy runs. NEVER carries a token or secret.
|
|
101
|
+
*
|
|
102
|
+
* Stamped BEFORE the dispatch on purpose: it used to be written from the job handle, which
|
|
103
|
+
* only exists once the container has accepted the job, so the failures where "which model,
|
|
104
|
+
* which repo, which backend" matters most (a container that never started, a preflight
|
|
105
|
+
* rejection) were the exact ones that recorded nothing.
|
|
101
106
|
*/
|
|
102
107
|
export const runDiagnosticsSchema = v.object({
|
|
103
108
|
/** Context of the most recent container-step dispatch. */
|
|
@@ -111,10 +116,31 @@ export const runDiagnosticsSchema = v.object({
|
|
|
111
116
|
/**
|
|
112
117
|
* Which runner backend the step actually ran on, the datum that distinguishes a native
|
|
113
118
|
* host-process run from a sandboxed container: `local-native` | `local-container` |
|
|
114
|
-
* `runner-pool` | `cloudflare-container
|
|
115
|
-
*
|
|
119
|
+
* `runner-pool` | `cloudflare-container`, plus `inline` for a step the engine answered
|
|
120
|
+
* with an LLM call of its own rather than dispatching anywhere. Filled on the first poll
|
|
121
|
+
* for a container step (the transport reports it) and at dispatch for an inline one;
|
|
122
|
+
* absent until then or on an older runtime.
|
|
116
123
|
*/
|
|
117
124
|
executionBackend: v.optional(v.string()),
|
|
125
|
+
/**
|
|
126
|
+
* How the dispatch itself ended, when it did not reach a running job. PRESENCE is the
|
|
127
|
+
* signal (a dispatch that was accepted, or is still in flight, carries none), so there
|
|
128
|
+
* is no "succeeded" member to keep in step with anything.
|
|
129
|
+
*
|
|
130
|
+
* This is the half the block was missing: the model/repo/backend facts describe where a
|
|
131
|
+
* step ran, and a run that died before any of that says which of them never happened
|
|
132
|
+
* and why. `kind` is the engine's own dispatch failure taxonomy and `reason` the
|
|
133
|
+
* machine-readable cause when the throw carried one (a preflight `DomainError`), so an
|
|
134
|
+
* investigation reads the same vocabulary the run's failure card renders.
|
|
135
|
+
*/
|
|
136
|
+
failure: v.optional(v.object({
|
|
137
|
+
/** `preflight` | `evicted` | `dispatch`: the engine's dispatch failure taxonomy. */
|
|
138
|
+
kind: v.string(),
|
|
139
|
+
/** Machine-readable cause (e.g. `github_not_connected`), when the throw carried one. */
|
|
140
|
+
reason: v.optional(v.string()),
|
|
141
|
+
/** Epoch ms the dispatch failed. */
|
|
142
|
+
at: v.number(),
|
|
143
|
+
})),
|
|
118
144
|
/** The repo the step operated on. */
|
|
119
145
|
repo: v.optional(v.object({
|
|
120
146
|
owner: v.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-provenance.js","sourceRoot":"","sources":["../src/run-provenance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,4FAA4F;AAC5F,8FAA8F;AAC9F,gGAAgG;AAChG,+FAA+F;AAC/F,0EAA0E;AAE1E;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,IAAI,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC,CAAA;AAGzF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,eAAe,GAAkC;IACrD,EAAE,EAAE,KAAK;IACT,YAAY,EAAE,IAAI;IAClB,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,KAAK;CAChB,CAAA;AAED;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,gBAAgB,CAAC,MAAgC;IAC/D,OAAO,MAAM,IAAI,IAAI,IAAI,eAAe,CAAC,MAAM,CAAC,KAAK,IAAI,CAAA;AAC3D,CAAC;AAED;;;;;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AQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;KACjC,CAAC,CACH;CACF,CAAC,CAAA"}
|
package/dist/snapshot.d.ts
CHANGED
|
@@ -1539,6 +1539,11 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1539
1539
|
readonly agentKind: v.StringSchema<undefined>;
|
|
1540
1540
|
readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1541
1541
|
readonly executionBackend: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1542
|
+
readonly failure: v.OptionalSchema<v.ObjectSchema<{
|
|
1543
|
+
readonly kind: v.StringSchema<undefined>;
|
|
1544
|
+
readonly reason: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1545
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1546
|
+
}, undefined>, undefined>;
|
|
1542
1547
|
readonly repo: v.OptionalSchema<v.ObjectSchema<{
|
|
1543
1548
|
readonly owner: v.StringSchema<undefined>;
|
|
1544
1549
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -2684,6 +2689,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
2684
2689
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2685
2690
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2686
2691
|
readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2692
|
+
readonly gitlabProject: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2687
2693
|
readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2688
2694
|
}, undefined>;
|
|
2689
2695
|
readonly predicates: v.ObjectSchema<{
|
package/dist/snapshot.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAyC5B;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;aAGhC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAE7E,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAyC5B;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;aAGhC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAE7E,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAA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