internal/

directory
v0.0.0-...-cf4989e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2026 License: MIT

Directories

Path Synopsis
ai
agent
client.go — LLMStreamer interface for the agent executor.
client.go — LLMStreamer interface for the agent executor.
embedding
Package embedding provides a client for the local embedding sidecar — since the 2026-07-18 cutover the Nemotron NVFP4 adapter on :8002 (scripts/deploy/nemotron-embed-server.py; DENEB_EMBEDDING_URL selects the endpoint, and the BGE-M3 server on :8001 remains the rollback target).
Package embedding provides a client for the local embedding sidecar — since the 2026-07-18 cutover the Nemotron NVFP4 adapter on :8002 (scripts/deploy/nemotron-embed-server.py; DENEB_EMBEDDING_URL selects the endpoint, and the BGE-M3 server on :8001 remains the rollback target).
llm
normalize.go — Pre-send message normalization for API compliance.
normalize.go — Pre-send message normalization for API compliance.
localai
Package localai provides a centralized hub for all local AI LLM requests.
Package localai provides a centralized hub for all local AI LLM requests.
modelcaps
Package modelcaps centralizes per-provider/per-model capability knowledge: context window size, reasoning-endpoint behavior, vision support, and prompt-cache (cache_control) compatibility.
Package modelcaps centralizes per-provider/per-model capability knowledge: context window size, reasoning-endpoint behavior, vision support, and prompt-cache (cache_control) compatibility.
modelrole
Package modelrole provides a centralized model role registry for the gateway.
Package modelrole provides a centralized model role registry for the gateway.
modeltuner
Package modeltuner is the background per-model optimization loop: measure (agent-log scorecard) → threshold (rules.go) → adjust/advise.
Package modeltuner is the background per-model optimization loop: measure (agent-log scorecard) → threshold (rules.go) → adjust/advise.
observatory
Package observatory aggregates Deneb's scattered self-improvement telemetry into one compact, machine-readable self-status digest.
Package observatory aggregates Deneb's scattered self-improvement telemetry into one compact, machine-readable self-status digest.
provider
runtime.go — Provider runtime resolution for the Go gateway.
runtime.go — Provider runtime resolution for the Go gateway.
regressionwatch
Package regressionwatch is Stage 1 of the autoresearch cold-start trigger: an observe-only background task that samples operational telemetry from several runtime surfaces, compares each signal against a persisted rolling baseline, and logs detected regressions.
Package regressionwatch is Stage 1 of the autoresearch cold-start trigger: an observe-only background task that samples operational telemetry from several runtime surfaces, compares each signal against a persisted rolling baseline, and logs detected regressions.
rerank
Package rerank provides an optional HTTP client for a dedicated ranking sidecar.
Package rerank provides an optional HTTP client for a dedicated ranking sidecar.
router
Package router holds the model-agnostic reasoning-effort routing policy.
Package router holds the model-agnostic reasoning-effort routing policy.
tokenest
Package tokenest provides model-family-aware token count estimation.
Package tokenest provides model-family-aware token count estimation.
codegen
gowire
Package gowire discovers Go structs that opt into generated client wire models and exposes the shared JSON-name rules used by every client generator.
Package gowire discovers Go structs that opt into generated client wire models and exposes the shared JSON-name rules used by every client generator.
core
agentlog
Package agentlog provides detailed JSONL logging for AI agent runs.
Package agentlog provides detailed JSONL logging for AI agent runs.
corecache
Package corecache provides generic cache primitives.
Package corecache provides generic cache primitives.
coremarkdown
Package coremarkdown provides fenced code block detection for raw markdown text.
Package coremarkdown provides fenced code block detection for raw markdown text.
coremedia
Package coremedia provides pure-Go media MIME detection.
Package coremedia provides pure-Go media MIME detection.
coreparsing/htmlmd
Package htmlmd converts HTML to Markdown using a two-pass tokenize+emit architecture ported from the Rust core (core-rs/core/src/parsing/html_to_markdown/).
Package htmlmd converts HTML to Markdown using a two-pass tokenize+emit architecture ported from the Rust core (core-rs/core/src/parsing/html_to_markdown/).
coreparsing/mediatokens
Package mediatokens extracts MEDIA: tokens from LLM output text.
Package mediatokens extracts MEDIA: tokens from LLM output text.
coreparsing/urlextract
Package urlextract extracts safe URLs from message text.
Package urlextract extracts safe URLs from message text.
observe
Package observe is Deneb's unified observation plane — the single access point a coding agent (external Claude Code, Propus, or a human operator) uses to watch the gateway's logging, runtime behavior, and the code paths that produced them.
Package observe is Deneb's unified observation plane — the single access point a coding agent (external Claude Code, Propus, or a human operator) uses to watch the gateway's logging, runtime behavior, and the code paths that produced them.
replytokens
Package tokens implements command registry, dispatch, text chunking, inbound debouncing, heartbeat token handling, group activation, model directive extraction, and fallback state tracking.
Package tokens implements command registry, dispatch, text chunking, inbound debouncing, heartbeat token handling, group activation, model directive extraction, and fallback state tracking.
rpcerr
Package rpcerr provides structured RPC error types with debugging context.
Package rpcerr provides structured RPC error types with debugging context.
domain
approval
Package approval manages execution approval requests and their lifecycle.
Package approval manages execution approval requests and their lifecycle.
autonomous
dreamer.go — Dreamer interface for AuroraDream memory consolidation.
dreamer.go — Dreamer interface for AuroraDream memory consolidation.
backup
Package backup ships a daily archive of the agent's memory stores to a remote host.
Package backup ships a daily archive of the agent's memory stores to a remote host.
briefcase
Package briefcase defines the portable, immutable case format used by the Deneb-Briefcase evaluation harness.
Package briefcase defines the portable, immutable case format used by the Deneb-Briefcase evaluation harness.
briefcase/runcontract
Package runcontract owns the stable execution evidence exchanged by the Briefcase runtime, evaluator, and command composition root.
Package runcontract owns the stable execution evidence exchanged by the Briefcase runtime, evaluator, and command composition root.
classification
Package classification buckets work items into the operator's managed parts (레인) for the "파트별 업무 현황" dashboard.
Package classification buckets work items into the operator's managed parts (레인) for the "파트별 업무 현황" dashboard.
codesearch
Package codesearch is the semantic (concept) code search layer over the CodeGraph index.
Package codesearch is the semantic (concept) code search layer over the CodeGraph index.
contacts
Package contacts mirrors the device address book on the gateway as a flat, fully-replaced snapshot.
Package contacts mirrors the device address book on the gateway as a flat, fully-replaced snapshot.
daemon
Package daemon manages the gateway daemon process lifecycle.
Package daemon manages the gateway daemon process lifecycle.
embedindex
Package embedindex is a corpus-agnostic in-memory dense-vector index.
Package embedindex is a corpus-agnostic in-memory dense-vector index.
filestore
Package filestore is Deneb's self-hosted user file store — the local-disk replacement for the former Dropbox integration.
Package filestore is Deneb's self-hosted user file store — the local-disk replacement for the former Dropbox integration.
goals
Package goals implements persistent cross-turn "standing goals" — the Ralph loop.
Package goals implements persistent cross-turn "standing goals" — the Ralph loop.
knowledge
Package knowledge exposes the curated wiki and the on-box file store under a single agent-facing surface.
Package knowledge exposes the curated wiki and the on-box file store under a single agent-facing surface.
mailpriority
Package mailpriority scores inbox rows into glanceable priority tiers using cheap, local-only heuristics — no LLM call.
Package mailpriority scores inbox rows into glanceable priority tiers using cheap, local-only heuristics — no LLM call.
maintenance
Package maintenance implements filesystem cleanup for sessions and logs.
Package maintenance implements filesystem cleanup for sessions and logs.
market
letter_tokens.go — digit-free market tokens for LLM-composed letters.
letter_tokens.go — digit-free market tokens for LLM-composed letters.
memory
Package memory defines governed write targets for longitudinal personal memory (HealthClaw-style selective change).
Package memory defines governed write targets for longitudinal personal memory (HealthClaw-style selective change).
monitoring
Package monitoring implements gateway activity tracking.
Package monitoring implements gateway activity tracking.
notebook
Package notebook implements NotebookLM-style scoped source collections.
Package notebook implements NotebookLM-style scoped source collections.
org
Package org models the operator's group org chart (조직도) and makes it the MASTER source for the dashboard's part classification.
Package org models the operator's group org chart (조직도) and makes it the MASTER source for the dashboard's part classification.
phoneledger
Package phoneledger owns the durable raw ledger for phone notification events.
Package phoneledger owns the durable raw ledger for phone notification events.
prompts
Package prompts stores operator-editable prompt instructions.
Package prompts stores operator-editable prompt instructions.
push
Package push delivers proactive notifications to the native client via Firebase Cloud Messaging (FCM HTTP v1).
Package push delivers proactive notifications to the native client via Firebase Cloud Messaging (FCM HTTP v1).
rankblend
Package rankblend combines retrieval evidence with a cross-encoder's ordinal order without assuming that the reranker's raw score scale is calibrated.
Package rankblend combines retrieval evidence with a cross-encoder's ordinal order without assuming that the reranker's raw score scale is calibrated.
session
Package session manages gateway session lifecycle.
Package session manages gateway session lifecycle.
skills
Package skills provides skill discovery, metadata parsing, filtering, and filesystem watching for the Go gateway.
Package skills provides skill discovery, metadata parsing, filtering, and filesystem watching for the Go gateway.
skills/genesis
Package genesis is Deneb's recursive self-improvement subsystem — the loop that evolves the agent's own skills and, at the meta level, the process that does the evolving.
Package genesis is Deneb's recursive self-improvement subsystem — the loop that evolves the agent's own skills and, at the meta level, the process that does the evolving.
skills/genesis/common
Package common provides dependency-free helpers shared by genesis subsystems.
Package common provides dependency-free helpers shared by genesis subsystems.
skills/genesis/generation
Package generation provides automatic skill creation from session experience.
Package generation provides automatic skill creation from session experience.
skills/genesis/guardrails
Package guardrails applies deterministic safety checks to generated SKILL.md edits.
Package guardrails applies deterministic safety checks to generated SKILL.md edits.
skills/genesis/lifecycle
Package lifecycle defines L4 review/delivery state and the stable display identity of Deneb's operational recursive self-improvement layers.
Package lifecycle defines L4 review/delivery state and the stable display identity of Deneb's operational recursive self-improvement layers.
skills/genesis/review
nudger.go implements iteration-based skill nudging.
nudger.go implements iteration-based skill nudging.
skills/genesis/status
Package status defines the stable read model for recursive self-improvement health reporting.
Package status defines the stable read model for recursive self-improvement health reporting.
usage
Package usage tracks API call counts and token usage per provider.
Package usage tracks API call counts and token usage per provider.
wiki
brief.go — operator wiki brief (WIKI.md): externalized steering for the autonomous wiki-maintenance prompts (OpenWiki's "wiki brief" pattern, github.com/langchain-ai/openwiki).
brief.go — operator wiki brief (WIKI.md): externalized steering for the autonomous wiki-maintenance prompts (OpenWiki's "wiki brief" pattern, github.com/langchain-ai/openwiki).
wikiport
Package wikiport exposes the stable, narrow contracts that non-wiki packages need from the file-backed wiki domain.
Package wikiport exposes the stable, narrow contracts that non-wiki packages need from the file-backed wiki domain.
eval
briefcase
Package briefcase contains the deterministic, fail-closed grading core for Deneb-Briefcase evaluations.
Package briefcase contains the deterministic, fail-closed grading core for Deneb-Briefcase evaluations.
briefcase/closedloop
Package closedloop composes a port-injected Deneb-Briefcase executor, hidden checkpoint supervisor, information firewall, and public user simulator.
Package closedloop composes a port-injected Deneb-Briefcase executor, hidden checkpoint supervisor, information firewall, and public user simulator.
Package hanja transliterates Han characters (한자) embedded in otherwise-Korean model output into their Sino-Korean Hangul readings (報告書 → 보고서), applying 두음법칙 at word-initial position (旅行 → 여행, 女子 → 여자).
Package hanja transliterates Han characters (한자) embedded in otherwise-Korean model output into their Sino-Korean Hangul readings (報告書 → 보고서), applying 두음법칙 at word-initial position (旅行 → 여행, 女子 → 여자).
infra
clientauth
Package clientauth manages the standalone native-client auth secret.
Package clientauth manages the standalone native-client auth secret.
config
bootstrap_custom_models.go — custom provider model management for the gateway config: persisting/deleting user-added OpenAI-compatible endpoint models under models.providers, plus the endpoint/ID normalization and role-clearing helpers.
bootstrap_custom_models.go — custom provider model management for the gateway config: persisting/deleting user-added OpenAI-compatible endpoint models under models.providers, plus the endpoint/ID normalization and role-clearing helpers.
fileshare
Package fileshare mints and verifies time-limited, path-scoped download links for the local file store — the replacement for Dropbox shared links.
Package fileshare mints and verifies time-limited, path-scoped download links for the local file store — the replacement for Dropbox shared links.
httpretry
Package httpretry provides a shared HTTP status code retry policy used across LLM and channel API clients.
Package httpretry provides a shared HTTP status code retry policy used across LLM and channel API clients.
logging
Package logging — startup banner and shutdown line for the Deneb gateway.
Package logging — startup banner and shutdown line for the Deneb gateway.
metrics
Package metrics provides lightweight RPC call counting for the Deneb gateway.
Package metrics provides lightweight RPC call counting for the Deneb gateway.
middleware
Package middleware provides a request processing pipeline for the RPC dispatcher.
Package middleware provides a request processing pipeline for the RPC dispatcher.
process
Package process manages subprocess execution with approval workflow.
Package process manages subprocess execution with approval workflow.
sdsocket
Package sdsocket resolves systemd socket-activated listeners (the sd_listen_fds(3) protocol) by FileDescriptorName.
Package sdsocket resolves systemd socket-activated listeners (the sd_listen_fds(3) protocol) by FileDescriptorName.
secret
Package secret manages credential/secret resolution and reloading.
Package secret manages credential/secret resolution and reloading.
sparkfleet
Package sparkfleet reads the SparkFleet control plane — a sibling service on the DGX Spark that launches and monitors the GPU containers Deneb depends on (OCR, ASR, embeddings, vLLM).
Package sparkfleet reads the SparkFleet control plane — a sibling service on the DGX Spark that launches and monitors the GPU containers Deneb depends on (OCR, ASR, embeddings, vLLM).
timeouts
Package timeouts provides centralized timeout constants for the gateway.
Package timeouts provides centralized timeout constants for the gateway.
pipeline
autoreply/acp
acp.go — Agent Control Protocol (ACP) integration.
acp.go — Agent Control Protocol (ACP) integration.
autoreply/reply
reply_directives.go — Reply directive processing (media splitting, threading, silent).
reply_directives.go — Reply directive processing (media splitting, threading, silent).
autoreply/session
abort_cutoff.go — Abort cutoff tracking for message deduplication.
abort_cutoff.go — Abort cutoff tracking for message deduplication.
autoreply/types
Package types defines shared data types for the autoreply subsystem.
Package types defines shared data types for the autoreply subsystem.
chat
apc_diag.go — prefix-stability diagnostics for the local-vLLM main path.
apc_diag.go — prefix-stability diagnostics for the local-vLLM main path.
chat/denebui
Package denebui defines the schema for Deneb-style interactive UI blocks that the agent emits inside a ```deneb-ui fenced code block in its reply text.
Package denebui defines the schema for Deneb-style interactive UI blocks that the agent emits inside a ```deneb-ui fenced code block in its reply text.
chat/knowledge
Knowledge enrichment: tier-1 wiki auto-injection for system prompt.
Knowledge enrichment: tier-1 wiki auto-injection for system prompt.
chat/leafbind
Package leafbind aggregates rarely-used leaf imports for the chat package root so direct fan-out stays under the soft boundary bar.
Package leafbind aggregates rarely-used leaf imports for the chat package root so direct fan-out stays under the soft boundary bar.
chat/linkenrichment
Package linkenrichment owns automatic URL understanding for inbound chat messages: extraction, bounded parallel fetch, content conversion, and the asynchronous start/join lifecycle used to overlap enrichment with run prep.
Package linkenrichment owns automatic URL understanding for inbound chat messages: extraction, bounded parallel fetch, content conversion, and the asynchronous start/join lifecycle used to overlap enrichment with run prep.
chat/promptbudget
Package promptbudget provides token budget optimization for variable prompt additions assembled by the chat pipeline.
Package promptbudget provides token budget optimization for variable prompt additions assembled by the chat pipeline.
chat/recall
Package recall owns multi-source memory evidence gathering and frozen per-session recall snapshots.
Package recall owns multi-source memory evidence gathering and frozen per-session recall snapshots.
chat/runstate
abort_tracker.go — Tracks and manages active agent run abort controllers.
abort_tracker.go — Tracks and manages active agent run abort controllers.
chat/subagent
subagent_notify.go — Proactive parent notification on child session completion.
subagent_notify.go — Proactive parent notification on child session completion.
chat/toolport
Package toolport — typed blackboard for multi-tool workflow I/O contracts.
Package toolport — typed blackboard for multi-tool workflow I/O contracts.
chat/toolreg
Package toolreg is a thin leaf for session tool-preset constants and helpers.
Package toolreg is a thin leaf for session tool-preset constants and helpers.
chat/tools
blackboard.go — typed I/O board for multi-tool workflows.
blackboard.go — typed I/O board for multi-tool workflows.
chat/tools/artifact
chart.go — render a data chart (line/bar/area/doughnut) as a PNG the agent can deliver with send_file.
chart.go — render a data chart (line/bar/area/doughnut) as a PNG the agent can deliver with send_file.
chat/tools/codeaction
codeaction.go — the code_action tool (CodeAct paradigm).
codeaction.go — the code_action tool (CodeAct paradigm).
chat/tools/document
Package document extracts readable text from documents and image attachments.
Package document extracts readable text from documents and image attachments.
chat/tools/routine
Package routine collects and renders recurring morning, evening, and weekly business briefings.
Package routine collects and renders recurring morning, evening, and weekly business briefings.
chat/tools/runtimeops
bm25.go — BM25 ranking for deferred-tool search (fetch_tools query path).
bm25.go — BM25 ranking for deferred-tool search (fetch_tools query path).
chat/tools/schedule
calendar.go — the `calendar` agent tool: lets the chat agent read and write the user's calendar during a conversation.
calendar.go — the `calendar` agent tool: lets the chat agent read and write the user's calendar during a conversation.
chat/tools/skilltool
skill_manage.go implements the skill_manage agent tool, enabling the LLM to create, patch, read, and delete skills at runtime.
skill_manage.go implements the skill_manage agent tool, enabling the LLM to create, patch, read, and delete skills at runtime.
chat/tools/surface
Package surface holds agent tools that surface server-owned caches/feeds (market quotes, work feed) without importing those domain packages directly.
Package surface holds agent tools that surface server-owned caches/feeds (market quotes, work feed) without importing those domain packages directly.
chat/tools/wikitool
deal_ledger.go — chat surface over the typed deal ledger (domain/wiki/deal_records.go).
deal_ledger.go — chat surface over the typed deal ledger (domain/wiki/deal_records.go).
chat/toolwire
Package toolwire is the thin facade over tool registration subpackages.
Package toolwire is the thin facade over tool registration subpackages.
chat/toolwire/schema
Package schema holds generated tool JSON schemas (tool_schemas_gen.go) shared by toolwire registration subpackages.
Package schema holds generated tool JSON schemas (tool_schemas_gen.go) shared by toolwire registration subpackages.
chat/toolwire/wire
Package wire composes toolwire/core, ops, domain, and chrono registrations.
Package wire composes toolwire/core, ops, domain, and chrono registrations.
chat/transcript
transcript_cache.go — TTL cache decorator for TranscriptStore.
transcript_cache.go — TTL cache decorator for TranscriptStore.
chat/web
archive.go — persist fetched binary documents into the user file store so a fetched source survives the turn and is browsable/recallable later, instead of being silently dropped and re-fetched next time.
archive.go — persist fetched binary documents into the user file store so a fetched source survives the turn and is browsable/recallable later, instead of being silently dropped and re-fetched next time.
chatport
activation_notice.go — the model-facing activation notices for deferred tools, and their parser.
activation_notice.go — the model-facing activation notices for deferred tools, and their parser.
compaction
Polaris compaction system: tiered context compression for long-running agent sessions.
Polaris compaction system: tiered context compression for long-running agent sessions.
compactuner
Package compactuner is the ACON-style background loop that refines the compaction summarizer's preservation guidelines from observed weakness.
Package compactuner is the ACON-style background loop that refines the compaction summarizer's preservation guidelines from observed weakness.
liteparse
Package liteparse wraps the LiteParse CLI (lit) for local document parsing.
Package liteparse wraps the LiteParse CLI (lit) for local document parsing.
pilot
vision.go — isolated multimodal (vision) LLM call for the "watch" tool.
vision.go — isolated multimodal (vision) LLM call for the "watch" tool.
polaris
semantic.go — dense-vector recall over RESIDENT sessions' structured conversation artifacts and admitted high-signal bursts.
semantic.go — dense-vector recall over RESIDENT sessions' structured conversation artifacts and admitted high-signal bursts.
toolpreset
Package toolpreset defines pipeline-neutral named tool allow-lists for role-based agent sessions.
Package toolpreset defines pipeline-neutral named tool allow-lists for role-based agent sessions.
platform
browserbridge
Package browserbridge talks to the workstation Page Agent bridge that owns the user's logged-in Chrome session.
Package browserbridge talks to the workstation Page Agent bridge that owns the user's logged-in Chrome session.
calendar
Package calendar implements a native Go client for the Google Calendar REST API.
Package calendar implements a native Go client for the Google Calendar REST API.
calprop
Package calprop stores calendar-event PROPOSALS — schedule-worthy items (meetings, important deadlines) that mail analysis surfaced from a message, pending the operator's accept/reject.
Package calprop stores calendar-event PROPOSALS — schedule-worthy items (meetings, important deadlines) that mail analysis surfaced from a message, pending the operator's accept/reject.
calwrite
Package calwrite mirrors locally-authored calendar events out to the user's Google Calendar (one-way: Deneb → Google).
Package calwrite mirrors locally-authored calendar events out to the user's Google Calendar (one-way: Deneb → Google).
cron
runlog_all.go — Cross-job run log aggregation.
runlog_all.go — Cross-job run log aggregation.
gmail
format.go — human-readable rendering of Gmail results (search lists, full messages, labels) for the agent transcript.
format.go — human-readable rendering of Gmail results (search lists, full messages, labels) for the agent transcript.
googledrive
Package googledrive is a minimal read-only Google Drive client for the Supernote ingestion path: list a configured folder for new files and download their bytes.
Package googledrive is a minimal read-only Google Drive client for the Supernote ingestion path: list a configured folder for new files and download their bytes.
googleoauth
Package googleoauth owns the credential-file and token lifecycle shared by Google API clients.
Package googleoauth owns the credential-file and token lifecycle shared by Google API clients.
lmtpd
large_attach.go — extract "large attachment" (대용량첨부) download links from an HTML mail body.
large_attach.go — extract "large attachment" (대용량첨부) download links from an HTML mail body.
localcal
Package localcal is the gateway's own calendar store: events the user adds by hand on the native client, persisted to {stateDir}/calendar.json.
Package localcal is the gateway's own calendar store: events the user adds by hand on the native client, persisted to {stateDir}/calendar.json.
localtodo
Package localtodo is the gateway's to-do store: lightweight tasks the user adds on the native client, persisted to {stateDir}/todos.json.
Package localtodo is the gateway's to-do store: lightweight tasks the user adds on the native client, persisted to {stateDir}/todos.json.
mailanalysis
approval_facts.go — quote-verified cost extraction for 전자결재 documents.
approval_facts.go — quote-verified cost extraction for 전자결재 documents.
mailarchive
Package mailarchive reads related mail from the on-box archive IMAP store (the deneb-mailarchive Maddy instance) so the email-analysis pipeline can reconstruct a message's thread and the sender's recent history locally, without depending on Gmail.
Package mailarchive reads related mail from the on-box archive IMAP store (the deneb-mailarchive Maddy instance) so the email-analysis pipeline can reconstruct a message's thread and the sender's recent history locally, without depending on Gmail.
mailarchive/overlay
Package overlay persists local Gmail-like state for immutable archive messages.
Package overlay persists local Gmail-like state for immutable archive messages.
mailstore
Package mailstore is a local, file-backed mirror of the on-box mail archive with an in-memory full-text index, so agent reads never pay a per-call IMAP round-trip + re-parse + re-index.
Package mailstore is a local, file-backed mirror of the on-box mail archive with an in-memory full-text index, so agent reads never pay a per-call IMAP round-trip + re-parse + re-index.
mailwork
Package mailwork tracks the local workflow state of each archived mail.
Package mailwork tracks the local workflow state of each archived mail.
mcpclient
Package mcpclient implements a minimal client for the Model Context Protocol (MCP) stdio transport: it spawns a configured server command and speaks newline-delimited JSON-RPC 2.0 over the child's stdin/stdout.
Package mcpclient implements a minimal client for the Model Context Protocol (MCP) stdio transport: it spawns a configured server command and speaks newline-delimited JSON-RPC 2.0 over the child's stdin/stdout.
media
Package media provides media fetching with SSRF protection for the Go gateway.
Package media provides media fetching with SSRF protection for the Go gateway.
solarflow
Package solarflow reads the topsolar SolarFlow ERP analytics engine (choiceoh/solarflow, a separate Rust/axum service) over its read-only /api/calc/* REST surface.
Package solarflow reads the topsolar SolarFlow ERP analytics engine (choiceoh/solarflow, a separate Rust/axum service) over its read-only /api/calc/* REST surface.
tmap
Package tmap reads the SK TMap Open API for Korean turn-by-turn directions.
Package tmap reads the SK TMap Open API for Korean turn-by-turn directions.
runtime
bootstrap
Package bootstrap handles the gateway startup sequence in four discrete phases:
Package bootstrap handles the gateway startup sequence in four discrete phases:
briefcase
Package briefcase contains the deterministic, isolated runtime primitives used by Deneb-Briefcase evaluations.
Package briefcase contains the deterministic, isolated runtime primitives used by Deneb-Briefcase evaluations.
configresolve
Package configresolve reads runtime model, workspace, and topic settings.
Package configresolve reads runtime model, workspace, and topic settings.
curriculumenv
Package curriculumenv assembles the curriculum lane's environment demand digest (RSI P5-1).
Package curriculumenv assembles the curriculum lane's environment demand digest (RSI P5-1).
evenapi
Package evenapi exposes an Even Realities G2 Custom AI bridge on the gateway: OpenAI-shaped chat completions in, short HUD text out via a dedicated glasses:* sync chat session.
Package evenapi exposes an Even Realities G2 Custom AI bridge on the gateway: OpenAI-shaped chat completions in, short HUD text out via a dedicated glasses:* sync chat session.
events
Package events provides a pub/sub event broadcasting system for SSE clients.
Package events provides a pub/sub event broadcasting system for SSE clients.
externalmcp
codegraph_tuning.go — Deneb-side search tuning for the codegraph MCP server.
codegraph_tuning.go — Deneb-side search tuning for the codegraph MCP server.
fileapi
Package fileapi owns the file-store download HTTP adapter.
Package fileapi owns the file-store download HTTP adapter.
filesemindex
filestore_semindex.go — semantic (vector) search over the on-box file store.
filestore_semindex.go — semantic (vector) search over the on-box file store.
fleetapi
Package fleetapi owns the authenticated SparkFleet proxy and the loopback webhook adapter that turns Fleet operational events into native alerts.
Package fleetapi owns the authenticated SparkFleet proxy and the loopback webhook adapter that turns Fleet operational events into native alerts.
gatewayhttp
Package gatewayhttp owns the gateway's client-facing and integration-facing HTTP adapter wiring.
Package gatewayhttp owns the gateway's client-facing and integration-facing HTTP adapter wiring.
goalloop
goal_task.go — the Ralph loop driver.
goal_task.go — the Ralph loop driver.
groupwareapi
Package groupwareapi owns the groupware binary attachment HTTP adapter.
Package groupwareapi owns the groupware binary attachment HTTP adapter.
health
health_cache.go surfaces the self-hosted vLLM prefix-cache (APC) hit rate as an OPS signal on /health and /status — a passive regression alarm for the prompt-cache doctrine (docs/agent-rules/prompt-cache.md).
health_cache.go surfaces the self-hosted vLLM prefix-cache (APC) hit rate as an OPS signal on /health and /status — a passive regression alarm for the prompt-cache doctrine (docs/agent-rules/prompt-cache.md).
heartbeat
boot_task.go — Startup agent turn (inspired by OpenClaw's BOOT.md).
boot_task.go — Startup agent turn (inspired by OpenClaw's BOOT.md).
heartbeat/signals
heartbeat_deal_signals.go — feeds per-document deal payment/delivery deadlines from the typed deal-record ledger (wiki/deal_records.go) into the proactive signal engine, so the heartbeat can flag an imminent 기한 between morning letters.
heartbeat_deal_signals.go — feeds per-document deal payment/delivery deadlines from the typed deal-record ledger (wiki/deal_records.go) into the proactive signal engine, so the heartbeat can flag an imminent 기한 between morning letters.
insights
Package insights aggregates recent session/model/tool usage into a concise report that can be rendered for chat or CLI output.
Package insights aggregates recent session/model/tool usage into a concise report that can be rendered for chat or CLI output.
mailflow
mail_calendar.go — turns the schedule-worthy items of a mail analysis into calendar PROPOSALS (pending the operator's accept).
mail_calendar.go — turns the schedule-worthy items of a mail analysis into calendar PROPOSALS (pending the operator's accept).
manifest
Package manifest builds a content-addressed, redacted description of the composition that the running gateway is actually using.
Package manifest builds a content-addressed, redacted description of the composition that the running gateway is actually using.
mcpapi
Package mcpapi — MCP (Model Context Protocol) gateway.
Package mcpapi — MCP (Model Context Protocol) gateway.
meeting
meeting_harvest.go — post-meeting outcome capture ("○○ 어떻게 되셨어요?").
meeting_harvest.go — post-meeting outcome capture ("○○ 어떻게 되셨어요?").
modelmaintenance
Package modelmaintenance owns construction of the gateway's model-quality background tasks.
Package modelmaintenance owns construction of the gateway's model-quality background tasks.
modelpanel
model_panel.go — research-panel fan-out engine behind the research_panel tool (deep-research skill).
model_panel.go — research-panel fan-out engine behind the research_panel tool (deep-research skill).
modelpicker
miniapp_models_health.go — model-picker state assembly: the snapshot the native client renders (sections + health), provider/model health probing, and local vLLM model discovery with its TTL cache.
miniapp_models_health.go — model-picker state assembly: the snapshot the native client renders (sections + health), provider/model health probing, and local vLLM model discovery with its TTL cache.
nativeapi
server_http_gzip.go — negotiated gzip for the miniapp RPC JSON responses.
server_http_gzip.go — negotiated gzip for the miniapp RPC JSON responses.
nativeattachmentapi
Package nativeattachmentapi serves native-client mail attachment downloads.
Package nativeattachmentapi serves native-client mail attachment downloads.
nativeauth
Package nativeauth authenticates standalone native-client HTTP requests.
Package nativeauth authenticates standalone native-client HTTP requests.
nativeeventsapi
Package nativeeventsapi serves the native-client proactive-event SSE stream.
Package nativeeventsapi serves the native-client proactive-event SSE stream.
nativepush
Package nativepush owns best-effort native-client push fan-out.
Package nativepush owns best-effort native-client push fan-out.
notify
notify_deps.go — dependency (sidecar) health woven into the heartbeat.
notify_deps.go — dependency (sidecar) health woven into the heartbeat.
proactive
Package proactive owns proactive relay policy and the shared alert gate that keeps operational alerts useful without over-notifying the user.
Package proactive owns proactive relay policy and the shared alert gate that keeps operational alerts useful without over-notifying the user.
propusview
Package propusview adapts genesis persistence records to Propus read models.
Package propusview adapts genesis persistence records to Propus read models.
rolehealth
role_health_watch.go — periodic auth/liveness probe for role-assigned model providers.
role_health_watch.go — periodic auth/liveness probe for role-assigned model providers.
rpc
Package rpc handles RPC method dispatch for the gateway.
Package rpc handles RPC method dispatch for the gateway.
rpc/handler/agent
Package agent provides RPC handlers for agent management, sessions, process/cron/hooks orchestration, and agents CRUD.
Package agent provides RPC handlers for agent management, sessions, process/cron/hooks orchestration, and agents CRUD.
rpc/handler/chat
Package chat provides RPC method handlers for the chat domain.
Package chat provides RPC method handlers for the chat domain.
rpc/handler/checkpoint
Package checkpoint provides the checkpoint.{list,restore,diff} RPC methods that back the user-facing /rollback slash command.
Package checkpoint provides the checkpoint.{list,restore,diff} RPC methods that back the user-facing /rollback slash command.
rpc/handler/gateway
Package gateway provides core gateway/runtime RPC handlers that depend on live server state (uptime, daemon status, event broadcast, and runtime config).
Package gateway provides core gateway/runtime RPC handlers that depend on live server state (uptime, daemon status, event broadcast, and runtime config).
rpc/handler/handlerevents
Package handlerevents provides RPC handlers for session event subscription and broadcast methods.
Package handlerevents provides RPC handlers for session event subscription and broadcast methods.
rpc/handler/handlerminiapp
groupware_approvals.go — miniapp.groupware.approvals.* + erp.list RPC handlers.
groupware_approvals.go — miniapp.groupware.approvals.* + erp.list RPC handlers.
rpc/handler/handlerminiapp/contract
Package contract exposes the stable Mini App wire DTO surface consumed by sibling RPC handler packages.
Package contract exposes the stable Mini App wire DTO surface consumed by sibling RPC handler packages.
rpc/handler/handlerminiapp/files
Package files implements the authenticated miniapp.files.* RPC surface over Deneb's local file store and signed file-share service.
Package files implements the authenticated miniapp.files.* RPC surface over Deneb's local file store and signed file-share service.
rpc/handler/handlerminiapp/knowledge
Package knowledge implements authenticated miniapp memory, notebook, people, unified-search, and topic-document RPC surfaces.
Package knowledge implements authenticated miniapp memory, notebook, people, unified-search, and topic-document RPC surfaces.
rpc/handler/handlerminiapp/module
Package module composes independently owned Mini App capabilities into one registration surface for the gateway server.
Package module composes independently owned Mini App capabilities into one registration surface for the gateway server.
rpc/handler/handlerminiapp/schedule
Package schedule implements authenticated miniapp calendar, proposal, todo, and cron RPCs as one local planning surface.
Package schedule implements authenticated miniapp calendar, proposal, todo, and cron RPCs as one local planning surface.
rpc/handler/insights
Package insights provides the insights.generate RPC handler.
Package insights provides the insights.generate RPC handler.
rpc/handler/mail
facade.go re-exports the Gmail-triage (gmailops) and mail-analysis (analyzebind) leaf packages' public surface under the handlermail package so server call sites keep importing only "handler/mail" — the split into leaf packages is an internal reorganization, not a wire contract change.
facade.go re-exports the Gmail-triage (gmailops) and mail-analysis (analyzebind) leaf packages' public surface under the handlermail package so server call sites keep importing only "handler/mail" — the split into leaf packages is an internal reorganization, not a wire contract change.
rpc/handler/mail/analyzebind
Package analyzebind holds the miniapp.gmail.analyze / analysis_cached / ask RPC handlers — the LLM-backed mail-analysis and follow-up Q&A surface.
Package analyzebind holds the miniapp.gmail.analyze / analysis_cached / ask RPC handlers — the LLM-backed mail-analysis and follow-up Q&A surface.
rpc/handler/mail/gmailops
analysis_store.go — per-message JSON cache for Mini App mail analyses.
analysis_store.go — per-message JSON cache for Mini App mail analyses.
rpc/handler/minibind
Package minibind provides authenticated parameter binding for native-client RPC handlers.
Package minibind provides authenticated parameter binding for native-client RPC handlers.
rpc/handler/observatory
Package observatory (handler) exposes the self-improvement-loop liveness digest over RPC — the same observatory.Snapshot the in-process watchdog alerts on (server_observatory_watchdog.go), now pullable on demand.
Package observatory (handler) exposes the self-improvement-loop liveness digest over RPC — the same observatory.Snapshot the in-process watchdog alerts on (server_observatory_watchdog.go), now pullable on demand.
rpc/handler/observe
Package observe (handler) exposes Deneb's unified observation plane over RPC.
Package observe (handler) exposes Deneb's unified observation plane over RPC.
rpc/handler/process
Package process contains RPC handlers for ACP (Agent Communication Protocol) and advanced cron operations.
Package process contains RPC handlers for ACP (Agent Communication Protocol) and advanced cron operations.
rpc/handler/provider
Package provider contains RPC handlers for provider and model methods.
Package provider contains RPC handlers for provider and model methods.
rpc/handler/session
Package session provides RPC handlers for session management methods.
Package session provides RPC handlers for session management methods.
rpc/handler/skill
Package skill provides RPC handlers for skills.*, plugins.*, tools.*, and tools.catalog methods.
Package skill provides RPC handlers for skills.*, plugins.*, tools.*, and tools.catalog methods.
rpc/handler/system
Package system provides RPC method handlers for the system domain: identity, monitoring, doctor, maintenance, update, usage, and logs.
Package system provides RPC method handlers for the system domain: identity, monitoring, doctor, maintenance, update, usage, and logs.
rpc/handler/wiki
Package wiki provides RPC handlers for wiki.* methods.
Package wiki provides RPC handlers for wiki.* methods.
rpc/rpctest
Package rpctest provides shared test helpers for RPC handler tests.
Package rpctest provides shared test helpers for RPC handler tests.
rpc/rpcutil
Package rpcutil provides shared helpers for RPC handler packages.
Package rpcutil provides shared helpers for RPC handler packages.
rpc/rpcutil/hub
GatewayHub is the central service container for the gateway server.
GatewayHub is the central service container for the gateway server.
rpc/rpcutil/hub/opt
Package opt holds late-bound GatewayHub services so the hub root package keeps required-only domain fan-out under the soft boundary bar.
Package opt holds late-bound GatewayHub services so the hub root package keeps required-only domain fan-out under the soft boundary bar.
server
Chat pipeline initialization: tool registration and handler construction.
Chat pipeline initialization: tool registration and handler construction.
server/toolbind
Package toolbind holds concrete chat-tool bindings for the server composition root so internal/runtime/server does not import every tools/* leaf package.
Package toolbind holds concrete chat-tool bindings for the server composition root so internal/runtime/server does not import every tools/* leaf package.
server/toolbind/observebind
Package observebind wires the concrete observe tool so toolbind's root package does not import runtimeops + observe leaf deps directly.
Package observebind wires the concrete observe tool so toolbind's root package does not import runtimeops + observe leaf deps directly.
skilllifecycle
validation_backfill_task.go — deterministic corpus-growth lane for the held-out validation bench.
validation_backfill_task.go — deterministic corpus-growth lane for the held-out validation bench.
wikiwork
meeting_attendance.go — silently record that the operator attended a work-linked meeting.
meeting_attendance.go — silently record that the operator attended a work-linked meeting.
Package testutil provides shared test helpers.
Package testutil provides shared test helpers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL