git-coco 0.4.0 → 0.4.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 (2) hide show
  1. package/dist/stats.html +1 -1
  2. package/package.json +2 -2
package/dist/stats.html CHANGED
@@ -5285,7 +5285,7 @@ var drawChart = (function (exports) {
5285
5285
  </script>
5286
5286
  <script>
5287
5287
  /*<!--*/
5288
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src","children":[{"name":"lib","children":[{"name":"utils","children":[{"uid":"91d1-106","name":"getPathFromFilePath.ts"},{"uid":"91d1-124","name":"getTokenizer.ts"},{"uid":"91d1-126","name":"logger.ts"},{"uid":"91d1-134","name":"removeUndefined.ts"}]},{"name":"langchain","children":[{"name":"chains/summarize.ts","uid":"91d1-108"},{"uid":"91d1-116","name":"utils.ts"},{"name":"prompts","children":[{"uid":"91d1-118","name":"summarize.ts"},{"uid":"91d1-128","name":"commitDefault.ts"},{"uid":"91d1-178","name":"changelog.ts"}]},{"uid":"91d1-164","name":"executeChain.ts"}]},{"name":"parsers","children":[{"name":"default","children":[{"name":"utils","children":[{"uid":"91d1-110","name":"summarizeDiffs.ts"},{"uid":"91d1-112","name":"createDiffTree.ts"},{"uid":"91d1-114","name":"collectDiffs.ts"}]},{"uid":"91d1-122","name":"index.ts"}]},{"uid":"91d1-150","name":"noResult.ts"}]},{"name":"simple-git","children":[{"uid":"91d1-120","name":"getDiff.ts"},{"uid":"91d1-130","name":"getStatus.ts"},{"uid":"91d1-132","name":"getSummaryText.ts"},{"uid":"91d1-148","name":"getChanges.ts"},{"uid":"91d1-166","name":"createCommit.ts"},{"uid":"91d1-180","name":"getCommitLogRange.ts"}]},{"name":"config","children":[{"name":"services","children":[{"uid":"91d1-136","name":"env.ts"},{"uid":"91d1-138","name":"git.ts"},{"uid":"91d1-140","name":"ignore.ts"},{"uid":"91d1-142","name":"project.ts"},{"uid":"91d1-144","name":"xdg.ts"}]},{"uid":"91d1-146","name":"loadConfig.ts"}]},{"name":"ui","children":[{"uid":"91d1-152","name":"helpers.ts"},{"uid":"91d1-154","name":"logResult.ts"},{"uid":"91d1-156","name":"editResult.ts"},{"uid":"91d1-158","name":"getUserReviewDecision.ts"},{"uid":"91d1-160","name":"editPrompt.ts"},{"uid":"91d1-162","name":"generateAndReviewLoop.ts"},{"uid":"91d1-168","name":"logSuccess.ts"},{"uid":"91d1-170","name":"handleResult.ts"}]}]},{"name":"commands","children":[{"name":"commit","children":[{"uid":"91d1-172","name":"handler.ts"},{"uid":"91d1-174","name":"options.ts"},{"uid":"91d1-176","name":"index.ts"}]},{"name":"changelog","children":[{"uid":"91d1-182","name":"handler.ts"},{"uid":"91d1-184","name":"options.ts"},{"uid":"91d1-186","name":"index.ts"}]}]},{"uid":"91d1-188","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"91d1-106":{"renderedLength":256,"gzipLength":0,"brotliLength":151,"metaUid":"91d1-105"},"91d1-108":{"renderedLength":442,"gzipLength":0,"brotliLength":201,"metaUid":"91d1-107"},"91d1-110":{"renderedLength":3917,"gzipLength":0,"brotliLength":1170,"metaUid":"91d1-109"},"91d1-112":{"renderedLength":1861,"gzipLength":0,"brotliLength":515,"metaUid":"91d1-111"},"91d1-114":{"renderedLength":1186,"gzipLength":0,"brotliLength":416,"metaUid":"91d1-113"},"91d1-116":{"renderedLength":2445,"gzipLength":0,"brotliLength":706,"metaUid":"91d1-115"},"91d1-118":{"renderedLength":403,"gzipLength":0,"brotliLength":232,"metaUid":"91d1-117"},"91d1-120":{"renderedLength":2185,"gzipLength":0,"brotliLength":628,"metaUid":"91d1-119"},"91d1-122":{"renderedLength":1153,"gzipLength":0,"brotliLength":469,"metaUid":"91d1-121"},"91d1-124":{"renderedLength":573,"gzipLength":0,"brotliLength":239,"metaUid":"91d1-123"},"91d1-126":{"renderedLength":1634,"gzipLength":0,"brotliLength":400,"metaUid":"91d1-125"},"91d1-128":{"renderedLength":1013,"gzipLength":0,"brotliLength":380,"metaUid":"91d1-127"},"91d1-130":{"renderedLength":1086,"gzipLength":0,"brotliLength":291,"metaUid":"91d1-129"},"91d1-132":{"renderedLength":463,"gzipLength":0,"brotliLength":217,"metaUid":"91d1-131"},"91d1-134":{"renderedLength":258,"gzipLength":0,"brotliLength":141,"metaUid":"91d1-133"},"91d1-136":{"renderedLength":990,"gzipLength":0,"brotliLength":352,"metaUid":"91d1-135"},"91d1-138":{"renderedLength":1356,"gzipLength":0,"brotliLength":377,"metaUid":"91d1-137"},"91d1-140":{"renderedLength":927,"gzipLength":0,"brotliLength":271,"metaUid":"91d1-139"},"91d1-142":{"renderedLength":367,"gzipLength":0,"brotliLength":172,"metaUid":"91d1-141"},"91d1-144":{"renderedLength":539,"gzipLength":0,"brotliLength":260,"metaUid":"91d1-143"},"91d1-146":{"renderedLength":993,"gzipLength":0,"brotliLength":392,"metaUid":"91d1-145"},"91d1-148":{"renderedLength":2586,"gzipLength":0,"brotliLength":552,"metaUid":"91d1-147"},"91d1-150":{"renderedLength":1265,"gzipLength":0,"brotliLength":413,"metaUid":"91d1-149"},"91d1-152":{"renderedLength":147,"gzipLength":0,"brotliLength":109,"metaUid":"91d1-151"},"91d1-154":{"renderedLength":141,"gzipLength":0,"brotliLength":121,"metaUid":"91d1-153"},"91d1-156":{"renderedLength":350,"gzipLength":0,"brotliLength":172,"metaUid":"91d1-155"},"91d1-158":{"renderedLength":1322,"gzipLength":0,"brotliLength":355,"metaUid":"91d1-157"},"91d1-160":{"renderedLength":321,"gzipLength":0,"brotliLength":167,"metaUid":"91d1-159"},"91d1-162":{"renderedLength":2247,"gzipLength":0,"brotliLength":571,"metaUid":"91d1-161"},"91d1-164":{"renderedLength":687,"gzipLength":0,"brotliLength":275,"metaUid":"91d1-163"},"91d1-166":{"renderedLength":87,"gzipLength":0,"brotliLength":71,"metaUid":"91d1-165"},"91d1-168":{"renderedLength":94,"gzipLength":0,"brotliLength":98,"metaUid":"91d1-167"},"91d1-170":{"renderedLength":371,"gzipLength":0,"brotliLength":167,"metaUid":"91d1-169"},"91d1-172":{"renderedLength":1870,"gzipLength":0,"brotliLength":639,"metaUid":"91d1-171"},"91d1-174":{"renderedLength":1347,"gzipLength":0,"brotliLength":379,"metaUid":"91d1-173"},"91d1-176":{"renderedLength":149,"gzipLength":0,"brotliLength":84,"metaUid":"91d1-175"},"91d1-178":{"renderedLength":358,"gzipLength":0,"brotliLength":201,"metaUid":"91d1-177"},"91d1-180":{"renderedLength":667,"gzipLength":0,"brotliLength":304,"metaUid":"91d1-179"},"91d1-182":{"renderedLength":1961,"gzipLength":0,"brotliLength":664,"metaUid":"91d1-181"},"91d1-184":{"renderedLength":1348,"gzipLength":0,"brotliLength":381,"metaUid":"91d1-183"},"91d1-186":{"renderedLength":139,"gzipLength":0,"brotliLength":87,"metaUid":"91d1-185"},"91d1-188":{"renderedLength":478,"gzipLength":0,"brotliLength":197,"metaUid":"91d1-187"}},"nodeMetas":{"91d1-105":{"id":"/src/lib/utils/getPathFromFilePath.ts","moduleParts":{"index.js":"91d1-106"},"imported":[],"importedBy":[{"uid":"91d1-109"}]},"91d1-107":{"id":"/src/lib/langchain/chains/summarize.ts","moduleParts":{"index.js":"91d1-108"},"imported":[{"uid":"91d1-209"}],"importedBy":[{"uid":"91d1-109"}]},"91d1-109":{"id":"/src/lib/parsers/default/utils/summarizeDiffs.ts","moduleParts":{"index.js":"91d1-110"},"imported":[{"uid":"91d1-203"},{"uid":"91d1-105"},{"uid":"91d1-107"}],"importedBy":[{"uid":"91d1-121"}]},"91d1-111":{"id":"/src/lib/parsers/default/utils/createDiffTree.ts","moduleParts":{"index.js":"91d1-112"},"imported":[],"importedBy":[{"uid":"91d1-121"}]},"91d1-113":{"id":"/src/lib/parsers/default/utils/collectDiffs.ts","moduleParts":{"index.js":"91d1-114"},"imported":[],"importedBy":[{"uid":"91d1-121"}]},"91d1-115":{"id":"/src/lib/langchain/utils.ts","moduleParts":{"index.js":"91d1-116"},"imported":[{"uid":"91d1-197"},{"uid":"91d1-196"},{"uid":"91d1-198"},{"uid":"91d1-199"},{"uid":"91d1-200"}],"importedBy":[{"uid":"91d1-171"},{"uid":"91d1-181"},{"uid":"91d1-121"},{"uid":"91d1-159"}]},"91d1-117":{"id":"/src/lib/langchain/prompts/summarize.ts","moduleParts":{"index.js":"91d1-118"},"imported":[{"uid":"91d1-196"}],"importedBy":[{"uid":"91d1-121"},{"uid":"91d1-145"}]},"91d1-119":{"id":"/src/lib/simple-git/getDiff.ts","moduleParts":{"index.js":"91d1-120"},"imported":[{"uid":"91d1-204"}],"importedBy":[{"uid":"91d1-121"}]},"91d1-121":{"id":"/src/lib/parsers/default/index.ts","moduleParts":{"index.js":"91d1-122"},"imported":[{"uid":"91d1-109"},{"uid":"91d1-111"},{"uid":"91d1-113"},{"uid":"91d1-115"},{"uid":"91d1-117"},{"uid":"91d1-119"}],"importedBy":[{"uid":"91d1-171"}]},"91d1-123":{"id":"/src/lib/utils/getTokenizer.ts","moduleParts":{"index.js":"91d1-124"},"imported":[{"uid":"91d1-191"}],"importedBy":[{"uid":"91d1-171"}]},"91d1-125":{"id":"/src/lib/utils/logger.ts","moduleParts":{"index.js":"91d1-126"},"imported":[{"uid":"91d1-192"},{"uid":"91d1-193"},{"uid":"91d1-194"},{"uid":"91d1-195"}],"importedBy":[{"uid":"91d1-171"},{"uid":"91d1-181"}]},"91d1-127":{"id":"/src/lib/langchain/prompts/commitDefault.ts","moduleParts":{"index.js":"91d1-128"},"imported":[{"uid":"91d1-196"}],"importedBy":[{"uid":"91d1-171"},{"uid":"91d1-159"}]},"91d1-129":{"id":"/src/lib/simple-git/getStatus.ts","moduleParts":{"index.js":"91d1-130"},"imported":[],"importedBy":[{"uid":"91d1-147"},{"uid":"91d1-131"}]},"91d1-131":{"id":"/src/lib/simple-git/getSummaryText.ts","moduleParts":{"index.js":"91d1-132"},"imported":[{"uid":"91d1-129"}],"importedBy":[{"uid":"91d1-147"}]},"91d1-133":{"id":"/src/lib/utils/removeUndefined.ts","moduleParts":{"index.js":"91d1-134"},"imported":[],"importedBy":[{"uid":"91d1-135"}]},"91d1-135":{"id":"/src/lib/config/services/env.ts","moduleParts":{"index.js":"91d1-136"},"imported":[{"uid":"91d1-133"}],"importedBy":[{"uid":"91d1-145"}]},"91d1-137":{"id":"/src/lib/config/services/git.ts","moduleParts":{"index.js":"91d1-138"},"imported":[{"uid":"91d1-205"},{"uid":"91d1-206"},{"uid":"91d1-201"},{"uid":"91d1-207"}],"importedBy":[{"uid":"91d1-145"}]},"91d1-139":{"id":"/src/lib/config/services/ignore.ts","moduleParts":{"index.js":"91d1-140"},"imported":[{"uid":"91d1-205"}],"importedBy":[{"uid":"91d1-145"}]},"91d1-141":{"id":"/src/lib/config/services/project.ts","moduleParts":{"index.js":"91d1-142"},"imported":[{"uid":"91d1-205"}],"importedBy":[{"uid":"91d1-145"}]},"91d1-143":{"id":"/src/lib/config/services/xdg.ts","moduleParts":{"index.js":"91d1-144"},"imported":[{"uid":"91d1-205"},{"uid":"91d1-201"},{"uid":"91d1-206"}],"importedBy":[{"uid":"91d1-145"}]},"91d1-145":{"id":"/src/lib/config/loadConfig.ts","moduleParts":{"index.js":"91d1-146"},"imported":[{"uid":"91d1-135"},{"uid":"91d1-137"},{"uid":"91d1-139"},{"uid":"91d1-141"},{"uid":"91d1-143"},{"uid":"91d1-117"}],"importedBy":[{"uid":"91d1-171"},{"uid":"91d1-181"},{"uid":"91d1-147"}]},"91d1-147":{"id":"/src/lib/simple-git/getChanges.ts","moduleParts":{"index.js":"91d1-148"},"imported":[{"uid":"91d1-201"},{"uid":"91d1-202"},{"uid":"91d1-129"},{"uid":"91d1-131"},{"uid":"91d1-145"}],"importedBy":[{"uid":"91d1-171"},{"uid":"91d1-149"}]},"91d1-149":{"id":"/src/lib/parsers/noResult.ts","moduleParts":{"index.js":"91d1-150"},"imported":[{"uid":"91d1-147"}],"importedBy":[{"uid":"91d1-171"},{"uid":"91d1-181"}]},"91d1-151":{"id":"/src/lib/ui/helpers.ts","moduleParts":{"index.js":"91d1-152"},"imported":[{"uid":"91d1-192"}],"importedBy":[{"uid":"91d1-171"},{"uid":"91d1-181"},{"uid":"91d1-153"}]},"91d1-153":{"id":"/src/lib/ui/logResult.ts","moduleParts":{"index.js":"91d1-154"},"imported":[{"uid":"91d1-192"},{"uid":"91d1-151"}],"importedBy":[{"uid":"91d1-161"}]},"91d1-155":{"id":"/src/lib/ui/editResult.ts","moduleParts":{"index.js":"91d1-156"},"imported":[{"uid":"91d1-208"}],"importedBy":[{"uid":"91d1-161"}]},"91d1-157":{"id":"/src/lib/ui/getUserReviewDecision.ts","moduleParts":{"index.js":"91d1-158"},"imported":[{"uid":"91d1-208"}],"importedBy":[{"uid":"91d1-161"}]},"91d1-159":{"id":"/src/lib/ui/editPrompt.ts","moduleParts":{"index.js":"91d1-160"},"imported":[{"uid":"91d1-208"},{"uid":"91d1-127"},{"uid":"91d1-115"}],"importedBy":[{"uid":"91d1-161"}]},"91d1-161":{"id":"/src/lib/ui/generateAndReviewLoop.ts","moduleParts":{"index.js":"91d1-162"},"imported":[{"uid":"91d1-153"},{"uid":"91d1-155"},{"uid":"91d1-157"},{"uid":"91d1-159"}],"importedBy":[{"uid":"91d1-171"},{"uid":"91d1-181"}]},"91d1-163":{"id":"/src/lib/langchain/executeChain.ts","moduleParts":{"index.js":"91d1-164"},"imported":[{"uid":"91d1-198"}],"importedBy":[{"uid":"91d1-171"},{"uid":"91d1-181"}]},"91d1-165":{"id":"/src/lib/simple-git/createCommit.ts","moduleParts":{"index.js":"91d1-166"},"imported":[],"importedBy":[{"uid":"91d1-169"}]},"91d1-167":{"id":"/src/lib/ui/logSuccess.ts","moduleParts":{"index.js":"91d1-168"},"imported":[{"uid":"91d1-192"}],"importedBy":[{"uid":"91d1-169"}]},"91d1-169":{"id":"/src/lib/ui/handleResult.ts","moduleParts":{"index.js":"91d1-170"},"imported":[{"uid":"91d1-165"},{"uid":"91d1-167"}],"importedBy":[{"uid":"91d1-171"},{"uid":"91d1-181"}]},"91d1-171":{"id":"/src/commands/commit/handler.ts","moduleParts":{"index.js":"91d1-172"},"imported":[{"uid":"91d1-121"},{"uid":"91d1-123"},{"uid":"91d1-125"},{"uid":"91d1-127"},{"uid":"91d1-115"},{"uid":"91d1-149"},{"uid":"91d1-147"},{"uid":"91d1-190"},{"uid":"91d1-145"},{"uid":"91d1-151"},{"uid":"91d1-161"},{"uid":"91d1-163"},{"uid":"91d1-169"}],"importedBy":[{"uid":"91d1-175"}]},"91d1-173":{"id":"/src/commands/commit/options.ts","moduleParts":{"index.js":"91d1-174"},"imported":[],"importedBy":[{"uid":"91d1-175"}]},"91d1-175":{"id":"/src/commands/commit/index.ts","moduleParts":{"index.js":"91d1-176"},"imported":[{"uid":"91d1-171"},{"uid":"91d1-173"}],"importedBy":[{"uid":"91d1-187"}]},"91d1-177":{"id":"/src/lib/langchain/prompts/changelog.ts","moduleParts":{"index.js":"91d1-178"},"imported":[{"uid":"91d1-196"}],"importedBy":[{"uid":"91d1-181"}]},"91d1-179":{"id":"/src/lib/simple-git/getCommitLogRange.ts","moduleParts":{"index.js":"91d1-180"},"imported":[],"importedBy":[{"uid":"91d1-181"}]},"91d1-181":{"id":"/src/commands/changelog/handler.ts","moduleParts":{"index.js":"91d1-182"},"imported":[{"uid":"91d1-125"},{"uid":"91d1-115"},{"uid":"91d1-190"},{"uid":"91d1-145"},{"uid":"91d1-151"},{"uid":"91d1-161"},{"uid":"91d1-163"},{"uid":"91d1-149"},{"uid":"91d1-169"},{"uid":"91d1-177"},{"uid":"91d1-179"}],"importedBy":[{"uid":"91d1-185"}]},"91d1-183":{"id":"/src/commands/changelog/options.ts","moduleParts":{"index.js":"91d1-184"},"imported":[],"importedBy":[{"uid":"91d1-185"}]},"91d1-185":{"id":"/src/commands/changelog/index.ts","moduleParts":{"index.js":"91d1-186"},"imported":[{"uid":"91d1-181"},{"uid":"91d1-183"}],"importedBy":[{"uid":"91d1-187"}]},"91d1-187":{"id":"/src/index.ts","moduleParts":{"index.js":"91d1-188"},"imported":[{"uid":"91d1-189"},{"uid":"91d1-175"},{"uid":"91d1-185"}],"importedBy":[],"isEntry":true},"91d1-189":{"id":"yargs","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-187"}],"isExternal":true},"91d1-190":{"id":"simple-git","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-171"},{"uid":"91d1-181"}],"isExternal":true},"91d1-191":{"id":"gpt3-tokenizer","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-123"}],"isExternal":true},"91d1-192":{"id":"chalk","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-125"},{"uid":"91d1-151"},{"uid":"91d1-153"},{"uid":"91d1-167"}],"isExternal":true},"91d1-193":{"id":"ora","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-125"}],"isExternal":true},"91d1-194":{"id":"performance-now","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-125"}],"isExternal":true},"91d1-195":{"id":"pretty-ms","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-125"}],"isExternal":true},"91d1-196":{"id":"langchain/prompts","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-127"},{"uid":"91d1-115"},{"uid":"91d1-177"},{"uid":"91d1-117"}],"isExternal":true},"91d1-197":{"id":"langchain/llms/hf","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-115"}],"isExternal":true},"91d1-198":{"id":"langchain/chains","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-115"},{"uid":"91d1-163"}],"isExternal":true},"91d1-199":{"id":"langchain/llms/openai","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-115"}],"isExternal":true},"91d1-200":{"id":"langchain/text_splitter","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-115"}],"isExternal":true},"91d1-201":{"id":"path","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-147"},{"uid":"91d1-137"},{"uid":"91d1-143"}],"isExternal":true},"91d1-202":{"id":"minimatch","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-147"}],"isExternal":true},"91d1-203":{"id":"p-queue","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-109"}],"isExternal":true},"91d1-204":{"id":"diff","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-119"}],"isExternal":true},"91d1-205":{"id":"fs","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-137"},{"uid":"91d1-139"},{"uid":"91d1-141"},{"uid":"91d1-143"}],"isExternal":true},"91d1-206":{"id":"os","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-137"},{"uid":"91d1-143"}],"isExternal":true},"91d1-207":{"id":"ini","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-137"}],"isExternal":true},"91d1-208":{"id":"@inquirer/prompts","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-155"},{"uid":"91d1-157"},{"uid":"91d1-159"}],"isExternal":true},"91d1-209":{"id":"langchain/document","moduleParts":{},"imported":[],"importedBy":[{"uid":"91d1-107"}],"isExternal":true}},"env":{"rollup":"3.26.3"},"options":{"gzip":false,"brotli":true,"sourcemap":false}};
5288
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src","children":[{"name":"lib","children":[{"name":"utils","children":[{"uid":"52f8-106","name":"getPathFromFilePath.ts"},{"uid":"52f8-124","name":"getTokenizer.ts"},{"uid":"52f8-126","name":"logger.ts"},{"uid":"52f8-134","name":"removeUndefined.ts"}]},{"name":"langchain","children":[{"name":"chains/summarize.ts","uid":"52f8-108"},{"uid":"52f8-116","name":"utils.ts"},{"name":"prompts","children":[{"uid":"52f8-118","name":"summarize.ts"},{"uid":"52f8-128","name":"commitDefault.ts"},{"uid":"52f8-178","name":"changelog.ts"}]},{"uid":"52f8-164","name":"executeChain.ts"}]},{"name":"parsers","children":[{"name":"default","children":[{"name":"utils","children":[{"uid":"52f8-110","name":"summarizeDiffs.ts"},{"uid":"52f8-112","name":"createDiffTree.ts"},{"uid":"52f8-114","name":"collectDiffs.ts"}]},{"uid":"52f8-122","name":"index.ts"}]},{"uid":"52f8-150","name":"noResult.ts"}]},{"name":"simple-git","children":[{"uid":"52f8-120","name":"getDiff.ts"},{"uid":"52f8-130","name":"getStatus.ts"},{"uid":"52f8-132","name":"getSummaryText.ts"},{"uid":"52f8-148","name":"getChanges.ts"},{"uid":"52f8-166","name":"createCommit.ts"},{"uid":"52f8-180","name":"getCommitLogRange.ts"}]},{"name":"config","children":[{"name":"services","children":[{"uid":"52f8-136","name":"env.ts"},{"uid":"52f8-138","name":"git.ts"},{"uid":"52f8-140","name":"ignore.ts"},{"uid":"52f8-142","name":"project.ts"},{"uid":"52f8-144","name":"xdg.ts"}]},{"uid":"52f8-146","name":"loadConfig.ts"}]},{"name":"ui","children":[{"uid":"52f8-152","name":"helpers.ts"},{"uid":"52f8-154","name":"logResult.ts"},{"uid":"52f8-156","name":"editResult.ts"},{"uid":"52f8-158","name":"getUserReviewDecision.ts"},{"uid":"52f8-160","name":"editPrompt.ts"},{"uid":"52f8-162","name":"generateAndReviewLoop.ts"},{"uid":"52f8-168","name":"logSuccess.ts"},{"uid":"52f8-170","name":"handleResult.ts"}]}]},{"name":"commands","children":[{"name":"commit","children":[{"uid":"52f8-172","name":"handler.ts"},{"uid":"52f8-174","name":"options.ts"},{"uid":"52f8-176","name":"index.ts"}]},{"name":"changelog","children":[{"uid":"52f8-182","name":"handler.ts"},{"uid":"52f8-184","name":"options.ts"},{"uid":"52f8-186","name":"index.ts"}]}]},{"uid":"52f8-188","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"52f8-106":{"renderedLength":256,"gzipLength":0,"brotliLength":151,"metaUid":"52f8-105"},"52f8-108":{"renderedLength":442,"gzipLength":0,"brotliLength":201,"metaUid":"52f8-107"},"52f8-110":{"renderedLength":3917,"gzipLength":0,"brotliLength":1170,"metaUid":"52f8-109"},"52f8-112":{"renderedLength":1861,"gzipLength":0,"brotliLength":515,"metaUid":"52f8-111"},"52f8-114":{"renderedLength":1186,"gzipLength":0,"brotliLength":416,"metaUid":"52f8-113"},"52f8-116":{"renderedLength":2445,"gzipLength":0,"brotliLength":706,"metaUid":"52f8-115"},"52f8-118":{"renderedLength":403,"gzipLength":0,"brotliLength":232,"metaUid":"52f8-117"},"52f8-120":{"renderedLength":2185,"gzipLength":0,"brotliLength":628,"metaUid":"52f8-119"},"52f8-122":{"renderedLength":1153,"gzipLength":0,"brotliLength":469,"metaUid":"52f8-121"},"52f8-124":{"renderedLength":573,"gzipLength":0,"brotliLength":239,"metaUid":"52f8-123"},"52f8-126":{"renderedLength":1634,"gzipLength":0,"brotliLength":400,"metaUid":"52f8-125"},"52f8-128":{"renderedLength":1013,"gzipLength":0,"brotliLength":380,"metaUid":"52f8-127"},"52f8-130":{"renderedLength":1086,"gzipLength":0,"brotliLength":291,"metaUid":"52f8-129"},"52f8-132":{"renderedLength":463,"gzipLength":0,"brotliLength":217,"metaUid":"52f8-131"},"52f8-134":{"renderedLength":258,"gzipLength":0,"brotliLength":141,"metaUid":"52f8-133"},"52f8-136":{"renderedLength":990,"gzipLength":0,"brotliLength":352,"metaUid":"52f8-135"},"52f8-138":{"renderedLength":1356,"gzipLength":0,"brotliLength":377,"metaUid":"52f8-137"},"52f8-140":{"renderedLength":927,"gzipLength":0,"brotliLength":271,"metaUid":"52f8-139"},"52f8-142":{"renderedLength":367,"gzipLength":0,"brotliLength":172,"metaUid":"52f8-141"},"52f8-144":{"renderedLength":539,"gzipLength":0,"brotliLength":260,"metaUid":"52f8-143"},"52f8-146":{"renderedLength":993,"gzipLength":0,"brotliLength":392,"metaUid":"52f8-145"},"52f8-148":{"renderedLength":2586,"gzipLength":0,"brotliLength":552,"metaUid":"52f8-147"},"52f8-150":{"renderedLength":1265,"gzipLength":0,"brotliLength":413,"metaUid":"52f8-149"},"52f8-152":{"renderedLength":147,"gzipLength":0,"brotliLength":109,"metaUid":"52f8-151"},"52f8-154":{"renderedLength":141,"gzipLength":0,"brotliLength":121,"metaUid":"52f8-153"},"52f8-156":{"renderedLength":350,"gzipLength":0,"brotliLength":172,"metaUid":"52f8-155"},"52f8-158":{"renderedLength":1322,"gzipLength":0,"brotliLength":355,"metaUid":"52f8-157"},"52f8-160":{"renderedLength":321,"gzipLength":0,"brotliLength":167,"metaUid":"52f8-159"},"52f8-162":{"renderedLength":2247,"gzipLength":0,"brotliLength":571,"metaUid":"52f8-161"},"52f8-164":{"renderedLength":687,"gzipLength":0,"brotliLength":275,"metaUid":"52f8-163"},"52f8-166":{"renderedLength":87,"gzipLength":0,"brotliLength":71,"metaUid":"52f8-165"},"52f8-168":{"renderedLength":94,"gzipLength":0,"brotliLength":98,"metaUid":"52f8-167"},"52f8-170":{"renderedLength":371,"gzipLength":0,"brotliLength":167,"metaUid":"52f8-169"},"52f8-172":{"renderedLength":1870,"gzipLength":0,"brotliLength":639,"metaUid":"52f8-171"},"52f8-174":{"renderedLength":1347,"gzipLength":0,"brotliLength":379,"metaUid":"52f8-173"},"52f8-176":{"renderedLength":149,"gzipLength":0,"brotliLength":84,"metaUid":"52f8-175"},"52f8-178":{"renderedLength":358,"gzipLength":0,"brotliLength":201,"metaUid":"52f8-177"},"52f8-180":{"renderedLength":667,"gzipLength":0,"brotliLength":304,"metaUid":"52f8-179"},"52f8-182":{"renderedLength":1961,"gzipLength":0,"brotliLength":664,"metaUid":"52f8-181"},"52f8-184":{"renderedLength":1348,"gzipLength":0,"brotliLength":381,"metaUid":"52f8-183"},"52f8-186":{"renderedLength":139,"gzipLength":0,"brotliLength":87,"metaUid":"52f8-185"},"52f8-188":{"renderedLength":478,"gzipLength":0,"brotliLength":197,"metaUid":"52f8-187"}},"nodeMetas":{"52f8-105":{"id":"/src/lib/utils/getPathFromFilePath.ts","moduleParts":{"index.js":"52f8-106"},"imported":[],"importedBy":[{"uid":"52f8-109"}]},"52f8-107":{"id":"/src/lib/langchain/chains/summarize.ts","moduleParts":{"index.js":"52f8-108"},"imported":[{"uid":"52f8-209"}],"importedBy":[{"uid":"52f8-109"}]},"52f8-109":{"id":"/src/lib/parsers/default/utils/summarizeDiffs.ts","moduleParts":{"index.js":"52f8-110"},"imported":[{"uid":"52f8-203"},{"uid":"52f8-105"},{"uid":"52f8-107"}],"importedBy":[{"uid":"52f8-121"}]},"52f8-111":{"id":"/src/lib/parsers/default/utils/createDiffTree.ts","moduleParts":{"index.js":"52f8-112"},"imported":[],"importedBy":[{"uid":"52f8-121"}]},"52f8-113":{"id":"/src/lib/parsers/default/utils/collectDiffs.ts","moduleParts":{"index.js":"52f8-114"},"imported":[],"importedBy":[{"uid":"52f8-121"}]},"52f8-115":{"id":"/src/lib/langchain/utils.ts","moduleParts":{"index.js":"52f8-116"},"imported":[{"uid":"52f8-197"},{"uid":"52f8-196"},{"uid":"52f8-198"},{"uid":"52f8-199"},{"uid":"52f8-200"}],"importedBy":[{"uid":"52f8-171"},{"uid":"52f8-181"},{"uid":"52f8-121"},{"uid":"52f8-159"}]},"52f8-117":{"id":"/src/lib/langchain/prompts/summarize.ts","moduleParts":{"index.js":"52f8-118"},"imported":[{"uid":"52f8-196"}],"importedBy":[{"uid":"52f8-121"},{"uid":"52f8-145"}]},"52f8-119":{"id":"/src/lib/simple-git/getDiff.ts","moduleParts":{"index.js":"52f8-120"},"imported":[{"uid":"52f8-204"}],"importedBy":[{"uid":"52f8-121"}]},"52f8-121":{"id":"/src/lib/parsers/default/index.ts","moduleParts":{"index.js":"52f8-122"},"imported":[{"uid":"52f8-109"},{"uid":"52f8-111"},{"uid":"52f8-113"},{"uid":"52f8-115"},{"uid":"52f8-117"},{"uid":"52f8-119"}],"importedBy":[{"uid":"52f8-171"}]},"52f8-123":{"id":"/src/lib/utils/getTokenizer.ts","moduleParts":{"index.js":"52f8-124"},"imported":[{"uid":"52f8-191"}],"importedBy":[{"uid":"52f8-171"}]},"52f8-125":{"id":"/src/lib/utils/logger.ts","moduleParts":{"index.js":"52f8-126"},"imported":[{"uid":"52f8-192"},{"uid":"52f8-193"},{"uid":"52f8-194"},{"uid":"52f8-195"}],"importedBy":[{"uid":"52f8-171"},{"uid":"52f8-181"}]},"52f8-127":{"id":"/src/lib/langchain/prompts/commitDefault.ts","moduleParts":{"index.js":"52f8-128"},"imported":[{"uid":"52f8-196"}],"importedBy":[{"uid":"52f8-171"},{"uid":"52f8-159"}]},"52f8-129":{"id":"/src/lib/simple-git/getStatus.ts","moduleParts":{"index.js":"52f8-130"},"imported":[],"importedBy":[{"uid":"52f8-147"},{"uid":"52f8-131"}]},"52f8-131":{"id":"/src/lib/simple-git/getSummaryText.ts","moduleParts":{"index.js":"52f8-132"},"imported":[{"uid":"52f8-129"}],"importedBy":[{"uid":"52f8-147"}]},"52f8-133":{"id":"/src/lib/utils/removeUndefined.ts","moduleParts":{"index.js":"52f8-134"},"imported":[],"importedBy":[{"uid":"52f8-135"}]},"52f8-135":{"id":"/src/lib/config/services/env.ts","moduleParts":{"index.js":"52f8-136"},"imported":[{"uid":"52f8-133"}],"importedBy":[{"uid":"52f8-145"}]},"52f8-137":{"id":"/src/lib/config/services/git.ts","moduleParts":{"index.js":"52f8-138"},"imported":[{"uid":"52f8-205"},{"uid":"52f8-206"},{"uid":"52f8-201"},{"uid":"52f8-207"}],"importedBy":[{"uid":"52f8-145"}]},"52f8-139":{"id":"/src/lib/config/services/ignore.ts","moduleParts":{"index.js":"52f8-140"},"imported":[{"uid":"52f8-205"}],"importedBy":[{"uid":"52f8-145"}]},"52f8-141":{"id":"/src/lib/config/services/project.ts","moduleParts":{"index.js":"52f8-142"},"imported":[{"uid":"52f8-205"}],"importedBy":[{"uid":"52f8-145"}]},"52f8-143":{"id":"/src/lib/config/services/xdg.ts","moduleParts":{"index.js":"52f8-144"},"imported":[{"uid":"52f8-205"},{"uid":"52f8-201"},{"uid":"52f8-206"}],"importedBy":[{"uid":"52f8-145"}]},"52f8-145":{"id":"/src/lib/config/loadConfig.ts","moduleParts":{"index.js":"52f8-146"},"imported":[{"uid":"52f8-135"},{"uid":"52f8-137"},{"uid":"52f8-139"},{"uid":"52f8-141"},{"uid":"52f8-143"},{"uid":"52f8-117"}],"importedBy":[{"uid":"52f8-171"},{"uid":"52f8-181"},{"uid":"52f8-147"}]},"52f8-147":{"id":"/src/lib/simple-git/getChanges.ts","moduleParts":{"index.js":"52f8-148"},"imported":[{"uid":"52f8-201"},{"uid":"52f8-202"},{"uid":"52f8-129"},{"uid":"52f8-131"},{"uid":"52f8-145"}],"importedBy":[{"uid":"52f8-171"},{"uid":"52f8-149"}]},"52f8-149":{"id":"/src/lib/parsers/noResult.ts","moduleParts":{"index.js":"52f8-150"},"imported":[{"uid":"52f8-147"}],"importedBy":[{"uid":"52f8-171"},{"uid":"52f8-181"}]},"52f8-151":{"id":"/src/lib/ui/helpers.ts","moduleParts":{"index.js":"52f8-152"},"imported":[{"uid":"52f8-192"}],"importedBy":[{"uid":"52f8-171"},{"uid":"52f8-181"},{"uid":"52f8-153"}]},"52f8-153":{"id":"/src/lib/ui/logResult.ts","moduleParts":{"index.js":"52f8-154"},"imported":[{"uid":"52f8-192"},{"uid":"52f8-151"}],"importedBy":[{"uid":"52f8-161"}]},"52f8-155":{"id":"/src/lib/ui/editResult.ts","moduleParts":{"index.js":"52f8-156"},"imported":[{"uid":"52f8-208"}],"importedBy":[{"uid":"52f8-161"}]},"52f8-157":{"id":"/src/lib/ui/getUserReviewDecision.ts","moduleParts":{"index.js":"52f8-158"},"imported":[{"uid":"52f8-208"}],"importedBy":[{"uid":"52f8-161"}]},"52f8-159":{"id":"/src/lib/ui/editPrompt.ts","moduleParts":{"index.js":"52f8-160"},"imported":[{"uid":"52f8-208"},{"uid":"52f8-127"},{"uid":"52f8-115"}],"importedBy":[{"uid":"52f8-161"}]},"52f8-161":{"id":"/src/lib/ui/generateAndReviewLoop.ts","moduleParts":{"index.js":"52f8-162"},"imported":[{"uid":"52f8-153"},{"uid":"52f8-155"},{"uid":"52f8-157"},{"uid":"52f8-159"}],"importedBy":[{"uid":"52f8-171"},{"uid":"52f8-181"}]},"52f8-163":{"id":"/src/lib/langchain/executeChain.ts","moduleParts":{"index.js":"52f8-164"},"imported":[{"uid":"52f8-198"}],"importedBy":[{"uid":"52f8-171"},{"uid":"52f8-181"}]},"52f8-165":{"id":"/src/lib/simple-git/createCommit.ts","moduleParts":{"index.js":"52f8-166"},"imported":[],"importedBy":[{"uid":"52f8-169"}]},"52f8-167":{"id":"/src/lib/ui/logSuccess.ts","moduleParts":{"index.js":"52f8-168"},"imported":[{"uid":"52f8-192"}],"importedBy":[{"uid":"52f8-169"}]},"52f8-169":{"id":"/src/lib/ui/handleResult.ts","moduleParts":{"index.js":"52f8-170"},"imported":[{"uid":"52f8-165"},{"uid":"52f8-167"}],"importedBy":[{"uid":"52f8-171"},{"uid":"52f8-181"}]},"52f8-171":{"id":"/src/commands/commit/handler.ts","moduleParts":{"index.js":"52f8-172"},"imported":[{"uid":"52f8-121"},{"uid":"52f8-123"},{"uid":"52f8-125"},{"uid":"52f8-127"},{"uid":"52f8-115"},{"uid":"52f8-149"},{"uid":"52f8-147"},{"uid":"52f8-190"},{"uid":"52f8-145"},{"uid":"52f8-151"},{"uid":"52f8-161"},{"uid":"52f8-163"},{"uid":"52f8-169"}],"importedBy":[{"uid":"52f8-175"}]},"52f8-173":{"id":"/src/commands/commit/options.ts","moduleParts":{"index.js":"52f8-174"},"imported":[],"importedBy":[{"uid":"52f8-175"}]},"52f8-175":{"id":"/src/commands/commit/index.ts","moduleParts":{"index.js":"52f8-176"},"imported":[{"uid":"52f8-171"},{"uid":"52f8-173"}],"importedBy":[{"uid":"52f8-187"}]},"52f8-177":{"id":"/src/lib/langchain/prompts/changelog.ts","moduleParts":{"index.js":"52f8-178"},"imported":[{"uid":"52f8-196"}],"importedBy":[{"uid":"52f8-181"}]},"52f8-179":{"id":"/src/lib/simple-git/getCommitLogRange.ts","moduleParts":{"index.js":"52f8-180"},"imported":[],"importedBy":[{"uid":"52f8-181"}]},"52f8-181":{"id":"/src/commands/changelog/handler.ts","moduleParts":{"index.js":"52f8-182"},"imported":[{"uid":"52f8-125"},{"uid":"52f8-115"},{"uid":"52f8-190"},{"uid":"52f8-145"},{"uid":"52f8-151"},{"uid":"52f8-161"},{"uid":"52f8-163"},{"uid":"52f8-149"},{"uid":"52f8-169"},{"uid":"52f8-177"},{"uid":"52f8-179"}],"importedBy":[{"uid":"52f8-185"}]},"52f8-183":{"id":"/src/commands/changelog/options.ts","moduleParts":{"index.js":"52f8-184"},"imported":[],"importedBy":[{"uid":"52f8-185"}]},"52f8-185":{"id":"/src/commands/changelog/index.ts","moduleParts":{"index.js":"52f8-186"},"imported":[{"uid":"52f8-181"},{"uid":"52f8-183"}],"importedBy":[{"uid":"52f8-187"}]},"52f8-187":{"id":"/src/index.ts","moduleParts":{"index.js":"52f8-188"},"imported":[{"uid":"52f8-189"},{"uid":"52f8-175"},{"uid":"52f8-185"}],"importedBy":[],"isEntry":true},"52f8-189":{"id":"yargs","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-187"}],"isExternal":true},"52f8-190":{"id":"simple-git","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-171"},{"uid":"52f8-181"}],"isExternal":true},"52f8-191":{"id":"gpt3-tokenizer","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-123"}],"isExternal":true},"52f8-192":{"id":"chalk","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-125"},{"uid":"52f8-151"},{"uid":"52f8-153"},{"uid":"52f8-167"}],"isExternal":true},"52f8-193":{"id":"ora","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-125"}],"isExternal":true},"52f8-194":{"id":"performance-now","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-125"}],"isExternal":true},"52f8-195":{"id":"pretty-ms","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-125"}],"isExternal":true},"52f8-196":{"id":"langchain/prompts","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-127"},{"uid":"52f8-115"},{"uid":"52f8-177"},{"uid":"52f8-117"}],"isExternal":true},"52f8-197":{"id":"langchain/llms/hf","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-115"}],"isExternal":true},"52f8-198":{"id":"langchain/chains","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-115"},{"uid":"52f8-163"}],"isExternal":true},"52f8-199":{"id":"langchain/llms/openai","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-115"}],"isExternal":true},"52f8-200":{"id":"langchain/text_splitter","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-115"}],"isExternal":true},"52f8-201":{"id":"path","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-147"},{"uid":"52f8-137"},{"uid":"52f8-143"}],"isExternal":true},"52f8-202":{"id":"minimatch","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-147"}],"isExternal":true},"52f8-203":{"id":"p-queue","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-109"}],"isExternal":true},"52f8-204":{"id":"diff","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-119"}],"isExternal":true},"52f8-205":{"id":"fs","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-137"},{"uid":"52f8-139"},{"uid":"52f8-141"},{"uid":"52f8-143"}],"isExternal":true},"52f8-206":{"id":"os","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-137"},{"uid":"52f8-143"}],"isExternal":true},"52f8-207":{"id":"ini","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-137"}],"isExternal":true},"52f8-208":{"id":"@inquirer/prompts","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-155"},{"uid":"52f8-157"},{"uid":"52f8-159"}],"isExternal":true},"52f8-209":{"id":"langchain/document","moduleParts":{},"imported":[],"importedBy":[{"uid":"52f8-107"}],"isExternal":true}},"env":{"rollup":"3.26.3"},"options":{"gzip":false,"brotli":true,"sourcemap":false}};
5289
5289
 
5290
5290
  const run = () => {
5291
5291
  const width = window.innerWidth;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-coco",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "zero-effort git commits with coco.",
5
5
  "author": "gfargo <ghfargo@gmail.com>",
6
6
  "license": "MIT",
@@ -79,7 +79,7 @@
79
79
  "ini": "^4.1.1",
80
80
  "langchain": "^0.0.170",
81
81
  "minimatch": "^9.0.3",
82
- "openai": "3.3.0",
82
+ "openai": "4.17.4",
83
83
  "ora": "5.4.1",
84
84
  "p-queue": "5.0.0",
85
85
  "performance-now": "2.1.0",