diff options
| author | adamdottv <[email protected]> | 2025-06-16 15:58:46 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-06-16 15:58:52 -0500 |
| commit | d6d45bdc6388dcc7e5e5248c6b4645d90159bb18 (patch) | |
| tree | 011b8409874bcda6d39ae10cfb3bdd2c0bbc956c /packages/tui/internal/commands | |
| parent | 13a83721b076a1201a049ca1e4cebae8896da55b (diff) | |
| download | opencode-d6d45bdc6388dcc7e5e5248c6b4645d90159bb18.tar.gz opencode-d6d45bdc6388dcc7e5e5248c6b4645d90159bb18.zip | |
feat: share and init commands
Diffstat (limited to 'packages/tui/internal/commands')
| -rw-r--r-- | packages/tui/internal/commands/command.go | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/packages/tui/internal/commands/command.go b/packages/tui/internal/commands/command.go index e71e2d299..792ab9464 100644 --- a/packages/tui/internal/commands/command.go +++ b/packages/tui/internal/commands/command.go @@ -59,6 +59,27 @@ func NewCommandRegistry() Registry { key.WithKeys("f5", "super+t"), ), }, + "share": { + Name: "share", + Description: "create shareable link", + KeyBinding: key.NewBinding( + key.WithKeys("f6"), + ), + }, + "init": { + Name: "init", + Description: "create or update AGENTS.md", + KeyBinding: key.NewBinding( + key.WithKeys("f7"), + ), + }, + // "compact": { + // Name: "compact", + // Description: "compact the session", + // KeyBinding: key.NewBinding( + // key.WithKeys("f8"), + // ), + // }, "quit": { Name: "quit", Description: "quit", @@ -68,4 +89,3 @@ func NewCommandRegistry() Registry { }, } } - |
