@voxgig/sdkgen 4.8.3 → 4.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/bin/voxgig-sdkgen +1 -1
  2. package/package.json +1 -1
  3. package/project/.sdk/model/target/zig.aon +9 -0
  4. package/project/.sdk/src/cmp/zig/Package_zig.ts +15 -11
  5. package/project/.sdk/src/cmp/zig/fragment/Entity.fragment.zig +3 -3
  6. package/project/.sdk/src/cmp/zig/fragment/EntityListOp.fragment.zig +3 -3
  7. package/project/.sdk/src/cmp/zig/fragment/Main.fragment.zig +3 -3
  8. package/project/.sdk/src/cmp/zig/utility_zig.ts +50 -1
  9. package/project/.sdk/tm/c/tests/vendor/omni/json.c +2 -2
  10. package/project/.sdk/tm/c/tests/vendor/omni/omni.h +2 -2
  11. package/project/.sdk/tm/c/tests/vendor/omni/runner.c +2 -2
  12. package/project/.sdk/tm/c/tests/vendor/omni/util.c +2 -2
  13. package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/json.clj +2 -2
  14. package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/runner.clj +2 -2
  15. package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/util.clj +2 -2
  16. package/project/.sdk/tm/cpp/test/vendor/omni/json.hpp +2 -2
  17. package/project/.sdk/tm/cpp/test/vendor/omni/omni.hpp +2 -2
  18. package/project/.sdk/tm/cpp/test/vendor/omni/util.hpp +2 -2
  19. package/project/.sdk/tm/csharp/test/vendor/omni/Runner.cs +2 -2
  20. package/project/.sdk/tm/csharp/test/vendor/omni/Util.cs +2 -2
  21. package/project/.sdk/tm/csharp/utility/struct/Struct.cs +1 -1
  22. package/project/.sdk/tm/dart/test/vendor/omni/omni.dart +2 -2
  23. package/project/.sdk/tm/dart/test/vendor/omni/runner.dart +2 -2
  24. package/project/.sdk/tm/dart/test/vendor/omni/util.dart +2 -2
  25. package/project/.sdk/tm/elixir/test/vendor/omni/json.ex +2 -2
  26. package/project/.sdk/tm/elixir/test/vendor/omni/runner.ex +2 -2
  27. package/project/.sdk/tm/elixir/test/vendor/omni/util.ex +2 -2
  28. package/project/.sdk/tm/go/feature/secrets/plugin/capability.go +1 -1
  29. package/project/.sdk/tm/go/feature/secrets/plugin/catalog.go +1 -1
  30. package/project/.sdk/tm/go/feature/secrets/plugin/config.go +1 -1
  31. package/project/.sdk/tm/go/feature/secrets/plugin/depend.go +1 -1
  32. package/project/.sdk/tm/go/feature/secrets/plugin/env.go +1 -1
  33. package/project/.sdk/tm/go/feature/secrets/plugin/export.go +1 -1
  34. package/project/.sdk/tm/go/feature/secrets/plugin/graph.go +1 -1
  35. package/project/.sdk/tm/go/feature/secrets/plugin/host.go +1 -1
  36. package/project/.sdk/tm/go/feature/secrets/plugin/order.go +1 -1
  37. package/project/.sdk/tm/go/feature/secrets/plugin/point.go +1 -1
  38. package/project/.sdk/tm/go/feature/secrets/plugin/ref.go +1 -1
  39. package/project/.sdk/tm/go/feature/secrets/plugin/resolve.go +1 -1
  40. package/project/.sdk/tm/go/feature/secrets/plugin/types.go +1 -1
  41. package/project/.sdk/tm/go/feature/secrets/plugin/util.go +1 -1
  42. package/project/.sdk/tm/go/feature/secrets/plugin/version.go +1 -1
  43. package/project/.sdk/tm/go/feature/secrets/plugins/aws/aws.go +4 -4
  44. package/project/.sdk/tm/go/feature/secrets/plugins/aws/sigv4.go +2 -2
  45. package/project/.sdk/tm/go/feature/secrets/plugins/azuresecrets/azuresecrets.go +2 -2
  46. package/project/.sdk/tm/go/feature/secrets/plugins/boru/boru.go +2 -2
  47. package/project/.sdk/tm/go/feature/secrets/plugins/doppler/doppler.go +2 -2
  48. package/project/.sdk/tm/go/feature/secrets/plugins/gcpsecrets/gcpsecrets.go +2 -2
  49. package/project/.sdk/tm/go/feature/secrets/plugins/hashicorp/hashicorp.go +4 -5
  50. package/project/.sdk/tm/go/feature/secrets/plugins/httpjson/httpjson.go +3 -3
  51. package/project/.sdk/tm/go/feature/secrets/plugins/infisical/infisical.go +3 -4
  52. package/project/.sdk/tm/go/feature/secrets/plugins/onepassword/onepassword.go +2 -2
  53. package/project/.sdk/tm/go/feature/secrets/plugins/secretspec/secretspec.go +2 -2
  54. package/project/.sdk/tm/go/feature/secrets/sekreto/addr.go +2 -2
  55. package/project/.sdk/tm/go/feature/secrets/sekreto/providers.go +5 -2
  56. package/project/.sdk/tm/go/feature/secrets/sekreto/sekreto.go +31 -2
  57. package/project/.sdk/tm/go/test/omni/omni.go +8 -3
  58. package/project/.sdk/tm/go/test/omni/util.go +25 -4
  59. package/project/.sdk/tm/go/utility/struct/voxgigstruct.go +1 -1
  60. package/project/.sdk/tm/java/test/vendor/omni/Json.java +2 -2
  61. package/project/.sdk/tm/java/test/vendor/omni/Runner.java +2 -2
  62. package/project/.sdk/tm/java/test/vendor/omni/Util.java +2 -2
  63. package/project/.sdk/tm/java/utility/struct/Struct.java +1 -1
  64. package/project/.sdk/tm/js/src/utility/StructUtility.js +2 -2
  65. package/project/.sdk/tm/js/test/vendor/omni/index.js +1 -1
  66. package/project/.sdk/tm/js/test/vendor/omni/runner.js +18 -3
  67. package/project/.sdk/tm/js/test/vendor/omni/util.js +25 -8
  68. package/project/.sdk/tm/kotlin/test/vendor/omni/Json.kt +2 -2
  69. package/project/.sdk/tm/kotlin/test/vendor/omni/Runner.kt +2 -2
  70. package/project/.sdk/tm/kotlin/test/vendor/omni/Util.kt +2 -2
  71. package/project/.sdk/tm/kotlin/utility/struct/Struct.kt +1 -1
  72. package/project/.sdk/tm/lean/test/vendor/omni/Omni.lean +2 -2
  73. package/project/.sdk/tm/lua/test/vendor/omni/json.lua +2 -2
  74. package/project/.sdk/tm/lua/test/vendor/omni/regex.lua +2 -2
  75. package/project/.sdk/tm/lua/test/vendor/omni/runner.lua +2 -2
  76. package/project/.sdk/tm/lua/test/vendor/omni/util.lua +2 -2
  77. package/project/.sdk/tm/lua/utility/struct/regex.lua +1 -1
  78. package/project/.sdk/tm/lua/utility/struct/struct.lua +1 -1
  79. package/project/.sdk/tm/ocaml/test/vendor/omni/omni.ml +2 -2
  80. package/project/.sdk/tm/perl/lib/Voxgig/Struct.pm +1 -1
  81. package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Runner.pm +1 -1
  82. package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Util.pm +1 -1
  83. package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni.pm +1 -1
  84. package/project/.sdk/tm/php/test/vendor/omni/Runner.php +2 -2
  85. package/project/.sdk/tm/php/test/vendor/omni/Util.php +2 -2
  86. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/__init__.py +1 -1
  87. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/capability.py +1 -1
  88. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/catalog.py +1 -1
  89. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/config.py +1 -1
  90. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/depend.py +1 -1
  91. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/env.py +1 -1
  92. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/export.py +1 -1
  93. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/graph.py +1 -1
  94. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/host.py +1 -1
  95. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/order.py +1 -1
  96. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/point.py +1 -1
  97. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/ref.py +1 -1
  98. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/resolve.py +1 -1
  99. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/types.py +1 -1
  100. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/version.py +1 -1
  101. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/__init__.py +3 -1
  102. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/addr.py +1 -1
  103. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/aws.py +3 -3
  104. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/azuresecrets.py +1 -1
  105. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/boru.py +1 -1
  106. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/doppler.py +1 -1
  107. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/gcpsecrets.py +1 -1
  108. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/hashicorp.py +3 -4
  109. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/httpjson.py +1 -1
  110. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/infisical.py +4 -6
  111. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/onepassword.py +1 -1
  112. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/secretspec.py +1 -1
  113. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/sigv4.py +1 -1
  114. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/providers.py +1 -1
  115. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/sekreto.py +21 -1
  116. package/project/.sdk/tm/py/pkg/utility/voxgig_struct/voxgig_struct.py +1 -1
  117. package/project/.sdk/tm/py/test/voxgig_omni/__init__.py +1 -1
  118. package/project/.sdk/tm/py/test/voxgig_omni/runner.py +16 -2
  119. package/project/.sdk/tm/py/test/voxgig_omni/util.py +27 -12
  120. package/project/.sdk/tm/rb/test/vendor/omni/runner.rb +2 -2
  121. package/project/.sdk/tm/rb/test/vendor/omni/util.rb +2 -2
  122. package/project/.sdk/tm/rb/test/vendor/omni/voxgig_omni.rb +2 -2
  123. package/project/.sdk/tm/rust/tests/vendor/omni/json.rs +2 -2
  124. package/project/.sdk/tm/rust/tests/vendor/omni/mod.rs +2 -2
  125. package/project/.sdk/tm/rust/tests/vendor/omni/regex.rs +2 -2
  126. package/project/.sdk/tm/rust/tests/vendor/omni/runner.rs +2 -2
  127. package/project/.sdk/tm/rust/tests/vendor/omni/util.rs +2 -2
  128. package/project/.sdk/tm/scala/sdktest/vendor/omni/Json.scala +2 -2
  129. package/project/.sdk/tm/scala/sdktest/vendor/omni/Runner.scala +2 -2
  130. package/project/.sdk/tm/scala/sdktest/vendor/omni/Util.scala +2 -2
  131. package/project/.sdk/tm/swift/Tests/vendor/omni/Json.swift +2 -2
  132. package/project/.sdk/tm/swift/Tests/vendor/omni/Runner.swift +2 -2
  133. package/project/.sdk/tm/swift/Tests/vendor/omni/Util.swift +2 -2
  134. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Capability.ts +1 -1
  135. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Catalog.ts +1 -1
  136. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Config.ts +1 -1
  137. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Depend.ts +1 -1
  138. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Env.ts +1 -1
  139. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Export.ts +1 -1
  140. package/project/.sdk/tm/ts/src/feature/secrets/plugin/FeatureHost.ts +1 -1
  141. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Graph.ts +1 -1
  142. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Host.ts +1 -1
  143. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Order.ts +1 -1
  144. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Point.ts +1 -1
  145. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Ref.ts +1 -1
  146. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Resolve.ts +1 -1
  147. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Types.ts +1 -1
  148. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Version.ts +1 -1
  149. package/project/.sdk/tm/ts/src/feature/secrets/plugin/index.ts +1 -1
  150. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/Sekreto.ts +1 -1
  151. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/index.ts +1 -1
  152. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/aws.ts +1 -1
  153. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/azuresecrets.ts +1 -1
  154. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/boru.ts +1 -1
  155. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/doppler.ts +1 -1
  156. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/gcpsecrets.ts +1 -1
  157. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/hashicorp.ts +1 -1
  158. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/httpjson.ts +1 -1
  159. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/infisical.ts +1 -1
  160. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/onepassword.ts +1 -1
  161. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/secretspec.ts +1 -1
  162. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/sigv4.ts +1 -1
  163. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/addr.ts +1 -1
  164. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/builtin.ts +1 -1
  165. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/dotenv.ts +1 -1
  166. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/env.ts +1 -1
  167. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/file.ts +1 -1
  168. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/memory.ts +1 -1
  169. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/support.ts +1 -1
  170. package/project/.sdk/tm/ts/src/utility/StructUtility.ts +2 -2
  171. package/project/.sdk/tm/ts/test/vendor/omni/Runner.ts +1 -1
  172. package/project/.sdk/tm/ts/test/vendor/omni/Util.ts +1 -1
  173. package/project/.sdk/tm/ts/test/vendor/omni/index.ts +1 -1
  174. package/project/.sdk/tm/zig/Makefile +15 -1
  175. package/project/.sdk/tm/zig/build.zig +23 -5
  176. package/project/.sdk/tm/zig/core/helpers.zig +52 -11
  177. package/project/.sdk/tm/zig/core/mem.zig +17 -1
  178. package/project/.sdk/tm/zig/core/utility.zig +23 -19
  179. package/project/.sdk/tm/zig/feature/audit.zig +2 -2
  180. package/project/.sdk/tm/zig/feature/cache.zig +2 -2
  181. package/project/.sdk/tm/zig/feature/debug.zig +5 -5
  182. package/project/.sdk/tm/zig/feature/netsim.zig +2 -2
  183. package/project/.sdk/tm/zig/feature/paging.zig +2 -2
  184. package/project/.sdk/tm/zig/feature/proxy.zig +15 -8
  185. package/project/.sdk/tm/zig/feature/streaming.zig +5 -5
  186. package/project/.sdk/tm/zig/feature/support.zig +3 -3
  187. package/project/.sdk/tm/zig/feature/telemetry.zig +5 -5
  188. package/project/.sdk/tm/zig/feature/test.zig +10 -5
  189. package/project/.sdk/tm/zig/test/fh.zig +10 -10
  190. package/project/.sdk/tm/zig/test/gotcha_test.zig +5 -5
  191. package/project/.sdk/tm/zig/test/omniresolver.zig +515 -0
  192. package/project/.sdk/tm/zig/test/omnismoke_test.zig +284 -0
  193. package/project/.sdk/tm/zig/test/pipeline_test.zig +8 -8
  194. package/project/.sdk/tm/zig/test/primary_utility_test.zig +144 -154
  195. package/project/.sdk/tm/zig/test/struct_corpus.zig +264 -187
  196. package/project/.sdk/tm/zig/test/vendor/omni/omni.zig +1314 -0
  197. package/project/.sdk/tm/zig/test/vendor/omni/regex.zig +446 -0
  198. package/project/.sdk/tm/zig/utility/voxgigstruct/regex.zig +7 -4
  199. package/project/.sdk/tm/zig/utility/voxgigstruct/struct.zig +356 -157
  200. package/project/sdkgen-package.json +1 -1
  201. package/project/.sdk/tm/zig/test/struct_runner.zig +0 -465
