zapdev 2.1.0 → 2.1.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.
package/README.md CHANGED
@@ -127,6 +127,7 @@ zapdev commit
127
127
  | `--effort <effort>` | Override the reasoning effort |
128
128
  | `-t, --type <type>` | Force an exact lowercase Conventional Commit type (`feat`, `fix`, `chore`, etc.) |
129
129
  | `-p, --push` | Skip push confirmation and push the current branch |
130
+ | `--no-push`, `--push=false` | Keep commits local without push confirmation |
130
131
  | `--pull` | Pull fast-forward updates only in repositories with changes to commit and an upstream remote |
131
132
  | `-s, --staged` | Commit only changes that are already staged |
132
133
  | `-y, --yes` | Skip commit review; still confirm push unless `--push` is set |
package/dist/cli.js CHANGED
@@ -1736,7 +1736,7 @@ function _getBuiltinFlags(long, short, userNames, userAliases) {
1736
1736
  // package.json
1737
1737
  var package_default = {
1738
1738
  name: "zapdev",
1739
- version: "2.1.0",
1739
+ version: "2.1.1",
1740
1740
  description: "Fast, performant and lightweight git chores and dev tools using your terminal and an OpenAI-compatible LLM endpoint.",
1741
1741
  type: "module",
1742
1742
  bin: {
@@ -2524,7 +2524,8 @@ var commitCommand = defineCommand({
2524
2524
  push: {
2525
2525
  type: "boolean",
2526
2526
  alias: "p",
2527
- description: "Skip push confirmation and push the current branch."
2527
+ description: "Skip push confirmation and push the current branch.",
2528
+ negativeDescription: "Keep commits local without push confirmation."
2528
2529
  },
2529
2530
  pull: {
2530
2531
  type: "boolean",
@@ -2649,7 +2650,7 @@ var commitCommand = defineCommand({
2649
2650
  toSend.push(draft);
2650
2651
  }
2651
2652
  if (toSend.length === 0) return;
2652
- if (!interactive && !args.push) return;
2653
+ if (args.push === false || !interactive && !args.push) return;
2653
2654
  const destinations = [];
2654
2655
  for (const { repo, label } of toSend) {
2655
2656
  const branch = await currentBranch(repo);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zapdev",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Fast, performant and lightweight git chores and dev tools using your terminal and an OpenAI-compatible LLM endpoint.",
5
5
  "type": "module",
6
6
  "bin": {