mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 09:01:14 +00:00
fix(coding-agent): remove -- from registerFlag calls
This was causing the agent sometimes to pick up on the incorrect syntax when asked to write extensions with flags
This commit is contained in:
parent
65b72cc514
commit
6d60302646
4 changed files with 6 additions and 6 deletions
|
|
@ -190,7 +190,7 @@ export default function (pi: ExtensionAPI) {
|
|||
pi.registerTool({ ... });
|
||||
pi.registerCommand("name", { ... });
|
||||
pi.registerShortcut("ctrl+x", { ... });
|
||||
pi.registerFlag("--my-flag", { ... });
|
||||
pi.registerFlag("my-flag", { ... });
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -809,7 +809,7 @@ pi.registerShortcut("ctrl+shift+p", {
|
|||
Register a CLI flag.
|
||||
|
||||
```typescript
|
||||
pi.registerFlag("--plan", {
|
||||
pi.registerFlag("plan", {
|
||||
description: "Start in plan mode",
|
||||
type: "boolean",
|
||||
default: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue