@cat-factory/contracts 0.219.0 → 0.220.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/bug-hunt.d.ts +5 -5
- package/dist/execution.d.ts +74 -0
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +34 -0
- package/dist/execution.js.map +1 -1
- package/dist/localModels.d.ts +23 -0
- package/dist/localModels.d.ts.map +1 -1
- package/dist/localModels.js +29 -0
- package/dist/localModels.js.map +1 -1
- package/dist/recurring.d.ts +139 -4
- package/dist/recurring.d.ts.map +1 -1
- package/dist/recurring.js +47 -0
- package/dist/recurring.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +12 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +82 -0
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/auth.js +29 -0
- package/dist/routes/auth.js.map +1 -1
- package/dist/routes/bug-hunt.d.ts +17 -5
- package/dist/routes/bug-hunt.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +48 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +6 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +30 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/localModels.d.ts +3 -0
- package/dist/routes/localModels.d.ts.map +1 -1
- package/dist/routes/recurring.d.ts +18 -6
- package/dist/routes/recurring.d.ts.map +1 -1
- package/dist/routes/tasks.d.ts +14 -14
- package/dist/routes/visual-confirm.d.ts +18 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +18 -2
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +9 -1
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/tasks.d.ts +43 -12
- package/dist/tasks.d.ts.map +1 -1
- package/dist/tasks.js +40 -3
- package/dist/tasks.js.map +1 -1
- package/package.json +1 -1
package/dist/routes/tasks.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export declare const listTaskSourcesContract: {
|
|
|
28
28
|
}, undefined>;
|
|
29
29
|
readonly 200: v.ObjectSchema<{
|
|
30
30
|
readonly sources: v.ArraySchema<v.ObjectSchema<{
|
|
31
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
31
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
32
32
|
readonly label: v.StringSchema<undefined>;
|
|
33
33
|
readonly icon: v.StringSchema<undefined>;
|
|
34
34
|
readonly credentialFields: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -113,7 +113,7 @@ export declare const listTaskConnectionsContract: {
|
|
|
113
113
|
}, undefined>;
|
|
114
114
|
readonly 200: v.ObjectSchema<{
|
|
115
115
|
readonly connections: v.ArraySchema<v.ObjectSchema<{
|
|
116
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
116
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
117
117
|
readonly label: v.StringSchema<undefined>;
|
|
118
118
|
readonly connectedAt: v.NumberSchema<undefined>;
|
|
119
119
|
}, undefined>, undefined>;
|
|
@@ -155,7 +155,7 @@ export declare const connectTaskSourceContract: {
|
|
|
155
155
|
}, undefined>;
|
|
156
156
|
}, undefined>;
|
|
157
157
|
readonly 201: v.ObjectSchema<{
|
|
158
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
158
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
159
159
|
readonly label: v.StringSchema<undefined>;
|
|
160
160
|
readonly connectedAt: v.NumberSchema<undefined>;
|
|
161
161
|
}, undefined>;
|
|
@@ -228,7 +228,7 @@ export declare const diagnoseTaskSourceContract: {
|
|
|
228
228
|
}, undefined>;
|
|
229
229
|
}, undefined>;
|
|
230
230
|
readonly 200: v.ObjectSchema<{
|
|
231
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
231
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
232
232
|
readonly ok: v.BooleanSchema<undefined>;
|
|
233
233
|
readonly status: v.PicklistSchema<["ready", "not_installed", "not_connected", "auth_failed", "forbidden", "unreachable", "error"], undefined>;
|
|
234
234
|
readonly message: v.StringSchema<undefined>;
|
|
@@ -268,7 +268,7 @@ export declare const getTaskSourceWebhookContract: {
|
|
|
268
268
|
}, undefined>;
|
|
269
269
|
}, undefined>;
|
|
270
270
|
readonly 200: v.ObjectSchema<{
|
|
271
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
271
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
272
272
|
readonly supported: v.BooleanSchema<undefined>;
|
|
273
273
|
readonly configured: v.BooleanSchema<undefined>;
|
|
274
274
|
readonly deliveryPath: v.StringSchema<undefined>;
|
|
@@ -311,7 +311,7 @@ export declare const configureTaskSourceWebhookContract: {
|
|
|
311
311
|
}, undefined>;
|
|
312
312
|
}, undefined>;
|
|
313
313
|
readonly 201: v.ObjectSchema<{
|
|
314
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
314
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
315
315
|
readonly supported: v.BooleanSchema<undefined>;
|
|
316
316
|
readonly configured: v.BooleanSchema<undefined>;
|
|
317
317
|
readonly deliveryPath: v.StringSchema<undefined>;
|
|
@@ -355,7 +355,7 @@ export declare const updateTaskSourceWebhookContract: {
|
|
|
355
355
|
}, undefined>;
|
|
356
356
|
}, undefined>;
|
|
357
357
|
readonly 200: v.ObjectSchema<{
|
|
358
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
358
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
359
359
|
readonly supported: v.BooleanSchema<undefined>;
|
|
360
360
|
readonly configured: v.BooleanSchema<undefined>;
|
|
361
361
|
readonly deliveryPath: v.StringSchema<undefined>;
|
|
@@ -493,7 +493,7 @@ export declare const listTasksContract: {
|
|
|
493
493
|
}, undefined>;
|
|
494
494
|
}, undefined>;
|
|
495
495
|
readonly 200: v.ArraySchema<v.ObjectSchema<{
|
|
496
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
496
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
497
497
|
readonly externalId: v.StringSchema<undefined>;
|
|
498
498
|
readonly title: v.StringSchema<undefined>;
|
|
499
499
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -549,7 +549,7 @@ export declare const importTaskContract: {
|
|
|
549
549
|
}, undefined>;
|
|
550
550
|
}, undefined>;
|
|
551
551
|
readonly 201: v.ObjectSchema<{
|
|
552
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
552
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
553
553
|
readonly externalId: v.StringSchema<undefined>;
|
|
554
554
|
readonly title: v.StringSchema<undefined>;
|
|
555
555
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -607,7 +607,7 @@ export declare const searchTasksContract: {
|
|
|
607
607
|
}, undefined>;
|
|
608
608
|
readonly 200: v.ObjectSchema<{
|
|
609
609
|
readonly results: v.ArraySchema<v.ObjectSchema<{
|
|
610
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
610
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
611
611
|
readonly externalId: v.StringSchema<undefined>;
|
|
612
612
|
readonly title: v.StringSchema<undefined>;
|
|
613
613
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -621,7 +621,7 @@ export declare const linkTaskContract: {
|
|
|
621
621
|
readonly method: "post";
|
|
622
622
|
readonly pathResolver: () => string;
|
|
623
623
|
readonly requestBodySchema: v.ObjectSchema<{
|
|
624
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
624
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
625
625
|
readonly externalId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
626
626
|
readonly blockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
627
627
|
}, undefined>;
|
|
@@ -649,7 +649,7 @@ export declare const linkTaskContract: {
|
|
|
649
649
|
}, undefined>;
|
|
650
650
|
}, undefined>;
|
|
651
651
|
readonly 201: v.ObjectSchema<{
|
|
652
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
652
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
653
653
|
readonly externalId: v.StringSchema<undefined>;
|
|
654
654
|
readonly title: v.StringSchema<undefined>;
|
|
655
655
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -674,7 +674,7 @@ export declare const createTaskFromIssueContract: {
|
|
|
674
674
|
readonly method: "post";
|
|
675
675
|
readonly pathResolver: () => string;
|
|
676
676
|
readonly requestBodySchema: v.ObjectSchema<{
|
|
677
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
677
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
678
678
|
readonly externalId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
679
679
|
readonly containerId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
680
680
|
}, undefined>;
|
|
@@ -1073,7 +1073,7 @@ export declare const createTaskFromIssueContract: {
|
|
|
1073
1073
|
readonly accessDenied: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1074
1074
|
}, undefined>;
|
|
1075
1075
|
readonly task: v.ObjectSchema<{
|
|
1076
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
1076
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
1077
1077
|
readonly externalId: v.StringSchema<undefined>;
|
|
1078
1078
|
readonly title: v.StringSchema<undefined>;
|
|
1079
1079
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -709,6 +709,12 @@ export declare const approveVisualConfirmContract: {
|
|
|
709
709
|
readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
710
710
|
readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
711
711
|
readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
712
|
+
readonly firstStartedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
713
|
+
readonly attempts: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
714
|
+
readonly dispatches: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
715
|
+
readonly agentKind: v.StringSchema<undefined>;
|
|
716
|
+
readonly count: v.NumberSchema<undefined>;
|
|
717
|
+
}, undefined>, undefined>, undefined>;
|
|
712
718
|
readonly lastActivityAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
713
719
|
readonly pausedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
714
720
|
readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -1739,6 +1745,12 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
1739
1745
|
readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1740
1746
|
readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1741
1747
|
readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1748
|
+
readonly firstStartedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1749
|
+
readonly attempts: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1750
|
+
readonly dispatches: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1751
|
+
readonly agentKind: v.StringSchema<undefined>;
|
|
1752
|
+
readonly count: v.NumberSchema<undefined>;
|
|
1753
|
+
}, undefined>, undefined>, undefined>;
|
|
1742
1754
|
readonly lastActivityAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1743
1755
|
readonly pausedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1744
1756
|
readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -2767,6 +2779,12 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
2767
2779
|
readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2768
2780
|
readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2769
2781
|
readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2782
|
+
readonly firstStartedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2783
|
+
readonly attempts: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2784
|
+
readonly dispatches: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2785
|
+
readonly agentKind: v.StringSchema<undefined>;
|
|
2786
|
+
readonly count: v.NumberSchema<undefined>;
|
|
2787
|
+
}, undefined>, undefined>, undefined>;
|
|
2770
2788
|
readonly lastActivityAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2771
2789
|
readonly pausedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2772
2790
|
readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, 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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1213
1213
|
readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1214
1214
|
readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1215
|
+
readonly firstStartedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1216
|
+
readonly attempts: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1217
|
+
readonly dispatches: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1218
|
+
readonly agentKind: v.StringSchema<undefined>;
|
|
1219
|
+
readonly count: v.NumberSchema<undefined>;
|
|
1220
|
+
}, undefined>, undefined>, undefined>;
|
|
1215
1221
|
readonly lastActivityAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1216
1222
|
readonly pausedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1217
1223
|
readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -1988,11 +1994,12 @@ export declare const createWorkspaceContract: {
|
|
|
1988
1994
|
}, undefined>;
|
|
1989
1995
|
readonly onDemand: v.BooleanSchema<undefined>;
|
|
1990
1996
|
readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
|
|
1991
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
1997
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
1992
1998
|
readonly board: v.ObjectSchema<{
|
|
1993
1999
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
1994
2000
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
1995
2001
|
readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2002
|
+
readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
1996
2003
|
}, undefined>;
|
|
1997
2004
|
readonly predicates: v.ObjectSchema<{
|
|
1998
2005
|
readonly titleFragment: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
@@ -2000,6 +2007,7 @@ export declare const createWorkspaceContract: {
|
|
|
2000
2007
|
readonly issueType: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2001
2008
|
}, undefined>;
|
|
2002
2009
|
readonly inProgressLabel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2010
|
+
readonly dispatch: v.OptionalSchema<v.PicklistSchema<["queue", "per-ticket"], undefined>, undefined>;
|
|
2003
2011
|
}, undefined>, undefined>;
|
|
2004
2012
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
2005
2013
|
readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -3938,6 +3946,12 @@ export declare const getWorkspaceContract: {
|
|
|
3938
3946
|
readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3939
3947
|
readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
3940
3948
|
readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
3949
|
+
readonly firstStartedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
3950
|
+
readonly attempts: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
3951
|
+
readonly dispatches: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3952
|
+
readonly agentKind: v.StringSchema<undefined>;
|
|
3953
|
+
readonly count: v.NumberSchema<undefined>;
|
|
3954
|
+
}, undefined>, undefined>, undefined>;
|
|
3941
3955
|
readonly lastActivityAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
3942
3956
|
readonly pausedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
3943
3957
|
readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -4714,11 +4728,12 @@ export declare const getWorkspaceContract: {
|
|
|
4714
4728
|
}, undefined>;
|
|
4715
4729
|
readonly onDemand: v.BooleanSchema<undefined>;
|
|
4716
4730
|
readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
|
|
4717
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
4731
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
4718
4732
|
readonly board: v.ObjectSchema<{
|
|
4719
4733
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
4720
4734
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
4721
4735
|
readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
4736
|
+
readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
4722
4737
|
}, undefined>;
|
|
4723
4738
|
readonly predicates: v.ObjectSchema<{
|
|
4724
4739
|
readonly titleFragment: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
@@ -4726,6 +4741,7 @@ export declare const getWorkspaceContract: {
|
|
|
4726
4741
|
readonly issueType: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
4727
4742
|
}, undefined>;
|
|
4728
4743
|
readonly inProgressLabel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
4744
|
+
readonly dispatch: v.OptionalSchema<v.PicklistSchema<["queue", "per-ticket"], undefined>, undefined>;
|
|
4729
4745
|
}, undefined>, undefined>;
|
|
4730
4746
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
4731
4747
|
readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;aAGlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAI7E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;aAGlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAI7E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
|
package/dist/snapshot.d.ts
CHANGED
|
@@ -1150,6 +1150,12 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1150
1150
|
readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1151
1151
|
readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1152
1152
|
readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1153
|
+
readonly firstStartedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1154
|
+
readonly attempts: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1155
|
+
readonly dispatches: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1156
|
+
readonly agentKind: v.StringSchema<undefined>;
|
|
1157
|
+
readonly count: v.NumberSchema<undefined>;
|
|
1158
|
+
}, undefined>, undefined>, undefined>;
|
|
1153
1159
|
readonly lastActivityAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1154
1160
|
readonly pausedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1155
1161
|
readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -2021,11 +2027,12 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
2021
2027
|
}, undefined>;
|
|
2022
2028
|
readonly onDemand: v.BooleanSchema<undefined>;
|
|
2023
2029
|
readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
|
|
2024
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
2030
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
2025
2031
|
readonly board: v.ObjectSchema<{
|
|
2026
2032
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2027
2033
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2028
2034
|
readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2035
|
+
readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2029
2036
|
}, undefined>;
|
|
2030
2037
|
readonly predicates: v.ObjectSchema<{
|
|
2031
2038
|
readonly titleFragment: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
@@ -2033,6 +2040,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
2033
2040
|
readonly issueType: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2034
2041
|
}, undefined>;
|
|
2035
2042
|
readonly inProgressLabel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2043
|
+
readonly dispatch: v.OptionalSchema<v.PicklistSchema<["queue", "per-ticket"], undefined>, undefined>;
|
|
2036
2044
|
}, undefined>, undefined>;
|
|
2037
2045
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
2038
2046
|
readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
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;AAuC5B;;;;;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;AAuC5B;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;aAGhC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CA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AOG;;IAEH;;;;;;;OAOG;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;OAKG;;;;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
|
package/dist/tasks.d.ts
CHANGED
|
@@ -1,10 +1,41 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
/** The
|
|
3
|
-
export declare const
|
|
2
|
+
/** The task sources this build ships. A deployment registers its own beside them (see below). */
|
|
3
|
+
export declare const BUILTIN_TASK_SOURCE_KINDS: readonly ['jira', 'github', 'linear'];
|
|
4
|
+
/**
|
|
5
|
+
* A BUILT-IN task source OR a CONSUMER-namespaced one ({@link namespacedIdSchema},
|
|
6
|
+
* `<ns>:<name>`, e.g. `acme:servicenow`) a deployment registers in code on its app-owned
|
|
7
|
+
* `TaskSourceRegistry` — the same `picklist ∪ namespaced` shape `taskTypeSchema` uses, for the
|
|
8
|
+
* same reasons.
|
|
9
|
+
*
|
|
10
|
+
* Two consequences are load-bearing:
|
|
11
|
+
*
|
|
12
|
+
* - **The built-ins keep their BARE ids**, so every persisted `source` column, every stored
|
|
13
|
+
* connection and every imported issue row is unchanged by the widening. There is no migration
|
|
14
|
+
* here because there is nothing to migrate.
|
|
15
|
+
* - **A bare non-built-in id still FAILS validation.** `servicenow` is a typo; `acme:servicenow`
|
|
16
|
+
* is a deployment's registration. Keeping the namespace mandatory is what tells those apart,
|
|
17
|
+
* and it is why widening does not turn every misspelled `:source` path segment into a
|
|
18
|
+
* plausible-looking miss.
|
|
19
|
+
*
|
|
20
|
+
* The schema is the GRAMMAR, never the authority on what EXISTS: a namespaced id passes here and
|
|
21
|
+
* is then resolved against the registry at the boundary, so an id no deployment registered is
|
|
22
|
+
* refused by the thing that actually knows.
|
|
23
|
+
*/
|
|
24
|
+
export declare const taskSourceKindSchema: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
4
25
|
export type TaskSourceKind = v.InferOutput<typeof taskSourceKindSchema>;
|
|
26
|
+
/**
|
|
27
|
+
* Type guard for the source GRAMMAR, so a caller with a raw path segment (the webhook receiver's
|
|
28
|
+
* `:source`) can pre-filter without importing valibot.
|
|
29
|
+
*
|
|
30
|
+
* It deliberately does NOT answer whether the source EXISTS. A grammatically valid id is resolved
|
|
31
|
+
* against the registry immediately afterwards, and that is what refuses an unregistered one — so
|
|
32
|
+
* the two failures stay distinct: a malformed segment is a bad request, an unregistered one is a
|
|
33
|
+
* source this deployment does not serve.
|
|
34
|
+
*/
|
|
35
|
+
export declare function isTaskSourceKind(value: unknown): value is TaskSourceKind;
|
|
5
36
|
/** The webhook state of one task-source connection, safe to read back at any time. */
|
|
6
37
|
export declare const taskSourceWebhookSchema: v.ObjectSchema<{
|
|
7
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
38
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
8
39
|
/**
|
|
9
40
|
* Whether this source can receive webhooks at all on this deployment (its provider ships a
|
|
10
41
|
* webhook adapter). `false` ⇒ the delivery path 404s and minting is refused.
|
|
@@ -31,7 +62,7 @@ export type TaskSourceWebhook = v.InferOutput<typeof taskSourceWebhookSchema>;
|
|
|
31
62
|
* reason: a secret a surface will hand out again is a secret an operator never has to rotate.
|
|
32
63
|
*/
|
|
33
64
|
export declare const taskSourceWebhookSecretSchema: v.ObjectSchema<{
|
|
34
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
65
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
35
66
|
/**
|
|
36
67
|
* Whether this source can receive webhooks at all on this deployment (its provider ships a
|
|
37
68
|
* webhook adapter). `false` ⇒ the delivery path 404s and minting is refused.
|
|
@@ -80,7 +111,7 @@ export type UpdateTaskSourceWebhookInput = v.InferOutput<typeof updateTaskSource
|
|
|
80
111
|
* box without hard-coding any provider specifics.
|
|
81
112
|
*/
|
|
82
113
|
export declare const taskSourceDescriptorSchema: v.ObjectSchema<{
|
|
83
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
114
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
84
115
|
/** Display name, e.g. `Jira`. */
|
|
85
116
|
readonly label: v.StringSchema<undefined>;
|
|
86
117
|
/** Lucide icon name for the source. */
|
|
@@ -129,7 +160,7 @@ export type LinearTeam = v.InferOutput<typeof linearTeamSchema>;
|
|
|
129
160
|
* `available && enabled` is what makes a source offered for import.
|
|
130
161
|
*/
|
|
131
162
|
export declare const taskSourceStateSchema: v.ObjectSchema<{
|
|
132
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
163
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
133
164
|
/** Display name, e.g. `Jira`. */
|
|
134
165
|
readonly label: v.StringSchema<undefined>;
|
|
135
166
|
/** Lucide icon name for the source. */
|
|
@@ -182,7 +213,7 @@ export declare const taskSourceDiagnosticStatusSchema: v.PicklistSchema<["ready"
|
|
|
182
213
|
export type TaskSourceDiagnosticStatus = v.InferOutput<typeof taskSourceDiagnosticStatusSchema>;
|
|
183
214
|
/** A source's live setup-check result: a status + a human-readable, actionable message. */
|
|
184
215
|
export declare const taskSourceDiagnosticSchema: v.ObjectSchema<{
|
|
185
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
216
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
186
217
|
/** Convenience: `status === 'ready'`. */
|
|
187
218
|
readonly ok: v.BooleanSchema<undefined>;
|
|
188
219
|
readonly status: v.PicklistSchema<["ready", "not_installed", "not_connected", "auth_failed", "forbidden", "unreachable", "error"], undefined>;
|
|
@@ -194,7 +225,7 @@ export declare const taskSourceDiagnosticSchema: v.ObjectSchema<{
|
|
|
194
225
|
export type TaskSourceDiagnostic = v.InferOutput<typeof taskSourceDiagnosticSchema>;
|
|
195
226
|
/** A workspace's connection to a task source, as exposed to clients (never the credentials). */
|
|
196
227
|
export declare const taskConnectionSchema: v.ObjectSchema<{
|
|
197
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
228
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
198
229
|
/** A human-friendly label for what we're connected to (site URL). */
|
|
199
230
|
readonly label: v.StringSchema<undefined>;
|
|
200
231
|
/** When the connection was established (epoch ms). */
|
|
@@ -226,7 +257,7 @@ export declare const taskDependencyLinkSchema: v.ObjectSchema<{
|
|
|
226
257
|
export type TaskDependencyLink = v.InferOutput<typeof taskDependencyLinkSchema>;
|
|
227
258
|
/** An issue imported from a source, projected locally as a structured record. */
|
|
228
259
|
export declare const sourceTaskSchema: v.ObjectSchema<{
|
|
229
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
260
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
230
261
|
/** The source's canonical key for the issue (e.g. a Jira issue key `PROJ-123`). */
|
|
231
262
|
readonly externalId: v.StringSchema<undefined>;
|
|
232
263
|
/** Issue summary / title. */
|
|
@@ -269,7 +300,7 @@ export type SourceTask = v.InferOutput<typeof sourceTaskSchema>;
|
|
|
269
300
|
* projected locally, so it carries no `linkedBlockId`/`syncedAt`.
|
|
270
301
|
*/
|
|
271
302
|
export declare const taskSearchResultSchema: v.ObjectSchema<{
|
|
272
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
303
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
273
304
|
/** The source's canonical key for the issue (re-usable as an import ref). */
|
|
274
305
|
readonly externalId: v.StringSchema<undefined>;
|
|
275
306
|
readonly title: v.StringSchema<undefined>;
|
|
@@ -330,7 +361,7 @@ export declare const searchTasksSchema: v.ObjectSchema<{
|
|
|
330
361
|
export type SearchTasksInput = v.InferOutput<typeof searchTasksSchema>;
|
|
331
362
|
/** Attach an imported issue to a task as extra agent context. */
|
|
332
363
|
export declare const linkTaskSchema: v.ObjectSchema<{
|
|
333
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
364
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
334
365
|
readonly externalId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
335
366
|
readonly blockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
336
367
|
}, undefined>;
|
|
@@ -342,7 +373,7 @@ export type LinkTaskInput = v.InferOutput<typeof linkTaskSchema>;
|
|
|
342
373
|
* title/description are seeded from the issue.
|
|
343
374
|
*/
|
|
344
375
|
export declare const createTaskFromIssueSchema: v.ObjectSchema<{
|
|
345
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
376
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
346
377
|
readonly externalId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
347
378
|
/** The frame or module the new task is created in. */
|
|
348
379
|
readonly containerId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
package/dist/tasks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../src/tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../src/tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmB5B,iGAAiG;AACjG,eAAO,MAAM,yBAAyB,YAAI,MAAM,EAAE,QAAQ,EAAE,QAAQ,CAAU,CAAA;AAE9E;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,oBAAoB,4PAG/B,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEvE;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,cAAc,CAExE;AAQD,sFAAsF;AACtF,eAAO,MAAM,uBAAuB;;IAElC;;;OAGG;;IAEH,uFAAuF;;IAEvF;;;OAGG;;IAEH;;;;OAIG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E;;;;GAIG;AACH,eAAO,MAAM,6BAA6B;;IA1BxC;;;OAGG;;IAEH,uFAAuF;;IAEvF;;;OAGG;;IAEH;;;;OAIG;;;aAaH,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,6BAA6B,CAAC,CAAA;AAEzF;;;;;GAKG;AACH,eAAO,MAAM,gCAAgC;;aAE3C,CAAA;AACF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,gCAAgC,CAAC,C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;;aAErC,CAAA;AACF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAExF,wEAAwE;AACxE,eAAO,MAAM,gBAAgB;;aAE3B,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEpE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,wBAAwB,YAGnC,iBAAiB,EAIjB,qBAAqB,EAGrB,eAAe,EAGf,eAAe,EAGf,oBAAoB,CACZ,CAAA;AAEV,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAA;AAE5E,8DAA8D;AAC9D,eAAO,MAAM,iBAAiB;;IAE5B;;;;;;;;OAQG;;aAEH,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAEtE,iEAAiE;AACjE,eAAO,MAAM,cAAc;;;;aAIzB,CAAA;AACF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,cAAc,CAAC,CAAA;AAEhE;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB;;;IAGpC,sDAAsD;;aAEtD,CAAA;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAEtF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;;;IAG1B,2FAA2F;;;;;aAE3F,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,CAAA"}
|
package/dist/tasks.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
import { credentialFieldSchema } from './documents.js';
|
|
3
|
+
import { namespacedIdSchema } from './primitives.js';
|
|
3
4
|
// ---------------------------------------------------------------------------
|
|
4
5
|
// Task-source integration wire contracts. A workspace can connect to one or
|
|
5
6
|
// more external task/issue trackers (Jira, …), import individual issues
|
|
@@ -14,13 +15,49 @@ import { credentialFieldSchema } from './documents.js';
|
|
|
14
15
|
// workspace, the credential bag, the soft-delete tombstone) is NOT on the wire;
|
|
15
16
|
// it lives in the core ports / D1 layer.
|
|
16
17
|
// ---------------------------------------------------------------------------
|
|
17
|
-
/** The
|
|
18
|
-
export const
|
|
18
|
+
/** The task sources this build ships. A deployment registers its own beside them (see below). */
|
|
19
|
+
export const BUILTIN_TASK_SOURCE_KINDS = ['jira', 'github', 'linear'];
|
|
20
|
+
/**
|
|
21
|
+
* A BUILT-IN task source OR a CONSUMER-namespaced one ({@link namespacedIdSchema},
|
|
22
|
+
* `<ns>:<name>`, e.g. `acme:servicenow`) a deployment registers in code on its app-owned
|
|
23
|
+
* `TaskSourceRegistry` — the same `picklist ∪ namespaced` shape `taskTypeSchema` uses, for the
|
|
24
|
+
* same reasons.
|
|
25
|
+
*
|
|
26
|
+
* Two consequences are load-bearing:
|
|
27
|
+
*
|
|
28
|
+
* - **The built-ins keep their BARE ids**, so every persisted `source` column, every stored
|
|
29
|
+
* connection and every imported issue row is unchanged by the widening. There is no migration
|
|
30
|
+
* here because there is nothing to migrate.
|
|
31
|
+
* - **A bare non-built-in id still FAILS validation.** `servicenow` is a typo; `acme:servicenow`
|
|
32
|
+
* is a deployment's registration. Keeping the namespace mandatory is what tells those apart,
|
|
33
|
+
* and it is why widening does not turn every misspelled `:source` path segment into a
|
|
34
|
+
* plausible-looking miss.
|
|
35
|
+
*
|
|
36
|
+
* The schema is the GRAMMAR, never the authority on what EXISTS: a namespaced id passes here and
|
|
37
|
+
* is then resolved against the registry at the boundary, so an id no deployment registered is
|
|
38
|
+
* refused by the thing that actually knows.
|
|
39
|
+
*/
|
|
40
|
+
export const taskSourceKindSchema = v.union([
|
|
41
|
+
v.picklist(BUILTIN_TASK_SOURCE_KINDS),
|
|
42
|
+
namespacedIdSchema,
|
|
43
|
+
]);
|
|
44
|
+
/**
|
|
45
|
+
* Type guard for the source GRAMMAR, so a caller with a raw path segment (the webhook receiver's
|
|
46
|
+
* `:source`) can pre-filter without importing valibot.
|
|
47
|
+
*
|
|
48
|
+
* It deliberately does NOT answer whether the source EXISTS. A grammatically valid id is resolved
|
|
49
|
+
* against the registry immediately afterwards, and that is what refuses an unregistered one — so
|
|
50
|
+
* the two failures stay distinct: a malformed segment is a bad request, an unregistered one is a
|
|
51
|
+
* source this deployment does not serve.
|
|
52
|
+
*/
|
|
53
|
+
export function isTaskSourceKind(value) {
|
|
54
|
+
return typeof value === 'string' && v.is(taskSourceKindSchema, value);
|
|
55
|
+
}
|
|
19
56
|
// ---- Inbound tracker webhooks (push-driven intake + ticket replies) --------
|
|
20
57
|
// The per-connection delivery endpoint an operator pastes into the tracker's webhook form, plus
|
|
21
58
|
// the secret that authenticates it. The secret rides the connection's sealed credential bag (no
|
|
22
59
|
// new table), so this surface is purely mint/read/clear. See
|
|
23
|
-
// `docs/
|
|
60
|
+
// `backend/docs/adr/0032-tracker-webhook-intake.md`.
|
|
24
61
|
/** The webhook state of one task-source connection, safe to read back at any time. */
|
|
25
62
|
export const taskSourceWebhookSchema = v.object({
|
|
26
63
|
source: taskSourceKindSchema,
|
package/dist/tasks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../src/tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../src/tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA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