@cat-factory/contracts 0.319.0 → 0.320.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/public-api.d.ts +31 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +26 -3
- package/dist/public-api.js.map +1 -1
- package/dist/public-provisioning.d.ts +193 -0
- package/dist/public-provisioning.d.ts.map +1 -1
- package/dist/public-provisioning.js +161 -0
- package/dist/public-provisioning.js.map +1 -1
- package/dist/routes/public-api.d.ts +4 -0
- package/dist/routes/public-api.d.ts.map +1 -1
- package/dist/routes/public-board.d.ts +4 -0
- package/dist/routes/public-board.d.ts.map +1 -1
- package/dist/routes/public-provisioning.d.ts +147 -0
- package/dist/routes/public-provisioning.d.ts.map +1 -1
- package/dist/routes/public-provisioning.js +60 -2
- package/dist/routes/public-provisioning.js.map +1 -1
- package/dist/routes/sandbox.d.ts +20 -10
- package/dist/routes/sandbox.d.ts.map +1 -1
- package/dist/routes/sandbox.js +12 -2
- package/dist/routes/sandbox.js.map +1 -1
- package/dist/sandbox.d.ts +70 -13
- package/dist/sandbox.d.ts.map +1 -1
- package/dist/sandbox.js +41 -2
- package/dist/sandbox.js.map +1 -1
- package/package.json +1 -1
|
@@ -57,6 +57,15 @@ const slugField = v.pipe(v.string(), v.trim(), v.regex(/^[A-Za-z0-9_.-]+$/, "Onl
|
|
|
57
57
|
* than a path expression: no `.` or `..` segment, no leading, trailing or doubled separator.
|
|
58
58
|
*/
|
|
59
59
|
const repoOwnerField = v.pipe(v.string(), v.trim(), v.regex(/^[A-Za-z0-9_.-]+(?:\/[A-Za-z0-9_.-]+)*$/, "Only letters, digits, '.', '_', '-' and '/' between segments are allowed"), v.check((value) => !value.split('/').some((segment) => segment === '.' || segment === '..'), "No path segment may be '.' or '..'"), v.minLength(1), v.maxLength(255));
|
|
60
|
+
/**
|
|
61
|
+
* A custom-manifest-type id, as this surface accepts it.
|
|
62
|
+
*
|
|
63
|
+
* Restated rather than importing `manifestIdSchema`, which is this file's rule for a STRUCTURAL
|
|
64
|
+
* shape: the internal one is a format this repo may tighten freely, and a tightening inherited here
|
|
65
|
+
* would refuse a value a live integration is already pinning, which is a break nobody reviewed as
|
|
66
|
+
* one. The two grammars are meant to agree, so `public-provisioning.test.ts` pins that they do.
|
|
67
|
+
*/
|
|
68
|
+
const publicManifestIdSchema = v.pipe(v.string(), v.trim(), v.regex(/^[a-z0-9][a-z0-9-]*$/, 'Only lowercase letters, digits and hyphens are allowed'), v.minLength(1), v.maxLength(64));
|
|
60
69
|
const descriptionField = v.pipe(v.string(), v.maxLength(2000));
|
|
61
70
|
const instructionsField = v.pipe(v.string(), v.maxLength(8000));
|
|
62
71
|
const labelField = v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(120));
|
|
@@ -258,6 +267,82 @@ export const linkPublicRepoSchema = v.object({
|
|
|
258
267
|
/** The repository's name, matched case-insensitively as both providers treat it. */
|
|
259
268
|
name: slugField,
|
|
260
269
|
});
|
|
270
|
+
/**
|
|
271
|
+
* Characters ONE file read may answer with, past which it is REFUSED rather than truncated.
|
|
272
|
+
*
|
|
273
|
+
* A caller reading a file to grade what an agent committed is joining on its exact bytes, and a
|
|
274
|
+
* silently shortened answer is indistinguishable from an agent that wrote a shorter file. So the
|
|
275
|
+
* cap refuses (`422`, `details.reason: 'file_too_large'`) and names the size, which is a fact the
|
|
276
|
+
* caller can act on where a truncation is not. Generous enough for source: 256 KiB is past any
|
|
277
|
+
* hand-written manifest, workflow or module.
|
|
278
|
+
*
|
|
279
|
+
* It is not the only ceiling in play, and the refusal is deliberately the SAME one either way: a
|
|
280
|
+
* provider's own contents API stops serving a blob at a limit of its own (1 MB on GitHub), which
|
|
281
|
+
* arrives here as a `403` that says nothing about the file. That is mapped to this reason too, with
|
|
282
|
+
* the provider's limit in `details` and no `size`, because nothing measured one.
|
|
283
|
+
*/
|
|
284
|
+
export const MAX_REPO_FILE_CHARS = 262_144;
|
|
285
|
+
/**
|
|
286
|
+
* A repo-root-relative file path, refused here rather than left to the provider's 404.
|
|
287
|
+
*
|
|
288
|
+
* The provider would answer "no such file" for a traversal or an absolute path anyway, so this is
|
|
289
|
+
* not a security boundary and does not claim to be one: the resolution is already scoped to a
|
|
290
|
+
* repository this workspace LINKED, which is what actually bounds the read. What it buys is an
|
|
291
|
+
* honest refusal. `..` and a leading `/` are the two ways a caller means something other than what
|
|
292
|
+
* it typed, and answering both as `file_not_found` sends someone hunting for a file that is right
|
|
293
|
+
* where they left it.
|
|
294
|
+
*/
|
|
295
|
+
export const publicRepoFilePathSchema = v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(1000), v.check((value) => !value.startsWith('/'), 'A path is relative to the repository root'), v.check((value) => !value.split('/').includes('..'), "No path segment may be '..'"));
|
|
296
|
+
/**
|
|
297
|
+
* ONE file from a repository this workspace has LINKED, at a ref.
|
|
298
|
+
*
|
|
299
|
+
* The read that closes the loop on everything else this surface can start: a caller can create a
|
|
300
|
+
* repository, adopt one, file work against it and watch a run merge, and then had no way to see WHAT
|
|
301
|
+
* the run committed. The only alternative was grepping the agent's final reply, which is asserting on
|
|
302
|
+
* model prose (swap the model and it goes red having found nothing wrong), so anything that wanted a
|
|
303
|
+
* real answer had to hold a VCS credential of its own: a second token in an operator's config, with
|
|
304
|
+
* its own scopes to get right, for data the workspace's own connection can already read.
|
|
305
|
+
*
|
|
306
|
+
* **A single file, deliberately, and no directory listing.** A listing is a separate decision with
|
|
307
|
+
* its own frozen-forever questions (pagination, recursion, what a large tree does), and this surface
|
|
308
|
+
* may not answer one badly and then keep answering it. `GET /api/v1/services/:id/spec` remains the
|
|
309
|
+
* structured read for the one tree the platform itself understands.
|
|
310
|
+
*
|
|
311
|
+
* **Only what the workspace has LINKED.** The scope is the same one every other read here takes, so
|
|
312
|
+
* this publishes nothing a caller could not already reach through the board, and a repository the
|
|
313
|
+
* connection can see but this workspace has not adopted is a `404` exactly as it is everywhere else.
|
|
314
|
+
*/
|
|
315
|
+
export const publicRepoFileSchema = v.object({
|
|
316
|
+
owner: v.string(),
|
|
317
|
+
name: v.string(),
|
|
318
|
+
/** The repo-root-relative path that was read, as the request gave it. */
|
|
319
|
+
path: v.string(),
|
|
320
|
+
/**
|
|
321
|
+
* The ref the read was pinned to, or `null` when the request named none and the PROVIDER resolved
|
|
322
|
+
* the repository's own default branch.
|
|
323
|
+
*
|
|
324
|
+
* Null rather than the branch name, because this read does not learn which branch that was and the
|
|
325
|
+
* platform's own idea of it is a value it may have INVENTED: a projection row that carries no
|
|
326
|
+
* default branch is defaulted to `main` for the benefit of clone targets, and reporting that as the
|
|
327
|
+
* ref graded would name a branch the repository may not have. `sha` is the value to record either
|
|
328
|
+
* way, being the one identifier that cannot drift.
|
|
329
|
+
*/
|
|
330
|
+
ref: v.nullable(v.string()),
|
|
331
|
+
/**
|
|
332
|
+
* The file's blob sha: the byte-exact handle, for a caller comparing two reads without diffing
|
|
333
|
+
* their bodies, or joining what it graded to what the repository holds.
|
|
334
|
+
*/
|
|
335
|
+
sha: v.string(),
|
|
336
|
+
/**
|
|
337
|
+
* The file's content, decoded as UTF-8.
|
|
338
|
+
*
|
|
339
|
+
* Text only. A file whose bytes are not valid UTF-8 is REFUSED (`422`,
|
|
340
|
+
* `details.reason: 'file_not_text'`, carrying the `sha`) rather than answered as the replacement
|
|
341
|
+
* characters a lossy decode produces: mojibake presented as a file's content is the same lie a
|
|
342
|
+
* truncation would be, and a caller hashing it would be hashing the decoder's output.
|
|
343
|
+
*/
|
|
344
|
+
content: v.string(),
|
|
345
|
+
});
|
|
261
346
|
// ---- 3. The environment connection (the ENGINE half) ------------------------
|
|
262
347
|
/**
|
|
263
348
|
* How the manifests at `path` are rendered. `raw` (the default) treats the path as a manifest file
|
|
@@ -429,6 +514,55 @@ export const publicEnvironmentConnectionViewSchema = v.object({
|
|
|
429
514
|
/** The secret-bundle keys this connection holds, never their values. */
|
|
430
515
|
secretKeys: v.array(v.string()),
|
|
431
516
|
});
|
|
517
|
+
/**
|
|
518
|
+
* One registered handler as the LIST reports it, whatever engine services it.
|
|
519
|
+
*
|
|
520
|
+
* Its own shape rather than a reuse of {@link publicEnvironmentConnectionViewSchema}, and the reason
|
|
521
|
+
* is the difference between the two calls. That one answers a `POST` this surface only ever makes
|
|
522
|
+
* with `engine: 'kubernetes'`, so its literal is exactly true. A list has to report every handler a
|
|
523
|
+
* workspace holds, including the `remote-custom` ones a deployment SEEDS from its composition root,
|
|
524
|
+
* and widening the shipped literal to a string would retype a field a released client already
|
|
525
|
+
* narrows on. Additive beats a retype (ADR 0034), so the list gets its own view.
|
|
526
|
+
*
|
|
527
|
+
* `endpoint` and not `apiServerUrl`: the noun is only true of Kubernetes, and the same mistake in a
|
|
528
|
+
* shared reduction is what makes an operator whose environment is a VM go looking for an apiserver.
|
|
529
|
+
*
|
|
530
|
+
* The write is what makes this read worth having. Handlers are the one half of provisioning a
|
|
531
|
+
* headless caller could WRITE and never READ, so a deployment that seeds them programmatically (the
|
|
532
|
+
* documented path for a multi-tenant Node deployment, and the one local mode takes) had no way for
|
|
533
|
+
* any caller to confirm the seed landed. "Kargo accepts our token" and "this workspace has a Kargo
|
|
534
|
+
* handler" are different failures with different fixes, and only one of them was checkable.
|
|
535
|
+
*/
|
|
536
|
+
export const publicEnvironmentHandlerSchema = v.object({
|
|
537
|
+
/** The provision type this handler serves (`kubernetes`, `docker-compose`, `custom`, …). */
|
|
538
|
+
provisionType: v.string(),
|
|
539
|
+
/**
|
|
540
|
+
* For a `custom` handler, the manifest id it is KEYED to; null for every other type.
|
|
541
|
+
*
|
|
542
|
+
* Both this and {@link acceptsManifestId} are reported because the engine's own resolution matches
|
|
543
|
+
* a service's pinned `manifestId` against EITHER, and only one of the two is set by either way of
|
|
544
|
+
* registering a handler: a seed that keys a handler to `kargo` sets this one and leaves the other
|
|
545
|
+
* null, while a `remote-custom` connection sets the other. Publishing one of them made the
|
|
546
|
+
* commonest seed shape indistinguishable from a handler that serves nothing, which is the exact
|
|
547
|
+
* question this read exists to answer.
|
|
548
|
+
*/
|
|
549
|
+
manifestId: v.nullable(v.string()),
|
|
550
|
+
/** For a `custom` handler, the manifest id it declares it ACCEPTS; null for every other type. */
|
|
551
|
+
acceptsManifestId: v.nullable(v.string()),
|
|
552
|
+
/** The internal engine servicing it, as an open string: a deployment may register its own. */
|
|
553
|
+
engine: v.string(),
|
|
554
|
+
/** The registry backend kind that builds this handler's provider. */
|
|
555
|
+
backendKind: v.string(),
|
|
556
|
+
label: v.string(),
|
|
557
|
+
/** The connection's own endpoint (an apiserver for Kubernetes, the management API otherwise). */
|
|
558
|
+
endpoint: v.string(),
|
|
559
|
+
/** The secret-bundle keys this handler holds, never their values. */
|
|
560
|
+
secretKeys: v.array(v.string()),
|
|
561
|
+
connectedAt: v.number(),
|
|
562
|
+
});
|
|
563
|
+
export const publicEnvironmentHandlerListSchema = v.object({
|
|
564
|
+
connections: v.array(publicEnvironmentHandlerSchema),
|
|
565
|
+
});
|
|
432
566
|
// ---- 4. A service's provisioning (the SOURCE half) --------------------------
|
|
433
567
|
/**
|
|
434
568
|
* Where ONE service's per-run manifests live: the half the engine connection does not carry.
|
|
@@ -436,9 +570,36 @@ export const publicEnvironmentConnectionViewSchema = v.object({
|
|
|
436
570
|
* The platform keeps these two apart deliberately (one cluster, many services, each with its own
|
|
437
571
|
* manifests), and this surface keeps the same seam rather than collapsing them into one call, so a
|
|
438
572
|
* caller adding a second service to an existing cluster changes one thing.
|
|
573
|
+
*
|
|
574
|
+
* **`custom` is here because a deployment that ships its OWN environment backend could not say so.**
|
|
575
|
+
* The registry model exists precisely so one can (`EnvironmentBackendRegistry`,
|
|
576
|
+
* `CustomManifestTypeRegistry`, `seedEnvironmentHandlers`), and everything such a backend needs is
|
|
577
|
+
* reachable from a composition root; none of it was reachable from this surface. A Kargo-backed or
|
|
578
|
+
* Nomad-backed service could therefore neither be pinned nor READ BACK here, and that second half is
|
|
579
|
+
* the one that hurts: the projection omitted what it could not describe, so a pinned service and an
|
|
580
|
+
* unpinned one answered identically (`provisioning: undefined`) and a headless caller could not
|
|
581
|
+
* report the state, let alone check it.
|
|
582
|
+
*
|
|
583
|
+
* **It pins by `manifestId` and carries no backend config**, and that is deliberate rather than
|
|
584
|
+
* partial. The engine side of a custom backend is an `environmentManifest` whose `providerConfig` is
|
|
585
|
+
* an open `Record<string, unknown>` by design, so publishing it would freeze a shape this repo
|
|
586
|
+
* evolves freely onto a surface that may never be reshaped (ADR 0034). What a caller pins here is an
|
|
587
|
+
* id the DEPLOYMENT already registered, which is a closed, stable value; registering the handler
|
|
588
|
+
* behind it stays a composition-root act, and `GET /api/v1/environments/connections` is how a caller
|
|
589
|
+
* confirms one landed.
|
|
439
590
|
*/
|
|
440
591
|
export const publicServiceProvisioningSchema = v.variant('type', [
|
|
441
592
|
v.object({ type: v.literal('kubernetes'), manifestSource: publicKubernetesManifestSourceSchema }),
|
|
593
|
+
v.object({
|
|
594
|
+
type: v.literal('custom'),
|
|
595
|
+
/**
|
|
596
|
+
* The custom-manifest-type id this service produces, matched to a `remote-custom` handler that
|
|
597
|
+
* declares it accepts the same one.
|
|
598
|
+
*/
|
|
599
|
+
manifestId: publicManifestIdSchema,
|
|
600
|
+
/** Where the manifest lives in the repository; omitted ⇒ the manifest type's own default. */
|
|
601
|
+
manifestPath: v.optional(v.pipe(v.string(), v.trim(), v.maxLength(500))),
|
|
602
|
+
}),
|
|
442
603
|
]);
|
|
443
604
|
/**
|
|
444
605
|
* Patch a service. Only the supplied fields change, and an omitted `provisioning` LEAVES the stored
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-provisioning.js","sourceRoot":"","sources":["../src/public-provisioning.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACnD,OAAO,EAAE,qBAAqB,EAAE,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C,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,EAAE,CAAC,CAAA;AAGlG,kFAAkF;AAElF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,oEAAoE;IACpE,eAAe,EAAE,CAAC,CAAC,OAAO,EAAE;IAC5B,uEAAuE;IACvE,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE;IAC3B;;;;OAIG;IACH,eAAe,EAAE,CAAC,CAAC,OAAO,EAAE;CAC7B,CAAC,CAAA;AAGF;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3D,SAAS,EAAE,4BAA4B;IACvC;;;;;;;OAOG;IACH,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAClC,CAAC,CAAA;AAKF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IACzD,SAAS,EAAE,CAAC,CAAC,QAAQ,CACnB,CAAC,CAAC,MAAM,CAAC;QACP,eAAe,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;QACxC,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;QACvC,eAAe,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;KACzC,CAAC,CACH;CACF,CAAC,CAAA"}
|
|
@@ -396,6 +396,10 @@ export declare const listPublicServicesContract: {
|
|
|
396
396
|
readonly path: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 500, undefined>]>;
|
|
397
397
|
readonly renderer: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["raw", "kustomize"], undefined>, undefined>;
|
|
398
398
|
}, undefined>], undefined>;
|
|
399
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
400
|
+
readonly type: import("valibot").LiteralSchema<"custom", undefined>;
|
|
401
|
+
readonly manifestId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").RegexAction<string, "Only lowercase letters, digits and hyphens are allowed">, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 64, undefined>]>;
|
|
402
|
+
readonly manifestPath: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
399
403
|
}, undefined>], undefined>, undefined>;
|
|
400
404
|
}, undefined>, undefined>;
|
|
401
405
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../src/routes/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAmD3E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAIF;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUnC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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uB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQnC,CAAA"}
|
|
@@ -116,6 +116,10 @@ export declare const createPublicServiceContract: {
|
|
|
116
116
|
readonly path: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 500, undefined>]>;
|
|
117
117
|
readonly renderer: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["raw", "kustomize"], undefined>, undefined>;
|
|
118
118
|
}, undefined>], undefined>;
|
|
119
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
120
|
+
readonly type: import("valibot").LiteralSchema<"custom", undefined>;
|
|
121
|
+
readonly manifestId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").RegexAction<string, "Only lowercase letters, digits and hyphens are allowed">, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 64, undefined>]>;
|
|
122
|
+
readonly manifestPath: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
119
123
|
}, undefined>], undefined>, undefined>;
|
|
120
124
|
}, undefined>;
|
|
121
125
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-board.d.ts","sourceRoot":"","sources":["../../src/routes/public-board.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAsC3E;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOnC,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"public-board.d.ts","sourceRoot":"","sources":["../../src/routes/public-board.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAsC3E;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOnC,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQvC,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQvC,CAAA;AAID;;;;GAIG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS3C,CAAA;AAED,0EAA0E;AAC1E,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS9C,CAAA;AAID,wFAAwF;AACxF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ3C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS5C,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS5C,CAAA"}
|
|
@@ -201,6 +201,84 @@ export declare const linkPublicRepoContract: {
|
|
|
201
201
|
} & {
|
|
202
202
|
readonly minScope: "admin";
|
|
203
203
|
};
|
|
204
|
+
/**
|
|
205
|
+
* Read ONE file from a repository this workspace has linked, at a ref.
|
|
206
|
+
*
|
|
207
|
+
* What it exists for is grading what a run actually COMMITTED, which nothing on this surface could
|
|
208
|
+
* answer: `GET /repos` lists rows, `/repos/available` answers reachability, and
|
|
209
|
+
* `GET /services/:id/spec` serves the one tree the platform understands. Everything else was the
|
|
210
|
+
* agent's own prose, so a caller wanting a real answer had to hold a second VCS credential.
|
|
211
|
+
*
|
|
212
|
+
* **`path` is a QUERY parameter, not the rest of the URL**, which is the one place this deliberately
|
|
213
|
+
* departs from the shape a provider's own API uses. A repo-relative path contains slashes, and a
|
|
214
|
+
* path SEGMENT cannot: OpenAPI 3 path templating does not admit them, so a `.../contents/{path}`
|
|
215
|
+
* would be unrepresentable in the spec the four SDK clients are generated from, and the router would
|
|
216
|
+
* match one segment and 404 everything nested. As a query value it needs one ordinary encoding and
|
|
217
|
+
* every generated client passes it without a special case.
|
|
218
|
+
*
|
|
219
|
+
* `ref` is a branch, tag or commit sha. Omitted, it is passed through omitted, so the PROVIDER
|
|
220
|
+
* resolves the repository's own default branch: the platform's recorded default may be a value it
|
|
221
|
+
* invented for a projection row that carries none, and pinning that would read a branch the
|
|
222
|
+
* repository need not have. The response then reports `ref: null` and the `sha` it did read.
|
|
223
|
+
*
|
|
224
|
+
* Five outcomes a caller branches on, and none of them are folded: `404` with
|
|
225
|
+
* `details.reason: 'repo_not_linked'` for a repository this workspace has not adopted, `404` with
|
|
226
|
+
* `'file_not_found'` for a path the ref does not hold, `422` with `'file_too_large'` for a file past
|
|
227
|
+
* `MAX_REPO_FILE_CHARS` (plus `size` and `limit`) or past the provider's own contents ceiling (plus
|
|
228
|
+
* `limit` alone, since nothing measured it), refused rather than truncated because a shortened
|
|
229
|
+
* answer reads exactly like a shorter file, `422` with `'file_not_text'` (plus `sha`) for bytes that
|
|
230
|
+
* are not UTF-8, and `503` when the deployment's VCS integration is unwired or the provider could
|
|
231
|
+
* not be reached, which is not evidence about the file.
|
|
232
|
+
*/
|
|
233
|
+
export declare const getPublicRepoFileContract: {
|
|
234
|
+
readonly method: "get";
|
|
235
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
236
|
+
readonly owner: v.StringSchema<undefined>;
|
|
237
|
+
readonly name: v.StringSchema<undefined>;
|
|
238
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
239
|
+
readonly pathResolver: ({ owner, name }: {
|
|
240
|
+
owner: string;
|
|
241
|
+
name: string;
|
|
242
|
+
}) => string;
|
|
243
|
+
readonly requestQuerySchema: v.ObjectSchema<{
|
|
244
|
+
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 1000, undefined>, v.CheckAction<string, "A path is relative to the repository root">, v.CheckAction<string, "No path segment may be '..'">]>;
|
|
245
|
+
readonly ref: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
246
|
+
}, undefined>;
|
|
247
|
+
readonly responsesByStatusCode: {
|
|
248
|
+
readonly '4xx': v.ObjectSchema<{
|
|
249
|
+
readonly error: v.ObjectSchema<{
|
|
250
|
+
readonly code: v.StringSchema<undefined>;
|
|
251
|
+
readonly message: v.StringSchema<undefined>;
|
|
252
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
253
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
254
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
255
|
+
readonly message: v.StringSchema<undefined>;
|
|
256
|
+
}, undefined>, undefined>, undefined>;
|
|
257
|
+
}, undefined>;
|
|
258
|
+
}, undefined>;
|
|
259
|
+
readonly '5xx': v.ObjectSchema<{
|
|
260
|
+
readonly error: v.ObjectSchema<{
|
|
261
|
+
readonly code: v.StringSchema<undefined>;
|
|
262
|
+
readonly message: v.StringSchema<undefined>;
|
|
263
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
264
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
265
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
266
|
+
readonly message: v.StringSchema<undefined>;
|
|
267
|
+
}, undefined>, undefined>, undefined>;
|
|
268
|
+
}, undefined>;
|
|
269
|
+
}, undefined>;
|
|
270
|
+
readonly 200: v.ObjectSchema<{
|
|
271
|
+
readonly owner: v.StringSchema<undefined>;
|
|
272
|
+
readonly name: v.StringSchema<undefined>;
|
|
273
|
+
readonly path: v.StringSchema<undefined>;
|
|
274
|
+
readonly ref: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
275
|
+
readonly sha: v.StringSchema<undefined>;
|
|
276
|
+
readonly content: v.StringSchema<undefined>;
|
|
277
|
+
}, undefined>;
|
|
278
|
+
};
|
|
279
|
+
} & {
|
|
280
|
+
readonly minScope: "admin";
|
|
281
|
+
};
|
|
204
282
|
/** Poll one bootstrap run. Idempotent, and the only way to learn a run's outcome. */
|
|
205
283
|
export declare const getPublicRepoBootstrapContract: {
|
|
206
284
|
readonly method: "get";
|
|
@@ -427,6 +505,63 @@ export declare const connectPublicEnvironmentContract: {
|
|
|
427
505
|
} & {
|
|
428
506
|
readonly minScope: "admin";
|
|
429
507
|
};
|
|
508
|
+
/**
|
|
509
|
+
* Every environment handler this workspace holds, with the secret KEYS each carries and no values.
|
|
510
|
+
*
|
|
511
|
+
* The half that was missing: handlers could be WRITTEN here and never read. A deployment that seeds
|
|
512
|
+
* them programmatically (the documented path for a multi-tenant Node deployment, and the one local
|
|
513
|
+
* mode takes) had no way for a headless caller to confirm the seed landed, so "the backend accepts
|
|
514
|
+
* our credential" and "this workspace has a handler for that backend" collapsed into one
|
|
515
|
+
* unanswerable question. They are different failures with different fixes.
|
|
516
|
+
*
|
|
517
|
+
* It reports every engine, including a `remote-custom` handler for a backend the deployment
|
|
518
|
+
* registered in code, which is why it does not reuse the connect call's own response shape: that one
|
|
519
|
+
* pins `engine: 'kubernetes'` truthfully for a write only ever made with it, and widening a shipped
|
|
520
|
+
* literal would retype a field released clients already narrow on.
|
|
521
|
+
*/
|
|
522
|
+
export declare const listPublicEnvironmentConnectionsContract: {
|
|
523
|
+
readonly method: "get";
|
|
524
|
+
readonly pathResolver: () => string;
|
|
525
|
+
readonly responsesByStatusCode: {
|
|
526
|
+
readonly '4xx': v.ObjectSchema<{
|
|
527
|
+
readonly error: v.ObjectSchema<{
|
|
528
|
+
readonly code: v.StringSchema<undefined>;
|
|
529
|
+
readonly message: v.StringSchema<undefined>;
|
|
530
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
531
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
532
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
533
|
+
readonly message: v.StringSchema<undefined>;
|
|
534
|
+
}, undefined>, undefined>, undefined>;
|
|
535
|
+
}, undefined>;
|
|
536
|
+
}, undefined>;
|
|
537
|
+
readonly '5xx': v.ObjectSchema<{
|
|
538
|
+
readonly error: v.ObjectSchema<{
|
|
539
|
+
readonly code: v.StringSchema<undefined>;
|
|
540
|
+
readonly message: v.StringSchema<undefined>;
|
|
541
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
542
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
543
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
544
|
+
readonly message: v.StringSchema<undefined>;
|
|
545
|
+
}, undefined>, undefined>, undefined>;
|
|
546
|
+
}, undefined>;
|
|
547
|
+
}, undefined>;
|
|
548
|
+
readonly 200: v.ObjectSchema<{
|
|
549
|
+
readonly connections: v.ArraySchema<v.ObjectSchema<{
|
|
550
|
+
readonly provisionType: v.StringSchema<undefined>;
|
|
551
|
+
readonly manifestId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
552
|
+
readonly acceptsManifestId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
553
|
+
readonly engine: v.StringSchema<undefined>;
|
|
554
|
+
readonly backendKind: v.StringSchema<undefined>;
|
|
555
|
+
readonly label: v.StringSchema<undefined>;
|
|
556
|
+
readonly endpoint: v.StringSchema<undefined>;
|
|
557
|
+
readonly secretKeys: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
558
|
+
readonly connectedAt: v.NumberSchema<undefined>;
|
|
559
|
+
}, undefined>, undefined>;
|
|
560
|
+
}, undefined>;
|
|
561
|
+
};
|
|
562
|
+
} & {
|
|
563
|
+
readonly minScope: "admin";
|
|
564
|
+
};
|
|
430
565
|
/**
|
|
431
566
|
* Patch a service: its authored fields, and where its per-run manifests live.
|
|
432
567
|
*
|
|
@@ -462,6 +597,10 @@ export declare const updatePublicServiceContract: {
|
|
|
462
597
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
463
598
|
readonly renderer: v.OptionalSchema<v.PicklistSchema<["raw", "kustomize"], undefined>, undefined>;
|
|
464
599
|
}, undefined>], undefined>;
|
|
600
|
+
}, undefined>, v.ObjectSchema<{
|
|
601
|
+
readonly type: v.LiteralSchema<"custom", undefined>;
|
|
602
|
+
readonly manifestId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "Only lowercase letters, digits and hyphens are allowed">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
|
|
603
|
+
readonly manifestPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
465
604
|
}, undefined>], undefined>, undefined>;
|
|
466
605
|
}, undefined>, v.CheckAction<{
|
|
467
606
|
title?: string | undefined;
|
|
@@ -479,6 +618,10 @@ export declare const updatePublicServiceContract: {
|
|
|
479
618
|
path: string;
|
|
480
619
|
renderer?: "kustomize" | "raw" | undefined;
|
|
481
620
|
};
|
|
621
|
+
} | {
|
|
622
|
+
type: "custom";
|
|
623
|
+
manifestId: string;
|
|
624
|
+
manifestPath?: string | undefined;
|
|
482
625
|
} | undefined;
|
|
483
626
|
}, "Supply at least one of title, description or provisioning.">]>;
|
|
484
627
|
readonly responsesByStatusCode: {
|
|
@@ -523,6 +666,10 @@ export declare const updatePublicServiceContract: {
|
|
|
523
666
|
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
524
667
|
readonly renderer: v.OptionalSchema<v.PicklistSchema<["raw", "kustomize"], undefined>, undefined>;
|
|
525
668
|
}, undefined>], undefined>;
|
|
669
|
+
}, undefined>, v.ObjectSchema<{
|
|
670
|
+
readonly type: v.LiteralSchema<"custom", undefined>;
|
|
671
|
+
readonly manifestId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "Only lowercase letters, digits and hyphens are allowed">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
|
|
672
|
+
readonly manifestPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
526
673
|
}, undefined>], undefined>, undefined>;
|
|
527
674
|
}, undefined>;
|
|
528
675
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-provisioning.d.ts","sourceRoot":"","sources":["../../src/routes/public-provisioning.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"public-provisioning.d.ts","sourceRoot":"","sources":["../../src/routes/public-provisioning.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAoD5B;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;CAOzC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO1C,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO1C,CAAA;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO1C,CAAA;AAID;;;;;;;GAOG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO7C,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQhD,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
import { defineApiContract } from '@toad-contracts/valibot';
|
|
3
|
-
import { connectPublicEnvironmentSchema, linkPublicRepoSchema, publicAvailableRepoListSchema, publicBootstrapJobSchema, publicBootstrapRepoSchema, publicEnvironmentConnectionTestSchema, publicEnvironmentConnectionViewSchema, publicModelPresetListSchema, publicRiskPolicyListSchema, publicTrackerWritebackSettingsSchema, publicVcsConnectionViewSchema, publicWiredModelListSchema, testPublicEnvironmentConnectionSchema, updatePublicServiceSchema, updatePublicTrackerWritebackSchema, } from '../public-provisioning.js';
|
|
2
|
+
import { defineApiContract, withObjectKeys } from '@toad-contracts/valibot';
|
|
3
|
+
import { connectPublicEnvironmentSchema, linkPublicRepoSchema, publicAvailableRepoListSchema, publicBootstrapJobSchema, publicBootstrapRepoSchema, publicEnvironmentConnectionTestSchema, publicEnvironmentConnectionViewSchema, publicEnvironmentHandlerListSchema, publicModelPresetListSchema, publicRepoFilePathSchema, publicRepoFileSchema, publicRiskPolicyListSchema, publicTrackerWritebackSettingsSchema, publicVcsConnectionViewSchema, publicWiredModelListSchema, testPublicEnvironmentConnectionSchema, updatePublicServiceSchema, updatePublicTrackerWritebackSchema, } from '../public-provisioning.js';
|
|
4
4
|
import { publicServiceSchema } from '../public-api.js';
|
|
5
5
|
import { publicRepoSchema } from '../public-board.js';
|
|
6
6
|
import { errorResponses, singleStringParam, withMinScope } from './_shared.js';
|
|
@@ -86,6 +86,45 @@ export const linkPublicRepoContract = withMinScope('admin', defineApiContract({
|
|
|
86
86
|
requestBodySchema: linkPublicRepoSchema,
|
|
87
87
|
responsesByStatusCode: { 200: publicRepoSchema, ...errorResponses },
|
|
88
88
|
}));
|
|
89
|
+
/**
|
|
90
|
+
* Read ONE file from a repository this workspace has linked, at a ref.
|
|
91
|
+
*
|
|
92
|
+
* What it exists for is grading what a run actually COMMITTED, which nothing on this surface could
|
|
93
|
+
* answer: `GET /repos` lists rows, `/repos/available` answers reachability, and
|
|
94
|
+
* `GET /services/:id/spec` serves the one tree the platform understands. Everything else was the
|
|
95
|
+
* agent's own prose, so a caller wanting a real answer had to hold a second VCS credential.
|
|
96
|
+
*
|
|
97
|
+
* **`path` is a QUERY parameter, not the rest of the URL**, which is the one place this deliberately
|
|
98
|
+
* departs from the shape a provider's own API uses. A repo-relative path contains slashes, and a
|
|
99
|
+
* path SEGMENT cannot: OpenAPI 3 path templating does not admit them, so a `.../contents/{path}`
|
|
100
|
+
* would be unrepresentable in the spec the four SDK clients are generated from, and the router would
|
|
101
|
+
* match one segment and 404 everything nested. As a query value it needs one ordinary encoding and
|
|
102
|
+
* every generated client passes it without a special case.
|
|
103
|
+
*
|
|
104
|
+
* `ref` is a branch, tag or commit sha. Omitted, it is passed through omitted, so the PROVIDER
|
|
105
|
+
* resolves the repository's own default branch: the platform's recorded default may be a value it
|
|
106
|
+
* invented for a projection row that carries none, and pinning that would read a branch the
|
|
107
|
+
* repository need not have. The response then reports `ref: null` and the `sha` it did read.
|
|
108
|
+
*
|
|
109
|
+
* Five outcomes a caller branches on, and none of them are folded: `404` with
|
|
110
|
+
* `details.reason: 'repo_not_linked'` for a repository this workspace has not adopted, `404` with
|
|
111
|
+
* `'file_not_found'` for a path the ref does not hold, `422` with `'file_too_large'` for a file past
|
|
112
|
+
* `MAX_REPO_FILE_CHARS` (plus `size` and `limit`) or past the provider's own contents ceiling (plus
|
|
113
|
+
* `limit` alone, since nothing measured it), refused rather than truncated because a shortened
|
|
114
|
+
* answer reads exactly like a shorter file, `422` with `'file_not_text'` (plus `sha`) for bytes that
|
|
115
|
+
* are not UTF-8, and `503` when the deployment's VCS integration is unwired or the provider could
|
|
116
|
+
* not be reached, which is not evidence about the file.
|
|
117
|
+
*/
|
|
118
|
+
export const getPublicRepoFileContract = withMinScope('admin', defineApiContract({
|
|
119
|
+
method: 'get',
|
|
120
|
+
requestPathParamsSchema: withObjectKeys(v.object({ owner: v.string(), name: v.string() })),
|
|
121
|
+
pathResolver: ({ owner, name }) => `/api/v1/repos/${owner}/${name}/contents`,
|
|
122
|
+
requestQuerySchema: v.object({
|
|
123
|
+
path: publicRepoFilePathSchema,
|
|
124
|
+
ref: v.optional(v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(255))),
|
|
125
|
+
}),
|
|
126
|
+
responsesByStatusCode: { 200: publicRepoFileSchema, ...errorResponses },
|
|
127
|
+
}));
|
|
89
128
|
/** Poll one bootstrap run. Idempotent, and the only way to learn a run's outcome. */
|
|
90
129
|
export const getPublicRepoBootstrapContract = withMinScope('admin', defineApiContract({
|
|
91
130
|
method: 'get',
|
|
@@ -122,6 +161,25 @@ export const connectPublicEnvironmentContract = withMinScope('admin', defineApiC
|
|
|
122
161
|
requestBodySchema: connectPublicEnvironmentSchema,
|
|
123
162
|
responsesByStatusCode: { 201: publicEnvironmentConnectionViewSchema, ...errorResponses },
|
|
124
163
|
}));
|
|
164
|
+
/**
|
|
165
|
+
* Every environment handler this workspace holds, with the secret KEYS each carries and no values.
|
|
166
|
+
*
|
|
167
|
+
* The half that was missing: handlers could be WRITTEN here and never read. A deployment that seeds
|
|
168
|
+
* them programmatically (the documented path for a multi-tenant Node deployment, and the one local
|
|
169
|
+
* mode takes) had no way for a headless caller to confirm the seed landed, so "the backend accepts
|
|
170
|
+
* our credential" and "this workspace has a handler for that backend" collapsed into one
|
|
171
|
+
* unanswerable question. They are different failures with different fixes.
|
|
172
|
+
*
|
|
173
|
+
* It reports every engine, including a `remote-custom` handler for a backend the deployment
|
|
174
|
+
* registered in code, which is why it does not reuse the connect call's own response shape: that one
|
|
175
|
+
* pins `engine: 'kubernetes'` truthfully for a write only ever made with it, and widening a shipped
|
|
176
|
+
* literal would retype a field released clients already narrow on.
|
|
177
|
+
*/
|
|
178
|
+
export const listPublicEnvironmentConnectionsContract = withMinScope('admin', defineApiContract({
|
|
179
|
+
method: 'get',
|
|
180
|
+
pathResolver: () => '/api/v1/environments/connections',
|
|
181
|
+
responsesByStatusCode: { 200: publicEnvironmentHandlerListSchema, ...errorResponses },
|
|
182
|
+
}));
|
|
125
183
|
// ---- a service's provisioning (the SOURCE half) -----------------------------
|
|
126
184
|
/**
|
|
127
185
|
* Patch a service: its authored fields, and where its per-run manifests live.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-provisioning.js","sourceRoot":"","sources":["../../src/routes/public-provisioning.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"public-provisioning.js","sourceRoot":"","sources":["../../src/routes/public-provisioning.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EACL,8BAA8B,EAC9B,oBAAoB,EACpB,6BAA6B,EAC7B,wBAAwB,EACxB,yBAAyB,EACzB,qCAAqC,EACrC,qCAAqC,EACrC,kCAAkC,EAClC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