Files
Agentsd/plugins/claudecode/plugin.yaml
未知时光 3299468df6 Migrate test plugins to Rust and async-ify syscall modules
- Replace Python test plugins (echo, ai_test, claudecode) with Rust
  implementations driven by the plugin SDK
- Convert fs/network/process/timer syscall modules to async/await
- Change Network.OpenConn to return stream ConnEvent (conn_id handed
  to client in first "open" frame for Send/Close routing)
- Bind timer callbacks to plugin identity; stream_call subscriptions
  are identity-checked
- Update docs and regenerate Python SDK protobuf stubs

Verified: cargo build/test/clippy clean; echo + ai_test full syscall
suites pass; hermes & claudecode register and heartbeat; cross-plugin
bridge.call routing and auth denial verified end-to-end.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 14:27:46 +08:00

30 lines
703 B
YAML

id: claudecode
name: Claude Code
version: 2.1.169
type: standard
syscalls:
- process.spawn
- display.text
- fs.read
- fs.write
- network.request
depends:
- hermes # 可选,用于 agent 编排
exports:
- name: chat
description: Send prompt to Claude Code, get text response (no tools)
- name: code
description: Generate or edit code with Claude Code (Bash/Read/Edit/Write)
- name: review
description: Review code changes (Read/Glob/Grep only)
- name: ask
description: Ask about the codebase (Read/Glob/Grep, max 3 turns)
- name: run
description: Full Claude Code access (all tools, unlimited turns)
entry: cargo run -p agentsd-plugin-claudecode
port: 50053