gityo 1.0.14 → 1.0.15

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/dist/commit.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { b as Command, c as PROJECT_CONFIG_FILE_NAME, n as mainController, s as GLOBAL_CONFIG_FILE_PATH, t as handleError, y as version } from "./handle-error-StFXoIYk.js";
2
+ import { b as Command, c as PROJECT_CONFIG_FILE_NAME, n as mainController, s as GLOBAL_CONFIG_FILE_PATH, t as handleError, y as version } from "./handle-error-BfzsPJhM.js";
3
3
  import "./defineProperty-DZ5JLFN4.js";
4
4
  import "./token-util-CV7QlXpE.js";
5
5
  import path from "node:path";
@@ -1708,7 +1708,7 @@ function useColor() {
1708
1708
  if (process$1.env.FORCE_COLOR || process$1.env.CLICOLOR_FORCE !== void 0) return true;
1709
1709
  }
1710
1710
  new Command$1();
1711
- var version$4 = "1.0.14";
1711
+ var version$4 = "1.0.15";
1712
1712
  const keybindingLookup = new Set(["emacs", "vim"]);
1713
1713
  function isKeybinding(value) {
1714
1714
  return keybindingLookup.has(value);
@@ -228934,7 +228934,6 @@ async function mainController(options = {}) {
228934
228934
  console.log("");
228935
228935
  }
228936
228936
  if (finalCommitMessage.length === 0) while (true) {
228937
- if (forceLLMGenerate) console.log(source_default.yellow("• Using LLM to generate message"));
228938
228937
  finalCommitMessage = (await runWithLoading("Generating commit message", () => generateMessage({
228939
228938
  git,
228940
228939
  languageModel,
@@ -1,4 +1,4 @@
1
- import { _ as source_default, d as resolveModelConfig, f as generateText, g as getGit, h as getChangedFiles, i as acceptGenerated, l as loadConfig, m as estimateTokens, n as mainController, o as selectionTheme, p as DEFAULT_MAX_DIFF_TOKENS, r as runWithLoading, u as resolveLanguageModel, v as dist_default } from "./handle-error-StFXoIYk.js";
1
+ import { _ as source_default, d as resolveModelConfig, f as generateText, g as getGit, h as getChangedFiles, i as acceptGenerated, l as loadConfig, m as estimateTokens, n as mainController, o as selectionTheme, p as DEFAULT_MAX_DIFF_TOKENS, r as runWithLoading, u as resolveLanguageModel, v as dist_default } from "./handle-error-BfzsPJhM.js";
2
2
  import { n as init_defineProperty, t as _defineProperty } from "./defineProperty-DZ5JLFN4.js";
3
3
  import { spawn } from "node:child_process";
4
4
  import path from "node:path";
@@ -7162,7 +7162,6 @@ async function createPullRequest$1(options) {
7162
7162
  const context = buildCompareContext(compare, maxDiffTokens);
7163
7163
  let draft = "";
7164
7164
  while (true) {
7165
- if (options.autoAccept) console.log(source_default.yellow("• Using LLM to generate pull request"));
7166
7165
  draft = await runWithLoading("Generating pull request title and body", () => generatePullRequest({
7167
7166
  languageModel: options.languageModel,
7168
7167
  systemPrompt: options.systemPrompt,
package/dist/pr-create.js CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { b as Command, t as handleError, y as version } from "./handle-error-StFXoIYk.js";
2
+ import { b as Command, t as handleError, y as version } from "./handle-error-BfzsPJhM.js";
3
3
  import "./defineProperty-DZ5JLFN4.js";
4
4
  import "./token-util-CV7QlXpE.js";
5
- import { a as buildPullRequestSystemPrompt, c as openPullRequest, i as resolvePrBranches, n as createPullRequest, o as findPullRequest, r as loadPullRequestContext, t as handleUncommittedChanges } from "./local-changes-OT-d1ivE.js";
5
+ import { a as buildPullRequestSystemPrompt, c as openPullRequest, i as resolvePrBranches, n as createPullRequest, o as findPullRequest, r as loadPullRequestContext, t as handleUncommittedChanges } from "./local-changes-DaP0s52z.js";
6
6
  async function createPullRequestController(baseArg, headArg, options = {}) {
7
7
  const context = await loadPullRequestContext({
8
8
  modelKey: options.model,
package/dist/pr-merge.js CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { _ as source_default, a as mergeTheme, b as Command, t as handleError, v as dist_default, y as version } from "./handle-error-StFXoIYk.js";
2
+ import { _ as source_default, a as mergeTheme, b as Command, t as handleError, v as dist_default, y as version } from "./handle-error-BfzsPJhM.js";
3
3
  import "./defineProperty-DZ5JLFN4.js";
4
4
  import "./token-util-CV7QlXpE.js";
5
- import { a as buildPullRequestSystemPrompt, i as resolvePrBranches, n as createPullRequest, o as findPullRequest, r as loadPullRequestContext, s as mergePullRequest, t as handleUncommittedChanges } from "./local-changes-OT-d1ivE.js";
5
+ import { a as buildPullRequestSystemPrompt, i as resolvePrBranches, n as createPullRequest, o as findPullRequest, r as loadPullRequestContext, s as mergePullRequest, t as handleUncommittedChanges } from "./local-changes-DaP0s52z.js";
6
6
  async function mergePullRequestController(baseArg, headArg, options = {}) {
7
7
  const context = await loadPullRequestContext({
8
8
  modelKey: options.model,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gityo",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/NazmusSayad/gityo.git"