Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dev-config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ return {
},

-- Development configuration - all options shown with defaults commented out
---@type ClaudeCodeConfig
---@type PartialClaudeCodeConfig
opts = {
-- Server Configuration
-- port_range = { min = 10000, max = 65535 }, -- WebSocket server port range
Expand Down
2 changes: 1 addition & 1 deletion lua/claudecode/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ function M.send_at_mention(file_path, start_line, end_line, context)
end

---Set up the plugin with user configuration
---@param opts ClaudeCodeConfig|nil Optional configuration table to override defaults.
---@param opts PartialClaudeCodeConfig|nil Optional configuration table to override defaults.
---@return table module The plugin module
function M.setup(opts)
opts = opts or {}
Expand Down
2 changes: 2 additions & 0 deletions lua/claudecode/types.lua
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
---@field enable_broadcast_debouncing_in_tests? boolean
---@field terminal ClaudeCodeTerminalConfig?

---@class (partial) PartialClaudeCodeConfig: ClaudeCodeConfig

-- Server interface for main module
---@class ClaudeCodeServerFacade
---@field start fun(config: ClaudeCodeConfig, auth_token: string|nil): (success: boolean, port_or_error: number|string)
Expand Down