opensteer 0.8.0 → 0.8.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/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { resolveOpensteerRuntimeConfig, createOpensteerSemanticRuntime, OpensteerBrowserManager, OpensteerRuntime } from './chunk-2UMBR4XO.js';
2
- export { CloudSessionProxy, DEFAULT_OPENSTEER_ENGINE, DEFERRED_MATCH_ATTR_KEYS, ElementPathError, MATCH_ATTRIBUTE_PRIORITY, OPENSTEER_DOM_ACTION_BRIDGE_SYMBOL, OPENSTEER_ENGINE_NAMES, OPENSTEER_FILESYSTEM_WORKSPACE_LAYOUT, OPENSTEER_FILESYSTEM_WORKSPACE_VERSION, OpensteerAttachAmbiguousError, OpensteerBrowserManager, OpensteerCloudClient, OpensteerRuntime, STABLE_PRIMARY_ATTR_KEYS, buildArrayFieldPathCandidates, buildPathCandidates, buildPathSelectorHint, buildSegmentSelector, cloneElementPath, cloneReplayElementPath, cloneStructuralElementAnchor, createDomRuntime, createFilesystemOpensteerWorkspace, createOpensteerSemanticRuntime, defaultFallbackPolicy, defaultPolicy, defaultRetryPolicy, defaultSettlePolicy, defaultTimeoutPolicy, delayWithSignal, discoverLocalCdpBrowsers, dispatchSemanticOperation, hasPersistedCloudSession, inspectCdpEndpoint, isCurrentUrlField, isValidCssAttributeKey, listLocalChromeProfiles, normalizeExtractedValue, normalizeOpensteerEngineName, normalizeOpensteerExecutionMode, normalizeWorkspaceId, readPersistedCloudSessionRecord, resolveCloudConfig, resolveCloudSessionRecordPath, resolveDomActionBridge, resolveExtractedValueInContext, resolveFilesystemWorkspacePath, resolveOpensteerEngineName, resolveOpensteerExecutionMode, resolveOpensteerRuntimeConfig, runWithPolicyTimeout, sanitizeElementPath, sanitizeReplayElementPath, sanitizeStructuralElementAnchor, settleWithPolicy, shouldKeepAttributeForPath } from './chunk-2UMBR4XO.js';
1
+ import { resolveOpensteerRuntimeConfig, createOpensteerSemanticRuntime, OpensteerBrowserManager, OpensteerRuntime } from './chunk-X3G6QSCF.js';
2
+ export { CloudSessionProxy, DEFAULT_OPENSTEER_ENGINE, DEFERRED_MATCH_ATTR_KEYS, ElementPathError, MATCH_ATTRIBUTE_PRIORITY, OPENSTEER_DOM_ACTION_BRIDGE_SYMBOL, OPENSTEER_ENGINE_NAMES, OPENSTEER_FILESYSTEM_WORKSPACE_LAYOUT, OPENSTEER_FILESYSTEM_WORKSPACE_VERSION, OpensteerAttachAmbiguousError, OpensteerBrowserManager, OpensteerCloudClient, OpensteerRuntime, STABLE_PRIMARY_ATTR_KEYS, buildArrayFieldPathCandidates, buildPathCandidates, buildPathSelectorHint, buildSegmentSelector, cloneElementPath, cloneReplayElementPath, cloneStructuralElementAnchor, createDomRuntime, createFilesystemOpensteerWorkspace, createOpensteerSemanticRuntime, defaultFallbackPolicy, defaultPolicy, defaultRetryPolicy, defaultSettlePolicy, defaultTimeoutPolicy, delayWithSignal, discoverLocalCdpBrowsers, dispatchSemanticOperation, hasPersistedCloudSession, inspectCdpEndpoint, isCurrentUrlField, isValidCssAttributeKey, listLocalChromeProfiles, normalizeExtractedValue, normalizeOpensteerEngineName, normalizeOpensteerExecutionMode, normalizeWorkspaceId, readPersistedCloudSessionRecord, resolveCloudConfig, resolveCloudSessionRecordPath, resolveDomActionBridge, resolveExtractedValueInContext, resolveFilesystemWorkspacePath, resolveOpensteerEngineName, resolveOpensteerExecutionMode, resolveOpensteerRuntimeConfig, runWithPolicyTimeout, sanitizeElementPath, sanitizeReplayElementPath, sanitizeStructuralElementAnchor, settleWithPolicy, shouldKeepAttributeForPath } from './chunk-X3G6QSCF.js';
3
3
 
4
4
  // src/sdk/opensteer.ts
5
5
  var Opensteer = class {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opensteer",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "description": "Opensteer browser automation, replay, and reverse-engineering toolkit.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -69,10 +69,10 @@
69
69
  }
70
70
  },
71
71
  "devDependencies": {
72
- "@opensteer/engine-abp": "0.8.0",
73
72
  "@opensteer/browser-core": "0.7.0",
74
- "@opensteer/protocol": "0.7.0",
75
- "@opensteer/cloud-contracts": "0.7.0"
73
+ "@opensteer/cloud-contracts": "0.7.0",
74
+ "@opensteer/engine-abp": "0.8.0",
75
+ "@opensteer/protocol": "0.7.0"
76
76
  },
