@agents-at-scale/ark 0.1.35-rc1 → 0.1.35

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 (207) hide show
  1. package/dist/commands/cluster/index.d.ts +1 -2
  2. package/dist/commands/cluster/index.js +5 -3
  3. package/dist/commands/completion.js +2 -159
  4. package/dist/commands/config.d.ts +3 -0
  5. package/dist/commands/config.js +321 -38
  6. package/dist/commands/generate/config.js +24 -5
  7. package/dist/commands/generate/generators/agent.js +2 -2
  8. package/dist/commands/generate/generators/mcpserver.d.ts +1 -2
  9. package/dist/commands/generate/generators/mcpserver.js +5 -26
  10. package/dist/commands/generate/generators/project.js +41 -22
  11. package/dist/commands/generate/generators/team.js +2 -2
  12. package/dist/commands/generate/index.d.ts +1 -2
  13. package/dist/commands/generate/index.js +1 -1
  14. package/dist/components/statusChecker.d.ts +23 -13
  15. package/dist/components/statusChecker.js +129 -275
  16. package/dist/config.d.ts +22 -3
  17. package/dist/config.js +161 -10
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +42 -40
  20. package/dist/lib/cluster.d.ts +1 -2
  21. package/dist/lib/cluster.js +16 -37
  22. package/dist/lib/config.d.ts +80 -26
  23. package/dist/lib/config.js +205 -70
  24. package/dist/lib/consts.d.ts +1 -0
  25. package/dist/lib/consts.js +2 -0
  26. package/dist/lib/errors.js +1 -1
  27. package/dist/lib/exec.d.ts +4 -0
  28. package/dist/lib/exec.js +11 -0
  29. package/dist/lib/types.d.ts +3 -10
  30. package/dist/ui/MainMenu.d.ts +1 -5
  31. package/dist/ui/MainMenu.js +91 -222
  32. package/dist/ui/statusFormatter.d.ts +7 -22
  33. package/dist/ui/statusFormatter.js +39 -39
  34. package/package.json +5 -17
  35. package/dist/arkServices.d.ts +0 -42
  36. package/dist/arkServices.js +0 -138
  37. package/dist/arkServices.spec.d.ts +0 -1
  38. package/dist/arkServices.spec.js +0 -24
  39. package/dist/charts/charts.d.ts +0 -5
  40. package/dist/charts/charts.js +0 -6
  41. package/dist/charts/dependencies.d.ts +0 -6
  42. package/dist/charts/dependencies.js +0 -50
  43. package/dist/charts/types.d.ts +0 -40
  44. package/dist/charts/types.js +0 -1
  45. package/dist/commands/agents/index.d.ts +0 -3
  46. package/dist/commands/agents/index.js +0 -51
  47. package/dist/commands/agents/index.spec.d.ts +0 -1
  48. package/dist/commands/agents/index.spec.js +0 -67
  49. package/dist/commands/agents/selector.d.ts +0 -8
  50. package/dist/commands/agents/selector.js +0 -53
  51. package/dist/commands/agents.d.ts +0 -2
  52. package/dist/commands/agents.js +0 -53
  53. package/dist/commands/chat/index.d.ts +0 -3
  54. package/dist/commands/chat/index.js +0 -29
  55. package/dist/commands/chat.d.ts +0 -2
  56. package/dist/commands/chat.js +0 -45
  57. package/dist/commands/cluster/get.d.ts +0 -2
  58. package/dist/commands/cluster/get.js +0 -39
  59. package/dist/commands/cluster/get.spec.d.ts +0 -1
  60. package/dist/commands/cluster/get.spec.js +0 -92
  61. package/dist/commands/cluster/index.spec.d.ts +0 -1
  62. package/dist/commands/cluster/index.spec.js +0 -24
  63. package/dist/commands/completion/index.d.ts +0 -3
  64. package/dist/commands/completion/index.js +0 -268
  65. package/dist/commands/completion/index.spec.d.ts +0 -1
  66. package/dist/commands/completion/index.spec.js +0 -34
  67. package/dist/commands/config/index.d.ts +0 -3
  68. package/dist/commands/config/index.js +0 -42
  69. package/dist/commands/config/index.spec.d.ts +0 -1
  70. package/dist/commands/config/index.spec.js +0 -78
  71. package/dist/commands/dashboard/index.d.ts +0 -4
  72. package/dist/commands/dashboard/index.js +0 -39
  73. package/dist/commands/dashboard.d.ts +0 -3
  74. package/dist/commands/dashboard.js +0 -39
  75. package/dist/commands/dev/index.d.ts +0 -3
  76. package/dist/commands/dev/index.js +0 -9
  77. package/dist/commands/dev/tool/check.d.ts +0 -2
  78. package/dist/commands/dev/tool/check.js +0 -142
  79. package/dist/commands/dev/tool/clean.d.ts +0 -2
  80. package/dist/commands/dev/tool/clean.js +0 -153
  81. package/dist/commands/dev/tool/generate.d.ts +0 -2
  82. package/dist/commands/dev/tool/generate.js +0 -28
  83. package/dist/commands/dev/tool/index.d.ts +0 -2
  84. package/dist/commands/dev/tool/index.js +0 -14
  85. package/dist/commands/dev/tool/init.d.ts +0 -2
  86. package/dist/commands/dev/tool/init.js +0 -320
  87. package/dist/commands/dev/tool/shared.d.ts +0 -5
  88. package/dist/commands/dev/tool/shared.js +0 -256
  89. package/dist/commands/dev/tool/status.d.ts +0 -2
  90. package/dist/commands/dev/tool/status.js +0 -136
  91. package/dist/commands/dev/tool-generate.spec.d.ts +0 -1
  92. package/dist/commands/dev/tool-generate.spec.js +0 -163
  93. package/dist/commands/dev/tool.d.ts +0 -2
  94. package/dist/commands/dev/tool.js +0 -559
  95. package/dist/commands/dev/tool.spec.d.ts +0 -1
  96. package/dist/commands/dev/tool.spec.js +0 -48
  97. package/dist/commands/install/index.d.ts +0 -8
  98. package/dist/commands/install/index.js +0 -302
  99. package/dist/commands/install/index.spec.d.ts +0 -1
  100. package/dist/commands/install/index.spec.js +0 -135
  101. package/dist/commands/install.d.ts +0 -3
  102. package/dist/commands/install.js +0 -147
  103. package/dist/commands/models/create.d.ts +0 -1
  104. package/dist/commands/models/create.js +0 -213
  105. package/dist/commands/models/create.spec.d.ts +0 -1
  106. package/dist/commands/models/create.spec.js +0 -125
  107. package/dist/commands/models/index.d.ts +0 -3
  108. package/dist/commands/models/index.js +0 -60
  109. package/dist/commands/models/index.spec.d.ts +0 -1
  110. package/dist/commands/models/index.spec.js +0 -76
  111. package/dist/commands/models/selector.d.ts +0 -8
  112. package/dist/commands/models/selector.js +0 -53
  113. package/dist/commands/routes/index.d.ts +0 -3
  114. package/dist/commands/routes/index.js +0 -93
  115. package/dist/commands/routes.d.ts +0 -2
  116. package/dist/commands/routes.js +0 -101
  117. package/dist/commands/status/index.d.ts +0 -4
  118. package/dist/commands/status/index.js +0 -232
  119. package/dist/commands/status.d.ts +0 -3
  120. package/dist/commands/status.js +0 -33
  121. package/dist/commands/targets/index.d.ts +0 -3
  122. package/dist/commands/targets/index.js +0 -65
  123. package/dist/commands/targets/index.spec.d.ts +0 -1
  124. package/dist/commands/targets/index.spec.js +0 -105
  125. package/dist/commands/targets.d.ts +0 -2
  126. package/dist/commands/targets.js +0 -65
  127. package/dist/commands/teams/index.d.ts +0 -3
  128. package/dist/commands/teams/index.js +0 -49
  129. package/dist/commands/teams/index.spec.d.ts +0 -1
  130. package/dist/commands/teams/index.spec.js +0 -70
  131. package/dist/commands/teams/selector.d.ts +0 -8
  132. package/dist/commands/teams/selector.js +0 -55
  133. package/dist/commands/tools/index.d.ts +0 -3
  134. package/dist/commands/tools/index.js +0 -49
  135. package/dist/commands/tools/index.spec.d.ts +0 -1
  136. package/dist/commands/tools/index.spec.js +0 -70
  137. package/dist/commands/tools/selector.d.ts +0 -8
  138. package/dist/commands/tools/selector.js +0 -53
  139. package/dist/commands/uninstall/index.d.ts +0 -3
  140. package/dist/commands/uninstall/index.js +0 -107
  141. package/dist/commands/uninstall/index.spec.d.ts +0 -1
  142. package/dist/commands/uninstall/index.spec.js +0 -117
  143. package/dist/commands/uninstall.d.ts +0 -2
  144. package/dist/commands/uninstall.js +0 -83
  145. package/dist/components/ChatUI.d.ts +0 -16
  146. package/dist/components/ChatUI.js +0 -801
  147. package/dist/components/StatusView.d.ts +0 -10
  148. package/dist/components/StatusView.js +0 -39
  149. package/dist/lib/arkApiClient.d.ts +0 -53
  150. package/dist/lib/arkApiClient.js +0 -102
  151. package/dist/lib/arkApiProxy.d.ts +0 -9
  152. package/dist/lib/arkApiProxy.js +0 -22
  153. package/dist/lib/arkServiceProxy.d.ts +0 -14
  154. package/dist/lib/arkServiceProxy.js +0 -95
  155. package/dist/lib/arkStatus.d.ts +0 -10
  156. package/dist/lib/arkStatus.js +0 -79
  157. package/dist/lib/arkStatus.spec.d.ts +0 -1
  158. package/dist/lib/arkStatus.spec.js +0 -49
  159. package/dist/lib/chatClient.d.ts +0 -33
  160. package/dist/lib/chatClient.js +0 -99
  161. package/dist/lib/cluster.spec.d.ts +0 -1
  162. package/dist/lib/cluster.spec.js +0 -338
  163. package/dist/lib/commandUtils.d.ts +0 -4
  164. package/dist/lib/commandUtils.js +0 -18
  165. package/dist/lib/commandUtils.test.d.ts +0 -1
  166. package/dist/lib/commandUtils.test.js +0 -44
  167. package/dist/lib/commands.d.ts +0 -16
  168. package/dist/lib/commands.js +0 -29
  169. package/dist/lib/commands.spec.d.ts +0 -1
  170. package/dist/lib/commands.spec.js +0 -146
  171. package/dist/lib/config.spec.d.ts +0 -1
  172. package/dist/lib/config.spec.js +0 -99
  173. package/dist/lib/config.test.d.ts +0 -1
  174. package/dist/lib/config.test.js +0 -93
  175. package/dist/lib/consts.spec.d.ts +0 -1
  176. package/dist/lib/consts.spec.js +0 -15
  177. package/dist/lib/dev/tools/analyzer.d.ts +0 -30
  178. package/dist/lib/dev/tools/analyzer.js +0 -190
  179. package/dist/lib/dev/tools/discover_tools.py +0 -392
  180. package/dist/lib/dev/tools/mcp-types.d.ts +0 -28
  181. package/dist/lib/dev/tools/mcp-types.js +0 -86
  182. package/dist/lib/dev/tools/types.d.ts +0 -50
  183. package/dist/lib/dev/tools/types.js +0 -1
  184. package/dist/lib/errors.spec.d.ts +0 -1
  185. package/dist/lib/errors.spec.js +0 -221
  186. package/dist/lib/output.d.ts +0 -36
  187. package/dist/lib/output.js +0 -89
  188. package/dist/lib/output.spec.d.ts +0 -1
  189. package/dist/lib/output.spec.js +0 -123
  190. package/dist/lib/portUtils.d.ts +0 -8
  191. package/dist/lib/portUtils.js +0 -39
  192. package/dist/lib/startup.d.ts +0 -5
  193. package/dist/lib/startup.js +0 -73
  194. package/dist/lib/startup.spec.d.ts +0 -1
  195. package/dist/lib/startup.spec.js +0 -168
  196. package/dist/types/types.d.ts +0 -40
  197. package/dist/types/types.js +0 -1
  198. package/dist/ui/AgentSelector.d.ts +0 -8
  199. package/dist/ui/AgentSelector.js +0 -53
  200. package/dist/ui/ModelSelector.d.ts +0 -8
  201. package/dist/ui/ModelSelector.js +0 -53
  202. package/dist/ui/TeamSelector.d.ts +0 -8
  203. package/dist/ui/TeamSelector.js +0 -55
  204. package/dist/ui/ToolSelector.d.ts +0 -8
  205. package/dist/ui/ToolSelector.js +0 -53
  206. package/dist/ui/statusFormatter.spec.d.ts +0 -1
  207. package/dist/ui/statusFormatter.spec.js +0 -58
