@sentropic/h2a-cli 0.24.0 → 0.25.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.
Files changed (53) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +1 -0
  4. package/dist/index.js.map +1 -1
  5. package/dist/runtime/mcp-http/app.d.ts +12 -0
  6. package/dist/runtime/mcp-http/app.d.ts.map +1 -0
  7. package/dist/runtime/mcp-http/app.js +61 -0
  8. package/dist/runtime/mcp-http/app.js.map +1 -0
  9. package/dist/runtime/mcp-http/hosted-mcp-server.d.ts +14 -0
  10. package/dist/runtime/mcp-http/hosted-mcp-server.d.ts.map +1 -0
  11. package/dist/runtime/mcp-http/hosted-mcp-server.js +38 -0
  12. package/dist/runtime/mcp-http/hosted-mcp-server.js.map +1 -0
  13. package/dist/runtime/mcp-http/index.d.ts +14 -0
  14. package/dist/runtime/mcp-http/index.d.ts.map +1 -0
  15. package/dist/runtime/mcp-http/index.js +14 -0
  16. package/dist/runtime/mcp-http/index.js.map +1 -0
  17. package/dist/runtime/mcp-http/main.d.ts +2 -0
  18. package/dist/runtime/mcp-http/main.d.ts.map +1 -0
  19. package/dist/runtime/mcp-http/main.js +14 -0
  20. package/dist/runtime/mcp-http/main.js.map +1 -0
  21. package/dist/runtime/mcp-http/oauth/config.d.ts +33 -0
  22. package/dist/runtime/mcp-http/oauth/config.d.ts.map +1 -0
  23. package/dist/runtime/mcp-http/oauth/config.js +31 -0
  24. package/dist/runtime/mcp-http/oauth/config.js.map +1 -0
  25. package/dist/runtime/mcp-http/oauth/crypto.d.ts +5 -0
  26. package/dist/runtime/mcp-http/oauth/crypto.d.ts.map +1 -0
  27. package/dist/runtime/mcp-http/oauth/crypto.js +19 -0
  28. package/dist/runtime/mcp-http/oauth/crypto.js.map +1 -0
  29. package/dist/runtime/mcp-http/oauth/file-store.d.ts +40 -0
  30. package/dist/runtime/mcp-http/oauth/file-store.d.ts.map +1 -0
  31. package/dist/runtime/mcp-http/oauth/file-store.js +101 -0
  32. package/dist/runtime/mcp-http/oauth/file-store.js.map +1 -0
  33. package/dist/runtime/mcp-http/oauth/hono-oauth-router.d.ts +5 -0
  34. package/dist/runtime/mcp-http/oauth/hono-oauth-router.d.ts.map +1 -0
  35. package/dist/runtime/mcp-http/oauth/hono-oauth-router.js +83 -0
  36. package/dist/runtime/mcp-http/oauth/hono-oauth-router.js.map +1 -0
  37. package/dist/runtime/mcp-http/oauth/redirect-uri.d.ts +11 -0
  38. package/dist/runtime/mcp-http/oauth/redirect-uri.d.ts.map +1 -0
  39. package/dist/runtime/mcp-http/oauth/redirect-uri.js +29 -0
  40. package/dist/runtime/mcp-http/oauth/redirect-uri.js.map +1 -0
  41. package/dist/runtime/mcp-http/oauth/single-tenant-provider.d.ts +68 -0
  42. package/dist/runtime/mcp-http/oauth/single-tenant-provider.d.ts.map +1 -0
  43. package/dist/runtime/mcp-http/oauth/single-tenant-provider.js +238 -0
  44. package/dist/runtime/mcp-http/oauth/single-tenant-provider.js.map +1 -0
  45. package/dist/runtime/mcp-http/readonly-allowlist.d.ts +24 -0
  46. package/dist/runtime/mcp-http/readonly-allowlist.d.ts.map +1 -0
  47. package/dist/runtime/mcp-http/readonly-allowlist.js +43 -0
  48. package/dist/runtime/mcp-http/readonly-allowlist.js.map +1 -0
  49. package/dist/runtime/mcp-http/serve.d.ts +30 -0
  50. package/dist/runtime/mcp-http/serve.d.ts.map +1 -0
  51. package/dist/runtime/mcp-http/serve.js +53 -0
  52. package/dist/runtime/mcp-http/serve.js.map +1 -0
  53. package/package.json +6 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serve.js","sourceRoot":"","sources":["../../../src/runtime/mcp-http/serve.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OA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,oBAAoB,CAAC;QACnE,IAAI;QACJ,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC;KAC/B,CAAC;AACJ,CAAC;AAQD,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,MAAiB,OAAO,CAAC,GAAG;IAClE,MAAM,GAAG,GAAG,wBAAwB,CAAC,GAAG,CAAC,CAAC;IAC1C,MAAM,KAAK,GAAG,IAAI,cAAc,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAChD,MAAM,KAAK,CAAC,IAAI,EAAE,CAAC;IACnB,MAAM,aAAa,GAAG,IAAI,yBAAyB,CAAC,EAAE,KAAK,EAAE,GAAG,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;IACnF,MAAM,YAAY,GAAG,eAAe,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;IACzD,MAAM,GAAG,GAAG,eAAe,CAAC,EAAE,aAAa,EAAE,WAAW,EAAE,GAAG,CAAC,WAAW,EAAE,YAAY,EAAE,CAAC,CAAC;IAC3F,MAAM,MAAM,GAAG,KAAK,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;IAC3D,OAAO;QACL,IAAI,EAAE,GAAG,CAAC,IAAI;QACd,YAAY;QACZ,IAAI,EAAE,GAAG,EAAE;YACR,MAAiC,CAAC,KAAK,EAAE,EAAE,CAAC;QAC/C,CAAC;KACF,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentropic/h2a-cli",
3
- "version": "0.24.0",
3
+ "version": "0.25.1",
4
4
  "description": "Unified CLI surface for h2a hosts and MCP-oriented coordination flows.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -40,7 +40,11 @@
40
40
  "skills"
41
41
  ],
42
42
  "dependencies": {
43
- "@sentropic/h2a": "^0.24.0"
43
+ "@hono/mcp": "^0.3.0",
44
+ "@hono/node-server": "^2.0.4",
45
+ "@modelcontextprotocol/sdk": "^1.29.0",
46
+ "@sentropic/h2a": "^0.25.1",
47
+ "hono": "^4.12.23"
44
48
  },
45
49
  "publishConfig": {
46
50
  "access": "public"