xling 0.2.4 → 0.3.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.
Files changed (105) hide show
  1. package/README.md +47 -0
  2. package/dist/{base-Cm9xh6sW.js → base-BWvHbkly.js} +2 -3
  3. package/dist/base-CMD91CAe.d.ts +44 -0
  4. package/dist/base-DdIJJBHV.js +33 -0
  5. package/dist/{base-BlaKDtDu.d.ts → base-DkEUpUS3.d.ts} +19 -20
  6. package/dist/claude-BsdlWM7z.js +30 -0
  7. package/dist/{claude-l3zomoHg.js → claude-D7KdpYHQ.js} +4 -5
  8. package/dist/{claudeDefault-Fk1-kHLE.js → claudeDefault-pd-Kyu6o.js} +1 -2
  9. package/dist/codex-Crifr9cw.js +31 -0
  10. package/dist/{codex-CR8xqNrZ.js → codex-UJ2PYHA6.js} +3 -4
  11. package/dist/commands/settings/get.d.ts +5 -13
  12. package/dist/commands/settings/get.js +8 -9
  13. package/dist/commands/settings/inspect.d.ts +4 -10
  14. package/dist/commands/settings/inspect.js +8 -9
  15. package/dist/commands/settings/list.d.ts +4 -11
  16. package/dist/commands/settings/list.js +8 -9
  17. package/dist/commands/settings/set.d.ts +5 -13
  18. package/dist/commands/settings/set.js +8 -9
  19. package/dist/commands/settings/switch.d.ts +5 -15
  20. package/dist/commands/settings/switch.js +8 -9
  21. package/dist/commands/x/index.d.ts +14 -0
  22. package/dist/commands/x/index.js +129 -0
  23. package/dist/dispatcher-BUU7wUgm.js +93 -0
  24. package/dist/{dispatcher-JXm3OqRQ.js → dispatcher-Co94YvDc.js} +4 -5
  25. package/dist/domain/interfaces.d.ts +3 -3
  26. package/dist/domain/types.d.ts +2 -2
  27. package/dist/domain/validators.d.ts +17 -72
  28. package/dist/domain/validators.js +1 -2
  29. package/dist/editor-D4qoje1V.js +1 -2
  30. package/dist/errors-CAZ5k5YT.js +1 -2
  31. package/dist/format-Cqecj3RS.js +1 -2
  32. package/dist/{fsStore-i-3731TM.js → fsStore-BPnFUGta.js} +1 -2
  33. package/dist/{gemini-aNNm-QGE.js → gemini-Qo5146d_.js} +2 -3
  34. package/dist/interfaces-BD6_y1tC.d.ts +74 -0
  35. package/dist/run.js +1 -2
  36. package/dist/runner-BE7zZq1g.js +88 -0
  37. package/dist/services/launch/adapters/base.d.ts +4 -0
  38. package/dist/services/launch/adapters/base.js +4 -0
  39. package/dist/services/launch/adapters/claude.d.ts +24 -0
  40. package/dist/services/launch/adapters/claude.js +5 -0
  41. package/dist/services/launch/adapters/codex.d.ts +25 -0
  42. package/dist/services/launch/adapters/codex.js +5 -0
  43. package/dist/services/launch/dispatcher.d.ts +43 -0
  44. package/dist/services/launch/dispatcher.js +8 -0
  45. package/dist/services/settings/adapters/base.d.ts +3 -3
  46. package/dist/services/settings/adapters/base.js +2 -2
  47. package/dist/services/settings/adapters/claude.d.ts +19 -20
  48. package/dist/services/settings/adapters/claude.js +4 -4
  49. package/dist/services/settings/adapters/codex.d.ts +23 -24
  50. package/dist/services/settings/adapters/codex.js +3 -3
  51. package/dist/services/settings/adapters/gemini.d.ts +17 -18
  52. package/dist/services/settings/adapters/gemini.js +3 -3
  53. package/dist/services/settings/dispatcher.d.ts +18 -19
  54. package/dist/services/settings/dispatcher.js +7 -7
  55. package/dist/services/settings/fsStore.d.ts +24 -27
  56. package/dist/services/settings/fsStore.js +1 -1
  57. package/dist/services/settings/templates/claudeDefault.d.ts +3 -4
  58. package/dist/services/settings/templates/claudeDefault.js +1 -1
  59. package/dist/{types-BfNSo2rs.d.ts → types-DSBuWLh6.d.ts} +42 -10
  60. package/dist/utils/editor.d.ts +1 -2
  61. package/dist/utils/errors.d.ts +21 -22
  62. package/dist/utils/format.d.ts +8 -9
  63. package/dist/utils/logger.d.ts +9 -10
  64. package/dist/utils/logger.js +1 -2
  65. package/dist/utils/runner.d.ts +34 -0
  66. package/dist/utils/runner.js +3 -0
  67. package/package.json +1 -1
  68. package/dist/base-BlaKDtDu.d.ts.map +0 -1
  69. package/dist/base-Cm9xh6sW.js.map +0 -1
  70. package/dist/claude-l3zomoHg.js.map +0 -1
  71. package/dist/claudeDefault-Fk1-kHLE.js.map +0 -1
  72. package/dist/codex-CR8xqNrZ.js.map +0 -1
  73. package/dist/commands/settings/get.d.ts.map +0 -1
  74. package/dist/commands/settings/get.js.map +0 -1
  75. package/dist/commands/settings/inspect.d.ts.map +0 -1
  76. package/dist/commands/settings/inspect.js.map +0 -1
  77. package/dist/commands/settings/list.d.ts.map +0 -1
  78. package/dist/commands/settings/list.js.map +0 -1
  79. package/dist/commands/settings/set.d.ts.map +0 -1
  80. package/dist/commands/settings/set.js.map +0 -1
  81. package/dist/commands/settings/switch.d.ts.map +0 -1
  82. package/dist/commands/settings/switch.js.map +0 -1
  83. package/dist/dispatcher-JXm3OqRQ.js.map +0 -1
  84. package/dist/domain/validators.d.ts.map +0 -1
  85. package/dist/domain/validators.js.map +0 -1
  86. package/dist/editor-D4qoje1V.js.map +0 -1
  87. package/dist/errors-CAZ5k5YT.js.map +0 -1
  88. package/dist/format-Cqecj3RS.js.map +0 -1
  89. package/dist/fsStore-i-3731TM.js.map +0 -1
  90. package/dist/gemini-aNNm-QGE.js.map +0 -1
  91. package/dist/interfaces-CriQW6hF.d.ts +0 -41
  92. package/dist/interfaces-CriQW6hF.d.ts.map +0 -1
  93. package/dist/run.js.map +0 -1
  94. package/dist/services/settings/adapters/claude.d.ts.map +0 -1
  95. package/dist/services/settings/adapters/codex.d.ts.map +0 -1
  96. package/dist/services/settings/adapters/gemini.d.ts.map +0 -1
  97. package/dist/services/settings/dispatcher.d.ts.map +0 -1
  98. package/dist/services/settings/fsStore.d.ts.map +0 -1
  99. package/dist/services/settings/templates/claudeDefault.d.ts.map +0 -1
  100. package/dist/types-BfNSo2rs.d.ts.map +0 -1
  101. package/dist/utils/editor.d.ts.map +0 -1
  102. package/dist/utils/errors.d.ts.map +0 -1
  103. package/dist/utils/format.d.ts.map +0 -1
  104. package/dist/utils/logger.d.ts.map +0 -1
  105. package/dist/utils/logger.js.map +0 -1
