@ever-works/mailgun-plugin 1.0.10 → 1.0.11

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/dist/index.cjs CHANGED
@@ -1351,9 +1351,9 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1351
1351
  waitable: true,
1352
1352
  alwaysHeld: true
1353
1353
  }),
1354
- // ── cloud (FL-17) ── P1 shipped: providers, create, power, destroy, usage. A create, a power
1355
- // change and a destroy are held for the owner's approval by the Agent tools
1356
- // (`agent-fleet-cloud-tools.ts`); the idle policy arrives with P2.
1354
+ // ── cloud (FL-17) ── P1 shipped providers, create, power, destroy, usage; P2 the idle policy
1355
+ // (`PUT` answers the same as `PATCH`). A create, a power change and a destroy are held for the
1356
+ // owner's approval by the Agent tools (`agent-fleet-cloud-tools.ts`).
1357
1357
  read("fleet_cloud_list", "view", "FL-17", "FLEET_CLOUD_ENABLED", "live", {
1358
1358
  phase: "P3",
1359
1359
  route: GET("/api/fleet/cloud"),
@@ -1392,13 +1392,15 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1392
1392
  waitable: true,
1393
1393
  alwaysHeld: true
1394
1394
  }),
1395
- act("fleet_cloud_idle_policy", "machines", "FL-17", "FLEET_CLOUD_ENABLED", "planned", plain("machine.admin"), {
1395
+ act("fleet_cloud_idle_policy", "machines", "FL-17", "FLEET_CLOUD_ENABLED", "live", plain("machine.admin"), {
1396
1396
  phase: "P3",
1397
1397
  route: PATCH("/api/fleet/cloud/{id}/idle-policy"),
1398
1398
  cli: "fleet cloud idle-policy"
1399
1399
  }),
1400
- // ── runners (FL-18) ──
1401
- read("fleet_runners_list", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "planned", {
1400
+ // ── runners (FL-18) ── P1 shipped: list, install, start / stop / restart, remove. An install, a
1401
+ // stop, a restart and a remove asked by an Agent are held for the owner's approval
1402
+ // (`agent-fleet-runners-tools.ts`). The Actions jobs read and Cancel workflow run arrive with P2.
1403
+ read("fleet_runners_list", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "live", {
1402
1404
  phase: "P3",
1403
1405
  route: GET("/api/fleet/nodes/{id}/runners"),
1404
1406
  cli: "fleet runners list"
@@ -1413,23 +1415,29 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1413
1415
  "machines",
1414
1416
  "FL-18",
1415
1417
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1416
- "planned",
1418
+ "live",
1417
1419
  confirm("machine.admin"),
1418
- { phase: "P3", route: POST("/api/fleet/nodes/{id}/runners"), cli: "fleet runners install", waitable: true }
1420
+ {
1421
+ phase: "P3",
1422
+ route: POST("/api/fleet/nodes/{id}/runners"),
1423
+ cli: "fleet runners install",
1424
+ waitable: true,
1425
+ alwaysHeld: true
1426
+ }
1419
1427
  ),
1420
1428
  act(
1421
1429
  "fleet_runners_action",
1422
1430
  "machines",
1423
1431
  "FL-18",
1424
1432
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1425
- "planned",
1433
+ "live",
1426
1434
  confirm("machine.admin"),
1427
1435
  {
1428
1436
  phase: "P3",
1429
1437
  route: POST("/api/fleet/nodes/{id}/runners/{runnerId}/{action}"),
1430
1438
  cli: "fleet runners action",
1431
1439
  waitable: true,
1432
- confirmationNote: "plain to start; confirm to stop and restart"
1440
+ confirmationNote: "plain to start; confirm to stop and restart (an Agent's stop or restart is held for the owner)"
1433
1441
  }
1434
1442
  ),
1435
1443
  act(
@@ -1437,9 +1445,15 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1437
1445
  "machines",
1438
1446
  "FL-18",
1439
1447
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1440
- "planned",
1448
+ "live",
1441
1449
  typed("write.destructive"),
1442
- { phase: "P3", route: DELETE("/api/fleet/nodes/{id}/runners/{runnerId}"), cli: "fleet runners remove" }
1450
+ {
1451
+ phase: "P3",
1452
+ route: POST("/api/fleet/nodes/{id}/runners/{runnerId}/remove"),
1453
+ cli: "fleet runners remove",
1454
+ waitable: true,
1455
+ alwaysHeld: true
1456
+ }
1443
1457
  ),
1444
1458
  act(
1445
1459
  "fleet_runners_cancel_run",
@@ -1448,10 +1462,12 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1448
1462
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1449
1463
  "planned",
1450
1464
  confirm("machine.admin"),
1451
- { phase: "P3", route: POST("/api/fleet/runners/jobs/{jobId}/cancel"), cli: "fleet runners cancel-run" }
1465
+ { phase: "P3", route: POST("/api/fleet/runners/jobs/cancel"), cli: "fleet runners cancel-run" }
1452
1466
  ),
1453
- // ── usage (FL-20) ──
1454
- read("fleet_usage_get", "view", "FL-20", "FLEET_USAGE_SCAN_ENABLED", "planned", {
1467
+ // ── usage (FL-20) ── P1 shipped: the Usage object (totals, by model, by computer, busiest
1468
+ // checkouts, sessions) every surface renders, read-only, with the payer sentence in `note`.
1469
+ read("fleet_usage_get", "view", "FL-20", "FLEET_USAGE_SCAN_ENABLED", "live", {
1470
+ phase: "P3",
1455
1471
  route: GET("/api/fleet/usage"),
1456
1472
  cli: "fleet usage"
1457
1473
  }),
package/dist/index.js CHANGED
@@ -1344,9 +1344,9 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1344
1344
  waitable: true,
1345
1345
  alwaysHeld: true
1346
1346
  }),
1347
- // ── cloud (FL-17) ── P1 shipped: providers, create, power, destroy, usage. A create, a power
1348
- // change and a destroy are held for the owner's approval by the Agent tools
1349
- // (`agent-fleet-cloud-tools.ts`); the idle policy arrives with P2.
1347
+ // ── cloud (FL-17) ── P1 shipped providers, create, power, destroy, usage; P2 the idle policy
1348
+ // (`PUT` answers the same as `PATCH`). A create, a power change and a destroy are held for the
1349
+ // owner's approval by the Agent tools (`agent-fleet-cloud-tools.ts`).
1350
1350
  read("fleet_cloud_list", "view", "FL-17", "FLEET_CLOUD_ENABLED", "live", {
1351
1351
  phase: "P3",
1352
1352
  route: GET("/api/fleet/cloud"),
@@ -1385,13 +1385,15 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1385
1385
  waitable: true,
1386
1386
  alwaysHeld: true
1387
1387
  }),
1388
- act("fleet_cloud_idle_policy", "machines", "FL-17", "FLEET_CLOUD_ENABLED", "planned", plain("machine.admin"), {
1388
+ act("fleet_cloud_idle_policy", "machines", "FL-17", "FLEET_CLOUD_ENABLED", "live", plain("machine.admin"), {
1389
1389
  phase: "P3",
1390
1390
  route: PATCH("/api/fleet/cloud/{id}/idle-policy"),
1391
1391
  cli: "fleet cloud idle-policy"
1392
1392
  }),
1393
- // ── runners (FL-18) ──
1394
- read("fleet_runners_list", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "planned", {
1393
+ // ── runners (FL-18) ── P1 shipped: list, install, start / stop / restart, remove. An install, a
1394
+ // stop, a restart and a remove asked by an Agent are held for the owner's approval
1395
+ // (`agent-fleet-runners-tools.ts`). The Actions jobs read and Cancel workflow run arrive with P2.
1396
+ read("fleet_runners_list", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "live", {
1395
1397
  phase: "P3",
1396
1398
  route: GET("/api/fleet/nodes/{id}/runners"),
1397
1399
  cli: "fleet runners list"
@@ -1406,23 +1408,29 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1406
1408
  "machines",
1407
1409
  "FL-18",
1408
1410
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1409
- "planned",
1411
+ "live",
1410
1412
  confirm("machine.admin"),
1411
- { phase: "P3", route: POST("/api/fleet/nodes/{id}/runners"), cli: "fleet runners install", waitable: true }
1413
+ {
1414
+ phase: "P3",
1415
+ route: POST("/api/fleet/nodes/{id}/runners"),
1416
+ cli: "fleet runners install",
1417
+ waitable: true,
1418
+ alwaysHeld: true
1419
+ }
1412
1420
  ),
1413
1421
  act(
1414
1422
  "fleet_runners_action",
1415
1423
  "machines",
1416
1424
  "FL-18",
1417
1425
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1418
- "planned",
1426
+ "live",
1419
1427
  confirm("machine.admin"),
1420
1428
  {
1421
1429
  phase: "P3",
1422
1430
  route: POST("/api/fleet/nodes/{id}/runners/{runnerId}/{action}"),
1423
1431
  cli: "fleet runners action",
1424
1432
  waitable: true,
1425
- confirmationNote: "plain to start; confirm to stop and restart"
1433
+ confirmationNote: "plain to start; confirm to stop and restart (an Agent's stop or restart is held for the owner)"
1426
1434
  }
1427
1435
  ),
1428
1436
  act(
@@ -1430,9 +1438,15 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1430
1438
  "machines",
1431
1439
  "FL-18",
1432
1440
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1433
- "planned",
1441
+ "live",
1434
1442
  typed("write.destructive"),
1435
- { phase: "P3", route: DELETE("/api/fleet/nodes/{id}/runners/{runnerId}"), cli: "fleet runners remove" }
1443
+ {
1444
+ phase: "P3",
1445
+ route: POST("/api/fleet/nodes/{id}/runners/{runnerId}/remove"),
1446
+ cli: "fleet runners remove",
1447
+ waitable: true,
1448
+ alwaysHeld: true
1449
+ }
1436
1450
  ),
1437
1451
  act(
1438
1452
  "fleet_runners_cancel_run",
@@ -1441,10 +1455,12 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1441
1455
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1442
1456
  "planned",
1443
1457
  confirm("machine.admin"),
1444
- { phase: "P3", route: POST("/api/fleet/runners/jobs/{jobId}/cancel"), cli: "fleet runners cancel-run" }
1458
+ { phase: "P3", route: POST("/api/fleet/runners/jobs/cancel"), cli: "fleet runners cancel-run" }
1445
1459
  ),
1446
- // ── usage (FL-20) ──
1447
- read("fleet_usage_get", "view", "FL-20", "FLEET_USAGE_SCAN_ENABLED", "planned", {
1460
+ // ── usage (FL-20) ── P1 shipped: the Usage object (totals, by model, by computer, busiest
1461
+ // checkouts, sessions) every surface renders, read-only, with the payer sentence in `note`.
1462
+ read("fleet_usage_get", "view", "FL-20", "FLEET_USAGE_SCAN_ENABLED", "live", {
1463
+ phase: "P3",
1448
1464
  route: GET("/api/fleet/usage"),
1449
1465
  cli: "fleet usage"
1450
1466
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ever-works/mailgun-plugin",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Mailgun email provider plugin (outbound + inbound) for Ever Works platform",
5
5
  "author": {
6
6
  "name": "Ever Co. LTD",
@@ -32,7 +32,7 @@
32
32
  "test:watch": "vitest"
33
33
  },
34
34
  "dependencies": {
35
- "@ever-works/plugin": "^1.2.10",
35
+ "@ever-works/plugin": "^1.2.11",
36
36
  "form-data": "^4.0.1",
37
37
  "mailgun.js": "^10.2.3"
38
38
  },
@@ -102,8 +102,8 @@
102
102
  "url": "https://github.com/ever-works/ever-works/issues"
103
103
  },
104
104
  "everworksRelease": {
105
- "contentHash": "sha256:f41bcac5c39408e06f374eb8d0ec0944f5f189832b81a21555b5c34e8ffba704",
106
- "commit": "f5cb0350637a564ce68449b6607a6f8f83ccce9c",
107
- "source": "https://github.com/ever-works/ever-works/tree/f5cb0350637a564ce68449b6607a6f8f83ccce9c/packages/plugins/mailgun"
105
+ "contentHash": "sha256:31ce71ab182d40e23fe5dc4ae7a72474bde1bfe64c25a35f288604374dad15fb",
106
+ "commit": "67e286ed0d4c3dcc0d66d2f628215ab966cc26e1",
107
+ "source": "https://github.com/ever-works/ever-works/tree/67e286ed0d4c3dcc0d66d2f628215ab966cc26e1/packages/plugins/mailgun"
108
108
  }
109
109
  }