agentv 0.5.1 → 0.6.1

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.
package/dist/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runCli
4
- } from "./chunk-HPH4YWGU.js";
4
+ } from "./chunk-GURDWEMI.js";
5
5
 
6
6
  // src/cli.ts
7
7
  void runCli();
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createProgram,
3
3
  runCli
4
- } from "./chunk-HPH4YWGU.js";
4
+ } from "./chunk-GURDWEMI.js";
5
5
  export {
6
6
  createProgram,
7
7
  runCli
@@ -5,10 +5,9 @@ $schema: agentv-config-v2
5
5
  # Custom guideline patterns:
6
6
  guideline_patterns:
7
7
  - "**/*.instructions.md"
8
- - "**/instructions/**"
9
8
  - "**/*.prompt.md"
10
- - "**/prompts/**"
11
-
9
+ - "**/SKILL.md"
10
+
12
11
  # Notes:
13
12
  # - Patterns use standard glob syntax (via micromatch library)
14
13
  # - Paths are normalized to forward slashes for cross-platform compatibility
@@ -5,35 +5,51 @@ $schema: agentv-targets-v2
5
5
  # Actual values for paths/keys are stored in the local .env file.
6
6
 
7
7
  targets:
8
+ - name: default
9
+ provider: azure
10
+ settings:
11
+ endpoint: AZURE_OPENAI_ENDPOINT
12
+ api_key: AZURE_OPENAI_API_KEY
13
+ model: AZURE_DEPLOYMENT_NAME
14
+
15
+ - name: vscode
16
+ provider: vscode
17
+ judge_target: azure_base
18
+
19
+ - name: codex
20
+ provider: codex
21
+ judge_target: azure_base
22
+ settings:
23
+ # Uses the Codex CLI (defaults to `codex` on PATH)
24
+ # executable: CODEX_CLI_PATH # Optional: override executable path
25
+ # args: # Optional additional CLI arguments
26
+ # - --profile
27
+ # - CODEX_PROFILE
28
+ # - --model
29
+ # - CODEX_MODEL
30
+ # - --ask-for-approval
31
+ # - CODEX_APPROVAL_PRESET
32
+ timeout_seconds: 180
33
+ cwd: CODEX_WORKSPACE_DIR # Where scratch workspaces are created
34
+ log_dir: CODEX_LOG_DIR # Optional: where Codex CLI stream logs are stored (defaults to ./.agentv/logs/codex)
35
+ log_format: json # Optional: 'summary' (default) or 'json' for raw event logs
36
+
8
37
  - name: vscode_projectx
9
38
  provider: vscode
10
39
  settings:
11
- # VS Code provider requires a workspace template path.
12
40
  workspace_template: PROJECTX_WORKSPACE_PATH
13
- # This key makes the judge model configurable and is good practice
41
+ provider_batching: false
14
42
  judge_target: azure_base
15
43
 
16
44
  - name: vscode_insiders_projectx
17
45
  provider: vscode-insiders
18
46
  settings:
19
- # VS Code Insiders provider (preview version) requires a workspace template path.
20
47
  workspace_template: PROJECTX_WORKSPACE_PATH
21
- # This key makes the judge model configurable and is good practice
48
+ provider_batching: false
22
49
  judge_target: azure_base
23
50
 
24
51
  - name: azure_base
25
52
  provider: azure
26
- # The base LLM provider needs no extra settings, as the model is
27
- # defined in the .env file.
28
- settings:
29
- endpoint: AZURE_OPENAI_ENDPOINT
30
- api_key: AZURE_OPENAI_API_KEY
31
- model: AZURE_DEPLOYMENT_NAME
32
-
33
- - name: default
34
- provider: azure
35
- # The base LLM provider needs no extra settings, as the model is
36
- # defined in the .env file.
37
53
  settings:
38
54
  endpoint: AZURE_OPENAI_ENDPOINT
39
55
  api_key: AZURE_OPENAI_API_KEY
@@ -56,19 +72,3 @@ targets:
56
72
  healthcheck:
57
73
  type: command
58
74
  command_template: uv run ./mock_cli.py --healthcheck
59
-
60
- - name: codex_cli
61
- provider: codex
62
- judge_target: azure_base
63
- settings:
64
- # Uses the Codex CLI (defaults to `codex` on PATH)
65
- # executable: CODEX_CLI_PATH # Optional: override executable path
66
- # args: # Optional additional CLI arguments
67
- # - --profile
68
- # - CODEX_PROFILE
69
- # - --model
70
- # - CODEX_MODEL
71
- # - --ask-for-approval
72
- # - CODEX_APPROVAL_PRESET
73
- timeout_seconds: 180
74
- cwd: CODEX_WORKSPACE_DIR # Where scratch workspaces are created
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentv",
3
- "version": "0.5.1",
3
+ "version": "0.6.1",
4
4
  "description": "CLI entry point for AgentV",
5
5
  "type": "module",
6
6
  "repository": {
@@ -20,18 +20,20 @@
20
20
  ],
21
21
  "dependencies": {
22
22
  "commander": "^12.1.0",
23
+ "fast-glob": "^3.3.3",
23
24
  "dotenv": "^16.4.5",
24
25
  "log-update": "^7.0.1",
25
26
  "micromatch": "^4.0.8",
26
27
  "yaml": "^2.6.1",
27
- "@agentv/core": "0.5.1"
28
+ "@agentv/core": "0.6.1"
28
29
  },
29
30
  "devDependencies": {
30
31
  "execa": "^9.3.0"
31
32
  },
32
33
  "scripts": {
33
34
  "dev": "tsx watch src/index.ts",
34
- "build": "tsup",
35
+ "build": "tsup && pnpm run copy-readme",
36
+ "copy-readme": "node -e \"require('fs').cpSync('../../README.md', 'README.md')\"",
35
37
  "typecheck": "tsc --noEmit",
36
38
  "lint": "eslint . --ext .ts",
37
39
  "test": "vitest run",