fix(release): publish correct native version in fork.7

This commit is contained in:
leeguooooo
2026-02-28 11:29:21 +09:00
parent 2a397de59f
commit 74fda70b67
5 changed files with 15 additions and 7 deletions
+2 -1
View File
@@ -4,10 +4,11 @@ version = 4
[[package]]
name = "agent-browser-stealth"
version = "0.15.1-fork.6"
version = "0.15.1-fork.7"
dependencies = [
"base64",
"dirs",
"getrandom",
"libc",
"serde",
"serde_json",
+2 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "agent-browser-stealth"
version = "0.15.1-fork.6"
version = "0.15.1-fork.7"
edition = "2021"
description = "Stealth browser automation CLI for AI agents with anti-bot evasions"
license = "Apache-2.0"
@@ -18,6 +18,7 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
dirs = "5.0"
base64 = "0.22"
getrandom = "0.2"
[target.'cfg(unix)'.dependencies]
libc = "0.2"
+9
View File
@@ -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>) {
let changed = data
.get("changed")
+1 -1
View File
@@ -1,6 +1,6 @@
{
"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",
"type": "module",
"main": "dist/daemon.js",
+1 -4
View File
@@ -5,7 +5,7 @@ import * as os from 'os';
import { BrowserManager } from './browser.js';
import { IOSManager } from './ios-manager.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 { StreamServer } from './stream-server.js';
import {
@@ -333,9 +333,6 @@ export async function startDaemon(options?: {
// Clean up expired state files on startup
runCleanupExpiredStates();
// Initialize action policy enforcement
initActionPolicy();
// Determine provider from options or environment
const provider = options?.provider ?? process.env.AGENT_BROWSER_PROVIDER;
const isIOS = provider === 'ios';