Commit graph

30 commits

Author SHA1 Message Date
Snider
f7cd7e7f48 feat: add IDE window and tray menu items
Some checks failed
Security Scan / security (push) Successful in 12s
Test / test (push) Failing after 3m5s
Open IDE (1280x800), API Swagger, separator, Quit.
Main window hidden by default, opened via tray menu.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 03:12:02 +00:00
Snider
1ef9ac8c8d fix: align dependency versions for forge resolution
Some checks failed
Security Scan / security (push) Successful in 12s
Test / test (push) Failing after 1m22s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 14:48:07 +00:00
Snider
f578fd9c6d fix: update stale import paths and dependency versions from extraction
Some checks failed
Security Scan / security (push) Successful in 12s
Test / test (push) Failing after 1m52s
Remove local replace directives (workspace handles resolution) and
regenerate go.sum via workspace-aware go mod tidy.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 13:39:05 +00:00
Snider
bfd5c59cac feat: update Wails to alpha 74, add iOS/Android/Docker build support
Some checks failed
Security Scan / security (push) Successful in 8s
Test / test (push) Failing after 1m41s
- Updated wails3 CLI to v3.0.0-alpha.74
- Added build/ios/, build/android/, build/docker/ from new template
- Updated all platform Taskfiles (darwin, linux, windows)
- Fixed Angular versions to ~20.3.16
- Root Taskfile with platform-aware build/package/run
- Binary compiles and runs — system tray appears on macOS

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 13:10:55 +00:00
Snider
d828c6356a docs: remove implemented plan/spec files
Some checks failed
Security Scan / security (push) Successful in 9s
Test / test (push) Failing after 56s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 12:45:54 +00:00
Snider
b9500bf866 feat(frontend): wire app shell framework with dynamic providers
Some checks failed
Security Scan / security (push) Successful in 9s
Test / test (push) Failing after 52s
Replace the standalone IDE/Tray components with the framework shell from
core/gui/ui. The IDE frontend is now minimal routing config that uses:

- ApplicationFrameComponent as the HLCRF layout (header, sidebar, content, footer)
- ProviderHostComponent for dynamic custom element rendering via :provider route
- SystemTrayFrameComponent for the 380x480 tray panel

Go side: add GET /api/v1/providers endpoint (ProvidersAPI) that returns all
registered providers from the Registry plus runtime providers from the
RuntimeManager. The Angular frontend calls this on startup to populate
navigation and load custom elements.

Also bumps @angular/build and @angular/cli to 21.x to match @angular/core.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 12:41:55 +00:00
Snider
fe90224de6 docs: add GUI app shell design spec
Some checks failed
Security Scan / security (push) Successful in 9s
Test / test (push) Failing after 58s
Port lthn-desktop application frame to core/gui/ui as reusable
framework. ProviderDiscoveryService for dynamic navigation and
custom element loading. Provider host component with safe DOM.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 12:30:26 +00:00
Snider
2d55600bb2 feat(runtime): add RuntimeManager for provider loading
Some checks failed
Security Scan / security (push) Successful in 9s
Test / test (push) Failing after 54s
RuntimeManager discovers providers in ~/.core/providers/, starts their
binaries via os/exec, waits for health checks, and registers ProxyProviders
in the API engine. Wired into all three IDE modes (MCP stdio, headless,
GUI) with proper startup/shutdown lifecycle. Includes implementation plan.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 12:22:46 +00:00
Snider
abd4bfad76 docs: add runtime provider loading design spec
Some checks failed
Security Scan / security (push) Successful in 8s
Test / test (push) Failing after 59s
Plugin ecosystem: install/remove providers without recompile.
Mining namespace pattern for route proxying. Managed process
lifecycle. Dynamic JS loading. Swagger aggregation.
core install/remove/update CLI commands.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 12:12:08 +00:00
Snider
74ec4db309 docs: add go-scm service provider + custom elements design
Some checks failed
Security Scan / security (push) Successful in 11s
Test / test (push) Failing after 58s
REST API for marketplace/manifest/installed/registry.
Lit element bundle: core-scm-panel, marketplace, manifest,
installed, registry. Composable custom elements.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 10:35:40 +00:00
Snider
6fd2ea783f fix: correct config module version to v0.1.0
Some checks failed
Security Scan / security (push) Successful in 10s
Test / test (push) Failing after 52s
The go-config v0.1.2 was renamed to config but tagged as v0.1.0.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 10:29:46 +00:00
Snider
7d1d5ce2df refactor: update import path from go-config to core/config
Some checks failed
Security Scan / security (push) Successful in 8s
Test / test (push) Failing after 53s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 10:28:39 +00:00
Snider
1cc8eab3c8 refactor(api): update import path from go-api to core/api
Some checks failed
Security Scan / security (push) Successful in 10s
Test / test (push) Failing after 51s
Part of the polyglot merge — forge.lthn.ai/core/go-api is now
forge.lthn.ai/core/api.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 10:10:36 +00:00
Snider
4375919ca3 feat: wire service provider framework into IDE
Some checks failed
Security Scan / security (push) Successful in 11s
Test / test (push) Failing after 53s
Adds provider registry and API engine to all three modes (MCP-only,
headless, GUI). Registers process and brain providers, starts the API
server on :9880 (configurable via CORE_API_ADDR), and runs the WS hub
for real-time event streaming. go-api and go-process promoted to direct
dependencies.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 09:47:59 +00:00
Snider
44f49c97cb docs: add core/api polyglot merge implementation plan (8 tasks)
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 09:42:01 +00:00
Snider
c3db1cd425 docs: add core/api polyglot merge design spec
Some checks failed
Security Scan / security (push) Successful in 7s
Test / test (push) Failing after 53s
Merge core/go-api + core/php-api into core/api.
Same pattern as core/mcp polyglot repo.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 09:36:07 +00:00
Snider
622150d78c docs: add service provider framework implementation plan (6 tasks)
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 09:35:43 +00:00
Snider
f2f94cb35f docs: add service provider framework design spec
Some checks failed
Security Scan / security (push) Successful in 8s
Test / test (push) Failing after 55s
Polyglot provider pattern for core/go-api. OpenAPI as contract.
Go, PHP, TypeScript packages register as providers to get
REST API, MCP tools, and GUI panels automatically.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 09:29:31 +00:00
Snider
e2281f8c88 feat: modernise IDE with ecosystem packages
Some checks failed
Security Scan / security (push) Successful in 8s
Test / test (push) Failing after 58s
Replace 7 hand-rolled service files (mcp_bridge, webview_svc, brain_mcp,
claude_bridge, headless_mcp, headless, greetservice) with ecosystem
packages from core/gui, core/mcp, and core/go-ws.

