@agentage/cli 0.47.0 → 0.48.0

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.
@@ -1,4 +1,6 @@
1
+ import { join } from 'node:path';
1
2
  import { CommanderError } from 'commander';
3
+ import { getConfigDir } from '../../lib/fs/config.js';
2
4
  import {} from '../../core/loader/discover.js';
3
5
  import {} from '../../core/loader/verbs.js';
4
6
  import {} from './kit-tool.js';
@@ -9,7 +11,7 @@ export const KIT_EXIT = 'agentage.kitExit';
9
11
  const runKit = async (tool, dir, command, argv) => {
10
12
  const { runCommand } = await tool();
11
13
  delete process.env['AGENTAGE_TOKEN'];
12
- const code = await runCommand({ dir, command, argv });
14
+ const code = await runCommand({ dir, command, argv, dataDir: join(getConfigDir(), 'data') });
13
15
  if (code !== 0)
14
16
  throw new CommanderError(code, KIT_EXIT, `${command} exited ${code}`);
15
17
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentage/cli",
3
- "version": "0.47.0",
3
+ "version": "0.48.0",
4
4
  "description": "The agentage CLI - connect this machine to agentage from the terminal",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -55,7 +55,7 @@
55
55
  "prepublishOnly": "npm run verify"
56
56
  },
57
57
  "dependencies": {
58
- "@agentage/extension": "^0.6.0",
58
+ "@agentage/extension": "^0.8.0",
59
59
  "chalk": "^6.0.0",
60
60
  "commander": "^15.0.0",
61
61
  "open": "^11.0.0"