agent-office 0.0.8 → 0.0.9

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.
Files changed (2) hide show
  1. package/dist/cli.js +3 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -22,11 +22,11 @@ program
22
22
  program
23
23
  .command("manage")
24
24
  .description("[HUMAN ONLY] Launch the interactive TUI to manage sessions")
25
- .argument("<url>", "URL of the agent-office server (e.g. http://127.0.0.1:7654)")
25
+ .option("--url <url>", "URL of the agent-office server (e.g. http://127.0.0.1:7654)", process.env.AGENT_OFFICE_URL ?? "http://127.0.0.1:7654")
26
26
  .option("--password <password>", "REQUIRED. API password", process.env.AGENT_OFFICE_PASSWORD)
27
- .action(async (url, options) => {
27
+ .action(async (options) => {
28
28
  const { manage } = await import("./commands/manage.js");
29
- await manage(url, options);
29
+ await manage(options.url, options);
30
30
  });
31
31
  const communicatorCmd = program
32
32
  .command("communicator")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-office",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "Manage OpenCode sessions with named aliases",
5
5
  "type": "module",
6
6
  "license": "MIT",