@prover-coder-ai/context-doc 1.0.6 → 1.0.7
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/README.md +10 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
# Knowledge Sync CLI
|
|
2
2
|
|
|
3
|
-
Command: `
|
|
3
|
+
Command: `npx @prover-coder-ai/context-doc [flags]` (or `context-doc` when installed globally) — copies project dialogs into `.knowledge` for both Codex and Qwen.
|
|
4
4
|
|
|
5
5
|
## Installation (global CLI)
|
|
6
6
|
- Install: `npm install -g @prover-coder-ai/context-doc`
|
|
7
7
|
- Registry page: https://www.npmjs.com/package/@prover-coder-ai/context-doc
|
|
8
|
-
- Run globally: `
|
|
8
|
+
- Run globally: `context-doc [flags]`
|
|
9
|
+
- Ad-hoc (no install): `npx @prover-coder-ai/context-doc [flags]`
|
|
9
10
|
- Local (without global install): `npm run sync:knowledge` or `tsx src/shell/syncKnowledge.ts`
|
|
10
11
|
|
|
12
|
+
## Usage examples
|
|
13
|
+
- Default (auto-detect sources/destinations): `context-doc`
|
|
14
|
+
- Custom Codex source/destination: `context-doc --source /tmp/project/.codex --dest /tmp/project/.knowledge/.codex`
|
|
15
|
+
- Custom meta root (both Codex/Qwen resolution): `context-doc --meta-root /data/meta`
|
|
16
|
+
- Override project URL: `context-doc --project-url https://github.com/your/repo`
|
|
17
|
+
- Qwen source override: `context-doc --qwen-source /data/qwen/tmp/abcd1234`
|
|
18
|
+
|
|
11
19
|
## Flags
|
|
12
20
|
- `--source, -s <path>` — explicit path to `.codex` (Codex source).
|
|
13
21
|
- `--dest, -d <path>` — Codex destination root (defaults to `.knowledge/.codex`).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prover-coder-ai/context-doc",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"release": "npm run build && npm run lint && npm version patch && npm publish --access public"
|
|
13
13
|
},
|
|
14
14
|
"bin": {
|
|
15
|
-
"
|
|
15
|
+
"context-doc": "dist/shell/syncKnowledge.js"
|
|
16
16
|
},
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|