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