@cat-factory/contracts 0.40.1 → 0.42.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.
@@ -28,7 +28,7 @@ export declare const listDocumentSourcesContract: {
28
28
  }, undefined>;
29
29
  readonly 200: v.ObjectSchema<{
30
30
  readonly sources: v.ArraySchema<v.ObjectSchema<{
31
- readonly source: v.PicklistSchema<["confluence", "notion", "github"], undefined>;
31
+ readonly source: v.PicklistSchema<["confluence", "notion", "github", "linear"], undefined>;
32
32
  readonly label: v.StringSchema<undefined>;
33
33
  readonly icon: v.StringSchema<undefined>;
34
34
  readonly credentialFields: v.ArraySchema<v.ObjectSchema<{
@@ -73,7 +73,7 @@ export declare const listDocumentConnectionsContract: {
73
73
  }, undefined>;
74
74
  readonly 200: v.ObjectSchema<{
75
75
  readonly connections: v.ArraySchema<v.ObjectSchema<{
76
- readonly source: v.PicklistSchema<["confluence", "notion", "github"], undefined>;
76
+ readonly source: v.PicklistSchema<["confluence", "notion", "github", "linear"], undefined>;
77
77
  readonly label: v.StringSchema<undefined>;
78
78
  readonly connectedAt: v.NumberSchema<undefined>;
79
79
  }, undefined>, undefined>;
@@ -115,7 +115,7 @@ export declare const connectDocumentSourceContract: {
115
115
  }, undefined>;
116
116
  }, undefined>;
117
117
  readonly 201: v.ObjectSchema<{
118
- readonly source: v.PicklistSchema<["confluence", "notion", "github"], undefined>;
118
+ readonly source: v.PicklistSchema<["confluence", "notion", "github", "linear"], undefined>;
119
119
  readonly label: v.StringSchema<undefined>;
120
120
  readonly connectedAt: v.NumberSchema<undefined>;
121
121
  }, undefined>;
@@ -182,7 +182,7 @@ export declare const listDocumentsContract: {
182
182
  }, undefined>;
183
183
  }, undefined>;
184
184
  readonly 200: v.ArraySchema<v.ObjectSchema<{
185
- readonly source: v.PicklistSchema<["confluence", "notion", "github"], undefined>;
185
+ readonly source: v.PicklistSchema<["confluence", "notion", "github", "linear"], undefined>;
186
186
  readonly externalId: v.StringSchema<undefined>;
187
187
  readonly title: v.StringSchema<undefined>;
188
188
  readonly url: v.StringSchema<undefined>;
@@ -227,7 +227,7 @@ export declare const importDocumentContract: {
227
227
  }, undefined>;
228
228
  }, undefined>;
229
229
  readonly 201: v.ObjectSchema<{
230
- readonly source: v.PicklistSchema<["confluence", "notion", "github"], undefined>;
230
+ readonly source: v.PicklistSchema<["confluence", "notion", "github", "linear"], undefined>;
231
231
  readonly externalId: v.StringSchema<undefined>;
232
232
  readonly title: v.StringSchema<undefined>;
233
233
  readonly url: v.StringSchema<undefined>;
@@ -273,7 +273,7 @@ export declare const searchDocumentsContract: {
273
273
  }, undefined>;
274
274
  readonly 200: v.ObjectSchema<{
275
275
  readonly results: v.ArraySchema<v.ObjectSchema<{
276
- readonly source: v.PicklistSchema<["confluence", "notion", "github"], undefined>;
276
+ readonly source: v.PicklistSchema<["confluence", "notion", "github", "linear"], undefined>;
277
277
  readonly externalId: v.StringSchema<undefined>;
278
278
  readonly title: v.StringSchema<undefined>;
279
279
  readonly url: v.StringSchema<undefined>;
@@ -317,7 +317,7 @@ export declare const planDocumentContract: {
317
317
  }, undefined>;
318
318
  }, undefined>;
319
319
  readonly 200: v.ObjectSchema<{
320
- readonly source: v.PicklistSchema<["confluence", "notion", "github"], undefined>;
320
+ readonly source: v.PicklistSchema<["confluence", "notion", "github", "linear"], undefined>;
321
321
  readonly externalId: v.StringSchema<undefined>;
322
322
  readonly planner: v.PicklistSchema<["llm", "headings"], undefined>;
323
323
  readonly frames: v.ArraySchema<v.ObjectSchema<{
@@ -376,7 +376,7 @@ export declare const spawnDocumentContract: {
376
376
  }, undefined>;
377
377
  readonly 201: v.ObjectSchema<{
378
378
  readonly plan: v.ObjectSchema<{
379
- readonly source: v.PicklistSchema<["confluence", "notion", "github"], undefined>;
379
+ readonly source: v.PicklistSchema<["confluence", "notion", "github", "linear"], undefined>;
380
380
  readonly externalId: v.StringSchema<undefined>;
381
381
  readonly planner: v.PicklistSchema<["llm", "headings"], undefined>;
382
382
  readonly frames: v.ArraySchema<v.ObjectSchema<{
@@ -408,7 +408,7 @@ export declare const linkDocumentContract: {
408
408
  readonly method: "post";
409
409
  readonly pathResolver: () => string;
410
410
  readonly requestBodySchema: v.ObjectSchema<{
411
- readonly source: v.PicklistSchema<["confluence", "notion", "github"], undefined>;
411
+ readonly source: v.PicklistSchema<["confluence", "notion", "github", "linear"], undefined>;
412
412
  readonly externalId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
413
413
  readonly blockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
414
414
  }, undefined>;
@@ -436,7 +436,7 @@ export declare const linkDocumentContract: {
436
436
  }, undefined>;
437
437
  }, undefined>;
438
438
  readonly 201: v.ObjectSchema<{
439
- readonly source: v.PicklistSchema<["confluence", "notion", "github"], undefined>;
439
+ readonly source: v.PicklistSchema<["confluence", "notion", "github", "linear"], undefined>;
440
440
  readonly externalId: v.StringSchema<undefined>;
441
441
  readonly title: v.StringSchema<undefined>;
442
442
  readonly url: v.StringSchema<undefined>;
@@ -386,7 +386,10 @@ export declare const cancelExecutionContract: {
386
386
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
387
387
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
388
388
  readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
389
- readonly docKind: v.OptionalSchema<v.PicklistSchema<["prd", "rfc", "runbook", "reference", "other"], undefined>, undefined>;
389
+ readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
390
+ readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
391
+ readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
392
+ readonly outlineHints: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
390
393
  }, undefined>, undefined>, undefined>;
391
394
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
392
395
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -481,7 +484,10 @@ export declare const mergeBlockContract: {
481
484
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
482
485
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
483
486
  readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
484
- readonly docKind: v.OptionalSchema<v.PicklistSchema<["prd", "rfc", "runbook", "reference", "other"], undefined>, undefined>;
487
+ readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
488
+ readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
489
+ readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
490
+ readonly outlineHints: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
485
491
  }, undefined>, undefined>, undefined>;
486
492
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
487
493
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"execution.d.ts","sourceRoot":"","sources":["../../src/routes/execution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAwC5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM7B,CAAA;AAIF,eAAO,MAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO7B,CAAA"}
@@ -44,7 +44,7 @@ export declare const listPromptFragmentsContract: {
44
44
  readonly sha: v.StringSchema<undefined>;
45
45
  }, undefined>, undefined>;
46
46
  readonly documentRef: v.OptionalSchema<v.ObjectSchema<{
47
- readonly source: v.PicklistSchema<["confluence", "notion", "github"], undefined>;
47
+ readonly source: v.PicklistSchema<["confluence", "notion", "github", "linear"], undefined>;
48
48
  readonly externalId: v.StringSchema<undefined>;
49
49
  }, undefined>, undefined>;
50
50
  readonly resolvedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
@@ -108,7 +108,7 @@ export declare const createPromptFragmentContract: {
108
108
  readonly sha: v.StringSchema<undefined>;
109
109
  }, undefined>, undefined>;
110
110
  readonly documentRef: v.OptionalSchema<v.ObjectSchema<{
111
- readonly source: v.PicklistSchema<["confluence", "notion", "github"], undefined>;
111
+ readonly source: v.PicklistSchema<["confluence", "notion", "github", "linear"], undefined>;
112
112
  readonly externalId: v.StringSchema<undefined>;
113
113
  }, undefined>, undefined>;
114
114
  readonly resolvedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
@@ -176,7 +176,7 @@ export declare const updatePromptFragmentContract: {
176
176
  readonly sha: v.StringSchema<undefined>;
177
177
  }, undefined>, undefined>;
178
178
  readonly documentRef: v.OptionalSchema<v.ObjectSchema<{
179
- readonly source: v.PicklistSchema<["confluence", "notion", "github"], undefined>;
179
+ readonly source: v.PicklistSchema<["confluence", "notion", "github", "linear"], undefined>;
180
180
  readonly externalId: v.StringSchema<undefined>;
181
181
  }, undefined>, undefined>;
182
182
  readonly resolvedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
@@ -221,7 +221,7 @@ export declare const createDocumentFragmentContract: {
221
221
  readonly method: "post";
222
222
  readonly pathResolver: () => string;
223
223
  readonly requestBodySchema: v.ObjectSchema<{
224
- readonly source: v.PicklistSchema<["confluence", "notion", "github"], undefined>;
224
+ readonly source: v.PicklistSchema<["confluence", "notion", "github", "linear"], undefined>;
225
225
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
226
226
  readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
227
227
  readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 100, undefined>]>, undefined>;
@@ -273,7 +273,7 @@ export declare const createDocumentFragmentContract: {
273
273
  readonly sha: v.StringSchema<undefined>;
274
274
  }, undefined>, undefined>;
275
275
  readonly documentRef: v.OptionalSchema<v.ObjectSchema<{
276
- readonly source: v.PicklistSchema<["confluence", "notion", "github"], undefined>;
276
+ readonly source: v.PicklistSchema<["confluence", "notion", "github", "linear"], undefined>;
277
277
  readonly externalId: v.StringSchema<undefined>;
278
278
  }, undefined>, undefined>;
279
279
  readonly resolvedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
@@ -333,7 +333,7 @@ export declare const refreshPromptFragmentContract: {
333
333
  readonly sha: v.StringSchema<undefined>;
334
334
  }, undefined>, undefined>;
335
335
  readonly documentRef: v.OptionalSchema<v.ObjectSchema<{
336
- readonly source: v.PicklistSchema<["confluence", "notion", "github"], undefined>;
336
+ readonly source: v.PicklistSchema<["confluence", "notion", "github", "linear"], undefined>;
337
337
  readonly externalId: v.StringSchema<undefined>;
338
338
  }, undefined>, undefined>;
339
339
  readonly resolvedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
@@ -583,7 +583,7 @@ export declare const resolvedFragmentsContract: {
583
583
  readonly sha: v.StringSchema<undefined>;
584
584
  }, undefined>, undefined>;
585
585
  readonly documentRef: v.OptionalSchema<v.ObjectSchema<{
586
- readonly source: v.PicklistSchema<["confluence", "notion", "github"], undefined>;
586
+ readonly source: v.PicklistSchema<["confluence", "notion", "github", "linear"], undefined>;
587
587
  readonly externalId: v.StringSchema<undefined>;
588
588
  }, undefined>, undefined>;
589
589
  readonly resolvedAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
@@ -42,7 +42,7 @@ export declare const listFragmentCatalogContract: {
42
42
  readonly sha: import("valibot").StringSchema<undefined>;
43
43
  }, undefined>, undefined>;
44
44
  readonly documentRef: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
45
- readonly source: import("valibot").PicklistSchema<["confluence", "notion", "github"], undefined>;
45
+ readonly source: import("valibot").PicklistSchema<["confluence", "notion", "github", "linear"], undefined>;
46
46
  readonly externalId: import("valibot").StringSchema<undefined>;
47
47
  }, undefined>, undefined>;
48
48
  readonly resolvedAt: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
@@ -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"], undefined>;
31
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
32
32
  readonly label: v.StringSchema<undefined>;
33
33
  readonly icon: v.StringSchema<undefined>;
34
34
  readonly credentialFields: v.ArraySchema<v.ObjectSchema<{
@@ -112,7 +112,7 @@ export declare const listTaskConnectionsContract: {
112
112
  }, undefined>;
113
113
  readonly 200: v.ObjectSchema<{
114
114
  readonly connections: v.ArraySchema<v.ObjectSchema<{
115
- readonly source: v.PicklistSchema<["jira", "github"], undefined>;
115
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
116
116
  readonly label: v.StringSchema<undefined>;
117
117
  readonly connectedAt: v.NumberSchema<undefined>;
118
118
  }, undefined>, undefined>;
@@ -154,7 +154,7 @@ export declare const connectTaskSourceContract: {
154
154
  }, undefined>;
155
155
  }, undefined>;
156
156
  readonly 201: v.ObjectSchema<{
157
- readonly source: v.PicklistSchema<["jira", "github"], undefined>;
157
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
158
158
  readonly label: v.StringSchema<undefined>;
159
159
  readonly connectedAt: v.NumberSchema<undefined>;
160
160
  }, undefined>;
@@ -227,7 +227,7 @@ export declare const diagnoseTaskSourceContract: {
227
227
  }, undefined>;
228
228
  }, undefined>;
229
229
  readonly 200: v.ObjectSchema<{
230
- readonly source: v.PicklistSchema<["jira", "github"], undefined>;
230
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
231
231
  readonly ok: v.BooleanSchema<undefined>;
232
232
  readonly status: v.PicklistSchema<["ready", "not_installed", "not_connected", "auth_failed", "forbidden", "unreachable", "error"], undefined>;
233
233
  readonly message: v.StringSchema<undefined>;
@@ -262,7 +262,7 @@ export declare const listTasksContract: {
262
262
  }, undefined>;
263
263
  }, undefined>;
264
264
  readonly 200: v.ArraySchema<v.ObjectSchema<{
265
- readonly source: v.PicklistSchema<["jira", "github"], undefined>;
265
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
266
266
  readonly externalId: v.StringSchema<undefined>;
267
267
  readonly title: v.StringSchema<undefined>;
268
268
  readonly url: v.StringSchema<undefined>;
@@ -318,7 +318,7 @@ export declare const importTaskContract: {
318
318
  }, undefined>;
319
319
  }, undefined>;
320
320
  readonly 201: v.ObjectSchema<{
321
- readonly source: v.PicklistSchema<["jira", "github"], undefined>;
321
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
322
322
  readonly externalId: v.StringSchema<undefined>;
323
323
  readonly title: v.StringSchema<undefined>;
324
324
  readonly url: v.StringSchema<undefined>;
@@ -376,7 +376,7 @@ export declare const searchTasksContract: {
376
376
  }, undefined>;
377
377
  readonly 200: v.ObjectSchema<{
378
378
  readonly results: v.ArraySchema<v.ObjectSchema<{
379
- readonly source: v.PicklistSchema<["jira", "github"], undefined>;
379
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
380
380
  readonly externalId: v.StringSchema<undefined>;
381
381
  readonly title: v.StringSchema<undefined>;
382
382
  readonly url: v.StringSchema<undefined>;
@@ -390,7 +390,7 @@ export declare const linkTaskContract: {
390
390
  readonly method: "post";
391
391
  readonly pathResolver: () => string;
392
392
  readonly requestBodySchema: v.ObjectSchema<{
393
- readonly source: v.PicklistSchema<["jira", "github"], undefined>;
393
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
394
394
  readonly externalId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
395
395
  readonly blockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
396
396
  }, undefined>;
@@ -418,7 +418,7 @@ export declare const linkTaskContract: {
418
418
  }, undefined>;
419
419
  }, undefined>;
420
420
  readonly 201: v.ObjectSchema<{
421
- readonly source: v.PicklistSchema<["jira", "github"], undefined>;
421
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
422
422
  readonly externalId: v.StringSchema<undefined>;
423
423
  readonly title: v.StringSchema<undefined>;
424
424
  readonly url: v.StringSchema<undefined>;
@@ -443,7 +443,7 @@ export declare const createTaskFromIssueContract: {
443
443
  readonly method: "post";
444
444
  readonly pathResolver: () => string;
445
445
  readonly requestBodySchema: v.ObjectSchema<{
446
- readonly source: v.PicklistSchema<["jira", "github"], undefined>;
446
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
447
447
  readonly externalId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
448
448
  readonly containerId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
449
449
  }, undefined>;
@@ -507,7 +507,10 @@ export declare const createTaskFromIssueContract: {
507
507
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
508
508
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
509
509
  readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
510
- readonly docKind: v.OptionalSchema<v.PicklistSchema<["prd", "rfc", "runbook", "reference", "other"], undefined>, undefined>;
510
+ readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
511
+ readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
512
+ readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
513
+ readonly outlineHints: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
511
514
  }, undefined>, undefined>, undefined>;
512
515
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
513
516
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -533,7 +536,7 @@ export declare const createTaskFromIssueContract: {
533
536
  readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
534
537
  }, undefined>;
535
538
  readonly task: v.ObjectSchema<{
536
- readonly source: v.PicklistSchema<["jira", "github"], undefined>;
539
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
537
540
  readonly externalId: v.StringSchema<undefined>;
538
541
  readonly title: v.StringSchema<undefined>;
539
542
  readonly url: v.StringSchema<undefined>;
@@ -631,7 +634,10 @@ export declare const spawnEpicContract: {
631
634
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
632
635
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
633
636
  readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
634
- readonly docKind: v.OptionalSchema<v.PicklistSchema<["prd", "rfc", "runbook", "reference", "other"], undefined>, undefined>;
637
+ readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
638
+ readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
639
+ readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
640
+ readonly outlineHints: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
635
641
  }, undefined>, undefined>, undefined>;
636
642
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
637
643
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -692,7 +698,10 @@ export declare const spawnEpicContract: {
692
698
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
693
699
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
694
700
  readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
695
- readonly docKind: v.OptionalSchema<v.PicklistSchema<["prd", "rfc", "runbook", "reference", "other"], undefined>, undefined>;
701
+ readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
702
+ readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
703
+ readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
704
+ readonly outlineHints: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
696
705
  }, undefined>, undefined>, undefined>;
697
706
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
698
707
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/routes/tasks.ts"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;;;;;;;;;;;;;;;;;;CAK3B,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKtC,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5B,CAAA"}
@@ -25,8 +25,9 @@ export declare const getTrackerSettingsContract: {
25
25
  }, undefined>;
26
26
  }, undefined>;
27
27
  readonly 200: import("valibot").ObjectSchema<{
28
- readonly tracker: import("valibot").NullableSchema<import("valibot").PicklistSchema<["github", "jira"], undefined>, undefined>;
28
+ readonly tracker: import("valibot").NullableSchema<import("valibot").PicklistSchema<["github", "jira", "linear"], undefined>, undefined>;
29
29
  readonly jiraProjectKey: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
30
+ readonly linearTeamId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
30
31
  readonly writebackCommentOnPrOpen: import("valibot").BooleanSchema<undefined>;
31
32
  readonly writebackResolveOnMerge: import("valibot").BooleanSchema<undefined>;
32
33
  readonly updatedAt: import("valibot").NumberSchema<undefined>;
@@ -37,8 +38,9 @@ export declare const putTrackerSettingsContract: {
37
38
  readonly method: "put";
38
39
  readonly pathResolver: () => string;
39
40
  readonly requestBodySchema: import("valibot").ObjectSchema<{
40
- readonly tracker: import("valibot").NullableSchema<import("valibot").PicklistSchema<["github", "jira"], undefined>, undefined>;
41
+ readonly tracker: import("valibot").NullableSchema<import("valibot").PicklistSchema<["github", "jira", "linear"], undefined>, undefined>;
41
42
  readonly jiraProjectKey: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction]>, undefined>, undefined>;
43
+ readonly linearTeamId: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction]>, undefined>, undefined>;
42
44
  readonly writebackCommentOnPrOpen: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
43
45
  readonly writebackResolveOnMerge: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
44
46
  }, undefined>;
@@ -66,8 +68,9 @@ export declare const putTrackerSettingsContract: {
66
68
  }, undefined>;
67
69
  }, undefined>;
68
70
  readonly 200: import("valibot").ObjectSchema<{
69
- readonly tracker: import("valibot").NullableSchema<import("valibot").PicklistSchema<["github", "jira"], undefined>, undefined>;
71
+ readonly tracker: import("valibot").NullableSchema<import("valibot").PicklistSchema<["github", "jira", "linear"], undefined>, undefined>;
70
72
  readonly jiraProjectKey: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
73
+ readonly linearTeamId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
71
74
  readonly writebackCommentOnPrOpen: import("valibot").BooleanSchema<undefined>;
72
75
  readonly writebackResolveOnMerge: import("valibot").BooleanSchema<undefined>;
73
76
  readonly updatedAt: import("valibot").NumberSchema<undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"tracker.d.ts","sourceRoot":"","sources":["../../src/routes/tracker.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA"}
1
+ {"version":3,"file":"tracker.d.ts","sourceRoot":"","sources":["../../src/routes/tracker.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA"}
@@ -111,7 +111,10 @@ export declare const createWorkspaceContract: {
111
111
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
112
112
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
113
113
  readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
114
- readonly docKind: v.OptionalSchema<v.PicklistSchema<["prd", "rfc", "runbook", "reference", "other"], undefined>, undefined>;
114
+ readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
115
+ readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
116
+ readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
117
+ readonly outlineHints: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
115
118
  }, undefined>, undefined>, undefined>;
116
119
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
117
120
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -608,8 +611,9 @@ export declare const createWorkspaceContract: {
608
611
  readonly createdAt: v.NumberSchema<undefined>;
609
612
  }, undefined>, undefined>, undefined>;
610
613
  readonly trackerSettings: v.OptionalSchema<v.ObjectSchema<{
611
- readonly tracker: v.NullableSchema<v.PicklistSchema<["github", "jira"], undefined>, undefined>;
614
+ readonly tracker: v.NullableSchema<v.PicklistSchema<["github", "jira", "linear"], undefined>, undefined>;
612
615
  readonly jiraProjectKey: v.NullableSchema<v.StringSchema<undefined>, undefined>;
616
+ readonly linearTeamId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
613
617
  readonly writebackCommentOnPrOpen: v.BooleanSchema<undefined>;
614
618
  readonly writebackResolveOnMerge: v.BooleanSchema<undefined>;
615
619
  readonly updatedAt: v.NumberSchema<undefined>;
@@ -741,7 +745,10 @@ export declare const getWorkspaceContract: {
741
745
  readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
742
746
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
743
747
  readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
744
- readonly docKind: v.OptionalSchema<v.PicklistSchema<["prd", "rfc", "runbook", "reference", "other"], undefined>, undefined>;
748
+ readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
749
+ readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
750
+ readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
751
+ readonly outlineHints: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
745
752
  }, undefined>, undefined>, undefined>;
746
753
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
747
754
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -1238,8 +1245,9 @@ export declare const getWorkspaceContract: {
1238
1245
  readonly createdAt: v.NumberSchema<undefined>;
1239
1246
  }, undefined>, undefined>, undefined>;
1240
1247
  readonly trackerSettings: v.OptionalSchema<v.ObjectSchema<{
1241
- readonly tracker: v.NullableSchema<v.PicklistSchema<["github", "jira"], undefined>, undefined>;
1248
+ readonly tracker: v.NullableSchema<v.PicklistSchema<["github", "jira", "linear"], undefined>, undefined>;
1242
1249
  readonly jiraProjectKey: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1250
+ readonly linearTeamId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1243
1251
  readonly writebackCommentOnPrOpen: v.BooleanSchema<undefined>;
1244
1252
  readonly writebackResolveOnMerge: v.BooleanSchema<undefined>;
1245
1253
  readonly updatedAt: v.NumberSchema<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;AAgB5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
44
44
  readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
45
45
  readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
46
- readonly docKind: v.OptionalSchema<v.PicklistSchema<["prd", "rfc", "runbook", "reference", "other"], undefined>, undefined>;
46
+ readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
47
+ readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
48
+ readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
49
+ readonly outlineHints: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
47
50
  }, undefined>, undefined>, undefined>;
48
51
  readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
49
52
  readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -595,8 +598,9 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
595
598
  * its ticket). Attached by the worker, so optional on the wire.
596
599
  */
597
600
  readonly trackerSettings: v.OptionalSchema<v.ObjectSchema<{
598
- readonly tracker: v.NullableSchema<v.PicklistSchema<["github", "jira"], undefined>, undefined>;
601
+ readonly tracker: v.NullableSchema<v.PicklistSchema<["github", "jira", "linear"], undefined>, undefined>;
599
602
  readonly jiraProjectKey: v.NullableSchema<v.StringSchema<undefined>, undefined>;
603
+ readonly linearTeamId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
600
604
  readonly writebackCommentOnPrOpen: v.BooleanSchema<undefined>;
601
605
  readonly writebackResolveOnMerge: v.BooleanSchema<undefined>;
602
606
  readonly updatedAt: v.NumberSchema<undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAyB5B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKlC;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;OAGG;;;;;;;;;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;OAGG;;;;;;;;;;;;;;;;IAEH;;;;;;OAMG;;;;;;;;;;;;;IAEH;;;;;OAKG;;;;;;;;;IAEH;;;;;;;;OAQG;;;;;IAOH;;;OAGG;;;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;IAEH;;;OAGG;;;;;;;;IAEH;;;;;OAKG;;;;;;;;;;;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;;;;;;;IAEH;;;;;;OAMG;;;;;;;;;;;;;IAEH;;;;;;;OAOG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
package/dist/tasks.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import * as v from 'valibot';
2
2
  /** The external task trackers cat-factory can link to. */
3
- export declare const taskSourceKindSchema: v.PicklistSchema<["jira", "github"], undefined>;
3
+ export declare const taskSourceKindSchema: v.PicklistSchema<["jira", "github", "linear"], undefined>;
4
4
  export type TaskSourceKind = v.InferOutput<typeof taskSourceKindSchema>;
5
5
  /**
6
6
  * Everything the frontend needs to render a source's connect form and import
7
7
  * box without hard-coding any provider specifics.
8
8
  */
9
9
  export declare const taskSourceDescriptorSchema: v.ObjectSchema<{
10
- readonly source: v.PicklistSchema<["jira", "github"], undefined>;
10
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
11
11
  /** Display name, e.g. `Jira`. */
12
12
  readonly label: v.StringSchema<undefined>;
13
13
  /** Lucide icon name for the source. */
@@ -41,7 +41,7 @@ export type TaskSourceDescriptor = v.InferOutput<typeof taskSourceDescriptorSche
41
41
  * `available && enabled` is what makes a source offered for import.
42
42
  */
43
43
  export declare const taskSourceStateSchema: v.ObjectSchema<{
44
- readonly source: v.PicklistSchema<["jira", "github"], undefined>;
44
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
45
45
  /** Display name, e.g. `Jira`. */
46
46
  readonly label: v.StringSchema<undefined>;
47
47
  /** Lucide icon name for the source. */
@@ -86,7 +86,7 @@ export declare const taskSourceDiagnosticStatusSchema: v.PicklistSchema<["ready"
86
86
  export type TaskSourceDiagnosticStatus = v.InferOutput<typeof taskSourceDiagnosticStatusSchema>;
87
87
  /** A source's live setup-check result: a status + a human-readable, actionable message. */
88
88
  export declare const taskSourceDiagnosticSchema: v.ObjectSchema<{
89
- readonly source: v.PicklistSchema<["jira", "github"], undefined>;
89
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
90
90
  /** Convenience: `status === 'ready'`. */
91
91
  readonly ok: v.BooleanSchema<undefined>;
92
92
  readonly status: v.PicklistSchema<["ready", "not_installed", "not_connected", "auth_failed", "forbidden", "unreachable", "error"], undefined>;
@@ -98,7 +98,7 @@ export declare const taskSourceDiagnosticSchema: v.ObjectSchema<{
98
98
  export type TaskSourceDiagnostic = v.InferOutput<typeof taskSourceDiagnosticSchema>;
99
99
  /** A workspace's connection to a task source, as exposed to clients (never the credentials). */
100
100
  export declare const taskConnectionSchema: v.ObjectSchema<{
101
- readonly source: v.PicklistSchema<["jira", "github"], undefined>;
101
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
102
102
  /** A human-friendly label for what we're connected to (site URL). */
103
103
  readonly label: v.StringSchema<undefined>;
104
104
  /** When the connection was established (epoch ms). */
@@ -130,7 +130,7 @@ export declare const taskDependencyLinkSchema: v.ObjectSchema<{
130
130
  export type TaskDependencyLink = v.InferOutput<typeof taskDependencyLinkSchema>;
131
131
  /** An issue imported from a source, projected locally as a structured record. */
132
132
  export declare const sourceTaskSchema: v.ObjectSchema<{
133
- readonly source: v.PicklistSchema<["jira", "github"], undefined>;
133
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
134
134
  /** The source's canonical key for the issue (e.g. a Jira issue key `PROJ-123`). */
135
135
  readonly externalId: v.StringSchema<undefined>;
136
136
  /** Issue summary / title. */
@@ -173,7 +173,7 @@ export type SourceTask = v.InferOutput<typeof sourceTaskSchema>;
173
173
  * projected locally, so it carries no `linkedBlockId`/`syncedAt`.
174
174
  */
175
175
  export declare const taskSearchResultSchema: v.ObjectSchema<{
176
- readonly source: v.PicklistSchema<["jira", "github"], undefined>;
176
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
177
177
  /** The source's canonical key for the issue (re-usable as an import ref). */
178
178
  readonly externalId: v.StringSchema<undefined>;
179
179
  readonly title: v.StringSchema<undefined>;
@@ -220,7 +220,7 @@ export declare const searchTasksSchema: v.ObjectSchema<{
220
220
  export type SearchTasksInput = v.InferOutput<typeof searchTasksSchema>;
221
221
  /** Attach an imported issue to a task as extra agent context. */
222
222
  export declare const linkTaskSchema: v.ObjectSchema<{
223
- readonly source: v.PicklistSchema<["jira", "github"], undefined>;
223
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
224
224
  readonly externalId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
225
225
  readonly blockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
226
226
  }, undefined>;
@@ -232,7 +232,7 @@ export type LinkTaskInput = v.InferOutput<typeof linkTaskSchema>;
232
232
  * title/description are seeded from the issue.
233
233
  */
234
234
  export declare const createTaskFromIssueSchema: v.ObjectSchema<{
235
- readonly source: v.PicklistSchema<["jira", "github"], undefined>;
235
+ readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
236
236
  readonly externalId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
237
237
  /** The frame or module the new task is created in. */
238
238
  readonly containerId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
@@ -1 +1 @@
1
- {"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../src/tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAkB5B,0DAA0D;AAC1D,eAAO,MAAM,oBAAoB,iDAAiC,CAAA;AAClE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAMvE;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;IAErC,iCAAiC;;IAEjC,uCAAuC;;IAEvC,yDAAyD;;;;;;;;IAEzD,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from './documents.js';
15
15
  // it lives in the core ports / D1 layer.
16
16
  // ---------------------------------------------------------------------------
17
17
  /** The external task trackers cat-factory can link to. */
18
- export const taskSourceKindSchema = v.picklist(['jira', 'github']);
18
+ export const taskSourceKindSchema = v.picklist(['jira', 'github', 'linear']);
19
19
  // ---- Provider self-description (drives the generic connect UI) ------------
20
20
  // `credentialFieldSchema` is shared with the document-source contracts: a
21
21
  // credential form field is identical regardless of what it connects to.