@great-arrow/cli 0.1.12 → 0.1.23

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 (4) hide show
  1. package/LICENSE +37 -21
  2. package/README.md +33 -5
  3. package/dist/index.js +11285 -8035
  4. package/package.json +13 -10
package/LICENSE CHANGED
@@ -1,21 +1,37 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Great Arrow Digital
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ GREATARROW.AI CLI PROPRIETARY SOFTWARE LICENSE
2
+
3
+ Copyright (c) 2024-2026 Manito AI (manito.ai). All rights reserved.
4
+
5
+ The GreatArrow.ai command-line interface, including its source code,
6
+ documentation, and distributed package (the "CLI"), is proprietary software
7
+ owned by Manito AI.
8
+
9
+ LIMITED USE RIGHT. Subject to the GreatArrow.ai Terms of Service, Manito AI
10
+ grants an authorized GreatArrow.ai user a limited, revocable, non-exclusive,
11
+ non-transferable right to install and execute an unmodified copy of the CLI
12
+ solely to access and use the GreatArrow.ai hosted service.
13
+
14
+ NO OTHER LICENSE. No right is granted to copy, modify, adapt, translate,
15
+ reverse engineer, create derivative works from, distribute, sublicense, sell,
16
+ host, or use the CLI to provide a competing product or service, except where
17
+ applicable law expressly permits a restriction to be overridden.
18
+
19
+ THIRD-PARTY COMPONENTS. The CLI incorporates third-party components that
20
+ remain subject to their respective licenses. This license does not limit any
21
+ rights granted directly by those third-party licenses.
22
+
23
+ TERMINATION. The limited use right ends automatically when the user no longer
24
+ has authorization to use GreatArrow.ai or breaches these terms. On
25
+ termination, the user must stop using and delete the CLI.
26
+
27
+ NO WARRANTY. THE CLI IS PROVIDED "AS IS" AND "AS AVAILABLE," WITHOUT WARRANTY
28
+ OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING MERCHANTABILITY, FITNESS FOR A
29
+ PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
30
+
31
+ LIMITATION OF LIABILITY. TO THE MAXIMUM EXTENT PERMITTED BY LAW, MANITO AI AND
32
+ ITS AFFILIATES WILL NOT BE LIABLE FOR INDIRECT, INCIDENTAL, SPECIAL,
33
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES ARISING FROM OR RELATING TO THE CLI.
34
+
35
+ The Terms of Service are published at
36
+ https://www.greatarrow.ai/legal/terms. Licensing inquiries:
37
+ legal@greatarrow.ai.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @great-arrow/cli (`gad`)
2
2
 
3
- Terminal-based access to the Great Arrow Digital platform — memory management, workspace administration, integration diagnostics, MCP tooling, and deployment operations.
3
+ Terminal-based access to the Great Arrow Digital platform — memory management, workspace administration, integration diagnostics, and MCP tooling.
4
4
 
5
5
  ## Install
6
6
 
@@ -10,6 +10,14 @@ npm install -g @great-arrow/cli
10
10
 
11
11
  Requires **Node.js 24+**.
12
12
 
13
+ ## Diagnostic telemetry
14
+
15
+ CLI diagnostics are opt-in. Enable with `GAD_TELEMETRY=1` for a session or set
16
+ `telemetry_enabled = true` in `~/.gadrc`; disable with `GAD_TELEMETRY=0`.
17
+ Only bounded command, network, and MCP failure metadata is sent. Credentials,
18
+ cookies, paths, and email-like fields are redacted; telemetry failures never
19
+ affect command behavior.
20
+
13
21
  ## Authentication
14
22
 
15
23
  ```bash
@@ -101,6 +109,14 @@ override: `ALLOW_FOREIGN_WORKTREE=1`.
101
109
  # Full health check (token, API, integrations, MCP)
102
110
  gad doctor
103
111
 
112
+ # Claude Code surface: server entry, hook wiring, hook credential — and
113
+ # whether every hook you have CONFIGURED can actually run. That last check
114
+ # reads all four settings scopes (managed, user, project, local), because a
115
+ # hook that cannot execute fails silently on every single session and no
116
+ # repo-side test can see your user or local file.
117
+ gad doctor claude
118
+ gad doctor claude --enforce # back up and repair what is repairable
119
+
104
120
  # Integration management
105
121
  gad integrations list
106
122
  gad integrations sync github
@@ -109,10 +125,25 @@ gad integrations sync github
109
125
  ### MCP Server
110
126
 
111
127
  ```bash
128
+ # Run a local stdio MCP server bridging to the hosted Great Arrow endpoint.
129
+ # This is what AI clients configured with `npx -y @great-arrow/cli mcp start`
130
+ # execute. Auth: GAD_API_TOKEN env → GAD_TOKEN env → stored `gad login`
131
+ # credential. For one-off credentials, see `gad mcp start --help`.
132
+ gad mcp start
133
+
112
134
  gad mcp status
113
135
  gad mcp logs
114
136
  gad mcp test
115
137
 
138
+ # Audit every Great Arrow MCP connection on this machine: duplicate entries per
139
+ # client (with the most capable one to keep and the exact command to drop the
140
+ # rest), credential stores, and live reachability. `--migrate` copies the newest
141
+ # valid legacy per-cwd credential into the per-user store and writes the
142
+ # keychain credential to the file the stdio proxy reads first.
143
+ gad mcp doctor
144
+ gad mcp doctor --migrate
145
+ gad mcp doctor --json
146
+
116
147
  # Generate MCP config for your AI client
117
148
  gad mcp install claude
118
149
  gad mcp install cursor
@@ -152,12 +183,9 @@ gad agent invoke research-analyst --task "Summarize Q2 metrics"
152
183
  gad ask "What did we decide about the caching layer?"
153
184
  ```
154
185
 
155
- ### Deployment & Operations
186
+ ### Operations
156
187
 
157
188
  ```bash
158
- gad deploy # Interactive confirmation
159
- gad deploy --confirm # CI/CD (no prompt)
160
- gad migrate # Run pending DB migrations
161
189
  gad smoke # MCP smoke test suite
162
190
  ```
163
191