@gaiventures/pilotfish-mcp 0.1.54 → 0.1.56

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 (3) hide show
  1. package/README.md +4 -4
  2. package/cli.js +71 -71
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -133,10 +133,10 @@ other address.
133
133
  | `browser_navigate` `{url, snapshot?}` | Open an http(s) URL and return what happened plus the visible screen, with counts of what is above and below. `snapshot: false` returns only what happened and the counts, for a page you will read with `browser_query` and not act on. |
134
134
  | `browser_snapshot` `{whole_page?}` | The page as a compact outline with refs (`[e12]<button>Search`): about three screens around the viewport, or all of it with `whole_page`. Every word and ref is kept; repeated text, closing tags and generated ids are left out. A plain table row is one line, its cells between `|`. |
135
135
  | `browser_click` `{ref}` | Click an element. Refused if it is covered, stale or not visible. |
136
- | `browser_type` `{ref, text, submit?}` | Replace a field's text. `{{name}}` types a configured secret. |
137
- | `browser_select` `{ref, values}` | Pick `<select>` options by label or value. |
138
- | `browser_press` `{key}` | Press a key or shortcut (`Enter`, `Escape`, `Control+a`). |
139
- | `browser_scroll` `{direction}` | Scroll about one screen and return it. |
136
+ | `browser_type` `{ref, text, submit?}` | Replace a field's text (it never appends); `submit` presses Enter after it. `{{name}}` types a configured secret. |
137
+ | `browser_select` `{ref, values}` | Pick options of a native `<select>` by label or value. The values replace the current selection. |
138
+ | `browser_press` `{key}` | Press a key or shortcut (`Enter`, `Escape`, `Control+a`) on whatever has focus. |
139
+ | `browser_scroll` `{direction}` | Scroll about one screen and return it, with refs. |
140
140
  | `browser_actions` `{actions}` | Up to 10 steps in one call, such as a form's fields and its submit button. Each step is `{action, …}`: `click`, `type`, `select`, `press`, `scroll` or `wait`, with the same fields as its own tool. A malformed step stops the batch before anything runs; otherwise it stops at the first step that fails or moves to another page. |
141
141
  | `browser_query` `{expression, schema?}` | Read values with a JavaScript expression that returns JSON (up to 4,000 characters): a list of results, prices, counts. It cannot click, type, submit or send data. The cheapest way to read a page. With `schema` (a JSON Schema), the result is checked against it: a match also comes back as `structuredContent: {value}`, a mismatch as an error starting `ERROR schema_mismatch` with up to 5 `path: message` lines. |
142
142
  | `browser_find` `{query}` | Find elements anywhere on the page by their words, best match first. Separate several targets with commas. |