@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
@@ -0,0 +1,478 @@
1
+ import { Ib, IbGibAddr } from '@ibgib/ts-gib/dist/types.mjs';
2
+ import { IbGib_V1 } from '@ibgib/ts-gib/dist/V1/types.mjs';
3
+ import { WitnessData_V1, WitnessRel8ns_V1 } from '@ibgib/core-gib/dist/witness/witness-types.mjs';
4
+ import { CommentIbGib_V1 } from '@ibgib/core-gib/dist/common/comment/comment-types.mjs';
5
+ import { LightWitnessBase_V1 } from '@ibgib/core-gib/dist/witness/light-witness-base-v1.mjs';
6
+ import { SpaceId } from '@ibgib/core-gib/dist/witness/space/space-types.mjs';
7
+ import { IbGibSpaceAny } from '@ibgib/core-gib/dist/witness/space/space-base-v1.mjs';
8
+ import { MetaspaceService } from '@ibgib/core-gib/dist/witness/space/metaspace/metaspace-types.mjs';
9
+ import { TextSource } from './agent-constants.mjs';
10
+ import { APIFunctionInfo } from '../../api/api-types.mjs';
11
+ import { FunctionInfoIbGib_V1 } from './function-info/function-info-one-file.mjs';
12
+ import { PromptAPIResult_Gemini } from './gemini/gemini-types.mjs';
13
+ import { LiveProxyIbGib } from '../live-proxy-ibgib/live-proxy-ibgib-one-file.mjs';
14
+ import { AgentAPI, AgentModel } from './agent-types.mjs';
15
+ export declare const DEFAULT_AGENT_DATA_V1: AgentWitnessData_V1;
16
+ /**
17
+ * don't init with an empty obj. use undefined or factory_v1.firstGen blows up.
18
+ */
19
+ export declare const DEFAULT_AGENT_REL8NS_V1: AgentWitnessRel8ns_V1 | undefined;
20
+ /**
21
+ * @interface AgentWitnessData - Data interface for the AgentWitness.
22
+ * @extends WitnessData_V1
23
+ */
24
+ export interface AgentWitnessData_V1 extends WitnessData_V1 {
25
+ /**
26
+ * this id corresponds to what space the agent has access to as its own "internal" space.
27
+ *
28
+ * TODO: implement initialization code to create/get this space when the
29
+ * agent is created/initialized.
30
+ *
31
+ * TODO: implement an APIFunctionInfo for the agent
32
+ *
33
+ * it is possible that we will add access to other spaces in the future.
34
+ */
35
+ subSpaceId: SpaceId;
36
+ /**
37
+ * The space in which the agent's ibgib itself is saved. This is often
38
+ * (always?) different than the super space in which the agent itself
39
+ * resides.
40
+ */
41
+ superSpaceId: SpaceId;
42
+ /**
43
+ * nameOrId corresponding to the function info
44
+ */
45
+ availableFunctionNameOrIds: string[];
46
+ /**
47
+ * @see {@link AgentAPI}
48
+ */
49
+ api: AgentAPI;
50
+ /**
51
+ * @see {@link AgentModel}
52
+ */
53
+ model: AgentModel;
54
+ /**
55
+ * A more fine-grained discriminator.
56
+ */
57
+ type: string;
58
+ /**
59
+ * soft link to the current context ibgib. May be out of date, so should use
60
+ * get latest on the space (often can do this via metaspace with this
61
+ * agent's {@link superSpaceId}).
62
+ *
63
+ * This defaults to ib^gib (ROOT_ADDR), so if this is the value, then this
64
+ * has not been initialized yet and the agent needs to have their context
65
+ * set.
66
+ */
67
+ "@currentContextTjpAddr": IbGibAddr;
68
+ }
69
+ /**
70
+ * @interface AgentWitnessRel8ns - Rel8ns interface for the AgentWitness.
71
+ * @extends IbGibRel8ns_V1
72
+ */
73
+ export interface AgentWitnessRel8ns_V1 extends WitnessRel8ns_V1 {
74
+ /**
75
+ * @property chat - Relationships to comment ibgibs representing chat
76
+ * history for this agent.
77
+ *
78
+ * These are expected to be comment ibgibs with special additional metadata
79
+ * text in the ib that pertains to the agents {@link AgentWitness_V1}.
80
+ *
81
+ * @see {@link system}
82
+ */
83
+ chat?: IbGibAddr[];
84
+ /**
85
+ * @property system - Relationships to comment ibgibs representing the
86
+ * system prompt.
87
+ *
88
+ * This is a Gemini-specific construct that I don't know if it exists in
89
+ * other APIs. But the intent is that these are comment ibgibs to be used in
90
+ * composing any meta text that is not part of a "chat" between one or more
91
+ * users and one or more models.
92
+ *
93
+ * These are expected to be comment ibgibs with special additional metadata
94
+ * text in the ib that pertains to the agents {@link AgentWitness_V1}.
95
+ *
96
+ * @see {@link system}
97
+ */
98
+ system?: IbGibAddr[];
99
+ }
100
+ /**
101
+ * @interface AgentWitnessIbGib_V1 - Interface for an agent ibgib.
102
+ *
103
+ * @see {@link AgentWitness_V1}
104
+ */
105
+ export interface AgentWitnessIbGib_V1 extends IbGib_V1<AgentWitnessData_V1, AgentWitnessRel8ns_V1> {
106
+ }
107
+ export interface AddTextInfo {
108
+ /**
109
+ * @property text - raw comment text string to add
110
+ * @optional
111
+ */
112
+ text?: string;
113
+ /**
114
+ * @optional @property commentIbGib - existing comment to add
115
+ */
116
+ commentIbGib?: CommentIbGib_V1;
117
+ textSrc: TextSource;
118
+ /**
119
+ * @property isSystem - If true, adds the text to the system prompt instead of chat history.
120
+ * @default false
121
+ */
122
+ isSystem?: boolean;
123
+ }
124
+ /**
125
+ * @interface AddTextsOpts - Options for adding multiple text comments.
126
+ */
127
+ export interface AddTextsOpts {
128
+ infos: AddTextInfo[];
129
+ }
130
+ export interface PromptOneOffOpts {
131
+ text: string;
132
+ /**
133
+ * ad hoc system instructions for the one off call.
134
+ */
135
+ systemInstructions: string;
136
+ }
137
+ /**
138
+ * an agent can only have one active context at any time.
139
+ *
140
+ * Really this is a timeline, so the key thing of this context ibgib is its
141
+ * temporal junction point (tjp).
142
+ */
143
+ export interface SetActiveContextOpts {
144
+ contextIbGib: IbGib_V1;
145
+ /**
146
+ * for debug purposes
147
+ */
148
+ loggingInfo?: string;
149
+ }
150
+ /**
151
+ * When composing the prompt to send to the model, this is the information that
152
+ * we build up.
153
+ */
154
+ export interface PromptInfo {
155
+ /**
156
+ * discriminator of what concrete info is contained in this object.
157
+ */
158
+ api: AgentAPI;
159
+ }
160
+ /**
161
+ * @interface {@link PromptAPIResult} - shape of the result when calling into an
162
+ * api-specific model. In general, the api will either return a string or a
163
+ * function call request with optional arg(s)
164
+ * @see {@link AgentWitness_V1.callTextAPI}
165
+ */
166
+ export type PromptAPIResult = PromptAPIResult_Gemini;
167
+ /**
168
+ * info object containing information in an agent ib schema.
169
+ */
170
+ export interface AgentIbInfo {
171
+ /**
172
+ * should be {@link AGENT_ATOM}
173
+ */
174
+ atom: string;
175
+ name: string;
176
+ uuid: string;
177
+ type: string;
178
+ }
179
+ /**
180
+ * information encoded in the addlMetadataText part of a comment ibgib that is
181
+ * part of an agent's chat/system text.
182
+ *
183
+ * notes: long name...
184
+ */
185
+ export interface AddlMetadataTextForAgentTextInfo {
186
+ /**
187
+ * @see {@link AddTextInfo.textSrc}
188
+ */
189
+ textSrc: TextSource;
190
+ timestampInTicks: number;
191
+ /**
192
+ * if there are additional underscore-delimited metadata texts, they will be here.
193
+ */
194
+ other?: string[];
195
+ errorMsg?: string;
196
+ }
197
+ /**
198
+ * creates a begin/end tag composed of the {@link tagText} paired with an
199
+ * optional random id around the given {@link contentText}. The begin/end tags
200
+ * will be on their own line with {@link contentText} on the lines between.
201
+ *
202
+ * @example
203
+ * [MY_TAG|XBDWZ begin]
204
+ * contentText
205
+ * [MY_TAG|XBDWZ end]
206
+ * @returns
207
+ */
208
+ export declare function taggifyForPrompt({ tagText, contentText, randomIdLength, }: {
209
+ /**
210
+ * the tag itself
211
+ */
212
+ tagText: string;
213
+ /**
214
+ * text to be surrounded by the tags' begin and end markers.
215
+ */
216
+ contentText: string;
217
+ /**
218
+ * length of random characters to pair with tag. if 0 or undefined, then no
219
+ * id will be generated.
220
+ */
221
+ randomIdLength?: number | undefined;
222
+ }): string;
223
+ /**
224
+ * ATOW we specify if the text is from ai or human, as well as timestampInTicks.
225
+ * @returns metadata text to be included in the comment ibgib's ib.
226
+ * @see {@link parseAddlMetadataTextForAgentText}
227
+ */
228
+ export declare function getAddlMetadataTextForAgentText({ textSrc, other, }: {
229
+ /**
230
+ * @see {@link AddTextInfo.textSrc}
231
+ */
232
+ textSrc: TextSource;
233
+ /**
234
+ * if you have other underscore-delimited text, include that here.
235
+ */
236
+ other?: string;
237
+ }): string;
238
+ /**
239
+ * ATOW we specify if the text is from ai or human, as well as timestampInTicks.
240
+ * @returns metadata text to be included in the comment ibgib's ib.
241
+ * @see {@link getAddlMetadataTextForAgentText}
242
+ */
243
+ export declare function parseAddlMetadataTextForAgentText({ addlMetadataText, ifError, }: {
244
+ addlMetadataText: string;
245
+ ifError: 'throw' | 'warn' | 'ignore';
246
+ }): AddlMetadataTextForAgentTextInfo;
247
+ /**
248
+ * builds the agent witness' ib based on given {@link data}
249
+ * @see {@link parseAgentIb}
250
+ */
251
+ export declare function getAgentIb({ data, }: {
252
+ /** agent data, should be valid */
253
+ data: AgentWitnessData_V1;
254
+ }): string;
255
+ /**
256
+ * @returns parsed info from an ib
257
+ * @see {@link getAgentIb}
258
+ */
259
+ export declare function parseAgentIb({ ib, }: {
260
+ ib: Ib;
261
+ }): AgentIbInfo;
262
+ /**
263
+ * Validates a comment ibgib to ensure that it is usable in an agent witness
264
+ * context, especially that it includes the expected metadata format in its
265
+ * `ib`.
266
+ *
267
+ * @param {CommentIbGib_V1} ibGib - The comment ibgib to validate.
268
+ * @returns {string[]} An array of error messages if validation fails, or an empty array if no errors.
269
+ */
270
+ export declare function validateAgentWitnessCommentIbGib({ ibGib, }: {
271
+ ibGib: CommentIbGib_V1;
272
+ }): Promise<string[]>;
273
+ /**
274
+ * @extends LightWitnessBase_V1<AgentWitnessData_V1, AgentWitnessRel8ns_V1>
275
+ *
276
+ * ## notes
277
+ *
278
+ * This is far from complete. I don't know about performance, but it feels like
279
+ * what we need to add:
280
+ *
281
+ * * initialization
282
+ * * an agent should have a reference to the ibgib metaspace, as well as the agent's working local space.
283
+ * * if no local space exists yet, one should be created.
284
+ * * we will have to create an index ("special ibgib") that tracks our agents
285
+ */
286
+ export declare abstract class AgentWitness_V1<TAPIModel, TPromptInfo extends PromptInfo, TPromptResult extends PromptAPIResult> extends LightWitnessBase_V1<AgentWitnessData_V1, AgentWitnessRel8ns_V1> implements AgentWitnessIbGib_V1 {
287
+ protected lc: string;
288
+ protected availableFunctions: Map<string, APIFunctionInfo>;
289
+ protected commentIbGibs_system: CommentIbGib_V1[];
290
+ protected commentIbGibs_chat: CommentIbGib_V1[];
291
+ protected _metaspace: MetaspaceService | undefined;
292
+ /**
293
+ * provider function for api key.
294
+ */
295
+ fnGetAPIKey: () => Promise<string>;
296
+ /**
297
+ * convenience getter for this.data.name
298
+ */
299
+ get name(): string;
300
+ /**
301
+ * convenience getter for this.data.name
302
+ */
303
+ get uuid(): string;
304
+ protected _genAI: TAPIModel | undefined;
305
+ /**
306
+ * @protected
307
+ * @property transientDecompressionPromptText - A temporary string that is
308
+ * added to the prompt on the next LLM call ONLY, i.e. for a single prompt.
309
+ *
310
+ * This should NOT be part of any text history, but is rather a temporary
311
+ * way of including text in a chat in a one-off manner.
312
+ *
313
+ * ## driving use case
314
+ *
315
+ * We're using this right now in relation with Function Call Requests from
316
+ * this agent's model. We don't want to spam the context window with the
317
+ * details of these function calls, but sometimes the model needs the
318
+ * results of these functions.
319
+ */
320
+ protected transientDecompressionPromptText: string | undefined;
321
+ /**
322
+ * @property fnOutputText - A property on the AgentWitness_V1 that provides a way to output text.
323
+ *
324
+ * Default implementation to do nothing. This is to avoid a null pointer.
325
+ * ATOW (01/2025) This is a hack right now to get feedback from the agent that is not a function call.
326
+ */
327
+ fnOutputText: (textResponse: string) => void;
328
+ /**
329
+ * we need this agent witness to basically update as a singleton. enforcing
330
+ * singleton instances of agents is difficult even just locally, but
331
+ * impossible when we consider that we may have multiple tabs/apps sharing
332
+ * some space.
333
+ *
334
+ * So instead, we'll try having multiple witness instances wrapping the
335
+ * proxy.
336
+ */
337
+ protected ibGibProxy: LiveProxyIbGib<AgentWitnessIbGib_V1> | undefined;
338
+ constructor(initialData?: AgentWitnessData_V1, initialRel8ns?: AgentWitnessRel8ns_V1);
339
+ protected validateThis(): Promise<string[]>;
340
+ protected initialize(): Promise<void>;
341
+ /**
342
+ * loads the new context (agent witness ibgib) if it's different than what
343
+ * is already loaded in this agent instance.
344
+ */
345
+ protected handleContextUpdated(): Promise<void>;
346
+ /**
347
+ * each agent has access to its own local ibgib space for its internal contents. this gets the local
348
+ * space that corresponds to the agent's spaceId, or if it does not already
349
+ * exist, it creates the space (and updates the bootstrap).
350
+ * @returns space object that the agent will use as its local space.
351
+ *
352
+ * todo: refactor this with options to possibly return other spaces as well (metaspace, subSpace, superSpace). if options is undefined, do existing behavior of getting only the subspace
353
+ */
354
+ protected getSubSpace(): Promise<IbGibSpaceAny>;
355
+ /**
356
+ * helper that retrieves this agent's local space given by
357
+ * this.data.superSpaceId
358
+ */
359
+ protected getSuperSpace(): Promise<IbGibSpaceAny>;
360
+ abstract addTexts(opts: AddTextsOpts): Promise<CommentIbGib_V1[]>;
361
+ /**
362
+ * quick and dirty, does not
363
+ */
364
+ abstract promptOneOff(opts: PromptOneOffOpts): Promise<string | undefined>;
365
+ protected _activeContext: LiveProxyIbGib | undefined;
366
+ /**
367
+ * Updates the agent.data to have a soft link to an ibgib's timeline (via
368
+ * its tjp addr) that defines the agent's current context.
369
+ *
370
+ * This is kinda like describing what "directory" the agent is "in", though
371
+ * remember, ibgib's contain both intrinsic meaning (like a file) and
372
+ * extrinsic meaning (like a folder/dir).
373
+ *
374
+ * @see {@link SetActiveContextOpts}
375
+ */
376
+ setActiveContext(opts: SetActiveContextOpts): Promise<void>;
377
+ updateName({ name }: {
378
+ name: string;
379
+ }): Promise<void>;
380
+ updateAvailableFunctions({ availableFunctions, }: {
381
+ availableFunctions: APIFunctionInfo[];
382
+ }): Promise<void>;
383
+ /**
384
+ * I'm taking this out temporarily because it's non-trivial to figure out
385
+ * where/when this should happen. We can just do the deprecated list and when
386
+ * we go to populate the actual availble function infos, we check the
387
+ * deprecated list and skip the ones that are deprecated. So in the agent's
388
+ * dto ibgib (data.availableFunctions) the function name will still be
389
+ * listed, but at runtime it will not be populated.
390
+ */
391
+ /**
392
+ * Performs the {@link mut8} transform on this agent and does extra
393
+ * plumbing.
394
+ */
395
+ protected mut8Self<TData extends AgentWitnessData_V1 = AgentWitnessData_V1>({ dataToAddOrPatch, }: {
396
+ dataToAddOrPatch: Partial<TData>;
397
+ }): Promise<void>;
398
+ /**
399
+ * gets a list of api function infos available as tools to this agent, i.e., atow this are available for function calling in Gemini API. implementation is a WIP.
400
+ *
401
+ * @returns array of api function infos available as tools to this agent
402
+ */
403
+ protected getAvailableFunctions(): readonly APIFunctionInfo[];
404
+ protected getComments_System(): readonly CommentIbGib_V1[];
405
+ protected getComments_Chat(): readonly CommentIbGib_V1[];
406
+ addAvailableFunctions(functionInfos: APIFunctionInfo[]): Promise<void>;
407
+ /**
408
+ * Generates the prompt text for the LLM by concatenating system and chat
409
+ * comments. This method is meant to be overridden by descendant classes if
410
+ * needed.
411
+ *
412
+ * @returns A {@link TPromptInfo} object that will be used to prompt {@link _genAI}
413
+ * @throws {Error} If there is an error parsing the addlMetadataText, or if no metaspace is set, or if there are no chat comment ibgibs. (why are we prompting?)
414
+ */
415
+ abstract composePromptInfo(): Promise<TPromptInfo>;
416
+ /**
417
+ * Calls the text-based API to get a response based on the given prompt.
418
+ * This method is meant to be overridden by descendant classes if needed.
419
+ *
420
+ * @param {string} prompt - The text prompt to send to the API.
421
+ * @returns {Promise<PromptAPIResult>} - The response from the API.
422
+ * @throws {Error} If the api is not supported or if there is an error with the Gemini API call.
423
+ */
424
+ protected abstract callTextAPI(info: PromptInfo): Promise<TPromptResult>;
425
+ /**
426
+ * Orchestrates the prompting of the agent, combining system and chat history,
427
+ * and processing any function calling that is returned from the API.
428
+ * This method is called via the witness function when it receives a ROOT input.
429
+ * @returns {Promise<void>}
430
+ * @throws {Error} If there is an error getting the prompt text, calling the text API, or processing the response.
431
+ */
432
+ doPrompt(): Promise<void>;
433
+ /**
434
+ * handles text when there are no function calls
435
+ * @param text string
436
+ */
437
+ protected doPrompt_text(text: string): Promise<void>;
438
+ /**
439
+ * @protected
440
+ * Handles the prompt function calls when there are one or more calls
441
+ * requested by the LLM.
442
+ *
443
+ * * parses, validates, executes those function calls
444
+ * * creates associated function info ibgibs
445
+ * * creates Function Call Request comment ibgib and relates this to this agent
446
+ * * recursively calls doPrompt if indicated by the LLM (if they want to be
447
+ * reprompted after the function calls)
448
+ *
449
+ * @param {string[]} functionCalls are raw stringified JSON fn calls requested by the LLM
450
+ */
451
+ protected doPrompt_functionCalls({ functionCalls }: {
452
+ functionCalls: string[];
453
+ }): Promise<void>;
454
+ protected doPrompt_functionCalls_createFunctionInfoIbGibsAndExecFunctionCalls({ functionCalls, }: {
455
+ functionCalls: string[];
456
+ }): Promise<FunctionInfoIbGib_V1[]>;
457
+ protected doPrompt_functionCalls_addFunctionCallRequestComment({ functionInfoIbGibs }: {
458
+ functionInfoIbGibs: FunctionInfoIbGib_V1[];
459
+ }): Promise<void>;
460
+ protected doPrompt_functionCalls_getTransientDecompressionPromptForNextPrompt({ functionInfoIbGibs }: {
461
+ functionInfoIbGibs: FunctionInfoIbGib_V1[];
462
+ }): Promise<string>;
463
+ /**
464
+ * naive counter for reprompt asked for by the model
465
+ */
466
+ repromptCount: number;
467
+ /**
468
+ * naive cap for reprompt asked for by the model
469
+ */
470
+ repromptMax: number;
471
+ /**
472
+ * recursively calls doPrompt depending on {@link repromptCount} and {@link repromptMax}
473
+ */
474
+ rePrompt(): Promise<void>;
475
+ witness(arg: IbGib_V1): Promise<IbGib_V1>;
476
+ }
477
+ export type AgentWitnessAny = AgentWitness_V1<any, any, any>;
478
+ //# sourceMappingURL=agent-one-file.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-one-file.d.mts","sourceRoot":"","sources":["../../../src/witness/agent/agent-one-file.mts"],"names":[],"mappings":"A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