@kb-labs/commit-core 2.72.0 → 2.74.0

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.
@@ -1,5 +1,5 @@
1
1
  import { CommitPlan, ApplyResult, CommitGroup, PushResult } from '@kb-labs/commit-contracts';
2
- import { A as ApplyOptions, P as PushOptions } from '../types-CEjOl41u.js';
2
+ import { A as ApplyOptions, P as PushOptions } from '../types-CBjdZMSt.js';
3
3
 
4
4
  /**
5
5
  * Commit plan applier
@@ -1,7 +1,7 @@
1
- export { S as SYSTEM_PROMPT, c as SYSTEM_PROMPT_WITH_DIFF, b as buildPrompt, d as buildPromptWithDiff, g as generateCommitPlan, a as generateHeuristicPlan, p as parseResponse } from '../heuristics-C9M8f0KK.js';
1
+ export { S as SYSTEM_PROMPT, c as SYSTEM_PROMPT_WITH_DIFF, b as buildPrompt, d as buildPromptWithDiff, g as generateCommitPlan, a as generateHeuristicPlan, p as parseResponse } from '../heuristics-AM06lXSo.js';
2
2
  import { LLMTool } from '@kb-labs/sdk';
3
3
  import '@kb-labs/commit-contracts';
4
- import '../types-CEjOl41u.js';
4
+ import '../types-CBjdZMSt.js';
5
5
 
6
6
  /**
7
7
  * Tool definitions for native LLM tool calling
@@ -1991,11 +1991,14 @@ async function generateCommitPlan(options) {
1991
1991
  );
1992
1992
  }
1993
1993
  console.log("\n\u26A0\uFE0F WARNING: --allow-secrets flag detected\n");
1994
+ options.onPauseProgress?.();
1994
1995
  const confirmed = await promptUserConfirmation(
1995
1996
  `\u26A0\uFE0F Proceed with committing ${secretFiles.length} file(s) that may contain secrets?`,
1996
- false
1997
+ false,
1997
1998
  // default: NO
1999
+ options.autoConfirm
1998
2000
  );
2001
+ options.onResumeProgress?.();
1999
2002
  if (!confirmed) {
2000
2003
  throw new SecretsDetectedError(
2001
2004
  basicMatches,
@@ -2112,6 +2115,7 @@ async function generateCommitPlan(options) {
2112
2115
  );
2113
2116
  }
2114
2117
  console.log("\n\u26A0\uFE0F WARNING: --allow-secrets flag detected\n");
2118
+ options.onPauseProgress?.();
2115
2119
  const confirmed = await promptUserConfirmation(
2116
2120
  `\u26A0\uFE0F Proceed with committing changes that contain ${secretMatches.length} potential secret(s)?`,
2117
2121
  false,
@@ -2119,6 +2123,7 @@ async function generateCommitPlan(options) {
2119
2123
  options.autoConfirm
2120
2124
  // auto-confirm if --yes flag
2121
2125
  );
2126
+ options.onResumeProgress?.();
2122
2127
  if (!confirmed) {
2123
2128
  throw new SecretsDetectedError(
2124
2129
  secretMatches,