hereya-cli 0.90.1 → 0.92.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.
@@ -756,6 +756,57 @@
756
756
  "index.js"
757
757
  ]
758
758
  },
759
+ "provid": {
760
+ "aliases": [],
761
+ "args": {
762
+ "package": {
763
+ "description": "Package name (e.g., hereya/postgres)",
764
+ "name": "package",
765
+ "required": true
766
+ }
767
+ },
768
+ "description": "Display the provisioning ID for a package",
769
+ "examples": [
770
+ "<%= config.bin %> <%= command.id %> hereya/postgres",
771
+ "<%= config.bin %> <%= command.id %> hereya/postgres -w dev",
772
+ "<%= config.bin %> <%= command.id %> hereya/postgres --workspace staging"
773
+ ],
774
+ "flags": {
775
+ "chdir": {
776
+ "char": "C",
777
+ "description": "Project root directory",
778
+ "name": "chdir",
779
+ "required": false,
780
+ "hasDynamicHelp": false,
781
+ "multiple": false,
782
+ "type": "option"
783
+ },
784
+ "workspace": {
785
+ "char": "w",
786
+ "description": "Name of the workspace",
787
+ "name": "workspace",
788
+ "required": false,
789
+ "hasDynamicHelp": false,
790
+ "multiple": false,
791
+ "type": "option"
792
+ }
793
+ },
794
+ "hasDynamicHelp": false,
795
+ "hiddenAliases": [],
796
+ "id": "provid",
797
+ "pluginAlias": "hereya-cli",
798
+ "pluginName": "hereya-cli",
799
+ "pluginType": "core",
800
+ "strict": true,
801
+ "enableJsonFlag": false,
802
+ "isESM": true,
803
+ "relativePath": [
804
+ "dist",
805
+ "commands",
806
+ "provid",
807
+ "index.js"
808
+ ]
809
+ },
759
810
  "publish": {
760
811
  "aliases": [],
761
812
  "args": {},
@@ -1367,44 +1418,17 @@
1367
1418
  "index.js"
1368
1419
  ]
1369
1420
  },
1370
- "provid": {
1421
+ "app:list": {
1371
1422
  "aliases": [],
1372
- "args": {
1373
- "package": {
1374
- "description": "Package name (e.g., hereya/postgres)",
1375
- "name": "package",
1376
- "required": true
1377
- }
1378
- },
1379
- "description": "Display the provisioning ID for a package",
1423
+ "args": {},
1424
+ "description": "List hereya-apps available to your account.",
1380
1425
  "examples": [
1381
- "<%= config.bin %> <%= command.id %> hereya/postgres",
1382
- "<%= config.bin %> <%= command.id %> hereya/postgres -w dev",
1383
- "<%= config.bin %> <%= command.id %> hereya/postgres --workspace staging"
1426
+ "<%= config.bin %> <%= command.id %>"
1384
1427
  ],
1385
- "flags": {
1386
- "chdir": {
1387
- "char": "C",
1388
- "description": "Project root directory",
1389
- "name": "chdir",
1390
- "required": false,
1391
- "hasDynamicHelp": false,
1392
- "multiple": false,
1393
- "type": "option"
1394
- },
1395
- "workspace": {
1396
- "char": "w",
1397
- "description": "Name of the workspace",
1398
- "name": "workspace",
1399
- "required": false,
1400
- "hasDynamicHelp": false,
1401
- "multiple": false,
1402
- "type": "option"
1403
- }
1404
- },
1428
+ "flags": {},
1405
1429
  "hasDynamicHelp": false,
1406
1430
  "hiddenAliases": [],
1407
- "id": "provid",
1431
+ "id": "app:list",
1408
1432
  "pluginAlias": "hereya-cli",
1409
1433
  "pluginName": "hereya-cli",
1410
1434
  "pluginType": "core",
@@ -1414,7 +1438,8 @@
1414
1438
  "relativePath": [
1415
1439
  "dist",
1416
1440
  "commands",
1417
- "provid",
1441
+ "app",
1442
+ "list",
1418
1443
  "index.js"
1419
1444
  ]
1420
1445
  },
@@ -1465,31 +1490,6 @@
1465
1490
  "index.js"
1466
1491
  ]
1467
1492
  },
