@ibgib/web-gib 0.0.1

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 (372) hide show
  1. package/.ibgibignore +30 -0
  2. package/.vscode/ibgib-snippets.code-snippets +309 -0
  3. package/.vscode/launch.json +25 -0
  4. package/.vscode/settings.json +68 -0
  5. package/.vscode/tasks.json +38 -0
  6. package/CHANGELOG.md +427 -0
  7. package/README.md +66 -0
  8. package/dist/agent-texts/common-agent-texts.d.mts +14 -0
  9. package/dist/agent-texts/common-agent-texts.d.mts.map +1 -0
  10. package/dist/agent-texts/common-agent-texts.mjs +51 -0
  11. package/dist/agent-texts/common-agent-texts.mjs.map +1 -0
  12. package/dist/agent-texts/primary-agent-texts.d.mts +16 -0
  13. package/dist/agent-texts/primary-agent-texts.d.mts.map +1 -0
  14. package/dist/agent-texts/primary-agent-texts.mjs +27 -0
  15. package/dist/agent-texts/primary-agent-texts.mjs.map +1 -0
  16. package/dist/agent-texts/project-agent-texts.d.mts +8 -0
  17. package/dist/agent-texts/project-agent-texts.d.mts.map +1 -0
  18. package/dist/agent-texts/project-agent-texts.mjs +29 -0
  19. package/dist/agent-texts/project-agent-texts.mjs.map +1 -0
  20. package/dist/agent-texts/project-child-text-agent-texts.d.mts +5 -0
  21. package/dist/agent-texts/project-child-text-agent-texts.d.mts.map +1 -0
  22. package/dist/agent-texts/project-child-text-agent-texts.mjs +26 -0
  23. package/dist/agent-texts/project-child-text-agent-texts.mjs.map +1 -0
  24. package/dist/agent-texts/projects-agent-texts.d.mts +4 -0
  25. package/dist/agent-texts/projects-agent-texts.d.mts.map +1 -0
  26. package/dist/agent-texts/projects-agent-texts.mjs +15 -0
  27. package/dist/agent-texts/projects-agent-texts.mjs.map +1 -0
  28. package/dist/agent-texts/raw-agent-texts.d.mts +4 -0
  29. package/dist/agent-texts/raw-agent-texts.d.mts.map +1 -0
  30. package/dist/agent-texts/raw-agent-texts.mjs +17 -0
  31. package/dist/agent-texts/raw-agent-texts.mjs.map +1 -0
  32. package/dist/agent-texts/text-editor-agent-texts.d.mts +6 -0
  33. package/dist/agent-texts/text-editor-agent-texts.d.mts.map +1 -0
  34. package/dist/agent-texts/text-editor-agent-texts.mjs +19 -0
  35. package/dist/agent-texts/text-editor-agent-texts.mjs.map +1 -0
  36. package/dist/api/api-constants.d.mts +9 -0
  37. package/dist/api/api-constants.d.mts.map +1 -0
  38. package/dist/api/api-constants.mjs +9 -0
  39. package/dist/api/api-constants.mjs.map +1 -0
  40. package/dist/api/api-index.d.mts +10 -0
  41. package/dist/api/api-index.d.mts.map +1 -0
  42. package/dist/api/api-index.mjs +121 -0
  43. package/dist/api/api-index.mjs.map +1 -0
  44. package/dist/api/api-types.d.mts +36 -0
  45. package/dist/api/api-types.d.mts.map +1 -0
  46. package/dist/api/api-types.mjs +2 -0
  47. package/dist/api/api-types.mjs.map +1 -0
  48. package/dist/api/commands/chat/chat-index.d.mts +3 -0
  49. package/dist/api/commands/chat/chat-index.d.mts.map +1 -0
  50. package/dist/api/commands/chat/chat-index.mjs +9 -0
  51. package/dist/api/commands/chat/chat-index.mjs.map +1 -0
  52. package/dist/api/commands/chat/get-context-info.d.mts +71 -0
  53. package/dist/api/commands/chat/get-context-info.d.mts.map +1 -0
  54. package/dist/api/commands/chat/get-context-info.mjs +130 -0
  55. package/dist/api/commands/chat/get-context-info.mjs.map +1 -0
  56. package/dist/api/commands/chat/hello-world.d.mts +63 -0
  57. package/dist/api/commands/chat/hello-world.d.mts.map +1 -0
  58. package/dist/api/commands/chat/hello-world.mjs +132 -0
  59. package/dist/api/commands/chat/hello-world.mjs.map +1 -0
  60. package/dist/api/commands/chat/tell-user.d.mts +57 -0
  61. package/dist/api/commands/chat/tell-user.d.mts.map +1 -0
  62. package/dist/api/commands/chat/tell-user.mjs +199 -0
  63. package/dist/api/commands/chat/tell-user.mjs.map +1 -0
  64. package/dist/api/commands/command-constants.d.mts +22 -0
  65. package/dist/api/commands/command-constants.d.mts.map +1 -0
  66. package/dist/api/commands/command-constants.mjs +17 -0
  67. package/dist/api/commands/command-constants.mjs.map +1 -0
  68. package/dist/api/commands/command-helpers.d.mts +47 -0
  69. package/dist/api/commands/command-helpers.d.mts.map +1 -0
  70. package/dist/api/commands/command-helpers.mjs +76 -0
  71. package/dist/api/commands/command-helpers.mjs.map +1 -0
  72. package/dist/api/commands/command-service-v1.d.mts +28 -0
  73. package/dist/api/commands/command-service-v1.d.mts.map +1 -0
  74. package/dist/api/commands/command-service-v1.mjs +122 -0
  75. package/dist/api/commands/command-service-v1.mjs.map +1 -0
  76. package/dist/api/commands/command-service.respec.d.mts +7 -0
  77. package/dist/api/commands/command-service.respec.d.mts.map +1 -0
  78. package/dist/api/commands/command-service.respec.mjs +66 -0
  79. package/dist/api/commands/command-service.respec.mjs.map +1 -0
  80. package/dist/api/commands/command-types.d.mts +48 -0
  81. package/dist/api/commands/command-types.d.mts.map +1 -0
  82. package/dist/api/commands/command-types.mjs +12 -0
  83. package/dist/api/commands/command-types.mjs.map +1 -0
  84. package/dist/api/commands/ibgib/get-ibgibs.d.mts +94 -0
  85. package/dist/api/commands/ibgib/get-ibgibs.d.mts.map +1 -0
  86. package/dist/api/commands/ibgib/get-ibgibs.mjs +219 -0
  87. package/dist/api/commands/ibgib/get-ibgibs.mjs.map +1 -0
  88. package/dist/api/commands/ibgib/ibgib-index.d.mts +3 -0
  89. package/dist/api/commands/ibgib/ibgib-index.d.mts.map +1 -0
  90. package/dist/api/commands/ibgib/ibgib-index.mjs +7 -0
  91. package/dist/api/commands/ibgib/ibgib-index.mjs.map +1 -0
  92. package/dist/api/commands/ibgib/mut8-ibgib.d.mts +135 -0
  93. package/dist/api/commands/ibgib/mut8-ibgib.d.mts.map +1 -0
  94. package/dist/api/commands/ibgib/mut8-ibgib.mjs +318 -0
  95. package/dist/api/commands/ibgib/mut8-ibgib.mjs.map +1 -0
  96. package/dist/api/commands/templates/api-function-info.template.d.mts +73 -0
  97. package/dist/api/commands/templates/api-function-info.template.d.mts.map +1 -0
  98. package/dist/api/commands/templates/api-function-info.template.mjs +161 -0
  99. package/dist/api/commands/templates/api-function-info.template.mjs.map +1 -0
  100. package/dist/api/commands/text/text-edit.d.mts +54 -0
  101. package/dist/api/commands/text/text-edit.d.mts.map +1 -0
  102. package/dist/api/commands/text/text-edit.mjs +170 -0
  103. package/dist/api/commands/text/text-edit.mjs.map +1 -0
  104. package/dist/api/commands/text/text-index.d.mts +3 -0
  105. package/dist/api/commands/text/text-index.d.mts.map +1 -0
  106. package/dist/api/commands/text/text-index.mjs +5 -0
  107. package/dist/api/commands/text/text-index.mjs.map +1 -0
  108. package/dist/api/commands/ui/ui-index.d.mts +3 -0
  109. package/dist/api/commands/ui/ui-index.d.mts.map +1 -0
  110. package/dist/api/commands/ui/ui-index.mjs +5 -0
  111. package/dist/api/commands/ui/ui-index.mjs.map +1 -0
  112. package/dist/api/commands/ui/update-css-variables.d.mts +48 -0
  113. package/dist/api/commands/ui/update-css-variables.d.mts.map +1 -0
  114. package/dist/api/commands/ui/update-css-variables.mjs +145 -0
  115. package/dist/api/commands/ui/update-css-variables.mjs.map +1 -0
  116. package/dist/api/function-infos.web.d.mts +15 -0
  117. package/dist/api/function-infos.web.d.mts.map +1 -0
  118. package/dist/api/function-infos.web.mjs +63 -0
  119. package/dist/api/function-infos.web.mjs.map +1 -0
  120. package/dist/assumptions.respec.d.mts +2 -0
  121. package/dist/assumptions.respec.d.mts.map +1 -0
  122. package/dist/assumptions.respec.mjs +41 -0
  123. package/dist/assumptions.respec.mjs.map +1 -0
  124. package/dist/common/project/project-constants.d.mts +38 -0
  125. package/dist/common/project/project-constants.d.mts.map +1 -0
  126. package/dist/common/project/project-constants.mjs +71 -0
  127. package/dist/common/project/project-constants.mjs.map +1 -0
  128. package/dist/common/project/project-helper.d.mts +127 -0
  129. package/dist/common/project/project-helper.d.mts.map +1 -0
  130. package/dist/common/project/project-helper.mjs +683 -0
  131. package/dist/common/project/project-helper.mjs.map +1 -0
  132. package/dist/common/project/project-types.d.mts +91 -0
  133. package/dist/common/project/project-types.d.mts.map +1 -0
  134. package/dist/common/project/project-types.mjs +31 -0
  135. package/dist/common/project/project-types.mjs.map +1 -0
  136. package/dist/common/prompt-functions.web.d.mts +90 -0
  137. package/dist/common/prompt-functions.web.d.mts.map +1 -0
  138. package/dist/common/prompt-functions.web.mjs +426 -0
  139. package/dist/common/prompt-functions.web.mjs.map +1 -0
  140. package/dist/common/settings/settings-constants.d.mts +33 -0
  141. package/dist/common/settings/settings-constants.d.mts.map +1 -0
  142. package/dist/common/settings/settings-constants.mjs +54 -0
  143. package/dist/common/settings/settings-constants.mjs.map +1 -0
  144. package/dist/common/settings/settings-helpers.d.mts +59 -0
  145. package/dist/common/settings/settings-helpers.d.mts.map +1 -0
  146. package/dist/common/settings/settings-helpers.mjs +253 -0
  147. package/dist/common/settings/settings-helpers.mjs.map +1 -0
  148. package/dist/common/settings/settings-types.d.mts +118 -0
  149. package/dist/common/settings/settings-types.d.mts.map +1 -0
  150. package/dist/common/settings/settings-types.mjs +13 -0
  151. package/dist/common/settings/settings-types.mjs.map +1 -0
  152. package/dist/constants.d.mts +34 -0
  153. package/dist/constants.d.mts.map +1 -0
  154. package/dist/constants.mjs +35 -0
  155. package/dist/constants.mjs.map +1 -0
  156. package/dist/foo.d.mts +2 -0
  157. package/dist/foo.d.mts.map +1 -0
  158. package/dist/foo.mjs +19 -0
  159. package/dist/foo.mjs.map +1 -0
  160. package/dist/helpers.d.mts +137 -0
  161. package/dist/helpers.d.mts.map +1 -0
  162. package/dist/helpers.mjs +514 -0
  163. package/dist/helpers.mjs.map +1 -0
  164. package/dist/helpers.web.d.mts +324 -0
  165. package/dist/helpers.web.d.mts.map +1 -0
  166. package/dist/helpers.web.mjs +1133 -0
  167. package/dist/helpers.web.mjs.map +1 -0
  168. package/dist/helpers.web.respec.d.mts +2 -0
  169. package/dist/helpers.web.respec.d.mts.map +1 -0
  170. package/dist/helpers.web.respec.mjs +12 -0
  171. package/dist/helpers.web.respec.mjs.map +1 -0
  172. package/dist/index.d.mts +2 -0
  173. package/dist/index.d.mts.map +1 -0
  174. package/dist/index.mjs +3 -0
  175. package/dist/index.mjs.map +1 -0
  176. package/dist/respec-gib.node.d.mts +2 -0
  177. package/dist/respec-gib.node.d.mts.map +1 -0
  178. package/dist/respec-gib.node.mjs +211 -0
  179. package/dist/respec-gib.node.mjs.map +1 -0
  180. package/dist/spec-helper.node.respec.d.mts +13 -0
  181. package/dist/spec-helper.node.respec.d.mts.map +1 -0
  182. package/dist/spec-helper.node.respec.mjs +50 -0
  183. package/dist/spec-helper.node.respec.mjs.map +1 -0
  184. package/dist/storage/storage-helpers.web.d.mts +108 -0
  185. package/dist/storage/storage-helpers.web.d.mts.map +1 -0
  186. package/dist/storage/storage-helpers.web.mjs +757 -0
  187. package/dist/storage/storage-helpers.web.mjs.map +1 -0
  188. package/dist/storage/storage-types.web.d.mts +30 -0
  189. package/dist/storage/storage-types.web.d.mts.map +1 -0
  190. package/dist/storage/storage-types.web.mjs +2 -0
  191. package/dist/storage/storage-types.web.mjs.map +1 -0
  192. package/dist/types.web.d.mts +42 -0
  193. package/dist/types.web.d.mts.map +1 -0
  194. package/dist/types.web.mjs +2 -0
  195. package/dist/types.web.mjs.map +1 -0
  196. package/dist/ui/component/component-types.d.mts +225 -0
  197. package/dist/ui/component/component-types.d.mts.map +1 -0
  198. package/dist/ui/component/component-types.mjs +2 -0
  199. package/dist/ui/component/component-types.mjs.map +1 -0
  200. package/dist/ui/component/ibgib-component-service.d.mts +70 -0
  201. package/dist/ui/component/ibgib-component-service.d.mts.map +1 -0
  202. package/dist/ui/component/ibgib-component-service.mjs +201 -0
  203. package/dist/ui/component/ibgib-component-service.mjs.map +1 -0
  204. package/dist/ui/component/ibgib-dynamic-component-bases.d.mts +338 -0
  205. package/dist/ui/component/ibgib-dynamic-component-bases.d.mts.map +1 -0
  206. package/dist/ui/component/ibgib-dynamic-component-bases.mjs +1304 -0
  207. package/dist/ui/component/ibgib-dynamic-component-bases.mjs.map +1 -0
  208. package/dist/ui/ui-constants.d.mts +12 -0
  209. package/dist/ui/ui-constants.d.mts.map +1 -0
  210. package/dist/ui/ui-constants.mjs +93 -0
  211. package/dist/ui/ui-constants.mjs.map +1 -0
  212. package/dist/ui/ui-helpers.d.mts +42 -0
  213. package/dist/ui/ui-helpers.d.mts.map +1 -0
  214. package/dist/ui/ui-helpers.mjs +198 -0
  215. package/dist/ui/ui-helpers.mjs.map +1 -0
  216. package/dist/ui/ui-types.d.mts +13 -0
  217. package/dist/ui/ui-types.d.mts.map +1 -0
  218. package/dist/ui/ui-types.mjs +2 -0
  219. package/dist/ui/ui-types.mjs.map +1 -0
  220. package/dist/witness/agent/agent-constants.d.mts +97 -0
  221. package/dist/witness/agent/agent-constants.d.mts.map +1 -0
  222. package/dist/witness/agent/agent-constants.mjs +98 -0
  223. package/dist/witness/agent/agent-constants.mjs.map +1 -0
  224. package/dist/witness/agent/agent-helpers.d.mts +106 -0
  225. package/dist/witness/agent/agent-helpers.d.mts.map +1 -0
  226. package/dist/witness/agent/agent-helpers.mjs +601 -0
  227. package/dist/witness/agent/agent-helpers.mjs.map +1 -0
  228. package/dist/witness/agent/agent-one-file.app.d.mts +2 -0
  229. package/dist/witness/agent/agent-one-file.app.d.mts.map +1 -0
  230. package/dist/witness/agent/agent-one-file.app.mjs +8 -0
  231. package/dist/witness/agent/agent-one-file.app.mjs.map +1 -0
  232. package/dist/witness/agent/agent-one-file.d.mts +478 -0
  233. package/dist/witness/agent/agent-one-file.d.mts.map +1 -0
  234. package/dist/witness/agent/agent-one-file.mjs +1462 -0
  235. package/dist/witness/agent/agent-one-file.mjs.map +1 -0
  236. package/dist/witness/agent/agent-types.d.mts +83 -0
  237. package/dist/witness/agent/agent-types.d.mts.map +1 -0
  238. package/dist/witness/agent/agent-types.mjs +2 -0
  239. package/dist/witness/agent/agent-types.mjs.map +1 -0
  240. package/dist/witness/agent/agents-service-v1.d.mts +99 -0
  241. package/dist/witness/agent/agents-service-v1.d.mts.map +1 -0
  242. package/dist/witness/agent/agents-service-v1.mjs +453 -0
  243. package/dist/witness/agent/agents-service-v1.mjs.map +1 -0
  244. package/dist/witness/agent/function-info/function-info-one-file.d.mts +192 -0
  245. package/dist/witness/agent/function-info/function-info-one-file.d.mts.map +1 -0
  246. package/dist/witness/agent/function-info/function-info-one-file.mjs +192 -0
  247. package/dist/witness/agent/function-info/function-info-one-file.mjs.map +1 -0
  248. package/dist/witness/agent/gemini/agent-witness-gemini-v1.d.mts +51 -0
  249. package/dist/witness/agent/gemini/agent-witness-gemini-v1.d.mts.map +1 -0
  250. package/dist/witness/agent/gemini/agent-witness-gemini-v1.mjs +928 -0
  251. package/dist/witness/agent/gemini/agent-witness-gemini-v1.mjs.map +1 -0
  252. package/dist/witness/agent/gemini/gemini-agent-factory.d.mts +27 -0
  253. package/dist/witness/agent/gemini/gemini-agent-factory.d.mts.map +1 -0
  254. package/dist/witness/agent/gemini/gemini-agent-factory.mjs +144 -0
  255. package/dist/witness/agent/gemini/gemini-agent-factory.mjs.map +1 -0
  256. package/dist/witness/agent/gemini/gemini-constants.d.mts +36 -0
  257. package/dist/witness/agent/gemini/gemini-constants.d.mts.map +1 -0
  258. package/dist/witness/agent/gemini/gemini-constants.mjs +47 -0
  259. package/dist/witness/agent/gemini/gemini-constants.mjs.map +1 -0
  260. package/dist/witness/agent/gemini/gemini-helpers.d.mts +58 -0
  261. package/dist/witness/agent/gemini/gemini-helpers.d.mts.map +1 -0
  262. package/dist/witness/agent/gemini/gemini-helpers.mjs +210 -0
  263. package/dist/witness/agent/gemini/gemini-helpers.mjs.map +1 -0
  264. package/dist/witness/agent/gemini/gemini-types.d.mts +82 -0
  265. package/dist/witness/agent/gemini/gemini-types.d.mts.map +1 -0
  266. package/dist/witness/agent/gemini/gemini-types.mjs +3 -0
  267. package/dist/witness/agent/gemini/gemini-types.mjs.map +1 -0
  268. package/dist/witness/live-proxy-ibgib/live-proxy-ibgib-one-file.d.mts +136 -0
  269. package/dist/witness/live-proxy-ibgib/live-proxy-ibgib-one-file.d.mts.map +1 -0
  270. package/dist/witness/live-proxy-ibgib/live-proxy-ibgib-one-file.mjs +334 -0
  271. package/dist/witness/live-proxy-ibgib/live-proxy-ibgib-one-file.mjs.map +1 -0
  272. package/dist/witness/space/metaspace/metaspace-webspace/metaspace-webspace-helper.d.mts +35 -0
  273. package/dist/witness/space/metaspace/metaspace-webspace/metaspace-webspace-helper.d.mts.map +1 -0
  274. package/dist/witness/space/metaspace/metaspace-webspace/metaspace-webspace-helper.mjs +267 -0
  275. package/dist/witness/space/metaspace/metaspace-webspace/metaspace-webspace-helper.mjs.map +1 -0
  276. package/dist/witness/space/metaspace/metaspace-webspace/metaspace-webspace.d.mts +134 -0
  277. package/dist/witness/space/metaspace/metaspace-webspace/metaspace-webspace.d.mts.map +1 -0
  278. package/dist/witness/space/metaspace/metaspace-webspace/metaspace-webspace.mjs +389 -0
  279. package/dist/witness/space/metaspace/metaspace-webspace/metaspace-webspace.mjs.map +1 -0
  280. package/dist/witness/space/web-filesystem-space/web-filesystem-space-constants.d.mts +2 -0
  281. package/dist/witness/space/web-filesystem-space/web-filesystem-space-constants.d.mts.map +1 -0
  282. package/dist/witness/space/web-filesystem-space/web-filesystem-space-constants.mjs +2 -0
  283. package/dist/witness/space/web-filesystem-space/web-filesystem-space-constants.mjs.map +1 -0
  284. package/dist/witness/space/web-filesystem-space/web-filesystem-space-helper.d.mts +104 -0
  285. package/dist/witness/space/web-filesystem-space/web-filesystem-space-helper.d.mts.map +1 -0
  286. package/dist/witness/space/web-filesystem-space/web-filesystem-space-helper.mjs +457 -0
  287. package/dist/witness/space/web-filesystem-space/web-filesystem-space-helper.mjs.map +1 -0
  288. package/dist/witness/space/web-filesystem-space/web-filesystem-space-types.d.mts +93 -0
  289. package/dist/witness/space/web-filesystem-space/web-filesystem-space-types.d.mts.map +1 -0
  290. package/dist/witness/space/web-filesystem-space/web-filesystem-space-types.mjs +98 -0
  291. package/dist/witness/space/web-filesystem-space/web-filesystem-space-types.mjs.map +1 -0
  292. package/dist/witness/space/web-filesystem-space/web-filesystem-space-v1.d.mts +73 -0
  293. package/dist/witness/space/web-filesystem-space/web-filesystem-space-v1.d.mts.map +1 -0
  294. package/dist/witness/space/web-filesystem-space/web-filesystem-space-v1.mjs +650 -0
  295. package/dist/witness/space/web-filesystem-space/web-filesystem-space-v1.mjs.map +1 -0
  296. package/generate-version-file.js +29 -0
  297. package/package.json +60 -0
  298. package/src/agent-texts/common-agent-texts.mts +61 -0
  299. package/src/agent-texts/primary-agent-texts.mts +32 -0
  300. package/src/agent-texts/project-agent-texts.mts +29 -0
  301. package/src/agent-texts/project-child-text-agent-texts.mts +30 -0
  302. package/src/agent-texts/projects-agent-texts.mts +17 -0
  303. package/src/agent-texts/raw-agent-texts.mts +18 -0
  304. package/src/agent-texts/text-editor-agent-texts.mts +20 -0
  305. package/src/api/api-constants.mts +8 -0
  306. package/src/api/api-index.mts +110 -0
  307. package/src/api/api-types.mts +36 -0
  308. package/src/api/commands/chat/chat-index.mts +10 -0
  309. package/src/api/commands/chat/get-context-info.mts +196 -0
  310. package/src/api/commands/chat/hello-world.mts +183 -0
  311. package/src/api/commands/chat/tell-user.mts +241 -0
  312. package/src/api/commands/command-constants.mts +17 -0
  313. package/src/api/commands/command-helpers.mts +105 -0
  314. package/src/api/commands/command-service-v1.mts +136 -0
  315. package/src/api/commands/command-service.respec.mts +72 -0
  316. package/src/api/commands/command-types.mts +71 -0
  317. package/src/api/commands/ibgib/get-ibgibs.mts +269 -0
  318. package/src/api/commands/ibgib/ibgib-index.mts +8 -0
  319. package/src/api/commands/ibgib/mut8-ibgib.mts +418 -0
  320. package/src/api/commands/templates/api-function-info.template.mts +212 -0
  321. package/src/api/commands/text/text-edit.mts +217 -0
  322. package/src/api/commands/text/text-index.mts +6 -0
  323. package/src/api/commands/ui/ui-index.mts +6 -0
  324. package/src/api/commands/ui/update-css-variables.mts +187 -0
  325. package/src/api/function-infos.web.mts +66 -0
  326. package/src/assets/fullscreen-dialog.html +18 -0
  327. package/src/assumptions.respec.mts +51 -0
  328. package/src/common/project/project-constants.mts +83 -0
  329. package/src/common/project/project-helper.mts +730 -0
  330. package/src/common/project/project-types.mts +121 -0
  331. package/src/common/prompt-functions.web.mts +447 -0
  332. package/src/common/settings/settings-constants.mts +72 -0
  333. package/src/common/settings/settings-helpers.mts +280 -0
  334. package/src/common/settings/settings-types.mts +137 -0
  335. package/src/constants.mts +39 -0
  336. package/src/foo.mts +13 -0
  337. package/src/helpers.mts +574 -0
  338. package/src/helpers.web.mts +1277 -0
  339. package/src/helpers.web.respec.mts +16 -0
  340. package/src/index.mts +3 -0
  341. package/src/respec-gib.node.mts +199 -0
  342. package/src/spec-helper.node.respec.mts +50 -0
  343. package/src/storage/storage-helpers.web.mts +728 -0
  344. package/src/storage/storage-types.web.mts +29 -0
  345. package/src/types.web.mts +42 -0
  346. package/src/ui/component/component-types.mts +241 -0
  347. package/src/ui/component/ibgib-component-service.mts +201 -0
  348. package/src/ui/component/ibgib-dynamic-component-bases.mts +1369 -0
  349. package/src/ui/ui-constants.mts +101 -0
  350. package/src/ui/ui-helpers.mts +222 -0
  351. package/src/ui/ui-types.mts +11 -0
  352. package/src/witness/agent/agent-constants.mts +122 -0
  353. package/src/witness/agent/agent-helpers.mts +681 -0
  354. package/src/witness/agent/agent-one-file.app.mts +8 -0
  355. package/src/witness/agent/agent-one-file.mts +1665 -0
  356. package/src/witness/agent/agent-types.mts +92 -0
  357. package/src/witness/agent/agents-service-v1.mts +482 -0
  358. package/src/witness/agent/function-info/function-info-one-file.mts +362 -0
  359. package/src/witness/agent/gemini/agent-witness-gemini-v1.mts +910 -0
  360. package/src/witness/agent/gemini/gemini-agent-factory.mts +135 -0
  361. package/src/witness/agent/gemini/gemini-constants.mts +79 -0
  362. package/src/witness/agent/gemini/gemini-helpers.mts +216 -0
  363. package/src/witness/agent/gemini/gemini-types.mts +88 -0
  364. package/src/witness/live-proxy-ibgib/live-proxy-ibgib-one-file.mts +321 -0
  365. package/src/witness/space/metaspace/metaspace-webspace/metaspace-webspace-helper.mts +290 -0
  366. package/src/witness/space/metaspace/metaspace-webspace/metaspace-webspace.mts +407 -0
  367. package/src/witness/space/web-filesystem-space/web-filesystem-space-constants.mts +1 -0
  368. package/src/witness/space/web-filesystem-space/web-filesystem-space-helper.mts +491 -0
  369. package/src/witness/space/web-filesystem-space/web-filesystem-space-types.mts +172 -0
  370. package/src/witness/space/web-filesystem-space/web-filesystem-space-v1.mts +670 -0
  371. package/tsconfig.json +17 -0
  372. package/tsconfig.test.json +10 -0
