feat(anolisa): implement adapter list#875
Open
kongche-jbw wants to merge 1 commit into
Open
Conversation
- Read installed adapter objects from installed.toml - Render adapter inventory in human and JSON modes - Keep list read-only without integrity or detect checks Signed-off-by: 空澈 <kongche.jbw@alibaba-inc.com>
6102af1 to
f1b2abb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Implement
anolisa adapter listso users can inspect adapter entries already recorded in local install state.The command reads
ObjectKind::Adapterobjects frominstalled.toml, renders a human-readable inventory table, and supports JSON output through the standard CLI response envelope.Ship Note
What changed:
anolisa adapter list.installed.toml.adapterswith adapter metadata and recorded file paths.kindbecause this subcommand only returns adapter rows.no adapters installedmessage instead ofNOT_IMPLEMENTED.Known limitations:
installed.toml.~/.local/share/anolisa/adapters/<component>/<agent>/yet.Scenarios not covered:
Related Issue
closes #812
Type of Change
Scope
cosh(copilot-shell)sec-core(agent-sec-core)skill(os-skills)sight(agentsight)tokenless(tokenless)ckpt(ws-ckpt)memory(agent-memory)anolisa(anolisa-cli)Checklist
anolisa:cargo clippy --all-targets --locked -- -D warnings,cargo fmt --all --check, andcargo test --lockedpasspackage-lock.json/Cargo.lock)Testing
Latest local checks under
src/anolisa:cargo fmt --all -- --check cargo test -p anolisa-cli --locked adapter cargo clippy --workspace --all-targets -- -D warningsResults:
anolisa-cliadapter tests: 30 passedEarlier full workspace check after rebasing on
up/main: