Commit graph

8 commits

Author SHA1 Message Date
Snider
e9b85ae817 fix(pidfile): replace path.Dir with filepath.Dir for cross-platform compat
- pidfile.go: use filepath.Dir instead of POSIX-only path.Dir (line 55)
- pidfile.go: simplify redundant bytes/string conversions to strings.TrimSpace (lines 44, 105)
- docs/RFC.md: add language identifiers to four untyped fenced code blocks (MD040)
- specs/api/RFC.md: update NewProvider signature to 3-arg form matching implementation

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-07 08:59:29 +01:00
Virgil
8a6c253ea2 fix(ax): align action handlers and exec errors 2026-03-30 13:43:00 +00:00
Virgil
e75cb1fc97 docs(ax): add RFC/spec artifacts for AX contract alignment 2026-03-30 06:34:38 +00:00
Virgil
b0dd22fc5e docs(ax): align process docs with AX action/result contract 2026-03-30 06:34:38 +00:00
Snider
87b16ca41c feat(process): add Program struct with Find, Run, RunDir
Add Program to the process package as a lightweight tool-finder and runner.
Find() resolves a binary via exec.LookPath (wrapping ErrProgramNotFound),
Run() and RunDir() execute the binary and return trimmed combined output.
Includes 7 tests covering happy paths, error paths, and the errors.Is contract.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-18 15:07:03 +00:00
Snider
59e82f74af docs: remove implemented plan files
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 12:45:56 +00:00
Snider
0ae76c2414 feat(ui): add Lit custom elements for process management
Five Lit custom elements following the go-scm UI pattern:
- <core-process-panel> tabbed container (Daemons/Processes/Pipelines)
- <core-process-daemons> daemon registry with health checks and stop
- <core-process-list> managed processes with status badges
- <core-process-output> live stdout/stderr WS stream viewer
- <core-process-runner> pipeline execution results display

Also adds provider.Renderable interface to ProcessProvider with
Element() returning core-process-panel tag, extends WS channels
with process-level events, and embeds the built UI bundle via
go:embed.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 12:25:06 +00:00
Snider
ec95200765 docs: add human-friendly documentation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 13:02:40 +00:00