hereya-cli 0.90.1 → 0.91.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,57 +1418,6 @@
1367
1418
  "index.js"
1368
1419
  ]
1369
1420
  },
1370
- "provid": {
1371
- "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",
1380
- "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"
1384
- ],
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
- },
1405
- "hasDynamicHelp": false,
1406
- "hiddenAliases": [],
1407
- "id": "provid",
1408
- "pluginAlias": "hereya-cli",
1409
- "pluginName": "hereya-cli",
1410
- "pluginType": "core",
1411
- "strict": true,
1412
- "enableJsonFlag": false,
1413
- "isESM": true,
1414
- "relativePath": [
1415
- "dist",
1416
- "commands",
1417
- "provid",
1418
- "index.js"
1419
- ]
1420
- },
1421
1421
  "app:env": {
1422
1422
  "aliases": [],
1423
1423
  "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\nTwo modes are supported:\n - ephemeral (default): provisions hereya/aws-executor-broker (Lambda + on-demand EC2).\n - always-on: provisions hereya/remote-executor-aws (legacy always-on EC2).",
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: ephemeral (Lambda + on-demand EC2) or always-on (legacy)",
3189
+ "name": "mode",
3190
+ "default": "ephemeral",
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\nThe --mode flag must match the mode used at install time (default: ephemeral).",
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",
3281
+ "name": "mode",
3282
+ "default": "ephemeral",
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.91.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.91.0",
5
5
  "author": "Hereya Developers",
6
6
  "bin": {
7
7
  "hereya": "./bin/run.js"