@oya-ai/cli 1.0.87 → 1.0.89
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 +4 -3
- 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.
|
|
178
|
-
*
|
|
179
|
-
*
|
|
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.
|
|
3
|
+
"version": "1.0.89",
|
|
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.
|
|
42
|
+
"@oya-ai/browser": "1.0.89",
|
|
43
43
|
"@types/node": "^20.19.43",
|
|
44
44
|
"tsup": "^8.0.0",
|
|
45
45
|
"typescript": "^5.4.0"
|