skillwiki 0.10.100 → 0.10.103
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-3QT3OFAL.js → chunk-2BPOEEMW.js} +321 -192
- package/dist/{chunk-B4QTKCEK.js → chunk-PVIOU7BN.js} +7 -2
- package/dist/cli.js +579 -289
- package/dist/{managed-write-preflight-32523BPV.js → managed-write-preflight-ATDFVLJV.js} +1 -1
- package/dist/skillwiki-mcp.js +2 -2
- package/package.json +1 -1
- package/skills/.claude-plugin/plugin.json +2 -2
- package/skills/.codex-plugin/plugin.json +3 -3
- package/skills/.cursor-plugin/plugin.json +2 -2
- package/skills/README.md +2 -2
- package/skills/package.json +2 -2
- package/skills/skills/skillwiki-connect/SKILL.md +75 -0
- package/skills/skills/skillwiki-mcp/SKILL.md +4 -4
- package/skills/skills/using-skillwiki/SKILL.md +5 -3
- package/skills/skills/using-skillwiki/activation.md +1 -0
- package/skills/skillwiki-connect/SKILL.md +75 -0
- package/skills/skillwiki-mcp/SKILL.md +4 -4
- package/skills/using-skillwiki/SKILL.md +5 -3
- package/skills/using-skillwiki/activation.md +1 -0
|
@@ -67,7 +67,8 @@ var CONFIG_KEYS = [
|
|
|
67
67
|
"BACKUP_ACCESS_KEY_ID",
|
|
68
68
|
"BACKUP_SECRET_ACCESS_KEY"
|
|
69
69
|
];
|
|
70
|
-
var
|
|
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$/;
|
|
@@ -2948,6 +2949,9 @@ async function runAudit(input) {
|
|
|
2948
2949
|
}));
|
|
2949
2950
|
const sources = (fm.data.sources ?? []).map((s) => s.replace(/^\^\[/, "").replace(/\]$/, ""));
|
|
2950
2951
|
const referenced = new Set(resolved.map((m) => m.target));
|
|
2952
|
+
for (const source of sources) {
|
|
2953
|
+
if (/^https?:\/\//i.test(source) && body.includes(source)) referenced.add(source);
|
|
2954
|
+
}
|
|
2951
2955
|
const unused_sources = sources.filter((s) => !referenced.has(s));
|
|
2952
2956
|
const missing_from_sources = [...referenced].filter((t) => !sources.includes(t));
|
|
2953
2957
|
const broken = resolved.filter((m) => !m.resolved);
|
|
@@ -3332,6 +3336,7 @@ function buildCliSurface() {
|
|
|
3332
3336
|
program.command("config");
|
|
3333
3337
|
program.command("health").option("--wiki <name>").option("--sync <mode>").option("--no-fail").option("--out <path>").option("--examples <n>");
|
|
3334
3338
|
program.command("doctor").option("--check-snapshotter").option("--check-mcp");
|
|
3339
|
+
program.command("connect").option("--from-file <path>").option("--from-stdin").option("--dry-run").option("--force");
|
|
3335
3340
|
program.command("status").option("--wiki <name>");
|
|
3336
3341
|
program.command("copy-status").option("--wiki <name>");
|
|
3337
3342
|
program.command("archive").option("--wiki <name>").option("--cascade").option("--apply").option("--approve <token>").option("--remote <remote>").option("--remote-delete").option("--max-remote-deletes <n>");
|
|
@@ -3353,7 +3358,7 @@ function buildCliSurface() {
|
|
|
3353
3358
|
program.command("backup");
|
|
3354
3359
|
program.command("seed").option("--wiki <name>");
|
|
3355
3360
|
program.command("observe").requiredOption("--text <text>").option("--kind <kind>").option("--project <slug>").option("--severity <level>").option("--capture-budget <n>").option("--wiki <name>");
|
|
3356
|
-
program.command("session-brief").option("--project <slug>").option("--write").option("--wiki <name>");
|
|
3361
|
+
program.command("session-brief").option("--project <slug>").option("--write").option("--agent-memory-run-state <path>").option("--wiki <name>");
|
|
3357
3362
|
program.command("memory");
|
|
3358
3363
|
program.command("ingest").requiredOption("--vault <path>").requiredOption("--type <type>").requiredOption("--title <title>").option("--tags <csv>").option("--provenance <provenance>").option("--dry-run");
|
|
3359
3364
|
program.command("fleet");
|