@cat-factory/contracts 0.195.0 → 0.197.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.
Files changed (59) hide show
  1. package/dist/compose-sources.d.ts +85 -0
  2. package/dist/compose-sources.d.ts.map +1 -0
  3. package/dist/compose-sources.js +118 -0
  4. package/dist/compose-sources.js.map +1 -0
  5. package/dist/entities.d.ts +27 -1
  6. package/dist/entities.d.ts.map +1 -1
  7. package/dist/environment-analyst.d.ts +27 -1
  8. package/dist/environment-analyst.d.ts.map +1 -1
  9. package/dist/environments.d.ts +54 -2
  10. package/dist/environments.d.ts.map +1 -1
  11. package/dist/errors.d.ts +1 -1
  12. package/dist/errors.d.ts.map +1 -1
  13. package/dist/errors.js +14 -0
  14. package/dist/errors.js.map +1 -1
  15. package/dist/execution.d.ts +54 -2
  16. package/dist/execution.d.ts.map +1 -1
  17. package/dist/index.d.ts +1 -0
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +1 -0
  20. package/dist/index.js.map +1 -1
  21. package/dist/requests.d.ts +154 -11
  22. package/dist/requests.d.ts.map +1 -1
  23. package/dist/routes/agent-runs.d.ts +54 -2
  24. package/dist/routes/agent-runs.d.ts.map +1 -1
  25. package/dist/routes/board.d.ts +478 -23
  26. package/dist/routes/board.d.ts.map +1 -1
  27. package/dist/routes/bug-hunt.d.ts +108 -4
  28. package/dist/routes/bug-hunt.d.ts.map +1 -1
  29. package/dist/routes/environments.d.ts +27 -1
  30. package/dist/routes/environments.d.ts.map +1 -1
  31. package/dist/routes/execution.d.ts +270 -10
  32. package/dist/routes/execution.d.ts.map +1 -1
  33. package/dist/routes/human-review.d.ts +27 -1
  34. package/dist/routes/human-review.d.ts.map +1 -1
  35. package/dist/routes/human-test.d.ts +135 -5
  36. package/dist/routes/human-test.d.ts.map +1 -1
  37. package/dist/routes/initiative.d.ts +27 -1
  38. package/dist/routes/initiative.d.ts.map +1 -1
  39. package/dist/routes/shared-stacks.d.ts +196 -14
  40. package/dist/routes/shared-stacks.d.ts.map +1 -1
  41. package/dist/routes/tasks.d.ts +81 -3
  42. package/dist/routes/tasks.d.ts.map +1 -1
  43. package/dist/routes/visual-confirm.d.ts +81 -3
  44. package/dist/routes/visual-confirm.d.ts.map +1 -1
  45. package/dist/routes/workspaces.d.ts +226 -10
  46. package/dist/routes/workspaces.d.ts.map +1 -1
  47. package/dist/shared-stacks.d.ts +97 -8
  48. package/dist/shared-stacks.d.ts.map +1 -1
  49. package/dist/shared-stacks.js +20 -8
  50. package/dist/shared-stacks.js.map +1 -1
  51. package/dist/snapshot.d.ts +140 -5
  52. package/dist/snapshot.d.ts.map +1 -1
  53. package/dist/snapshot.js +27 -0
  54. package/dist/snapshot.js.map +1 -1
  55. package/dist/stack-recipes.d.ts +33 -2
  56. package/dist/stack-recipes.d.ts.map +1 -1
  57. package/dist/stack-recipes.js +8 -2
  58. package/dist/stack-recipes.js.map +1 -1
  59. package/package.json +1 -1
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
@@ -18,12 +18,48 @@ export declare const sharedStackSchema: v.ObjectSchema<{
18
18
  readonly id: v.StringSchema<undefined>;
19
19
  readonly workspaceId: v.StringSchema<undefined>;
20
20
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
21
- /** The git repo the stack is cloned from (its compose files + templates live here). */
22
- readonly cloneUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
21
+ /**
22
+ * The git repo the stack is cloned from (its `path` compose layers, env templates and seed
23
+ * dumps live here). NULL for a stack that owns no repo — one whose layers are all `inline`
24
+ * documents and/or `repo` references into other projects, the shape a deployment declares
25
+ * programmatically in code. A `path` layer, an `envFiles` entry or a `stdinFile` step REQUIRES
26
+ * a clone URL; the bring-up refuses without one rather than cloning nothing and failing at `up`.
27
+ */
28
+ readonly cloneUrl: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
23
29
  /** Branch / tag / sha to read at; absent ⇒ the repo's default branch. */
24
30
  readonly gitRef: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
25
- /** Ordered `-f` compose files (repo-relative). At least one. */
26
- readonly composeFiles: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
31
+ /**
32
+ * Ordered `-f` compose layers. At least one. Each entry is a bare path in the stack's own
33
+ * repo (the shorthand) or an explicit {@link composeSourceSchema} — an `inline` document, or a
34
+ * `path` in ANOTHER `owner/name` repo read checkout-free through the workspace's VCS connection.
35
+ */
36
+ readonly composeFiles: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, v.VariantSchema<"kind", [v.ObjectSchema<{
37
+ readonly kind: v.LiteralSchema<"path", undefined>;
38
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
39
+ }, undefined>, v.ObjectSchema<{
40
+ readonly kind: v.LiteralSchema<"inline", undefined>;
41
+ readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 262144, undefined>]>;
42
+ readonly path: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
43
+ }, undefined>, v.ObjectSchema<{
44
+ readonly kind: v.LiteralSchema<"repo", undefined>;
45
+ readonly repo: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be \"owner/repo\"">]>;
46
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
47
+ readonly ref: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
48
+ readonly provider: v.OptionalSchema<v.PicklistSchema<["github", "gitlab"], undefined>, undefined>;
49
+ }, undefined>], undefined>], undefined>, undefined>, v.MinLengthAction<(string | {
50
+ kind: "path";
51
+ path: string;
52
+ } | {
53
+ kind: "inline";
54
+ content: string;
55
+ path?: string | undefined;
56
+ } | {
57
+ kind: "repo";
58
+ repo: string;
59
+ path: string;
60
+ ref?: string | undefined;
61
+ provider?: "github" | "gitlab" | undefined;
62
+ })[], 1, undefined>]>;
27
63
  /** `COMPOSE_PROFILES` to enable for the stack. */
