@agentvault/openai-bridge 0.1.12 → 0.1.14
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 +27 -2
- package/dist/bridge.d.ts +24 -1
- package/dist/cli.d.ts +1 -1
- package/dist/driver.d.ts +43 -2
- package/dist/index.js +461 -82
- package/dist/rollout.d.ts +12 -0
- package/dist/runtime.d.ts +4 -0
- package/package.json +1 -1
package/dist/rollout.d.ts
CHANGED
|
@@ -5,6 +5,18 @@ export interface RolloutSnapshot {
|
|
|
5
5
|
ino: number;
|
|
6
6
|
dev: number;
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* #1560 — positive evidence that a session's local rollout is gone: the walk
|
|
10
|
+
* finished over an existing tree and found no file for that id, or the
|
|
11
|
+
* sessions root itself does not exist. Same message as `invalid()`, so callers
|
|
12
|
+
* that only read the message see no difference; only the driver branches on it.
|
|
13
|
+
* A truncated walk (too many entries), a directory deeper than
|
|
14
|
+
* sessions/Y/M/D (it is not walked), a symlink, several matches and every
|
|
15
|
+
* other filesystem error are NOT proof of absence and never throw this.
|
|
16
|
+
*/
|
|
17
|
+
export declare class RolloutMissing extends Error {
|
|
18
|
+
constructor();
|
|
19
|
+
}
|
|
8
20
|
export declare function snapshotRollout(layout: Layout, id: string): Promise<RolloutSnapshot>;
|
|
9
21
|
/** The exec stream omits assistant phase. Verify only bytes written by this
|
|
10
22
|
* invocation in the pinned local rollout, never a prior resumed turn's final. */
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { EventEmitter } from "node:events";
|
|
2
2
|
import type { SecureChannelConfig } from "@agentvault/agentvault";
|
|
3
|
+
import { type DriverOptions } from "./driver.js";
|
|
3
4
|
import { type BridgeChannel, type TurnDriver } from "./bridge.js";
|
|
4
5
|
import { type RunConfig } from "./cli.js";
|
|
5
6
|
export interface RuntimeChannel extends BridgeChannel {
|
|
@@ -14,6 +15,9 @@ export interface RuntimeDependencies {
|
|
|
14
15
|
shutdownMs?: number;
|
|
15
16
|
deliveryTimeoutMs?: number;
|
|
16
17
|
}
|
|
18
|
+
/** #1560: the CodexDriver's options, with a recovered session reported to the
|
|
19
|
+
* bridge log by its code only. */
|
|
20
|
+
export declare function codexDriverOptions(config: Pick<RunConfig, "binary" | "layout">, report: (event: string) => void): DriverOptions;
|
|
17
21
|
/** Only CLI run enters here. Tests supply fixture channels, drivers and signals. */
|
|
18
22
|
export declare function startBridge(config: RunConfig, injected?: RuntimeDependencies): Promise<void>;
|
|
19
23
|
//# sourceMappingURL=runtime.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@agentvault/openai-bridge", "version": "0.1.
|
|
2
|
+
"name": "@agentvault/openai-bridge", "version": "0.1.14", "type": "module",
|
|
3
3
|
"description": "AgentVault OpenAI Codex bridge for encrypted owner messages and rooms",
|
|
4
4
|
"main": "dist/index.js", "types": "dist/index.d.ts",
|
|
5
5
|
"bin": { "agentvault-openai-bridge": "dist/index.js" },
|