@kindgi/client 0.1.4-rc.2 → 0.1.4-rc.4

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 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":
@@ -697,7 +698,8 @@ function makeApprovalsClient(transport) {
697
698
  ...filter?.requiredRole !== void 0 && { requiredRole: filter.requiredRole },
698
699
  ...filter?.createdAfter !== void 0 && {
699
700
  createdAfter: filter.createdAfter
700
- }
701
+ },
702
+ ...filter?.waitTokenIds !== void 0 && filter.waitTokenIds.length > 0 && { waitTokenId: filter.waitTokenIds }
701
703
  }
702
704
  });
703
705
  return listPage(page);
package/dist/index.d.cts CHANGED
@@ -12601,6 +12601,11 @@ export interface ApprovalFilter extends Omit<Filter<ApprovalStatus>, "status"> {
12601
12601
  readonly requiredRole?: ReviewerRole$1;
12602
12602
  /** ISO 8601 timestamp — return approvals created strictly after this. */
12603
12603
  readonly createdAfter?: Timestamp;
12604
+ /**
12605
+ * Only approvals linked to one of these run waits (an approval's
12606
+ * `waitTokenId`; a run's journal names its open waits). At most 50.
12607
+ */
12608
+ readonly waitTokenIds?: readonly string[];
12604
12609
  }
12605
12610
  export interface ReviewerFilter extends Filter {
12606
12611
  /** Filter reviewers by role class. */
package/dist/index.d.ts CHANGED
@@ -12601,6 +12601,11 @@ export interface ApprovalFilter extends Omit<Filter<ApprovalStatus>, "status"> {
12601
12601
  readonly requiredRole?: ReviewerRole$1;
12602
12602
  /** ISO 8601 timestamp — return approvals created strictly after this. */
12603
12603
  readonly createdAfter?: Timestamp;
12604
+ /**
12605
+ * Only approvals linked to one of these run waits (an approval's
12606
+ * `waitTokenId`; a run's journal names its open waits). At most 50.
12607
+ */
12608
+ readonly waitTokenIds?: readonly string[];
12604
12609
  }
12605
12610
  export interface ReviewerFilter extends Filter {
12606
12611
  /** Filter reviewers by role class. */
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":
@@ -695,7 +696,8 @@ function makeApprovalsClient(transport) {
695
696
  ...filter?.requiredRole !== void 0 && { requiredRole: filter.requiredRole },
696
697
  ...filter?.createdAfter !== void 0 && {
697
698
  createdAfter: filter.createdAfter
698
- }
699
+ },
700
+ ...filter?.waitTokenIds !== void 0 && filter.waitTokenIds.length > 0 && { waitTokenId: filter.waitTokenIds }
699
701
  }
700
702
  });
701
703
  return listPage(page);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kindgi/client",
3
- "version": "0.1.4-rc.2",
3
+ "version": "0.1.4-rc.4",
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.2",
49
- "@kindgi/api": "0.1.4-rc.2",
50
- "@kindgi/flow": "0.1.4-rc.2",
51
- "@kindgi/platform": "0.1.4-rc.2",
52
- "@kindgi/runtime": "0.1.4-rc.2",
53
- "@kindgi/types": "0.1.4-rc.2",
48
+ "@kindgi/agents": "0.1.4-rc.4",
49
+ "@kindgi/api": "0.1.4-rc.4",
50
+ "@kindgi/flow": "0.1.4-rc.4",
51
+ "@kindgi/platform": "0.1.4-rc.4",
52
+ "@kindgi/runtime": "0.1.4-rc.4",
53
+ "@kindgi/types": "0.1.4-rc.4",
54
54
  "@types/node": "^22.10.5",
55
55
  "dts-bundle-generator": "^9.5.1",
56
56
  "tsup": "^8.5.1",