@reclaimprotocol/agent 0.1.0-dev.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 +287 -0
- package/lib/cdp/capture.d.ts +22 -0
- package/lib/cdp/capture.js +159 -0
- package/lib/cdp/client.d.ts +9 -0
- package/lib/cdp/client.js +11 -0
- package/lib/cdp/eviction.d.ts +16 -0
- package/lib/cdp/eviction.js +38 -0
- package/lib/cdp/launcher.d.ts +14 -0
- package/lib/cdp/launcher.js +102 -0
- package/lib/cdp/tabs.d.ts +6 -0
- package/lib/cdp/tabs.js +10 -0
- package/lib/cli/args.d.ts +14 -0
- package/lib/cli/args.js +19 -0
- package/lib/cli/commands.d.ts +1 -0
- package/lib/cli/commands.js +19 -0
- package/lib/cli.d.ts +1 -0
- package/lib/cli.js +7 -0
- package/lib/config/store.d.ts +45 -0
- package/lib/config/store.js +46 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +7 -0
- package/lib/logger.d.ts +2 -0
- package/lib/logger.js +7 -0
- package/lib/mcp/api/operations.gen.d.ts +152 -0
- package/lib/mcp/api/operations.gen.js +2300 -0
- package/lib/mcp/api/tools.d.ts +3 -0
- package/lib/mcp/api/tools.js +36 -0
- package/lib/mcp/remap_errors.d.ts +2 -0
- package/lib/mcp/remap_errors.js +27 -0
- package/lib/mcp/server.d.ts +38 -0
- package/lib/mcp/server.js +76 -0
- package/lib/mcp/start.d.ts +1 -0
- package/lib/mcp/start.js +63 -0
- package/lib/mcp/tools/agent/analyze.d.ts +3 -0
- package/lib/mcp/tools/agent/analyze.js +26 -0
- package/lib/mcp/tools/agent/attach.d.ts +11 -0
- package/lib/mcp/tools/agent/attach.js +72 -0
- package/lib/mcp/tools/agent/build.d.ts +33 -0
- package/lib/mcp/tools/agent/build.js +74 -0
- package/lib/mcp/tools/agent/capture.d.ts +10 -0
- package/lib/mcp/tools/agent/capture.js +142 -0
- package/lib/mcp/tools/agent/eval.d.ts +5 -0
- package/lib/mcp/tools/agent/eval.js +127 -0
- package/lib/mcp/tools/agent/find.d.ts +3 -0
- package/lib/mcp/tools/agent/find.js +60 -0
- package/lib/mcp/tools/agent/proof.d.ts +3 -0
- package/lib/mcp/tools/agent/proof.js +214 -0
- package/lib/mcp/tools/agent/propose.d.ts +9 -0
- package/lib/mcp/tools/agent/propose.js +75 -0
- package/lib/mcp/tools/agent/publish.d.ts +3 -0
- package/lib/mcp/tools/agent/publish.js +122 -0
- package/lib/mcp/tools/agent/replay.d.ts +3 -0
- package/lib/mcp/tools/agent/replay.js +46 -0
- package/lib/mcp/tools/agent/session.d.ts +10 -0
- package/lib/mcp/tools/agent/session.js +29 -0
- package/lib/mcp/tools/credentials/authenticate.d.ts +3 -0
- package/lib/mcp/tools/credentials/authenticate.js +108 -0
- package/lib/mcp/tools/credentials/build.d.ts +16 -0
- package/lib/mcp/tools/credentials/build.js +33 -0
- package/lib/mcp/tools/credentials/cache.d.ts +70 -0
- package/lib/mcp/tools/credentials/cache.js +114 -0
- package/lib/mcp/tools/credentials/env-file.d.ts +25 -0
- package/lib/mcp/tools/credentials/env-file.js +71 -0
- package/lib/mcp/tools/credentials/import.d.ts +2 -0
- package/lib/mcp/tools/credentials/import.js +52 -0
- package/lib/mcp/tools/credentials/issue.d.ts +2 -0
- package/lib/mcp/tools/credentials/issue.js +84 -0
- package/lib/mcp/tools/credentials/list-cached.d.ts +2 -0
- package/lib/mcp/tools/credentials/list-cached.js +55 -0
- package/lib/mcp/tools/credentials/register.d.ts +18 -0
- package/lib/mcp/tools/credentials/register.js +30 -0
- package/lib/mcp/tools/credentials/resolve-owner-key.d.ts +12 -0
- package/lib/mcp/tools/credentials/resolve-owner-key.js +68 -0
- package/lib/mcp/tools/credentials/session-cache.d.ts +14 -0
- package/lib/mcp/tools/credentials/session-cache.js +19 -0
- package/lib/mcp/tools/credentials/status.d.ts +3 -0
- package/lib/mcp/tools/credentials/status.js +62 -0
- package/lib/mcp-bin.d.ts +1 -0
- package/lib/mcp-bin.js +7 -0
- package/lib/old/client.d.ts +67 -0
- package/lib/old/client.js +146 -0
- package/lib/old/flag.d.ts +11 -0
- package/lib/old/flag.js +13 -0
- package/lib/old/identity.d.ts +22 -0
- package/lib/old/identity.js +47 -0
- package/lib/old/instructions.d.ts +7 -0
- package/lib/old/instructions.js +29 -0
- package/lib/old/login-cdp.d.ts +23 -0
- package/lib/old/login-cdp.js +125 -0
- package/lib/old/to-register.d.ts +47 -0
- package/lib/old/to-register.js +133 -0
- package/lib/old/tools/authenticate.d.ts +18 -0
- package/lib/old/tools/authenticate.js +127 -0
- package/lib/old/tools/build.d.ts +9 -0
- package/lib/old/tools/build.js +16 -0
- package/lib/old/tools/me-providers.d.ts +10 -0
- package/lib/old/tools/me-providers.js +32 -0
- package/lib/old/tools/publish.d.ts +16 -0
- package/lib/old/tools/publish.js +97 -0
- package/lib/paths.d.ts +11 -0
- package/lib/paths.js +32 -0
- package/lib/pkg.d.ts +3 -0
- package/lib/pkg.js +13 -0
- package/lib/proof/attestor.d.ts +39 -0
- package/lib/proof/attestor.js +207 -0
- package/lib/proof/replay.d.ts +8 -0
- package/lib/proof/replay.js +73 -0
- package/lib/provider/constraints.d.ts +2 -0
- package/lib/provider/constraints.js +122 -0
- package/lib/provider/draft.d.ts +6 -0
- package/lib/provider/draft.js +68 -0
- package/lib/provider/graphql.d.ts +2 -0
- package/lib/provider/graphql.js +35 -0
- package/lib/provider/matcher.d.ts +36 -0
- package/lib/provider/matcher.js +436 -0
- package/lib/provider/normalize.d.ts +4 -0
- package/lib/provider/normalize.js +51 -0
- package/lib/provider/schema.d.ts +76 -0
- package/lib/provider/schema.js +1 -0
- package/lib/provider/secrets.d.ts +5 -0
- package/lib/provider/secrets.js +22 -0
- package/lib/provider/to-version.d.ts +22 -0
- package/lib/provider/to-version.js +68 -0
- package/lib/types/openapi.d.ts +4 -0
- package/lib/types/openapi.js +1 -0
- package/package.json +88 -0
- package/scripts/download-zk-files.ts +42 -0
- package/scripts/prepend-shebang.ts +17 -0
- package/skill/SKILL.md +248 -0
- package/src/cdp/capture.ts +215 -0
- package/src/cdp/client.ts +20 -0
- package/src/cdp/eviction.ts +52 -0
- package/src/cdp/launcher.ts +133 -0
- package/src/cdp/tabs.ts +22 -0
- package/src/cli/args.ts +20 -0
- package/src/cli/commands.ts +27 -0
- package/src/cli.ts +7 -0
- package/src/config/store.ts +86 -0
- package/src/index.ts +12 -0
- package/src/logger.ts +8 -0
- package/src/mcp/api/operations.gen.ts +2397 -0
- package/src/mcp/api/tools.ts +45 -0
- package/src/mcp/remap_errors.ts +35 -0
- package/src/mcp/server.ts +119 -0
- package/src/mcp/start.ts +78 -0
- package/src/mcp/tools/agent/analyze.ts +34 -0
- package/src/mcp/tools/agent/attach.ts +95 -0
- package/src/mcp/tools/agent/build.ts +99 -0
- package/src/mcp/tools/agent/capture.ts +202 -0
- package/src/mcp/tools/agent/eval.ts +161 -0
- package/src/mcp/tools/agent/find.ts +73 -0
- package/src/mcp/tools/agent/proof.ts +272 -0
- package/src/mcp/tools/agent/propose.ts +111 -0
- package/src/mcp/tools/agent/publish.ts +155 -0
- package/src/mcp/tools/agent/replay.ts +58 -0
- package/src/mcp/tools/agent/session.ts +46 -0
- package/src/mcp/tools/credentials/authenticate.ts +135 -0
- package/src/mcp/tools/credentials/build.ts +37 -0
- package/src/mcp/tools/credentials/cache.ts +161 -0
- package/src/mcp/tools/credentials/env-file.ts +101 -0
- package/src/mcp/tools/credentials/import.ts +72 -0
- package/src/mcp/tools/credentials/issue.ts +107 -0
- package/src/mcp/tools/credentials/list-cached.ts +66 -0
- package/src/mcp/tools/credentials/register.ts +49 -0
- package/src/mcp/tools/credentials/resolve-owner-key.ts +78 -0
- package/src/mcp/tools/credentials/session-cache.ts +31 -0
- package/src/mcp/tools/credentials/status.ts +82 -0
- package/src/mcp-bin.ts +7 -0
- package/src/old/client.ts +236 -0
- package/src/old/flag.ts +13 -0
- package/src/old/identity.ts +56 -0
- package/src/old/instructions.ts +30 -0
- package/src/old/login-cdp.ts +153 -0
- package/src/old/to-register.ts +234 -0
- package/src/old/tools/authenticate.ts +152 -0
- package/src/old/tools/build.ts +21 -0
- package/src/old/tools/me-providers.ts +42 -0
- package/src/old/tools/publish.ts +135 -0
- package/src/paths.ts +37 -0
- package/src/pkg.ts +24 -0
- package/src/proof/attestor.ts +286 -0
- package/src/proof/replay.ts +102 -0
- package/src/provider/constraints.ts +150 -0
- package/src/provider/draft.ts +105 -0
- package/src/provider/graphql.ts +42 -0
- package/src/provider/matcher.ts +616 -0
- package/src/provider/normalize.ts +65 -0
- package/src/provider/schema.ts +92 -0
- package/src/provider/secrets.ts +29 -0
- package/src/provider/to-version.ts +90 -0
- package/src/types/openapi.ts +7 -0
package/lib/cdp/tabs.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export async function listTabs(port) {
|
|
2
|
+
const res = await fetch(`http://127.0.0.1:${port}/json/list`);
|
|
3
|
+
if (!res.ok) {
|
|
4
|
+
throw new Error(`CDP /json/list returned ${res.status}`);
|
|
5
|
+
}
|
|
6
|
+
const targets = (await res.json());
|
|
7
|
+
return targets
|
|
8
|
+
.filter((t) => t.type === 'page')
|
|
9
|
+
.map((t) => ({ tabId: t.id, url: t.url, title: t.title }));
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare function parseCliArgs(argv: string[]): {
|
|
2
|
+
values: {
|
|
3
|
+
[longOption: string]: string | boolean | undefined;
|
|
4
|
+
} & {
|
|
5
|
+
'base-url'?: string | boolean | undefined;
|
|
6
|
+
token?: string | boolean | undefined;
|
|
7
|
+
param?: (string | boolean)[] | undefined;
|
|
8
|
+
query?: (string | boolean)[] | undefined;
|
|
9
|
+
body?: string | boolean | undefined;
|
|
10
|
+
help?: string | boolean | undefined;
|
|
11
|
+
version?: string | boolean | undefined;
|
|
12
|
+
};
|
|
13
|
+
positionals: string[];
|
|
14
|
+
};
|
package/lib/cli/args.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { parseArgs as nodeParseArgs } from 'node:util';
|
|
2
|
+
// Placeholder. Final shape decided once the backend openapi stabilises and
|
|
3
|
+
// the CLI surface is fleshed out (see AGENTS.md → "CLI").
|
|
4
|
+
export function parseCliArgs(argv) {
|
|
5
|
+
return nodeParseArgs({
|
|
6
|
+
args: argv,
|
|
7
|
+
options: {
|
|
8
|
+
'base-url': { type: 'string' },
|
|
9
|
+
token: { type: 'string' },
|
|
10
|
+
param: { type: 'string', multiple: true },
|
|
11
|
+
query: { type: 'string', multiple: true },
|
|
12
|
+
body: { type: 'string' },
|
|
13
|
+
help: { type: 'boolean', short: 'h' },
|
|
14
|
+
version: { type: 'boolean', short: 'v' },
|
|
15
|
+
},
|
|
16
|
+
allowPositionals: true,
|
|
17
|
+
strict: false,
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function run(argv: string[]): Promise<void>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { notImplemented } from '@hapi/boom';
|
|
2
|
+
import { DESCRIPTION, NAME, VERSION } from "../pkg.js";
|
|
3
|
+
import { parseCliArgs } from "./args.js";
|
|
4
|
+
// Entry point for the `reclaim` bin. Placeholder until backend openapi
|
|
5
|
+
// finalises — `--version` and `--help` work; everything else throws.
|
|
6
|
+
export async function run(argv) {
|
|
7
|
+
const parsed = parseCliArgs(argv);
|
|
8
|
+
if (parsed.values['version']) {
|
|
9
|
+
process.stdout.write(`${NAME} ${VERSION}\n`);
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
if (parsed.values['help']) {
|
|
13
|
+
process.stdout.write(`${NAME} ${VERSION}\n${DESCRIPTION}\n\n` +
|
|
14
|
+
'Usage: reclaim call <OperationId> ' +
|
|
15
|
+
'[--param k=v] [--query k=v] [--body <json>]\n');
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
throw notImplemented('reclaim CLI: pending @reclaimprotocol/app spec finalisation');
|
|
19
|
+
}
|
package/lib/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/cli.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { CachedCredential } from '../mcp/tools/credentials/cache.ts';
|
|
2
|
+
import type { CachedSession } from '../mcp/tools/credentials/session-cache.ts';
|
|
3
|
+
import type { OldIdentity } from '../old/client.ts';
|
|
4
|
+
export interface ReclaimAgentConfig {
|
|
5
|
+
attachMode: 'dedicated' | 'attach';
|
|
6
|
+
port: number;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* The single on-disk document at `~/.reclaim/config.json`. Each top-level
|
|
10
|
+
* key is an independent section owned by a different subsystem:
|
|
11
|
+
* - `browser_agent` — Chrome attach mode/port (the agent tools)
|
|
12
|
+
* - `credentials` — cached app key-pairs (the credential tools)
|
|
13
|
+
* - `session` — the auth bearer token (authenticate)
|
|
14
|
+
* - `old_devtools` — externally-supplied identity for OLD-devtools mode
|
|
15
|
+
* (USE_OLD_DEVTOOLS); independent of `session`'s
|
|
16
|
+
* builder token. Deletable with the rest of `src/old/`.
|
|
17
|
+
* Sections are persisted independently via `ConfigStore.write`, which
|
|
18
|
+
* merges rather than replaces, so one subsystem never clobbers another's.
|
|
19
|
+
*/
|
|
20
|
+
export interface ReclaimConfig {
|
|
21
|
+
version: 1;
|
|
22
|
+
browser_agent?: ReclaimAgentConfig;
|
|
23
|
+
credentials?: CachedCredential[];
|
|
24
|
+
session?: CachedSession;
|
|
25
|
+
old_devtools?: OldIdentity;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Read/write the unified Reclaim config document. The file holds secrets
|
|
29
|
+
* (a bearer token and private keys), so it is always locked to `0600` and
|
|
30
|
+
* its directory to `0700` — the `~/.ssh` posture. `read()` returns
|
|
31
|
+
* `undefined` when the file is missing or unparseable; callers layer their
|
|
32
|
+
* own validation (token expiry, credential shape) on top.
|
|
33
|
+
*/
|
|
34
|
+
export declare class ConfigStore {
|
|
35
|
+
#private;
|
|
36
|
+
constructor(path?: string);
|
|
37
|
+
read(): ReclaimConfig | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Shallow-merge `patch` over the current document and persist the
|
|
40
|
+
* result, preserving every section not named in `patch` so concurrent
|
|
41
|
+
* subsystems don't overwrite each other's keys.
|
|
42
|
+
*/
|
|
43
|
+
write(patch: Partial<ReclaimConfig>): ReclaimConfig;
|
|
44
|
+
}
|
|
45
|
+
export declare function defaultConfigPath(): string;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { chmodSync, existsSync, mkdirSync, readFileSync, writeFileSync, } from 'node:fs';
|
|
2
|
+
import { dirname, join } from 'node:path';
|
|
3
|
+
import { reclaimHomeDirPath } from "../paths.js";
|
|
4
|
+
/**
|
|
5
|
+
* Read/write the unified Reclaim config document. The file holds secrets
|
|
6
|
+
* (a bearer token and private keys), so it is always locked to `0600` and
|
|
7
|
+
* its directory to `0700` — the `~/.ssh` posture. `read()` returns
|
|
8
|
+
* `undefined` when the file is missing or unparseable; callers layer their
|
|
9
|
+
* own validation (token expiry, credential shape) on top.
|
|
10
|
+
*/
|
|
11
|
+
export class ConfigStore {
|
|
12
|
+
#path;
|
|
13
|
+
constructor(path = defaultConfigPath()) {
|
|
14
|
+
this.#path = path;
|
|
15
|
+
}
|
|
16
|
+
read() {
|
|
17
|
+
if (!existsSync(this.#path)) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
try {
|
|
21
|
+
return JSON.parse(readFileSync(this.#path, 'utf8'));
|
|
22
|
+
}
|
|
23
|
+
catch {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Shallow-merge `patch` over the current document and persist the
|
|
29
|
+
* result, preserving every section not named in `patch` so concurrent
|
|
30
|
+
* subsystems don't overwrite each other's keys.
|
|
31
|
+
*/
|
|
32
|
+
write(patch) {
|
|
33
|
+
const next = { ...this.read(), ...patch, version: 1 };
|
|
34
|
+
const dir = dirname(this.#path);
|
|
35
|
+
mkdirSync(dir, { recursive: true, mode: 0o700 });
|
|
36
|
+
chmodSync(dir, 0o700);
|
|
37
|
+
writeFileSync(this.#path, JSON.stringify(next, null, 2) + '\n', {
|
|
38
|
+
mode: 0o600,
|
|
39
|
+
});
|
|
40
|
+
chmodSync(this.#path, 0o600);
|
|
41
|
+
return next;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export function defaultConfigPath() {
|
|
45
|
+
return join(reclaimHomeDirPath(), 'config.json');
|
|
46
|
+
}
|
package/lib/index.d.ts
ADDED
package/lib/index.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Package entry — SDK re-exports + agent public API.
|
|
2
|
+
// The CLI lives at ./cli.ts, the MCP server bin at ./mcp-bin.ts.
|
|
3
|
+
// SDK — re-export everything from @reclaimprotocol/client so consumers
|
|
4
|
+
// only need one package for both the typed HTTP client and the agent tools.
|
|
5
|
+
export * from '@reclaimprotocol/client';
|
|
6
|
+
// Agent — Chrome CDP capture, provider synthesis, replay, proof.
|
|
7
|
+
export { buildAgentTools, } from "./mcp/tools/agent/build.js";
|
package/lib/logger.d.ts
ADDED
package/lib/logger.js
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
export declare const MCP_TOOLS: {
|
|
2
|
+
AddOrgMember: {
|
|
3
|
+
description: string;
|
|
4
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
5
|
+
};
|
|
6
|
+
AdminOrgs: {
|
|
7
|
+
description: string;
|
|
8
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
9
|
+
};
|
|
10
|
+
AdminProviders: {
|
|
11
|
+
description: string;
|
|
12
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
13
|
+
};
|
|
14
|
+
AdminReviews: {
|
|
15
|
+
description: string;
|
|
16
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
17
|
+
};
|
|
18
|
+
CancelPublicListingRequest: {
|
|
19
|
+
description: string;
|
|
20
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
21
|
+
};
|
|
22
|
+
CreateAttachSession: {
|
|
23
|
+
description: string;
|
|
24
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
25
|
+
};
|
|
26
|
+
CreateOrg: {
|
|
27
|
+
description: string;
|
|
28
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
29
|
+
};
|
|
30
|
+
CreateProvider: {
|
|
31
|
+
description: string;
|
|
32
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
33
|
+
};
|
|
34
|
+
CreateProviderVersion: {
|
|
35
|
+
description: string;
|
|
36
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
37
|
+
};
|
|
38
|
+
DecideProviderVersionReview: {
|
|
39
|
+
description: string;
|
|
40
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
41
|
+
};
|
|
42
|
+
DeleteProvider: {
|
|
43
|
+
description: string;
|
|
44
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
45
|
+
};
|
|
46
|
+
DeleteProviderVersion: {
|
|
47
|
+
description: string;
|
|
48
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
49
|
+
};
|
|
50
|
+
GetAttachSession: {
|
|
51
|
+
description: string;
|
|
52
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
53
|
+
};
|
|
54
|
+
GetCredential: {
|
|
55
|
+
description: string;
|
|
56
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
57
|
+
};
|
|
58
|
+
GetCredentialByAddress: {
|
|
59
|
+
description: string;
|
|
60
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
61
|
+
};
|
|
62
|
+
GetMe: {
|
|
63
|
+
description: string;
|
|
64
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
65
|
+
};
|
|
66
|
+
GetOrg: {
|
|
67
|
+
description: string;
|
|
68
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
69
|
+
};
|
|
70
|
+
GetOrgBilling: {
|
|
71
|
+
description: string;
|
|
72
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
73
|
+
};
|
|
74
|
+
GetProvider: {
|
|
75
|
+
description: string;
|
|
76
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
77
|
+
};
|
|
78
|
+
GetProviderVersion: {
|
|
79
|
+
description: string;
|
|
80
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
81
|
+
};
|
|
82
|
+
GetUser: {
|
|
83
|
+
description: string;
|
|
84
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
85
|
+
};
|
|
86
|
+
LinkCredential: {
|
|
87
|
+
description: string;
|
|
88
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
89
|
+
};
|
|
90
|
+
ListOrgCredentials: {
|
|
91
|
+
description: string;
|
|
92
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
93
|
+
};
|
|
94
|
+
ListOrgs: {
|
|
95
|
+
description: string;
|
|
96
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
97
|
+
};
|
|
98
|
+
ListProviderVersions: {
|
|
99
|
+
description: string;
|
|
100
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
101
|
+
};
|
|
102
|
+
MakePrivate: {
|
|
103
|
+
description: string;
|
|
104
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
105
|
+
};
|
|
106
|
+
Providers: {
|
|
107
|
+
description: string;
|
|
108
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
109
|
+
};
|
|
110
|
+
PublishProviderVersion: {
|
|
111
|
+
description: string;
|
|
112
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
113
|
+
};
|
|
114
|
+
RequestPublicListing: {
|
|
115
|
+
description: string;
|
|
116
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
117
|
+
};
|
|
118
|
+
RevokeCredential: {
|
|
119
|
+
description: string;
|
|
120
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
121
|
+
};
|
|
122
|
+
SubmitProviderVersionForReview: {
|
|
123
|
+
description: string;
|
|
124
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
125
|
+
};
|
|
126
|
+
TransferProvider: {
|
|
127
|
+
description: string;
|
|
128
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
129
|
+
};
|
|
130
|
+
UpdateMe: {
|
|
131
|
+
description: string;
|
|
132
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
133
|
+
};
|
|
134
|
+
UpdateOrg: {
|
|
135
|
+
description: string;
|
|
136
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
137
|
+
};
|
|
138
|
+
UpdateOrgBilling: {
|
|
139
|
+
description: string;
|
|
140
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
141
|
+
};
|
|
142
|
+
UpdateProvider: {
|
|
143
|
+
description: string;
|
|
144
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
145
|
+
};
|
|
146
|
+
UpdateProviderVersion: {
|
|
147
|
+
description: string;
|
|
148
|
+
inputSchema: import("zod").ZodTypeAny;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
export type McpToolName = keyof typeof MCP_TOOLS;
|
|
152
|
+
export type McpToolShape = (typeof MCP_TOOLS)[McpToolName];
|