cloving 0.3.17 → 0.3.19

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 (102) hide show
  1. package/.DS_Store +0 -0
  2. package/.aider.chat.history.md +16978 -0
  3. package/.aider.input.history +15 -0
  4. package/.aider.tags.cache.v3/cache.db +0 -0
  5. package/.aider.tags.cache.v3/cache.db-shm +0 -0
  6. package/.aider.tags.cache.v3/cache.db-wal +0 -0
  7. package/.cursorrules +77 -0
  8. package/.github/workflows/auto-release.yml +83 -0
  9. package/.github/workflows/ci.yml +32 -0
  10. package/.github/workflows/npm-publish.yml +34 -0
  11. package/.gitignore +67 -0
  12. package/.husky/_/.gitignore +1 -0
  13. package/.husky/_/applypatch-msg +2 -0
  14. package/.husky/_/commit-msg +2 -0
  15. package/.husky/_/h +22 -0
  16. package/.husky/_/husky.sh +9 -0
  17. package/.husky/_/post-applypatch +2 -0
  18. package/.husky/_/post-checkout +2 -0
  19. package/.husky/_/post-commit +2 -0
  20. package/.husky/_/post-merge +2 -0
  21. package/.husky/_/post-rewrite +2 -0
  22. package/.husky/_/pre-applypatch +2 -0
  23. package/.husky/_/pre-auto-gc +2 -0
  24. package/.husky/_/pre-commit +2 -0
  25. package/.husky/_/pre-merge-commit +2 -0
  26. package/.husky/_/pre-push +2 -0
  27. package/.husky/_/pre-rebase +2 -0
  28. package/.husky/_/prepare-commit-msg +2 -0
  29. package/.husky/pre-commit +1 -0
  30. package/.husky/pre-push +1 -0
  31. package/.prettierrc.json +7 -0
  32. package/.tool-versions +2 -0
  33. package/SECURITY.md +15 -0
  34. package/cloving.json +67 -0
  35. package/dist/cloving_gpt/adapters/openai.js +2 -0
  36. package/dist/commands/generate/context.js +1 -1
  37. package/dist/commands/tokens.js +1 -1
  38. package/dist/managers/CommitManager.js +8 -2
  39. package/dist/managers/ProxyManager.js +9 -2
  40. package/dist/managers/StreamManager.js +1 -1
  41. package/dist/package.json +26 -26
  42. package/dist/utils/config_utils.js +21 -4
  43. package/dist/utils/git_utils.js +109 -7
  44. package/dist/utils/prompt_utils.js +3 -3
  45. package/jest.config.js +11 -0
  46. package/package.json +23 -23
  47. package/src/cloving_gpt/adapters/azureopenai.ts +83 -0
  48. package/src/cloving_gpt/adapters/claude.ts +140 -0
  49. package/src/cloving_gpt/adapters/gemini.ts +146 -0
  50. package/src/cloving_gpt/adapters/index.ts +43 -0
  51. package/src/cloving_gpt/adapters/mistral.ts +142 -0
  52. package/src/cloving_gpt/adapters/ollama.ts +136 -0
  53. package/src/cloving_gpt/adapters/openai.ts +113 -0
  54. package/src/cloving_gpt/index.ts +229 -0
  55. package/src/commands/chat.ts +12 -0
  56. package/src/commands/config.ts +192 -0
  57. package/src/commands/generate/code.ts +18 -0
  58. package/src/commands/generate/commit.ts +9 -0
  59. package/src/commands/generate/context.ts +93 -0
  60. package/src/commands/generate/docs.ts +9 -0
  61. package/src/commands/generate/review.ts +9 -0
  62. package/src/commands/generate/shell.ts +9 -0
  63. package/src/commands/generate/unit_tests.ts +9 -0
  64. package/src/commands/init.ts +9 -0
  65. package/src/commands/models.ts +21 -0
  66. package/src/commands/proxy.ts +9 -0
  67. package/src/commands/tokens.ts +82 -0
  68. package/src/index.ts +197 -0
  69. package/src/managers/BlockManager.ts +126 -0
  70. package/src/managers/ChatManager.ts +755 -0
  71. package/src/managers/ChunkManager.ts +31 -0
  72. package/src/managers/CodeManager.ts +226 -0
  73. package/src/managers/CommitManager.ts +71 -0
  74. package/src/managers/DocsManager.ts +101 -0
  75. package/src/managers/InitManager.ts +263 -0
  76. package/src/managers/ProxyManager.ts +240 -0
  77. package/src/managers/ReviewManager.ts +154 -0
  78. package/src/managers/ShellManager.ts +172 -0
  79. package/src/managers/StreamManager.ts +353 -0
  80. package/src/managers/UnitTestManager.ts +293 -0
  81. package/src/utils/config_utils.ts +271 -0
  82. package/src/utils/git_utils.ts +230 -0
  83. package/src/utils/model_utils.ts +3 -0
  84. package/src/utils/prompt_utils.ts +375 -0
  85. package/src/utils/prompts/CODEGEN_COULDNT_APPLY.md +5 -0
  86. package/src/utils/prompts/CODEGEN_EXAMPLES.md +82 -0
  87. package/src/utils/prompts/CODEGEN_INSTRUCTIONS.md +43 -0
  88. package/src/utils/prompts/DOCS_INSTRUCTIONS.md +9 -0
  89. package/src/utils/prompts/INIT_INSTRUCTIONS.md +132 -0
  90. package/src/utils/prompts/REVIEW_INSTRUCTIONS.md +49 -0
  91. package/src/utils/prompts/SHELL_INSTRUCTIONS.md +15 -0
  92. package/src/utils/prompts/SPECIAL_FILES.md +66 -0
  93. package/src/utils/prompts/index.ts +37 -0
  94. package/src/utils/string_utils.ts +552 -0
  95. package/src/utils/types.ts +127 -0
  96. package/tests/commands/generate/unit_tests.test.ts +27 -0
  97. package/tests/utils/git_utils.test.ts +116 -0
  98. package/tests/utils/model_utils.test.ts +27 -0
  99. package/tests/utils/prompt_utils.test.ts +33 -0
  100. package/tests/utils/string_utils.test.ts +560 -0
  101. package/tsconfig.json +14 -0
  102. package/yarn.lock +5823 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.