@vucinatim/agentic-devtools 0.1.1 → 0.1.2
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 +1 -0
- package/docs/testing.md +15 -0
- package/package.json +2 -1
- package/src/core/tool-registry.mjs +3 -3
package/README.md
CHANGED
package/docs/testing.md
CHANGED
|
@@ -12,6 +12,7 @@ The test suite should validate three layers:
|
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
14
|
npm test
|
|
15
|
+
npm run test:published -- --version 0.1.1
|
|
15
16
|
npm run test:namecheap
|
|
16
17
|
npm run test:railway
|
|
17
18
|
npm run coverage
|
|
@@ -25,6 +26,20 @@ npm run check
|
|
|
25
26
|
3. production dependency audit
|
|
26
27
|
4. package dry-run validation
|
|
27
28
|
|
|
29
|
+
## Published Package Smoke Tests
|
|
30
|
+
|
|
31
|
+
`npm run test:published -- --version <published-version>` validates the actual
|
|
32
|
+
npm artifact after release. It exercises:
|
|
33
|
+
|
|
34
|
+
- direct `npx` execution
|
|
35
|
+
- simulated global CLI install with `npm install -g --prefix`
|
|
36
|
+
- project dependency install and ESM imports
|
|
37
|
+
- MCP entrypoint help for each public tool
|
|
38
|
+
|
|
39
|
+
The publish workflow runs this after `npm publish`, so a release is only
|
|
40
|
+
considered good after the registry-hosted package passes real installation and
|
|
41
|
+
usage checks.
|
|
42
|
+
|
|
28
43
|
## Coverage Scope
|
|
29
44
|
|
|
30
45
|
Coverage measures library code under `src/`, excluding:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vucinatim/agentic-devtools",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "MCP-first devtools for AI agents.",
|
|
6
6
|
"type": "module",
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"audit": "npm audit --omit=dev",
|
|
60
60
|
"pack:dry": "npm pack --dry-run",
|
|
61
61
|
"test": "vitest run",
|
|
62
|
+
"test:published": "node scripts/test-published-package.mjs",
|
|
62
63
|
"test:watch": "vitest",
|
|
63
64
|
"test:namecheap": "vitest run tests/tools/namecheap",
|
|
64
65
|
"test:railway": "vitest run tests/tools/railway",
|
|
@@ -2,17 +2,17 @@ export const tools = {
|
|
|
2
2
|
namecheap: {
|
|
3
3
|
name: "namecheap",
|
|
4
4
|
description: "Inspect and manage Namecheap domains and DNS.",
|
|
5
|
-
mcpModule: "
|
|
5
|
+
mcpModule: "./tools/namecheap/mcp.mjs",
|
|
6
6
|
},
|
|
7
7
|
railway: {
|
|
8
8
|
name: "railway",
|
|
9
9
|
description: "Inspect Railway projects, environments, and deployments.",
|
|
10
|
-
mcpModule: "
|
|
10
|
+
mcpModule: "./tools/railway/mcp.mjs",
|
|
11
11
|
},
|
|
12
12
|
npm: {
|
|
13
13
|
name: "npm",
|
|
14
14
|
description: "Inspect npm packages, auth, tokens, and publishing setup.",
|
|
15
|
-
mcpModule: "
|
|
15
|
+
mcpModule: "./tools/npm/mcp.mjs",
|
|
16
16
|
},
|
|
17
17
|
};
|
|
18
18
|
|