@modootoday/pmcp 0.16.1 → 0.17.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.
package/dist/stdio.js CHANGED
@@ -1941,7 +1941,7 @@ function registerMailboxTools(server, service) {
1941
1941
 
1942
1942
  // src/mcp.ts
1943
1943
  var SERVER_NAME = "pmcp";
1944
- var SERVER_VERSION = "0.16.1";
1944
+ var SERVER_VERSION = "0.17.0";
1945
1945
  function registerSkillTools(server, tools) {
1946
1946
  registerCatalogTool(server, tools);
1947
1947
  registerFindTool(server, tools);
@@ -26,6 +26,9 @@ Antigravity read natively, from cross-tool sources under `.agents/`
26
26
  (`skills/<name>/SKILL.md`, `agents/<name>/agent.md`, `rules/*.md`) and the rest
27
27
  of `pmcp.toml`:
28
28
 
29
+ OpenCode additionally supports project MCP and direct skill discovery, as
30
+ described in [OpenCode project support](#opencode-project-support).
31
+
29
32
  ```toml
30
33
  [targets]
31
34
  tools = ["claude", "codex", "gemini", "grok", "antigravity"]
@@ -146,6 +149,38 @@ Configuration references: [Codex](https://developers.openai.com/codex/config-ref
146
149
  [Gemini CLI](https://geminicli.com/docs/tools/mcp-server/),
147
150
  and [Grok Build](https://docs.x.ai/build/features/mcp-servers).
148
151
 
152
+ ## OpenCode project support
153
+
154
+ Add opencode to targets.tools to project MCP entries into the project-root
155
+ opencode.json. PMCP owns only its declared mcp entries and user-only skill
156
+ permissions; existing provider, model, other servers and permission rules are
157
+ preserved. An unmanaged conflicting entry is refused. JSONC projection is not
158
+ supported; reconcile a project opencode.jsonc before projecting opencode.json.
159
+
160
+ Local servers use type=local, a command array and environment. Remote servers
161
+ use type=remote, url and native {env:NAME} header references. Optional
162
+ mcp.<name>.native.opencode.timeout uses milliseconds. Per-server tool filtering,
163
+ MCP configuration import and mailbox runtime binding are not qualified for
164
+ OpenCode; explicitly limit those servers to other targets when needed.
165
+
166
+ OpenCode discovers .agents/skills directly, so PMCP creates no skill copies or
167
+ links. For invocation=user, projection sets permission.skill.<name> to deny:
168
+ the model's skill list omits that name, while the native /<name> command still
169
+ loads its original SKILL.md and accepts user arguments. This was qualified with
170
+ OpenCode 1.18.33 using isolated native CLI calls and local scripted responses,
171
+ without an external model call. It controls automatic skill selection, not
172
+ arbitrary file access. Native global skill discovery remains a user preference.
173
+
174
+ pmcp doctor checks opencode debug skill and opencode mcp list without calling
175
+ a model. Discovery does not imply automatic visibility or native tool invocation.
176
+ Memory reporting, shell-hook enforcement, canonical agent projection and
177
+ terminal-harness support are not part of this target's current qualification.
178
+ OpenCode does not run Claude project hooks automatically.
179
+
180
+ See the [OpenCode MCP configuration](https://opencode.ai/docs/mcp-servers/),
181
+ [Agent Skills](https://opencode.ai/docs/skills/) and
182
+ [configuration precedence](https://opencode.ai/docs/config/).
183
+
149
184
  ## Operator shell guards
150
185
 
151
186
  Declare a project-owned guard explicitly to project it into Codex, Gemini or
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcp",
3
- "version": "0.16.1",
3
+ "version": "0.17.0",
4
4
  "mcpServers": {
5
5
  "pmcp": {
6
6
  "type": "stdio",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modootoday/pmcp",
3
- "version": "0.16.1",
3
+ "version": "0.17.0",
4
4
  "license": "Elastic-2.0",
5
5
  "author": "modootoday",
6
6
  "description": "Use the skills your packages already ship, and keep your AI tools' project configuration in one place.",
package/plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "pmcp",
4
- "version": "0.16.1",
4
+ "version": "0.17.0",
5
5
  "description": "Find package skills and use native runtime project configuration.",
6
6
  "author": { "name": "modootoday" },
7
7
  "license": "Elastic-2.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcp",
3
- "version": "0.16.1",
3
+ "version": "0.17.0",
4
4
  "description": "Find package skills and use native runtime project configuration.",
5
5
  "author": { "name": "modootoday" },
6
6
  "license": "Elastic-2.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcp",
3
- "version": "0.16.1",
3
+ "version": "0.17.0",
4
4
  "mcpServers": {
5
5
  "pmcp": {
6
6
  "type": "stdio",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "pmcp",
4
- "version": "0.16.1",
4
+ "version": "0.17.0",
5
5
  "description": "Find package skills and use native runtime project configuration.",
6
6
  "author": { "name": "modootoday" },
7
7
  "license": "Elastic-2.0",