@cat-factory/sdk 0.18.0 → 0.18.1
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/http.d.ts +1 -1
- package/dist/http.js +1 -1
- package/dist/operations.generated.d.ts +1 -1
- package/dist/operations.generated.js +1 -1
- package/package.json +2 -2
package/dist/http.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export interface RequestSpec {
|
|
|
38
38
|
options: RequestOptions;
|
|
39
39
|
}
|
|
40
40
|
/** SDK version, stamped into `User-Agent`. Kept in step with package.json by `check:sdk`. */
|
|
41
|
-
export declare const SDK_VERSION = "0.18.
|
|
41
|
+
export declare const SDK_VERSION = "0.18.1";
|
|
42
42
|
/**
|
|
43
43
|
* Percent-encode a path parameter.
|
|
44
44
|
*
|
package/dist/http.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { CatFactoryConnectionError, CatFactoryDecodeError, CatFactoryError, CatFactoryTimeoutError, toApiError, } from './errors.js';
|
|
6
6
|
import { readEventStream } from './sse.js';
|
|
7
7
|
/** SDK version, stamped into `User-Agent`. Kept in step with package.json by `check:sdk`. */
|
|
8
|
-
export const SDK_VERSION = '0.18.
|
|
8
|
+
export const SDK_VERSION = '0.18.1';
|
|
9
9
|
/**
|
|
10
10
|
* Percent-encode a path parameter.
|
|
11
11
|
*
|
|
@@ -376,7 +376,7 @@ export declare class DecisionsResource {
|
|
|
376
376
|
incorporateClarity(runId: string, body: PublicIncorporate, options?: RequestOptions): Promise<PublicDecisionList>;
|
|
377
377
|
/**
|
|
378
378
|
* List a run's parked decisions
|
|
379
|
-
* Read what a run is currently asking a human:
|
|
379
|
+
* Read what a run is currently asking a human. Each entry names its `kind`, and every kind this surface can answer is listed: `requirements-review`, `clarity-review`, `brainstorm`, `interview`, `input-gate`, `approval-gate`, `judge`, `fork`, `agent-decision`, `pr-review`, `human-test`, `visual-confirmation`, `follow-ups`. Each carries the stable ids (item, approval, decision, finding) that its answering route addresses. `parked` reports only whether the run has STOPPED (`status` is `blocked`); it is not a precondition for `decisions` being non-empty, since a `follow-ups` entry is answerable while the run is still working, so poll this regardless of `parked`. An empty `decisions` beside a non-empty `unanswerable` means a wait no route here can settle (a person reviewing the pull request, a deployment-registered gate), each named with its reason and step.
|
|
380
380
|
* `GET /api/v1/runs/{runId}/decisions` — operation `listPublicRunDecisions`.
|
|
381
381
|
*/
|
|
382
382
|
list(runId: string, options?: RequestOptions): Promise<PublicDecisionList>;
|
|
@@ -617,7 +617,7 @@ export class DecisionsResource {
|
|
|
617
617
|
}
|
|
618
618
|
/**
|
|
619
619
|
* List a run's parked decisions
|
|
620
|
-
* Read what a run is currently asking a human:
|
|
620
|
+
* Read what a run is currently asking a human. Each entry names its `kind`, and every kind this surface can answer is listed: `requirements-review`, `clarity-review`, `brainstorm`, `interview`, `input-gate`, `approval-gate`, `judge`, `fork`, `agent-decision`, `pr-review`, `human-test`, `visual-confirmation`, `follow-ups`. Each carries the stable ids (item, approval, decision, finding) that its answering route addresses. `parked` reports only whether the run has STOPPED (`status` is `blocked`); it is not a precondition for `decisions` being non-empty, since a `follow-ups` entry is answerable while the run is still working, so poll this regardless of `parked`. An empty `decisions` beside a non-empty `unanswerable` means a wait no route here can settle (a person reviewing the pull request, a deployment-registered gate), each named with its reason and step.
|
|
621
621
|
* `GET /api/v1/runs/{runId}/decisions` — operation `listPublicRunDecisions`.
|
|
622
622
|
*/
|
|
623
623
|
list(runId, options = {}) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/sdk",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.1",
|
|
4
4
|
"description": "TypeScript/JavaScript client for the cat-factory public API (/api/v1): typed models and resource clients generated from the published OpenAPI spec, over a hand-written fetch transport with bearer auth, bounded retries, keyset auto-pagination and an SSE reader for the run streams.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api-client",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"typescript": "7.0.2",
|
|
36
36
|
"valibot": "^1.4.2",
|
|
37
37
|
"vitest": "^4.1.10",
|
|
38
|
-
"@cat-factory/contracts": "0.
|
|
38
|
+
"@cat-factory/contracts": "0.261.1"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=20"
|