@chronova/wiki-agent 1.2.0 → 1.2.2
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/agent.js +2 -0
- package/dist/prompt.js +1 -1
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -276,7 +276,9 @@ async function createWorkflowFile(projectRoot) {
|
|
|
276
276
|
" git clone \"$WIKI_URL\" /tmp/wiki",
|
|
277
277
|
" cd /tmp/wiki",
|
|
278
278
|
" git checkout -b \"$BRANCH\"",
|
|
279
|
+
" # --exclude='.git' protects the wiki clone's .git directory from --delete.",
|
|
279
280
|
" rsync -a --delete \\",
|
|
281
|
+
" --exclude='.git' \\",
|
|
280
282
|
" --exclude='.last-update-report.md' \\",
|
|
281
283
|
" --exclude='.last-updated.json' \\",
|
|
282
284
|
" --exclude='config.json' \\",
|
package/dist/prompt.js
CHANGED
|
@@ -96,7 +96,7 @@ ${gitSummary ?? "(not available)"}
|
|
|
96
96
|
`.trim();
|
|
97
97
|
}
|
|
98
98
|
return `
|
|
99
|
-
Update the existing
|
|
99
|
+
Update the existing wiki documentation for this repository.
|
|
100
100
|
|
|
101
101
|
Inspect .wiki/, identify recent source changes or newly relevant evidence, and refresh only the documentation pages directly affected by those changes. Use the git evidence below when available. Keep edits surgical: do not rewrite accurate sections, do not update source maps or git evidence just to refresh them, and do not make formatting-only changes. If the wiki is already current, do not edit files.
|
|
102
102
|
|