@openbkn/bkn-sdk 0.1.1-alpha.11 → 0.1.1-alpha.13

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
@@ -199,6 +199,8 @@ interface SendChatOptions {
199
199
  /**
200
200
  * Agent client (agent-factory v3). Read side + published listing, mirroring
201
201
  * kweaver-sdk api/agent-list.ts. Responses passed through as parsed JSON.
202
+ * @deprecated The Decision Agent (agent-factory) surface is being phased out and
203
+ * may be removed in a future release. Avoid building new integrations on it.
202
204
  */
203
205
 
204
206
  interface ListAgentsOptions {
@@ -215,6 +217,11 @@ interface PagingOptions {
215
217
  name?: string;
216
218
  }
217
219
 
220
+ /**
221
+ * Decision Agent resource surface.
222
+ * @deprecated The Decision Agent (agent-factory) surface is being phased out and
223
+ * may be removed in a future release. Avoid building new integrations on it.
224
+ */
218
225
  declare function agents(ctx: RequestContext): {
219
226
  list: (opts?: ListAgentsOptions) => Promise<unknown>;
220
227
  get: (agentId: string) => Promise<unknown>;
@@ -260,6 +267,8 @@ interface ApiKey {
260
267
  id: string;
261
268
  key_id: string;
262
269
  name: string;
270
+ /** Masked preview for display, e.g. `bak_b3ff****b234` — safe to show in lists. */
271
+ masked: string;
263
272
  enabled: boolean;
264
273
  /** `null` = never expires. */
265
274
  expires_at: string | null;
@@ -952,6 +961,10 @@ interface BknClient {
952
961
  readonly kn: ReturnType<typeof kn>;
953
962
  readonly resource: ReturnType<typeof resources>;
954
963
  readonly dataflows: ReturnType<typeof dataflows>;
964
+ /**
965
+ * @deprecated Decision Agent (agent-factory) is being phased out and may be
966
+ * removed in a future release. Avoid building new integrations on it.
967
+ */
955
968
  readonly agents: ReturnType<typeof agents>;
956
969
  readonly context: ReturnType<typeof context>;
957
970
  readonly models: ReturnType<typeof models>;
package/dist/index.js CHANGED
@@ -19,7 +19,7 @@ import {
19
19
  toolboxes,
20
20
  trace,
21
21
  vega
22
- } from "./chunk-SEKM54NB.js";
22
+ } from "./chunk-RSX5YMFM.js";
23
23
  export {
24
24
  DEFAULT_BUSINESS_DOMAIN,
25
25
  DEFAULT_LIST_LIMIT,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbkn/bkn-sdk",
3
- "version": "0.1.1-alpha.11",
3
+ "version": "0.1.1-alpha.13",
4
4
  "description": "Unified TypeScript SDK + CLI for the BKN (Business Knowledge Network) platform.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",