opencode-session-port 0.1.0 → 0.1.3

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.3).** 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. 0.1.3 additionally enables the commands on macOS and Linux through an explicit platform allowlist (`win32`/`darwin`/`linux`); macOS and Linux have NOT been host-tested, and cross-OS artifact interchange is UNVERIFIED. 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
 
@@ -16,26 +16,25 @@ Both commands are registered by the plugin as `sessionport.checkpoint` and `sess
16
16
  ## Requirements
17
17
 
18
18
  - OpenCode with the v2 TUI plugin API (exercised with OpenCode v2.0.22).
19
- - Windows. The current build enables the commands on Windows only; macOS and Linux are intended targets but are not yet enabled or validated.
19
+ - Windows, macOS, or Linux. The build enables the commands on all three through an explicit platform allowlist (`win32`/`darwin`/`linux`); other platforms are not enabled. Windows has the bounded host evidence above; macOS and Linux are enabled but NOT host-tested, and cross-OS artifact interchange is UNVERIFIED.
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.3"]
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.3
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. No published tarball exists yet, so no published artifact has been loaded by OpenCode. The 0.1.1 tarball passed npm consumer checks, but a direct Bun package-manager install timed out in the verification environment, so that install path remains unverified. The 0.1.2 tarball passed manifest/allowlist and packed-entry checks only. The 0.1.3 metadata/platform-allowlist update has not been package-verified, published, or loaded by OpenCode.
39
38
 
40
39
  ## Usage
41
40