Skip to content

Commit f4e713e

Browse files
committed
refactor(core): remove project context service and stale locale keys
1 parent dd991f2 commit f4e713e

20 files changed

Lines changed: 3 additions & 2299 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Below is BitFun’s **official Agent and capability inventory**, plus how we tra
7777
| **Generative UI** | On-demand interactive UI components during chat, embedded in the message stream for immediate use |
7878
| **Mini App** | One sentence to a standalone runnable app—generate, run, one-click package for desktop |
7979
| **Markdown-defined Agents** | Write a `.md` file and run it in the Runtime right away for most domain customization |
80-
| **Long-term memory + project context** | Accumulates across sessions; readable by any Agent |
80+
| **Long-term memory** | Accumulates across sessions; readable by any Agent |
8181
| **Self-iteration** | Code Agent can change BitFun’s own repository |
8282
| **⋯⋯** | Next trends in progress—open an Issue with requests |
8383

src/apps/desktop/src/api/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ pub mod lsp_workspace_api;
2626
pub mod mcp_api;
2727
pub mod miniapp_api;
2828
pub mod path_target;
29-
pub mod project_context_api;
3029
pub mod remote_connect_api;
3130
pub mod review_platform_api;
3231
pub mod runtime_api;

src/apps/desktop/src/api/project_context_api.rs

Lines changed: 0 additions & 220 deletions
This file was deleted.

src/apps/desktop/src/lib.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -976,20 +976,6 @@ pub async fn run() {
976976
archive_all_sessions,
977977
list_archived_sessions,
978978
delete_all_archived_sessions,
979-
api::project_context_api::get_document_statuses,
980-
api::project_context_api::toggle_document_enabled,
981-
api::project_context_api::create_context_document,
982-
api::project_context_api::generate_context_document,
983-
api::project_context_api::cancel_context_document_generation,
984-
api::project_context_api::get_project_context_config,
985-
api::project_context_api::save_project_context_config,
986-
api::project_context_api::create_project_category,
987-
api::project_context_api::delete_project_category,
988-
api::project_context_api::get_all_categories,
989-
api::project_context_api::import_project_document,
990-
api::project_context_api::delete_imported_document,
991-
api::project_context_api::toggle_imported_document_enabled,
992-
api::project_context_api::delete_context_document,
993979
initialize_mcp_servers,
994980
api::mcp_api::initialize_mcp_servers_non_destructive,
995981
get_mcp_servers,

src/crates/assembly/core/AGENTS-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
主要区域:
1616

1717
- `src/agentic/`:agents、prompts、tools、sessions、execution、persistence
18-
- `src/service/`:config、filesystem、terminal、git、LSP、MCP、remote connect、project context、AI memory
18+
- `src/service/`:config、filesystem、terminal、git、LSP、MCP、remote connect、AI memory
1919
- `src/infrastructure/`:AI clients、app paths、event system、storage、debug log server
2020
- `src/product_runtime/`:product-full 兼容 adapter 与 runtime service provider wiring
2121

src/crates/assembly/core/AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ and `docs/architecture/agent-runtime-services-design.md`.
1717
Main areas:
1818

1919
- `src/agentic/`: agents, prompts, tools, sessions, execution, persistence
20-
- `src/service/`: config, filesystem, terminal, git, LSP, MCP, remote connect, project context, AI memory
20+
- `src/service/`: config, filesystem, terminal, git, LSP, MCP, remote connect, AI memory
2121
- `src/infrastructure/`: AI clients, app paths, event system, storage, debug log server
2222
- `src/product_runtime/`: product-full compatibility adapters and runtime service provider wiring
2323

src/crates/assembly/core/src/service/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ pub mod i18n; // I18n service
1919
pub mod lsp; // LSP (Language Server Protocol) system
2020
#[cfg(feature = "service-integrations")]
2121
pub mod mcp; // MCP (Model Context Protocol) system
22-
#[cfg(feature = "product-full")]
23-
pub mod project_context; // Project context management
2422
#[cfg(feature = "service-integrations")]
2523
pub mod remote_connect; // Remote Connect (phone → desktop)
2624
pub mod remote_ssh; // Remote SSH (desktop → server)
@@ -70,8 +68,6 @@ pub use i18n::{get_global_i18n_service, I18nConfig, I18nService, LocaleId, Local
7068
pub use lsp::LspManager;
7169
#[cfg(feature = "service-integrations")]
7270
pub use mcp::MCPService;
73-
#[cfg(feature = "product-full")]
74-
pub use project_context::{ContextDocumentStatus, ProjectContextConfig, ProjectContextService};
7571
#[cfg(feature = "service-integrations")]
7672
pub use review_platform::{
7773
ReviewAuthSource, ReviewAuthState, ReviewChecks, ReviewDecision, ReviewFileStatus,

0 commit comments

Comments
 (0)