@signetai/connector-codex 0.140.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/bin/install.js ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+ import { runConnectorInstaller } from "@signetai/connector-base";
3
+ import { CodexConnector } from "../dist/index.js";
4
+
5
+ runConnectorInstaller("codex", CodexConnector);
@@ -0,0 +1,45 @@
1
+ import { BaseConnector, type InstallResult, type UninstallResult } from "@signetai/connector-base";
2
+ export type SignetMcpConfig = {
3
+ readonly command: string;
4
+ readonly args: readonly string[];
5
+ } | {
6
+ readonly url: string;
7
+ readonly startupTimeoutSec: number;
8
+ readonly toolTimeoutSec: number;
9
+ readonly httpHeaders?: Readonly<Record<string, string>>;
10
+ };
11
+ interface CodexPluginBundleResult {
12
+ readonly marketplaceRoot: string;
13
+ readonly pluginRoot: string;
14
+ readonly filesWritten: readonly string[];
15
+ }
16
+ interface NativePluginCommandResult {
17
+ readonly success: boolean;
18
+ readonly filesWritten: readonly string[];
19
+ readonly warning?: string;
20
+ }
21
+ export declare function writeCodexPluginBundle(input: {
22
+ readonly codexHome: string;
23
+ readonly signetArgs?: readonly string[];
24
+ readonly mcp?: SignetMcpConfig;
25
+ readonly remoteDaemonUrl?: string | null;
26
+ }): CodexPluginBundleResult;
27
+ export declare function buildMcpBlock(mcp: SignetMcpConfig): string;
28
+ export declare class CodexConnector extends BaseConnector {
29
+ readonly name = "Codex";
30
+ readonly harnessId = "codex";
31
+ protected getCodexHome(): string;
32
+ protected supportsNativePluginInstall(): boolean;
33
+ protected nativePluginProvidesHooks(): boolean;
34
+ protected installNativePlugin(codexHome: string): NativePluginCommandResult;
35
+ protected removeNativePlugin(codexHome: string): void;
36
+ private getHooksJsonPath;
37
+ getConfigPath(): string;
38
+ private installCompatibilityHooks;
39
+ private removeCompatibilityHooks;
40
+ install(basePath: string): Promise<InstallResult>;
41
+ uninstall(): Promise<UninstallResult>;
42
+ isIn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