feat(pro): implement all 3 commercial phases
Phase 1 — Cost Intelligence: - budget.rs: per-project token budgets, soft/hard limits, usage logging - router.rs: 3 preset profiles (CostSaver/QualityFirst/Balanced) Phase 2 — Knowledge Base: - memory.rs: persistent agent memory with FTS5, auto-extraction, TTL - symbols.rs: regex-based symbol graph (tree-sitter stub) Phase 3 — Git Integration: - git_context.rs: branch/commit/modified file context injection - branch_policy.rs: session-level branch protection 6 modules, 32 cargo tests, 22+ Tauri plugin commands.
This commit is contained in:
parent
3798bedc4d
commit
191b869b43
7 changed files with 1509 additions and 0 deletions
|
|
@ -5,9 +5,15 @@
|
|||
// agents-orchestrator/agents-orchestrator private repository.
|
||||
|
||||
mod analytics;
|
||||
mod branch_policy;
|
||||
mod budget;
|
||||
mod export;
|
||||
mod git_context;
|
||||
mod marketplace;
|
||||
mod memory;
|
||||
mod profiles;
|
||||
mod router;
|
||||
mod symbols;
|
||||
|
||||
use tauri::{
|
||||
plugin::{Builder, TauriPlugin},
|
||||
|
|
@ -32,6 +38,34 @@ pub fn init<R: Runtime>() -> TauriPlugin<R> {
|
|||
marketplace::pro_marketplace_uninstall,
|
||||
marketplace::pro_marketplace_check_updates,
|
||||
marketplace::pro_marketplace_update,
|
||||
budget::pro_budget_set,
|
||||
budget::pro_budget_get,
|
||||
budget::pro_budget_check,
|
||||
budget::pro_budget_log_usage,
|
||||
budget::pro_budget_reset,
|
||||
budget::pro_budget_list,
|
||||
router::pro_router_recommend,
|
||||
router::pro_router_set_profile,
|
||||
router::pro_router_get_profile,
|
||||
router::pro_router_list_profiles,
|
||||
memory::pro_memory_add,
|
||||
memory::pro_memory_list,
|
||||
memory::pro_memory_search,
|
||||
memory::pro_memory_update,
|
||||
memory::pro_memory_delete,
|
||||
memory::pro_memory_inject,
|
||||
memory::pro_memory_extract_from_session,
|
||||
symbols::pro_symbols_scan,
|
||||
symbols::pro_symbols_search,
|
||||
symbols::pro_symbols_find_callers,
|
||||
symbols::pro_symbols_status,
|
||||
git_context::pro_git_context,
|
||||
git_context::pro_git_inject,
|
||||
git_context::pro_git_branch_info,
|
||||
branch_policy::pro_branch_check,
|
||||
branch_policy::pro_branch_policy_list,
|
||||
branch_policy::pro_branch_policy_add,
|
||||
branch_policy::pro_branch_policy_remove,
|
||||
])
|
||||
.build()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue