44130c1
refactor(ui): replace Muted with H1/H2 headings
Click to expand commit body
Muted (gray foreground) was hard to read on some terminal themes. H1/H2
use background colors for reliable contrast regardless of theme.
Assisted-by: Claude Opus 4.5 via Crush
Amolith
created
7aedbf9
chore(deps): bump go-lunatask to v0.1.0-rc8
Click to expand commit body
Assisted-by: Claude Opus 4.5 via Crush
Amolith
created
21675bd
refactor(ui): use lctime for date formatting
Click to expand commit body
Assisted-by: Claude Opus 4.5 via Crush
Amolith
created
1370900
feat(task): use default area filter from config
Click to expand commit body
Assisted-by: Claude Opus 4.5 via Crush
Amolith
created
f0a75b5
refactor(task): use lipgloss/table for list output
- Default filter: incomplete tasks + completed today
- --all flag to show full history
- --area and --status filters
- JSON and table output
- Locale-aware date formatting via ui.FormatDate
Assisted-by: Claude Opus 4.5 via Crush
- 'Track a habit activity' -> 'Track a habit'
- 'Add a timeline note to a person' -> 'Add a timeline note'
- 'Verify your access token is valid' -> 'Verify access token'
Assisted-by: Claude Opus 4.5 via Amp
- Token validation uses errTokenRequired instead of errKeyRequired
- Access-token step offers 'Skip for now' on errors instead of
discarding config
- Ctrl+C on save prompt shows clearer message
- Color summary shows 'auto' when config value is empty
- Extract printConfigSummary helper to reduce function length
- Add colorAuto constant to avoid magic string duplication
Assisted-by: Claude Opus 4.5 via Amp
Amolith
created
579789e
refactor: config permissions and done shortcut
Click to expand commit body
- Config file now written with 0o600 instead of 0o644
- done shortcut creates fresh command copy instead of mutating global
state
Assisted-by: Claude Opus 4.5 via Amp
Amolith
created
df1c4f4
refactor(init): deep links, nav, token rename
Click to expand commit body
- Add internal/deeplink package for parsing lunatask:// URLs
- Resource commands (task/note/person) now accept deep links or UUIDs
- Init wizard gains Back/Next navigation between steps
- Rename "API key" to "access token" throughout
- Remove LUNATASK_API_KEY env var fallback; keyring-only auth
Assisted-by: Claude Opus 4.5 via Crush
- Split monolithic init.go into focused files: areas, notebooks,
habits, defaults, apikey, ui
- Move API key configuration to last step with ping validation
- Add spinner feedback during API key verification
- Make keyring errors blocking instead of silent
- Add bounds checks on slice operations
- Handle ErrUserAborted consistently across all huh forms
- Change parseEditIndex to (int, bool) signature
- Add unit tests for validators
Assisted-by: Claude Opus 4.5 via Amp
5a9bab7
docs(agents): move E2E note to concepts section
Click to expand commit body
Assisted-by: Claude Opus 4.5 via Crush
Amolith
created
08bd405
refactor: centralize completions and ui helpers
Click to expand commit body
- Move completion functions to internal/completion package
- Add Static() helper for inline static value completions
- Extract ui.Confirm() using charmbracelet/huh
- Implement done command via task.UpdateCmd delegation
Assisted-by: Claude Opus 4.5 via Crush
75170db
feat(cmd): add CLI command structure with stubs
Click to expand commit body
Implements the command hierarchy for lune CLI:
- task: add, list, get, update, delete
- note: add, list, get, update, delete
- person: add, list, get, update, delete, timeline
- journal: add
- habit: track
- Shortcuts: add, done, jrnl
Includes supporting infrastructure:
- internal/client: API client with version from build info
- internal/config: TOML config with ErrNotFound sentinel
- internal/validate: UUID validation for IDs
- internal/ui: lipgloss styles
All commands use RunE flag lookups for testability, dynamic shell
completions for config-based flags, and delete commands require --force
or confirmation.
Assisted-by: Claude Opus 4.5 via Crush