Browse & search docs
Operation reference
Every operation LoreGUI exposes, grouped by domain. This page is generated from the command-palette manifests (frontend/src/palette/manifest/<domain>/<op>.ts) — the single source of truth — so it tracks the real API automatically. Run any of these from the command palette.
116 operations across 12 domains.
auth
Identity and sign-in: log in to a server, inspect the current user, and log out.
auth.clearpaletteClear all locally stored auth sessions on this device.
No arguments.
auth.local_user_infopaletteResolve user identities from locally cached JWT tokens.
| Argument | Type | Description |
|---|---|---|
authEndpoint | string | Auth Endpoint |
userIds | string[] | User IDs |
withToken | boolean | With Token |
auth.login_interactivepaletteAuthenticate against a remote via browser-based OAuth flow. Returns user identity on success.
| Argument | Type | Description |
|---|---|---|
remoteUrl | string | Remote API URL; empty resolves from the repository config. |
auth.login_with_tokenpaletteAuthenticate against a remote using a bearer token, without a browser; returns the signed-in user.
| Argument | Type | Description |
|---|---|---|
remoteUrl* | string | Remote API URL to authenticate against. |
token* | string | Bearer token to authenticate with. |
auth.logoutpaletteSign out of a server, clearing its stored session.
| Argument | Type | Description |
|---|---|---|
authUrl* | string | Server URL |
resource | string | Resource |
userId | string | User ID |
auth.resolve_user_infopaletteResolve the currently authenticated user's ID and display name.
No arguments.
branch
Create, switch, protect, reset, and archive branches, and drive the guided three-way merge state machine.
branch.archivepaletteArchives a branch locally and on the remote, preventing further commits.
| Argument | Type | Description |
|---|---|---|
branch* | string | The branch name to archive. |
branch.createpaletteCreate a new branch, optionally under a category and with an explicit branch id.
| Argument | Type | Description |
|---|---|---|
branch* | string | Name of the branch to create. |
category | string | Optional branch category (e.g. main, dev). |
id | string | Optional explicit branch id (hex-encoded 16-byte context); leave empty to auto-generate. |
branch.infopaletteShow metadata for a branch — name, category, parent, creator, timestamps, and archive state.
| Argument | Type | Description |
|---|---|---|
branch | string | Branch name; leave empty for the current branch. |
branch.latest_listpaletteList the latest revision history for a branch (newest first).
| Argument | Type | Description |
|---|---|---|
branch | string | Branch name; empty for current branch. |
limit | number | Maximum entries to return; 0 uses the default of 30. |
branch.listpaletteList all branches in the repository, optionally including archived branches.
| Argument | Type | Description |
|---|---|---|
archived | boolean | When enabled, archived branches are included in the listing. |
branch.mergepaletteMerge a named branch into the current branch.
| Argument | Type | Description |
|---|---|---|
name* | string | Name of the branch to merge into the current branch. |
branch.merge_abortpaletteAbort an in-progress branch merge, discarding its staged merge state.
| Argument | Type | Description |
|---|---|---|
link | string | Merge link identifier to abort. |
ignoreLinks | boolean | Ignore link records while aborting. |
branch.merge_intopaletteMerge the current branch into a specified target branch with a commit message.
| Argument | Type | Description |
|---|---|---|
branch* | string | Branch to merge the current branch into. |
branchId | string | Optional explicit id of the target branch. |
message | string | Commit message for the merge. |
link | string | Optional merge link identifier. |
ignoreLinks | boolean | Ignore link records during the merge. |
branch.merge_resolvepaletteMark conflicted files as resolved during an in-progress merge.
| Argument | Type | Description |
|---|---|---|
paths | string[] | Conflicted file paths to mark as resolved. |
branch.merge_resolve_minepaletteResolve merge conflicts by accepting the local (mine) version for the specified paths.
| Argument | Type | Description |
|---|---|---|
paths | string[] | File paths to resolve using the local version (one per line). |
branch.merge_resolve_theirspaletteResolve conflicts on the given paths by taking the incoming (theirs) version.
| Argument | Type | Description |
|---|---|---|
paths* | string[] | Conflicted paths to resolve as theirs (one per line). |
branch.merge_restartpaletteRestart conflict resolution for the given paths in an in-progress branch merge.
| Argument | Type | Description |
|---|---|---|
paths* | string[] | Paths to restart merge resolution for (one per line). |
branch.merge_startpaletteBegin merging another branch into the current branch, optionally committing the result.
| Argument | Type | Description |
|---|---|---|
branch* | string | Branch to merge into the current branch. |
message | string | Commit message for the merge. |
noCommit | boolean | Stage the merge without creating a commit. |
link | string | Optional merge link identifier. |
ignoreLinks | boolean | Ignore link records during the merge. |
branch.merge_unresolvepaletteMark files as unresolved during a merge, reverting previous conflict resolutions.
| Argument | Type | Description |
|---|---|---|
paths | string[] | Paths to mark as unresolved (empty = all conflicted files) |
branch.metadata_getpaletteRead the metadata value stored on a branch under a given key.
| Argument | Type | Description |
|---|---|---|
branch* | string | Branch whose metadata to read. |
key* | string | Metadata key to read. |
branch.protectpaletteApply write protection to a branch, preventing direct commits.
| Argument | Type | Description |
|---|---|---|
branch* | string | Name of the branch to protect. |
branch.resetpaletteReset the local LATEST pointer of a branch to a specific revision.
| Argument | Type | Description |
|---|---|---|
revision* | string | Revision to reset the branch to. |
branch | string | Branch to reset; leave empty for the current branch. |
branch.switchpaletteSwitch the working tree to a different branch.
| Argument | Type | Description |
|---|---|---|
name* | string | Name of the branch to switch to. |
branch.unprotectpaletteRemove write protection from a branch, re-allowing direct commits.
| Argument | Type | Description |
|---|---|---|
branch* | string | The branch name to unprotect. |
dependency
Track and edit the links between a file and the assets it references.
dependency.addpaletteAdd file dependencies to the current repository with optional tags.
| Argument | Type | Description |
|---|---|---|
sources* | string | JSON array of {path, dependencies: [{dependency, tags}]}. Example: [{"path":"a.txt","dependencies":[{"dependency":"b.txt","tags":["texture"]}]}] |
force | boolean | Skip cycle detection. |
dependency.listpaletteList file dependencies or dependents at a given revision.
| Argument | Type | Description |
|---|---|---|
paths* | string[] | File paths to query dependencies for. |
revision | string | Revision to query at; empty for current. |
recursive | boolean | Follow transitive dependencies recursively. |
reverse | boolean | Return dependents (reverse lookup) instead of dependencies. |
tags | string[] | Filter results by these tags. |
depthLimit | number | Maximum recursion depth; 0 for unlimited. |
dependency.removepaletteRemove file dependencies (or specific tags) from the current repository.
| Argument | Type | Description |
|---|---|---|
sources* | string | JSON array of {path, dependencies: [{dependency, tags}]}. Empty tags removes the entire edge. Example: [{"path":"a.txt","dependencies":[{"dependency":"b.txt"}]}] |
file
Stage, unstage, diff, hash, and inspect files, plus per-file history and dependency edits.
file.diffpaletteCompute unified diff between two revisions.
| Argument | Type | Description |
|---|---|---|
paths | string[] | File paths to diff; empty diffs all changed files. |
sourceRevision | string | Source revision (empty = working tree). |
targetRevision | string | Target revision (empty = working tree). |
diff3 | boolean | Produce three-way merge output with conflict markers. |
contextLines | number | Number of unchanged context lines per hunk. |
ignoreWhitespaceEol | boolean | Treat lines that differ only in trailing whitespace as equal. |
ignoreWhitespaceInline | boolean | Collapse runs of internal whitespace to a single space for comparison. |
file.dirtypaletteMark one or more paths as dirty (locally modified) so they are picked up by the next commit.
| Argument | Type | Description |
|---|---|---|
paths* | string[] | Paths to mark as dirty (one per line). |
file.dirty_copypaletteStage a file copy without touching the filesystem. Creates a DirtyCopy node.
| Argument | Type | Description |
|---|---|---|
fromPath* | string | Source path of the file to copy. |
toPath* | string | Destination path for the copy. |
file.dirty_movepaletteMark a file as moved in the staging area.
| Argument | Type | Description |
|---|---|---|
fromPath* | string | Original path of the file to move. |
toPath* | string | New destination path. |
file.dumppaletteDump the binary content of a file by path or address.
| Argument | Type | Description |
|---|---|---|
address | string | Address |
path | string | Path |
file.hashpaletteCompute the BLAKE3 content hash and size of one or more files.
| Argument | Type | Description |
|---|---|---|
paths* | string[] | File paths to hash (relative to repository root). |
file.infopaletteShow metadata for files — size, hash, flags, and staging status.
| Argument | Type | Description |
|---|---|---|
paths* | string[] | Repository-relative paths to query (one per line). |
revision | string | Revision specifier to query (leave empty for working copy). |
local | boolean | Calculate the filtered local filesystem hash and size. |
filtered | boolean | Calculate the filtered repository size. |
file.metadata_listpaletteList all metadata key/value pairs for a file at a given revision.
| Argument | Type | Description |
|---|---|---|
path* | string | Path to the file to list metadata for. |
revision | string | Revision to query; leave empty for the current revision. |
file.obliteratepalettePermanently remove a file's content at a specific address from the store. This is irreversible.
| Argument | Type | Description |
|---|---|---|
path* | string | Repository path of the file to obliterate. |
address* | string | Content address (hash) of the file content to obliterate. |
file.reset_to_last_mergedpaletteReset one or more files to the state they were in at the last merged revision on a given branch.
| Argument | Type | Description |
|---|---|---|
paths* | string[] | Repository-relative paths to reset. One path per line. |
branch* | string | Branch whose last merged revision to reset to. |
purge | boolean | Whether to purge untracked files. |
file.stagepaletteStage one or more paths for the next commit.
| Argument | Type | Description |
|---|---|---|
paths* | string[] | One path per line. |
file.unstagepaletteRemove one or more paths from the staged changeset.
| Argument | Type | Description |
|---|---|---|
paths* | string[] | One path per line to unstage. |
file.writepaletteWrite a file from the repository to a destination path on the filesystem.
| Argument | Type | Description |
|---|---|---|
address | string | Content address to write; takes precedence over path when set. |
path | string | Repository-relative path to the file (used when address is empty). |
revision | string | Revision of the file to write (used with path). |
output* | string | Destination filesystem path to write the file to. |
layer
Compose content in layers — add, remove, and list them.
layer.addpaletteMount a source repository as a layer inside the current repository at a target path.
| Argument | Type | Description |
|---|---|---|
targetPath* | string | Path in the current repository where the layer should be placed. |
sourceRepository* | string | Repository to add as a layer (URL or repository id). |
sourcePath | string | Path in the source repository where the layer should start. Leave empty for the repository root. |
metadata | string | Metadata key used to match revisions between the repositories. Optional. |
link
Add, remove, update, and list the links that compose content.
link.addpaletteAdd a link to a remote repository at the specified path.
| Argument | Type | Description |
|---|---|---|
link* | string | URL or identifier of the repository to link. |
linkPath* | string | Path within this repository where the link is added. |
sourcePath | string | Path within the linked repository to pull from. "/" means the root. |
pin | string | Branch or revision to pin the link at. |
disableBranching | boolean | Disable automatic branch creation in the linked repository. |
link.removepaletteRemove a link from the repository at the specified path.
| Argument | Type | Description |
|---|---|---|
linkPath* | string | Path within this repository where the link to remove is located. |
lock
Advisory per-file locks for unmergeable binary assets — acquire, release, and see who holds what.
lock.file_acquirepaletteAcquire exclusive locks on one or more files for the current user.
| Argument | Type | Description |
|---|---|---|
paths* | string[] | File paths to lock, one per line. |
branch | string | Branch to acquire locks on; leave empty for current branch. |
lock.file_acquire_as_ownerpaletteAcquire exclusive file locks on behalf of another user (admin operation).
| Argument | Type | Description |
|---|---|---|
paths* | string[] | File paths to lock, one per line. |
branch | string | Branch to acquire locks on; leave empty for current branch. |
owner* | string | User ID of the lock owner. |
lock.file_querypaletteList file locks on a branch, optionally filtered by owner or path.
| Argument | Type | Description |
|---|---|---|
branch | string | Branch to query locks on; leave empty for current branch. |
owner | string | Filter by lock owner; leave empty for all owners. |
path | string | Filter by path prefix; leave empty for all paths. |
lock.file_releasepaletteRelease exclusive file locks for the specified paths.
| Argument | Type | Description |
|---|---|---|
paths* | string[] | File paths to unlock, one per line. |
branch | string | Branch the locks were acquired on; leave empty for current branch. |
owner* | string | Lock owner name. |
ownerId* | string | Lock owner ID. |
lock.file_statuspaletteCheck the lock status of one or more files — shows owner and lock time.
| Argument | Type | Description |
|---|---|---|
paths* | string[] | File paths to check, one per line. |
branch | string | Branch to check locks on; leave empty for current branch. |
lock.request_checkinpaletteAsk the holder of a locked file to check it in. They get a tray notification and an inbox entry with Release / Dismiss.
| Argument | Type | Description |
|---|---|---|
path* | string | The locked file you want released. |
branch | string | Branch the lock is on; leave empty for the current branch. |
from* | string | Who the request is from (shown to the holder). |
holder* | string | Display name of the current lock holder. |
toUserId* | string | User id of the holder (from the lock's owner field). |
note | string | Optional message to the holder. |
repository
Open, create, clone, and administer a repository: status, info, flush, garbage-collect, verify, and metadata.
repository.clonepaletteClone a remote repository to a local directory.
| Argument | Type | Description |
|---|---|---|
url* | string | Repository URL |
dest* | string | Destination |
repository.config_getpaletteRead a configuration value from the repository config.
| Argument | Type | Description |
|---|---|---|
key* | string | The configuration key to read (e.g. remote_url, identity). |
repository.createpaletteCreate a new local repository.
| Argument | Type | Description |
|---|---|---|
repositoryUrl* | string | URL for the new repository (e.g. lore://localhost/<name>). |
description | string | Optional description for the repository. |
id | string | Optional repository UUID; leave empty to auto-generate. |
useSharedStore | boolean | Use the shared store instead of a local immutable store. |
sharedStorePath | string | Path for the shared store; leave empty for the default. |
repository.create_with_metadatapaletteCreate a new repository with explicit creator and timestamp metadata.
| Argument | Type | Description |
|---|---|---|
repositoryUrl* | string | URL for the new repository (e.g. lore://localhost/<name>). |
creator* | string | Username or identifier of the repository creator. |
created* | number | Creation timestamp in milliseconds since Unix epoch. |
description | string | Optional description for the repository. |
id | string | Optional repository UUID; leave empty to auto-generate. |
useSharedStore | boolean | Use the shared store instead of a local immutable store. |
sharedStorePath | string | Path for the shared store; leave empty for the default. |
repository.deletepaletteDelete a repository by URL.
| Argument | Type | Description |
|---|---|---|
repositoryUrl* | string | URL of the repository to delete. |
repository.dumppaletteDump the repository tree structure at a given revision and path.
| Argument | Type | Description |
|---|---|---|
revision | string | Revision to dump; leave empty for the current revision. |
path | string | Repository-relative path to dump from; leave empty for the root. |
maxDepth | number | Maximum tree traversal depth; 0 means unlimited. |
repository.flushpaletteFlush pending repository data to persistent storage.
No arguments.
repository.gcpaletteRun garbage collection on the repository to clean up unreferenced data.
No arguments.
repository.infopaletteRetrieve metadata about a repository (name, URL, default branch, creator).
| Argument | Type | Description |
|---|---|---|
repositoryUrl | string | URL of the repository to query; leave empty to use the current repository. |
repository.instance_listpaletteList all repository instances (working copies) in the shared store.
No arguments.
repository.instance_prunepaletteRemove stale repository instances (working copies whose filesystem paths no longer exist) from the shared store.
No arguments.
repository.listpaletteList all repositories available at a remote URL.
| Argument | Type | Description |
|---|---|---|
url* | string | The lore:// URL to query for available repositories. |
repository.metadata_clearpaletteClear user-defined metadata keys from the repository (empty list clears all).
| Argument | Type | Description |
|---|---|---|
keys | string[] | Metadata keys to clear; leave empty to clear all user-defined keys. |
repository.metadata_getpaletteRead metadata entries from the repository (empty key returns all).
| Argument | Type | Description |
|---|---|---|
key | string | Metadata key to read; leave empty to return all entries. |
repository.metadata_setpaletteSet metadata key-value pairs on the repository.
| Argument | Type | Description |
|---|---|---|
keys* | string[] | Metadata keys to set (one per line). |
values* | string[] | Values for each key (one per line, parallel to keys). |
formats | string[] | Format for each key: "address", "boolean", "binary", "context", "hash", "numeric", or "string". Defaults to "string" for missing entries. |
repository.pushpalettePush local commits on the current branch to the remote.
No arguments.
repository.recover_localpaletteRecover an unreachable local working tree — preserves the current tree and checks out a fresh local copy. Destructive: confirm before running.
| Argument | Type | Description |
|---|---|---|
newDir | string | Directory to check the recovered copy out into; leave empty to recover in place. |
repository.releasepaletteRelease the repository and free associated resources.
No arguments.
repository.repository_update_pathpaletteUpdate the stored repository path to match the current working directory.
No arguments.
repository.statuspaletteShow working-tree status — branch, revision, changes, ahead/behind.
No arguments.
repository.store_immutable_querypaletteQuery the immutable store for a fragment by address.
| Argument | Type | Description |
|---|---|---|
address* | string | The fragment address (hash) to look up in the store. |
recurse | boolean | Recursively query sub-fragments. |
repository.syncpaletteSync the current repository with its remote, pulling and applying the latest changes.
No arguments.
repository.urc_statuspanelShow local working-tree health — current/remote revision, pending merge, divergence, staged paths, conflicts.
No arguments.
repository.verify_fragmentpaletteVerify the integrity of a specific fragment by hash; optionally heal corruption.
| Argument | Type | Description |
|---|---|---|
hash* | string | The fragment hash (hex string) to verify. |
context | string | Optional context filter; leave empty to match any context. |
heal | boolean | When true, attempt to heal detected corruption. |
repository.verify_statepaletteVerify repository integrity; optionally heal detected inconsistencies. Returns fragment-level verification events and a typed summary.
| Argument | Type | Description |
|---|---|---|
path | string | Repository-relative path to verify; empty verifies the whole repository. |
heal | boolean | When true, attempt to heal detected inconsistencies. |
revision
The commit surface: commit, amend, diff, inspect, find, revert, restore, and sync revisions.
revision.activity_reportpanelWho-did-what-when rollup over the revision history — powers the premium Reporting & Insights add-on.
| Argument | Type | Description |
|---|---|---|
revision | string | Start from this revision; empty for current HEAD. |
branch | string | Restrict to this branch; empty for current. |
length | number | Maximum number of revisions to scan; 0 for unlimited. |
author | string | Only include revisions by an author whose name contains this substring. |
dateFrom | number | Only include revisions at or after this timestamp; 0 = unbounded. |
dateTo | number | Only include revisions at or before this timestamp; 0 = unbounded. |
filePath | string | Only include revisions that touched this file path. |
revision.amendpaletteAmend the most recent revision's commit message.
| Argument | Type | Description |
|---|---|---|
message* | string | Message |
revision.cherry_pick_restartpaletteRestart resolution for specified paths during an in-progress cherry-pick conflict.
| Argument | Type | Description |
|---|---|---|
paths* | string[] | Repository-relative paths to re-materialise for resolution (one per line). |
revision.commitpaletteCommit the staged changes with a message.
| Argument | Type | Description |
|---|---|---|
message* | string | Message |
revision.commit_with_metadatapaletteCommit staged changes with attached metadata key-value pairs.
| Argument | Type | Description |
|---|---|---|
message* | string | Commit message describing the revision. |
keys | string[] | One metadata key per line. Must match values/formats length. |
values | string[] | One value per line. Must match keys/formats length. |
formats | string[] | One format per line (address, boolean, binary, context, hash, numeric, or string). Must match keys/values length. |
revision.diffpaletteShow file-level differences between two revisions.
| Argument | Type | Description |
|---|---|---|
revisionSource* | string | Revision to diff from. |
revisionTarget | string | Revision to diff to; empty for current working state. |
paths | string[] | Restrict diff to these repository-relative paths; empty for all files. |
revision.findpaletteFind revisions by metadata key/value or revision number, searching local and remote stores.
| Argument | Type | Description |
|---|---|---|
key | string | Search by this metadata key (e.g. 'tag', 'author'). Leave empty to search by revision number. |
value | string | Match this value for the given key. |
number | number | Search by revision number when key is empty. |
revision.find_localpaletteFind revisions by metadata key/value or revision number (local only).
| Argument | Type | Description |
|---|---|---|
key | string | Metadata key to search for; leave empty to search by number. |
value | string | Value to match against the metadata key. |
number | number | Revision number to find; used when key is empty. 0 disables. |
revision.historypaletteShow revision history for the current branch or a specified revision.
| Argument | Type | Description |
|---|---|---|
revision | string | Start from this revision; empty for current. |
branch | string | Restrict to this branch; empty for current. |
date | number | Stop at revisions created before this Unix timestamp; 0 disables. |
length | number | Maximum number of revisions to return; 0 for unlimited. |
onlyBranch | boolean | Stop when reaching a different branch. |
revision.infopaletteShow metadata and file changes for a revision.
| Argument | Type | Description |
|---|---|---|
revision | string | Revision to inspect; empty for current. |
delta | boolean | Include per-file changes against the parent revision. |
metadata | boolean | Include key/value metadata entries. |
revision.logpaletteList the most recent revisions on the current branch, newest first.
| Argument | Type | Description |
|---|---|---|
limit* | number | Maximum number of revisions to return. |
revision.metadata_clearpaletteClear all metadata from the current revision.
No arguments.
revision.revertpaletteRevert the working directory to a specified revision by applying the inverse of its changes.
| Argument | Type | Description |
|---|---|---|
revision* | string | Revision |
message | string | Commit message for the auto-commit when no conflicts arise. |
noCommit | boolean | Skip auto-commit even if there are no conflicts. |
revision.revert_abortpaletteAbort an in-progress revert operation and restore the working directory.
No arguments.
revision.revert_localpaletteRevert the working directory to a specified revision by applying the inverse of its changes.
| Argument | Type | Description |
|---|---|---|
revision* | string | Revision |
message | string | Commit message for the auto-commit when no conflicts arise. |
noCommit | boolean | Skip auto-commit even if there are no conflicts. |
revision.revert_resolvepaletteMark conflicted paths as resolved during an in-progress revert.
| Argument | Type | Description |
|---|---|---|
paths* | string[] | Repository-relative paths to mark as resolved. |
revision.revert_resolve_minepaletteResolve revert conflicts on the given paths by keeping the local (mine) version.
| Argument | Type | Description |
|---|---|---|
paths* | string[] | Repository-relative paths to resolve in favor of mine (local). |
revision.syncpaletteSync the working tree to a target revision, optionally resetting and pulling dependencies.
| Argument | Type | Description |
|---|---|---|
revision | string | Target revision to sync to; empty syncs to the latest. |
forwardChanges | boolean | Carry local changes forward across the sync. |
reset | boolean | Discard local changes and reset to the target revision. |
rootFiles | string[] | Restrict the sync to these root files (one per line). |
dependencyTags | string[] | Dependency tags to include when syncing (one per line). |
dependencyRecursive | boolean | Resolve dependencies recursively. |
dependencyDepthLimit | number | Maximum depth when resolving dependencies (0 = unlimited). |
service
Start and stop the lore background service.
service.host_server_restartpaletteRestart the active hosted server from its private backend launch recipe. Requires the generation reported by Host Server: Status.
| Argument | Type | Description |
|---|---|---|
expectedGeneration* | number | Exact backend generation from Host Server: Status; stale values fail closed. |
service.host_server_startpaletteLaunch a real Lore server (loreserver) over a local store on 127.0.0.1. Returns the lore:// URL to give to clients.
| Argument | Type | Description |
|---|---|---|
storeDir* | string | Directory backing the served stores. Use the same shared-store path your repository was created in. |
port | number | QUIC/gRPC port. HTTP is served on port + 2. Defaults to 41337. |
repositoryName | string | Optional. Embedded in the advertised lore://host:port/<name> URL clients clone. |
service.host_server_statuspaletteShow whether a hosted Lore server is running, with its pid, port, and lore:// URL.
No arguments.
service.host_server_stoppaletteStop the hosted Lore server (loreserver) started from the GUI.
No arguments.
service.lan_discover_browsepaletteScan the local network for lore servers (mDNS) and list any found, with the lore:// URL to connect. Open-core; the manual server URL always works too.
No arguments.
service.startpaletteStart the Lore service process for the current repository.
| Argument | Type | Description |
|---|---|---|
installAutorun | boolean | Register the service to start automatically. The op is a deprecated stub today; the Rust command requires this flag to be present. |
service.stoppaletteStop the Lore service process for the current repository (or all repositories).
| Argument | Type | Description |
|---|---|---|
all | boolean | Stop the service for all repositories rather than just the current one. |
storage
Content-addressed storage backends — open/close/flush a backend and put, get, copy, or obliterate fragments.
storage.closepanelRelease an open storage handle, draining in-flight ops and flushing pending writes.
| Argument | Type | Description |
|---|---|---|
handle* | number | Handle id returned by Storage: Open. |
storage.copypaletteCopy a fragment from one partition to another in the same store, preserving its content hash.
| Argument | Type | Description |
|---|---|---|
handle* | number | Handle id returned by Storage: Open. |
sourcePartition* | string | 32-hex-char source partition namespace. |
sourceAddress* | string | Content address of the fragment to copy (<hash> or <hash>-<context>). |
targetPartition* | string | 32-hex-char destination partition namespace. |
targetContext | string | Optional 32-hex-char dedup context for the destination. Empty uses the zero context. |
storage.flushpanelFlush pending writes through an open storage handle, fsyncing disk-backed stores.
| Argument | Type | Description |
|---|---|---|
handle* | number | Handle id returned by Storage: Open. |
storage.getpanelRead a content-addressed buffer from the open store using a session key returned by a prior Storage: Put.
| Argument | Type | Description |
|---|---|---|
key* | string | Session key returned by a prior Storage: Put call. |
storage.get_metadatapanelFetch a fragment's metadata (flags, payload size, content size) by partition and address — no bytes transferred.
| Argument | Type | Description |
|---|---|---|
handle* | number | Handle id returned by Storage: Open. |
partition* | string | 32-hex-char partition namespace (the zero partition is rejected). |
address* | string | Content address: <hash> or <hash>-<context>. |
storage.mutable_compare_and_swappaletteConditionally update a mutable key when its current value matches expected (empty expected matches an absent key). Returns previous value and whether the swap applied. Remote-capable.
| Argument | Type | Description |
|---|---|---|
handle* | number | Handle id returned by Storage: Open. |
partition* | string | 32-hex-char partition (non-zero). |
key* | string | 64-hex-char key hash. |
expected | string | Expected current value. Empty/zero matches an absent key. |
value | string | Value to store when the swap applies. Empty/zero removes the key. |
keyType | string | Upstream KeyType camelCase name (default untyped). |
remote | boolean | Route via the remote StorageSession (requires open with remote URL). |
storage.mutable_listpaletteList mutable key-value pairs of a given type on the local store. Remote targeting is rejected (local-only). Zero partition lists every accessible partition.
| Argument | Type | Description |
|---|---|---|
handle* | number | Handle id returned by Storage: Open. |
partition | string | 32-hex-char partition. Empty/zero lists every accessible partition. |
keyType | string | Upstream KeyType camelCase name (default untyped). |
remote | boolean | Force remote routing. Upstream rejects this: mutable_list is local-only. |
storage.mutable_loadpaletteRead a mutable key's value (hash) from an open store. Absent keys return AddressNotFound on the item. Optional remote routing uses the handle's remote session.
| Argument | Type | Description |
|---|---|---|
handle* | number | Handle id returned by Storage: Open. |
partition* | string | 32-hex-char partition (non-zero). |
key* | string | 64-hex-char key hash. |
keyType | string | Upstream KeyType camelCase name (default untyped). |
remote | boolean | Route via the remote StorageSession (requires open with remote URL). |
storage.mutable_storepaletteWrite a mutable key-value pair (hashes) on an open store. Empty or all-zero value removes the key. Optional remote routing uses the handle's remote session.
| Argument | Type | Description |
|---|---|---|
handle* | number | Handle id returned by Storage: Open. |
partition* | string | 32-hex-char partition (non-zero). |
key* | string | 64-hex-char key hash. |
value | string | 64-hex-char value hash. Empty or zero removes the key. |
keyType | string | Upstream KeyType camelCase name (default untyped). |
remote | boolean | Route via the remote StorageSession (requires open with remote URL). |
storage.openpanelOpen a content-addressed store (local path, remote URL, or in-memory) and return its handle.
| Argument | Type | Description |
|---|---|---|
repositoryPath | string | Local lore repository to open. Leave empty for remote/in-memory. |
remoteUrl | string | Remote store endpoint. Leave empty for a local-only store. |
inMemory | boolean | Open a throwaway in-memory store (path and remote URL must be empty). |
storage.putpaletteWrite a content-addressed buffer to an open store by key. The key lets you retrieve or obliterate the data later.
| Argument | Type | Description |
|---|---|---|
key* | string | Opaque label that correlates this write with a later get or obliterate. |
data* | string | The bytes to store, as a JSON array of numbers (e.g. [72, 101, 108, 108, 111]). |
storage.put_filepaletteRead a file from disk and store its contents in an open store, returning the content address.
| Argument | Type | Description |
|---|---|---|
handle* | number | Handle id returned by Storage: Open. |
partition* | string | 32-hex-char partition namespace (the zero partition is rejected). |
path* | string | Filesystem path of the file to read and store. |
context | string | Optional 32-hex-char dedup context. Empty uses the zero context. |
remoteWrite | boolean | Also push the fragment to the configured remote store. |
localCache | boolean | Tag the fragment for local-cache retention priority. |
storage.uploadpalettePush a locally-stored fragment to the remote attached to an open store (handle must have a remote configured).
| Argument | Type | Description |
|---|---|---|
handle* | number | Handle id returned by Storage: Open (must have a remote configured). |
partition* | string | 32-hex-char partition namespace of the local content. |
address* | string | Content address to push (<hash> or <hash>-<context>). |
* denotes a required argument. Surface badges show where an op lives in the app: panel (rich UI), menu (row/context action), or palette (palette-only).