opencommand-plugin 0.0.9 → 0.0.10

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
@@ -49,8 +49,12 @@ npm test -- --runInBand
49
49
 
50
50
  ## v0.0.8 non-blocking OpenCode startup
51
51
 
52
- `opencommand-plugin@0.0.8` keeps OpenCode startup non-blocking: provider registration uses cached/static models immediately, while proxy startup and CommandCode plan/model refresh run in the background. Pin `opencode.jsonc` to `opencommand-plugin@0.0.8` (or newer) instead of `@latest` to avoid stale plugin cache entries.
52
+ `opencommand-plugin@0.0.8` keeps OpenCode startup non-blocking: provider registration uses cached/static models immediately, while proxy startup and CommandCode plan/model refresh run in the background. Pin `opencode.jsonc` to `opencommand-plugin@0.0.10` (or newer) instead of `@latest` to avoid stale plugin cache entries.
53
53
 
54
54
  ## v0.0.9 CommandCode protocol update
55
55
 
56
56
  `opencommand-plugin@0.0.9` updates the bundled proxy to the current CommandCode CLI protocol headers (`x-command-code-version: 0.26.3`, production CLI environment, and OpenCommand project slug). Older `OPENCOMMAND_COMMAND_CODE_CLIENT_VERSION` overrides can no longer downgrade the bundled protocol version.
57
+ ## v0.0.10 OpenCode autostart preload
58
+
59
+ `opencommand-plugin@0.0.10` starts the local proxy from the OpenCode config hook so synced `opencode.jsonc` installs do not depend on an absolute local `file://` plugin path. Use `opencommand-plugin@0.0.10` in iCloud/Open sync configs.
60
+
package/dist/index.js CHANGED
@@ -906,6 +906,7 @@ export const OpenCommandOpenCodePlugin = async () => ({
906
906
  methods: [],
907
907
  },
908
908
  config: async (config) => {
909
+ getRuntimePlugin().preloadForOpenCode();
909
910
  registerOpenCommandProvider(config, DEFAULT_PROXY_BASE_URL, readCachedOpenCommandModels() ?? COMMAND_CODE_GO_PLAN_MODELS);
910
911
  },
911
912
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencommand-plugin",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "OpenCommand - CommandCode API Plugin for OpenCode",
5
5
  "main": "./bin/opencode-plugin.js",
6
6
  "module": "./bin/opencode-plugin.js",