28
64
  readonly composeProfiles: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
29
65
  /** Committed templates materialized into their gitignored targets before `up`. */
@@ -129,9 +165,36 @@ export type SharedStack = v.InferOutput<typeof sharedStackSchema>;
129
165
  /** Create a new shared stack in a workspace. */
130
166
  export declare const createSharedStackSchema: v.ObjectSchema<{
131
167
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
132
- readonly cloneUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
168
+ /** Absent a repo-less stack (every layer `inline` / from another repo). */
169
+ readonly cloneUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
133
170
  readonly gitRef: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
134
- readonly composeFiles: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
171
+ readonly composeFiles: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, v.VariantSchema<"kind", [v.ObjectSchema<{
172
+ readonly kind: v.LiteralSchema<"path", undefined>;
173
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
174
+ }, undefined>, v.ObjectSchema<{
175
+ readonly kind: v.LiteralSchema<"inline", undefined>;
176
+ readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 262144, undefined>]>;
177
+ readonly path: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
178
+ }, undefined>, v.ObjectSchema<{
179
+ readonly kind: v.LiteralSchema<"repo", undefined>;
180
+ readonly repo: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be \"owner/repo\"">]>;
181
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
182
+ readonly ref: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
183
+ readonly provider: v.OptionalSchema<v.PicklistSchema<["github", "gitlab"], undefined>, undefined>;
184
+ }, undefined>], undefined>], undefined>, undefined>, v.MinLengthAction<(string | {
185
+ kind: "path";
186
+ path: string;
187
+ } | {
188
+ kind: "inline";
189
+ content: string;
190
+ path?: string | undefined;
191
+ } | {
192
+ kind: "repo";
193
+ repo: string;
194
+ path: string;
195
+ ref?: string | undefined;
196
+ provider?: "github" | "gitlab" | undefined;
197
+ })[], 1, undefined>]>;
135
198
  readonly composeProfiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, readonly []>;
