git-coco 0.14.6 → 0.14.7

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.
package/README.md CHANGED
@@ -1,12 +1,18 @@
1
- # `coco` 🤖 🦍
1
+ ![coco banner image](https://repository-images.githubusercontent.com/663130268/2fc2b7a1-2626-4f9a-9938-a5b410db1b0e)
2
2
 
3
+ # `coco`
4
+
5
+ [![NPM Version](https://img.shields.io/npm/v/git-coco.svg)](https://www.npmjs.com/package/git-coco)
6
+ [![Typescript Support](https://img.shields.io/npm/types/git-coco.svg)](https://www.npmjs.com/package/git-coco)
7
+ [![NPM Downloads](https://img.shields.io/npm/dt/git-coco.svg)](https://www.npmjs.com/package/git-coco)
3
8
  [![GitHub issues](https://img.shields.io/github/issues/gfargo/coco)](https://github.com/gfargo/coco/issues)
4
9
  [![GitHub pull requests](https://img.shields.io/github/issues-pr/gfargo/coco)](https://github.com/gfargo/coco/pulls)
5
10
  [![Last Commit](https://img.shields.io/github/last-commit/gfargo/coco)](https://github.com/gfargo/coco/tree/main)
6
- [![NPM Version](https://img.shields.io/npm/v/git-coco.svg)](https://www.npmjs.com/package/git-coco)
7
- [![NPM Downloads](https://img.shields.io/npm/dt/git-coco.svg)](https://www.npmjs.com/package/git-coco)
11
+ [![Discord](https://img.shields.io/discord/1176716060825767948)](https://discord.gg/KGu9nE9Ejx)
12
+
13
+ Spawned by the dream to automate away the tedium of writing commit messages, `coco` has grown into a multi-facetted git assistant to expedite any developer git workflow.
8
14
 
9
- `coco`, your AI-powered git assistant for the command line, is more than just a robotic scribe. Powered by [LangChain🦜🔗](https://js.langchain.com/) and available in both CommonJS and ESM, it generates commit messages, creates changelogs, summarizes code changes, performs code reviews, and more - with new features being added regularly!
15
+ Currently `coco` generates commit messages, creates changelogs, summarizes code changes, perform code review, and more - with new features being added regularly!
10
16
 
11
17
  ## Commands
12
18
 
@@ -130,3 +136,8 @@ We welcome contributions! Check out our [CONTRIBUTING.md](CONTRIBUTING.md) for m
130
136
  ## License
131
137
 
132
138
  MIT © [gfargo](https://github.com/gfargo/)
139
+
140
+ <div style="text-align:center; padding-top: 2rem;">
141
+ <img src="https://git-co.co/mascott/mascott_d.png" width="200px">
142
+ <p>Thanks for using <code>coco</code> ✨💜</p>
143
+ </div>
@@ -55,7 +55,7 @@ import * as readline from 'readline';
55
55
  /**
56
56
  * Current build version from package.json
57
57
  */
58
- const BUILD_VERSION = "0.14.6";
58
+ const BUILD_VERSION = "0.14.7";
59
59
 
60
60
  const isInteractive = (config) => {
61
61
  return config?.mode === 'interactive' || !!config?.interactive;
@@ -2364,7 +2364,7 @@ const handler$4 = async (argv, logger) => {
2364
2364
  variables: CHANGELOG_PROMPT.inputVariables,
2365
2365
  fallback: CHANGELOG_PROMPT,
2366
2366
  });
2367
- const formatInstructions = "Respond with a valid JSON object, containing two fields: 'title' a string, no more than 65 characters, and 'content' a string.";
2367
+ const formatInstructions = "Only respond with a valid JSON object, containing two fields: 'title' an escaped string, no more than 65 characters, and 'content' also an escaped string.";
2368
2368
  const changelog = await executeChain({
2369
2369
  llm,
2370
2370
  prompt,
package/dist/index.js CHANGED
@@ -77,7 +77,7 @@ var readline__namespace = /*#__PURE__*/_interopNamespaceDefault(readline$1);
77
77
  /**
78
78
  * Current build version from package.json
79
79
  */
80
- const BUILD_VERSION = "0.14.6";
80
+ const BUILD_VERSION = "0.14.7";
81
81
 
82
82
  const isInteractive = (config) => {
83
83
  return config?.mode === 'interactive' || !!config?.interactive;
@@ -2386,7 +2386,7 @@ const handler$4 = async (argv, logger) => {
2386
2386
  variables: CHANGELOG_PROMPT.inputVariables,
2387
2387
  fallback: CHANGELOG_PROMPT,
2388
2388
  });
2389
- const formatInstructions = "Respond with a valid JSON object, containing two fields: 'title' a string, no more than 65 characters, and 'content' a string.";
2389
+ const formatInstructions = "Only respond with a valid JSON object, containing two fields: 'title' an escaped string, no more than 65 characters, and 'content' also an escaped string.";
2390
2390
  const changelog = await executeChain({
2391
2391
  llm,
2392
2392
  prompt,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-coco",
3
- "version": "0.14.6",
3
+ "version": "0.14.7",
4
4
  "description": "zero-effort git commits with coco.",
5
5
  "author": "gfargo <ghfargo@gmail.com>",
6
6
  "license": "MIT",