init: add source code from src.zip

This commit is contained in:
sigridjineth
2026-03-31 01:55:58 -07:00
commit f5a40b86de
1902 changed files with 513237 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import type { Command } from '../../commands.js'
const rewind = {
description: `Restore the code and/or conversation to a previous point`,
name: 'rewind',
aliases: ['checkpoint'],
argumentHint: '',
type: 'local',
supportsNonInteractive: false,
load: () => import('./rewind.js'),
} satisfies Command
export default rewind

View File

@@ -0,0 +1,13 @@
import type { LocalCommandResult } from '../../commands.js'
import type { ToolUseContext } from '../../Tool.js'
export async function call(
_args: string,
context: ToolUseContext,
): Promise<LocalCommandResult> {
if (context.openMessageSelector) {
context.openMessageSelector()
}
// Return a skip message to not append any messages.
return { type: 'skip' }
}