mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-14 04:16:06 +00:00
docs: replace file-reference lists with module tables (batch A)
Replace trailing File Reference sections in 7 docs with 3-4 row module-level tables. Column schema: Module | Path | Purpose. Adds 1-line grep hint at end of each section. Also fixes one body .go:line citation in 05-channels-messaging.md.
This commit is contained in:
1 parent
d7e2883926
commit
653df6fb52
7 files changed
+55
-279
No files matched your search
@@ -804,52 +804,11 @@ Workers subscribe on startup via `consolidation.Register()`.
|
||||
|
||||
## 18. File Reference
|
||||
|
||||
| File | Purpose |
|
||||
|------|---------|
|
||||
| `internal/store/stores.go` | `Stores` container struct (all 22 store interfaces) |
|
||||
| `internal/store/types.go` | `BaseModel`, `StoreConfig`, `GenNewID()` |
|
||||
| `internal/store/context.go` | Context propagation: `WithUserID`, `WithAgentID`, `WithAgentType`, `WithSenderID`, `WithTenantID` |
|
||||
| `internal/store/session_store.go` | `SessionStore` interface, `SessionData`, `SessionInfo` |
|
||||
| `internal/store/memory_store.go` | `MemoryStore` interface, `MemorySearchResult`, `EmbeddingProvider` |
|
||||
| `internal/store/skill_store.go` | `SkillStore` interface |
|
||||
| `internal/store/agent_store.go` | `AgentStore` interface |
|
||||
| `internal/store/team_store.go` | `TeamStore` interface, `TeamData`, `TeamTaskData`, `DelegationHistoryData`, `TeamMessageData` |
|
||||
| `internal/store/provider_store.go` | `ProviderStore` interface |
|
||||
| `internal/store/tracing_store.go` | `TracingStore` interface, `TraceData`, `SpanData` |
|
||||
| `internal/store/mcp_store.go` | `MCPServerStore` interface, grant types, access request types |
|
||||
| `internal/store/channel_instance_store.go` | `ChannelInstanceStore` interface |
|
||||
| `internal/store/config_secrets_store.go` | `ConfigSecretsStore` interface |
|
||||
| `internal/store/pairing_store.go` | `PairingStore` interface |
|
||||
| `internal/store/cron_store.go` | `CronStore` interface |
|
||||
| `internal/store/custom_tool_store.go` | `CustomToolStore` interface |
|
||||
| `internal/store/builtin_tool_store.go` | `BuiltinToolStore` interface, system tool metadata |
|
||||
| `internal/store/pending_message_store.go` | `PendingMessageStore` interface, group message queue |
|
||||
| `internal/store/knowledge_graph_store.go` | `KnowledgeGraphStore` interface, entities and relations |
|
||||
| `internal/store/contact_store.go` | `ContactStore` interface, channel contact tracking |
|
||||
| `internal/store/activity_store.go` | `ActivityStore` interface, audit logs |
|
||||
| `internal/store/snapshot_store.go` | `SnapshotStore` interface, usage aggregation |
|
||||
| `internal/store/secure_cli_store.go` | `SecureCLIStore` interface, CLI credential injection |
|
||||
| `internal/store/api_key_store.go` | `APIKeyStore` interface, gateway API keys |
|
||||
| `internal/store/episodic_store.go` | `EpisodicStore` interface, episodic summary CRUD & hybrid search (v3 new) |
|
||||
| `internal/store/evolution_store.go` | `EvolutionMetricsStore`, `EvolutionSuggestionStore` interfaces (v3 new) |
|
||||
| `internal/store/vault_store.go` | `VaultStore` interface, document registry & links (v3 new) |
|
||||
| `internal/store/agent_link_store.go` | `AgentLinkStore` interface, delegation links (v3 new) |
|
||||
| `internal/store/pg/factory.go` | PG store factory: creates all PG store instances from a connection pool |
|
||||
| `internal/store/pg/sessions.go` | `PGSessionStore`: session cache, Save, GetOrCreate |
|
||||
| `internal/store/pg/agents.go` | `PGAgentStore`: CRUD, soft delete, access control |
|
||||
| `internal/store/pg/agents_context.go` | Agent and user context file operations |
|
||||
| `internal/store/pg/teams.go` | `PGTeamStore`: teams, tasks (atomic claim), messages, delegation history |
|
||||
| `internal/store/pg/memory_docs.go` | `PGMemoryStore`: document CRUD, indexing, chunking |
|
||||
| `internal/store/pg/memory_search.go` | Hybrid search: FTS, vector, ILIKE fallback, merge |
|
||||
| `internal/store/pg/skills.go` | `PGSkillStore`: skill CRUD and grants |
|
||||
| `internal/store/pg/skills_grants.go` | Skill agent and user grants |
|
||||
| `internal/store/pg/mcp_servers.go` | `PGMCPServerStore`: server CRUD, grants, access requests |
|
||||
| `internal/store/pg/channel_instances.go` | `PGChannelInstanceStore`: channel instance CRUD |
|
||||
| `internal/store/pg/config_secrets.go` | `PGConfigSecretsStore`: encrypted config secrets |
|
||||
| `internal/store/pg/custom_tools.go` | `PGCustomToolStore`: custom tool CRUD with encrypted env |
|
||||
| `internal/store/pg/providers.go` | `PGProviderStore`: provider CRUD with encrypted keys |
|
||||
| `internal/store/pg/tracing.go` | `PGTracingStore`: traces and spans with batch insert |
|
||||
| `internal/store/pg/pool.go` | Connection pool management |
|
||||
| `internal/store/pg/helpers.go` | Nullable helpers, JSON helpers, `execMapUpdate()`, `StructScan` |
|
||||
| `internal/store/validate.go` | Input validation utilities |
|
||||
| `internal/tools/context_keys.go` | Tool context keys including `WithToolWorkspace` |
|
||||
| Module | Path | Purpose |
|
||||
|---|---|---|
|
||||
| Store interfaces | `internal/store/` | All 22+ store interfaces (`SessionStore`, `AgentStore`, `TeamStore`, etc.), `Stores` container, context propagation helpers, v3 stores (episodic, vault, evolution, agent links) |
|
||||
| PostgreSQL implementations | `internal/store/pg/` | PG factory, `PGSessionStore`, `PGAgentStore`, `PGTeamStore`, `PGMemoryStore`, and all other PG-backed implementations; connection pool; helpers |
|
||||
| SQLite implementations | `internal/store/sqlitestore/` | SQLite-backed stores for desktop/Lite edition |
|
||||
| Tool context keys | `internal/tools/context_keys.go` | Tool context keys including `WithToolWorkspace` |
|
||||
|
||||
Use `grep` or your editor's symbol search for specific files.
|
||||
Reference in new issue
Block a user