Commit graph

44 commits

Author SHA1 Message Date
Snider
daa8b1e477 Merge branch 'agent/fix-ide-main-go-to-compile-with-current' of /Users/snider/Code/.core/workspace/ide-1774137860574616000/src into dev
Some checks failed
Security Scan / security (push) Successful in 14s
Test / test (push) Failing after 20s
Security Scan / security (pull_request) Successful in 11s
Test / test (pull_request) Failing after 25s
# Conflicts:
#	go.mod
#	main.go
2026-03-22 00:42:16 +00:00
Snider
ff717ef516 fix(core): update main.go to compile with current Core and MCP APIs
Some checks failed
Security Scan / security (pull_request) Successful in 13s
Test / test (pull_request) Failing after 1m54s
Replace deprecated patterns with current API conventions:
- core.WithName/WithService → core.New() + RegisterService + RegisterAction
- mcp.WithWorkspaceRoot/WithWSHub/WithSubsystem → mcp.New(mcp.Options{})
- core.ServiceFor[T] → direct service reference
- Add cancellable context and ServiceShutdown to GUI mode
- Handle previously-discarded errors from api.New and config.New

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 00:40:33 +00:00
Snider
800b75ee90 Merge remote-tracking branch 'origin/main'
Some checks failed
Security Scan / security (push) Successful in 19s
Test / test (push) Failing after 52s
2026-03-22 00:29:29 +00:00
Claude
cc7504892f
chore: migrate to dappco.re vanity import path
Some checks failed
Security Scan / security (push) Successful in 10s
Test / test (push) Failing after 2m0s
Change module declaration from forge.lthn.ai/core/ide to
dappco.re/go/core/ide. Update the self-referencing icons import
accordingly. External dependency imports remain on forge.lthn.ai
paths until those sibling modules publish dappco.re-aware versions,
avoiding dual-path conflicts in the Go module graph.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 23:55:49 +00:00
Snider
72ab0265fe chore: sync dependencies for v0.1.4
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 17:53:52 +00:00
Snider
4980023403 chore: sync dependencies for v0.1.3
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 17:49:34 +00:00
98483cb7af Merge pull request '[agent/claude:opus] DX audit and fix. 1) Review CLAUDE.md — update any outdate...' (#1) from agent/dx-audit-and-fix--1--review-claude-md into main
Some checks failed
Security Scan / security (push) Successful in 13s
Test / test (push) Failing after 1m46s
2026-03-17 09:00:39 +00:00
Snider
e1024744a4 fix(ide): replace fmt.Errorf with coreerr.E(), add unit tests
Some checks failed
Security Scan / security (pull_request) Successful in 11s
Test / test (pull_request) Failing after 1m56s
Replace all fmt.Errorf calls in runtime.go with structured errors via
coreerr.E() from go-log, ensuring every error carries operation context
for structured logging and tracing.

Add unit tests for runtime utilities (findFreePort, waitForHealth,
defaultProvidersDir), RuntimeManager (List, StopAll, StartAll),
ProvidersAPI (Name, BasePath, list endpoint), guiEnabled, and
staticAssetGroup. Coverage: 27.1%.

No os.ReadFile/os.WriteFile violations found. CLAUDE.md reviewed —
no outdated commands.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 09:00:18 +00:00
Snider
5efd2c69d4 chore: sync dependencies for v0.1.2
Some checks failed
Security Scan / security (push) Successful in 13s
Test / test (push) Failing after 2m5s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 22:19:16 +00:00
Snider
14a41d18a1 chore: sync workspace dependencies
Some checks failed
Security Scan / security (push) Successful in 8s
Test / test (push) Failing after 1m51s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 15:45:03 +00:00
Snider
4c4e0eda06 chore: sync go.mod dependencies
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 15:39:57 +00:00
Snider
eaeddfc226 chore: bump forge deps for v0.1.0 release
Some checks failed
Security Scan / security (push) Successful in 14s
Test / test (push) Failing after 1m29s
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 15:18:03 +00:00
Snider
a424c2d589 feat: wire brain + agentic subsystems, update wails build artifacts
Some checks failed
Security Scan / security (push) Successful in 13s
Test / test (push) Failing after 1m30s
Add brain.NewDirect() and agentic.NewPrep() to MCP service.
Update go.mod to core/mcp v0.2.0. Regenerated wails bindings.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 15:11:09 +00:00
Snider
d145612699 chore: add .core/ and .idea/ to .gitignore
Some checks failed
Security Scan / security (push) Successful in 13s
Test / test (push) Failing after 1m51s
2026-03-15 10:17:50 +00:00
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