agentsmesh 0.5.0 → 0.7.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/package.json CHANGED
@@ -1,12 +1,17 @@
1
1
  {
2
2
  "name": "agentsmesh",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "One canonical source for AI coding agent rules, commands, skills, MCP, hooks, and permissions — synced across Claude Code, Cursor, Copilot, Continue, Junie, Gemini CLI, Cline, Codex CLI, Windsurf, Antigravity, and Roo Code.",
5
5
  "type": "module",
6
- "main": "./dist/cli.js",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
7
8
  "author": "sampleXbro",
8
9
  "exports": {
9
- ".": "./dist/cli.js",
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "default": "./dist/index.js"
14
+ },
10
15
  "./engine": {
11
16
  "types": "./dist/engine.d.ts",
12
17
  "import": "./dist/engine.js",
@@ -81,6 +86,7 @@
81
86
  "LICENSE"
82
87
  ],
83
88
  "devDependencies": {
89
+ "@arethetypeswrong/cli": "^0.18.2",
84
90
  "@changesets/cli": "^2.27.12",
85
91
  "@eslint/js": "^10.0.1",
86
92
  "@types/node": "^25.6.0",
@@ -92,6 +98,7 @@
92
98
  "husky": "^9.1.7",
93
99
  "lint-staged": "^16.4.0",
94
100
  "prettier": "^3.8.2",
101
+ "publint": "^0.3.18",
95
102
  "tsup": "^8.5.1",
96
103
  "tsx": "^4.21.0",
97
104
  "typescript": "^5.9.3",
@@ -113,7 +120,7 @@
113
120
  "test:contract": "vitest run tests/contract",
114
121
  "flake:check": "tsx scripts/flake-check.ts",
115
122
  "test:watch": "vitest",
116
- "test:coverage": "vitest run --coverage",
123
+ "test:coverage": "COVERAGE=1 vitest run --coverage",
117
124
  "test:e2e": "pnpm build && vitest run --config vitest.e2e.config.ts",
118
125
  "lint": "eslint src tests",
119
126
  "format": "prettier --write src/",
@@ -125,6 +132,9 @@
125
132
  "changeset": "changeset",
126
133
  "version": "changeset version",
127
134
  "release": "pnpm build && changeset publish",
135
+ "publint": "publint",
136
+ "attw": "attw --pack . --profile esm-only",
137
+ "consumer-smoke": "./scripts/consumer-smoke.sh",
128
138
  "install-global": "pnpm build && pnpm pack && pnpm add -g $(pwd)/agentsmesh-$(node -p 'require(\"./package.json\").version').tgz"
129
139
  }
130
140
  }
@@ -207,31 +207,143 @@
207
207
  "type": "object",
208
208
  "properties": {
209
209
  "codex-cli": {
210
- "type": "boolean"
210
+ "anyOf": [
211
+ {
212
+ "type": "boolean"
213
+ },
214
+ {
215
+ "type": "object",
216
+ "properties": {
217
+ "project": {
218
+ "type": "boolean"
219
+ },
220
+ "global": {
221
+ "type": "boolean"
222
+ }
223
+ },
224
+ "additionalProperties": false
225
+ }
226
+ ]
211
227
  }
212
228
  },
213
- "additionalProperties": false
229
+ "additionalProperties": {}
214
230
  },
215
231
  "agents_to_skills": {
216
232
  "type": "object",
217
233
  "properties": {
218
234
  "gemini-cli": {
219
- "type": "boolean"
235
+ "anyOf": [
236
+ {
237
+ "type": "boolean"
238
+ },
239
+ {
240
+ "type": "object",
241
+ "properties": {
242
+ "project": {
243
+ "type": "boolean"
244
+ },
245
+ "global": {
246
+ "type": "boolean"
247
+ }
248
+ },
249
+ "additionalProperties": false
250
+ }
251
+ ]
220
252
  },
221
253
  "cline": {
222
- "type": "boolean"
254
+ "anyOf": [
255
+ {
256
+ "type": "boolean"
257
+ },
258
+ {
259
+ "type": "object",
260
+ "properties": {
261
+ "project": {
262
+ "type": "boolean"
263
+ },
264
+ "global": {
265
+ "type": "boolean"
266
+ }
267
+ },
268
+ "additionalProperties": false
269
+ }
270
+ ]
223
271
  },
224
272
  "codex-cli": {
225
- "type": "boolean"
273
+ "anyOf": [
274
+ {
275
+ "type": "boolean"
276
+ },
277
+ {
278
+ "type": "object",
279
+ "properties": {
280
+ "project": {
281
+ "type": "boolean"
282
+ },
283
+ "global": {
284
+ "type": "boolean"
285
+ }
286
+ },
287
+ "additionalProperties": false
288
+ }
289
+ ]
226
290
  },
227
291
  "windsurf": {
228
- "type": "boolean"
292
+ "anyOf": [
293
+ {
294
+ "type": "boolean"
295
+ },
296
+ {
297
+ "type": "object",
298
+ "properties": {
299
+ "project": {
300
+ "type": "boolean"
301
+ },
302
+ "global": {
303
+ "type": "boolean"
304
+ }
305
+ },
306
+ "additionalProperties": false
307
+ }
308
+ ]
229
309
  }
230
310
  },
231
- "additionalProperties": false
311
+ "additionalProperties": {}
232
312
  }
233
313
  },
234
314
  "additionalProperties": false
315
+ },
316
+ "plugins": {
317
+ "default": [],
318
+ "type": "array",
319
+ "items": {
320
+ "type": "object",
321
+ "properties": {
322
+ "id": {
323
+ "type": "string",
324
+ "pattern": "^[a-z][a-z0-9-]*$"
325
+ },
326
+ "source": {
327
+ "type": "string"
328
+ },
329
+ "version": {
330
+ "type": "string"
331
+ }
332
+ },
333
+ "required": [
334
+ "id",
335
+ "source"
336
+ ],
337
+ "additionalProperties": false
338
+ }
339
+ },
340
+ "pluginTargets": {
341
+ "default": [],
342
+ "type": "array",
343
+ "items": {
344
+ "type": "string",
345
+ "pattern": "^[a-z][a-z0-9-]*$"
346
+ }
235
347
  }
236
348
  },
237
349
  "required": [
@@ -240,7 +352,9 @@
240
352
  "features",
241
353
  "extends",
242
354
  "overrides",
243
- "collaboration"
355
+ "collaboration",
356
+ "plugins",
357
+ "pluginTargets"
244
358
  ],
245
359
  "additionalProperties": false,
246
360
  "title": "agentsmesh.yaml",