indigo-cli 0.1.0 → 0.1.1
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/README.md +65 -207
- package/package.json +16 -12
- package/main.js +0 -4557
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Indigo CLI
|
|
2
2
|
|
|
3
|
-
Terminal-based access to Indigo for power users. Authenticate, browse signals, manage meetings
|
|
3
|
+
Terminal-based access to Indigo for power users. Authenticate, browse signals, and manage meetings without launching the Electron app.
|
|
4
4
|
|
|
5
5
|
## Table of Contents
|
|
6
6
|
|
|
@@ -10,7 +10,6 @@ Terminal-based access to Indigo for power users. Authenticate, browse signals, m
|
|
|
10
10
|
- [auth](#auth---authentication-commands)
|
|
11
11
|
- [account](#account---account-management)
|
|
12
12
|
- [signals](#signals---signal-management)
|
|
13
|
-
- [chat](#chat---chat-with-indigo-ai)
|
|
14
13
|
- [setup](#setup---configuration-and-setup)
|
|
15
14
|
- [meetings](#meetings---meeting-management)
|
|
16
15
|
- [Exit Codes](#exit-codes)
|
|
@@ -21,60 +20,10 @@ Terminal-based access to Indigo for power users. Authenticate, browse signals, m
|
|
|
21
20
|
|
|
22
21
|
## Installation
|
|
23
22
|
|
|
24
|
-
### npm
|
|
23
|
+
### npm
|
|
25
24
|
|
|
26
25
|
```bash
|
|
27
|
-
npm install -g
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
### Standalone binaries (no Node.js required)
|
|
31
|
-
|
|
32
|
-
Download the binary for your platform from [GitHub Releases](https://github.com/anthropics/indigo-nx/releases):
|
|
33
|
-
|
|
34
|
-
| Platform | Download |
|
|
35
|
-
|----------|----------|
|
|
36
|
-
| macOS (Apple Silicon) | `indigo-macos-arm64` |
|
|
37
|
-
| macOS (Intel) | `indigo-macos-x64` |
|
|
38
|
-
| Linux (x64) | `indigo-linux-x64` |
|
|
39
|
-
| Windows (x64) | `indigo-win-x64.exe` |
|
|
40
|
-
|
|
41
|
-
#### macOS / Linux
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
# Download the binary (example for macOS ARM64)
|
|
45
|
-
curl -L -o indigo https://github.com/anthropics/indigo-nx/releases/latest/download/indigo-macos-arm64
|
|
46
|
-
|
|
47
|
-
# Make it executable
|
|
48
|
-
chmod +x indigo
|
|
49
|
-
|
|
50
|
-
# Move to a directory in your PATH
|
|
51
|
-
sudo mv indigo /usr/local/bin/
|
|
52
|
-
|
|
53
|
-
# Verify installation
|
|
54
|
-
indigo --version
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
On macOS, you may need to allow the app in System Preferences > Security & Privacy if you see a security warning.
|
|
58
|
-
|
|
59
|
-
#### Windows
|
|
60
|
-
|
|
61
|
-
1. Download `indigo-win-x64.exe` from the releases page
|
|
62
|
-
2. Rename to `indigo.exe` (optional)
|
|
63
|
-
3. Move to a directory in your PATH, or run directly from the download location
|
|
64
|
-
|
|
65
|
-
```powershell
|
|
66
|
-
# Verify installation
|
|
67
|
-
.\indigo.exe --version
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
### From source
|
|
71
|
-
|
|
72
|
-
```bash
|
|
73
|
-
git clone https://github.com/anthropics/indigo-nx.git
|
|
74
|
-
cd indigo-nx
|
|
75
|
-
pnpm install
|
|
76
|
-
nx run cli:build
|
|
77
|
-
# Binary available at dist/apps/cli/main.js
|
|
26
|
+
npm install -g indigo-cli
|
|
78
27
|
```
|
|
79
28
|
|
|
80
29
|
## Quick Start
|
|
@@ -88,9 +37,6 @@ indigo setup
|
|
|
88
37
|
|
|
89
38
|
# 3. List your signals
|
|
90
39
|
indigo signals list
|
|
91
|
-
|
|
92
|
-
# 4. Start a chat session
|
|
93
|
-
indigo chat start
|
|
94
40
|
```
|
|
95
41
|
|
|
96
42
|
## Commands
|
|
@@ -104,6 +50,7 @@ Manage authentication with your Indigo account.
|
|
|
104
50
|
Authenticate with your Indigo account via browser-based OAuth.
|
|
105
51
|
|
|
106
52
|
**Syntax:**
|
|
53
|
+
|
|
107
54
|
```bash
|
|
108
55
|
indigo auth login [options]
|
|
109
56
|
```
|
|
@@ -111,10 +58,11 @@ indigo auth login [options]
|
|
|
111
58
|
**Options:**
|
|
112
59
|
| Option | Description |
|
|
113
60
|
|--------|-------------|
|
|
114
|
-
| `--force` | Force CLI-specific login even if
|
|
61
|
+
| `--force` | Force CLI-specific login even if Indigo desktop app credentials exist |
|
|
115
62
|
| `--json` | Output as JSON for scripting |
|
|
116
63
|
|
|
117
64
|
**Examples:**
|
|
65
|
+
|
|
118
66
|
```bash
|
|
119
67
|
# Standard login (opens browser)
|
|
120
68
|
indigo auth login
|
|
@@ -127,6 +75,7 @@ indigo auth login --json
|
|
|
127
75
|
```
|
|
128
76
|
|
|
129
77
|
**Notes:**
|
|
78
|
+
|
|
130
79
|
- If you're already logged into the Indigo desktop app, the CLI will automatically use those credentials
|
|
131
80
|
- Use `--force` to create CLI-specific credentials separate from the desktop app
|
|
132
81
|
|
|
@@ -137,6 +86,7 @@ indigo auth login --json
|
|
|
137
86
|
Log out and clear stored credentials.
|
|
138
87
|
|
|
139
88
|
**Syntax:**
|
|
89
|
+
|
|
140
90
|
```bash
|
|
141
91
|
indigo auth logout [options]
|
|
142
92
|
```
|
|
@@ -147,6 +97,7 @@ indigo auth logout [options]
|
|
|
147
97
|
| `--json` | Output as JSON for scripting |
|
|
148
98
|
|
|
149
99
|
**Examples:**
|
|
100
|
+
|
|
150
101
|
```bash
|
|
151
102
|
# Log out
|
|
152
103
|
indigo auth logout
|
|
@@ -162,6 +113,7 @@ indigo auth logout --json
|
|
|
162
113
|
Display current authentication status including user info and token expiry.
|
|
163
114
|
|
|
164
115
|
**Syntax:**
|
|
116
|
+
|
|
165
117
|
```bash
|
|
166
118
|
indigo auth status [options]
|
|
167
119
|
```
|
|
@@ -172,6 +124,7 @@ indigo auth status [options]
|
|
|
172
124
|
| `--json` | Output as JSON for scripting |
|
|
173
125
|
|
|
174
126
|
**Examples:**
|
|
127
|
+
|
|
175
128
|
```bash
|
|
176
129
|
# Check authentication status
|
|
177
130
|
indigo auth status
|
|
@@ -181,6 +134,7 @@ indigo auth status --json
|
|
|
181
134
|
```
|
|
182
135
|
|
|
183
136
|
**Output includes:**
|
|
137
|
+
|
|
184
138
|
- Login status (logged in / not logged in)
|
|
185
139
|
- User email and ID
|
|
186
140
|
- Token expiry time
|
|
@@ -198,6 +152,7 @@ Manage your Indigo account.
|
|
|
198
152
|
Create a new Indigo account via browser-based signup.
|
|
199
153
|
|
|
200
154
|
**Syntax:**
|
|
155
|
+
|
|
201
156
|
```bash
|
|
202
157
|
indigo account create [options]
|
|
203
158
|
```
|
|
@@ -210,6 +165,7 @@ indigo account create [options]
|
|
|
210
165
|
| `-p, --password <password>` | Password (development/test environments only) |
|
|
211
166
|
|
|
212
167
|
**Examples:**
|
|
168
|
+
|
|
213
169
|
```bash
|
|
214
170
|
# Create account via browser (standard flow)
|
|
215
171
|
indigo account create
|
|
@@ -219,6 +175,7 @@ indigo account create --email user@example.com --password mypassword123
|
|
|
219
175
|
```
|
|
220
176
|
|
|
221
177
|
**Notes:**
|
|
178
|
+
|
|
222
179
|
- The `--email` and `--password` flags are only available in development/test environments
|
|
223
180
|
- In production, account creation always uses the browser-based OAuth flow
|
|
224
181
|
- Password must be at least 8 characters
|
|
@@ -230,6 +187,7 @@ indigo account create --email user@example.com --password mypassword123
|
|
|
230
187
|
Display information about your current account.
|
|
231
188
|
|
|
232
189
|
**Syntax:**
|
|
190
|
+
|
|
233
191
|
```bash
|
|
234
192
|
indigo account info [options]
|
|
235
193
|
```
|
|
@@ -240,6 +198,7 @@ indigo account info [options]
|
|
|
240
198
|
| `--json` | Output as JSON for scripting |
|
|
241
199
|
|
|
242
200
|
**Examples:**
|
|
201
|
+
|
|
243
202
|
```bash
|
|
244
203
|
# View account info
|
|
245
204
|
indigo account info
|
|
@@ -249,6 +208,7 @@ indigo account info --json
|
|
|
249
208
|
```
|
|
250
209
|
|
|
251
210
|
**Output includes:**
|
|
211
|
+
|
|
252
212
|
- Email address
|
|
253
213
|
- Display name
|
|
254
214
|
- User ID
|
|
@@ -266,6 +226,7 @@ Browse and search your Indigo signals. Signals are insights extracted from your
|
|
|
266
226
|
List your recent signals.
|
|
267
227
|
|
|
268
228
|
**Syntax:**
|
|
229
|
+
|
|
269
230
|
```bash
|
|
270
231
|
indigo signals list [options]
|
|
271
232
|
```
|
|
@@ -278,12 +239,14 @@ indigo signals list [options]
|
|
|
278
239
|
| `-t, --type <type>` | Filter by signal type |
|
|
279
240
|
|
|
280
241
|
**Valid signal types:**
|
|
242
|
+
|
|
281
243
|
- `decision` - Decisions made in meetings or communications
|
|
282
244
|
- `action` - Action items identified
|
|
283
245
|
- `accomplishment` - Accomplishments or completed items
|
|
284
246
|
- `key_fact` - Important facts or information
|
|
285
247
|
|
|
286
248
|
**Examples:**
|
|
249
|
+
|
|
287
250
|
```bash
|
|
288
251
|
# List recent signals
|
|
289
252
|
indigo signals list
|
|
@@ -305,6 +268,7 @@ indigo signals list --type action --json
|
|
|
305
268
|
Search your signals by content.
|
|
306
269
|
|
|
307
270
|
**Syntax:**
|
|
271
|
+
|
|
308
272
|
```bash
|
|
309
273
|
indigo signals search <query> [options]
|
|
310
274
|
```
|
|
@@ -322,6 +286,7 @@ indigo signals search <query> [options]
|
|
|
322
286
|
| `-t, --type <type>` | Filter by signal type |
|
|
323
287
|
|
|
324
288
|
**Examples:**
|
|
289
|
+
|
|
325
290
|
```bash
|
|
326
291
|
# Search for budget-related signals
|
|
327
292
|
indigo signals search "budget"
|
|
@@ -340,6 +305,7 @@ indigo signals search "quarterly" --limit 10 --json
|
|
|
340
305
|
View the full details of a specific signal.
|
|
341
306
|
|
|
342
307
|
**Syntax:**
|
|
308
|
+
|
|
343
309
|
```bash
|
|
344
310
|
indigo signals view <id> [options]
|
|
345
311
|
```
|
|
@@ -355,6 +321,7 @@ indigo signals view <id> [options]
|
|
|
355
321
|
| `--json` | Output as JSON for scripting |
|
|
356
322
|
|
|
357
323
|
**Examples:**
|
|
324
|
+
|
|
358
325
|
```bash
|
|
359
326
|
# View a signal by ID
|
|
360
327
|
indigo signals view 507f1f77bcf86cd799439011
|
|
@@ -364,6 +331,7 @@ indigo signals view 507f1f77bcf86cd799439011 --json
|
|
|
364
331
|
```
|
|
365
332
|
|
|
366
333
|
**Output includes:**
|
|
334
|
+
|
|
367
335
|
- Signal type and title
|
|
368
336
|
- Source (meeting, email, etc.)
|
|
369
337
|
- Creation and update timestamps
|
|
@@ -372,104 +340,6 @@ indigo signals view 507f1f77bcf86cd799439011 --json
|
|
|
372
340
|
|
|
373
341
|
---
|
|
374
342
|
|
|
375
|
-
### chat - Chat with Indigo AI
|
|
376
|
-
|
|
377
|
-
Start and manage interactive chat sessions with Indigo AI.
|
|
378
|
-
|
|
379
|
-
#### chat start
|
|
380
|
-
|
|
381
|
-
Start a new interactive chat session.
|
|
382
|
-
|
|
383
|
-
**Syntax:**
|
|
384
|
-
```bash
|
|
385
|
-
indigo chat start [options]
|
|
386
|
-
```
|
|
387
|
-
|
|
388
|
-
**Options:**
|
|
389
|
-
| Option | Description |
|
|
390
|
-
|--------|-------------|
|
|
391
|
-
| `--json` | Output session info as JSON (non-interactive) |
|
|
392
|
-
| `--no-stream` | Disable streaming, wait for complete responses |
|
|
393
|
-
|
|
394
|
-
**Examples:**
|
|
395
|
-
```bash
|
|
396
|
-
# Start interactive chat
|
|
397
|
-
indigo chat start
|
|
398
|
-
|
|
399
|
-
# Start chat without streaming
|
|
400
|
-
indigo chat start --no-stream
|
|
401
|
-
|
|
402
|
-
# Get session info as JSON (for scripting)
|
|
403
|
-
indigo chat start --json
|
|
404
|
-
```
|
|
405
|
-
|
|
406
|
-
**Interactive commands:**
|
|
407
|
-
- Type your message and press Enter to send
|
|
408
|
-
- Type `exit` or `quit` to end the session
|
|
409
|
-
- Press `Ctrl+C` to cancel
|
|
410
|
-
|
|
411
|
-
---
|
|
412
|
-
|
|
413
|
-
#### chat continue
|
|
414
|
-
|
|
415
|
-
Resume an existing chat session.
|
|
416
|
-
|
|
417
|
-
**Syntax:**
|
|
418
|
-
```bash
|
|
419
|
-
indigo chat continue <session-id> [options]
|
|
420
|
-
```
|
|
421
|
-
|
|
422
|
-
**Arguments:**
|
|
423
|
-
| Argument | Description |
|
|
424
|
-
|----------|-------------|
|
|
425
|
-
| `session-id` | Chat session ID (24-character hexadecimal string) |
|
|
426
|
-
|
|
427
|
-
**Options:**
|
|
428
|
-
| Option | Description |
|
|
429
|
-
|--------|-------------|
|
|
430
|
-
| `--json` | Output session info as JSON (non-interactive) |
|
|
431
|
-
| `--no-stream` | Disable streaming, wait for complete responses |
|
|
432
|
-
|
|
433
|
-
**Examples:**
|
|
434
|
-
```bash
|
|
435
|
-
# Continue a previous session
|
|
436
|
-
indigo chat continue 507f1f77bcf86cd799439011
|
|
437
|
-
|
|
438
|
-
# Continue without streaming
|
|
439
|
-
indigo chat continue 507f1f77bcf86cd799439011 --no-stream
|
|
440
|
-
```
|
|
441
|
-
|
|
442
|
-
---
|
|
443
|
-
|
|
444
|
-
#### chat list
|
|
445
|
-
|
|
446
|
-
List your recent chat sessions.
|
|
447
|
-
|
|
448
|
-
**Syntax:**
|
|
449
|
-
```bash
|
|
450
|
-
indigo chat list [options]
|
|
451
|
-
```
|
|
452
|
-
|
|
453
|
-
**Options:**
|
|
454
|
-
| Option | Description |
|
|
455
|
-
|--------|-------------|
|
|
456
|
-
| `--json` | Output as JSON for scripting |
|
|
457
|
-
| `-n, --limit <number>` | Number of sessions to show (default: 10) |
|
|
458
|
-
|
|
459
|
-
**Examples:**
|
|
460
|
-
```bash
|
|
461
|
-
# List recent chat sessions
|
|
462
|
-
indigo chat list
|
|
463
|
-
|
|
464
|
-
# List more sessions
|
|
465
|
-
indigo chat list --limit 20
|
|
466
|
-
|
|
467
|
-
# Get sessions as JSON
|
|
468
|
-
indigo chat list --json
|
|
469
|
-
```
|
|
470
|
-
|
|
471
|
-
---
|
|
472
|
-
|
|
473
343
|
### setup - Configuration and Setup
|
|
474
344
|
|
|
475
345
|
Configure Indigo CLI settings including API keys and calendar integration.
|
|
@@ -479,6 +349,7 @@ Configure Indigo CLI settings including API keys and calendar integration.
|
|
|
479
349
|
Run the interactive setup wizard to configure all settings.
|
|
480
350
|
|
|
481
351
|
**Syntax:**
|
|
352
|
+
|
|
482
353
|
```bash
|
|
483
354
|
indigo setup [options]
|
|
484
355
|
indigo setup wizard [options]
|
|
@@ -490,6 +361,7 @@ indigo setup wizard [options]
|
|
|
490
361
|
| `--json` | Output current status as JSON (non-interactive) |
|
|
491
362
|
|
|
492
363
|
**Examples:**
|
|
364
|
+
|
|
493
365
|
```bash
|
|
494
366
|
# Run setup wizard
|
|
495
367
|
indigo setup
|
|
@@ -499,6 +371,7 @@ indigo setup --json
|
|
|
499
371
|
```
|
|
500
372
|
|
|
501
373
|
**Setup wizard covers:**
|
|
374
|
+
|
|
502
375
|
1. Authentication verification
|
|
503
376
|
2. API keys configuration (BYOK - Bring Your Own Key)
|
|
504
377
|
3. Google Calendar connection
|
|
@@ -510,6 +383,7 @@ indigo setup --json
|
|
|
510
383
|
Show current configuration status.
|
|
511
384
|
|
|
512
385
|
**Syntax:**
|
|
386
|
+
|
|
513
387
|
```bash
|
|
514
388
|
indigo setup status [options]
|
|
515
389
|
```
|
|
@@ -520,6 +394,7 @@ indigo setup status [options]
|
|
|
520
394
|
| `--json` | Output as JSON for scripting |
|
|
521
395
|
|
|
522
396
|
**Examples:**
|
|
397
|
+
|
|
523
398
|
```bash
|
|
524
399
|
# Check setup status
|
|
525
400
|
indigo setup status
|
|
@@ -529,6 +404,7 @@ indigo setup status --json
|
|
|
529
404
|
```
|
|
530
405
|
|
|
531
406
|
**Output includes:**
|
|
407
|
+
|
|
532
408
|
- Authentication status
|
|
533
409
|
- Configured API key providers
|
|
534
410
|
- Calendar connection status
|
|
@@ -540,6 +416,7 @@ indigo setup status --json
|
|
|
540
416
|
Connect and manage Google Calendar integration.
|
|
541
417
|
|
|
542
418
|
**Syntax:**
|
|
419
|
+
|
|
543
420
|
```bash
|
|
544
421
|
indigo setup calendar [options]
|
|
545
422
|
```
|
|
@@ -553,6 +430,7 @@ indigo setup calendar [options]
|
|
|
553
430
|
| `--disconnect` | Disconnect Google Calendar |
|
|
554
431
|
|
|
555
432
|
**Examples:**
|
|
433
|
+
|
|
556
434
|
```bash
|
|
557
435
|
# Connect Google Calendar (opens browser)
|
|
558
436
|
indigo setup calendar
|
|
@@ -574,6 +452,7 @@ indigo setup calendar --disconnect
|
|
|
574
452
|
Configure API keys for AI model providers (BYOK - Bring Your Own Key).
|
|
575
453
|
|
|
576
454
|
**Syntax:**
|
|
455
|
+
|
|
577
456
|
```bash
|
|
578
457
|
indigo setup keys [options]
|
|
579
458
|
```
|
|
@@ -595,6 +474,7 @@ indigo setup keys [options]
|
|
|
595
474
|
| `xai` | Grok models |
|
|
596
475
|
|
|
597
476
|
**Examples:**
|
|
477
|
+
|
|
598
478
|
```bash
|
|
599
479
|
# Interactive setup for all providers
|
|
600
480
|
indigo setup keys
|
|
@@ -623,6 +503,7 @@ View and search your calendar meetings. Requires Google Calendar to be connected
|
|
|
623
503
|
List your meetings.
|
|
624
504
|
|
|
625
505
|
**Syntax:**
|
|
506
|
+
|
|
626
507
|
```bash
|
|
627
508
|
indigo meetings list [options]
|
|
628
509
|
```
|
|
@@ -636,6 +517,7 @@ indigo meetings list [options]
|
|
|
636
517
|
| `--past` | Show past meetings |
|
|
637
518
|
|
|
638
519
|
**Examples:**
|
|
520
|
+
|
|
639
521
|
```bash
|
|
640
522
|
# List upcoming meetings
|
|
641
523
|
indigo meetings list
|
|
@@ -654,6 +536,7 @@ indigo meetings list --limit 50 --json
|
|
|
654
536
|
View detailed information about a specific meeting.
|
|
655
537
|
|
|
656
538
|
**Syntax:**
|
|
539
|
+
|
|
657
540
|
```bash
|
|
658
541
|
indigo meetings view <id> [options]
|
|
659
542
|
```
|
|
@@ -669,6 +552,7 @@ indigo meetings view <id> [options]
|
|
|
669
552
|
| `--json` | Output as JSON for scripting |
|
|
670
553
|
|
|
671
554
|
**Examples:**
|
|
555
|
+
|
|
672
556
|
```bash
|
|
673
557
|
# View meeting details
|
|
674
558
|
indigo meetings view 507f1f77bcf86cd799439011
|
|
@@ -678,6 +562,7 @@ indigo meetings view 507f1f77bcf86cd799439011 --json
|
|
|
678
562
|
```
|
|
679
563
|
|
|
680
564
|
**Output includes:**
|
|
565
|
+
|
|
681
566
|
- Meeting title and status
|
|
682
567
|
- Date, time, and duration
|
|
683
568
|
- Meeting URL
|
|
@@ -691,6 +576,7 @@ indigo meetings view 507f1f77bcf86cd799439011 --json
|
|
|
691
576
|
Search meetings by title, description, or attendee.
|
|
692
577
|
|
|
693
578
|
**Syntax:**
|
|
579
|
+
|
|
694
580
|
```bash
|
|
695
581
|
indigo meetings search <query> [options]
|
|
696
582
|
```
|
|
@@ -709,6 +595,7 @@ indigo meetings search <query> [options]
|
|
|
709
595
|
| `--past` | Search only past meetings |
|
|
710
596
|
|
|
711
597
|
**Examples:**
|
|
598
|
+
|
|
712
599
|
```bash
|
|
713
600
|
# Search all meetings
|
|
714
601
|
indigo meetings search "standup"
|
|
@@ -726,16 +613,17 @@ indigo meetings search "quarterly" --past --limit 10
|
|
|
726
613
|
|
|
727
614
|
The CLI uses standardized exit codes for scripting and automation:
|
|
728
615
|
|
|
729
|
-
| Code | Name
|
|
730
|
-
|
|
731
|
-
| 0
|
|
732
|
-
| 1
|
|
733
|
-
| 2
|
|
734
|
-
| 3
|
|
735
|
-
| 4
|
|
736
|
-
| 5
|
|
616
|
+
| Code | Name | Description |
|
|
617
|
+
| ---- | ----------------------- | --------------------------------------------------------------- |
|
|
618
|
+
| 0 | Success | Command completed successfully |
|
|
619
|
+
| 1 | General Error | An unexpected error occurred |
|
|
620
|
+
| 2 | Authentication Required | User is not authenticated; run `indigo auth login` |
|
|
621
|
+
| 3 | Not Found | Requested resource (signal, meeting) was not found |
|
|
622
|
+
| 4 | Configuration Error | Missing or invalid configuration (e.g., calendar not connected) |
|
|
623
|
+
| 5 | Validation Error | Invalid command arguments or options |
|
|
737
624
|
|
|
738
625
|
**Example usage in scripts:**
|
|
626
|
+
|
|
739
627
|
```bash
|
|
740
628
|
indigo signals list --json > signals.json
|
|
741
629
|
if [ $? -eq 2 ]; then
|
|
@@ -748,28 +636,12 @@ fi
|
|
|
748
636
|
|
|
749
637
|
## Configuration
|
|
750
638
|
|
|
751
|
-
### Environment Variables
|
|
752
|
-
|
|
753
|
-
For chat functionality, the following environment variables must be set:
|
|
754
|
-
|
|
755
|
-
| Variable | Description |
|
|
756
|
-
|----------|-------------|
|
|
757
|
-
| `LANGGRAPH_API_URL` | URL of your LangGraph instance |
|
|
758
|
-
| `LANGSMITH_API_KEY` | Your LangSmith API key |
|
|
759
|
-
| `LANGGRAPH_ASSISTANT_ID` | Your LangGraph assistant ID |
|
|
760
|
-
|
|
761
|
-
**Example:**
|
|
762
|
-
```bash
|
|
763
|
-
export LANGGRAPH_API_URL="https://your-langgraph-instance.com"
|
|
764
|
-
export LANGSMITH_API_KEY="your-api-key"
|
|
765
|
-
export LANGGRAPH_ASSISTANT_ID="your-assistant-id"
|
|
766
|
-
```
|
|
767
|
-
|
|
768
639
|
### Credential Storage
|
|
769
640
|
|
|
770
641
|
The CLI stores credentials securely using one of two methods:
|
|
771
642
|
|
|
772
643
|
1. **System keychain** (preferred) - Uses the native OS keychain:
|
|
644
|
+
|
|
773
645
|
- macOS: Keychain Access
|
|
774
646
|
- Windows: Credential Manager
|
|
775
647
|
- Linux: Secret Service API (GNOME Keyring, KWallet)
|
|
@@ -777,6 +649,7 @@ The CLI stores credentials securely using one of two methods:
|
|
|
777
649
|
2. **Encrypted config file** (fallback) - Used when system keychain is unavailable
|
|
778
650
|
|
|
779
651
|
**Config file location:**
|
|
652
|
+
|
|
780
653
|
- macOS/Linux: `~/.config/indigo-cli/`
|
|
781
654
|
- Windows: `%APPDATA%/indigo-cli/`
|
|
782
655
|
|
|
@@ -811,6 +684,7 @@ indigo signals list --json
|
|
|
811
684
|
JSON output follows a consistent schema:
|
|
812
685
|
|
|
813
686
|
**Success response:**
|
|
687
|
+
|
|
814
688
|
```json
|
|
815
689
|
{
|
|
816
690
|
"success": true,
|
|
@@ -819,6 +693,7 @@ JSON output follows a consistent schema:
|
|
|
819
693
|
```
|
|
820
694
|
|
|
821
695
|
**Error response:**
|
|
696
|
+
|
|
822
697
|
```json
|
|
823
698
|
{
|
|
824
699
|
"success": false,
|
|
@@ -848,6 +723,7 @@ indigo signals list --json | jq '[.[] | select(.insightType == "decision")]'
|
|
|
848
723
|
**Problem:** Commands fail with exit code 2 and "Not authenticated" message.
|
|
849
724
|
|
|
850
725
|
**Solution:**
|
|
726
|
+
|
|
851
727
|
```bash
|
|
852
728
|
# Log in to your account
|
|
853
729
|
indigo auth login
|
|
@@ -861,6 +737,7 @@ indigo auth status
|
|
|
861
737
|
**Problem:** You need to log in every time you use the CLI.
|
|
862
738
|
|
|
863
739
|
**Solution:**
|
|
740
|
+
|
|
864
741
|
1. Check if keytar (system keychain integration) installed correctly
|
|
865
742
|
2. If keytar fails, credentials fall back to an encrypted config file
|
|
866
743
|
3. Verify the config directory exists and is writable:
|
|
@@ -868,24 +745,12 @@ indigo auth status
|
|
|
868
745
|
ls -la ~/.config/indigo-cli/
|
|
869
746
|
```
|
|
870
747
|
|
|
871
|
-
### Chat not working
|
|
872
|
-
|
|
873
|
-
**Problem:** Chat commands fail with configuration errors.
|
|
874
|
-
|
|
875
|
-
**Solution:**
|
|
876
|
-
1. Verify LangGraph environment variables are set:
|
|
877
|
-
```bash
|
|
878
|
-
echo $LANGGRAPH_API_URL
|
|
879
|
-
echo $LANGSMITH_API_KEY
|
|
880
|
-
echo $LANGGRAPH_ASSISTANT_ID
|
|
881
|
-
```
|
|
882
|
-
2. Ensure all three variables are configured correctly
|
|
883
|
-
|
|
884
748
|
### Calendar commands failing
|
|
885
749
|
|
|
886
750
|
**Problem:** Meeting commands fail with "Calendar not connected" error.
|
|
887
751
|
|
|
888
752
|
**Solution:**
|
|
753
|
+
|
|
889
754
|
```bash
|
|
890
755
|
# Check calendar connection status
|
|
891
756
|
indigo setup calendar --status
|
|
@@ -899,6 +764,7 @@ indigo setup calendar
|
|
|
899
764
|
**Problem:** Signal filtering fails with validation error.
|
|
900
765
|
|
|
901
766
|
**Solution:** Use one of the valid signal types:
|
|
767
|
+
|
|
902
768
|
- `decision`
|
|
903
769
|
- `action`
|
|
904
770
|
- `accomplishment`
|
|
@@ -913,6 +779,7 @@ indigo signals list --type decision
|
|
|
913
779
|
**Problem:** Commands fail with "Invalid ID format" error.
|
|
914
780
|
|
|
915
781
|
**Solution:** IDs must be 24-character hexadecimal strings (MongoDB ObjectIds).
|
|
782
|
+
|
|
916
783
|
```bash
|
|
917
784
|
# Correct format
|
|
918
785
|
indigo signals view 507f1f77bcf86cd799439011
|
|
@@ -926,6 +793,7 @@ indigo signals list --json | jq '.[0]._id'
|
|
|
926
793
|
**Problem:** Browser doesn't open automatically for OAuth.
|
|
927
794
|
|
|
928
795
|
**Solution:**
|
|
796
|
+
|
|
929
797
|
1. Copy the URL displayed in the terminal
|
|
930
798
|
2. Paste it manually into your browser
|
|
931
799
|
3. Complete the login flow
|
|
@@ -964,9 +832,6 @@ indigo meetings list
|
|
|
964
832
|
|
|
965
833
|
# Review recent signals
|
|
966
834
|
indigo signals list --limit 10
|
|
967
|
-
|
|
968
|
-
# Start a chat to discuss your day
|
|
969
|
-
indigo chat start
|
|
970
835
|
```
|
|
971
836
|
|
|
972
837
|
### Searching for information
|
|
@@ -1000,27 +865,20 @@ fi
|
|
|
1000
865
|
indigo meetings list --json | jq '[.[] | {title: .meeting_title, time: .start_time}]'
|
|
1001
866
|
```
|
|
1002
867
|
|
|
1003
|
-
### Continuing a previous chat
|
|
1004
|
-
|
|
1005
|
-
```bash
|
|
1006
|
-
# List recent chat sessions
|
|
1007
|
-
indigo chat list
|
|
1008
|
-
|
|
1009
|
-
# Continue a specific session
|
|
1010
|
-
indigo chat continue 507f1f77bcf86cd799439011
|
|
1011
|
-
```
|
|
1012
|
-
|
|
1013
868
|
---
|
|
1014
869
|
|
|
1015
870
|
## Requirements
|
|
1016
871
|
|
|
1017
872
|
**npm installation:**
|
|
873
|
+
|
|
1018
874
|
- Node.js 18.0.0 or higher
|
|
1019
875
|
|
|
1020
876
|
**Standalone binaries:**
|
|
877
|
+
|
|
1021
878
|
- No runtime dependencies (Node.js is bundled)
|
|
1022
879
|
|
|
1023
880
|
**Optional (all installation methods):**
|
|
881
|
+
|
|
1024
882
|
- System keychain access for secure credential storage
|
|
1025
883
|
|
|
1026
884
|
---
|