@codex-app-sdk/backend 0.21.0 → 0.21.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.
@@ -81,14 +81,29 @@ var o = 15e3, s = { "thread/revert": 12e4 }, c = (e) => ({
81
81
  id: n,
82
82
  method: e,
83
83
  params: t
84
- }, i = new Promise((t, r) => {
84
+ }, i = performance.now(), a = performance.timeOrigin + i, c = t, l = typeof process < "u" && process.env.CODEX_APP_SDK_TRACE_CONVERSATION_LOAD === "1" && /^(?:initialize|thread\/(?:resume|read|list|turns\/.*|goal\/get)|permissionProfile\/list|configRequirements\/read|model\/list|skills\/list)$/.test(e), u = (t) => {
85
+ l && console.warn("[conversation-load] " + JSON.stringify({
86
+ layer: "codex-rpc",
87
+ method: e,
88
+ id: n,
89
+ outcome: t,
90
+ threadId: typeof c?.threadId == "string" ? c.threadId : null,
91
+ startAt: a,
92
+ at: performance.timeOrigin + performance.now(),
93
+ durationMs: performance.now() - i
94
+ }));
95
+ }, d = new Promise((t, r) => {
85
96
  let i = setTimeout(() => {
86
- this.pending.delete(n), r(/* @__PURE__ */ Error(`Codex app-server request timed out: ${e}`));
97
+ this.pending.delete(n), u("timeout"), r(/* @__PURE__ */ Error(`Codex app-server request timed out: ${e}`));
87
98
  }, this.options.requestTimeoutMs ?? s[e] ?? o);
88
99
  this.pending.set(n, {
89
100
  method: e,
90
- resolve: (e) => t(e),
91
- reject: r,
101
+ resolve: (e) => {
102
+ u("ok"), t(e);
103
+ },
104
+ reject: (e) => {
105
+ u("error"), r(e);
106
+ },
92
107
  timeout: i
93
108
  });
94
109
  });
@@ -98,7 +113,7 @@ var o = 15e3, s = { "thread/revert": 12e4 }, c = (e) => ({
98
113
  let t = this.pending.get(n);
99
114
  t && (clearTimeout(t.timeout), this.pending.delete(n), t.reject(f(e)));
100
115
  }
101
- return i;
116
+ return d;
102
117
  }
103
118
  notify(e, ...[t]) {
104
119
  this.assertStarted(), this.transport.send(t === void 0 ? { method: e } : {
@@ -243,4 +258,4 @@ var p = "codex-cli 0.164.0";
243
258
  //#endregion
244
259
  export { a, n as i, l as n, i as o, r, t as s, p as t };
245
260
 
246
- //# sourceMappingURL=codex-CmHW3ikB.js.map
261
+ //# sourceMappingURL=codex-qk7I-QSQ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codex-qk7I-QSQ.js","names":[],"sources":["../../src/codex/listener-errors.ts","../../src/codex/wire.ts","../../src/codex/client.ts","../../src/codex/schema-version.ts"],"sourcesContent":["export type ListenerErrorHandler = (error: unknown) => void;\n\n/**\n * Reports an exception thrown by a subscriber without letting it disturb the\n * code that notified it. The host's handler receives it; without one it\n * surfaces as a process warning, so it is neither swallowed nor fatal.\n */\nexport function reportListenerError(error: unknown, handler?: ListenerErrorHandler): void {\n if (handler) {\n try {\n handler(error);\n } catch {\n // A failing error handler must not escape into the notifier either.\n }\n return;\n }\n process.emitWarning(error instanceof Error ? error : new Error(String(error)));\n}\n\n/** Calls every listener, isolating each from the others' failures. */\nexport function notifyListeners<Value>(\n listeners: Iterable<(value: Value) => void>,\n value: Value,\n onError?: ListenerErrorHandler,\n): void {\n for (const listener of listeners) {\n try {\n listener(value);\n } catch (error) {\n reportListenerError(error, onError);\n }\n }\n}\n","export type RpcId = number | string;\n\nexport type RpcError = {\n code: number;\n message: string;\n data?: unknown;\n};\n\nexport type RpcRequest = {\n id: RpcId;\n method: string;\n params?: unknown;\n};\n\nexport type RpcNotification = {\n method: string;\n params?: unknown;\n};\n\nexport type RpcSuccessResponse = {\n id: RpcId;\n result: unknown;\n};\n\nexport type RpcErrorResponse = {\n id: RpcId;\n error: RpcError;\n};\n\nexport type RpcMessage =\n | RpcRequest\n | RpcNotification\n | RpcSuccessResponse\n | RpcErrorResponse;\n\nexport interface RpcTransport {\n start(): Promise<void>;\n send(message: RpcMessage): void;\n close(): Promise<void>;\n onMessage(listener: (message: unknown) => void): () => void;\n onError(listener: (error: Error) => void): () => void;\n}\n\n/** A malformed transport frame that does not imply the connection was lost. */\nexport class RpcTransportProtocolError extends Error {\n readonly requestId?: RpcId;\n\n constructor(message: string, options?: ErrorOptions & { requestId?: RpcId }) {\n super(message, options);\n this.name = 'RpcTransportProtocolError';\n this.requestId = options?.requestId;\n }\n}\n\nexport class RpcRemoteError extends Error {\n readonly code: number;\n readonly data?: unknown;\n\n constructor(error: RpcError) {\n super(error.message);\n this.name = 'RpcRemoteError';\n this.code = error.code;\n this.data = error.data;\n }\n}\n\nexport function isRpcError(value: unknown): value is RpcError {\n if (!isRecord(value)) {\n return false;\n }\n\n return typeof value.code === 'number' && typeof value.message === 'string';\n}\n\nexport function isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null && !Array.isArray(value);\n}\n","import type { ClientNotification } from './generated/ClientNotification';\nimport type { InitializeParams } from './generated/InitializeParams';\nimport type { InitializeResponse } from './generated/InitializeResponse';\nimport type { ServerNotification } from './generated/ServerNotification';\nimport type { ServerRequest } from './generated/ServerRequest';\nimport type { CodexAppServerMethodMap } from './method-map';\nimport type { CodexServerRequestMethodMap } from './server-request-map';\nimport { notifyListeners, type ListenerErrorHandler } from './listener-errors';\nimport {\n isRecord,\n isRpcError,\n RpcRemoteError,\n RpcTransportProtocolError,\n type RpcError,\n type RpcId,\n type RpcMessage,\n type RpcTransport,\n} from './wire';\n\ntype MethodName = keyof CodexAppServerMethodMap & string;\ntype MethodParams<Method extends MethodName> = CodexAppServerMethodMap[Method]['params'];\ntype MethodResult<Method extends MethodName> = CodexAppServerMethodMap[Method]['result'];\ntype MethodArguments<Params> = undefined extends Params ? [params?: Params] : [params: Params];\n\ntype ClientNotificationMethod = ClientNotification['method'];\ntype ClientNotificationFor<Method extends ClientNotificationMethod> = Extract<ClientNotification, { method: Method }>;\ntype ClientNotificationParams<Method extends ClientNotificationMethod> = ClientNotificationFor<Method> extends { params: infer Params }\n ? Params\n : undefined;\n\ntype ServerNotificationMethod = ServerNotification['method'];\ntype ServerNotificationFor<Method extends ServerNotificationMethod> = Extract<ServerNotification, { method: Method }>;\n\ntype ServerRequestMethod = keyof CodexServerRequestMethodMap & string;\ntype ServerRequestFor<Method extends ServerRequestMethod> = Extract<ServerRequest, { method: Method }>;\ntype ServerRequestResult<Method extends ServerRequestMethod> = CodexServerRequestMethodMap[Method]['result'];\n\ntype PendingRequest = {\n method: string;\n resolve(result: unknown): void;\n reject(error: Error): void;\n timeout: ReturnType<typeof setTimeout>;\n};\n\nconst DEFAULT_REQUEST_TIMEOUT_MS = 15_000;\nconst LONG_MUTATION_REQUEST_TIMEOUT_MS = 120_000;\nconst requestTimeoutByMethod: Partial<Record<MethodName, number>> = {\n 'thread/revert': LONG_MUTATION_REQUEST_TIMEOUT_MS,\n};\n\nexport type CodexServerRequestResponder<Method extends ServerRequestMethod> = {\n readonly responded: boolean;\n resolve(result: ServerRequestResult<Method>): void;\n reject(error: Error | RpcError | string): void;\n};\n\nexport type UntypedCodexServerRequestResponder = {\n readonly responded: boolean;\n resolve(result: unknown): void;\n reject(error: Error | RpcError | string): void;\n};\n\nexport type CodexAppServerClientOptions = {\n requestTimeoutMs?: number;\n onProtocolError?: (error: Error) => void;\n /**\n * Receives exceptions thrown by notification and disconnect listeners. Each\n * listener is isolated, so one failing subscriber never disturbs the others\n * or fails in-flight requests. Defaults to a process warning.\n */\n onListenerError?: ListenerErrorHandler;\n unhandledServerRequestError?: (request: { id: RpcId; method: string; params?: unknown }) => RpcError;\n};\n\ntype AnyServerRequestHandler = (\n request: ServerRequest,\n responder: UntypedCodexServerRequestResponder,\n) => boolean | void | Promise<boolean | void>;\n\nconst defaultUnhandledRequestError = (request: { method: string }): RpcError => ({\n code: -32601,\n message: `Codex app-server request is not implemented: ${request.method}`,\n});\n\nexport class CodexAppServerClient {\n private nextId = 1;\n private started = false;\n private initializePromise: Promise<InitializeResponse> | null = null;\n private readonly pending = new Map<RpcId, PendingRequest>();\n private readonly notificationListeners = new Set<(notification: ServerNotification) => void>();\n private readonly notificationListenersByMethod = new Map<string, Set<(notification: ServerNotification) => void>>();\n private readonly serverRequestHandlers = new Map<string, Set<AnyServerRequestHandler>>();\n private readonly anyServerRequestHandlers = new Set<AnyServerRequestHandler>();\n private readonly disconnectListeners = new Set<(error: Error) => void>();\n private unsubscribeMessage?: () => void;\n private unsubscribeError?: () => void;\n\n constructor(\n private readonly transport: RpcTransport,\n private readonly options: CodexAppServerClientOptions = {},\n ) {}\n\n async start(): Promise<void> {\n if (this.started) {\n return;\n }\n\n this.unsubscribeMessage = this.transport.onMessage((message) => this.handleMessage(message));\n this.unsubscribeError = this.transport.onError((error) => this.handleTransportError(error));\n\n try {\n await this.transport.start();\n this.started = true;\n } catch (error) {\n this.unsubscribeTransport();\n throw error;\n }\n }\n\n initialize(params: InitializeParams): Promise<InitializeResponse> {\n if (!this.initializePromise) {\n this.initializePromise = this.request('initialize', params)\n .then((result) => {\n this.notify('initialized');\n return result;\n })\n .catch((error: unknown) => {\n this.initializePromise = null;\n throw error;\n });\n }\n\n return this.initializePromise;\n }\n\n request<Method extends MethodName>(\n method: Method,\n ...[params]: MethodArguments<MethodParams<Method>>\n ): Promise<MethodResult<Method>> {\n this.assertStarted();\n const id = this.nextId++;\n const message: RpcMessage = params === undefined\n ? { id, method }\n : { id, method, params };\n const timingStarted = performance.now();\n const timingStartAt = performance.timeOrigin + timingStarted;\n const timingParams = params as Record<string, unknown> | undefined;\n const traceRequest = typeof process !== 'undefined' && process.env.CODEX_APP_SDK_TRACE_CONVERSATION_LOAD === '1'\n && /^(?:initialize|thread\\/(?:resume|read|list|turns\\/.*|goal\\/get)|permissionProfile\\/list|configRequirements\\/read|model\\/list|skills\\/list)$/.test(method);\n const finishTiming = (outcome: string) => {\n if (!traceRequest) return;\n console.warn('[conversation-load] ' + JSON.stringify({ layer: 'codex-rpc', method, id, outcome,\n threadId: typeof timingParams?.threadId === 'string' ? timingParams.threadId : null,\n startAt: timingStartAt, at: performance.timeOrigin + performance.now(), durationMs: performance.now() - timingStarted }));\n };\n\n const result = new Promise<MethodResult<Method>>((resolve, reject) => {\n const timeout = setTimeout(() => {\n this.pending.delete(id);\n finishTiming('timeout');\n reject(new Error(`Codex app-server request timed out: ${method}`));\n }, this.options.requestTimeoutMs ?? requestTimeoutByMethod[method] ?? DEFAULT_REQUEST_TIMEOUT_MS);\n\n this.pending.set(id, {\n method,\n resolve: (value) => { finishTiming('ok'); resolve(value as MethodResult<Method>); },\n reject: (error) => { finishTiming('error'); reject(error); },\n timeout,\n });\n });\n\n try {\n this.transport.send(message);\n } catch (error) {\n const pending = this.pending.get(id);\n if (pending) {\n clearTimeout(pending.timeout);\n this.pending.delete(id);\n pending.reject(toError(error));\n }\n }\n\n return result;\n }\n\n notify<Method extends ClientNotificationMethod>(\n method: Method,\n ...[params]: MethodArguments<ClientNotificationParams<Method>>\n ): void {\n this.assertStarted();\n this.transport.send(params === undefined ? { method } : { method, params });\n }\n\n onNotification(listener: (notification: ServerNotification) => void): () => void;\n onNotification<Method extends ServerNotificationMethod>(\n method: Method,\n listener: (notification: ServerNotificationFor<Method>) => void,\n ): () => void;\n onNotification<Method extends ServerNotificationMethod>(\n methodOrListener: Method | ((notification: ServerNotification) => void),\n methodListener?: (notification: ServerNotificationFor<Method>) => void,\n ): () => void {\n if (typeof methodOrListener === 'function') {\n this.notificationListeners.add(methodOrListener);\n return () => this.notificationListeners.delete(methodOrListener);\n }\n\n const listeners = this.notificationListenersByMethod.get(methodOrListener) ?? new Set();\n const listener = methodListener as (notification: ServerNotification) => void;\n listeners.add(listener);\n this.notificationListenersByMethod.set(methodOrListener, listeners);\n return () => {\n listeners.delete(listener);\n if (listeners.size === 0) {\n this.notificationListenersByMethod.delete(methodOrListener);\n }\n };\n }\n\n onServerRequest<Method extends ServerRequestMethod>(\n method: Method,\n handler: (\n request: ServerRequestFor<Method>,\n responder: CodexServerRequestResponder<Method>,\n ) => boolean | void | Promise<boolean | void>,\n ): () => void {\n const handlers = this.serverRequestHandlers.get(method) ?? new Set();\n const untypedHandler = handler as AnyServerRequestHandler;\n handlers.add(untypedHandler);\n this.serverRequestHandlers.set(method, handlers);\n return () => {\n handlers.delete(untypedHandler);\n if (handlers.size === 0) {\n this.serverRequestHandlers.delete(method);\n }\n };\n }\n\n onAnyServerRequest(handler: AnyServerRequestHandler): () => void {\n this.anyServerRequestHandlers.add(handler);\n return () => this.anyServerRequestHandlers.delete(handler);\n }\n\n onDisconnect(listener: (error: Error) => void): () => void {\n this.disconnectListeners.add(listener);\n return () => this.disconnectListeners.delete(listener);\n }\n\n async close(): Promise<void> {\n this.unsubscribeTransport();\n this.started = false;\n this.initializePromise = null;\n this.rejectAll(new Error('Codex app-server connection closed'));\n await this.transport.close();\n }\n\n private assertStarted(): void {\n if (!this.started) {\n throw new Error('Codex app-server client is not started');\n }\n }\n\n private unsubscribeTransport(): void {\n this.unsubscribeMessage?.();\n this.unsubscribeError?.();\n this.unsubscribeMessage = undefined;\n this.unsubscribeError = undefined;\n }\n\n private handleMessage(message: unknown): void {\n if (!isRecord(message)) {\n this.reportProtocolError(new Error('Codex app-server sent a non-object message'));\n return;\n }\n\n const id = isRpcId(message.id) ? message.id : undefined;\n if (id !== undefined && ('result' in message || 'error' in message) && typeof message.method !== 'string') {\n this.handleResponse(id, message);\n return;\n }\n\n if (typeof message.method === 'string' && id !== undefined) {\n void this.handleServerRequest({\n id,\n method: message.method,\n ...('params' in message ? { params: message.params } : {}),\n });\n return;\n }\n\n if (typeof message.method === 'string') {\n this.handleNotification(message as ServerNotification);\n return;\n }\n\n this.reportProtocolError(new Error('Codex app-server sent an invalid RPC message'));\n }\n\n private handleResponse(id: RpcId, message: Record<string, unknown>): void {\n const pending = this.pending.get(id);\n if (!pending) {\n return;\n }\n\n clearTimeout(pending.timeout);\n this.pending.delete(id);\n if ('error' in message) {\n if (isRpcError(message.error)) {\n pending.reject(new RpcRemoteError(message.error));\n } else {\n pending.reject(new Error(`Codex app-server returned a malformed error for ${pending.method}`));\n }\n return;\n }\n\n pending.resolve(message.result);\n }\n\n private handleNotification(notification: ServerNotification): void {\n notifyListeners(this.notificationListeners, notification, this.options.onListenerError);\n notifyListeners(\n this.notificationListenersByMethod.get(notification.method) ?? [],\n notification,\n this.options.onListenerError,\n );\n }\n\n private async handleServerRequest(request: { id: RpcId; method: string; params?: unknown }): Promise<void> {\n const responder = this.createResponder(request.id);\n const handlers = [\n ...(this.serverRequestHandlers.get(request.method) ?? []),\n ...this.anyServerRequestHandlers,\n ];\n\n for (const handler of handlers) {\n try {\n const claimed = await handler(request as ServerRequest, responder);\n if (claimed === true || responder.responded) {\n return;\n }\n } catch (error) {\n responder.reject({\n code: -32603,\n message: toError(error).message,\n });\n return;\n }\n }\n\n responder.reject((this.options.unhandledServerRequestError ?? defaultUnhandledRequestError)(request));\n }\n\n private createResponder(id: RpcId): UntypedCodexServerRequestResponder {\n let responded = false;\n return {\n get responded() {\n return responded;\n },\n resolve: (result) => {\n if (responded) {\n return;\n }\n responded = true;\n this.transport.send({ id, result });\n },\n reject: (error) => {\n if (responded) {\n return;\n }\n responded = true;\n this.transport.send({ id, error: normalizeRpcError(error) });\n },\n };\n }\n\n private rejectAll(error: Error): void {\n for (const pending of this.pending.values()) {\n clearTimeout(pending.timeout);\n pending.reject(error);\n }\n this.pending.clear();\n }\n\n private handleTransportError(error: Error): void {\n if (error instanceof RpcTransportProtocolError) {\n this.reportProtocolError(error);\n if (error.requestId !== undefined) {\n const pending = this.pending.get(error.requestId);\n if (pending) {\n clearTimeout(pending.timeout);\n this.pending.delete(error.requestId);\n pending.reject(error);\n }\n } else {\n this.rejectAll(error);\n }\n return;\n }\n this.started = false;\n this.initializePromise = null;\n this.unsubscribeTransport();\n this.rejectAll(error);\n notifyListeners(this.disconnectListeners, error, this.options.onListenerError);\n }\n\n private reportProtocolError(error: Error): void {\n this.options.onProtocolError?.(error);\n }\n}\n\nfunction normalizeRpcError(error: Error | RpcError | string): RpcError {\n if (typeof error === 'string') {\n return { code: -32603, message: error };\n }\n if (error instanceof Error) {\n return { code: -32603, message: error.message };\n }\n return error;\n}\n\nfunction isRpcId(value: unknown): value is RpcId {\n return typeof value === 'number' || typeof value === 'string';\n}\n\nfunction toError(error: unknown): Error {\n return error instanceof Error ? error : new Error(String(error));\n}\n","// Generated by scripts/generate-codex-schema.mjs.\nexport const codexSchemaCliVersion = \"codex-cli 0.164.0\";\n"],"mappings":";AAOA,SAAgB,EAAoB,GAAgB,GAAsC;CACxF,IAAI,GAAS;EACX,IAAI;GACF,EAAQ,CAAK;EACf,QAAQ,CAER;EACA;CACF;CACA,QAAQ,YAAY,aAAiB,QAAQ,IAAY,MAAM,OAAO,CAAK,CAAC,CAAC;AAC/E;AAGA,SAAgB,EACd,GACA,GACA,GACM;CACN,KAAK,IAAM,KAAY,GACrB,IAAI;EACF,EAAS,CAAK;CAChB,SAAS,GAAO;EACd,EAAoB,GAAO,CAAO;CACpC;AAEJ;;;ACYA,IAAa,IAAb,cAA+C,MAAM;CACnD;CAEA,YAAY,GAAiB,GAAgD;EAG3E,AAFA,MAAM,GAAS,CAAO,GACtB,KAAK,OAAO,6BACZ,KAAK,YAAY,GAAS;CAC5B;AACF,GAEa,IAAb,cAAoC,MAAM;CACxC;CACA;CAEA,YAAY,GAAiB;EAI3B,AAHA,MAAM,EAAM,OAAO,GACnB,KAAK,OAAO,kBACZ,KAAK,OAAO,EAAM,MAClB,KAAK,OAAO,EAAM;CACpB;AACF;AAEA,SAAgB,EAAW,GAAmC;CAK5D,OAJK,EAAS,CAAK,IAIZ,OAAO,EAAM,QAAS,YAAY,OAAO,EAAM,WAAY,WAHzD;AAIX;AAEA,SAAgB,EAAS,GAAkD;CACzE,OAAO,OAAO,KAAU,cAAY,KAAkB,CAAC,MAAM,QAAQ,CAAK;AAC5E;;;AChCA,IAAM,IAA6B,MAE7B,IAA8D,EAClE,iBAAiB,KACnB,GA+BM,KAAgC,OAA2C;CAC/E,MAAM;CACN,SAAS,gDAAgD,EAAQ;AACnE,IAEa,IAAb,MAAkC;CAcb;CACA;CAdnB,SAAiB;CACjB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