init
This commit is contained in:
commit
55ae41cb0c
1902 changed files with 513237 additions and 0 deletions
14
commands/branch/index.ts
Normal file
14
commands/branch/index.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import { feature } from 'bun:bundle'
|
||||
import type { Command } from '../../commands.js'
|
||||
|
||||
const branch = {
|
||||
type: 'local-jsx',
|
||||
name: 'branch',
|
||||
// 'fork' alias only when /fork doesn't exist as its own command
|
||||
aliases: feature('FORK_SUBAGENT') ? [] : ['fork'],
|
||||
description: 'Create a branch of the current conversation at this point',
|
||||
argumentHint: '[name]',
|
||||
load: () => import('./branch.js'),
|
||||
} satisfies Command
|
||||
|
||||
export default branch
|
||||
Loading…
Add table
Add a link
Reference in a new issue