@reclaimprotocol/agent 0.1.1-dev.1 → 0.1.2
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 +1 -1
- package/lib/cdp/capture-engine.d.ts +66 -0
- package/lib/cdp/capture-engine.js +153 -0
- package/lib/cdp/capture.d.ts +9 -20
- package/lib/cdp/capture.js +14 -138
- package/lib/cdp/index.d.ts +3 -0
- package/lib/cdp/index.js +6 -0
- package/lib/cdp/launcher.js +4 -3
- package/lib/config/store.d.ts +7 -6
- package/lib/config/store.js +2 -2
- package/lib/consts.d.ts +68 -0
- package/lib/consts.js +134 -0
- package/lib/index.d.ts +2 -2
- package/lib/index.js +1 -1
- package/lib/logger.js +2 -1
- package/lib/mcp/api/operations.gen.d.ts +100 -48
- package/lib/mcp/api/operations.gen.js +1129 -194
- package/lib/mcp/api/to-zod.d.ts +24 -0
- package/lib/mcp/api/to-zod.js +94 -0
- package/lib/mcp/api/tools.js +1 -1
- package/lib/mcp/credentials/authenticate.d.ts +3 -0
- package/lib/mcp/{tools/credentials → credentials}/authenticate.js +3 -3
- package/lib/mcp/credentials/build.d.ts +5 -0
- package/lib/mcp/credentials/build.js +18 -0
- package/lib/mcp/{tools/credentials → credentials}/cache.d.ts +9 -9
- package/lib/mcp/{tools/credentials → credentials}/cache.js +36 -19
- package/lib/mcp/credentials/import.d.ts +2 -0
- package/lib/mcp/{tools/credentials → credentials}/import.js +2 -2
- package/lib/mcp/credentials/issue.d.ts +2 -0
- package/lib/mcp/{tools/credentials → credentials}/issue.js +4 -4
- package/lib/mcp/credentials/keypair.d.ts +17 -0
- package/lib/mcp/credentials/keypair.js +48 -0
- package/lib/mcp/credentials/link.d.ts +3 -0
- package/lib/mcp/credentials/link.js +107 -0
- package/lib/mcp/{tools/credentials → credentials}/list-cached.d.ts +1 -1
- package/lib/mcp/{tools/credentials → credentials}/list-cached.js +5 -5
- package/lib/mcp/credentials/owner-key.d.ts +23 -0
- package/lib/mcp/credentials/owner-key.js +58 -0
- package/lib/mcp/credentials/paths.d.ts +12 -0
- package/lib/mcp/credentials/paths.js +35 -0
- package/lib/mcp/credentials/poll.d.ts +27 -0
- package/lib/mcp/credentials/poll.js +61 -0
- package/lib/mcp/{tools/credentials → credentials}/resolve-owner-key.d.ts +1 -1
- package/lib/mcp/{tools/credentials → credentials}/resolve-owner-key.js +2 -2
- package/lib/mcp/credentials/session-cache.d.ts +14 -0
- package/lib/mcp/credentials/session-cache.js +42 -0
- package/lib/mcp/{tools/credentials → credentials}/status.d.ts +1 -1
- package/lib/mcp/credentials/status.js +76 -0
- package/lib/mcp/instructions.d.ts +1 -0
- package/lib/mcp/instructions.js +11 -0
- package/lib/mcp/register.d.ts +38 -0
- package/lib/mcp/register.js +80 -0
- package/lib/mcp/server.d.ts +2 -8
- package/lib/mcp/server.js +3 -33
- package/lib/mcp/start.js +17 -11
- package/lib/mcp/tools/agent/build.d.ts +5 -9
- package/lib/mcp/tools/agent/build.js +7 -24
- package/lib/mcp/tools/agent/index.d.ts +2 -0
- package/lib/mcp/tools/agent/index.js +3 -0
- package/lib/mcp/tools/agent/proof.js +3 -7
- package/lib/mcp/tools/agent/propose.js +13 -2
- package/lib/mcp/tools/agent/publish.js +172 -75
- package/lib/mcp/tools/agent/replay.js +0 -5
- package/lib/mcp/tools/analyze.d.ts +3 -0
- package/lib/mcp/tools/analyze.js +26 -0
- package/lib/mcp/tools/attach.d.ts +11 -0
- package/lib/mcp/tools/attach.js +72 -0
- package/lib/mcp/tools/authenticate/authenticate.js +107 -0
- package/lib/mcp/tools/authenticate/build.d.ts +15 -0
- package/lib/mcp/tools/authenticate/build.js +28 -0
- package/lib/mcp/tools/authenticate/decrypt-key.d.ts +19 -0
- package/lib/mcp/tools/authenticate/decrypt-key.js +46 -0
- package/lib/mcp/tools/authenticate/eth-key.d.ts +31 -0
- package/lib/mcp/tools/authenticate/eth-key.js +116 -0
- package/lib/mcp/tools/authenticate/import.js +57 -0
- package/lib/mcp/tools/authenticate/index.d.ts +2 -0
- package/lib/mcp/tools/authenticate/index.js +4 -0
- package/lib/mcp/tools/authenticate/issue.js +42 -0
- package/lib/mcp/tools/authenticate/resolve-owner-key.d.ts +13 -0
- package/lib/mcp/tools/authenticate/resolve-owner-key.js +53 -0
- package/lib/mcp/tools/capture.d.ts +10 -0
- package/lib/mcp/tools/capture.js +142 -0
- package/lib/mcp/tools/eval.d.ts +5 -0
- package/lib/mcp/tools/eval.js +127 -0
- package/lib/mcp/tools/find.d.ts +3 -0
- package/lib/mcp/tools/find.js +60 -0
- package/lib/mcp/tools/index.d.ts +3 -0
- package/lib/mcp/tools/index.js +6 -0
- package/lib/mcp/tools/owner-key.d.ts +2 -0
- package/lib/mcp/tools/owner-key.js +63 -0
- package/lib/mcp/tools/proof.d.ts +3 -0
- package/lib/mcp/tools/proof.js +214 -0
- package/lib/mcp/tools/propose.d.ts +9 -0
- package/lib/mcp/tools/propose.js +75 -0
- package/lib/mcp/tools/publish.d.ts +3 -0
- package/lib/mcp/tools/publish.js +59 -0
- package/lib/mcp/tools/replay.d.ts +3 -0
- package/lib/mcp/tools/replay.js +46 -0
- package/lib/mcp/tools/session.d.ts +10 -0
- package/lib/mcp/tools/session.js +29 -0
- package/lib/mcp/tools/verification/build.d.ts +12 -0
- package/lib/mcp/tools/verification/build.js +14 -0
- package/lib/mcp/tools/verification/diagnose.d.ts +11 -0
- package/lib/mcp/tools/verification/diagnose.js +132 -0
- package/lib/mcp/tools/verification/index.d.ts +1 -0
- package/lib/mcp/tools/verification/index.js +2 -0
- package/lib/mcp/tools/verification/result.d.ts +11 -0
- package/lib/mcp/tools/verification/result.js +126 -0
- package/lib/mcp/verifications/build.d.ts +5 -0
- package/lib/mcp/verifications/build.js +14 -0
- package/lib/mcp/verifications/create.d.ts +3 -0
- package/lib/mcp/verifications/create.js +57 -0
- package/lib/mcp/verifications/find.d.ts +3 -0
- package/lib/mcp/verifications/find.js +37 -0
- package/lib/mcp/verifications/get.d.ts +3 -0
- package/lib/mcp/verifications/get.js +26 -0
- package/lib/mcp/verifications/update.d.ts +3 -0
- package/lib/mcp/verifications/update.js +78 -0
- package/lib/old/client.d.ts +3 -0
- package/lib/old/flag.d.ts +4 -1
- package/lib/old/flag.js +4 -3
- package/lib/old/identity.d.ts +0 -10
- package/lib/old/identity.js +8 -7
- package/lib/old/instructions.d.ts +0 -6
- package/lib/old/instructions.js +6 -24
- package/lib/old/login-cdp.d.ts +0 -3
- package/lib/old/login-cdp.js +2 -4
- package/lib/old/to-register.d.ts +3 -0
- package/lib/old/to-register.js +32 -7
- package/lib/old/tools/authenticate.js +2 -1
- package/lib/old/tools/publish.js +71 -10
- package/lib/paths.js +2 -2
- package/lib/proof/attestor.d.ts +33 -1
- package/lib/proof/attestor.js +67 -64
- package/lib/proof/index.d.ts +5 -0
- package/lib/proof/index.js +6 -0
- package/lib/proof/proof-core.d.ts +35 -0
- package/lib/proof/proof-core.js +84 -0
- package/lib/provider/index.d.ts +5 -0
- package/lib/provider/index.js +9 -0
- package/lib/provider/injection-doc.d.ts +1 -0
- package/lib/provider/injection-doc.js +17 -0
- package/lib/provider/match-redaction-warning.d.ts +25 -0
- package/lib/provider/match-redaction-warning.js +35 -0
- package/lib/provider/schema.d.ts +16 -0
- package/lib/provider/schema.js +11 -1
- package/lib/provider/to-version.d.ts +61 -12
- package/lib/provider/to-version.js +109 -24
- package/lib/provider/verification-checks.d.ts +12 -0
- package/lib/provider/verification-checks.js +30 -0
- package/lib/routes.gen.d.ts +271 -0
- package/lib/routes.gen.js +73 -0
- package/lib/types/openapi.gen.d.ts +3967 -0
- package/lib/types/openapi.gen.js +5 -0
- package/package.json +16 -7
- package/skill/SKILL.md +35 -14
- package/skill/builder-mode.md +13 -0
- package/skill/injection-api.md +42 -0
- package/skill/old-mode.md +15 -0
- package/src/cdp/capture-engine.ts +256 -0
- package/src/cdp/capture.ts +25 -185
- package/src/cdp/index.ts +6 -0
- package/src/cdp/launcher.ts +5 -4
- package/src/config/store.ts +7 -6
- package/src/consts.ts +164 -0
- package/src/index.ts +2 -4
- package/src/logger.ts +2 -1
- package/src/mcp/api/operations.gen.ts +1155 -194
- package/src/mcp/api/to-zod.ts +115 -0
- package/src/mcp/api/tools.ts +9 -3
- package/src/mcp/instructions.ts +15 -0
- package/src/mcp/server.ts +5 -50
- package/src/mcp/start.ts +27 -11
- package/src/mcp/tools/agent/build.ts +7 -27
- package/src/mcp/tools/agent/index.ts +4 -0
- package/src/mcp/tools/agent/proof.ts +3 -8
- package/src/mcp/tools/agent/propose.ts +13 -2
- package/src/mcp/tools/agent/publish.ts +218 -92
- package/src/mcp/tools/agent/replay.ts +0 -5
- package/src/mcp/tools/{credentials → authenticate}/authenticate.ts +9 -8
- package/src/mcp/tools/authenticate/build.ts +32 -0
- package/src/mcp/tools/authenticate/decrypt-key.ts +59 -0
- package/src/mcp/tools/authenticate/eth-key.ts +162 -0
- package/src/mcp/tools/authenticate/import.ts +73 -0
- package/src/mcp/tools/authenticate/index.ts +4 -0
- package/src/mcp/tools/authenticate/issue.ts +50 -0
- package/src/mcp/tools/authenticate/resolve-owner-key.ts +60 -0
- package/src/mcp/tools/index.ts +6 -0
- package/src/mcp/tools/verification/build.ts +16 -0
- package/src/mcp/tools/verification/index.ts +2 -0
- package/src/mcp/tools/verification/result.ts +154 -0
- package/src/old/client.ts +3 -0
- package/src/old/flag.ts +4 -3
- package/src/old/identity.ts +8 -7
- package/src/old/instructions.ts +10 -25
- package/src/old/login-cdp.ts +2 -5
- package/src/old/to-register.ts +58 -26
- package/src/old/tools/authenticate.ts +2 -1
- package/src/old/tools/publish.ts +92 -16
- package/src/paths.ts +2 -2
- package/src/proof/attestor.ts +114 -72
- package/src/proof/index.ts +21 -0
- package/src/proof/proof-core.ts +119 -0
- package/src/provider/index.ts +20 -0
- package/src/provider/injection-doc.ts +21 -0
- package/src/provider/match-redaction-warning.ts +53 -0
- package/src/provider/schema.ts +23 -0
- package/src/provider/to-version.ts +180 -33
- package/src/provider/verification-checks.ts +36 -0
- package/lib/mcp/tools/credentials/build.d.ts +0 -16
- package/lib/mcp/tools/credentials/build.js +0 -33
- package/lib/mcp/tools/credentials/status.js +0 -62
- package/src/mcp/tools/credentials/build.ts +0 -37
- package/src/mcp/tools/credentials/cache.ts +0 -161
- package/src/mcp/tools/credentials/env-file.ts +0 -101
- package/src/mcp/tools/credentials/import.ts +0 -72
- package/src/mcp/tools/credentials/issue.ts +0 -107
- package/src/mcp/tools/credentials/list-cached.ts +0 -66
- package/src/mcp/tools/credentials/register.ts +0 -49
- package/src/mcp/tools/credentials/resolve-owner-key.ts +0 -78
- package/src/mcp/tools/credentials/status.ts +0 -82
- package/src/types/openapi.ts +0 -7
- /package/lib/mcp/{tools/credentials → credentials}/env-file.d.ts +0 -0
- /package/lib/mcp/{tools/credentials → credentials}/env-file.js +0 -0
- /package/lib/mcp/{tools/credentials → credentials}/register.d.ts +0 -0
- /package/lib/mcp/{tools/credentials → credentials}/register.js +0 -0
- /package/lib/mcp/tools/{credentials → authenticate}/authenticate.d.ts +0 -0
- /package/lib/mcp/tools/{credentials → authenticate}/import.d.ts +0 -0
- /package/lib/mcp/tools/{credentials → authenticate}/issue.d.ts +0 -0
- /package/lib/mcp/tools/{credentials → authenticate}/session-cache.d.ts +0 -0
- /package/lib/mcp/tools/{credentials → authenticate}/session-cache.js +0 -0
- /package/src/mcp/tools/{credentials → authenticate}/session-cache.ts +0 -0
package/lib/consts.js
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Centralized environment access for `@reclaimprotocol/agent`.
|
|
3
|
+
*
|
|
4
|
+
* This is the ONLY non-test source file under `src/` that reads
|
|
5
|
+
* `process.env`. Every other module imports a getter from here instead of
|
|
6
|
+
* touching `process.env` directly.
|
|
7
|
+
*
|
|
8
|
+
* Almost everything is exposed as a LAZY GETTER FUNCTION rather than an eager
|
|
9
|
+
* `const`, on purpose: several tests mutate env at runtime (mcp-credentials
|
|
10
|
+
* sets/deletes RECLAIM_PRIVATE_KEY / RECLAIM_PRIVATE_KEY_FILE / RECLAIM_HOME;
|
|
11
|
+
* old-devtools sets/deletes USE_OLD_DEVTOOLS), and most of these vars are read
|
|
12
|
+
* at call time anyway. An eager const captured at import time would freeze the
|
|
13
|
+
* value and break those tests. The one eager const that's safe is `LOG_LEVEL`,
|
|
14
|
+
* which is read once at logger construction.
|
|
15
|
+
*
|
|
16
|
+
* Each var's default/fallback literal is co-located with its getter.
|
|
17
|
+
*/
|
|
18
|
+
import { DEFAULT_BASE_URL } from '@reclaimprotocol/client';
|
|
19
|
+
import { homedir } from 'node:os';
|
|
20
|
+
import { join } from 'node:path';
|
|
21
|
+
import { DEFAULT_OLD_API_URL } from "./old/client.js";
|
|
22
|
+
// ---------------------------------------------------------------------------
|
|
23
|
+
// Default / fallback literals (used only as env fallbacks).
|
|
24
|
+
// ---------------------------------------------------------------------------
|
|
25
|
+
/** Public attestor websocket URL — fallback for `RECLAIM_ATTESTOR_URL`. */
|
|
26
|
+
export const FALLBACK_ATTESTOR_URL = 'wss://attestor.reclaimprotocol.org:444/ws';
|
|
27
|
+
/** The devtools dashboard login page — fallback for `RECLAIM_OLD_LOGIN_URL`. */
|
|
28
|
+
export const DEFAULT_LOGIN_URL = 'https://dev.reclaimprotocol.org';
|
|
29
|
+
// Re-export the two non-env-fallback defaults so callers can keep importing
|
|
30
|
+
// their URL defaults from a single place if they wish.
|
|
31
|
+
export { DEFAULT_BASE_URL, DEFAULT_OLD_API_URL };
|
|
32
|
+
// ---------------------------------------------------------------------------
|
|
33
|
+
// Logging.
|
|
34
|
+
// ---------------------------------------------------------------------------
|
|
35
|
+
/** Pino log level. Read once at logger construction, so an eager const is
|
|
36
|
+
* safe (no test mutates LOG_LEVEL at runtime). */
|
|
37
|
+
export const LOG_LEVEL = process.env.LOG_LEVEL || 'info';
|
|
38
|
+
// ---------------------------------------------------------------------------
|
|
39
|
+
// Paths.
|
|
40
|
+
// ---------------------------------------------------------------------------
|
|
41
|
+
/** Reclaim cache directory (`~/.reclaim`). `RECLAIM_HOME` overrides it so
|
|
42
|
+
* tests can sandbox writes. */
|
|
43
|
+
export function reclaimHome() {
|
|
44
|
+
return process.env.RECLAIM_HOME || join(homedir(), '.reclaim');
|
|
45
|
+
}
|
|
46
|
+
// ---------------------------------------------------------------------------
|
|
47
|
+
// Mode flag.
|
|
48
|
+
// ---------------------------------------------------------------------------
|
|
49
|
+
/**
|
|
50
|
+
* `USE_OLD_DEVTOOLS` — single source of truth for which backend the MCP
|
|
51
|
+
* server targets. Defaults to OLD devtools while the builder backend is under
|
|
52
|
+
* development. Builder mode must be opted into EXPLICITLY with
|
|
53
|
+
* `USE_OLD_DEVTOOLS=false`; anything else keeps old mode on.
|
|
54
|
+
*/
|
|
55
|
+
export function useOldDevtools() {
|
|
56
|
+
return (process.env.USE_OLD_DEVTOOLS ?? '').trim().toLowerCase() !== 'false';
|
|
57
|
+
}
|
|
58
|
+
// ---------------------------------------------------------------------------
|
|
59
|
+
// Chrome / CDP launcher.
|
|
60
|
+
// ---------------------------------------------------------------------------
|
|
61
|
+
/** `%LOCALAPPDATA%` on Windows, used to probe a per-user Chrome install. */
|
|
62
|
+
export function localAppData() {
|
|
63
|
+
return process.env['LOCALAPPDATA'];
|
|
64
|
+
}
|
|
65
|
+
/** Explicit Chrome/Edge/Chromium binary path override. */
|
|
66
|
+
export function chromePath() {
|
|
67
|
+
return process.env.RECLAIM_AGENT_CHROME_PATH;
|
|
68
|
+
}
|
|
69
|
+
// ---------------------------------------------------------------------------
|
|
70
|
+
// MCP server / API clients.
|
|
71
|
+
// ---------------------------------------------------------------------------
|
|
72
|
+
/** Agent tools (Chrome CDP capture, synthesis, proof) are disabled in hosted
|
|
73
|
+
* deployments by setting `RECLAIM_AGENT_DISABLED=1`. Shared by mcp/start and
|
|
74
|
+
* the old-mode authenticate tool. */
|
|
75
|
+
export function agentDisabled() {
|
|
76
|
+
return process.env.RECLAIM_AGENT_DISABLED === '1';
|
|
77
|
+
}
|
|
78
|
+
/** Old-devtools backend base URL. */
|
|
79
|
+
export function oldApiUrl() {
|
|
80
|
+
return process.env.RECLAIM_OLD_API_URL || DEFAULT_OLD_API_URL;
|
|
81
|
+
}
|
|
82
|
+
/** Builder backend base URL. Shared by mcp/start and the verification tool. */
|
|
83
|
+
export function apiUrl() {
|
|
84
|
+
return process.env.RECLAIM_API_URL || DEFAULT_BASE_URL;
|
|
85
|
+
}
|
|
86
|
+
/** Explicit builder API token (overrides the cached session token). */
|
|
87
|
+
export function apiToken() {
|
|
88
|
+
return process.env.RECLAIM_API_TOKEN;
|
|
89
|
+
}
|
|
90
|
+
// ---------------------------------------------------------------------------
|
|
91
|
+
// Proof tracing.
|
|
92
|
+
// ---------------------------------------------------------------------------
|
|
93
|
+
/** Diagnostic trace capture (`RECLAIM_AGENT_TRACE=1`). Shared by the attestor
|
|
94
|
+
* logger capture and the proof-run dump. */
|
|
95
|
+
export function agentTraceEnabled() {
|
|
96
|
+
return process.env['RECLAIM_AGENT_TRACE'] === '1';
|
|
97
|
+
}
|
|
98
|
+
/** Attestor websocket URL override (`RECLAIM_ATTESTOR_URL`). */
|
|
99
|
+
export function attestorUrlOverride() {
|
|
100
|
+
return process.env['RECLAIM_ATTESTOR_URL'];
|
|
101
|
+
}
|
|
102
|
+
// ---------------------------------------------------------------------------
|
|
103
|
+
// Eth proof-owner key resolution.
|
|
104
|
+
// ---------------------------------------------------------------------------
|
|
105
|
+
/** Raw 0x-hex Ethereum private key (`RECLAIM_PRIVATE_KEY`). */
|
|
106
|
+
export function privateKey() {
|
|
107
|
+
return process.env.RECLAIM_PRIVATE_KEY;
|
|
108
|
+
}
|
|
109
|
+
/** Path to a raw-hex key file (`RECLAIM_PRIVATE_KEY_FILE`). */
|
|
110
|
+
export function privateKeyFile() {
|
|
111
|
+
return process.env.RECLAIM_PRIVATE_KEY_FILE;
|
|
112
|
+
}
|
|
113
|
+
// ---------------------------------------------------------------------------
|
|
114
|
+
// Verification reads.
|
|
115
|
+
// ---------------------------------------------------------------------------
|
|
116
|
+
/** Per-org bearer secret (`rorg_…`) used to authenticate verification reads. */
|
|
117
|
+
export function orgSecret() {
|
|
118
|
+
return process.env.RECLAIM_ORG_SECRET;
|
|
119
|
+
}
|
|
120
|
+
// ---------------------------------------------------------------------------
|
|
121
|
+
// Old-devtools identity / login.
|
|
122
|
+
// ---------------------------------------------------------------------------
|
|
123
|
+
/** Dashboard Firebase bearer token for the old backend. */
|
|
124
|
+
export function oldApiToken() {
|
|
125
|
+
return process.env.RECLAIM_OLD_API_TOKEN;
|
|
126
|
+
}
|
|
127
|
+
/** An `eth:<addr>` (or bare `0x…`) uid for the old backend. */
|
|
128
|
+
export function oldEthUid() {
|
|
129
|
+
return process.env.RECLAIM_OLD_ETH_UID;
|
|
130
|
+
}
|
|
131
|
+
/** Override for the old-devtools dashboard login URL. */
|
|
132
|
+
export function oldLoginUrl() {
|
|
133
|
+
return process.env.RECLAIM_OLD_LOGIN_URL;
|
|
134
|
+
}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from '@reclaimprotocol/client';
|
|
2
|
-
export { buildAgentTools
|
|
3
|
-
export type { AgentState } from './mcp/tools/agent/
|
|
2
|
+
export { buildAgentTools } from './mcp/tools/agent/index.ts';
|
|
3
|
+
export type { AgentState } from './mcp/tools/agent/index.ts';
|
package/lib/index.js
CHANGED
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
// only need one package for both the typed HTTP client and the agent tools.
|
|
5
5
|
export * from '@reclaimprotocol/client';
|
|
6
6
|
// Agent — Chrome CDP capture, provider synthesis, replay, proof.
|
|
7
|
-
export { buildAgentTools
|
|
7
|
+
export { buildAgentTools } from "./mcp/tools/agent/index.js";
|
package/lib/logger.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import pino, { stdTimeFunctions } from 'pino';
|
|
2
|
+
import { LOG_LEVEL } from "./consts.js";
|
|
2
3
|
export const LOGGER = pino({
|
|
3
4
|
name: '@reclaimprotocol/agent',
|
|
4
5
|
timestamp: stdTimeFunctions.isoTime,
|
|
5
6
|
base: { hostname: undefined, pid: undefined },
|
|
6
7
|
});
|
|
7
|
-
LOGGER.level =
|
|
8
|
+
LOGGER.level = LOG_LEVEL;
|
|
@@ -1,151 +1,203 @@
|
|
|
1
1
|
export declare const MCP_TOOLS: {
|
|
2
2
|
AddOrgMember: {
|
|
3
3
|
description: string;
|
|
4
|
-
inputSchema: import("zod").
|
|
4
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
5
5
|
};
|
|
6
6
|
AdminOrgs: {
|
|
7
7
|
description: string;
|
|
8
|
-
inputSchema: import("zod").
|
|
8
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
9
9
|
};
|
|
10
10
|
AdminProviders: {
|
|
11
11
|
description: string;
|
|
12
|
-
inputSchema: import("zod").
|
|
12
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
13
13
|
};
|
|
14
14
|
AdminReviews: {
|
|
15
15
|
description: string;
|
|
16
|
-
inputSchema: import("zod").
|
|
16
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
17
|
+
};
|
|
18
|
+
AdminSessions: {
|
|
19
|
+
description: string;
|
|
20
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
17
21
|
};
|
|
18
22
|
CancelPublicListingRequest: {
|
|
19
23
|
description: string;
|
|
20
|
-
inputSchema: import("zod").
|
|
24
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
21
25
|
};
|
|
22
26
|
CreateAttachSession: {
|
|
23
27
|
description: string;
|
|
24
|
-
inputSchema: import("zod").
|
|
28
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
29
|
+
};
|
|
30
|
+
CreateCallbackSubscription: {
|
|
31
|
+
description: string;
|
|
32
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
25
33
|
};
|
|
26
34
|
CreateOrg: {
|
|
27
35
|
description: string;
|
|
28
|
-
inputSchema: import("zod").
|
|
36
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
37
|
+
};
|
|
38
|
+
CreateOrgCallbackSubscription: {
|
|
39
|
+
description: string;
|
|
40
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
29
41
|
};
|
|
30
42
|
CreateProvider: {
|
|
31
43
|
description: string;
|
|
32
|
-
inputSchema: import("zod").
|
|
44
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
33
45
|
};
|
|
34
46
|
CreateProviderVersion: {
|
|
35
47
|
description: string;
|
|
36
|
-
inputSchema: import("zod").
|
|
48
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
49
|
+
};
|
|
50
|
+
CreateVerificationSession: {
|
|
51
|
+
description: string;
|
|
52
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
37
53
|
};
|
|
38
54
|
DecideProviderVersionReview: {
|
|
39
55
|
description: string;
|
|
40
|
-
inputSchema: import("zod").
|
|
56
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
41
57
|
};
|
|
42
|
-
|
|
58
|
+
DeleteCallbackSubscription: {
|
|
43
59
|
description: string;
|
|
44
|
-
inputSchema: import("zod").
|
|
60
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
45
61
|
};
|
|
46
|
-
|
|
62
|
+
DeleteOrgCallbackSubscription: {
|
|
47
63
|
description: string;
|
|
48
|
-
inputSchema: import("zod").
|
|
64
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
49
65
|
};
|
|
50
|
-
|
|
66
|
+
DeleteOrgKeypair: {
|
|
51
67
|
description: string;
|
|
52
|
-
inputSchema: import("zod").
|
|
68
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
53
69
|
};
|
|
54
|
-
|
|
70
|
+
DeleteProvider: {
|
|
55
71
|
description: string;
|
|
56
|
-
inputSchema: import("zod").
|
|
72
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
57
73
|
};
|
|
58
|
-
|
|
74
|
+
DeleteProviderVersion: {
|
|
59
75
|
description: string;
|
|
60
|
-
inputSchema: import("zod").
|
|
76
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
77
|
+
};
|
|
78
|
+
GetAttachSession: {
|
|
79
|
+
description: string;
|
|
80
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
61
81
|
};
|
|
62
82
|
GetMe: {
|
|
63
83
|
description: string;
|
|
64
|
-
inputSchema: import("zod").
|
|
84
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
65
85
|
};
|
|
66
86
|
GetOrg: {
|
|
67
87
|
description: string;
|
|
68
|
-
inputSchema: import("zod").
|
|
88
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
69
89
|
};
|
|
70
90
|
GetOrgBilling: {
|
|
71
91
|
description: string;
|
|
72
|
-
inputSchema: import("zod").
|
|
92
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
93
|
+
};
|
|
94
|
+
GetOrgKeypair: {
|
|
95
|
+
description: string;
|
|
96
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
97
|
+
};
|
|
98
|
+
GetOrgToken: {
|
|
99
|
+
description: string;
|
|
100
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
73
101
|
};
|
|
74
102
|
GetProvider: {
|
|
75
103
|
description: string;
|
|
76
|
-
inputSchema: import("zod").
|
|
104
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
77
105
|
};
|
|
78
106
|
GetProviderVersion: {
|
|
79
107
|
description: string;
|
|
80
|
-
inputSchema: import("zod").
|
|
108
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
81
109
|
};
|
|
82
110
|
GetUser: {
|
|
83
111
|
description: string;
|
|
84
|
-
inputSchema: import("zod").
|
|
112
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
85
113
|
};
|
|
86
|
-
|
|
114
|
+
GetVerificationSession: {
|
|
87
115
|
description: string;
|
|
88
|
-
inputSchema: import("zod").
|
|
116
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
89
117
|
};
|
|
90
|
-
|
|
118
|
+
IssueOrgToken: {
|
|
91
119
|
description: string;
|
|
92
|
-
inputSchema: import("zod").
|
|
120
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
121
|
+
};
|
|
122
|
+
ListCallbackDlq: {
|
|
123
|
+
description: string;
|
|
124
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
125
|
+
};
|
|
126
|
+
ListCallbackSubscriptions: {
|
|
127
|
+
description: string;
|
|
128
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
129
|
+
};
|
|
130
|
+
ListOrgCallbackSubscriptions: {
|
|
131
|
+
description: string;
|
|
132
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
93
133
|
};
|
|
94
134
|
ListOrgs: {
|
|
95
135
|
description: string;
|
|
96
|
-
inputSchema: import("zod").
|
|
136
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
137
|
+
};
|
|
138
|
+
ListOrgVerificationSessions: {
|
|
139
|
+
description: string;
|
|
140
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
97
141
|
};
|
|
98
142
|
ListProviderVersions: {
|
|
99
143
|
description: string;
|
|
100
|
-
inputSchema: import("zod").
|
|
144
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
145
|
+
};
|
|
146
|
+
ListVerificationDeliveries: {
|
|
147
|
+
description: string;
|
|
148
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
149
|
+
};
|
|
150
|
+
ListVerificationEvents: {
|
|
151
|
+
description: string;
|
|
152
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
101
153
|
};
|
|
102
154
|
MakePrivate: {
|
|
103
155
|
description: string;
|
|
104
|
-
inputSchema: import("zod").
|
|
156
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
105
157
|
};
|
|
106
158
|
Providers: {
|
|
107
159
|
description: string;
|
|
108
|
-
inputSchema: import("zod").
|
|
160
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
109
161
|
};
|
|
110
162
|
PublishProviderVersion: {
|
|
111
163
|
description: string;
|
|
112
|
-
inputSchema: import("zod").
|
|
164
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
113
165
|
};
|
|
114
166
|
RequestPublicListing: {
|
|
115
167
|
description: string;
|
|
116
|
-
inputSchema: import("zod").
|
|
168
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
117
169
|
};
|
|
118
|
-
|
|
170
|
+
RetryVerificationCallback: {
|
|
119
171
|
description: string;
|
|
120
|
-
inputSchema: import("zod").
|
|
172
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
121
173
|
};
|
|
122
|
-
|
|
174
|
+
SetOrgKeypair: {
|
|
123
175
|
description: string;
|
|
124
|
-
inputSchema: import("zod").
|
|
176
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
125
177
|
};
|
|
126
|
-
|
|
178
|
+
SubmitProviderVersionForReview: {
|
|
127
179
|
description: string;
|
|
128
|
-
inputSchema: import("zod").
|
|
180
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
129
181
|
};
|
|
130
|
-
|
|
182
|
+
TransferProvider: {
|
|
131
183
|
description: string;
|
|
132
|
-
inputSchema: import("zod").
|
|
184
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
133
185
|
};
|
|
134
186
|
UpdateOrg: {
|
|
135
187
|
description: string;
|
|
136
|
-
inputSchema: import("zod").
|
|
188
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
137
189
|
};
|
|
138
190
|
UpdateOrgBilling: {
|
|
139
191
|
description: string;
|
|
140
|
-
inputSchema: import("zod").
|
|
192
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
141
193
|
};
|
|
142
194
|
UpdateProvider: {
|
|
143
195
|
description: string;
|
|
144
|
-
inputSchema: import("zod").
|
|
196
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
145
197
|
};
|
|
146
198
|
UpdateProviderVersion: {
|
|
147
199
|
description: string;
|
|
148
|
-
inputSchema: import("zod").
|
|
200
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
149
201
|
};
|
|
150
202
|
};
|
|
151
203
|
export type McpToolName = keyof typeof MCP_TOOLS;
|