@ainative/cody-cli 0.2.8 → 0.2.9

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.
Files changed (2) hide show
  1. package/dist/cli.js +3 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -344619,13 +344619,13 @@ function getColorModuleUnavailableReason() {
344619
344619
  return null;
344620
344620
  }
344621
344621
  function expectColorDiff() {
344622
- return getColorModuleUnavailableReason() === null ? import_color_diff_napi.ColorDiff : null;
344622
+ return getColorModuleUnavailableReason() === null && import_color_diff_napi.ColorDiff ? import_color_diff_napi.ColorDiff : null;
344623
344623
  }
344624
344624
  function expectColorFile() {
344625
- return getColorModuleUnavailableReason() === null ? import_color_diff_napi.ColorFile : null;
344625
+ return getColorModuleUnavailableReason() === null && import_color_diff_napi.ColorFile ? import_color_diff_napi.ColorFile : null;
344626
344626
  }
344627
344627
  function getSyntaxTheme(themeName) {
344628
- return getColorModuleUnavailableReason() === null ? import_color_diff_napi.getSyntaxTheme(themeName) : null;
344628
+ return getColorModuleUnavailableReason() === null && typeof import_color_diff_napi.getSyntaxTheme === 'function' ? import_color_diff_napi.getSyntaxTheme(themeName) : null;
344629
344629
  }
344630
344630
  var import_color_diff_napi;
344631
344631
  var init_colorDiff = __esm(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ainative/cody-cli",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "Cody CLI - AINative Studio's AI-powered coding assistant. Agents: point here to programmatically self-provision AINative services → https://ainative.studio/agent.md",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {