skillwiki 0.2.0-beta.26 → 0.2.0-beta.27
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 +4 -1
- package/package.json +1 -1
- package/skills/.claude-plugin/plugin.json +1 -1
- package/skills/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -796,6 +796,9 @@ var MARKER_RE = /\^\[(raw\/[^\]]+)\]/g;
|
|
|
796
796
|
function stripFences(body) {
|
|
797
797
|
return body.replace(FENCE2, "").replace(INLINE_CODE, "");
|
|
798
798
|
}
|
|
799
|
+
function stripFencedBlocks(body) {
|
|
800
|
+
return body.replace(FENCE2, "");
|
|
801
|
+
}
|
|
799
802
|
function extractCitationMarkers(body) {
|
|
800
803
|
const stripped = stripFences(body);
|
|
801
804
|
const out = [];
|
|
@@ -806,7 +809,7 @@ function extractCitationMarkers(body) {
|
|
|
806
809
|
return out;
|
|
807
810
|
}
|
|
808
811
|
function hasSourcesFooter(body) {
|
|
809
|
-
return /^## Sources\s*$/m.test(
|
|
812
|
+
return /^## Sources\s*$/m.test(stripFencedBlocks(body));
|
|
810
813
|
}
|
|
811
814
|
function isLegacyCitationStyle(body) {
|
|
812
815
|
const markers = extractCitationMarkers(body);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skillwiki",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.27",
|
|
4
4
|
"skills": "./",
|
|
5
5
|
"description": "Project-aware Karpathy-style knowledge base for Claude Code: 11 prompt-only skills (wiki-*, proj-*, using-skillwiki) backed by the deterministic `skillwiki` CLI (8 subcommands, JSON-by-default).",
|
|
6
6
|
"author": {
|