@voxgig/sdkgen 4.45.0 → 4.47.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 (276) hide show
  1. package/bin/voxgig-sdkgen +1 -1
  2. package/dist/action/check.js +73 -4
  3. package/dist/action/check.js.map +1 -1
  4. package/dist/action/copies.js +1 -0
  5. package/dist/action/copies.js.map +1 -1
  6. package/dist/action/doctor.d.ts +26 -2
  7. package/dist/action/doctor.js +208 -11
  8. package/dist/action/doctor.js.map +1 -1
  9. package/dist/action/package.d.ts +1 -1
  10. package/dist/action/package.js +15 -16
  11. package/dist/action/package.js.map +1 -1
  12. package/dist/action/remove.js +16 -4
  13. package/dist/action/remove.js.map +1 -1
  14. package/dist/action/resolve.d.ts +1 -0
  15. package/dist/action/resolve.js +10 -4
  16. package/dist/action/resolve.js.map +1 -1
  17. package/dist/action/target.d.ts +2 -1
  18. package/dist/action/target.js +50 -11
  19. package/dist/action/target.js.map +1 -1
  20. package/dist/admin/status.d.ts +7 -1
  21. package/dist/admin/status.js +34 -5
  22. package/dist/admin/status.js.map +1 -1
  23. package/dist/cmp/AgentGuide.js +46 -23
  24. package/dist/cmp/AgentGuide.js.map +1 -1
  25. package/dist/cmp/AgentGuideContent.d.ts +9 -7
  26. package/dist/cmp/AgentGuideContent.js +73 -43
  27. package/dist/cmp/AgentGuideContent.js.map +1 -1
  28. package/dist/cmp/AgentGuideFeature.js +19 -9
  29. package/dist/cmp/AgentGuideFeature.js.map +1 -1
  30. package/dist/cmp/AgentGuideTop.js +95 -49
  31. package/dist/cmp/AgentGuideTop.js.map +1 -1
  32. package/dist/cmp/Changelog.js +45 -4
  33. package/dist/cmp/Changelog.js.map +1 -1
  34. package/dist/cmp/Deploy.js +73 -35
  35. package/dist/cmp/Deploy.js.map +1 -1
  36. package/dist/cmp/Entity.js +1 -1
  37. package/dist/cmp/Entity.js.map +1 -1
  38. package/dist/cmp/ExternalTarget.js +10 -5
  39. package/dist/cmp/ExternalTarget.js.map +1 -1
  40. package/dist/cmp/Feature.js +12 -5
  41. package/dist/cmp/Feature.js.map +1 -1
  42. package/dist/cmp/FeatureDocs.d.ts +6 -4
  43. package/dist/cmp/FeatureDocs.js +14 -39
  44. package/dist/cmp/FeatureDocs.js.map +1 -1
  45. package/dist/cmp/FeatureHook.d.ts +7 -1
  46. package/dist/cmp/FeatureHook.js +34 -1
  47. package/dist/cmp/FeatureHook.js.map +1 -1
  48. package/dist/cmp/Main.js +1 -1
  49. package/dist/cmp/Main.js.map +1 -1
  50. package/dist/cmp/PublishWorkflow.js +89 -55
  51. package/dist/cmp/PublishWorkflow.js.map +1 -1
  52. package/dist/cmp/ReadmeErrors.js +521 -18
  53. package/dist/cmp/ReadmeErrors.js.map +1 -1
  54. package/dist/cmp/ReadmeExplanation.js +280 -44
  55. package/dist/cmp/ReadmeExplanation.js.map +1 -1
  56. package/dist/cmp/ReadmeFeatures.js +16 -7
  57. package/dist/cmp/ReadmeFeatures.js.map +1 -1
  58. package/dist/cmp/ReadmeIntro.js +4 -3
  59. package/dist/cmp/ReadmeIntro.js.map +1 -1
  60. package/dist/cmp/ReadmeModel.js +2 -2
  61. package/dist/cmp/ReadmeModel.js.map +1 -1
  62. package/dist/cmp/ReadmeRefFeatures.js +34 -24
  63. package/dist/cmp/ReadmeRefFeatures.js.map +1 -1
  64. package/dist/cmp/ReadmeStation.js +12 -9
  65. package/dist/cmp/ReadmeStation.js.map +1 -1
  66. package/dist/cmp/ReadmeTop.js +479 -382
  67. package/dist/cmp/ReadmeTop.js.map +1 -1
  68. package/dist/cmp/ReadmeUnions.js +8 -2
  69. package/dist/cmp/ReadmeUnions.js.map +1 -1
  70. package/dist/cmp/Registered.js +1 -1
  71. package/dist/cmp/Registered.js.map +1 -1
  72. package/dist/cmp/Security.js +26 -5
  73. package/dist/cmp/Security.js.map +1 -1
  74. package/dist/cmp/Test.js +1 -1
  75. package/dist/cmp/Test.js.map +1 -1
  76. package/dist/helpers/alongside.d.ts +2 -3
  77. package/dist/helpers/alongside.js +16 -15
  78. package/dist/helpers/alongside.js.map +1 -1
  79. package/dist/helpers/applicability.d.ts +3 -1
  80. package/dist/helpers/applicability.js +40 -1
  81. package/dist/helpers/applicability.js.map +1 -1
  82. package/dist/helpers/component.js +9 -1
  83. package/dist/helpers/component.js.map +1 -1
  84. package/dist/helpers/copymerge.d.ts +3 -0
  85. package/dist/helpers/copymerge.js +43 -10
  86. package/dist/helpers/copymerge.js.map +1 -1
  87. package/dist/helpers/definitionPlan.js +0 -1
  88. package/dist/helpers/definitionPlan.js.map +1 -1
  89. package/dist/helpers/doccheck.d.ts +11 -0
  90. package/dist/helpers/doccheck.js +146 -0
  91. package/dist/helpers/doccheck.js.map +1 -0
  92. package/dist/helpers/doctext.d.ts +11 -0
  93. package/dist/helpers/doctext.js +85 -0
  94. package/dist/helpers/doctext.js.map +1 -0
  95. package/dist/helpers/exampleCall.d.ts +16 -0
  96. package/dist/helpers/exampleCall.js +334 -0
  97. package/dist/helpers/exampleCall.js.map +1 -0
  98. package/dist/helpers/exportnames.d.ts +4 -0
  99. package/dist/helpers/exportnames.js +35 -0
  100. package/dist/helpers/exportnames.js.map +1 -0
  101. package/dist/helpers/facts.d.ts +2 -1
  102. package/dist/helpers/facts.js +210 -5
  103. package/dist/helpers/facts.js.map +1 -1
  104. package/dist/helpers/flowGuard.d.ts +1 -1
  105. package/dist/helpers/flowGuard.js +20 -7
  106. package/dist/helpers/flowGuard.js.map +1 -1
  107. package/dist/helpers/generated.d.ts +1 -0
  108. package/dist/helpers/generated.js +1 -1
  109. package/dist/helpers/generated.js.map +1 -1
  110. package/dist/helpers/graphqlPoint.d.ts +2 -1
  111. package/dist/helpers/graphqlPoint.js +17 -0
  112. package/dist/helpers/graphqlPoint.js.map +1 -1
  113. package/dist/helpers/guardModel.d.ts +2 -0
  114. package/dist/helpers/guardModel.js +41 -0
  115. package/dist/helpers/guardModel.js.map +1 -0
  116. package/dist/helpers/manifest.d.ts +2 -1
  117. package/dist/helpers/manifest.js +16 -0
  118. package/dist/helpers/manifest.js.map +1 -1
  119. package/dist/helpers/mcpTools.d.ts +2 -1
  120. package/dist/helpers/mcpTools.js +8 -1
  121. package/dist/helpers/mcpTools.js.map +1 -1
  122. package/dist/helpers/modelcheck.d.ts +2 -1
  123. package/dist/helpers/modelcheck.js +13 -0
  124. package/dist/helpers/modelcheck.js.map +1 -1
  125. package/dist/helpers/opExample.d.ts +9 -2
  126. package/dist/helpers/opExample.js +22 -2
  127. package/dist/helpers/opExample.js.map +1 -1
  128. package/dist/helpers/opShape.d.ts +2 -1
  129. package/dist/helpers/opShape.js +29 -17
  130. package/dist/helpers/opShape.js.map +1 -1
  131. package/dist/helpers/packageMeta.d.ts +6 -4
  132. package/dist/helpers/packageMeta.js +88 -53
  133. package/dist/helpers/packageMeta.js.map +1 -1
  134. package/dist/helpers/placement.d.ts +15 -0
  135. package/dist/helpers/placement.js +76 -0
  136. package/dist/helpers/placement.js.map +1 -0
  137. package/dist/helpers/semver.d.ts +3 -1
  138. package/dist/helpers/semver.js +28 -0
  139. package/dist/helpers/semver.js.map +1 -1
  140. package/dist/helpers/serverVars.js +3 -2
  141. package/dist/helpers/serverVars.js.map +1 -1
  142. package/dist/helpers/shipped.d.ts +2 -1
  143. package/dist/helpers/shipped.js +12 -0
  144. package/dist/helpers/shipped.js.map +1 -1
  145. package/dist/helpers/sourcestring.d.ts +3 -0
  146. package/dist/helpers/sourcestring.js +43 -0
  147. package/dist/helpers/sourcestring.js.map +1 -0
  148. package/dist/helpers/stdrep.d.ts +1 -1
  149. package/dist/helpers/stdrep.js +5 -1
  150. package/dist/helpers/stdrep.js.map +1 -1
  151. package/dist/helpers/surface.d.ts +7 -0
  152. package/dist/helpers/surface.js +69 -0
  153. package/dist/helpers/surface.js.map +1 -0
  154. package/dist/helpers/targetguard.d.ts +13 -0
  155. package/dist/helpers/targetguard.js +65 -0
  156. package/dist/helpers/targetguard.js.map +1 -0
  157. package/dist/helpers/text.d.ts +3 -1
  158. package/dist/helpers/text.js +16 -0
  159. package/dist/helpers/text.js.map +1 -1
  160. package/dist/helpers/textguard.d.ts +31 -0
  161. package/dist/helpers/textguard.js +157 -0
  162. package/dist/helpers/textguard.js.map +1 -0
  163. package/dist/helpers/title.d.ts +4 -0
  164. package/dist/helpers/title.js +52 -0
  165. package/dist/helpers/title.js.map +1 -0
  166. package/dist/sdkgen.d.ts +4 -6
  167. package/dist/sdkgen.js +72 -63
  168. package/dist/sdkgen.js.map +1 -1
  169. package/dist/testkit.d.ts +7 -2
  170. package/dist/testkit.js +27 -20
  171. package/dist/testkit.js.map +1 -1
  172. package/dist/tsconfig.tsbuildinfo +1 -1
  173. package/dist/utility.js +2 -1
  174. package/dist/utility.js.map +1 -1
  175. package/model/fact.aontu +150 -0
  176. package/model/sdkgen.aontu +15 -3
  177. package/package.json +3 -1
  178. package/project/.sdk/src/cmp/c/ReadmeQuick_c.ts +2 -2
  179. package/project/.sdk/src/cmp/c/ReadmeTopQuick_c.ts +1 -1
  180. package/project/.sdk/src/cmp/clojure/ReadmeEntity_clojure.ts +12 -3
  181. package/project/.sdk/src/cmp/clojure/ReadmeQuick_clojure.ts +1 -1
  182. package/project/.sdk/src/cmp/cpp/ReadmeQuick_cpp.ts +1 -1
  183. package/project/.sdk/src/cmp/csharp/ReadmeQuick_csharp.ts +1 -1
  184. package/project/.sdk/src/cmp/elixir/ReadmeQuick_elixir.ts +1 -1
  185. package/project/.sdk/src/cmp/go/ReadmeQuick_go.ts +1 -1
  186. package/project/.sdk/src/cmp/java/ReadmeQuick_java.ts +1 -1
  187. package/project/.sdk/src/cmp/js/ReadmeQuick_js.ts +1 -1
  188. package/project/.sdk/src/cmp/kotlin/ReadmeQuick_kotlin.ts +1 -1
  189. package/project/.sdk/src/cmp/lua/ReadmeQuick_lua.ts +1 -1
  190. package/project/.sdk/src/cmp/ocaml/ReadmeQuick_ocaml.ts +1 -1
  191. package/project/.sdk/src/cmp/perl/ReadmeQuick_perl.ts +1 -1
  192. package/project/.sdk/src/cmp/php/ReadmeQuick_php.ts +1 -1
  193. package/project/.sdk/src/cmp/py/ReadmeQuick_py.ts +1 -1
  194. package/project/.sdk/src/cmp/rb/ReadmeQuick_rb.ts +1 -1
  195. package/project/.sdk/src/cmp/rust/ReadmeQuick_rust.ts +1 -1
  196. package/project/.sdk/src/cmp/scala/ReadmeQuick_scala.ts +1 -1
  197. package/project/.sdk/src/cmp/scala/ReadmeRef_scala.ts +4 -1
  198. package/project/.sdk/src/cmp/swift/ReadmeQuick_swift.ts +2 -1
  199. package/project/.sdk/src/cmp/swift/ReadmeRef_swift.ts +3 -0
  200. package/project/.sdk/src/cmp/swift/ReadmeTopQuick_swift.ts +2 -1
  201. package/project/.sdk/src/cmp/ts/ReadmeQuick_ts.ts +1 -1
  202. package/project/.sdk/src/cmp/ts/TestDefinition_ts.ts +3 -1
  203. package/project/.sdk/src/cmp/zig/ReadmeOptions_zig.ts +1 -1
  204. package/project/.sdk/src/cmp/zig/ReadmeQuick_zig.ts +3 -3
  205. package/project/.sdk/src/cmp/zig/ReadmeTopQuick_zig.ts +2 -2
  206. package/project/.sdk/tm/ocaml/test/feature/secrets/t_secrets.ml +3 -1
  207. package/project/.sdk/tm/php/test/feature/secrets/SecretsTest.php +2 -1
  208. package/project/.sdk/tm/zig/test/feature/secrets/secrets_test.zig +11 -2
  209. package/project/sdkgen-package.json +1 -1
  210. package/src/action/check.ts +99 -4
  211. package/src/action/copies.ts +2 -0
  212. package/src/action/doctor.ts +304 -15
  213. package/src/action/package.ts +11 -13
  214. package/src/action/remove.ts +20 -5
  215. package/src/action/resolve.ts +11 -4
  216. package/src/action/target.ts +66 -15
  217. package/src/admin/status.ts +25 -5
  218. package/src/cmp/AgentGuide.ts +52 -25
  219. package/src/cmp/AgentGuideContent.ts +75 -43
  220. package/src/cmp/AgentGuideFeature.ts +21 -10
  221. package/src/cmp/AgentGuideTop.ts +119 -49
  222. package/src/cmp/Changelog.ts +56 -5
  223. package/src/cmp/Deploy.ts +81 -40
  224. package/src/cmp/Entity.ts +1 -1
  225. package/src/cmp/ExternalTarget.ts +12 -6
  226. package/src/cmp/Feature.ts +13 -6
  227. package/src/cmp/FeatureDocs.ts +21 -40
  228. package/src/cmp/FeatureHook.ts +38 -1
  229. package/src/cmp/Main.ts +1 -1
  230. package/src/cmp/PublishWorkflow.ts +94 -60
  231. package/src/cmp/ReadmeErrors.ts +555 -25
  232. package/src/cmp/ReadmeExplanation.ts +316 -52
  233. package/src/cmp/ReadmeFeatures.ts +18 -8
  234. package/src/cmp/ReadmeIntro.ts +4 -3
  235. package/src/cmp/ReadmeModel.ts +2 -2
  236. package/src/cmp/ReadmeRefFeatures.ts +39 -27
  237. package/src/cmp/ReadmeStation.ts +13 -16
  238. package/src/cmp/ReadmeTop.ts +538 -397
  239. package/src/cmp/ReadmeUnions.ts +10 -2
  240. package/src/cmp/Registered.ts +1 -1
  241. package/src/cmp/Security.ts +35 -7
  242. package/src/cmp/Test.ts +1 -1
  243. package/src/helpers/alongside.ts +16 -19
  244. package/src/helpers/applicability.ts +44 -1
  245. package/src/helpers/component.ts +11 -1
  246. package/src/helpers/copymerge.ts +58 -10
  247. package/src/helpers/definitionPlan.ts +0 -1
  248. package/src/helpers/doccheck.ts +174 -0
  249. package/src/helpers/doctext.ts +115 -0
  250. package/src/helpers/exampleCall.ts +415 -0
  251. package/src/helpers/exportnames.ts +47 -0
  252. package/src/helpers/facts.ts +259 -5
  253. package/src/helpers/flowGuard.ts +22 -7
  254. package/src/helpers/generated.ts +3 -1
  255. package/src/helpers/graphqlPoint.ts +20 -1
  256. package/src/helpers/guardModel.ts +50 -0
  257. package/src/helpers/manifest.ts +19 -0
  258. package/src/helpers/mcpTools.ts +11 -1
  259. package/src/helpers/modelcheck.ts +16 -0
  260. package/src/helpers/opExample.ts +34 -2
  261. package/src/helpers/opShape.ts +29 -16
  262. package/src/helpers/packageMeta.ts +89 -52
  263. package/src/helpers/placement.ts +114 -0
  264. package/src/helpers/semver.ts +35 -0
  265. package/src/helpers/serverVars.ts +4 -2
  266. package/src/helpers/shipped.ts +13 -0
  267. package/src/helpers/sourcestring.ts +47 -0
  268. package/src/helpers/stdrep.ts +6 -1
  269. package/src/helpers/surface.ts +82 -0
  270. package/src/helpers/targetguard.ts +91 -0
  271. package/src/helpers/text.ts +22 -0
  272. package/src/helpers/textguard.ts +208 -0
  273. package/src/helpers/title.ts +59 -0
  274. package/src/sdkgen.ts +82 -78
  275. package/src/testkit.ts +42 -20
  276. package/src/utility.ts +2 -1
