
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@xofeulb/bluefox-server
Advanced tools
HTTP and WS Server for BlueFox and BlueFoxServer (VSCode)
npm i @xofeulb/bluefox-server
import { BlueFoxServer } from "../src/index.js";
import fs from "fs";
import child_process from "child_process";
let sleep = (msec) => new Promise((resolve) => setTimeout(resolve, msec));
if (!fs.existsSync("./test/BlueFoxScript-Examples")) {
child_process.execSync("git clone https://github.com/xoFeulB/BlueFoxScript-Examples.git ./test/BlueFoxScript-Examples");
} else {
child_process.execSync("git -C ./test/BlueFoxScript-Examples pull");
}
const gate = new BlueFoxServer.Gate(9999);
const server = new BlueFoxServer.Server("./test/BlueFoxScript-Examples", "ws://127.0.0.1:9999");
gate.start();
server.start();
let BlueFox = await gate.webSocketServer.openChrome("jmkijjjfiimebohbccipaahimknabkfe");
let config = async () => {
// window scope
url = "https://ooo.bluefox.ooo/BlueFoxDemo/8bit.html"; // or window.url
blueFoxScript = await new BlueFoxScript();
};
let callable = async () => {
let tab = await blueFoxScript.createWindow(url);
let result = await tab.dispatchScriptTillTrue(
// in https://ooo.bluefox.ooo/BlueFoxDemo/8bit.html scope
() => {
if (document.querySelector("[out]").textContent == "#80") {
return [...document.querySelectorAll("input")].map((_) => {
return {
testid: _.attributes["data-testid"].value,
checked: _.checked,
}
});
} else {
return false;
}
},
(max_polling = 100)
);
alert(JSON.stringify(result.result.value, null, 4));
return result.result.value;
}
await sleep(5000);
await BlueFox.runScript(`(${config.toString()})();`);
let result = await BlueFox.runScript(
`(${callable.toString()})();`
);
if (JSON.stringify({
type: 'object',
value: [
{ checked: true, testid: 'bit-8' },
{ checked: false, testid: 'bit-7' },
{ checked: false, testid: 'bit-6' },
{ checked: false, testid: 'bit-5' },
{ checked: false, testid: 'bit-4' },
{ checked: false, testid: 'bit-3' },
{ checked: false, testid: 'bit-2' },
{ checked: false, testid: 'bit-1' }
]
}) == JSON.stringify(result.result)) {
console.info("OK");
} else {
console.info("NG");
}
FAQs
HTTP and WS Server for BlueFox and BlueFoxServer (VSCode)
The npm package @xofeulb/bluefox-server receives a total of 2 weekly downloads. As such, @xofeulb/bluefox-server popularity was classified as not popular.
We found that @xofeulb/bluefox-server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.