@eldrforge/kodrdriv 1.2.2 → 1.2.3
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/application.js +7 -19
- package/dist/application.js.map +1 -1
- package/dist/arguments.js +292 -94
- package/dist/arguments.js.map +1 -1
- package/dist/commands/clean.js +1 -1
- package/dist/commands/clean.js.map +1 -1
- package/dist/commands/commit.js +43 -8
- package/dist/commands/commit.js.map +1 -1
- package/dist/commands/link.js +200 -11
- package/dist/commands/link.js.map +1 -1
- package/dist/commands/review.js +2 -2
- package/dist/commands/review.js.map +1 -1
- package/dist/commands/tree.js +111 -250
- package/dist/commands/tree.js.map +1 -1
- package/dist/commands/unlink.js +238 -10
- package/dist/commands/unlink.js.map +1 -1
- package/dist/constants.js +8 -6
- package/dist/constants.js.map +1 -1
- package/dist/error/CommandErrors.js +8 -1
- package/dist/error/CommandErrors.js.map +1 -1
- package/package.json +1 -1
- package/test-external-unlink/package.json +16 -0
- package/test-externals/package.json +8 -0
- package/test_output.txt +161 -0
- package/dist/types.js +0 -180
- package/dist/types.js.map +0 -1
|
@@ -15,8 +15,15 @@
|
|
|
15
15
|
}
|
|
16
16
|
class CommandError extends Error {
|
|
17
17
|
constructor(message, code, recoverable = false, cause){
|
|
18
|
-
super(message), _define_property(this, "code", void 0), _define_property(this, "recoverable", void 0), _define_property(this, "
|
|
18
|
+
super(message), _define_property(this, "code", void 0), _define_property(this, "recoverable", void 0), _define_property(this, "originalCause", void 0);
|
|
19
19
|
this.name = 'CommandError';
|
|
20
|
+
this.code = code;
|
|
21
|
+
this.recoverable = recoverable;
|
|
22
|
+
this.originalCause = cause;
|
|
23
|
+
// Also set the standard cause property for compatibility
|
|
24
|
+
if (cause) {
|
|
25
|
+
this.cause = cause;
|
|
26
|
+
}
|
|
20
27
|
}
|
|
21
28
|
}
|
|
22
29
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandErrors.js","sources":["../../src/error/CommandErrors.ts"],"sourcesContent":["/**\n * Base class for all command-related errors\n */\nexport class CommandError extends Error {\n constructor(\n message: string,\n public readonly code: string,\n public readonly recoverable: boolean = false,\n public readonly cause?: Error\n ) {\n super(message);\n this.name = 'CommandError';\n }\n}\n\n/**\n * Configuration-related errors (missing config, invalid settings, etc.)\n */\nexport class ConfigurationError extends CommandError {\n constructor(message: string, cause?: Error) {\n super(message, 'CONFIG_ERROR', false, cause);\n this.name = 'ConfigurationError';\n }\n}\n\n/**\n * Validation errors (invalid arguments, missing required data, etc.)\n */\nexport class ValidationError extends CommandError {\n constructor(message: string, cause?: Error) {\n super(message, 'VALIDATION_ERROR', false, cause);\n this.name = 'ValidationError';\n }\n}\n\n/**\n * User cancellation errors (user cancelled operation)\n */\nexport class UserCancellationError extends CommandError {\n constructor(message: string = 'Operation cancelled by user') {\n super(message, 'USER_CANCELLED', true);\n this.name = 'UserCancellationError';\n }\n}\n\n/**\n * External dependency errors (Git, NPM, file system, etc.)\n */\nexport class ExternalDependencyError extends CommandError {\n constructor(message: string, dependency: string, cause?: Error) {\n super(`${dependency}: ${message}`, 'EXTERNAL_DEPENDENCY_ERROR', false, cause);\n this.name = 'ExternalDependencyError';\n }\n}\n\n/**\n * File operation errors (read, write, permissions, etc.)\n */\nexport class FileOperationError extends CommandError {\n constructor(message: string, filePath: string, cause?: Error) {\n super(`File operation failed on ${filePath}: ${message}`, 'FILE_OPERATION_ERROR', false, cause);\n this.name = 'FileOperationError';\n }\n}\n\n/**\n * Pull request check failures with detailed information\n */\nexport class PullRequestCheckError extends CommandError {\n constructor(\n message: string,\n public readonly prNumber: number,\n public readonly failedChecks: Array<{\n name: string;\n conclusion: string;\n detailsUrl?: string;\n summary?: string;\n output?: {\n title?: string;\n summary?: string;\n text?: string;\n };\n }>,\n public readonly prUrl: string,\n public readonly currentBranch?: string\n ) {\n super(message, 'PR_CHECK_FAILED', true);\n this.name = 'PullRequestCheckError';\n }\n\n /**\n * Get specific instructions based on the type of failures\n */\n getRecoveryInstructions(): string[] {\n const instructions: string[] = [];\n const branchName = this.currentBranch || 'your current branch';\n\n // Analyze failure types for specific guidance\n const testFailures = this.failedChecks.filter(check =>\n check.name.toLowerCase().includes('test') ||\n check.name.toLowerCase().includes('ci') ||\n check.output?.title?.toLowerCase().includes('test')\n );\n\n const lintFailures = this.failedChecks.filter(check =>\n check.name.toLowerCase().includes('lint') ||\n check.name.toLowerCase().includes('style') ||\n check.output?.title?.toLowerCase().includes('lint')\n );\n\n const buildFailures = this.failedChecks.filter(check =>\n check.name.toLowerCase().includes('build') ||\n check.name.toLowerCase().includes('compile') ||\n check.output?.title?.toLowerCase().includes('build')\n );\n\n instructions.push('🔧 To fix these failures:');\n instructions.push('');\n\n // Specific instructions based on failure types\n if (testFailures.length > 0) {\n instructions.push('📋 Test Failures:');\n instructions.push(' • Run tests locally: `npm test` or `yarn test`');\n instructions.push(' • Fix failing tests or update test expectations');\n instructions.push(' • Consider running specific test files if identified in the failure details');\n instructions.push('');\n }\n\n if (lintFailures.length > 0) {\n instructions.push('🎨 Linting/Style Failures:');\n instructions.push(' • Run linter locally: `npm run lint` or `yarn lint`');\n instructions.push(' • Auto-fix where possible: `npm run lint:fix` or `yarn lint:fix`');\n instructions.push(' • Check code formatting: `npm run format` or `yarn format`');\n instructions.push('');\n }\n\n if (buildFailures.length > 0) {\n instructions.push('🏗️ Build Failures:');\n instructions.push(' • Run build locally: `npm run build` or `yarn build`');\n instructions.push(' • Check for TypeScript errors: `npx tsc --noEmit`');\n instructions.push(' • Review dependency issues and import paths');\n instructions.push('');\n }\n\n // General workflow instructions\n instructions.push('📤 After fixing the issues:');\n instructions.push(` 1. Stage your changes: \\`git add .\\``);\n instructions.push(` 2. Commit your fixes: \\`git commit -m \"fix: resolve PR check failures\"\\``);\n instructions.push(` 3. Push to ${branchName}: \\`git push origin ${branchName}\\``);\n instructions.push(` 4. The PR checks will automatically re-run`);\n instructions.push('');\n\n instructions.push('🔄 Re-running this command:');\n instructions.push(' • The kodrdriv publish command will automatically detect the existing PR');\n instructions.push(' • Simply run the same command again after pushing your fixes');\n instructions.push(' • You can also manually trigger checks by pushing an empty commit:');\n instructions.push(` \\`git commit --allow-empty -m \"trigger checks\" && git push origin ${branchName}\\``);\n\n return instructions;\n }\n}\n"],"names":["CommandError","Error","message","code","recoverable","cause","name","ValidationError","UserCancellationError","ExternalDependencyError","dependency","FileOperationError","filePath","PullRequestCheckError","getRecoveryInstructions","instructions","branchName","currentBranch","testFailures","failedChecks","filter","check","toLowerCase","includes","output","title","lintFailures","buildFailures","push","length","prNumber","prUrl"],"mappings":"AAAA;;AAEC,IAAA,SAAA,gBAAA,CAAA,GAAA,EAAA,GAAA,EAAA,KAAA,EAAA;;;;;;;;;;;;;AACM,MAAMA,YAAAA,SAAqBC,KAAAA,CAAAA;IAC9B,WAAA,CACIC,OAAe,EACCC,IAAY,EAC5B,WAAgBC,GAAuB,KAAK,EAC5C,KAA6B,CAC/B;AACE,QAAA,KAAK,CAACF,OAAAA,CAAAA,EAAAA,gBAAAA,CAAAA,IAAAA,EAAAA,MAAAA,EAAAA,MAAAA,CAAAA,EAAAA,gBAAAA,CAAAA,IAAAA,EAAAA,aAAAA,EAAAA,MAAAA,CAAAA,EAAAA,gBAAAA,CAAAA,IAAAA,EAAAA,OAAAA,EAAAA,MAAAA,CAAAA,EAAAA,IAAAA,CAJUC,IAAAA,GAAAA,IAAAA,EAAAA,IAAAA,CACAC,WAAAA,GAAAA,kBACAC,KAAAA,GAAAA,KAAAA;QAGhB,IAAI,CAACC,IAAI,GAAG,cAAA;AAChB,IAAA;AACJ;AAYA;;IAGO,MAAMC,eAAAA,SAAwBP,YAAAA,CAAAA;IACjC,WAAA,CAAYE,OAAe,EAAEG,KAAa,CAAE;QACxC,KAAK,CAACH,OAAAA,EAAS,kBAAA,EAAoB,KAAA,EAAOG,KAAAA,CAAAA;QAC1C,IAAI,CAACC,IAAI,GAAG,iBAAA;AAChB,IAAA;AACJ;AAEA;;IAGO,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AAA,eAAA,EAAA,MAAA,CAAA,EAAA,IAAA,CAflB4B,QAAAA,GAAAA,eACAX,YAAAA,GAAAA,YAAAA,EAAAA,IAAAA,CAWAY,KAAAA,GAAAA,KAAAA,EAAAA,IAAAA,CACAd,aAAAA,GAAAA,aAAAA;QAGhB,IAAI,CAACX,IAAI,GAAG,uBAAA;AAChB,IAAA;AAwEJ;;;;"}
|
|
1
|
+
{"version":3,"file":"CommandErrors.js","sources":["../../src/error/CommandErrors.ts"],"sourcesContent":["/**\n * Base class for all command-related errors\n */\nexport class CommandError extends Error {\n public readonly code: string;\n public readonly recoverable: boolean;\n public readonly originalCause?: Error;\n\n constructor(\n message: string,\n code: string,\n recoverable: boolean = false,\n cause?: Error\n ) {\n super(message);\n this.name = 'CommandError';\n this.code = code;\n this.recoverable = recoverable;\n this.originalCause = cause;\n // Also set the standard cause property for compatibility\n if (cause) {\n (this as any).cause = cause;\n }\n }\n}\n\n/**\n * Configuration-related errors (missing config, invalid settings, etc.)\n */\nexport class ConfigurationError extends CommandError {\n constructor(message: string, cause?: Error) {\n super(message, 'CONFIG_ERROR', false, cause);\n this.name = 'ConfigurationError';\n }\n}\n\n/**\n * Validation errors (invalid arguments, missing required data, etc.)\n */\nexport class ValidationError extends CommandError {\n constructor(message: string, cause?: Error) {\n super(message, 'VALIDATION_ERROR', false, cause);\n this.name = 'ValidationError';\n }\n}\n\n/**\n * User cancellation errors (user cancelled operation)\n */\nexport class UserCancellationError extends CommandError {\n constructor(message: string = 'Operation cancelled by user') {\n super(message, 'USER_CANCELLED', true);\n this.name = 'UserCancellationError';\n }\n}\n\n/**\n * External dependency errors (Git, NPM, file system, etc.)\n */\nexport class ExternalDependencyError extends CommandError {\n constructor(message: string, dependency: string, cause?: Error) {\n super(`${dependency}: ${message}`, 'EXTERNAL_DEPENDENCY_ERROR', false, cause);\n this.name = 'ExternalDependencyError';\n }\n}\n\n/**\n * File operation errors (read, write, permissions, etc.)\n */\nexport class FileOperationError extends CommandError {\n constructor(message: string, filePath: string, cause?: Error) {\n super(`File operation failed on ${filePath}: ${message}`, 'FILE_OPERATION_ERROR', false, cause);\n this.name = 'FileOperationError';\n }\n}\n\n/**\n * Pull request check failures with detailed information\n */\nexport class PullRequestCheckError extends CommandError {\n constructor(\n message: string,\n public readonly prNumber: number,\n public readonly failedChecks: Array<{\n name: string;\n conclusion: string;\n detailsUrl?: string;\n summary?: string;\n output?: {\n title?: string;\n summary?: string;\n text?: string;\n };\n }>,\n public readonly prUrl: string,\n public readonly currentBranch?: string\n ) {\n super(message, 'PR_CHECK_FAILED', true);\n this.name = 'PullRequestCheckError';\n }\n\n /**\n * Get specific instructions based on the type of failures\n */\n getRecoveryInstructions(): string[] {\n const instructions: string[] = [];\n const branchName = this.currentBranch || 'your current branch';\n\n // Analyze failure types for specific guidance\n const testFailures = this.failedChecks.filter(check =>\n check.name.toLowerCase().includes('test') ||\n check.name.toLowerCase().includes('ci') ||\n check.output?.title?.toLowerCase().includes('test')\n );\n\n const lintFailures = this.failedChecks.filter(check =>\n check.name.toLowerCase().includes('lint') ||\n check.name.toLowerCase().includes('style') ||\n check.output?.title?.toLowerCase().includes('lint')\n );\n\n const buildFailures = this.failedChecks.filter(check =>\n check.name.toLowerCase().includes('build') ||\n check.name.toLowerCase().includes('compile') ||\n check.output?.title?.toLowerCase().includes('build')\n );\n\n instructions.push('🔧 To fix these failures:');\n instructions.push('');\n\n // Specific instructions based on failure types\n if (testFailures.length > 0) {\n instructions.push('📋 Test Failures:');\n instructions.push(' • Run tests locally: `npm test` or `yarn test`');\n instructions.push(' • Fix failing tests or update test expectations');\n instructions.push(' • Consider running specific test files if identified in the failure details');\n instructions.push('');\n }\n\n if (lintFailures.length > 0) {\n instructions.push('🎨 Linting/Style Failures:');\n instructions.push(' • Run linter locally: `npm run lint` or `yarn lint`');\n instructions.push(' • Auto-fix where possible: `npm run lint:fix` or `yarn lint:fix`');\n instructions.push(' • Check code formatting: `npm run format` or `yarn format`');\n instructions.push('');\n }\n\n if (buildFailures.length > 0) {\n instructions.push('🏗️ Build Failures:');\n instructions.push(' • Run build locally: `npm run build` or `yarn build`');\n instructions.push(' • Check for TypeScript errors: `npx tsc --noEmit`');\n instructions.push(' • Review dependency issues and import paths');\n instructions.push('');\n }\n\n // General workflow instructions\n instructions.push('📤 After fixing the issues:');\n instructions.push(` 1. Stage your changes: \\`git add .\\``);\n instructions.push(` 2. Commit your fixes: \\`git commit -m \"fix: resolve PR check failures\"\\``);\n instructions.push(` 3. Push to ${branchName}: \\`git push origin ${branchName}\\``);\n instructions.push(` 4. The PR checks will automatically re-run`);\n instructions.push('');\n\n instructions.push('🔄 Re-running this command:');\n instructions.push(' • The kodrdriv publish command will automatically detect the existing PR');\n instructions.push(' • Simply run the same command again after pushing your fixes');\n instructions.push(' • You can also manually trigger checks by pushing an empty commit:');\n instructions.push(` \\`git commit --allow-empty -m \"trigger checks\" && git push origin ${branchName}\\``);\n\n return instructions;\n }\n}\n"],"names":["CommandError","Error","message","code","recoverable","cause","originalCause","name","ValidationError","UserCancellationError","ExternalDependencyError","dependency","FileOperationError","filePath","PullRequestCheckError","getRecoveryInstructions","instructions","branchName","currentBranch","testFailures","failedChecks","filter","check","toLowerCase","includes","output","title","lintFailures","buildFailures","push","length","prNumber","prUrl"],"mappings":"AAAA;;AAEC,IAAA,SAAA,gBAAA,CAAA,GAAA,EAAA,GAAA,EAAA,KAAA,EAAA;;;;;;;;;;;;;AACM,MAAMA,YAAAA,SAAqBC,KAAAA,CAAAA;IAK9B,WAAA,CACIC,OAAe,EACfC,IAAY,EACZC,cAAuB,KAAK,EAC5BC,KAAa,CACf;AACE,QAAA,KAAK,CAACH,OAAAA,CAAAA,EAVV,gBAAA,CAAA,IAAA,EAAgBC,MAAAA,EAAhB,MAAA,CAAA,EACA,gBAAA,CAAA,IAAA,EAAgBC,aAAAA,EAAhB,MAAA,CAAA,EACA,gBAAA,CAAA,IAAA,EAAgBE,eAAAA,EAAhB,MAAA,CAAA;QASI,IAAI,CAACC,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A,CAAA;AAClBb,QAAAA,YAAAA,CAAaa,IAAI,CAAC,CAAC,uEAAuE,EAAEZ,UAAAA,CAAW,EAAE,CAAC,CAAA;QAE1G,OAAOD,YAAAA;AACX,IAAA;AA1FA,IAAA,WAAA,CACId,OAAe,EACf,QAAgC,EAChBkB,YAUd,EACF,KAA6B,EACbF,aAAsB,CACxC;QACE,KAAK,CAAChB,OAAAA,EAAS,iBAAA,EAAmB,IAAA,CAAA,EAAA,gBAAA,CAAA,IAAA,EAAA,UAAA,EAAA,MAAA,CAAA,EAAA,gBAAA,CAAA,IAAA,EAAA,cAAA,EAAA,MAAA,CAAA,EAAA,gBAAA,CAAA,IAAA,EAAA,OAAA,EAAA,MAAA,CAAA,EAAA,gBAAA,CAAA,IAAA,EAAA,eAAA,EAAA,MAAA,CAAA,EAAA,IAAA,CAflB6B,QAAAA,GAAAA,eACAX,YAAAA,GAAAA,YAAAA,EAAAA,IAAAA,CAWAY,KAAAA,GAAAA,KAAAA,EAAAA,IAAAA,CACAd,aAAAA,GAAAA,aAAAA;QAGhB,IAAI,CAACX,IAAI,GAAG,uBAAA;AAChB,IAAA;AAwEJ;;;;"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@test/external-unlink-test",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Test package for external unlink patterns",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"@somelib/core": "^1.0.0",
|
|
8
|
+
"@somelib/utils": "^1.0.0",
|
|
9
|
+
"lodash": "^4.17.21",
|
|
10
|
+
"express": "^4.18.2"
|
|
11
|
+
},
|
|
12
|
+
"devDependencies": {
|
|
13
|
+
"@somelib/dev": "^1.0.0",
|
|
14
|
+
"jest": "^29.0.0"
|
|
15
|
+
}
|
|
16
|
+
}
|
package/test_output.txt
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
|
|
2
|
+
> @eldrforge/kodrdriv@1.2.3-dev.0 test
|
|
3
|
+
> vitest run --coverage tests/commands/tree.test.ts
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
RUN v3.2.4 /Users/tobrien/gitw/calenvarek/kodrdriv
|
|
7
|
+
Coverage enabled with v8
|
|
8
|
+
|
|
9
|
+
❯ tests/commands/tree.test.ts (60 tests | 6 failed) 57ms
|
|
10
|
+
✓ tree > execute > should handle empty directory with no package.json files 3ms
|
|
11
|
+
✓ tree > execute > should scan and build dependency graph for simple packages 1ms
|
|
12
|
+
✓ tree > execute > should handle circular dependencies 1ms
|
|
13
|
+
✓ tree > execute > should exclude packages based on patterns 1ms
|
|
14
|
+
✓ tree > execute > should start from specified package 1ms
|
|
15
|
+
✓ tree > execute > should throw error for invalid startFrom package 0ms
|
|
16
|
+
✓ tree > execute > should stop at specified package 0ms
|
|
17
|
+
✓ tree > execute > should stop at specified package with multiple dependencies 1ms
|
|
18
|
+
✓ tree > execute > should combine startFrom and stopAt options 0ms
|
|
19
|
+
✓ tree > execute > should throw error for invalid stopAt package 0ms
|
|
20
|
+
✓ tree > execute > should execute command in dry run mode 1ms
|
|
21
|
+
✓ tree > execute > should execute command in packages 1ms
|
|
22
|
+
✓ tree > execute > should handle command execution failure and provide recovery command 1ms
|
|
23
|
+
✓ tree > execute > should handle package.json without name field 1ms
|
|
24
|
+
✓ tree > execute > should handle invalid JSON in package.json 1ms
|
|
25
|
+
✓ tree > execute > should handle file system errors during scanning 0ms
|
|
26
|
+
✓ tree > execute > should use custom directories from config 0ms
|
|
27
|
+
✓ tree > execute > should return build order without executing command when no cmd provided 1ms
|
|
28
|
+
✓ tree > execute > should collect all dependency types 1ms
|
|
29
|
+
✓ tree > error formatting and handling > should format command errors with stderr and stdout 1ms
|
|
30
|
+
✓ tree > error formatting and handling > should format simple errors without stderr/stdout 1ms
|
|
31
|
+
✓ tree > error formatting and handling > should restore working directory after command failure 1ms
|
|
32
|
+
✓ tree > error formatting and handling > should handle packages with no version field 1ms
|
|
33
|
+
✓ tree > complex dependency scenarios > should handle deep dependency chains 1ms
|
|
34
|
+
✓ tree > complex dependency scenarios > should handle diamond dependency pattern 1ms
|
|
35
|
+
✓ tree > complex dependency scenarios > should handle multiple independent packages 1ms
|
|
36
|
+
✓ tree > complex dependency scenarios > should handle mixed dependency types 1ms
|
|
37
|
+
✓ tree > inter-project dependency updates for tree publish > should handle dry run for inter-project dependency updates 1ms
|
|
38
|
+
✓ tree > continue functionality and execution context > should handle missing execution context gracefully 1ms
|
|
39
|
+
× tree > continue functionality and execution context > should save execution context for publish commands 6ms
|
|
40
|
+
→ Failed to analyze workspace: Command failed in package package-a
|
|
41
|
+
× tree > continue functionality and execution context > should cleanup context on successful completion 1ms
|
|
42
|
+
→ Failed to analyze workspace: Command failed in package package-a
|
|
43
|
+
✓ tree > built-in command execution > should execute commit command across packages 1ms
|
|
44
|
+
✓ tree > built-in command execution > should execute link command with package argument 1ms
|
|
45
|
+
✓ tree > built-in command execution > should execute unlink command with clean-node-modules option 1ms
|
|
46
|
+
× tree > built-in command execution > should propagate global options to built-in commands 2ms
|
|
47
|
+
→ expected "spy" to be called at least once
|
|
48
|
+
✓ tree > built-in command execution > should handle link status subcommand 1ms
|
|
49
|
+
✓ tree > built-in command execution > should handle unlink status subcommand 1ms
|
|
50
|
+
✓ tree > built-in command execution > should throw error for unsupported built-in command 1ms
|
|
51
|
+
× tree > inter-project dependency updates > should update inter-project dependencies before publish 1ms
|
|
52
|
+
→ Failed to analyze workspace: Command failed in package package-a
|
|
53
|
+
× tree > inter-project dependency updates > should commit dependency updates before publish 1ms
|
|
54
|
+
→ Failed to analyze workspace: Command failed in package package-a
|
|
55
|
+
✓ tree > error handling edge cases > should handle working directory restoration failure 2ms
|
|
56
|
+
× tree > error handling edge cases > should handle storage errors during context operations 1ms
|
|
57
|
+
→ Failed to analyze workspace: Command failed in package package-a
|
|
58
|
+
✓ tree > error handling edge cases > should handle invalid execution context data 1ms
|
|
59
|
+
✓ tree > multiple directory scenarios > should handle empty directories gracefully 1ms
|
|
60
|
+
✓ tree > multiple directory scenarios > should handle mixed directory scenarios 1ms
|
|
61
|
+
✓ tree > exclusion pattern edge cases > should handle complex glob patterns 1ms
|
|
62
|
+
✓ tree > exclusion pattern edge cases > should handle exclusion patterns with special characters 1ms
|
|
63
|
+
✓ tree > package logger functionality > should create package-specific loggers with correct prefixes 1ms
|
|
64
|
+
✓ tree > package logger functionality > should handle dry run logging correctly 1ms
|
|
65
|
+
✓ tree > branches command advanced features > should handle packages with consumers and link problems 1ms
|
|
66
|
+
✓ tree > branches command advanced features > should handle ANSI color support detection 1ms
|
|
67
|
+
✓ tree > verbose and debug logging modes > should provide detailed logging in verbose mode 1ms
|
|
68
|
+
✓ tree > additional tree functionality > should handle exclusion patterns correctly 1ms
|
|
69
|
+
✓ tree > additional tree functionality > should handle multiple directories scanning 1ms
|
|
70
|
+
✓ tree > additional tree functionality > should show appropriate logging levels for command execution 1ms
|
|
71
|
+
✓ tree > branches command > should display branch status table for all packages 1ms
|
|
72
|
+
✓ tree > branches command > should handle git errors gracefully in branches command 1ms
|
|
73
|
+
✓ tree > branches command > should format table columns correctly with varying lengths 1ms
|
|
74
|
+
✓ tree > branches command > should not execute other commands when branches is specified 1ms
|
|
75
|
+
✓ tree > branches command > should display asterisk for packages with linked dependencies 1ms
|
|
76
|
+
|
|
77
|
+
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 6 ⎯⎯⎯⎯⎯⎯⎯
|
|
78
|
+
|
|
79
|
+
FAIL tests/commands/tree.test.ts > tree > continue functionality and execution context > should save execution context for publish commands
|
|
80
|
+
Error: Failed to analyze workspace: Command failed in package package-a
|
|
81
|
+
❯ Module.execute src/commands/tree.ts:1648:15
|
|
82
|
+
1646| const errorMessage = `Failed to analyze workspace: ${error.mes…
|
|
83
|
+
1647| logger.error(errorMessage);
|
|
84
|
+
1648| throw new Error(errorMessage);
|
|
85
|
+
| ^
|
|
86
|
+
1649| } finally {
|
|
87
|
+
1650| // Clean up mutex resources to prevent memory leaks
|
|
88
|
+
❯ tests/commands/tree.test.ts:968:13
|
|
89
|
+
|
|
90
|
+
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/6]⎯
|
|
91
|
+
|
|
92
|
+
FAIL tests/commands/tree.test.ts > tree > continue functionality and execution context > should cleanup context on successful completion
|
|
93
|
+
Error: Failed to analyze workspace: Command failed in package package-a
|
|
94
|
+
❯ Module.execute src/commands/tree.ts:1648:15
|
|
95
|
+
1646| const errorMessage = `Failed to analyze workspace: ${error.mes…
|
|
96
|
+
1647| logger.error(errorMessage);
|
|
97
|
+
1648| throw new Error(errorMessage);
|
|
98
|
+
| ^
|
|
99
|
+
1649| } finally {
|
|
100
|
+
1650| // Clean up mutex resources to prevent memory leaks
|
|
101
|
+
❯ tests/commands/tree.test.ts:993:13
|
|
102
|
+
|
|
103
|
+
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/6]⎯
|
|
104
|
+
|
|
105
|
+
FAIL tests/commands/tree.test.ts > tree > built-in command execution > should propagate global options to built-in commands
|
|
106
|
+
AssertionError: expected "spy" to be called at least once
|
|
107
|
+
❯ tests/commands/tree.test.ts:1105:37
|
|
108
|
+
1103|
|
|
109
|
+
1104| // Verify the command was executed (basic check)
|
|
110
|
+
1105| expect(mockExecPromise).toHaveBeenCalled();
|
|
111
|
+
| ^
|
|
112
|
+
1106| });
|
|
113
|
+
1107|
|
|
114
|
+
|
|
115
|
+
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/6]⎯
|
|
116
|
+
|
|
117
|
+
FAIL tests/commands/tree.test.ts > tree > inter-project dependency updates > should update inter-project dependencies before publish
|
|
118
|
+
Error: Failed to analyze workspace: Command failed in package package-a
|
|
119
|
+
❯ Module.execute src/commands/tree.ts:1648:15
|
|
120
|
+
1646| const errorMessage = `Failed to analyze workspace: ${error.mes…
|
|
121
|
+
1647| logger.error(errorMessage);
|
|
122
|
+
1648| throw new Error(errorMessage);
|
|
123
|
+
| ^
|
|
124
|
+
1649| } finally {
|
|
125
|
+
1650| // Clean up mutex resources to prevent memory leaks
|
|
126
|
+
❯ tests/commands/tree.test.ts:1186:13
|
|
127
|
+
|
|
128
|
+
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[4/6]⎯
|
|
129
|
+
|
|
130
|
+
FAIL tests/commands/tree.test.ts > tree > inter-project dependency updates > should commit dependency updates before publish
|
|
131
|
+
Error: Failed to analyze workspace: Command failed in package package-a
|
|
132
|
+
❯ Module.execute src/commands/tree.ts:1648:15
|
|
133
|
+
1646| const errorMessage = `Failed to analyze workspace: ${error.mes…
|
|
134
|
+
1647| logger.error(errorMessage);
|
|
135
|
+
1648| throw new Error(errorMessage);
|
|
136
|
+
| ^
|
|
137
|
+
1649| } finally {
|
|
138
|
+
1650| // Clean up mutex resources to prevent memory leaks
|
|
139
|
+
❯ tests/commands/tree.test.ts:1206:13
|
|
140
|
+
|
|
141
|
+
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[5/6]⎯
|
|
142
|
+
|
|
143
|
+
FAIL tests/commands/tree.test.ts > tree > error handling edge cases > should handle storage errors during context operations
|
|
144
|
+
Error: Failed to analyze workspace: Command failed in package package-a
|
|
145
|
+
❯ Module.execute src/commands/tree.ts:1648:15
|
|
146
|
+
1646| const errorMessage = `Failed to analyze workspace: ${error.mes…
|
|
147
|
+
1647| logger.error(errorMessage);
|
|
148
|
+
1648| throw new Error(errorMessage);
|
|
149
|
+
| ^
|
|
150
|
+
1649| } finally {
|
|
151
|
+
1650| // Clean up mutex resources to prevent memory leaks
|
|
152
|
+
❯ tests/commands/tree.test.ts:1253:13
|
|
153
|
+
|
|
154
|
+
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[6/6]⎯
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
Test Files 1 failed (1)
|
|
158
|
+
Tests 6 failed | 54 passed (60)
|
|
159
|
+
Start at 10:00:29
|
|
160
|
+
Duration 500ms (transform 80ms, setup 0ms, collect 97ms, tests 57ms, environment 0ms, prepare 35ms)
|
|
161
|
+
|
package/dist/types.js
DELETED
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
const ConfigSchema = z.object({
|
|
4
|
-
dryRun: z.boolean().optional(),
|
|
5
|
-
verbose: z.boolean().optional(),
|
|
6
|
-
debug: z.boolean().optional(),
|
|
7
|
-
overrides: z.boolean().optional(),
|
|
8
|
-
model: z.string().optional(),
|
|
9
|
-
openaiReasoning: z.enum([
|
|
10
|
-
'low',
|
|
11
|
-
'medium',
|
|
12
|
-
'high'
|
|
13
|
-
]).optional(),
|
|
14
|
-
openaiMaxOutputTokens: z.number().optional(),
|
|
15
|
-
contextDirectories: z.array(z.string()).optional(),
|
|
16
|
-
outputDirectory: z.string().optional(),
|
|
17
|
-
preferencesDirectory: z.string().optional(),
|
|
18
|
-
commit: z.object({
|
|
19
|
-
add: z.boolean().optional(),
|
|
20
|
-
cached: z.boolean().optional(),
|
|
21
|
-
sendit: z.boolean().optional(),
|
|
22
|
-
interactive: z.boolean().optional(),
|
|
23
|
-
amend: z.boolean().optional(),
|
|
24
|
-
messageLimit: z.number().optional(),
|
|
25
|
-
context: z.string().optional(),
|
|
26
|
-
direction: z.string().optional(),
|
|
27
|
-
skipFileCheck: z.boolean().optional(),
|
|
28
|
-
maxDiffBytes: z.number().optional(),
|
|
29
|
-
model: z.string().optional(),
|
|
30
|
-
openaiReasoning: z.enum([
|
|
31
|
-
'low',
|
|
32
|
-
'medium',
|
|
33
|
-
'high'
|
|
34
|
-
]).optional(),
|
|
35
|
-
openaiMaxOutputTokens: z.number().optional()
|
|
36
|
-
}).optional(),
|
|
37
|
-
audioCommit: z.object({
|
|
38
|
-
maxRecordingTime: z.number().optional(),
|
|
39
|
-
audioDevice: z.string().optional(),
|
|
40
|
-
file: z.string().optional(),
|
|
41
|
-
keepTemp: z.boolean().optional(),
|
|
42
|
-
model: z.string().optional(),
|
|
43
|
-
openaiReasoning: z.enum([
|
|
44
|
-
'low',
|
|
45
|
-
'medium',
|
|
46
|
-
'high'
|
|
47
|
-
]).optional(),
|
|
48
|
-
openaiMaxOutputTokens: z.number().optional()
|
|
49
|
-
}).optional(),
|
|
50
|
-
release: z.object({
|
|
51
|
-
from: z.string().optional(),
|
|
52
|
-
to: z.string().optional(),
|
|
53
|
-
messageLimit: z.number().optional(),
|
|
54
|
-
context: z.string().optional(),
|
|
55
|
-
interactive: z.boolean().optional(),
|
|
56
|
-
focus: z.string().optional(),
|
|
57
|
-
maxDiffBytes: z.number().optional(),
|
|
58
|
-
model: z.string().optional(),
|
|
59
|
-
openaiReasoning: z.enum([
|
|
60
|
-
'low',
|
|
61
|
-
'medium',
|
|
62
|
-
'high'
|
|
63
|
-
]).optional(),
|
|
64
|
-
openaiMaxOutputTokens: z.number().optional(),
|
|
65
|
-
noMilestones: z.boolean().optional()
|
|
66
|
-
}).optional(),
|
|
67
|
-
review: z.object({
|
|
68
|
-
includeCommitHistory: z.boolean().optional(),
|
|
69
|
-
includeRecentDiffs: z.boolean().optional(),
|
|
70
|
-
includeReleaseNotes: z.boolean().optional(),
|
|
71
|
-
includeGithubIssues: z.boolean().optional(),
|
|
72
|
-
commitHistoryLimit: z.number().optional(),
|
|
73
|
-
diffHistoryLimit: z.number().optional(),
|
|
74
|
-
releaseNotesLimit: z.number().optional(),
|
|
75
|
-
githubIssuesLimit: z.number().optional(),
|
|
76
|
-
context: z.string().optional(),
|
|
77
|
-
sendit: z.boolean().optional(),
|
|
78
|
-
note: z.string().optional(),
|
|
79
|
-
editorTimeout: z.number().optional(),
|
|
80
|
-
maxContextErrors: z.number().optional(),
|
|
81
|
-
model: z.string().optional(),
|
|
82
|
-
openaiReasoning: z.enum([
|
|
83
|
-
'low',
|
|
84
|
-
'medium',
|
|
85
|
-
'high'
|
|
86
|
-
]).optional(),
|
|
87
|
-
openaiMaxOutputTokens: z.number().optional(),
|
|
88
|
-
file: z.string().optional(),
|
|
89
|
-
directory: z.string().optional()
|
|
90
|
-
}).optional(),
|
|
91
|
-
audioReview: z.object({
|
|
92
|
-
includeCommitHistory: z.boolean().optional(),
|
|
93
|
-
includeRecentDiffs: z.boolean().optional(),
|
|
94
|
-
includeReleaseNotes: z.boolean().optional(),
|
|
95
|
-
includeGithubIssues: z.boolean().optional(),
|
|
96
|
-
commitHistoryLimit: z.number().optional(),
|
|
97
|
-
diffHistoryLimit: z.number().optional(),
|
|
98
|
-
releaseNotesLimit: z.number().optional(),
|
|
99
|
-
githubIssuesLimit: z.number().optional(),
|
|
100
|
-
context: z.string().optional(),
|
|
101
|
-
sendit: z.boolean().optional(),
|
|
102
|
-
maxRecordingTime: z.number().optional(),
|
|
103
|
-
audioDevice: z.string().optional(),
|
|
104
|
-
file: z.string().optional(),
|
|
105
|
-
directory: z.string().optional(),
|
|
106
|
-
keepTemp: z.boolean().optional(),
|
|
107
|
-
model: z.string().optional(),
|
|
108
|
-
openaiReasoning: z.enum([
|
|
109
|
-
'low',
|
|
110
|
-
'medium',
|
|
111
|
-
'high'
|
|
112
|
-
]).optional(),
|
|
113
|
-
openaiMaxOutputTokens: z.number().optional()
|
|
114
|
-
}).optional(),
|
|
115
|
-
publish: z.object({
|
|
116
|
-
mergeMethod: z.enum([
|
|
117
|
-
'merge',
|
|
118
|
-
'squash',
|
|
119
|
-
'rebase'
|
|
120
|
-
]).optional(),
|
|
121
|
-
from: z.string().optional(),
|
|
122
|
-
targetVersion: z.string().optional(),
|
|
123
|
-
interactive: z.boolean().optional(),
|
|
124
|
-
dependencyUpdatePatterns: z.array(z.string()).optional(),
|
|
125
|
-
requiredEnvVars: z.array(z.string()).optional(),
|
|
126
|
-
linkWorkspacePackages: z.boolean().optional(),
|
|
127
|
-
unlinkWorkspacePackages: z.boolean().optional(),
|
|
128
|
-
checksTimeout: z.number().optional(),
|
|
129
|
-
skipUserConfirmation: z.boolean().optional(),
|
|
130
|
-
syncTarget: z.boolean().optional(),
|
|
131
|
-
sendit: z.boolean().optional(),
|
|
132
|
-
waitForReleaseWorkflows: z.boolean().optional(),
|
|
133
|
-
releaseWorkflowsTimeout: z.number().optional(),
|
|
134
|
-
releaseWorkflowNames: z.array(z.string()).optional(),
|
|
135
|
-
targetBranch: z.string().optional(),
|
|
136
|
-
noMilestones: z.boolean().optional()
|
|
137
|
-
}).optional(),
|
|
138
|
-
link: z.object({
|
|
139
|
-
scopeRoots: z.record(z.string(), z.string()).optional(),
|
|
140
|
-
dryRun: z.boolean().optional(),
|
|
141
|
-
packageArgument: z.string().optional()
|
|
142
|
-
}).optional(),
|
|
143
|
-
unlink: z.object({
|
|
144
|
-
scopeRoots: z.record(z.string(), z.string()).optional(),
|
|
145
|
-
workspaceFile: z.string().optional(),
|
|
146
|
-
dryRun: z.boolean().optional(),
|
|
147
|
-
cleanNodeModules: z.boolean().optional(),
|
|
148
|
-
packageArgument: z.string().optional()
|
|
149
|
-
}).optional(),
|
|
150
|
-
tree: z.object({
|
|
151
|
-
directories: z.array(z.string()).optional(),
|
|
152
|
-
excludedPatterns: z.array(z.string()).optional(),
|
|
153
|
-
startFrom: z.string().optional(),
|
|
154
|
-
stopAt: z.string().optional(),
|
|
155
|
-
cmd: z.string().optional(),
|
|
156
|
-
parallel: z.boolean().optional(),
|
|
157
|
-
builtInCommand: z.string().optional(),
|
|
158
|
-
continue: z.boolean().optional(),
|
|
159
|
-
packageArgument: z.string().optional(),
|
|
160
|
-
cleanNodeModules: z.boolean().optional()
|
|
161
|
-
}).optional(),
|
|
162
|
-
development: z.object({
|
|
163
|
-
targetVersion: z.string().optional(),
|
|
164
|
-
noMilestones: z.boolean().optional()
|
|
165
|
-
}).optional(),
|
|
166
|
-
versions: z.object({
|
|
167
|
-
subcommand: z.string().optional(),
|
|
168
|
-
directories: z.array(z.string()).optional()
|
|
169
|
-
}).optional(),
|
|
170
|
-
excludedPatterns: z.array(z.string()).optional()
|
|
171
|
-
});
|
|
172
|
-
z.object({
|
|
173
|
-
openaiApiKey: z.string().optional()
|
|
174
|
-
});
|
|
175
|
-
z.object({
|
|
176
|
-
commandName: z.string().optional()
|
|
177
|
-
});
|
|
178
|
-
|
|
179
|
-
export { ConfigSchema };
|
|
180
|
-
//# sourceMappingURL=types.js.map
|
package/dist/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sources":["../src/types.ts"],"sourcesContent":["import * as Cardigantime from '@theunwalked/cardigantime';\nimport { z } from \"zod\";\n\nexport const ConfigSchema = z.object({\n dryRun: z.boolean().optional(),\n verbose: z.boolean().optional(),\n debug: z.boolean().optional(),\n overrides: z.boolean().optional(),\n model: z.string().optional(),\n openaiReasoning: z.enum(['low', 'medium', 'high']).optional(),\n openaiMaxOutputTokens: z.number().optional(),\n contextDirectories: z.array(z.string()).optional(),\n outputDirectory: z.string().optional(),\n preferencesDirectory: z.string().optional(),\n commit: z.object({\n add: z.boolean().optional(),\n cached: z.boolean().optional(),\n sendit: z.boolean().optional(),\n interactive: z.boolean().optional(),\n amend: z.boolean().optional(),\n messageLimit: z.number().optional(),\n context: z.string().optional(),\n direction: z.string().optional(),\n skipFileCheck: z.boolean().optional(),\n maxDiffBytes: z.number().optional(),\n model: z.string().optional(),\n openaiReasoning: z.enum(['low', 'medium', 'high']).optional(),\n openaiMaxOutputTokens: z.number().optional(),\n }).optional(),\n audioCommit: z.object({\n maxRecordingTime: z.number().optional(),\n audioDevice: z.string().optional(),\n file: z.string().optional(),\n keepTemp: z.boolean().optional(),\n model: z.string().optional(),\n openaiReasoning: z.enum(['low', 'medium', 'high']).optional(),\n openaiMaxOutputTokens: z.number().optional(),\n }).optional(),\n release: z.object({\n from: z.string().optional(),\n to: z.string().optional(),\n messageLimit: z.number().optional(),\n context: z.string().optional(),\n interactive: z.boolean().optional(),\n focus: z.string().optional(),\n maxDiffBytes: z.number().optional(),\n model: z.string().optional(),\n openaiReasoning: z.enum(['low', 'medium', 'high']).optional(),\n openaiMaxOutputTokens: z.number().optional(),\n noMilestones: z.boolean().optional(),\n }).optional(),\n review: z.object({\n includeCommitHistory: z.boolean().optional(),\n includeRecentDiffs: z.boolean().optional(),\n includeReleaseNotes: z.boolean().optional(),\n includeGithubIssues: z.boolean().optional(),\n commitHistoryLimit: z.number().optional(),\n diffHistoryLimit: z.number().optional(),\n releaseNotesLimit: z.number().optional(),\n githubIssuesLimit: z.number().optional(),\n context: z.string().optional(),\n sendit: z.boolean().optional(),\n note: z.string().optional(),\n editorTimeout: z.number().optional(),\n maxContextErrors: z.number().optional(),\n model: z.string().optional(),\n openaiReasoning: z.enum(['low', 'medium', 'high']).optional(),\n openaiMaxOutputTokens: z.number().optional(),\n file: z.string().optional(), // File path to read review note from\n directory: z.string().optional(), // Directory to process multiple review files\n }).optional(),\n audioReview: z.object({\n includeCommitHistory: z.boolean().optional(),\n includeRecentDiffs: z.boolean().optional(),\n includeReleaseNotes: z.boolean().optional(),\n includeGithubIssues: z.boolean().optional(),\n commitHistoryLimit: z.number().optional(),\n diffHistoryLimit: z.number().optional(),\n releaseNotesLimit: z.number().optional(),\n githubIssuesLimit: z.number().optional(),\n context: z.string().optional(),\n sendit: z.boolean().optional(),\n maxRecordingTime: z.number().optional(),\n audioDevice: z.string().optional(),\n file: z.string().optional(),\n directory: z.string().optional(),\n keepTemp: z.boolean().optional(),\n model: z.string().optional(),\n openaiReasoning: z.enum(['low', 'medium', 'high']).optional(),\n openaiMaxOutputTokens: z.number().optional(),\n }).optional(),\n publish: z.object({\n mergeMethod: z.enum(['merge', 'squash', 'rebase']).optional(),\n from: z.string().optional(),\n targetVersion: z.string().optional(),\n interactive: z.boolean().optional(),\n dependencyUpdatePatterns: z.array(z.string()).optional(),\n requiredEnvVars: z.array(z.string()).optional(),\n linkWorkspacePackages: z.boolean().optional(),\n unlinkWorkspacePackages: z.boolean().optional(),\n checksTimeout: z.number().optional(),\n skipUserConfirmation: z.boolean().optional(),\n syncTarget: z.boolean().optional(),\n sendit: z.boolean().optional(),\n waitForReleaseWorkflows: z.boolean().optional(),\n releaseWorkflowsTimeout: z.number().optional(),\n releaseWorkflowNames: z.array(z.string()).optional(),\n targetBranch: z.string().optional(),\n noMilestones: z.boolean().optional(),\n }).optional(),\n link: z.object({\n scopeRoots: z.record(z.string(), z.string()).optional(),\n dryRun: z.boolean().optional(),\n packageArgument: z.string().optional(),\n }).optional(),\n unlink: z.object({\n scopeRoots: z.record(z.string(), z.string()).optional(),\n workspaceFile: z.string().optional(),\n dryRun: z.boolean().optional(),\n cleanNodeModules: z.boolean().optional(),\n packageArgument: z.string().optional(),\n }).optional(),\n tree: z.object({\n directories: z.array(z.string()).optional(),\n excludedPatterns: z.array(z.string()).optional(),\n startFrom: z.string().optional(),\n stopAt: z.string().optional(),\n cmd: z.string().optional(),\n parallel: z.boolean().optional(),\n builtInCommand: z.string().optional(),\n continue: z.boolean().optional(),\n packageArgument: z.string().optional(),\n cleanNodeModules: z.boolean().optional(),\n }).optional(),\n development: z.object({\n targetVersion: z.string().optional(),\n noMilestones: z.boolean().optional(),\n }).optional(),\n versions: z.object({\n subcommand: z.string().optional(),\n directories: z.array(z.string()).optional(),\n }).optional(),\n excludedPatterns: z.array(z.string()).optional(),\n});\n\nexport const SecureConfigSchema = z.object({\n openaiApiKey: z.string().optional(),\n});\n\nexport const CommandConfigSchema = z.object({\n commandName: z.string().optional(),\n});\n\nexport type Config = z.infer<typeof ConfigSchema> & Cardigantime.Config;\nexport type SecureConfig = z.infer<typeof SecureConfigSchema>;\nexport type CommandConfig = z.infer<typeof CommandConfigSchema>;\n\nexport type MergeMethod = 'merge' | 'squash' | 'rebase';\n\nexport interface PullRequest {\n html_url: string;\n number: number;\n labels: {\n name: string;\n }[];\n}\n\nexport type ReleaseSummary = {\n title: string;\n body: string;\n}\n\nexport type ReleaseConfig = {\n from?: string;\n to?: string;\n context?: string;\n interactive?: boolean;\n focus?: string;\n messageLimit?: number;\n maxDiffBytes?: number;\n model?: string;\n openaiReasoning?: 'low' | 'medium' | 'high';\n openaiMaxOutputTokens?: number;\n}\n\nexport type ReviewConfig = {\n includeCommitHistory?: boolean;\n includeRecentDiffs?: boolean;\n includeReleaseNotes?: boolean;\n includeGithubIssues?: boolean;\n commitHistoryLimit?: number;\n diffHistoryLimit?: number;\n releaseNotesLimit?: number;\n githubIssuesLimit?: number;\n context?: string;\n sendit?: boolean;\n note?: string;\n editorTimeout?: number;\n maxContextErrors?: number;\n model?: string;\n openaiReasoning?: 'low' | 'medium' | 'high';\n openaiMaxOutputTokens?: number;\n}\n\nexport type AudioReviewConfig = {\n includeCommitHistory?: boolean;\n includeRecentDiffs?: boolean;\n includeReleaseNotes?: boolean;\n includeGithubIssues?: boolean;\n commitHistoryLimit?: number;\n diffHistoryLimit?: number;\n releaseNotesLimit?: number;\n githubIssuesLimit?: number;\n context?: string;\n sendit?: boolean;\n maxRecordingTime?: number;\n audioDevice?: string;\n file?: string;\n directory?: string;\n keepTemp?: boolean;\n model?: string;\n openaiReasoning?: 'low' | 'medium' | 'high';\n openaiMaxOutputTokens?: number;\n}\n\nexport type CommitConfig = {\n add?: boolean;\n cached?: boolean;\n sendit?: boolean;\n interactive?: boolean;\n messageLimit?: number;\n context?: string;\n direction?: string;\n skipFileCheck?: boolean;\n maxDiffBytes?: number;\n model?: string;\n openaiReasoning?: 'low' | 'medium' | 'high';\n openaiMaxOutputTokens?: number;\n}\n\nexport type AudioCommitConfig = {\n maxRecordingTime?: number;\n audioDevice?: string;\n file?: string;\n keepTemp?: boolean;\n model?: string;\n openaiReasoning?: 'low' | 'medium' | 'high';\n openaiMaxOutputTokens?: number;\n}\n\nexport type LinkConfig = {\n scopeRoots?: Record<string, string>;\n dryRun?: boolean;\n packageArgument?: string;\n}\n\nexport type UnlinkConfig = {\n scopeRoots?: Record<string, string>;\n workspaceFile?: string;\n dryRun?: boolean;\n cleanNodeModules?: boolean;\n packageArgument?: string;\n}\n\nexport type PublishConfig = {\n mergeMethod?: 'merge' | 'squash' | 'rebase';\n from?: string;\n targetVersion?: string;\n interactive?: boolean;\n dependencyUpdatePatterns?: string[];\n requiredEnvVars?: string[];\n linkWorkspacePackages?: boolean;\n unlinkWorkspacePackages?: boolean;\n checksTimeout?: number;\n skipUserConfirmation?: boolean;\n sendit?: boolean;\n waitForReleaseWorkflows?: boolean;\n releaseWorkflowsTimeout?: number;\n releaseWorkflowNames?: string[];\n targetBranch?: string;\n}\n\nexport type TreeConfig = {\n directories?: string[];\n excludedPatterns?: string[];\n startFrom?: string;\n stopAt?: string;\n cmd?: string;\n parallel?: boolean;\n builtInCommand?: string;\n continue?: boolean; // Continue from previous tree publish execution\n packageArgument?: string; // Package argument for link/unlink commands (e.g., \"@fjell\" or \"@fjell/core\")\n cleanNodeModules?: boolean; // For unlink command: remove node_modules and package-lock.json, then reinstall dependencies\n}\n\nexport type DevelopmentConfig = {\n targetVersion?: string; // 'patch', 'minor', 'major', or explicit version like '2.1.0' (default: 'patch')\n}\n\nexport type VersionsConfig = {\n subcommand?: string; // 'minor' or other versioning strategies\n directories?: string[]; // directories to scan for packages\n}\n"],"names":["ConfigSchema","z","object","dryRun","boolean","optional","verbose","debug","overrides","model","string","openaiReasoning","enum","openaiMaxOutputTokens","number","contextDirectories","array","outputDirectory","preferencesDirectory","commit","add","cached","sendit","interactive","amend","messageLimit","context","direction","skipFileCheck","maxDiffBytes","audioCommit","maxRecordingTime","audioDevice","file","keepTemp","release","from","to","focus","noMilestones","review","includeCommitHistory","includeRecentDiffs","includeReleaseNotes","includeGithubIssues","commitHistoryLimit","diffHistoryLimit","releaseNotesLimit","githubIssuesLimit","note","editorTimeout","maxContextErrors","directory","audioReview","publish","mergeMethod","targetVersion","dependencyUpdatePatterns","requiredEnvVars","linkWorkspacePackages","unlinkWorkspacePackages","checksTimeout","skipUserConfirmation","syncTarget","waitForReleaseWorkflows","releaseWorkflowsTimeout","releaseWorkflowNames","targetBranch","link","scopeRoots","record","packageArgument","unlink","workspaceFile","cleanNodeModules","tree","directories","excludedPatterns","startFrom","stopAt","cmd","parallel","builtInCommand","continue","development","versions","subcommand","openaiApiKey","commandName"],"mappings":";;AAGO,MAAMA,YAAAA,GAAeC,CAAAA,CAAEC,MAAM,CAAC;IACjCC,MAAAA,EAAQF,CAAAA,CAAEG,OAAO,EAAA,CAAGC,QAAQ,EAAA;IAC5BC,OAAAA,EAASL,CAAAA,CAAEG,OAAO,EAAA,CAAGC,QAAQ,EAAA;IAC7BE,KAAAA,EAAON,CAAAA,CAAEG,OAAO,EAAA,CAAGC,QAAQ,EAAA;IAC3BG,SAAAA,EAAWP,CAAAA,CAAEG,OAAO,EAAA,CAAGC,QAAQ,EAAA;IAC/BI,KAAAA,EAAOR,CAAAA,CAAES,MAAM,EAAA,CAAGL,QAAQ,EAAA;IAC1BM,eAAAA,EAAiBV,CAAAA,CAAEW,IAAI,CAAC;AAAC,QAAA,KAAA;AAAO,QAAA,QAAA;AAAU,QAAA;AAAO,KAAA,CAAA,CAAEP,QAAQ,EAAA;IAC3DQ,qBAAAA,EAAuBZ,CAAAA,CAAEa,MAAM,EAAA,CAAGT,QAAQ,EAAA;AAC1CU,IAAAA,kBAAAA,EAAoBd,EAAEe,KAAK,CAACf,CAAAA,CAAES,MAAM,IAAIL,QAAQ,EAAA;IAChDY,eAAAA,EAAiBhB,CAAAA,CAAES,MAAM,EAAA,CAAGL,QAAQ,EAAA;IACpCa,oBAAAA,EAAsBjB,CAAAA,CAAES,MAAM,EAAA,CAAGL,QAAQ,EAAA;IACzCc,MAAAA,EAAQlB,CAAAA,CAAEC,MAAM,CAAC;QACbkB,GAAAA,EAAK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