@amoree-code/ocean 2.10.0 → 2.12.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.
Files changed (27) hide show
  1. package/README.md +3 -2
  2. package/dist/interfaces/cli/browser-command.js +13 -2
  3. package/dist/interfaces/cli/browser-findings.js +18 -1
  4. package/dist/interfaces/cli/browser-settings.js +173 -0
  5. package/dist/interfaces/cli/command-registry.js +7 -1
  6. package/dist/interfaces/cli/failures-command.js +71 -0
  7. package/dist/interfaces/cli/help-command.js +7 -3
  8. package/dist/interfaces/cli/scorecard-command.js +15 -1
  9. package/dist/interfaces/cli/telemetry-command.js +23 -3
  10. package/market/mcp/chrome-devtools/ocean.capability.json +54 -5
  11. package/market/mcp/firefox-devtools/ocean.capability.json +71 -0
  12. package/node_modules/@ocean/brain/dist/memory/lesson-learning.js +3 -1
  13. package/node_modules/@ocean/brain/package.json +1 -1
  14. package/node_modules/@ocean/context/package.json +1 -1
  15. package/node_modules/@ocean/core/package.json +1 -1
  16. package/node_modules/@ocean/loop/dist/runs/run-agent.js +3 -1
  17. package/node_modules/@ocean/loop/package.json +1 -1
  18. package/node_modules/@ocean/market/package.json +1 -1
  19. package/node_modules/@ocean/services/dist/journey/failures.js +252 -0
  20. package/node_modules/@ocean/services/dist/journey/lesson-effect.js +79 -0
  21. package/node_modules/@ocean/services/dist/journey/telemetry.js +63 -19
  22. package/node_modules/@ocean/services/dist/scorecard/scorecard.js +30 -7
  23. package/node_modules/@ocean/services/package.json +1 -1
  24. package/ocean-marketplace.json +186 -40
  25. package/package.json +7 -7
  26. package/skills/core/use-browser/SKILL.md +23 -12
  27. package/skills/index.json +1 -1
