@prohost/cli 0.2.2 → 0.3.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/dist/index.js CHANGED
@@ -43,7 +43,9 @@ function printHelp() {
43
43
  '',
44
44
  'agent run flags:',
45
45
  ' --exec Command to run for each mention; the prompt arrives on stdin (required)',
46
- ' --timeout Seconds one run may take before it is killed. Defaults to 300.',
46
+ ' --timeout Seconds one run may take before it is killed. Defaults to 7200 (2 hours).',
47
+ ' Pass 0 for no local limit — the run then ends when the agent finishes,',
48
+ ' when someone cancels it in ProhostAI, or when the server reaps it.',
47
49
  ' --dry-run Print the reply that would be posted; write nothing.',
48
50
  ' --workdir Working directory for the agent command. Defaults to $PROHOST_HOME/workspace.',
49
51
  ' Avoid pointing it at a code checkout: agents read CLAUDE.md, .claude/settings.json',
@@ -57,6 +59,16 @@ function printHelp() {
57
59
  ' act; with --safe-tools expect it to answer rather than do. Alias:',
58
60
  ' --no-skip-permissions.',
59
61
  '',
62
+ 'Extra MCP servers (opt-in):',
63
+ ' A run gets the ProhostAI MCP server and nothing else. To add more, create',
64
+ ' $PROHOST_HOME/extra-mcp.json yourself — the CLI never writes it — holding the same',
65
+ ' {"mcpServers": {...}} object Claude Code\'s --mcp-config takes. Works on Claude Code',
66
+ ' and Codex.',
67
+ ' EVERY server you add is exercisable by anyone who can trigger this agent, with',
68
+ ' permission prompts off and no human in the loop. Scope each one as narrowly as it',
69
+ ' will go. The name "prohost" is reserved; a malformed file is a warning and a run',
70
+ ' without extras. Which servers loaded is printed to agent.log at start-up.',
71
+ '',
60
72
  'agent install-daemon flags: (macOS: launchd; Linux: prints a systemd-user unit)',
61
73
  ' --exec The same command you would pass to `agent run` (required).',
62
74
  ' --workdir, --timeout, --machine, --url, --allow-unverified, --safe-tools — passed to `agent run`.',
package/dist/version.d.ts CHANGED
@@ -7,6 +7,6 @@
7
7
  * `package.json`, so a release bump that forgets this file fails the suite
8
8
  * instead of shipping a `User-Agent` that lies about which build is calling.
9
9
  */
10
- export declare const CLI_VERSION = "0.2.2";
10
+ export declare const CLI_VERSION = "0.3.0";
11
11
  /** Sent on every HTTP request the CLI makes back into ProhostAI. */
12
- export declare const USER_AGENT = "prohost-cli/0.2.2";
12
+ export declare const USER_AGENT = "prohost-cli/0.3.0";
package/dist/version.js CHANGED
@@ -7,6 +7,6 @@
7
7
  * `package.json`, so a release bump that forgets this file fails the suite
8
8
  * instead of shipping a `User-Agent` that lies about which build is calling.
9
9
  */
10
- export const CLI_VERSION = '0.2.2';
10
+ export const CLI_VERSION = '0.3.0';
11
11
  /** Sent on every HTTP request the CLI makes back into ProhostAI. */
12
12
  export const USER_AGENT = `prohost-cli/${CLI_VERSION}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prohost/cli",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
4
4
  "description": "Run your own AI agent as a ProhostAI teammate, and stream your account's webhooks to your laptop.",
5
5
  "type": "module",
6
6
  "license": "MIT",