mount

NAME

mount — bridge remote or local storage into the virtual filesystem

SYNOPSIS

mount [--source <url>] [--profile <name>] [--no-probe] [--max-body-mb <n>] <target-path>
mount unmount [--clear-cache] <target-path>
mount list
mount refresh [--bodies] <target-path>

DESCRIPTION

mount bridges remote storage into the SLICC virtual filesystem. After mounting, read_file, write_file, edit_file, and shell commands (ls, cat, rm) all operate on the remote source as if it were a local directory. Reads are cached with TTL + ETag semantics; writes use conditional requests for conflict detection.

Mount descriptors persist across browser and server restarts. Credentials never reach the agent runtime — signing and token injection happen server-side (node-server, swift-server) or in the extension service worker.

BACKENDS

OPTIONS

CREDENTIALS

S3 / R2 / MinIO

S3 mounts read credentials from profile-namespaced secrets. Set them with secret set before mounting:

# AWS S3 (default profile)
secret set s3.default.access_key_id     AKIA...      --domain "*.amazonaws.com"
secret set s3.default.secret_access_key wJalr...     --domain "*.amazonaws.com"
secret set s3.default.region            us-east-1    --domain "*.amazonaws.com"

# Cloudflare R2
secret set s3.r2.access_key_id          ...          --domain "*.r2.cloudflarestorage.com"
secret set s3.r2.secret_access_key      ...          --domain "*.r2.cloudflarestorage.com"
secret set s3.r2.endpoint               https://<acct>.r2.cloudflarestorage.com \
                                                     --domain "*.r2.cloudflarestorage.com"

Per-profile keys:

Adobe DA

DA mounts reuse the IMS bearer token from the Adobe LLM provider. No DA-specific secrets are needed. If the user has not authenticated with Adobe, the mount probe fails with EACCES. Authenticate first:

oauth-token adobe

LIFECYCLE

CACHING

The RemoteMountCache (IndexedDB-backed under slicc-mount-cache) sits in front of every read and listing. Default TTL is 30 seconds.

ERRORS

EXAMPLES

# Mount a local folder (cone only)
mount /mnt/project

# Mount an S3 bucket with a prefix
mount --source s3://assets-prod/images --profile aws /mnt/images

# Mount a Cloudflare R2 bucket
mount --source s3://static-site --profile r2 /mnt/r2

# Mount an Adobe DA repo
mount --source da://acme-corp/marketing-site /mnt/da

# List all mounts
mount list

# Refresh a mount after external changes
mount refresh --bodies /mnt/da

# Unmount and clear all cached data
mount unmount --clear-cache /mnt/r2

# Work with mounted files normally
ls /mnt/da
read_file /mnt/da/index.html
write_file /mnt/da/new-page.html "<html>..."
rm /mnt/da/old-draft.html

NOTES

SEE ALSO

secret, oauth-token, fswatch