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

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
@@ -320,6 +320,8 @@ interface SearchSchemaOptions {
320
320
  searchScope?: string[];
321
321
  maxConcepts?: number;
322
322
  }
323
+ /** Progressive KN-detail disclosure level: `summary` (skeleton + property names) | `full`. */
324
+ type DetailLevel = "summary" | "full";
323
325
 
324
326
  /** Context-loader resource surface (MCP over agent-retrieval). */
325
327
 
@@ -327,6 +329,9 @@ declare function context(ctx: RequestContext): {
327
329
  searchSchema: (knId: string, query: string, opts?: SearchSchemaOptions) => Promise<unknown>;
328
330
  queryObjectInstance: (knId: string, args: Record<string, unknown>) => Promise<unknown>;
329
331
  findSkills: (knId: string, objectTypeId: string, topK?: number) => Promise<unknown>;
332
+ knDetail: (knId: string, detailLevel?: DetailLevel) => Promise<unknown>;
333
+ objectTypes: (knId: string, ids: string[]) => Promise<unknown>;
334
+ relationTypes: (knId: string, ids: string[]) => Promise<unknown>;
330
335
  info: () => Promise<unknown>;
331
336
  tools: (knId: string) => Promise<unknown>;
332
337
  toolCall: (knId: string, name: string, args: Record<string, unknown>) => Promise<unknown>;
package/dist/index.js CHANGED
@@ -19,7 +19,7 @@ import {
19
19
  toolboxes,
20
20
  trace,
21
21
  vega
22
- } from "./chunk-KF3J46WL.js";
22
+ } from "./chunk-SH2KLES5.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.15",
3
+ "version": "0.1.1-alpha.16",
4
4
  "description": "Unified TypeScript SDK + CLI for the BKN (Business Knowledge Network) platform.",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -18,7 +18,7 @@
18
18
  "import": "./dist/index.js"
19
19
  }
20
20
  },
21
- "files": ["dist", "README.md", "README.zh.md", "LICENSE"],
21
+ "files": ["dist", "README.md", "README.zh.md", "LICENSE", "NOTICE"],
22
22
  "publishConfig": {
23
23
  "access": "public"
24
24
  },