skillwiki 0.10.106 → 0.10.107
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/cli.js
CHANGED
|
@@ -9856,7 +9856,11 @@ function localRecord(p, githubOid) {
|
|
|
9856
9856
|
}
|
|
9857
9857
|
function liveDriftRecord(p) {
|
|
9858
9858
|
if (!p || p.unknown || p.content === void 0 && p.ledger === void 0) {
|
|
9859
|
-
return {
|
|
9859
|
+
return {
|
|
9860
|
+
state: "unknown",
|
|
9861
|
+
reason_code: p?.reason_code ?? "live_drift_unmeasured",
|
|
9862
|
+
detail: p?.detail ?? "live drift unmeasured"
|
|
9863
|
+
};
|
|
9860
9864
|
}
|
|
9861
9865
|
const content = p.content ?? 0;
|
|
9862
9866
|
const ledger = p.ledger ?? 0;
|
|
@@ -9872,6 +9876,7 @@ function formatLiveDrift(rec) {
|
|
|
9872
9876
|
const parts = [`live_drift: ${rec.state}`];
|
|
9873
9877
|
if (rec.content !== void 0) parts.push(`content=${rec.content}`);
|
|
9874
9878
|
if (rec.ledger !== void 0) parts.push(`ledger=${rec.ledger}`);
|
|
9879
|
+
if (rec.reason_code) parts.push(`reason_code=${rec.reason_code}`);
|
|
9875
9880
|
if (rec.detail) parts.push(rec.detail);
|
|
9876
9881
|
return parts.join(" ");
|
|
9877
9882
|
}
|
|
@@ -9929,6 +9934,9 @@ function defaultCopyStatusDeps(input) {
|
|
|
9929
9934
|
const nestedWithLive = selection.path !== void 0 && (pathsAreNested(selection.path, input.vault) || pathsAreNested(input.vault, selection.path));
|
|
9930
9935
|
const configuredProjection = sameAsLive || nestedWithLive ? void 0 : selection.path;
|
|
9931
9936
|
const projectionProblem = selection.invalidDetail ?? (sameAsLive ? "configured fetch projection must be distinct from live vault" : nestedWithLive ? "configured fetch projection and live vault must not be nested" : void 0);
|
|
9937
|
+
let unmeasuredLiveDriftReason = "fetch_projection_not_configured";
|
|
9938
|
+
if (selection.invalidDetail) unmeasuredLiveDriftReason = "fetch_projection_invalid";
|
|
9939
|
+
else if (projectionProblem) unmeasuredLiveDriftReason = "fetch_projection_conflicts_with_live_vault";
|
|
9932
9940
|
const gitVault = input.vault;
|
|
9933
9941
|
const projectionWarning = selection.configured ? `configured fetch projection ignored for Git status; using live vault${projectionProblem ? ` (${projectionProblem})` : ""}` : void 0;
|
|
9934
9942
|
const invalidProjectionDetail = projectionProblem ?? "configured fetch projection is not a git repository";
|
|
@@ -9999,10 +10007,18 @@ function defaultCopyStatusDeps(input) {
|
|
|
9999
10007
|
},
|
|
10000
10008
|
probeLiveDrift() {
|
|
10001
10009
|
if (!configuredProjection) {
|
|
10002
|
-
return {
|
|
10010
|
+
return {
|
|
10011
|
+
unknown: true,
|
|
10012
|
+
reason_code: unmeasuredLiveDriftReason,
|
|
10013
|
+
detail: projectionProblem ?? "live drift requires a configured fetch projection"
|
|
10014
|
+
};
|
|
10003
10015
|
}
|
|
10004
10016
|
if (!existsSync13(join39(configuredProjection, ".git"))) {
|
|
10005
|
-
return {
|
|
10017
|
+
return {
|
|
10018
|
+
unknown: true,
|
|
10019
|
+
reason_code: "fetch_projection_invalid",
|
|
10020
|
+
detail: invalidProjectionDetail
|
|
10021
|
+
};
|
|
10006
10022
|
}
|
|
10007
10023
|
return measureAuthoritativeLiveDrift(input.vault, configuredProjection);
|
|
10008
10024
|
}
|
|
@@ -12302,7 +12318,7 @@ memoryCmd.command("index [vault]").description("build the derived project memory
|
|
|
12302
12318
|
check: false,
|
|
12303
12319
|
ifStale: !!opts.ifStale
|
|
12304
12320
|
}),
|
|
12305
|
-
{ postCommit:
|
|
12321
|
+
{ postCommit: false }
|
|
12306
12322
|
);
|
|
12307
12323
|
});
|
|
12308
12324
|
memoryCmd.command("recall [vault]").description("recall bounded source summaries for a memory topic").requiredOption("--project <slug>", "project slug").requiredOption("--topic <slug>", "memory topic slug").option("--scope <scope>", "memory scope: project, global, cross-agent, or all").option("--limit <n>", "maximum sources to return", (s) => parseInt(s, 10), 10).option("--wiki <name>", "wiki profile name").action(async (vault, opts) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skillwiki",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.107",
|
|
4
4
|
"skills": "./",
|
|
5
5
|
"description": "Project-aware Karpathy-style knowledge base for Claude Code: 22 prompt-only skills (wiki-*, proj-*, using-skillwiki, skillwiki-mcp, skillwiki-connect) backed by the deterministic `skillwiki` CLI.",
|
|
6
6
|
"author": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skillwiki",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.107",
|
|
4
4
|
"description": "Project-aware Karpathy-style knowledge base: 22 prompt-only skills (wiki-*, proj-*, using-skillwiki, skillwiki-mcp, skillwiki-connect) backed by HTTP MCP wiki_capture.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "karlorz"
|