Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awakenworks/awaken
/ functions
Functions
15,944 in github.com/awakenworks/awaken
⨍
Functions
15,944
◇
Types & classes
2,546
↓ 16 callers
Method
report_progress
Report structured tool call progress. Emits an [`AgentEvent::ActivitySnapshot`] with `activity_type = "tool-call-progress"`. No-op if no `activity_si
crates/awaken-runtime-contract/src/contract/tool.rs:431
↓ 16 callers
Function
sample_tool_span
()
crates/awaken-ext-observability/src/otel_test.rs:37
↓ 16 callers
Method
send_task_inbox_message
Send a message to a child task's live inbox. This is the internal low-latency transport for parent→child communication within the same process. For c
crates/awaken-runtime/src/extensions/background/manager.rs:760
↓ 16 callers
Function
state_for_admin_surface_test
(address: &str, admin_api_config: AdminApiConfig)
crates/awaken-server/src/app_test.rs:3
↓ 16 callers
Function
test_server_event_publisher
( event_store: Arc<InMemoryEventStore>, )
crates/awaken-server/src/mailbox/tests.rs:92
↓ 16 callers
Method
threads_dir
(&self)
crates/awaken-stores/src/file.rs:59
↓ 16 callers
Function
tool_error
(tool_name: &str, code: &str, message: impl Into<String>)
crates/awaken-ext-skills/src/tools.rs:542
↓ 16 callers
Method
touch
Ensure timestamps are initialized and mark the thread as updated.
crates/awaken-runtime-contract/src/thread.rs:150
↓ 16 callers
Method
with_priority
(mut self, priority: u8)
crates/awaken-server-contract/src/contract/mailbox.rs:220
↓ 16 callers
Method
with_section
(mut self, key: impl Into<String>, value: Value)
crates/awaken-runtime-contract/src/registry_spec/mod.rs:1156
↓ 15 callers
Method
ack
( &self, dispatch_id: &str, claim_token: &str, now: u64, )
crates/awaken-stores/src/nats_mailbox/mod.rs:399
↓ 15 callers
Function
asString
(value: unknown)
examples/ai-sdk-starter/src/components/tools/a2ui-protocol.ts:34
↓ 15 callers
Function
callsFor
(fetchSpy: FetchSpyLike, path: string, method = "GET")
apps/admin-console/src/test/http.ts:29
↓ 15 callers
Method
cancel_all
Cancel all running tasks for a given thread. Returns the number of tasks cancelled.
crates/awaken-runtime/src/extensions/background/manager.rs:485
↓ 15 callers
Function
cleanup_staged_file_ops
Clean up staged file operations on error.
crates/awaken-stores/src/file.rs:1037
↓ 15 callers
Method
commit_checkpoint_staged
( &self, plan: ThreadCommit, staged: ThreadCommitStagedWrites, )
crates/awaken-stores/src/file_commit_coordinator.rs:127
↓ 15 callers
Function
draft
(wire_event_id: &str, protocol_version: &str, payload: &[u8])
crates/awaken-stores/tests/postgres_protocol_replay_log.rs:34
↓ 15 callers
Function
draft
(thread_id: &str, run_id: &str, value: i64)
crates/awaken-stores/tests/postgres_event_store.rs:36
↓ 15 callers
Function
enc
()
crates/awaken-server/src/protocols/acp/encoder.rs:286
↓ 15 callers
Method
events
Clone all collected events without clearing the buffer.
crates/awaken-runtime-contract/src/contract/event_sink.rs:46
↓ 15 callers
Method
execute
( &self, request: InferenceRequest, )
crates/awaken-runtime/src/engine/scripted.rs:166
↓ 15 callers
Function
from_json
( value: serde_json::Value, )
crates/awaken-stores/src/postgres_protocol_replay.rs:520
↓ 15 callers
Function
gen_message_id
Generate a time-ordered UUID v7 message identifier.
crates/awaken-runtime-contract/src/contract/message.rs:309
↓ 15 callers
Method
get
(&self, id: &str)
crates/awaken-ext-skills/src/registry.rs:115
↓ 15 callers
Function
isAgentRuntimeSnapshot
( value: unknown, )
apps/admin-console/src/lib/agent-stats.ts:186
↓ 15 callers
Method
is_empty
(&self)
crates/awaken-server-contract/src/contract/staged_commit.rs:107
↓ 15 callers
Method
list_replay
( &self, stream: ProtocolStreamKey, from: Option<ProtocolReplayCursor>, limit:
crates/awaken-server-contract/src/contract/protocol_replay_log.rs:385
↓ 15 callers
Method
list_threads_query
(&self, query: &ThreadQuery)
crates/awaken-stores/src/file.rs:1202
↓ 15 callers
Method
load_dispatch
(&self, dispatch_id: &str)
crates/awaken-stores/src/sqlite_mailbox/mod.rs:1190
↓ 15 callers
Function
make_registry
(skills: Vec<Arc<dyn Skill>>)
crates/awaken-ext-skills/src/plugin/discovery.rs:363
↓ 15 callers
Function
make_request
()
crates/awaken-runtime/src/engine/scripted.rs:273
↓ 15 callers
Function
make_skill_registry
()
crates/awaken/tests/skill_permission_e2e.rs:245
↓ 15 callers
Function
make_store
(fixture: &NatsFixture)
crates/awaken-stores/tests/nats_buffered_thread_conformance.rs:14
↓ 15 callers
Method
optional
(self)
crates/awaken-stores/src/sqlite_mailbox/mod.rs:1477
↓ 15 callers
Function
pattern_matches
(pattern: &ToolCallPattern, tool_id: &str, tool_args: &Value)
crates/awaken-tool-pattern/src/matcher.rs:15
↓ 15 callers
Function
policies_from_specs
Convert declarative stop condition specs into policy instances.
crates/awaken-runtime/src/policies/policy.rs:294
↓ 15 callers
Function
post_json
(app: Router, uri: &str, payload: Value)
crates/awaken-server/tests/a2a_gateway.rs:486
↓ 15 callers
Method
pull_dispatch_signals
( &self, max: usize, expires: std::time::Duration, )
crates/awaken-stores/src/nats_mailbox/mod.rs:528
↓ 15 callers
Method
record_background_task
(&self, span: &BackgroundTaskSpan)
crates/awaken-ext-observability/src/otel.rs:936
↓ 15 callers
Method
record_stream_failure
(&self, request: &InferenceRequest, err: &InferenceExecutionError)
crates/awaken-runtime/src/engine/modality_guard.rs:93
↓ 15 callers
Method
register
Register a value under `id`, returning an error (via `make_err`) on duplicate keys.
crates/awaken-runtime/src/registry/memory.rs:48
↓ 15 callers
Function
renderProviders
()
apps/admin-console/src/pages/providers-page.test.tsx:94
↓ 15 callers
Function
rep
(id: string, passed: boolean)
apps/admin-console/src/lib/eval-reports.test.ts:729
↓ 15 callers
Function
resolveBreadcrumbs
(pathname: string)
apps/admin-console/src/lib/nav.ts:101
↓ 15 callers
Function
scene
( page: Page, pair: { en: string; zh: string }, )
e2e/tests/demo-helpers.ts:159
↓ 15 callers
Function
send_request
( router: &axum::Router, method: Method, uri: &str, body: Option<Value>, )
crates/awaken-server/tests/config_backends.rs:321
↓ 15 callers
Method
shutdown
(&self)
crates/awaken-server/tests/agent_dashboard_e2e.rs:104
↓ 15 callers
Method
skip_whitespace
(&mut self)
crates/awaken-tool-pattern/src/parser.rs:63
↓ 15 callers
Method
snapshot
(&self)
crates/awaken-runtime/src/registry/snapshot.rs:80
↓ 15 callers
Function
stage_write
Write and fsync a temp file, returning a staged write for later commit.
crates/awaken-stores/src/file.rs:874
↓ 15 callers
Function
store
()
crates/awaken-server/src/services/builtin_seed/tests.rs:69
↓ 15 callers
Function
stubFetch
( overrides?: Record<string, unknown>, supportedAdapters = ["openai", "anthropic"], options?: { list
apps/admin-console/src/pages/providers-page.test.tsx:24
↓ 15 callers
Function
summarizeChange
(event: AuditEvent)
apps/admin-console/src/lib/audit-log.ts:70
↓ 15 callers
Method
token_for
( &self, provider_id: &str, scope: &str, )
crates/awaken-runtime/src/credentials/broker.rs:290
↓ 15 callers
Method
transform
( &self, mut messages: Vec<Message>, tool_descriptors: &[ToolDescriptor], )
crates/awaken-runtime/src/context/transform/mod.rs:46
↓ 15 callers
Method
try_dispatch_next
(self: &Arc<Self>, thread_id: &str)
crates/awaken-server/src/mailbox/signal_loop.rs:305
↓ 15 callers
Function
update
(nextConfig: DeferredToolsConfig)
apps/admin-console/src/components/editors/deferred-tools-editor.tsx:27
↓ 15 callers
Function
validate_skill_spec
Validate and decode a `SkillSpec` for config write surfaces.
crates/awaken-runtime-contract/src/config_validation/mod.rs:453
↓ 14 callers
Function
apply_context_messages
Insert context messages into the message list at their declared target positions.
crates/awaken-runtime/src/loop_runner/actions.rs:291
↓ 14 callers
Function
captured_inference_span
(run_id: &str, text: &str, with_user: bool)
crates/awaken-server/tests/eval_api.rs:649
↓ 14 callers
Method
claim_outbox
( &self, lane: &str, target: &str, limit: usize, lease_ms: u64,
crates/awaken-stores/src/memory_outbox.rs:96
↓ 14 callers
Method
create_run
(&self, record: &RunRecord)
crates/awaken-stores/src/memory/mod.rs:407
↓ 14 callers
Method
emit
(&self, event: AgentEvent)
crates/awaken-runtime/src/extensions/a2a/progress_sink.rs:36
↓ 14 callers
Function
encode_event_to_sse
Encode a single agent event through a transcoder into SSE data frames.
crates/awaken-server/src/transport/transcoder.rs:11
↓ 14 callers
Method
find_dependents
Return all records in other namespaces that reference `id` in `namespace`. - Providers: scans models for `provider_id == id` - Models: scans agents f
crates/awaken-server/src/services/config_service/dependencies.rs:18
↓ 14 callers
Function
find_event
(events: &'a [Value], event_type: &str)
crates/awaken-server/tests/protocol_ag_ui_e2e.rs:276
↓ 14 callers
Function
find_split_point
Find the split point in history that fits the token budget. Always keeps at least `min_recent` messages from the end. Adjusts boundaries to avoid spl
crates/awaken-runtime/src/context/transform/truncation.rs:10
↓ 14 callers
Method
into_rules
Convert this configuration into a list of [`ReminderRule`]s.
crates/awaken-ext-reminder/src/config.rs:168
↓ 14 callers
Function
invalidateConfigMutation
(queryClient: QueryClient, namespace: string, id?: string)
apps/admin-console/src/lib/query/invalidation.ts:8
↓ 14 callers
Function
isToolAllowed
(catalog: AgentSpecCatalog, toolId: string)
apps/admin-console/src/lib/tool-catalog.ts:76
↓ 14 callers
Method
kind
Stable string discriminator used for grouping in reports.
crates/awaken-eval/src/expectation.rs:255
↓ 14 callers
Method
list_threads
(&self, offset: usize, limit: usize)
crates/awaken-stores/tests/fault_injection.rs:58
↓ 14 callers
Function
load
(override?: Partial<typeof filter>)
apps/admin-console/src/pages/audit-log-page.tsx:84
↓ 14 callers
Method
lock_apply
(&self)
crates/awaken-server/src/services/config_runtime.rs:737
↓ 14 callers
Function
make_llm_error
()
crates/awaken-runtime/src/policies/tests.rs:502
↓ 14 callers
Function
make_local_registry
()
crates/awaken-runtime/src/registry/composite.rs:499
↓ 14 callers
Function
make_run
(run_id: &str, thread_id: &str, status: RunStatus)
crates/awaken-stores/src/memory/tests.rs:14
↓ 14 callers
Function
make_run
(run_id: &str, thread_id: &str, status: RunStatus)
crates/awaken-stores/tests/thread_store_conformance.rs:12
↓ 14 callers
Function
merge_checkpoint_append_messages
Merge an append checkpoint delta into the committed message projection. Committed history is append-only (ADR-0042 I1/D6): only message ids not alrea
crates/awaken-runtime-contract/src/contract/storage/message_append.rs:155
↓ 14 callers
Function
messaging_env
Build a messaging-enabled env (registers the outbox + dead-letter keys) and a store wired to the manager.
crates/awaken-runtime/src/extensions/background/send_message_tool.rs:696
↓ 14 callers
Function
model
(overrides: Partial<ModelSpec>)
apps/admin-console/src/pages/models-page.test.tsx:60
↓ 14 callers
Function
plain
Drop labelKey from crumbs so tests focus on the resolved literals.
apps/admin-console/src/lib/nav.test.ts:10
↓ 14 callers
Function
post_json
(app: axum::Router, uri: &str, payload: Value)
crates/awaken-server/tests/http_api.rs:451
↓ 14 callers
Function
prepare_queued_dispatch
( mailbox: &Arc<Mailbox>, thread_id: &str, content: &str, )
crates/awaken-server/src/mailbox/tests.rs:1850
↓ 14 callers
Method
register
Register or replace credential material for a provider id. Replacing material **invalidates the cache** for all scopes of that provider — the next `t
crates/awaken-runtime/src/credentials/broker.rs:250
↓ 14 callers
Method
registries
(&self)
crates/awaken-runtime/src/registry/snapshot.rs:29
↓ 14 callers
Function
release_dedupe_lock
Delete the dedupe lock. Idempotent — failures are logged and swallowed because a stale lock is recoverable (manual purge or TTL sweep) while a panicki
crates/awaken-stores/src/nats_mailbox/ops_write.rs:315
↓ 14 callers
Function
renderModels
()
apps/admin-console/src/pages/models-page.test.tsx:100
↓ 14 callers
Function
resetCrud
(overrides: Partial<typeof pageState.crud> = {})
apps/admin-console/src/pages/models-page.test.tsx:70
↓ 14 callers
Method
resolve
( &self, req: awaken_runtime::ResolutionRequest, )
crates/awaken-server/tests/run_api.rs:190
↓ 14 callers
Method
resume_run_id
(&self)
crates/awaken-runtime/src/run.rs:177
↓ 14 callers
Method
run
(&self, ctx: &PhaseContext)
crates/awaken-ext-permission/src/plugin/filter.rs:39
↓ 14 callers
Function
seed_thread_with_lineage
( store: &InMemoryStore, title: Option<&str>, resource_id: Option<&str>, paren
crates/awaken-server/tests/http_api.rs:552
↓ 14 callers
Function
send_message_payload
(task_id: &str, context_id: &str, message_id: &str, text: &str)
crates/awaken-server/tests/a2a_http.rs:372
↓ 14 callers
Function
span
()
crates/awaken-ext-observability/src/trace_store/file_test.rs:14
↓ 14 callers
Function
spawn_mock_a2a_server
( completion_mode: MockCompletionMode, slow_poll: bool, supports_subscribe: bool, )
crates/awaken-server/tests/a2a_gateway.rs:327
↓ 14 callers
Function
spec
(id: &str)
crates/awaken-ext-skills/src/config_skill.rs:340
↓ 14 callers
Function
sse_body_stream
Convert an mpsc receiver of SSE chunks into an async stream suitable for HTTP response. Injects periodic SSE comment heartbeats (`: heartbeat`) when
crates/awaken-server/src/http_sse.rs:21
↓ 14 callers
Method
store
(&self)
crates/awaken-stores/src/postgres_commit_coordinator.rs:52
↓ 14 callers
Method
subscribe
(&self)
crates/awaken-stores/src/memory/mod.rs:754
← previous
next →
501–600 of 15,944, ranked by callers