77
77
  "scripts": {
78
78
  "build": "tsup && node ../../scripts/sync-package-skills.mjs",
package/skills/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Opensteer Skills
2
2
 
3
- First-party Opensteer skills published from this repository for agents that use the upstream [`skills`](https://skills.sh) ecosystem.
3
+ First-party Opensteer skills published from this repository. Install them through the upstream [`skills`](https://skills.sh) CLI into Claude Code, Codex, and other compatible agents.
4
4
 
5
5
  ## Install
6
6
 
@@ -8,6 +8,18 @@ First-party Opensteer skills published from this repository for agents that use
8
8
  opensteer skills install
9
9
  ```
10
10
 
11
+ Install into Claude Code explicitly:
12
+
13
+ ```bash
14
+ opensteer skills install --agent claude-code
15
+ ```
16
+
17
+ List the packaged skills without installing them:
18
+
19
+ ```bash
20
+ opensteer skills install --list
21
+ ```
22
+
11
23
  ## Available Skills
12
24
 
13
25
  - `opensteer`: workspace-backed browser automation, structured DOM extraction, and browser-backed request replay with the Opensteer CLI and SDK
@@ -1,10 +1,13 @@
1
1
  ---
2
2
  name: opensteer
3
- description: "Workspace-backed browser automation, structured DOM extraction, and browser-backed request replay with the Opensteer CLI and SDK. Use when a task needs a real Chromium session, persistent browser state in a repo workspace, descriptor-backed DOM actions or extraction, or captured request plans and recipes."
3
+ description: "Handles Opensteer browser automation, structured DOM extraction, and browser-backed request replay with the Opensteer CLI and SDK. Use when the user mentions Opensteer, browser automation, real Chromium sessions, persistent workspace browser state, descriptor-backed DOM actions or extraction, request plans, recipes, or browser-backed API replay."
4
+ argument-hint: "[goal]"
4
5
  ---
5
6
 
6
7
  # Opensteer
7
8
 
9
+ If invoked directly, treat `$ARGUMENTS` as the concrete browser or replay goal. First decide whether the task is primarily DOM automation, request capture/replay, or workspace browser administration.
10
+
8
11
  Use this skill when a task needs a real browser workflow, persistent workspace browser state, structured DOM extraction, or browser-backed request replay.
9
12
 
10
13
  Choose the reference that matches the job:
@@ -13,6 +16,12 @@ Choose the reference that matches the job:
13
16
  - SDK automation and reusable code: [references/sdk-reference.md](references/sdk-reference.md)
14
17
  - Request capture, plans, and recipes: [references/request-workflow.md](references/request-workflow.md)
15
18
 
19
+ ## Startup Checks
20
+
21
+ - Verify `opensteer` is available in the repo or on `PATH` before planning the workflow.
22
+ - If Chromium binaries are missing, install them through Playwright before debugging page behavior.
23
+ - Reuse an existing workspace id for the same site or feature when one already exists.
24
+
16
25
  ## Mental Model
17
26
 
18
27
  - `workspace` / `--workspace` is the durable unit of state. Persistent workspaces live under `.opensteer/workspaces/<id>`.
@@ -31,7 +40,6 @@ Choose the reference that matches the job:
31
40
 
32
41
  ## Shared Rules
33
42
 
34
- - Keep one stable workspace id per site or feature.
35
43
  - Use `snapshot("action")` or `snapshot action` before counter-based `element` targets.
36
44
  - Re-snapshot after navigation or DOM-changing actions before reusing element counters.
37
45
  - In the SDK, `selector + description` or `element + description` persists a DOM action descriptor. `description` alone reuses it later.
@@ -2,6 +2,14 @@
2
2
 
3
3
  Use the CLI when you need a fast JSON-first loop against a repo-local workspace browser.
4
4
 
5
+ ## Sections
6
+
7
+ - [Quickstart](#quickstart)
8
+ - [Browser Lifecycle And Profile Cloning](#browser-lifecycle-and-profile-cloning)
9
+ - [Browser Modes](#browser-modes)
10
+ - [Advanced Semantic Operations](#advanced-semantic-operations)
11
+ - [Extraction Schema Examples](#extraction-schema-examples)
12
+
5
13
  ## Quickstart
6
14
 
7
15
  ```bash
@@ -2,6 +2,17 @@
2
2
 
3
3
  Use this workflow when the deliverable is a custom API, a replayable request plan, or a lower-overhead path than full browser automation.
4
4
 
5
+ ## Sections
6
+
7
+ - [Standard Loop](#standard-loop)
8
+ - [Transport Selection](#transport-selection)
9
+ - [SDK Flow](#sdk-flow)
10
+ - [CLI Equivalents](#cli-equivalents)
11
+ - [Transport Probing](#transport-probing)
12
+ - [Auth Token Acquisition](#auth-token-acquisition)
13
+ - [Input Formats](#input-formats)
14
+ - [Practical Guidance](#practical-guidance)
15
+
5
16
  ## Standard Loop
6
17
 
7
18
  1. Trigger the real browser action that causes the request inside a stable workspace.
@@ -2,6 +2,15 @@
2
2
 
3
3
  Use the SDK when the workflow should become reusable TypeScript code in the repository.
4
4
 
5
+ ## Sections
6
+
7
+ - [Construction](#construction)
8
+ - [DOM Automation And Extraction](#dom-automation-and-extraction)
9
+ - [Browser Admin](#browser-admin)
10
+ - [Request Capture, Plans, And Recipes](#request-capture-plans-and-recipes)
11
+ - [Common Methods](#common-methods)
12
+ - [Rules](#rules)
13
+
5
14
  ## Construction
6
15
 
7
16
  ```ts