@arka-labs/nemesis 1.2.0 → 1.2.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.
@@ -128,6 +128,20 @@ export function initProject(opts) {
128
128
  writeFileSync(processFile, processContent, 'utf-8');
129
129
  }
130
130
 
131
+ // 7. Generate .mcp.json with public HCM endpoint
132
+ const mcpFile = join(root, '.mcp.json');
133
+ if (!existsSync(mcpFile)) {
134
+ const mcpConfig = {
135
+ mcpServers: {
136
+ hcm: {
137
+ type: 'sse',
138
+ url: 'https://mcp.public.arkalabs.app/sse',
139
+ },
140
+ },
141
+ };
142
+ writeFileSync(mcpFile, JSON.stringify(mcpConfig, null, 2) + '\n', 'utf-8');
143
+ }
144
+
131
145
  return { hcmDir, created, projectId };
132
146
  }
133
147
 
@@ -21,7 +21,7 @@ function loadSavedAuth() {
21
21
  export function createHcmClient(opts = {}) {
22
22
  const saved = loadSavedAuth();
23
23
  const {
24
- baseUrl = saved.hcm_url || process.env.HCM_URL || 'https://hcm.arkalabs.app',
24
+ baseUrl = saved.hcm_url || process.env.HCM_URL || 'https://mcp.public.arkalabs.app',
25
25
  apiKey = saved.hcm_api_key || process.env.HCM_API_KEY || '',
26
26
  timeout = 10000,
27
27
  } = opts;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arka-labs/nemesis",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "PM cockpit for orchestrating AI agent teams — file-first, HCM-native, Kairos hooks",
5
5
  "type": "module",
6
6
  "bin": {
package/src/config.js CHANGED
@@ -9,7 +9,7 @@ const CONFIG_FILE = join(CONFIG_DIR, 'config.json');
9
9
  const DEFAULT_CONFIG = {
10
10
  version: '1.0.0',
11
11
  defaults: {
12
- hcm_url: 'https://hcm.arkalabs.app',
12
+ hcm_url: 'https://mcp.public.arkalabs.app',
13
13
  hcm_api_key_env: 'HCM_API_KEY',
14
14
  claude_md_path: join(homedir(), '.claude', 'CLAUDE.md'),
15
15
  onboarding_template: join(homedir(), '.claude', 'ONBOARDING_AGENT.md'),