Commit graph

8 commits

Author SHA1 Message Date
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
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
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
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
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
Renamed from release/version.go (Browse further)