@capgo/cli 8.85.0 → 8.86.0

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 CHANGED
@@ -165,10 +165,15 @@ Capgo continues to load the root config while writing only the selected source.
165
165
  - [Delete_old](#key-delete_old)
166
166
  - 👤 [Account](#account)
167
167
  - [Whoami](#account-whoami)
168
+ - [Get](#account-get)
169
+ - [Set](#account-set)
168
170
  - 🔹 [Organization](#organization)
169
171
  - [List](#organization-list)
170
172
  - [Add](#organization-add)
171
173
  - [Members](#organization-members)
174
+ - [Members-invite](#organization-members-invite)
175
+ - [Members-role](#organization-members-role)
176
+ - [Members-remove](#organization-members-remove)
172
177
  - [Set](#organization-set)
173
178
  - [Delete](#organization-delete)
174
179
  - 🔹 [Organisation](#organisation)
@@ -1047,6 +1052,10 @@ npx @capgo/cli@latest channel set production com.example.app --bundle 1.0.0 --st
1047
1052
  | **--no-ios** | <code>boolean</code> | Disable sending update to iOS devices |
1048
1053
  | **--android** | <code>boolean</code> | Allow sending update to Android devices |
1049
1054
  | **--no-android** | <code>boolean</code> | Disable sending update to Android devices |
1055
+ | **--electron** | <code>boolean</code> | Allow sending update to Electron apps |
1056
+ | **--no-electron** | <code>boolean</code> | Disable sending update to Electron apps |
1057
+ | **--pause** | <code>boolean</code> | Pause all updates on this channel (devices stay on their current bundle) |
1058
+ | **--resume** | <code>boolean</code> | Resume updates on a paused channel |
1050
1059
  | **--self-assign** | <code>boolean</code> | Allow device to self-assign to this channel |
1051
1060
  | **--no-self-assign** | <code>boolean</code> | Disable devices to self-assign to this channel |
1052
1061
  | **--disable-auto-update** | <code>string</code> | Block updates by type: major, minor, metadata, patch, or none (allows all) |
@@ -1187,6 +1196,65 @@ npx @capgo/cli@latest account whoami
1187
1196
  | -------------- | ------------- | -------------------- |
1188
1197
  | **-a** | <code>string</code> | API key to link to your account |
1189
1198
 
1199
+ ### <a id="account-get"></a> 🔹 **Get**
1200
+
1201
+ **Alias:** `g`
1202
+
1203
+ ```bash
1204
+ npx @capgo/cli@latest account get
1205
+ ```
1206
+
1207
+ 📇 Show your account profile and email notification settings.
1208
+
1209
+ **Example:**
1210
+
1211
+ ```bash
1212
+ npx @capgo/cli@latest account get
1213
+ ```
1214
+
1215
+ **Options:**
1216
+
1217
+ | Param | Type | Description |
1218
+ | -------------- | ------------- | -------------------- |
1219
+ | **-a** | <code>string</code> | API key to link to your account |
1220
+ | **--supa-host** | <code>string</code> | Custom Supabase host URL (for self-hosting or Capgo development) |
1221
+ | **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
1222
+
1223
+ ### <a id="account-set"></a> ⚙️ **Set**
1224
+
1225
+ **Alias:** `s`
1226
+
1227
+ ```bash
1228
+ npx @capgo/cli@latest account set
1229
+ ```
1230
+
1231
+ ✏️ Update your account profile and email notification settings.
1232
+ Email, password, 2FA and account deletion stay in the web dashboard because they need an interactive sign-in.
1233
+
1234
+ **Example:**
1235
+
1236
+ ```bash
1237
+ npx @capgo/cli@latest account set --first-name Ada --last-name Lovelace
1238
+ ```
1239
+
1240
+ **Options:**
1241
+
1242
+ | Param | Type | Description |
1243
+ | -------------- | ------------- | -------------------- |
1244
+ | **--first-name** | <code>string</code> | First name |
1245
+ | **--last-name** | <code>string</code> | Last name |
1246
+ | **--country** | <code>string</code> | Country |
1247
+ | **--discord-username** | <code>string</code> | Discord username (empty or null to clear) |
1248
+ | **--format-locale** | <code>string</code> | Locale used to format dates and numbers, e.g. en-US (empty or null to clear) |
1249
+ | **--notifications** | <code>boolean</code> | Enable email notifications |
1250
+ | **--no-notifications** | <code>boolean</code> | Disable all email notifications |
1251
+ | **--newsletter** | <code>boolean</code> | Subscribe to the newsletter |
1252
+ | **--no-newsletter** | <code>boolean</code> | Unsubscribe from the newsletter |
1253
+ | **--email-preference** | <code>string</code> | Email notification toggle (repeatable), e.g. --email-preference weekly_stats=false. Keys: usage_limit, credit_usage, bundle_created, bundle_deployed, deploy_stats_24h, weekly_stats, monthly_stats, billing_period_stats, device_error, channel_self_rejected, onboarding, builder_onboarding, bundle_incompatible, cli_realtime_feed |
1254
+ | **-a** | <code>string</code> | API key to link to your account |
1255
+ | **--supa-host** | <code>string</code> | Custom Supabase host URL (for self-hosting or Capgo development) |
1256
+ | **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
1257
+
1190
1258
 
1191
1259
  ## <a id="organization"></a> 🔹 **Organization**
1192
1260
 
@@ -1270,6 +1338,77 @@ npx @capgo/cli@latest organization members ORG_ID
1270
1338
  | **--supa-host** | <code>string</code> | Custom Supabase host URL (for self-hosting or Capgo development) |
1271
1339
  | **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
1272
1340
 
1341
+ ### <a id="organization-members-invite"></a> 🔹 **Members-invite**
1342
+
1343
+ ```bash
1344
+ npx @capgo/cli@latest organization members-invite
1345
+ ```
1346
+
1347
+ ✉️ Invite a user to an organization by email with a role.
1348
+
1349
+ **Example:**
1350
+
1351
+ ```bash
1352
+ npx @capgo/cli@latest organization members-invite ORG_ID --email teammate@example.com --role org_admin
1353
+ ```
1354
+
1355
+ **Options:**
1356
+
1357
+ | Param | Type | Description |
1358
+ | -------------- | ------------- | -------------------- |
1359
+ | **-e** | <code>string</code> | Email of the user to invite |
1360
+ | **-r** | <code>string</code> | Role: org_member, org_billing_admin, org_admin or org_super_admin |
1361
+ | **-a** | <code>string</code> | API key to link to your account |
1362
+ | **--supa-host** | <code>string</code> | Custom Supabase host URL (for self-hosting or Capgo development) |
1363
+ | **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
1364
+
1365
+ ### <a id="organization-members-role"></a> 🔹 **Members-role**
1366
+
1367
+ ```bash
1368
+ npx @capgo/cli@latest organization members-role
1369
+ ```
1370
+
1371
+ 🎚️ Change the role of an organization member or pending invite.
1372
+
1373
+ **Example:**
1374
+
1375
+ ```bash
1376
+ npx @capgo/cli@latest organization members-role ORG_ID --email teammate@example.com --role org_member
1377
+ ```
1378
+
1379
+ **Options:**
1380
+
1381
+ | Param | Type | Description |
1382
+ | -------------- | ------------- | -------------------- |
1383
+ | **-e** | <code>string</code> | Email of the member |
1384
+ | **-r** | <code>string</code> | Role: org_member, org_billing_admin, org_admin or org_super_admin |
1385
+ | **-a** | <code>string</code> | API key to link to your account |
1386
+ | **--supa-host** | <code>string</code> | Custom Supabase host URL (for self-hosting or Capgo development) |
1387
+ | **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
1388
+
1389
+ ### <a id="organization-members-remove"></a> 🔹 **Members-remove**
1390
+
1391
+ ```bash
1392
+ npx @capgo/cli@latest organization members-remove
1393
+ ```
1394
+
1395
+ 🚪 Remove a member from an organization.
1396
+
1397
+ **Example:**
1398
+
1399
+ ```bash
1400
+ npx @capgo/cli@latest organization members-remove ORG_ID --email teammate@example.com
1401
+ ```
1402
+
1403
+ **Options:**
1404
+
1405
+ | Param | Type | Description |
1406
+ | -------------- | ------------- | -------------------- |
1407
+ | **-e** | <code>string</code> | Email of the member to remove |
1408
+ | **-a** | <code>string</code> | API key to link to your account |
1409
+ | **--supa-host** | <code>string</code> | Custom Supabase host URL (for self-hosting or Capgo development) |
1410
+ | **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
1411
+
1273
1412
  ### <a id="organization-set"></a> ⚙️ **Set**
1274
1413
 
1275
1414
  **Alias:** `s`
@@ -1309,6 +1448,11 @@ npx @capgo/cli@latest organization set ORG_ID --name "New Name"
1309
1448
  | **--max-apikey-expiration-days** | <code>string</code> | Maximum days before API key expiration (1-365, null for no limit) |
1310
1449
  | **--enforce-hashed-api-keys** | <code>boolean</code> | Enforce hashed/secure API keys (key value stored as hash, shown only once) |
1311
1450
  | **--no-enforce-hashed-api-keys** | <code>boolean</code> | Allow plain-text API keys |
1451
+ | **--website** | <code>string</code> | Organization website URL (empty or null to clear) |
1452
+ | **--enforce-encrypted-bundles** | <code>boolean</code> | Require every uploaded bundle to be encrypted |
1453
+ | **--no-enforce-encrypted-bundles** | <code>boolean</code> | Allow unencrypted bundles |
1454
+ | **--required-encryption-key** | <code>string</code> | Only accept bundles encrypted with this public key fingerprint (null to clear) |
1455
+ | **--email-preference** | <code>string</code> | Organization email notification toggle (repeatable), e.g. --email-preference weekly_stats=false. Keys: usage_limit, credit_usage, bundle_created, bundle_deployed, deploy_stats_24h, weekly_stats, monthly_stats, billing_period_stats, device_error, channel_self_rejected, onboarding, builder_onboarding |
1312
1456
  | **-a** | <code>string</code> | API key to link to your account |
1313
1457
  | **--supa-host** | <code>string</code> | Custom Supabase host URL (for self-hosting or Capgo development) |
1314
1458
  | **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
@@ -1413,6 +1557,11 @@ npx @capgo/cli@latest organisation set
1413
1557
  | **--max-apikey-expiration-days** | <code>string</code> | Maximum days before API key expiration (1-365, null for no limit) |
1414
1558
  | **--enforce-hashed-api-keys** | <code>boolean</code> | Enforce hashed/secure API keys (key value stored as hash, shown only once) |
1415
1559
  | **--no-enforce-hashed-api-keys** | <code>boolean</code> | Allow plain-text API keys |
1560
+ | **--website** | <code>string</code> | Organization website URL (empty or null to clear) |
1561
+ | **--enforce-encrypted-bundles** | <code>boolean</code> | Require every uploaded bundle to be encrypted |
1562
+ | **--no-enforce-encrypted-bundles** | <code>boolean</code> | Allow unencrypted bundles |
1563
+ | **--required-encryption-key** | <code>string</code> | Only accept bundles encrypted with this public key fingerprint (null to clear) |
1564
+ | **--email-preference** | <code>string</code> | Organization email notification toggle (repeatable), e.g. --email-preference weekly_stats=false. Keys: usage_limit, credit_usage, bundle_created, bundle_deployed, deploy_stats_24h, weekly_stats, monthly_stats, billing_period_stats, device_error, channel_self_rejected, onboarding, builder_onboarding |
1416
1565
  | **-a** | <code>string</code> | API key to link to your account |
1417
1566
  | **--supa-host** | <code>string</code> | Custom Supabase host URL (for self-hosting or Capgo development) |
1418
1567
  | **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
@@ -2208,11 +2357,13 @@ Selected tools exposed via MCP:
2208
2357
  - capgo_upload_bundle, capgo_list_bundles, capgo_delete_bundle, capgo_cleanup_bundles
2209
2358
  - capgo_list_channels, capgo_add_channel, capgo_update_channel, capgo_delete_channel
2210
2359
  - capgo_get_current_bundle, capgo_promote_channel, capgo_check_compatibility
2211
- - capgo_list_organizations, capgo_add_organization
2360
+ - capgo_list_organizations, capgo_add_organization, capgo_update_organization, capgo_delete_organization
2361
+ - capgo_list_organization_members, capgo_invite_organization_member, capgo_update_organization_member_role, capgo_remove_organization_member
2212
2362
  - capgo_star_repository
2213
2363
  - capgo_star_all_repositories
2214
- - capgo_get_account_id, capgo_doctor, capgo_get_stats, capgo_observe
2364
+ - capgo_get_account_id, capgo_get_account, capgo_update_account, capgo_doctor, capgo_get_stats, capgo_observe
2215
2365
  - capgo_request_build, capgo_generate_encryption_keys
2366
+ - capgo_search_docs
2216
2367
  Example usage with Claude Desktop:
2217
2368
  Add to claude_desktop_config.json:
2218
2369
  {