@oomfware/cgr 0.2.0 → 0.2.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/dist/index.mjs CHANGED
@@ -387,7 +387,7 @@ const schema$1 = object({
387
387
  "sonnet",
388
388
  "haiku"
389
389
  ]), { description: message`model to use for analysis` }), "haiku"),
390
- deep: flag("-d", "--deep", { description: message`clone full history (enables git log/blame/show)` }),
390
+ deep: withDefault(flag("-d", "--deep", { description: message`clone full history (enables git log/blame/show)` }), false),
391
391
  with: withDefault(multiple(option("-w", "--with", string(), { description: message`additional repository to include` })), []),
392
392
  remote: argument(string({ metavar: "REPO" }), { description: message`git remote URL (http/https/ssh), optionally with #branch` }),
393
393
  question: argument(string({ metavar: "QUESTION" }), { description: message`question to ask about the repository` })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oomfware/cgr",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "ask questions about git repositories using Claude Code",
5
5
  "license": "0BSD",
6
6
  "repository": {
@@ -39,9 +39,12 @@ export const schema = object({
39
39
  }),
40
40
  'haiku',
41
41
  ),
42
- deep: flag('-d', '--deep', {
43
- description: message`clone full history (enables git log/blame/show)`,
44
- }),
42
+ deep: withDefault(
43
+ flag('-d', '--deep', {
44
+ description: message`clone full history (enables git log/blame/show)`,
45
+ }),
46
+ false,
47
+ ),
45
48
  with: withDefault(
46
49
  multiple(
47
50
  option('-w', '--with', string(), {