Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ tries a different installation or a package-bundled binary. Missing installation
report how to install Atomic or configure `ATOMIC_RUNTIME_DIR`. Errors expose a
stable `code` through the exported `AtomicRuntimeError` class.

Use `resolveRuntime()` from `nodeatomic` to check installation discovery before
opening a repository, including in a Git-only workspace. It returns the selected
library path and optional manifest, or throws an `AtomicRuntimeError`. It reads
installation metadata only; it does not load native code, execute the CLI, or
verify binary integrity or the loaded protobuf descriptor. Those checks still
run on the first Atomic operation. Discovery failures are not cached.

### Validation and compatibility

This consumer is generated from the published **Atomic v0.22.0** native runtime
Expand Down
2 changes: 1 addition & 1 deletion ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { atomic as Contract } from './generated/proto.cjs';
import { call, proto as atomic } from './native.js';

export { call, proto } from './native.js';
export { AtomicRuntimeError } from './runtime/loader.mjs';
export { AtomicRuntimeError, resolveRuntime } from './runtime/loader.mjs';
export { openRepository, AtomicRepository } from './repository.js';
export { KnowledgeClient } from './knowledge.js';
export type {
Expand Down