Three operating modes: GUI (Wails systray), MCP (--mcp stdio for Claude
Code), and headless (no display). Core framework manages all service
lifecycles via dependency injection.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 09:18:55 +00:00
Snider
f278dee917 docs: add IDE modernisation implementation plan (5 tasks)
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 09:06:16 +00:00
Snider
7fe9bdc4e2 docs: add IDE modernisation design spec
Replace hand-rolled MCP bridge, webview service, and brain tools
with imports from core/mcp, core/gui, and ecosystem packages.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 09:00:40 +00:00
Snider
5a2d508254 feat: add brain MCP tools and webview service
Some checks failed
Security Scan / security (push) Successful in 8s
Test / test (push) Failing after 1m12s
Adds brain_remember/recall/forget/ensure_collection MCP tools via
BrainService. Extracts WebviewService, wires brain tools into both
headless and GUI MCP bridges.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-13 09:30:05 +00:00
Snider
e2c6a79487 docs: add human-friendly documentation
Some checks failed
Security Scan / security (push) Failing after 17s
Test / test (push) Failing after 39s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 13:02:40 +00:00
Snider
d0c057d20c refactor: use go-process daemon types instead of cli
Some checks failed
Security Scan / security (push) Successful in 7s
Test / test (push) Failing after 37s
Import daemon types (NewDaemon, DaemonOptions) from the dedicated
go-process package rather than the cli package, completing the
extraction of process management into its own module.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 14:13:49 +00:00
Snider
e85aa98a4d chore: replace root Taskfile with .core/build.yaml
Some checks failed
Test / test (push) Failing after 40s
Security Scan / security (push) Failing after 11m47s
Root Taskfile removed — `core build` auto-detects Wails projects.
Platform Taskfiles in build/ retained (used by wails3 internally).

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 14:46:02 +00:00
Claude
e04cbf6864
ci: add Forgejo Actions test and security scan workflows
Some checks failed
Security Scan / security (push) Successful in 13s
Test / test (push) Failing after 58s
Uses reusable workflows from core/go-devops for Go testing
(with race detector and coverage) and security scanning
(govulncheck, gitleaks, trivy).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 03:28:13 +00:00
Claude
30e9edcfb9
chore: refresh go.sum after upstream tag updates
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 23:36:25 +00:00
Claude
4d9643ce8e
chore: sync workspace dependency versions
Run go work sync to align dependency versions across workspace.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 21:41:04 +00:00
Claude
74e9994a6b
refactor: update module path and imports for standalone repo
- Change module from forge.lthn.ai/core/cli/internal/core-ide
  to forge.lthn.ai/core/ide
- Update dependency from core/cli to core/go + core/gui
- Fix all imports: core/cli/pkg/ → core/go/pkg/
- Fix self-references: core/cli/internal/core-ide/ → core/ide/
- Add replace directives for core/go and core/gui
- Run go mod tidy

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 14:22:26 +00:00
Snider
9fad7cc1ab move 2026-02-16 13:55:59 +00:00