136
199
  readonly envFiles: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
137
200
  readonly template: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
@@ -260,9 +323,35 @@ export type SharedStackRecommendation = v.InferOutput<typeof sharedStackRecommen
260
323
  /** Patch an existing shared stack (all fields optional). */
261
324
  export declare const updateSharedStackSchema: v.ObjectSchema<{
262
325
  readonly name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
263
- readonly cloneUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
326
+ readonly cloneUrl: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, undefined>;
264
327
  readonly gitRef: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
265
- readonly composeFiles: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
328
+ readonly composeFiles: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, v.VariantSchema<"kind", [v.ObjectSchema<{
329
+ readonly kind: v.LiteralSchema<"path", undefined>;
330
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
331
+ }, undefined>, v.ObjectSchema<{
332
+ readonly kind: v.LiteralSchema<"inline", undefined>;
333
+ readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 262144, undefined>]>;
334
+ readonly path: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
335
+ }, undefined>, v.ObjectSchema<{
336
+ readonly kind: v.LiteralSchema<"repo", undefined>;
337
+ readonly repo: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be \"owner/repo\"">]>;
338
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
339
+ readonly ref: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
340
+ readonly provider: v.OptionalSchema<v.PicklistSchema<["github", "gitlab"], undefined>, undefined>;
341
+ }, undefined>], undefined>], undefined>, undefined>, v.MinLengthAction<(string | {
342
+ kind: "path";
343
+ path: string;
344
+ } | {
345
+ kind: "inline";
346
+ content: string;
347
+ path?: string | undefined;
348
+ } | {
349
+ kind: "repo";
350
+ repo: string;
351
+ path: string;
352
+ ref?: string | undefined;
353
+ provider?: "github" | "gitlab" | undefined;
354
+ })[], 1, undefined>]>, undefined>;
266
355
  readonly composeProfiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
267
356
  readonly envFiles: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
268
357
  readonly template: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAW7E,CAAA;AACF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAIlF;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;IAClC,yEAAyE;;IAEzE,yEAAyE;;IAEzE,kGAAkG;;aAElG,CAAA;AACF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAElF;;;;;;;GAOG;AACH,eAAO,MAAM,+BAA+B;;IAE1C,wFAAwF;;IAExF,0EAA0E;;IAE1E,kGAAkG;;IAElG,sFAAsF;;IAEtF,+FAA+F;;;;;;;;;;aAG/F,CAAA;AACF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,+BAA+B,CAAC,CAAA;AAE7F,4DAA4D;AAC5D,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAYlC,CAAA;AACF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import * as v from 'valibot';
2
+ import { composeFileRefSchema } from './compose-sources.js';
2
3
  import { provisioningDetectionNoteSchema } from './environments.js';
3
4
  import { preflightRefSchema } from './preflights.js';
4
5
  import { urlString } from './primitives.js';
