akemon 0.2.18 → 0.2.19

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
@@ -41,6 +41,7 @@ program
41
41
  .option("--with <modules>", "Enable specific modules (comma-separated: biostate,memory)")
42
42
  .option("--without <modules>", "Disable specific modules (comma-separated: biostate,memory)")
43
43
  .option("--script <name>", "Script to load for ScriptModule (default: daily-life)", "daily-life")
44
+ .option("--terminal", "Enable remote terminal access (PTY)")
44
45
  .option("--relay <url>", "Relay WebSocket URL", RELAY_WS)
45
46
  .action(async (opts) => {
46
47
  const port = parseInt(opts.port);
@@ -96,6 +97,7 @@ program
96
97
  price: parseInt(opts.price) || 1,
97
98
  avatar,
98
99
  onOrderNotify,
100
+ enableTerminal: opts.terminal,
99
101
  });
100
102
  });
101
103
  program
@@ -190,6 +190,10 @@ export function connectRelay(options) {
190
190
  }
191
191
  break;
192
192
  case "terminal_start":
193
+ if (!options.enableTerminal) {
194
+ console.log("[terminal] Disabled. Use --terminal to enable.");
195
+ break;
196
+ }
193
197
  startPTY(ws, msg.cols || 80, msg.rows || 24);
194
198
  break;
195
199
  case "terminal_data":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akemon",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
4
4
  "description": "Agent work marketplace — train your agent, let it work for others",
5
5
  "type": "module",
6
6
  "license": "MIT",