@pnds/pond 1.6.0 → 1.6.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/package.json +3 -3
- package/skills/pond-wiki/SKILL.md +51 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnds/pond",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"description": "OpenClaw channel plugin for Pond IM",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"openclaw.plugin.json"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@pnds/cli": "1.6.
|
|
19
|
-
"@pnds/sdk": "1.6.
|
|
18
|
+
"@pnds/cli": "1.6.2",
|
|
19
|
+
"@pnds/sdk": "1.6.2"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/node": "^22.0.0",
|
|
@@ -15,25 +15,57 @@ npx @pnds/cli@latest wiki tree <slug> # List files and directori
|
|
|
15
15
|
npx @pnds/cli@latest wiki tree <slug> --path docs/ # List a subdirectory
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
## Editing
|
|
18
|
+
## Editing
|
|
19
19
|
|
|
20
|
-
Wiki editing
|
|
20
|
+
Wiki editing works on a **local workspace** — a directory on disk where wiki
|
|
21
|
+
files are synced. You sync from the server, edit files locally, then propose
|
|
22
|
+
a changeset.
|
|
23
|
+
|
|
24
|
+
### Step 1: Sync
|
|
21
25
|
|
|
22
26
|
```bash
|
|
23
|
-
# 1. Sync wiki to local workspace
|
|
24
27
|
npx @pnds/cli@latest wiki sync <slug>
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
This downloads wiki files to a local directory. The output includes the
|
|
31
|
+
**absolute mount path** for each wiki (e.g. `synced → /data/.openclaw/workspace/kb`).
|
|
32
|
+
|
|
33
|
+
### Step 2: Find the mount path
|
|
34
|
+
|
|
35
|
+
The sync output JSON contains `synced[].path` — the absolute path where files
|
|
36
|
+
live. You can also check it anytime with:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
npx @pnds/cli@latest wiki status <slug>
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
The output includes `Mount: /absolute/path/to/<slug>`.
|
|
25
43
|
|
|
26
|
-
|
|
27
|
-
|
|
44
|
+
Use this path with `read`, `write`, and `edit` tools. For example, if the mount
|
|
45
|
+
is `/data/.openclaw/workspace/kb`, then `README.md` is at
|
|
46
|
+
`/data/.openclaw/workspace/kb/README.md`.
|
|
28
47
|
|
|
29
|
-
|
|
30
|
-
npx @pnds/cli@latest wiki status <slug> # Summary of local changes
|
|
31
|
-
npx @pnds/cli@latest wiki diff <slug> # Unified diff
|
|
48
|
+
### Step 3: Edit files
|
|
32
49
|
|
|
33
|
-
|
|
34
|
-
|
|
50
|
+
Use standard file tools (`read`, `write`, `edit`) on files under the mount path.
|
|
51
|
+
|
|
52
|
+
### Step 4: Review changes
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
npx @pnds/cli@latest wiki diff <slug> # Shows unified diff of all local changes
|
|
56
|
+
npx @pnds/cli@latest wiki status <slug> # Shows which files changed with +/- line counts
|
|
35
57
|
```
|
|
36
58
|
|
|
59
|
+
Always review before proposing.
|
|
60
|
+
|
|
61
|
+
### Step 5: Propose changeset
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
npx @pnds/cli@latest wiki changeset create <slug> --title "Description of changes"
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
This uploads your local changes as a changeset for review.
|
|
68
|
+
|
|
37
69
|
## Changeset Management
|
|
38
70
|
|
|
39
71
|
```bash
|
|
@@ -42,22 +74,24 @@ npx @pnds/cli@latest wiki changeset show <changesetId> <slug> # Show detail + fe
|
|
|
42
74
|
npx @pnds/cli@latest wiki changeset diff <changesetId> <slug> # Show changeset diff
|
|
43
75
|
```
|
|
44
76
|
|
|
45
|
-
If a changeset is rejected, fix the files and re-propose:
|
|
77
|
+
If a changeset is rejected, fix the files locally and re-propose:
|
|
46
78
|
|
|
47
79
|
```bash
|
|
48
80
|
npx @pnds/cli@latest wiki changeset create <slug> --update <changesetId>
|
|
49
81
|
```
|
|
50
82
|
|
|
51
|
-
|
|
83
|
+
The title is inherited from the original changeset — no need to repeat it.
|
|
84
|
+
|
|
85
|
+
## Discarding local changes
|
|
52
86
|
|
|
53
87
|
```bash
|
|
54
|
-
npx @pnds/cli@latest wiki
|
|
88
|
+
npx @pnds/cli@latest wiki reset <slug> # Restore all files to last synced state
|
|
55
89
|
```
|
|
56
90
|
|
|
57
|
-
##
|
|
91
|
+
## History
|
|
58
92
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
93
|
+
```bash
|
|
94
|
+
npx @pnds/cli@latest wiki log <slug> # Recent wiki operations
|
|
95
|
+
```
|
|
62
96
|
|
|
63
97
|
All CLI output is JSON. Run `npx @pnds/cli@latest wiki --help` for full options.
|