bitbadges 0.35.1 → 0.35.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 (319) hide show
  1. package/dist/cjs/builder/agent/BitBadgesBuilderAgent.d.ts +2 -0
  2. package/dist/cjs/builder/agent/BitBadgesBuilderAgent.d.ts.map +1 -1
  3. package/dist/cjs/builder/agent/BitBadgesBuilderAgent.js +46 -2
  4. package/dist/cjs/builder/agent/BitBadgesBuilderAgent.js.map +1 -1
  5. package/dist/cjs/builder/agent/loop.d.ts.map +1 -1
  6. package/dist/cjs/builder/agent/loop.js +19 -2
  7. package/dist/cjs/builder/agent/loop.js.map +1 -1
  8. package/dist/cjs/builder/agent/prompt.d.ts +7 -6
  9. package/dist/cjs/builder/agent/prompt.d.ts.map +1 -1
  10. package/dist/cjs/builder/agent/prompt.js +128 -30
  11. package/dist/cjs/builder/agent/prompt.js.map +1 -1
  12. package/dist/cjs/builder/agent/types.d.ts +16 -0
  13. package/dist/cjs/builder/agent/types.d.ts.map +1 -1
  14. package/dist/cjs/builder/agent/validation.d.ts +2 -0
  15. package/dist/cjs/builder/agent/validation.d.ts.map +1 -1
  16. package/dist/cjs/builder/agent/validation.js +12 -1
  17. package/dist/cjs/builder/agent/validation.js.map +1 -1
  18. package/dist/cjs/builder/presets/address-list.d.ts +3 -0
  19. package/dist/cjs/builder/presets/address-list.d.ts.map +1 -0
  20. package/dist/cjs/builder/presets/address-list.js +66 -0
  21. package/dist/cjs/builder/presets/address-list.js.map +1 -0
  22. package/dist/cjs/builder/presets/auction.d.ts +3 -0
  23. package/dist/cjs/builder/presets/auction.d.ts.map +1 -0
  24. package/dist/cjs/builder/presets/auction.js +98 -0
  25. package/dist/cjs/builder/presets/auction.js.map +1 -0
  26. package/dist/cjs/builder/presets/bounty.d.ts +3 -0
  27. package/dist/cjs/builder/presets/bounty.d.ts.map +1 -0
  28. package/dist/cjs/builder/presets/bounty.js +183 -0
  29. package/dist/cjs/builder/presets/bounty.js.map +1 -0
  30. package/dist/cjs/builder/presets/credit-token.d.ts +3 -0
  31. package/dist/cjs/builder/presets/credit-token.d.ts.map +1 -0
  32. package/dist/cjs/builder/presets/credit-token.js +96 -0
  33. package/dist/cjs/builder/presets/credit-token.js.map +1 -0
  34. package/dist/cjs/builder/presets/crowdfund.d.ts +3 -0
  35. package/dist/cjs/builder/presets/crowdfund.d.ts.map +1 -0
  36. package/dist/cjs/builder/presets/crowdfund.js +263 -0
  37. package/dist/cjs/builder/presets/crowdfund.js.map +1 -0
  38. package/dist/cjs/builder/presets/custom-2fa.d.ts +3 -0
  39. package/dist/cjs/builder/presets/custom-2fa.d.ts.map +1 -0
  40. package/dist/cjs/builder/presets/custom-2fa.js +38 -0
  41. package/dist/cjs/builder/presets/custom-2fa.js.map +1 -0
  42. package/dist/cjs/builder/presets/index.d.ts +8 -0
  43. package/dist/cjs/builder/presets/index.d.ts.map +1 -0
  44. package/dist/cjs/builder/presets/index.js +115 -0
  45. package/dist/cjs/builder/presets/index.js.map +1 -0
  46. package/dist/cjs/builder/presets/payment-protocol.d.ts +3 -0
  47. package/dist/cjs/builder/presets/payment-protocol.d.ts.map +1 -0
  48. package/dist/cjs/builder/presets/payment-protocol.js +58 -0
  49. package/dist/cjs/builder/presets/payment-protocol.js.map +1 -0
  50. package/dist/cjs/builder/presets/prediction-market.d.ts +3 -0
  51. package/dist/cjs/builder/presets/prediction-market.d.ts.map +1 -0
  52. package/dist/cjs/builder/presets/prediction-market.js +283 -0
  53. package/dist/cjs/builder/presets/prediction-market.js.map +1 -0
  54. package/dist/cjs/builder/presets/products.d.ts +3 -0
  55. package/dist/cjs/builder/presets/products.d.ts.map +1 -0
  56. package/dist/cjs/builder/presets/products.js +132 -0
  57. package/dist/cjs/builder/presets/products.js.map +1 -0
  58. package/dist/cjs/builder/presets/subscription.d.ts +8 -0
  59. package/dist/cjs/builder/presets/subscription.d.ts.map +1 -0
  60. package/dist/cjs/builder/presets/subscription.js +75 -0
  61. package/dist/cjs/builder/presets/subscription.js.map +1 -0
  62. package/dist/cjs/builder/presets/tradable.d.ts +3 -0
  63. package/dist/cjs/builder/presets/tradable.d.ts.map +1 -0
  64. package/dist/cjs/builder/presets/tradable.js +32 -0
  65. package/dist/cjs/builder/presets/tradable.js.map +1 -0
  66. package/dist/cjs/builder/presets/types.d.ts +18 -0
  67. package/dist/cjs/builder/presets/types.d.ts.map +1 -0
  68. package/dist/cjs/builder/presets/types.js +3 -0
  69. package/dist/cjs/builder/presets/types.js.map +1 -0
  70. package/dist/cjs/builder/resources/skillInstructions.d.ts.map +1 -1
  71. package/dist/cjs/builder/resources/skillInstructions.js +253 -84
  72. package/dist/cjs/builder/resources/skillInstructions.js.map +1 -1
  73. package/dist/cjs/builder/session/reviewFlagSanitizer.d.ts +4 -0
  74. package/dist/cjs/builder/session/reviewFlagSanitizer.d.ts.map +1 -0
  75. package/dist/cjs/builder/session/reviewFlagSanitizer.js +65 -0
  76. package/dist/cjs/builder/session/reviewFlagSanitizer.js.map +1 -0
  77. package/dist/cjs/builder/session/reviewFlagSanitizer.spec.d.ts +2 -0
  78. package/dist/cjs/builder/session/reviewFlagSanitizer.spec.d.ts.map +1 -0
  79. package/dist/cjs/builder/session/reviewFlagSanitizer.spec.js +79 -0
  80. package/dist/cjs/builder/session/reviewFlagSanitizer.spec.js.map +1 -0
  81. package/dist/cjs/builder/session/sessionState.d.ts +4 -0
  82. package/dist/cjs/builder/session/sessionState.d.ts.map +1 -1
  83. package/dist/cjs/builder/session/sessionState.js +27 -1
  84. package/dist/cjs/builder/session/sessionState.js.map +1 -1
  85. package/dist/cjs/builder/tools/queries/index.d.ts +1 -0
  86. package/dist/cjs/builder/tools/queries/index.d.ts.map +1 -1
  87. package/dist/cjs/builder/tools/queries/index.js +1 -0
  88. package/dist/cjs/builder/tools/queries/index.js.map +1 -1
  89. package/dist/cjs/builder/tools/queries/listPresets.d.ts +28 -0
  90. package/dist/cjs/builder/tools/queries/listPresets.d.ts.map +1 -0
  91. package/dist/cjs/builder/tools/queries/listPresets.js +34 -0
  92. package/dist/cjs/builder/tools/queries/listPresets.js.map +1 -0
  93. package/dist/cjs/builder/tools/queries/simulateTransaction.d.ts +15 -7
  94. package/dist/cjs/builder/tools/queries/simulateTransaction.d.ts.map +1 -1
  95. package/dist/cjs/builder/tools/queries/simulateTransaction.js +56 -17
  96. package/dist/cjs/builder/tools/queries/simulateTransaction.js.map +1 -1
  97. package/dist/cjs/builder/tools/registry.d.ts.map +1 -1
  98. package/dist/cjs/builder/tools/registry.js +3 -1
  99. package/dist/cjs/builder/tools/registry.js.map +1 -1
  100. package/dist/cjs/builder/tools/session/addAliasPath.d.ts.map +1 -1
  101. package/dist/cjs/builder/tools/session/addAliasPath.js +12 -0
  102. package/dist/cjs/builder/tools/session/addAliasPath.js.map +1 -1
  103. package/dist/cjs/builder/tools/session/addPresetApproval.d.ts +72 -0
  104. package/dist/cjs/builder/tools/session/addPresetApproval.d.ts.map +1 -0
  105. package/dist/cjs/builder/tools/session/addPresetApproval.js +83 -0
  106. package/dist/cjs/builder/tools/session/addPresetApproval.js.map +1 -0
  107. package/dist/cjs/builder/tools/session/getTransaction.d.ts.map +1 -1
  108. package/dist/cjs/builder/tools/session/getTransaction.js +37 -1
  109. package/dist/cjs/builder/tools/session/getTransaction.js.map +1 -1
  110. package/dist/cjs/builder/tools/session/index.d.ts +1 -0
  111. package/dist/cjs/builder/tools/session/index.d.ts.map +1 -1
  112. package/dist/cjs/builder/tools/session/index.js +1 -0
  113. package/dist/cjs/builder/tools/session/index.js.map +1 -1
  114. package/dist/cjs/builder/tools/session/setPermissions.d.ts +2 -2
  115. package/dist/cjs/builder/tools/utilities/flagReviewItem.d.ts +75 -0
  116. package/dist/cjs/builder/tools/utilities/flagReviewItem.d.ts.map +1 -0
  117. package/dist/cjs/builder/tools/utilities/flagReviewItem.js +83 -0
  118. package/dist/cjs/builder/tools/utilities/flagReviewItem.js.map +1 -0
  119. package/dist/cjs/builder/tools/utilities/index.d.ts +1 -0
  120. package/dist/cjs/builder/tools/utilities/index.d.ts.map +1 -1
  121. package/dist/cjs/builder/tools/utilities/index.js +1 -0
  122. package/dist/cjs/builder/tools/utilities/index.js.map +1 -1
  123. package/dist/cjs/cli/commands/builder.js +12 -1
  124. package/dist/cjs/cli/commands/builder.js.map +1 -1
  125. package/dist/cjs/cli/utils/terminal.d.ts +24 -0
  126. package/dist/cjs/cli/utils/terminal.d.ts.map +1 -1
  127. package/dist/cjs/cli/utils/terminal.js +60 -0
  128. package/dist/cjs/cli/utils/terminal.js.map +1 -1
  129. package/dist/cjs/core/design-decisions/backing.d.ts +3 -0
  130. package/dist/cjs/core/design-decisions/backing.d.ts.map +1 -0
  131. package/dist/cjs/core/design-decisions/backing.js +38 -0
  132. package/dist/cjs/core/design-decisions/backing.js.map +1 -0
  133. package/dist/cjs/core/design-decisions/index.d.ts +9 -0
  134. package/dist/cjs/core/design-decisions/index.d.ts.map +1 -0
  135. package/dist/cjs/core/design-decisions/index.js +45 -0
  136. package/dist/cjs/core/design-decisions/index.js.map +1 -0
  137. package/dist/cjs/core/design-decisions/index.spec.d.ts +2 -0
  138. package/dist/cjs/core/design-decisions/index.spec.d.ts.map +1 -0
  139. package/dist/cjs/core/design-decisions/index.spec.js +161 -0
  140. package/dist/cjs/core/design-decisions/index.spec.js.map +1 -0
  141. package/dist/cjs/core/design-decisions/standards.d.ts +3 -0
  142. package/dist/cjs/core/design-decisions/standards.d.ts.map +1 -0
  143. package/dist/cjs/core/design-decisions/standards.js +58 -0
  144. package/dist/cjs/core/design-decisions/standards.js.map +1 -0
  145. package/dist/cjs/core/design-decisions/supply.d.ts +3 -0
  146. package/dist/cjs/core/design-decisions/supply.d.ts.map +1 -0
  147. package/dist/cjs/core/design-decisions/supply.js +33 -0
  148. package/dist/cjs/core/design-decisions/supply.js.map +1 -0
  149. package/dist/cjs/core/design-decisions/transferability.d.ts +3 -0
  150. package/dist/cjs/core/design-decisions/transferability.d.ts.map +1 -0
  151. package/dist/cjs/core/design-decisions/transferability.js +52 -0
  152. package/dist/cjs/core/design-decisions/transferability.js.map +1 -0
  153. package/dist/cjs/core/index.d.ts +2 -0
  154. package/dist/cjs/core/index.d.ts.map +1 -1
  155. package/dist/cjs/core/index.js +7 -1
  156. package/dist/cjs/core/index.js.map +1 -1
  157. package/dist/cjs/core/review-types.d.ts +17 -0
  158. package/dist/cjs/core/review-types.d.ts.map +1 -1
  159. package/dist/cjs/tsconfig.build.tsbuildinfo +1 -1
  160. package/dist/esm/builder/agent/BitBadgesBuilderAgent.d.ts +2 -0
  161. package/dist/esm/builder/agent/BitBadgesBuilderAgent.d.ts.map +1 -1
  162. package/dist/esm/builder/agent/BitBadgesBuilderAgent.js +47 -3
  163. package/dist/esm/builder/agent/BitBadgesBuilderAgent.js.map +1 -1
  164. package/dist/esm/builder/agent/loop.d.ts.map +1 -1
  165. package/dist/esm/builder/agent/loop.js +19 -2
  166. package/dist/esm/builder/agent/loop.js.map +1 -1
  167. package/dist/esm/builder/agent/prompt.d.ts +7 -6
  168. package/dist/esm/builder/agent/prompt.d.ts.map +1 -1
  169. package/dist/esm/builder/agent/prompt.js +127 -29
  170. package/dist/esm/builder/agent/prompt.js.map +1 -1
  171. package/dist/esm/builder/agent/types.d.ts +16 -0
  172. package/dist/esm/builder/agent/types.d.ts.map +1 -1
  173. package/dist/esm/builder/agent/validation.d.ts +2 -0
  174. package/dist/esm/builder/agent/validation.d.ts.map +1 -1
  175. package/dist/esm/builder/agent/validation.js +12 -1
  176. package/dist/esm/builder/agent/validation.js.map +1 -1
  177. package/dist/esm/builder/presets/address-list.d.ts +3 -0
  178. package/dist/esm/builder/presets/address-list.d.ts.map +1 -0
  179. package/dist/esm/builder/presets/address-list.js +63 -0
  180. package/dist/esm/builder/presets/address-list.js.map +1 -0
  181. package/dist/esm/builder/presets/auction.d.ts +3 -0
  182. package/dist/esm/builder/presets/auction.d.ts.map +1 -0
  183. package/dist/esm/builder/presets/auction.js +95 -0
  184. package/dist/esm/builder/presets/auction.js.map +1 -0
  185. package/dist/esm/builder/presets/bounty.d.ts +3 -0
  186. package/dist/esm/builder/presets/bounty.d.ts.map +1 -0
  187. package/dist/esm/builder/presets/bounty.js +180 -0
  188. package/dist/esm/builder/presets/bounty.js.map +1 -0
  189. package/dist/esm/builder/presets/credit-token.d.ts +3 -0
  190. package/dist/esm/builder/presets/credit-token.d.ts.map +1 -0
  191. package/dist/esm/builder/presets/credit-token.js +93 -0
  192. package/dist/esm/builder/presets/credit-token.js.map +1 -0
  193. package/dist/esm/builder/presets/crowdfund.d.ts +3 -0
  194. package/dist/esm/builder/presets/crowdfund.d.ts.map +1 -0
  195. package/dist/esm/builder/presets/crowdfund.js +260 -0
  196. package/dist/esm/builder/presets/crowdfund.js.map +1 -0
  197. package/dist/esm/builder/presets/custom-2fa.d.ts +3 -0
  198. package/dist/esm/builder/presets/custom-2fa.d.ts.map +1 -0
  199. package/dist/esm/builder/presets/custom-2fa.js +35 -0
  200. package/dist/esm/builder/presets/custom-2fa.js.map +1 -0
  201. package/dist/esm/builder/presets/index.d.ts +8 -0
  202. package/dist/esm/builder/presets/index.d.ts.map +1 -0
  203. package/dist/esm/builder/presets/index.js +110 -0
  204. package/dist/esm/builder/presets/index.js.map +1 -0
  205. package/dist/esm/builder/presets/payment-protocol.d.ts +3 -0
  206. package/dist/esm/builder/presets/payment-protocol.d.ts.map +1 -0
  207. package/dist/esm/builder/presets/payment-protocol.js +55 -0
  208. package/dist/esm/builder/presets/payment-protocol.js.map +1 -0
  209. package/dist/esm/builder/presets/prediction-market.d.ts +3 -0
  210. package/dist/esm/builder/presets/prediction-market.d.ts.map +1 -0
  211. package/dist/esm/builder/presets/prediction-market.js +280 -0
  212. package/dist/esm/builder/presets/prediction-market.js.map +1 -0
  213. package/dist/esm/builder/presets/products.d.ts +3 -0
  214. package/dist/esm/builder/presets/products.d.ts.map +1 -0
  215. package/dist/esm/builder/presets/products.js +129 -0
  216. package/dist/esm/builder/presets/products.js.map +1 -0
  217. package/dist/esm/builder/presets/subscription.d.ts +8 -0
  218. package/dist/esm/builder/presets/subscription.d.ts.map +1 -0
  219. package/dist/esm/builder/presets/subscription.js +72 -0
  220. package/dist/esm/builder/presets/subscription.js.map +1 -0
  221. package/dist/esm/builder/presets/tradable.d.ts +3 -0
  222. package/dist/esm/builder/presets/tradable.d.ts.map +1 -0
  223. package/dist/esm/builder/presets/tradable.js +29 -0
  224. package/dist/esm/builder/presets/tradable.js.map +1 -0
  225. package/dist/esm/builder/presets/types.d.ts +18 -0
  226. package/dist/esm/builder/presets/types.d.ts.map +1 -0
  227. package/dist/esm/builder/presets/types.js +2 -0
  228. package/dist/esm/builder/presets/types.js.map +1 -0
  229. package/dist/esm/builder/resources/skillInstructions.d.ts.map +1 -1
  230. package/dist/esm/builder/resources/skillInstructions.js +253 -84
  231. package/dist/esm/builder/resources/skillInstructions.js.map +1 -1
  232. package/dist/esm/builder/session/reviewFlagSanitizer.d.ts +4 -0
  233. package/dist/esm/builder/session/reviewFlagSanitizer.d.ts.map +1 -0
  234. package/dist/esm/builder/session/reviewFlagSanitizer.js +61 -0
  235. package/dist/esm/builder/session/reviewFlagSanitizer.js.map +1 -0
  236. package/dist/esm/builder/session/reviewFlagSanitizer.spec.d.ts +2 -0
  237. package/dist/esm/builder/session/reviewFlagSanitizer.spec.d.ts.map +1 -0
  238. package/dist/esm/builder/session/reviewFlagSanitizer.spec.js +77 -0
  239. package/dist/esm/builder/session/reviewFlagSanitizer.spec.js.map +1 -0
  240. package/dist/esm/builder/session/sessionState.d.ts +4 -0
  241. package/dist/esm/builder/session/sessionState.d.ts.map +1 -1
  242. package/dist/esm/builder/session/sessionState.js +24 -1
  243. package/dist/esm/builder/session/sessionState.js.map +1 -1
  244. package/dist/esm/builder/tools/queries/index.d.ts +1 -0
  245. package/dist/esm/builder/tools/queries/index.d.ts.map +1 -1
  246. package/dist/esm/builder/tools/queries/index.js +1 -0
  247. package/dist/esm/builder/tools/queries/index.js.map +1 -1
  248. package/dist/esm/builder/tools/queries/listPresets.d.ts +28 -0
  249. package/dist/esm/builder/tools/queries/listPresets.d.ts.map +1 -0
  250. package/dist/esm/builder/tools/queries/listPresets.js +30 -0
  251. package/dist/esm/builder/tools/queries/listPresets.js.map +1 -0
  252. package/dist/esm/builder/tools/queries/simulateTransaction.d.ts +15 -7
  253. package/dist/esm/builder/tools/queries/simulateTransaction.d.ts.map +1 -1
  254. package/dist/esm/builder/tools/queries/simulateTransaction.js +56 -17
  255. package/dist/esm/builder/tools/queries/simulateTransaction.js.map +1 -1
  256. package/dist/esm/builder/tools/registry.d.ts.map +1 -1
  257. package/dist/esm/builder/tools/registry.js +4 -2
  258. package/dist/esm/builder/tools/registry.js.map +1 -1
  259. package/dist/esm/builder/tools/session/addAliasPath.d.ts.map +1 -1
  260. package/dist/esm/builder/tools/session/addAliasPath.js +12 -0
  261. package/dist/esm/builder/tools/session/addAliasPath.js.map +1 -1
  262. package/dist/esm/builder/tools/session/addPresetApproval.d.ts +72 -0
  263. package/dist/esm/builder/tools/session/addPresetApproval.d.ts.map +1 -0
  264. package/dist/esm/builder/tools/session/addPresetApproval.js +79 -0
  265. package/dist/esm/builder/tools/session/addPresetApproval.js.map +1 -0
  266. package/dist/esm/builder/tools/session/getTransaction.d.ts.map +1 -1
  267. package/dist/esm/builder/tools/session/getTransaction.js +37 -1
  268. package/dist/esm/builder/tools/session/getTransaction.js.map +1 -1
  269. package/dist/esm/builder/tools/session/index.d.ts +1 -0
  270. package/dist/esm/builder/tools/session/index.d.ts.map +1 -1
  271. package/dist/esm/builder/tools/session/index.js +1 -0
  272. package/dist/esm/builder/tools/session/index.js.map +1 -1
  273. package/dist/esm/builder/tools/session/setPermissions.d.ts +2 -2
  274. package/dist/esm/builder/tools/utilities/flagReviewItem.d.ts +75 -0
  275. package/dist/esm/builder/tools/utilities/flagReviewItem.d.ts.map +1 -0
  276. package/dist/esm/builder/tools/utilities/flagReviewItem.js +79 -0
  277. package/dist/esm/builder/tools/utilities/flagReviewItem.js.map +1 -0
  278. package/dist/esm/builder/tools/utilities/index.d.ts +1 -0
  279. package/dist/esm/builder/tools/utilities/index.d.ts.map +1 -1
  280. package/dist/esm/builder/tools/utilities/index.js +1 -0
  281. package/dist/esm/builder/tools/utilities/index.js.map +1 -1
  282. package/dist/esm/cli/commands/builder.js +12 -1
  283. package/dist/esm/cli/commands/builder.js.map +1 -1
  284. package/dist/esm/cli/utils/terminal.d.ts +24 -0
  285. package/dist/esm/cli/utils/terminal.d.ts.map +1 -1
  286. package/dist/esm/cli/utils/terminal.js +59 -0
  287. package/dist/esm/cli/utils/terminal.js.map +1 -1
  288. package/dist/esm/core/design-decisions/backing.d.ts +3 -0
  289. package/dist/esm/core/design-decisions/backing.d.ts.map +1 -0
  290. package/dist/esm/core/design-decisions/backing.js +35 -0
  291. package/dist/esm/core/design-decisions/backing.js.map +1 -0
  292. package/dist/esm/core/design-decisions/index.d.ts +9 -0
  293. package/dist/esm/core/design-decisions/index.d.ts.map +1 -0
  294. package/dist/esm/core/design-decisions/index.js +38 -0
  295. package/dist/esm/core/design-decisions/index.js.map +1 -0
  296. package/dist/esm/core/design-decisions/index.spec.d.ts +2 -0
  297. package/dist/esm/core/design-decisions/index.spec.d.ts.map +1 -0
  298. package/dist/esm/core/design-decisions/index.spec.js +159 -0
  299. package/dist/esm/core/design-decisions/index.spec.js.map +1 -0
  300. package/dist/esm/core/design-decisions/standards.d.ts +3 -0
  301. package/dist/esm/core/design-decisions/standards.d.ts.map +1 -0
  302. package/dist/esm/core/design-decisions/standards.js +55 -0
  303. package/dist/esm/core/design-decisions/standards.js.map +1 -0
  304. package/dist/esm/core/design-decisions/supply.d.ts +3 -0
  305. package/dist/esm/core/design-decisions/supply.d.ts.map +1 -0
  306. package/dist/esm/core/design-decisions/supply.js +30 -0
  307. package/dist/esm/core/design-decisions/supply.js.map +1 -0
  308. package/dist/esm/core/design-decisions/transferability.d.ts +3 -0
  309. package/dist/esm/core/design-decisions/transferability.d.ts.map +1 -0
  310. package/dist/esm/core/design-decisions/transferability.js +49 -0
  311. package/dist/esm/core/design-decisions/transferability.js.map +1 -0
  312. package/dist/esm/core/index.d.ts +2 -0
  313. package/dist/esm/core/index.d.ts.map +1 -1
  314. package/dist/esm/core/index.js +1 -0
  315. package/dist/esm/core/index.js.map +1 -1
  316. package/dist/esm/core/review-types.d.ts +17 -0
  317. package/dist/esm/core/review-types.d.ts.map +1 -1
  318. package/dist/esm/tsconfig-esm.build.tsbuildinfo +1 -1
  319. package/package.json +1 -1
