Commit graph

33 commits

Author SHA1 Message Date
d08b404801 Merge pull request 'refactor(deps): migrate forge.lthn.ai dependencies to dappco.re tagged versions' (#8) from dev into main
Reviewed-on: #8
2026-03-24 10:08:13 +00:00
Snider
8698325811 merge: resolve main→dev conflicts — complete dappco.re migration
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-23 20:52:33 +00:00
223ce22a0e Merge pull request '[agent/claude] Migrate module path to dappco.re/go/core/build. Update go.mo...' (#3) from agent/migrate-module-path-to-dappco-re-go-core into main 2026-03-22 01:53:41 +00:00
Snider
bb64608120 refactor(module): migrate module path to dappco.re/go/core/build
Update go.mod module declaration, all require lines, and .go import
paths from forge.lthn.ai to dappco.re. Dependencies updated: core
v0.5.0, log v0.1.0, io v0.2.0. Replace directives added for local
module resolution. forge.lthn.ai/core/cli and go-inference retained
at old paths (not yet migrated).

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 01:53:16 +00:00
Claude
049ad2b04f
refactor(deps): migrate forge.lthn.ai dependencies to dappco.re tagged versions
Update go.mod requires and all .go imports from forge.lthn.ai/core/*
to dappco.re/go/core/* per the version map:
- go-io v0.1.7 → dappco.re/go/core/io v0.2.0
- go-log v0.0.4 → dappco.re/go/core/log v0.1.0
- go-i18n v0.1.7 → dappco.re/go/core/i18n v0.2.0
- go-ws v0.2.5 → dappco.re/go/core/ws v0.3.0
- api v0.1.5 → dappco.re/go/core/api v0.2.0
- go v0.3.3 → dappco.re/go/core v0.5.0

forge.lthn.ai/core/cli left unchanged (not in migration scope).
Fix pre-existing test assertion in codesign_test.go.
Deduplicate setup logic in release.go via extracted helpers.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 01:34:37 +00:00
Snider
63a8499098 chore: sync dependencies for v0.2.6
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 17:54:24 +00:00
Snider
7ace784c8d chore: sync dependencies for v0.2.5
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 17:48:03 +00:00
2ea54f4300 Merge pull request '[agent/claude:opus] Fix CodeRabbit findings. Verify each against current code, f...' (#2) from agent/fix-coderabbit-findings--verify-each-aga into main 2026-03-17 14:13:16 +00:00
Snider
49fb446739 fix(coderabbit): address review findings
- chocolatey: pass API key via env var instead of CLI arg
- npm: remove unused cfg parameter from dryRunPublish
- signing: include checksums file path in error message
- codesign: provide specific reason when codesign unavailable
- scoop: handle error from custom template read
- wails: wrap Read/Write errors with coreerr.E
- github: include actual error in validateGhCli coreerr.E calls
- docker: include actual error in validate/buildx coreerr.E calls

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 13:46:48 +00:00
28ed12c95e 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 2026-03-17 08:02:40 +00:00
Snider
11050c1a31 fix(dx): audit and fix conventions, broken build, and test coverage
- CLAUDE.md: update error wrapping convention from fmt.Errorf to coreerr.E()
- cmd/build: fix RegisterCommands API mismatch (cli v0.3.5 compat)
- locales: self-register translations via i18n.RegisterLocales in init()
- cmd/sdk: replace fmt.Printf with cli.Print for consistent output
- cmd/build/cmd_pwa: replace os.Stat with coreio.Local.IsDir
- pkg/build/builders: replace os.Stat with io.Local.IsFile for CLI checks
- pkg/release/publishers/scoop: replace os.Stat with coreio.Local.IsDir
- pkg/api: add tests for getBuilder, resolveDir, and medium initialisation

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 07:54:19 +00:00
Snider
356e5315b9 fix: defer i18n.T() for package-level command vars
Move i18n.T() calls out of package-level var declarations (which run
at import time, before i18n is initialised) into setXxxI18n() functions
called from AddXxxCommands at registration time.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 02:31:47 +00:00
Snider
4c63d30a24 fix: switch to oasdiff/kin-openapi, restore embed import
SDK diff.go used getkin/kin-openapi but oasdiff v1.12+ uses its own
fork. Switched import to match. Restores full CLI binary compilation.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 02:28:07 +00:00
Snider
9c609a526c refactor: pass locales via RegisterCommands
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 01:38:30 +00:00
Snider
d4f10ea18f feat: embed and load locale translations on init
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 00:45:17 +00:00
Snider
275d41f3fc feat: add en-GB locale file for build/CI/SDK commands
132 translation keys for build, ci, sdk commands.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 00:34:39 +00:00
Snider
cd3d82def7 chore: sync dependencies for v0.2.4
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 22:19:48 +00:00
Snider
d0e22f76e1 refactor: replace remaining fmt.Errorf/errors.New with coreerr.E()
Replace all fmt.Errorf and errors.New calls across 32 production files
with coreerr.E("caller.Method", "message", err) from go-log, matching
the convention already established in publishers/scoop.go and
publishers/homebrew.go.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 21:03:21 +00:00
Snider
6448624590 refactor: replace os.* and fmt.Errorf with go-io/go-log conventions
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 20:07:58 +00:00
Snider
9d6ae7f300 fix(i18n): use UK English spellings across codebase
- aur.go: initialize → initialise in comment and error string
- ci.go: already_initialized → already_initialised i18n key
- diff.go: add comment noting GetUncolorizedText is upstream oasdiff API

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 17:43:17 +00:00
Snider
86e04bb5a3 chore: sync go.mod dependencies
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-15 15:37:06 +00:00
Snider
86bf18450c chore: add .core/ and .idea/ to .gitignore 2026-03-15 10:17:49 +00:00
Snider
995d23147d fix: align indirect dependency versions via go work sync
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 13:42:30 +00:00
Snider
d6226e150d fix: update stale import paths and dependency versions from extraction
Resolve stale forge.lthn.ai/core/cli v0.1.0 references (tag never existed,
earliest is v0.0.1) and regenerate go.sum via workspace-aware go mod tidy.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 13:38:59 +00:00
Snider
fad07deb78 docs: remove implemented plan files
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 12:45:55 +00:00
Snider
77e4c06599 feat(api): add build service provider with Lit custom elements
Wraps the existing build, release, and SDK subsystems as REST endpoints
via a BuildProvider that implements Provider, Streamable, Describable,
and Renderable. Includes 6 Lit custom elements for GUI display within
the Core IDE, following the same pattern established in go-scm.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-14 12:29:45 +00:00
Snider
d6086a92f4 fix(plugin): remove invalid commands/repository schema from plugin.json
Commands auto-discovered from commands/ directory. Repository must be
a string, not an object.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-13 10:54:44 +00:00
Snider
6a1642e586 feat(plugin): add npm package for Claude Code plugin distribution
Published as @lthn/core-claude-build on npm.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-13 10:49:16 +00:00
Snider
b2edc2d26d refactor: restructure build/release/sdk into pkg/ layout
Moves build/, release/, sdk/ into pkg/ following Go convention.
Updates import paths in cmd/ci and cmd/sdk.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-13 09:30:02 +00:00
Snider
3a9b766eaf docs: add human-friendly documentation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 13:02:40 +00:00
Snider
badea4b31a feat: add claude plugin for Go QA and build tooling 2026-03-09 18:15:58 +00:00
Snider
e8afb8b41d feat: extract build/, release/, sdk/ from go-devops
Build system (8 builders, signing, archiving), release pipeline
(7 publishers, versioning, changelog), and SDK generation
(OpenAPI diff, code gen). 18K LOC, all tests pass except Go
builder workspace isolation (pre-existing).

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-09 12:37:36 +00:00
e853b9821e Initial commit 2026-03-09 12:35:35 +00:00