@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/cli.js
CHANGED
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
use,
|
|
38
38
|
whoami,
|
|
39
39
|
writePlatformConfig
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-RSX5YMFM.js";
|
|
41
41
|
|
|
42
42
|
// src/cli.ts
|
|
43
43
|
import { Command as Command17 } from "commander";
|
|
@@ -45,7 +45,7 @@ import { Command as Command17 } from "commander";
|
|
|
45
45
|
// package.json
|
|
46
46
|
var package_default = {
|
|
47
47
|
name: "@openbkn/bkn-sdk",
|
|
48
|
-
version: "0.1.1-alpha.
|
|
48
|
+
version: "0.1.1-alpha.13",
|
|
49
49
|
description: "Unified TypeScript SDK + CLI for the BKN (Business Knowledge Network) platform.",
|
|
50
50
|
type: "module",
|
|
51
51
|
license: "Apache-2.0",
|
|
@@ -973,7 +973,14 @@ function adminCommand() {
|
|
|
973
973
|
import { Command as Command3 } from "commander";
|
|
974
974
|
var int2 = (v) => Number.parseInt(v, 10);
|
|
975
975
|
function agentCommand() {
|
|
976
|
-
const cmd = new Command3("agent").description(
|
|
976
|
+
const cmd = new Command3("agent").description(
|
|
977
|
+
"[DEPRECATED] Decision Agent \u2014 CRUD, chat, sessions, publish (being phased out)"
|
|
978
|
+
);
|
|
979
|
+
cmd.hook("preAction", () => {
|
|
980
|
+
process.stderr.write(
|
|
981
|
+
"\u26A0\uFE0F `openbkn agent` is deprecated and may be removed in a future release.\n"
|
|
982
|
+
);
|
|
983
|
+
});
|
|
977
984
|
cmd.command("list").description("List published agents").option("--name <s>", "filter by name").option("--limit <n>", "page size", int2, DEFAULT_LIST_LIMIT).option("--offset <n>", "page offset", int2, 0).option("--category-id <id>", "filter by category").action(async (opts, cmd2) => {
|
|
978
985
|
const data = await clientFrom(cmd2).agents.list({
|
|
979
986
|
name: opts.name,
|