@cat-factory/gatekeeper-bindings 0.9.0 → 0.10.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/README.md +21 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -1
- package/dist/session-types.generated.d.ts +12 -0
- package/dist/session-types.generated.d.ts.map +1 -0
- package/dist/session-types.generated.js +511 -0
- package/dist/session-types.generated.js.map +1 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -69,6 +69,12 @@ them independently is how one gets them backwards:
|
|
|
69
69
|
unannotated mutation counts as destructive and non-idempotent).
|
|
70
70
|
- `PUBLIC_API_SCOPE_LADDER`: the scope ranking itself, emitted from the spec's
|
|
71
71
|
`x-public-api-scopes`.
|
|
72
|
+
- `renderSessionTypes(request)`: the `.d.ts` an object-capability session serves as its TypeScript
|
|
73
|
+
types, composed from the generated `SESSION_METHOD_SIGNATURES` for exactly the operations a
|
|
74
|
+
policy granted. Per-grant rather than shipped whole, because a file naming the full surface would
|
|
75
|
+
promise methods the object does not have. It THROWS on a name it has no signature for: a silently
|
|
76
|
+
dropped method reads to an agent exactly like an operation the deployment does not serve, and the
|
|
77
|
+
two need opposite fixes.
|
|
72
78
|
|
|
73
79
|
The ladder helpers **throw on a scope they do not carry** rather than ranking it below `read`:
|
|
74
80
|
a deployment one release ahead of this package must read as version skew, never as a key with no
|
|
@@ -105,6 +111,21 @@ Two routes are deliberately absent from the table because they have no honest op
|
|
|
105
111
|
`GET /api/v1/openapi.json` (spec discovery) and `ALL /api/v1/mcp` (the hosted MCP endpoint). Both
|
|
106
112
|
gate at `read` on the server.
|
|
107
113
|
|
|
114
|
+
## What is generated
|
|
115
|
+
|
|
116
|
+
Two files, both by `pnpm gen:sdk` and both guarded against drift by `pnpm check:sdk`:
|
|
117
|
+
|
|
118
|
+
| File | What it carries |
|
|
119
|
+
| -------------------------------- | ----------------------------------------------------------------------------------------------------- |
|
|
120
|
+
| `src/bindings.generated.ts` | The operation table: scope floors, mutation and transport metadata, consequence hints, invoke thunks. |
|
|
121
|
+
| `src/session-types.generated.ts` | One TypeScript method signature per operation, for composing a granted session's `.d.ts`. |
|
|
122
|
+
|
|
123
|
+
The signatures carry fully typed ARGUMENTS (path parameters, query keys with their requiredness, a
|
|
124
|
+
body where the operation takes one) and an `unknown` result. That is deliberate rather than a gap:
|
|
125
|
+
a session relays the deployment's own decoded JSON, and the authority for those shapes is the
|
|
126
|
+
OpenAPI document at `GET /api/v1/openapi.json`, which every deployment serves. Inlining the model
|
|
127
|
+
tree would put a second copy of it inside every consumer's bundle, free to disagree with the first.
|
|
128
|
+
|
|
108
129
|
## Configuration and customization
|
|
109
130
|
|
|
110
131
|
Nothing in this package is configured or customized: it is generated data plus pure helpers, and
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type GatekeeperBinding, type PublicApiScope } from './bindings.generated.js';
|
|
2
2
|
export { GATEKEEPER_BINDINGS, PUBLIC_API_SCOPE_LADDER, TELEMETRY_BINDINGS, type GatekeeperBinding, type GatekeeperQueryParam, type PublicApiScope, type TelemetrySink, } from './bindings.generated.js';
|
|
3
|
+
export { SESSION_METHOD_SIGNATURES, type SessionMethodSignature, } from './session-types.generated.js';
|
|
3
4
|
/**
|
|
4
5
|
* Whether a key of scope `have` satisfies a floor of `need`. The ladder is inclusive: every rung
|
|
5
6
|
* can do everything below it, so this is a rank comparison over `PUBLIC_API_SCOPE_LADDER`, whose
|
|
@@ -38,4 +39,29 @@ export declare function bindingsWithinScope(scope: PublicApiScope): GatekeeperBi
|
|
|
38
39
|
* the caller reports rather than a thrown surprise.
|
|
39
40
|
*/
|
|
40
41
|
export declare function bindingByName(name: string): GatekeeperBinding | undefined;
|
|
42
|
+
/** What {@link renderSessionTypes} needs beyond the binding names. */
|
|
43
|
+
export interface SessionTypesRequest {
|
|
44
|
+
/** The interface name the rendered file exports, and the one a resource declares as its `tsType`. */
|
|
45
|
+
interfaceName: string;
|
|
46
|
+
/** The binding names the session actually carries, in the order they should be declared. */
|
|
47
|
+
bindings: readonly string[];
|
|
48
|
+
/**
|
|
49
|
+
* Declarations for members the session carries that are NOT bindings, each already indented and
|
|
50
|
+
* newline-terminated. A capability's reserved methods live one layer up, in whatever consumes
|
|
51
|
+
* this table, so they arrive as source rather than as a second list here that could disagree.
|
|
52
|
+
*/
|
|
53
|
+
extraMembers?: readonly string[];
|
|
54
|
+
/** Prose spliced into the file's own header, saying whose session this describes. */
|
|
55
|
+
preamble?: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Render the `.d.ts` an object-capability session serves as its TypeScript types.
|
|
59
|
+
*
|
|
60
|
+
* A session carries exactly what its policy granted, so the declaration a caller reads is composed
|
|
61
|
+
* per session rather than shipped whole: a file naming the full surface would promise methods the
|
|
62
|
+
* object does not have. Composition is the only step, and it is total: a name with no generated
|
|
63
|
+
* signature THROWS rather than being skipped, because a silently dropped method reads to an agent
|
|
64
|
+
* exactly like an operation this deployment does not serve, and the two need opposite fixes.
|
|
65
|
+
*/
|
|
66
|
+
export declare function renderSessionTypes(request: SessionTypesRequest): string;
|
|
41
67
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACpB,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACpB,MAAM,yBAAyB,CAAA;AAIhC,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,EAClB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EACL,yBAAyB,EACzB,KAAK,sBAAsB,GAC5B,MAAM,8BAA8B,CAAA;AAuBrC;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,cAAc,GAAG,OAAO,CAElF;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,iBAAiB,GAAG;IAC9D,WAAW,EAAE,OAAO,CAAA;IACpB,UAAU,EAAE,OAAO,CAAA;CACpB,CAKA;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,cAAc,GAAG,iBAAiB,EAAE,CAE9E;AAID;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS,CAEzE;AAMD,sEAAsE;AACtE,MAAM,WAAW,mBAAmB;IAClC,qGAAqG;IACrG,aAAa,EAAE,MAAM,CAAA;IACrB,4FAA4F;IAC5F,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAA;IAC3B;;;;OAIG;IACH,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAChC,qFAAqF;IACrF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,mBAAmB,GAAG,MAAM,CA0BvE"}
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
// credential-holding front-end ranks keys and bindings with. The table itself is generated
|
|
3
3
|
// (`bindings.generated.ts`); this module adds only what the spec cannot state.
|
|
4
4
|
import { GATEKEEPER_BINDINGS, PUBLIC_API_SCOPE_LADDER, } from './bindings.generated.js';
|
|
5
|
+
import { SESSION_METHOD_SIGNATURES } from './session-types.generated.js';
|
|
5
6
|
export { GATEKEEPER_BINDINGS, PUBLIC_API_SCOPE_LADDER, TELEMETRY_BINDINGS, } from './bindings.generated.js';
|
|
7
|
+
export { SESSION_METHOD_SIGNATURES, } from './session-types.generated.js';
|
|
6
8
|
/**
|
|
7
9
|
* Rank a rung on the ladder, REFUSING one the ladder does not carry.
|
|
8
10
|
*
|
|
@@ -68,4 +70,34 @@ const byName = new Map(GATEKEEPER_BINDINGS.map((binding) => [binding.name, bindi
|
|
|
68
70
|
export function bindingByName(name) {
|
|
69
71
|
return byName.get(name);
|
|
70
72
|
}
|
|
73
|
+
const signatureByName = new Map(SESSION_METHOD_SIGNATURES.map((signature) => [signature.name, signature]));
|
|
74
|
+
/**
|
|
75
|
+
* Render the `.d.ts` an object-capability session serves as its TypeScript types.
|
|
76
|
+
*
|
|
77
|
+
* A session carries exactly what its policy granted, so the declaration a caller reads is composed
|
|
78
|
+
* per session rather than shipped whole: a file naming the full surface would promise methods the
|
|
79
|
+
* object does not have. Composition is the only step, and it is total: a name with no generated
|
|
80
|
+
* signature THROWS rather than being skipped, because a silently dropped method reads to an agent
|
|
81
|
+
* exactly like an operation this deployment does not serve, and the two need opposite fixes.
|
|
82
|
+
*/
|
|
83
|
+
export function renderSessionTypes(request) {
|
|
84
|
+
const members = request.bindings.map((name) => {
|
|
85
|
+
const signature = signatureByName.get(name);
|
|
86
|
+
if (signature === undefined) {
|
|
87
|
+
throw new TypeError(`No session signature for binding '${name}'. The table this renders from is generated ` +
|
|
88
|
+
'from the same spec the bindings are, so a name reaching here that it does not carry ' +
|
|
89
|
+
'means the two are out of step: upgrade @cat-factory/gatekeeper-bindings.');
|
|
90
|
+
}
|
|
91
|
+
return `${signature.doc}${signature.signature}`;
|
|
92
|
+
});
|
|
93
|
+
const header = '// Generated by the cat-factory Gatekeeper from its own operation table. Do not edit.\n' +
|
|
94
|
+
'//\n' +
|
|
95
|
+
(request.preamble ? `${request.preamble}\n//\n` : '') +
|
|
96
|
+
"// Every method returns the deployment's decoded JSON, typed as `unknown`: the authority for\n" +
|
|
97
|
+
'// those shapes is the OpenAPI document at `GET /api/v1/openapi.json` on the paired\n' +
|
|
98
|
+
'// deployment, and a second copy inlined here would be free to disagree with it.\n';
|
|
99
|
+
return (`${header}\nexport interface ${request.interfaceName} {\n` +
|
|
100
|
+
[...(request.extraMembers ?? []), ...members].join('\n') +
|
|
101
|
+
'}\n');
|
|
102
|
+
}
|
|
71
103
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,0FAA0F;AAC1F,2FAA2F;AAC3F,+EAA+E;AAE/E,OAAO,EACL,mBAAmB,EACnB,uBAAuB,GAGxB,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,GAKnB,MAAM,yBAAyB,CAAA;AAEhC;;;;;;;;GAQG;AACH,SAAS,MAAM,CAAC,KAAqB;IACnC,MAAM,IAAI,GAAG,uBAAuB,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IACnD,IAAI,IAAI,GAAG,CAAC,EAAE,CAAC;QACb,MAAM,IAAI,SAAS,CACjB,6BAA6B,KAAK,wBAAwB;YACxD,GAAG,uBAAuB,CAAC,IAAI,CAAC,KAAK,CAAC,oDAAoD;YAC1F,oCAAoC,CACvC,CAAA;IACH,CAAC;IACD,OAAO,IAAI,CAAA;AACb,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,cAAc,CAAC,IAAoB,EAAE,IAAoB;IACvE,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,CAAA;AACrC,CAAC;AAED;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,kBAAkB,CAAC,OAA0B;IAI3D,OAAO;QACL,WAAW,EAAE,OAAO,CAAC,WAAW,EAAE,WAAW,IAAI,CAAC,OAAO,CAAC,QAAQ;QAClE,UAAU,EA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SAAS,GAAG,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAC3C,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;YAC5B,MAAM,IAAI,SAAS,CACjB,qCAAqC,IAAI,8CAA8C;gBACrF,sFAAsF;gBACtF,0EAA0E,CAC7E,CAAA;QACH,CAAC;QACD,OAAO,GAAG,SAAS,CAAC,GAAG,GAAG,SAAS,CAAC,SAAS,EAAE,CAAA;IACjD,CAAC,CAAC,CAAA;IAEF,MAAM,MAAM,GACV,yFAAyF;QACzF,MAAM;QACN,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;QACrD,gGAAgG;QAChG,uFAAuF;QACvF,oFAAoF,CAAA;IAEtF,OAAO,CACL,GAAG,MAAM,sBAAsB,OAAO,CAAC,aAAa,MAAM;QAC1D,CAAC,GAAG,CAAC,OAAO,CAAC,YAAY,IAAI,EAAE,CAAC,EAAE,GAAG,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QACxD,KAAK,CACN,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** One operation's session method, as the source lines a rendered `.d.ts` splices in. */
|
|
2
|
+
export interface SessionMethodSignature {
|
|
3
|
+
/** The binding name, which is also the method's own spelling. */
|
|
4
|
+
name: string;
|
|
5
|
+
/** The JSDoc block, indented and newline-terminated. */
|
|
6
|
+
doc: string;
|
|
7
|
+
/** The method signature, indented and newline-terminated. */
|
|
8
|
+
signature: string;
|
|
9
|
+
}
|
|
10
|
+
/** Every `/api/v1` operation's session method signature, in resource-group order. */
|
|
11
|
+
export declare const SESSION_METHOD_SIGNATURES: readonly SessionMethodSignature[];
|
|
12
|
+
//# sourceMappingURL=session-types.generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-types.generated.d.ts","sourceRoot":"","sources":["../src/session-types.generated.ts"],"names":[],"mappings":"AAcA,yFAAyF;AACzF,MAAM,WAAW,sBAAsB;IACrC,iEAAiE;IACjE,IAAI,EAAE,MAAM,CAAA;IACZ,wDAAwD;IACxD,GAAG,EAAE,MAAM,CAAA;IACX,6DAA6D;IAC7D,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,qFAAqF;AACrF,eAAO,MAAM,yBAAyB,EAAE,SAAS,sBAAsB,EA0ftE,CAAA"}
|
|
@@ -0,0 +1,511 @@
|
|
|
1
|
+
// GENERATED by `pnpm gen:sdk` from docs/openapi.json — DO NOT EDIT BY HAND.
|
|
2
|
+
// Regenerate after any change to the `/api/v1` contracts; `pnpm check:sdk` fails CI on drift.
|
|
3
|
+
/** Every `/api/v1` operation's session method signature, in resource-group order. */
|
|
4
|
+
export const SESSION_METHOD_SIGNATURES = [
|
|
5
|
+
{
|
|
6
|
+
name: 'jobs_cancel',
|
|
7
|
+
doc: ' /**\n * Cancel a job\n *\n * `POST /api/v1/jobs/{id}/cancel`, scope floor `write`.\n */\n',
|
|
8
|
+
signature: ' jobs_cancel(args: { id: string }): Promise<unknown>\n',
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
name: 'jobs_create',
|
|
12
|
+
doc: ' /**\n * Start a headless job\n *\n * `POST /api/v1/jobs`, scope floor `write`.\n */\n',
|
|
13
|
+
signature: ' jobs_create(args: { body: unknown }): Promise<unknown>\n',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
name: 'jobs_get',
|
|
17
|
+
doc: ' /**\n * Get a job\n *\n * `GET /api/v1/jobs/{id}`, scope floor `read`.\n */\n',
|
|
18
|
+
signature: ' jobs_get(args: { id: string }): Promise<unknown>\n',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: 'jobs_list',
|
|
22
|
+
doc: ' /**\n * List the workspace\'s jobs\n *\n * `GET /api/v1/jobs`, scope floor `read`.\n */\n',
|
|
23
|
+
signature: ' jobs_list(args?: { limit?: string | number | boolean; cursor?: string | number | boolean; status?: string | number | boolean; since?: string | number | boolean }): Promise<unknown>\n',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: 'jobs_stream',
|
|
27
|
+
doc: ' /**\n * Stream a job (SSE)\n *\n * `GET /api/v1/jobs/{id}/events`, scope floor `read`.\n * Result is stream, which a session call cannot carry: this operation is withheld from every tier.\n */\n',
|
|
28
|
+
signature: ' jobs_stream(args: { id: string }): Promise<unknown>\n',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: 'services_create',
|
|
32
|
+
doc: ' /**\n * Create a service\n *\n * `POST /api/v1/services`, scope floor `admin`.\n */\n',
|
|
33
|
+
signature: ' services_create(args?: { body?: unknown }): Promise<unknown>\n',
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: 'services_list',
|
|
37
|
+
doc: ' /**\n * List the workspace\'s services\n *\n * `GET /api/v1/services`, scope floor `read`.\n */\n',
|
|
38
|
+
signature: ' services_list(): Promise<unknown>\n',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'spec_get',
|
|
42
|
+
doc: ' /**\n * Get a service\'s in-repo specification\n *\n * `GET /api/v1/services/{serviceId}/spec`, scope floor `read`.\n */\n',
|
|
43
|
+
signature: ' spec_get(args: { serviceId: string }): Promise<unknown>\n',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'repos_list',
|
|
47
|
+
doc: ' /**\n * List the repositories a service can be created against\n *\n * `GET /api/v1/repos`, scope floor `read`.\n */\n',
|
|
48
|
+
signature: ' repos_list(): Promise<unknown>\n',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: 'tasks_add_dependency',
|
|
52
|
+
doc: ' /**\n * Declare that a task waits for another\n *\n * `POST /api/v1/tasks/{taskId}/dependencies`, scope floor `write`.\n */\n',
|
|
53
|
+
signature: ' tasks_add_dependency(args: { taskId: string; body: unknown }): Promise<unknown>\n',
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
name: 'tasks_attach_document',
|
|
57
|
+
doc: ' /**\n * Attach a document to a task\n *\n * `POST /api/v1/tasks/{taskId}/documents`, scope floor `write`.\n */\n',
|
|
58
|
+
signature: ' tasks_attach_document(args: { taskId: string; body: unknown }): Promise<unknown>\n',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: 'tasks_create',
|
|
62
|
+
doc: ' /**\n * Create a task under a service\n *\n * `POST /api/v1/services/{serviceId}/tasks`, scope floor `write`.\n */\n',
|
|
63
|
+
signature: ' tasks_create(args: { serviceId: string; body: unknown }): Promise<unknown>\n',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: 'tasks_delete',
|
|
67
|
+
doc: ' /**\n * Delete a task\n *\n * `DELETE /api/v1/tasks/{taskId}`, scope floor `admin`.\n */\n',
|
|
68
|
+
signature: ' tasks_delete(args: { taskId: string }): Promise<unknown>\n',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
name: 'tasks_detach_document',
|
|
72
|
+
doc: ' /**\n * Detach a document from a task\n *\n * `POST /api/v1/tasks/{taskId}/documents/detach`, scope floor `write`.\n */\n',
|
|
73
|
+
signature: ' tasks_detach_document(args: { taskId: string; body: unknown }): Promise<unknown>\n',
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: 'tasks_get',
|
|
77
|
+
doc: ' /**\n * Get a task\'s status\n *\n * `GET /api/v1/tasks/{taskId}`, scope floor `read`.\n */\n',
|
|
78
|
+
signature: ' tasks_get(args: { taskId: string }): Promise<unknown>\n',
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
name: 'tasks_get_run',
|
|
82
|
+
doc: ' /**\n * Get a task\'s run (rich projection)\n *\n * `GET /api/v1/tasks/{taskId}/run`, scope floor `read`.\n */\n',
|
|
83
|
+
signature: ' tasks_get_run(args: { taskId: string }): Promise<unknown>\n',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: 'tasks_list_by_service',
|
|
87
|
+
doc: ' /**\n * List a service\'s tasks\n *\n * `GET /api/v1/services/{serviceId}/tasks`, scope floor `read`.\n */\n',
|
|
88
|
+
signature: ' tasks_list_by_service(args: { serviceId: string; limit?: string | number | boolean; cursor?: string | number | boolean; status?: string | number | boolean }): Promise<unknown>\n',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: 'tasks_list_documents',
|
|
92
|
+
doc: ' /**\n * List a task\'s attached documents\n *\n * `GET /api/v1/tasks/{taskId}/documents`, scope floor `read`.\n */\n',
|
|
93
|
+
signature: ' tasks_list_documents(args: { taskId: string }): Promise<unknown>\n',
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
name: 'tasks_remove_dependency',
|
|
97
|
+
doc: ' /**\n * Drop a dependency edge\n *\n * `POST /api/v1/tasks/{taskId}/dependencies/remove`, scope floor `write`.\n */\n',
|
|
98
|
+
signature: ' tasks_remove_dependency(args: { taskId: string; body: unknown }): Promise<unknown>\n',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
name: 'tasks_retry',
|
|
102
|
+
doc: ' /**\n * Retry a task\'s failed run\n *\n * `POST /api/v1/tasks/{taskId}/retry`, scope floor `write`.\n */\n',
|
|
103
|
+
signature: ' tasks_retry(args: { taskId: string }): Promise<unknown>\n',
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: 'tasks_start',
|
|
107
|
+
doc: ' /**\n * Start (run) a task\n *\n * `POST /api/v1/tasks/{taskId}/start`, scope floor `write`.\n */\n',
|
|
108
|
+
signature: ' tasks_start(args: { taskId: string; body?: unknown }): Promise<unknown>\n',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
name: 'tasks_stop',
|
|
112
|
+
doc: ' /**\n * Stop a task\'s run\n *\n * `POST /api/v1/tasks/{taskId}/stop`, scope floor `write`.\n */\n',
|
|
113
|
+
signature: ' tasks_stop(args: { taskId: string }): Promise<unknown>\n',
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
name: 'tasks_stream',
|
|
117
|
+
doc: ' /**\n * Stream a task run (SSE)\n *\n * `GET /api/v1/tasks/{taskId}/events`, scope floor `read`.\n * Result is stream, which a session call cannot carry: this operation is withheld from every tier.\n */\n',
|
|
118
|
+
signature: ' tasks_stream(args: { taskId: string }): Promise<unknown>\n',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
name: 'tasks_update',
|
|
122
|
+
doc: ' /**\n * Edit a task\'s inputs\n *\n * `PATCH /api/v1/tasks/{taskId}`, scope floor `write`.\n */\n',
|
|
123
|
+
signature: ' tasks_update(args: { taskId: string; body?: unknown }): Promise<unknown>\n',
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
name: 'pipelines_list',
|
|
127
|
+
doc: ' /**\n * List the workspace\'s pipelines\n *\n * `GET /api/v1/pipelines`, scope floor `read`.\n */\n',
|
|
128
|
+
signature: ' pipelines_list(): Promise<unknown>\n',
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
name: 'task_types_list',
|
|
132
|
+
doc: ' /**\n * List the task types this workspace may create\n *\n * `GET /api/v1/task-types`, scope floor `read`.\n */\n',
|
|
133
|
+
signature: ' task_types_list(): Promise<unknown>\n',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
name: 'notifications_act',
|
|
137
|
+
doc: ' /**\n * Act on a notification\n *\n * `POST /api/v1/notifications/{id}/act`, scope floor `admin`.\n */\n',
|
|
138
|
+
signature: ' notifications_act(args: { id: string; body?: unknown }): Promise<unknown>\n',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
name: 'notifications_dismiss',
|
|
142
|
+
doc: ' /**\n * Dismiss a notification\n *\n * `POST /api/v1/notifications/{id}/dismiss`, scope floor `write`.\n */\n',
|
|
143
|
+
signature: ' notifications_dismiss(args: { id: string }): Promise<unknown>\n',
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
name: 'notifications_list',
|
|
147
|
+
doc: ' /**\n * List the workspace\'s open notifications\n *\n * `GET /api/v1/notifications`, scope floor `read`.\n */\n',
|
|
148
|
+
signature: ' notifications_list(): Promise<unknown>\n',
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
name: 'webhook_delete',
|
|
152
|
+
doc: ' /**\n * Remove the outbound webhook\n *\n * `DELETE /api/v1/notification-webhook`, scope floor `admin`.\n */\n',
|
|
153
|
+
signature: ' webhook_delete(): Promise<unknown>\n',
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
name: 'webhook_delete_named',
|
|
157
|
+
doc: ' /**\n * Remove one named outbound webhook\n *\n * `DELETE /api/v1/notification-webhooks/{webhookId}`, scope floor `admin`.\n */\n',
|
|
158
|
+
signature: ' webhook_delete_named(args: { webhookId: string }): Promise<unknown>\n',
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
name: 'webhook_get',
|
|
162
|
+
doc: ' /**\n * Read the workspace\'s outbound webhook\n *\n * `GET /api/v1/notification-webhook`, scope floor `admin`.\n */\n',
|
|
163
|
+
signature: ' webhook_get(): Promise<unknown>\n',
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
name: 'webhook_get_named',
|
|
167
|
+
doc: ' /**\n * Read one named outbound webhook\n *\n * `GET /api/v1/notification-webhooks/{webhookId}`, scope floor `admin`.\n */\n',
|
|
168
|
+
signature: ' webhook_get_named(args: { webhookId: string }): Promise<unknown>\n',
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
name: 'webhook_list',
|
|
172
|
+
doc: ' /**\n * List the workspace\'s outbound webhooks\n *\n * `GET /api/v1/notification-webhooks`, scope floor `admin`.\n */\n',
|
|
173
|
+
signature: ' webhook_list(): Promise<unknown>\n',
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
name: 'webhook_set',
|
|
177
|
+
doc: ' /**\n * Register or update the outbound webhook\n *\n * `PUT /api/v1/notification-webhook`, scope floor `admin`.\n */\n',
|
|
178
|
+
signature: ' webhook_set(args?: { body?: unknown }): Promise<unknown>\n',
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
name: 'webhook_set_named',
|
|
182
|
+
doc: ' /**\n * Register or update one named outbound webhook\n *\n * `PUT /api/v1/notification-webhooks/{webhookId}`, scope floor `admin`.\n */\n',
|
|
183
|
+
signature: ' webhook_set_named(args: { webhookId: string; body?: unknown }): Promise<unknown>\n',
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
name: 'usage_get',
|
|
187
|
+
doc: ' /**\n * Read the workspace\'s usage for the current period\n *\n * `GET /api/v1/usage`, scope floor `read`.\n */\n',
|
|
188
|
+
signature: ' usage_get(): Promise<unknown>\n',
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
name: 'usage_spend',
|
|
192
|
+
doc: ' /**\n * Break the workspace\'s spend down by repository, ticket, run or step kind\n *\n * `GET /api/v1/usage/spend`, scope floor `read`.\n */\n',
|
|
193
|
+
signature: ' usage_spend(args: { dimension: string | number | boolean; window?: string | number | boolean; limit?: string | number | boolean }): Promise<unknown>\n',
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
name: 'me_get',
|
|
197
|
+
doc: ' /**\n * Describe the calling key\n *\n * `GET /api/v1/me`, scope floor `read`.\n */\n',
|
|
198
|
+
signature: ' me_get(): Promise<unknown>\n',
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
name: 'decisions_answer_agent_decision',
|
|
202
|
+
doc: ' /**\n * Answer an agent-raised decision\n *\n * `POST /api/v1/runs/{runId}/decisions/questions/{decisionId}/answer`, scope floor `decide`.\n */\n',
|
|
203
|
+
signature: ' decisions_answer_agent_decision(args: { runId: string; decisionId: string; body: unknown }): Promise<unknown>\n',
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
name: 'decisions_answer_follow_up',
|
|
207
|
+
doc: ' /**\n * Answer a follow-up question\n *\n * `POST /api/v1/runs/{runId}/decisions/follow-ups/items/{itemId}/answer`, scope floor `decide`.\n */\n',
|
|
208
|
+
signature: ' decisions_answer_follow_up(args: { runId: string; itemId: string; body: unknown }): Promise<unknown>\n',
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
name: 'decisions_answer_interview_question',
|
|
212
|
+
doc: ' /**\n * Answer an interview question\n *\n * `POST /api/v1/runs/{runId}/decisions/interview/answer`, scope floor `decide`.\n */\n',
|
|
213
|
+
signature: ' decisions_answer_interview_question(args: { runId: string; body: unknown }): Promise<unknown>\n',
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
name: 'decisions_approve_step',
|
|
217
|
+
doc: ' /**\n * Approve a parked step\n *\n * `POST /api/v1/runs/{runId}/decisions/approvals/{approvalId}/approve`, scope floor `decide`.\n */\n',
|
|
218
|
+
signature: ' decisions_approve_step(args: { runId: string; approvalId: string; body?: unknown }): Promise<unknown>\n',
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
name: 'decisions_approve_visual_confirmation',
|
|
222
|
+
doc: ' /**\n * Approve a visual-confirmation gate\n *\n * `POST /api/v1/runs/{runId}/decisions/visual-confirmation/approve`, scope floor `decide`.\n */\n',
|
|
223
|
+
signature: ' decisions_approve_visual_confirmation(args: { runId: string }): Promise<unknown>\n',
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
name: 'decisions_challenge_pr_review_finding',
|
|
227
|
+
doc: ' /**\n * Challenge a PR review finding\n *\n * `POST /api/v1/runs/{runId}/decisions/pr-review/findings/{findingId}/challenge`, scope floor `decide`.\n */\n',
|
|
228
|
+
signature: ' decisions_challenge_pr_review_finding(args: { runId: string; findingId: string; body?: unknown }): Promise<unknown>\n',
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
name: 'decisions_choose_fork',
|
|
232
|
+
doc: ' /**\n * Choose an implementation approach\n *\n * `POST /api/v1/runs/{runId}/decisions/fork/choose`, scope floor `decide`.\n */\n',
|
|
233
|
+
signature: ' decisions_choose_fork(args: { runId: string; body?: unknown }): Promise<unknown>\n',
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
name: 'decisions_confirm_human_test',
|
|
237
|
+
doc: ' /**\n * Confirm a human-test gate\n *\n * `POST /api/v1/runs/{runId}/decisions/human-test/confirm`, scope floor `decide`.\n */\n',
|
|
238
|
+
signature: ' decisions_confirm_human_test(args: { runId: string }): Promise<unknown>\n',
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
name: 'decisions_continue_interview',
|
|
242
|
+
doc: ' /**\n * Continue a parked interview\n *\n * `POST /api/v1/runs/{runId}/decisions/interview/continue`, scope floor `decide`.\n */\n',
|
|
243
|
+
signature: ' decisions_continue_interview(args: { runId: string }): Promise<unknown>\n',
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
name: 'decisions_dismiss_follow_up',
|
|
247
|
+
doc: ' /**\n * Dismiss a follow-up item\n *\n * `POST /api/v1/runs/{runId}/decisions/follow-ups/items/{itemId}/dismiss`, scope floor `decide`.\n */\n',
|
|
248
|
+
signature: ' decisions_dismiss_follow_up(args: { runId: string; itemId: string }): Promise<unknown>\n',
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
name: 'decisions_dismiss_pr_review_finding',
|
|
252
|
+
doc: ' /**\n * Dismiss a PR review finding\n *\n * `POST /api/v1/runs/{runId}/decisions/pr-review/findings/{findingId}/dismiss`, scope floor `decide`.\n */\n',
|
|
253
|
+
signature: ' decisions_dismiss_pr_review_finding(args: { runId: string; findingId: string }): Promise<unknown>\n',
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
name: 'decisions_file_follow_up',
|
|
257
|
+
doc: ' /**\n * File a follow-up item as an issue\n *\n * `POST /api/v1/runs/{runId}/decisions/follow-ups/items/{itemId}/file`, scope floor `decide`.\n */\n',
|
|
258
|
+
signature: ' decisions_file_follow_up(args: { runId: string; itemId: string }): Promise<unknown>\n',
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
name: 'decisions_incorporate',
|
|
262
|
+
doc: ' /**\n * Incorporate the answers\n *\n * `POST /api/v1/runs/{runId}/decisions/requirements/incorporate`, scope floor `decide`.\n */\n',
|
|
263
|
+
signature: ' decisions_incorporate(args: { runId: string; body?: unknown }): Promise<unknown>\n',
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
name: 'decisions_incorporate_brainstorm',
|
|
267
|
+
doc: ' /**\n * Incorporate brainstorm picks\n *\n * `POST /api/v1/runs/{runId}/decisions/brainstorm/{stage}/incorporate`, scope floor `decide`.\n */\n',
|
|
268
|
+
signature: ' decisions_incorporate_brainstorm(args: { runId: string; stage: string; body?: unknown }): Promise<unknown>\n',
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
name: 'decisions_incorporate_clarity',
|
|
272
|
+
doc: ' /**\n * Incorporate clarity answers\n *\n * `POST /api/v1/runs/{runId}/decisions/clarity/incorporate`, scope floor `decide`.\n */\n',
|
|
273
|
+
signature: ' decisions_incorporate_clarity(args: { runId: string; body?: unknown }): Promise<unknown>\n',
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
name: 'decisions_list',
|
|
277
|
+
doc: ' /**\n * List a run\'s parked decisions\n *\n * `GET /api/v1/runs/{runId}/decisions`, scope floor `read`.\n */\n',
|
|
278
|
+
signature: ' decisions_list(args: { runId: string }): Promise<unknown>\n',
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
name: 'decisions_proceed',
|
|
282
|
+
doc: ' /**\n * Proceed with the current requirements\n *\n * `POST /api/v1/runs/{runId}/decisions/requirements/proceed`, scope floor `decide`.\n */\n',
|
|
283
|
+
signature: ' decisions_proceed(args: { runId: string }): Promise<unknown>\n',
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
name: 'decisions_proceed_brainstorm',
|
|
287
|
+
doc: ' /**\n * Proceed past a brainstorm\n *\n * `POST /api/v1/runs/{runId}/decisions/brainstorm/{stage}/proceed`, scope floor `decide`.\n */\n',
|
|
288
|
+
signature: ' decisions_proceed_brainstorm(args: { runId: string; stage: string }): Promise<unknown>\n',
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
name: 'decisions_proceed_clarity',
|
|
292
|
+
doc: ' /**\n * Proceed past the clarity review\n *\n * `POST /api/v1/runs/{runId}/decisions/clarity/proceed`, scope floor `decide`.\n */\n',
|
|
293
|
+
signature: ' decisions_proceed_clarity(args: { runId: string }): Promise<unknown>\n',
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
name: 'decisions_proceed_interview',
|
|
297
|
+
doc: ' /**\n * Proceed past a parked interview\n *\n * `POST /api/v1/runs/{runId}/decisions/interview/proceed`, scope floor `decide`.\n */\n',
|
|
298
|
+
signature: ' decisions_proceed_interview(args: { runId: string }): Promise<unknown>\n',
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
name: 'decisions_reject_step',
|
|
302
|
+
doc: ' /**\n * Reject a parked step\n *\n * `POST /api/v1/runs/{runId}/decisions/approvals/{approvalId}/reject`, scope floor `decide`.\n */\n',
|
|
303
|
+
signature: ' decisions_reject_step(args: { runId: string; approvalId: string; body?: unknown }): Promise<unknown>\n',
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
name: 'decisions_reply_to_brainstorm_option',
|
|
307
|
+
doc: ' /**\n * Respond to a brainstorm option\n *\n * `POST /api/v1/runs/{runId}/decisions/brainstorm/{stage}/options/{itemId}/reply`, scope floor `decide`.\n */\n',
|
|
308
|
+
signature: ' decisions_reply_to_brainstorm_option(args: { runId: string; stage: string; itemId: string; body: unknown }): Promise<unknown>\n',
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
name: 'decisions_reply_to_clarity_finding',
|
|
312
|
+
doc: ' /**\n * Answer a clarity (bug-triage) finding\n *\n * `POST /api/v1/runs/{runId}/decisions/clarity/findings/{itemId}/reply`, scope floor `decide`.\n */\n',
|
|
313
|
+
signature: ' decisions_reply_to_clarity_finding(args: { runId: string; itemId: string; body: unknown }): Promise<unknown>\n',
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
name: 'decisions_reply_to_finding',
|
|
317
|
+
doc: ' /**\n * Answer a review finding\n *\n * `POST /api/v1/runs/{runId}/decisions/requirements/findings/{itemId}/reply`, scope floor `decide`.\n */\n',
|
|
318
|
+
signature: ' decisions_reply_to_finding(args: { runId: string; itemId: string; body: unknown }): Promise<unknown>\n',
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
name: 'decisions_request_human_test_fix',
|
|
322
|
+
doc: ' /**\n * Request a fix from a human-test gate\n *\n * `POST /api/v1/runs/{runId}/decisions/human-test/request-fix`, scope floor `decide`.\n */\n',
|
|
323
|
+
signature: ' decisions_request_human_test_fix(args: { runId: string; body: unknown }): Promise<unknown>\n',
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
name: 'decisions_request_step_changes',
|
|
327
|
+
doc: ' /**\n * Request changes on a parked step\n *\n * `POST /api/v1/runs/{runId}/decisions/approvals/{approvalId}/request-changes`, scope floor `decide`.\n */\n',
|
|
328
|
+
signature: ' decisions_request_step_changes(args: { runId: string; approvalId: string; body: unknown }): Promise<unknown>\n',
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
name: 'decisions_request_visual_confirmation_fix',
|
|
332
|
+
doc: ' /**\n * Request a fix from a visual-confirmation gate\n *\n * `POST /api/v1/runs/{runId}/decisions/visual-confirmation/request-fix`, scope floor `decide`.\n */\n',
|
|
333
|
+
signature: ' decisions_request_visual_confirmation_fix(args: { runId: string; body: unknown }): Promise<unknown>\n',
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
name: 'decisions_re_review',
|
|
337
|
+
doc: ' /**\n * Re-review the incorporated document\n *\n * `POST /api/v1/runs/{runId}/decisions/requirements/re-review`, scope floor `decide`.\n */\n',
|
|
338
|
+
signature: ' decisions_re_review(args: { runId: string }): Promise<unknown>\n',
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
name: 'decisions_re_review_brainstorm',
|
|
342
|
+
doc: ' /**\n * Re-run a brainstorm pass\n *\n * `POST /api/v1/runs/{runId}/decisions/brainstorm/{stage}/re-review`, scope floor `decide`.\n */\n',
|
|
343
|
+
signature: ' decisions_re_review_brainstorm(args: { runId: string; stage: string }): Promise<unknown>\n',
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
name: 'decisions_re_review_clarity',
|
|
347
|
+
doc: ' /**\n * Re-triage the clarified report\n *\n * `POST /api/v1/runs/{runId}/decisions/clarity/re-review`, scope floor `decide`.\n */\n',
|
|
348
|
+
signature: ' decisions_re_review_clarity(args: { runId: string }): Promise<unknown>\n',
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
name: 'decisions_resolve_brainstorm_exceeded',
|
|
352
|
+
doc: ' /**\n * Resolve a brainstorm at its iteration cap\n *\n * `POST /api/v1/runs/{runId}/decisions/brainstorm/{stage}/resolve-exceeded`, scope floor `decide`.\n */\n',
|
|
353
|
+
signature: ' decisions_resolve_brainstorm_exceeded(args: { runId: string; stage: string; body: unknown }): Promise<unknown>\n',
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
name: 'decisions_resolve_clarity_exceeded',
|
|
357
|
+
doc: ' /**\n * Resolve a clarity review at its iteration cap\n *\n * `POST /api/v1/runs/{runId}/decisions/clarity/resolve-exceeded`, scope floor `decide`.\n */\n',
|
|
358
|
+
signature: ' decisions_resolve_clarity_exceeded(args: { runId: string; body: unknown }): Promise<unknown>\n',
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
name: 'decisions_resolve_exceeded',
|
|
362
|
+
doc: ' /**\n * Resolve a review at its iteration cap\n *\n * `POST /api/v1/runs/{runId}/decisions/requirements/resolve-exceeded`, scope floor `decide`.\n */\n',
|
|
363
|
+
signature: ' decisions_resolve_exceeded(args: { runId: string; body: unknown }): Promise<unknown>\n',
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
name: 'decisions_resolve_input_gate',
|
|
367
|
+
doc: ' /**\n * Resolve a run parked on the task\'s input check\n *\n * `POST /api/v1/runs/{runId}/decisions/input-gate/resolve`, scope floor `decide`.\n */\n',
|
|
368
|
+
signature: ' decisions_resolve_input_gate(args: { runId: string; body: unknown }): Promise<unknown>\n',
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
name: 'decisions_resolve_judge',
|
|
372
|
+
doc: ' /**\n * Resolve a parked judge verdict\n *\n * `POST /api/v1/runs/{runId}/decisions/judge/resolve`, scope floor `decide`.\n */\n',
|
|
373
|
+
signature: ' decisions_resolve_judge(args: { runId: string; body: unknown }): Promise<unknown>\n',
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
name: 'decisions_resolve_pr_review',
|
|
377
|
+
doc: ' /**\n * Resolve a parked PR deep review\n *\n * `POST /api/v1/runs/{runId}/decisions/pr-review/resolve`, scope floor `decide`.\n */\n',
|
|
378
|
+
signature: ' decisions_resolve_pr_review(args: { runId: string; body?: unknown }): Promise<unknown>\n',
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
name: 'decisions_resolve_step_exceeded',
|
|
382
|
+
doc: ' /**\n * Resolve a companion gate at its rework cap\n *\n * `POST /api/v1/runs/{runId}/decisions/approvals/{approvalId}/resolve-exceeded`, scope floor `decide`.\n */\n',
|
|
383
|
+
signature: ' decisions_resolve_step_exceeded(args: { runId: string; approvalId: string; body: unknown }): Promise<unknown>\n',
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
name: 'decisions_send_back_follow_up',
|
|
387
|
+
doc: ' /**\n * Send a follow-up item back to the Coder\n *\n * `POST /api/v1/runs/{runId}/decisions/follow-ups/items/{itemId}/send-back`, scope floor `decide`.\n */\n',
|
|
388
|
+
signature: ' decisions_send_back_follow_up(args: { runId: string; itemId: string }): Promise<unknown>\n',
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
name: 'decisions_set_brainstorm_option_status',
|
|
392
|
+
doc: ' /**\n * Dismiss or reopen a brainstorm option\n *\n * `PATCH /api/v1/runs/{runId}/decisions/brainstorm/{stage}/options/{itemId}`, scope floor `decide`.\n */\n',
|
|
393
|
+
signature: ' decisions_set_brainstorm_option_status(args: { runId: string; stage: string; itemId: string; body: unknown }): Promise<unknown>\n',
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
name: 'decisions_set_clarity_finding_status',
|
|
397
|
+
doc: ' /**\n * Dismiss or reopen a clarity finding\n *\n * `PATCH /api/v1/runs/{runId}/decisions/clarity/findings/{itemId}`, scope floor `decide`.\n */\n',
|
|
398
|
+
signature: ' decisions_set_clarity_finding_status(args: { runId: string; itemId: string; body: unknown }): Promise<unknown>\n',
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
name: 'decisions_set_finding_status',
|
|
402
|
+
doc: ' /**\n * Dismiss or reopen a finding\n *\n * `PATCH /api/v1/runs/{runId}/decisions/requirements/findings/{itemId}`, scope floor `decide`.\n */\n',
|
|
403
|
+
signature: ' decisions_set_finding_status(args: { runId: string; itemId: string; body: unknown }): Promise<unknown>\n',
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
name: 'debug_get_agent_context',
|
|
407
|
+
doc: ' /**\n * Get one agent-context snapshot\n *\n * `GET /api/v1/debug/agent-context/{snapshotId}`, scope floor `read`.\n */\n',
|
|
408
|
+
signature: ' debug_get_agent_context(args: { snapshotId: string; bodyChars?: string | number | boolean; bodyOffset?: string | number | boolean }): Promise<unknown>\n',
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
name: 'debug_get_llm_call',
|
|
412
|
+
doc: ' /**\n * Get one LLM call\n *\n * `GET /api/v1/debug/llm-calls/{callId}`, scope floor `read`.\n */\n',
|
|
413
|
+
signature: ' debug_get_llm_call(args: { callId: string; bodyChars?: string | number | boolean; bodyOffset?: string | number | boolean; view?: string | number | boolean }): Promise<unknown>\n',
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
name: 'debug_get_llm_export',
|
|
417
|
+
doc: ' /**\n * Export a run\'s model activity as one bundle\n *\n * `GET /api/v1/debug/runs/{runId}/llm-export`, scope floor `read`.\n */\n',
|
|
418
|
+
signature: ' debug_get_llm_export(args: { runId: string; limit?: string | number | boolean; order?: string | number | boolean; bodyChars?: string | number | boolean }): Promise<unknown>\n',
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
name: 'debug_get_run',
|
|
422
|
+
doc: ' /**\n * Get a run\'s diagnostic map\n *\n * `GET /api/v1/debug/runs/{runId}`, scope floor `read`.\n */\n',
|
|
423
|
+
signature: ' debug_get_run(args: { runId: string }): Promise<unknown>\n',
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
name: 'debug_list_agent_context',
|
|
427
|
+
doc: ' /**\n * List a run\'s agent-context dispatches\n *\n * `GET /api/v1/debug/runs/{runId}/agent-context`, scope floor `read`.\n */\n',
|
|
428
|
+
signature: ' debug_list_agent_context(args: { runId: string; stepIndex?: string | number | boolean; limit?: string | number | boolean; cursor?: string | number | boolean }): Promise<unknown>\n',
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
name: 'debug_list_llm_calls',
|
|
432
|
+
doc: ' /**\n * List a run\'s LLM calls\n *\n * `GET /api/v1/debug/runs/{runId}/llm-calls`, scope floor `read`.\n */\n',
|
|
433
|
+
signature: ' debug_list_llm_calls(args: { runId: string; agentKind?: string | number | boolean; phase?: string | number | boolean; outcome?: string | number | boolean; contains?: string | number | boolean; order?: string | number | boolean; limit?: string | number | boolean; cursor?: string | number | boolean; bodyChars?: string | number | boolean }): Promise<unknown>\n',
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
name: 'debug_list_logs',
|
|
437
|
+
doc: ' /**\n * List a run\'s infrastructure log\n *\n * `GET /api/v1/debug/runs/{runId}/logs`, scope floor `read`.\n */\n',
|
|
438
|
+
signature: ' debug_list_logs(args: { runId: string; limit?: string | number | boolean; cursor?: string | number | boolean }): Promise<unknown>\n',
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
name: 'debug_list_runs',
|
|
442
|
+
doc: ' /**\n * List the workspace\'s runs\n *\n * `GET /api/v1/debug/runs`, scope floor `read`.\n */\n',
|
|
443
|
+
signature: ' debug_list_runs(args?: { status?: string | number | boolean; since?: string | number | boolean; limit?: string | number | boolean; cursor?: string | number | boolean }): Promise<unknown>\n',
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
name: 'debug_list_search_queries',
|
|
447
|
+
doc: ' /**\n * List a run\'s web searches\n *\n * `GET /api/v1/debug/runs/{runId}/search-queries`, scope floor `read`.\n */\n',
|
|
448
|
+
signature: ' debug_list_search_queries(args: { runId: string; limit?: string | number | boolean; cursor?: string | number | boolean }): Promise<unknown>\n',
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
name: 'debug_list_tool_calls',
|
|
452
|
+
doc: ' /**\n * List a run\'s tool calls\n *\n * `GET /api/v1/debug/runs/{runId}/tool-calls`, scope floor `read`.\n */\n',
|
|
453
|
+
signature: ' debug_list_tool_calls(args: { runId: string; limit?: string | number | boolean; cursor?: string | number | boolean; jobId?: string | number | boolean; order?: string | number | boolean; outcome?: string | number | boolean }): Promise<unknown>\n',
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
name: 'evidence_download_artifact',
|
|
457
|
+
doc: ' /**\n * Download an artifact\'s bytes\n *\n * `GET /api/v1/artifacts/{artifactId}/blob`, scope floor `read`.\n * Result is binary, which a session call cannot carry: this operation is withheld from every tier.\n */\n',
|
|
458
|
+
signature: ' evidence_download_artifact(args: { artifactId: string }): Promise<unknown>\n',
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
name: 'evidence_get_outcome',
|
|
462
|
+
doc: ' /**\n * Get a run\'s outcome summary\n *\n * `GET /api/v1/runs/{runId}/outcome`, scope floor `read`.\n */\n',
|
|
463
|
+
signature: ' evidence_get_outcome(args: { runId: string }): Promise<unknown>\n',
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
name: 'evidence_get_report',
|
|
467
|
+
doc: ' /**\n * Get a run\'s verification report\n *\n * `GET /api/v1/runs/{runId}/report`, scope floor `read`.\n */\n',
|
|
468
|
+
signature: ' evidence_get_report(args: { runId: string }): Promise<unknown>\n',
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
name: 'evidence_list_artifacts',
|
|
472
|
+
doc: ' /**\n * List a run\'s captured artifacts\n *\n * `GET /api/v1/runs/{runId}/artifacts`, scope floor `read`.\n */\n',
|
|
473
|
+
signature: ' evidence_list_artifacts(args: { runId: string }): Promise<unknown>\n',
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
name: 'merge_records_get',
|
|
477
|
+
doc: ' /**\n * Get one merge record\n *\n * `GET /api/v1/merge-records/{recordId}`, scope floor `read`.\n */\n',
|
|
478
|
+
signature: ' merge_records_get(args: { recordId: string }): Promise<unknown>\n',
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
name: 'merge_records_get_for_run',
|
|
482
|
+
doc: ' /**\n * Get the merge decision a run left behind\n *\n * `GET /api/v1/runs/{runId}/merge-record`, scope floor `read`.\n */\n',
|
|
483
|
+
signature: ' merge_records_get_for_run(args: { runId: string }): Promise<unknown>\n',
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
name: 'merge_records_list_rollups',
|
|
487
|
+
doc: ' /**\n * List the per-change-class merge rollups\n *\n * `GET /api/v1/merge-records/rollups`, scope floor `read`.\n */\n',
|
|
488
|
+
signature: ' merge_records_list_rollups(): Promise<unknown>\n',
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
name: 'merge_records_tag_effort',
|
|
492
|
+
doc: ' /**\n * Tag the reviewer effort a merge took\n *\n * `POST /api/v1/merge-records/{recordId}/effort`, scope floor `write`.\n */\n',
|
|
493
|
+
signature: ' merge_records_tag_effort(args: { recordId: string; body: unknown }): Promise<unknown>\n',
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
name: 'keys_create',
|
|
497
|
+
doc: ' /**\n * Provision an API key\n *\n * `POST /api/v1/keys`, scope floor `admin`.\n */\n',
|
|
498
|
+
signature: ' keys_create(args: { body: unknown }): Promise<unknown>\n',
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
name: 'keys_list',
|
|
502
|
+
doc: ' /**\n * List the workspace\'s API keys\n *\n * `GET /api/v1/keys`, scope floor `admin`.\n */\n',
|
|
503
|
+
signature: ' keys_list(): Promise<unknown>\n',
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
name: 'keys_revoke',
|
|
507
|
+
doc: ' /**\n * Revoke an API key\n *\n * `DELETE /api/v1/keys/{keyId}`, scope floor `admin`.\n */\n',
|
|
508
|
+
signature: ' keys_revoke(args: { keyId: string }): Promise<unknown>\n',
|
|
509
|
+
},
|
|
510
|
+
];
|
|
511
|
+
//# sourceMappingURL=session-types.generated.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-types.generated.js","sourceRoot":"","sources":["../src/session-types.generated.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,8FAA8F;AAuB9F,qFAAqF;AACrF,MAAM,CAAC,MAAM,yBAAyB,GAAsC;IAC1E;QACE,IAAI,EAAE,aAAa;QACnB,GAAG,EAAE,qGAAqG;QAC1G,SAAS,EAAE,yDAAyD;KACrE;IACD;QACE,IAAI,EAAE,aAAa;QACnB,GAAG,EAAE,iGAAiG;QACtG,SAAS,EAAE,4DAA4D;KACxE;IACD;QACE,IAAI,EAAE,UAAU;QAChB,GAAG,EAAE,yFAAyF;QAC9F,SAAS,EAAE,sDAAsD;KAClE;IACD;QACE,IAAI,EAAE,WAAW;QACjB,GAAG,EAAE,qGAAqG;QAC1G,SAAS,EAAE,0LAA0L;KACtM;IACD;QACE,IAAI,EAAE,aAAa;QACnB,GAAG,EAAE,gNAAgN;QACrN,SAAS,EAAE,yDAAyD;KACrE;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,iGAAiG;QACtG,SAAS,EA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@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/gatekeeper-bindings",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Policy-annotated operation table for the cat-factory public API (/api/v1): per-operation scope floors, mutation and transport metadata, and invoke thunks over @cat-factory/sdk, generated from the same OpenAPI spec the SDKs are. Built for credential-holding front-ends such as a Cloudflare OS Gatekeeper.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cat-factory",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@cat-factory/sdk": "0.28.
|
|
34
|
+
"@cat-factory/sdk": "0.28.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@types/node": "^26.
|
|
37
|
+
"@types/node": "^26.2.0",
|
|
38
38
|
"typescript": "7.0.2",
|
|
39
39
|
"vitest": "^4.1.10"
|
|
40
40
|
},
|