@hua-labs/tap 0.2.3 → 0.2.5
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 +194 -194
- package/dist/bridges/codex-app-server-auth-gateway.mjs +11 -3
- package/dist/bridges/codex-app-server-auth-gateway.mjs.map +1 -1
- package/dist/bridges/codex-app-server-bridge.d.mts +11 -1
- package/dist/bridges/codex-app-server-bridge.mjs +109 -50
- package/dist/bridges/codex-app-server-bridge.mjs.map +1 -1
- package/dist/bridges/codex-bridge-runner.mjs +23 -17
- package/dist/bridges/codex-bridge-runner.mjs.map +1 -1
- package/dist/cli.mjs +1063 -237
- package/dist/cli.mjs.map +1 -1
- package/dist/index.d.mts +4 -1
- package/dist/index.mjs +446 -140
- package/dist/index.mjs.map +1 -1
- package/package.json +65 -65
package/dist/index.d.mts
CHANGED
|
@@ -88,7 +88,7 @@ interface HeadlessConfig {
|
|
|
88
88
|
qualitySeverityFloor: "critical" | "high" | "medium";
|
|
89
89
|
}
|
|
90
90
|
interface AppServerAuthState {
|
|
91
|
-
mode: "query-token";
|
|
91
|
+
mode: "subprotocol" | "query-token";
|
|
92
92
|
protectedUrl: string;
|
|
93
93
|
upstreamUrl: string;
|
|
94
94
|
tokenPath: string;
|
|
@@ -442,6 +442,8 @@ declare function getConfig(options?: StateApiOptions): {
|
|
|
442
442
|
interface HttpServerOptions extends StateApiOptions {
|
|
443
443
|
/** Port to listen on (default: 4580) */
|
|
444
444
|
port?: number;
|
|
445
|
+
/** Pre-set API token (default: auto-generated) */
|
|
446
|
+
token?: string;
|
|
445
447
|
}
|
|
446
448
|
/**
|
|
447
449
|
* Start a localhost-only HTTP server for the tap State API.
|
|
@@ -449,6 +451,7 @@ interface HttpServerOptions extends StateApiOptions {
|
|
|
449
451
|
*/
|
|
450
452
|
declare function startHttpServer(options?: HttpServerOptions): Promise<{
|
|
451
453
|
port: number;
|
|
454
|
+
token: string;
|
|
452
455
|
close: () => Promise<void>;
|
|
453
456
|
}>;
|
|
454
457
|
|