MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions15,497 in github.com/atomicdotdev/atomic

↓ 4 callersFunctionattested_sidecar_path
The attested-node sidecar file for an intent.
atomic-cli/src/commands/intent/bridge.rs:150
↓ 4 callersFunctionattested_sidecar_path
The attested-node sidecar file for a memory.
atomic-cli/src/commands/memory/bridge.rs:170
↓ 4 callersFunctionbuild_context_string
Build a compact text representation of KG nodes and edges for the LLM prompt. Groups nodes by kind and renders edges as relationship sentences. Hard
atomic-repository/src/ai/mod.rs:439
↓ 4 callersMethodbuild_filter
Build an identity filter from the command arguments.
atomic-cli/src/commands/identity/list.rs:76
↓ 4 callersMethodbuild_prompt
Build the summarization prompt from the condensed transcript.
atomic-agent/src/transcript/generator.rs:182
↓ 4 callersMethodbuild_remote_config
Build the HTTP remote configuration. `identity_hint` — explicit identity name to use (from `--identity` or `RemoteEntry.identity`). When `None`, fall
atomic-cli/src/commands/push/command.rs:268
↓ 4 callersMethodbuild_remote_config
Build the HTTP remote configuration. Creates an `HttpRemoteConfig` with the timeout and security settings specified by the user.
atomic-cli/src/commands/clone/command.rs:285
↓ 4 callersMethodbuild_remote_config
Build the HTTP remote configuration. `identity_hint` — explicit identity name to use (from `--identity` or `RemoteEntry.identity`). When `None`, fall
atomic-cli/src/commands/pull/command.rs:308
↓ 4 callersFunctionbuild_tree_hierarchy
Build a tree structure from flat paths. Organizes items into a hierarchical structure by parent-child relationships. # Arguments `items` - Flat lis
atomic-core/src/output/repo/tree.rs:938
↓ 4 callersMethodcancel_turn
(&mut self)
atomic-agent/src/watcher/fallback.rs:253
↓ 4 callersMethodchange_path
Get the path where a change file should be stored. Changes are stored in a two-level directory structure based on their hash: `.atomic/changes/AB/CDE
atomic-repository/src/repository/mod.rs:754
↓ 4 callersMethodchanges
Iterate over only the change operations (non-Equal).
atomic-core/src/diff/ops.rs:460
↓ 4 callersFunctioncheck_evidence_resolution
Resolve `urn:atomic:change:<hash>` evidence URNs against the change store at `repo_root`. One violation per URN that does not resolve. With no reposit
atomic-cli/src/commands/intent/validate.rs:120
↓ 4 callersFunctionchunk_by_heading
Chunk text by heading boundaries, then by paragraph, respecting a maximum token budget per chunk. Strategy: 1. Split on `#` headings (any level) 2. I
atomic-repository/src/repository/vault_embeddings.rs:215
↓ 4 callersFunctionchunk_content_with_stats
Split content into chunks and return chunking statistics. This is the same as [`chunk_content`] but also returns [`ChunkingStats`] for logging and pr
atomic-core/src/change/format_v3/chunking.rs:534
↓ 4 callersMethodcollect_directories
Set whether to collect directories. # Arguments `collect` - Whether to include directories in results # Example ```rust use atomic_core::output::r
atomic-core/src/output/repo/tree.rs:229
↓ 4 callersMethodcollect_files
Set whether to collect files. # Arguments `collect` - Whether to include files in results # Example ```rust use atomic_core::output::repo::TreeCol
atomic-core/src/output/repo/tree.rs:248
↓ 4 callersFunctioncollect_tree_ops
Collect view-scoped TREE lifecycle events before applying hunk-level TREE mutations. Recording all adds, moves, and deletes, not just deferred Git imp
atomic-repository/src/repository/deferred_tree.rs:305
↓ 4 callersFunctioncollect_view_change_ids
Collect all change `NodeId`s inserted into a view into a `HashSet`. This is the canonical helper for building a **change filter** — the set of change
atomic-repository/src/repository/filter.rs:20
↓ 4 callersMethodcombine_with
(&self, other: &Self)
atomic-core/src/record/workflow/graph_op/pending.rs:219
↓ 4 callersFunctioncommon_affixes
Find the length of common prefix and suffix between two sequences, applying the **suffix-limiting heuristic** used by the display path. This optimiza
atomic-core/src/diff/mod.rs:471
↓ 4 callersMethodcompact_insertion
Convert an `Insertion<Option<Hash>>` to a [`CompactInsertion`].
atomic-core/src/change/format_v3/compact/compactor.rs:95
↓ 4 callersFunctioncompare_content_with_limit
Compare content with size limit check. Like `compare_content`, but treats files over the size limit as binary. # Arguments `old_content` - Content
atomic-core/src/record/workflow/compare.rs:376
↓ 4 callersMethodcompression_level
(&self)
atomic-core/src/change/format_v3/writer/options.rs:88
↓ 4 callersFunctioncompute_cost
Compute the USD cost for a pair of token counts. Uses [`COST_PER_M_INPUT`] and [`COST_PER_M_OUTPUT`] so every layer that touches token accounting pro
atomic-agent/src/provenance/detail.rs:61
↓ 4 callersFunctioncompute_token_changes
Compute token-level changes between two lines. This is the core of the token-level diff - it compares the tokens of two lines and produces a sequence
atomic-core/src/diff/semantic/diff_impl.rs:274
↓ 4 callersFunctioncondense_transcript
Condense a transcript from raw bytes, auto-detecting format. Currently supports Claude Code JSONL. Future: Gemini JSON, other formats.
atomic-agent/src/transcript/condense.rs:81
↓ 4 callersMethodcontent
(&self)
atomic-core/src/record/workflow/record/types.rs:382
↓ 4 callersMethodcontent
(&self)
atomic-core/src/diff/line.rs:210
↓ 4 callersFunctioncontent_hash
The `blake3:<hex>` content hash of a JSON value's canonical form.
atomic-canonical/src/hash.rs:16
↓ 4 callersMethodcontext_lines
(mut self, lines: usize)
atomic-core/src/record/workflow/record/options.rs:218
↓ 4 callersFunctioncreate_insertion_tokens
Create token changes for a line that was entirely added.
atomic-core/src/diff/semantic/diff_impl.rs:237
↓ 4 callersMethodcreate_shared_view
Create a new Shared view with no parent. Changes inserted into a Shared view go into the global `GRAPH` table and are permanently visible to all view
atomic-repository/src/repository/views.rs:134
↓ 4 callersMethoddata
(&self, source: &'a [u8])
atomic-core/src/change/format_v3/chunking.rs:259
↓ 4 callersMethoddebug
(message: string, extra?: Record<string, unknown>)
packages/opencode-atomic-hooks/src/log.ts:54
↓ 4 callersFunctiondecode_file_index
(value: &[u8; 52])
atomic-core/src/pristine/tables.rs:379
↓ 4 callersFunctiondecode_position
(key: &[u8; 16])
atomic-core/src/pristine/tables.rs:872
↓ 4 callersMethoddeferred_tree_alignment_pending_path
(&self)
atomic-repository/src/repository/deferred_tree.rs:511
↓ 4 callersMethoddel_change
( &mut self, view: &mut ViewState, change_id: NodeId, _change_hash: &Hash,
atomic-core/src/pristine/txn/write/mod.rs:1029
↓ 4 callersMethoddelegated_by
Set the delegating identity (for delegated identities).
atomic-identity/src/identity.rs:450
↓ 4 callersMethoddelete_change
Delete a change from the store. Removes all entries for this change from CHANGE_META, CHANGE_GRAPH, CHANGE_SEMANTIC, CHANGE_CHUNKS, and CHANGE_UNHASH
atomic-repository/src/redb_change_store/queries.rs:322
↓ 4 callersMethoddeleted
Create statistics for a deleted file. # Arguments `path` - The file path `lines` - Number of lines in the deleted file
atomic-cli/src/commands/diff/types.rs:129
↓ 4 callersMethoddeserialize
Deserialize the payload from postcard format. Convenience wrapper around [`postcard::from_bytes`] that handles the error conversion. # Type Paramete
atomic-core/src/change/format_v3/reader/mod.rs:158
↓ 4 callersFunctiondeserialize_conflicts
Deserialize bytes (JSON) to a list of conflicts.
atomic-core/src/pristine/txn/helpers.rs:27
↓ 4 callersFunctiondetect_encoding
Detect the encoding of content. # Arguments `content` - The content to analyze # Returns The detected encoding.
atomic-core/src/record/detect.rs:744
↓ 4 callersFunctiondetect_sandbox
Walk up from `start` looking for a [`SANDBOX_POINTER`] file. If found, return `(working_root, canonical_root, view)`.
atomic-repository/src/repository/sandbox.rs:99
↓ 4 callersFunctiondetect_source
Determine the install source for a binary at `current_exe`. Manifest is consulted first under the trust gate (canonicalized path must match current_e
atomic-cli/src/commands/update.rs:185
↓ 4 callersFunctiondev_identity
()
atomic-canonical/src/proof.rs:217
↓ 4 callersFunctiondiff_tokens
Compute an edit script transforming `old` into `new` at the token level. Returns a sequence of [`EditOp`]s. The algorithm uses dynamic-programming LC
atomic-core/src/merge/three_way.rs:176
↓ 4 callersFunctiondisk_bytes
(temp: &TempDir, name: &str)
atomic-repository/src/repository/tests/merge_property_tests.rs:85
↓ 4 callersFunctiondump_crdt_line_mismatches
(repo: &Repository, path: &str, expected: &[u8])
atomic-repository/tests/content_roundtrip_fidelity_test.rs:1546
↓ 4 callersMethodedges
All edges.
atomic-agent/src/provenance/accumulator/mod.rs:262
↓ 4 callersMethodemit_session_node
Upsert the session node with its current lifecycle metadata.
atomic-core/src/pristine/txn/write/session_kg.rs:300
↓ 4 callersMethodensure_directories
Ensure all directories in a path exist.
atomic-core/src/output/memory.rs:442
↓ 4 callersMethodentity
(&self)
atomic-core/src/crdt/apply/conflict.rs:319
↓ 4 callersMethodexclude
Add an exclude pattern. # Arguments `pattern` - Pattern to exclude (simple prefix matching) # Example ```rust use atomic_core::output::repo::TreeC
atomic-core/src/output/repo/tree.rs:269
↓ 4 callersMethodexclude
Add exclude patterns.
atomic-repository/src/archive.rs:337
↓ 4 callersMethodexpand_insertion
Convert a [`CompactInsertion`] to an `Insertion<Option<Hash>>`.
atomic-core/src/change/format_v3/compact/compactor.rs:186
↓ 4 callersFunctionextractSessionId
* Extract the session ID from an OpenCode event's properties. * * OpenCode events carry their data in `event.properties`, but the * shape varies by
packages/opencode-atomic-hooks/src/handlers/event.ts:366
↓ 4 callersFunctionextract_first_sentence
Extract the first sentence from a block of text. Splits on sentence-ending punctuation (`.`, `!`, `?`) followed by whitespace or end-of-string. Also
atomic-agent/src/record/message.rs:139
↓ 4 callersMethodfile_metadata
(&self, path: &str)
atomic-core/src/output/memory.rs:506
↓ 4 callersMethodfiles_in_turn
(mut self, files: Vec<String>)
atomic-agent/src/envelope.rs:531
↓ 4 callersMethodfind_block
(&self, pos: Position<NodeId>)
atomic-core/src/apply/graph_batch.rs:199
↓ 4 callersMethodfind_ended
Find all ended sessions.
atomic-agent/src/turn/session.rs:614
↓ 4 callersMethodfind_identity_dir
Find the directory for an identity by ID.
atomic-identity/src/store.rs:742
↓ 4 callersMethodfind_provenance_for_change
Find all provenance graphs that explain a specific change. Uses REV_DEPS to find nodes that depend on the given change, then filters by `node_type::P
atomic-repository/src/repository/changes.rs:1141
↓ 4 callersMethodfirst_line
Get the first line of a node's text (for signatures).
atomic-semantic/src/parsers/rust.rs:500
↓ 4 callersMethodfork_session
Create a forked session from a parent at a turn boundary. The child inherits the parent's turn records through `fork_turn` as an immutable ledger pre
atomic-repository/src/repository/changes.rs:616
↓ 4 callersMethodformat
Set the archive format.
atomic-repository/src/archive.rs:307
↓ 4 callersFunctionformat_hash
Format a hash for display. By default, hashes are truncated to [`DEFAULT_HASH_LENGTH`] characters for readability. Use `full = true` to show the comp
atomic-cli/src/commands/mod.rs:408
↓ 4 callersMethodformat_json
Format the change for JSON output.
atomic-cli/src/commands/change/command.rs:656
↓ 4 callersFunctionformat_local_state
Format the local state for display. # Arguments `entries` - Local history entries # Returns A formatted string like "at ABC123... (10 changes)" or
atomic-cli/src/commands/pull/helpers.rs:354
↓ 4 callersFunctionget
(id: string)
packages/opencode-atomic-hooks/src/session.ts:180
↓ 4 callersMethodget_crdt_trunk
( &self, key: &[u8; 12], )
atomic-core/src/pristine/txn/read.rs:1321
↓ 4 callersMethodget_directory_flags
(&self, inode: Inode)
atomic-core/src/pristine/txn/write/tree.rs:15
↓ 4 callersMethodget_file_content_via_crdt
Get file content using the CRDT-driven walker (task #24). Walks the `Trunk → Branch` chain in file order and fetches each alive branch's bytes from i
atomic-repository/src/repository/content.rs:135
↓ 4 callersMethodget_file_content_with_filter
Internal helper to retrieve file content with a change filter. This method handles the common logic for state-based content retrieval: 1. Check if fi
atomic-repository/src/repository/content.rs:754
↓ 4 callersMethodget_inode
(&self, _path: &str)
atomic-core/src/record/context.rs:840
↓ 4 callersMethodget_inode_and_position
Look up a file's inode and graph position from the pristine. Returns `None` if the file is not tracked or has no graph position.
atomic-repository/src/repository/record.rs:1132
↓ 4 callersMethodget_internal
(&self, hash: &Hash)
atomic-core/src/apply/graph_batch.rs:172
↓ 4 callersMethodget_kg_edges_from
(&self, node_id: &str)
atomic-core/src/pristine/txn/write/triples.rs:178
↓ 4 callersMethodget_kg_node
(&self, id: &str)
atomic-core/src/pristine/txn/write/triples.rs:157
↓ 4 callersMethodget_merged
Look up merged content for a vertex. Returns `Some(bytes)` if `vid` is the lead vertex of a resolved SCC.
atomic-core/src/merge/resolved.rs:95
↓ 4 callersMethodget_status_options
Get status options based on command settings.
atomic-cli/src/commands/status.rs:231
↓ 4 callersMethodget_trunk
(&self, id: TrunkId)
atomic-core/src/crdt/apply/traits.rs:510
↓ 4 callersMethodget_visibility
Get the visibility modifier as a string ("public ", "private ", "protected ", or "").
atomic-semantic/src/parsers/java.rs:580
↓ 4 callersMethodget_workspace
Get a single workspace by slug.
atomic-remote/src/storage.rs:293
↓ 4 callersFunctiongoal_node
A prov node so the graph is non-trivial (the projection ignores nodes, but a real graph carries them).
atomic-cli/tests/provenance_integration_test.rs:56
↓ 4 callersFunctiongoal_node
(id: &str, summary: &str)
atomic-cli/tests/session_integration_test.rs:43
↓ 4 callersMethodhandle_response
Handle a response: check status, parse `ApiResponse<T>`, unwrap data.
atomic-remote/src/storage.rs:210
↓ 4 callersMethodhas_change
(&self, hash: &Hash)
atomic-core/src/change/store.rs:427
↓ 4 callersFunctionhas_content
Check if a position has any content. This is a lighter-weight check than full retrieval, useful for quickly determining if a file exists in the graph
atomic-core/src/record/workflow/retrieve.rs:279
↓ 4 callersMethodhas_file_ops
Check if this change has semantic layer operations.
atomic-core/src/change/change.rs:223
↓ 4 callersMethodhas_vault
(&self)
atomic-core/src/pristine/txn/read.rs:917
↓ 4 callersMethodhas_vault
Check if this repository has a vault initialized.
atomic-repository/src/repository/vault.rs:18
↓ 4 callersFunctionhash
(label: &str)
atomic-repository/src/repository/deferred_tree.rs:762
↓ 4 callersFunctionhashing_view
The value covered by the content hash: excludes both `proof` and `contentHash` (you cannot hash the hash).
atomic-canonical/src/proof.rs:50
↓ 4 callersFunctionhint
Format a hint/suggestion message in dim style. Use this for supplementary information, suggestions, or less important details. # Arguments `text` -
atomic-cli/src/output/colors.rs:253
↓ 4 callersMethodhunk_count
Get the number of hunks.
atomic-core/src/change/change.rs:840
↓ 4 callersFunctionidentity_to_author
Check if stdin is a terminal (for interactive prompts). Convert an atomic_identity::Identity to atomic_core::change::Author. This bridges the two Aut
atomic-cli/src/commands/record/command.rs:119
← previousnext →1,201–1,300 of 15,497, ranked by callers