internal/

directory
v0.116.3 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT

Directories

Path Synopsis
Package auth provides a lightweight, role-based access control layer for kojo's HTTP API.
Package auth provides a lightweight, role-based access control layer for kojo's HTTP API.
Package blob is the native blob store described in docs/multi-device-storage.md §2.4 and §4.2.
Package blob is the native blob store described in docs/multi-device-storage.md §2.4 and §4.2.
Package chathistory provides platform-agnostic chat history storage and formatting for external messaging platforms (Slack, Discord, etc.).
Package chathistory provides platform-agnostic chat history storage and formatting for external messaging platforms (Slack, Discord, etc.).
Package configdir resolves the on-disk location for kojo's configuration directory.
Package configdir resolves the on-disk location for kojo's configuration directory.
Package eventbus implements the in-memory invalidation broadcast bus described in docs/multi-device-storage.md §3.5 / §4.1.
Package eventbus implements the in-memory invalidation broadcast bus described in docs/multi-device-storage.md §3.5 / §4.1.
Package fsyncdir centralizes kojo's directory-fsync recipe: open a directory read-only and Sync it so a preceding rename/unlink is durable across a crash.
Package fsyncdir centralizes kojo's directory-fsync recipe: open a directory read-only and Sync it so a preceding rename/unlink is durable across a crash.
Package migrate is the one-shot v0 → v1 importer described in docs/multi-device-storage.md section 5.
Package migrate is the one-shot v0 → v1 importer described in docs/multi-device-storage.md section 5.
externalcli
Package externalcli implements docs/multi-device-storage.md §5.5.1's continuity layer for path-hashed external-CLI transcript stores (claude, codex).
Package externalcli implements docs/multi-device-storage.md §5.5.1's continuity layer for path-hashed external-CLI transcript stores (claude, codex).
importers
Package importers contains the per-domain v0→v1 importers wired into the migrate orchestrator's Register() list.
Package importers contains the per-domain v0→v1 importers wired into the migrate orchestrator's Register() list.
Package oplog defines the bounded per-agent operation log record format described in docs/multi-device-storage.md §3.13.1.
Package oplog defines the bounded per-agent operation log record format described in docs/multi-device-storage.md §3.13.1.
Package peer manages this kojo binary's peer identity in the multi- device storage cluster (docs/multi-device-storage.md §3.5–§3.7).
Package peer manages this kojo binary's peer identity in the multi- device storage cluster (docs/multi-device-storage.md §3.5–§3.7).
Package session is the runtime persistence layer for live PTY sessions (this binary's runtime state).
Package session is the runtime persistence layer for live PTY sessions (this binary's runtime state).
Package slackbot provides Slack Socket Mode integration for Kojo agents.
Package slackbot provides Slack Socket Mode integration for Kojo agents.
Package snapshot implements docs/multi-device-storage.md §3.6's "snapshot 起点復旧" path: a periodic, atomic point-in-time copy of the Hub's authoritative state that a backup peer can take over.
Package snapshot implements docs/multi-device-storage.md §3.6's "snapshot 起点復旧" path: a periodic, atomic point-in-time copy of the Hub's authoritative state that a backup peer can take over.
Package store owns the SQLite database that holds kojo v1's structured state.
Package store owns the SQLite database that holds kojo v1's structured state.
secretcrypto
Package secretcrypto implements the envelope encryption used by the kv table's secret rows and (future) by the snapshot path described in docs/multi-device-storage.md §3.5 / §3.6.
Package secretcrypto implements the envelope encryption used by the kv table's secret rows and (future) by the snapshot path described in docs/multi-device-storage.md §3.5 / §3.6.
Package thumbnail generates and caches low-resolution JPEG thumbnails for images on disk.
Package thumbnail generates and caches low-resolution JPEG thumbnails for images on disk.
Package uploadpath centralizes the on-disk location and filename sanitization for user-uploaded attachments so the WebUI upload handler and the Slack file-download path agree byte-for-byte.
Package uploadpath centralizes the on-disk location and filename sanitization for user-uploaded attachments so the WebUI upload handler and the Slack file-download path agree byte-for-byte.

Jump to

Keyboard shortcuts

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