@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/{chunk-SEKM54NB.js → chunk-RSX5YMFM.js} +1 -1
- package/dist/chunk-RSX5YMFM.js.map +1 -0
- package/dist/cli.js +10 -3
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +13 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-SEKM54NB.js.map +0 -1
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
package/package.json
CHANGED