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:
ben
2026-03-31 18:07:38 -07:00
committed by GitHub
parent 0916648130
commit ca971b1dd3
16 changed files with 62 additions and 218 deletions

View File

@@ -575,9 +575,9 @@ OpenWork's settings pages use:
OpenWork exposes two extension surfaces:
1. **Skills (OpenPackage)**
1. **Skills**
- Installed into `.opencode/skills/*`.
- OpenWork can run `opkg install` to pull packages from the registry or GitHub.
- Skills can be imported from local directories or installed from curated lists.
2. **Plugins (OpenCode)**
- Plugins are configured via `opencode.json` in the workspace.
@@ -591,14 +591,13 @@ OpenWork exposes two extension surfaces:
- Use after skills/plugins/MCP/config edits; reloads can interrupt active sessions.
- Reload requests follow OpenWork server approval rules.
### OpenPackage Registry (Current + Future)
### Skill Registry (Current + Future)
- Today, OpenWork only supports **curated lists + manual sources**.
- Publishing to the official registry currently requires authentication (`opkg push` + `opkg configure`).
- Future goals:
- in-app registry search
- curated list sync (e.g. Awesome Claude Skills)
- frictionless publishing without signup (pending registry changes)
- frictionless publishing without signup
## Projects + Path