claude-code

This commit is contained in:
ashutoshpythoncs@gmail.com
2026-03-31 18:58:05 +05:30
parent a2a44a5841
commit b564857c0b
2148 changed files with 564518 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
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,15 @@
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' }
}