mirror of
https://github.com/different-ai/openwork
synced 2026-04-26 09:35:17 +02:00
chore: remove opkg CLI integration and dead code (#1268)
- Delete src/opkg.rs (opkg_install + fallback chain) and commands/opkg.rs - Relocate import_skill from commands/opkg.rs to commands/skills.rs (actively used) - Remove opkg_install from Tauri handler registration in lib.rs - Delete dead opkgInstall() from tauri.ts (zero callers) - Remove apply_augmented_path/augmented_path_env from paths.rs (only consumer was opkg) - Strip opkg mentions from i18n locale strings (en, zh, ja, vi, pt-BR) - Remove OpenPackage Notes sections from README.md, README_ZH.md, README_ZH_hk.md - Update ARCHITECTURE.md: rename OpenPackage Registry to Skill Registry - Clean up PRD references in openwork-server-ownership-minimal-tauri.md
This commit is contained in:
@@ -5,7 +5,6 @@ mod engine;
|
||||
mod fs;
|
||||
mod opencode_router;
|
||||
mod openwork_server;
|
||||
mod opkg;
|
||||
mod orchestrator;
|
||||
mod paths;
|
||||
mod platform;
|
||||
@@ -32,7 +31,6 @@ use commands::opencode_router::{
|
||||
opencodeRouter_stop,
|
||||
};
|
||||
use commands::openwork_server::{openwork_server_info, openwork_server_restart};
|
||||
use commands::opkg::{import_skill, opkg_install};
|
||||
use commands::orchestrator::{
|
||||
orchestrator_instance_dispose, orchestrator_start_detached, orchestrator_status,
|
||||
orchestrator_workspace_activate, sandbox_cleanup_openwork_containers, sandbox_debug_probe,
|
||||
@@ -40,7 +38,8 @@ use commands::orchestrator::{
|
||||
};
|
||||
use commands::scheduler::{scheduler_delete_job, scheduler_list_jobs};
|
||||
use commands::skills::{
|
||||
install_skill_template, list_local_skills, read_local_skill, uninstall_skill, write_local_skill,
|
||||
import_skill, install_skill_template, list_local_skills, read_local_skill, uninstall_skill,
|
||||
write_local_skill,
|
||||
};
|
||||
use commands::updater::updater_environment;
|
||||
use commands::window::set_window_decorations;
|
||||
@@ -202,7 +201,6 @@ pub fn run() {
|
||||
opencode_command_delete,
|
||||
workspace_openwork_read,
|
||||
workspace_openwork_write,
|
||||
opkg_install,
|
||||
import_skill,
|
||||
install_skill_template,
|
||||
list_local_skills,
|
||||
|
||||
Reference in New Issue
Block a user