@@ -212,7 +212,20 @@ For wrapping native Cosmos SDK coins, use \`allowSpecialWrapping: true\` and \`c
212
212
 
213
213
  ### Optional: Unbacking Withdraw Limits
214
214
 
215
- Add approvalAmounts to the unbacking approval to enforce daily or total withdraw limits:
215
+ Add approvalAmounts to the unbacking approval to enforce daily or total withdraw limits.
216
+
217
+ **CRITICAL — approvalAmounts are in BASE UNITS, not display units.** The value you write is in the alias denom's base units (e.g. \`uusdc\`, \`uatom\`), NOT the display unit (USDC, ATOM). You MUST convert by multiplying the user's stated amount by 10^decimals.
218
+
219
+ For a 6-decimal denom (USDC, ATOM, vUSDC, etc.):
220
+
221
+ | User says (display) | Write as (base units) |
222
+ |-------------------------|-----------------------|
223
+ | 1 USDC / day | "1000000" |
224
+ | 100 USDC / day | "100000000" |
225
+ | **1000 USDC / day** | **"1000000000"** (nine zeros, NOT six) |
226
+ | 10000 USDC / day | "10000000000" |
227
+
228
+ Formula: \`base_units = display_amount * 10^decimals\`. For 6 decimals, that's **display_amount followed by six zeros**. Always sanity-check: 1 display unit = 10^decimals base units, so "1000000" (six zeros) = 1 display unit, NOT 1000. A common mistake is to compute "1000 × 10^6 = 1000000" (wrong; it's 1,000,000,000).
216
229
 
217
230
  \`\`\`json
218
231
  {
@@ -222,7 +235,7 @@ Add approvalAmounts to the unbacking approval to enforce daily or total withdraw
222
235
  "overridesFromOutgoingApprovals": false,
223
236
  "approvalAmounts": {
224
237
  "overallApprovalAmount": "0",
225
- "perFromAddressApprovalAmount": "1000000",
238
+ "perFromAddressApprovalAmount": "1000000000",
226
239
  "perToAddressApprovalAmount": "0",
227
240
  "perInitiatedByAddressApprovalAmount": "0",
228
241
  "amountTrackerId": "daily-withdraw-limit",
@@ -232,9 +245,12 @@ Add approvalAmounts to the unbacking approval to enforce daily or total withdraw
232
245
  }
233
246
  \`\`\`
234
247
 
248
+ The example above encodes a **1000 USDC/day** limit (1000 × 10^6 = 1,000,000,000 base units).
249
+
235
250
  - **Daily limit**: Use perFromAddressApprovalAmount with resetTimeIntervals.intervalLength: "86400000" (24 hours in ms)
236
251
  - **Total limit**: Use overallApprovalAmount with intervalLength: "0" (no reset)
237
252
  - amountTrackerId must be unique per approval
253
+ - **When refining**: if the user reports "rate is X currently" and the on-chain value is already in base units, compare apples to apples — convert their stated X to base units via the formula above BEFORE concluding whether the current value matches.
238
254
 
239
255
  ### Optional: 2FA on Unbacking
240
256
 
@@ -273,7 +289,7 @@ Require ownership of a 2FA token to withdraw. Add mustOwnTokens to the unbacking
273
289
  1. **NO fromListId: "Mint" approvals**: Tokens are created via IBC backing, not traditional minting
274
290
  2. **Use allowBackedMinting: true** in both backing and unbacking approvals
275
291
  3. **Use mustPrioritize: true** (required for IBC backed operations)
276
- 4. **Backing approval**: overridesFromOutgoingApprovals: true is RECOMMENDED (backing addresses auto-set their approvals, so it works either way, but true is good practice). **Unbacking approval**: MUST be false (sender is a regular user)
292
+ 4. **overridesFromOutgoingApprovals**: leave unset or false on BOTH backing and unbacking approvals. The backing address is protocol-controlled but we still manage its approvals at the protocol level — treat it like any regular user whose outgoing approvals are externally managed. Don't set \`overridesFromOutgoingApprovals: true\` as a "best practice" — adding overrides where they aren't needed is actively worse than omitting them.
277
293
  5. **Unbacking fromListId**: Use \`!Mint:backingAddress\` syntax — excludes both Mint and backing address so only regular holders can send tokens back
278
294
  6. **MUST create backing + unbacking approvals**. Transferable approval is common but optional (omit for vaults/escrows)
279
295
  7. **MUST configure alias path** with matching decimals
@@ -811,6 +827,24 @@ IMPORTANT: predeterminedBalances and approvalAmounts are INCOMPATIBLE — use on
811
827
 
812
828
  When creating a subscription collection, you MUST follow these EXACT requirements:
813
829
 
830
+ ### Preferred path: preset (one short tool call)
831
+
832
+ The faucet approval is fully canonical. Use \`subscription.faucet\`:
833
+
834
+ \`\`\`
835
+ add_preset_approval({
836
+ presetId: "subscription.faucet",
837
+ params: {
838
+ paymentRecipient: "bb1...",
839
+ paymentDenom: "<ibc/... or native>",
840
+ paymentAmount: "<base units>",
841
+ durationMs: "2592000000" // monthly; daily="86400000", annual="31536000000"
842
+ }
843
+ })
844
+ \`\`\`
845
+
846
+ \`list_presets({skill: "subscription"})\` for params. Fall back to \`add_approval\` for exotic variants (multi-token tiers, manager-only mints, etc.).
847
+
814
848
  ### Required Structure
815
849
 
816
850
  1. **Standards**: MUST include "Subscriptions"
@@ -1094,6 +1128,16 @@ Three common permission configurations:
1094
1128
 
1095
1129
  When creating a Custom-2FA collection, follow these requirements:
1096
1130
 
1131
+ ### Preferred path: preset (one short tool call)
1132
+
1133
+ The mint approval is canonical — use \`custom-2fa.mint\`:
1134
+
1135
+ \`\`\`
1136
+ add_preset_approval({ presetId: "custom-2fa.mint", params: { managerAddress: "bb1..." } })
1137
+ \`\`\`
1138
+
1139
+ The actual token expiration is set per-mint via the MsgTransferTokens \`ownershipTimes\` window (e.g. now → now + 5*60*1000 ms). The approval itself just enables the Mint path with auto-purge.
1140
+
1097
1141
  ### Required Structure
1098
1142
 
1099
1143
  1. **Standards**: MUST include "Custom-2FA"
@@ -1467,6 +1511,23 @@ Use Approach 1 only for simple scenarios like: "create an invoice for 10 BADGE"
1467
1511
 
1468
1512
  Each approval is an invoice/milestone with coinTransfers. Uses the **ListView** display standard. Only for simple one-shot payments — no escrow, no hold-and-release, no refunds.
1469
1513
 
1514
+ **Preferred path: preset per line item.** Each invoice / milestone / bounty entry has a canonical shape — use \`payment-protocol.invoice\`:
1515
+
1516
+ \`\`\`
1517
+ add_preset_approval({
1518
+ presetId: "payment-protocol.invoice",
1519
+ params: {
1520
+ approvalId: "invoice-1",
1521
+ payerAddress: "bb1...",
1522
+ payeeAddress: "bb1...",
1523
+ amount: "<base units>",
1524
+ denom: "<denom>"
1525
+ }
1526
+ })
1527
+ \`\`\`
1528
+
1529
+ Call once per line item. For escrow / hold-and-release (Approach 2) use the smart-token skill.
1530
+
1470
1531
  **Required:**
1471
1532
  - Standards: ["ListView:Milestones"] or ["ListView:Invoice Requests"] or ["ListView:Bounties"]
1472
1533
  - Each item = one collection-level approval with:
@@ -1638,6 +1699,14 @@ The primitives (mustOwnTokens, transferTimes, votingChallenges, amount caps, bal
1638
1699
 
1639
1700
  When enabling trading for NFTs, follow these requirements:
1640
1701
 
1702
+ ### Preferred path: preset (one short tool call)
1703
+
1704
+ The free-transfer approval is fully canonical (takes no params):
1705
+
1706
+ \`\`\`
1707
+ add_preset_approval({ presetId: "tradable.transferable", params: {} })
1708
+ \`\`\`
1709
+
1641
1710
  ### Required Structure
1642
1711
 
1643
1712
  1. **Standards**: MUST include "NFTMarketplace", "NFTs", and "NFTPricingDenom:ubadge"
@@ -1686,11 +1755,10 @@ When enabling trading for NFTs, follow these requirements:
1686
1755
 
1687
1756
  - Increment-only, non-transferable (soulbound) fungible token purchased with ICS20 denom
1688
1757
  - validTokenIds: [{ "start": "1", "end": "1" }] (single token ID)
1689
- - collectionApprovals: ONLY Mint approvals (no transferable/burnable approvals)
1758
+ - ONE Mint approval with approvalId "credit-scaled" using allowAmountScaling (single scaled approval supersedes the legacy 8-10 tier approach; legacy tiers still supported for backward compat but deprecated)
1690
1759
  - Lock canUpdateCollectionApprovals (empty array = frozen)
1691
1760
  - defaultBalances: autoApproveAllIncomingTransfers: true, autoApproveSelfInitiatedOutgoingTransfers: true, autoApproveSelfInitiatedIncomingTransfers: true
1692
- - All Mint approvals: overridesFromOutgoingApprovals: true, mustPrioritize: true
1693
- - Denomination tiers: create 8-10 approval tiers (credit-1, credit-5, credit-10, etc.) for greedy decomposition
1761
+ - Credit-scaled approval: overridesFromOutgoingApprovals: true, mustPrioritize: true, coinTransfers[0].coins[0].amount = "1" (micro-payment unit)
1694
1762
  - MUST include alias path for display
1695
1763
  - All permissions locked (empty arrays)
1696
1764
  - Key difference from Smart Token: one-way minting only, no backing/unbacking, no transferability`,
