agency-cli 1.2.0 → 1.4.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.
package/README.md CHANGED
@@ -31,7 +31,7 @@ The easiest option is to use the TUI; run `agency tui` or just `agency`.
31
31
  Everything available in the TUI is also available via the CLI:
32
32
 
33
33
  - `agency --help` - See all available commands
34
- - `agency new my-task` - Start a new task with slug `my-task`; opens your `$EDITOR` to describe what the agent should do.
34
+ - `agency new my-task` - Start a new task with slug `my-task`; opens your configured editor to describe what the agent should do.
35
35
  - `agency new --draft my-task` - Create a new task as a draft (doesn't start it yet).
36
36
  - `agency edit my-task` - Edit a draft task.
37
37
  - `agency start my-task` - Start a task that is a draft or stopped.
@@ -40,7 +40,8 @@ Everything available in the TUI is also available via the CLI:
40
40
  - `agency merge my-task` - Merge the task back into the base branch.
41
41
  - `agency path my-task` - Get the worktree path for a task.
42
42
  - `agency shell my-task` - Open a shell in the task's worktree.
43
- - `agency ps` - List all tasks and their status.
43
+ - `agency tasks` - List all tasks and their status.
44
+ - `agency config` - Open the global Agency config in your editor.
44
45
  - `agency daemon start|stop|restart` - Manage the background daemon that tracks sessions and notifies clients.
45
46
  - ... and many more (see `agency --help`).
46
47
 
@@ -89,6 +90,21 @@ cmd = ["<root>./my-local-agent", "-p", "$AGENCY_TASK"]
89
90
 
90
91
  Check out the [default config](./crates/agency/defaults/agency.toml) for a few examples.
91
92
 
93
+ ### Editor
94
+
95
+ Control which editor Agency uses when opening files (e.g. task descriptions, worktrees, and config):
96
+
97
+ ```toml
98
+ # Preferred editor argv. If unset, Agency falls back to $EDITOR, then to `vi`.
99
+ editor = ["nvim"]
100
+
101
+ # Examples:
102
+ # editor = ["code", "-w"]
103
+ # editor = ["zed", "--wait"]
104
+ ```
105
+
106
+ You can also run `agency config` to open (and create if missing) the global config file directly in your editor.
107
+
92
108
  ## Architecture
93
109
 
94
110
  Agency uses a daemon + client architecture with tmux-managed sessions. The daemon is slim: it computes session/task status from tmux and broadcasts notifications. Clients (CLI or TUI) communicate with the daemon via a Unix socket but attach directly to tmux for interactive views.
@@ -7,10 +7,10 @@
7
7
  "agency": "run-agency.js"
8
8
  },
9
9
  "dependencies": {
10
- "axios": "^1.11.0",
10
+ "axios": "^1.12.2",
11
11
  "axios-proxy-builder": "^0.1.2",
12
12
  "console.table": "^0.10.0",
13
- "detect-libc": "^2.0.4",
13
+ "detect-libc": "^2.1.2",
14
14
  "rimraf": "^6.0.1"
15
15
  },
16
16
  "devDependencies": {
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "hasInstallScript": true,
24
24
  "name": "agency-cli",
25
- "version": "1.2.0"
25
+ "version": "1.4.0"
26
26
  },
27
27
  "node_modules/@isaacs/balanced-match": {
28
28
  "engines": {
@@ -98,10 +98,10 @@
98
98
  "form-data": "^4.0.4",
99
99
  "proxy-from-env": "^1.1.0"
100
100
  },
101
- "integrity": "sha512-1Lx3WLFQWm3ooKDYZD1eXmoGO9fxYQjrycfHFC8P0sCfQVXyROp0p9PFWBehewBOdCwHc+f/b8I0fMto5eSfwA==",
101
+ "integrity": "sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==",
102
102
  "license": "MIT",
103
- "resolved": "https://registry.npmjs.org/axios/-/axios-1.11.0.tgz",
104
- "version": "1.11.0"
103
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.12.2.tgz",
104
+ "version": "1.12.2"
105
105
  },
106
106
  "node_modules/axios-proxy-builder": {
107
107
  "dependencies": {
@@ -217,10 +217,10 @@
217
217
  "engines": {
218
218
  "node": ">=8"
219
219
  },
220
- "integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==",
220
+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
221
221
  "license": "Apache-2.0",
222
- "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.4.tgz",
223
- "version": "2.0.4"
222
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
223
+ "version": "2.1.2"
224
224
  },
225
225
  "node_modules/dunder-proto": {
226
226
  "dependencies": {
@@ -895,5 +895,5 @@
895
895
  }
896
896
  },
897
897
  "requires": true,
898
- "version": "1.2.0"
898
+ "version": "1.4.0"
899
899
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/tobias-walle/agency/releases/download/v1.2.0",
2
+ "artifactDownloadUrl": "https://github.com/tobias-walle/agency/releases/download/v1.4.0",
3
3
  "bin": {
4
4
  "agency": "run-agency.js"
5
5
  },
6
6
  "dependencies": {
7
- "axios": "^1.11.0",
7
+ "axios": "^1.12.2",
8
8
  "axios-proxy-builder": "^0.1.2",
9
9
  "console.table": "^0.10.0",
10
- "detect-libc": "^2.0.4",
10
+ "detect-libc": "^2.1.2",
11
11
  "rimraf": "^6.0.1"
12
12
  },
13
13
  "description": "AI Agent Orchestrator in the terminal",
@@ -46,13 +46,6 @@
46
46
  },
47
47
  "zipExt": ".tar.xz"
48
48
  },
49
- "x86_64-apple-darwin": {
50
- "artifactName": "agency-x86_64-apple-darwin.tar.xz",
51
- "bins": {
52
- "agency": "agency"
53
- },
54
- "zipExt": ".tar.xz"
55
- },
56
49
  "x86_64-unknown-linux-gnu": {
57
50
  "artifactName": "agency-x86_64-unknown-linux-gnu.tar.xz",
58
51
  "bins": {
@@ -61,7 +54,7 @@
61
54
  "zipExt": ".tar.xz"
62
55
  }
63
56
  },
64
- "version": "1.2.0",
57
+ "version": "1.4.0",
65
58
  "volta": {
66
59
  "node": "18.14.1",
67
60
  "npm": "9.5.0"