@ai-sdk/harness-codex 0.0.0-07500555-20260730161446
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/CHANGELOG.md +498 -0
- package/LICENSE +13 -0
- package/README.md +73 -0
- package/dist/bridge/index.mjs +1303 -0
- package/dist/bridge/index.mjs.map +1 -0
- package/dist/bridge/package.json +10 -0
- package/dist/bridge/pnpm-lock.yaml +110 -0
- package/dist/index.d.ts +75 -0
- package/dist/index.js +894 -0
- package/dist/index.js.map +1 -0
- package/package.json +76 -0
- package/src/bridge/cli-relay.ts +268 -0
- package/src/bridge/codex-step-tracker.ts +83 -0
- package/src/bridge/index.ts +579 -0
- package/src/bridge/package.json +10 -0
- package/src/bridge/pnpm-lock.yaml +110 -0
- package/src/bridge/tool-relay-auth.ts +156 -0
- package/src/bridge/tool-relay.ts +119 -0
- package/src/codex-auth.ts +119 -0
- package/src/codex-bridge-protocol.ts +38 -0
- package/src/codex-harness.ts +1127 -0
- package/src/index.ts +13 -0
- package/src/version.ts +6 -0
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
export type ToolRelayCall = {
|
|
2
|
+
toolName: string;
|
|
3
|
+
input: unknown;
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
export type ToolRelayResult = {
|
|
7
|
+
output: unknown;
|
|
8
|
+
isError?: boolean;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export class ToolRelayAuthorizer {
|
|
12
|
+
private readonly ttlMs: number;
|
|
13
|
+
private readonly now: () => number;
|
|
14
|
+
private readonly authorizations: Array<{ key: string; expiresAt: number }> =
|
|
15
|
+
[];
|
|
16
|
+
private readonly pendingRequests: Array<{
|
|
17
|
+
key: string;
|
|
18
|
+
expiresAt: number;
|
|
19
|
+
timeout: ReturnType<typeof setTimeout>;
|
|
20
|
+
resolve: (authorized: boolean) => void;
|
|
21
|
+
}> = [];
|
|
22
|
+
|
|
23
|
+
constructor({
|
|
24
|
+
ttlMs = 10_000,
|
|
25
|
+
now = Date.now,
|
|
26
|
+
}: {
|
|
27
|
+
ttlMs?: number;
|
|
28
|
+
now?: () => number;
|
|
29
|
+
} = {}) {
|
|
30
|
+
this.ttlMs = ttlMs;
|
|
31
|
+
this.now = now;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
authorizeToolCall(call: ToolRelayCall): void {
|
|
35
|
+
this.pruneExpired();
|
|
36
|
+
const key = toolRelayCallKey(call);
|
|
37
|
+
const pendingRequestIndex = this.pendingRequests.findIndex(
|
|
38
|
+
request => request.key === key,
|
|
39
|
+
);
|
|
40
|
+
if (pendingRequestIndex !== -1) {
|
|
41
|
+
const [pendingRequest] = this.pendingRequests.splice(
|
|
42
|
+
pendingRequestIndex,
|
|
43
|
+
1,
|
|
44
|
+
);
|
|
45
|
+
clearTimeout(pendingRequest.timeout);
|
|
46
|
+
pendingRequest.resolve(true);
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
this.authorizations.push({
|
|
50
|
+
key,
|
|
51
|
+
expiresAt: this.now() + this.ttlMs,
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
waitForToolCallAuthorization(call: ToolRelayCall): Promise<boolean> {
|
|
56
|
+
this.pruneExpired();
|
|
57
|
+
const key = toolRelayCallKey(call);
|
|
58
|
+
const authorizationIndex = this.authorizations.findIndex(
|
|
59
|
+
authorization => authorization.key === key,
|
|
60
|
+
);
|
|
61
|
+
if (authorizationIndex !== -1) {
|
|
62
|
+
this.authorizations.splice(authorizationIndex, 1);
|
|
63
|
+
return Promise.resolve(true);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const expiresAt = this.now() + this.ttlMs;
|
|
67
|
+
return new Promise(resolve => {
|
|
68
|
+
const pendingRequest = {
|
|
69
|
+
key,
|
|
70
|
+
expiresAt,
|
|
71
|
+
timeout: setTimeout(() => {
|
|
72
|
+
const index = this.pendingRequests.indexOf(pendingRequest);
|
|
73
|
+
if (index !== -1) this.pendingRequests.splice(index, 1);
|
|
74
|
+
resolve(false);
|
|
75
|
+
}, this.ttlMs),
|
|
76
|
+
resolve,
|
|
77
|
+
};
|
|
78
|
+
this.pendingRequests.push(pendingRequest);
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
close(): void {
|
|
83
|
+
this.authorizations.length = 0;
|
|
84
|
+
for (const pendingRequest of this.pendingRequests.splice(0)) {
|
|
85
|
+
clearTimeout(pendingRequest.timeout);
|
|
86
|
+
pendingRequest.resolve(false);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
private pruneExpired(): void {
|
|
91
|
+
const now = this.now();
|
|
92
|
+
for (let i = this.authorizations.length - 1; i >= 0; i--) {
|
|
93
|
+
if (this.authorizations[i].expiresAt <= now) {
|
|
94
|
+
this.authorizations.splice(i, 1);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
for (let i = this.pendingRequests.length - 1; i >= 0; i--) {
|
|
98
|
+
const pendingRequest = this.pendingRequests[i];
|
|
99
|
+
if (pendingRequest.expiresAt <= now) {
|
|
100
|
+
this.pendingRequests.splice(i, 1);
|
|
101
|
+
clearTimeout(pendingRequest.timeout);
|
|
102
|
+
pendingRequest.resolve(false);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export class ToolRelayPendingCalls {
|
|
109
|
+
private readonly calls = new Map<string, Promise<ToolRelayResult>>();
|
|
110
|
+
|
|
111
|
+
begin({
|
|
112
|
+
call,
|
|
113
|
+
run,
|
|
114
|
+
}: {
|
|
115
|
+
call: ToolRelayCall;
|
|
116
|
+
run: () => Promise<ToolRelayResult>;
|
|
117
|
+
}): { result: Promise<ToolRelayResult>; isNew: boolean } {
|
|
118
|
+
const key = toolRelayCallKey(call);
|
|
119
|
+
const existing = this.calls.get(key);
|
|
120
|
+
if (existing) return { result: existing, isNew: false };
|
|
121
|
+
|
|
122
|
+
const result = run();
|
|
123
|
+
this.calls.set(key, result);
|
|
124
|
+
void result
|
|
125
|
+
.finally(() => {
|
|
126
|
+
if (this.calls.get(key) === result) {
|
|
127
|
+
this.calls.delete(key);
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
.catch(() => {});
|
|
131
|
+
return { result, isNew: true };
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
function toolRelayCallKey({ toolName, input }: ToolRelayCall): string {
|
|
136
|
+
return `${toolName}\0${canonicalJson(input ?? {})}`;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
function canonicalJson(value: unknown): string {
|
|
140
|
+
return JSON.stringify(normalizeJsonValue(value));
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
function normalizeJsonValue(value: unknown): unknown {
|
|
144
|
+
if (Array.isArray(value)) {
|
|
145
|
+
return value.map(normalizeJsonValue);
|
|
146
|
+
}
|
|
147
|
+
if (value && typeof value === 'object') {
|
|
148
|
+
return Object.fromEntries(
|
|
149
|
+
Object.entries(value as Record<string, unknown>)
|
|
150
|
+
.filter(([, entryValue]) => entryValue !== undefined)
|
|
151
|
+
.sort(([left], [right]) => left.localeCompare(right))
|
|
152
|
+
.map(([key, entryValue]) => [key, normalizeJsonValue(entryValue)]),
|
|
153
|
+
);
|
|
154
|
+
}
|
|
155
|
+
return value;
|
|
156
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { createServer, type Server } from 'node:http';
|
|
2
|
+
import {
|
|
3
|
+
ToolRelayAuthorizer,
|
|
4
|
+
ToolRelayPendingCalls,
|
|
5
|
+
type ToolRelayCall,
|
|
6
|
+
} from './tool-relay-auth';
|
|
7
|
+
|
|
8
|
+
export type ToolRelay = {
|
|
9
|
+
port: number;
|
|
10
|
+
close(): void;
|
|
11
|
+
authorizeToolCall(call: ToolRelayCall): void;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export async function startAuthorizedToolRelay({
|
|
15
|
+
tools,
|
|
16
|
+
emit,
|
|
17
|
+
requestToolResult,
|
|
18
|
+
authorizer = new ToolRelayAuthorizer(),
|
|
19
|
+
}: {
|
|
20
|
+
tools: ReadonlyArray<{ name: string }>;
|
|
21
|
+
emit: (message: Record<string, unknown>) => void;
|
|
22
|
+
requestToolResult: (
|
|
23
|
+
toolCallId: string,
|
|
24
|
+
) => Promise<{ output: unknown; isError?: boolean }>;
|
|
25
|
+
authorizer?: ToolRelayAuthorizer;
|
|
26
|
+
}): Promise<ToolRelay> {
|
|
27
|
+
const toolNames = new Set(tools.map(tool => tool.name));
|
|
28
|
+
const pendingCalls = new ToolRelayPendingCalls();
|
|
29
|
+
|
|
30
|
+
const server = createServer(async (req, res) => {
|
|
31
|
+
try {
|
|
32
|
+
if (req.method !== 'POST' || req.url !== '/') {
|
|
33
|
+
res.writeHead(401, { 'Content-Type': 'application/json' });
|
|
34
|
+
res.end(JSON.stringify({ error: 'unauthorized tool relay request' }));
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
const chunks: Buffer[] = [];
|
|
38
|
+
for await (const chunk of req) {
|
|
39
|
+
chunks.push(chunk as Buffer);
|
|
40
|
+
}
|
|
41
|
+
const body = Buffer.concat(chunks).toString('utf8');
|
|
42
|
+
const { requestId, toolName, input } = JSON.parse(body) as {
|
|
43
|
+
requestId: string;
|
|
44
|
+
toolName: string;
|
|
45
|
+
input: unknown;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
if (!toolNames.has(toolName)) {
|
|
49
|
+
res.writeHead(403, { 'Content-Type': 'application/json' });
|
|
50
|
+
res.end(
|
|
51
|
+
JSON.stringify({ error: `Tool "${toolName}" is not available` }),
|
|
52
|
+
);
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
const relayCall = { toolName, input };
|
|
56
|
+
if (!(await authorizer.waitForToolCallAuthorization(relayCall))) {
|
|
57
|
+
res.writeHead(401, { 'Content-Type': 'application/json' });
|
|
58
|
+
res.end(JSON.stringify({ error: 'unauthorized tool relay request' }));
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const { result } = pendingCalls.begin({
|
|
63
|
+
call: relayCall,
|
|
64
|
+
run: async () => {
|
|
65
|
+
emit({
|
|
66
|
+
type: 'tool-call',
|
|
67
|
+
toolCallId: requestId,
|
|
68
|
+
toolName,
|
|
69
|
+
input: JSON.stringify(input ?? {}),
|
|
70
|
+
providerExecuted: false,
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
const toolResult = await requestToolResult(requestId);
|
|
74
|
+
emit({
|
|
75
|
+
type: 'tool-result',
|
|
76
|
+
toolCallId: requestId,
|
|
77
|
+
toolName,
|
|
78
|
+
result: toolResult.output ?? null,
|
|
79
|
+
isError: !!toolResult.isError,
|
|
80
|
+
});
|
|
81
|
+
return toolResult;
|
|
82
|
+
},
|
|
83
|
+
});
|
|
84
|
+
const { output } = await result;
|
|
85
|
+
|
|
86
|
+
res.writeHead(200, { 'Content-Type': 'application/json' });
|
|
87
|
+
res.end(JSON.stringify({ result: output }));
|
|
88
|
+
} catch (error) {
|
|
89
|
+
res.writeHead(500, { 'Content-Type': 'application/json' });
|
|
90
|
+
res.end(
|
|
91
|
+
JSON.stringify({
|
|
92
|
+
error: error instanceof Error ? error.message : String(error),
|
|
93
|
+
}),
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
await new Promise<void>(resolve =>
|
|
99
|
+
server.listen(0, '127.0.0.1', () => resolve()),
|
|
100
|
+
);
|
|
101
|
+
const address = server.address();
|
|
102
|
+
if (!address || typeof address === 'string') {
|
|
103
|
+
throw new Error('tool relay did not expose a numeric port');
|
|
104
|
+
}
|
|
105
|
+
return {
|
|
106
|
+
port: address.port,
|
|
107
|
+
close: () => {
|
|
108
|
+
authorizer.close();
|
|
109
|
+
closeServer(server);
|
|
110
|
+
},
|
|
111
|
+
authorizeToolCall: call => authorizer.authorizeToolCall(call),
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
function closeServer(server: Server): void {
|
|
116
|
+
try {
|
|
117
|
+
server.close();
|
|
118
|
+
} catch {}
|
|
119
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { getAiGatewayAuthFromEnv } from '@ai-sdk/harness/utils';
|
|
2
|
+
|
|
3
|
+
export type CodexAuthOptions = {
|
|
4
|
+
readonly openaiCompatible?: {
|
|
5
|
+
readonly apiKey?: string;
|
|
6
|
+
readonly baseUrl?: string;
|
|
7
|
+
readonly modelProviderName?: string;
|
|
8
|
+
readonly queryParamsJson?: string;
|
|
9
|
+
};
|
|
10
|
+
readonly openai?: {
|
|
11
|
+
readonly apiKey?: string;
|
|
12
|
+
readonly baseUrl?: string;
|
|
13
|
+
readonly organization?: string;
|
|
14
|
+
readonly project?: string;
|
|
15
|
+
};
|
|
16
|
+
readonly gateway?: {
|
|
17
|
+
readonly apiKey?: string;
|
|
18
|
+
readonly baseUrl?: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Resolve the environment-variable blob the codex bridge needs. Precedence:
|
|
24
|
+
*
|
|
25
|
+
* 1. Explicit `auth.openaiCompatible` — pin to a custom OpenAI-compatible endpoint.
|
|
26
|
+
* 2. Explicit `auth.openai` — pin to direct OpenAI auth.
|
|
27
|
+
* 3. Explicit `auth.gateway` — pin to Vercel AI Gateway.
|
|
28
|
+
* 4. Auto-detect from the host process env: gateway first
|
|
29
|
+
* (`AI_GATEWAY_API_KEY` / `VERCEL_OIDC_TOKEN`), then `CODEX_API_KEY` /
|
|
30
|
+
* `OPENAI_API_KEY`.
|
|
31
|
+
*/
|
|
32
|
+
export function resolveCodexEnv(
|
|
33
|
+
auth: CodexAuthOptions | undefined,
|
|
34
|
+
processEnv: Record<string, string | undefined> = process.env,
|
|
35
|
+
): Record<string, string> {
|
|
36
|
+
if (auth?.openaiCompatible) {
|
|
37
|
+
return pickOpenAICompatible(auth.openaiCompatible, processEnv);
|
|
38
|
+
}
|
|
39
|
+
if (auth?.openai) {
|
|
40
|
+
return pickOpenAI({ explicit: auth.openai, processEnv });
|
|
41
|
+
}
|
|
42
|
+
const gatewayAuthFromEnv = getAiGatewayAuthFromEnv({
|
|
43
|
+
env: processEnv,
|
|
44
|
+
});
|
|
45
|
+
if (auth?.gateway) {
|
|
46
|
+
return pickGateway({
|
|
47
|
+
explicit: auth.gateway,
|
|
48
|
+
gatewayAuthFromEnv,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
if (gatewayAuthFromEnv.apiKey) {
|
|
52
|
+
return pickGateway({
|
|
53
|
+
explicit: {},
|
|
54
|
+
gatewayAuthFromEnv,
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
return pickOpenAI({ processEnv });
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function pickOpenAICompatible(
|
|
61
|
+
explicit: NonNullable<CodexAuthOptions['openaiCompatible']>,
|
|
62
|
+
processEnv: Record<string, string | undefined>,
|
|
63
|
+
): Record<string, string> {
|
|
64
|
+
const env: Record<string, string> = {};
|
|
65
|
+
const apiKey =
|
|
66
|
+
explicit.apiKey ?? processEnv.OPENAI_API_KEY ?? processEnv.CODEX_API_KEY;
|
|
67
|
+
if (apiKey) env.CODEX_API_KEY = apiKey;
|
|
68
|
+
if (explicit.baseUrl) env.OPENAI_BASE_URL = explicit.baseUrl;
|
|
69
|
+
if (explicit.modelProviderName)
|
|
70
|
+
env.CODEX_MODEL_PROVIDER_NAME = explicit.modelProviderName;
|
|
71
|
+
if (explicit.queryParamsJson)
|
|
72
|
+
env.OPENAI_QUERY_PARAMS_JSON = explicit.queryParamsJson;
|
|
73
|
+
return env;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
function pickOpenAI({
|
|
77
|
+
explicit,
|
|
78
|
+
processEnv,
|
|
79
|
+
}: {
|
|
80
|
+
explicit?: NonNullable<CodexAuthOptions['openai']>;
|
|
81
|
+
processEnv: Record<string, string | undefined>;
|
|
82
|
+
}): Record<string, string> {
|
|
83
|
+
const env: Record<string, string> = {};
|
|
84
|
+
const apiKey =
|
|
85
|
+
explicit?.apiKey ?? processEnv.OPENAI_API_KEY ?? processEnv.CODEX_API_KEY;
|
|
86
|
+
if (apiKey) env.CODEX_API_KEY = apiKey;
|
|
87
|
+
const baseUrl = explicit?.baseUrl ?? processEnv.OPENAI_BASE_URL;
|
|
88
|
+
if (baseUrl) env.OPENAI_BASE_URL = baseUrl;
|
|
89
|
+
const organization = explicit?.organization ?? processEnv.OPENAI_ORGANIZATION;
|
|
90
|
+
if (organization) env.OPENAI_ORGANIZATION = organization;
|
|
91
|
+
const project = explicit?.project ?? processEnv.OPENAI_PROJECT;
|
|
92
|
+
if (project) env.OPENAI_PROJECT = project;
|
|
93
|
+
return env;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
function pickGateway({
|
|
97
|
+
explicit,
|
|
98
|
+
gatewayAuthFromEnv,
|
|
99
|
+
}: {
|
|
100
|
+
explicit: NonNullable<CodexAuthOptions['gateway']>;
|
|
101
|
+
gatewayAuthFromEnv: ReturnType<typeof getAiGatewayAuthFromEnv>;
|
|
102
|
+
}): Record<string, string> {
|
|
103
|
+
const apiKey = explicit.apiKey ?? gatewayAuthFromEnv.apiKey;
|
|
104
|
+
const baseUrl = toCodexGatewayBaseUrl(
|
|
105
|
+
explicit.baseUrl ?? gatewayAuthFromEnv.baseUrl,
|
|
106
|
+
);
|
|
107
|
+
const env: Record<string, string> = {};
|
|
108
|
+
if (apiKey) {
|
|
109
|
+
env.AI_GATEWAY_API_KEY = apiKey;
|
|
110
|
+
env.CODEX_API_KEY = apiKey;
|
|
111
|
+
}
|
|
112
|
+
env.AI_GATEWAY_BASE_URL = baseUrl;
|
|
113
|
+
return env;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
function toCodexGatewayBaseUrl(baseUrl: string): string {
|
|
117
|
+
const trimmed = baseUrl.replace(/\/+$/, '');
|
|
118
|
+
return trimmed.endsWith('/v1') ? trimmed : `${trimmed}/v1`;
|
|
119
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import {
|
|
2
|
+
harnessV1BridgeInboundCommandSchemas,
|
|
3
|
+
harnessV1BridgeOutboundMessageSchema,
|
|
4
|
+
harnessV1BridgeReadySchema,
|
|
5
|
+
harnessV1BridgeStartBaseSchema,
|
|
6
|
+
} from '@ai-sdk/harness';
|
|
7
|
+
import { z } from 'zod/v4';
|
|
8
|
+
|
|
9
|
+
/*
|
|
10
|
+
* Codex's bridge wire protocol. The outbound events (including `file-change`
|
|
11
|
+
* and the `bridge-thread` resume coordinate), transport frames, shared inbound
|
|
12
|
+
* commands, and `bridge-ready` line all come from the shared `@ai-sdk/harness`
|
|
13
|
+
* protocol — the only Codex-specific piece is the `start` payload.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
export const outboundMessageSchema = harnessV1BridgeOutboundMessageSchema;
|
|
17
|
+
export type OutboundMessage = z.infer<typeof outboundMessageSchema>;
|
|
18
|
+
|
|
19
|
+
export const startMessageSchema = harnessV1BridgeStartBaseSchema.extend({
|
|
20
|
+
reasoningEffort: z.enum(['low', 'medium', 'high']).optional(),
|
|
21
|
+
webSearch: z.boolean().optional(),
|
|
22
|
+
// Resume signal. When supplied, the bridge calls
|
|
23
|
+
// `codex.resumeThread(resumeThreadId, …)` instead of starting a fresh thread.
|
|
24
|
+
// The host sources the id from lifecycle state `data` cached from a prior
|
|
25
|
+
// `agent.detach`.
|
|
26
|
+
resumeThreadId: z.string().optional(),
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export type StartMessage = z.infer<typeof startMessageSchema>;
|
|
30
|
+
|
|
31
|
+
export const inboundMessageSchema = z.discriminatedUnion('type', [
|
|
32
|
+
startMessageSchema,
|
|
33
|
+
...harnessV1BridgeInboundCommandSchemas,
|
|
34
|
+
]);
|
|
35
|
+
export type InboundMessage = z.infer<typeof inboundMessageSchema>;
|
|
36
|
+
|
|
37
|
+
export const bridgeReadySchema = harnessV1BridgeReadySchema;
|
|
38
|
+
export type BridgeReady = z.infer<typeof bridgeReadySchema>;
|