@poncho-ai/browser 0.6.20 → 0.6.22
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/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +18 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/src/tools.ts +4 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @poncho-ai/browser@0.6.
|
|
2
|
+
> @poncho-ai/browser@0.6.22 build /home/runner/work/poncho-ai/poncho-ai/packages/browser
|
|
3
3
|
> tsup src/index.ts --format esm --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
[34mCLI[39m tsup v8.5.1
|
|
8
8
|
[34mCLI[39m Target: es2022
|
|
9
9
|
[34mESM[39m Build start
|
|
10
|
-
[32mESM[39m [1mdist/index.js [22m[32m46.
|
|
11
|
-
[32mESM[39m ⚡️ Build success in
|
|
10
|
+
[32mESM[39m [1mdist/index.js [22m[32m46.62 KB[39m
|
|
11
|
+
[32mESM[39m ⚡️ Build success in 52ms
|
|
12
12
|
[34mDTS[39m Build start
|
|
13
|
-
[32mDTS[39m ⚡️ Build success in
|
|
13
|
+
[32mDTS[39m ⚡️ Build success in 5085ms
|
|
14
14
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m13.69 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @poncho-ai/browser
|
|
2
2
|
|
|
3
|
+
## 0.6.22
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`3588b19`](https://github.com/cesr/poncho-ai/commit/3588b19cf8e8fb112df3642b93e8a6aa4d4e3021) Thanks [@cesr](https://github.com/cesr)! - Steer the agent to use `browser_open` only as a last resort. The description now
|
|
8
|
+
tells it to prefer `web_fetch` for reading pages and a dedicated API/MCP
|
|
9
|
+
integration when one exists, and to reach for the browser only when those can't
|
|
10
|
+
do the job — a page web_fetch can't render, or operating a site/web app that has
|
|
11
|
+
no API and no MCP (e.g. logging in and clicking through a UI). Reinforces that
|
|
12
|
+
credentials are entered by the user in the live view, never asked for in chat.
|
|
13
|
+
|
|
14
|
+
## 0.6.21
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`3a25676`](https://github.com/cesr/poncho-ai/commit/3a2567666e1bc8d6650818db76d07765c0250264)]:
|
|
19
|
+
- @poncho-ai/sdk@1.15.2
|
|
20
|
+
|
|
3
21
|
## 0.6.20
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1079,7 +1079,7 @@ function createBrowserTools(getSession) {
|
|
|
1079
1079
|
return [
|
|
1080
1080
|
{
|
|
1081
1081
|
name: "browser_open",
|
|
1082
|
-
description: "Open a URL in a
|
|
1082
|
+
description: "Open a URL in a real browser whose live view the user can watch and interact with. Returns the page title. This is a HEAVY, last-resort tool \u2014 prefer cheaper options first: use `web_fetch` to read page content, and use a dedicated API or MCP integration when one exists for the service. Only reach for the browser when those can't do the job: a page `web_fetch` can't render (JS-heavy/SPA), or a task that requires operating a site or web app that has no API and no MCP integration (e.g. logging in and clicking through a UI). When a site needs credentials, navigate to its login page and let the user sign in directly in the live view \u2014 never ask for passwords in chat. To open files from the virtual filesystem, use /api/vfs/{path} (e.g. /api/vfs/downloads/report.pdf).",
|
|
1083
1083
|
inputSchema: {
|
|
1084
1084
|
type: "object",
|
|
1085
1085
|
properties: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poncho-ai/browser",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.22",
|
|
4
4
|
"description": "Browser automation for Poncho agents, powered by agent-browser",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"agent-browser": "^0.15.1",
|
|
24
|
-
"@poncho-ai/sdk": "1.15.
|
|
24
|
+
"@poncho-ai/sdk": "1.15.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"tsup": "^8.0.0",
|
package/src/tools.ts
CHANGED
|
@@ -10,7 +10,10 @@ export function createBrowserTools(
|
|
|
10
10
|
{
|
|
11
11
|
name: "browser_open",
|
|
12
12
|
description:
|
|
13
|
-
"Open a URL in a
|
|
13
|
+
"Open a URL in a real browser whose live view the user can watch and interact with. Returns the page title. " +
|
|
14
|
+
"This is a HEAVY, last-resort tool — prefer cheaper options first: use `web_fetch` to read page content, and use a dedicated API or MCP integration when one exists for the service. " +
|
|
15
|
+
"Only reach for the browser when those can't do the job: a page `web_fetch` can't render (JS-heavy/SPA), or a task that requires operating a site or web app that has no API and no MCP integration (e.g. logging in and clicking through a UI). " +
|
|
16
|
+
"When a site needs credentials, navigate to its login page and let the user sign in directly in the live view — never ask for passwords in chat. " +
|
|
14
17
|
"To open files from the virtual filesystem, use /api/vfs/{path} (e.g. /api/vfs/downloads/report.pdf).",
|
|
15
18
|
inputSchema: {
|
|
16
19
|
type: "object",
|