@@ -159,7 +159,7 @@ class McpServerGenerator {
159
159
  // Get tool definitions
160
160
  const tools = await this.getToolDefinitions();
161
161
  // Check if destination exists
162
- if (answers.destination && fs.existsSync(answers.destination)) {
162
+ if (fs.existsSync(answers.destination)) {
163
163
  const overwrite = await inquirer.prompt([
164
164
  {
165
165
  type: 'confirm',
@@ -174,18 +174,9 @@ class McpServerGenerator {
174
174
  }
175
175
  }
176
176
  return {
177
- mcpServerName: answers.mcpServerName || name,
178
- description: answers.description || '',
179
- technology: answers.technology || 'node',
180
- packageSource: answers.packageSource || 'local',
181
- packageName: answers.packageName,
182
- destination: answers.destination || defaultDestination,
183
- requiresAuth: answers.requiresAuth || false,
184
- hasCustomConfig: answers.hasCustomConfig || false,
185
- maintainerName: answers.maintainerName || '',
186
- homeUrl: answers.homeUrl,
177
+ ...answers,
187
178
  tools,
188
- packageManager: this.getPackageManager(answers.technology || 'node'),
179
+ packageManager: this.getPackageManager(answers.technology),
189
180
  sourceUrls: answers.homeUrl ? [answers.homeUrl] : [],
190
181
  sampleQuery: this.generateSampleQuery(tools),
191
182
  };
@@ -316,19 +307,7 @@ class McpServerGenerator {
316
307
  }
317
308
  // Generate from template
318
309
  // Set template variables using the same structure expected by templates
319
- // Convert config to template variables format
320
- const templateVars = {};
321
- Object.entries(config).forEach(([key, value]) => {
322
- if (typeof value === 'string' ||
323
- typeof value === 'number' ||
324
- typeof value === 'boolean') {
325
- templateVars[key] = value;
326
- }
327
- else {
328
- templateVars[key] = JSON.stringify(value);
329
- }
330
- });
331
- this.templateEngine.setVariables(templateVars);
310
+ this.templateEngine.setVariables(config);
332
311
  await this.templateEngine.processTemplate(templatePath, config.destination);
333
312
  // Make build script executable (owner only for security)
334
313
  const buildScriptPath = path.join(config.destination, 'build.sh');
@@ -338,7 +317,7 @@ class McpServerGenerator {
338
317
  console.log(chalk.green(`✅ MCP server generated successfully at ${config.destination}`));
339
318
  }
340
319
  catch (error) {
341
- console.error(chalk.red('Failed to generate MCP server:'), error instanceof Error ? error.message : 'Unknown error');
320
+ console.error(chalk.red('Failed to generate MCP server:'), error.message);
342
321
  process.exit(1);
343
322
  }
344
323
  }
@@ -8,7 +8,7 @@ import { TemplateDiscovery } from '../templateDiscovery.js';
8
8
  import { toKebabCase, validateNameStrict, isValidKubernetesName, } from '../utils/nameUtils.js';
9
9
  import { getInquirerProjectTypeChoices, GENERATOR_DEFAULTS, CLI_CONFIG, } from '../config.js';
10
10
  import { SecurityUtils } from '../../../lib/security.js';
11
- import ora from 'ora';
11
+ import { EnhancedPrompts, ProgressIndicator } from '../../../lib/progress.js';
12
12
  export function createProjectGenerator() {
13
13
  return {
14
14
  name: 'project',
@@ -38,40 +38,61 @@ class ProjectGenerator {
38
38
  }
39
39
  }
40
40
  async generate(name, destination, options) {
41
- console.log(chalk.blue(`\n🚀 ARK Agent Project Generator\n`));
42
- const spinner = ora('Checking prerequisites').start();
41
+ const progress = new ProgressIndicator('ARK Agent Project Generator');
42
+ // Add steps to progress indicator
43
+ progress.addStep('prerequisites', 'Checking prerequisites');
44
+ progress.addStep('configuration', 'Gathering project configuration');
45
+ if (!options.skipModels) {
46
+ progress.addStep('models', 'Configuring model providers');
47
+ }
48
+ if (!options.skipGit) {
49
+ progress.addStep('git', 'Setting up git repository');
50
+ }
51
+ progress.addStep('generation', 'Generating project files');
52
+ progress.addStep('completion', 'Finalizing project setup');
43
53
  try {
44
54
  // Check prerequisites
55
+ progress.startStep('prerequisites');
45
56
  await this.checkPrerequisites();
46
- spinner.succeed('Prerequisites validated');
57
+ progress.completeStep('prerequisites', 'Prerequisites validated');
47
58
  // Get project configuration
48
- spinner.start('Gathering project configuration');
59
+ progress.startStep('configuration');
49
60
  const config = await this.getProjectConfig(name, destination, options);
50
- spinner.succeed(`Project "${config.name}" configured`);
61
+ progress.completeStep('configuration', `Project "${config.name}" configured`);
51
62
  // Discover and configure models (only if not skipped)
52
63
  if (config.configureModels) {
53
- spinner.start('Configuring model providers');
64
+ progress.startStep('models');
54
65
  await this.configureModels(config);
55
- spinner.succeed(`Model provider: ${config.selectedModels || 'none'}`);
66
+ progress.completeStep('models', `Model provider: ${config.selectedModels || 'none'}`);
67
+ }
68
+ else {
69
+ progress.skipStep('models', 'Model configuration skipped');
56
70
  }
57
71
  // Configure git if requested (only if not skipped)
58
72
  if (config.initGit) {
59
- spinner.start('Setting up git repository');
73
+ progress.startStep('git');
60
74
  await this.configureGit(config);
61
- spinner.succeed('Git repository configured');
75
+ progress.completeStep('git', 'Git repository configured');
76
+ }
77
+ else {
78
+ progress.skipStep('git', 'Git setup skipped');
62
79
  }
63
80
  // Generate the project
64
- spinner.start('Generating project files');
81
+ progress.startStep('generation');
65
82
  await this.generateProject(config);
66
- spinner.succeed('Project files created');
83
+ progress.completeStep('generation', 'Project files created');
67
84
  // Finalize
68
- spinner.start('Finalizing project setup');
85
+ progress.startStep('completion');
69
86
  this.showNextSteps(config);
70
- spinner.succeed('Project ready');
71
- console.log(chalk.green(`\n✅ Project generation completed\n`));
87
+ progress.completeStep('completion', 'Project ready');
88
+ progress.complete('Project generation');
72
89
  }
73
90
  catch (error) {
74
- spinner.fail(`Failed: ${error instanceof Error ? error.message : String(error)}`);
91
+ // Find the current step and mark it as failed
92
+ const currentStep = progress['steps'].find((s) => s.status === 'running');
93
+ if (currentStep) {
94
+ progress.failStep(currentStep.name, `Failed: ${error instanceof Error ? error.message : String(error)}`);
95
+ }
75
96
  throw error;
76
97
  }
77
98
  }
@@ -84,7 +105,7 @@ class ProjectGenerator {
84
105
  }
85
106
  catch {
86
107
  requirements.push({ tool: 'git', available: false, required: false });
87
- console.log(chalk.yellow('⚠️ Warning: Git not found - git features will be disabled'));
108
+ EnhancedPrompts.showWarning('Git not found - git features will be disabled');
88
109
  }
89
110
  // Check for deployment tools (optional for project generation)
90
111
  const deploymentTools = ['kubectl', 'helm'];
@@ -100,14 +121,12 @@ class ProjectGenerator {
100
121
  }
101
122
  }
102
123
  if (missingDeploymentTools.length > 0) {
103
- console.log(chalk.blue(`ℹ️ Optional tools not found: ${missingDeploymentTools.join(', ')}`));
104
- console.log(chalk.cyan('💡 Tip: Install kubectl and helm later to deploy your project to a cluster'));
124
+ EnhancedPrompts.showInfo(`Optional tools not found: ${missingDeploymentTools.join(', ')}`);
125
+ EnhancedPrompts.showTip('Install kubectl and helm later to deploy your project to a cluster');
105
126
  }
106
127
  }
107
128
  async getProjectConfig(name, destination, options) {
108
- console.log(chalk.gray(`\n${''.repeat(50)}`));
109
- console.log(chalk.cyan('Project Configuration'));
110
- console.log(chalk.gray(`${'─'.repeat(50)}\n`));
129
+ EnhancedPrompts.showSeparator('Project Configuration');
111
130
  // Use command line options if provided, otherwise prompt
112
131
  let projectType = options.projectType;
113
132
  let parentDir = destination;
@@ -391,11 +391,11 @@ class TeamGenerator {
391
391
  console.log(chalk.gray(` 1. Review and customise the team configuration`));
392
392
  if (config.createQuery) {
393
393
  console.log(chalk.gray(` 2. Review and customise the query configuration`));
394
- console.log(chalk.gray(` 3. Deploy with: helm upgrade --install ${config.projectName} .`));
394
+ console.log(chalk.gray(` 3. Deploy with: helm upgrade --install ${config.projectName} . --namespace ${config.projectName}`));
395
395
  console.log(chalk.gray(` 4. Test with: kubectl get teams,queries`));
396
396
  }
397
397
  else {
398
- console.log(chalk.gray(` 2. Deploy with: helm upgrade --install ${config.projectName} .`));
398
+ console.log(chalk.gray(` 2. Deploy with: helm upgrade --install ${config.projectName} . --namespace ${config.projectName}`));
399
399
  console.log(chalk.gray(` 3. Test with: kubectl get teams`));
400
400
  }
401
401
  }
@@ -1,5 +1,4 @@
1
1
  import { Command } from 'commander';
2
- import type { ArkConfig } from '../../lib/config.js';
3
2
  export interface GeneratorOptions {
4
3
  name?: string;
5
4
  destination?: string;
@@ -22,4 +21,4 @@ export interface Generator {
22
21
  templatePath: string;
23
22
  generate(name: string, destination: string, options: GeneratorOptions): Promise<void>;
24
23
  }
25
- export declare function createGenerateCommand(_: ArkConfig): Command;
24
+ export declare function createGenerateCommand(): Command;
@@ -22,7 +22,7 @@ function getDefaultDestination() {
22
22
  return process.cwd();
23
23
  }
24
24
  }
25
- export function createGenerateCommand(_) {
25
+ export function createGenerateCommand() {
26
26
  const generate = new Command('generate');
27
27
  generate
28
28
  .alias('g')
@@ -1,29 +1,38 @@
1
1
  import { StatusData, CommandVersionConfig } from '../lib/types.js';
2
+ import { ArkClient } from '../lib/arkClient.js';
2
3
  export declare const getNodeVersion: () => CommandVersionConfig;
3
4
  export declare const getNpmVersion: () => CommandVersionConfig;
4
5
  export declare const getKubectlVersion: () => CommandVersionConfig;
5
6
  export declare const getDockerVersion: () => CommandVersionConfig;
6
7
  export declare const getHelmVersion: () => CommandVersionConfig;
7
- export declare const getMinikubeVersion: () => CommandVersionConfig;
8
- export declare const getKindVersion: () => CommandVersionConfig;
9
8
  export declare class StatusChecker {
9
+ private arkClient;
10
+ private kubernetesManager;
11
+ constructor(arkClient: ArkClient);
12
+ /**
13
+ * Check if a command is available in the system
14
+ */
15
+ private isCommandAvailable;
10
16
  /**
11
17
  * Get version of a command
12
18
  */
13
19
  private getCommandVersion;
14
20
  /**
15
- * Check combined deployment and helm status
16
- * Gets health from deployment, version/revision from Helm
21
+ * Check health of a service by URL
22
+ */
23
+ private checkServiceHealth;
24
+ /**
25
+ * Check if ark-api is running and healthy
17
26
  */
18
- private checkCombinedStatus;
27
+ private checkArkApi;
19
28
  /**
20
- * Check deployment status
29
+ * Return a "not installed" status for a service
21
30
  */
22
- private checkDeploymentStatus;
31
+ private createNotInstalledStatus;
23
32
  /**
24
- * Check helm release status (fallback for services without deployments)
33
+ * Check Kubernetes service health via pods and endpoints
25
34
  */
26
- private checkHelmStatus;
35
+ private checkKubernetesService;
27
36
  /**
28
37
  * Check system dependencies
29
38
  */
@@ -31,8 +40,9 @@ export declare class StatusChecker {
31
40
  /**
32
41
  * Run all checks and return results
33
42
  */
34
- checkAll(): Promise<StatusData & {
35
- clusterAccess: boolean;
36
- clusterInfo?: any;
37
- }>;
43
+ checkAll(serviceUrls?: Record<string, string>, arkApiUrl?: string): Promise<StatusData>;
44
+ /**
45
+ * Get appropriate health check path for different service types
46
+ */
47
+ private getHealthPath;
38
48
  }