@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/LICENSE +132 -201
- package/README.md +34 -24
- package/README.zh.md +11 -10
- package/dist/{chunk-2GNQU4XH.js → chunk-KF3J46WL.js} +1 -1
- package/dist/chunk-KF3J46WL.js.map +1 -0
- package/dist/cli.js +4 -6
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +11 -11
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-2GNQU4XH.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-KF3J46WL.js";
|
|
41
41
|
|
|
42
42
|
// src/cli.ts
|
|
43
43
|
import { Command as Command17 } from "commander";
|
|
@@ -45,10 +45,10 @@ 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.15",
|
|
49
49
|
description: "Unified TypeScript SDK + CLI for the BKN (Business Knowledge Network) platform.",
|
|
50
50
|
type: "module",
|
|
51
|
-
license: "
|
|
51
|
+
license: "SEE LICENSE IN LICENSE",
|
|
52
52
|
engines: {
|
|
53
53
|
node: ">=18"
|
|
54
54
|
},
|
|
@@ -627,9 +627,7 @@ function authCommand() {
|
|
|
627
627
|
var int = (v) => Number.parseInt(v, 10);
|
|
628
628
|
var DEFAULT_RESET_PASSWORD = "openbkn";
|
|
629
629
|
function adminCommand() {
|
|
630
|
-
const admin = new Command2("admin").description(
|
|
631
|
-
"Operator CLI (kweaver-admin): org, user, role, models, audit"
|
|
632
|
-
);
|
|
630
|
+
const admin = new Command2("admin").description("Operator CLI: org, user, role, models, audit");
|
|
633
631
|
registerAuthLeaves(admin.command("auth").description("Operator authentication"));
|
|
634
632
|
const org = admin.command("org").description("Departments and org structure");
|
|
635
633
|
org.command("list").description("List departments").option("--role <r>", "role qualifier", "super_admin").option("--name <s>", "filter by name").option("--limit <n>", "page size", int, 100).option("--offset <n>", "page offset", int, 0).action(async (opts, cmd) => {
|