@@ -5,9 +5,9 @@
5
5
  {
6
6
  "kind": "skill",
7
7
  "name": "dev.ocean.skills.business-logic",
8
- "version": "2.10.0",
8
+ "version": "2.12.0",
9
9
  "engines": {
10
- "ocean": ">=2.10.0"
10
+ "ocean": ">=2.12.0"
11
11
  },
12
12
  "source": {
13
13
  "type": "path",
@@ -23,9 +23,9 @@
23
23
  {
24
24
  "kind": "skill",
25
25
  "name": "dev.ocean.skills.catch-up",
26
- "version": "2.10.0",
26
+ "version": "2.12.0",
27
27
  "engines": {
28
- "ocean": ">=2.10.0"
28
+ "ocean": ">=2.12.0"
29
29
  },
30
30
  "source": {
31
31
  "type": "path",
@@ -41,9 +41,9 @@
41
41
  {
42
42
  "kind": "skill",
43
43
  "name": "dev.ocean.skills.core-thinking",
44
- "version": "2.10.0",
44
+ "version": "2.12.0",
45
45
  "engines": {
46
- "ocean": ">=2.10.0"
46
+ "ocean": ">=2.12.0"
47
47
  },
48
48
  "source": {
49
49
  "type": "path",
@@ -59,9 +59,9 @@
59
59
  {
60
60
  "kind": "skill",
61
61
  "name": "dev.ocean.skills.daily-harvest",
62
- "version": "2.10.0",
62
+ "version": "2.12.0",
63
63
  "engines": {
64
- "ocean": ">=2.10.0"
64
+ "ocean": ">=2.12.0"
65
65
  },
66
66
  "source": {
67
67
  "type": "path",
@@ -77,9 +77,9 @@
77
77
  {
78
78
  "kind": "skill",
79
79
  "name": "dev.ocean.skills.design-thinking",
80
- "version": "2.10.0",
80
+ "version": "2.12.0",
81
81
  "engines": {
82
- "ocean": ">=2.10.0"
82
+ "ocean": ">=2.12.0"
83
83
  },
84
84
  "source": {
85
85
  "type": "path",
@@ -95,9 +95,9 @@
95
95
  {
96
96
  "kind": "skill",
97
97
  "name": "dev.ocean.skills.graft",
98
- "version": "2.10.0",
98
+ "version": "2.12.0",
99
99
  "engines": {
100
- "ocean": ">=2.10.0"
100
+ "ocean": ">=2.12.0"
101
101
  },
102
102
  "source": {
103
103
  "type": "path",
@@ -113,9 +113,9 @@
113
113
  {
114
114
  "kind": "skill",
115
115
  "name": "dev.ocean.skills.loop",
116
- "version": "2.10.0",
116
+ "version": "2.12.0",
117
117
  "engines": {
118
- "ocean": ">=2.10.0"
118
+ "ocean": ">=2.12.0"
119
119
  },
120
120
  "source": {
121
121
  "type": "path",
@@ -131,9 +131,9 @@
131
131
  {
132
132
  "kind": "skill",
133
133
  "name": "dev.ocean.skills.memory-review",
134
- "version": "2.10.0",
134
+ "version": "2.12.0",
135
135
  "engines": {
136
- "ocean": ">=2.10.0"
136
+ "ocean": ">=2.12.0"
137
137
  },
138
138
  "source": {
139
139
  "type": "path",
@@ -149,9 +149,9 @@
149
149
  {
150
150
  "kind": "skill",
151
151
  "name": "dev.ocean.skills.session-handoff",
152
- "version": "2.10.0",
152
+ "version": "2.12.0",
153
153
  "engines": {
154
- "ocean": ">=2.10.0"
154
+ "ocean": ">=2.12.0"
155
155
  },
156
156
  "source": {
157
157
  "type": "path",
@@ -167,16 +167,16 @@
167
167
  {
168
168
  "kind": "skill",
169
169
  "name": "dev.ocean.skills.use-browser",
170
- "version": "2.10.0",
170
+ "version": "2.12.0",
171
171
  "engines": {
172
- "ocean": ">=2.10.0"
172
+ "ocean": ">=2.12.0"
173
173
  },
174
174
  "source": {
175
175
  "type": "path",
176
176
  "path": "skills/core/use-browser"
177
177
  },
178
178
  "integrity": {
179
- "sha256": "460fdc789084cbb07d320e12a9e96e803f02ee101f533c913530b71538d05b5b"
179
+ "sha256": "c63bfe03130634e262e838b30bf2d54188de69b1225b4a57a7d69be57dc5a8ad"
180
180
  },
181
181
  "spec": {
182
182
  "directory": "use-browser"
@@ -185,9 +185,9 @@
185
185
  {
186
186
  "kind": "skill",
187
187
  "name": "dev.ocean.skills.verification",
188
- "version": "2.10.0",
188
+ "version": "2.12.0",
189
189
  "engines": {
190
- "ocean": ">=2.10.0"
190
+ "ocean": ">=2.12.0"
191
191
  },
192
192
  "source": {
193
193
  "type": "path",
@@ -203,9 +203,9 @@
203
203
  {
204
204
  "kind": "skill",
205
205
  "name": "dev.ocean.skills.weekly-review",
206
- "version": "2.10.0",
206
+ "version": "2.12.0",
207
207
  "engines": {
208
- "ocean": ">=2.10.0"
208
+ "ocean": ">=2.12.0"
209
209
  },
210
210
  "source": {
211
211
  "type": "path",
@@ -221,7 +221,7 @@
221
221
  {
222
222
  "kind": "mcp",
223
223
  "name": "dev.ocean/chrome-devtools",
224
- "description": "Control the owner's real, signed-in Chromium browser (Chrome by default; Brave, Edge, Arc, Vivaldi, Opera or Chromium through `ocean browser use`) through the ocean-browser-mcp package (pinned Chrome DevTools MCP): tabs, navigation, clicks, forms, uploads, screenshots, console and network errors. Reads every open tab and acts inside any signed-in session of the attached browser, for every client wired to it. The browser asks to allow each new connection. The filesystem permission is declared for consent but not enforced at runtime, and the npm package is pinned by version, not by digest.",
224
+ "description": "Control the owner's real, signed-in Chromium browser (Chrome by default; Brave, Edge, Arc, Vivaldi, Opera or Chromium through `ocean browser use`) through the ocean-browser-mcp package (pinned Chrome DevTools MCP): tabs, navigation, clicks, forms, uploads, screenshots, console and network errors. Reads every open tab and acts inside any signed-in session of the attached browser, for every client wired to it. The browser asks to allow the connection once: one background connection (disconnected after 8 idle hours) serves every session; a pointer and a blue frame show which tab the agent is using. Cookies and auth headers are redacted, file:// pages are refused, and URL patterns can be blocked. Writes a usage log (tool names and sizes, no URLs), screenshot previews and oversized page snapshots under ~/.local/state/ocean-browser-mcp (kept 7 days). The filesystem permission is declared for consent but not enforced at runtime, and the npm package is pinned by version, not by digest.",
225
225
  "permissions": {
226
226
  "filesystem": {
227
227
  "read": [
@@ -232,6 +232,9 @@
232
232
  "~/Library/Application Support/Vivaldi",
233
233
  "~/Library/Application Support/com.operasoftware.Opera",
234
234
  "~/Library/Application Support/Arc"
235
+ ],
236
+ "write": [
237
+ "~/.local/state/ocean-browser-mcp"
235
238
  ]
236
239
  },
237
240
  "network": [
@@ -241,31 +244,39 @@
241
244
  ],
242
245
  "env": [
243
246
  "CHROME_DEVTOOLS_MCP_NO_UPDATE_CHECKS",
244
- "OCEAN_BROWSER_USER_DATA_DIR"
247
+ "OCEAN_BROWSER_USER_DATA_DIR",
248
+ "OCEAN_BROWSER_PROFILE",
249
+ "OCEAN_BROWSER_BLOCKED",
250
+ "OCEAN_BROWSER_CURSOR",
251
+ "OCEAN_BROWSER_PREVIEW",
252
+ "OCEAN_BROWSER_USAGE",
253
+ "OCEAN_BROWSER_SHARED",
254
+ "OCEAN_BROWSER_IDLE_MIN",
255
+ "OCEAN_BROWSER_SNAPSHOT_MAX_CHARS"
245
256
  ],
246
257
  "exec": [
247
258
  "npx"
248
259
  ]
249
260
  },
250
- "version": "2.10.0",
261
+ "version": "2.12.0",
251
262
  "engines": {
252
- "ocean": ">=2.10.0"
263
+ "ocean": ">=2.12.0"
253
264
  },
254
265
  "source": {
255
266
  "type": "path",
256
267
  "path": "market/mcp/chrome-devtools"
257
268
  },
258
269
  "integrity": {
259
- "sha256": "135cae4e9d1b2e6792670826f346d685251509fb9ac8c1ea5c83f2a9c972d064"
270
+ "sha256": "7ba422768c1d32a595f6a3cb77884c199978fc1e689e83c94d52708b867cdb8e"
260
271
  },
261
272
  "spec": {
262
273
  "name": "dev.ocean/chrome-devtools",
263
- "description": "ocean-browser-mcp runs Chrome DevTools MCP 1.12.0 attached to the owner's running Chromium browser, with usage statistics and CrUX lookups off, so page URLs stay on this machine.",
274
+ "description": "ocean-browser-mcp runs Chrome DevTools MCP 1.13.0 attached to the owner's running Chromium browser, with usage statistics and CrUX lookups off, so page URLs stay on this machine.",
264
275
  "packages": [
265
276
  {
266
277
  "registryType": "npm",
267
278
  "identifier": "ocean-browser-mcp",
268
- "version": "0.2.0",
279
+ "version": "0.3.0",
269
280
  "transport": {
270
281
  "type": "stdio"
271
282
  },
@@ -284,6 +295,46 @@
284
295
  "default": "1",
285
296
  "isRequired": false,
286
297
  "description": "Skips upstream's update check (an npm child process and a registry fetch) on every start; the version is pinned."
298
+ },
299
+ {
300
+ "name": "OCEAN_BROWSER_PROFILE",
301
+ "isRequired": false,
302
+ "description": "Tool profile: standard (default), full, lean or slim. Set with `ocean browser profile <name>`."
303
+ },
304
+ {
305
+ "name": "OCEAN_BROWSER_BLOCKED",
306
+ "isRequired": false,
307
+ "description": "URL patterns the browser refuses while attached, comma- or newline-separated. Set with `ocean browser block`."
308
+ },
309
+ {
310
+ "name": "OCEAN_BROWSER_CURSOR",
311
+ "isRequired": false,
312
+ "description": "0 hides the agent pointer and frame."
313
+ },
314
+ {
315
+ "name": "OCEAN_BROWSER_PREVIEW",
316
+ "isRequired": false,
317
+ "description": "0 stops saving screenshot previews."
318
+ },
319
+ {
320
+ "name": "OCEAN_BROWSER_USAGE",
321
+ "isRequired": false,
322
+ "description": "0 stops the usage log."
323
+ },
324
+ {
325
+ "name": "OCEAN_BROWSER_SHARED",
326
+ "isRequired": false,
327
+ "description": "0 gives each session its own connection (and its own allow prompt)."
328
+ },
329
+ {
330
+ "name": "OCEAN_BROWSER_IDLE_MIN",
331
+ "isRequired": false,
332
+ "description": "Minutes without a call before the shared connection disconnects (default 480; 0 or never keeps it)."
333
+ },
334
+ {
335
+ "name": "OCEAN_BROWSER_SNAPSHOT_MAX_CHARS",
336
+ "isRequired": false,
337
+ "description": "Largest page snapshot sent whole, in characters (default 40000; 0 = no cap). Larger ones keep interactive elements and headings; the whole tree is saved to a file."
287
338
  }
288
339
  ]
289
340
  }
@@ -295,13 +346,108 @@
295
346
  }
296
347
  }
297
348
  },
349
+ {
350
+ "kind": "mcp",
351
+ "name": "dev.ocean/firefox-devtools",
352
+ "description": "Control Firefox through Mozilla's Firefox MCP (WebDriver BiDi): tabs, navigation, clicks, forms, screenshots, console and network. By default it starts its own Firefox with a separate profile, never the owner's daily one; `ocean browser use firefox` keeps that profile between runs. CONNECT_EXISTING=true attaches to a Firefox the owner started with `--marionette --remote-debugging-port` instead, with that session's cookies and logins. On first use it downloads geckodriver from GitHub. The filesystem permission is declared for consent but not enforced at runtime, and the npm package is pinned by version, not by digest.",
353
+ "permissions": {
354
+ "filesystem": {
355
+ "read": [
356
+ "/Applications/Firefox.app"
357
+ ],
358
+ "write": [
359
+ "~/.local/state/ocean-firefox",
360
+ "~/.cache/selenium"
361
+ ]
362
+ },
363
+ "network": [
364
+ "registry.npmjs.org",
365
+ "github.com",
366
+ "objects.githubusercontent.com",
367
+ "release-assets.githubusercontent.com",
368
+ "localhost",
369
+ "127.0.0.1"
370
+ ],
371
+ "env": [
372
+ "OCEAN_FIREFOX_PROFILE",
373
+ "CONNECT_EXISTING",
374
+ "MARIONETTE_PORT",
375
+ "FIREFOX_HEADLESS",
376
+ "TOOL_PRESET"
377
+ ],
378
+ "exec": [
379
+ "npx"
380
+ ]
381
+ },
382
+ "version": "2.12.0",
383
+ "engines": {
384
+ "ocean": ">=2.12.0"
385
+ },
386
+ "source": {
387
+ "type": "path",
388
+ "path": "market/mcp/firefox-devtools"
389
+ },
390
+ "integrity": {
391
+ "sha256": "c0de223b6deefdf7df07edfa5037e540c8e02da85ee2d6e15c9da23f3bd5caca"
392
+ },
393
+ "spec": {
394
+ "name": "dev.ocean/firefox-devtools",
395
+ "description": "Mozilla's Firefox MCP 0.11.0: drives Firefox over WebDriver BiDi and Marionette, in a separate profile unless told to attach to a running Firefox.",
396
+ "packages": [
397
+ {
398
+ "registryType": "npm",
399
+ "identifier": "@mozilla/firefox-mcp",
400
+ "version": "0.11.0",
401
+ "transport": {
402
+ "type": "stdio"
403
+ },
404
+ "packageArguments": [
405
+ {
406
+ "type": "named",
407
+ "name": "--profile-path",
408
+ "value": "{OCEAN_FIREFOX_PROFILE}",
409
+ "isRequired": false,
410
+ "description": "Folder for the dedicated Firefox profile; unset uses a fresh temporary one each run. Set with `ocean browser use firefox`."
411
+ }
412
+ ],
413
+ "environmentVariables": [
414
+ {
415
+ "name": "CONNECT_EXISTING",
416
+ "isRequired": false,
417
+ "description": "true attaches to a running Firefox started with --marionette --remote-debugging-port, instead of starting one."
418
+ },
419
+ {
420
+ "name": "MARIONETTE_PORT",
421
+ "isRequired": false,
422
+ "description": "Marionette port of that running Firefox (default 2828)."
423
+ },
424
+ {
425
+ "name": "FIREFOX_HEADLESS",
426
+ "isRequired": false,
427
+ "description": "true starts Firefox without a window."
428
+ },
429
+ {
430
+ "name": "TOOL_PRESET",
431
+ "isRequired": false,
432
+ "description": "slim, basic (default), developer (debugging, network, console, profiler) or all."
433
+ }
434
+ ]
435
+ }
436
+ ],
437
+ "_meta": {
438
+ "dev.ocean": {
439
+ "clientKey": "firefox-devtools"
440
+ }
441
+ }
442
+ }
443
+ },
298
444
  {
299
445
  "kind": "mcp",
300
446
  "name": "dev.ocean/mcp-gateway",
301
447
  "description": "One MCP endpoint for every registered server: Ocean's own and those installed from the marketplace.",
302
- "version": "2.10.0",
448
+ "version": "2.12.0",
303
449
  "engines": {
304
- "ocean": ">=2.10.0"
450
+ "ocean": ">=2.12.0"
305
451
  },
306
452
  "source": {
307
453
  "type": "path",
@@ -343,9 +489,9 @@
343
489
  "kind": "mcp",
344
490
  "name": "dev.ocean/obsidian",
345
491
  "description": "Ocean's Obsidian vault bridge over MCP.",
346
- "version": "2.10.0",
492
+ "version": "2.12.0",
347
493
  "engines": {
348
- "ocean": ">=2.10.0"
494
+ "ocean": ">=2.12.0"
349
495
  },
350
496
  "source": {
351
497
  "type": "path",
@@ -387,9 +533,9 @@
387
533
  "kind": "mcp",
388
534
  "name": "dev.ocean/ocean",
389
535
  "description": "Ocean's own MCP server: workspace status, tasks, handoffs, sessions and the brain.",
390
- "version": "2.10.0",
536
+ "version": "2.12.0",
391
537
  "engines": {
392
- "ocean": ">=2.10.0"
538
+ "ocean": ">=2.12.0"
393
539
  },
394
540
  "source": {
395
541
  "type": "path",
@@ -441,9 +587,9 @@
441
587
  "npx"
442
588
  ]
443
589
  },
444
- "version": "2.10.0",
590
+ "version": "2.12.0",
445
591
  "engines": {
446
- "ocean": ">=2.10.0"
592
+ "ocean": ">=2.12.0"
447
593
  },
448
594
  "source": {
449
595
  "type": "path",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@amoree-code/ocean",
3
3
  "description": "Local-first memory, tasks and session capture shared by every AI coding client: one private workspace for Claude, Codex, Gemini and more.",
4
- "version": "2.10.0",
4
+ "version": "2.12.0",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "author": "AMEER ABDULKAREEM JABBAR LAMI",
@@ -53,12 +53,12 @@
53
53
  "@langchain/core": "1.2.14",
54
54
  "@langchain/langgraph": "1.4.19",
55
55
  "@modelcontextprotocol/sdk": "1.32.0",
56
- "@ocean/brain": "2.10.0",
57
- "@ocean/context": "2.10.0",
58
- "@ocean/core": "2.10.0",
59
- "@ocean/loop": "2.10.0",
60
- "@ocean/market": "2.10.0",
61
- "@ocean/services": "2.10.0",
56
+ "@ocean/brain": "2.12.0",
57
+ "@ocean/context": "2.12.0",
58
+ "@ocean/core": "2.12.0",
59
+ "@ocean/loop": "2.12.0",
60
+ "@ocean/market": "2.12.0",
61
+ "@ocean/services": "2.12.0",
62
62
  "playwright-core": "^1.48.0",
63
63
  "sqlite-vec": "0.1.9",
64
64
  "zod": "^4.6.5"
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: use-browser
3
3
  description: Open a supplied URL, understand the user's requested outcome from the live page, complete the browser task, and verify the result.
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  category: core
6
6
  ---
7
7
 
@@ -9,23 +9,34 @@ category: core
9
9
 
10
10
  Use when the user gives a URL and asks the agent to complete, fill, test, submit, or otherwise operate the page.
11
11
 
12
- The skill defines the task and verification contract. When the user asks for their own
13
- signed-in Chrome, the routes are in `docs/browser-clients.md`: the marketplace
14
- `dev.ocean/chrome-devtools` entry (wired into every client by `ocean clients apply`), or Playwright MCP.
15
- Ocean's `ocean browser` capability remains the deterministic local backend for repeatable
16
- JSON task files.
12
+ The skill defines the task and verification contract. Pick the backend in this order:
17
13
 
18
- Use Ocean's `ocean browser` capability through the terminal as the default browser backend. Do not switch to `claude-in-chrome`, an extension, or another browser connector unless the user explicitly asks for that backend. If Ocean cannot detect or open a browser, report the exact command result and stop; do not ask the user to install a different browser extension as the first workaround.
14
+ 1. **The `dev.ocean/chrome-devtools` MCP tools** (`list_pages`, `navigate_page`, `take_snapshot`,
15
+ `click`, `fill`, …), when the client has them: they drive the owner's own signed-in browser
16
+ (`ocean browser use` picks which one), and the owner sees a pointer and a blue "Ocean" frame
17
+ on the tab being driven. Routes and setup: `docs/browser-clients.md`.
18
+ 2. **`dev.ocean/firefox-devtools`**, only when the user asks for Firefox.
19
+ 3. **The `ocean browser` terminal capability** for repeatable JSON task files, or when the client
20
+ has no browser MCP tools.
21
+
22
+ Do not switch to `claude-in-chrome`, an extension, or another browser connector unless the user explicitly asks for that backend. If the browser cannot be reached, report the exact error and stop (the usual cause: the browser is closed or its inspect page's remote debugging is off, and `ocean doctor` says which); do not ask the user to install a different browser extension as the first workaround.
23
+
24
+ With the MCP tools:
25
+
26
+ - Act on snapshot `uid`s. After the first full snapshot, later snapshots on the same page carry only the lines that changed, and unchanged `uid`s still work; call `take_snapshot` when you need the whole tree again. A very large page is cut to its interactive elements and headings, with the whole tree saved to the file the note names.
27
+ - `list_pages` shows every tab; other replies show only the selected tab.
28
+ - Take a screenshot only when the answer is visual (layout, RTL/Arabic rendering, charts, proof of a result). The reply carries a `Preview:` path the owner can open.
29
+ - The browser asks the owner once to allow the connection; it is shared by every session. `ocean browser stop` ends it.
19
30
 
20
31
  ## Cost-aware execution
21
32
 
22
- Keep browser work bounded and token-efficient. Use one `observe` and one targeted `read` before acting, prefer `extract` over rereading the whole page, and keep page text bounded. Do not run exploratory shell scripts or repeated reload/undo cycles when a deterministic browser operation is unavailable. Use at most one retry for a reversible step and no automatic retry for submit, upload, purchase, message, or other consequential actions. If the live state is ambiguous after the bounded attempt, stop and report the blocker instead of spending more tokens guessing.
33
+ Keep browser work bounded and token-efficient. With the terminal capability, use one `observe` and one targeted `read` before acting, prefer `extract` over rereading the whole page, and keep page text bounded. Do not run exploratory shell scripts or repeated reload/undo cycles when a deterministic browser operation is unavailable. Use at most one retry for a reversible step and no automatic retry for submit, upload, purchase, message, or other consequential actions. If the live state is ambiguous after the bounded attempt, stop and report the blocker instead of spending more tokens guessing.
23
34
 
24
35
  ## Workflow
25
36
 
26
37
  1. Treat the URL as the starting location, not as permission to perform every possible action on the site.
27
- 2. Open or reconnect to an Ocean browser session with a persistent profile. Navigate to the URL.
28
- 3. Inspect the live page with `observe`, `read`, and targeted `extract`. Identify the page's current state, the user's intended outcome, required fields, available controls, and a concrete success signal.
38
+ 2. With the MCP tools, `list_pages`, then `select_page` an existing tab or `new_page` for the URL; with the terminal, open or reconnect to an Ocean browser session with a persistent profile and navigate to the URL.
39
+ 3. Inspect the live page (`take_snapshot`; in the terminal, `observe`, `read`, and targeted `extract`). Identify the page's current state, the user's intended outcome, required fields, available controls, and a concrete success signal.
29
40
  4. Build the smallest step sequence that reaches the requested outcome. Prefer stable labels, roles, names, ids, and visible text. Use editor selectors for `contenteditable`, CodeMirror/Monaco containers, and `frame >>> editor` for same-origin iframe editors.
30
41
  5. For code-editor changes, use `ocean browser replace-text <session-id> <selector> <old-text> <new-text> --occurrence <n>` when replacing a specific token. Never simulate a precise replacement by clicking and typing into the middle of a Monaco/CodeMirror line. Verify the returned editor value and then re-read the page.
31
42
  6. Execute through Ocean browser operations or a bounded browser task file. Keep the task file small, cap retries at 0–1, and cap total steps to the minimum needed. After every state-changing step, verify the live post-condition. Stop if the page state contradicts the plan.
@@ -47,9 +58,9 @@ verify: <observable success signal>
47
58
  Use one bounded loop, verify every state-changing action, and stop when the
48
59
  success signal is present or a required human decision is reached.
49
60
 
50
- ## Ocean execution shape
61
+ ## Ocean terminal execution shape
51
62
 
52
- Use the browser capability's session lifecycle and task runner:
63
+ When using the terminal capability, use its session lifecycle and task runner:
53
64
 
54
65
  ```text
55
66
  ocean browser detect
package/skills/index.json CHANGED
@@ -56,7 +56,7 @@
56
56
  {
57
57
  "name": "use-browser",
58
58
  "description": "Open a supplied URL, understand the user's requested outcome from the live page, complete the browser task, and verify the result.",
59
- "version": "1.0.0",
59
+ "version": "1.1.0",
60
60
  "category": "core"
61
61
  },
62
62
  {