@nebutra/mcp 0.1.0 → 0.1.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/.turbo/turbo-build.log +22 -0
- package/.turbo/turbo-test.log +14 -0
- package/.turbo/turbo-typecheck.log +4 -0
- package/CHANGELOG.md +15 -0
- package/dist/chunk-ORGYGQJV.js +711 -0
- package/dist/chunk-YMTQFRV2.js +178 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +55 -0
- package/dist/index.d.ts +378 -0
- package/dist/index.js +44 -0
- package/dist/server/contextServer.d.ts +50 -0
- package/dist/server/contextServer.js +8 -0
- package/examples/doctor.ts +14 -0
- package/examples/local-consent.ts +30 -0
- package/examples/read-debug.ts +5 -0
- package/package.json +12 -7
- package/src/__tests__/registry-and-context.test.ts +234 -0
- package/src/cli.ts +47 -0
- package/src/client/mcpClient.ts +26 -5
- package/src/consent.ts +46 -0
- package/src/debug.ts +43 -0
- package/src/host.ts +314 -0
- package/src/index.ts +7 -0
- package/src/registry/serverRegistry.ts +38 -1
- package/src/server/contextServer.ts +130 -57
- package/src/types.ts +18 -1
- package/tsup.config.ts +7 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
> @nebutra/mcp@0.1.1 build /home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/ai/mcp
|
|
3
|
+
> tsup
|
|
4
|
+
|
|
5
|
+
[34mCLI[39m Building entry: src/cli.ts, src/index.ts, src/server/contextServer.ts
|
|
6
|
+
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
|
+
[34mCLI[39m tsup v8.5.1
|
|
8
|
+
[34mCLI[39m Using tsup config: /home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/ai/mcp/tsup.config.ts
|
|
9
|
+
[34mCLI[39m Target: node18
|
|
10
|
+
[34mCLI[39m Cleaning output folder
|
|
11
|
+
[34mESM[39m Build start
|
|
12
|
+
[32mESM[39m [1mdist/cli.js [22m[32m1.47 KB[39m
|
|
13
|
+
[32mESM[39m [1mdist/index.js [22m[32m883.00 B[39m
|
|
14
|
+
[32mESM[39m [1mdist/chunk-ORGYGQJV.js [22m[32m22.09 KB[39m
|
|
15
|
+
[32mESM[39m [1mdist/server/contextServer.js [22m[32m176.00 B[39m
|
|
16
|
+
[32mESM[39m [1mdist/chunk-YMTQFRV2.js [22m[32m5.25 KB[39m
|
|
17
|
+
[32mESM[39m ⚡️ Build success in 83ms
|
|
18
|
+
[34mDTS[39m Build start
|
|
19
|
+
[32mDTS[39m ⚡️ Build success in 15352ms
|
|
20
|
+
[32mDTS[39m [1mdist/cli.d.ts [22m[32m13.00 B[39m
|
|
21
|
+
[32mDTS[39m [1mdist/server/contextServer.d.ts [22m[32m1.43 KB[39m
|
|
22
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m11.64 KB[39m
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
> @nebutra/mcp@0.1.1 test /home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/ai/mcp
|
|
3
|
+
> vitest run
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
[1m[30m[46m RUN [49m[39m[22m [36mv4.1.4 [39m[90m/home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/ai/mcp[39m
|
|
7
|
+
|
|
8
|
+
[32m✓[39m src/__tests__/registry-and-context.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 148[2mms[22m[39m
|
|
9
|
+
|
|
10
|
+
[2m Test Files [22m [1m[32m1 passed[39m[22m[90m (1)[39m
|
|
11
|
+
[2m Tests [22m [1m[32m4 passed[39m[22m[90m (4)[39m
|
|
12
|
+
[2m Start at [22m 16:51:18
|
|
13
|
+
[2m Duration [22m 3.11s[2m (transform 854ms, setup 0ms, import 2.10s, tests 148ms, environment 0ms)[22m
|
|
14
|
+
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# @nebutra/mcp
|
|
2
|
+
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`5d3d7e6`](https://github.com/Nebutra/Nebutra-Sailor/commit/5d3d7e6c59cae5aa242bb988b75a9888cfd0db39) Thanks [@TsekaLuk](https://github.com/TsekaLuk)! - Harden production-readiness seams for published platform packages.
|
|
8
|
+
|
|
9
|
+
- Billing entitlement checks now account for pending requested usage before allowing quota-bound operations.
|
|
10
|
+
- Tenant JWT resolution now supports bearer-token extraction and typed request-compatible resolver inputs.
|
|
11
|
+
- Permissions OpenFGA support now targets store-scoped REST endpoints with auth token support and fail-closed checks.
|
|
12
|
+
- Queue QStash support now exposes an injectable dead-letter fetcher seam without assuming unstable provider SDK APIs.
|
|
13
|
+
- Webhooks custom delivery now supports injectable dead-letter storage so exhausted deliveries can be persisted outside process memory.
|
|
14
|
+
- Notifications direct delivery now supports bounded retry attempts with delivery-attempt telemetry hooks.
|
|
15
|
+
- MCP context server primitives now expose a usable registry and plan-aware tool execution seam instead of a placeholder-only server.
|