Commit graph

53 commits

Author SHA1 Message Date
Virgil
892901dee2 fix(build): emit artifact metadata from GitHub env
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 21:19:50 +00:00
Virgil
5b2422e2ca feat(build): add release workflow output alias
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 20:57:37 +00:00
Virgil
48e5a6e859 chore(ax): centralise release workflow path resolution 2026-04-01 20:29:32 +00:00
Virgil
9b6c468d94 feat(build): expose archive format in release workflow
Co-Authored-By: Codex <noreply@openai.com>
2026-04-01 20:13:04 +00:00
Virgil
d6e073b3f8 feat(build): add release archive-format override 2026-04-01 20:09:53 +00:00
Virgil
f809d07079 feat(build): add archive format CLI override 2026-04-01 20:06:42 +00:00
Virgil
e882b3a6b1 chore(ax): clarify release workflow helpers 2026-04-01 19:59:10 +00:00
Virgil
3d7f7d6da1 fix(build): clone runtime build args maps 2026-04-01 19:52:42 +00:00
Virgil
2ea501c5bc feat(ci): scaffold sdk config in init
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 19:49:09 +00:00
Virgil
1b572ed5e5 fix(build): publish workflow artifacts via ci
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 19:13:44 +00:00
Virgil
6745d87741 feat(build): add release workflow command
Co-authored-by: Virgil <virgil@lethean.io>
2026-04-01 19:10:15 +00:00
Virgil
195f4bfef1 fix(release): honour full build config in release builds
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 18:04:26 +00:00
Virgil
b8053c3225 feat(build): support pwa type override 2026-04-01 17:49:22 +00:00
Virgil
599a6ecff8 feat(build): validate SDK specs before generation 2026-04-01 16:24:07 +00:00
Virgil
845565c502 fix(build): write CI metadata for final artifacts 2026-04-01 15:47:32 +00:00
Virgil
3f32f3e783 feat(build): add docker load mode 2026-04-01 15:24:33 +00:00
Virgil
98b742d4b5 feat(build): resolve build version from git tags 2026-04-01 15:17:41 +00:00
Virgil
cb5ebefc3d fix(build): accept standard pwa manifest rel tokens 2026-04-01 14:05:29 +00:00
Virgil
ea051a3c25 feat(build): support configurable archive compression 2026-04-01 13:58:56 +00:00
Virgil
05ac67c596 feat(build): emit ci artifact metadata 2026-04-01 13:37:31 +00:00
Virgil
520312b708 feat(sdk): validate OpenAPI specs 2026-04-01 13:17:59 +00:00
Virgil
9e09f022a9 feat(build): wire cache paths into go builds
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 12:59:08 +00:00
Virgil
e66220f493 Wire build config through to Docker and LinuxKit 2026-04-01 12:29:48 +00:00
Virgil
32a64aa00b feat(build): wire build cache setup 2026-04-01 12:24:03 +00:00
Virgil
2fba3cdf2c feat(build): honour explicit build config path 2026-04-01 12:10:38 +00:00
Virgil
d203a7ff78 feat(build): wire computed build tags into go builds
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 11:38:35 +00:00
Virgil
0beac61805 feat(build): add python project builder
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 11:31:10 +00:00
Virgil
b565752f9f feat(build): add rust project builder 2026-04-01 11:14:23 +00:00
Virgil
91037a9443 feat(build): add mkdocs docs builder 2026-04-01 11:10:27 +00:00
Virgil
83a50b684d feat(build): honor configured main package path 2026-04-01 10:58:30 +00:00
Virgil
72bb94e355 feat(build): add Windows signtool signing 2026-04-01 10:53:02 +00:00
Virgil
efdc252462 feat(build): wire config flags into go builder 2026-04-01 10:45:57 +00:00
Virgil
f539643f8c feat(build): add PHP builder support
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 10:41:59 +00:00
Virgil
fd566a40fb feat(build): add Node project builder 2026-04-01 10:35:09 +00:00
Virgil
0c39bc99f3 feat(build): auto-detect fallback builders
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 09:46:42 +00:00
Virgil
479e6cb8e9 chore(ax): tighten naming and docs
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 18:37:59 +00:00
Snider
febe858942 fix(ax): replace banned os imports and add usage example comments
- Remove `os` import from internal/ax/ax.go; replace os.Getwd() with
  syscall.Getwd(), os.MkdirAll() with coreio.Local.EnsureDir(), and
  os.Chmod() with syscall.Chmod()
- Remove `os` import from pkg/sdk/generators/typescript_test.go;
  replace os.PathListSeparator and os.Getenv() with core.Env("PS")
  and core.Env("PATH")
- Replace all "Usage example: call/declare ... from integrating code"
  placeholder comments with concrete code examples across 45 files
  covering build, release, sdk, signing, publishers, builders, and cmd

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 18:33:36 +01:00
Virgil
85f3a28d9d chore(ax): remove legacy background git helpers 2026-03-30 05:51:40 +00:00
Virgil
4b57a2bd7d chore(ax): propagate caller context through release workflows 2026-03-30 05:46:27 +00:00
Virgil
2c3db40a0b chore(ax): complete remaining experience alignments 2026-03-30 01:03:04 +00:00
Virgil
7b4f657d25 Align filesystem operations with AX I/O abstractions 2026-03-30 00:05:46 +00:00
Virgil
7aa4e5486d chore(ax): finish v0.8.0 polish pass
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 17:41:53 +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
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
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