caplets 0.14.0 → 0.15.0

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.
Files changed (3) hide show
  1. package/README.md +27 -0
  2. package/dist/index.js +27388 -30480
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -103,6 +103,33 @@ The Claude Code and Codex commands install from this GitHub repository through e
103
103
  plugin marketplace flow; users do not need to clone the repository manually. Plugin MCP
104
104
  configs run `caplets serve` directly, so install the Caplets CLI globally first.
105
105
 
106
+ ### Remote Caplets service
107
+
108
+ OpenCode and Pi can use native `caplets_<id>` tools backed by a remote Caplets HTTP service. Codex, Claude Code, and any MCP client can connect to the same remote MCP endpoint directly.
109
+
110
+ Start a local HTTP service:
111
+
112
+ ```sh
113
+ caplets serve --transport http --host 127.0.0.1 --port 5387 --path /mcp
114
+ ```
115
+
116
+ `caplets serve --transport http` serves plain HTTP. For non-loopback or network access, expose it only through HTTPS/TLS (for example, a reverse proxy or secure tunnel) and enable Basic Auth; Basic Auth over plain HTTP exposes credentials. Keep credentials out of plugin manifests:
117
+
118
+ ```sh
119
+ CAPLETS_SERVER_PASSWORD=... caplets serve --transport http --host 127.0.0.1 --port 5387 --path /mcp
120
+ ```
121
+
122
+ Native integrations read remote client settings from environment variables:
123
+
124
+ ```sh
125
+ CAPLETS_REMOTE_URL=https://caplets.example.com/mcp \
126
+ CAPLETS_REMOTE_USER=caplets \
127
+ CAPLETS_REMOTE_PASSWORD=... \
128
+ opencode
129
+ ```
130
+
131
+ For MCP-backed Codex or Claude Code configs, point the agent's MCP server entry at the remote URL using that agent's supported HTTP MCP configuration. If Basic Auth is needed, use the agent's secure secret or environment interpolation mechanism rather than hardcoding credentials.
132
+
106
133
  ## Convert Existing Tooling
107
134
 
108
135
  Caplets is designed to convert what you already use into agent-friendly capability domains.