@openbkn/bkn-sdk 0.1.1-alpha.14 → 0.1.1-alpha.15

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.d.ts CHANGED
@@ -59,8 +59,8 @@ interface RawCallResult {
59
59
  }
60
60
 
61
61
  /**
62
- * Admin (operator) client — user-management + authorization. Mirrors
63
- * kweaver-admin. Reads and writes (org/user create/update/delete +
62
+ * Admin (operator) client — user-management + authorization.
63
+ * Reads and writes (org/user create/update/delete +
64
64
  * reset-password) implemented; org/user detail and writes go through ISFWeb
65
65
  * thrift where the REST routes are RegisterPrivate. Passed through as JSON.
66
66
  */
@@ -197,8 +197,8 @@ interface SendChatOptions {
197
197
  }
198
198
 
199
199
  /**
200
- * Agent client (agent-factory v3). Read side + published listing, mirroring
201
- * kweaver-sdk api/agent-list.ts. Responses passed through as parsed JSON.
200
+ * Agent client (agent-factory v3). Read side + published listing.
201
+ * Responses passed through as parsed JSON.
202
202
  * @deprecated The Decision Agent (agent-factory) surface is being phased out and
203
203
  * may be removed in a future release. Avoid building new integrations on it.
204
204
  */
@@ -311,7 +311,7 @@ declare function appKeys(ctx: RequestContext): {
311
311
 
312
312
  /**
313
313
  * Context-loader client over the agent-retrieval MCP endpoint (JSON-RPC).
314
- * Reimplemented slim from kweaver-sdk: initialize → session id →
314
+ * Slim implementation: initialize → session id →
315
315
  * notifications/initialized, then tools/call. Handles plain-JSON and
316
316
  * SSE (`data:`) response bodies. Per-process session cache (5 min TTL).
317
317
  */
@@ -352,7 +352,7 @@ interface TemplateArg {
352
352
 
353
353
  /**
354
354
  * Dataflow backend client (automation v2). Read endpoints (list/runs/logs) are
355
- * implemented from kweaver-sdk; trigger/create bodies are deferred until the
355
+ * implemented; trigger/create bodies are deferred until the
356
356
  * contract is verified on a live env. Responses passed through as parsed JSON.
357
357
  */
358
358
 
@@ -384,7 +384,7 @@ declare function dataflows(ctx: RequestContext): {
384
384
 
385
385
  /**
386
386
  * Knowledge-network backend client (ontology-manager + agent-retrieval).
387
- * Endpoints mirror kweaver-sdk; responses are passed through as parsed JSON
387
+ * Responses are passed through as parsed JSON
388
388
  * (shapes vary by backend version — validate at higher layers as needed).
389
389
  */
390
390
 
@@ -578,8 +578,8 @@ declare function models(ctx: RequestContext): {
578
578
  };
579
579
 
580
580
  /**
581
- * Vega-backend resource client (list/find/get/query/delete). Endpoints mirror
582
- * kweaver-sdk `api/resources.ts`. Responses passed through as parsed JSON.
581
+ * Vega-backend resource client (list/find/get/query/delete).
582
+ * Responses passed through as parsed JSON.
583
583
  */
584
584
 
585
585
  interface ListResourcesOptions {
@@ -739,8 +739,8 @@ interface DiagnoseReport {
739
739
  * agent, fetches the resulting trace, and checks each assertion. Deterministic
740
740
  * assertion kinds (contains, regex, tool-call count/order, latency) need no LLM;
741
741
  * `semantic_match` reuses the local-claude judge. Builder lifts cases from a
742
- * queries file (JSON). The diagnosis-report lift + YAML shards + redaction from
743
- * kweaver-sdk are deferred — see tech-debt.
742
+ * queries file (JSON). The diagnosis-report lift + YAML shards + redaction
743
+ * are deferred — see tech-debt.
744
744
  */
745
745
 
746
746
  type AssertionType = "contains" | "not_contains" | "regex" | "tool_call_count" | "tool_call_order" | "latency_ms" | "semantic_match";
package/dist/index.js CHANGED
@@ -19,7 +19,7 @@ import {
19
19
  toolboxes,
20
20
  trace,
21
21
  vega
22
- } from "./chunk-2GNQU4XH.js";
22
+ } from "./chunk-KF3J46WL.js";
23
23
  export {
24
24
  DEFAULT_BUSINESS_DOMAIN,
25
25
  DEFAULT_LIST_LIMIT,
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@openbkn/bkn-sdk",
3
- "version": "0.1.1-alpha.14",
3
+ "version": "0.1.1-alpha.15",
4
4
  "description": "Unified TypeScript SDK + CLI for the BKN (Business Knowledge Network) platform.",
5
5
  "type": "module",
6
- "license": "Apache-2.0",
6
+ "license": "SEE LICENSE IN LICENSE",
7
7
  "engines": {
8
8
  "node": ">=18"
9
9
  },