@@ -47,12 +48,22 @@ export const sharedStackSchema = v.object({
47
48
  id: v.string(),
48
49
  workspaceId: v.string(),
49
50
  name: stackName,
50
- /** The git repo the stack is cloned from (its compose files + templates live here). */
51
- cloneUrl: urlString,
51
+ /**
52
+ * The git repo the stack is cloned from (its `path` compose layers, env templates and seed
53
+ * dumps live here). NULL for a stack that owns no repo — one whose layers are all `inline`
54
+ * documents and/or `repo` references into other projects, the shape a deployment declares
55
+ * programmatically in code. A `path` layer, an `envFiles` entry or a `stdinFile` step REQUIRES
56
+ * a clone URL; the bring-up refuses without one rather than cloning nothing and failing at `up`.
57
+ */
58
+ cloneUrl: v.nullable(urlString),
52
59
  /** Branch / tag / sha to read at; absent ⇒ the repo's default branch. */
53
60
  gitRef: v.nullable(stackRef),
54
- /** Ordered `-f` compose files (repo-relative). At least one. */
55
- composeFiles: v.pipe(v.array(stackPathString), v.minLength(1)),
61
+ /**
62
+ * Ordered `-f` compose layers. At least one. Each entry is a bare path in the stack's own
63
+ * repo (the shorthand) or an explicit {@link composeSourceSchema} — an `inline` document, or a
64
+ * `path` in ANOTHER `owner/name` repo read checkout-free through the workspace's VCS connection.
65
+ */
66
+ composeFiles: v.pipe(v.array(composeFileRefSchema), v.minLength(1)),
56
67
  /** `COMPOSE_PROFILES` to enable for the stack. */
57
68
  composeProfiles: v.array(stackName),
58
69
  /** Committed templates materialized into their gitignored targets before `up`. */
@@ -87,9 +98,10 @@ export const sharedStackSchema = v.object({
87
98
  /** Create a new shared stack in a workspace. */
88
99
  export const createSharedStackSchema = v.object({
89
100
  name: stackName,
90
- cloneUrl: urlString,
101
+ /** Absent ⇒ a repo-less stack (every layer `inline` / from another repo). */
102
+ cloneUrl: v.optional(urlString),
91
103
  gitRef: v.optional(stackRef),
92
- composeFiles: v.pipe(v.array(stackPathString), v.minLength(1)),
104
+ composeFiles: v.pipe(v.array(composeFileRefSchema), v.minLength(1)),
93
105
  composeProfiles: v.optional(v.array(stackName), []),
94
106
  envFiles: v.optional(v.array(recipeEnvFileSchema), []),
95
107
  managedNetworks: v.optional(v.array(stackName), []),
@@ -138,9 +150,9 @@ export const sharedStackRecommendationSchema = v.object({
138
150
  /** Patch an existing shared stack (all fields optional). */
139
151
  export const updateSharedStackSchema = v.object({
140
152
  name: v.optional(stackName),
141
- cloneUrl: v.optional(urlString),
153
+ cloneUrl: v.optional(v.nullable(urlString)),
142
154
  gitRef: v.optional(v.nullable(stackRef)),
143
- composeFiles: v.optional(v.pipe(v.array(stackPathString), v.minLength(1))),
155
+ composeFiles: v.optional(v.pipe(v.array(composeFileRefSchema), v.minLength(1))),
144
156
  composeProfiles: v.optional(v.array(stackName)),
145
157
  envFiles: v.optional(v.array(recipeEnvFileSchema)),
146
158
  managedNetworks: v.optional(v.array(stackName)),
@@ -1 +1 @@
1
- {"version":3,"file":"shared-stacks.js","sourceRoot":"","sources":["../src/shared-stacks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,+BAA+B,EAAE,MAAM,mBAAmB,CAAA;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAElG,8EAA8E;AAC9E,8EAA8E;AAC9E,gFAAgF;AAChF,8EAA8E;AAC9E,+EAA+E;AAC/E,0BAA0B;AAC1B,EAAE;AACF,kFAAkF;AAClF,8EAA8E;AAC9E,2EAA2E;AAC3E,kEAAkE;AAClE,4EAA4E;AAC5E,8DAA8D;AAC9D,EAAE;AACF,uEAAuE;AACvE,uEAAuE;AACvE,kFAAkF;AAClF,4DAA4D;AAC5D,uDAAuD;AACvD,8EAA8E;AAE9E,wFAAwF;AACxF,MAAM,SAAS,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAA;AAEhF,2EAA2E;AAC3E,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,EA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C,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;IACjD,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACtD,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAAC;IAC1D,iBAAiB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;CAC3C,CAAC,CAAA"}
@@ -1,4 +1,15 @@
1
1
  import * as v from 'valibot';
2
+ /**
3
+ * A built-in pipeline withdrawn from the catalog. Mirrors kernel's `RetiredPipeline`: an id plus,
4
+ * when one exists, the catalog id that supersedes it. Deliberately not a `pipelineSchema` — a
5
+ * retired pipeline has no definition left, and a tombstone must never be mistaken for something the
6
+ * SPA can run or seed.
7
+ */
8
+ export declare const retiredPipelineSchema: v.ObjectSchema<{
9
+ readonly id: v.StringSchema<undefined>;
10
+ readonly replacedBy: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
11
+ }, undefined>;
12
+ export type RetiredPipelineWire = v.InferOutput<typeof retiredPipelineSchema>;
2
13
  /** A selectable infra backend kind advertised to the SPA's connect form. */
3
14
  export declare const backendKindOptionSchema: v.ObjectSchema<{
4
15
  readonly kind: v.StringSchema<undefined>;
@@ -101,7 +112,33 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
101
112
  readonly localDevOnly: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
102
113
  readonly composeBuild: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
103
114
  readonly recipe: v.OptionalSchema<v.ObjectSchema<{
104
- readonly composeFiles: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
115
+ readonly composeFiles: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, v.VariantSchema<"kind", [v.ObjectSchema<{
116
+ readonly kind: v.LiteralSchema<"path", undefined>;
117
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
118
+ }, undefined>, v.ObjectSchema<{
119
+ readonly kind: v.LiteralSchema<"inline", undefined>;
120
+ readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 262144, undefined>]>;
121
+ readonly path: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
122
+ }, undefined>, v.ObjectSchema<{
123
+ readonly kind: v.LiteralSchema<"repo", undefined>;
124
+ readonly repo: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be \"owner/repo\"">]>;
125
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
126
+ readonly ref: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
127
+ readonly provider: v.OptionalSchema<v.PicklistSchema<["github", "gitlab"], undefined>, undefined>;
128
+ }, undefined>], undefined>], undefined>, undefined>, v.MinLengthAction<(string | {
129
+ kind: "path";
130
+ path: string;
131
+ } | {
132
+ kind: "inline";
133
+ content: string;
134
+ path?: string | undefined;
135
+ } | {
136
+ kind: "repo";
137
+ repo: string;
138
+ path: string;
139
+ ref?: string | undefined;
140
+ provider?: "github" | "gitlab" | undefined;
141
+ })[], 1, undefined>]>, undefined>;
105
142
  readonly composeProfiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
106
143
  readonly envFiles: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
107
144
  readonly template: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
@@ -1083,7 +1120,33 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1083
1120
  readonly localDevOnly: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1084
1121
  readonly composeBuild: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1085
1122
  readonly recipe: v.OptionalSchema<v.ObjectSchema<{
1086
- readonly composeFiles: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
1123
+ readonly composeFiles: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, v.VariantSchema<"kind", [v.ObjectSchema<{
1124
+ readonly kind: v.LiteralSchema<"path", undefined>;
1125
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
1126
+ }, undefined>, v.ObjectSchema<{
1127
+ readonly kind: v.LiteralSchema<"inline", undefined>;
1128
+ readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 262144, undefined>]>;
1129
+ readonly path: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1130
+ }, undefined>, v.ObjectSchema<{
1131
+ readonly kind: v.LiteralSchema<"repo", undefined>;
1132
+ readonly repo: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be \"owner/repo\"">]>;
1133
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
1134
+ readonly ref: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
1135
+ readonly provider: v.OptionalSchema<v.PicklistSchema<["github", "gitlab"], undefined>, undefined>;
1136
+ }, undefined>], undefined>], undefined>, undefined>, v.MinLengthAction<(string | {
1137
+ kind: "path";
1138
+ path: string;
1139
+ } | {
1140
+ kind: "inline";
1141
+ content: string;
1142
+ path?: string | undefined;
1143
+ } | {
1144
+ kind: "repo";
1145
+ repo: string;
1146
+ path: string;
1147
+ ref?: string | undefined;
1148
+ provider?: "github" | "gitlab" | undefined;
1149
+ })[], 1, undefined>]>, undefined>;
1087
1150
  readonly composeProfiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
1088
1151
  readonly envFiles: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1089
1152
  readonly template: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
@@ -1688,9 +1751,35 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1688
1751
  readonly id: v.StringSchema<undefined>;
1689
1752
  readonly workspaceId: v.StringSchema<undefined>;
1690
1753
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1691
- readonly cloneUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1754
+ readonly cloneUrl: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1692
1755
  readonly gitRef: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
1693
- readonly composeFiles: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
1756
+ readonly composeFiles: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, v.VariantSchema<"kind", [v.ObjectSchema<{
1757
+ readonly kind: v.LiteralSchema<"path", undefined>;
1758
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
1759
+ }, undefined>, v.ObjectSchema<{
1760
+ readonly kind: v.LiteralSchema<"inline", undefined>;
1761
+ readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 262144, undefined>]>;
1762
+ readonly path: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1763
+ }, undefined>, v.ObjectSchema<{
1764
+ readonly kind: v.LiteralSchema<"repo", undefined>;
1765
+ readonly repo: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be \"owner/repo\"">]>;
1766
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
1767
+ readonly ref: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
1768
+ readonly provider: v.OptionalSchema<v.PicklistSchema<["github", "gitlab"], undefined>, undefined>;
1769
+ }, undefined>], undefined>], undefined>, undefined>, v.MinLengthAction<(string | {
1770
+ kind: "path";
1771
+ path: string;
1772
+ } | {
1773
+ kind: "inline";
1774
+ content: string;
1775
+ path?: string | undefined;
1776
+ } | {
1777
+ kind: "repo";
1778
+ repo: string;
1779
+ path: string;
1780
+ ref?: string | undefined;
1781
+ provider?: "github" | "gitlab" | undefined;
1782
+ })[], 1, undefined>]>;
1694
1783
  readonly composeProfiles: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
1695
1784
  readonly envFiles: v.ArraySchema<v.ObjectSchema<{
1696
1785
  readonly template: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
@@ -2025,7 +2114,33 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
2025
2114
  readonly localDevOnly: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2026
2115
  readonly composeBuild: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2027
2116
  readonly recipe: v.OptionalSchema<v.ObjectSchema<{
2028
- readonly composeFiles: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
2117
+ readonly composeFiles: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, v.VariantSchema<"kind", [v.ObjectSchema<{
2118
+ readonly kind: v.LiteralSchema<"path", undefined>;
2119
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
2120
+ }, undefined>, v.ObjectSchema<{
2121
+ readonly kind: v.LiteralSchema<"inline", undefined>;
2122
+ readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 262144, undefined>]>;
2123
+ readonly path: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
2124
+ }, undefined>, v.ObjectSchema<{
2125
+ readonly kind: v.LiteralSchema<"repo", undefined>;
2126
+ readonly repo: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be \"owner/repo\"">]>;
2127
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
2128
+ readonly ref: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
2129
+ readonly provider: v.OptionalSchema<v.PicklistSchema<["github", "gitlab"], undefined>, undefined>;
2130
+ }, undefined>], undefined>], undefined>, undefined>, v.MinLengthAction<(string | {
2131
+ kind: "path";
2132
+ path: string;
2133
+ } | {
2134
+ kind: "inline";
2135
+ content: string;
2136
+ path?: string | undefined;
2137
+ } | {
2138
+ kind: "repo";
2139
+ repo: string;
2140
+ path: string;
2141
+ ref?: string | undefined;
2142
+ provider?: "github" | "gitlab" | undefined;
2143
+ })[], 1, undefined>]>, undefined>;
2029
2144
  readonly composeProfiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
