-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathclaude_code.py
More file actions
58 lines (54 loc) · 1.57 KB
/
claude_code.py
File metadata and controls
58 lines (54 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
"""Claude Code plugin for Sublime Text.
This is the main entry point that imports all components.
Sublime Text requires commands and listeners to be importable from the top-level package.
"""
# Core functionality and session management
from .core import (
plugin_loaded,
plugin_unloaded,
get_session_for_view,
get_active_session,
create_session,
)
# All commands
from .commands import (
ClaudeCodeStartCommand,
ClaudeCodeQueryCommand,
ClaudeCodeRestartCommand,
ClaudeCodeQuerySelectionCommand,
ClaudeCodeQueryFileCommand,
ClaudeCodeAddFileCommand,
ClaudeCodeAddSelectionCommand,
ClaudeCodeAddOpenFilesCommand,
ClaudeCodeAddFolderCommand,
ClaudeCodeClearContextCommand,
ClaudeCodeInterruptCommand,
ClaudeCodeClearCommand,
ClaudeCodeResetInputCommand,
ClaudeCodeRenameCommand,
ClaudeCodeToggleCommand,
ClaudeCodeStopCommand,
ClaudeCodeResumeCommand,
ClaudeCodeSwitchCommand,
ClaudeCodeForkCommand,
ClaudeCodeForkFromCommand,
ClaudeCodeAddMcpCommand,
ClaudeCodeTogglePermissionModeCommand,
ClaudeSubmitInputCommand,
ClaudeInsertNewlineCommand,
ClaudePermissionAllowCommand,
ClaudePermissionDenyCommand,
ClaudePermissionAllowSessionCommand,
ClaudePermissionAllowAllCommand,
ClaudeQuickPromptCommand,
ClaudeCodeQueuePromptCommand,
ClaudeCodeCopyCommand,
ClaudeCodeSaveCheckpointCommand,
ClaudeCodeUsageCommand,
ClaudeCodeViewHistoryCommand,
)
# Event listeners
from .listeners import (
ClaudeCodeEventListener,
ClaudeOutputEventListener,
)