taskwindow 0.2.1 → 0.2.2
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/README.md +5 -4
- package/package.json +1 -1
- package/src/index.js +1 -1
- package/src/tools.js +14 -2
package/README.md
CHANGED
|
@@ -36,8 +36,9 @@ connected.
|
|
|
36
36
|
|
|
37
37
|
Ask your agent: *"Open example.com in a new tab and take a screenshot."*
|
|
38
38
|
|
|
39
|
-
A green tab group named after your task appears in
|
|
40
|
-
the
|
|
39
|
+
A green tab group named after your task appears in a separate TaskWindow
|
|
40
|
+
window — the agents' workspace, shared by every task and every agent, and kept
|
|
41
|
+
open by a pinned tab no agent can close. Screenshot done. Now try:
|
|
41
42
|
*"Find the sign-up link and read the page's headings."*
|
|
42
43
|
|
|
43
44
|
### Repair and advanced commands
|
|
@@ -45,7 +46,7 @@ the agent's workspace. Screenshot done. Now try:
|
|
|
45
46
|
```bash
|
|
46
47
|
taskwindow doctor # diagnose daemon, extension, versions, and agents
|
|
47
48
|
taskwindow pair # create a manual one-time pairing code
|
|
48
|
-
taskwindow install
|
|
49
|
+
taskwindow install # re-run setup; also repairs and updates the extension
|
|
49
50
|
taskwindow install --claude # add Claude Code without repeating setup
|
|
50
51
|
taskwindow install --cursor # add Cursor without repeating setup
|
|
51
52
|
taskwindow install --opencode # add OpenCode without repeating setup
|
|
@@ -60,7 +61,7 @@ agents. For another MCP client, connect to `http://127.0.0.1:9377/mcp` with
|
|
|
60
61
|
| Area | Tools |
|
|
61
62
|
|---|---|
|
|
62
63
|
| Status | `taskwindow_status` (daemon/extension readiness and recovery guidance) |
|
|
63
|
-
| Tabs | `tabs_list`, `tabs_create`, `tabs_close`, `navigate` |
|
|
64
|
+
| Tabs | `tabs_list`, `tabs_create`, `tabs_close`, `navigate`, `reload` |
|
|
64
65
|
| See | `computer` (screenshot + click/type/key/scroll), `read_page`, `find`, `get_page_text` |
|
|
65
66
|
| Act | `form_input`, `file_upload`, `upload_image`, `javascript_execute` |
|
|
66
67
|
| Debug | `read_console_messages`, `read_network_requests` |
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -186,7 +186,7 @@ async function runDoctor(config) {
|
|
|
186
186
|
console.log("✗ Daemon not running — run: taskwindow install");
|
|
187
187
|
}
|
|
188
188
|
if (installedVersion) console.log(`✓ Extension files installed (v${installedVersion}, ${extensionInstallDir()})`);
|
|
189
|
-
else console.log("✗ Extension files not installed — run: taskwindow install
|
|
189
|
+
else console.log("✗ Extension files not installed — run: taskwindow install");
|
|
190
190
|
if (health?.extensionConnected) {
|
|
191
191
|
const versionNote = installedVersion && health.extensionVersion && installedVersion !== health.extensionVersion
|
|
192
192
|
? ` — installed files are v${installedVersion}; reload the extension in Chrome`
|
package/src/tools.js
CHANGED
|
@@ -36,14 +36,15 @@ const rawDefs = [
|
|
|
36
36
|
description:
|
|
37
37
|
"Open a new tab in a task-named tab group (in the agent's own window). Requires a \"task\" name saying what the group is about; " +
|
|
38
38
|
"same task name in the same session reuses that group. Returns a sessionToken — pass it as \"sessionToken\" in every subsequent " +
|
|
39
|
-
"browser tool call; concurrent agents' sessions never share tabs."
|
|
39
|
+
"browser tool call; concurrent agents' sessions never share tabs. Don't open a second tab for a page you already have: " +
|
|
40
|
+
"use reload or navigate on the existing tab (see tabs_list).",
|
|
40
41
|
inputSchema: {
|
|
41
42
|
url: z.string().url().describe("URL to open (include the scheme, e.g. https://...)"),
|
|
42
43
|
task: z
|
|
43
44
|
.string()
|
|
44
45
|
.min(1)
|
|
45
46
|
.describe('Task name for the tab group — required; says what the group is about, e.g. "Research competitors".'),
|
|
46
|
-
active: z.boolean().optional().describe("
|
|
47
|
+
active: z.boolean().optional().describe("Make it the active tab of the agent window (default true). Never focuses that window: the user's window and app keep focus."),
|
|
47
48
|
sessionToken: z
|
|
48
49
|
.string()
|
|
49
50
|
.optional()
|
|
@@ -64,6 +65,17 @@ const rawDefs = [
|
|
|
64
65
|
inputSchema: { url: z.string().url(), tabId: tabId.optional() },
|
|
65
66
|
timeoutMs: 30_000,
|
|
66
67
|
},
|
|
68
|
+
{
|
|
69
|
+
name: "reload",
|
|
70
|
+
description:
|
|
71
|
+
"Reload a tab in place, like the browser's reload button, and wait (up to 10s) for the load event. " +
|
|
72
|
+
"Use this — not tabs_create — to refresh a page you already have open.",
|
|
73
|
+
inputSchema: {
|
|
74
|
+
tabId: tabId.optional(),
|
|
75
|
+
bypassCache: z.boolean().optional().describe("Skip the HTTP cache, like a hard reload (default false)"),
|
|
76
|
+
},
|
|
77
|
+
timeoutMs: 30_000,
|
|
78
|
+
},
|
|
67
79
|
{
|
|
68
80
|
name: "computer",
|
|
69
81
|
description:
|