- Extract JASPER_URL into a shared constants module - Pass login credentials via a temp curl config file to avoid exposure in the process argument list (ps/proc) - Replace vim.ui.input secret prompt with vim.fn.inputsecret() - Add -s (silent) flag to all curl calls to suppress progress output - Guard curl output parser against missing newline in stdout - Track per-activity shared timestamp file (/tmp/jasper_<id>.last_activity) so the inactivity watchdog skips auto-pause when another Neovim instance is still active on the same task - Clean up leftover uv_timer on repeated begin_tracking calls - Remove shared activity file on teardown only when this instance wrote it
7 lines
125 B
Lua
7 lines
125 B
Lua
--- jasper/constants.lua
|
|
--- Shared constants used across the plugin.
|
|
|
|
return {
|
|
JASPER_URL = "https://jasper.4sigma.it",
|
|
}
|