
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.
@casual-simulation/aux-vm-client
Advanced tools
A set of utilities required to securely run an AUX as a client.
A set of utilities required to run an AUX as a client.
npm install @casual-simulation/aux-vm-client
import { RemoteAuxChannel } from '@casual-simulation/aux-vm-client';
import { AuxUser, AuxConfig } from '@casual-simulation/aux-vm';
export class MyCustomChannel extends RemoteAuxChannel {
constructor(defaultHost: string, user: AuxUser, config: AuxConfig) {
super(defaultHost, user, config, {});
}
// Override the _handleServerEvents function
// to handle events sent from a remote device.
protected async _handleServerEvents(events: DeviceAction[]) {
await super._handleServerEvents(events);
let filtered = events.filter(
e => e.device.roles.indexOf(SERVER_ROLE) >= 0
);
let mapped = <BotAction[]>filtered.map(e => e.event);
if (filtered.length > 0) {
await this.sendEvents(mapped);
}
}
}
V3.7.0
?staticInst
in the URL query) to no longer require separate permission for performing records actions.
os.grantInstAdminPermission()
, which was a workaround to allow people to grant an inst permissions.os.grantInstAdminPermission()
in development.pack-aux
and unpack-aux
commands in the CLI to replace bot IDs with a placeholder by default.
@onClick
and @onAnyBotClicked
for code tool bots:
codeBot
- The bot that is currently being displayed in the code editor.codeTag
- The tag that is currently being displayed in the code editor.codeTagSpace
- The space of the tag that is currently being displayed in the code editor.os.recordSearchCollection(request)
- Creates or updates a Search collection. Each collection exists at an address and is assigned its own unique collection name.os.getSearchCollection(recordName, address)
- Gets information about a search collection.os.eraseSearchCollection(recordName, address)
- Deletes a search collection.os.listSearchCollections(recordName, startingAddress?)
- Lists search collections in a record.os.listSearchCollectionsByMarker(recordName, marker, startingAddress?)
- Lists search collections by marker.os.recordSearchDocument(request)
- Creates a document inside a search collection.os.eraseSearchDocument(recordName, address, documentId)
- Deletes a document from a search collection.typesense
object in the server config.const casualOsImportMap =
document.getElementById('default-import-map');
if (!casualOsImportMap) {
console.error('CasualOS import map not found!');
return;
}
const defaultImportMap = JSON.parse(casualOsImportMap.textContent);
const mapScript = document.createElement('script');
mapScript.id = 'react-import-map';
mapScript.type = 'importmap';
mapScript.textContent = JSON.stringify({
imports: {
react: defaultImportMap.imports['preact/compat'],
'react-dom': defaultImportMap.imports['preact/compat'],
'react/jsx-runtime':
defaultImportMap.imports['preact/jsx-runtime'],
},
});
document.head.append(mapScript);
unpack-aux
CLI command where tags that failed to be written would be omitted from the bot AUX file.e123
would be recognized as numbers.os.installPackage()
and os.listInstalledPackages()
would require the user to login first.os.getSharedDocument()
with a record key would sometimes fail.FAQs
A set of utilities required to securely run an AUX as a client.
The npm package @casual-simulation/aux-vm-client receives a total of 55 weekly downloads. As such, @casual-simulation/aux-vm-client popularity was classified as not popular.
We found that @casual-simulation/aux-vm-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.