@@ -4,6 +4,7 @@ exports.ReadmeRefFeatures = void 0;
4
4
  const jostraca_1 = require("jostraca");
5
5
  const component_1 = require("../helpers/component");
6
6
  const FeatureDocs_1 = require("./FeatureDocs");
7
+ const packageMeta_1 = require("../helpers/packageMeta");
7
8
  const ReadmeRefFeatures = (0, component_1.cmp)(function ReadmeRefFeatures(props) {
8
9
  const { target, ctx$ } = props;
9
10
  const { model } = ctx$;
@@ -11,28 +12,34 @@ const ReadmeRefFeatures = (0, component_1.cmp)(function ReadmeRefFeatures(props)
11
12
  if (0 === features.length) {
12
13
  return;
13
14
  }
15
+ const on = features.filter((f) => f.on).map((f) => f.name);
16
+ const ordered = (0, FeatureDocs_1.honoursActivationOrder)({ name: (0, packageMeta_1.originName)(model, target.name) });
17
+ const wrapping = features.filter((f) => f.wraps);
18
+ const hooked = features.filter((f) => 'none' === f.transport);
19
+ // Order decides nothing until one wrapping feature sits inside another.
20
+ const nests = 1 < wrapping.length;
14
21
  // Emitted INSIDE the per-language `## Features` section, after its summary
15
22
  // table and activation snippet, so these are subsections of it rather than
16
23
  // a competing heading.
17
24
  (0, jostraca_1.Content)(`
18
25
  ### Configuring features
19
26
 
20
- Each feature is inactive until switched on, and an SDK with no feature
21
- configured does no feature work at all. Every option below keeps its default
22
- unless you name it.
23
-
24
- ${(0, FeatureDocs_1.honoursActivationOrder)(target) ?
25
- 'The array form of \\`feature\\` is significant: several features wrap the\ntransport, and the order you list them in is the order they nest.' :
26
- 'This SDK takes \\`feature\\` as a map and composes the transport-wrapping\nfeatures in a fixed catalog order, so activation order does not change\nnesting here.'}
27
+ ${0 === on.length ? `Each feature is inactive until switched on, and an SDK with no feature
28
+ configured does no feature work at all.` : `${(0, FeatureDocs_1.codeList)(on)} ${1 === on.length ? 'is' : 'are'} active by default${on.length < features.length ? '; every other feature is inactive until switched on' : ''}.`}
29
+ Every option below keeps its default unless you name it.
27
30
 
28
- `);
29
- const wrapping = features.filter((f) => f.wraps);
30
- const hooked = features.filter((f) => !f.wraps);
31
- if (0 < wrapping.length) {
31
+ ${!nests ? '' : (ordered ?
32
+ 'The array form of `feature` is significant: several features wrap the\ntransport, and the order you list them in is the order they nest.' :
33
+ 'This SDK takes `feature` as a map and composes the transport-wrapping\nfeatures in a fixed catalog order, so activation order does not change\nnesting here.') + '\n\n'}`);
34
+ if (nests) {
35
+ const hookedNames = hooked.map((f) => '`' + f.name + '`').join(', ');
36
+ const hookedLine = 0 === hooked.length ? '' : '\n' + hookedNames + (1 === hooked.length ?
37
+ ' attaches to pipeline hooks\nrather than the transport, so its order does not affect what it observes.\n' :
38
+ ' attach to pipeline hooks\nrather than the transport, so their order does not affect what they observe.\n');
32
39
  (0, jostraca_1.Content)(`#### Ordering
33
40
 
34
41
  ${wrapping.map((f) => '`' + f.name + '`').join(', ')} wrap the transport. Each
35
- wraps whatever is already installed${(0, FeatureDocs_1.honoursActivationOrder)(target) ?
42
+ wraps whatever is already installed${ordered ?
36
43
  ', so **activation order is nesting order**:\na feature activated later sits OUTSIDE one activated earlier, and sees the call\nfirst.' :
37
44
  '. This SDK fixes that order in its own\ncatalog rather than taking it from the caller.'}
38
45
 
@@ -42,12 +49,9 @@ sits inside it, so a response served from the cache never reaches \\\`cost\\\` a
42
49
  correctly charged nothing; reverse them and every cache hit is billed for money
43
50
  that was never spent.
44
51
  ` : `That decides behaviour, not just sequence: a feature that short-circuits the
45
- call, such as a cache serving a hit, stops every feature nested inside it from
52
+ call${features.some((f) => 'cache' === f.name) ? ', such as a cache serving a hit,' : ''} stops every feature nested inside it from
46
53
  ever seeing that call.
47
- `}
48
- ${hooked.map((f) => '`' + f.name + '`').join(', ')} attach to pipeline hooks
49
- rather than the transport, so their order does not affect what they observe.
50
-
54
+ `}${hookedLine}
51
55
  `);
52
56
  }
53
57
  for (const f of features) {
@@ -64,7 +68,7 @@ ${f.title}.
64
68
  |---|---|
65
69
  `);
66
70
  for (const o of f.options) {
67
- (0, jostraca_1.Content)(`| \`${o.name}\` | \`${o.value}\` |
71
+ (0, jostraca_1.Content)(`| \`${o.name}\` | ${o.code} |
68
72
  `);
69
73
  }
70
74
  (0, jostraca_1.Content)(`
@@ -99,21 +103,27 @@ its default unless you name it.
99
103
 
100
104
  `);
101
105
  if (f.wraps) {
102
- (0, jostraca_1.Content)(`- Wraps the transport: its place in the activation order decides what it
106
+ (0, jostraca_1.Content)(nests ? `- Wraps the transport: its place in the activation order decides what it
103
107
  sees. See [Ordering](#ordering) above.
108
+ ` : `- Wraps the transport.
104
109
  `);
105
110
  }
106
- else {
111
+ if ('base' === f.transport) {
112
+ (0, jostraca_1.Content)(`- Installs the BASE transport that the wrapping features wrap, so it must be
113
+ activated before them.
114
+ `);
115
+ }
116
+ if ('none' === f.transport) {
107
117
  (0, jostraca_1.Content)(`- Attaches to pipeline hooks, not the transport, so activation order does
108
118
  not change what it observes.
109
119
  `);
110
120
  }
111
- if ('base' === f.transport) {
112
- (0, jostraca_1.Content)(`- Installs the BASE transport that the wrapping features wrap, so it must be
113
- activated before them.
121
+ else if (0 < f.hooks.length) {
122
+ (0, jostraca_1.Content)(`- Also attaches to pipeline hooks.
114
123
  `);
115
124
  }
116
- (0, jostraca_1.Content)(`- Inactive by default: leaving it out costs nothing at runtime.
125
+ (0, jostraca_1.Content)(`- ${f.on ? `Active by default: set \`feature.${f.name}.active\` to false to switch it off.` :
126
+ 'Inactive by default: leaving it out costs nothing at runtime.'}
117
127
 
118
128
  `);
119
129
  }
@@ -1 +1 @@
1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,CAAC,CAAA;QACE,CAAC;aACI,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;YAC5B,IAAA,kBAAO,EAAC;CACb,CAAC,CAAA;QACE,CAAC;QAED,IAAA,kBAAO,EAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,oCAAoC,CAAC,CAAC,IAAI,sCAAsC,CAAC,CAAC;YACpG,+DAA+D;;CAEpE,CAAC,CAAA;IACA,CAAC;AACH,CAAC,CAAC,CAAA;QAIA,iBAAiB"}
@@ -3,8 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ReadmeStation = void 0;
4
4
  const jostraca_1 = require("jostraca");
5
5
  const component_1 = require("../helpers/component");
6
- const types_1 = require("../types");
7
6
  const packageMeta_1 = require("../helpers/packageMeta");
7
+ const applicability_1 = require("../helpers/applicability");
8
+ const facts_1 = require("../helpers/facts");
9
+ const types_1 = require("../types");
8
10
  // Targets where station.connect(SDK) is the idiomatic binding; everything
9
11
  // else uses inverted binding through the SDK's own constructor.
10
12
  const CONNECT_TARGETS = ['ts', 'js', 'py', 'rb', 'php', 'lua', 'perl'];
@@ -13,8 +15,7 @@ const ERROR_CATALOG_URL = 'https://github.com/voxgig/sdkgen/blob/main/docs/refer
13
15
  const ReadmeStation = (0, component_1.cmp)(function ReadmeStation(props) {
14
16
  const { target } = props;
15
17
  const { model } = props.ctx$;
16
- const features = (0, types_1.getModelPath)(model, `main.${types_1.KIT}.feature`, { only_active: false, required: false }) || {};
17
- const station = Object.values(features)
18
+ const station = Object.values((0, applicability_1.targetFeatures)(model, target))
18
19
  .find((f) => 'station' === f?.name);
19
20
  if (null == station) {
20
21
  return;
@@ -23,18 +24,20 @@ const ReadmeStation = (0, component_1.cmp)(function ReadmeStation(props) {
23
24
  // main.slug in the embedded config); an untagged instance ref IS the
24
25
  // slug, so this is also the default instance name.
25
26
  const slug = model.name;
26
- const env = (0, packageMeta_1.envName)(model);
27
+ const env = (0, facts_1.fact)(model.main[types_1.KIT], 'env').prefix;
27
28
  const secretbase = env.toLowerCase();
28
29
  const secretname = secretbase + '.apikey';
29
- const connect = CONNECT_TARGETS.includes(target.name);
30
- const selfreg = SELF_REGISTER_TARGETS.includes(target.name);
30
+ const origin = (0, packageMeta_1.originName)(model, target.name);
31
+ const connect = CONNECT_TARGETS.includes(origin);
32
+ const selfreg = SELF_REGISTER_TARGETS.includes(origin);
31
33
  (0, jostraca_1.Content)(`
32
34
  ## Use with Station
33
35
 
34
36
  This SDK ships as a [voxgig/station](https://github.com/voxgig/station)
35
37
  plugin: bind it to a local \`Station\` and outbound configuration,
36
38
  credentials, and observability move to one place. The feature is
37
- present but **off by default** — nothing changes until you bind.
39
+ present ${(0, facts_1.fact)(station, 'on') ? 'and **on by default**.' :
40
+ 'but **off by default** — nothing changes until you bind.'}
38
41
 
39
42
  ### Declarative: \`station.json\` + \`station.sdk()\`
40
43
 
@@ -73,7 +76,7 @@ SDK features are configured in the same file too: fleet-wide, per api,
73
76
  or per instance. \`station.check()\` resolves and constructs every
74
77
  active instance without sending a request — run it in CI.
75
78
 
76
- ### The secret name derives from the instance
79
+ ${(0, facts_1.fact)(model.main[types_1.KIT], 'auth').apikey ? `### The secret name derives from the instance
77
80
 
78
81
  The credential comes from [sekreto](https://github.com/voxgig/sekreto)
79
82
  under a name derived from the **instance** name — the instance token
@@ -89,7 +92,7 @@ vault later and application code does not change; sekreto's own
89
92
  documentation covers the stores. The key stays out of \`options()\` and
90
93
  \`prepare()\` output; \`station.tap(...)\` shows live traffic.
91
94
 
92
- ### Imperative: ${connect ? '`connect()`' : 'inverted binding'} — the retrofit path
95
+ ` : ''}### Imperative: ${connect ? '`connect()`' : 'inverted binding'} — the retrofit path
93
96
 
94
97
  ${connect
95
98
  ? `Bind by passing the SDK class to the station:
@@ -1 +1 @@
1
- {"version":3,"file":"ReadmeStation.js","sourceRoot":"","sources":["../../src/cmp/ReadmeStation.ts"],"names":[],"mappings":";;;AACA,u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