package/README.md CHANGED
@@ -25,6 +25,7 @@ Together, `xling` is more than just a tool; it's an intelligent partner that amp
25
25
  ## Features
26
26
 
27
27
  - **Unified Interface**: Manage settings for multiple AI CLI tools with a single command
28
+ - **Quick Launcher**: Just type `xling x` to start Claude Code instantly with yolo mode
28
29
  - **Multiple Scopes**: Support for user, project, local, and system-level configurations
29
30
  - **Profile Switching**: Switch between different configuration profiles (Codex)
30
31
  - **Dry Run Mode**: Preview changes before applying them
@@ -46,6 +47,52 @@ npm link
46
47
 
47
48
  ## Usage
48
49
 
50
+ ### Quick Start - The `x` Command
51
+
52
+ The fastest way to start your AI tools! Just type `xling x` to launch Claude Code with yolo mode.
53
+
54
+ **Claude Code is launched by default** - the ultimate convenience!
55
+
56
+ ```bash
57
+ # 🚀 Fastest way - Start Claude Code instantly
58
+ xling x
59
+
60
+ # Continue last conversation/session
61
+ xling x -c
62
+
63
+ # Resume from conversation/session list
64
+ xling x -r
65
+
66
+ # Pass arguments to Claude
67
+ xling x -- chat "Hello, how are you?"
68
+
69
+ # Start without yolo mode
70
+ xling x --no-yolo
71
+
72
+ # Start Codex instead
73
+ xling x --tool codex
74
+ # or use the short flag
75
+ xling x -t codex
76
+
77
+ # Continue last Codex session
78
+ xling x -t codex -c
79
+
80
+ # Start Codex in a specific directory
81
+ xling x -t codex -C /path/to/project
82
+ ```
83
+
84
+ **Resume Options:**
85
+ - `-c` or `--continue`: Continue the last conversation/session
86
+ - Claude Code: `claude -c`
87
+ - Codex: `codex resume --last`
88
+ - `-r` or `--resume`: Show a list to choose from
89
+ - Claude Code: `claude -r`
90
+ - Codex: `codex resume`
91
+
92
+ **Yolo mode flags:**
93
+ - Claude Code: `--dangerously-skip-permissions`
94
+ - Codex: `--dangerously-bypass-approvals-and-sandbox`
95
+
49
96
  ### List Settings