2030
2145
  readonly envFiles: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2031
2146
  readonly template: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
@@ -2406,6 +2521,26 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
2406
2521
  * runtimes), but optional on the wire for forward-compatibility.
2407
2522
  */
2408
2523
  readonly pipelineCatalogVersions: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>, undefined>;
2524
+ /**
2525
+ * Built-in pipelines WITHDRAWN from the catalog (`retiredPipelines()`) — the complement of
2526
+ * `pipelineCatalogVersions`, and the only signal that a stored built-in is no longer relevant.
2527
+ * A workspace seeded before the withdrawal still holds the row, so the SPA cross-references this
2528
+ * against its library and offers a REMOVAL (`DELETE /pipelines/:id`, which accepts a built-in only
2529
+ * while it is named here) rather than the reseed it offers for a live built-in.
2530
+ *
2531
+ * The two sets are disjoint by construction, so an id here never appears in
2532
+ * `pipelineCatalogVersions` — which is also what stops the SPA's "new built-ins available"
2533
+ * advisory from offering to add back the pipeline it just told the user to remove.
2534
+ *
2535
+ * `replacedBy` names the catalog id that supersedes it, when one does. It carries no prose: the
2536
+ * backend does not localize copy, so the SPA resolves that id to its pipeline name and writes the
2537
+ * sentence itself. Static, workspace-independent; built by the shared `WorkspaceService.snapshot()`
2538
+ * (automatically symmetric across runtimes), optional on the wire for forward-compatibility.
2539
+ */
2540
+ readonly retiredPipelines: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2541
+ readonly id: v.StringSchema<undefined>;
2542
+ readonly replacedBy: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2543
+ }, undefined>, undefined>, undefined>;
2409
2544
  /**
2410
2545
  * Current built-in merge-preset catalog versions (`seedRiskPolicies()`), keyed by preset id.
2411
2546
  * The SPA compares each persisted built-in's `version` against this to detect a stale copy
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsC5B,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;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/snapshot.js CHANGED
@@ -28,6 +28,16 @@ import { workspaceAccessSchema } from './workspace-members.js';
28
28
  // It lives in its own module because it references both ./entities and
29
29
  // ./bootstrap, and ./bootstrap imports from ./entities — defining it in either
30
30
  // would be a circular import.
31
+ /**
32
+ * A built-in pipeline withdrawn from the catalog. Mirrors kernel's `RetiredPipeline`: an id plus,
33
+ * when one exists, the catalog id that supersedes it. Deliberately not a `pipelineSchema` — a
34
+ * retired pipeline has no definition left, and a tombstone must never be mistaken for something the
35
+ * SPA can run or seed.
36
+ */
37
+ export const retiredPipelineSchema = v.object({
38
+ id: v.string(),
39
+ replacedBy: v.optional(v.string()),
40
+ });
31
41
  /** A selectable infra backend kind advertised to the SPA's connect form. */
