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>
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>
- 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>
- 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>
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>
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>
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>
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>
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>