package/bin/voxgig-sdkgen CHANGED
@@ -8,7 +8,7 @@ const { Shape, One, Skip } = require('shape')
8
8
 
9
9
  const { SdkGen } = require('../dist/sdkgen.js')
10
10
 
11
- const VERSION = '4.8.3'
11
+ const VERSION = '4.9.0'
12
12
  const KONSOLE = console
13
13
 
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voxgig/sdkgen",
3
- "version": "4.8.3",
3
+ "version": "4.9.0",
4
4
  "main": "dist/sdkgen.js",
5
5
  "type": "commonjs",
6
6
  "engines": {
@@ -8,6 +8,15 @@ main: kit: target: zig: {
8
8
  base: 'BASE'
9
9
  srcfeature: false
10
10
 
11
+ # Files earlier toolchains generated that this target has RETIRED
12
+ # (vendor-tag rollout): the hand-written struct runner, whose engine half
13
+ # AND assertion half are now the vendored omni port driven through
14
+ # test/omniresolver.zig. `doctor` reports leftovers; `doctor prune`
15
+ # deletes them.
16
+ superseded: [
17
+ 'test/struct_runner.zig'
18
+ ]
19
+
11
20
  # The vendored voxgig struct port is in-tree (utility/voxgigstruct) — Zig
12
21
  # has no package registry to depend on, so there are no external deps.
13
22
  deps: &: {
@@ -12,7 +12,7 @@ import type {
12
12
  } from '@voxgig/apidef'
13
13
 
14
14
 
15
- import { zigModuleName } from './utility_zig'
15
+ import { zigModuleName, zigPackageFingerprint } from './utility_zig'
16
16
 
17
17
 
18
18
  // build.zig.zon — the Zig package manifest. Zig has no central package
@@ -24,16 +24,19 @@ import { zigModuleName } from './utility_zig'
24
24
  //
25
25
  // The `.paths` allow-list mirrors the (registry-less) template: it only
26
26
  // matters when packaging for a registry, which zig does not do, so it is kept
27
- // stable. `.name` is a plain string here rather than the newer enum-literal +
28
- // fingerprint form.
27
+ // stable.
29
28
  //
30
- // TOOLCHAIN PIN: the string form REQUIRES zig <= 0.13. Zig 0.14 rejects it
31
- // outright `build.zig.zon:2:13: error: expected enum literal` so the
32
- // generated SDK will not build at all on a newer toolchain. The consumer CI
33
- // job pins 0.13.0 to match (create-sdkgen
34
- // project/standard/.github/workflows/ci.yml). Moving to a newer zig means
35
- // changing BOTH: `.name = .${name}` plus a `.fingerprint` here, and the CI
36
- // pin there.
29
+ // TOOLCHAIN: zig 0.16. `.name` is an ENUM LITERAL (`.solar_sdk`), and a
30
+ // `.fingerprint` is required beside it. That pairing is what a modern zig
31
+ // wants: 0.14 rejects the older plain-string form outright
32
+ // `build.zig.zon:2:13: error: expected enum literal` — and 0.13 rejects the
33
+ // enum-literal form, so the two cannot both be supported from one generator.
34
+ // A move BACK to 0.13 would mean reverting both fields here and the CI pin in
35
+ // create-sdkgen project/standard/.github/workflows/ci.yml together.
36
+ //
37
+ // The fingerprint is derived from the package name, not random, so
38
+ // regenerating the same model does not rewrite this file — see
39
+ // zigPackageFingerprint for why, and for what zig checks.
37
40
  const Package = cmp(async function Package(props: any) {
38
41
  const ctx$ = props.ctx$
39
42
  const target = props.target
@@ -43,8 +46,9 @@ const Package = cmp(async function Package(props: any) {
43
46
 
44
47
  File({ name: 'build.zig.zon' }, () => {
45
48
  Content(`.{
46
- .name = "${name}",
49
+ .name = .${name},
47
50
  .version = "${packageVersion(model, target.name)}",
51
+ .fingerprint = ${zigPackageFingerprint(name)},
48
52
  .dependencies = .{},
49
53
  .paths = .{
50
54
  "src",
@@ -231,9 +231,9 @@ pub const EntyClass = struct {
231
231
  if (data == .array) {
232
232
  return data.array.data.items;
233
233
  } else if (!h.is_noval(data)) {
234
- var out = std.ArrayList(Value).init(h.A());
235
- out.append(data) catch {};
236
- return out.toOwnedSlice() catch &.{};
234
+ var out: std.ArrayList(Value) = .empty;
235
+ out.append(h.A(), data) catch {};
236
+ return out.toOwnedSlice(h.A()) catch &.{};
237
237
  }
238
238
  return &.{};
239
239
  }
@@ -16,18 +16,18 @@ pub fn list(self: *EntyClass, reqmatch: Value, ctrl: Value) EntListResult {
16
16
  // `list` resolves to one ENTITY per record. make_result cannot build them
17
17
  // here — it works in Value, which has no slot for an entity — so the op
18
18
  // does, mirroring what the dynamic targets get from make_result.
19
- var items = std.ArrayList(*EntyClass).init(h.A());
19
+ var items: std.ArrayList(*EntyClass) = .empty;
20
20
  if (out == .array) {
21
21
  for (out.array.data.items) |entry| {
22
22
  const ent = EntyClass.new(self.client, h.clone(self.entopts));
23
23
  if (entry == .object) {
24
24
  _ = ent.data_impl(entry);
25
25
  }
26
- items.append(ent) catch {};
26
+ items.append(h.A(), ent) catch {};
27
27
  }
28
28
  }
29
29
 
30
- return EntListResult{ .ok = items.toOwnedSlice() catch &[_]*EntyClass{} };
30
+ return EntListResult{ .ok = items.toOwnedSlice(h.A()) catch &[_]*EntyClass{} };
31
31
  }
32
32
 
33
33
  fn list_post_done(self: *EntyClass, ctx: *Context) void {
@@ -45,7 +45,7 @@ pub const ProjectNameSDK = struct {
45
45
  .mode = "live",
46
46
  .options = h.vnull(),
47
47
  .sdkUtility = Utility.new(),
48
- .features = std.ArrayList(Feature).init(h.A()),
48
+ .features = .empty,
49
49
  .rootctx = null,
50
50
  };
51
51
 
@@ -93,8 +93,8 @@ pub const ProjectNameSDK = struct {
93
93
  }
94
94
 
95
95
  // Initialize features.
96
- var snap = std.ArrayList(Feature).init(h.A());
97
- for (sdk.features.items) |f| snap.append(f) catch {};
96
+ var snap: std.ArrayList(Feature) = .empty;
97
+ for (sdk.features.items) |f| snap.append(h.A(), f) catch {};
98
98
  for (snap.items) |f| sdk.sdkUtility.feature_init(rootctx, f);
99
99
 
100
100
  sdk.sdkUtility.feature_hook(rootctx, "PostConstruct");
@@ -26,8 +26,56 @@ function zigVarName(name: string): string {
26
26
 
27
27
  // The zig module identifier, e.g. solar_sdk (informational; the build module
28
28
  // is named "sdk").
29
+ //
30
+ // It is also the `.name` of build.zig.zon, which zig 0.16 reads as an enum
31
+ // literal and requires to be a BARE identifier — `.@"2fa_sdk"` is rejected as
32
+ // firmly as `.2fa_sdk` is — so a model name starting with a digit is given a
33
+ // leading underscore. Nothing else in the target derives an identifier from
34
+ // this, and the alternative for such a model is a package that does not build.
29
35
  function zigModuleName(model: any): string {
30
- return `${model.name}_sdk`.toLowerCase().replace(/[^a-z0-9_]/g, '_')
36
+ const name = `${model.name}_sdk`.toLowerCase().replace(/[^a-z0-9_]/g, '_')
37
+ return /^[0-9]/.test(name) ? '_' + name : name
38
+ }
39
+
40
+
41
+ // The `.fingerprint` zig 0.14+ requires in build.zig.zon, as a 0x-prefixed
42
+ // 16-digit hex literal.
43
+ //
44
+ // Zig reads the field as a packed struct of two u32s: the LOW half is a free
45
+ // `id`, and the HIGH half is a `checksum` that must equal the CRC-32 (IEEE, as
46
+ // zlib computes it) of the package name. Get the checksum wrong and zig
47
+ // refuses to build, printing the value it wanted; get it right and any id in
48
+ // [1, 0xfffffffe] is accepted.
49
+ //
50
+ // The id exists so a fork can be told apart from what it forked. A generated
51
+ // SDK gets a DERIVED one — FNV-1a over the same name — rather than a random
52
+ // one, because this file is regenerated on every run: a random id would
53
+ // rewrite build.zig.zon each time and churn the consumer's diff, and a package
54
+ // that changes identity between two generations of the same model is worse
55
+ // than one that shares an id with a fork of itself. Distinct names still get
56
+ // distinct ids.
57
+ function zigPackageFingerprint(name: string): string {
58
+ // CRC-32 (IEEE 802.3, reflected, poly 0xEDB88320) — the one zig's
59
+ // std.hash.Crc32 and zlib both compute.
60
+ let crc = 0xffffffff
61
+ for (let i = 0; i < name.length; i++) {
62
+ crc ^= name.charCodeAt(i) & 0xff
63
+ for (let b = 0; b < 8; b++) {
64
+ crc = (crc >>> 1) ^ (0xedb88320 & -(crc & 1))
65
+ }
66
+ }
67
+ const checksum = (crc ^ 0xffffffff) >>> 0
68
+
69
+ // FNV-1a 32-bit, folded into the 1..0xfffffffe zig accepts.
70
+ let fnv = 0x811c9dc5
71
+ for (let i = 0; i < name.length; i++) {
72
+ fnv ^= name.charCodeAt(i) & 0xff
73
+ fnv = Math.imul(fnv, 0x01000193) >>> 0
74
+ }
75
+ const id = (fnv % 0xfffffffd) + 1
76
+
77
+ const hex = (n: number) => n.toString(16).padStart(8, '0')
78
+ return `0x${hex(checksum)}${hex(id)}`
31
79
  }
32
80
 
33
81
 
@@ -142,5 +190,6 @@ export {
142
190
  clean,
143
191
  formatZigValue,
144
192
  zigModuleName,
193
+ zigPackageFingerprint,
145
194
  zigVarName,
146
195
  }
@@ -1,5 +1,5 @@
1
- // VENDORED: @voxgig/omni sdk-20260904-1610-0 (c/src/json.c)
2
- // Source: https://github.com/voxgig/omni @ 8c3e1b573a8d35796f7fc45e3226b977023cabf7 [tag: sdk-20260904-1610-0]
1
+ // VENDORED: @voxgig/omni sdk-20260907-0029-0 (c/src/json.c)
2
+ // Source: https://github.com/voxgig/omni @ 274708cc2d12b21707d975543953f845f8444be0 [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* The omni JSON value model, pool allocator, parser and printer.
5
5
  *
@@ -1,5 +1,5 @@
1
- // VENDORED: @voxgig/omni sdk-20260904-1610-0 (c/src/omni.h)
2
- // Source: https://github.com/voxgig/omni @ 8c3e1b573a8d35796f7fc45e3226b977023cabf7 [tag: sdk-20260904-1610-0]
1
+ // VENDORED: @voxgig/omni sdk-20260907-0029-0 (c/src/omni.h)
2
+ // Source: https://github.com/voxgig/omni @ 274708cc2d12b21707d975543953f845f8444be0 [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* Omni: the shared multi-language test runner (C port).
5
5
  *
@@ -1,5 +1,5 @@
1
- // VENDORED: @voxgig/omni sdk-20260904-1610-0 (c/src/runner.c)
2
- // Source: https://github.com/voxgig/omni @ 8c3e1b573a8d35796f7fc45e3226b977023cabf7 [tag: sdk-20260904-1610-0]
1
+ // VENDORED: @voxgig/omni sdk-20260907-0029-0 (c/src/runner.c)
2
+ // Source: https://github.com/voxgig/omni @ 274708cc2d12b21707d975543953f845f8444be0 [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* Omni: the shared multi-language test runner (C port).
5
5
  *
@@ -1,5 +1,5 @@
1
- // VENDORED: @voxgig/omni sdk-20260904-1610-0 (c/src/util.c)
2
- // Source: https://github.com/voxgig/omni @ 8c3e1b573a8d35796f7fc45e3226b977023cabf7 [tag: sdk-20260904-1610-0]
1
+ // VENDORED: @voxgig/omni sdk-20260907-0029-0 (c/src/util.c)
2
+ // Source: https://github.com/voxgig/omni @ 274708cc2d12b21707d975543953f845f8444be0 [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* Omni internal JSON utilities: clone, path lookup, deep equality, and
5
5
  * the regex bridge.
@@ -1,5 +1,5 @@
1
- ;; VENDORED: @voxgig/omni sdk-20260904-1610-0 (clojure/src/voxgig/omni/json.clj)
2
- ;; Source: https://github.com/voxgig/omni @ 8c3e1b573a8d35796f7fc45e3226b977023cabf7 [tag: sdk-20260904-1610-0]
1
+ ;; VENDORED: @voxgig/omni sdk-20260907-0029-0 (clojure/src/voxgig/omni/json.clj)
2
+ ;; Source: https://github.com/voxgig/omni @ 274708cc2d12b21707d975543953f845f8444be0 [tag: sdk-20260907-0029-0]
3
3
  ;; License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  ;; The omni JSON parser.
5
5
  ;;
@@ -1,5 +1,5 @@
1
- ;; VENDORED: @voxgig/omni sdk-20260904-1610-0 (clojure/src/voxgig/omni/runner.clj)
2
- ;; Source: https://github.com/voxgig/omni @ 8c3e1b573a8d35796f7fc45e3226b977023cabf7 [tag: sdk-20260904-1610-0]
1
+ ;; VENDORED: @voxgig/omni sdk-20260907-0029-0 (clojure/src/voxgig/omni/runner.clj)
2
+ ;; Source: https://github.com/voxgig/omni @ 274708cc2d12b21707d975543953f845f8444be0 [tag: sdk-20260907-0029-0]
3
3
  ;; License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  ;; Omni: the shared multi-language test runner (Clojure port).
5
5
  ;;
@@ -1,5 +1,5 @@
1
- ;; VENDORED: @voxgig/omni sdk-20260904-1610-0 (clojure/src/voxgig/omni/util.clj)
2
- ;; Source: https://github.com/voxgig/omni @ 8c3e1b573a8d35796f7fc45e3226b977023cabf7 [tag: sdk-20260904-1610-0]
1
+ ;; VENDORED: @voxgig/omni sdk-20260907-0029-0 (clojure/src/voxgig/omni/util.clj)
2
+ ;; Source: https://github.com/voxgig/omni @ 274708cc2d12b21707d975543953f845f8444be0 [tag: sdk-20260907-0029-0]
3
3
  ;; License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  ;; Omni internal JSON utilities.
5
5
  ;;
@@ -1,5 +1,5 @@
1
- // VENDORED: @voxgig/omni sdk-20260904-1610-0 (cpp/src/json.hpp)
2
- // Source: https://github.com/voxgig/omni @ 8c3e1b573a8d35796f7fc45e3226b977023cabf7 [tag: sdk-20260904-1610-0]
1
+ // VENDORED: @voxgig/omni sdk-20260907-0029-0 (cpp/src/json.hpp)
2
+ // Source: https://github.com/voxgig/omni @ 274708cc2d12b21707d975543953f845f8444be0 [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  // The omni JSON value model, with a small in-tree parser.
5
5
  //
@@ -1,5 +1,5 @@
1
- // VENDORED: @voxgig/omni sdk-20260904-1610-0 (cpp/src/omni.hpp)
2
- // Source: https://github.com/voxgig/omni @ 8c3e1b573a8d35796f7fc45e3226b977023cabf7 [tag: sdk-20260904-1610-0]
1
+ // VENDORED: @voxgig/omni sdk-20260907-0029-0 (cpp/src/omni.hpp)
2
+ // Source: https://github.com/voxgig/omni @ 274708cc2d12b21707d975543953f845f8444be0 [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  // Omni: the shared multi-language test runner (C++ port).
5
5
  //
@@ -1,5 +1,5 @@
1
- // VENDORED: @voxgig/omni sdk-20260904-1610-0 (cpp/src/util.hpp)
2
- // Source: https://github.com/voxgig/omni @ 8c3e1b573a8d35796f7fc45e3226b977023cabf7 [tag: sdk-20260904-1610-0]
1
+ // VENDORED: @voxgig/omni sdk-20260907-0029-0 (cpp/src/util.hpp)
2
+ // Source: https://github.com/voxgig/omni @ 274708cc2d12b21707d975543953f845f8444be0 [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  // Omni internal JSON utilities.
5
5
  //
@@ -1,5 +1,5 @@
1
- // VENDORED: @voxgig/omni sdk-20260904-1610-0 (csharp/src/Runner.cs)
2
- // Source: https://github.com/voxgig/omni @ 8c3e1b573a8d35796f7fc45e3226b977023cabf7 [tag: sdk-20260904-1610-0]
1
+ // VENDORED: @voxgig/omni sdk-20260907-0029-0 (csharp/src/Runner.cs)
2
+ // Source: https://github.com/voxgig/omni @ 274708cc2d12b21707d975543953f845f8444be0 [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  // Omni: the shared multi-language test runner (C# port).
5
5
  //
@@ -1,5 +1,5 @@
1
- // VENDORED: @voxgig/omni sdk-20260904-1610-0 (csharp/src/Util.cs)
2
- // Source: https://github.com/voxgig/omni @ 8c3e1b573a8d35796f7fc45e3226b977023cabf7 [tag: sdk-20260904-1610-0]
1
+ // VENDORED: @voxgig/omni sdk-20260907-0029-0 (csharp/src/Util.cs)
2
+ // Source: https://github.com/voxgig/omni @ 274708cc2d12b21707d975543953f845f8444be0 [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  // Omni internal JSON utilities.
5
5
  //
@@ -1,5 +1,5 @@
1
1
  // VENDORED: @voxgig/struct 0.1.1 (csharp/Struct.cs)
2
- // Source: https://github.com/voxgig/struct @ 2caf7f448f265144c18dd6fab6ba270a7f3bca07 [tag: sdk-20260904-1610-0]
2
+ // Source: https://github.com/voxgig/struct @ adda9521c828147573df5a8878408a3f2193ddf4 [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* Copyright (c) 2025-2026 Voxgig Ltd. MIT LICENSE. */
5
5
 
@@ -1,5 +1,5 @@
1
- // VENDORED: @voxgig/omni sdk-20260904-1610-0 (dart/lib/omni.dart)
2
- // Source: https://github.com/voxgig/omni @ 8c3e1b573a8d35796f7fc45e3226b977023cabf7 [tag: sdk-20260904-1610-0]
1
+ // VENDORED: @voxgig/omni sdk-20260907-0029-0 (dart/lib/omni.dart)
2
+ // Source: https://github.com/voxgig/omni @ 274708cc2d12b21707d975543953f845f8444be0 [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  // voxgig_omni - shared multi-language test runner.
5
5
 
@@ -1,5 +1,5 @@
1
- // VENDORED: @voxgig/omni sdk-20260904-1610-0 (dart/lib/runner.dart)
2
- // Source: https://github.com/voxgig/omni @ 8c3e1b573a8d35796f7fc45e3226b977023cabf7 [tag: sdk-20260904-1610-0]
1
+ // VENDORED: @voxgig/omni sdk-20260907-0029-0 (dart/lib/runner.dart)
2
+ // Source: https://github.com/voxgig/omni @ 274708cc2d12b21707d975543953f845f8444be0 [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  // Omni: the shared multi-language test runner (Dart port).
5
5
  //
@@ -1,5 +1,5 @@
1
- // VENDORED: @voxgig/omni sdk-20260904-1610-0 (dart/lib/util.dart)
2
- // Source: https://github.com/voxgig/omni @ 8c3e1b573a8d35796f7fc45e3226b977023cabf7 [tag: sdk-20260904-1610-0]
1
+ // VENDORED: @voxgig/omni sdk-20260907-0029-0 (dart/lib/util.dart)
2
+ // Source: https://github.com/voxgig/omni @ 274708cc2d12b21707d975543953f845f8444be0 [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  // Omni internal JSON utilities.
5
5
  //
@@ -1,5 +1,5 @@
1
- # VENDORED: @voxgig/omni sdk-20260904-1610-0 (elixir/lib/json.ex)
2
- # Source: https://github.com/voxgig/omni @ 8c3e1b573a8d35796f7fc45e3226b977023cabf7 [tag: sdk-20260904-1610-0]
1
+ # VENDORED: @voxgig/omni sdk-20260907-0029-0 (elixir/lib/json.ex)
2
+ # Source: https://github.com/voxgig/omni @ 274708cc2d12b21707d975543953f845f8444be0 [tag: sdk-20260907-0029-0]
3
3
  # License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  # The omni JSON parser.
5
5
  #
@@ -1,5 +1,5 @@
1
- # VENDORED: @voxgig/omni sdk-20260904-1610-0 (elixir/lib/runner.ex)
2
- # Source: https://github.com/voxgig/omni @ 8c3e1b573a8d35796f7fc45e3226b977023cabf7 [tag: sdk-20260904-1610-0]
1
+ # VENDORED: @voxgig/omni sdk-20260907-0029-0 (elixir/lib/runner.ex)
2
+ # Source: https://github.com/voxgig/omni @ 274708cc2d12b21707d975543953f845f8444be0 [tag: sdk-20260907-0029-0]
3
3
  # License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  # Omni: the shared multi-language test runner (Elixir port).
5
5
  #
@@ -1,5 +1,5 @@
1
- # VENDORED: @voxgig/omni sdk-20260904-1610-0 (elixir/lib/util.ex)
2
- # Source: https://github.com/voxgig/omni @ 8c3e1b573a8d35796f7fc45e3226b977023cabf7 [tag: sdk-20260904-1610-0]
1
+ # VENDORED: @voxgig/omni sdk-20260907-0029-0 (elixir/lib/util.ex)
2
+ # Source: https://github.com/voxgig/omni @ 274708cc2d12b21707d975543953f845f8444be0 [tag: sdk-20260907-0029-0]
3
3
  # License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  # Omni internal JSON utilities.
5
5
  #
@@ -1,5 +1,5 @@
1
1
  // VENDORED: @voxgig/plugin 0.1.6 (go/plugin/capability.go)
2
- // Source: https://github.com/voxgig/plugin @ 8d8968afc0a2008fbd795b41ab166307d989f02a [tag: sdk-20260904-1610-0]
2
+ // Source: https://github.com/voxgig/plugin @ b48ae643eb0eb56c5ebe3198da98cecdf6a7f7fc [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* Capabilities (§11.1).
5
5
  *
@@ -1,5 +1,5 @@
1
1
  // VENDORED: @voxgig/plugin 0.1.6 (go/plugin/catalog.go)
2
- // Source: https://github.com/voxgig/plugin @ 8d8968afc0a2008fbd795b41ab166307d989f02a [tag: sdk-20260904-1610-0]
2
+ // Source: https://github.com/voxgig/plugin @ b48ae643eb0eb56c5ebe3198da98cecdf6a7f7fc [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* The definition catalog (§10.1).
5
5
  *
@@ -1,5 +1,5 @@
1
1
  // VENDORED: @voxgig/plugin 0.1.6 (go/plugin/config.go)
2
- // Source: https://github.com/voxgig/plugin @ 8d8968afc0a2008fbd795b41ab166307d989f02a [tag: sdk-20260904-1610-0]
2
+ // Source: https://github.com/voxgig/plugin @ b48ae643eb0eb56c5ebe3198da98cecdf6a7f7fc [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* The declarative document (§9): normalization, and the ten-level
5
5
  * precedence ladder.
@@ -1,5 +1,5 @@
1
1
  // VENDORED: @voxgig/plugin 0.1.6 (go/plugin/depend.go)
2
- // Source: https://github.com/voxgig/plugin @ 8d8968afc0a2008fbd795b41ab166307d989f02a [tag: sdk-20260904-1610-0]
2
+ // Source: https://github.com/voxgig/plugin @ b48ae643eb0eb56c5ebe3198da98cecdf6a7f7fc [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* Dependency cardinality, policy, and the restart graph (§11.3).
5
5
  *
@@ -1,5 +1,5 @@
1
1
  // VENDORED: @voxgig/plugin 0.1.6 (go/plugin/env.go)
2
- // Source: https://github.com/voxgig/plugin @ 8d8968afc0a2008fbd795b41ab166307d989f02a [tag: sdk-20260904-1610-0]
2
+ // Source: https://github.com/voxgig/plugin @ b48ae643eb0eb56c5ebe3198da98cecdf6a7f7fc [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* Environment overrides (§9.5) — level 7 of the ladder.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  // VENDORED: @voxgig/plugin 0.1.6 (go/plugin/export.go)
2
- // Source: https://github.com/voxgig/plugin @ 8d8968afc0a2008fbd795b41ab166307d989f02a [tag: sdk-20260904-1610-0]
2
+ // Source: https://github.com/voxgig/plugin @ b48ae643eb0eb56c5ebe3198da98cecdf6a7f7fc [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* Exports (§11).
5
5
  *
@@ -1,5 +1,5 @@
1
1
  // VENDORED: @voxgig/plugin 0.1.6 (go/plugin/graph.go)
2
- // Source: https://github.com/voxgig/plugin @ 8d8968afc0a2008fbd795b41ab166307d989f02a [tag: sdk-20260904-1610-0]
2
+ // Source: https://github.com/voxgig/plugin @ b48ae643eb0eb56c5ebe3198da98cecdf6a7f7fc [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* Whole-graph resolution (§11.4) — a phase, not a discovery.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  // VENDORED: @voxgig/plugin 0.1.6 (go/plugin/host.go)
2
- // Source: https://github.com/voxgig/plugin @ 8d8968afc0a2008fbd795b41ab166307d989f02a [tag: sdk-20260904-1610-0]
2
+ // Source: https://github.com/voxgig/plugin @ b48ae643eb0eb56c5ebe3198da98cecdf6a7f7fc [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* The host: the lifecycle state machine (§5), extension points (§6), and
5
5
  * resource capture (§8).
@@ -1,5 +1,5 @@
1
1
  // VENDORED: @voxgig/plugin 0.1.6 (go/plugin/order.go)
2
- // Source: https://github.com/voxgig/plugin @ 8d8968afc0a2008fbd795b41ab166307d989f02a [tag: sdk-20260904-1610-0]
2
+ // Source: https://github.com/voxgig/plugin @ b48ae643eb0eb56c5ebe3198da98cecdf6a7f7fc [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* Ordering (§7) — one rule, one place.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  // VENDORED: @voxgig/plugin 0.1.6 (go/plugin/point.go)
2
- // Source: https://github.com/voxgig/plugin @ 8d8968afc0a2008fbd795b41ab166307d989f02a [tag: sdk-20260904-1610-0]
2
+ // Source: https://github.com/voxgig/plugin @ b48ae643eb0eb56c5ebe3198da98cecdf6a7f7fc [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* Extension points (§6). Three kinds, chosen because they are what the
5
5
  * two existing systems actually needed, and no more.
@@ -1,5 +1,5 @@
1
1
  // VENDORED: @voxgig/plugin 0.1.6 (go/plugin/ref.go)
2
- // Source: https://github.com/voxgig/plugin @ 8d8968afc0a2008fbd795b41ab166307d989f02a [tag: sdk-20260904-1610-0]
2
+ // Source: https://github.com/voxgig/plugin @ b48ae643eb0eb56c5ebe3198da98cecdf6a7f7fc [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* Identity: name+tag, written `name$tag` (§4).
5
5
  *
@@ -1,5 +1,5 @@
1
1
  // VENDORED: @voxgig/plugin 0.1.6 (go/plugin/resolve.go)
2
- // Source: https://github.com/voxgig/plugin @ 8d8968afc0a2008fbd795b41ab166307d989f02a [tag: sdk-20260904-1610-0]
2
+ // Source: https://github.com/voxgig/plugin @ b48ae643eb0eb56c5ebe3198da98cecdf6a7f7fc [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* Dynamic resolution (§10.2) — name to candidate module ids.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  // VENDORED: @voxgig/plugin 0.1.6 (go/plugin/types.go)
2
- // Source: https://github.com/voxgig/plugin @ 8d8968afc0a2008fbd795b41ab166307d989f02a [tag: sdk-20260904-1610-0]
2
+ // Source: https://github.com/voxgig/plugin @ b48ae643eb0eb56c5ebe3198da98cecdf6a7f7fc [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* Shared types. Deliberately small: the design's §19 budget says the
5
5
  * library owns naming, configuration, lifecycle, ordering, binding and
@@ -1,5 +1,5 @@
1
1
  // VENDORED: @voxgig/plugin 0.1.6 (go/plugin/util.go)
2
- // Source: https://github.com/voxgig/plugin @ 8d8968afc0a2008fbd795b41ab166307d989f02a [tag: sdk-20260904-1610-0]
2
+ // Source: https://github.com/voxgig/plugin @ b48ae643eb0eb56c5ebe3198da98cecdf6a7f7fc [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* The handful of helpers the port needs that the canonical gets from
5
5
  * JavaScript for free: sorted map keys (Object.keys(x).sort()), a
@@ -1,5 +1,5 @@
1
1
  // VENDORED: @voxgig/plugin 0.1.6 (go/plugin/version.go)
2
- // Source: https://github.com/voxgig/plugin @ 8d8968afc0a2008fbd795b41ab166307d989f02a [tag: sdk-20260904-1610-0]
2
+ // Source: https://github.com/voxgig/plugin @ b48ae643eb0eb56c5ebe3198da98cecdf6a7f7fc [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* Versions and ranges (§11.2).
5
5
  *
@@ -1,5 +1,5 @@
1
- // VENDORED: @voxgig/sekreto sdk-20260904-1610-0 (go/plugins/aws/aws.go)
2
- // Source: https://github.com/voxgig/sekreto @ a5a00db6e6d3a1ddbdef7ac62e8a75be53a9e042 [tag: sdk-20260904-1610-0]
1
+ // VENDORED: @voxgig/sekreto sdk-20260907-0029-0 (go/plugins/aws/aws.go)
2
+ // Source: https://github.com/voxgig/sekreto @ 86ba35a646e68a311bdece43cd5689369ca62e9d [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  // The aws plugin: Secrets Manager and SSM Parameter Store, with requests
5
5
  // SigV4-signed in-tree (sigv4.go, beside this file). Needs HTTPS and
@@ -155,7 +155,7 @@ func (provider *SecretsProvider) Lookup(name string) (string, bool, error) {
155
155
  return "", false, err
156
156
  }
157
157
 
158
- payload, _ := json.Marshal(struct {
158
+ payload, _ := sekreto.WriteJSON(struct {
159
159
  SecretID string `json:"SecretId"`
160
160
  }{SecretID: ref.Path})
161
161
 
@@ -236,7 +236,7 @@ func (provider *ParamsProvider) Lookup(name string) (string, bool, error) {
236
236
  return "", false, err
237
237
  }
238
238
 
239
- payload, _ := json.Marshal(struct {
239
+ payload, _ := sekreto.WriteJSON(struct {
240
240
  Name string `json:"Name"`
241
241
  WithDecryption bool `json:"WithDecryption"`
242
242
  }{Name: param, WithDecryption: true})
@@ -1,5 +1,5 @@
1
- // VENDORED: @voxgig/sekreto sdk-20260904-1610-0 (go/plugins/aws/sigv4.go)
2
- // Source: https://github.com/voxgig/sekreto @ a5a00db6e6d3a1ddbdef7ac62e8a75be53a9e042 [tag: sdk-20260904-1610-0]
1
+ // VENDORED: @voxgig/sekreto sdk-20260907-0029-0 (go/plugins/aws/sigv4.go)
2
+ // Source: https://github.com/voxgig/sekreto @ 86ba35a646e68a311bdece43cd5689369ca62e9d [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  // AWS Signature Version 4, hand-rolled.
5
5
  //
@@ -1,5 +1,5 @@
1
- // VENDORED: @voxgig/sekreto sdk-20260904-1610-0 (go/plugins/azuresecrets/azuresecrets.go)
2
- // Source: https://github.com/voxgig/sekreto @ a5a00db6e6d3a1ddbdef7ac62e8a75be53a9e042 [tag: sdk-20260904-1610-0]
1
+ // VENDORED: @voxgig/sekreto sdk-20260907-0029-0 (go/plugins/azuresecrets/azuresecrets.go)
2
+ // Source: https://github.com/voxgig/sekreto @ 86ba35a646e68a311bdece43cd5689369ca62e9d [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  // The azuresecrets plugin: Azure Key Vault. Needs HTTPS. A port of
5
5
  // typescript/plugins/azuresecrets.ts.
@@ -1,5 +1,5 @@
1
- // VENDORED: @voxgig/sekreto sdk-20260904-1610-0 (go/plugins/boru/boru.go)
2
- // Source: https://github.com/voxgig/sekreto @ a5a00db6e6d3a1ddbdef7ac62e8a75be53a9e042 [tag: sdk-20260904-1610-0]
1
+ // VENDORED: @voxgig/sekreto sdk-20260907-0029-0 (go/plugins/boru/boru.go)
2
+ // Source: https://github.com/voxgig/sekreto @ 86ba35a646e68a311bdece43cd5689369ca62e9d [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  // The boru plugin: a boru vault through its CLI, or over `boru vault
5
5
  // serve`. Needs a child process, or HTTPS in wire mode. A port of
@@ -1,5 +1,5 @@
1
- // VENDORED: @voxgig/sekreto sdk-20260904-1610-0 (go/plugins/doppler/doppler.go)
2
- // Source: https://github.com/voxgig/sekreto @ a5a00db6e6d3a1ddbdef7ac62e8a75be53a9e042 [tag: sdk-20260904-1610-0]
1
+ // VENDORED: @voxgig/sekreto sdk-20260907-0029-0 (go/plugins/doppler/doppler.go)
2
+ // Source: https://github.com/voxgig/sekreto @ 86ba35a646e68a311bdece43cd5689369ca62e9d [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  // The doppler plugin: Doppler, one bulk download per config. Needs
5
5
  // HTTPS. A port of typescript/plugins/doppler.ts.
@@ -1,5 +1,5 @@
1
- // VENDORED: @voxgig/sekreto sdk-20260904-1610-0 (go/plugins/gcpsecrets/gcpsecrets.go)
2
- // Source: https://github.com/voxgig/sekreto @ a5a00db6e6d3a1ddbdef7ac62e8a75be53a9e042 [tag: sdk-20260904-1610-0]
1
+ // VENDORED: @voxgig/sekreto sdk-20260907-0029-0 (go/plugins/gcpsecrets/gcpsecrets.go)
2
+ // Source: https://github.com/voxgig/sekreto @ 86ba35a646e68a311bdece43cd5689369ca62e9d [tag: sdk-20260907-0029-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  // The gcpsecrets plugin: GCP Secret Manager. Needs HTTPS. A port of
5
5
  // typescript/plugins/gcpsecrets.ts.