Commit graph

20 commits

Author SHA1 Message Date
Virgil
fe0f528581 feat(sdk): always export scramble specs
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 21:55:31 +00:00
Virgil
8bf1fe774c feat(sdk): seed generator registry by default 2026-04-01 21:51:10 +00:00
Virgil
14069f56fd feat(sdk): recognise yml OpenAPI specs 2026-04-01 20:45:45 +00:00
Virgil
e8fa26b5d2 feat(sdk): honour publish path for generated SDKs 2026-04-01 19:44:50 +00:00
Virgil
f7e994382c feat(sdk): render version templates
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 16:43:09 +00:00
Virgil
520312b708 feat(sdk): validate OpenAPI specs 2026-04-01 13:17: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
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
Virgil
a331b1958c chore(ax): bound generator availability probes 2026-03-30 05:58:49 +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
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
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
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
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
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
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
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