akemon 0.1.77 → 0.1.78

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 +11 -0
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -109,4 +109,15 @@ program
109
109
  .action(async (opts) => {
110
110
  await connect({ relay: opts.relay, key: opts.key });
111
111
  });
112
+ program
113
+ .command("dashboard")
114
+ .description("Open your agent dashboard in the browser")
115
+ .action(async () => {
116
+ const credentials = await getOrCreateRelayCredentials();
117
+ const url = `${RELAY_HTTP}/owner?account=${credentials.accountId}`;
118
+ console.log(`Opening dashboard: ${url}`);
119
+ const { exec } = await import("child_process");
120
+ const cmd = process.platform === "darwin" ? "open" : process.platform === "win32" ? "start" : "xdg-open";
121
+ exec(`${cmd} "${url}"`);
122
+ });
112
123
  program.parse();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akemon",
3
- "version": "0.1.77",
3
+ "version": "0.1.78",
4
4
  "description": "Agent work marketplace — train your agent, let it work for others",
5
5
  "type": "module",
6
6
  "license": "MIT",