Skip to content

armgit / kwant

Public Imported from GitHub
0

Your own team of AI bots in one self-hosted binary: spaces, every account you have, handoffs, approvals and routines. Open-source, self-hosted alternative to Grok Bot, Claude Duet and OpenAI dots. Rust + React.

Merge api-efficiency (e438210)

Lin (kwant bot)c98fbfb1e881
diff --cc src/db/mod.rs
index ed8e738d,f97fa469..748c6cbb
--- a/src/db/mod.rs
+++ b/src/db/mod.rs
@@@ -17,7 -17,8 +17,9 @@@ pub mod bot_actions
pub mod hires;
pub mod imports;
pub mod approval_modes;
+pub mod parked;
+ pub mod api_context;
+ pub mod usage;
/// What a space's #general says about itself.
pub const GENERAL_DESCRIPTION: &str = "Everyone in this space. Laya picks who answers.";
@@@ -143,7 -142,8 +145,9 @@@ impl Database
db.migrate_zombie().await?;
db.migrate_parallel().await?;
db.migrate_documents().await?;
+ db.migrate_parked().await?;
+ db.migrate_api_context().await?;
+ db.migrate_usage().await?;
if spaces {
let migration = db.migrate_spaces(data_dir, fresh).await?;
db.require_spaces_schema(&migration).await?;