@@ -1718,108 +1786,99 @@ Credit tokens are designed for systems that track consumption off-chain. The on-
1718
1786
 
1719
1787
  ### Required Structure
1720
1788
 
1721
- 1. **Standards**: MUST include "Credit Token"
1722
- - \`"standards": ["Credit Token"]\`
1723
-
1724
- 2. **validTokenIds**: Single fungible token ID
1725
- - \`"validTokenIds": [{ "start": "1", "end": "1" }]\`
1726
-
1727
- 3. **Non-transferable (Soulbound)**: Only mint approvals allowed
1728
- - \`collectionApprovals\` should ONLY contain approvals with \`"fromListId": "Mint"\`
1729
- - No transferable-approval or burnable-approval
1730
- - Lock \`canUpdateCollectionApprovals\` (empty array = frozen)
1731
-
1732
- 4. **Auto-approve incoming**: defaultBalances MUST have:
1789
+ 1. **Standards**: \`"standards": ["Credit Token"]\`
1790
+ 2. **validTokenIds**: \`[{ "start": "1", "end": "1" }]\` (single fungible token ID)
1791
+ 3. **One scaled Mint approval** (see "The Scaled Credit Approval" below) — NO other approvals. Credit tokens are soulbound: no transfer, no burn.
1792
+ 4. **defaultBalances** must auto-approve all transfer directions:
1733
1793
  - \`"autoApproveAllIncomingTransfers": true\`
1734
1794
  - \`"autoApproveSelfInitiatedOutgoingTransfers": true\`
1735
1795
  - \`"autoApproveSelfInitiatedIncomingTransfers": true\`
1796
+ 5. **Alias path REQUIRED** for display (see below).
1797
+ 6. **All permissions frozen** (every \`collectionPermissions\` field = \`[]\`).
1736
1798
 
1737
- 5. **Mint Approvals with coinTransfers**: Each approval mints tokens in exchange for payment
1738
- - \`"fromListId": "Mint"\`
1739
- - \`"toListId": "All"\`
1740
- - \`"initiatedByListId": "All"\`
1741
- - \`"overridesFromOutgoingApprovals": true\` (REQUIRED for all Mint approvals)
1742
- - \`"mustPrioritize": true\`
1743
- - \`coinTransfers\`: specifies payment amount and recipient
1799
+ ### The Scaled Credit Approval (single approval — replaces tiers)
1744
1800
 
1745
- ### Conversion Rate Pattern
1801
+ The purchase form uses **amount scaling** to support arbitrary purchase sizes in ONE approval. Users pick a quantity on the frontend; the chain scales \`startBalances\` and \`coinTransfers\` by the multiplier. Base unit of the approval: **1 micro-payment → tokensPerUnit micro-tokens**.
1746
1802
 
1747
- The conversion rate is: X base units of ICS20 denom = Y tokens minted.
1803
+ **\`approvalId\` MUST be exactly \`"credit-scaled"\`** — the frontend purchase form detects scaled approvals by this id. Both tracker ids (\`amountTrackerId\` in \`approvalAmounts\` and \`maxNumTransfers\`) must also equal \`"credit-scaled"\`.
1748
1804
 
1749
- For example, if 1 USDC (1,000,000 base units) = 100,000 tokens:
1750
- - \`coinTransfers.coins[0].amount\`: "1000000" (1 USDC in base units)
1751
- - \`predeterminedBalances.incrementedBalances.startBalances[0].amount\`: "100000" (tokens minted)
1805
+ #### Preferred path: preset (short call, canonical shape)
1752
1806
 
1753
- ### Denomination Tiers
1807
+ The single approval's shape is fully canonical — use the preset instead of hand-writing the 60-line approvalCriteria JSON:
1754
1808
 
1755
- Create multiple approval tiers for bulk purchases. Each tier has a unique \`approvalId\` (\`credit-<multiplier>\`) and mints a proportional amount of tokens. The frontend uses greedy decomposition to break any purchase amount into the fewest transactions.
1809
+ \`\`\`
1810
+ add_preset_approval({
1811
+ presetId: "credit-token.scaled",
1812
+ params: {
1813
+ paymentDenom: "<ics20 denom — native like 'ubadge', 'uatom', or an 'ibc/...' hash>",
1814
+ paymentRecipient: "<bb1... creator or treasury address>",
1815
+ tokensPerUnit: "<base-unit ratio; see Conversion rate below>"
1816
+ }
1817
+ })
1818
+ \`\`\`
1756
1819
 
1757
- **Choose 8-10 tiers** that make sense for the token's use case and expected purchase sizes. Cover a wide range from small to very large. The tiers are NOT hardcoded — pick the most applicable and efficient denominations for the specific token.
1820
+ Discover params + other credit-token presets with \`list_presets({skill: "credit-token"})\`. Presets route through the same validators as hand-built approvals — output is structurally identical. Use \`overrides\` for small tweaks (custom \`transferTimes\` window, etc.); for shape changes the preset doesn't cover, fall back to \`add_approval\`.
1758
1821
 
1759
- Example tiers (1 USDC = 100K tokens, but adapt to your use case):
1760
- | approvalId | Payment | Tokens Minted |
1761
- |---|---|---|
1762
- | credit-1 | 1 USDC | 100,000 |
1763
- | credit-5 | 5 USDC | 500,000 |
1764
- | credit-10 | 10 USDC | 1,000,000 |
1765
- | credit-50 | 50 USDC | 5,000,000 |
1766
- | credit-100 | 100 USDC | 10,000,000 |
1767
- | credit-500 | 500 USDC | 50,000,000 |
1768
- | credit-1000 | 1,000 USDC | 100,000,000 |
1769
- | credit-10000 | 10,000 USDC | 1,000,000,000 |
1770
- | credit-100000 | 100,000 USDC | 10,000,000,000 |
1771
- | credit-1000000000 | 1B USDC | 100T tokens |
1822
+ #### Conversion rate — \`tokensPerUnit\` is a BASE-UNIT ratio
1772
1823
 
1773
- The multiplier in the approvalId (e.g., \`credit-50\`) represents the number of base payment units. Each tier's payment = multiplier × base payment amount, and tokens minted = multiplier × tokens per unit.
1824
+ Like every chain amount, \`tokensPerUnit\` is in base units — specifically, it's a ratio of two base-unit amounts: **how many micro-tokens to mint per ONE micro-unit of payment**. Because the preset's coinTransfer is fixed at \`"1"\` micro-payment-unit and the chain scales both sides together at purchase, the ratio you write here is the per-micro-unit mint rate directly.
1774
1825
 
1775
- ### Alias Path (REQUIRED)
1826
+ **Computation:**
1776
1827
 
1777
- MUST include an alias path so tokens display nicely:
1778
- \`\`\`json
1779
- "aliasPathsToAdd": [{
1780
- "denom": "u<symbol_lowercase>",
1781
- "conversion": {
1782
- "sideA": { "amount": "1" },
1783
- "sideB": [{ "amount": "1", "ownershipTimes": [{"start":"1","end":"18446744073709551615"}], "tokenIds": [{"start":"1","end":"1"}] }]
1784
- },
1785
- "symbol": "<SYMBOL>",
1786
- "denomUnits": [],
1787
- "metadata": { "uri": "ipfs://METADATA_ALIAS_u<symbol_lowercase>", "customData": "" }
1788
- }]
1828
+ Given a user-stated rate "X display-payment-units → Y display-token-units", with payment decimals \`Dp\` and token decimals \`Dt\`:
1829
+
1830
+ \`\`\`
1831
+ tokensPerUnit = (Y × 10^Dt) / (X × 10^Dp)
1832
+ = (Y / X) × 10^(Dt - Dp)
1789
1833
  \`\`\`
1790
1834
 
1791
- ### Approval Template
1835
+ When \`Dt === Dp\` (the common case — the frontend mint form auto-matches token decimals to payment decimals), \`10^(Dt - Dp) = 1\`, so \`tokensPerUnit = Y / X\` — **just the user's stated ratio, no zeros appended**.
1836
+
1837
+ **Worked examples (assume matching decimals):**
1838
+ - "1 payment → 100 tokens" → \`tokensPerUnit: "100"\`
1839
+ - "1 payment → 1000 tokens" → \`tokensPerUnit: "1000"\`
1840
+ - "1 payment → 1 token" → \`tokensPerUnit: "1"\`
1841
+ - "5 payment → 100 tokens" → \`tokensPerUnit: "20"\` (100 / 5)
1842
+
1843
+ **Common mistake to avoid:** do not multiply by \`10^Dt\` alone (e.g. \`100 × 10^6 = 100000000\`). That converts display-tokens to micro-tokens but forgets that the payment side is ALSO already in micro-units — the two conversions cancel. If a sanity check shows your number has Dp+ trailing zeros per display unit the user stated, you've double-converted.
1844
+
1845
+ For mismatched decimals: call \`lookup_token_info\` to confirm both decimals, then use the full formula.
1846
+
1847
+ #### Template
1792
1848
 
1793
- Each mint approval follows this structure:
1794
1849
  \`\`\`json
1795
1850
  {
1796
- "toListId": "All",
1797
1851
  "fromListId": "Mint",
1852
+ "toListId": "All",
1798
1853
  "initiatedByListId": "All",
1799
1854
  "transferTimes": [{ "start": "1", "end": "18446744073709551615" }],
1800
1855
  "tokenIds": [{ "start": "1", "end": "1" }],
1801
1856
  "ownershipTimes": [{ "start": "1", "end": "18446744073709551615" }],
1802
- "approvalId": "credit-<amount>",
1857
+ "approvalId": "credit-scaled",
1803
1858
  "uri": "",
1804
1859
  "customData": "",
1860
+ "version": "0",
1805
1861
  "approvalCriteria": {
1806
1862
  "predeterminedBalances": {
1807
1863
  "manualBalances": [],
1808
1864
  "incrementedBalances": {
1809
- "startBalances": [{ "amount": "<tokens_to_mint>", "tokenIds": [{"start":"1","end":"1"}], "ownershipTimes": [{"start":"1","end":"18446744073709551615"}] }],
1865
+ "startBalances": [{ "amount": "<tokensPerUnit>", "tokenIds": [{"start":"1","end":"1"}], "ownershipTimes": [{"start":"1","end":"18446744073709551615"}] }],
1810
1866
  "incrementTokenIdsBy": "0",
1811
1867
  "incrementOwnershipTimesBy": "0",
1868
+ "durationFromTimestamp": "0",
1812
1869
  "allowOverrideTimestamp": false,
1813
1870
  "recurringOwnershipTimes": { "startTime": "0", "intervalLength": "0", "chargePeriodLength": "0" },
1814
- "allowOverrideWithAnyValidToken": false
1871
+ "allowOverrideWithAnyValidToken": false,
1872
+ "allowAmountScaling": true,
1873
+ "maxScalingMultiplier": "18446744073709551615"
1815
1874
  },
1816
1875
  "orderCalculationMethod": { "useOverallNumTransfers": true, "usePerToAddressNumTransfers": false, "usePerFromAddressNumTransfers": false, "usePerInitiatedByAddressNumTransfers": false, "useMerkleChallengeLeafIndex": false, "challengeTrackerId": "" }
1817
1876
  },
1818
- "approvalAmounts": { "overallApprovalAmount": "0", "perToAddressApprovalAmount": "0", "perFromAddressApprovalAmount": "0", "perInitiatedByAddressApprovalAmount": "0", "amountTrackerId": "credit-<amount>", "resetTimeIntervals": { "startTime": "0", "intervalLength": "0" } },
1819
- "maxNumTransfers": { "overallMaxNumTransfers": "0", "perToAddressMaxNumTransfers": "0", "perFromAddressMaxNumTransfers": "0", "perInitiatedByAddressMaxNumTransfers": "0", "amountTrackerId": "credit-<amount>", "resetTimeIntervals": { "startTime": "0", "intervalLength": "0" } },
1877
+ "approvalAmounts": { "overallApprovalAmount": "0", "perToAddressApprovalAmount": "0", "perFromAddressApprovalAmount": "0", "perInitiatedByAddressApprovalAmount": "0", "amountTrackerId": "credit-scaled", "resetTimeIntervals": { "startTime": "0", "intervalLength": "0" } },
1878
+ "maxNumTransfers": { "overallMaxNumTransfers": "0", "perToAddressMaxNumTransfers": "0", "perFromAddressMaxNumTransfers": "0", "perInitiatedByAddressMaxNumTransfers": "0", "amountTrackerId": "credit-scaled", "resetTimeIntervals": { "startTime": "0", "intervalLength": "0" } },
1820
1879
  "coinTransfers": [{
1821
1880
  "to": "<payment_recipient_address>",
1822
- "coins": [{ "amount": "<payment_base_units>", "denom": "<ics20_denom>" }],
1881
+ "coins": [{ "amount": "1", "denom": "<ics20_denom>" }],
1823
1882
  "overrideFromWithApproverAddress": false,
1824
1883
  "overrideToWithInitiator": false
1825
1884
  }],
@@ -1828,11 +1887,28 @@ Each mint approval follows this structure:
1828
1887
  "overridesFromOutgoingApprovals": true,
1829
1888
  "overridesToIncomingApprovals": false,
1830
1889
  "mustPrioritize": true
1831
- },
1832
- "version": 0
1890
+ }
1833
1891
  }
1834
1892
  \`\`\`
1835
1893
 
1894
+ > **Legacy (deprecated, do not produce):** older credit-token collections shipped 8-10 fixed-amount approvals with ids \`credit-1\`, \`credit-5\`, \`credit-10\`, …, \`credit-1000000000\`. The frontend still renders those for backward compatibility but new builds MUST use the single \`credit-scaled\` approval above. Do not mix the two.
1895
+
1896
+ ### Alias Path (REQUIRED)
1897
+
1898
+ MUST include an alias path so tokens display nicely. The alias path REQUIRES at least one \`denomUnits\` entry with \`decimals > 0\` — the chain rejects an empty or zero-decimal denom units array with "denom unit decimals cannot be 0". Pick a sensible display exponent (6 is typical for fungible tokens):
1899
+ \`\`\`json
1900
+ "aliasPathsToAdd": [{
1901
+ "denom": "u<symbol_lowercase>",
1902
+ "conversion": {
1903
+ "sideA": { "amount": "1" },
1904
+ "sideB": [{ "amount": "1", "ownershipTimes": [{"start":"1","end":"18446744073709551615"}], "tokenIds": [{"start":"1","end":"1"}] }]
1905
+ },
1906
+ "symbol": "<SYMBOL>",
1907
+ "denomUnits": [{ "decimals": "6", "symbol": "<SYMBOL>", "isDefaultDisplay": true, "metadata": { "uri": "ipfs://METADATA_ALIAS_<symbol_lowercase>_UNIT", "customData": "" } }],
1908
+ "metadata": { "uri": "ipfs://METADATA_ALIAS_u<symbol_lowercase>", "customData": "" }
1909
+ }]
1910
+ \`\`\`
1911
+
1836
1912
  ### Permissions (All Locked)
1837
1913
 
1838
1914
  All permissions should be locked (empty arrays = frozen):
@@ -1857,23 +1933,18 @@ All permissions should be locked (empty arrays = frozen):
1857
1933
  - **Increment-only** — tokens can only be minted (purchased), never redeemed, burned, or decreased
1858
1934
  - **Non-transferable** — soulbound, no peer-to-peer transfers. If users need transferability, use Smart Token instead
1859
1935
  - **No backing/unbacking** — one-way minting only, no cosmosCoinBackedPath
1860
- - **Multiple tiers** — different approval amounts for bulk purchases via greedy decomposition
1936
+ - **Single scaled approval** — one \`credit-scaled\` approval with \`allowAmountScaling: true\` handles all purchase sizes
1861
1937
  - **Credits never expire** — ownership times cover full range
1862
1938
 
1863
- ### Frontend Integration
1864
-
1865
- The Credit Token standard has a dedicated view page that shows:
1866
- 1. User's current token balance (using the alias path for display)
1867
- 2. Purchase form with DenomAmountSelectWithMax for the payment denom
1868
- 3. Conversion rate display (X denom = Y tokens)
1869
- 4. Multi-tier transaction decomposition for optimal gas usage
1870
-
1871
1939
  ## Common Mistakes
1872
1940
 
1873
- - DON'T add transferable or burnable approvals — credit tokens are increment-only and non-transferable (soulbound). Only Mint approvals are allowed.
1874
- - DON'T forget mustPrioritize: true on all credit token Mint approvals — required for correct tier matching.
1941
+ - DON'T ship the legacy \`credit-1 / credit-5 / credit-10 / …\` tier approvals on new collections — produce ONE approval with \`approvalId: "credit-scaled"\` instead.
1942
+ - DON'T forget \`allowAmountScaling: true\` on the \`credit-scaled\` approval — without it the frontend can't scale payments.
1943
+ - DON'T set \`coinTransfers[0].coins[0].amount\` to anything other than \`"1"\` on the scaled approval — the amount is the per-micro-unit rate; the frontend multiplies at purchase time.
1944
+ - DON'T add transferable or burnable approvals — credit tokens are soulbound. Only the one scaled Mint approval.
1945
+ - DON'T forget \`mustPrioritize: true\` — required so the scaled approval wins during purchase.
1875
1946
  - DON'T forget the alias path — credit tokens will not display properly without one.
1876
- - DON'T use numbers instead of strings for amounts — all values must be string-encoded ("100000" not 100000).
1947
+ - DON'T use numbers instead of strings for amounts — all values must be string-encoded.
1877
1948
  - DON'T confuse credit tokens with smart tokens — credit tokens are one-way minting only with no backing/unbacking or transferability.`
