@velmlabs/unstuck 0.1.5 → 0.1.6
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.d.ts +2 -0
- package/dist/index.js +3 -2
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -43,6 +43,8 @@ declare class Unstuck {
|
|
|
43
43
|
* sites the flow needs, e.g. ['accounts.google.com'] for a Google sign-in or a 3-D Secure provider.
|
|
44
44
|
*/
|
|
45
45
|
allowedSites?: string[];
|
|
46
|
+
/** With Unstuck Cloud, the link is also sent to your paired phones; false skips that for this takeover (default true). */
|
|
47
|
+
alerts?: boolean;
|
|
46
48
|
}): Promise<TakeoverResult>;
|
|
47
49
|
/** Stops the engine (cancelling any running takeover). */
|
|
48
50
|
close(): Promise<void>;
|
package/dist/index.js
CHANGED
|
@@ -74,7 +74,7 @@ var UnstuckEngineError = class extends Error {
|
|
|
74
74
|
};
|
|
75
75
|
|
|
76
76
|
// src/version.ts
|
|
77
|
-
var VERSION = "0.1.
|
|
77
|
+
var VERSION = "0.1.6";
|
|
78
78
|
|
|
79
79
|
// src/engine-process.ts
|
|
80
80
|
var requireFromHere = createRequire(import.meta.url);
|
|
@@ -241,7 +241,8 @@ var Unstuck = class {
|
|
|
241
241
|
timeoutS: opts.timeoutS ?? this.opts.timeoutS,
|
|
242
242
|
site: siteOf(attached.url()),
|
|
243
243
|
...requireCode !== void 0 ? { requireCode } : {},
|
|
244
|
-
...opts.allowedSites?.length ? { allowedSites: opts.allowedSites } : {}
|
|
244
|
+
...opts.allowedSites?.length ? { allowedSites: opts.allowedSites } : {},
|
|
245
|
+
...opts.alerts !== void 0 ? { alerts: opts.alerts } : {}
|
|
245
246
|
};
|
|
246
247
|
const died = engine.exited.then((code) => {
|
|
247
248
|
throw new UnstuckEngineError(`engine exited with code ${code}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@velmlabs/unstuck",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Human takeover for AI browser agents: when your agent gets stuck, a person takes over the live browser and hands it back.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"node": ">=20"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@velmlabs/unstuck-engine": "0.1.
|
|
45
|
-
"@velmlabs/unstuck-protocol": "0.1.
|
|
44
|
+
"@velmlabs/unstuck-engine": "0.1.6",
|
|
45
|
+
"@velmlabs/unstuck-protocol": "0.1.6"
|
|
46
46
|
},
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|