@mcp-com-ai/hapi 1.1.0 → 1.3.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 +6 -0
- package/dist/bin.js +121 -113
- package/dist/core/document-source.d.ts +4 -0
- package/dist/core/index.js +64 -64
- package/dist/core/plugin-loader.d.ts +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +122 -114
- package/dist/skills/hapi-federated-apis/SKILL.md +452 -0
- package/dist/skills/hapi-federated-apis/scripts/audit-planning-facts.ts +127 -0
- package/dist/skills/hapi-intent-based-apis/SKILL.md +199 -0
- package/dist/skills/hapi-intent-based-apis/references/examples.md +135 -0
- package/dist/skills/hapi-intent-based-apis/references/extension-rules.md +90 -0
- package/dist/skills/hapi-intent-based-apis/references/runtime-behavior.md +52 -0
- package/dist/skills/hapi-intent-based-apis/scripts/check-intent-metadata.ts +163 -0
- package/dist/workspace-plugins.d.ts +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -59,6 +59,12 @@ hapi init --specs ./my-api.yaml
|
|
|
59
59
|
hapi serve --specs ./my-api.yaml --mcp --port 3000
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
+
On Windows, `--specs` accepts drive-absolute paths such as
|
|
63
|
+
`C:\\Users\\x-user\\contracts\\my-api.yaml`, paths relative to the current
|
|
64
|
+
directory such as `.\\contracts\\my-api.yaml`, UNC paths, and Windows `file:`
|
|
65
|
+
or `path:` URLs. Quote paths containing spaces. Drive-relative forms such as
|
|
66
|
+
`C:my-api.yaml` are rejected because their resolution is process-dependent.
|
|
67
|
+
|
|
62
68
|
The MCP endpoint is `http://localhost:3000/mcp`.
|
|
63
69
|
|
|
64
70
|
```sh
|