@agentplugins/adapter-copilot 0.1.0 → 0.2.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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  > AgentPlugins platform adapter for [GitHub Copilot CLI](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/plugins-finding-installing).
4
4
 
5
- Compiles a universal `PluginManifest` into the Copilot CLI plugin layout: `plugin.json` manifest, `hooks.json` hook wiring, and MCP server configuration. Inline handlers are wrapped as command scripts that the host invokes.
5
+ Compiles a universal `PluginManifest` into the Copilot CLI plugin layout: `plugin.json` manifest, `hooks.json` hook wiring, `skills/<name>/SKILL.md` declarative skill docs, and `.mcp.json` MCP server configuration. This adapter takes an MCP-first approach — when `mcpServers` are defined in the manifest they are wired as the primary integration point. Inline handlers are wrapped as command scripts that the host invokes.
6
6
 
7
7
  ## Installation
8
8
 
@@ -34,8 +34,10 @@ A successful build writes to `dist/copilot/`:
34
34
  ```
35
35
  dist/copilot/
36
36
  ├── plugin.json
37
- ├── hooks/
38
- │ └── hooks.json
37
+ ├── hooks.json
38
+ ├── skills/
39
+ │ └── <name>/
40
+ │ └── SKILL.md
39
41
  └── .mcp.json
40
42
  ```
41
43
 
package/dist/index.d.mts CHANGED
@@ -1,4 +1,5 @@
1
- import { PlatformAdapter, TargetPlatform, UniversalHookName, HandlerType, PluginManifest, ValidationIssue, AdapterOutput } from '@agentplugins/core';
1
+ import { TargetPlatform, PluginManifest } from '@agentplugins/core';
2
+ import { PlatformAdapter, UniversalHookName, HandlerType, ValidationIssue, AdapterOutput } from '@agentplugins/core/adapter';
2
3
 
3
4
  /**
4
5
  * @agentplugins/adapter-copilot
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { PlatformAdapter, TargetPlatform, UniversalHookName, HandlerType, PluginManifest, ValidationIssue, AdapterOutput } from '@agentplugins/core';
1
+ import { TargetPlatform, PluginManifest } from '@agentplugins/core';
2
+ import { PlatformAdapter, UniversalHookName, HandlerType, ValidationIssue, AdapterOutput } from '@agentplugins/core/adapter';
2
3
 
3
4
  /**
4
5
  * @agentplugins/adapter-copilot
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentplugins/adapter-copilot",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "GitHub Copilot CLI platform adapter for AgentPlugins — compiles AgentPlugins plugins into Copilot-compatible manifests, hooks, skills, and MCP configuration",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -18,14 +18,8 @@
18
18
  "publishConfig": {
19
19
  "access": "public"
20
20
  },
21
- "scripts": {
22
- "build": "tsup src/index.ts --format cjs,esm --dts",
23
- "typecheck": "tsc --noEmit",
24
- "lint": "eslint src/**/*.ts",
25
- "test": "vitest run"
26
- },
27
21
  "dependencies": {
28
- "@agentplugins/core": "workspace:*"
22
+ "@agentplugins/core": "0.2.0"
29
23
  },
30
24
  "devDependencies": {
31
25
  "tsup": "^8.0.0",
@@ -38,7 +32,7 @@
38
32
  "license": "MIT",
39
33
  "repository": {
40
34
  "type": "git",
41
- "url": "https://github.com/espetro/agentplugins.git",
35
+ "url": "https://github.com/sigilco/agentplugins.git",
42
36
  "directory": "packages/adapter-copilot"
43
37
  },
44
38
  "keywords": [
@@ -48,5 +42,11 @@
48
42
  "plugin-adapter",
49
43
  "ai-agent",
50
44
  "mcp"
51
- ]
52
- }
45
+ ],
46
+ "scripts": {
47
+ "build": "tsup src/index.ts --format cjs,esm --dts",
48
+ "typecheck": "tsc --noEmit",
49
+ "lint": "eslint src/**/*.ts",
50
+ "test": "vitest run --passWithNoTests"
51
+ }
52
+ }