@scheduler-systems/gal-cli 0.1.13-beta.2-alpha.pr74 → 0.1.15-beta

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 (3) hide show
  1. package/README.md +74 -25
  2. package/dist/index.cjs +427 -78
  3. package/package.json +18 -4
package/README.md CHANGED
@@ -1,51 +1,100 @@
1
1
  # GAL CLI
2
2
 
3
- Command-line tool for syncing AI agent configurations.
3
+ Sync your organization's approved AI agent configurations.
4
4
 
5
- ## Development Install
5
+ ## Install
6
6
 
7
7
  ```bash
8
- cd apps/cli
9
- pnpm install
10
- pnpm build
11
- npm link
8
+ npm install -g @scheduler-systems/gal-cli
12
9
  ```
13
10
 
14
- Verify:
11
+ ## Usage
12
+
15
13
  ```bash
16
- gal --version
14
+ # Login with GitHub
15
+ gal auth login
16
+
17
+ # Pull approved configs
18
+ gal sync --pull
17
19
  ```
18
20
 
19
- After changes, rebuild:
21
+ ## Help
22
+
20
23
  ```bash
21
- pnpm build
24
+ gal --help
22
25
  ```
23
26
 
24
- ## Production Install
27
+ ## Documentation
25
28
 
26
- ```bash
27
- npm install -g @scheduler-systems/gal-cli
29
+ https://gal.run/docs
30
+
31
+ ### Supported Platforms
32
+
33
+ - Claude Code (`.claude/`) - Full support
34
+ - Cursor (`.cursor/`, `.cursorrules`) - Full support including legacy `.cursorrules` file
35
+ - Google Gemini (`.gemini/`) - Planned
36
+ - OpenAI Codex (`.codex/`) - Planned
37
+ - Windsurf (`.windsurf/`) - Planned
38
+
39
+ ## CI/CD Integration
40
+
41
+ ```yaml
42
+ - name: Install GAL CLI
43
+ run: npm install -g gal-cli
44
+
45
+ - name: Fetch configs
46
+ run: gal fetch --json > configs.json
28
47
  ```
29
48
 
30
- ## Quick Start
49
+ ## Session Analysis
50
+
51
+ When enabled, the CLI tracks commands during your session and provides LLM-powered analysis at the end:
52
+ - Command success/failure tracking
53
+ - Error analysis and recommendations
54
+ - Session insights
55
+
56
+ ## Development
31
57
 
32
58
  ```bash
33
- gal sync --pull # Pull approved config from org
34
- gal sync --push # Push local config to org
59
+ # Clone the monorepo
60
+ git clone https://github.com/Scheduler-Systems/gal.git
61
+ cd gal/apps/cli
62
+
63
+ # Install dependencies
64
+ pnpm install
65
+
66
+ # Build
67
+ pnpm build
68
+
69
+ # Development mode (watch)
70
+ pnpm dev
35
71
  ```
36
72
 
37
- ## Documentation
73
+ ### Local Testing
38
74
 
39
- - [CLI Commands](../../docs/features/gal/convenience/05-sync.md)
40
- - [Headless Execution](../../docs/guides/cli-headless-execution.md)
41
- - [Hook Integration](../../docs/features/gal/convenience/10-cli-hook.md)
75
+ ```bash
76
+ # Set your GAL monorepo path
77
+ export GAL_ROOT="/path/to/gal" # e.g., ~/projects/gal
42
78
 
43
- ## Telemetry
79
+ # Build and install globally (subshell keeps you in current directory)
80
+ (cd "$GAL_ROOT/apps/cli" && pnpm build && npm install -g .)
44
81
 
45
- GAL CLI collects anonymous usage telemetry to improve the tool. Opt out via:
82
+ # Verify
83
+ gal --version
84
+ ```
85
+
86
+ After making changes, rebuild and reinstall:
87
+
88
+ ```bash
89
+ (cd "$GAL_ROOT/apps/cli" && pnpm build && npm install -g .)
90
+ ```
91
+
92
+ To uninstall:
46
93
 
47
94
  ```bash
48
- gal config set telemetry false
49
- # or
50
- export GAL_TELEMETRY=false
95
+ npm uninstall -g @scheduler-systems-ai/gal-cli
51
96
  ```
97
+
98
+ ## License
99
+
100
+ Proprietary - Copyright (c) 2025 Scheduler Systems. All rights reserved.