1878
1949
  },
1879
1950
  {
@@ -1998,6 +2069,17 @@ For expiring tokens, calculate timestamps:
1998
2069
 
1999
2070
  An address list collection represents membership as token ownership: owning x1 of token ID 1 = being on the list. The manager controls membership by minting (adding) and burning (removing) tokens.
2000
2071
 
2072
+ ### Preferred path: presets (two short tool calls)
2073
+
2074
+ Both approvals are fully canonical — the ONLY param that varies is the manager/creator address. Use the presets:
2075
+
2076
+ \`\`\`
2077
+ add_preset_approval({ presetId: "address-list.manager-add", params: { creatorAddress: "bb1..." } })
2078
+ add_preset_approval({ presetId: "address-list.manager-remove", params: { creatorAddress: "bb1..." } })
2079
+ \`\`\`
2080
+
2081
+ \`list_presets({skill: "address-list"})\` enumerates them. For non-canonical variants (e.g. a committee instead of a single manager) fall back to raw \`add_approval\`.
2082
+
2001
2083
  ### CRITICAL: Exact Approval IDs Required
2002
2084
 
2003
2085
  The frontend identifies address list approvals by their EXACT approvalIds. Using different IDs will break the UI.
@@ -2033,9 +2115,11 @@ The frontend identifies address list approvals by their EXACT approvalIds. Using
2033
2115
 
2034
2116
  ### Manager-Remove Approval (forceful burn to remove)
2035
2117
 
2118
+ \`fromListId\` MUST be **"!Mint"** (All except Mint). Using "All" is rejected by the chain with "Mint address cannot be included in address list with other addresses" — the Mint slot can only appear in a list by itself.
2119
+
2036
2120
  \`\`\`json
2037
2121
  {
2038
- "fromListId": "All",
2122
+ "fromListId": "!Mint",
2039
2123
  "toListId": "bb1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqs7gvmv",
2040
2124
  "initiatedByListId": "bb1creator...",
2041
2125
  "transferTimes": [{ "start": "1", "end": "18446744073709551615" }],
@@ -2051,6 +2135,10 @@ The frontend identifies address list approvals by their EXACT approvalIds. Using
2051
2135
  }
2052
2136
  \`\`\`
2053
2137
 
2138
+ ### Invariants
2139
+
2140
+ DO NOT set \`noForcefulPostMintTransfers: true\` on address-list collections. That invariant would block manager-remove from burning tokens (since its \`overridesFromOutgoingApprovals: true\` is only chain-allowed when \`fromListId\` is exactly "Mint"). The manager MUST be able to forcibly burn a list member's token, so leave that invariant off. Other default invariants (e.g. \`noCustomOwnershipTimes\`) are fine.
2141
+
2054
2142
  ### Default Balances
2055
2143
 
2056
2144
  \`\`\`json
@@ -2255,6 +2343,22 @@ Two alias paths are REQUIRED — one for YES (token 1) and one for NO (token 2):
2255
2343
 
2256
2344
  **CRITICAL: All amounts in startBalances must be in BASE units (micro-units). Since YES/NO tokens have 6 decimals, 1 display token = 1,000,000 base units. Use "1000000" (not "1") for startBalance amounts when minting 1 display-YES + 1 display-NO per deposit.**
2257
2345
 
2346
+ ### Preferred path: presets (seven short tool calls)
2347
+
2348
+ All seven approvals are fully canonical. Use the presets below instead of hand-writing 7 × 60-line approvalCriteria blocks. Every preset only needs the USDC denom (and a verifier address for the outcome-gated approvals):
2349
+
2350
+ \`\`\`
2351
+ add_preset_approval({ presetId: "prediction-market.paired-mint", params: { usdcDenom } })
2352
+ add_preset_approval({ presetId: "prediction-market.transferable", params: {} })
2353
+ add_preset_approval({ presetId: "prediction-market.pre-settlement-redeem", params: { usdcDenom } })
2354
+ add_preset_approval({ presetId: "prediction-market.yes-wins", params: { usdcDenom, verifierAddress } })
2355
+ add_preset_approval({ presetId: "prediction-market.no-wins", params: { usdcDenom, verifierAddress } })
2356
+ add_preset_approval({ presetId: "prediction-market.push-yes", params: { usdcDenom, verifierAddress } })
2357
+ add_preset_approval({ presetId: "prediction-market.push-no", params: { usdcDenom, verifierAddress } })
2358
+ \`\`\`
2359
+
2360
+ Discover with \`list_presets({skill: "prediction-market"})\`. Fall back to raw \`add_approval\` only for non-standard variants.
2361
+
2258
2362
  #### 1. Paired Mint (deposit 1 USDC → receive 1 YES + 1 NO)
2259
2363
 
2260
2364
  \`\`\`json
@@ -2677,6 +2781,27 @@ The escrow is funded upfront at collection creation via \`mintEscrowCoinsToTrans
2677
2781
 
2678
2782
  All 3 approvals share the same structure: Mint → burn address, 1x token ID 1. The token is just a vehicle to trigger the approval engine's coinTransfer. Each approval has maxNumTransfers = 1 (one-shot).
2679
2783
 
2784
+ ### Preferred path: presets (three short tool calls)
2785
+
2786
+ All three approvals are fully canonical — bounty.accept, bounty.deny, bounty.expire cover the shape. The agent still generates the approvalId + proposalId suffixes (via \`generate_unique_id\` or similar) and passes them as params.
2787
+
2788
+ \`\`\`
2789
+ add_preset_approval({
2790
+ presetId: "bounty.accept",
2791
+ params: { approvalId, proposalId, payoutTo: recipient, verifierAddress, denom, amount, expirationMs }
2792
+ })
2793
+ add_preset_approval({
2794
+ presetId: "bounty.deny",
2795
+ params: { approvalId, proposalId, payoutTo: submitter, verifierAddress, denom, amount, expirationMs }
2796
+ })
2797
+ add_preset_approval({
2798
+ presetId: "bounty.expire",
2799
+ params: { approvalId, refundTo: submitter, denom, amount, expirationMs }
2800
+ })
2801
+ \`\`\`
2802
+
2803
+ \`list_presets({skill: "bounty"})\` lists params. For non-standard variants (multi-verifier quorum, variable amounts), use raw \`add_approval\`.
2804
+
2680
2805
  ### 1. Accept (bounty-accept-*)
2681
2806
  Verifier votes accept → mint-to-burn → coins to recipient.
2682
2807
 
@@ -2822,6 +2947,15 @@ On-chain crowdfunding with automatic goal tracking. Contributors deposit coins a
2822
2947
 
2823
2948
  ### 4 Required Approvals
2824
2949
 
2950
+ ### Preferred path: presets (four short tool calls)
2951
+
2952
+ \`\`\`
2953
+ add_preset_approval({ presetId: "crowdfund.deposit-refund", params: { denom, deadlineMs, crowdfunderAddress } })
2954
+ add_preset_approval({ presetId: "crowdfund.deposit-progress", params: { denom, deadlineMs, crowdfunderAddress } })
2955
+ add_preset_approval({ presetId: "crowdfund.success-withdraw", params: { denom, deadlineMs, crowdfunderAddress, goalAmount } })
2956
+ add_preset_approval({ presetId: "crowdfund.refund", params: { denom, deadlineMs, crowdfunderAddress, goalAmount } })
2957
+ \`\`\`
2958
+
2825
2959
  #### 1. Deposit-Refund (contributor pays coins → receives Token 1)
2826
2960
 
2827
2961
  \`\`\`json
@@ -3056,6 +3190,20 @@ Bidders set user-level outgoing approvals on their own accounts that say "I will
3056
3190
 
3057
3191
  Bids must have transferTimes that stay valid through the END of the accept window (not just the bid deadline), so the seller can match them during the entire accept period.
3058
3192
 
3193
+ ### Preferred path: presets (two short tool calls)
3194
+
3195
+ \`\`\`
3196
+ add_preset_approval({
3197
+ presetId: "auction.mint-to-winner",
3198
+ params: {
3199
+ sellerAddress: "bb1...",
3200
+ bidDeadlineMs: "<unix ms>",
3201
+ acceptWindowEndMs: "<unix ms>"
3202
+ }
3203
+ })
3204
+ add_preset_approval({ presetId: "auction.burn", params: {} })
3205
+ \`\`\`
3206
+
3059
3207
  ### 2 Approvals
3060
3208
 
3061
3209
  #### 1. Mint-to-Winner (seller mints NFT directly to winning bidder during accept window)
@@ -3171,6 +3319,27 @@ A multi-product storefront where each product is a separate token ID. Buyers pay
3171
3319
 
3172
3320
  Each product gets its own purchase approval. There's also an optional global burn approval.
3173
3321
 
3322
+ ### Preferred path: presets (one call per product + optional burn)
3323
+
3324
+ Call \`products.purchase\` once per product (productIndex 1..N). Add \`products.burn\` once if you need the global burn/redeem:
3325
+
3326
+ \`\`\`
3327
+ add_preset_approval({
3328
+ presetId: "products.purchase",
3329
+ params: {
3330
+ productIndex: 1,
3331
+ storeAddress: "bb1...",
3332
+ priceAmount: "<base units>",
3333
+ denom: "<denom>",
3334
+ supplyLimit: "0", // "0" = unlimited
3335
+ burnOnPurchase: false // true = token minted straight to burn (receipt-style)
3336
+ }
3337
+ })
3338
+
3339
+ // Optional:
3340
+ add_preset_approval({ presetId: "products.burn", params: { numProducts: <N> } })
3341
+ \`\`\`
3342
+
3174
3343
  #### Purchase Approval (per product)
3175
3344
 
3176
3345
  \`\`\`json
@@ -1 +1 @@
1
- {"version":3,"file":"skillInstructions.js","sourceRoot":"","sources":["../../../../src/builder/resources/skillInstructions.ts"],"names":[],"mappings":"AAkBA,MAAM,CAAC,MAAM,kBAAkB,GAAuB;IACpD;QACE,EAAE,EAAE,aAAa;QACjB,IAAI,EAAE,aAAa;QACnB,QAAQ,EAAE,YAAY;QACtB,WAAW,EAAE,0FAA0F;QACvG,OAAO,EAAE;;;;;;;;;;;;;;;yQAe4P;QACrQ,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kJA0QgI;KAC/I;IACD;QACE,EAAE,EAAE,SAAS;QACb,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,UAAU;QACpB,WAAW,EAAE,yHAAyH;QACtI,OAAO,EAAE;;;;;;;;0EAQ6D;QACtE,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6HAwN2G;KAC1H;IACD;QACE,EAAE,EAAE,iBAAiB;QACrB,IAAI,EAAE,iBAAiB;QACvB,QAAQ,EAAE,YAAY;QACtB,WAAW,EAAE,kIAAkI;QAC/I,OAAO,EAAE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IAC/C,IAAI,MAAM,GAAG,gCAAgC,CAAC;IAE9C,MAAM,UAAU,GAAG,CAAC,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,CAAU,CAAC;IAC1F,MAAM,aAAa,GAAG;QACpB,YAAY,EAAE,aAAa;QAC3B,UAAU,EAAE,WAAW;QACvB,UAAU,EAAE,wBAAwB;QACpC,SAAS,EAAE,UAAU;QACrB,UAAU,EAAE,wBAAwB;KACrC,CAAC;IAEF,KAAK,MAAM,QAAQ,IAAI,UAAU,EAAE,CAAC;QAClC,MAAM,MAAM,GAAG,mBAAmB,CAAC,QAAQ,CAAC,CAAC;QAC7C,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,aAAa,CAAC,QAAQ,CAAC,MAAM,CAAC;YAC7C,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;gBAC3B,MAAM,IAAI,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC;gBACjC,MAAM,IAAI,GAAG,KAAK,CAAC,WAAW,MAAM,CAAC;gBACrC,MAAM,IAAI,GAAG,KAAK,CAAC,YAAY,MAAM,CAAC;gBACtC,MAAM,IAAI,SAAS,CAAC;YACtB,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ReviewFlag } from '../agent/types.js';
2
+ export declare function sanitizeReviewFlag(flag: ReviewFlag): ReviewFlag;
3
+ export declare function sanitizeReviewFlags(flags: ReviewFlag[]): ReviewFlag[];
4
+ //# sourceMappingURL=reviewFlagSanitizer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reviewFlagSanitizer.d.ts","sourceRoot":"","sources":["../../../../src/builder/session/reviewFlagSanitizer.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AA8FpD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,UAAU,GAAG,UAAU,CAO/D;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,UAAU,EAAE,CAErE"}