@workbench-ai/agent-driver-openai-codex 0.0.44

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.
@@ -0,0 +1,9 @@
1
+ export declare function syncCodexGlobalSkills(args: {
2
+ codexHomeDir: string;
3
+ }): Promise<void>;
4
+ export declare function projectCodexGlobalSkills(args: {
5
+ sourceHomeDir: string;
6
+ targetHomeDir: string;
7
+ targetCodexHomeDir: string;
8
+ }): Promise<void>;
9
+ //# sourceMappingURL=global-skills.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global-skills.d.ts","sourceRoot":"","sources":["../src/global-skills.ts"],"names":[],"mappings":"AAIA,wBAAsB,qBAAqB,CAAC,IAAI,EAAE;IAChD,YAAY,EAAE,MAAM,CAAC;CACtB,GAAG,OAAO,CAAC,IAAI,CAAC,CAEhB;AAED,wBAAsB,wBAAwB,CAAC,IAAI,EAAE;IACnD,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;CAC5B,GAAG,OAAO,CAAC,IAAI,CAAC,CAQhB"}
@@ -0,0 +1,14 @@
1
+ import { projectGlobalSkills } from "@workbench-ai/agent-driver";
2
+ import { clearCodexLegacySkillRoots } from "./integrations.js";
3
+ export async function syncCodexGlobalSkills(args) {
4
+ await clearCodexLegacySkillRoots(args.codexHomeDir);
5
+ }
6
+ export async function projectCodexGlobalSkills(args) {
7
+ await Promise.all([
8
+ projectGlobalSkills({
9
+ sourceHomeDir: args.sourceHomeDir,
10
+ targetHomeDir: args.targetHomeDir,
11
+ }),
12
+ clearCodexLegacySkillRoots(args.targetCodexHomeDir),
13
+ ]);
14
+ }
@@ -0,0 +1,305 @@
1
+ import { type ChildProcessWithoutNullStreams } from "node:child_process";
2
+ import readline from "node:readline";
3
+ import { type HarnessAdapter, type HarnessExecutionPlan, type HarnessManifest, type HarnessProvider, type HarnessReadinessCheckArgs, type HarnessRunResult, type HarnessEvent, type JsonValue, type ActiveHarnessSession, type HarnessTraceReplayer, type JsonRpcNotification, type NormalizedHarnessActivity, type PendingHarnessTurn, type StartSessionArgs, type StartTurnArgs } from "@workbench-ai/agent-driver";
4
+ import { z } from "zod";
5
+ export declare const CodexHarnessAuthSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6
+ strategy: z.ZodLiteral<"secret_ref">;
7
+ ref: z.ZodString;
8
+ }, z.core.$strict>, z.ZodObject<{
9
+ strategy: z.ZodLiteral<"profile_path">;
10
+ path: z.ZodString;
11
+ }, z.core.$strict>], "strategy">;
12
+ declare const CodexAzureModelProviderSchema: z.ZodObject<{
13
+ id: z.ZodLiteral<"azure">;
14
+ base_url: z.ZodString;
15
+ query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
16
+ }, z.core.$strict>;
17
+ declare const CodexHarnessSandboxModeSchema: z.ZodEnum<{
18
+ "danger-full-access": "danger-full-access";
19
+ "read-only": "read-only";
20
+ "workspace-write": "workspace-write";
21
+ }>;
22
+ export declare const CodexHarnessConfigSchema: z.ZodObject<{
23
+ sandbox_mode: z.ZodOptional<z.ZodEnum<{
24
+ "danger-full-access": "danger-full-access";
25
+ "read-only": "read-only";
26
+ "workspace-write": "workspace-write";
27
+ }>>;
28
+ model_provider: z.ZodOptional<z.ZodObject<{
29
+ id: z.ZodLiteral<"azure">;
30
+ base_url: z.ZodString;
31
+ query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
32
+ }, z.core.$strict>>;
33
+ }, z.core.$strict>;
34
+ export type CodexHarnessAuth = z.infer<typeof CodexHarnessAuthSchema>;
35
+ export type CodexHarnessConfig = z.infer<typeof CodexHarnessConfigSchema>;
36
+ export type CodexHarnessModelProvider = z.infer<typeof CodexAzureModelProviderSchema>;
37
+ export type CodexHarnessSandboxMode = z.infer<typeof CodexHarnessSandboxModeSchema>;
38
+ export declare function createCodexHarnessDefinition(options?: {
39
+ executable?: string;
40
+ }): {
41
+ id: string;
42
+ displayName: string;
43
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
44
+ strategy: z.ZodLiteral<"secret_ref">;
45
+ ref: z.ZodString;
46
+ }, z.core.$strict>, z.ZodObject<{
47
+ strategy: z.ZodLiteral<"profile_path">;
48
+ path: z.ZodString;
49
+ }, z.core.$strict>], "strategy">;
50
+ config: z.ZodObject<{
51
+ sandbox_mode: z.ZodOptional<z.ZodEnum<{
52
+ "danger-full-access": "danger-full-access";
53
+ "read-only": "read-only";
54
+ "workspace-write": "workspace-write";
55
+ }>>;
56
+ model_provider: z.ZodOptional<z.ZodObject<{
57
+ id: z.ZodLiteral<"azure">;
58
+ base_url: z.ZodString;
59
+ query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
60
+ }, z.core.$strict>>;
61
+ }, z.core.$strict>;
62
+ defaults: {
63
+ auth: {
64
+ strategy: "secret_ref";
65
+ ref: string;
66
+ };
67
+ config: {};
68
+ };
69
+ capabilities: {
70
+ supports_resume: boolean;
71
+ supports_interrupt: boolean;
72
+ required_runtime_capabilities: string[];
73
+ };
74
+ supportedWorkspaceModes: readonly ["managed", "project"];
75
+ checkReadiness(args: HarnessReadinessCheckArgs): Promise<{
76
+ availability_errors: never[];
77
+ }>;
78
+ create(): CodexHarnessAdapter;
79
+ };
80
+ export declare const codexHarnessDefinition: {
81
+ id: string;
82
+ displayName: string;
83
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
84
+ strategy: z.ZodLiteral<"secret_ref">;
85
+ ref: z.ZodString;
86
+ }, z.core.$strict>, z.ZodObject<{
87
+ strategy: z.ZodLiteral<"profile_path">;
88
+ path: z.ZodString;
89
+ }, z.core.$strict>], "strategy">;
90
+ config: z.ZodObject<{
91
+ sandbox_mode: z.ZodOptional<z.ZodEnum<{
92
+ "danger-full-access": "danger-full-access";
93
+ "read-only": "read-only";
94
+ "workspace-write": "workspace-write";
95
+ }>>;
96
+ model_provider: z.ZodOptional<z.ZodObject<{
97
+ id: z.ZodLiteral<"azure">;
98
+ base_url: z.ZodString;
99
+ query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
100
+ }, z.core.$strict>>;
101
+ }, z.core.$strict>;
102
+ defaults: {
103
+ auth: {
104
+ strategy: "secret_ref";
105
+ ref: string;
106
+ };
107
+ config: {};
108
+ };
109
+ capabilities: {
110
+ supports_resume: boolean;
111
+ supports_interrupt: boolean;
112
+ required_runtime_capabilities: string[];
113
+ };
114
+ supportedWorkspaceModes: readonly ["managed", "project"];
115
+ checkReadiness(args: HarnessReadinessCheckArgs): Promise<{
116
+ availability_errors: never[];
117
+ }>;
118
+ create(): CodexHarnessAdapter;
119
+ };
120
+ export declare const codexHarnessManifest: HarnessManifest;
121
+ export declare const codexHarnessProvider: HarnessProvider<CodexSessionState, {
122
+ strategy: "secret_ref";
123
+ ref: string;
124
+ } | {
125
+ strategy: "profile_path";
126
+ path: string;
127
+ }, {
128
+ sandbox_mode?: "danger-full-access" | "read-only" | "workspace-write" | undefined;
129
+ model_provider?: {
130
+ id: "azure";
131
+ base_url: string;
132
+ query_params?: Record<string, string> | undefined;
133
+ } | undefined;
134
+ }>;
135
+ export { listCodexIntegrations, projectCodexIntegrations, updateCodexIntegrations, } from "./integrations.js";
136
+ export { projectCodexGlobalSkills, syncCodexGlobalSkills, } from "./global-skills.js";
137
+ export { codexWorkbenchProviderAuth, } from "./workbench-auth.js";
138
+ export declare function codexHarness(options?: {
139
+ executable?: string;
140
+ }): HarnessProvider<CodexSessionState, {
141
+ strategy: "secret_ref";
142
+ ref: string;
143
+ } | {
144
+ strategy: "profile_path";
145
+ path: string;
146
+ }, {
147
+ sandbox_mode?: "danger-full-access" | "read-only" | "workspace-write" | undefined;
148
+ model_provider?: {
149
+ id: "azure";
150
+ base_url: string;
151
+ query_params?: Record<string, string> | undefined;
152
+ } | undefined;
153
+ }>;
154
+ interface CodexReplayEntry {
155
+ at: string;
156
+ method: string;
157
+ payload: JsonValue;
158
+ }
159
+ export declare const codexTraceReplayer: HarnessTraceReplayer<CodexReplayEntry>;
160
+ interface CodexSessionState {
161
+ attemptWorkspacePath: string;
162
+ sessionWorkspacePath: string | null;
163
+ childEnv: NodeJS.ProcessEnv;
164
+ process: ChildProcessWithoutNullStreams;
165
+ reader: readline.Interface;
166
+ nextId: number;
167
+ threadId: string | null;
168
+ turnId: string | null;
169
+ pendingResponses: Map<number, {
170
+ resolve: (value: unknown) => void;
171
+ reject: (error: Error) => void;
172
+ }>;
173
+ pendingTurn: PendingHarnessTurn | null;
174
+ preTurnStderrLines: string[];
175
+ nativeCaCertificateError: string | null;
176
+ }
177
+ interface CodexNotificationNormalization {
178
+ harnessEvent: HarnessEvent | null;
179
+ activities: NormalizedHarnessActivity[];
180
+ }
181
+ interface PreparedManagedCodexHome {
182
+ managedHomeDir: string;
183
+ trustedProjectPaths: string[];
184
+ childEnv: NodeJS.ProcessEnv;
185
+ }
186
+ type ResolvedCodexModelProvider = {
187
+ id: "openai";
188
+ } | {
189
+ id: "azure";
190
+ baseUrl: string;
191
+ queryParams: Record<string, string>;
192
+ };
193
+ type ResolvedCodexProviderSelection = {
194
+ auth: CodexHarnessAuth;
195
+ provider: Extract<ResolvedCodexModelProvider, {
196
+ id: "openai";
197
+ }>;
198
+ } | {
199
+ auth: Extract<CodexHarnessAuth, {
200
+ strategy: "secret_ref";
201
+ }>;
202
+ provider: Extract<ResolvedCodexModelProvider, {
203
+ id: "azure";
204
+ }>;
205
+ };
206
+ interface ResolvedCodexApiKeyAuth {
207
+ secretEnvName: string;
208
+ apiKey: string;
209
+ }
210
+ type ResolvedCodexProfileAuth = {
211
+ sourceRoot: string;
212
+ };
213
+ type WorkflowHarnessCancel = NonNullable<HarnessExecutionPlan["harness"]>["cancel"];
214
+ export declare class CodexHarnessAdapter implements HarnessAdapter<CodexSessionState> {
215
+ private readonly executable;
216
+ readonly manifest: HarnessManifest;
217
+ constructor(executable: string);
218
+ static getManagedCodexHomeDir(stageSessionPath: string): string;
219
+ static getConfigPath(codexHomeDir: string): string;
220
+ static getAuthPath(codexHomeDir: string): string;
221
+ static getManagedWorkspaceIgnoreEntries(plan: HarnessExecutionPlan): string[];
222
+ static classifyStderrForTrace(text: string): "empty" | "warning" | "error";
223
+ static isNativeCaCertificateError(text: string): boolean;
224
+ static nativeCaCertificateErrorMessage(original: string): string;
225
+ static requireApiKey(plan: HarnessExecutionPlan, repoRoot: string, runtimeHome?: string): string;
226
+ static resolveApiKeyAuth(plan: HarnessExecutionPlan, repoRoot: string, runtimeHome?: string): ResolvedCodexApiKeyAuth;
227
+ static resolveProviderSelection(plan: HarnessExecutionPlan): ResolvedCodexProviderSelection;
228
+ static resolveProfileAuth(plan: HarnessExecutionPlan, repoRoot: string): ResolvedCodexProfileAuth;
229
+ static ensureAuthReady(plan: HarnessExecutionPlan, repoRoot: string, runtimeHome?: string): Promise<void>;
230
+ static validateConfiguredEffort(plan: HarnessExecutionPlan): void;
231
+ static buildCodexEnv(paths: {
232
+ homeDir: string;
233
+ codexHomeDir: string;
234
+ }, parentEnv?: NodeJS.ProcessEnv, options?: {
235
+ platform?: NodeJS.Platform;
236
+ }): NodeJS.ProcessEnv;
237
+ static applyNestedDarwinProxyBypass(env: NodeJS.ProcessEnv, parentEnv: NodeJS.ProcessEnv, platform?: NodeJS.Platform, options?: {
238
+ nestedStageHome?: boolean;
239
+ }): void;
240
+ static looksLikeNestedStageFlowHome(value: string | undefined): boolean;
241
+ static looksLikeNestedStageHome(value: string | undefined): boolean;
242
+ static sanitizeNestedStagePath(pathValue: string): string;
243
+ static isFatalBootstrapStderr(text: string): boolean;
244
+ static resolveBootstrapAttemptLimit(homeDir: string, platform?: NodeJS.Platform): number;
245
+ static shouldRetryBootstrapError(args: {
246
+ error: Error;
247
+ attempt: number;
248
+ maxAttempts: number;
249
+ homeDir: string;
250
+ platform?: NodeJS.Platform;
251
+ }): boolean;
252
+ static buildManagedAppServerLaunchSpec(args: {
253
+ command: string;
254
+ homeDir: string;
255
+ targetUserId: number | null;
256
+ platform?: NodeJS.Platform;
257
+ }): {
258
+ command: string;
259
+ args: string[];
260
+ };
261
+ static resolveManagedLaunchUserId(workspacePath: string, homeDir: string): Promise<number | null>;
262
+ static hasExplicitProxyConfig(env: NodeJS.ProcessEnv): boolean;
263
+ static resolveSandboxMode(plan: HarnessExecutionPlan): CodexHarnessSandboxMode;
264
+ static resolveTrustedProjectPaths(workspacePath: string): Promise<string[]>;
265
+ static deriveTrustedProjectPathAliases(workspacePath: string): string[];
266
+ static ensureHomeConfig(args: {
267
+ plan: HarnessExecutionPlan;
268
+ codexHomeDir: string;
269
+ trustedProjectPaths?: string[];
270
+ }): Promise<void>;
271
+ static getAppServerCommand(command: string): string;
272
+ static getLoginCommand(command: string): string;
273
+ static hasSeededApiKeyAuth(apiKey: string, codexHomeDir: string): Promise<boolean>;
274
+ static ensureManagedHomeAuth(plan: HarnessExecutionPlan, codexHomeDir: string, childEnv: NodeJS.ProcessEnv, command: string, repoRoot: string, trustedProjectPaths?: string[], runtimeHome?: string): Promise<void>;
275
+ static prepareManagedCodexHome(args: {
276
+ plan: HarnessExecutionPlan;
277
+ workspacePath: string;
278
+ stageSessionPath: string;
279
+ repoRoot: string;
280
+ command: string;
281
+ runtimeHome?: string;
282
+ parentEnv?: NodeJS.ProcessEnv;
283
+ }): Promise<PreparedManagedCodexHome>;
284
+ getManagedWorkspaceIgnoreEntries(plan: HarnessExecutionPlan): string[];
285
+ startSession(args: StartSessionArgs): Promise<ActiveHarnessSession<CodexSessionState>>;
286
+ startTurn(context: ActiveHarnessSession<CodexSessionState>, args: StartTurnArgs): Promise<HarnessRunResult>;
287
+ interruptTurn(context: ActiveHarnessSession<CodexSessionState>): Promise<void>;
288
+ closeSession(context: ActiveHarnessSession<CodexSessionState>, cancelConfig?: WorkflowHarnessCancel): Promise<void>;
289
+ static getHarness(plan: HarnessExecutionPlan): NonNullable<HarnessExecutionPlan["harness"]>;
290
+ static getHarnessAuth(plan: HarnessExecutionPlan): CodexHarnessAuth;
291
+ static getHarnessConfig(plan: HarnessExecutionPlan): CodexHarnessConfig;
292
+ private handleStderr;
293
+ private handleLine;
294
+ private request;
295
+ private notify;
296
+ private rejectPendingTurn;
297
+ private recordNativeCaCertificateError;
298
+ private withNativeCaCertificateError;
299
+ private rejectPendingResponses;
300
+ private capturePreTurnStderr;
301
+ private withBootstrapStderr;
302
+ private getRpcResponseTimeoutMs;
303
+ }
304
+ export declare function normalizeCodexNotification(session: ActiveHarnessSession["session"], notification: JsonRpcNotification, at?: string): CodexNotificationNormalization;
305
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AAGhF,OAAO,QAAQ,MAAM,eAAe,CAAC;AAErC,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EAErB,KAAK,YAAY,EACjB,KAAK,SAAS,EAkBd,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAEzB,KAAK,mBAAmB,EAGxB,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAEnB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyBxB,eAAO,MAAM,sBAAsB;;;;;;gCAGjC,CAAC;AAEH,QAAA,MAAM,6BAA6B;;;;kBAQxB,CAAC;AAEZ,QAAA,MAAM,6BAA6B;;;;EAIjC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;kBAK1B,CAAC;AAEZ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,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