skillwiki 0.10.98 → 0.10.102

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.
@@ -67,7 +67,8 @@ var CONFIG_KEYS = [
67
67
  "BACKUP_ACCESS_KEY_ID",
68
68
  "BACKUP_SECRET_ACCESS_KEY"
69
69
  ];
70
- var _whitelist = new Set(CONFIG_KEYS);
70
+ var MCP_AUTH_KEYS = ["SKILLWIKI_MCP_TOKEN", "SKILLWIKI_MCP_URL"];
71
+ var _whitelist = /* @__PURE__ */ new Set([...CONFIG_KEYS, ...MCP_AUTH_KEYS]);
71
72
  var PROFILE_PATH_RE = /^WIKI_([A-Z][A-Z0-9_]{0,31})_PATH$/;
72
73
  var PROFILE_LANG_RE = /^WIKI_([A-Z][A-Z0-9_]{0,31})_LANG$/;
73
74
  var PROFILE_DEFAULT_RE = /^WIKI_DEFAULT$/;
@@ -3332,6 +3333,7 @@ function buildCliSurface() {
3332
3333
  program.command("config");
3333
3334
  program.command("health").option("--wiki <name>").option("--sync <mode>").option("--no-fail").option("--out <path>").option("--examples <n>");
3334
3335
  program.command("doctor").option("--check-snapshotter").option("--check-mcp");
3336
+ program.command("connect").option("--from-file <path>").option("--from-stdin").option("--dry-run").option("--force");
3335
3337
  program.command("status").option("--wiki <name>");
3336
3338
  program.command("copy-status").option("--wiki <name>");
3337
3339
  program.command("archive").option("--wiki <name>").option("--cascade").option("--apply").option("--approve <token>").option("--remote <remote>").option("--remote-delete").option("--max-remote-deletes <n>");
@@ -3439,7 +3441,7 @@ function buildCliSurface() {
3439
3441
  fleetCmd.command("context").option("--file <path>").option("--host-id <id>");
3440
3442
  fleetCmd.command("health").option("--file <path>").option("--host-id <id>").option("--json");
3441
3443
  const mcpAuth = program.commands.find((c) => c.name() === "mcp-auth");
3442
- mcpAuth.command("issue-host").requiredOption("--host-id <id>").option("--map <path>").option("--write");
3444
+ mcpAuth.command("issue-host").requiredOption("--host-id <id>").option("--map <path>").option("--allowed-vaults <ids>").option("--write");
3443
3445
  const surface = /* @__PURE__ */ new Map();
3444
3446
  const rootFlags = new Set(program.options.map((o) => o.long ?? o.short).filter((f) => f != null));
3445
3447
  function walk(cmd, prefix, parentFlags) {