@casual-simulation/crypto
Advanced tools
Changelog
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.Changelog
V3.2.7
SessionSelector
parameter for remote(action, selector?)
has changed.
session
, username
, and device
were valid properties.sessionId
, userId
, and connectionId
.os.checkout()
os.finishCheckout()
os.instances()
os.instStatuses()
server.setupServer()
os.setupInst()
server.backupToGithub()
server.backupAsDownload()
server.finishCheckout()
server.markHistory()
server.browseHistory()
server.restoreHistoryMark()
server.restoreHistoryMarkToServer()
server.restoreHistoryMarkToInst()
server.serverStatuses()
server.servers()
server.stories()
server.loadFile()
server.saveFile()
crypto.createCertificate()
crypto.signTag()
crypto.verifyTag()
crypto.revokeCertificate()
server.rpioXYZ
functions.server.serialXYZ
functions.adminSpace
functions.SHARED_PARTITIONS_VERSION
is now always v2
.causal-tree
packages.
aux-common
, aux-records
, and aux-server
.SERVER_CONFIG.subscriptions.subscriptions.defaultSubscription
to be used to indicate that the subscription should be automatically given to users who do not have an active subscription.bios
query parameter. It accepts one of the following values:
static inst
- Generates a static inst (device only). Static insts support local device storage, but do not sync across devices or browsers.private inst
- Generates a private inst that is synced to the cloud.public inst
- Generates a temporary public inst. This used to be the default.enter join code
- Show the BIOS screen box with the "enter join code" option already selected.sign in
- Show the BIOS screen with the "sign in" option already selected.sign up
- Show the BIOS screen with the "sign up" option already selected.sign out
- Show the BIOS screen with the "sign out" option already selected.owner
query parameter. It supports the following values:
player
- Use the currently logged in user as the owner.public
- Use the temporary public partition as the owner.owner
query parameter is specified but no inst is specified, then the BIOS screen will be shown.inst
query parameter is specified but no owner is specified, then a temporary public inst will be loaded.permalink
tag to the configBot
.
owner
query param is replaced with the actual record that the inst was loaded from.record
tag to the configBot
.
os.listUserStudios()
to include the subscription tier of each studio.light
form.
pointLight
, ambientLight
, directionalLight
, spotLight
, and hemisphereLight
subtypes.formLightIntensity
tag.formLightTarget
tag.formLightDistance
tag.formLightAngle
tag.formLightPenumbra
tag.formLightDecay
tag.formLightGroundColor
tag.password
subtype.os.requestAuthBotInBackground()
function.
os.requestAuthBot()
except that the user will not be prompted to login.null
if the user is not signed in.REQUIRE_PRIVO_LOGIN
environment variable during build to control whether login with Privo is required.DEFAULT_BIOS_OPTION
environment variable during build to control which BIOS option is selected by default.AUTOMATIC_BIOS_OPTION
environment variable during build to specify the BIOS option that should be executed by default. Setting this to a valid BIOS value will skip the BIOS screen.AUTH_WEBSOCKET_ENDPOINT
environment variable during build to control the websocket endpoint that the auth site looks for.tiers.data.maxItemSizeInBytes
.
500000
(500KB) is used.null
can be used to remove the limit.privacyFeatures
tag to the authBot
. It is an object with the following properties:
publishData
- A boolean that specifies whether the user is allowed to publish any data at all.allowPublicData
- A boolean that specifies whether the user is allowed to publish or access public data.allowAI
- A boolean that specifies whether the user is allowed to access AI features.allowPublicInsts
- A boolean that specifies whether the user is allowed to access public insts.os.reportInst()
function.
os.getCurrentInst
would not work properly if multiple instances are loadedos.enablePointOfView()
with IMU data would not produce correct rotations.