@agents-at-scale/ark 0.1.52 → 0.1.53

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.
@@ -2,7 +2,11 @@
2
2
  * Centralized ARK service definitions used by both install and status commands
3
3
  */
4
4
  import { loadConfig, getMarketplaceRegistry } from './lib/config.js';
5
+ import { createRequire } from 'module';
6
+ const require = createRequire(import.meta.url);
7
+ const packageJson = require('../package.json');
5
8
  const REGISTRY_BASE = 'oci://ghcr.io/mckinsey/agents-at-scale-ark/charts';
9
+ const CHART_VERSION = `${packageJson.version}`;
6
10
  /**
7
11
  * Dependencies that should be installed before ARK services
8
12
  * Note: Dependencies will be installed in the order they are defined here
@@ -64,7 +68,7 @@ const defaultArkServices = {
64
68
  enabled: true,
65
69
  category: 'core',
66
70
  namespace: 'ark-system',
67
- chartPath: `${REGISTRY_BASE}/ark-controller`,
71
+ chartPath: `${REGISTRY_BASE}/ark-controller:${CHART_VERSION}`,
68
72
  installArgs: ['--create-namespace', '--set', 'rbac.enable=true'],
69
73
  k8sDeploymentName: 'ark-controller',
70
74
  k8sDevDeploymentName: 'ark-controller-devspace',
@@ -75,7 +79,7 @@ const defaultArkServices = {
75
79
  description: 'Tenant provisioning with RBAC and resource quotas',
76
80
  enabled: true,
77
81
  category: 'core',
78
- chartPath: `${REGISTRY_BASE}/ark-tenant`,
82
+ chartPath: `${REGISTRY_BASE}/ark-tenant:${CHART_VERSION}`,
79
83
  installArgs: [],
80
84
  },
81
85
  'ark-api': {
@@ -84,7 +88,7 @@ const defaultArkServices = {
84
88
  description: 'API layer for interacting with Ark resources',
85
89
  enabled: true,
86
90
  category: 'service',
87
- chartPath: `${REGISTRY_BASE}/ark-api`,
91
+ chartPath: `${REGISTRY_BASE}/ark-api:${CHART_VERSION}`,
88
92
  installArgs: [],
89
93
  k8sServiceName: 'ark-api',
90
94
  k8sServicePort: 80,
@@ -99,7 +103,7 @@ const defaultArkServices = {
99
103
  enabled: true,
100
104
  category: 'service',
101
105
  // namespace: undefined - uses current context namespace
102
- chartPath: `${REGISTRY_BASE}/ark-dashboard`,
106
+ chartPath: `${REGISTRY_BASE}/ark-dashboard:${CHART_VERSION}`,
103
107
  installArgs: [],
104
108
  k8sServiceName: 'ark-dashboard',
105
109
  k8sServicePort: 3000,
@@ -114,7 +118,7 @@ const defaultArkServices = {
114
118
  enabled: true,
115
119
  category: 'service',
116
120
  // namespace: undefined - uses current context namespace
117
- chartPath: `${REGISTRY_BASE}/ark-mcp`,
121
+ chartPath: `${REGISTRY_BASE}/ark-mcp:${CHART_VERSION}`,
118
122
  installArgs: [],
119
123
  k8sDeploymentName: 'ark-mcp',
120
124
  k8sDevDeploymentName: 'ark-mcp-devspace',
@@ -128,7 +132,7 @@ const defaultArkServices = {
128
132
  description: 'In-memory storage service with streaming support for Ark queries',
129
133
  enabled: true,
130
134
  category: 'service',
131
- chartPath: `${REGISTRY_BASE}/ark-broker`,
135
+ chartPath: `${REGISTRY_BASE}/ark-broker:${CHART_VERSION}`,
132
136
  installArgs: [],
133
137
  prerequisiteUninstalls: [{ releaseName: 'ark-cluster-memory' }],
134
138
  k8sDeploymentName: 'ark-broker',
@@ -156,7 +160,7 @@ const defaultArkServices = {
156
160
  enabled: false, // Disabled - not needed for most users
157
161
  category: 'service',
158
162
  namespace: 'ark-system',
159
- chartPath: `${REGISTRY_BASE}/localhost-gateway`,
163
+ chartPath: `${REGISTRY_BASE}/localhost-gateway:${CHART_VERSION}`,
160
164
  installArgs: [],
161
165
  },
162
166
  noah: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agents-at-scale/ark",
3
- "version": "0.1.52",
3
+ "version": "0.1.53",
4
4
  "description": "Ark CLI - Interactive terminal interface for ARK agents",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -44,7 +44,7 @@
44
44
  "dependencies": {
45
45
  "@kubernetes/client-node": "^1.3.0",
46
46
  "@modelcontextprotocol/sdk": "^1.18.0",
47
- "axios": "^1.7.7",
47
+ "axios": "^1.13.5",
48
48
  "chalk": "^4.1.2",
49
49
  "commander": "^12.1.0",
50
50
  "debug": "^4.4.1",