MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions15,497 in github.com/atomicdotdev/atomic

↓ 15 callersMethodparse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/codex.rs:239
↓ 15 callersMethodparse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/claude_code/mod.rs:205
↓ 15 callersFunctionparse_plan
Parse a query plan from JSON.
atomic-repository/src/query_plan.rs:452
↓ 15 callersMethodpristine
(&self)
atomic-repository/src/repository/mod.rs:696
↓ 15 callersMethodread_all_sections
Read all remaining sections, returning them as a vector. This is a convenience method that calls [`next_section`](Self::next_section) in a loop until
atomic-core/src/change/format_v3/reader/sections.rs:226
↓ 15 callersFunctionrecord_added_file
Record a single added file from the working copy. Reads the file content and creates appropriate hunks for a new file. # Arguments `working_copy` -
atomic-core/src/record/workflow/record/mod.rs:216
↓ 15 callersFunctionsample_graph
()
atomic-core/src/change/provenance_graph/tests.rs:84
↓ 15 callersMethodsave
Save global configuration to the default location
atomic-config/src/lib.rs:459
↓ 15 callersFunctionturn_start_event
(session_id: &str, prompt: &str)
atomic-agent/src/turn/orchestrator/tests.rs:30
↓ 15 callersMethodvault_extract_kg
Extract KG nodes and edges from a vault entry. Returns `(Vec<KgNode>, Vec<KgEdge>)`. Does **not** store them — call `vault_store_kg` for persistence.
atomic-repository/src/repository/vault_triples.rs:35
↓ 15 callersMethodverify
Verify the content hash by reading the trailer. Reads the 32-byte trailer from the source and compares it to the blake3 hash computed incrementally f
atomic-core/src/change/format_v3/reader/sections.rs:264
↓ 15 callersMethodwith_change_filter
Set a change filter for state-based content retrieval. Only vertices from changes in this set (or ROOT) will be included. This enables retrieving fil
atomic-core/src/output/alive/retrieve/options.rs:144
↓ 15 callersMethodwith_metadata
Set custom metadata.
atomic-core/src/output/mod.rs:385
↓ 15 callersMethodwrite_content_chunk
Write a CONTENT chunk. Content is split into chunks (typically via FastCDC). Each chunk is independently compressed and content-addressed by its blak
atomic-core/src/change/format_v3/writer/sections.rs:102
↓ 14 callersMethodbuild
Build the identity, generating a keypair if needed.
atomic-identity/src/identity.rs:469
↓ 14 callersMethodchange
(&self)
atomic-repository/src/record/assemble.rs:228
↓ 14 callersMethodchange_id
(&self)
atomic-core/src/crdt/ids.rs:72
↓ 14 callersFunctioncreate_spinner
Create a spinner for operations with unknown duration. Spinners are used when we don't know how long an operation will take or how much work remains.
atomic-cli/src/output/progress.rs:85
↓ 14 callersMethodcreate_view
( &mut self, name: &str, kind: ViewScope, parent: Option<u64>, )
atomic-core/src/pristine/txn/write/mod.rs:918
↓ 14 callersMethodend_pos
(&self)
atomic-core/src/types/graph_node.rs:141
↓ 14 callersMethodend_turn
(&mut self)
atomic-agent/src/watcher/fallback.rs:231
↓ 14 callersMethodget_file_content
Get the recorded content for a tracked file. This method builds a **change filter** that defines the current view's content perspective, then retriev
atomic-repository/src/repository/content.rs:27
↓ 14 callersFunctionget_ignore_template
Get the .atomicignore content for a given project kind. This function returns appropriate ignore patterns for common project types, helping users sta
atomic-cli/src/commands/init.rs:101
↓ 14 callersMethodis_empty
Check if the view has any changes.
atomic-repository/src/history/types.rs:357
↓ 14 callersMethodline_ops
(&self)
atomic-core/src/change/ops.rs:206
↓ 14 callersFunctionmake_agent
()
atomic-core/src/change/attestation.rs:746
↓ 14 callersFunctionmake_attestation
()
atomic-core/src/change/attestation.rs:750
↓ 14 callersFunctionmake_minimal_envelope
()
atomic-agent/src/envelope.rs:597
↓ 14 callersFunctionmake_vertex
(change: u64, start: u64, end: u64)
atomic-core/src/apply/conflict.rs:461
↓ 14 callersMethodnode_text
Get the text content of a node.
atomic-semantic/src/parsers/java.rs:593
↓ 14 callersMethodparse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/grok.rs:171
↓ 14 callersMethodrun
Execute the diff command. This method: 1. Finds and opens the repository 2. Gets the status of the working copy 3. Computes diffs for modified files
atomic-cli/src/commands/diff/command.rs:223
↓ 14 callersMethodserialize
Serialize the provenance graph to bytes. Format: `[MAGIC: 4 bytes][postcard payload]` The hash is computed over the entire serialized output.
atomic-core/src/change/provenance_graph/mod.rs:256
↓ 14 callersMethodset_state
Sets the leaf's state.
atomic-core/src/crdt/leaf.rs:225
↓ 14 callersMethodsuccess
Create a mock that returns a successful reasoning.
atomic-agent/src/transcript/generator.rs:421
↓ 14 callersMethodtokens
(&self)
atomic-core/src/record/workflow/crdt/tokenize/types.rs:177
↓ 14 callersMethodupdate_view
(&mut self, view: &ViewState)
atomic-core/src/pristine/txn/write/mod.rs:1267
↓ 14 callersMethodvault_goal_start
Start a new vault goal. Creates a goal directory under `.vault/goals/` with a `_goal.md` file containing initial metadata. Goal names are Docker-sty
atomic-repository/src/repository/vault_goal.rs:81
↓ 14 callersMethodwith_tool_use_id
(mut self, id: impl Into<String>)
atomic-agent/src/event.rs:372
↓ 13 callersMethodbuild
Build the attestation.
atomic-core/src/change/attestation.rs:648
↓ 13 callersFunctioncompute_order
Compute the output order using Tarjan's SCC algorithm. This function: 1. Runs Tarjan's algorithm to find all SCCs 2. Builds the conflict tree 3. Iden
atomic-core/src/output/alive/order.rs:454
↓ 13 callersFunctiondeserialize
(deserializer: D)
atomic-remote/src/streaming/types.rs:183
↓ 13 callersFunctiondev_identity
()
atomic-canonical/tests/roundtrip.rs:14
↓ 13 callersFunctiondiff
Compute the diff between two sequences using the Patience algorithm. This algorithm often produces more intuitive diffs for source code by using uniq
atomic-core/src/diff/patience.rs:80
↓ 13 callersFunctiondiff_text
Diff two byte slices as text, splitting on newlines. This is a convenience function that handles the common case of diffing two text files. It splits
atomic-core/src/diff/mod.rs:544
↓ 13 callersMethodfinish
Consumes the context and returns the final outcome. # Example ```rust use atomic_core::crdt::apply::{ApplyContext, ApplyOptions}; let mut context =
atomic-core/src/crdt/apply/context.rs:633
↓ 13 callersMethodget_contents
( &self, hash_fn: F, node: GraphNode<NodeId>, buf: &mut [u8], )
atomic-core/src/change/store.rs:440
↓ 13 callersMethodheader
Get the graph_op header in unified diff format. Returns a string like `@@ -1,5 +1,6 @@`
atomic-cli/src/commands/diff/types.rs:397
↓ 13 callersMethodis_deleted
(&self)
atomic-core/src/crdt/leaf.rs:79
↓ 13 callersMethodis_empty
Returns `true` if there are no nodes.
atomic-agent/src/provenance/types.rs:455
↓ 13 callersMethoditer
Iterate over the hunks.
atomic-core/src/record/workflow/graph_op/hunk.rs:472
↓ 13 callersMethodkind
(&self)
atomic-core/src/record/workflow/crdt/line_ops/types.rs:400
↓ 13 callersFunctionlift_memory
Lift a memory from its frontmatter spine and markdown body. `memoryKind`, `status`, `about`, `derivedFrom`, `supersedes`, and `previousRevision` are
atomic-canonical/src/memory.rs:137
↓ 13 callersFunctionmake_position
(change: u64, pos: u64)
atomic-core/src/apply/conflict.rs:469
↓ 13 callersMethodmodified
Create an input for a modified file.
atomic-repository/src/parallel_record/mod.rs:95
↓ 13 callersMethodparse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/devin.rs:209
↓ 13 callersFunctionprint_blank
Print a blank line for visual separation.
atomic-cli/src/output/mod.rs:181
↓ 13 callersFunctionprint_error
Print an error message to stderr. The message is formatted in red with an X prefix. # Arguments `message` - The message to print # Example ```rus
atomic-cli/src/output/mod.rs:103
↓ 13 callersMethodpush_child_to_last
Push a child and increment the last span's child count. This is a convenience method that combines pushing a child and updating the count on the most
atomic-core/src/output/alive/graph.rs:212
↓ 13 callersFunctionrecord_change
Helper to record a change with a message.
atomic-repository/tests/state_based_diff_test.rs:60
↓ 13 callersMethodreverse
Create the reverse edge modification. This creates an edge that undoes this modification: - Swaps `previous` and `flag` - Uses the given `introduced_
atomic-core/src/change/atom.rs:417
↓ 13 callersMethodrun
Execute the log command. This method: 1. Finds the repository root 2. Opens the repository 3. Queries history based on options 4. Formats and display
atomic-cli/src/commands/log/command.rs:482
↓ 13 callersMethodset_agent
Set the agent identity for sessions created by this orchestrator. Called by the CLI hook handler after construction, before dispatching events. This
atomic-agent/src/turn/orchestrator/mod.rs:300
↓ 13 callersMethodset_last_children_start
Set the children start index for the last span. This should be called before pushing that span's children. # Panics Panics if the graph has no vert
atomic-core/src/output/alive/graph.rs:226
↓ 13 callersMethodto_flags
(self)
atomic-core/src/types/edge_kind.rs:96
↓ 13 callersFunctiontokenize_for_fts
Tokenize text for the FTS inverted index. Extracts lowercase alphanumeric words of length >= 3, filtering out stop words (common English + programmin
atomic-core/src/pristine/tables.rs:773
↓ 13 callersFunctionvalidate_intent
Validate a canonical Intent node against `IntentShape` (+ sub-shapes).
atomic-canonical/src/gate.rs:70
↓ 13 callersMethodvendor
Set the AI vendor.
atomic-core/src/change/provenance/builder.rs:37
↓ 13 callersMethodwith_modified
(mut self, files: Vec<PathBuf>)
atomic-agent/src/event.rs:495
↓ 13 callersMethodwith_transcript_path
(mut self, path: impl Into<PathBuf>)
atomic-agent/src/event.rs:351
↓ 13 callersFunctionwriter_with_preamble
Helper: create a minimal writer with header + hash table already written.
atomic-core/src/change/format_v3/writer/tests.rs:12
↓ 12 callersMethodadd_file
Adds a new file and returns its trunk ID. Creates a `TrunkOp::Create` for the file. Use [`add_line`](Self::add_line) to add content to the file.
atomic-core/src/record/workflow/crdt/builder/trunk.rs:152
↓ 12 callersFunctionapply_common_actions
Apply the common (non-strategy-specific) actions from a transition result to the given session state. This updates `phase`, `last_interaction`, and `
atomic-agent/src/turn/phase.rs:632
↓ 12 callersFunctionbuild_turn_envelope
Build a `SessionEnvelope` for embedding in `HashedChange.metadata`.
atomic-agent/src/record/provenance.rs:203
↓ 12 callersFunctionbuild_turn_provenance
Build a `Provenance` entry for an agent turn. Populates vendor, model, tool, suggestion type, session ID, and prompt hash. Token usage and cost can b
atomic-agent/src/record/provenance.rs:26
↓ 12 callersFunctioncollect_visible_change_ids
Collect all change `NodeId`s visible from a view, including parent views. For **draft** views this walks the full overlay chain (other draft ancestor
atomic-repository/src/repository/filter.rs:53
↓ 12 callersMethodcompact_graph_op
Convert a `GraphOp<Option<Hash>>` to a [`CompactGraphOp`]. This is the main entry point for compacting a full graph operation before serialization. I
atomic-core/src/change/format_v3/compact/convert.rs:26
↓ 12 callersFunctionconvert_remote_error
Convert a remote error to a CLI error. Maps the various remote error types to appropriate CLI error types with user-friendly messages and suggestions
atomic-cli/src/commands/clone/helpers.rs:380
↓ 12 callersMethodcount
Get the number of entries yielded so far.
atomic-repository/src/history/iter.rs:66
↓ 12 callersFunctioncreate_and_add_file
Helper to create a file in the repository and add it.
atomic-repository/tests/state_based_diff_test.rs:52
↓ 12 callersFunctioncreate_test_branch
(txn: &mut MockTxn, change_id: u64, branch_idx: u32)
atomic-core/src/crdt/apply/leaf.rs:623
↓ 12 callersMethoddependencies
Get the change dependencies.
atomic-core/src/change/change.rs:267
↓ 12 callersFunctionempty_status
()
atomic-agent/src/record/tests.rs:77
↓ 12 callersFunctionencode_trunk_value
Encode trunk data as variable-length bytes for storage. # Layout ```text ┌────────────────────────────────────────────────┐ │ Bytes 0-7: inode (u64
atomic-core/src/crdt/tables.rs:725
↓ 12 callersMethodfile_ops
Get a reference to the file operations.
atomic-core/src/change/change.rs:218
↓ 12 callersMethodfinish
Finishes building and returns the result.
atomic-core/src/record/workflow/crdt/builder/mod.rs:341
↓ 12 callersMethodget_file_content_on_view
Get the recorded content for a tracked file on a specific view. Like `get_file_content`, but reads from the specified view instead of the current vie
atomic-repository/src/repository/content.rs:363
↓ 12 callersMethodhas
* Check whether a session exists without creating it.
packages/opencode-atomic-hooks/src/session.ts:95
↓ 12 callersMethodid
(&self)
atomic-core/src/crdt/apply/order.rs:223
↓ 12 callersMethodinit_kg
(&mut self)
atomic-core/src/pristine/txn/write/triples.rs:460
↓ 12 callersMethodinto_inner
Consume this writer and return the underlying writer.
atomic-core/src/output/traits.rs:651
↓ 12 callersMethodis_empty
Check if this row has no cells.
atomic-cli/src/output/table.rs:206
↓ 12 callersMethoditer_forward
Iterate forward (non-parent) edges from a vertex. Returns typed [`ForwardEdge`] values. When `include_deleted` is true, deleted edges (`BlockDeleted`
atomic-core/src/pristine/traits/graph.rs:201
↓ 12 callersMethoditer_parents
Iterate parent (reverse) edges of a vertex. Returns typed [`ParentEdge`] values. When `include_deleted` is true, deleted parent edges are included; o
atomic-core/src/pristine/traits/graph.rs:242
↓ 12 callersMethodnode_text
Get the text content of a node.
atomic-semantic/src/parsers/swift.rs:557
↓ 12 callersMethodnode_text
Get the text content of a node.
atomic-semantic/src/parsers/cpp.rs:688
↓ 12 callersMethodparse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/sherpa.rs:188
↓ 12 callersMethodput_change
( &mut self, view: &mut ViewState, change_id: NodeId, change_hash: &Hash,
atomic-core/src/pristine/txn/write/mod.rs:986
↓ 12 callersMethodrecord_file
Record a file write. # Arguments `path` - The path of the file that was written `bytes` - The number of bytes written # Example ```rust use atomic
atomic-core/src/output/repo/outcome.rs:225
↓ 12 callersMethodrecord_skipped
(&mut self)
atomic-core/src/crdt/apply/context.rs:595
← previousnext →301–400 of 15,497, ranked by callers