@voxgig/sdkgen 1.2.1 → 1.3.2

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 (345) hide show
  1. package/bin/voxgig-sdkgen +2 -2
  2. package/dist/action/action.d.ts +3 -1
  3. package/dist/action/action.js +26 -10
  4. package/dist/action/action.js.map +1 -1
  5. package/dist/action/feature.js +9 -8
  6. package/dist/action/feature.js.map +1 -1
  7. package/dist/action/target.d.ts +7 -1
  8. package/dist/action/target.js +22 -13
  9. package/dist/action/target.js.map +1 -1
  10. package/dist/cmp/Changelog.d.ts +2 -0
  11. package/dist/cmp/Changelog.js +30 -0
  12. package/dist/cmp/Changelog.js.map +1 -0
  13. package/dist/cmp/Deploy.d.ts +2 -0
  14. package/dist/cmp/Deploy.js +227 -0
  15. package/dist/cmp/Deploy.js.map +1 -0
  16. package/dist/cmp/FeatureHook.js +5 -6
  17. package/dist/cmp/FeatureHook.js.map +1 -1
  18. package/dist/cmp/License.d.ts +2 -0
  19. package/dist/cmp/License.js +44 -0
  20. package/dist/cmp/License.js.map +1 -0
  21. package/dist/cmp/Readme.js +2 -0
  22. package/dist/cmp/Readme.js.map +1 -1
  23. package/dist/cmp/ReadmeErrors.d.ts +2 -0
  24. package/dist/cmp/ReadmeErrors.js +210 -0
  25. package/dist/cmp/ReadmeErrors.js.map +1 -0
  26. package/dist/cmp/ReadmeExplanation.js +213 -223
  27. package/dist/cmp/ReadmeExplanation.js.map +1 -1
  28. package/dist/cmp/ReadmeModel.js +6 -1
  29. package/dist/cmp/ReadmeModel.js.map +1 -1
  30. package/dist/cmp/ReadmeTop.js +389 -82
  31. package/dist/cmp/ReadmeTop.js.map +1 -1
  32. package/dist/cmp/Security.d.ts +2 -0
  33. package/dist/cmp/Security.js +36 -0
  34. package/dist/cmp/Security.js.map +1 -0
  35. package/dist/helpers/canonType.d.ts +7 -0
  36. package/dist/helpers/canonType.js +74 -0
  37. package/dist/helpers/canonType.js.map +1 -0
  38. package/dist/helpers/collectDeps.d.ts +3 -2
  39. package/dist/helpers/collectDeps.js.map +1 -1
  40. package/dist/helpers/naming.d.ts +3 -0
  41. package/dist/helpers/naming.js +51 -0
  42. package/dist/helpers/naming.js.map +1 -0
  43. package/dist/helpers/opExample.d.ts +13 -0
  44. package/dist/helpers/opExample.js +149 -0
  45. package/dist/helpers/opExample.js.map +1 -0
  46. package/dist/helpers/opShape.d.ts +18 -0
  47. package/dist/helpers/opShape.js +225 -0
  48. package/dist/helpers/opShape.js.map +1 -0
  49. package/dist/helpers/packageMeta.d.ts +27 -0
  50. package/dist/helpers/packageMeta.js +224 -0
  51. package/dist/helpers/packageMeta.js.map +1 -0
  52. package/dist/sdkgen.d.ts +12 -2
  53. package/dist/sdkgen.js +60 -20
  54. package/dist/sdkgen.js.map +1 -1
  55. package/dist/tsconfig.tsbuildinfo +1 -1
  56. package/dist/types.d.ts +65 -2
  57. package/dist/types.js.map +1 -1
  58. package/dist/utility.d.ts +2 -1
  59. package/dist/utility.js +39 -11
  60. package/dist/utility.js.map +1 -1
  61. package/model/sdkgen.aontu +137 -0
  62. package/package.json +11 -5
  63. package/project/.sdk/model/feature/feature-index.aontu +5 -0
  64. package/project/.sdk/model/target/go-cli.aontu +47 -0
  65. package/project/.sdk/model/target/go-mcp.aontu +41 -0
  66. package/project/.sdk/model/target/go.aontu +28 -0
  67. package/project/.sdk/model/target/{js.jsonic → js.aontu} +13 -0
  68. package/project/.sdk/model/target/{lua.jsonic → lua.aontu} +13 -0
  69. package/project/.sdk/model/target/{php.jsonic → php.aontu} +13 -0
  70. package/project/.sdk/model/target/{py.jsonic → py.aontu} +13 -0
  71. package/project/.sdk/model/target/{rb.jsonic → rb.aontu} +13 -0
  72. package/project/.sdk/model/target/{ts.jsonic → ts.aontu} +13 -0
  73. package/project/.sdk/src/cmp/go/Config_go.ts +3 -2
  74. package/project/.sdk/src/cmp/go/EntityOperation_go.ts +1 -0
  75. package/project/.sdk/src/cmp/go/EntityTypes_go.ts +197 -0
  76. package/project/.sdk/src/cmp/go/Entity_go.ts +2 -1
  77. package/project/.sdk/src/cmp/go/MainEntity_go.ts +6 -0
  78. package/project/.sdk/src/cmp/go/Main_go.ts +23 -3
  79. package/project/.sdk/src/cmp/go/Package_go.ts +1 -1
  80. package/project/.sdk/src/cmp/go/ReadmeEntity_go.ts +48 -10
  81. package/project/.sdk/src/cmp/go/ReadmeExamplesTest_go.ts +688 -0
  82. package/project/.sdk/src/cmp/go/ReadmeExplanation_go.ts +1 -1
  83. package/project/.sdk/src/cmp/go/ReadmeHowto_go.ts +52 -8
  84. package/project/.sdk/src/cmp/go/ReadmeInstall_go.ts +11 -6
  85. package/project/.sdk/src/cmp/go/ReadmeIntro_go.ts +40 -1
  86. package/project/.sdk/src/cmp/go/ReadmeModel_go.ts +67 -17
  87. package/project/.sdk/src/cmp/go/ReadmeOptions_go.ts +4 -3
  88. package/project/.sdk/src/cmp/go/ReadmeQuick_go.ts +146 -116
  89. package/project/.sdk/src/cmp/go/ReadmeRef_go.ts +87 -21
  90. package/project/.sdk/src/cmp/go/ReadmeTopHowto_go.ts +4 -0
  91. package/project/.sdk/src/cmp/go/ReadmeTopQuick_go.ts +75 -16
  92. package/project/.sdk/src/cmp/go/ReadmeTopTest_go.ts +35 -5
  93. package/project/.sdk/src/cmp/go/TestEntity_go.ts +1 -1
  94. package/project/.sdk/src/cmp/go/Test_go.ts +5 -1
  95. package/project/.sdk/src/cmp/go/fragment/Entity.fragment.go +21 -0
  96. package/project/.sdk/src/cmp/go/fragment/EntityCreateOp.fragment.go +11 -0
  97. package/project/.sdk/src/cmp/go/fragment/EntityListOp.fragment.go +11 -0
  98. package/project/.sdk/src/cmp/go/fragment/EntityLoadOp.fragment.go +11 -0
  99. package/project/.sdk/src/cmp/go/fragment/EntityRemoveOp.fragment.go +11 -0
  100. package/project/.sdk/src/cmp/go/fragment/EntityUpdateOp.fragment.go +11 -0
  101. package/project/.sdk/src/cmp/go/utility_go.ts +70 -0
  102. package/project/.sdk/src/cmp/go-cli/Main_go-cli.ts +195 -0
  103. package/project/.sdk/src/cmp/go-cli/fragment/main.fragment.go +106 -0
  104. package/project/.sdk/src/cmp/go-cli/fragment/words.fragment.go +132 -0
  105. package/project/.sdk/src/cmp/go-mcp/Main_go-mcp.ts +184 -0
  106. package/project/.sdk/src/cmp/go-mcp/fragment/main.fragment.go +68 -0
  107. package/project/.sdk/src/cmp/go-mcp/fragment/tools.fragment.go +114 -0
  108. package/project/.sdk/src/cmp/js/Config_js.ts +3 -6
  109. package/project/.sdk/src/cmp/js/EntityTypes_js.ts +111 -0
  110. package/project/.sdk/src/cmp/js/MainEntity_js.ts +1 -0
  111. package/project/.sdk/src/cmp/js/Main_js.ts +3 -0
  112. package/project/.sdk/src/cmp/js/Package_js.ts +16 -7
  113. package/project/.sdk/src/cmp/js/ReadmeEntity_js.ts +33 -10
  114. package/project/.sdk/src/cmp/js/ReadmeExplanation_js.ts +2 -2
  115. package/project/.sdk/src/cmp/js/ReadmeHowto_js.ts +52 -11
  116. package/project/.sdk/src/cmp/js/ReadmeIntro_js.ts +39 -1
  117. package/project/.sdk/src/cmp/js/ReadmeModel_js.ts +50 -18
  118. package/project/.sdk/src/cmp/js/ReadmeOptions_js.ts +4 -3
  119. package/project/.sdk/src/cmp/js/ReadmeQuick_js.ts +70 -20
  120. package/project/.sdk/src/cmp/js/ReadmeRef_js.ts +50 -16
  121. package/project/.sdk/src/cmp/js/ReadmeTopHowto_js.ts +3 -0
  122. package/project/.sdk/src/cmp/js/ReadmeTopQuick_js.ts +45 -19
  123. package/project/.sdk/src/cmp/js/ReadmeTopTest_js.ts +35 -3
  124. package/project/.sdk/src/cmp/js/fragment/EntityCreateOp.fragment.js +5 -0
  125. package/project/.sdk/src/cmp/js/fragment/EntityListOp.fragment.js +5 -0
  126. package/project/.sdk/src/cmp/js/fragment/EntityLoadOp.fragment.js +5 -0
  127. package/project/.sdk/src/cmp/js/fragment/EntityRemoveOp.fragment.js +5 -0
  128. package/project/.sdk/src/cmp/js/fragment/EntityUpdateOp.fragment.js +5 -0
  129. package/project/.sdk/src/cmp/js/utility_js.ts +57 -0
  130. package/project/.sdk/src/cmp/lua/Config_lua.ts +3 -2
  131. package/project/.sdk/src/cmp/lua/EntityTypes_lua.ts +113 -0
  132. package/project/.sdk/src/cmp/lua/MainEntity_lua.ts +8 -0
  133. package/project/.sdk/src/cmp/lua/Main_lua.ts +4 -0
  134. package/project/.sdk/src/cmp/lua/Package_lua.ts +23 -4
  135. package/project/.sdk/src/cmp/lua/ReadmeEntity_lua.ts +50 -13
  136. package/project/.sdk/src/cmp/lua/ReadmeExamplesTest_lua.ts +293 -0
  137. package/project/.sdk/src/cmp/lua/ReadmeHowto_lua.ts +46 -8
  138. package/project/.sdk/src/cmp/lua/ReadmeInstall_lua.ts +19 -3
  139. package/project/.sdk/src/cmp/lua/ReadmeIntro_lua.ts +38 -1
  140. package/project/.sdk/src/cmp/lua/ReadmeModel_lua.ts +51 -16
  141. package/project/.sdk/src/cmp/lua/ReadmeOptions_lua.ts +4 -3
  142. package/project/.sdk/src/cmp/lua/ReadmeQuick_lua.ts +156 -21
  143. package/project/.sdk/src/cmp/lua/ReadmeRef_lua.ts +71 -23
  144. package/project/.sdk/src/cmp/lua/ReadmeTopQuick_lua.ts +46 -9
  145. package/project/.sdk/src/cmp/lua/ReadmeTopTest_lua.ts +43 -5
  146. package/project/.sdk/src/cmp/lua/Test_lua.ts +4 -0
  147. package/project/.sdk/src/cmp/lua/fragment/EntityCreateOp.fragment.lua +4 -0
  148. package/project/.sdk/src/cmp/lua/fragment/EntityListOp.fragment.lua +4 -0
  149. package/project/.sdk/src/cmp/lua/fragment/EntityLoadOp.fragment.lua +4 -0
  150. package/project/.sdk/src/cmp/lua/fragment/EntityRemoveOp.fragment.lua +4 -0
  151. package/project/.sdk/src/cmp/lua/fragment/EntityUpdateOp.fragment.lua +4 -0
  152. package/project/.sdk/src/cmp/php/Config_php.ts +3 -2
  153. package/project/.sdk/src/cmp/php/EntityTypes_php.ts +142 -0
  154. package/project/.sdk/src/cmp/php/MainEntity_php.ts +18 -1
  155. package/project/.sdk/src/cmp/php/Main_php.ts +4 -0
  156. package/project/.sdk/src/cmp/php/Package_php.ts +18 -7
  157. package/project/.sdk/src/cmp/php/ReadmeEntity_php.ts +46 -14
  158. package/project/.sdk/src/cmp/php/ReadmeExamplesTest_php.ts +401 -0
  159. package/project/.sdk/src/cmp/php/ReadmeHowto_php.ts +56 -13
  160. package/project/.sdk/src/cmp/php/ReadmeInstall_php.ts +15 -3
  161. package/project/.sdk/src/cmp/php/ReadmeIntro_php.ts +40 -1
  162. package/project/.sdk/src/cmp/php/ReadmeModel_php.ts +26 -8
  163. package/project/.sdk/src/cmp/php/ReadmeOptions_php.ts +4 -3
  164. package/project/.sdk/src/cmp/php/ReadmeQuick_php.ts +159 -25
  165. package/project/.sdk/src/cmp/php/ReadmeRef_php.ts +90 -45
  166. package/project/.sdk/src/cmp/php/ReadmeTopHowto_php.ts +1 -1
  167. package/project/.sdk/src/cmp/php/ReadmeTopQuick_php.ts +43 -11
  168. package/project/.sdk/src/cmp/php/ReadmeTopTest_php.ts +52 -11
  169. package/project/.sdk/src/cmp/php/TestDirect_php.ts +9 -9
  170. package/project/.sdk/src/cmp/php/TestEntity_php.ts +6 -12
  171. package/project/.sdk/src/cmp/php/Test_php.ts +4 -0
  172. package/project/.sdk/src/cmp/php/fragment/Entity.fragment.php +13 -1
  173. package/project/.sdk/src/cmp/php/fragment/EntityCreateOp.fragment.php +10 -1
  174. package/project/.sdk/src/cmp/php/fragment/EntityListOp.fragment.php +10 -1
  175. package/project/.sdk/src/cmp/php/fragment/EntityLoadOp.fragment.php +10 -1
  176. package/project/.sdk/src/cmp/php/fragment/EntityRemoveOp.fragment.php +10 -1
  177. package/project/.sdk/src/cmp/php/fragment/EntityUpdateOp.fragment.php +10 -1
  178. package/project/.sdk/src/cmp/php/fragment/Main.fragment.php +22 -14
  179. package/project/.sdk/src/cmp/py/Config_py.ts +3 -2
  180. package/project/.sdk/src/cmp/py/EntityTypes_py.ts +184 -0
  181. package/project/.sdk/src/cmp/py/Entity_py.ts +27 -0
  182. package/project/.sdk/src/cmp/py/MainEntity_py.ts +2 -1
  183. package/project/.sdk/src/cmp/py/Main_py.ts +35 -0
  184. package/project/.sdk/src/cmp/py/Package_py.ts +24 -3
  185. package/project/.sdk/src/cmp/py/ReadmeEntity_py.ts +48 -14
  186. package/project/.sdk/src/cmp/py/ReadmeExamplesTest_py.ts +626 -0
  187. package/project/.sdk/src/cmp/py/ReadmeHowto_py.ts +53 -14
  188. package/project/.sdk/src/cmp/py/ReadmeInstall_py.ts +19 -3
  189. package/project/.sdk/src/cmp/py/ReadmeIntro_py.ts +48 -1
  190. package/project/.sdk/src/cmp/py/ReadmeModel_py.ts +28 -10
  191. package/project/.sdk/src/cmp/py/ReadmeOptions_py.ts +4 -3
  192. package/project/.sdk/src/cmp/py/ReadmeQuick_py.ts +150 -27
  193. package/project/.sdk/src/cmp/py/ReadmeRef_py.ts +86 -40
  194. package/project/.sdk/src/cmp/py/ReadmeTopHowto_py.ts +1 -1
  195. package/project/.sdk/src/cmp/py/ReadmeTopQuick_py.ts +45 -11
  196. package/project/.sdk/src/cmp/py/ReadmeTopTest_py.ts +43 -5
  197. package/project/.sdk/src/cmp/py/TestDirect_py.ts +7 -9
  198. package/project/.sdk/src/cmp/py/TestEntity_py.ts +6 -14
  199. package/project/.sdk/src/cmp/py/Test_py.ts +4 -0
  200. package/project/.sdk/src/cmp/py/fragment/Entity.fragment.py +5 -2
  201. package/project/.sdk/src/cmp/py/fragment/EntityCreateOp.fragment.py +1 -1
  202. package/project/.sdk/src/cmp/py/fragment/EntityListOp.fragment.py +5 -1
  203. package/project/.sdk/src/cmp/py/fragment/EntityLoadOp.fragment.py +6 -1
  204. package/project/.sdk/src/cmp/py/fragment/EntityRemoveOp.fragment.py +6 -1
  205. package/project/.sdk/src/cmp/py/fragment/EntityUpdateOp.fragment.py +1 -1
  206. package/project/.sdk/src/cmp/py/fragment/Main.fragment.py +17 -10
  207. package/project/.sdk/src/cmp/rb/Config_rb.ts +3 -2
  208. package/project/.sdk/src/cmp/rb/EntityTypes_rb.ts +136 -0
  209. package/project/.sdk/src/cmp/rb/MainEntity_rb.ts +1 -0
  210. package/project/.sdk/src/cmp/rb/Main_rb.ts +4 -0
  211. package/project/.sdk/src/cmp/rb/Package_rb.ts +34 -7
  212. package/project/.sdk/src/cmp/rb/ReadmeEntity_rb.ts +47 -13
  213. package/project/.sdk/src/cmp/rb/ReadmeExamplesTest_rb.ts +289 -0
  214. package/project/.sdk/src/cmp/rb/ReadmeHowto_rb.ts +72 -21
  215. package/project/.sdk/src/cmp/rb/ReadmeInstall_rb.ts +16 -4
  216. package/project/.sdk/src/cmp/rb/ReadmeIntro_rb.ts +40 -1
  217. package/project/.sdk/src/cmp/rb/ReadmeModel_rb.ts +29 -12
  218. package/project/.sdk/src/cmp/rb/ReadmeOptions_rb.ts +4 -3
  219. package/project/.sdk/src/cmp/rb/ReadmeQuick_rb.ts +163 -25
  220. package/project/.sdk/src/cmp/rb/ReadmeRef_rb.ts +85 -40
  221. package/project/.sdk/src/cmp/rb/ReadmeTopHowto_rb.ts +1 -1
  222. package/project/.sdk/src/cmp/rb/ReadmeTopQuick_rb.ts +45 -11
  223. package/project/.sdk/src/cmp/rb/ReadmeTopTest_rb.ts +54 -11
  224. package/project/.sdk/src/cmp/rb/TestDirect_rb.ts +9 -9
  225. package/project/.sdk/src/cmp/rb/TestEntity_rb.ts +6 -12
  226. package/project/.sdk/src/cmp/rb/Test_rb.ts +4 -0
  227. package/project/.sdk/src/cmp/rb/fragment/Entity.fragment.rb +2 -0
  228. package/project/.sdk/src/cmp/rb/fragment/EntityCreateOp.fragment.rb +5 -0
  229. package/project/.sdk/src/cmp/rb/fragment/EntityListOp.fragment.rb +20 -2
  230. package/project/.sdk/src/cmp/rb/fragment/EntityLoadOp.fragment.rb +8 -1
  231. package/project/.sdk/src/cmp/rb/fragment/EntityRemoveOp.fragment.rb +6 -1
  232. package/project/.sdk/src/cmp/rb/fragment/EntityUpdateOp.fragment.rb +5 -0
  233. package/project/.sdk/src/cmp/rb/fragment/Main.fragment.rb +24 -8
  234. package/project/.sdk/src/cmp/ts/Config_ts.ts +3 -6
  235. package/project/.sdk/src/cmp/ts/EntityTypes_ts.ts +105 -0
  236. package/project/.sdk/src/cmp/ts/Entity_ts.ts +17 -1
  237. package/project/.sdk/src/cmp/ts/MainEntity_ts.ts +1 -0
  238. package/project/.sdk/src/cmp/ts/Main_ts.ts +6 -0
  239. package/project/.sdk/src/cmp/ts/Package_ts.ts +14 -7
  240. package/project/.sdk/src/cmp/ts/ReadmeEntity_ts.ts +32 -10
  241. package/project/.sdk/src/cmp/ts/ReadmeExampleTest_ts.ts +81 -0
  242. package/project/.sdk/src/cmp/ts/ReadmeExamplesTest_ts.ts +446 -0
  243. package/project/.sdk/src/cmp/ts/ReadmeExplanation_ts.ts +2 -2
  244. package/project/.sdk/src/cmp/ts/ReadmeHowto_ts.ts +57 -11
  245. package/project/.sdk/src/cmp/ts/ReadmeInstall_ts.ts +19 -6
  246. package/project/.sdk/src/cmp/ts/ReadmeIntro_ts.ts +39 -1
  247. package/project/.sdk/src/cmp/ts/ReadmeModel_ts.ts +50 -18
  248. package/project/.sdk/src/cmp/ts/ReadmeOptions_ts.ts +4 -3
  249. package/project/.sdk/src/cmp/ts/ReadmeQuick_ts.ts +141 -48
  250. package/project/.sdk/src/cmp/ts/ReadmeRef_ts.ts +50 -16
  251. package/project/.sdk/src/cmp/ts/ReadmeTopHowto_ts.ts +3 -0
  252. package/project/.sdk/src/cmp/ts/ReadmeTopQuick_ts.ts +58 -19
  253. package/project/.sdk/src/cmp/ts/ReadmeTopTest_ts.ts +35 -3
  254. package/project/.sdk/src/cmp/ts/TestEntity_ts.ts +2 -2
  255. package/project/.sdk/src/cmp/ts/Test_ts.ts +5 -0
  256. package/project/.sdk/src/cmp/ts/fragment/Entity.fragment.ts +3 -1
  257. package/project/.sdk/src/cmp/ts/fragment/EntityBase.fragment.ts +10 -5
  258. package/project/.sdk/src/cmp/ts/fragment/EntityCreateOp.fragment.ts +4 -2
  259. package/project/.sdk/src/cmp/ts/fragment/EntityListOp.fragment.ts +4 -2
  260. package/project/.sdk/src/cmp/ts/fragment/EntityLoadOp.fragment.ts +4 -2
  261. package/project/.sdk/src/cmp/ts/fragment/EntityRemoveOp.fragment.ts +4 -2
  262. package/project/.sdk/src/cmp/ts/fragment/EntityUpdateOp.fragment.ts +4 -2
  263. package/project/.sdk/src/cmp/ts/utility_ts.ts +59 -0
  264. package/project/.sdk/tm/go/LICENSE +1 -1
  265. package/project/.sdk/tm/go/Makefile +36 -1
  266. package/project/.sdk/tm/go/VERSION +1 -0
  267. package/project/.sdk/tm/go/core/context.go +12 -7
  268. package/project/.sdk/tm/go-cli/src/feature/README.md +6 -0
  269. package/project/.sdk/tm/go-cli/src/feature/base/.gitkeep +0 -0
  270. package/project/.sdk/tm/go-cli/src/feature/log/.gitkeep +0 -0
  271. package/project/.sdk/tm/go-cli/src/feature/test/.gitkeep +0 -0
  272. package/project/.sdk/tm/go-mcp/src/feature/README.md +6 -0
  273. package/project/.sdk/tm/go-mcp/src/feature/base/.gitkeep +0 -0
  274. package/project/.sdk/tm/go-mcp/src/feature/log/.gitkeep +0 -0
  275. package/project/.sdk/tm/go-mcp/src/feature/test/.gitkeep +0 -0
  276. package/project/.sdk/tm/js/LICENSE +1 -1
  277. package/project/.sdk/tm/js/Makefile +41 -0
  278. package/project/.sdk/tm/lua/LICENSE +1 -1
  279. package/project/.sdk/tm/lua/Makefile +40 -1
  280. package/project/.sdk/tm/lua/core/context.lua +13 -8
  281. package/project/.sdk/tm/php/LICENSE +1 -1
  282. package/project/.sdk/tm/php/Makefile +31 -1
  283. package/project/.sdk/tm/php/VERSION +1 -0
  284. package/project/.sdk/tm/php/core/Context.php +12 -6
  285. package/project/.sdk/tm/php/test/PrimaryUtilityTest.php +13 -4
  286. package/project/.sdk/tm/php/utility/Done.php +2 -2
  287. package/project/.sdk/tm/php/utility/MakeError.php +3 -3
  288. package/project/.sdk/tm/py/LICENSE +1 -1
  289. package/project/.sdk/tm/py/Makefile +34 -1
  290. package/project/.sdk/tm/py/core/context.py +12 -7
  291. package/project/.sdk/tm/py/test/test_primary_utility.py +15 -4
  292. package/project/.sdk/tm/py/test/test_struct_utility.py +1 -1
  293. package/project/.sdk/tm/py/utility/done.py +3 -1
  294. package/project/.sdk/tm/py/utility/make_error.py +2 -2
  295. package/project/.sdk/tm/rb/LICENSE +1 -1
  296. package/project/.sdk/tm/rb/Makefile +36 -2
  297. package/project/.sdk/tm/rb/core/context.rb +8 -3
  298. package/project/.sdk/tm/rb/test/primary_utility_test.rb +2 -2
  299. package/project/.sdk/tm/rb/utility/done.rb +3 -1
  300. package/project/.sdk/tm/rb/utility/make_error.rb +5 -2
  301. package/project/.sdk/tm/ts/LICENSE +1 -1
  302. package/project/.sdk/tm/ts/Makefile +42 -0
  303. package/project/.sdk/tm/ts/src/Context.ts +8 -3
  304. package/src/action/action.ts +30 -11
  305. package/src/action/feature.ts +12 -14
  306. package/src/action/target.ts +28 -17
  307. package/src/cmp/Changelog.ts +34 -0
  308. package/src/cmp/Deploy.ts +258 -0
  309. package/src/cmp/FeatureHook.ts +6 -8
  310. package/src/cmp/License.ts +49 -0
  311. package/src/cmp/Readme.ts +2 -0
  312. package/src/cmp/ReadmeErrors.ts +257 -0
  313. package/src/cmp/ReadmeExplanation.ts +250 -230
  314. package/src/cmp/ReadmeModel.ts +7 -2
  315. package/src/cmp/ReadmeTop.ts +411 -95
  316. package/src/cmp/Security.ts +41 -0
  317. package/src/helpers/canonType.ts +89 -0
  318. package/src/helpers/collectDeps.ts +5 -3
  319. package/src/helpers/naming.ts +59 -0
  320. package/src/helpers/opExample.ts +170 -0
  321. package/src/helpers/opShape.ts +274 -0
  322. package/src/helpers/packageMeta.ts +236 -0
  323. package/src/sdkgen.ts +91 -23
  324. package/src/tsconfig.json +1 -0
  325. package/src/types.ts +85 -2
  326. package/src/utility.ts +45 -11
  327. package/README.md +0 -2
  328. package/dist/action/lang.d.ts +0 -2
  329. package/dist/action/lang.js +0 -68
  330. package/dist/action/lang.js.map +0 -1
  331. package/dist/cmp/Hook.d.ts +0 -2
  332. package/dist/cmp/Hook.js +0 -10
  333. package/dist/cmp/Hook.js.map +0 -1
  334. package/dist/cmp/Top.d.ts +0 -2
  335. package/dist/cmp/Top.js +0 -23
  336. package/dist/cmp/Top.js.map +0 -1
  337. package/dist/prepare-openapi.d.ts +0 -2
  338. package/dist/prepare-openapi.js +0 -37
  339. package/dist/prepare-openapi.js.map +0 -1
  340. package/model/sdkgen.jsonic +0 -74
  341. package/project/.sdk/model/feature/feature-index.jsonic +0 -5
  342. package/project/.sdk/model/target/go.jsonic +0 -22
  343. package/project/.sdk/tm/go/utility/struct/go.mod +0 -3
  344. /package/project/.sdk/model/feature/{log.jsonic → log.aontu} +0 -0
  345. /package/project/.sdk/model/feature/{test.jsonic → test.aontu} +0 -0
