fix(release): publish correct native version in fork.7
This commit is contained in:
Generated
+2
-1
@@ -4,10 +4,11 @@ version = 4
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "agent-browser-stealth"
|
name = "agent-browser-stealth"
|
||||||
version = "0.15.1-fork.6"
|
version = "0.15.1-fork.7"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base64",
|
"base64",
|
||||||
"dirs",
|
"dirs",
|
||||||
|
"getrandom",
|
||||||
"libc",
|
"libc",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
|
|||||||
+2
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "agent-browser-stealth"
|
name = "agent-browser-stealth"
|
||||||
version = "0.15.1-fork.6"
|
version = "0.15.1-fork.7"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Stealth browser automation CLI for AI agents with anti-bot evasions"
|
description = "Stealth browser automation CLI for AI agents with anti-bot evasions"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
@@ -18,6 +18,7 @@ serde = { version = "1.0", features = ["derive"] }
|
|||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
dirs = "5.0"
|
dirs = "5.0"
|
||||||
base64 = "0.22"
|
base64 = "0.22"
|
||||||
|
getrandom = "0.2"
|
||||||
|
|
||||||
[target.'cfg(unix)'.dependencies]
|
[target.'cfg(unix)'.dependencies]
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
|
|||||||
@@ -2514,6 +2514,15 @@ iOS Simulator (requires Xcode and Appium):
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn print_response(resp: &Response, json: bool, action: Option<&str>) {
|
||||||
|
let opts = OutputOptions {
|
||||||
|
json,
|
||||||
|
content_boundaries: false,
|
||||||
|
max_output: None,
|
||||||
|
};
|
||||||
|
print_response_with_opts(resp, action, &opts);
|
||||||
|
}
|
||||||
|
|
||||||
fn print_snapshot_diff(data: &serde_json::Map<String, serde_json::Value>) {
|
fn print_snapshot_diff(data: &serde_json::Map<String, serde_json::Value>) {
|
||||||
let changed = data
|
let changed = data
|
||||||
.get("changed")
|
.get("changed")
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "agent-browser-stealth",
|
"name": "agent-browser-stealth",
|
||||||
"version": "0.15.1-fork.6",
|
"version": "0.15.1-fork.7",
|
||||||
"description": "Stealth browser automation CLI for AI agents with anti-bot evasions",
|
"description": "Stealth browser automation CLI for AI agents with anti-bot evasions",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/daemon.js",
|
"main": "dist/daemon.js",
|
||||||
|
|||||||
+1
-4
@@ -5,7 +5,7 @@ import * as os from 'os';
|
|||||||
import { BrowserManager } from './browser.js';
|
import { BrowserManager } from './browser.js';
|
||||||
import { IOSManager } from './ios-manager.js';
|
import { IOSManager } from './ios-manager.js';
|
||||||
import { parseCommand, serializeResponse, errorResponse } from './protocol.js';
|
import { parseCommand, serializeResponse, errorResponse } from './protocol.js';
|
||||||
import { executeCommand, initActionPolicy } from './actions.js';
|
import { executeCommand } from './actions.js';
|
||||||
import { executeIOSCommand } from './ios-actions.js';
|
import { executeIOSCommand } from './ios-actions.js';
|
||||||
import { StreamServer } from './stream-server.js';
|
import { StreamServer } from './stream-server.js';
|
||||||
import {
|
import {
|
||||||
@@ -333,9 +333,6 @@ export async function startDaemon(options?: {
|
|||||||
// Clean up expired state files on startup
|
// Clean up expired state files on startup
|
||||||
runCleanupExpiredStates();
|
runCleanupExpiredStates();
|
||||||
|
|
||||||
// Initialize action policy enforcement
|
|
||||||
initActionPolicy();
|
|
||||||
|
|
||||||
// Determine provider from options or environment
|
// Determine provider from options or environment
|
||||||
const provider = options?.provider ?? process.env.AGENT_BROWSER_PROVIDER;
|
const provider = options?.provider ?? process.env.AGENT_BROWSER_PROVIDER;
|
||||||
const isIOS = provider === 'ios';
|
const isIOS = provider === 'ios';
|
||||||
|
|||||||
Reference in New Issue
Block a user