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.
- package/dist/cli.js +3 -3
- 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
|
-
.
|
|
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 (
|
|
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")
|