@@ -4,305 +4,295 @@ exports.ReadmeExplanation = void 0;
4
4
  const jostraca_1 = require("jostraca");
5
5
  const types_1 = require("../types");
6
6
  const utility_1 = require("../utility");
7
- const ReadmeExplanation = (0, jostraca_1.cmp)(function ReadmeExplanation(props) {
8
- const { target, ctx$ } = props;
9
- const { model } = ctx$;
10
- const feature = (0, types_1.getModelPath)(model, `main.${types_1.KIT}.feature`);
11
- (0, jostraca_1.Content)(`
12
- ## Explanation
7
+ const opShape_1 = require("../helpers/opShape");
8
+ const opExample_1 = require("../helpers/opExample");
9
+ const naming_1 = require("../helpers/naming");
10
+ function cap(s) {
11
+ return s.charAt(0).toUpperCase() + s.slice(1);
12
+ }
13
+ const DEFAULT_LANG = {
14
+ featureKind: `Features are the extension mechanism. A feature is an object with a
15
+ \`hooks\` map. Each hook key is a pipeline stage name, and the value is
16
+ a function that receives the context.
13
17
 
14
- ### The operation pipeline
18
+ `,
19
+ entityState: (eName, eLower, op, arg, matchIdF, idLit) => `Entity instances are stateful. After a successful \`${op}\`, the entity
20
+ stores the returned data and match criteria internally. Subsequent
21
+ calls on the same instance can rely on this state.
15
22
 
16
- Every entity operation (load, list, create, update, remove) follows a
17
- six-stage pipeline. Each stage fires a feature hook before executing:
23
+ \`\`\`ts
24
+ const ${eLower} = client.${eName}()
25
+ await ${eLower}.${op}(${arg})
18
26
 
27
+ // ${eLower}.data() now returns the ${eLower} data from the last \`${op}\`
28
+ ${matchIdF ? `// ${eLower}.match() returns { ${matchIdF}: ${idLit} }` : `// ${eLower}.match() returns the last match criteria`}
19
29
  \`\`\`
20
- PrePoint \u2192 PreSpec \u2192 PreRequest \u2192 PreResponse \u2192 PreResult \u2192 PreDone
21
- \`\`\`
22
-
23
- - **PrePoint**: Resolves which API endpoint to call based on the
24
- operation name and entity configuration.
25
- - **PreSpec**: Builds the HTTP spec \u2014 URL, method, headers, body \u2014
26
- from the resolved point and the caller's parameters.
27
- - **PreRequest**: Sends the HTTP request. Features can intercept here
28
- to replace the transport (as TestFeature does with mocks).
29
- - **PreResponse**: Parses the raw HTTP response.
30
- - **PreResult**: Extracts the business data from the parsed response.
31
- - **PreDone**: Final stage before returning to the caller. Entity
32
- state (match, data) is updated here.
33
-
34
- `);
35
- // Target-specific error description
36
- if (target.name === 'py') {
37
- (0, jostraca_1.Content)(`If any stage returns an error, the pipeline short-circuits and the
38
- error is returned to the caller as the second element in the return tuple.
39
-
40
- `);
41
- }
42
- else if (target.name === 'php') {
43
- (0, jostraca_1.Content)(`If any stage returns an error, the pipeline short-circuits and the
44
- error is returned to the caller as the second element in the return array.
45
30
 
46
- `);
47
- }
48
- else if (target.name === 'rb') {
49
- (0, jostraca_1.Content)(`If any stage returns an error, the pipeline short-circuits and the
50
- error is returned to the caller as a second return value.
51
-
52
- `);
53
- }
54
- else if (target.name === 'lua') {
55
- (0, jostraca_1.Content)(`If any stage returns an error, the pipeline short-circuits and the
56
- error is returned to the caller as a second return value.
57
-
58
- `);
59
- }
60
- else if (target.name === 'go') {
61
- (0, jostraca_1.Content)(`If any stage returns an error, the pipeline short-circuits and the
62
- error is returned to the caller. An unexpected panic triggers the
63
- \`PreUnexpected\` hook.
64
-
65
- `);
66
- }
67
- else {
68
- (0, jostraca_1.Content)(`If any stage returns an error, the pipeline short-circuits and the
69
- error is returned to the caller.
70
-
71
- An unexpected exception triggers the \`PreUnexpected\` hook before
72
- propagating.
73
-
74
- `);
75
- }
76
- // Features and hooks
77
- (0, jostraca_1.Content)(`### Features and hooks
78
-
79
- `);
80
- if (target.name === 'py') {
81
- (0, jostraca_1.Content)(`Features are the extension mechanism. A feature is a Python class
82
- with hook methods named after pipeline stages (e.g. \`PrePoint\`,
83
- \`PreSpec\`). Each method receives the context.
84
-
85
- `);
86
- }
87
- else if (target.name === 'php') {
88
- (0, jostraca_1.Content)(`Features are the extension mechanism. A feature is a PHP class
89
- with hook methods named after pipeline stages (e.g. \`PrePoint\`,
90
- \`PreSpec\`). Each method receives the context.
31
+ Call \`make()\` to create a fresh instance with the same configuration
32
+ but no stored state.
91
33
 
92
- `);
93
- }
94
- else if (target.name === 'rb') {
95
- (0, jostraca_1.Content)(`Features are the extension mechanism. A feature is a Ruby class
96
- with hook methods named after pipeline stages (e.g. \`PrePoint\`,
97
- \`PreSpec\`). Each method receives the context.
34
+ `,
35
+ direct: `The \`direct\` method gives full control over the HTTP request. Use it
36
+ for non-standard endpoints, bulk operations, or any path not modelled
37
+ as an entity. The \`prepare\` method is useful for debugging it
38
+ shows exactly what \`direct\` would send.
98
39
 
99
- `);
100
- }
101
- else if (target.name === 'lua') {
102
- (0, jostraca_1.Content)(`Features are the extension mechanism. A feature is a Lua table
40
+ `,
41
+ };
42
+ const LANGS = {
43
+ py: {
44
+ featureKind: `Features are the extension mechanism. A feature is a Python class
103
45
  with hook methods named after pipeline stages (e.g. \`PrePoint\`,
104
46
  \`PreSpec\`). Each method receives the context.
105
47
 
106
- `);
107
- }
108
- else if (target.name === 'go') {
109
- (0, jostraca_1.Content)(`Features are the extension mechanism. A feature implements the
110
- \`Feature\` interface and provides hooks \u2014 functions keyed by pipeline
111
- stage names.
112
-
113
- `);
114
- }
115
- else {
116
- (0, jostraca_1.Content)(`Features are the extension mechanism. A feature is an object with a
117
- \`hooks\` map. Each hook key is a pipeline stage name, and the value is
118
- a function that receives the context.
119
-
120
- `);
121
- }
122
- (0, jostraca_1.Content)(`The SDK ships with built-in features:
123
-
124
- `);
125
- (0, jostraca_1.each)(feature, (feat) => {
126
- if (!feat.active)
127
- return;
128
- if (!feat.Name)
129
- (0, jostraca_1.names)(feat, feat.name);
130
- const purpose = feat.title || feat.Name || feat.name;
131
- (0, jostraca_1.Content)(`- **${feat.Name}Feature**: ${purpose}
132
- `);
133
- });
134
- (0, jostraca_1.Content)(`
135
- Features are initialized in order. Hooks fire in the order features
136
- were added, so later features can override earlier ones.
137
-
138
- `);
139
- // Target-specific explanation
140
- const ReadmeExplanation_sdk = (0, utility_1.requirePath)(ctx$, `./cmp/${target.name}/ReadmeExplanation_${target.name}`, { ignore: true });
141
- if (ReadmeExplanation_sdk) {
142
- ReadmeExplanation_sdk['ReadmeExplanation']({ target });
143
- }
144
- // Entity state
145
- (0, jostraca_1.Content)(`### Entity state
146
-
147
- `);
148
- if (target.name === 'py') {
149
- (0, jostraca_1.Content)(`Entity instances are stateful. After a successful \`load\`, the entity
48
+ `,
49
+ entityState: (eName, eLower, op, arg) => `Entity instances are stateful. After a successful \`${op}\`, the entity
150
50
  stores the returned data and match criteria internally.
151
51
 
152
52
  \`\`\`python
153
- moon = client.Moon()
154
- moon.load({"planet_id": "earth", "id": "luna"})
53
+ ${eLower} = client.${eName}()
54
+ ${eLower}.${op}(${arg})
155
55
 
156
- # moon.data_get() now returns the loaded moon data
157
- # moon.match_get() returns the last match criteria
56
+ # ${eLower}.data_get() now returns the ${eLower} data from the last ${op}
57
+ # ${eLower}.match_get() returns the last match criteria
158
58
  \`\`\`
159
59
 
160
60
  Call \`make()\` to create a fresh instance with the same configuration
161
61
  but no stored state.
162
62
 
163
- `);
164
- }
165
- else if (target.name === 'php') {
166
- (0, jostraca_1.Content)(`Entity instances are stateful. After a successful \`load\`, the entity
63
+ `,
64
+ direct: `\`direct()\` gives full control over the HTTP request. Use it for
65
+ non-standard endpoints, bulk operations, or any path not modelled as
66
+ an entity. \`prepare()\` builds the request without sending it useful
67
+ for debugging or custom transport.
68
+
69
+ `,
70
+ },
71
+ php: {
72
+ featureKind: `Features are the extension mechanism. A feature is a PHP class
73
+ with hook methods named after pipeline stages (e.g. \`PrePoint\`,
74
+ \`PreSpec\`). Each method receives the context.
75
+
76
+ `,
77
+ entityState: (eName, eLower, op, arg) => `Entity instances are stateful. After a successful \`${op}\`, the entity
167
78
  stores the returned data and match criteria internally.
168
79
 
169
80
  \`\`\`php
170
- $moon = $client->Moon();
171
- [$result, $err] = $moon->load(["planet_id" => "earth", "id" => "luna"]);
81
+ $${eLower} = $client->${eName}();
82
+ $${eLower}->${op}(${arg});
172
83
 
173
- // $moon->dataGet() now returns the loaded moon data
174
- // $moon->matchGet() returns the last match criteria
84
+ // $${eLower}->data_get() now returns the ${eLower} data from the last ${op}
85
+ // $${eLower}->match_get() returns the last match criteria
175
86
  \`\`\`
176
87
 
177
88
  Call \`make()\` to create a fresh instance with the same configuration
178
89
  but no stored state.
179
90
 
180
- `);
181
- }
182
- else if (target.name === 'rb') {
183
- (0, jostraca_1.Content)(`Entity instances are stateful. After a successful \`load\`, the entity
91
+ `,
92
+ direct: `\`direct()\` gives full control over the HTTP request. Use it for
93
+ non-standard endpoints, bulk operations, or any path not modelled as
94
+ an entity. \`prepare()\` builds the request without sending it useful
95
+ for debugging or custom transport.
96
+
97
+ `,
98
+ },
99
+ rb: {
100
+ featureKind: `Features are the extension mechanism. A feature is a Ruby class
101
+ with hook methods named after pipeline stages (e.g. \`PrePoint\`,
102
+ \`PreSpec\`). Each method receives the context.
103
+
104
+ `,
105
+ entityState: (eName, eLower, op, arg) => `Entity instances are stateful. After a successful \`${op}\`, the entity
184
106
  stores the returned data and match criteria internally.
185
107
 
186
108
  \`\`\`ruby
187
- moon = client.Moon
188
- moon.load({ "planet_id" => "earth", "id" => "luna" })
109
+ ${eLower} = client.${eName}
110
+ ${eLower}.${op}(${arg})
189
111
 
190
- # moon.data_get now returns the loaded moon data
191
- # moon.match_get returns the last match criteria
112
+ # ${eLower}.data_get now returns the ${eLower} data from the last ${op}
113
+ # ${eLower}.match_get returns the last match criteria
192
114
  \`\`\`
193
115
 
194
116
  Call \`make\` to create a fresh instance with the same configuration
195
117
  but no stored state.
196
118
 
197
- `);
198
- }
199
- else if (target.name === 'lua') {
200
- (0, jostraca_1.Content)(`Entity instances are stateful. After a successful \`load\`, the entity
119
+ `,
120
+ direct: `\`direct\` gives full control over the HTTP request. Use it for
121
+ non-standard endpoints, bulk operations, or any path not modelled as
122
+ an entity. \`prepare\` builds the request without sending it useful
123
+ for debugging or custom transport.
124
+
125
+ `,
126
+ },
127
+ lua: {
128
+ featureKind: `Features are the extension mechanism. A feature is a Lua table
129
+ with hook methods named after pipeline stages (e.g. \`PrePoint\`,
130
+ \`PreSpec\`). Each method receives the context.
131
+
132
+ `,
133
+ entityState: (eName, eLower, op, arg) => `Entity instances are stateful. After a successful \`${op}\`, the entity
201
134
  stores the returned data and match criteria internally.
202
135
 
203
136
  \`\`\`lua
204
- local moon = client:Moon(nil)
205
- moon:load({ planet_id = "earth", id = "luna" }, nil)
137
+ local ${eLower} = client:${eName}()
138
+ ${eLower}:${op}(${arg})
206
139
 
207
- -- moon:data_get() now returns the loaded moon data
208
- -- moon:match_get() returns the last match criteria
140
+ -- ${eLower}:data_get() now returns the ${eLower} data from the last ${op}
141
+ -- ${eLower}:match_get() returns the last match criteria
209
142
  \`\`\`
210
143
 
211
144
  Call \`make()\` to create a fresh instance with the same configuration
212
145
  but no stored state.
213
146
 
214
- `);
215
- }
216
- else if (target.name === 'go') {
217
- (0, jostraca_1.Content)(`Entity instances are stateful. After a successful \`Load\`, the entity
147
+ `,
148
+ direct: `\`direct()\` gives full control over the HTTP request. Use it for
149
+ non-standard endpoints, bulk operations, or any path not modelled as
150
+ an entity. \`prepare()\` builds the request without sending it useful
151
+ for debugging or custom transport.
152
+
153
+ `,
154
+ },
155
+ go: {
156
+ featureKind: `Features are the extension mechanism. A feature implements the
157
+ \`Feature\` interface and provides hooks — functions keyed by pipeline
158
+ stage names.
159
+
160
+ `,
161
+ entityState: (eName, eLower, op, arg) => `Entity instances are stateful. After a successful \`${cap(op)}\`, the entity
218
162
  stores the returned data and match criteria internally.
219
163
 
220
164
  \`\`\`go
221
- moon := client.Moon(nil)
222
- moon.Load(map[string]any{"planet_id": "earth", "id": "luna"}, nil)
165
+ ${eLower} := client.${eName}(nil)
166
+ ${eLower}.${cap(op)}(${arg}, nil)
223
167
 
224
- // moon.Data() now returns the loaded moon data
225
- // moon.Match() returns the last match criteria
168
+ // ${eLower}.Data() now returns the ${eLower} data from the last ${op}
169
+ // ${eLower}.Match() returns the last match criteria
226
170
  \`\`\`
227
171
 
228
172
  Call \`Make()\` to create a fresh instance with the same configuration
229
173
  but no stored state.
230
174
 
231
- `);
175
+ `,
176
+ direct: `\`Direct()\` gives full control over the HTTP request. Use it for
177
+ non-standard endpoints, bulk operations, or any path not modelled as
178
+ an entity. \`Prepare()\` builds the request without sending it — useful
179
+ for debugging or custom transport.
180
+
181
+ `,
182
+ },
183
+ };
184
+ const ReadmeExplanation = (0, jostraca_1.cmp)(function ReadmeExplanation(props) {
185
+ const { target, ctx$ } = props;
186
+ const { model } = ctx$;
187
+ const feature = (0, types_1.getModelPath)(model, `main.${types_1.KIT}.feature`);
188
+ const lang = LANGS[target.name] || DEFAULT_LANG;
189
+ // Derive a real example entity from the model (the same way the sibling
190
+ // Readme components do) so the entity-state example never references a
191
+ // phantom entity.
192
+ const entity = (0, types_1.getModelPath)(model, `main.${types_1.KIT}.entity`, { only_active: false, required: false });
193
+ const ex = Object.values(entity || {}).find((e) => e && e.active !== false);
194
+ const eName = ex ? (ex.Name || (ex.name[0].toUpperCase() + ex.name.slice(1))) : 'Entity';
195
+ // Sanitise against the target's reserved words (a `Delete` entity must not
196
+ // bind `const delete = ...`).
197
+ const eLower = (0, naming_1.safeVarName)(eName.toLowerCase(), target.name);
198
+ const lname = target.name;
199
+ // The entity's id-like key field name, or null when it has none (a
200
+ // response-wrapped spec can model an entity with no id). Drives whether the
201
+ // state example keys on an id at all.
202
+ const idF = (0, opShape_1.entityIdField)(ex);
203
+ // The entity's PRIMARY op — an op it actually exposes (never a hardcoded
204
+ // `load` a create-only entity lacks).
205
+ const primaryOp = (0, opShape_1.entityPrimaryOp)(ex) || 'load';
206
+ const isMatchOp = 'load' === primaryOp || 'remove' === primaryOp;
207
+ // Type-correct example id literal (numeric when the id param is integer-typed),
208
+ // derived from the OP's param type so an id carried only in the match compiles.
209
+ const idLit = (0, opExample_1.idLiteral)(ex, primaryOp, idF);
210
+ // Language-correct call argument for the primary op: a match for load/remove,
211
+ // a required-field body for create/update, nothing for list.
212
+ let stateArg;
213
+ if ('list' === primaryOp) {
214
+ stateArg = 'go' === target.name ? 'nil' : '';
215
+ }
216
+ else if (isMatchOp) {
217
+ stateArg = (0, opExample_1.matchArg)(lname, idF, idLit);
232
218
  }
233
219
  else {
234
- (0, jostraca_1.Content)(`Entity instances are stateful. After a successful \`load\`, the entity
235
- stores the returned data and match criteria internally. Subsequent
236
- calls on the same instance can rely on this state.
220
+ stateArg = (0, opExample_1.dataArg)(lname, ex, primaryOp, idF);
221
+ }
222
+ // Only a match op keys the `.match()` comment on `{ id: ... }`.
223
+ const matchIdF = isMatchOp ? idF : null;
224
+ (0, jostraca_1.Content)(`
225
+ ## Advanced
237
226
 
238
- \`\`\`ts
239
- const moon = client.Moon()
240
- await moon.load({ planet_id: 'earth', id: 'luna' })
227
+ > The sections above cover everyday use. The material below explains the
228
+ > SDK's internals — useful when extending it with custom features, but not
229
+ > needed for normal use.
241
230
 
242
- // moon.data() now returns the loaded moon data
243
- // moon.match() returns { planet_id: 'earth', id: 'luna' }
244
- \`\`\`
231
+ ### The operation pipeline
245
232
 
246
- Call \`make()\` to create a fresh instance with the same configuration
247
- but no stored state.
233
+ Every entity operation follows a six-stage pipeline. Each stage fires a
234
+ feature hook before executing:
248
235
 
249
- `);
250
- }
251
- // Direct vs entity access
252
- (0, jostraca_1.Content)(`### Direct vs entity access
236
+ \`\`\`
237
+ PrePoint → PreSpec → PreRequest → PreResponse → PreResult → PreDone
238
+ \`\`\`
253
239
 
254
- The entity interface handles URL construction, parameter placement,
255
- and response parsing automatically. Use it for standard CRUD operations.
240
+ - **PrePoint**: Resolves which API endpoint to call based on the
241
+ operation name and entity configuration.
242
+ - **PreSpec**: Builds the HTTP spec — URL, method, headers, body —
243
+ from the resolved point and the caller's parameters.
244
+ - **PreRequest**: Sends the HTTP request. Features can intercept here
245
+ to replace the transport (as TestFeature does with mocks).
246
+ - **PreResponse**: Parses the raw HTTP response.
247
+ - **PreResult**: Extracts the business data from the parsed response.
248
+ - **PreDone**: Final stage before returning to the caller. Entity
249
+ state (match, data) is updated here.
256
250
 
257
- `);
258
- if (target.name === 'py') {
259
- (0, jostraca_1.Content)(`\`direct()\` gives full control over the HTTP request. Use it for
260
- non-standard endpoints, bulk operations, or any path not modelled as
261
- an entity. \`prepare()\` builds the request without sending it \u2014 useful
262
- for debugging or custom transport.
251
+ If any stage errors, the pipeline short-circuits and the error surfaces
252
+ to the caller — see [Error handling](#error-handling) for how that looks
253
+ in this language.
263
254
 
264
255
  `);
265
- }
266
- else if (target.name === 'php') {
267
- (0, jostraca_1.Content)(`\`direct()\` gives full control over the HTTP request. Use it for
268
- non-standard endpoints, bulk operations, or any path not modelled as
269
- an entity. \`prepare()\` builds the request without sending it \u2014 useful
270
- for debugging or custom transport.
256
+ // Features and hooks
257
+ (0, jostraca_1.Content)(`### Features and hooks
271
258
 
272
259
  `);
273
- }
274
- else if (target.name === 'rb') {
275
- (0, jostraca_1.Content)(`\`direct\` gives full control over the HTTP request. Use it for
276
- non-standard endpoints, bulk operations, or any path not modelled as
277
- an entity. \`prepare\` builds the request without sending it \u2014 useful
278
- for debugging or custom transport.
260
+ (0, jostraca_1.Content)(lang.featureKind);
261
+ (0, jostraca_1.Content)(`The SDK ships with built-in features:
279
262
 
280
263
  `);
281
- }
282
- else if (target.name === 'lua') {
283
- (0, jostraca_1.Content)(`\`direct()\` gives full control over the HTTP request. Use it for
284
- non-standard endpoints, bulk operations, or any path not modelled as
285
- an entity. \`prepare()\` builds the request without sending it \u2014 useful
286
- for debugging or custom transport.
264
+ (0, jostraca_1.each)(feature, (feat) => {
265
+ if (!feat.active)
266
+ return;
267
+ if (!feat.Name)
268
+ (0, jostraca_1.names)(feat, feat.name);
269
+ const purpose = feat.title || feat.Name || feat.name;
270
+ (0, jostraca_1.Content)(`- **${feat.Name}Feature**: ${purpose}
271
+ `);
272
+ });
273
+ (0, jostraca_1.Content)(`
274
+ Features are initialized in order. Hooks fire in the order features
275
+ were added, so later features can override earlier ones.
287
276
 
288
277
  `);
278
+ // Target-specific explanation
279
+ const ReadmeExplanation_sdk = (0, utility_1.requirePath)(ctx$, `./cmp/${target.name}/ReadmeExplanation_${target.name}`, { ignore: true });
280
+ if (ReadmeExplanation_sdk) {
281
+ ReadmeExplanation_sdk['ReadmeExplanation']({ target });
289
282
  }
290
- else if (target.name === 'go') {
291
- (0, jostraca_1.Content)(`\`Direct()\` gives full control over the HTTP request. Use it for
292
- non-standard endpoints, bulk operations, or any path not modelled as
293
- an entity. \`Prepare()\` builds the request without sending it \u2014 useful
294
- for debugging or custom transport.
283
+ // Entity state
284
+ (0, jostraca_1.Content)(`### Entity state
295
285
 
296
286
  `);
297
- }
298
- else {
299
- (0, jostraca_1.Content)(`The \`direct\` method gives full control over the HTTP request. Use it
300
- for non-standard endpoints, bulk operations, or any path not modelled
301
- as an entity. The \`prepare\` method is useful for debugging \u2014 it
302
- shows exactly what \`direct\` would send.
287
+ (0, jostraca_1.Content)(lang.entityState(eName, eLower, primaryOp, stateArg, matchIdF, idLit));
288
+ // Direct vs entity access
289
+ (0, jostraca_1.Content)(`### Direct vs entity access
290
+
291
+ The entity interface handles URL construction, parameter placement,
292
+ and response parsing automatically. Use it for standard CRUD operations.
303
293
 
304
294
  `);
305
- }
295
+ (0, jostraca_1.Content)(lang.direct);
306
296
  });
307
297
  exports.ReadmeExplanation = ReadmeExplanation;
308
298
  //# sourceMappingURL=ReadmeExplanation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReadmeExplanation.js","sourceRoot":"","sources":["../../src/cmp/ReadmeExplanation.ts"],"names":[],"mappings":";;;AACA,uCAAoD;AAEpD,oCAGiB;AAEjB,wCAAwC;AAGxC,MAAM,iBAAiB,GAAG,IAAA,cAAG,EAAC,SAAS,iBAAiB,CAAC,KAAU;IACjE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,CAAA;IAC9B,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAA;IAEtB,MAAM,OAAO,GAAG,IAAA,oBAAY,EAAC,KAAK,EAAE,QAAQ,WAAG,UAAU,CAAC,CAAA;IAE1D,IAAA,kBAAO,EAAC;;;;;;;;;;;;;;;;;;;;;;;CAuBT,CAAC,CAAA;IAEA,oCAAoC;IACpC,IAAI,MAAM,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;QACzB,IAAA,kBAAO,EAAC;;;CAGX,CAAC,CAAA;IACA,CAAC;SACI,IAAI,MAAM,CAAC,IAAI,KAAK,KAAK,EAAE,CAAC;QAC/B,IAAA,kBAAO,EAAC;;;CAGX,CAAC,CAAA;IACA,CAAC;SACI,IAAI,MAAM,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9B,IAAA,kBAAO,EAAC;;;CAGX,CAAC,CAAA;IACA,CAAC;SACI,IAAI,MAAM,CAAC,IAAI,KAAK,KAAK,EAAE,CAAC;QAC/B,IAAA,kBAAO,EAAC;;;CAGX,CAAC,CAAA;IACA,CAAC;SACI,IAAI,MAAM,CAA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,eAAe;IACf,IAAA,kBAAO,EAAC;;CAET,CAAC,CAAA;IAEA,IAAA,kBAAO,EAAC,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAA;IAG9E,0BAA0B;IAC1B,IAAA,kBAAO,EAAC;;;;;CAKT,CAAC,CAAA;IAEA,IAAA,kBAAO,EAAC,IAAI,CAAC,MAAM,CAAC,CAAA;AAEtB,CAAC,CAAC,CAAA;AAIA,8CAAiB"}
@@ -7,6 +7,10 @@ const utility_1 = require("../utility");
7
7
  const ReadmeModel = (0, jostraca_1.cmp)(function ReadmeModel(props) {
8
8
  const { target, ctx$ } = props;
9
9
  const { model } = ctx$;
10
+ // Guard the Name case variant so the reference header never renders
11
+ // "undefinedSDK" if apidef did not populate it.
12
+ if (model.name && !model.Name)
13
+ (0, jostraca_1.names)(model, model.name);
10
14
  const entity = (0, types_1.getModelPath)(model, `main.${types_1.KIT}.entity`);
11
15
  const entityList = (0, jostraca_1.each)(entity).filter((e) => e.active !== false);
12
16
  (0, jostraca_1.Content)(`
@@ -47,7 +51,8 @@ ${apikeyRow}| \`base\` | \`string\` | Base URL of the API server. |
47
51
  | --- | --- | --- |
48
52
  `);
49
53
  (0, jostraca_1.each)(entityList, (ent) => {
50
- (0, jostraca_1.Content)(`| \`${ent.Name}(data?)\` | \`${ent.Name}Entity\` | Create a ${ent.Name} entity instance. |
54
+ const article = /^[aeiou]/i.test(ent.Name) ? 'an' : 'a';
55
+ (0, jostraca_1.Content)(`| \`${ent.Name}(data?)\` | \`${ent.Name}Entity\` | Create ${article} ${ent.Name} entity instance. |
51
56
  `);
52
57
  });
53
58
  (0, jostraca_1.Content)(`| \`options()\` | \`object\` | Deep copy of current SDK options. |
@@ -1 +1 @@
1
- {"version":3,"file":"ReadmeModel.js","sourceRoot":"","sources":["../../src/cmp/ReadmeModel.ts"],"names":[],"mappings":";;;AACA,uCAA6C;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