@cotal-ai/connector-codex 0.165.4 → 0.166.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/dist/app-server.d.ts +2 -1
- package/dist/app-server.d.ts.map +1 -1
- package/dist/docs-bundle.bin +0 -0
- package/dist/docs-index.bin +0 -0
- package/dist/host.js +40 -40
- package/dist/index.js +3 -3
- package/dist/personal-host.d.ts +2 -4
- package/dist/personal-host.d.ts.map +1 -1
- package/dist/personal.js +38 -38
- package/dist/tui.d.ts +2 -1
- package/dist/tui.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/personal-host.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export interface ApprovalNotice {
|
|
|
12
12
|
status: "approved" | "denied" | "expired" | "refused";
|
|
13
13
|
id: string;
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
interface CodexPersonalHostOptions {
|
|
16
16
|
cotal: () => readonly string[];
|
|
17
17
|
env: NodeJS.ProcessEnv;
|
|
18
18
|
/** Codex's own record of a thread. */
|
|
@@ -23,12 +23,10 @@ export interface CodexPersonalHostOptions {
|
|
|
23
23
|
released?: (thread: string, connection: string) => void;
|
|
24
24
|
watch?: typeof WATCH;
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
interface CodexPersonalHost extends GatewayHost {
|
|
27
27
|
threadFor(connection: string): string | undefined;
|
|
28
28
|
closeAll(): Promise<void>;
|
|
29
29
|
}
|
|
30
|
-
/** The thread a tool call came from, from the metadata Codex attaches to it. */
|
|
31
|
-
export declare function codexThreadOf(meta: Readonly<Record<string, unknown>> | undefined): string;
|
|
32
30
|
export declare function createCodexPersonalHost(o: CodexPersonalHostOptions): CodexPersonalHost;
|
|
33
31
|
export {};
|
|
34
32
|
//# sourceMappingURL=personal-host.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"personal-host.d.ts","sourceRoot":"","sources":["../src/personal-host.ts"],"names":[],"mappings":"AASA,O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