@kindgi/client 0.1.4-rc.0 → 0.1.4-rc.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/index.js CHANGED
@@ -107,6 +107,7 @@ function fromWire(body) {
107
107
  case "approval-not-decided":
108
108
  case "slug-conflict":
109
109
  case "project-default-already-exists":
110
+ case "registry-read-only":
110
111
  return { code: "conflict", message, reason: code };
111
112
  case "invalid-request":
112
113
  case "validation-failed":
@@ -1366,6 +1367,10 @@ function tryReadRevisionConflict(err) {
1366
1367
  }
1367
1368
 
1368
1369
  // src/resources/eval-runs.ts
1370
+ function comparisonOf(run) {
1371
+ const result = run.result;
1372
+ return run.kind === "judged" && result?.summary !== void 0 && Array.isArray(result.perCase) ? result : void 0;
1373
+ }
1369
1374
  function makeEvalRunsClient(transport) {
1370
1375
  const seg = (s) => encodeURIComponent(s);
1371
1376
  return {
@@ -4018,6 +4023,6 @@ function createClient(options) {
4018
4023
  };
4019
4024
  }
4020
4025
 
4021
- export { KindgiApiError, SseHttpError, createClient, followRun, fromWire, notImplementedInPreview, notYetWired, readSse, subscribeToRun, unwrapSseData };
4026
+ export { KindgiApiError, SseHttpError, comparisonOf, createClient, followRun, fromWire, notImplementedInPreview, notYetWired, readSse, subscribeToRun, unwrapSseData };
4022
4027
  //# sourceMappingURL=index.js.map
4023
4028
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kindgi/client",
3
- "version": "0.1.4-rc.0",
3
+ "version": "0.1.4-rc.1",
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.0",
49
- "@kindgi/api": "0.1.4-rc.0",
50
- "@kindgi/flow": "0.1.4-rc.0",
51
- "@kindgi/platform": "0.1.4-rc.0",
52
- "@kindgi/runtime": "0.1.4-rc.0",
53
- "@kindgi/types": "0.1.4-rc.0",
48
+ "@kindgi/agents": "0.1.4-rc.1",
49
+ "@kindgi/api": "0.1.4-rc.1",
50
+ "@kindgi/flow": "0.1.4-rc.1",
51
+ "@kindgi/platform": "0.1.4-rc.1",
52
+ "@kindgi/runtime": "0.1.4-rc.1",
53
+ "@kindgi/types": "0.1.4-rc.1",
54
54
  "@types/node": "^22.10.5",
55
55
  "dts-bundle-generator": "^9.5.1",
56
56
  "tsup": "^8.5.1",