
Security News
Lovable’s OJ Rewrites Vite’s Dev Server in Rust as AI Lowers the Cost of Forking Open Source
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.
@toa.io/agent
Advanced tools
Text-based HTTP client with variables and expressions.
id [length]: generate UUID in hex format, truncated to a given length if provided.email (@domain): generate email address with a given domain (default @agent.test).password [length]: generate password of a given length (default 16).basic [credentials]: encode credentials.username and credentials.password to base64-encoded
credentials.
If credentials is omitted, generates a random username and password.now [shift]: result of Date.now(), optionally shifted by a given number of milliseconds.1utc: current date (or the current pipeline value) in RFC 1123 format.set (variable): set a variable to the current pipeline value.print: print the current pipeline value to the console.POST /identity/basic/ HTTP/1.1
host: the.one.com
accept: application/yaml
content-type: application/yaml
username: #{{ email @bubbas.net | set Bubba.username }}
password: #{{ password 8 | set Bubba.password }}
GET / HTTP/1.1
host: the.one.com
authorization: Basic #{{ basic Bubba }}
import { Agent, Captures, type Functions } from '@toa.io/agent'
const functions: Functions = {
duplicate: function (this: Captures, value: string, arg: string): string {
return arg + arg
},
append: function (this: Captures, value: string, arg: string): string {
return value + arg
}
}
const captures = new Captures(functions)
const agent = new Agent('http://localhost:8000', captures)
PUT / HTTP/1.1
content-type: application/yaml
foo: #{{ duplicate bar | append baz }}
In the above example, foo will be set to barbarbaz.
Also supports some human-readable values like now -1d, now +1h. Supported units
are ms, s, sec, m, min, h, hr, hour, hours, d, day, days. ↩
FAQs
Text-based HTTP client
The npm package @toa.io/agent receives a total of 279 weekly downloads. As such, @toa.io/agent popularity was classified as not popular.
We found that @toa.io/agent demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.