50
97
 
51
98
  ```bash
@@ -1,5 +1,5 @@
1
1
  import { a as InvalidScopeError } from "./errors-CAZ5k5YT.js";
2
- import { a as readJSON, c as writeJSON, i as getFileInfo, r as fileExists } from "./fsStore-i-3731TM.js";
2
+ import { a as readJSON, c as writeJSON, i as getFileInfo, r as fileExists } from "./fsStore-BPnFUGta.js";
3
3
 
4
4
  //#region src/services/settings/adapters/base.ts
5
5
  /**
@@ -65,5 +65,4 @@ var BaseAdapter = class {
65
65
  };
66
66
 
67
67
  //#endregion
68
- export { BaseAdapter as t };
69
- //# sourceMappingURL=base-Cm9xh6sW.js.map
68
+ export { BaseAdapter as t };
@@ -0,0 +1,44 @@
1
+ import { m as ToolId, r as LaunchCommandSpec } from "./types-DSBuWLh6.js";
2
+ import { t as LaunchAdapter } from "./interfaces-BD6_y1tC.js";
3
+
4
+ //#region src/services/launch/adapters/base.d.ts
5
+
6
+ /**
7
+ * 抽象基类
8
+ * 体现 SOLID 原则:
9
+ * - SRP: 只负责命令规范构建
10
+ * - Template Method: 定义算法骨架,子类实现具体步骤
11
+ * - DRY: 复用 validateAvailability 和 getVersion 实现
12
+ */
13
+ declare abstract class BaseLaunchAdapter implements LaunchAdapter {
14
+ /**
15
+ * 工具标识符(子类必须实现)
16
+ */
17
+ abstract readonly toolId: ToolId;
18
+ /**
19
+ * 可执行文件名称(子类必须实现)
20
+ */
21
+ abstract readonly executable: string;
22
+ /**
23
+ * 构建启动命令配置(子类必须实现)
24
+ * @param payload Launch 请求参数
25
+ * @returns 命令规范
26
+ */
27
+ abstract buildCommandSpec(payload: {
28
+ yolo?: boolean;
29
+ resume?: boolean;
30
+ continue?: boolean;
31
+ }): LaunchCommandSpec;
32
+ /**
33
+ * 默认实现:检查可执行文件是否存在
34
+ * 子类可以覆盖此方法以提供自定义验证逻辑
35
+ */
36
+ validateAvailability(): Promise<boolean>;
37
+ /**
38
+ * 默认版本检查实现
39
+ * 子类可以覆盖此方法以使用不同的版本参数
40
+ */
41
+ getVersion(): Promise<string>;
42
+ }
43
+ //#endregion
44
+ export { BaseLaunchAdapter as t };
@@ -0,0 +1,33 @@
1
+ import { n as getExecutableVersion, t as checkExecutable } from "./runner-BE7zZq1g.js";
2
+
3
+ //#region src/services/launch/adapters/base.ts
4
+ /**
5
+ * 抽象基类
6
+ * 体现 SOLID 原则:
7
+ * - SRP: 只负责命令规范构建
8
+ * - Template Method: 定义算法骨架,子类实现具体步骤
9
+ * - DRY: 复用 validateAvailability 和 getVersion 实现
10
+ */
11
+ var BaseLaunchAdapter = class {
12
+ /**
13
+ * 默认实现:检查可执行文件是否存在
14
+ * 子类可以覆盖此方法以提供自定义验证逻辑
15
+ */
16
+ async validateAvailability() {
17
+ return checkExecutable(this.executable);
18
+ }
19
+ /**
20
+ * 默认版本检查实现
21
+ * 子类可以覆盖此方法以使用不同的版本参数
22
+ */
23
+ async getVersion() {
24
+ try {
25
+ return await getExecutableVersion(this.executable);
26
+ } catch {
27
+ return "unknown";
28
+ }
29
+ }
30
+ };
31
+
32
+ //#endregion
33
+ export { BaseLaunchAdapter as t };
@@ -1,43 +1,42 @@
1
- import { d as ToolId, i as Scope, l as SettingsResult, n as InspectResult, s as SettingsListData, t as EditOptions, u as SwitchOptions } from "./types-BfNSo2rs.js";
2
- import { t as SettingsAdapter } from "./interfaces-CriQW6hF.js";
1
+ import { f as SettingsResult, m as ToolId, n as InspectResult, p as SwitchOptions, s as Scope, t as EditOptions, u as SettingsListData } from "./types-DSBuWLh6.js";
2
+ import { n as SettingsAdapter } from "./interfaces-BD6_y1tC.js";
3
3
 
4
4
  //#region src/services/settings/adapters/base.d.ts
5
5
 
6
6
  /**
7
- * 抽象基类
8
- */
7
+ * 抽象基类
8
+ */
9
9
  declare abstract class BaseAdapter implements SettingsAdapter {
10
10
  abstract readonly toolId: ToolId;
11
11
  /**
12
- * 子类必须实现的方法
13
- */
12
+ * 子类必须实现的方法
13
+ */
14
14
  abstract resolvePath(scope: Scope): string;
15
15
  abstract validateScope(scope: Scope): boolean;
16
16
  /**
17
- * 列出所有配置
18
- */
17
+ * 列出所有配置
18
+ */
19
19
  list(scope: Scope): Promise<SettingsListData>;
20
20
  /**
21
- * 默认 switchProfile 会抛出,子类可覆盖
22
- */
21
+ * 默认 switchProfile 会抛出,子类可覆盖
22
+ */
23
23
  switchProfile(_scope: Scope, _profile: string, _options?: SwitchOptions): Promise<SettingsResult>;
24
24
  /**
25
- * 检查配置文件
26
- */
25
+ * 检查配置文件
26
+ */
27
27
  inspect(scope: Scope): Promise<InspectResult>;
28
28
  /**
29
- * 默认 edit 会抛出,子类可覆盖
30
- */
29
+ * 默认 edit 会抛出,子类可覆盖
30
+ */
31
31
  edit(scope: Scope, _options: EditOptions): Promise<SettingsResult>;
32
32
  /**
33
- * 读取配置文件(子类可覆盖)
34
- */
33
+ * 读取配置文件(子类可覆盖)
34
+ */
35
35
  protected readConfig(path: string): Record<string, unknown>;
36
36
  /**
37
- * 写入配置文件(子类可覆盖)
38
- */
37
+ * 写入配置文件(子类可覆盖)
38
+ */
39
39
  protected writeConfig(path: string, data: Record<string, unknown>, backup?: boolean): void;
40
40
  }
41
41
  //#endregion
42
- export { BaseAdapter as t };
43
- //# sourceMappingURL=base-BlaKDtDu.d.ts.map
42
+ export { BaseAdapter as t };
@@ -0,0 +1,30 @@
1
+ import { t as BaseLaunchAdapter } from "./base-DdIJJBHV.js";
2
+
3
+ //#region src/services/launch/adapters/claude.ts
4
+ /**
5
+ * Claude Code Launch 适配器
6
+ */
7
+ /**
8
+ * Claude Code 启动适配器
9
+ *
10
+ * Yolo 模式: --dangerously-skip-permissions
11
+ * Resume 模式: -r (显示对话列表选择)
12
+ * Continue 模式: -c (继续最后一个对话)
13
+ */
14
+ var ClaudeLaunchAdapter = class extends BaseLaunchAdapter {
15
+ toolId = "claude";
16
+ executable = "claude";
17
+ buildCommandSpec(payload) {
18
+ const baseArgs = [];
19
+ if (payload.continue) baseArgs.push("-c");
20
+ else if (payload.resume) baseArgs.push("-r");
21
+ return {
22
+ executable: this.executable,
23
+ baseArgs,
24
+ yoloArgs: payload.yolo ? ["--dangerously-skip-permissions"] : void 0
25
+ };
26
+ }
27
+ };
28
+
29
+ //#endregion
30
+ export { ClaudeLaunchAdapter as t };
@@ -1,9 +1,9 @@
1
1
  import { a as InvalidScopeError, s as SettingsVariantNotFoundError } from "./errors-CAZ5k5YT.js";
2
2
  import { n as resolveEditorCommand, t as openInEditor } from "./editor-D4qoje1V.js";
3
3
  import { t as formatDiff } from "./format-Cqecj3RS.js";
4
- import { c as writeJSON, i as getFileInfo, n as ensureDir, s as resolveHome } from "./fsStore-i-3731TM.js";
5
- import { t as BaseAdapter } from "./base-Cm9xh6sW.js";
6
- import { t as CLAUDE_SETTINGS_TEMPLATE } from "./claudeDefault-Fk1-kHLE.js";
4
+ import { c as writeJSON, i as getFileInfo, n as ensureDir, s as resolveHome } from "./fsStore-BPnFUGta.js";
5
+ import { t as BaseAdapter } from "./base-BWvHbkly.js";
6
+ import { t as CLAUDE_SETTINGS_TEMPLATE } from "./claudeDefault-pd-Kyu6o.js";
7
7
  import * as fs from "fs";
8
8
  import * as path from "path";
9
9
 
@@ -205,5 +205,4 @@ var ClaudeAdapter = class extends BaseAdapter {
205
205
  };
206
206
 
207
207
  //#endregion
208
- export { ClaudeAdapter as t };
209
- //# sourceMappingURL=claude-l3zomoHg.js.map
208
+ export { ClaudeAdapter as t };
@@ -15,5 +15,4 @@ const CLAUDE_SETTINGS_TEMPLATE = {
15
15
  };
16
16
 
17
17
  //#endregion
18
- export { CLAUDE_SETTINGS_TEMPLATE as t };
19
- //# sourceMappingURL=claudeDefault-Fk1-kHLE.js.map
18
+ export { CLAUDE_SETTINGS_TEMPLATE as t };
@@ -0,0 +1,31 @@
1
+ import { t as BaseLaunchAdapter } from "./base-DdIJJBHV.js";
2
+
3
+ //#region src/services/launch/adapters/codex.ts
4
+ /**
5
+ * Codex Launch 适配器
6
+ */
7
+ /**
8
+ * Codex 启动适配器
9
+ *
10
+ * Yolo 模式: --dangerously-bypass-approvals-and-sandbox
11
+ * Resume 模式: resume (显示会话列表选择)
12
+ * Continue 模式: resume --last (继续最后一个会话)
13
+ * 启动交互式会话: codex --dangerously-bypass-approvals-and-sandbox
14
+ */
15
+ var CodexLaunchAdapter = class extends BaseLaunchAdapter {
16
+ toolId = "codex";
17
+ executable = "codex";
18
+ buildCommandSpec(payload) {
19
+ const baseArgs = [];
20
+ if (payload.continue) baseArgs.push("resume", "--last");
21
+ else if (payload.resume) baseArgs.push("resume");
22
+ return {
23
+ executable: this.executable,
24
+ baseArgs,
25
+ yoloArgs: payload.yolo ? ["--dangerously-bypass-approvals-and-sandbox"] : void 0
26
+ };
27
+ }
28
+ };
29
+
30
+ //#endregion
31
+ export { CodexLaunchAdapter as t };
@@ -1,6 +1,6 @@
1
1
  import { a as InvalidScopeError, o as ProfileNotFoundError } from "./errors-CAZ5k5YT.js";
2
- import { l as writeTOML, o as readTOML } from "./fsStore-i-3731TM.js";
3
- import { t as BaseAdapter } from "./base-Cm9xh6sW.js";
2
+ import { l as writeTOML, o as readTOML } from "./fsStore-BPnFUGta.js";
3
+ import { t as BaseAdapter } from "./base-BWvHbkly.js";
4
4
 
5
5
  //#region src/services/settings/adapters/codex.ts
6
6
  /**
@@ -81,5 +81,4 @@ var CodexAdapter = class extends BaseAdapter {
81
81
  };
82
82
 
83
83
  //#endregion
84
- export { CodexAdapter as t };
85
- //# sourceMappingURL=codex-CR8xqNrZ.js.map
84
+ export { CodexAdapter as t };
@@ -1,24 +1,16 @@
1
- import { Command } from "@oclif/core";
2
- import * as _oclif_core_interfaces7 from "@oclif/core/interfaces";
1
+ import { Command, Interfaces } from "@oclif/core";
3
2
 
4
3
  //#region src/commands/settings/get.d.ts
5
-
6
4
  declare class SettingsGet extends Command {
7
5
  static summary: string;
8
6
  static description: string;
9
- static examples: string[];
10
- static args: {
11
- name: _oclif_core_interfaces7.Arg<string | undefined, Record<string, unknown>>;
12
- };
13
- static flags: {
14
- tool: _oclif_core_interfaces7.OptionFlag<string, _oclif_core_interfaces7.CustomOptions>;
15
- scope: _oclif_core_interfaces7.OptionFlag<string, _oclif_core_interfaces7.CustomOptions>;
16
- };
7
+ static examples: Command.Example[];
8
+ static args: Interfaces.ArgInput;
9
+ static flags: Interfaces.FlagInput;
17
10
  run(): Promise<void>;
18
11
  private inspectViaDispatcher;
19
12
  private inspectClaudeVariant;
20
13
  private findVariantPath;
21
14
  }
22
15
  //#endregion
23
- export { SettingsGet as default };
24
- //# sourceMappingURL=get.d.ts.map
16
+ export { SettingsGet as default };
@@ -1,13 +1,13 @@
1
1
  import "../../errors-CAZ5k5YT.js";
2
2
  import "../../editor-D4qoje1V.js";
3
3
  import { r as formatJson } from "../../format-Cqecj3RS.js";
4
- import { s as resolveHome } from "../../fsStore-i-3731TM.js";
5
- import "../../base-Cm9xh6sW.js";
6
- import "../../claudeDefault-Fk1-kHLE.js";
7
- import { t as ClaudeAdapter } from "../../claude-l3zomoHg.js";
8
- import "../../codex-CR8xqNrZ.js";
9
- import "../../gemini-aNNm-QGE.js";
10
- import { t as SettingsDispatcher } from "../../dispatcher-JXm3OqRQ.js";
4
+ import { s as resolveHome } from "../../fsStore-BPnFUGta.js";
5
+ import "../../base-BWvHbkly.js";
6
+ import "../../claudeDefault-pd-Kyu6o.js";
7
+ import { t as ClaudeAdapter } from "../../claude-D7KdpYHQ.js";
8
+ import "../../codex-UJ2PYHA6.js";
9
+ import "../../gemini-Qo5146d_.js";
10
+ import { t as SettingsDispatcher } from "../../dispatcher-Co94YvDc.js";
11
11
  import { Args, Command, Flags } from "@oclif/core";
12
12
  import fs from "node:fs";
13
13
  import path from "node:path";
@@ -114,5 +114,4 @@ var SettingsGet = class SettingsGet extends Command {
114
114
  };
115
115
 
116
116
  //#endregion
117
- export { SettingsGet as default };
118
- //# sourceMappingURL=get.js.map
117
+ export { SettingsGet as default };
@@ -1,19 +1,13 @@
1
- import { Command } from "@oclif/core";
2
- import * as _oclif_core_interfaces12 from "@oclif/core/interfaces";
1
+ import { Command, Interfaces } from "@oclif/core";
3
2
 
4
3
  //#region src/commands/settings/inspect.d.ts
5
4
 
6
5
  declare class SettingsInspect extends Command {
7
6
  static summary: string;
8
7
  static description: string;
9
- static examples: string[];
10
- static flags: {
11
- tool: _oclif_core_interfaces12.OptionFlag<string, _oclif_core_interfaces12.CustomOptions>;
12
- scope: _oclif_core_interfaces12.OptionFlag<string, _oclif_core_interfaces12.CustomOptions>;
13
- json: _oclif_core_interfaces12.BooleanFlag<boolean>;
14
- };
8
+ static examples: Command.Example[];
9
+ static flags: Interfaces.FlagInput;
15
10
  run(): Promise<void>;
16
11
  }
17
12
  //#endregion
18
- export { SettingsInspect as default };
19
- //# sourceMappingURL=inspect.d.ts.map
13
+ export { SettingsInspect as default };
@@ -1,13 +1,13 @@
1
1
  import "../../errors-CAZ5k5YT.js";
2
2
  import "../../editor-D4qoje1V.js";
3
3
  import { r as formatJson } from "../../format-Cqecj3RS.js";
4
- import "../../fsStore-i-3731TM.js";
5
- import "../../base-Cm9xh6sW.js";
6
- import "../../claudeDefault-Fk1-kHLE.js";
7
- import "../../claude-l3zomoHg.js";
8
- import "../../codex-CR8xqNrZ.js";
9
- import "../../gemini-aNNm-QGE.js";
10
- import { t as SettingsDispatcher } from "../../dispatcher-JXm3OqRQ.js";
4
+ import "../../fsStore-BPnFUGta.js";
5
+ import "../../base-BWvHbkly.js";
6
+ import "../../claudeDefault-pd-Kyu6o.js";
7
+ import "../../claude-D7KdpYHQ.js";
8
+ import "../../codex-UJ2PYHA6.js";
9
+ import "../../gemini-Qo5146d_.js";
10
+ import { t as SettingsDispatcher } from "../../dispatcher-Co94YvDc.js";
11
11
  import { Command, Flags } from "@oclif/core";
12
12
 
13
13
  //#region src/commands/settings/inspect.ts
@@ -84,5 +84,4 @@ var SettingsInspect = class SettingsInspect extends Command {
84
84
  };
85
85
 
86
86
  //#endregion
87
- export { SettingsInspect as default };
88
- //# sourceMappingURL=inspect.js.map
87
+ export { SettingsInspect as default };
@@ -1,18 +1,12 @@
1
- import { Command } from "@oclif/core";
2
- import * as _oclif_core_interfaces17 from "@oclif/core/interfaces";
1
+ import { Command, Interfaces } from "@oclif/core";
3
2
 
4
3
  //#region src/commands/settings/list.d.ts
5
4
 
6
5
  declare class SettingsList extends Command {
7
6
  static summary: string;
8
7
  static description: string;
9
- static examples: string[];
10
- static flags: {
11
- tool: _oclif_core_interfaces17.OptionFlag<string, _oclif_core_interfaces17.CustomOptions>;
12
- scope: _oclif_core_interfaces17.OptionFlag<string, _oclif_core_interfaces17.CustomOptions>;
13
- json: _oclif_core_interfaces17.BooleanFlag<boolean>;
14
- table: _oclif_core_interfaces17.BooleanFlag<boolean>;
15
- };
8
+ static examples: Command.Example[];
9
+ static flags: Interfaces.FlagInput;
16
10
  run(): Promise<void>;
17
11
  private renderSummary;
18
12
  private renderDetailed;
@@ -21,5 +15,4 @@ declare class SettingsList extends Command {
21
15
  private stringify;
22
16
  }
23
17
  //#endregion
24
- export { SettingsList as default };
25
- //# sourceMappingURL=list.d.ts.map
18
+ export { SettingsList as default };
@@ -1,13 +1,13 @@
1
1
  import "../../errors-CAZ5k5YT.js";
2
2
  import "../../editor-D4qoje1V.js";
3
3
  import { i as formatTable, n as formatFilesTable, r as formatJson } from "../../format-Cqecj3RS.js";
4
- import "../../fsStore-i-3731TM.js";
5
- import "../../base-Cm9xh6sW.js";
6
- import "../../claudeDefault-Fk1-kHLE.js";
7
- import "../../claude-l3zomoHg.js";
8
- import "../../codex-CR8xqNrZ.js";
9
- import "../../gemini-aNNm-QGE.js";
10
- import { t as SettingsDispatcher } from "../../dispatcher-JXm3OqRQ.js";
4
+ import "../../fsStore-BPnFUGta.js";
5
+ import "../../base-BWvHbkly.js";
6
+ import "../../claudeDefault-pd-Kyu6o.js";
7
+ import "../../claude-D7KdpYHQ.js";
8
+ import "../../codex-UJ2PYHA6.js";
9
+ import "../../gemini-Qo5146d_.js";
10
+ import { t as SettingsDispatcher } from "../../dispatcher-Co94YvDc.js";
11
11
  import { Command, Flags } from "@oclif/core";
12
12
 
13
13
  //#region src/commands/settings/list.ts
@@ -143,5 +143,4 @@ var SettingsList = class SettingsList extends Command {
143
143
  };
144
144
 
145
145
  //#endregion
146
- export { SettingsList as default };
147
- //# sourceMappingURL=list.js.map
146
+ export { SettingsList as default };
@@ -1,22 +1,14 @@
1
- import { Command } from "@oclif/core";
2
- import * as _oclif_core_interfaces23 from "@oclif/core/interfaces";
1
+ import { Command, Interfaces } from "@oclif/core";
3
2
 
4
3
  //#region src/commands/settings/set.d.ts
5
4
 
6
5
  declare class SettingsSet extends Command {
7
6
  static summary: string;
8
7
  static description: string;
9
- static examples: string[];
10
- static args: {};
11
- static flags: {
12
- tool: _oclif_core_interfaces23.OptionFlag<string, _oclif_core_interfaces23.CustomOptions>;
13
- scope: _oclif_core_interfaces23.OptionFlag<string, _oclif_core_interfaces23.CustomOptions>;
14
- name: _oclif_core_interfaces23.OptionFlag<string | undefined, _oclif_core_interfaces23.CustomOptions>;
15
- ide: _oclif_core_interfaces23.OptionFlag<string, _oclif_core_interfaces23.CustomOptions>;
16
- json: _oclif_core_interfaces23.BooleanFlag<boolean>;
17
- };
8
+ static examples: Command.Example[];
9
+ static args: Interfaces.ArgInput;
10
+ static flags: Interfaces.FlagInput;
18
11
  run(): Promise<void>;
19
12
  }
20
13
  //#endregion
21
- export { SettingsSet as default };
22
- //# sourceMappingURL=set.d.ts.map
14
+ export { SettingsSet as default };
@@ -1,13 +1,13 @@
1
1
  import "../../errors-CAZ5k5YT.js";
2
2
  import "../../editor-D4qoje1V.js";
3
3
  import { r as formatJson } from "../../format-Cqecj3RS.js";
4
- import "../../fsStore-i-3731TM.js";
5
- import "../../base-Cm9xh6sW.js";
6
- import "../../claudeDefault-Fk1-kHLE.js";
7
- import "../../claude-l3zomoHg.js";
8
- import "../../codex-CR8xqNrZ.js";
9
- import "../../gemini-aNNm-QGE.js";
10
- import { t as SettingsDispatcher } from "../../dispatcher-JXm3OqRQ.js";
4
+ import "../../fsStore-BPnFUGta.js";
5
+ import "../../base-BWvHbkly.js";
6
+ import "../../claudeDefault-pd-Kyu6o.js";
7
+ import "../../claude-D7KdpYHQ.js";
8
+ import "../../codex-UJ2PYHA6.js";
9
+ import "../../gemini-Qo5146d_.js";
10
+ import { t as SettingsDispatcher } from "../../dispatcher-Co94YvDc.js";
11
11
  import { Command, Flags } from "@oclif/core";
12
12
 
13
13
  //#region src/commands/settings/set.ts
@@ -79,5 +79,4 @@ var SettingsSet = class SettingsSet extends Command {
79
79
  };
80
80
 
81
81
  //#endregion
82
- export { SettingsSet as default };
83
- //# sourceMappingURL=set.js.map
82
+ export { SettingsSet as default };
@@ -1,27 +1,17 @@
1
- import { Command } from "@oclif/core";
2
- import * as _oclif_core_interfaces0 from "@oclif/core/interfaces";
1
+ import { Command, Interfaces } from "@oclif/core";
3
2
 
4
3
  //#region src/commands/settings/switch.d.ts
5
4
 
6
5
  declare class SettingsSwitch extends Command {
7
6
  static summary: string;
8
7
  static description: string;
9
- static examples: string[];
10
- static args: {
11
- profile: _oclif_core_interfaces0.Arg<string, Record<string, unknown>>;
12
- };
13
- static flags: {
14
- tool: _oclif_core_interfaces0.OptionFlag<string, _oclif_core_interfaces0.CustomOptions>;
15
- scope: _oclif_core_interfaces0.OptionFlag<string, _oclif_core_interfaces0.CustomOptions>;
16
- json: _oclif_core_interfaces0.BooleanFlag<boolean>;
17
- force: _oclif_core_interfaces0.BooleanFlag<boolean>;
18
- backup: _oclif_core_interfaces0.BooleanFlag<boolean>;
19
- };
8
+ static examples: Command.Example[];
9
+ static args: Interfaces.ArgInput;
10
+ static flags: Interfaces.FlagInput;
20
11
  run(): Promise<void>;
21
12
  private handleClaudeSwitch;
22
13
  private promptClaudeAction;
23
14
  private printResult;
24
15
  }
25
16
  //#endregion
26
- export { SettingsSwitch as default };
27
- //# sourceMappingURL=switch.d.ts.map
17
+ export { SettingsSwitch as default };
@@ -1,13 +1,13 @@
1
1
  import "../../errors-CAZ5k5YT.js";
2
2
  import "../../editor-D4qoje1V.js";
3
3
  import { r as formatJson } from "../../format-Cqecj3RS.js";
4
- import "../../fsStore-i-3731TM.js";
5
- import "../../base-Cm9xh6sW.js";
6
- import "../../claudeDefault-Fk1-kHLE.js";
7
- import "../../claude-l3zomoHg.js";
8
- import "../../codex-CR8xqNrZ.js";
9
- import "../../gemini-aNNm-QGE.js";
10
- import { t as SettingsDispatcher } from "../../dispatcher-JXm3OqRQ.js";
4
+ import "../../fsStore-BPnFUGta.js";
5
+ import "../../base-BWvHbkly.js";
6
+ import "../../claudeDefault-pd-Kyu6o.js";
7
+ import "../../claude-D7KdpYHQ.js";
8
+ import "../../codex-UJ2PYHA6.js";
9
+ import "../../gemini-Qo5146d_.js";
10
+ import { t as SettingsDispatcher } from "../../dispatcher-Co94YvDc.js";
11
11
  import { Args, Command, Flags } from "@oclif/core";
12
12
  import readline from "node:readline/promises";
13
13
  import { stdin, stdout } from "node:process";
@@ -160,5 +160,4 @@ var SettingsSwitch = class SettingsSwitch extends Command {
160
160
  };
161
161
 
162
162
  //#endregion
163
- export { SettingsSwitch as default };
164
- //# sourceMappingURL=switch.js.map
163
+ export { SettingsSwitch as default };
@@ -0,0 +1,14 @@
1
+ import { Command, Interfaces } from "@oclif/core";
2
+
3
+ //#region src/commands/x/index.d.ts
4
+
5
+ declare class X extends Command {
6
+ static summary: string;
7
+ static description: string;
8
+ static examples: Command.Example[];
9
+ static flags: Interfaces.FlagInput;
10
+ static strict: boolean;
11
+ run(): Promise<void>;
12
+ }
13
+ //#endregion
14
+ export { X as default };