MCPcopy Create free account

hub / github.com/atomicdotdev/atomic / functions

Functions14,765 in github.com/atomicdotdev/atomic

↓ 14 callersMethoditer
Iterate over the hunks.
atomic-core/src/record/workflow/graph_op/hunk.rs:472
↓ 14 callersMethodlen
(&self)
atomic-core/src/change/atom.rs:218
↓ 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/codex.rs:208
↓ 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:219
↓ 14 callersMethodsave
Save global configuration to the default location
atomic-config/src/lib.rs:379
↓ 14 callersMethodset_state
Sets the leaf's state.
atomic-core/src/crdt/leaf.rs:225
↓ 14 callersFunctionsummarize_tool_call
Generate a one-line summary for a tool call node. The summary is human-readable and concise, suitable for display in the provenance graph and compact
atomic-agent/src/provenance/classify.rs:152
↓ 14 callersMethodtokens
(&self)
atomic-core/src/record/workflow/crdt/tokenize/types.rs:177
↓ 14 callersMethodtruncate
Truncate text to fit within a maximum width.
atomic-cli/src/output/table.rs:422
↓ 14 callersMethodupdate_view
(&mut self, view: &ViewState)
atomic-core/src/pristine/txn/write/mod.rs:793
↓ 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_metadata
Set custom metadata.
atomic-core/src/output/mod.rs:385
↓ 13 callersMethodbuild
Build the attestation.
atomic-core/src/change/attestation.rs:648
↓ 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 callersMethoddisplay
Format the stash entry for display. Returns a human-readable string like: `stash@{0}: On dev: Fix authentication bug`
atomic-cli/src/commands/stash.rs:223
↓ 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 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
↓ 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 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
↓ 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 callersMethodparse_event
(&self, hook_type: HookType, input: &[u8])
atomic-agent/src/hooks/devin.rs:208
↓ 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 callersFunctionrecord_change
Helper to record a change with a message.
atomic-repository/tests/state_based_diff_test.rs:60
↓ 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:478
↓ 13 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:253
↓ 13 callersMethodsuccess
Create a mock that returns a successful reasoning.
atomic-agent/src/transcript/generator.rs:421
↓ 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:742
↓ 13 callersFunctionturn_start_event
(session_id: &str, prompt: &str)
atomic-agent/src/turn/orchestrator/tests.rs:30
↓ 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:487
↓ 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
Add statistics for a file. # Arguments `file_stats` - Statistics for the file to add
atomic-cli/src/commands/diff/types.rs:199
↓ 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 callersMethodall
Create an empty filter (matches all).
atomic-identity/src/store.rs:269
↓ 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:177
↓ 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 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 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 callersMethoddest
(&self)
atomic-core/src/types/edge_kind.rs:330
↓ 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 callersFunctionencode_view_seq
(view_id: u64, seq: u64)
atomic-core/src/pristine/tables.rs:849
↓ 12 callersMethodfinish
Finishes building and returns the result.
atomic-core/src/record/workflow/crdt/builder/mod.rs:341
↓ 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:442
↓ 12 callersMethodis_empty
Returns `true` if there are no nodes.
atomic-agent/src/provenance/types.rs:455
↓ 12 callersMethodis_empty
Check if the view has any changes.
atomic-core/src/pristine/traits/view.rs:253
↓ 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 callersMethodmodified
Create an input for a modified file.
atomic-repository/src/parallel_record/mod.rs:95
↓ 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 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
↓ 12 callersMethodput_change
( &mut self, view: &mut ViewState, change_id: NodeId, change_hash: &Hash,
atomic-core/src/pristine/txn/write/mod.rs:512
↓ 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
↓ 12 callersMethodregister
Register a new agent adapter. If an agent with the same name is already registered, the new one replaces it.
atomic-agent/src/hooks/mod.rs:313
↓ 12 callersMethodset
(&mut self, flag: u32)
atomic-core/src/change/format_v3/types/header.rs:79
↓ 12 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
↓ 12 callersMethodskip
Record a skipped path.
atomic-repository/src/tracking/mod.rs:265
↓ 12 callersMethodstate
(&self)
atomic-core/src/crdt/leaf.rs:205
↓ 12 callersMethodtimestamp
Set the timestamp (Unix epoch seconds). Defaults to now.
atomic-core/src/change/provenance_graph/builder.rs:137
↓ 12 callersMethodupsert_kg_edge
(&mut self, edge: &KgEdge)
atomic-core/src/pristine/txn/write/triples.rs:362
↓ 12 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:33
↓ 12 callersMethodwith_tool_use_id
(mut self, id: impl Into<String>)
atomic-agent/src/event.rs:364
↓ 12 callersMethodwrite_semantic_section
Write a SEMANTIC section for a single file. Each modified file can have one SEMANTIC section containing its Trunk/Branch/Leaf operations for code rev
atomic-core/src/change/format_v3/writer/sections.rs:66
↓ 11 callersMethodadd_directory
Add a directory. # Example ```rust use atomic_core::output::{Memory, WorkingCopyRead}; let wc = Memory::new(); wc.add_directory("src/utils"); asse
atomic-core/src/output/memory.rs:339
↓ 11 callersMethodadd_line_op
Adds a line operation.
atomic-core/src/record/workflow/crdt/builder/trunk.rs:87
↓ 11 callersMethodadd_line_op
Adds a line operation.
atomic-core/src/change/ops.rs:217
↓ 11 callersMethodallow_duplicate_ids
(&self)
atomic-core/src/crdt/apply/options.rs:302
↓ 11 callersMethodas_str
Convert to string representation for storage
atomic-semantic/src/entity.rs:38
↓ 11 callersFunctioncompare_content
Compare two content blobs and produce a diff. This is the main entry point for content comparison. It handles: - Encoding detection for both contents
atomic-core/src/record/workflow/compare.rs:337
↓ 11 callersFunctioncondense_claude_transcript
Parse a Claude Code JSONL transcript into condensed entries. Reads each line as JSON, extracts user prompts, assistant text responses, and tool calls
atomic-agent/src/transcript/condense.rs:32
↓ 11 callersMethodcontents_chunks
Set the number of content chunks.
atomic-core/src/change/format_v3/types/builder.rs:82
↓ 11 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
↓ 11 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/pull/helpers.rs:243
↓ 11 callersFunctioncrdt_output
(repo: &Repository, path: &str)
atomic-repository/tests/content_roundtrip_fidelity_test.rs:1400
↓ 11 callersMethodcrdt_stats
(&self)
atomic-core/src/record/workflow/record/types.rs:418
↓ 11 callersFunctioncreate_progress_bar
Create a progress bar for operations with known total. Use this when you know ahead of time how many items will be processed or how many bytes will b
atomic-cli/src/output/progress.rs:118
↓ 11 callersFunctioncreate_test_change
Create a simple test change with the given message.
atomic-repository/src/changestore/tests.rs:25
↓ 11 callersFunctioncreate_test_entry_with_header
()
atomic-cli/src/commands/log/tests.rs:406
↓ 11 callersFunctioncreate_test_trunk
(txn: &mut MockTxn, node_id: u64)
atomic-core/src/crdt/apply/branch.rs:675
↓ 11 callersFunctiondid_for_public_key
Build the `did:atomic:...` identifier for a public key.
atomic-canonical/src/did.rs:29
← previousnext →301–400 of 14,765, ranked by callers