32
42
  export const backendKindOptionSchema = v.object({
33
43
  kind: v.string(),
@@ -224,6 +234,23 @@ export const workspaceSnapshotSchema = v.object({
224
234
  * runtimes), but optional on the wire for forward-compatibility.
225
235
  */
226
236
  pipelineCatalogVersions: v.optional(v.record(v.string(), v.number())),
237
+ /**
238
+ * Built-in pipelines WITHDRAWN from the catalog (`retiredPipelines()`) — the complement of
239
+ * `pipelineCatalogVersions`, and the only signal that a stored built-in is no longer relevant.
240
+ * A workspace seeded before the withdrawal still holds the row, so the SPA cross-references this
241
+ * against its library and offers a REMOVAL (`DELETE /pipelines/:id`, which accepts a built-in only
242
+ * while it is named here) rather than the reseed it offers for a live built-in.
243
+ *
244
+ * The two sets are disjoint by construction, so an id here never appears in
245
+ * `pipelineCatalogVersions` — which is also what stops the SPA's "new built-ins available"
246
+ * advisory from offering to add back the pipeline it just told the user to remove.
247
+ *
248
+ * `replacedBy` names the catalog id that supersedes it, when one does. It carries no prose: the
249
+ * backend does not localize copy, so the SPA resolves that id to its pipeline name and writes the
250
+ * sentence itself. Static, workspace-independent; built by the shared `WorkspaceService.snapshot()`
251
+ * (automatically symmetric across runtimes), optional on the wire for forward-compatibility.
252
+ */
253
+ retiredPipelines: v.optional(v.array(retiredPipelineSchema)),
227
254
  /**
228
255
  * Current built-in merge-preset catalog versions (`seedRiskPolicies()`), keyed by preset id.
229
256
  * The SPA compares each persisted built-in's `version` against this to detect a stale copy
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,eAAe,GAChB,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAA;AACjE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AACrD,OAAO,EAAE,6BAA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;;;;;;;OAeG;IACH,gBAAgB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC5D;;;;;;;OAOG;IACH,yBAAyB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACvE;;;;;;;OAOG;IACH,0BAA0B,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACxE;;;;;OAKG;IACH,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAClD;;;;;;;OAOG;IACH,iBAAiB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,CAAC;IACxE;;;;;;;OAOG;IACH,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC;IACxC;;;;;;;OAOG;IACH,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;IAC/C;;;;;OAKG;IACH,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,qBAAqB,CAAC;CAC1C,CAAC,CAAA"}
@@ -108,8 +108,39 @@ export type RecipeHealthGate = v.InferOutput<typeof recipeHealthGateSchema>;
108
108
  * recipe only — autodetection / the analyst merely recommend it.
109
109
  */
110
110
  export declare const stackRecipeSchema: v.ObjectSchema<{
111
- /** Ordered `-f` compose files (base + overrides). Supersedes `composePath` when present (⇒ non-empty). */
112
- readonly composeFiles: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
111
+ /**
112
+ * Ordered `-f` compose layers (base + overrides). Supersedes `composePath` when present
113
+ * (⇒ non-empty). Each entry is a bare path in the run's own repo (the shorthand the detector
114
+ * emits) or an explicit {@link composeSourceSchema} — an `inline` document, or a `path` in
115
+ * ANOTHER `owner/name` repo read checkout-free through the workspace's VCS connection.
116
+ */
117
+ readonly composeFiles: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, v.VariantSchema<"kind", [v.ObjectSchema<{
118
+ readonly kind: v.LiteralSchema<"path", undefined>;
119
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
120
+ }, undefined>, v.ObjectSchema<{
121
+ readonly kind: v.LiteralSchema<"inline", undefined>;
122
+ readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 262144, undefined>]>;
123
+ readonly path: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
124
+ }, undefined>, v.ObjectSchema<{
125
+ readonly kind: v.LiteralSchema<"repo", undefined>;
126
+ readonly repo: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be \"owner/repo\"">]>;
127
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
128
+ readonly ref: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
129
+ readonly provider: v.OptionalSchema<v.PicklistSchema<["github", "gitlab"], undefined>, undefined>;
130
+ }, undefined>], undefined>], undefined>, undefined>, v.MinLengthAction<(string | {
131
+ kind: "path";
132
+ path: string;
133
+ } | {
134
+ kind: "inline";
135
+ content: string;
136
+ path?: string | undefined;
137
+ } | {
138
+ kind: "repo";
139
+ repo: string;
140
+ path: string;
141
+ ref?: string | undefined;
142
+ provider?: "github" | "gitlab" | undefined;
143
+ })[], 1, undefined>]>, undefined>;
113
144
  /** `COMPOSE_PROFILES` to enable for the project. */
114
145
  readonly composeProfiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
115
146
  /** Committed templates materialized into their gitignored targets before `up`. */
@@ -1 +1 @@
1
- {"version":3,"file":"stack-recipes.d.ts","sourceRoot":"","sources":["../src/stack-recipes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAuD5B;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;IAC9B,sDAAsD;;IAEtD,wDAAwD;;aAExD,CAAA;AACF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAErE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB;;;IAIzB,kDAAkD;;IAElD,6CAA6C;;IAE7C,0FAA0F;;IAE1F,4EAA4E;;IAE5E,4DAA4D;;;;;;IAO5D,sCAAsC;;IAEtC,kCAAkC;;;;;;IAOlC,sFAAsF;;;;;;;;;IAUtF,oGAAoG;;IAEpG,sFAAsF;;;;;;;IAQtF,iFAAiF;;IAEjF,gGAAgG;;;0BAIlG,CAAA;AACF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,WAAW,CAAC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