opencode-convodump 0.0.1 → 0.0.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/README.md +2 -33
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,9 +11,9 @@ Markdown transcript.
|
|
|
11
11
|
`convos/YYYY-MM-DD-HH-mm-ss-<session-id>.md`
|
|
12
12
|
- Uses a compact frontmatter and conversation-first body format.
|
|
13
13
|
|
|
14
|
-
## Install
|
|
14
|
+
## Install
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Install via npm by adding the package name to `plugin` in your OpenCode config:
|
|
17
17
|
|
|
18
18
|
```json
|
|
19
19
|
{
|
|
@@ -21,34 +21,3 @@ Add the package name to `plugin` in your OpenCode config:
|
|
|
21
21
|
"plugin": ["opencode-convodump"]
|
|
22
22
|
}
|
|
23
23
|
```
|
|
24
|
-
|
|
25
|
-
OpenCode installs npm plugins automatically with Bun.
|
|
26
|
-
|
|
27
|
-
## Local file usage (without npm)
|
|
28
|
-
|
|
29
|
-
Use the plugin file directly:
|
|
30
|
-
|
|
31
|
-
- Project: `.opencode/plugins/convodump.ts`
|
|
32
|
-
- Global: `~/.config/opencode/plugins/convodump.ts`
|
|
33
|
-
|
|
34
|
-
## Release process
|
|
35
|
-
|
|
36
|
-
Publishing to npm is automated from GitHub Releases using
|
|
37
|
-
`.github/workflows/publish-npm.yml`.
|
|
38
|
-
|
|
39
|
-
1. Bump `version` in `package.json`.
|
|
40
|
-
2. Commit and push the version change.
|
|
41
|
-
3. Create a GitHub Release with tag `v<version>` (for example `v0.0.1`).
|
|
42
|
-
4. The workflow publishes that version to npm.
|
|
43
|
-
|
|
44
|
-
You can also run the same workflow manually from GitHub Actions using
|
|
45
|
-
`workflow_dispatch` (optionally passing `release_tag`, defaulting to
|
|
46
|
-
`v<package.json version>`).
|
|
47
|
-
|
|
48
|
-
### One-time setup required
|
|
49
|
-
|
|
50
|
-
1. Create an npm automation token for the account that will publish this
|
|
51
|
-
package.
|
|
52
|
-
2. Add the token as a GitHub Actions secret named `NPM_TOKEN`.
|
|
53
|
-
3. Ensure the npm account tied to `NPM_TOKEN` has publish rights to
|
|
54
|
-
`opencode-convodump`.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "opencode-convodump",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.2",
|
|
5
5
|
"description": "OpenCode plugin that exports each conversation session to a readable Markdown transcript.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "CC0-1.0",
|