@maka/maka-cli 5.2.4 → 5.2.6

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 (819) hide show
  1. package/package.json +4 -3
  2. package/bundle/typescript/package.json +0 -118
  3. package/bundle/typescript/src/README.md +0 -37
  4. package/bundle/typescript/src/command.d.ts +0 -37
  5. package/bundle/typescript/src/command.js +0 -231
  6. package/bundle/typescript/src/command.js.map +0 -1
  7. package/bundle/typescript/src/commands/_index.d.ts +0 -26
  8. package/bundle/typescript/src/commands/_index.js +0 -28
  9. package/bundle/typescript/src/commands/_index.js.map +0 -1
  10. package/bundle/typescript/src/commands/ai/_index.d.ts +0 -2
  11. package/bundle/typescript/src/commands/ai/_index.js +0 -3
  12. package/bundle/typescript/src/commands/ai/_index.js.map +0 -1
  13. package/bundle/typescript/src/commands/ai/ai.command.d.ts +0 -3
  14. package/bundle/typescript/src/commands/ai/ai.command.js +0 -83
  15. package/bundle/typescript/src/commands/ai/ai.command.js.map +0 -1
  16. package/bundle/typescript/src/commands/ai/mcp.sub.cmd.d.ts +0 -1
  17. package/bundle/typescript/src/commands/ai/mcp.sub.cmd.js +0 -964
  18. package/bundle/typescript/src/commands/ai/mcp.sub.cmd.js.map +0 -1
  19. package/bundle/typescript/src/commands/aws/_index.d.ts +0 -16
  20. package/bundle/typescript/src/commands/aws/_index.js +0 -17
  21. package/bundle/typescript/src/commands/aws/_index.js.map +0 -1
  22. package/bundle/typescript/src/commands/aws/aws.command.d.ts +0 -3
  23. package/bundle/typescript/src/commands/aws/aws.command.js +0 -15
  24. package/bundle/typescript/src/commands/aws/aws.command.js.map +0 -1
  25. package/bundle/typescript/src/commands/aws/cecr.sub.cmd.d.ts +0 -1
  26. package/bundle/typescript/src/commands/aws/cecr.sub.cmd.js +0 -38
  27. package/bundle/typescript/src/commands/aws/cecr.sub.cmd.js.map +0 -1
  28. package/bundle/typescript/src/commands/aws/chz.sub.cmd.d.ts +0 -1
  29. package/bundle/typescript/src/commands/aws/chz.sub.cmd.js +0 -41
  30. package/bundle/typescript/src/commands/aws/chz.sub.cmd.js.map +0 -1
  31. package/bundle/typescript/src/commands/aws/ci.sub.cmd.d.ts +0 -1
  32. package/bundle/typescript/src/commands/aws/ci.sub.cmd.js +0 -199
  33. package/bundle/typescript/src/commands/aws/ci.sub.cmd.js.map +0 -1
  34. package/bundle/typescript/src/commands/aws/ckp.sub.cmd.d.ts +0 -1
  35. package/bundle/typescript/src/commands/aws/ckp.sub.cmd.js +0 -42
  36. package/bundle/typescript/src/commands/aws/ckp.sub.cmd.js.map +0 -1
  37. package/bundle/typescript/src/commands/aws/csg.sub.cmd.d.ts +0 -1
  38. package/bundle/typescript/src/commands/aws/csg.sub.cmd.js +0 -43
  39. package/bundle/typescript/src/commands/aws/csg.sub.cmd.js.map +0 -1
  40. package/bundle/typescript/src/commands/aws/decr.sub.cmd.d.ts +0 -1
  41. package/bundle/typescript/src/commands/aws/decr.sub.cmd.js +0 -31
  42. package/bundle/typescript/src/commands/aws/decr.sub.cmd.js.map +0 -1
  43. package/bundle/typescript/src/commands/aws/di.sub.cmd.d.ts +0 -1
  44. package/bundle/typescript/src/commands/aws/di.sub.cmd.js +0 -35
  45. package/bundle/typescript/src/commands/aws/di.sub.cmd.js.map +0 -1
  46. package/bundle/typescript/src/commands/aws/dkp.sub.cmd.d.ts +0 -1
  47. package/bundle/typescript/src/commands/aws/dkp.sub.cmd.js +0 -25
  48. package/bundle/typescript/src/commands/aws/dkp.sub.cmd.js.map +0 -1
  49. package/bundle/typescript/src/commands/aws/dsg.sub.cmd.d.ts +0 -1
  50. package/bundle/typescript/src/commands/aws/dsg.sub.cmd.js +0 -57
  51. package/bundle/typescript/src/commands/aws/dsg.sub.cmd.js.map +0 -1
  52. package/bundle/typescript/src/commands/aws/lecr.sub.cmd.d.ts +0 -1
  53. package/bundle/typescript/src/commands/aws/lecr.sub.cmd.js +0 -32
  54. package/bundle/typescript/src/commands/aws/lecr.sub.cmd.js.map +0 -1
  55. package/bundle/typescript/src/commands/aws/rbi.sub.cmd.d.ts +0 -1
  56. package/bundle/typescript/src/commands/aws/rbi.sub.cmd.js +0 -39
  57. package/bundle/typescript/src/commands/aws/rbi.sub.cmd.js.map +0 -1
  58. package/bundle/typescript/src/commands/aws/rdn.sub.cmd.d.ts +0 -1
  59. package/bundle/typescript/src/commands/aws/rdn.sub.cmd.js +0 -104
  60. package/bundle/typescript/src/commands/aws/rdn.sub.cmd.js.map +0 -1
  61. package/bundle/typescript/src/commands/aws/rkp.sub.cmd.d.ts +0 -1
  62. package/bundle/typescript/src/commands/aws/rkp.sub.cmd.js +0 -52
  63. package/bundle/typescript/src/commands/aws/rkp.sub.cmd.js.map +0 -1
  64. package/bundle/typescript/src/commands/aws/sth.sub.cmd.d.ts +0 -1
  65. package/bundle/typescript/src/commands/aws/sth.sub.cmd.js +0 -74
  66. package/bundle/typescript/src/commands/aws/sth.sub.cmd.js.map +0 -1
  67. package/bundle/typescript/src/commands/aws/ti.sub.cmd.d.ts +0 -1
  68. package/bundle/typescript/src/commands/aws/ti.sub.cmd.js +0 -45
  69. package/bundle/typescript/src/commands/aws/ti.sub.cmd.js.map +0 -1
  70. package/bundle/typescript/src/commands/build/_index.d.ts +0 -2
  71. package/bundle/typescript/src/commands/build/_index.js +0 -3
  72. package/bundle/typescript/src/commands/build/_index.js.map +0 -1
  73. package/bundle/typescript/src/commands/build/build.d.ts +0 -3
  74. package/bundle/typescript/src/commands/build/build.js +0 -98
  75. package/bundle/typescript/src/commands/build/build.js.map +0 -1
  76. package/bundle/typescript/src/commands/build/docker.sub.cmd.d.ts +0 -1
  77. package/bundle/typescript/src/commands/build/docker.sub.cmd.js +0 -138
  78. package/bundle/typescript/src/commands/build/docker.sub.cmd.js.map +0 -1
  79. package/bundle/typescript/src/commands/create.d.ts +0 -1
  80. package/bundle/typescript/src/commands/create.js +0 -645
  81. package/bundle/typescript/src/commands/create.js.map +0 -1
  82. package/bundle/typescript/src/commands/debug.d.ts +0 -1
  83. package/bundle/typescript/src/commands/debug.js +0 -95
  84. package/bundle/typescript/src/commands/debug.js.map +0 -1
  85. package/bundle/typescript/src/commands/deploy/_index.d.ts +0 -3
  86. package/bundle/typescript/src/commands/deploy/_index.js +0 -4
  87. package/bundle/typescript/src/commands/deploy/_index.js.map +0 -1
  88. package/bundle/typescript/src/commands/deploy/deploy.command.d.ts +0 -3
  89. package/bundle/typescript/src/commands/deploy/deploy.command.js +0 -24
  90. package/bundle/typescript/src/commands/deploy/deploy.command.js.map +0 -1
  91. package/bundle/typescript/src/commands/deploy/galaxy.sub.cmd.d.ts +0 -1
  92. package/bundle/typescript/src/commands/deploy/galaxy.sub.cmd.js +0 -152
  93. package/bundle/typescript/src/commands/deploy/galaxy.sub.cmd.js.map +0 -1
  94. package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.d.ts +0 -1
  95. package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.js +0 -543
  96. package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.js.map +0 -1
  97. package/bundle/typescript/src/commands/game/_index.d.ts +0 -5
  98. package/bundle/typescript/src/commands/game/_index.js +0 -7
  99. package/bundle/typescript/src/commands/game/_index.js.map +0 -1
  100. package/bundle/typescript/src/commands/game/battleship.sub.cmd.d.ts +0 -1
  101. package/bundle/typescript/src/commands/game/battleship.sub.cmd.js +0 -12
  102. package/bundle/typescript/src/commands/game/battleship.sub.cmd.js.map +0 -1
  103. package/bundle/typescript/src/commands/game/play.command.d.ts +0 -3
  104. package/bundle/typescript/src/commands/game/play.command.js +0 -18
  105. package/bundle/typescript/src/commands/game/play.command.js.map +0 -1
  106. package/bundle/typescript/src/commands/game/pong.sub.cmd.d.ts +0 -1
  107. package/bundle/typescript/src/commands/game/pong.sub.cmd.js +0 -12
  108. package/bundle/typescript/src/commands/game/pong.sub.cmd.js.map +0 -1
  109. package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.d.ts +0 -9
  110. package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.js +0 -26
  111. package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.js.map +0 -1
  112. package/bundle/typescript/src/commands/game/sideQuest/commands/command.d.ts +0 -23
  113. package/bundle/typescript/src/commands/game/sideQuest/commands/command.js +0 -24
  114. package/bundle/typescript/src/commands/game/sideQuest/commands/command.js.map +0 -1
  115. package/bundle/typescript/src/commands/game/sideQuest/commands/drop.d.ts +0 -7
  116. package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js +0 -33
  117. package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js.map +0 -1
  118. package/bundle/typescript/src/commands/game/sideQuest/commands/equip.d.ts +0 -7
  119. package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js +0 -69
  120. package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js.map +0 -1
  121. package/bundle/typescript/src/commands/game/sideQuest/commands/give.d.ts +0 -7
  122. package/bundle/typescript/src/commands/game/sideQuest/commands/give.js +0 -58
  123. package/bundle/typescript/src/commands/game/sideQuest/commands/give.js.map +0 -1
  124. package/bundle/typescript/src/commands/game/sideQuest/commands/go.d.ts +0 -7
  125. package/bundle/typescript/src/commands/game/sideQuest/commands/go.js +0 -63
  126. package/bundle/typescript/src/commands/game/sideQuest/commands/go.js.map +0 -1
  127. package/bundle/typescript/src/commands/game/sideQuest/commands/kill.d.ts +0 -6
  128. package/bundle/typescript/src/commands/game/sideQuest/commands/kill.js +0 -36
  129. package/bundle/typescript/src/commands/game/sideQuest/commands/kill.js.map +0 -1
  130. package/bundle/typescript/src/commands/game/sideQuest/commands/lock.d.ts +0 -8
  131. package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js +0 -74
  132. package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js.map +0 -1
  133. package/bundle/typescript/src/commands/game/sideQuest/commands/look.d.ts +0 -10
  134. package/bundle/typescript/src/commands/game/sideQuest/commands/look.js +0 -137
  135. package/bundle/typescript/src/commands/game/sideQuest/commands/look.js.map +0 -1
  136. package/bundle/typescript/src/commands/game/sideQuest/commands/read.d.ts +0 -6
  137. package/bundle/typescript/src/commands/game/sideQuest/commands/read.js +0 -26
  138. package/bundle/typescript/src/commands/game/sideQuest/commands/read.js.map +0 -1
  139. package/bundle/typescript/src/commands/game/sideQuest/commands/say.d.ts +0 -8
  140. package/bundle/typescript/src/commands/game/sideQuest/commands/say.js +0 -31
  141. package/bundle/typescript/src/commands/game/sideQuest/commands/say.js.map +0 -1
  142. package/bundle/typescript/src/commands/game/sideQuest/commands/search.d.ts +0 -6
  143. package/bundle/typescript/src/commands/game/sideQuest/commands/search.js +0 -24
  144. package/bundle/typescript/src/commands/game/sideQuest/commands/search.js.map +0 -1
  145. package/bundle/typescript/src/commands/game/sideQuest/commands/solve.d.ts +0 -6
  146. package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js +0 -23
  147. package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js.map +0 -1
  148. package/bundle/typescript/src/commands/game/sideQuest/commands/store.d.ts +0 -7
  149. package/bundle/typescript/src/commands/game/sideQuest/commands/store.js +0 -33
  150. package/bundle/typescript/src/commands/game/sideQuest/commands/store.js.map +0 -1
  151. package/bundle/typescript/src/commands/game/sideQuest/commands/take.d.ts +0 -7
  152. package/bundle/typescript/src/commands/game/sideQuest/commands/take.js +0 -41
  153. package/bundle/typescript/src/commands/game/sideQuest/commands/take.js.map +0 -1
  154. package/bundle/typescript/src/commands/game/sideQuest/commands/talk.d.ts +0 -9
  155. package/bundle/typescript/src/commands/game/sideQuest/commands/talk.js +0 -54
  156. package/bundle/typescript/src/commands/game/sideQuest/commands/talk.js.map +0 -1
  157. package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.d.ts +0 -6
  158. package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.js +0 -13
  159. package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.js.map +0 -1
  160. package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.d.ts +0 -7
  161. package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js +0 -53
  162. package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js.map +0 -1
  163. package/bundle/typescript/src/commands/game/sideQuest/commands/use.d.ts +0 -7
  164. package/bundle/typescript/src/commands/game/sideQuest/commands/use.js +0 -34
  165. package/bundle/typescript/src/commands/game/sideQuest/commands/use.js.map +0 -1
  166. package/bundle/typescript/src/commands/game/sideQuest/factories/command-factory.d.ts +0 -9
  167. package/bundle/typescript/src/commands/game/sideQuest/factories/command-factory.js +0 -17
  168. package/bundle/typescript/src/commands/game/sideQuest/factories/command-factory.js.map +0 -1
  169. package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.d.ts +0 -5
  170. package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.js +0 -25
  171. package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.js.map +0 -1
  172. package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.d.ts +0 -10
  173. package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.js +0 -36
  174. package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.js.map +0 -1
  175. package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.d.ts +0 -6
  176. package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.js +0 -24
  177. package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.js.map +0 -1
  178. package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.d.ts +0 -6
  179. package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.js +0 -19
  180. package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.js.map +0 -1
  181. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.d.ts +0 -6
  182. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.js +0 -126
  183. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.js.map +0 -1
  184. package/bundle/typescript/src/commands/game/sideQuest/game.d.ts +0 -38
  185. package/bundle/typescript/src/commands/game/sideQuest/game.js +0 -384
  186. package/bundle/typescript/src/commands/game/sideQuest/game.js.map +0 -1
  187. package/bundle/typescript/src/commands/game/sideQuest/models/_index.d.ts +0 -8
  188. package/bundle/typescript/src/commands/game/sideQuest/models/_index.js +0 -9
  189. package/bundle/typescript/src/commands/game/sideQuest/models/_index.js.map +0 -1
  190. package/bundle/typescript/src/commands/game/sideQuest/models/door.d.ts +0 -23
  191. package/bundle/typescript/src/commands/game/sideQuest/models/door.js +0 -42
  192. package/bundle/typescript/src/commands/game/sideQuest/models/door.js.map +0 -1
  193. package/bundle/typescript/src/commands/game/sideQuest/models/inventory.d.ts +0 -47
  194. package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js +0 -110
  195. package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js.map +0 -1
  196. package/bundle/typescript/src/commands/game/sideQuest/models/item.d.ts +0 -56
  197. package/bundle/typescript/src/commands/game/sideQuest/models/item.js +0 -145
  198. package/bundle/typescript/src/commands/game/sideQuest/models/item.js.map +0 -1
  199. package/bundle/typescript/src/commands/game/sideQuest/models/npc.d.ts +0 -36
  200. package/bundle/typescript/src/commands/game/sideQuest/models/npc.js +0 -407
  201. package/bundle/typescript/src/commands/game/sideQuest/models/npc.js.map +0 -1
  202. package/bundle/typescript/src/commands/game/sideQuest/models/player.d.ts +0 -58
  203. package/bundle/typescript/src/commands/game/sideQuest/models/player.js +0 -357
  204. package/bundle/typescript/src/commands/game/sideQuest/models/player.js.map +0 -1
  205. package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.d.ts +0 -34
  206. package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js +0 -67
  207. package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js.map +0 -1
  208. package/bundle/typescript/src/commands/game/sideQuest/models/room.d.ts +0 -69
  209. package/bundle/typescript/src/commands/game/sideQuest/models/room.js +0 -246
  210. package/bundle/typescript/src/commands/game/sideQuest/models/room.js.map +0 -1
  211. package/bundle/typescript/src/commands/game/sideQuest/models/scene.d.ts +0 -72
  212. package/bundle/typescript/src/commands/game/sideQuest/models/scene.js +0 -310
  213. package/bundle/typescript/src/commands/game/sideQuest/models/scene.js.map +0 -1
  214. package/bundle/typescript/src/commands/game/sideQuest/scenes/_index.d.ts +0 -0
  215. package/bundle/typescript/src/commands/game/sideQuest/scenes/_index.js +0 -1
  216. package/bundle/typescript/src/commands/game/sideQuest/scenes/_index.js.map +0 -1
  217. package/bundle/typescript/src/commands/game/sideQuest/scenes/scene1.json +0 -281
  218. package/bundle/typescript/src/commands/game/sideQuest/scenes/scene2.json +0 -397
  219. package/bundle/typescript/src/commands/game/sideQuest/types/enums.d.ts +0 -47
  220. package/bundle/typescript/src/commands/game/sideQuest/types/enums.js +0 -52
  221. package/bundle/typescript/src/commands/game/sideQuest/types/enums.js.map +0 -1
  222. package/bundle/typescript/src/commands/game/sideQuest/types/player-equipment.d.ts +0 -62
  223. package/bundle/typescript/src/commands/game/sideQuest/types/player-equipment.js +0 -2
  224. package/bundle/typescript/src/commands/game/sideQuest/types/player-equipment.js.map +0 -1
  225. package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.d.ts +0 -6
  226. package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.js +0 -2
  227. package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.js.map +0 -1
  228. package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.d.ts +0 -23
  229. package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.js +0 -2
  230. package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.js.map +0 -1
  231. package/bundle/typescript/src/commands/game/sideQuest/types/seed/lifestyle-seed.d.ts +0 -22
  232. package/bundle/typescript/src/commands/game/sideQuest/types/seed/lifestyle-seed.js +0 -2
  233. package/bundle/typescript/src/commands/game/sideQuest/types/seed/lifestyle-seed.js.map +0 -1
  234. package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.d.ts +0 -6
  235. package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.js +0 -2
  236. package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.js.map +0 -1
  237. package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.d.ts +0 -8
  238. package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.js +0 -2
  239. package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.js.map +0 -1
  240. package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.d.ts +0 -11
  241. package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.js +0 -2
  242. package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.js.map +0 -1
  243. package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.d.ts +0 -16
  244. package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.js +0 -2
  245. package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.js.map +0 -1
  246. package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.d.ts +0 -20
  247. package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.js +0 -2
  248. package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.js.map +0 -1
  249. package/bundle/typescript/src/commands/game/sideQuest/types/shared/abstracts.d.ts +0 -152
  250. package/bundle/typescript/src/commands/game/sideQuest/types/shared/abstracts.js +0 -90
  251. package/bundle/typescript/src/commands/game/sideQuest/types/shared/abstracts.js.map +0 -1
  252. package/bundle/typescript/src/commands/game/sideQuest/types/shared/direction-enum.d.ts +0 -8
  253. package/bundle/typescript/src/commands/game/sideQuest/types/shared/direction-enum.js +0 -10
  254. package/bundle/typescript/src/commands/game/sideQuest/types/shared/direction-enum.js.map +0 -1
  255. package/bundle/typescript/src/commands/game/sideQuest/types/shared/equipment-enum.d.ts +0 -25
  256. package/bundle/typescript/src/commands/game/sideQuest/types/shared/equipment-enum.js +0 -27
  257. package/bundle/typescript/src/commands/game/sideQuest/types/shared/equipment-enum.js.map +0 -1
  258. package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.d.ts +0 -69
  259. package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.js +0 -80
  260. package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.js.map +0 -1
  261. package/bundle/typescript/src/commands/game/sideQuest/ui.d.ts +0 -7
  262. package/bundle/typescript/src/commands/game/sideQuest/ui.js +0 -72
  263. package/bundle/typescript/src/commands/game/sideQuest/ui.js.map +0 -1
  264. package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.d.ts +0 -16
  265. package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.js +0 -67
  266. package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.js.map +0 -1
  267. package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.d.ts +0 -1
  268. package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js +0 -68
  269. package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js.map +0 -1
  270. package/bundle/typescript/src/commands/game/snake.sub.cmd.d.ts +0 -1
  271. package/bundle/typescript/src/commands/game/snake.sub.cmd.js +0 -12
  272. package/bundle/typescript/src/commands/game/snake.sub.cmd.js.map +0 -1
  273. package/bundle/typescript/src/commands/game/tetris.sub.cmd.d.ts +0 -1
  274. package/bundle/typescript/src/commands/game/tetris.sub.cmd.js +0 -12
  275. package/bundle/typescript/src/commands/game/tetris.sub.cmd.js.map +0 -1
  276. package/bundle/typescript/src/commands/generate.d.ts +0 -1
  277. package/bundle/typescript/src/commands/generate.js +0 -42
  278. package/bundle/typescript/src/commands/generate.js.map +0 -1
  279. package/bundle/typescript/src/commands/get/_index.d.ts +0 -4
  280. package/bundle/typescript/src/commands/get/_index.js +0 -5
  281. package/bundle/typescript/src/commands/get/_index.js.map +0 -1
  282. package/bundle/typescript/src/commands/get/get.command.d.ts +0 -3
  283. package/bundle/typescript/src/commands/get/get.command.js +0 -13
  284. package/bundle/typescript/src/commands/get/get.command.js.map +0 -1
  285. package/bundle/typescript/src/commands/get/global.sub.cmd.d.ts +0 -1
  286. package/bundle/typescript/src/commands/get/global.sub.cmd.js +0 -20
  287. package/bundle/typescript/src/commands/get/global.sub.cmd.js.map +0 -1
  288. package/bundle/typescript/src/commands/get/local.sub.cmd.d.ts +0 -1
  289. package/bundle/typescript/src/commands/get/local.sub.cmd.js +0 -14
  290. package/bundle/typescript/src/commands/get/local.sub.cmd.js.map +0 -1
  291. package/bundle/typescript/src/commands/get/whoami.sub.cmd.d.ts +0 -1
  292. package/bundle/typescript/src/commands/get/whoami.sub.cmd.js +0 -21
  293. package/bundle/typescript/src/commands/get/whoami.sub.cmd.js.map +0 -1
  294. package/bundle/typescript/src/commands/help.d.ts +0 -1
  295. package/bundle/typescript/src/commands/help.js +0 -12
  296. package/bundle/typescript/src/commands/help.js.map +0 -1
  297. package/bundle/typescript/src/commands/install.d.ts +0 -1
  298. package/bundle/typescript/src/commands/install.js +0 -269
  299. package/bundle/typescript/src/commands/install.js.map +0 -1
  300. package/bundle/typescript/src/commands/jsdoc.d.ts +0 -1
  301. package/bundle/typescript/src/commands/jsdoc.js +0 -62
  302. package/bundle/typescript/src/commands/jsdoc.js.map +0 -1
  303. package/bundle/typescript/src/commands/lint.d.ts +0 -1
  304. package/bundle/typescript/src/commands/lint.js +0 -127
  305. package/bundle/typescript/src/commands/lint.js.map +0 -1
  306. package/bundle/typescript/src/commands/login.d.ts +0 -1
  307. package/bundle/typescript/src/commands/login.js +0 -168
  308. package/bundle/typescript/src/commands/login.js.map +0 -1
  309. package/bundle/typescript/src/commands/logout.d.ts +0 -1
  310. package/bundle/typescript/src/commands/logout.js +0 -95
  311. package/bundle/typescript/src/commands/logout.js.map +0 -1
  312. package/bundle/typescript/src/commands/logs.d.ts +0 -1
  313. package/bundle/typescript/src/commands/logs.js +0 -35
  314. package/bundle/typescript/src/commands/logs.js.map +0 -1
  315. package/bundle/typescript/src/commands/maka.cmd.d.ts +0 -5
  316. package/bundle/typescript/src/commands/maka.cmd.js +0 -57
  317. package/bundle/typescript/src/commands/maka.cmd.js.map +0 -1
  318. package/bundle/typescript/src/commands/murder.d.ts +0 -1
  319. package/bundle/typescript/src/commands/murder.js +0 -31
  320. package/bundle/typescript/src/commands/murder.js.map +0 -1
  321. package/bundle/typescript/src/commands/profile.d.ts +0 -1
  322. package/bundle/typescript/src/commands/profile.js +0 -277
  323. package/bundle/typescript/src/commands/profile.js.map +0 -1
  324. package/bundle/typescript/src/commands/proxy.d.ts +0 -1
  325. package/bundle/typescript/src/commands/proxy.js +0 -168
  326. package/bundle/typescript/src/commands/proxy.js.map +0 -1
  327. package/bundle/typescript/src/commands/reconfig.d.ts +0 -1
  328. package/bundle/typescript/src/commands/reconfig.js +0 -69
  329. package/bundle/typescript/src/commands/reconfig.js.map +0 -1
  330. package/bundle/typescript/src/commands/register.d.ts +0 -1
  331. package/bundle/typescript/src/commands/register.js +0 -104
  332. package/bundle/typescript/src/commands/register.js.map +0 -1
  333. package/bundle/typescript/src/commands/run/_index.d.ts +0 -2
  334. package/bundle/typescript/src/commands/run/_index.js +0 -3
  335. package/bundle/typescript/src/commands/run/_index.js.map +0 -1
  336. package/bundle/typescript/src/commands/run/docker.sub.cmd.d.ts +0 -1
  337. package/bundle/typescript/src/commands/run/docker.sub.cmd.js +0 -82
  338. package/bundle/typescript/src/commands/run/docker.sub.cmd.js.map +0 -1
  339. package/bundle/typescript/src/commands/run/run.command.d.ts +0 -3
  340. package/bundle/typescript/src/commands/run/run.command.js +0 -200
  341. package/bundle/typescript/src/commands/run/run.command.js.map +0 -1
  342. package/bundle/typescript/src/commands/set/_index.d.ts +0 -3
  343. package/bundle/typescript/src/commands/set/_index.js +0 -4
  344. package/bundle/typescript/src/commands/set/_index.js.map +0 -1
  345. package/bundle/typescript/src/commands/set/global.sub.cmd.d.ts +0 -1
  346. package/bundle/typescript/src/commands/set/global.sub.cmd.js +0 -115
  347. package/bundle/typescript/src/commands/set/global.sub.cmd.js.map +0 -1
  348. package/bundle/typescript/src/commands/set/local.sub.cmd.d.ts +0 -1
  349. package/bundle/typescript/src/commands/set/local.sub.cmd.js +0 -18
  350. package/bundle/typescript/src/commands/set/local.sub.cmd.js.map +0 -1
  351. package/bundle/typescript/src/commands/set/set.command.d.ts +0 -3
  352. package/bundle/typescript/src/commands/set/set.command.js +0 -16
  353. package/bundle/typescript/src/commands/set/set.command.js.map +0 -1
  354. package/bundle/typescript/src/commands/ssh.d.ts +0 -1
  355. package/bundle/typescript/src/commands/ssh.js +0 -43
  356. package/bundle/typescript/src/commands/ssh.js.map +0 -1
  357. package/bundle/typescript/src/commands/ssl.d.ts +0 -1
  358. package/bundle/typescript/src/commands/ssl.js +0 -109
  359. package/bundle/typescript/src/commands/ssl.js.map +0 -1
  360. package/bundle/typescript/src/commands/testCmd/_index.d.ts +0 -3
  361. package/bundle/typescript/src/commands/testCmd/_index.js +0 -4
  362. package/bundle/typescript/src/commands/testCmd/_index.js.map +0 -1
  363. package/bundle/typescript/src/commands/testCmd/jest.sub.cmd.d.ts +0 -1
  364. package/bundle/typescript/src/commands/testCmd/jest.sub.cmd.js +0 -131
  365. package/bundle/typescript/src/commands/testCmd/jest.sub.cmd.js.map +0 -1
  366. package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.d.ts +0 -1
  367. package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.js +0 -133
  368. package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.js.map +0 -1
  369. package/bundle/typescript/src/commands/testCmd/test.command.d.ts +0 -3
  370. package/bundle/typescript/src/commands/testCmd/test.command.js +0 -15
  371. package/bundle/typescript/src/commands/testCmd/test.command.js.map +0 -1
  372. package/bundle/typescript/src/commands/undo.d.ts +0 -1
  373. package/bundle/typescript/src/commands/undo.js +0 -12
  374. package/bundle/typescript/src/commands/undo.js.map +0 -1
  375. package/bundle/typescript/src/commands/uninstall.d.ts +0 -1
  376. package/bundle/typescript/src/commands/uninstall.js +0 -76
  377. package/bundle/typescript/src/commands/uninstall.js.map +0 -1
  378. package/bundle/typescript/src/commands/version/_index.d.ts +0 -4
  379. package/bundle/typescript/src/commands/version/_index.js +0 -5
  380. package/bundle/typescript/src/commands/version/_index.js.map +0 -1
  381. package/bundle/typescript/src/commands/version/list.sub.cmd.d.ts +0 -1
  382. package/bundle/typescript/src/commands/version/list.sub.cmd.js +0 -55
  383. package/bundle/typescript/src/commands/version/list.sub.cmd.js.map +0 -1
  384. package/bundle/typescript/src/commands/version/meteor.sub.cmd.d.ts +0 -3
  385. package/bundle/typescript/src/commands/version/meteor.sub.cmd.js +0 -21
  386. package/bundle/typescript/src/commands/version/meteor.sub.cmd.js.map +0 -1
  387. package/bundle/typescript/src/commands/version/use.sub.cmd.d.ts +0 -1
  388. package/bundle/typescript/src/commands/version/use.sub.cmd.js +0 -83
  389. package/bundle/typescript/src/commands/version/use.sub.cmd.js.map +0 -1
  390. package/bundle/typescript/src/commands/version/version.d.ts +0 -3
  391. package/bundle/typescript/src/commands/version/version.js +0 -59
  392. package/bundle/typescript/src/commands/version/version.js.map +0 -1
  393. package/bundle/typescript/src/error.d.ts +0 -12
  394. package/bundle/typescript/src/error.js +0 -13
  395. package/bundle/typescript/src/error.js.map +0 -1
  396. package/bundle/typescript/src/exec.d.ts +0 -2
  397. package/bundle/typescript/src/exec.js +0 -17
  398. package/bundle/typescript/src/exec.js.map +0 -1
  399. package/bundle/typescript/src/generator.d.ts +0 -48
  400. package/bundle/typescript/src/generator.js +0 -394
  401. package/bundle/typescript/src/generator.js.map +0 -1
  402. package/bundle/typescript/src/generators/_index.d.ts +0 -18
  403. package/bundle/typescript/src/generators/_index.js +0 -19
  404. package/bundle/typescript/src/generators/_index.js.map +0 -1
  405. package/bundle/typescript/src/generators/api.d.ts +0 -1
  406. package/bundle/typescript/src/generators/api.js +0 -257
  407. package/bundle/typescript/src/generators/api.js.map +0 -1
  408. package/bundle/typescript/src/generators/aws/_index.d.ts +0 -2
  409. package/bundle/typescript/src/generators/aws/_index.js +0 -3
  410. package/bundle/typescript/src/generators/aws/_index.js.map +0 -1
  411. package/bundle/typescript/src/generators/aws/aws.d.ts +0 -3
  412. package/bundle/typescript/src/generators/aws/aws.js +0 -16
  413. package/bundle/typescript/src/generators/aws/aws.js.map +0 -1
  414. package/bundle/typescript/src/generators/aws/cloudformation/_index.d.ts +0 -2
  415. package/bundle/typescript/src/generators/aws/cloudformation/_index.js +0 -3
  416. package/bundle/typescript/src/generators/aws/cloudformation/_index.js.map +0 -1
  417. package/bundle/typescript/src/generators/aws/cloudformation/cloudformation.d.ts +0 -3
  418. package/bundle/typescript/src/generators/aws/cloudformation/cloudformation.js +0 -21
  419. package/bundle/typescript/src/generators/aws/cloudformation/cloudformation.js.map +0 -1
  420. package/bundle/typescript/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.d.ts +0 -3
  421. package/bundle/typescript/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +0 -69
  422. package/bundle/typescript/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js.map +0 -1
  423. package/bundle/typescript/src/generators/collection.d.ts +0 -1
  424. package/bundle/typescript/src/generators/collection.js +0 -78
  425. package/bundle/typescript/src/generators/collection.js.map +0 -1
  426. package/bundle/typescript/src/generators/component.d.ts +0 -1
  427. package/bundle/typescript/src/generators/component.js +0 -99
  428. package/bundle/typescript/src/generators/component.js.map +0 -1
  429. package/bundle/typescript/src/generators/config.d.ts +0 -1
  430. package/bundle/typescript/src/generators/config.js +0 -75
  431. package/bundle/typescript/src/generators/config.js.map +0 -1
  432. package/bundle/typescript/src/generators/dbc.d.ts +0 -1
  433. package/bundle/typescript/src/generators/dbc.js +0 -85
  434. package/bundle/typescript/src/generators/dbc.js.map +0 -1
  435. package/bundle/typescript/src/generators/dockerfile.d.ts +0 -1
  436. package/bundle/typescript/src/generators/dockerfile.js +0 -42
  437. package/bundle/typescript/src/generators/dockerfile.js.map +0 -1
  438. package/bundle/typescript/src/generators/hook.d.ts +0 -1
  439. package/bundle/typescript/src/generators/hook.js +0 -112
  440. package/bundle/typescript/src/generators/hook.js.map +0 -1
  441. package/bundle/typescript/src/generators/kits/_index.d.ts +0 -5
  442. package/bundle/typescript/src/generators/kits/_index.js +0 -6
  443. package/bundle/typescript/src/generators/kits/_index.js.map +0 -1
  444. package/bundle/typescript/src/generators/kits/auth/_index.d.ts +0 -4
  445. package/bundle/typescript/src/generators/kits/auth/_index.js +0 -5
  446. package/bundle/typescript/src/generators/kits/auth/_index.js.map +0 -1
  447. package/bundle/typescript/src/generators/kits/auth/auth.generator.d.ts +0 -3
  448. package/bundle/typescript/src/generators/kits/auth/auth.generator.js +0 -21
  449. package/bundle/typescript/src/generators/kits/auth/auth.generator.js.map +0 -1
  450. package/bundle/typescript/src/generators/kits/auth/auth0-meteor.auth.gen.d.ts +0 -1
  451. package/bundle/typescript/src/generators/kits/auth/auth0-meteor.auth.gen.js +0 -895
  452. package/bundle/typescript/src/generators/kits/auth/auth0-meteor.auth.gen.js.map +0 -1
  453. package/bundle/typescript/src/generators/kits/auth/basic-meteor.auth.gen.d.ts +0 -1
  454. package/bundle/typescript/src/generators/kits/auth/basic-meteor.auth.gen.js +0 -213
  455. package/bundle/typescript/src/generators/kits/auth/basic-meteor.auth.gen.js.map +0 -1
  456. package/bundle/typescript/src/generators/kits/auth/provider.auth.gen.d.ts +0 -1
  457. package/bundle/typescript/src/generators/kits/auth/provider.auth.gen.js +0 -138
  458. package/bundle/typescript/src/generators/kits/auth/provider.auth.gen.js.map +0 -1
  459. package/bundle/typescript/src/generators/kits/esri/_index.d.ts +0 -2
  460. package/bundle/typescript/src/generators/kits/esri/_index.js +0 -3
  461. package/bundle/typescript/src/generators/kits/esri/_index.js.map +0 -1
  462. package/bundle/typescript/src/generators/kits/esri/esri.generator.d.ts +0 -3
  463. package/bundle/typescript/src/generators/kits/esri/esri.generator.js +0 -31
  464. package/bundle/typescript/src/generators/kits/esri/esri.generator.js.map +0 -1
  465. package/bundle/typescript/src/generators/kits/esri/map.esri.gen.d.ts +0 -1
  466. package/bundle/typescript/src/generators/kits/esri/map.esri.gen.js +0 -85
  467. package/bundle/typescript/src/generators/kits/esri/map.esri.gen.js.map +0 -1
  468. package/bundle/typescript/src/generators/kits/frames/_index.d.ts +0 -1
  469. package/bundle/typescript/src/generators/kits/frames/_index.js +0 -2
  470. package/bundle/typescript/src/generators/kits/frames/_index.js.map +0 -1
  471. package/bundle/typescript/src/generators/kits/frames/frames.generator.d.ts +0 -3
  472. package/bundle/typescript/src/generators/kits/frames/frames.generator.js +0 -166
  473. package/bundle/typescript/src/generators/kits/frames/frames.generator.js.map +0 -1
  474. package/bundle/typescript/src/generators/kits/kit.d.ts +0 -3
  475. package/bundle/typescript/src/generators/kits/kit.js +0 -17
  476. package/bundle/typescript/src/generators/kits/kit.js.map +0 -1
  477. package/bundle/typescript/src/generators/kits/mui/_index.d.ts +0 -4
  478. package/bundle/typescript/src/generators/kits/mui/_index.js +0 -5
  479. package/bundle/typescript/src/generators/kits/mui/_index.js.map +0 -1
  480. package/bundle/typescript/src/generators/kits/mui/auth.mui.gen.d.ts +0 -2
  481. package/bundle/typescript/src/generators/kits/mui/auth.mui.gen.js +0 -228
  482. package/bundle/typescript/src/generators/kits/mui/auth.mui.gen.js.map +0 -1
  483. package/bundle/typescript/src/generators/kits/mui/auth0.mui.gen.d.ts +0 -2
  484. package/bundle/typescript/src/generators/kits/mui/auth0.mui.gen.js +0 -158
  485. package/bundle/typescript/src/generators/kits/mui/auth0.mui.gen.js.map +0 -1
  486. package/bundle/typescript/src/generators/kits/mui/frame.mui.gen.d.ts +0 -1
  487. package/bundle/typescript/src/generators/kits/mui/frame.mui.gen.js +0 -210
  488. package/bundle/typescript/src/generators/kits/mui/frame.mui.gen.js.map +0 -1
  489. package/bundle/typescript/src/generators/kits/mui/mui.generator.d.ts +0 -3
  490. package/bundle/typescript/src/generators/kits/mui/mui.generator.js +0 -79
  491. package/bundle/typescript/src/generators/kits/mui/mui.generator.js.map +0 -1
  492. package/bundle/typescript/src/generators/layout.d.ts +0 -1
  493. package/bundle/typescript/src/generators/layout.js +0 -116
  494. package/bundle/typescript/src/generators/layout.js.map +0 -1
  495. package/bundle/typescript/src/generators/maka.gen.d.ts +0 -5
  496. package/bundle/typescript/src/generators/maka.gen.js +0 -26
  497. package/bundle/typescript/src/generators/maka.gen.js.map +0 -1
  498. package/bundle/typescript/src/generators/methods.d.ts +0 -1
  499. package/bundle/typescript/src/generators/methods.js +0 -65
  500. package/bundle/typescript/src/generators/methods.js.map +0 -1
  501. package/bundle/typescript/src/generators/package.d.ts +0 -1
  502. package/bundle/typescript/src/generators/package.js +0 -71
  503. package/bundle/typescript/src/generators/package.js.map +0 -1
  504. package/bundle/typescript/src/generators/page.d.ts +0 -1
  505. package/bundle/typescript/src/generators/page.js +0 -194
  506. package/bundle/typescript/src/generators/page.js.map +0 -1
  507. package/bundle/typescript/src/generators/publish.d.ts +0 -1
  508. package/bundle/typescript/src/generators/publish.js +0 -75
  509. package/bundle/typescript/src/generators/publish.js.map +0 -1
  510. package/bundle/typescript/src/generators/route.d.ts +0 -1
  511. package/bundle/typescript/src/generators/route.js +0 -68
  512. package/bundle/typescript/src/generators/route.js.map +0 -1
  513. package/bundle/typescript/src/generators/services/_index.d.ts +0 -4
  514. package/bundle/typescript/src/generators/services/_index.js +0 -5
  515. package/bundle/typescript/src/generators/services/_index.js.map +0 -1
  516. package/bundle/typescript/src/generators/services/logger.d.ts +0 -1
  517. package/bundle/typescript/src/generators/services/logger.js +0 -50
  518. package/bundle/typescript/src/generators/services/logger.js.map +0 -1
  519. package/bundle/typescript/src/generators/services/openssl.d.ts +0 -1
  520. package/bundle/typescript/src/generators/services/openssl.js +0 -38
  521. package/bundle/typescript/src/generators/services/openssl.js.map +0 -1
  522. package/bundle/typescript/src/generators/services/service.d.ts +0 -3
  523. package/bundle/typescript/src/generators/services/service.js +0 -16
  524. package/bundle/typescript/src/generators/services/service.js.map +0 -1
  525. package/bundle/typescript/src/generators/services/translation.d.ts +0 -1
  526. package/bundle/typescript/src/generators/services/translation.js +0 -149
  527. package/bundle/typescript/src/generators/services/translation.js.map +0 -1
  528. package/bundle/typescript/src/maka.d.ts +0 -2
  529. package/bundle/typescript/src/maka.js +0 -26
  530. package/bundle/typescript/src/maka.js.map +0 -1
  531. package/bundle/typescript/src/templates/aws/cloudformation/create-ec2-instance.template +0 -14
  532. package/bundle/typescript/src/templates/meteor/api/api.js +0 -20
  533. package/bundle/typescript/src/templates/meteor/api/api.js.ts +0 -20
  534. package/bundle/typescript/src/templates/meteor/api/apollo-gateway.js +0 -50
  535. package/bundle/typescript/src/templates/meteor/api/apollo-gateway.js.ts +0 -55
  536. package/bundle/typescript/src/templates/meteor/api/graphql-api.js +0 -63
  537. package/bundle/typescript/src/templates/meteor/api/graphql-api.js.ts +0 -69
  538. package/bundle/typescript/src/templates/meteor/api/methods.js +0 -39
  539. package/bundle/typescript/src/templates/meteor/api/methods.js.ts +0 -40
  540. package/bundle/typescript/src/templates/meteor/api/register-api.js +0 -3
  541. package/bundle/typescript/src/templates/meteor/api/register-api.js.ts +0 -3
  542. package/bundle/typescript/src/templates/meteor/api/resolvers.js +0 -9
  543. package/bundle/typescript/src/templates/meteor/api/resolvers.js.ts +0 -9
  544. package/bundle/typescript/src/templates/meteor/api/tests.js +0 -0
  545. package/bundle/typescript/src/templates/meteor/api/tests.js.ts +0 -0
  546. package/bundle/typescript/src/templates/meteor/api/typeDefs.js +0 -6
  547. package/bundle/typescript/src/templates/meteor/api/typeDefs.js.ts +0 -6
  548. package/bundle/typescript/src/templates/meteor/app/client/.gitkeep +0 -0
  549. package/bundle/typescript/src/templates/meteor/app/client/body.html +0 -3
  550. package/bundle/typescript/src/templates/meteor/app/client/head.html +0 -12
  551. package/bundle/typescript/src/templates/meteor/app/client/main.js +0 -15
  552. package/bundle/typescript/src/templates/meteor/app/client/main.js.jsx +0 -15
  553. package/bundle/typescript/src/templates/meteor/app/client/main.js.ts +0 -15
  554. package/bundle/typescript/src/templates/meteor/app/client/main.js.tsx +0 -15
  555. package/bundle/typescript/src/templates/meteor/app/imports/api/.gitkeep +0 -0
  556. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/index.js +0 -20
  557. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/index.js.jsx +0 -107
  558. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/index.js.ts +0 -20
  559. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/index.js.tsx +0 -108
  560. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/routes.js +0 -39
  561. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/routes.js.jsx +0 -33
  562. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/routes.js.ts +0 -24
  563. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/routes.js.tsx +0 -33
  564. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/templates.js +0 -9
  565. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/templates.js.jsx +0 -9
  566. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/templates.js.ts +0 -9
  567. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/templates.js.tsx +0 -9
  568. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/index.js +0 -1
  569. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/index.js.jsx +0 -20
  570. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/index.js.ts +0 -1
  571. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/index.js.tsx +0 -20
  572. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +0 -28
  573. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +0 -28
  574. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/templates.js.jsx +0 -0
  575. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/templates.js.tsx +0 -0
  576. package/bundle/typescript/src/templates/meteor/app/imports/startup/server/index.js +0 -1
  577. package/bundle/typescript/src/templates/meteor/app/imports/startup/server/index.js.jsx +0 -98
  578. package/bundle/typescript/src/templates/meteor/app/imports/startup/server/index.js.ts +0 -0
  579. package/bundle/typescript/src/templates/meteor/app/imports/startup/server/index.js.tsx +0 -98
  580. package/bundle/typescript/src/templates/meteor/app/imports/ui/test-helpers.js +0 -24
  581. package/bundle/typescript/src/templates/meteor/app/imports/ui/test-helpers.js.ts +0 -24
  582. package/bundle/typescript/src/templates/meteor/app/lib/.gitkeep +0 -0
  583. package/bundle/typescript/src/templates/meteor/app/lib/main.js +0 -3
  584. package/bundle/typescript/src/templates/meteor/app/lib/main.js.jsx +0 -3
  585. package/bundle/typescript/src/templates/meteor/app/lib/main.js.ts +0 -3
  586. package/bundle/typescript/src/templates/meteor/app/lib/main.js.tsx +0 -3
  587. package/bundle/typescript/src/templates/meteor/app/maka.d.ts +0 -504
  588. package/bundle/typescript/src/templates/meteor/app/meteor.d.ts +0 -954
  589. package/bundle/typescript/src/templates/meteor/app/packages/.gitkeep +0 -0
  590. package/bundle/typescript/src/templates/meteor/app/private/.gitkeep +0 -0
  591. package/bundle/typescript/src/templates/meteor/app/public/.gitkeep +0 -0
  592. package/bundle/typescript/src/templates/meteor/app/public/favicon.ico +0 -0
  593. package/bundle/typescript/src/templates/meteor/app/public/maka-144x144.png +0 -0
  594. package/bundle/typescript/src/templates/meteor/app/public/maka-192x192.png +0 -0
  595. package/bundle/typescript/src/templates/meteor/app/public/maka-512x512.png +0 -0
  596. package/bundle/typescript/src/templates/meteor/app/public/manifest.json +0 -27
  597. package/bundle/typescript/src/templates/meteor/app/public/sw.js +0 -30
  598. package/bundle/typescript/src/templates/meteor/app/public/sw.js.jsx +0 -30
  599. package/bundle/typescript/src/templates/meteor/app/public/sw.js.ts +0 -30
  600. package/bundle/typescript/src/templates/meteor/app/public/sw.js.tsx +0 -30
  601. package/bundle/typescript/src/templates/meteor/app/server/.gitkeep +0 -0
  602. package/bundle/typescript/src/templates/meteor/app/server/helmet-csp.js +0 -179
  603. package/bundle/typescript/src/templates/meteor/app/server/helmet-csp.js.jsx +0 -179
  604. package/bundle/typescript/src/templates/meteor/app/server/helmet-csp.js.ts +0 -179
  605. package/bundle/typescript/src/templates/meteor/app/server/helmet-csp.js.tsx +0 -179
  606. package/bundle/typescript/src/templates/meteor/app/server/main.js +0 -13
  607. package/bundle/typescript/src/templates/meteor/app/server/main.js.jsx +0 -13
  608. package/bundle/typescript/src/templates/meteor/app/server/main.js.ts +0 -13
  609. package/bundle/typescript/src/templates/meteor/app/server/main.js.tsx +0 -13
  610. package/bundle/typescript/src/templates/meteor/app/tsconfig.json +0 -40
  611. package/bundle/typescript/src/templates/meteor/collection/collection.js +0 -51
  612. package/bundle/typescript/src/templates/meteor/collection/collection.js.ts +0 -55
  613. package/bundle/typescript/src/templates/meteor/collection/tests.js +0 -27
  614. package/bundle/typescript/src/templates/meteor/collection/tests.js.ts +0 -27
  615. package/bundle/typescript/src/templates/meteor/config/docker-compose.yaml +0 -17
  616. package/bundle/typescript/src/templates/meteor/config/pm2.config.js +0 -27
  617. package/bundle/typescript/src/templates/meteor/config/process.env +0 -5
  618. package/bundle/typescript/src/templates/meteor/config/settings.json +0 -11
  619. package/bundle/typescript/src/templates/meteor/config/ssh.json +0 -6
  620. package/bundle/typescript/src/templates/meteor/dbc/config.js +0 -70
  621. package/bundle/typescript/src/templates/meteor/dbc/config.js.ts +0 -70
  622. package/bundle/typescript/src/templates/meteor/dbc/conn.js +0 -37
  623. package/bundle/typescript/src/templates/meteor/dbc/conn.js.ts +0 -37
  624. package/bundle/typescript/src/templates/meteor/dbc/register-dbc.js +0 -3
  625. package/bundle/typescript/src/templates/meteor/dbc/register-dbc.js.ts +0 -3
  626. package/bundle/typescript/src/templates/meteor/method/method.js +0 -48
  627. package/bundle/typescript/src/templates/meteor/method/method.js.ts +0 -48
  628. package/bundle/typescript/src/templates/meteor/package/client/package.js +0 -0
  629. package/bundle/typescript/src/templates/meteor/package/client/package.js.jsx +0 -0
  630. package/bundle/typescript/src/templates/meteor/package/client/package.js.ts +0 -0
  631. package/bundle/typescript/src/templates/meteor/package/client/package.js.tsx +0 -0
  632. package/bundle/typescript/src/templates/meteor/package/lib/package.js +0 -0
  633. package/bundle/typescript/src/templates/meteor/package/lib/package.js.jsx +0 -0
  634. package/bundle/typescript/src/templates/meteor/package/lib/package.js.ts +0 -0
  635. package/bundle/typescript/src/templates/meteor/package/lib/package.js.tsx +0 -0
  636. package/bundle/typescript/src/templates/meteor/package/package.js +0 -37
  637. package/bundle/typescript/src/templates/meteor/package/package.js.jsx +0 -37
  638. package/bundle/typescript/src/templates/meteor/package/package.js.ts +0 -36
  639. package/bundle/typescript/src/templates/meteor/package/package.js.tsx +0 -37
  640. package/bundle/typescript/src/templates/meteor/package/server/package.js +0 -0
  641. package/bundle/typescript/src/templates/meteor/package/server/package.js.jsx +0 -0
  642. package/bundle/typescript/src/templates/meteor/package/server/package.js.ts +0 -0
  643. package/bundle/typescript/src/templates/meteor/package/server/package.js.tsx +0 -0
  644. package/bundle/typescript/src/templates/meteor/package/tests/client/package.js +0 -5
  645. package/bundle/typescript/src/templates/meteor/package/tests/client/package.js.jsx +0 -5
  646. package/bundle/typescript/src/templates/meteor/package/tests/client/package.js.ts +0 -5
  647. package/bundle/typescript/src/templates/meteor/package/tests/client/package.js.tsx +0 -5
  648. package/bundle/typescript/src/templates/meteor/package/tests/server/package.js +0 -5
  649. package/bundle/typescript/src/templates/meteor/package/tests/server/package.js.jsx +0 -5
  650. package/bundle/typescript/src/templates/meteor/package/tests/server/package.js.ts +0 -5
  651. package/bundle/typescript/src/templates/meteor/package/tests/server/package.js.tsx +0 -5
  652. package/bundle/typescript/src/templates/meteor/project/.maka/config.json +0 -29
  653. package/bundle/typescript/src/templates/meteor/project/.maka/history.json +0 -1
  654. package/bundle/typescript/src/templates/meteor/project/README.md +0 -33
  655. package/bundle/typescript/src/templates/meteor/project/build/.gitkeep +0 -0
  656. package/bundle/typescript/src/templates/meteor/project/build/README +0 -4
  657. package/bundle/typescript/src/templates/meteor/project/gitignore +0 -9
  658. package/bundle/typescript/src/templates/meteor/project/package.json +0 -29
  659. package/bundle/typescript/src/templates/meteor/publish/publish.js +0 -3
  660. package/bundle/typescript/src/templates/meteor/publish/publish.js.ts +0 -3
  661. package/bundle/typescript/src/templates/meteor/service/logger/logger.js +0 -27
  662. package/bundle/typescript/src/templates/meteor/service/logger/logger.js.ts +0 -27
  663. package/bundle/typescript/src/templates/meteor/stylesheet/stylesheet.css +0 -5
  664. package/bundle/typescript/src/templates/meteor/stylesheet/stylesheet.css.less +0 -5
  665. package/bundle/typescript/src/templates/meteor/template/template-tests.js +0 -1
  666. package/bundle/typescript/src/templates/meteor/template/template-tests.js.jsx +0 -55
  667. package/bundle/typescript/src/templates/meteor/template/template-tests.js.ts +0 -1
  668. package/bundle/typescript/src/templates/meteor/template/template-tests.js.tsx +0 -55
  669. package/bundle/typescript/src/templates/meteor/template/template.css +0 -3
  670. package/bundle/typescript/src/templates/meteor/template/template.css.less +0 -3
  671. package/bundle/typescript/src/templates/meteor/template/template.css.scss +0 -3
  672. package/bundle/typescript/src/templates/meteor/template/template.html +0 -5
  673. package/bundle/typescript/src/templates/meteor/template/template.js +0 -20
  674. package/bundle/typescript/src/templates/meteor/template/template.js.jsx +0 -77
  675. package/bundle/typescript/src/templates/meteor/template/template.js.ts +0 -1
  676. package/bundle/typescript/src/templates/meteor/template/template.js.tsx +0 -89
  677. package/bundle/typescript/src/templates/react/component/component.css +0 -6
  678. package/bundle/typescript/src/templates/react/component/component.css.less +0 -6
  679. package/bundle/typescript/src/templates/react/component/component.css.scss +0 -3
  680. package/bundle/typescript/src/templates/react/component/component.js.jsx +0 -54
  681. package/bundle/typescript/src/templates/react/component/component.js.tsx +0 -59
  682. package/bundle/typescript/src/templates/react/hook/hook.css +0 -3
  683. package/bundle/typescript/src/templates/react/hook/hook.css.scss +0 -3
  684. package/bundle/typescript/src/templates/react/hook/hook.js.jsx +0 -19
  685. package/bundle/typescript/src/templates/react/hook/hook.js.tsx +0 -18
  686. package/bundle/typescript/src/templates/react/kit/auth/provider/authentication-provider.js.jsx +0 -293
  687. package/bundle/typescript/src/templates/react/kit/auth/provider/authentication-provider.js.tsx +0 -329
  688. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-client.js.jsx +0 -178
  689. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-client.js.tsx +0 -178
  690. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-config.js.jsx +0 -59
  691. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-config.js.tsx +0 -67
  692. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-methods.js.jsx +0 -273
  693. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-methods.js.tsx +0 -275
  694. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-validator.js.jsx +0 -182
  695. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-validator.js.tsx +0 -199
  696. package/bundle/typescript/src/templates/react/kit/auth/service/meteor-auth-service.js.jsx +0 -138
  697. package/bundle/typescript/src/templates/react/kit/auth/service/meteor-auth-service.js.tsx +0 -136
  698. package/bundle/typescript/src/templates/react/kit/esri/map/basic-map.js.jsx +0 -29
  699. package/bundle/typescript/src/templates/react/kit/esri/map/basic-map.js.tsx +0 -32
  700. package/bundle/typescript/src/templates/react/kit/frames/frames-demo.css +0 -63
  701. package/bundle/typescript/src/templates/react/kit/frames/frames-demo.jsx +0 -153
  702. package/bundle/typescript/src/templates/react/kit/frames/frames-demo.tsx +0 -164
  703. package/bundle/typescript/src/templates/react/kit/frames/workspace-manager.css +0 -105
  704. package/bundle/typescript/src/templates/react/kit/frames/workspace-manager.jsx +0 -158
  705. package/bundle/typescript/src/templates/react/kit/frames/workspace-manager.tsx +0 -166
  706. package/bundle/typescript/src/templates/react/kit/mui/auth/forgot-password/basic-forgot-password-page.js.jsx +0 -34
  707. package/bundle/typescript/src/templates/react/kit/mui/auth/forgot-password/basic-forgot-password-page.js.tsx +0 -33
  708. package/bundle/typescript/src/templates/react/kit/mui/auth/login/basic-login-page.js.jsx +0 -53
  709. package/bundle/typescript/src/templates/react/kit/mui/auth/login/basic-login-page.js.tsx +0 -53
  710. package/bundle/typescript/src/templates/react/kit/mui/auth/logout/basic-logout-page.js.jsx +0 -25
  711. package/bundle/typescript/src/templates/react/kit/mui/auth/logout/basic-logout-page.js.tsx +0 -25
  712. package/bundle/typescript/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.jsx +0 -41
  713. package/bundle/typescript/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.tsx +0 -35
  714. package/bundle/typescript/src/templates/react/kit/mui/auth/register/basic-register-page.js.jsx +0 -33
  715. package/bundle/typescript/src/templates/react/kit/mui/auth/register/basic-register-page.js.tsx +0 -33
  716. package/bundle/typescript/src/templates/react/kit/mui/auth0/auth-callback.js.jsx +0 -71
  717. package/bundle/typescript/src/templates/react/kit/mui/auth0/auth-callback.js.tsx +0 -71
  718. package/bundle/typescript/src/templates/react/kit/mui/auth0/auth0-account-settings.js.jsx +0 -123
  719. package/bundle/typescript/src/templates/react/kit/mui/auth0/auth0-account-settings.js.tsx +0 -123
  720. package/bundle/typescript/src/templates/react/kit/mui/auth0/auth0-login-button.js.jsx +0 -56
  721. package/bundle/typescript/src/templates/react/kit/mui/auth0/auth0-login-button.js.tsx +0 -74
  722. package/bundle/typescript/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +0 -43
  723. package/bundle/typescript/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +0 -43
  724. package/bundle/typescript/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +0 -121
  725. package/bundle/typescript/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +0 -117
  726. package/bundle/typescript/src/templates/react/kit/mui/frame/footers/basic-sticky-footer.js.jsx +0 -41
  727. package/bundle/typescript/src/templates/react/kit/mui/frame/footers/basic-sticky-footer.js.tsx +0 -41
  728. package/bundle/typescript/src/templates/react/route/route.js +0 -8
  729. package/bundle/typescript/src/templates/react/route/route.js.jsx +0 -5
  730. package/bundle/typescript/src/templates/react/route/route.js.ts +0 -8
  731. package/bundle/typescript/src/templates/react/route/route.js.tsx +0 -5
  732. package/bundle/typescript/src/templates/react/test/test.js +0 -1
  733. package/bundle/typescript/src/templates/react/test/test.js.jsx +0 -38
  734. package/bundle/typescript/src/templates/react/test/test.js.ts +0 -1
  735. package/bundle/typescript/src/templates/react/test/test.js.tsx +0 -38
  736. package/bundle/typescript/src/templates/service/docker/Dockerfile +0 -54
  737. package/bundle/typescript/src/templates/service/eslint/babel.config.js +0 -15
  738. package/bundle/typescript/src/templates/service/eslint/config.eslint.js +0 -57
  739. package/bundle/typescript/src/templates/service/i18n/i18n.js +0 -33
  740. package/bundle/typescript/src/templates/service/i18n/i18n.js.ts +0 -33
  741. package/bundle/typescript/src/templates/service/i18n/index.js +0 -0
  742. package/bundle/typescript/src/templates/service/i18n/index.js.jsx +0 -0
  743. package/bundle/typescript/src/templates/service/i18n/locales.js +0 -3
  744. package/bundle/typescript/src/templates/service/i18n/locales.js.ts +0 -3
  745. package/bundle/typescript/src/templates/service/openssl/openssl.conf +0 -22
  746. package/bundle/typescript/src/templates/service/test/jest/jest.config.js +0 -6
  747. package/bundle/typescript/src/templates/service/test/jest/jest.setup.js +0 -7
  748. package/bundle/typescript/src/tool.d.ts +0 -74
  749. package/bundle/typescript/src/tool.js +0 -217
  750. package/bundle/typescript/src/tool.js.map +0 -1
  751. package/bundle/typescript/src/tools/actions/actions.class.d.ts +0 -25
  752. package/bundle/typescript/src/tools/actions/actions.class.js +0 -20
  753. package/bundle/typescript/src/tools/actions/actions.class.js.map +0 -1
  754. package/bundle/typescript/src/tools/aws/aws.class.d.ts +0 -51
  755. package/bundle/typescript/src/tools/aws/aws.class.js +0 -802
  756. package/bundle/typescript/src/tools/aws/aws.class.js.map +0 -1
  757. package/bundle/typescript/src/tools/aws/aws.interfaces.d.ts +0 -364
  758. package/bundle/typescript/src/tools/aws/aws.interfaces.js +0 -255
  759. package/bundle/typescript/src/tools/aws/aws.interfaces.js.map +0 -1
  760. package/bundle/typescript/src/tools/cfg/cfg.class.d.ts +0 -42
  761. package/bundle/typescript/src/tools/cfg/cfg.class.js +0 -402
  762. package/bundle/typescript/src/tools/cfg/cfg.class.js.map +0 -1
  763. package/bundle/typescript/src/tools/docker/docker.class.d.ts +0 -10
  764. package/bundle/typescript/src/tools/docker/docker.class.js +0 -46
  765. package/bundle/typescript/src/tools/docker/docker.class.js.map +0 -1
  766. package/bundle/typescript/src/tools/docker/docker.interfaces.d.ts +0 -18
  767. package/bundle/typescript/src/tools/docker/docker.interfaces.js +0 -2
  768. package/bundle/typescript/src/tools/docker/docker.interfaces.js.map +0 -1
  769. package/bundle/typescript/src/tools/fsi/fsi.class.d.ts +0 -130
  770. package/bundle/typescript/src/tools/fsi/fsi.class.js +0 -685
  771. package/bundle/typescript/src/tools/fsi/fsi.class.js.map +0 -1
  772. package/bundle/typescript/src/tools/fsi/fsi.interfaces.d.ts +0 -190
  773. package/bundle/typescript/src/tools/fsi/fsi.interfaces.js +0 -64
  774. package/bundle/typescript/src/tools/fsi/fsi.interfaces.js.map +0 -1
  775. package/bundle/typescript/src/tools/https/https.class.d.ts +0 -13
  776. package/bundle/typescript/src/tools/https/https.class.js +0 -302
  777. package/bundle/typescript/src/tools/https/https.class.js.map +0 -1
  778. package/bundle/typescript/src/tools/https/https.interface.d.ts +0 -40
  779. package/bundle/typescript/src/tools/https/https.interface.js +0 -2
  780. package/bundle/typescript/src/tools/https/https.interface.js.map +0 -1
  781. package/bundle/typescript/src/tools/log/log.class.d.ts +0 -33
  782. package/bundle/typescript/src/tools/log/log.class.js +0 -206
  783. package/bundle/typescript/src/tools/log/log.class.js.map +0 -1
  784. package/bundle/typescript/src/tools/log/log.interfaces.d.ts +0 -7
  785. package/bundle/typescript/src/tools/log/log.interfaces.js +0 -2
  786. package/bundle/typescript/src/tools/log/log.interfaces.js.map +0 -1
  787. package/bundle/typescript/src/tools/mpi/mpi.class.d.ts +0 -26
  788. package/bundle/typescript/src/tools/mpi/mpi.class.js +0 -523
  789. package/bundle/typescript/src/tools/mpi/mpi.class.js.map +0 -1
  790. package/bundle/typescript/src/tools/options/options.class.d.ts +0 -11
  791. package/bundle/typescript/src/tools/options/options.class.js +0 -64
  792. package/bundle/typescript/src/tools/options/options.class.js.map +0 -1
  793. package/bundle/typescript/src/tools/pkg/pkg.class.d.ts +0 -31
  794. package/bundle/typescript/src/tools/pkg/pkg.class.js +0 -314
  795. package/bundle/typescript/src/tools/pkg/pkg.class.js.map +0 -1
  796. package/bundle/typescript/src/tools/progress/progress.class.d.ts +0 -12
  797. package/bundle/typescript/src/tools/progress/progress.class.js +0 -42
  798. package/bundle/typescript/src/tools/progress/progress.class.js.map +0 -1
  799. package/bundle/typescript/src/tools/scaffold/scaffold.class.d.ts +0 -198
  800. package/bundle/typescript/src/tools/scaffold/scaffold.class.js +0 -868
  801. package/bundle/typescript/src/tools/scaffold/scaffold.class.js.map +0 -1
  802. package/bundle/typescript/src/tools/spawn-async/spawn-async.class.d.ts +0 -4
  803. package/bundle/typescript/src/tools/spawn-async/spawn-async.class.js +0 -42
  804. package/bundle/typescript/src/tools/spawn-async/spawn-async.class.js.map +0 -1
  805. package/bundle/typescript/src/tools/spawn-async/spawn-async.interfaces.d.ts +0 -6
  806. package/bundle/typescript/src/tools/spawn-async/spawn-async.interfaces.js +0 -2
  807. package/bundle/typescript/src/tools/spawn-async/spawn-async.interfaces.js.map +0 -1
  808. package/bundle/typescript/src/tools/ssh/ssh.class.d.ts +0 -11
  809. package/bundle/typescript/src/tools/ssh/ssh.class.js +0 -120
  810. package/bundle/typescript/src/tools/ssh/ssh.class.js.map +0 -1
  811. package/bundle/typescript/src/tools/ssh/ssh.interfaces.d.ts +0 -21
  812. package/bundle/typescript/src/tools/ssh/ssh.interfaces.js +0 -2
  813. package/bundle/typescript/src/tools/ssh/ssh.interfaces.js.map +0 -1
  814. package/bundle/typescript/src/tools/ssl/ssl.class.d.ts +0 -17
  815. package/bundle/typescript/src/tools/ssl/ssl.class.js +0 -54
  816. package/bundle/typescript/src/tools/ssl/ssl.class.js.map +0 -1
  817. package/bundle/typescript/src/tools/ssl/ssl.interfaces.d.ts +0 -0
  818. package/bundle/typescript/src/tools/ssl/ssl.interfaces.js +0 -1
  819. package/bundle/typescript/src/tools/ssl/ssl.interfaces.js.map +0 -1
