Opao-heng
Opao-heng
文档中写着.claude-plugin/marketplace.json和.claude-plugin/plugin.json 容易混淆,建议写全目录 agent-plugins-marketplace/ ← 你的插件市场/合集项目 │ ├── .claude-plugin/ │ └── marketplace.json ← 【正确】清单文件,管理提供哪些插件 │ ├── k8s-helper-plugin/ ← 单个插件A (例如:用于辅助查询 Kubernetes 资源) │ ├── .claude-plugin/ │ │ └── plugin.json ← 【正确】插件A的元数据...
s02运行报错
> read_file: #!/usr/bin/env python3 # Harness: tool dispatch -- expanding what the model can reach. """ s02_tool_use.py - Tool dispatch + message normalization The agent loop from s01 didn't change....
现在版本挺简洁
上两周看的版本我记得有很多文档,现在咋就只有s01-s12了,之前的术语文档,s00a,b,c,d哪些呢
s06硬编码
for block in response.content: if block.type == "tool_use": if block.name == "compact": manual_compact = True output = "Compressing..." else: handler = TOOL_HANDLERS.get(block.name) try: output = handler(**block.input) if handler else f"Unknown...