gitarsenal-cli 1.9.111 → 1.9.112

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/.venv_status.json CHANGED
@@ -1 +1 @@
1
- {"created":"2025-10-15T13:59:40.768Z","packages":["modal","gitingest","requests","anthropic"],"uv_version":"uv 0.8.4 (Homebrew 2025-07-30)"}
1
+ {"created":"2025-10-15T14:03:01.884Z","packages":["modal","gitingest","requests","anthropic"],"uv_version":"uv 0.8.4 (Homebrew 2025-07-30)"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitarsenal-cli",
3
- "version": "1.9.111",
3
+ "version": "1.9.112",
4
4
  "description": "CLI tool for creating Modal sandboxes with GitHub repositories",
5
5
  "main": "index.js",
6
6
  "bin": {
package/tui-app/index.jsx CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { render, useKeyboard, useTerminalDimensions } from '@opentui/react';
4
4
  import { useState, useEffect } from 'react';
5
- import { spawn } from 'child_process';
5
+ import { spawn, exec } from 'child_process';
6
6
  import { join } from 'path';
7
7
  import { fileURLToPath } from 'url';
8
8
  import { dirname } from 'path';
@@ -12,6 +12,17 @@ import os from 'os';
12
12
  const __filename = fileURLToPath(import.meta.url);
13
13
  const __dirname = dirname(__filename);
14
14
 
15
+ // Helper function to open URLs in default browser
16
+ const openUrl = (url) => {
17
+ const command = process.platform === 'darwin' ? 'open' :
18
+ process.platform === 'win32' ? 'start' : 'xdg-open';
19
+ exec(`${command} ${url}`, (error) => {
20
+ if (error) {
21
+ console.error('Could not open URL:', error);
22
+ }
23
+ });
24
+ };
25
+
15
26
  // Helper functions for user credentials
16
27
  const getUserConfigPath = () => {
17
28
  const userConfigDir = join(os.homedir(), '.gitarsenal');
@@ -830,6 +841,11 @@ const App = () => {
830
841
  } else if (selectedIndex === 2) {
831
842
  setScreen('apiKeysManagement');
832
843
  setSelectedIndex(0);
844
+ } else if (selectedIndex === 4) {
845
+ // Help & Examples - open docs page
846
+ openUrl('https://gitarsenal.dev/docs');
847
+ setStatusMessage('Opening documentation in your browser...');
848
+ setTimeout(() => setStatusMessage(''), 3000);
833
849
  } else if (selectedIndex === menuItems.length - 1) {
834
850
  process.exit(0);
835
851
  }