aico-cli 0.1.0 → 0.1.2

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/dist/index.d.mts CHANGED
@@ -13,6 +13,8 @@ interface TranslationStructure {
13
13
  errors: any;
14
14
  tools: any;
15
15
  ccr: any;
16
+ cometix: any;
17
+ updater: any;
16
18
  }
17
19
 
18
20
  interface McpService {
@@ -83,6 +85,16 @@ interface InitOptions {
83
85
  aiOutputLang?: AiOutputLanguage | string;
84
86
  force?: boolean;
85
87
  skipBanner?: boolean;
88
+ skipPrompt?: boolean;
89
+ configAction?: 'new' | 'backup' | 'merge' | 'docs-only' | 'skip';
90
+ apiType?: 'auth_token' | 'ccr_proxy' | 'skip';
91
+ apiKey?: string;
92
+ apiUrl?: string;
93
+ mcpServices?: string[] | string | boolean;
94
+ workflows?: string[] | string | boolean;
95
+ aiPersonality?: string;
96
+ allLang?: string;
97
+ installCometixLine?: string | boolean;
86
98
  }
87
99
  declare function init(options?: InitOptions): Promise<void>;
88
100
 
@@ -98,7 +110,6 @@ declare function installClaudeCode(lang: SupportedLang): Promise<void>;
98
110
  interface ApiConfig {
99
111
  url: string;
100
112
  key: string;
101
- authType?: 'auth_token' | 'api_key';
102
113
  }
103
114
 
104
115
  declare function ensureClaudeDir(): void;
package/dist/index.d.ts CHANGED
@@ -13,6 +13,8 @@ interface TranslationStructure {
13
13
  errors: any;
14
14
  tools: any;
15
15
  ccr: any;
16
+ cometix: any;
17
+ updater: any;
16
18
  }
17
19
 
18
20
  interface McpService {
@@ -83,6 +85,16 @@ interface InitOptions {
83
85
  aiOutputLang?: AiOutputLanguage | string;
84
86
  force?: boolean;
85
87
  skipBanner?: boolean;
88
+ skipPrompt?: boolean;
89
+ configAction?: 'new' | 'backup' | 'merge' | 'docs-only' | 'skip';
90
+ apiType?: 'auth_token' | 'ccr_proxy' | 'skip';
91
+ apiKey?: string;
92
+ apiUrl?: string;
93
+ mcpServices?: string[] | string | boolean;
94
+ workflows?: string[] | string | boolean;
95
+ aiPersonality?: string;
96
+ allLang?: string;
97
+ installCometixLine?: string | boolean;
86
98
  }
87
99
  declare function init(options?: InitOptions): Promise<void>;
88
100
 
@@ -98,7 +110,6 @@ declare function installClaudeCode(lang: SupportedLang): Promise<void>;
98
110
  interface ApiConfig {
99
111
  url: string;
100
112
  key: string;
101
- authType?: 'auth_token' | 'api_key';
102
113
  }
103
114
 
104
115
  declare function ensureClaudeDir(): void;
package/dist/index.mjs CHANGED
@@ -1,10 +1,16 @@
1
- export { A as AICO_CONFIG_FILE, k as AI_OUTPUT_LANGUAGES, C as CLAUDE_DIR, e as CLAUDE_MD_FILE, f as ClAUDE_CONFIG_FILE, I as I18N, j as LANG_LABELS, L as LEGACY_AICO_CONFIG_FILE, M as MCP_SERVICES, S as SETTINGS_FILE, h as SUPPORTED_LANGS, H as addCompletedOnboarding, x as applyAiLanguageDirective, q as backupExistingConfig, D as backupMcpConfig, F as buildMcpServerConfig, d as cleanupPermissions, c as commandExists, s as configureApi, r as copyConfigFiles, p as ensureClaudeDir, G as fixWindowsMcpConfig, w as getExistingApiConfig, y as getMcpConfigPath, g as getPlatform, a as importRecommendedEnv, b as importRecommendedPermissions, i as init, n as installClaudeCode, l as isClaudeCodeInstalled, m as mergeAndCleanPermissions, t as mergeConfigs, E as mergeMcpServers, v as mergeSettingsFile, o as openSettingsJson, z as readMcpConfig, u as updateDefaultModel, B as writeMcpConfig } from './shared/aico-cli.EaSFUITm.mjs';
2
- import 'inquirer';
1
+ export { A as AICO_CONFIG_FILE, k as AI_OUTPUT_LANGUAGES, C as CLAUDE_DIR, e as CLAUDE_MD_FILE, f as ClAUDE_CONFIG_FILE, I as I18N, j as LANG_LABELS, L as LEGACY_AICO_CONFIG_FILE, M as MCP_SERVICES, S as SETTINGS_FILE, h as SUPPORTED_LANGS, H as addCompletedOnboarding, x as applyAiLanguageDirective, q as backupExistingConfig, D as backupMcpConfig, F as buildMcpServerConfig, d as cleanupPermissions, c as commandExists, s as configureApi, r as copyConfigFiles, p as ensureClaudeDir, G as fixWindowsMcpConfig, w as getExistingApiConfig, y as getMcpConfigPath, g as getPlatform, a as importRecommendedEnv, b as importRecommendedPermissions, i as init, n as installClaudeCode, l as isClaudeCodeInstalled, m as mergeAndCleanPermissions, t as mergeConfigs, E as mergeMcpServers, v as mergeSettingsFile, o as openSettingsJson, z as readMcpConfig, u as updateDefaultModel, B as writeMcpConfig } from './shared/aico-cli.BM5W68Yb.mjs';
3
2
  import 'ansis';
3
+ import 'inquirer';
4
4
  import 'node:fs';
5
5
  import 'pathe';
6
6
  import 'dayjs';
7
+ import 'node:child_process';
8
+ import 'node:os';
9
+ import 'node:path';
10
+ import 'node:util';
7
11
  import 'node:url';
12
+ import 'child_process';
13
+ import 'util';
14
+ import 'ora';
8
15
  import 'tinyexec';
9
16
  import 'node:fs/promises';
10
- import 'node:os';