anthropics / anthropics/claude-agent-sdk-typescript
Can't define custom slash commands/skills programmatically in SDK options
Đang mở
enhancement
- Ngôn ngữ chính
- Shell
- Star
- 1.8k
- Fork
- 226
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
## Problem
We cannot define custom slash commands/skills in `Options` in the SDK. This is inconsistent with other types of configurations, which we _can_ provide in `Options`:
- `agents?: Record;`
- `mcpServers?: Record;`
- `plugins?: SdkPluginConfig[];`
This prevents us from using custom slash commands and skills when using the SDK, and forces us to define them as project files in `.claude/`.
## Proposed Solution
We need a `commands` field in `Options` of type `SlashCommand` to pass in custom slash commands and skills.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.