opencode-session-port 0.1.0 → 0.1.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 CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  SessionPort is a local plugin for the OpenCode TUI. It captures the sessions of your current project into a single password-encrypted artifact and restores them in another checkout, worktree, or machine. Artifacts travel with Git or any other channel you choose — SessionPort never runs Git commands itself.
6
6
 
7
- > **Status: experimental pre-release (0.1.0).** SessionPort completed one bounded synthetic checkpoint/restore round trip on Windows with OpenCode v2.0.22. That test used test-only password and project-selector seams and staged source, not the npm tarball. Real modal interactions and loading the packed package in OpenCode have not been verified. The checkpoint format may change; no compatibility, security, or platform-support guarantee is made.
7
+ > **Status: experimental pre-release (0.1.2).** SessionPort completed one bounded synthetic checkpoint/restore round trip on Windows with OpenCode v2.0.22. That test used test-only password and project-selector seams and staged source, not the npm tarball. On one real Windows OpenCode v2.0.22 host, a bounded diagnostic observed both commands registered (`commands=yes`) but hidden from the command palette and slash list until the keymap layer opted into global mode; 0.1.2 applies that global-mode registration fix, with focused command-registration tests and the TUI build passing. End-to-end execution from the packed package has not been host-tested. Real modal interactions and loading the packed package in OpenCode have not been verified. The checkpoint format may change; no compatibility, security, or platform-support guarantee is made.
8
8
 
9
9
  ## Commands
10
10
 
@@ -20,22 +20,21 @@ Both commands are registered by the plugin as `sessionport.checkpoint` and `sess
20
20
 
21
21
  ## Install
22
22
 
23
- Install the package plugin with the OpenCode CLI:
23
+ Add the plugin to the `plugins` array in your global CLI-only config (`cli.json`):
24
24
 
25
- ```sh
26
- opencode plugin add opencode-session-port@0.1.0
25
+ ```json
26
+ {
27
+ "plugins": ["opencode-session-port@0.1.2"]
28
+ }
27
29
  ```
28
30
 
29
- Or add it to the `plugins` array in your `opencode.jsonc` (or `opencode.json`):
31
+ Or install the package plugin with the OpenCode CLI:
30
32
 
31
- ```jsonc
32
- {
33
- "$schema": "https://opencode.ai/config.json",
34
- "plugins": ["opencode-session-port@0.1.0"]
35
- }
33
+ ```sh
34
+ opencode plugin add opencode-session-port@0.1.2
36
35
  ```
37
36
 
38
- These are the documented OpenCode v2 setup paths; the published tarball has not yet been loaded by OpenCode. The final tarball passed npm consumer checks, but a direct Bun package-manager install timed out in the verification environment, so that install path remains unverified.
37
+ `cli.json` is the documented OpenCode v2 config for CLI-only plugins: they run locally in the terminal and remain active when the CLI connects to a remote server. The published tarball has not yet been loaded by OpenCode. The final tarball passed npm consumer checks, but a direct Bun package-manager install timed out in the verification environment, so that install path remains unverified.
39
38
 
40
39
  ## Usage
41
40