1468
- "app:list": {
1469
- "aliases": [],
1470
- "args": {},
1471
- "description": "List hereya-apps available to your account.",
1472
- "examples": [
1473
- "<%= config.bin %> <%= command.id %>"
1474
- ],
1475
- "flags": {},
1476
- "hasDynamicHelp": false,
1477
- "hiddenAliases": [],
1478
- "id": "app:list",
1479
- "pluginAlias": "hereya-cli",
1480
- "pluginName": "hereya-cli",
1481
- "pluginType": "core",
1482
- "strict": true,
1483
- "enableJsonFlag": false,
1484
- "isESM": true,
1485
- "relativePath": [
1486
- "dist",
1487
- "commands",
1488
- "app",
1489
- "list",
1490
- "index.js"
1491
- ]
1492
- },
1493
1493
  "app:new": {
1494
1494
  "aliases": [],
1495
1495
  "args": {
@@ -2018,6 +2018,14 @@
2018
2018
  "multiple": false,
2019
2019
  "type": "option"
2020
2020
  },
2021
+ "idleTimeout": {
2022
+ "char": "i",
2023
+ "description": "seconds idle before exit; omit to keep running indefinitely",
2024
+ "name": "idleTimeout",
2025
+ "hasDynamicHelp": false,
2026
+ "multiple": false,
2027
+ "type": "option"
2028
+ },
2021
2029
  "workspace": {
2022
2030
  "char": "w",
2023
2031
  "description": "name of the workspace to poll jobs for",
@@ -3161,7 +3169,7 @@
3161
3169
  "workspace:executor:install": {
3162
3170
  "aliases": [],
3163
3171
  "args": {},
3164
- "description": "Install a remote executor into a workspace",
3172
+ "description": "Install a remote executor into a workspace.\n\nProvisions hereya/remote-executor-aws. Two modes are supported:\n - always-on (default): a long-lived EC2 polls hereya-cloud 24/7.\n - ephemeral: ASG scaled to 0 with a broker Lambda + OIDC for on-demand wake.",
3165
3173
  "flags": {
3166
3174
  "debug": {
3167
3175
  "description": "enable debug mode",
@@ -3176,6 +3184,26 @@
3176
3184
  "allowNo": false,
3177
3185
  "type": "boolean"
3178
3186
  },
3187
+ "mode": {
3188
+ "description": "executor mode: always-on (legacy long-lived EC2) or ephemeral (ASG min=0/max=1 with broker Lambda)",
3189
+ "name": "mode",
3190
+ "default": "always-on",
3191
+ "hasDynamicHelp": false,
3192
+ "multiple": false,
3193
+ "options": [
3194
+ "ephemeral",
3195
+ "always-on"
3196
+ ],
3197
+ "type": "option"
3198
+ },
3199
+ "parameter": {
3200
+ "char": "p",
3201
+ "description": "parameter for the package, in the form of 'key=value'. Can be specified multiple times.",
3202
+ "name": "parameter",
3203
+ "hasDynamicHelp": false,
3204
+ "multiple": true,
3205
+ "type": "option"
3206
+ },
3179
3207
  "workspace": {
3180
3208
  "char": "w",
3181
3209
  "description": "name of the workspace",
@@ -3240,7 +3268,7 @@
3240
3268
  "workspace:executor:uninstall": {
3241
3269
  "aliases": [],
3242
3270
  "args": {},
3243
- "description": "Uninstall the remote executor from a workspace",
3271
+ "description": "Uninstall the remote executor from a workspace.\n\nBoth modes (always-on and ephemeral) are backed by the same package\n(hereya/remote-executor-aws). The --mode flag is informational only and\ncontrols log output.",
3244
3272
  "flags": {
3245
3273
  "debug": {
3246
3274
  "description": "enable debug mode",
@@ -3248,6 +3276,18 @@
3248
3276
  "allowNo": false,
3249
3277
  "type": "boolean"
3250
3278
  },
3279
+ "mode": {
3280
+ "description": "executor mode used at install time (informational only)",
3281
+ "name": "mode",
3282
+ "default": "always-on",
3283
+ "hasDynamicHelp": false,
3284
+ "multiple": false,
3285
+ "options": [
3286
+ "ephemeral",
3287
+ "always-on"
3288
+ ],
3289
+ "type": "option"
3290
+ },
3251
3291
  "workspace": {
3252
3292
  "char": "w",
3253
3293
  "description": "name of the workspace",
@@ -3277,5 +3317,5 @@
3277
3317
  ]
3278
3318
  }
3279
3319
  },
3280
- "version": "0.90.1"
3320
+ "version": "0.92.0"
3281
3321
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hereya-cli",
3
3
  "description": "Infrastructure as Package",
4
- "version": "0.90.1",
4
+ "version": "0.92.0",
5
5
  "author": "Hereya Developers",
6
6
  "bin": {
7
7
  "hereya": "./bin/run.js"