MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions15,897 in github.com/atomicdotdev/atomic

↓ 5 callersFunctionvalue_string
(raw: &Value, key: &str)
atomic-agent/src/hooks/hermes.rs:178
↓ 5 callersMethodvault_embed
Embed a single vault entry using the provided embedding function. Chunks the content by heading/paragraph, computes embeddings via `embed_fn`, and st
atomic-repository/src/repository/vault_embeddings.rs:51
↓ 5 callersMethodvault_intent_delete
Delete an unstarted backlog intent. This is intentionally conservative: only backlog intents with no linked goals can be deleted. Started work should
atomic-repository/src/repository/vault_intent.rs:541
↓ 5 callersMethodview
Get the current view name.
atomic-repository/src/status.rs:447
↓ 5 callersMethodvisible_file_paths
Compute the set of file paths visible on a view. Visibility includes the view's own changes AND all changes inherited through the parent chain. A dr
atomic-repository/src/repository/materialize.rs:235
↓ 5 callersMethodwith_code_aware
Sets whether to use code-aware tokenization.
atomic-core/src/record/workflow/crdt/convert/types.rs:75
↓ 5 callersMethodwith_code_aware
Sets whether to use code-aware tokenization. When enabled, the tokenizer recognizes multi-character operators, string literals, numeric literals, and
atomic-core/src/record/workflow/crdt/tokenize/rules.rs:80
↓ 5 callersMethodwith_dry_run
Builder: set the dry-run flag.
atomic-cli/src/commands/record/mod.rs:323
↓ 5 callersMethodwith_force
Builder: set the `--force` flag.
atomic-cli/src/commands/add.rs:230
↓ 5 callersMethodwith_format
Builder: set the output format.
atomic-cli/src/commands/change/command.rs:104
↓ 5 callersMethodwith_from
Builder: set the starting sequence number.
atomic-cli/src/commands/log/command.rs:169
↓ 5 callersMethodwith_full_hash
Builder: set full hash display.
atomic-cli/src/commands/log/command.rs:175
↓ 5 callersMethodwith_include_empty_files
(mut self, include: bool)
atomic-core/src/record/workflow/globalize/options.rs:78
↓ 5 callersMethodwith_max_file_size
Set the maximum file size for diffing. Files larger than this are treated as binary. # Arguments `size` - Maximum size in bytes, or `None` for no l
atomic-core/src/record/workflow/options.rs:221
↓ 5 callersMethodwith_mtime
Set the modification time.
atomic-core/src/record/workflow/collect.rs:204
↓ 5 callersMethodwith_name_only
Builder: set the name-only flag.
atomic-cli/src/commands/diff/command.rs:147
↓ 5 callersMethodwith_no_color
Builder: set the no-color flag.
atomic-cli/src/commands/diff/command.rs:141
↓ 5 callersMethodwith_no_untracked
Builder: set whether to hide untracked files.
atomic-cli/src/commands/status.rs:225
↓ 5 callersMethodwith_remote
Builder: set the remote name or URL.
atomic-cli/src/commands/push/command.rs:195
↓ 5 callersMethodwith_remote_state
Builder: set the remote state.
atomic-cli/src/commands/clone/types.rs:476
↓ 5 callersMethodwith_tagged
Set the tagged flag. Tagged changes represent named snapshots in the history. # Arguments `tagged` - Whether this change is tagged # Example ```r
atomic-cli/src/commands/push/types.rs:109
↓ 5 callersMethodwith_tags_only
Builder: set tags-only filter.
atomic-cli/src/commands/log/command.rs:145
↓ 5 callersMethodwith_timeout
Builder: set the timeout in seconds.
atomic-cli/src/commands/push/command.rs:248
↓ 5 callersMethodwith_warning
Add a warning.
atomic-agent/src/turn/orchestrator/mod.rs:185
↓ 5 callersMethodwrite
(&mut self, _buf: &[u8])
atomic-cli/src/agent_error.rs:992
↓ 5 callersFunctionwrite_hooks_file
(path: &Path, config: &CodexHooksFile)
atomic-agent/src/hooks/codex.rs:435
↓ 5 callersFunctionwrite_manifest
(dir: &Path, body: &str)
atomic-agent/src/integrations/manifest.rs:257
↓ 4 callersMethodadd
Add another `PhaseTokens` into `self` (used for running totals).
atomic-agent/src/provenance/detail.rs:92
↓ 4 callersMethodadd
(&self, change: &super::Merkle)
atomic-core/src/types/set_id.rs:166
↓ 4 callersMethodadd
Add a credit to the statistics.
atomic-core/src/change/credit.rs:468
↓ 4 callersMethodadd_branch_op
Adds a branch operation with its ID.
atomic-core/src/record/workflow/crdt/convert/types.rs:372
↓ 4 callersMethodadd_directory
Add a directory item.
atomic-core/src/output/repo/tree.rs:697
↓ 4 callersFunctionadd_hook_to_matcher
( matchers: &mut Vec<ClaudeHookMatcher>, matcher_name: &str, command: &str, )
atomic-agent/src/hooks/claude_code/settings.rs:165
↓ 4 callersMethodadd_inode_update
Associate an inode update with a graph_op. When the change is applied locally, this update will be used to maintain the tree/inode database tables.
atomic-core/src/record/builder.rs:329
↓ 4 callersMethodadd_leaf_op
Adds a leaf operation with its ID.
atomic-core/src/record/workflow/crdt/convert/types.rs:378
↓ 4 callersMethodadd_line
Adds a new line to a file and returns its branch ID. # Arguments `trunk_id` - The file to add the line to `after` - The branch to insert after (None
atomic-core/src/record/workflow/crdt/builder/branch.rs:211
↓ 4 callersMethodadd_line
Adds a line to this file.
atomic-core/src/output/crdt.rs:216
↓ 4 callersMethodadd_missing_up_context
Record a missing up-context position.
atomic-core/src/apply/workspace.rs:593
↓ 4 callersMethodadd_path
Add a single path to tracking.
atomic-cli/src/commands/add.rs:269
↓ 4 callersMethodadd_pending_edge
Add a pending edge to be created.
atomic-core/src/apply/workspace.rs:517
↓ 4 callersMethodadd_provenance
(mut self, entry: Provenance)
atomic-repository/src/record/options.rs:305
↓ 4 callersMethodadded
Create statistics for an added file. # Arguments `path` - The file path `lines` - Number of lines in the new file
atomic-cli/src/commands/diff/types.rs:119
↓ 4 callersFunctionaggregate_tool_usage
Aggregate tool usage from condensed entries.
atomic-agent/src/transcript/condense.rs:223
↓ 4 callersMethodall
Create options that include everything.
atomic-repository/src/status.rs:697
↓ 4 callersMethodallow_conflicts
Set whether to allow conflicts.
atomic-repository/src/apply/cross_view.rs:90
↓ 4 callersMethodappend_content
Append content to the buffer and return the position range. # Arguments `data` - Content bytes to append # Returns A tuple of (start_position, end
atomic-core/src/record/workflow/globalize/context.rs:132
↓ 4 callersMethodappend_contents
Append content to the contents blob. Returns the starting position of the appended content.
atomic-core/src/change/change.rs:250
↓ 4 callersMethodappend_deferred_tree_ops
Persist deferred operations atomically. The caller holds pristine's write transaction, which serializes journal writers across processes.
atomic-repository/src/repository/deferred_tree.rs:428
↓ 4 callersMethodappend_llm_response
Append an LLM response node — the agent's final answer for the turn. Created at turn end from the agent's closing message: the stop payload's respons
atomic-agent/src/provenance/accumulator/append.rs:180
↓ 4 callersFunctionapply_budget
Truncate bodies so their combined length fits `budget_chars`. Start with an even allocation, then give unused capacity from short bodies to higher-ran
atomic-cli/src/commands/vault/context.rs:740
↓ 4 callersFunctionapply_line_edits
Independent oracle: base with the given (index → new line) replacements.
atomic-repository/src/repository/tests/merge_property_tests.rs:77
↓ 4 callersFunctionassemble
Fold messages and parts into [`TurnData`]. The current turn starts at the last user message; reasoning, response, and step statistics are scoped to t
atomic-agent/src/transcript/opencode.rs:236
↓ 4 callersFunctionassert_content_after_change
Assert content after a specific change matches.
atomic-repository/tests/content_roundtrip_fidelity_test.rs:67
↓ 4 callersFunctionatomic
Run `atomic <args>` inside `repo_dir` with `HOME` pointed at `home_dir` so the identity store resolves to a test-owned location.
atomic-cli/tests/provenance_integration_test.rs:45
↓ 4 callersFunctionattach_identity
Attach a Bearer JWT auth header to the remote config. `identity_override` — if provided, this identity name is used directly, bypassing URL-based inf
atomic-cli/src/commands/auth.rs:267
↓ 4 callersFunctionattest_with
Lift+attest a stored memory with the given keypair.
atomic-cli/src/commands/memory/list.rs:422
↓ 4 callersFunctionattested_memory
A minimal, fully attested Memory that conforms — the base for mutation.
atomic-canonical/src/gate.rs:953
↓ 4 callersFunctionattested_node
Build inputs for a minimal, liftable intent and attest them into a node.
atomic-cli/src/commands/intent/bridge.rs:318
↓ 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:300
↓ 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:305
↓ 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 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 callersFunctionclassify_commit
Classify an imported commit as normal, merge, or squash.
atomic-cli/src/commands/git/parallel.rs:3906
↓ 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 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 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 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 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
← previousnext →1,201–1,300 of 15,897, ranked by callers