codex-xai-oauth 0.1.0
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/.codex-plugin/plugin.json +28 -0
- package/.mcp.json +9 -0
- package/LICENSE +21 -0
- package/README.md +134 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.js +5905 -0
- package/dist/codex/doctor.d.ts +12 -0
- package/dist/codex/setup.d.ts +16 -0
- package/dist/mcp/server.d.ts +7 -0
- package/dist/mcp/server.js +33006 -0
- package/dist/openai-compat/server.d.ts +10 -0
- package/dist/version.d.ts +2 -0
- package/dist/xai/browser-oauth.d.ts +24 -0
- package/dist/xai/codex-config.d.ts +9 -0
- package/dist/xai/constants.d.ts +17 -0
- package/dist/xai/credentials.d.ts +4 -0
- package/dist/xai/device-oauth.d.ts +9 -0
- package/dist/xai/guards.d.ts +4 -0
- package/dist/xai/http.d.ts +7 -0
- package/dist/xai/index.d.ts +9 -0
- package/dist/xai/media.d.ts +35 -0
- package/dist/xai/oauth.d.ts +28 -0
- package/dist/xai/responses.d.ts +10 -0
- package/dist/xai/storage.d.ts +11 -0
- package/dist/xai/types.d.ts +58 -0
- package/package.json +58 -0
- package/skills/xai-grok/SKILL.md +49 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type Check = {
|
|
2
|
+
readonly detail: string;
|
|
3
|
+
readonly ok: boolean;
|
|
4
|
+
};
|
|
5
|
+
export type DoctorResult = {
|
|
6
|
+
readonly checks: readonly Check[];
|
|
7
|
+
readonly ok: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare function runDoctor(): Promise<DoctorResult>;
|
|
10
|
+
export declare function printDoctor(result: DoctorResult): void;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=doctor.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type SetupOptions = {
|
|
2
|
+
readonly install?: boolean;
|
|
3
|
+
readonly marketplaceName?: string;
|
|
4
|
+
readonly marketplaceRoot?: string;
|
|
5
|
+
readonly packageRoot?: string;
|
|
6
|
+
};
|
|
7
|
+
export type SetupResult = {
|
|
8
|
+
readonly installed: boolean;
|
|
9
|
+
readonly marketplaceName: string;
|
|
10
|
+
readonly marketplaceRoot: string;
|
|
11
|
+
readonly pluginRoot: string;
|
|
12
|
+
};
|
|
13
|
+
export declare function defaultMarketplaceRoot(name?: string): string;
|
|
14
|
+
export declare function currentPackageRoot(): string;
|
|
15
|
+
export declare function setupCodexPlugin(options?: SetupOptions): SetupResult;
|
|
16
|
+
//# sourceMappingURL=setup.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
2
|
+
export declare function createXaiMcpServer(): {
|
|
3
|
+
readonly server: McpServer;
|
|
4
|
+
readonly toolNames: readonly string[];
|
|
5
|
+
};
|
|
6
|
+
export declare function runStdioServer(): Promise<void>;
|
|
7
|
+
//# sourceMappingURL=server.d.ts.map
|