@b-apm/integration-copilot 0.1.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/README.md +3 -3
- package/dist/index.mjs +2 -0
- package/package.json +16 -16
package/README.md
CHANGED
|
@@ -10,11 +10,11 @@ GitHub Copilot **runtime** host for bapm (project-scope file primitives + home M
|
|
|
10
10
|
npm i -D @b-apm/integration-copilot
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
+
A `targets:` entry is not needed (it would also restrict deployment to the listed hosts).
|
|
14
|
+
|
|
13
15
|
```yaml
|
|
14
|
-
targets:
|
|
15
|
-
copilot: "@b-apm/integration-copilot"
|
|
16
16
|
active:
|
|
17
|
-
- copilot
|
|
17
|
+
- target: copilot
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
```bash
|
package/dist/index.mjs
CHANGED
|
@@ -45,11 +45,13 @@ function createCopilotIntegration(options) {
|
|
|
45
45
|
async materialize(primitives, ctx) {
|
|
46
46
|
const cwd = resolve(ctx?.cwd ?? process.cwd());
|
|
47
47
|
const roots = ctx?.deployRoots?.length ? [...ctx.deployRoots] : deployRoots;
|
|
48
|
+
const skipPackages = new Set(Array.isArray(ctx?.skipNativeRegisteredPackages) ? ctx.skipNativeRegisteredPackages.map(String) : []);
|
|
48
49
|
const deployedFiles = [];
|
|
49
50
|
const diagnostics = [];
|
|
50
51
|
const hookPrimitives = [];
|
|
51
52
|
await primitivesMaterialize(primitives, {
|
|
52
53
|
skill(p, { name }) {
|
|
54
|
+
if (skipPackages.has(String(p.packageName ?? ""))) return;
|
|
53
55
|
deployedFiles.push(...materializeSkill({
|
|
54
56
|
primitive: p,
|
|
55
57
|
cwd,
|
package/package.json
CHANGED
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@b-apm/integration-copilot",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "GitHub Copilot runtime integration for bapm",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"b-apm",
|
|
7
|
+
"bapm",
|
|
8
|
+
"unstable"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "https://github.com/Sdju/bapm#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/Sdju/bapm/issues"
|
|
13
|
+
},
|
|
5
14
|
"license": "MIT",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/Sdju/bapm.git",
|
|
18
|
+
"directory": "packages/integration-copilot"
|
|
19
|
+
},
|
|
6
20
|
"files": [
|
|
7
21
|
"dist"
|
|
8
22
|
],
|
|
@@ -15,7 +29,7 @@
|
|
|
15
29
|
"access": "public"
|
|
16
30
|
},
|
|
17
31
|
"dependencies": {
|
|
18
|
-
"@b-apm/integration-api": "0.1
|
|
32
|
+
"@b-apm/integration-api": "0.2.1"
|
|
19
33
|
},
|
|
20
34
|
"devDependencies": {
|
|
21
35
|
"@types/node": "^26.1.2",
|
|
@@ -26,20 +40,6 @@
|
|
|
26
40
|
"engines": {
|
|
27
41
|
"node": ">=22.12.0"
|
|
28
42
|
},
|
|
29
|
-
"repository": {
|
|
30
|
-
"type": "git",
|
|
31
|
-
"url": "git+https://github.com/Sdju/bapm.git",
|
|
32
|
-
"directory": "packages/integration-copilot"
|
|
33
|
-
},
|
|
34
|
-
"homepage": "https://github.com/Sdju/bapm#readme",
|
|
35
|
-
"bugs": {
|
|
36
|
-
"url": "https://github.com/Sdju/bapm/issues"
|
|
37
|
-
},
|
|
38
|
-
"keywords": [
|
|
39
|
-
"unstable",
|
|
40
|
-
"bapm",
|
|
41
|
-
"b-apm"
|
|
42
|
-
],
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "vp pack",
|
|
45
45
|
"dev": "vp pack --watch",
|