@oya-ai/cli 1.0.87 → 1.0.88

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 (2) hide show
  1. package/dist/index.js +4 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -174,9 +174,10 @@ var Browser = class {
174
174
  return res.text;
175
175
  }
176
176
  /**
177
- * Save the last `ask()` on this browser as a named playbook. Values that came
178
- * from the prompt (names, IDs, dates) become variables; `code` is the same
179
- * flow as a Playwright module, to read or run yourself.
177
+ * Save the last `ask()` on this browser as a named playbook. Every value that was
178
+ * typed, picked or clicked becomes a variable, with what the run used kept in
179
+ * `defaults`, so `play()` with nothing repeats the run and any one value can be
180
+ * swapped. `code` is the same flow as a Playwright module, to read or run yourself.
180
181
  */
181
182
  toPlaybook(name) {
182
183
  return this.http.request("POST", `/api/browsers/${this.id}/playbooks`, { name }, 12e4);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oya-ai/cli",
3
- "version": "1.0.87",
3
+ "version": "1.0.88",
4
4
  "description": "Command line for the Oya browser control plane.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://browser.getoya.ai",
@@ -39,7 +39,7 @@
39
39
  "access": "public"
40
40
  },
41
41
  "devDependencies": {
42
- "@oya-ai/browser": "1.0.87",
42
+ "@oya-ai/browser": "1.0.88",
43
43
  "@types/node": "^20.19.43",
44
44
  "tsup": "^8.0.0",
45
45
  "typescript": "^5.4.0"