@eve-horizon/cli 0.1.1 → 0.1.3

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.
@@ -4,7 +4,7 @@ exports.handleAgents = handleAgents;
4
4
  const node_fs_1 = require("node:fs");
5
5
  const node_path_1 = require("node:path");
6
6
  const yaml_1 = require("yaml");
7
- const shared_1 = require("@eve/shared");
7
+ const harness_capabilities_js_1 = require("../lib/harness-capabilities.js");
8
8
  const args_1 = require("../lib/args");
9
9
  const client_1 = require("../lib/client");
10
10
  const output_1 = require("../lib/output");
@@ -50,7 +50,7 @@ async function handleAgents(subcommand, positionals, flags, context) {
50
50
  if (includeHarnesses) {
51
51
  const harnesses = await (0, client_1.requestJson)(context, '/harnesses');
52
52
  response.harnesses = harnesses.data;
53
- response.capabilities = shared_1.HARNESS_CAPABILITIES;
53
+ response.capabilities = harness_capabilities_js_1.HARNESS_CAPABILITIES;
54
54
  }
55
55
  if (json) {
56
56
  (0, output_1.outputJson)(response, json);
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ /**
3
+ * Harness capabilities - inlined from @eve/shared to avoid npm dependency
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.HARNESS_CAPABILITIES = void 0;
7
+ exports.HARNESS_CAPABILITIES = {
8
+ mclaude: {
9
+ supports_model: true,
10
+ model_notes: 'Model override supported via CLAUDE_MODEL or --model.',
11
+ model_examples: ['opus-4.5', 'sonnet-4', 'haiku-4.5'],
12
+ reasoning: {
13
+ supported: true,
14
+ levels: ['low', 'medium', 'high', 'x-high'],
15
+ mode: 'thinking_tokens',
16
+ notes: 'Reasoning effort maps to thinking-token budget in adapter.',
17
+ },
18
+ },
19
+ claude: {
20
+ supports_model: true,
21
+ model_notes: 'Model override supported via CLAUDE_MODEL or --model.',
22
+ model_examples: ['opus-4.5', 'sonnet-4', 'haiku-4.5'],
23
+ reasoning: {
24
+ supported: true,
25
+ levels: ['low', 'medium', 'high', 'x-high'],
26
+ mode: 'thinking_tokens',
27
+ notes: 'Reasoning effort maps to thinking-token budget in adapter.',
28
+ },
29
+ },
30
+ zai: {
31
+ supports_model: true,
32
+ model_notes: 'Model override supported via ZAI_MODEL or --model.',
33
+ model_examples: ['glm-4.7', 'glm-4.5-air'],
34
+ reasoning: {
35
+ supported: true,
36
+ levels: ['low', 'medium', 'high', 'x-high'],
37
+ mode: 'thinking_tokens',
38
+ notes: 'Reasoning effort maps to thinking-token budget in adapter.',
39
+ },
40
+ },
41
+ gemini: {
42
+ supports_model: true,
43
+ model_notes: 'Gemini CLI supports --model; thinking settings vary by model family.',
44
+ model_examples: ['gemini-3', 'gemini-2.5-pro', 'gemini-2.5-flash'],
45
+ reasoning: {
46
+ supported: true,
47
+ levels: ['low', 'medium', 'high', 'x-high'],
48
+ mode: 'level',
49
+ notes: 'Gemini 2.5 uses thinkingBudget tokens; Gemini 3 uses thinkingLevel enums.',
50
+ },
51
+ },
52
+ code: {
53
+ supports_model: true,
54
+ model_notes: 'Model override supported via --model.',
55
+ model_examples: ['gpt-5.2-codex', 'gpt-4.1'],
56
+ reasoning: {
57
+ supported: true,
58
+ levels: ['low', 'medium', 'high', 'x-high'],
59
+ mode: 'effort',
60
+ notes: 'Mapped directly to Code/Codex reasoning effort flag.',
61
+ },
62
+ },
63
+ codex: {
64
+ supports_model: true,
65
+ model_notes: 'Model override supported via --model.',
66
+ model_examples: ['gpt-5.2-codex', 'gpt-4.1'],
67
+ reasoning: {
68
+ supported: true,
69
+ levels: ['low', 'medium', 'high', 'x-high'],
70
+ mode: 'effort',
71
+ notes: 'Mapped directly to Code/Codex reasoning effort flag.',
72
+ },
73
+ },
74
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eve-horizon/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Eve Horizon CLI",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -17,9 +17,6 @@
17
17
  "dist",
18
18
  "README.md"
19
19
  ],
20
- "scripts": {
21
- "build": "tsc -p tsconfig.json"
22
- },
23
20
  "publishConfig": {
24
21
  "access": "public"
25
22
  },
@@ -27,11 +24,13 @@
27
24
  "node": ">=22.0.0"
28
25
  },
29
26
  "dependencies": {
30
- "@eve/shared": "workspace:*",
31
27
  "yaml": "^2.5.1"
32
28
  },
33
29
  "devDependencies": {
34
30
  "@types/node": "^22.0.0",
35
31
  "typescript": "^5.7.0"
32
+ },
33
+ "scripts": {
34
+ "build": "tsc -p tsconfig.json"
36
35
  }
37
- }
36
+ }