@@ -1,56 +0,0 @@
1
- import { Size, Category, Rating } from '../types/shared/item-enum.js';
2
- import { AbstractItem } from '../types/shared/abstracts.js';
3
- export interface IItemConstructorConfig {
4
- name: string;
5
- description: string;
6
- size: Size;
7
- category: Category;
8
- shape: string;
9
- color: string;
10
- texture: string;
11
- rating: Rating;
12
- weight: number;
13
- details?: string;
14
- content?: string;
15
- satisfiesLifestyle?: {
16
- addictionTypes?: string[];
17
- habitTags?: string[];
18
- };
19
- transferable?: boolean;
20
- }
21
- export declare class Item extends AbstractItem {
22
- private _id;
23
- private _owner?;
24
- name: string;
25
- description: string;
26
- size: Size;
27
- category: Category;
28
- shape: string;
29
- color: string;
30
- texture: string;
31
- rating: Rating;
32
- weight: number;
33
- content?: string;
34
- details?: string;
35
- satisfiesLifestyle?: {
36
- addictionTypes?: string[];
37
- habitTags?: string[];
38
- };
39
- private _transferable;
40
- protected _currencyAmount: number;
41
- protected _currencyCapacity?: number;
42
- constructor(options: IItemConstructorConfig);
43
- get owner(): string | undefined;
44
- set owner(owner: string | undefined);
45
- get id(): string;
46
- get transferable(): boolean;
47
- use(): string;
48
- supportsAddiction(addiction: string): boolean;
49
- supportsHabit(habit: string): boolean;
50
- isCurrencyCarrier(): boolean;
51
- get currencyAmount(): number;
52
- addCurrency(amount: number): number;
53
- deductCurrency(amount: number): number;
54
- private getCharacteristics;
55
- getFormattedCharacteristics(): string;
56
- }
@@ -1,145 +0,0 @@
1
- import { Size, Category, Rating } from '../types/shared/item-enum.js';
2
- import { v4 as uuidv4 } from 'uuid';
3
- import { AbstractItem } from '../types/shared/abstracts.js';
4
- export class Item extends AbstractItem {
5
- _id;
6
- _owner;
7
- name;
8
- description;
9
- size;
10
- category;
11
- shape;
12
- color;
13
- texture;
14
- rating;
15
- weight;
16
- content;
17
- details;
18
- satisfiesLifestyle;
19
- _transferable;
20
- // New currency-related fields
21
- _currencyAmount = 0;
22
- _currencyCapacity;
23
- constructor(options) {
24
- super();
25
- // Validate enum values
26
- if (!Object.values(Size).includes(options.size)) {
27
- throw new Error(`Invalid size value for ${options.name}: ${options.size}`);
28
- }
29
- if (!Object.values(Category).includes(options.category)) {
30
- throw new Error(`Invalid category value for ${options.name}: ${options.category}`);
31
- }
32
- if (!Object.values(Rating).includes(options.rating)) {
33
- throw new Error(`Invalid rating value for ${options.name}: ${options.rating}`);
34
- }
35
- this.name = options.name;
36
- this.description = options.description;
37
- this.size = options.size;
38
- this.category = options.category;
39
- this.shape = options.shape;
40
- this.color = options.color;
41
- this.texture = options.texture;
42
- this.rating = options.rating;
43
- this.weight = options.weight;
44
- this.details = options.details;
45
- this.content = options.content;
46
- this.satisfiesLifestyle = options.satisfiesLifestyle;
47
- this._transferable = options.transferable !== false; // default true
48
- this._id = uuidv4();
49
- // Optional: you can define capacity by size
50
- if (this.isCurrencyCarrier()) {
51
- switch (this.size) {
52
- case Size.Small:
53
- this._currencyCapacity = 100;
54
- break;
55
- case Size.Medium:
56
- this._currencyCapacity = 500;
57
- break;
58
- case Size.Large:
59
- this._currencyCapacity = 1000;
60
- break;
61
- }
62
- }
63
- }
64
- get owner() {
65
- return this._owner;
66
- }
67
- set owner(owner) {
68
- this._owner = owner;
69
- }
70
- get id() {
71
- return this._id;
72
- }
73
- get transferable() {
74
- return this._transferable;
75
- }
76
- use() {
77
- return `You use the ${this.name}. Nothing special happens.`;
78
- }
79
- supportsAddiction(addiction) {
80
- return this.satisfiesLifestyle?.addictionTypes?.includes(addiction) ?? false;
81
- }
82
- supportsHabit(habit) {
83
- return this.satisfiesLifestyle?.habitTags?.includes(habit) ?? false;
84
- }
85
- // --- Currency Support ---
86
- isCurrencyCarrier() {
87
- return this.category === Category.CurrencyContainer;
88
- }
89
- get currencyAmount() {
90
- return this._currencyAmount;
91
- }
92
- addCurrency(amount) {
93
- if (!this.isCurrencyCarrier())
94
- return 0;
95
- const space = this._currencyCapacity !== undefined
96
- ? Math.max(0, this._currencyCapacity - this._currencyAmount)
97
- : Infinity;
98
- const added = Math.min(amount, space);
99
- this._currencyAmount += added;
100
- return added;
101
- }
102
- deductCurrency(amount) {
103
- if (!this.isCurrencyCarrier())
104
- return 0;
105
- const deducted = Math.min(this._currencyAmount, amount);
106
- this._currencyAmount -= deducted;
107
- return deducted;
108
- }
109
- getCharacteristics() {
110
- return {
111
- id: this._id,
112
- name: this.name,
113
- description: this.description,
114
- size: this.size,
115
- category: this.category,
116
- shape: this.shape,
117
- color: this.color,
118
- texture: this.texture,
119
- rating: this.rating,
120
- weight: this.weight,
121
- content: this.content,
122
- details: this.details,
123
- addictionTypes: this.satisfiesLifestyle?.addictionTypes,
124
- habitTags: this.satisfiesLifestyle?.habitTags,
125
- currencyAmount: this.isCurrencyCarrier() ? this._currencyAmount : undefined,
126
- currencyCapacity: this.isCurrencyCarrier() ? this._currencyCapacity : undefined,
127
- };
128
- }
129
- getFormattedCharacteristics() {
130
- const characteristics = this.getCharacteristics();
131
- return Object.entries(characteristics)
132
- .filter(([_, value]) => value !== undefined)
133
- .map(([key, value]) => {
134
- const formattedKey = key
135
- .replace(/([A-Z])/g, ' $1') // insert space before capital letters
136
- .replace(/^./, str => str.toUpperCase()); // capitalize first letter
137
- const formattedValue = Array.isArray(value)
138
- ? value.join(', ')
139
- : value;
140
- return `${formattedKey}: ${formattedValue}`;
141
- })
142
- .join('\n');
143
- }
144
- }
145
- //# sourceMappingURL=item.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"item.js","sourceRoot":"","sources":["../../../../../../../src/commands/game/sideQuest/models/item.ts"],"names":[],"mappings":"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"}
@@ -1,36 +0,0 @@
1
- import { Player } from './player.js';
2
- import { Scene } from './scene.js';
3
- import { IPlayerConstructorConfig } from '../models/player.js';
4
- import { CommandRegistry } from '../commands/command-registry.js';
5
- export interface INPCConstructorConfig {
6
- dialog: string[];
7
- description: string;
8
- playerConstructorConfig: IPlayerConstructorConfig;
9
- }
10
- export declare class NPC extends Player {
11
- private _dialogue;
12
- private _description;
13
- private _scene;
14
- private _commandHelp;
15
- private _history;
16
- private readonly _maxHistory;
17
- private commandRegistry;
18
- private lastNpcHeardTime;
19
- private static npcHearCooldownMs;
20
- private lastNpcSeenTime;
21
- private static npcSeeCooldownMs;
22
- private _maxRecursion;
23
- private waitingForPlayer;
24
- constructor(npcConfig: INPCConstructorConfig, commandRegistry: CommandRegistry);
25
- set scene(scene: Scene);
26
- get description(): string;
27
- set description(description: string);
28
- act(commandString: string): Promise<void>;
29
- hear(actor: Player, message: string): Promise<void>;
30
- see(actor: Player, verb: string, details?: string): Promise<void>;
31
- private _addToHistory;
32
- private getHistorySummary;
33
- speak(message?: string): string;
34
- recursiveReflect(commandString: string, result: string, recursionDepth?: number, maxRecursion?: number): Promise<void>;
35
- respondTo(actor: Player, message: string): Promise<void>;
36
- }
@@ -1,407 +0,0 @@
1
- import { capitalCase } from 'change-case';
2
- import { Player } from './player.js';
3
- import { Door } from './door.js';
4
- import { HTTPS } from '../../../../tools/https/https.class.js';
5
- export class NPC extends Player {
6
- _dialogue;
7
- _description;
8
- _scene;
9
- _commandHelp;
10
- _history = [];
11
- _maxHistory = 200;
12
- commandRegistry;
13
- lastNpcHeardTime = 0;
14
- static npcHearCooldownMs = 500; // 10 seconds. Adjust as you like!
15
- lastNpcSeenTime = 0;
16
- static npcSeeCooldownMs = 500; // 10 seconds (tune as you like)
17
- _maxRecursion = 5;
18
- waitingForPlayer = false;
19
- constructor(npcConfig, commandRegistry) {
20
- super(npcConfig.playerConstructorConfig);
21
- this._dialogue = npcConfig.dialog;
22
- this._description = npcConfig.description;
23
- this.commandRegistry = commandRegistry;
24
- this._commandHelp = `
25
- Available in-game commands (use with [COMMAND] prefix):
26
-
27
- - go <direction> — move in a direction like north, south, east, west
28
- - say <message> — speak a message
29
- - take <item name> — pick up an item from the current room
30
- - drop <item name> — drop an item
31
- - use <item name> — use an item
32
- - equip <item name> — equip an item (e.g., equip a weapon to use)
33
- - equip all - equip all wearable items in inventory
34
- - unequip <item name> — remove an equipped item
35
- - unlock <door name> — unlock a door (if you have the key or solution)
36
- - lock <door name> — lock a door
37
- - solve <puzzle name> — attempt to solve a puzzle
38
- - search — search the room for hidden things
39
- - look — look around the current room
40
- - look at <target> - looks at an item, player, or direction
41
- - store <item name> — store an item (in bank, safe, etc.)
42
- - give <item name> to <target> — give an item to someone
43
- - talk-to <target> — initiate conversation with another character
44
- - read <target> - Reads an item of Category "Book"
45
- - kill <target> - Kills an actor, removing them from the game.
46
- `.trim();
47
- }
48
- set scene(scene) {
49
- this._scene = scene;
50
- }
51
- get description() {
52
- return this._description;
53
- }
54
- set description(description) {
55
- this._description = description;
56
- }
57
- async act(commandString) {
58
- const command = await this.commandRegistry.parse(commandString, this);
59
- if (command) {
60
- // Capture the result of the command
61
- const result = await command.execute();
62
- await this.recursiveReflect(commandString, result);
63
- }
64
- else {
65
- this.logger.error(`${this.name} tried to perform unknown command: ${commandString}`);
66
- }
67
- }
68
- async hear(actor, message) {
69
- if (actor === this || actor.name === this.name)
70
- return;
71
- // Player wakes us up
72
- if (!(actor instanceof NPC)) {
73
- if (this.waitingForPlayer)
74
- this.logger.write(`[DEBUG] ${this.name} received player input, waking up.`);
75
- this.waitingForPlayer = false;
76
- }
77
- // If another NPC tries to trigger us and we are waiting for a player, ignore
78
- if (this.waitingForPlayer && actor instanceof NPC) {
79
- this.logger.write(`[DEBUG] ${this.name} is waiting for player input, ignoring NPC.`);
80
- return;
81
- }
82
- // If another NPC tries to trigger us and we are on cooldown, ignore
83
- if (actor instanceof NPC) {
84
- const now = Date.now();
85
- if (now - this.lastNpcHeardTime < NPC.npcHearCooldownMs) {
86
- this.logger.write(`[DEBUG] ${this.name} is on NPC hear cooldown.`);
87
- return;
88
- }
89
- this.lastNpcHeardTime = now;
90
- this.waitingForPlayer = true;
91
- this.logger.write(`[DEBUG] ${this.name} heard NPC, entering waiting state.`);
92
- }
93
- // Process input
94
- const entry = `${actor.name} says: "${message}"`;
95
- this._addToHistory(entry);
96
- this.logger.write(`${this.name} heard from ${actor.name}`);
97
- this.respondTo(actor, message);
98
- }
99
- async see(actor, verb, details) {
100
- try {
101
- if (actor === this || actor.name === this.name)
102
- return;
103
- if (!(actor instanceof NPC)) {
104
- if (this.waitingForPlayer)
105
- this.logger.write(`[DEBUG] ${this.name} received player action, waking up.`);
106
- this.waitingForPlayer = false;
107
- }
108
- if (this.waitingForPlayer && actor instanceof NPC) {
109
- this.logger.write(`[DEBUG] ${this.name} is waiting for player input, ignoring NPC action.`);
110
- return;
111
- }
112
- if (actor instanceof NPC) {
113
- const now = Date.now();
114
- if (now - this.lastNpcSeenTime < NPC.npcSeeCooldownMs) {
115
- this.logger.write(`[DEBUG] ${this.name} is on NPC see cooldown.`);
116
- return;
117
- }
118
- this.lastNpcSeenTime = now;
119
- this.waitingForPlayer = true;
120
- this.logger.write(`[DEBUG] ${this.name} saw NPC, entering waiting state.`);
121
- }
122
- const entry = `${actor.name} ${verb}${details ? ` ${details}` : ''}`;
123
- this._addToHistory(entry);
124
- this.logger.write(`${this.name} sees ${entry}`);
125
- this.respondTo(actor, entry);
126
- }
127
- catch (error) {
128
- this.logger.error(`Error in see: ${error}`);
129
- throw new Error(error);
130
- }
131
- }
132
- _addToHistory(entry) {
133
- this._history.push(entry);
134
- if (this._history.length > this._maxHistory) {
135
- this._history.shift();
136
- }
137
- }
138
- getHistorySummary() {
139
- if (this._history.length === 0)
140
- return `This NPC has not observed any recent activity.`;
141
- let history = `Recent activity around this NPC:\n${this._history.map((h, i) => ` ${i + 1}. ${h}`)?.join('\n')}`;
142
- this.logger.write(history);
143
- return history;
144
- }
145
- speak(message) {
146
- return message || this._dialogue[Math.floor(Math.random() * this._dialogue.length)];
147
- }
148
- async recursiveReflect(commandString, result, recursionDepth = 0, maxRecursion = this._maxRecursion) {
149
- if (recursionDepth >= maxRecursion) {
150
- this.logger.write('Max recursion reached.');
151
- return;
152
- }
153
- const historySummary = this.getHistorySummary();
154
- // Build the prompt context
155
- const context = `
156
- You are an NPC named ${this.name}.
157
-
158
- You just performed the action: "${commandString}"
159
- With the result: "${result}"
160
-
161
- Based on this, what is the most logical next in-game command (from the following list)?
162
- ${this._commandHelp}
163
- - Only respond with: [COMMAND] <in-game command here>
164
- - Do not respond on behalf of another player or NPC
165
- - If there is nothing to do, respond with: wait
166
- - Only respond with one [COMMAND]
167
-
168
- This is what has already happened:
169
- ${historySummary}
170
- `;
171
- // Send to GPT
172
- const gptResult = await HTTPS.askGPT({
173
- prompt: context,
174
- openApiKey: process.env.OPENAI_API_KEY || '',
175
- model: 'gpt-4.1'
176
- });
177
- const reply = JSON.parse(gptResult.data)?.choices?.[0]?.message?.content?.trim();
178
- if (!reply || reply.toLowerCase().includes('wait')) {
179
- this.logger.write(`${this.name} is finished reflecting for now.`);
180
- return;
181
- }
182
- // Parse the next command, execute, and reflect again
183
- const nextCommandMatch = reply.match(/^\[COMMAND\]\s*(.*)$/i);
184
- if (nextCommandMatch && nextCommandMatch[1]) {
185
- const nextCommand = nextCommandMatch[1];
186
- const command = await this.commandRegistry.parse(nextCommand, this);
187
- if (command) {
188
- const nextResult = await command.execute();
189
- if (nextResult) {
190
- this._addToHistory(nextResult);
191
- }
192
- await this.recursiveReflect(nextCommand, nextResult, recursionDepth + 1, maxRecursion);
193
- }
194
- else {
195
- this.logger.error(`NPC planned unknown command: ${nextCommand}`);
196
- }
197
- }
198
- else {
199
- this.logger.write('No valid command parsed from GPT reflection.');
200
- }
201
- }
202
- async respondTo(actor, message) {
203
- this.logger.write('Attempting to respond');
204
- if (!process.env.OPENAI_API_KEY) {
205
- this.logger.write(`No AI available`);
206
- actor.hear(this, this.speak());
207
- return;
208
- }
209
- // ---------- helpers ----------
210
- const safeArray = (arr, label = 'unknown') => {
211
- const ok = Array.isArray(arr) ? arr : [];
212
- if (!Array.isArray(arr)) {
213
- this.logger.write(`[DEBUG][${this.name}] ${label} was not an array, substituting []. Value: ${JSON.stringify(arr)}`);
214
- }
215
- return ok;
216
- };
217
- const toLines = (s) => {
218
- if (typeof s !== 'string')
219
- return [];
220
- return s.split(/\r?\n/);
221
- };
222
- // ---------- scene + npc context ----------
223
- const story = this._scene?.story
224
- ? `The overall storyline for this scene is: ${this._scene.story}`
225
- : `This scene has no overall storyline`;
226
- const historySummary = this.getHistorySummary();
227
- const npcDescription = this.description
228
- ? `This NPC has the following characteristics: ${this._description}`
229
- : `This NPC is non-descript.`;
230
- this.logger.write(npcDescription);
231
- const lifestyleSummary = Array.isArray(this.lifestyleChoices) && this.lifestyleChoices.length > 0
232
- ? `This NPC has the following lifestyle characteristics: ${this.lifestyleChoices.join(', ')}.`
233
- : `This NPC has no defined lifestyle preferences.`;
234
- const room = this.currentLocation;
235
- if (!room) {
236
- this.logger.error(`[ERROR][${this.name}] currentLocation is undefined in respondTo!`);
237
- return;
238
- }
239
- const roomDesc = `They are currently in: "${room.name}" — ${room.description}`;
240
- // ---------- exits (fully defensive) ----------
241
- let safeExits = [];
242
- try {
243
- if (room.exits && typeof room.exits.entries === 'function') {
244
- safeExits = Array.from(room.exits.entries());
245
- }
246
- else {
247
- this.logger.write(`[DEBUG][${this.name}] room.exits missing or not iterable; using empty exits.`);
248
- }
249
- }
250
- catch (e) {
251
- this.logger.error(`[ERROR][${this.name}] room.exits.entries() failed: ${e}`);
252
- }
253
- const formattedExitsArr = safeExits.map(([direction, exit]) => {
254
- const directionLabel = capitalCase(direction);
255
- if (exit instanceof Door) {
256
- const targetRoom = exit.getOtherSideToName(room);
257
- const isLocked = exit.checkIfLocked();
258
- const isLockable = exit.checkIfLockable();
259
- let requirementDetail = '';
260
- if (isLocked)
261
- requirementDetail = ` Requires key: "${exit.unlockItemOrSolution}".`;
262
- const status = isLocked ? ' (Locked)' : (isLockable ? ' (Unlocked)' : '');
263
- return `${directionLabel} → ${targetRoom}${status}${requirementDetail}`;
264
- }
265
- if (typeof exit === 'string') {
266
- return `${directionLabel} → ${exit}`;
267
- }
268
- return `${directionLabel} → Unknown`;
269
- });
270
- const formattedExitsStr = Array.isArray(formattedExitsArr) && formattedExitsArr.length > 0
271
- ? formattedExitsArr.join('\n')
272
- : '';
273
- // ---------- ownership + inventories (defensive) ----------
274
- const ownedRooms = safeArray(this._scene?.getOwnedRoomsBy?.(this.name), 'ownedRooms');
275
- this.logger.write(`[DEBUG][${this.name}] ownedRooms: ${JSON.stringify(ownedRooms)}`);
276
- const ownedRoomsDesc = ownedRooms.length > 0
277
- ? `They own the following rooms: ${ownedRooms.filter(r => r && r.name).map(r => `"${r.name}"`).join(', ')}.`
278
- : `They do not appear to own any rooms.`;
279
- const ownedItems = safeArray(this._scene?.getOwnedItemsBy?.(this.name), 'ownedItems');
280
- this.logger.write(`[DEBUG][${this.name}] ownedItems: ${JSON.stringify(ownedItems)}`);
281
- const ownedItemsDesc = ownedItems.length > 0
282
- ? `They own the following items: ${ownedItems.filter(i => i && i.name).map(i => `"${i.name}"`).join(', ')}.`
283
- : `They do not appear to own any items.`;
284
- const npcItems = safeArray(this.inventory?.getAllItems?.(), 'npcItems');
285
- this.logger.write(`[DEBUG][${this.name}] npcItems: ${JSON.stringify(npcItems)}`);
286
- const npcInventoryDesc = npcItems.length > 0
287
- ? `This NPC is carrying the following items:\n${npcItems
288
- .filter(item => !!item)
289
- .map(item => `- ${item.getFormattedCharacteristics?.() ?? (item.name ?? '[unnamed item]')}`)
290
- .join('\n')}`
291
- : `This NPC is not carrying anything.`;
292
- const visibleItems = safeArray(room.inventory?.getAllItems?.(), 'visibleItems');
293
- this.logger.write(`[DEBUG][${this.name}] visibleItems: ${JSON.stringify(visibleItems)}`);
294
- const roomInventoryDesc = visibleItems.length > 0
295
- ? `Items visible in the room: ${visibleItems.filter(i => i && i.name).map(i => i.name).join(', ')}.`
296
- : `There are no visible items in the room.`;
297
- // ---------- prompt ----------
298
- const prompt = `
299
- You are an NPC named ${this.name} in a gritty cyberpunk text adventure game.
300
-
301
- - Stay in character. Respond naturally based on your surroundings, personality, and the player’s message.
302
- - Any exposition should be in 3rd person. Keep exposition to bare minimum.
303
- - When speaking, use the "say" command. Syntax is "[COMMAND] say <message>"
304
- - If you want to perform an action, include a separate line that starts with:
305
- [COMMAND] <your in-game command here>
306
- - Attempt to use [COMMAND] when appropriate for interacting with the environment. (e.g., "take <item>" when picking up)
307
- - You should only provide one [COMMAND] at a time.
308
- - Do not respond on behalf of another player or NPC
309
-
310
- Your objective is to drive the story line.
311
- ${story}
312
-
313
- ${this._commandHelp}
314
-
315
- ${npcDescription}
316
-
317
- ${roomDesc}
318
- ${formattedExitsStr}
319
- ${roomInventoryDesc}
320
-
321
- ${lifestyleSummary}
322
- ${npcInventoryDesc}
323
-
324
- ${ownedRoomsDesc}
325
- ${ownedItemsDesc}
326
-
327
- ${historySummary}
328
-
329
- ${actor.name}: ${message}
330
- `.trim();
331
- // ---------- GPT call + parsing (defensive) ----------
332
- try {
333
- const result = await HTTPS.askGPT({
334
- prompt,
335
- openApiKey: process.env.OPENAI_API_KEY,
336
- model: 'gpt-4.1'
337
- });
338
- let parsed;
339
- try {
340
- parsed = JSON.parse(result?.data ?? '{}');
341
- }
342
- catch (e) {
343
- this.logger.error(`[ERROR][${this.name}] JSON.parse failed on result.data: ${e}`);
344
- return;
345
- }
346
- if (parsed?.error) {
347
- throw new Error(parsed.error.message ?? 'Unknown GPT error');
348
- }
349
- const reply = parsed?.choices?.[0]?.message?.content?.trim?.();
350
- if (!reply || typeof reply !== 'string') {
351
- this.logger.write(`[DEBUG][${this.name}] Empty or invalid reply from GPT; no action taken.`);
352
- return;
353
- }
354
- this._addToHistory(reply);
355
- const lines = toLines(reply);
356
- // Spoken lines
357
- const spokenLines = lines.filter(line => line.startsWith('[COMMAND] say'));
358
- // Commands (excluding say/talk-to)
359
- const commandLines = lines.filter(line => line.startsWith('[COMMAND]') &&
360
- !line.startsWith('[COMMAND] say') &&
361
- !line.startsWith('[COMMAND] talk-to'));
362
- // Exposition (non-command lines)
363
- const expositionLines = lines.filter(line => !line.startsWith('[COMMAND]'));
364
- // Speak each say command
365
- for (const spokenText of spokenLines) {
366
- const commandText = (spokenText ?? '').replace('[COMMAND]', '').trim();
367
- this.logger.write(`${this.name} attempts to say: ${commandText}`);
368
- try {
369
- if (commandText.length > 0) {
370
- this.act(commandText);
371
- }
372
- }
373
- catch (err) {
374
- this.logger.error(`${this.name} failed to say "${commandText}": ${err}`);
375
- // continue; don't throw so we can process remaining lines
376
- }
377
- }
378
- // Log exposition
379
- for (const exposition of expositionLines) {
380
- if (exposition?.length) {
381
- this.logger.logWithColor(`${exposition}`, 'blue');
382
- }
383
- }
384
- // Execute other commands
385
- for (const commandLine of commandLines) {
386
- const commandText = (commandLine ?? '').replace('[COMMAND]', '').trim();
387
- this.logger.write(`${this.name} attempts to execute: ${commandText}`);
388
- try {
389
- if (commandText.length > 0) {
390
- this.act(commandText);
391
- }
392
- }
393
- catch (err) {
394
- this.logger.error(`${this.name} failed to execute command "${commandText}": ${err}`);
395
- // continue; don't throw so we can process remaining lines
396
- }
397
- }
398
- }
399
- catch (err) {
400
- this.logger.write(`GPT fallback due to error: ${err}`);
401
- // surface a consistent Error instance, but don't double-wrap Errors
402
- const e = err instanceof Error ? err : new Error(String(err));
403
- throw e;
404
- }
405
- }
406
- }
407
- //# sourceMappingURL=npc.js.map