package/.ibgibignore ADDED
@@ -0,0 +1,30 @@
1
+ # start any line with ! to make it an include operation instead of exclude
2
+
3
+ # npm
4
+ node_modules
5
+
6
+ # other folders
7
+ dist
8
+ platforms
9
+ plugins
10
+ www
11
+ .git
12
+ published
13
+
14
+
15
+ # common extensions
16
+ regexp js ^.*\.(tmp|tgz|DS_Store|sw[mnpcod]|log)$
17
+ regexp js ^.*\.tmp\.*$
18
+ regexp js ^.*npm-debug\.log\.*$
19
+
20
+ # js/angular/ionic/etc
21
+ regexp js ^.*\.(idea|ionic|sass-cache|sourcemaps|versions|coverage)$
22
+
23
+ # typescript
24
+ regexp js ^.*\.(tsbuildinfo)$
25
+
26
+ # apps/libraries will be in their own branches
27
+ regexp js ^.*forks/.*$
28
+
29
+ # private
30
+ regexp js ^.*\.(secret|private)(\..+)?$
@@ -0,0 +1,309 @@
1
+ {
2
+ // Place your ionic-gib workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
3
+ // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
4
+ // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
5
+ // used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
6
+ // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
7
+ // Placeholders with the same ids are connected.
8
+ // Example:
9
+ // "Print to console": {
10
+ // "scope": "javascript,typescript",
11
+ // "prefix": "log",
12
+ // "body": [
13
+ // "console.log('$1');",
14
+ // "$2"
15
+ // ],
16
+ // "description": "Log output to console"
17
+ // }
18
+ "this Fn lc try..catch rethrow": {
19
+ "scope": "javascript,typescript",
20
+ "prefix": "lc_trycatch_rethrow_this",
21
+ "body": [
22
+ "const lc = `\\${this.lc}[\\${this.$1.name}]`;",
23
+ "try {",
24
+ "\t$SELECTION$0",
25
+ "} catch (error) {",
26
+ "\tconsole.error(`\\${lc} \\${extractErrorMsg(error)}`);",
27
+ "\tthrow error;",
28
+ "}"
29
+ ],
30
+ },
31
+ "this Fn lc try..catch..finally rethrow": {
32
+ "scope": "javascript,typescript",
33
+ "prefix": "lc_trycatchfinally_rethrow_this",
34
+ "body": [
35
+ "const lc = `\\${this.lc}[\\${this.$1.name}]`;",
36
+ "try {",
37
+ "\t$SELECTION$0",
38
+ "} catch (error) {",
39
+ "\tconsole.error(`\\${lc} \\${extractErrorMsg(error)}`);",
40
+ "\tthrow error;",
41
+ "} finally {",
42
+ "\t$2",
43
+ "}"
44
+ ],
45
+ },
46
+ "this Fn lc try..catch..finally rethrow with logging": {
47
+ "scope": "javascript,typescript",
48
+ "prefix": "lc_trycatchfinally_rethrow_withlogging_this",
49
+ "body": [
50
+ "const lc = `\\${this.lc}[\\${this.$1.name}]`;",
51
+ "try {",
52
+ "\tif (logalot) { console.log(`\\${lc} starting... (I: $RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$CURRENT_YEAR_SHORT)`); }",
53
+ "\t$SELECTION$0",
54
+ "} catch (error) {",
55
+ "\tconsole.error(`\\${lc} \\${extractErrorMsg(error)}`);",
56
+ "\tthrow error;",
57
+ "} finally {",
58
+ "\tif (logalot) { console.log(`\\${lc} complete.`); }",
59
+ "}"
60
+ ],
61
+ },
62
+ "this Fn func async lc try..catch rethrow": {
63
+ "scope": "javascript,typescript",
64
+ "prefix": "this_func_lc_trycatch_rethrow_this",
65
+ "body": [
66
+ "${1:async function} ${2:fnName}({",
67
+ "\t$3,",
68
+ "}: {",
69
+ "\t$3: $4,",
70
+ "}): Promise<$5> {",
71
+ "\tconst lc = `\\${this.lc}[\\${this.$2.name}]`;",
72
+ "\ttry {",
73
+ "\t\t$SELECTION$0",
74
+ "\t} catch (error) {",
75
+ "\t\tconsole.error(`\\${lc} \\${extractErrorMsg(error)}`);",
76
+ "\t\tthrow error;",
77
+ "\t}",
78
+ "}"
79
+ ],
80
+ },
81
+ "this Fn func async lc try..catch..finally rethrow": {
82
+ "scope": "javascript,typescript",
83
+ "prefix": "this_func_lc_trycatchfinally_rethrow_this",
84
+ "body": [
85
+ "${1:async function} ${2:fnName}({",
86
+ "\t$3,",
87
+ "}: {",
88
+ "\t$3: $4,",
89
+ "}): Promise<$5> {",
90
+ "\tconst lc = `\\${this.lc}[\\${this.$2.name}]`;",
91
+ "\ttry {",
92
+ "\t\t$SELECTION$0",
93
+ "\t} catch (error) {",
94
+ "\t\tconsole.error(`\\${lc} \\${extractErrorMsg(error)}`);",
95
+ "\t\tthrow error;",
96
+ "\t} finally {",
97
+ "\t\t$6",
98
+ "\t}",
99
+ "}"
100
+ ],
101
+ },
102
+ "this Fn func async lc try..catch..finally rethrow with logging": {
103
+ "scope": "javascript,typescript",
104
+ "prefix": "this_func_lc_trycatchfinally_rethrow_withlogging_this",
105
+ "body": [
106
+ "${1:async function} ${2:fnName}({",
107
+ "\t$3,",
108
+ "}: {",
109
+ "\t$3: $4,",
110
+ "}): Promise<$5> {",
111
+ "\tconst lc = `\\${this.lc}[\\${this.$2.name}]`;",
112
+ "\ttry {",
113
+ "\t\tif (logalot) { console.log(`\\${lc} starting... (I: $RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$CURRENT_YEAR_SHORT)`); }",
114
+ "\t\t$SELECTION$0",
115
+ "\t} catch (error) {",
116
+ "\t\tconsole.error(`\\${lc} \\${extractErrorMsg(error)}`);",
117
+ "\t\tthrow error;",
118
+ "\t} finally {",
119
+ "\t\tif (logalot) { console.log(`\\${lc} complete.`); }",
120
+ "\t}",
121
+ "}"
122
+ ],
123
+ },
124
+ "Fn lc try..catch rethrow": {
125
+ "scope": "javascript,typescript",
126
+ "prefix": "lc_trycatch_rethrow",
127
+ "body": [
128
+ "const lc = `[\\${$1.name}]`;",
129
+ "try {",
130
+ "\t$SELECTION$0",
131
+ "} catch (error) {",
132
+ "\tconsole.error(`\\${lc} \\${extractErrorMsg(error)}`);",
133
+ "\tthrow error;",
134
+ "}"
135
+ ],
136
+ },
137
+ "Fn lc try..catch..finally rethrow": {
138
+ "scope": "javascript,typescript",
139
+ "prefix": "lc_trycatchfinally_rethrow",
140
+ "body": [
141
+ "const lc = `[\\${$1.name}]`;",
142
+ "try {",
143
+ "\t$SELECTION$0",
144
+ "} catch (error) {",
145
+ "\tconsole.error(`\\${lc} \\${extractErrorMsg(error)}`);",
146
+ "\tthrow error;",
147
+ "} finally {",
148
+ "\t$2",
149
+ "}"
150
+ ],
151
+ },
152
+ "Fn lc try..catch..finally rethrow with logging": {
153
+ "scope": "javascript,typescript",
154
+ "prefix": "lc_trycatchfinally_rethrow_withlogging",
155
+ "body": [
156
+ "const lc = `[\\${$1.name}]`;",
157
+ "try {",
158
+ "\tif (logalot) { console.log(`\\${lc} starting... (I: $RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$CURRENT_YEAR_SHORT)`); }",
159
+ "\t$SELECTION$0",
160
+ "} catch (error) {",
161
+ "\tconsole.error(`\\${lc} \\${extractErrorMsg(error)}`);",
162
+ "\tthrow error;",
163
+ "} finally {",
164
+ "\tif (logalot) { console.log(`\\${lc} complete.`); }",
165
+ "}"
166
+ ],
167
+ },
168
+ "Fn func async lc try..catch rethrow": {
169
+ "scope": "javascript,typescript",
170
+ "prefix": "func_lc_trycatch_rethrow",
171
+ "body": [
172
+ "${1:export async function} ${2:fnName}({",
173
+ "\t$3,",
174
+ "}: {",
175
+ "\t$3: $4,",
176
+ "}): Promise<$5> {",
177
+ "\tconst lc = `[\\${$2.name}]`;",
178
+ "\ttry {",
179
+ "\t\t$SELECTION$0",
180
+ "\t} catch (error) {",
181
+ "\t\tconsole.error(`\\${lc} \\${extractErrorMsg(error)}`);",
182
+ "\t\tthrow error;",
183
+ "\t}",
184
+ "}"
185
+ ],
186
+ },
187
+ "Fn func async lc try..catch..finally rethrow": {
188
+ "scope": "javascript,typescript",
189
+ "prefix": "func_lc_trycatchfinally_rethrow",
190
+ "body": [
191
+ "${1:export async function} ${2:fnName}({",
192
+ "\t$3,",
193
+ "}: {",
194
+ "\t$3: $4,",
195
+ "}): Promise<$5> {",
196
+ "\tconst lc = `[\\${$2.name}]`;",
197
+ "\ttry {",
198
+ "\t\t$SELECTION$0",
199
+ "\t} catch (error) {",
200
+ "\t\tconsole.error(`\\${lc} \\${extractErrorMsg(error)}`);",
201
+ "\t\tthrow error;",
202
+ "\t} finally {",
203
+ "\t\t$6",
204
+ "\t}",
205
+ "}"
206
+ ],
207
+ },
208
+ "Fn func async lc try..catch..finally rethrow with logging": {
209
+ "scope": "javascript,typescript",
210
+ "prefix": "func_lc_trycatchfinally_rethrow_withlogging",
211
+ "body": [
212
+ "${1:export async function} ${2:fnName}({",
213
+ "\t$3,",
214
+ "}: {",
215
+ "\t$3: $4,",
216
+ "}): Promise<$5> {",
217
+ "\tconst lc = `[\\${$2.name}]`;",
218
+ "\ttry {",
219
+ "\t\tif (logalot) { console.log(`\\${lc} starting... (I: $RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$CURRENT_YEAR_SHORT)`); }",
220
+ "\t\t$SELECTION$0",
221
+ "\t} catch (error) {",
222
+ "\t\tconsole.error(`\\${lc} \\${extractErrorMsg(error)}`);",
223
+ "\t\tthrow error;",
224
+ "\t} finally {",
225
+ "\t\tif (logalot) { console.log(`\\${lc} complete.`); }",
226
+ "\t}",
227
+ "}"
228
+ ],
229
+ },
230
+ "throw new error with guid": {
231
+ "scope": "javascript,typescript",
232
+ "prefix": "throw_new_error_with_guid",
233
+ "body": [
234
+ "$0throw new Error(`$1 (E: $RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$CURRENT_YEAR_SHORT)`); "
235
+ ],
236
+ },
237
+ "throw new error with guid (UNEXPECTED)": {
238
+ "scope": "javascript,typescript",
239
+ "prefix": "throw_new_error_with_guid_unexpected",
240
+ "body": [
241
+ "$0throw new Error(`(UNEXPECTED) $1? (E: $RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$CURRENT_YEAR_SHORT)`); "
242
+ ],
243
+ },
244
+ "throw new error with guid not implemented": {
245
+ "scope": "javascript,typescript",
246
+ "prefix": "throw_new_error_with_guid_not_impl",
247
+ "body": [
248
+ "$0throw new Error(`not implemented (E: $RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$CURRENT_YEAR_SHORT)`); "
249
+ ],
250
+ },
251
+ "if..throw with guid": {
252
+ "scope": "javascript,typescript",
253
+ "prefix": "if_throw_with_guid",
254
+ "body": [
255
+ "$0if ($1) { throw new Error(`$2 (E: $RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$CURRENT_YEAR_SHORT)`); }"
256
+ ],
257
+ },
258
+ "if logalot log": {
259
+ "scope": "javascript,typescript",
260
+ "prefix": "if_logalot_log",
261
+ "body": [
262
+ "$0if (logalot$1) { console.${2:log}(`\\${lc} $3 (I: $RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$CURRENT_YEAR_SHORT)`); }"
263
+ ],
264
+ },
265
+ "surround log if logalot log": {
266
+ "scope": "javascript,typescript",
267
+ "prefix": "surround_log_if_logalot",
268
+ "body": [
269
+ "if (logalot) { $SELECTION }"
270
+ ],
271
+ },
272
+ "surround if logalot timer console time-timeEnd": {
273
+ "scope": "javascript,typescript",
274
+ "prefix": "surround_if_logalot_timer_console_time_timeend",
275
+ "body": [
276
+ "let timerName: string;",
277
+ "const timerEnabled = true",
278
+ "if (logalot && timerEnabled) {",
279
+ "\ttimerName = lc.substring(0, ${1:24}) + '[timer $RANDOM_HEX]';",
280
+ "\tconsole.log(`\\${timerName} starting... (I: $RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$RANDOM_HEX$CURRENT_YEAR_SHORT)`);",
281
+ "\tconsole.time(timerName);",
282
+ "}",
283
+ "// can intersperse with calls to console.timeLog for intermediate times",
284
+ "// if (logalot) { console.timeLog(timerName); }",
285
+ "",
286
+ "$0$SELECTION",
287
+ "",
288
+ "if (logalot && timerEnabled) {",
289
+ "\tconsole.timeEnd(timerName);",
290
+ "\tconsole.log(`\\${timerName} complete.`);",
291
+ "}",
292
+ ],
293
+ },
294
+ "if logalot global ibgib timer": {
295
+ "scope": "javascript,typescript",
296
+ "prefix": "if_logalot_ibgib_timer",
297
+ "body": [
298
+ "if (logalot) { console.log(`\\${lc}\\${c.GLOBAL_TIMER_NAME}`); console.timeLog(c.GLOBAL_TIMER_NAME); }$0"
299
+ ],
300
+ },
301
+ "return early": {
302
+ "scope": "javascript,typescript",
303
+ "prefix": "return_early",
304
+ "description": "I like to indicate returning early in a function in a comment, so it's more obvious in the editor if I'm scanning for comments.",
305
+ "body": [
306
+ "return$1; /* <<<< returns early */$0",
307
+ ],
308
+ },
309
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ "version": "0.2.0",
6
+ "configurations": [
7
+ {
8
+ "type": "node",
9
+ "request": "launch",
10
+ "name": "npm debug",
11
+ "runtimeExecutable": "npm",
12
+ "runtimeArgs": [
13
+ "run",
14
+ "debug",
15
+ ],
16
+ "port": 9229,
17
+ "sourceMaps": true,
18
+ "skipFiles": [
19
+ "<node_internals>/**"
20
+ ]
21
+ },
22
+
23
+ ]
24
+ }filename
25
+ filename
@@ -0,0 +1,68 @@
1
+ {
2
+ "typescript.tsdk": "node_modules/typescript/lib",
3
+ "search.exclude": {
4
+ "**/*.BAK": true,
5
+ "**/*.bak": true,
6
+ "**/dist": true
7
+ },
8
+ "files.watcherExclude": {
9
+ "**/*.BAK": true,
10
+ "**/*.bak": true
11
+ },
12
+ "editor.formatOnSave": true,
13
+ "files.insertFinalNewline": true,
14
+ "files.trimTrailingWhitespace": true,
15
+ "files.trimFinalNewlines": true,
16
+ "workbench.colorTheme": "Kimbie Dark",
17
+ "workbench.colorCustomizations": {
18
+ "editor.background": "#3e033e",
19
+ "sideBar.background": "#3e0333",
20
+ "editor.lineHighlightBackground": "#00ffb718",
21
+ "activityBar.activeBackground": "#cc3636",
22
+ "activityBar.background": "#cc3636",
23
+ "activityBar.foreground": "#e7e7e7",
24
+ "activityBar.inactiveForeground": "#e7e7e799",
25
+ "activityBarBadge.background": "#134c13",
26
+ "activityBarBadge.foreground": "#e7e7e7",
27
+ "commandCenter.border": "#e7e7e799",
28
+ "sash.hoverBorder": "#cc3636",
29
+ "statusBar.background": "#a52a2a",
30
+ "statusBar.foreground": "#e7e7e7",
31
+ "statusBarItem.hoverBackground": "#cc3636",
32
+ "statusBarItem.remoteBackground": "#a52a2a",
33
+ "statusBarItem.remoteForeground": "#e7e7e7",
34
+ "titleBar.activeBackground": "#a52a2a",
35
+ "titleBar.activeForeground": "#e7e7e7",
36
+ "titleBar.inactiveBackground": "#a52a2a99",
37
+ "titleBar.inactiveForeground": "#e7e7e799"
38
+ },
39
+ "editor.tokenColorCustomizations": {
40
+ "[Kimbie Dark]": {
41
+ "variables": "#3e8a17",
42
+ "comments": "#598cdf8c",
43
+ "textMateRules": [
44
+ {
45
+ "name": "Lists",
46
+ "scope": "markup.list",
47
+ "settings": {
48
+ "foreground": "#cb76d6"
49
+ }
50
+ },
51
+ {
52
+ "scope": "entity.name.tag",
53
+ "settings": {
54
+ "foreground": "#6cb548"
55
+ }
56
+ },
57
+ {
58
+ "scope": "string",
59
+ "settings": {
60
+ "foreground": "#84cad3"
61
+ }
62
+ }
63
+ ],
64
+ }
65
+ },
66
+ "peacock.color": "brown",
67
+ "insertGuid.pasteAutomatically": "{n}",
68
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ // See https://go.microsoft.com/fwlink/?LinkId=733558
3
+ // for the documentation about the tasks.json format
4
+ "version": "2.0.0",
5
+ "tasks": [
6
+ {
7
+ "type": "npm",
8
+ "script": "build",
9
+ "group": "build",
10
+ "problemMatcher": []
11
+ },
12
+ {
13
+ "type": "npm",
14
+ "script": "test",
15
+ "group": "build",
16
+ "problemMatcher": []
17
+ },
18
+ {
19
+ "type": "npm",
20
+ "script": "clean",
21
+ "group": "build",
22
+ "problemMatcher": []
23
+ },
24
+ {
25
+ "type": "npm",
26
+ "script": "build:test",
27
+ "group": "build",
28
+ "problemMatcher": []
29
+ },
30
+ {
31
+ "type": "npm",
32
+ "script": "prepare:publish",
33
+ "group": "build",
34
+ "problemMatcher": []
35
+ }
36
+ ],
37
+ }filename
38
+ filename