Commit graph

65 commits

Author SHA1 Message Date
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
854422d369 feat(build): add release workflow template
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 19:21:02 +00:00
Virgil
1265dc158b feat(build): add Wails frontend prebuild hook
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 18:58:25 +00:00
Virgil
7f1da7766a feat(build): add build cache helpers
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 18:50:06 +00:00
Virgil
71f0852a06 feat(build): pass Wails installer flags
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 18:41:51 +00:00
Virgil
26a7a3bfdd fix(build): verify garble obfuscation path
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 18:41:30 +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
77aaac226c feat(build): discovery enrichment, build options, CI output format
- Add docs/python/rust project detection + DiscoverFull()
- Add BuildOptions with ComputeOptions, webkit tag injection, garble/NSIS/WebView2
- Add CI output: GitHub annotations, DetectCI, ArtifactName, WriteArtifactMeta
- Config struct additions for obfuscate/nsis/webview2
- Full Good/Bad/Ugly test coverage

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 19:33:31 +01: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
1573807fc4 feat(sdk): export Laravel Scramble specs automatically
Detect Laravel Scramble projects, run `php artisan scramble:export`, and consume the generated api.json.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 16:45:57 +00:00
Snider
ae792f3dbe docs: add AX design principles RFC
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 17:17:25 +01:00
Virgil
a331b1958c chore(ax): bound generator availability probes 2026-03-30 05:58:49 +00: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
750a4d0ce0 chore(ax): resolve remaining builder and signer runtimes 2026-03-30 05:37:28 +00:00
Virgil
8ea79392a7 chore(ax): propagate caller context through runtime checks 2026-03-30 05:29:24 +00:00
Virgil
fd5353bb88 chore(ax): resolve sdk and github runtime commands 2026-03-30 01:28:57 +00:00
Virgil
6950a75fa3 chore(ax): resolve docker and linuxkit runtime commands 2026-03-30 01:19:19 +00:00
Virgil
1c5e7b77fd chore(ax): resolve fallback builder commands 2026-03-30 01:13:57 +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
007e30e869 chore: apply AX experience-aligned code updates 2026-03-29 23:40:42 +00:00
Virgil
919be0f3cb chore(ax): harden filesystem and context wrappers 2026-03-29 23:04:40 +00:00
Virgil
1a874bc4d9 chore(verification): run verification pass
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-27 03:07:14 +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
Virgil
d7427a324d chore(core): upgrade to dappco.re/go/core v0.8.0-alpha.1
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 14:58: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