@pluginfinity/targets 0.2.0 → 0.2.1
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/claude.js +8 -6
- package/copilot.js +3 -3
- package/package.json +2 -2
- package/version.js +1 -1
package/claude.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CLAUDE_HOOK_EVENTS, LSP_FIELDS, Target, drop, keep } from "@pluginfinity/core";
|
|
1
|
+
import { CLAUDE_HOOK_EVENTS, LSP_FIELDS, Target, drop, inManifest, keep } from "@pluginfinity/core";
|
|
2
2
|
|
|
3
3
|
//#region src/claude.ts
|
|
4
4
|
const ROOT = `\${CLAUDE_PLUGIN_ROOT}`;
|
|
@@ -62,7 +62,9 @@ const CLAUDE = Target.make({
|
|
|
62
62
|
"homepage",
|
|
63
63
|
"repository",
|
|
64
64
|
"license",
|
|
65
|
-
"keywords"
|
|
65
|
+
"keywords",
|
|
66
|
+
"mcpServers",
|
|
67
|
+
"lspServers"
|
|
66
68
|
]
|
|
67
69
|
},
|
|
68
70
|
pluginRoot: {
|
|
@@ -91,12 +93,12 @@ const CLAUDE = Target.make({
|
|
|
91
93
|
ownEvents: []
|
|
92
94
|
},
|
|
93
95
|
mcp: {
|
|
94
|
-
|
|
95
|
-
format: "claude-mcp-
|
|
96
|
+
placement: inManifest("mcpServers", ".mcp.json"),
|
|
97
|
+
format: "claude-mcp-servers"
|
|
96
98
|
},
|
|
97
99
|
lsp: {
|
|
98
|
-
|
|
99
|
-
format: "claude-lsp-
|
|
100
|
+
placement: inManifest("lspServers", ".lsp.json"),
|
|
101
|
+
format: "claude-lsp-servers",
|
|
100
102
|
fields: lspFields
|
|
101
103
|
},
|
|
102
104
|
references: { style: "path" },
|
package/copilot.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CLAUDE_HOOK_EVENTS, Target, absent, degrade, drop, keep, rename, translate, unresolved } from "@pluginfinity/core";
|
|
1
|
+
import { CLAUDE_HOOK_EVENTS, Target, absent, degrade, drop, inFile, keep, rename, translate, unresolved } from "@pluginfinity/core";
|
|
2
2
|
|
|
3
3
|
//#region src/copilot.ts
|
|
4
4
|
const ROOT = `\${PLUGIN_ROOT}`;
|
|
@@ -144,12 +144,12 @@ const COPILOT = Target.make({
|
|
|
144
144
|
ownEvents: [...COPILOT_OWN_EVENTS]
|
|
145
145
|
},
|
|
146
146
|
mcp: {
|
|
147
|
-
|
|
147
|
+
placement: inFile("mcp.json"),
|
|
148
148
|
format: "agent-plugins-mcp-1.0",
|
|
149
149
|
schema: "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json"
|
|
150
150
|
},
|
|
151
151
|
lsp: {
|
|
152
|
-
|
|
152
|
+
placement: inFile("com.github.copilot/lsp.json"),
|
|
153
153
|
format: "copilot-lsp-json",
|
|
154
154
|
fields: lspFields
|
|
155
155
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pluginfinity/targets",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The host targets pluginfinity builds for (Claude Code, GitHub Copilot), described as data against the @pluginfinity/core Target schema.",
|
|
6
6
|
"keywords": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"./package.json": "./package.json"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@pluginfinity/core": "0.2.
|
|
39
|
+
"@pluginfinity/core": "0.2.1"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"effect": "^4.0.0"
|