Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@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.3.8
SERVER_CONFIG
to allow customizing the OpenTelemetry resource.systemPortal
will now always show bot system.meshPositioningMode
tag to prevent CasualOS from repositioning meshes around the center of the bot.
center
- The mesh will be positioned so it is centered around the bot's center. (Default)absolute
- The mesh won't be repositioned. It will retain the position configured in the GLTF.ai.chat()
and ai.stream.chat()
.
SERVER_CONFIG
needs to be configured with an Anthropic API Key and allowed anthropic
models.stable-image-ultra
, stable-image-core
, sd3-medium
, sd3-large
, sd3-large-turbo
AI image generation models.minio
property in SERVER_CONFIG
.SERVER_CONFIG.moderation.jobs.files
and SERVER_CONFIG.rekognition.moderation
properties.SERVER_CONFIG.notifications
configuration.
file
resources and scanned
actions..png
.webp
.jpg
.jpeg
.gif
superUser
by using the scanFileForModeration
procedure.os.getScriptIssues
function.
mapPortal
would not be able to be closed after having loaded the mapPortal
for a different inst.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 139 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 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.