@vedangiitb/qwintly-core 1.4.13 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (475) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +13 -5
  3. package/dist/ai/ai.d.ts +0 -0
  4. package/dist/ai/ai.d.ts.map +0 -0
  5. package/dist/ai/ai.js +0 -0
  6. package/dist/ai/ai.js.map +0 -0
  7. package/dist/ai/generate/gemini.client.d.ts +0 -0
  8. package/dist/ai/generate/gemini.client.d.ts.map +0 -0
  9. package/dist/ai/generate/gemini.client.js +0 -0
  10. package/dist/ai/generate/gemini.client.js.map +0 -0
  11. package/dist/ai/generate/generateClient.d.ts +0 -0
  12. package/dist/ai/generate/generateClient.d.ts.map +0 -0
  13. package/dist/ai/generate/generateClient.js +0 -0
  14. package/dist/ai/generate/generateClient.js.map +0 -0
  15. package/dist/ai/prompts/codegen.prompt.d.ts +0 -0
  16. package/dist/ai/prompts/codegen.prompt.d.ts.map +0 -0
  17. package/dist/ai/prompts/codegen.prompt.js +0 -0
  18. package/dist/ai/prompts/codegen.prompt.js.map +0 -0
  19. package/dist/ai/prompts/examples/codegen.examples.d.ts +0 -0
  20. package/dist/ai/prompts/examples/codegen.examples.d.ts.map +0 -0
  21. package/dist/ai/prompts/examples/codegen.examples.js +0 -0
  22. package/dist/ai/prompts/examples/codegen.examples.js.map +0 -0
  23. package/dist/ai/prompts/examples/planner.examples.d.ts +0 -0
  24. package/dist/ai/prompts/examples/planner.examples.d.ts.map +0 -0
  25. package/dist/ai/prompts/examples/planner.examples.js +0 -0
  26. package/dist/ai/prompts/examples/planner.examples.js.map +0 -0
  27. package/dist/ai/prompts/helpers/promptParts.helper.d.ts +0 -0
  28. package/dist/ai/prompts/helpers/promptParts.helper.d.ts.map +0 -0
  29. package/dist/ai/prompts/helpers/promptParts.helper.js +0 -0
  30. package/dist/ai/prompts/helpers/promptParts.helper.js.map +0 -0
  31. package/dist/ai/prompts/planner.prompt.d.ts +0 -0
  32. package/dist/ai/prompts/planner.prompt.d.ts.map +0 -0
  33. package/dist/ai/prompts/planner.prompt.js +0 -0
  34. package/dist/ai/prompts/planner.prompt.js.map +0 -0
  35. package/dist/ai/prompts/prompts.d.ts +0 -0
  36. package/dist/ai/prompts/prompts.d.ts.map +0 -0
  37. package/dist/ai/prompts/prompts.js +0 -0
  38. package/dist/ai/prompts/prompts.js.map +0 -0
  39. package/dist/ai/prompts/validator.prompt.d.ts +0 -0
  40. package/dist/ai/prompts/validator.prompt.d.ts.map +0 -0
  41. package/dist/ai/prompts/validator.prompt.js +0 -0
  42. package/dist/ai/prompts/validator.prompt.js.map +0 -0
  43. package/dist/ai/toolLoop/helpers/aiCall.helper.d.ts +0 -0
  44. package/dist/ai/toolLoop/helpers/aiCall.helper.d.ts.map +0 -0
  45. package/dist/ai/toolLoop/helpers/aiCall.helper.js +0 -0
  46. package/dist/ai/toolLoop/helpers/aiCall.helper.js.map +0 -0
  47. package/dist/ai/toolLoop/helpers/applyPatch.helper.d.ts +0 -0
  48. package/dist/ai/toolLoop/helpers/applyPatch.helper.d.ts.map +0 -0
  49. package/dist/ai/toolLoop/helpers/applyPatch.helper.js +0 -0
  50. package/dist/ai/toolLoop/helpers/applyPatch.helper.js.map +0 -0
  51. package/dist/ai/toolLoop/helpers/errors.helper.d.ts +0 -0
  52. package/dist/ai/toolLoop/helpers/errors.helper.d.ts.map +0 -0
  53. package/dist/ai/toolLoop/helpers/errors.helper.js +0 -0
  54. package/dist/ai/toolLoop/helpers/errors.helper.js.map +0 -0
  55. package/dist/ai/toolLoop/helpers/fsHelpers.d.ts +0 -0
  56. package/dist/ai/toolLoop/helpers/fsHelpers.d.ts.map +0 -0
  57. package/dist/ai/toolLoop/helpers/fsHelpers.js +0 -0
  58. package/dist/ai/toolLoop/helpers/fsHelpers.js.map +0 -0
  59. package/dist/ai/toolLoop/helpers/patchRetry.helper.d.ts +0 -0
  60. package/dist/ai/toolLoop/helpers/patchRetry.helper.d.ts.map +0 -0
  61. package/dist/ai/toolLoop/helpers/patchRetry.helper.js +0 -0
  62. package/dist/ai/toolLoop/helpers/patchRetry.helper.js.map +0 -0
  63. package/dist/ai/toolLoop/helpers/persistTokens.helpers.d.ts +0 -0
  64. package/dist/ai/toolLoop/helpers/persistTokens.helpers.d.ts.map +0 -0
  65. package/dist/ai/toolLoop/helpers/persistTokens.helpers.js +0 -0
  66. package/dist/ai/toolLoop/helpers/persistTokens.helpers.js.map +0 -0
  67. package/dist/ai/toolLoop/helpers/plannerTaskParser.d.ts +0 -0
  68. package/dist/ai/toolLoop/helpers/plannerTaskParser.d.ts.map +1 -1
  69. package/dist/ai/toolLoop/helpers/plannerTaskParser.js +5 -1
  70. package/dist/ai/toolLoop/helpers/plannerTaskParser.js.map +1 -1
  71. package/dist/ai/toolLoop/helpers/readFile.helpers.d.ts +0 -0
  72. package/dist/ai/toolLoop/helpers/readFile.helpers.d.ts.map +0 -0
  73. package/dist/ai/toolLoop/helpers/readFile.helpers.js +0 -0
  74. package/dist/ai/toolLoop/helpers/readFile.helpers.js.map +0 -0
  75. package/dist/ai/toolLoop/helpers/signatures.helper.d.ts +0 -0
  76. package/dist/ai/toolLoop/helpers/signatures.helper.d.ts.map +0 -0
  77. package/dist/ai/toolLoop/helpers/signatures.helper.js +0 -0
  78. package/dist/ai/toolLoop/helpers/signatures.helper.js.map +0 -0
  79. package/dist/ai/toolLoop/helpers/toolArgs.helper.d.ts +0 -0
  80. package/dist/ai/toolLoop/helpers/toolArgs.helper.d.ts.map +0 -0
  81. package/dist/ai/toolLoop/helpers/toolArgs.helper.js +0 -0
  82. package/dist/ai/toolLoop/helpers/toolArgs.helper.js.map +0 -0
  83. package/dist/ai/toolLoop/helpers/toolExecution.helper.d.ts +0 -0
  84. package/dist/ai/toolLoop/helpers/toolExecution.helper.d.ts.map +0 -0
  85. package/dist/ai/toolLoop/helpers/toolExecution.helper.js +0 -0
  86. package/dist/ai/toolLoop/helpers/toolExecution.helper.js.map +0 -0
  87. package/dist/ai/toolLoop/helpers/toolHandlers.helper.d.ts +0 -0
  88. package/dist/ai/toolLoop/helpers/toolHandlers.helper.d.ts.map +0 -0
  89. package/dist/ai/toolLoop/helpers/toolHandlers.helper.js +0 -0
  90. package/dist/ai/toolLoop/helpers/toolHandlers.helper.js.map +0 -0
  91. package/dist/ai/toolLoop/toolEventSummary.d.ts +0 -0
  92. package/dist/ai/toolLoop/toolEventSummary.d.ts.map +0 -0
  93. package/dist/ai/toolLoop/toolEventSummary.js +0 -0
  94. package/dist/ai/toolLoop/toolEventSummary.js.map +0 -0
  95. package/dist/ai/toolLoop/toolLoopContext.d.ts +0 -0
  96. package/dist/ai/toolLoop/toolLoopContext.d.ts.map +0 -0
  97. package/dist/ai/toolLoop/toolLoopContext.js +0 -0
  98. package/dist/ai/toolLoop/toolLoopContext.js.map +0 -0
  99. package/dist/ai/toolLoop/toolLoopRunner.d.ts +0 -0
  100. package/dist/ai/toolLoop/toolLoopRunner.d.ts.map +0 -0
  101. package/dist/ai/toolLoop/toolLoopRunner.js +0 -0
  102. package/dist/ai/toolLoop/toolLoopRunner.js.map +0 -0
  103. package/dist/ai/toolLoop/toolStatusMessage.d.ts +0 -0
  104. package/dist/ai/toolLoop/toolStatusMessage.d.ts.map +0 -0
  105. package/dist/ai/toolLoop/toolStatusMessage.js +0 -0
  106. package/dist/ai/toolLoop/toolStatusMessage.js.map +0 -0
  107. package/dist/ai/tools/helpers/applyPatch.helpers.d.ts +0 -0
  108. package/dist/ai/tools/helpers/applyPatch.helpers.d.ts.map +0 -0
  109. package/dist/ai/tools/helpers/applyPatch.helpers.js +0 -0
  110. package/dist/ai/tools/helpers/applyPatch.helpers.js.map +0 -0
  111. package/dist/ai/tools/helpers/elementid.helpers.d.ts +0 -0
  112. package/dist/ai/tools/helpers/elementid.helpers.d.ts.map +0 -0
  113. package/dist/ai/tools/helpers/elementid.helpers.js +0 -0
  114. package/dist/ai/tools/helpers/elementid.helpers.js.map +0 -0
  115. package/dist/ai/tools/helpers/fileSystem.helpers.d.ts +0 -0
  116. package/dist/ai/tools/helpers/fileSystem.helpers.d.ts.map +0 -0
  117. package/dist/ai/tools/helpers/fileSystem.helpers.js +0 -0
  118. package/dist/ai/tools/helpers/fileSystem.helpers.js.map +0 -0
  119. package/dist/ai/tools/helpers/format.helpers.d.ts +0 -0
  120. package/dist/ai/tools/helpers/format.helpers.d.ts.map +0 -0
  121. package/dist/ai/tools/helpers/format.helpers.js +0 -0
  122. package/dist/ai/tools/helpers/format.helpers.js.map +0 -0
  123. package/dist/ai/tools/helpers/getImage.helper.d.ts +0 -0
  124. package/dist/ai/tools/helpers/getImage.helper.d.ts.map +0 -0
  125. package/dist/ai/tools/helpers/getImage.helper.js +0 -0
  126. package/dist/ai/tools/helpers/getImage.helper.js.map +0 -0
  127. package/dist/ai/tools/helpers/nextRouteFilePolicy.d.ts +0 -0
  128. package/dist/ai/tools/helpers/nextRouteFilePolicy.d.ts.map +0 -0
  129. package/dist/ai/tools/helpers/nextRouteFilePolicy.js +0 -0
  130. package/dist/ai/tools/helpers/nextRouteFilePolicy.js.map +0 -0
  131. package/dist/ai/tools/helpers/pageConfigJson.helpers.d.ts +0 -0
  132. package/dist/ai/tools/helpers/pageConfigJson.helpers.d.ts.map +0 -0
  133. package/dist/ai/tools/helpers/pageConfigJson.helpers.js +0 -0
  134. package/dist/ai/tools/helpers/pageConfigJson.helpers.js.map +0 -0
  135. package/dist/ai/tools/implementations/applyPatch.impl.d.ts +0 -0
  136. package/dist/ai/tools/implementations/applyPatch.impl.d.ts.map +0 -0
  137. package/dist/ai/tools/implementations/applyPatch.impl.js +0 -0
  138. package/dist/ai/tools/implementations/applyPatch.impl.js.map +0 -0
  139. package/dist/ai/tools/implementations/createNewRoute.impl.d.ts +0 -0
  140. package/dist/ai/tools/implementations/createNewRoute.impl.d.ts.map +0 -0
  141. package/dist/ai/tools/implementations/createNewRoute.impl.js +0 -0
  142. package/dist/ai/tools/implementations/createNewRoute.impl.js.map +0 -0
  143. package/dist/ai/tools/implementations/deleteElement.impl.d.ts +0 -0
  144. package/dist/ai/tools/implementations/deleteElement.impl.d.ts.map +0 -0
  145. package/dist/ai/tools/implementations/deleteElement.impl.js +0 -0
  146. package/dist/ai/tools/implementations/deleteElement.impl.js.map +0 -0
  147. package/dist/ai/tools/implementations/factories.d.ts +0 -0
  148. package/dist/ai/tools/implementations/factories.d.ts.map +0 -0
  149. package/dist/ai/tools/implementations/factories.js +0 -0
  150. package/dist/ai/tools/implementations/factories.js.map +0 -0
  151. package/dist/ai/tools/implementations/insertElement.impl.d.ts +0 -0
  152. package/dist/ai/tools/implementations/insertElement.impl.d.ts.map +0 -0
  153. package/dist/ai/tools/implementations/insertElement.impl.js +0 -0
  154. package/dist/ai/tools/implementations/insertElement.impl.js.map +0 -0
  155. package/dist/ai/tools/implementations/listDir.impl.d.ts +0 -0
  156. package/dist/ai/tools/implementations/listDir.impl.d.ts.map +0 -0
  157. package/dist/ai/tools/implementations/listDir.impl.js +0 -0
  158. package/dist/ai/tools/implementations/listDir.impl.js.map +0 -0
  159. package/dist/ai/tools/implementations/readFile.impl.d.ts +0 -0
  160. package/dist/ai/tools/implementations/readFile.impl.d.ts.map +0 -0
  161. package/dist/ai/tools/implementations/readFile.impl.js +0 -0
  162. package/dist/ai/tools/implementations/readFile.impl.js.map +0 -0
  163. package/dist/ai/tools/implementations/search.impl.d.ts +0 -0
  164. package/dist/ai/tools/implementations/search.impl.d.ts.map +0 -0
  165. package/dist/ai/tools/implementations/search.impl.js +0 -0
  166. package/dist/ai/tools/implementations/search.impl.js.map +0 -0
  167. package/dist/ai/tools/implementations/updateClassName.impl.d.ts +0 -0
  168. package/dist/ai/tools/implementations/updateClassName.impl.d.ts.map +0 -0
  169. package/dist/ai/tools/implementations/updateClassName.impl.js +0 -0
  170. package/dist/ai/tools/implementations/updateClassName.impl.js.map +0 -0
  171. package/dist/ai/tools/implementations/updateGlobalStyles.impl.d.ts +0 -0
  172. package/dist/ai/tools/implementations/updateGlobalStyles.impl.d.ts.map +0 -0
  173. package/dist/ai/tools/implementations/updateGlobalStyles.impl.js +0 -0
  174. package/dist/ai/tools/implementations/updateGlobalStyles.impl.js.map +0 -0
  175. package/dist/ai/tools/implementations/updateProps.impl.d.ts +0 -0
  176. package/dist/ai/tools/implementations/updateProps.impl.d.ts.map +0 -0
  177. package/dist/ai/tools/implementations/updateProps.impl.js +0 -0
  178. package/dist/ai/tools/implementations/updateProps.impl.js.map +0 -0
  179. package/dist/ai/tools/implementations/workspaceDeps.d.ts +0 -0
  180. package/dist/ai/tools/implementations/workspaceDeps.d.ts.map +0 -0
  181. package/dist/ai/tools/implementations/workspaceDeps.js +0 -0
  182. package/dist/ai/tools/implementations/workspaceDeps.js.map +0 -0
  183. package/dist/ai/tools/implementations/writeFile.impl.d.ts +0 -0
  184. package/dist/ai/tools/implementations/writeFile.impl.d.ts.map +0 -0
  185. package/dist/ai/tools/implementations/writeFile.impl.js +0 -0
  186. package/dist/ai/tools/implementations/writeFile.impl.js.map +0 -0
  187. package/dist/ai/tools/schemas/applyPatch.schema.d.ts +0 -0
  188. package/dist/ai/tools/schemas/applyPatch.schema.d.ts.map +0 -0
  189. package/dist/ai/tools/schemas/applyPatch.schema.js +0 -0
  190. package/dist/ai/tools/schemas/applyPatch.schema.js.map +0 -0
  191. package/dist/ai/tools/schemas/createNewRoute.schema.d.ts +0 -0
  192. package/dist/ai/tools/schemas/createNewRoute.schema.d.ts.map +0 -0
  193. package/dist/ai/tools/schemas/createNewRoute.schema.js +0 -0
  194. package/dist/ai/tools/schemas/createNewRoute.schema.js.map +0 -0
  195. package/dist/ai/tools/schemas/deleteElement.schema.d.ts +0 -0
  196. package/dist/ai/tools/schemas/deleteElement.schema.d.ts.map +0 -0
  197. package/dist/ai/tools/schemas/deleteElement.schema.js +0 -0
  198. package/dist/ai/tools/schemas/deleteElement.schema.js.map +0 -0
  199. package/dist/ai/tools/schemas/elementProps.schema.d.ts +0 -0
  200. package/dist/ai/tools/schemas/elementProps.schema.d.ts.map +0 -0
  201. package/dist/ai/tools/schemas/elementProps.schema.js +0 -0
  202. package/dist/ai/tools/schemas/elementProps.schema.js.map +0 -0
  203. package/dist/ai/tools/schemas/getAvailableRoutes.schema.d.ts +0 -0
  204. package/dist/ai/tools/schemas/getAvailableRoutes.schema.d.ts.map +0 -0
  205. package/dist/ai/tools/schemas/getAvailableRoutes.schema.js +0 -0
  206. package/dist/ai/tools/schemas/getAvailableRoutes.schema.js.map +0 -0
  207. package/dist/ai/tools/schemas/insertElement.schema.d.ts +0 -0
  208. package/dist/ai/tools/schemas/insertElement.schema.d.ts.map +0 -0
  209. package/dist/ai/tools/schemas/insertElement.schema.js +0 -0
  210. package/dist/ai/tools/schemas/insertElement.schema.js.map +0 -0
  211. package/dist/ai/tools/schemas/listDir.schema.d.ts +0 -0
  212. package/dist/ai/tools/schemas/listDir.schema.d.ts.map +0 -0
  213. package/dist/ai/tools/schemas/listDir.schema.js +0 -0
  214. package/dist/ai/tools/schemas/listDir.schema.js.map +0 -0
  215. package/dist/ai/tools/schemas/readFile.schema.d.ts +0 -0
  216. package/dist/ai/tools/schemas/readFile.schema.d.ts.map +0 -0
  217. package/dist/ai/tools/schemas/readFile.schema.js +0 -0
  218. package/dist/ai/tools/schemas/readFile.schema.js.map +0 -0
  219. package/dist/ai/tools/schemas/search.schema.d.ts +0 -0
  220. package/dist/ai/tools/schemas/search.schema.d.ts.map +0 -0
  221. package/dist/ai/tools/schemas/search.schema.js +0 -0
  222. package/dist/ai/tools/schemas/search.schema.js.map +0 -0
  223. package/dist/ai/tools/schemas/submitCodegenDone.schema.d.ts +0 -0
  224. package/dist/ai/tools/schemas/submitCodegenDone.schema.d.ts.map +0 -0
  225. package/dist/ai/tools/schemas/submitCodegenDone.schema.js +0 -0
  226. package/dist/ai/tools/schemas/submitCodegenDone.schema.js.map +0 -0
  227. package/dist/ai/tools/schemas/submitPlannerTasks.schema.d.ts +0 -0
  228. package/dist/ai/tools/schemas/submitPlannerTasks.schema.d.ts.map +0 -0
  229. package/dist/ai/tools/schemas/submitPlannerTasks.schema.js +0 -0
  230. package/dist/ai/tools/schemas/submitPlannerTasks.schema.js.map +0 -0
  231. package/dist/ai/tools/schemas/updateClassName.schema.d.ts +0 -0
  232. package/dist/ai/tools/schemas/updateClassName.schema.d.ts.map +0 -0
  233. package/dist/ai/tools/schemas/updateClassName.schema.js +0 -0
  234. package/dist/ai/tools/schemas/updateClassName.schema.js.map +0 -0
  235. package/dist/ai/tools/schemas/updateGlobalStyles.schema.d.ts +0 -0
  236. package/dist/ai/tools/schemas/updateGlobalStyles.schema.d.ts.map +0 -0
  237. package/dist/ai/tools/schemas/updateGlobalStyles.schema.js +0 -0
  238. package/dist/ai/tools/schemas/updateGlobalStyles.schema.js.map +0 -0
  239. package/dist/ai/tools/schemas/updateProps.schema.d.ts +0 -0
  240. package/dist/ai/tools/schemas/updateProps.schema.d.ts.map +0 -0
  241. package/dist/ai/tools/schemas/updateProps.schema.js +0 -0
  242. package/dist/ai/tools/schemas/updateProps.schema.js.map +0 -0
  243. package/dist/ai/tools/schemas/writeFile.schema.d.ts +0 -0
  244. package/dist/ai/tools/schemas/writeFile.schema.d.ts.map +0 -0
  245. package/dist/ai/tools/schemas/writeFile.schema.js +0 -0
  246. package/dist/ai/tools/schemas/writeFile.schema.js.map +0 -0
  247. package/dist/ai/tools/toolsets/codegenTools.d.ts +0 -0
  248. package/dist/ai/tools/toolsets/codegenTools.d.ts.map +0 -0
  249. package/dist/ai/tools/toolsets/codegenTools.js +0 -0
  250. package/dist/ai/tools/toolsets/codegenTools.js.map +0 -0
  251. package/dist/ai/tools/toolsets/plannerTools.d.ts +0 -0
  252. package/dist/ai/tools/toolsets/plannerTools.d.ts.map +0 -0
  253. package/dist/ai/tools/toolsets/plannerTools.js +0 -0
  254. package/dist/ai/tools/toolsets/plannerTools.js.map +0 -0
  255. package/dist/ai/tools/validators/builderElement.zod.d.ts +0 -0
  256. package/dist/ai/tools/validators/builderElement.zod.d.ts.map +0 -0
  257. package/dist/ai/tools/validators/builderElement.zod.js +0 -0
  258. package/dist/ai/tools/validators/builderElement.zod.js.map +0 -0
  259. package/dist/ai/tools/validators/updateGlobalStyles.zod.d.ts +0 -0
  260. package/dist/ai/tools/validators/updateGlobalStyles.zod.d.ts.map +0 -0
  261. package/dist/ai/tools/validators/updateGlobalStyles.zod.js +0 -0
  262. package/dist/ai/tools/validators/updateGlobalStyles.zod.js.map +0 -0
  263. package/dist/core.d.ts +1 -0
  264. package/dist/core.d.ts.map +1 -1
  265. package/dist/core.js +22 -8
  266. package/dist/core.js.map +1 -1
  267. package/dist/image/unsplash.service.d.ts +0 -0
  268. package/dist/image/unsplash.service.d.ts.map +0 -0
  269. package/dist/image/unsplash.service.js +0 -0
  270. package/dist/image/unsplash.service.js.map +0 -0
  271. package/dist/index.d.ts +0 -0
  272. package/dist/index.d.ts.map +0 -0
  273. package/dist/index.js +0 -0
  274. package/dist/index.js.map +0 -0
  275. package/dist/indexer/codegenIndex.d.ts +0 -0
  276. package/dist/indexer/codegenIndex.d.ts.map +0 -0
  277. package/dist/indexer/codegenIndex.js +0 -0
  278. package/dist/indexer/codegenIndex.js.map +0 -0
  279. package/dist/indexer/data/configs.constants.d.ts +0 -0
  280. package/dist/indexer/data/configs.constants.d.ts.map +0 -0
  281. package/dist/indexer/data/configs.constants.js +0 -0
  282. package/dist/indexer/data/configs.constants.js.map +0 -0
  283. package/dist/indexer/helpers/buildFolderTree.d.ts +0 -0
  284. package/dist/indexer/helpers/buildFolderTree.d.ts.map +0 -0
  285. package/dist/indexer/helpers/buildFolderTree.js +0 -0
  286. package/dist/indexer/helpers/buildFolderTree.js.map +0 -0
  287. package/dist/indexer/plannerIndex.d.ts +0 -0
  288. package/dist/indexer/plannerIndex.d.ts.map +0 -0
  289. package/dist/indexer/plannerIndex.js +0 -0
  290. package/dist/indexer/plannerIndex.js.map +0 -0
  291. package/dist/indexer/projectInfoIndex.d.ts +0 -0
  292. package/dist/indexer/projectInfoIndex.d.ts.map +0 -0
  293. package/dist/indexer/projectInfoIndex.js +0 -0
  294. package/dist/indexer/projectInfoIndex.js.map +0 -0
  295. package/dist/indexer/validatorIndex.d.ts +0 -0
  296. package/dist/indexer/validatorIndex.d.ts.map +0 -0
  297. package/dist/indexer/validatorIndex.js +0 -0
  298. package/dist/indexer/validatorIndex.js.map +0 -0
  299. package/dist/lib/redis.d.ts +0 -0
  300. package/dist/lib/redis.d.ts.map +0 -0
  301. package/dist/lib/redis.js +0 -0
  302. package/dist/lib/redis.js.map +0 -0
  303. package/dist/lib/supabase.d.ts +0 -0
  304. package/dist/lib/supabase.d.ts.map +0 -0
  305. package/dist/lib/supabase.js +0 -0
  306. package/dist/lib/supabase.js.map +0 -0
  307. package/dist/logging/genStatus.service.d.ts +11 -1
  308. package/dist/logging/genStatus.service.d.ts.map +1 -1
  309. package/dist/logging/genStatus.service.js +58 -27
  310. package/dist/logging/genStatus.service.js.map +1 -1
  311. package/dist/logging/logging.utils.d.ts +0 -0
  312. package/dist/logging/logging.utils.d.ts.map +0 -0
  313. package/dist/logging/logging.utils.js +1 -1
  314. package/dist/logging/logging.utils.js.map +1 -1
  315. package/dist/logging/redis.service.d.ts +0 -0
  316. package/dist/logging/redis.service.d.ts.map +0 -0
  317. package/dist/logging/redis.service.js +0 -0
  318. package/dist/logging/redis.service.js.map +0 -0
  319. package/dist/repository/context.repository.d.ts +0 -0
  320. package/dist/repository/context.repository.d.ts.map +0 -0
  321. package/dist/repository/context.repository.js +0 -0
  322. package/dist/repository/context.repository.js.map +0 -0
  323. package/dist/repository/genStatus.repository.d.ts +0 -0
  324. package/dist/repository/genStatus.repository.d.ts.map +0 -0
  325. package/dist/repository/genStatus.repository.js +0 -0
  326. package/dist/repository/genStatus.repository.js.map +0 -0
  327. package/dist/repository/genTokens.repository.d.ts +0 -0
  328. package/dist/repository/genTokens.repository.d.ts.map +0 -0
  329. package/dist/repository/genTokens.repository.js +0 -0
  330. package/dist/repository/genTokens.repository.js.map +0 -0
  331. package/dist/repository/genToolCalls.repository.d.ts +0 -0
  332. package/dist/repository/genToolCalls.repository.d.ts.map +0 -0
  333. package/dist/repository/genToolCalls.repository.js +0 -0
  334. package/dist/repository/genToolCalls.repository.js.map +0 -0
  335. package/dist/repository/planTasks.repository.d.ts +0 -0
  336. package/dist/repository/planTasks.repository.d.ts.map +0 -0
  337. package/dist/repository/planTasks.repository.js +0 -0
  338. package/dist/repository/planTasks.repository.js.map +0 -0
  339. package/dist/repository/projectOperations.repository.d.ts +0 -0
  340. package/dist/repository/projectOperations.repository.d.ts.map +0 -0
  341. package/dist/repository/projectOperations.repository.js +0 -0
  342. package/dist/repository/projectOperations.repository.js.map +0 -0
  343. package/dist/repository/repository.d.ts +0 -0
  344. package/dist/repository/repository.d.ts.map +0 -0
  345. package/dist/repository/repository.js +0 -0
  346. package/dist/repository/repository.js.map +0 -0
  347. package/dist/services/syncEditOps.service.d.ts +0 -0
  348. package/dist/services/syncEditOps.service.d.ts.map +0 -0
  349. package/dist/services/syncEditOps.service.js +0 -0
  350. package/dist/services/syncEditOps.service.js.map +0 -0
  351. package/dist/services/toolcallPersist.service.d.ts +0 -0
  352. package/dist/services/toolcallPersist.service.d.ts.map +0 -0
  353. package/dist/services/toolcallPersist.service.js +0 -0
  354. package/dist/services/toolcallPersist.service.js.map +0 -0
  355. package/dist/tests/applyPatch.helpers.test.d.ts +0 -0
  356. package/dist/tests/applyPatch.helpers.test.d.ts.map +0 -0
  357. package/dist/tests/applyPatch.helpers.test.js +0 -0
  358. package/dist/tests/applyPatch.helpers.test.js.map +0 -0
  359. package/dist/tests/applyPatch.impl.test.d.ts +0 -0
  360. package/dist/tests/applyPatch.impl.test.d.ts.map +0 -0
  361. package/dist/tests/applyPatch.impl.test.js +0 -0
  362. package/dist/tests/applyPatch.impl.test.js.map +0 -0
  363. package/dist/tests/createNewRoute.impl.test.d.ts +0 -0
  364. package/dist/tests/createNewRoute.impl.test.d.ts.map +0 -0
  365. package/dist/tests/createNewRoute.impl.test.js +0 -0
  366. package/dist/tests/createNewRoute.impl.test.js.map +0 -0
  367. package/dist/tests/deleteElement.impl.test.d.ts +0 -0
  368. package/dist/tests/deleteElement.impl.test.d.ts.map +0 -0
  369. package/dist/tests/deleteElement.impl.test.js +0 -0
  370. package/dist/tests/deleteElement.impl.test.js.map +0 -0
  371. package/dist/tests/fileSystem.helpers.test.d.ts +0 -0
  372. package/dist/tests/fileSystem.helpers.test.d.ts.map +0 -0
  373. package/dist/tests/fileSystem.helpers.test.js +0 -0
  374. package/dist/tests/fileSystem.helpers.test.js.map +0 -0
  375. package/dist/tests/insertUpdate.impl.test.d.ts +0 -0
  376. package/dist/tests/insertUpdate.impl.test.d.ts.map +0 -0
  377. package/dist/tests/insertUpdate.impl.test.js +0 -0
  378. package/dist/tests/insertUpdate.impl.test.js.map +0 -0
  379. package/dist/tests/plannerTaskParser.test.d.ts +2 -0
  380. package/dist/tests/plannerTaskParser.test.d.ts.map +1 -0
  381. package/dist/tests/plannerTaskParser.test.js +49 -0
  382. package/dist/tests/plannerTaskParser.test.js.map +1 -0
  383. package/dist/tests/projectInfoIndex.test.d.ts +0 -0
  384. package/dist/tests/projectInfoIndex.test.d.ts.map +0 -0
  385. package/dist/tests/projectInfoIndex.test.js +0 -0
  386. package/dist/tests/projectInfoIndex.test.js.map +0 -0
  387. package/dist/tests/search.impl.test.d.ts +0 -0
  388. package/dist/tests/search.impl.test.d.ts.map +0 -0
  389. package/dist/tests/search.impl.test.js +0 -0
  390. package/dist/tests/search.impl.test.js.map +0 -0
  391. package/dist/tests/toolLoopRunner.routes.test.d.ts +0 -0
  392. package/dist/tests/toolLoopRunner.routes.test.d.ts.map +0 -0
  393. package/dist/tests/toolLoopRunner.routes.test.js +0 -0
  394. package/dist/tests/toolLoopRunner.routes.test.js.map +0 -0
  395. package/dist/tests/toolLoopRunner.tokensPersist.test.d.ts +0 -0
  396. package/dist/tests/toolLoopRunner.tokensPersist.test.d.ts.map +0 -0
  397. package/dist/tests/toolLoopRunner.tokensPersist.test.js +0 -0
  398. package/dist/tests/toolLoopRunner.tokensPersist.test.js.map +0 -0
  399. package/dist/tests/toolLoopRunner.updateGlobalStylesEmptyArgs.test.d.ts +0 -0
  400. package/dist/tests/toolLoopRunner.updateGlobalStylesEmptyArgs.test.d.ts.map +0 -0
  401. package/dist/tests/toolLoopRunner.updateGlobalStylesEmptyArgs.test.js +0 -0
  402. package/dist/tests/toolLoopRunner.updateGlobalStylesEmptyArgs.test.js.map +0 -0
  403. package/dist/tests/unsplash.service.test.d.ts +0 -0
  404. package/dist/tests/unsplash.service.test.d.ts.map +0 -0
  405. package/dist/tests/unsplash.service.test.js +0 -0
  406. package/dist/tests/unsplash.service.test.js.map +0 -0
  407. package/dist/tests/updateGlobalStyles.impl.test.d.ts +0 -0
  408. package/dist/tests/updateGlobalStyles.impl.test.d.ts.map +0 -0
  409. package/dist/tests/updateGlobalStyles.impl.test.js +0 -0
  410. package/dist/tests/updateGlobalStyles.impl.test.js.map +0 -0
  411. package/dist/types/context.types.d.ts +0 -0
  412. package/dist/types/context.types.d.ts.map +0 -0
  413. package/dist/types/context.types.js +0 -0
  414. package/dist/types/context.types.js.map +0 -0
  415. package/dist/types/elements.d.ts +0 -0
  416. package/dist/types/elements.d.ts.map +0 -0
  417. package/dist/types/elements.js +0 -0
  418. package/dist/types/elements.js.map +0 -0
  419. package/dist/types/events.d.ts +0 -0
  420. package/dist/types/events.d.ts.map +0 -0
  421. package/dist/types/events.js +0 -0
  422. package/dist/types/events.js.map +0 -0
  423. package/dist/types/image.d.ts +0 -0
  424. package/dist/types/image.d.ts.map +0 -0
  425. package/dist/types/image.js +0 -0
  426. package/dist/types/image.js.map +0 -0
  427. package/dist/types/index/configs.types.d.ts +0 -0
  428. package/dist/types/index/configs.types.d.ts.map +0 -0
  429. package/dist/types/index/configs.types.js +0 -0
  430. package/dist/types/index/configs.types.js.map +0 -0
  431. package/dist/types/index/index.types.d.ts +0 -0
  432. package/dist/types/index/index.types.d.ts.map +0 -0
  433. package/dist/types/index/index.types.js +0 -0
  434. package/dist/types/index/index.types.js.map +0 -0
  435. package/dist/types/index/indexing.types.d.ts +0 -0
  436. package/dist/types/index/indexing.types.d.ts.map +0 -0
  437. package/dist/types/index/indexing.types.js +0 -0
  438. package/dist/types/index/indexing.types.js.map +0 -0
  439. package/dist/types/plannerTasks.types.d.ts +0 -0
  440. package/dist/types/plannerTasks.types.d.ts.map +0 -0
  441. package/dist/types/plannerTasks.types.js +0 -0
  442. package/dist/types/plannerTasks.types.js.map +0 -0
  443. package/dist/types/projectInfo.types.d.ts +0 -0
  444. package/dist/types/projectInfo.types.d.ts.map +0 -0
  445. package/dist/types/projectInfo.types.js +0 -0
  446. package/dist/types/projectInfo.types.js.map +0 -0
  447. package/dist/types/projectOps.types.d.ts +0 -0
  448. package/dist/types/projectOps.types.d.ts.map +0 -0
  449. package/dist/types/projectOps.types.js +0 -0
  450. package/dist/types/projectOps.types.js.map +0 -0
  451. package/dist/types/public.d.ts +0 -0
  452. package/dist/types/public.d.ts.map +0 -0
  453. package/dist/types/public.js +0 -0
  454. package/dist/types/public.js.map +0 -0
  455. package/dist/types/snapshot.d.ts +0 -0
  456. package/dist/types/snapshot.d.ts.map +0 -0
  457. package/dist/types/snapshot.js +0 -0
  458. package/dist/types/snapshot.js.map +0 -0
  459. package/dist/types/styleConfig.d.ts +0 -0
  460. package/dist/types/styleConfig.d.ts.map +0 -0
  461. package/dist/types/styleConfig.js +0 -0
  462. package/dist/types/styleConfig.js.map +0 -0
  463. package/dist/types/updatePlan.types.d.ts +0 -0
  464. package/dist/types/updatePlan.types.d.ts.map +0 -0
  465. package/dist/types/updatePlan.types.js +0 -0
  466. package/dist/types/updatePlan.types.js.map +0 -0
  467. package/dist/utils/utils.d.ts +0 -0
  468. package/dist/utils/utils.d.ts.map +0 -0
  469. package/dist/utils/utils.js +0 -0
  470. package/dist/utils/utils.js.map +0 -0
  471. package/dist/utils/workspace.d.ts +0 -0
  472. package/dist/utils/workspace.d.ts.map +0 -0
  473. package/dist/utils/workspace.js +0 -0
  474. package/dist/utils/workspace.js.map +0 -0
  475. package/package.json +6 -4
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=plannerTaskParser.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plannerTaskParser.test.d.ts","sourceRoot":"","sources":["../../src/tests/plannerTaskParser.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,49 @@
1
+ import assert from "node:assert/strict";
2
+ import test from "node:test";
3
+ import { parsePlannerTasksUnknown, parsePlannerTasksJson } from "../ai/toolLoop/helpers/plannerTaskParser.js";
4
+ test("plannerTaskParser: parses less than 15 tasks successfully", () => {
5
+ const tasks = Array.from({ length: 5 }, (_, i) => ({
6
+ description: `Task ${i + 1}`,
7
+ targets: [`target-${i + 1}`],
8
+ }));
9
+ const parsed = parsePlannerTasksUnknown(tasks);
10
+ assert.equal(parsed.length, 5);
11
+ assert.equal(parsed[0]?.description, "Task 1");
12
+ assert.deepEqual(parsed[0]?.targets, ["target-1"]);
13
+ });
14
+ test("plannerTaskParser: limits to max 15 tasks and ignores rest without throwing", () => {
15
+ const tasks = Array.from({ length: 25 }, (_, i) => ({
16
+ description: `Task ${i + 1}`,
17
+ targets: [`target-${i + 1}`],
18
+ }));
19
+ const parsed = parsePlannerTasksUnknown(tasks);
20
+ assert.equal(parsed.length, 15);
21
+ assert.equal(parsed[0]?.description, "Task 1");
22
+ assert.equal(parsed[14]?.description, "Task 15");
23
+ });
24
+ test("plannerTaskParser: invalid tasks past index 15 are ignored and don't throw", () => {
25
+ const tasks = Array.from({ length: 15 }, (_, i) => ({
26
+ description: `Task ${i + 1}`,
27
+ targets: [`target-${i + 1}`],
28
+ }));
29
+ // Append invalid tasks at the end
30
+ tasks.push({ description: "", targets: [] }); // invalid: empty description & target min length
31
+ tasks.push({ description: 123, targets: "not-an-array" }); // completely invalid
32
+ tasks.push("not-even-an-object");
33
+ const parsed = parsePlannerTasksUnknown(tasks);
34
+ assert.equal(parsed.length, 15);
35
+ assert.equal(parsed[0]?.description, "Task 1");
36
+ assert.equal(parsed[14]?.description, "Task 15");
37
+ });
38
+ test("plannerTaskParser: parsePlannerTasksJson handles JSON with more than 15 tasks", () => {
39
+ const tasks = Array.from({ length: 20 }, (_, i) => ({
40
+ description: `Task ${i + 1}`,
41
+ targets: [`target-${i + 1}`],
42
+ }));
43
+ const jsonString = JSON.stringify(tasks);
44
+ const parsed = parsePlannerTasksJson(jsonString);
45
+ assert.equal(parsed.length, 15);
46
+ assert.equal(parsed[0]?.description, "Task 1");
47
+ assert.equal(parsed[14]?.description, "Task 15");
48
+ });
49
+ //# sourceMappingURL=plannerTaskParser.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plannerTaskParser.test.js","sourceRoot":"","sources":["../../src/tests/plannerTaskParser.test.ts"],"names":[],"mappings":"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","sourcesContent":["import assert from \"node:assert/strict\";\nimport test from \"node:test\";\nimport { parsePlannerTasksUnknown, parsePlannerTasksJson } from \"../ai/toolLoop/helpers/plannerTaskParser.js\";\n\ntest(\"plannerTaskParser: parses less than 15 tasks successfully\", () => {\n const tasks = Array.from({ length: 5 }, (_, i) => ({\n description: `Task ${i + 1}`,\n targets: [`target-${i + 1}`],\n }));\n\n const parsed = parsePlannerTasksUnknown(tasks);\n assert.equal(parsed.length, 5);\n assert.equal(parsed[0]?.description, \"Task 1\");\n assert.deepEqual(parsed[0]?.targets, [\"target-1\"]);\n});\n\ntest(\"plannerTaskParser: limits to max 15 tasks and ignores rest without throwing\", () => {\n const tasks = Array.from({ length: 25 }, (_, i) => ({\n description: `Task ${i + 1}`,\n targets: [`target-${i + 1}`],\n }));\n\n const parsed = parsePlannerTasksUnknown(tasks);\n assert.equal(parsed.length, 15);\n assert.equal(parsed[0]?.description, \"Task 1\");\n assert.equal(parsed[14]?.description, \"Task 15\");\n});\n\ntest(\"plannerTaskParser: invalid tasks past index 15 are ignored and don't throw\", () => {\n const tasks: any[] = Array.from({ length: 15 }, (_, i) => ({\n description: `Task ${i + 1}`,\n targets: [`target-${i + 1}`],\n }));\n\n // Append invalid tasks at the end\n tasks.push({ description: \"\", targets: [] }); // invalid: empty description & target min length\n tasks.push({ description: 123, targets: \"not-an-array\" }); // completely invalid\n tasks.push(\"not-even-an-object\");\n\n const parsed = parsePlannerTasksUnknown(tasks);\n assert.equal(parsed.length, 15);\n assert.equal(parsed[0]?.description, \"Task 1\");\n assert.equal(parsed[14]?.description, \"Task 15\");\n});\n\ntest(\"plannerTaskParser: parsePlannerTasksJson handles JSON with more than 15 tasks\", () => {\n const tasks = Array.from({ length: 20 }, (_, i) => ({\n description: `Task ${i + 1}`,\n targets: [`target-${i + 1}`],\n }));\n\n const jsonString = JSON.stringify(tasks);\n const parsed = parsePlannerTasksJson(jsonString);\n assert.equal(parsed.length, 15);\n assert.equal(parsed[0]?.description, \"Task 1\");\n assert.equal(parsed[14]?.description, \"Task 15\");\n});\n"]}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vedangiitb/qwintly-core",
3
- "version": "1.4.13",
3
+ "version": "1.6.2",
4
4
  "description": "Qwintly Core",
5
5
  "homepage": "https://github.com/vedangiitb/qwintly-core#readme",
6
6
  "bugs": {
@@ -31,9 +31,8 @@
31
31
  "scripts": {
32
32
  "clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
33
33
  "build": "tsc -p tsconfig.json",
34
- "prepare": "npm run build",
35
- "prepack": "npm run clean && npm run build",
36
- "test": "npm run build && node --test dist"
34
+ "test": "npm run build && node --test dist",
35
+ "release": "semantic-release"
37
36
  },
38
37
  "peerDependencies": {
39
38
  "@google/genai": "^1.33.0"
@@ -47,7 +46,10 @@
47
46
  },
48
47
  "devDependencies": {
49
48
  "@google/genai": "^1.33.0",
49
+ "@semantic-release/changelog": "^6.0.3",
50
+ "@semantic-release/git": "^10.0.1",
50
51
  "@types/node": "^24.10.4",
52
+ "semantic-release": "^25.0.5",
51
53
  "typescript": "^5.9.3"
52
54
  },
53
55
  "publishConfig": {