@kindgi/client 0.1.4-rc.3 → 0.1.4-rc.5
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/index.cjs +1 -0
- package/dist/index.d.cts +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +1 -0
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -113,6 +113,7 @@ function classify(body, status) {
|
|
|
113
113
|
case "gate-policy-scope-changed":
|
|
114
114
|
case "gate-policy-scope-unpinned":
|
|
115
115
|
case "gate-policy-needs-pin":
|
|
116
|
+
case "gate-policy-descendant-unpinned":
|
|
116
117
|
return { code: "conflict", message, reason: code };
|
|
117
118
|
case "invalid-request":
|
|
118
119
|
case "validation-failed":
|
package/dist/index.d.cts
CHANGED
|
@@ -4675,6 +4675,10 @@ declare namespace Schemas {
|
|
|
4675
4675
|
* The segment path the run was started with (coarse to fine), which picks live agent versions. A child run has its parent's. Absent when there was none.
|
|
4676
4676
|
*/
|
|
4677
4677
|
segments?: Array<ScopeSegment>;
|
|
4678
|
+
/**
|
|
4679
|
+
* The W3C trace id of the request that started the run: the caller's (from its `traceparent`) or one the API minted. The runtime's records about the run carry it; `GET` responses answer `traceresponse` with each request's own. Absent for a run no request started, and on runs from before runs recorded it.
|
|
4680
|
+
*/
|
|
4681
|
+
traceId?: string;
|
|
4678
4682
|
/**
|
|
4679
4683
|
* Only in the response to `POST /v1/runs`, when the deployment issues public run tokens: a read-only token for this run (and its descendants) to hand to a browser, for `GET /v1/runs/{runId}/progress` and its stream.
|
|
4680
4684
|
*/
|
|
@@ -4805,6 +4809,10 @@ declare namespace Schemas {
|
|
|
4805
4809
|
* The segment path the run was started with (coarse to fine), which picks live agent versions. A child run has its parent's. Absent when there was none.
|
|
4806
4810
|
*/
|
|
4807
4811
|
segments?: Array<ScopeSegment>;
|
|
4812
|
+
/**
|
|
4813
|
+
* The W3C trace id of the request that started the run: the caller's (from its `traceparent`) or one the API minted. The runtime's records about the run carry it; `GET` responses answer `traceresponse` with each request's own. Absent for a run no request started, and on runs from before runs recorded it.
|
|
4814
|
+
*/
|
|
4815
|
+
traceId?: string;
|
|
4808
4816
|
/**
|
|
4809
4817
|
* Only in the response to `POST /v1/runs`, when the deployment issues public run tokens: a read-only token for this run (and its descendants) to hand to a browser, for `GET /v1/runs/{runId}/progress` and its stream.
|
|
4810
4818
|
*/
|
|
@@ -14929,6 +14937,12 @@ export interface Run {
|
|
|
14929
14937
|
readonly agent?: RunAgent;
|
|
14930
14938
|
/** The segment path the run was started with; a child run has its parent's. */
|
|
14931
14939
|
readonly segments?: readonly ScopeSegment[];
|
|
14940
|
+
/**
|
|
14941
|
+
* The W3C trace id of the request that started the run (yours, when you
|
|
14942
|
+
* sent a `traceparent`). Absent for a run no request started, and from
|
|
14943
|
+
* an older runtime.
|
|
14944
|
+
*/
|
|
14945
|
+
readonly traceId?: string;
|
|
14932
14946
|
}
|
|
14933
14947
|
/**
|
|
14934
14948
|
* What `runs.start` returns: the run, plus a public run token when the
|
package/dist/index.d.ts
CHANGED
|
@@ -4675,6 +4675,10 @@ declare namespace Schemas {
|
|
|
4675
4675
|
* The segment path the run was started with (coarse to fine), which picks live agent versions. A child run has its parent's. Absent when there was none.
|
|
4676
4676
|
*/
|
|
4677
4677
|
segments?: Array<ScopeSegment>;
|
|
4678
|
+
/**
|
|
4679
|
+
* The W3C trace id of the request that started the run: the caller's (from its `traceparent`) or one the API minted. The runtime's records about the run carry it; `GET` responses answer `traceresponse` with each request's own. Absent for a run no request started, and on runs from before runs recorded it.
|
|
4680
|
+
*/
|
|
4681
|
+
traceId?: string;
|
|
4678
4682
|
/**
|
|
4679
4683
|
* Only in the response to `POST /v1/runs`, when the deployment issues public run tokens: a read-only token for this run (and its descendants) to hand to a browser, for `GET /v1/runs/{runId}/progress` and its stream.
|
|
4680
4684
|
*/
|
|
@@ -4805,6 +4809,10 @@ declare namespace Schemas {
|
|
|
4805
4809
|
* The segment path the run was started with (coarse to fine), which picks live agent versions. A child run has its parent's. Absent when there was none.
|
|
4806
4810
|
*/
|
|
4807
4811
|
segments?: Array<ScopeSegment>;
|
|
4812
|
+
/**
|
|
4813
|
+
* The W3C trace id of the request that started the run: the caller's (from its `traceparent`) or one the API minted. The runtime's records about the run carry it; `GET` responses answer `traceresponse` with each request's own. Absent for a run no request started, and on runs from before runs recorded it.
|
|
4814
|
+
*/
|
|
4815
|
+
traceId?: string;
|
|
4808
4816
|
/**
|
|
4809
4817
|
* Only in the response to `POST /v1/runs`, when the deployment issues public run tokens: a read-only token for this run (and its descendants) to hand to a browser, for `GET /v1/runs/{runId}/progress` and its stream.
|
|
4810
4818
|
*/
|
|
@@ -14929,6 +14937,12 @@ export interface Run {
|
|
|
14929
14937
|
readonly agent?: RunAgent;
|
|
14930
14938
|
/** The segment path the run was started with; a child run has its parent's. */
|
|
14931
14939
|
readonly segments?: readonly ScopeSegment[];
|
|
14940
|
+
/**
|
|
14941
|
+
* The W3C trace id of the request that started the run (yours, when you
|
|
14942
|
+
* sent a `traceparent`). Absent for a run no request started, and from
|
|
14943
|
+
* an older runtime.
|
|
14944
|
+
*/
|
|
14945
|
+
readonly traceId?: string;
|
|
14932
14946
|
}
|
|
14933
14947
|
/**
|
|
14934
14948
|
* What `runs.start` returns: the run, plus a public run token when the
|
package/dist/index.js
CHANGED
|
@@ -111,6 +111,7 @@ function classify(body, status) {
|
|
|
111
111
|
case "gate-policy-scope-changed":
|
|
112
112
|
case "gate-policy-scope-unpinned":
|
|
113
113
|
case "gate-policy-needs-pin":
|
|
114
|
+
case "gate-policy-descendant-unpinned":
|
|
114
115
|
return { code: "conflict", message, reason: code };
|
|
115
116
|
case "invalid-request":
|
|
116
117
|
case "validation-failed":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kindgi/client",
|
|
3
|
-
"version": "0.1.4-rc.
|
|
3
|
+
"version": "0.1.4-rc.5",
|
|
4
4
|
"description": "TypeScript client SDK for Kindgi™ — the sovereign AI OS. Preview: wire-generated from openapi.json via typed-openapi, ergonomic hand-authored resource clients (Transport, KindgiApiError, SSE with Last-Event-Id resume).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"zod": "^4.6.5"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@kindgi/agents": "0.1.4-rc.
|
|
49
|
-
"@kindgi/api": "0.1.4-rc.
|
|
50
|
-
"@kindgi/flow": "0.1.4-rc.
|
|
51
|
-
"@kindgi/platform": "0.1.4-rc.
|
|
52
|
-
"@kindgi/runtime": "0.1.4-rc.
|
|
53
|
-
"@kindgi/types": "0.1.4-rc.
|
|
48
|
+
"@kindgi/agents": "0.1.4-rc.5",
|
|
49
|
+
"@kindgi/api": "0.1.4-rc.5",
|
|
50
|
+
"@kindgi/flow": "0.1.4-rc.5",
|
|
51
|
+
"@kindgi/platform": "0.1.4-rc.5",
|
|
52
|
+
"@kindgi/runtime": "0.1.4-rc.5",
|
|
53
|
+
"@kindgi/types": "0.1.4-rc.5",
|
|
54
54
|
"@types/node": "^22.10.5",
|
|
55
55
|
"dts-bundle-generator": "^9.5.1",
|
|
56
56
|
"tsup": "^8.5.1",
|