File size: 445 Bytes
064bfd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 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
|