@plune-ai/cli 0.39.6 → 0.39.7
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 +31 -0
- package/dist/cli.cjs +473 -191
- package/dist/execute-CR3Ixbxj.d.cts +944 -0
- package/dist/execute-CR3Ixbxj.d.ts +944 -0
- package/dist/index.cjs +164 -7
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +164 -7
- package/dist/mcp-http.cjs +1291 -0
- package/dist/mcp-http.d.cts +25 -0
- package/dist/mcp-http.d.ts +25 -0
- package/dist/mcp-http.js +1266 -0
- package/dist/mcp-tools.cjs +173 -9
- package/dist/mcp-tools.d.cts +3 -938
- package/dist/mcp-tools.d.ts +3 -938
- package/dist/mcp-tools.js +173 -9
- package/dist/reporter-core.cjs +47 -0
- package/dist/reporter-core.d.cts +5 -0
- package/dist/reporter-core.d.ts +5 -0
- package/dist/reporter-core.js +47 -0
- package/package.json +7 -1
- package/skills/plune/SKILL.md +23 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { d as PluneToolExecutorOptions } from './execute-CR3Ixbxj.cjs';
|
|
2
|
+
import 'zod';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The Plune tools over streamable HTTP, for a host that mounts them on its own route: a fetch-shaped handler built from
|
|
6
|
+
* the same server factory `plune mcp serve` uses. It is exported from this package because a server built with one
|
|
7
|
+
* copy of the SDK cannot be served by a transport from another copy.
|
|
8
|
+
*
|
|
9
|
+
* One endpoint, POST only, no sessions, a JSON answer. A fresh server answers each request, so nothing is kept between
|
|
10
|
+
* two requests: the tool list is fixed in both protocol eras and `listChanged` is not announced. A 2025-era request is
|
|
11
|
+
* served by the SDK's stateless fallback, a 2026-07-28 one natively.
|
|
12
|
+
*
|
|
13
|
+
* The handler verifies nothing about the caller. The host does, and names the caller with every request: the API
|
|
14
|
+
* address, the token (or its own `fetchImpl`) and the scope. Origin and Host checks belong in front of it too.
|
|
15
|
+
*/
|
|
16
|
+
interface PluneMcpHttpOptions {
|
|
17
|
+
/** The server version announced to clients. */
|
|
18
|
+
version: string;
|
|
19
|
+
/** Rejected requests and failures, for the host's log; it never alters the response. */
|
|
20
|
+
onerror?: (error: Error) => void;
|
|
21
|
+
}
|
|
22
|
+
type PluneMcpHttpHandler = (request: Request, caller: PluneToolExecutorOptions) => Promise<Response>;
|
|
23
|
+
declare function createPluneMcpHttpHandler(opts: PluneMcpHttpOptions): PluneMcpHttpHandler;
|
|
24
|
+
|
|
25
|
+
export { type PluneMcpHttpHandler, type PluneMcpHttpOptions, createPluneMcpHttpHandler };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { d as PluneToolExecutorOptions } from './execute-CR3Ixbxj.js';
|
|
2
|
+
import 'zod';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The Plune tools over streamable HTTP, for a host that mounts them on its own route: a fetch-shaped handler built from
|
|
6
|
+
* the same server factory `plune mcp serve` uses. It is exported from this package because a server built with one
|
|
7
|
+
* copy of the SDK cannot be served by a transport from another copy.
|
|
8
|
+
*
|
|
9
|
+
* One endpoint, POST only, no sessions, a JSON answer. A fresh server answers each request, so nothing is kept between
|
|
10
|
+
* two requests: the tool list is fixed in both protocol eras and `listChanged` is not announced. A 2025-era request is
|
|
11
|
+
* served by the SDK's stateless fallback, a 2026-07-28 one natively.
|
|
12
|
+
*
|
|
13
|
+
* The handler verifies nothing about the caller. The host does, and names the caller with every request: the API
|
|
14
|
+
* address, the token (or its own `fetchImpl`) and the scope. Origin and Host checks belong in front of it too.
|
|
15
|
+
*/
|
|
16
|
+
interface PluneMcpHttpOptions {
|
|
17
|
+
/** The server version announced to clients. */
|
|
18
|
+
version: string;
|
|
19
|
+
/** Rejected requests and failures, for the host's log; it never alters the response. */
|
|
20
|
+
onerror?: (error: Error) => void;
|
|
21
|
+
}
|
|
22
|
+
type PluneMcpHttpHandler = (request: Request, caller: PluneToolExecutorOptions) => Promise<Response>;
|
|
23
|
+
declare function createPluneMcpHttpHandler(opts: PluneMcpHttpOptions): PluneMcpHttpHandler;
|
|
24
|
+
|
|
25
|
+
export { type PluneMcpHttpHandler, type PluneMcpHttpOptions, createPluneMcpHttpHandler };
|