@scheduler-systems/gal-run 0.0.197

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/LICENSE ADDED
@@ -0,0 +1,14 @@
1
+ PROPRIETARY LICENSE
2
+
3
+ Copyright (c) 2025 Scheduler Systems. All rights reserved.
4
+
5
+ This software and associated documentation files (the "Software") are the
6
+ proprietary and confidential property of Scheduler Systems.
7
+
8
+ UNAUTHORIZED COPYING, MODIFICATION, DISTRIBUTION, OR USE OF THIS SOFTWARE,
9
+ VIA ANY MEDIUM, IS STRICTLY PROHIBITED.
10
+
11
+ This Software is licensed, not sold. Scheduler Systems retains all rights,
12
+ title, and interest in and to the Software.
13
+
14
+ For licensing inquiries, contact: support@scheduler.systems
package/README.md ADDED
@@ -0,0 +1,133 @@
1
+ # GAL CLI
2
+
3
+ Governance platform for AI coding agents. Discover, centralize, and sync approved configurations for individuals and teams.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ pnpm add -g @scheduler-systems/gal-run
9
+ ```
10
+
11
+ Or via Homebrew:
12
+
13
+ ```bash
14
+ brew tap scheduler-systems/tap
15
+ brew install gal
16
+ ```
17
+
18
+ ## Usage
19
+
20
+ ```bash
21
+ # Authenticate with GitHub
22
+ gal auth login
23
+
24
+ # Pull approved configs
25
+ gal sync --pull
26
+
27
+ # Configure MCP + validate tool discovery
28
+ gal mcp setup
29
+ gal mcp doctor
30
+
31
+ # Check sync status
32
+ gal sync --status
33
+
34
+ # Scan org repos for AI agent configs
35
+ gal discover
36
+ ```
37
+
38
+ ## Supported Platforms
39
+
40
+ - Claude Code (`.claude/`)
41
+ - Cursor (`.cursor/`)
42
+ - GitHub Copilot (`.github/`)
43
+ - Gemini (`.gemini/`)
44
+ - Codex (`.codex/`)
45
+ - Windsurf (`.windsurf/`)
46
+
47
+ ## MCP Server
48
+
49
+ GAL provides an MCP server for AI coding agents. Auto-configured by `gal sync --pull`, or set up directly:
50
+
51
+ ```bash
52
+ gal mcp setup
53
+ gal mcp doctor
54
+ ```
55
+
56
+ Recommended onboarding:
57
+
58
+ ```bash
59
+ gal auth login
60
+ gal mcp setup
61
+ gal mcp doctor
62
+ ```
63
+
64
+ Manual config example:
65
+
66
+ **Claude Code** (`.mcp.json`):
67
+ ```json
68
+ {
69
+ "mcpServers": {
70
+ "gal": {
71
+ "type": "http",
72
+ "transport": "http",
73
+ "url": "https://api.gal.run/mcp"
74
+ }
75
+ }
76
+ }
77
+ ```
78
+
79
+ **Cursor** (`.cursor/mcp.json`), **Windsurf** (`.windsurf/mcp_config.json`), **Gemini** (`settings.json`):
80
+ ```json
81
+ {
82
+ "mcpServers": {
83
+ "gal": {
84
+ "type": "http",
85
+ "transport": "http",
86
+ "url": "https://api.gal.run/mcp"
87
+ }
88
+ }
89
+ }
90
+ ```
91
+
92
+ The hosted endpoint `https://api.gal.run/mcp` uses OAuth/Bearer auth.
93
+
94
+ ### Codex Setup
95
+
96
+ Preferred (OAuth):
97
+
98
+ ```bash
99
+ codex mcp add gal --url https://api.gal.run/mcp
100
+ codex mcp login gal
101
+ ```
102
+
103
+ If OAuth login fails with `Dynamic client registration not supported`, use bearer-token mode:
104
+
105
+ ```bash
106
+ export GAL_AUTH_TOKEN="$(node -e 'console.log(JSON.parse(require(\"fs\").readFileSync(process.env.HOME+\"/.gal/config.json\",\"utf8\")).authToken||\"\")')"
107
+ codex mcp remove gal
108
+ codex mcp add gal --url https://api.gal.run/mcp --bearer-token-env-var GAL_AUTH_TOKEN
109
+ ```
110
+
111
+ If `/mcp` shows `Tools: (none)`, verify `GAL_AUTH_TOKEN` is set in the Codex process environment.
112
+
113
+ ## CI/CD Integration
114
+
115
+ ```yaml
116
+ - name: Install GAL CLI
117
+ run: pnpm add -g @scheduler-systems/gal-run
118
+
119
+ - name: Sync configs
120
+ run: gal sync --pull
121
+ env:
122
+ GAL_TOKEN: ${{ secrets.GAL_TOKEN }}
123
+ ```
124
+
125
+ ## Documentation
126
+
127
+ - Docs: https://gal.run/docs
128
+ - Dashboard: https://app.gal.run
129
+ - Issues: https://github.com/Scheduler-Systems/gal-run/issues
130
+
131
+ ## License
132
+
133
+ Proprietary - Copyright (c) 2026 Scheduler Systems. All rights reserved.