@hasna/shortlinks 0.2.7 → 0.2.10
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 +21 -24
- package/cloudflare/wrangler.example.toml +1 -1
- package/dist/cli/index.js +1602 -6178
- package/dist/cli/projection.d.ts +32 -0
- package/dist/client-store.d.ts +7 -7
- package/dist/cloud-store.d.ts +9 -7
- package/dist/generated/storage-kit/backend.d.ts +19 -0
- package/dist/generated/storage-kit/index.d.ts +2 -2
- package/dist/generated/storage-kit/own.d.ts +10 -0
- package/dist/generated/storage-kit/pool.d.ts +7 -6
- package/dist/generated/storage-kit/tls.d.ts +30 -3
- package/dist/index.js +1117 -6331
- package/dist/mcp/http.d.ts +2 -2
- package/dist/mcp/index.js +588 -6095
- package/dist/sdk/generated.d.ts +4 -4
- package/dist/sdk/index.d.ts +1 -2
- package/dist/sdk/index.js +13 -5
- package/dist/serve/app.d.ts +8 -5
- package/dist/serve/index.d.ts +5 -4
- package/dist/serve/index.js +762 -5251
- package/dist/store-interface.d.ts +4 -2
- package/infra/aws-ec2-user-data.sh +6 -6
- package/package.json +8 -5
- package/dist/generated/storage-kit/mode.d.ts +0 -47
package/dist/mcp/http.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* shortlinks MCP transport/port boilerplate — self-contained, with NO
|
|
4
4
|
* external harness dependency. The prior version depended on the unpublished
|
|
5
5
|
* `@hasna/mcp-harness` (a `file:` link), which made `shortlinks-mcp`
|
|
6
6
|
* unstartable on a fresh `npm i` / `bun add -g`. This version inlines the tiny
|
|
7
7
|
* amount of transport glue using only the published `@modelcontextprotocol/sdk`
|
|
8
8
|
* and Bun's built-in HTTP server, matching the pattern used by the reference
|
|
9
|
-
* apps (
|
|
9
|
+
* apps (conversations, mementos).
|
|
10
10
|
*
|
|
11
11
|
* shortlinks builds its MCP server with the low-level `Server`; the WebStandard
|
|
12
12
|
* transport's `.connect()` works identically on `Server` and the high-level
|