@hugex/artifact 0.1.2 → 0.2.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 +8 -0
- package/dist/index.js +385 -377
- package/dist/mcp/auth.d.ts +11 -3
- package/dist/mcp/context.d.ts +17 -0
- package/dist/mcp/domains/artifacts.d.ts +8 -0
- package/dist/mcp/index.d.ts +6 -4
- package/dist/mcp/oauth/config.d.ts +16 -0
- package/dist/mcp/oauth/consent.d.ts +4 -0
- package/dist/mcp/oauth/oidc.d.ts +29 -0
- package/dist/mcp/oauth/prefixed-kv.d.ts +5 -0
- package/dist/mcp/oauth/provider.d.ts +21 -0
- package/dist/mcp/oauth/transactions.d.ts +5 -0
- package/dist/mcp/registry.d.ts +3 -0
- package/dist/mcp/scopes.d.ts +5 -0
- package/dist/mcp/tools.d.ts +2 -2
- package/dist/types.d.ts +23 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -95,6 +95,14 @@ curl -X GET "http://localhost:5173/app/mcp"
|
|
|
95
95
|
|
|
96
96
|
`GET /app/mcp` is the MCP endpoint and responds **405** (or **401** if a route requires a Bearer token before the method check). It must not be a React Router 404.
|
|
97
97
|
|
|
98
|
+
### OAuth KV storage
|
|
99
|
+
|
|
100
|
+
All `ora-*` deployments use the shared `ora-mcp-oauth` KV namespace
|
|
101
|
+
(`8780df902830409ba4bfcda275e7b3ef`). The runtime isolates each tenant by
|
|
102
|
+
prefixing every provider and transaction key with `mcp-oauth:<TENANT>:`. `TENANT`
|
|
103
|
+
is mandatory for OAuth and must not contain `:`; code outside the OAuth adapter
|
|
104
|
+
must not access the raw `OAUTH_KV` binding.
|
|
105
|
+
|
|
98
106
|
## Package version
|
|
99
107
|
|
|
100
108
|
`runtimeId` includes the package version. The build defines the identifier `__ARTIFACT_PKG_VERSION__` from `ora/scripts/artifact-version.json`. Runtime code should use:
|