@prohost/cli 0.2.0 → 0.2.1

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/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ Versions follow [semver](https://semver.org/). Publishing is automated: merging
4
4
  a version bump to `main` triggers `.github/workflows/npm-publish-cli.yml`, which
5
5
  builds via `prepack`, runs the suite, publishes, and tags `cli-v<version>`.
6
6
 
7
+ ## 0.2.1
8
+
9
+ - Prompt: tell brains with a ToolSearch tool that part of their toolkit
10
+ (notably WebSearch/WebFetch) is deferred and must be loaded before use, so
11
+ a paired agent stops telling customers it cannot browse the web when it can.
12
+
7
13
  ## 0.2.0
8
14
 
9
15
  The harness stopped being a one-shot prompt pipe. 0.1.x answered every mention
@@ -92,7 +92,13 @@ export function buildPrompt(run, context) {
92
92
  : ' nothing will stop to ask you for permission: your tools run as soon\n' +
93
93
  ' as you call them. Do the work rather than proposing it — but that\n' +
94
94
  ' also means a mistaken action happens for real, so check before you\n' +
95
- ' change or delete anything.', '- Nothing about your access changes after this turn. Do not say a tool is', ' "connecting", "loading", or about to become available, and do not', ' promise to follow up.', "- State limits plainly. If you cannot look something up, say what you don't", ' know and answer with what you do — a short honest answer beats a', ' confident invented one.',
95
+ ' change or delete anything.', '- Nothing about your access changes after this turn. Do not say a tool is', ' "connecting", "loading", or about to become available, and do not', ' promise to follow up.',
96
+ // Claude Code lazy-loads part of its catalog — WebSearch/WebFetch among
97
+ // them — so a run that inspects its loaded tools concludes it cannot
98
+ // browse and says so to a customer, when one ToolSearch call away it
99
+ // could. Field-observed on the first 0.2.0 deployment; phrased
100
+ // conditionally because other `--exec` brains have no ToolSearch.
101
+ '- If you have a ToolSearch tool, part of your toolkit is deferred and', ' invisible until loaded — web browsing (WebSearch, WebFetch) usually', ' is. Search ToolSearch for a capability before telling anyone you', ' lack it.', "- State limits plainly. If you cannot look something up, say what you don't", ' know and answer with what you do — a short honest answer beats a', ' confident invented one.',
96
102
  // Deliberately does not list which domains are reachable. A paired
97
103
  // credential holds a narrow, server-chosen scope set — the current default
98
104
  // covers conversations, tasks, cleanings and approvals but NOT reservations
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.0";
10
+ export declare const CLI_VERSION = "0.2.1";
11
11
  /** Sent on every HTTP request the CLI makes back into ProhostAI. */
12
- export declare const USER_AGENT = "prohost-cli/0.2.0";
12
+ export declare const USER_AGENT = "prohost-cli/0.2.1";
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.0';
10
+ export const CLI_VERSION = '0.2.1';
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.0",
3
+ "version": "0.2.1",
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",