@kindgi/sdk 0.1.4-rc.1 → 0.1.4-rc.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kindgi/sdk",
3
- "version": "0.1.4-rc.1",
3
+ "version": "0.1.4-rc.2",
4
4
  "description": "@kindgi/sdk — the authoring SDK for Kindgi™. Facade over the individual @kindgi/* packages + @kindgi/client. Unifies pack authoring (defineTool / defineCheck / defineAgent / defineFlow) and client callsites (createClient) behind three sub-paths: /define, /client, /types. Re-export facade; zero behavior.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -55,15 +55,15 @@
55
55
  "README.md"
56
56
  ],
57
57
  "dependencies": {
58
- "@kindgi/agents": "0.1.4-rc.1",
59
- "@kindgi/client": "0.1.4-rc.1",
60
- "@kindgi/crypto": "0.1.4-rc.1",
61
- "@kindgi/flow": "0.1.4-rc.1",
62
- "@kindgi/guardrails": "0.1.4-rc.1",
63
- "@kindgi/handler-runtime": "0.1.4-rc.1",
64
- "@kindgi/schema": "0.1.4-rc.1",
65
- "@kindgi/tools": "0.1.4-rc.1",
66
- "@kindgi/types": "0.1.4-rc.1"
58
+ "@kindgi/agents": "0.1.4-rc.2",
59
+ "@kindgi/client": "0.1.4-rc.2",
60
+ "@kindgi/crypto": "0.1.4-rc.2",
61
+ "@kindgi/flow": "0.1.4-rc.2",
62
+ "@kindgi/guardrails": "0.1.4-rc.2",
63
+ "@kindgi/handler-runtime": "0.1.4-rc.2",
64
+ "@kindgi/schema": "0.1.4-rc.2",
65
+ "@kindgi/tools": "0.1.4-rc.2",
66
+ "@kindgi/types": "0.1.4-rc.2"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "zod": "^4.0.0"
@@ -14,7 +14,7 @@ description: >
14
14
  primitive.
15
15
  type: core
16
16
  library: "@kindgi/sdk"
17
- version: "0.3.7"
17
+ version: "0.3.8"
18
18
  sdk_version: "0.0.0"
19
19
  pack_languages: [node]
20
20
  ---
@@ -193,7 +193,7 @@ const run = await kindgi.runs.start({
193
193
  step's `step.completed` entry in the flow's journal names its turn's run
194
194
  (`payload.output.runId`).
195
195
  - **What it cost:** `kindgi.cost.usage.query({ rootRunId: runId })`
196
- (`GET /v1/cost/records?rootRunId={runId}`): `.items`, one record per model
196
+ (`GET /v1/cost/records?rootRunId={runId}`): `.data`, one record per model
197
197
  call, with its `model`, `usage` (`promptTokens`, `completionTokens`) and
198
198
  `costUsd` (a number, US dollars), a flow's agent steps included. For one
199
199
  customer's spend, see below.