@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.
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/runtime/mcp-http/app.d.ts +12 -0
- package/dist/runtime/mcp-http/app.d.ts.map +1 -0
- package/dist/runtime/mcp-http/app.js +61 -0
- package/dist/runtime/mcp-http/app.js.map +1 -0
- package/dist/runtime/mcp-http/hosted-mcp-server.d.ts +14 -0
- package/dist/runtime/mcp-http/hosted-mcp-server.d.ts.map +1 -0
- package/dist/runtime/mcp-http/hosted-mcp-server.js +38 -0
- package/dist/runtime/mcp-http/hosted-mcp-server.js.map +1 -0
- package/dist/runtime/mcp-http/index.d.ts +14 -0
- package/dist/runtime/mcp-http/index.d.ts.map +1 -0
- package/dist/runtime/mcp-http/index.js +14 -0
- package/dist/runtime/mcp-http/index.js.map +1 -0
- package/dist/runtime/mcp-http/main.d.ts +2 -0
- package/dist/runtime/mcp-http/main.d.ts.map +1 -0
- package/dist/runtime/mcp-http/main.js +14 -0
- package/dist/runtime/mcp-http/main.js.map +1 -0
- package/dist/runtime/mcp-http/oauth/config.d.ts +33 -0
- package/dist/runtime/mcp-http/oauth/config.d.ts.map +1 -0
- package/dist/runtime/mcp-http/oauth/config.js +31 -0
- package/dist/runtime/mcp-http/oauth/config.js.map +1 -0
- package/dist/runtime/mcp-http/oauth/crypto.d.ts +5 -0
- package/dist/runtime/mcp-http/oauth/crypto.d.ts.map +1 -0
- package/dist/runtime/mcp-http/oauth/crypto.js +19 -0
- package/dist/runtime/mcp-http/oauth/crypto.js.map +1 -0
- package/dist/runtime/mcp-http/oauth/file-store.d.ts +40 -0
- package/dist/runtime/mcp-http/oauth/file-store.d.ts.map +1 -0
- package/dist/runtime/mcp-http/oauth/file-store.js +101 -0
- package/dist/runtime/mcp-http/oauth/file-store.js.map +1 -0
- package/dist/runtime/mcp-http/oauth/hono-oauth-router.d.ts +5 -0
- package/dist/runtime/mcp-http/oauth/hono-oauth-router.d.ts.map +1 -0
- package/dist/runtime/mcp-http/oauth/hono-oauth-router.js +83 -0
- package/dist/runtime/mcp-http/oauth/hono-oauth-router.js.map +1 -0
- package/dist/runtime/mcp-http/oauth/redirect-uri.d.ts +11 -0
- package/dist/runtime/mcp-http/oauth/redirect-uri.d.ts.map +1 -0
- package/dist/runtime/mcp-http/oauth/redirect-uri.js +29 -0
- package/dist/runtime/mcp-http/oauth/redirect-uri.js.map +1 -0
- package/dist/runtime/mcp-http/oauth/single-tenant-provider.d.ts +68 -0
- package/dist/runtime/mcp-http/oauth/single-tenant-provider.d.ts.map +1 -0
- package/dist/runtime/mcp-http/oauth/single-tenant-provider.js +238 -0
- package/dist/runtime/mcp-http/oauth/single-tenant-provider.js.map +1 -0
- package/dist/runtime/mcp-http/readonly-allowlist.d.ts +24 -0
- package/dist/runtime/mcp-http/readonly-allowlist.d.ts.map +1 -0
- package/dist/runtime/mcp-http/readonly-allowlist.js +43 -0
- package/dist/runtime/mcp-http/readonly-allowlist.js.map +1 -0
- package/dist/runtime/mcp-http/serve.d.ts +30 -0
- package/dist/runtime/mcp-http/serve.d.ts.map +1 -0
- package/dist/runtime/mcp-http/serve.js +53 -0
- package/dist/runtime/mcp-http/serve.js.map +1 -0
- 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,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAA6B,kBAAkB,EAAE,MAA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M,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.
|
|
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
|
-
"@
|
|
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"
|