@kyo-so/cli 0.1.0 → 0.2.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/README.ja.md +289 -0
- package/README.md +90 -5
- package/README.zh-CN.md +289 -0
- package/dist/bin/kyoso.js +517 -64
- package/dist/cli/args.d.ts +1 -0
- package/dist/cli/setup.d.ts +29 -0
- package/package.json +1 -1
package/dist/cli/args.d.ts
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export type SetupClient = "codex" | "claude-code";
|
|
2
|
+
export type SetupRunner = "npx" | "bunx";
|
|
3
|
+
export type SetupScope = "project" | "global";
|
|
4
|
+
export type SetupOptions = {
|
|
5
|
+
cwd: string;
|
|
6
|
+
client?: string;
|
|
7
|
+
write: boolean;
|
|
8
|
+
global: boolean;
|
|
9
|
+
runner?: string;
|
|
10
|
+
command?: string;
|
|
11
|
+
env?: NodeJS.ProcessEnv;
|
|
12
|
+
};
|
|
13
|
+
type McpCommand = {
|
|
14
|
+
command: string;
|
|
15
|
+
args: string[];
|
|
16
|
+
};
|
|
17
|
+
export declare function runSetup(options: SetupOptions): Promise<string>;
|
|
18
|
+
export declare function commandForRunner(runner: SetupRunner): McpCommand;
|
|
19
|
+
export declare function buildCodexMcpToml(command: McpCommand): string;
|
|
20
|
+
export declare function buildClaudeMcpEntry(command: McpCommand): Record<string, unknown>;
|
|
21
|
+
export declare function skillDestination(client: SetupClient, scope: SetupScope, cwd: string, home: string): string;
|
|
22
|
+
export declare function detectSetup(options: {
|
|
23
|
+
cwd: string;
|
|
24
|
+
home?: string;
|
|
25
|
+
}): Record<SetupClient, {
|
|
26
|
+
mcp: boolean;
|
|
27
|
+
skill: boolean;
|
|
28
|
+
}>;
|
|
29
|
+
export {};
|