@ever-works/everworks-skills-plugin 1.0.8 → 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 CHANGED
@@ -996,7 +996,7 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
996
996
  route: GET("/api/fleet/nodes/{id}/desktop/screenshot"),
997
997
  cli: "fleet desktop screenshot"
998
998
  }),
999
- read("fleet_desktop_displays", "desktop", "FL-07", "FLEET_DESKTOP_ENABLED", "planned", {
999
+ read("fleet_desktop_displays", "desktop", "FL-07", "FLEET_DESKTOP_ENABLED", "live", {
1000
1000
  route: GET("/api/fleet/nodes/{id}/desktop/displays"),
1001
1001
  cli: "fleet desktop displays"
1002
1002
  }),
@@ -1270,6 +1270,9 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1270
1270
  route: GET("/api/fleet/checkouts/{id}/changes"),
1271
1271
  cli: "fleet checkouts changes"
1272
1272
  }),
1273
+ read("fleet_checkouts_pull_request_get", "checkouts", "FL-06", "FLEET_CHECKOUTS_ENABLED", "planned", {
1274
+ route: GET("/api/fleet/checkouts/{id}/pull-request")
1275
+ }),
1273
1276
  act("fleet_checkouts_create", "checkouts", "FL-14", "FLEET_CHECKOUTS_ENABLED", "live", plain("machine.run"), {
1274
1277
  route: POST("/api/fleet/checkouts"),
1275
1278
  cli: "fleet checkouts create",
@@ -1350,9 +1353,9 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1350
1353
  waitable: true,
1351
1354
  alwaysHeld: true
1352
1355
  }),
1353
- // ── cloud (FL-17) ── P1 shipped: providers, create, power, destroy, usage. A create, a power
1354
- // change and a destroy are held for the owner's approval by the Agent tools
1355
- // (`agent-fleet-cloud-tools.ts`); the idle policy arrives with P2.
1356
+ // ── cloud (FL-17) ── P1 shipped providers, create, power, destroy, usage; P2 the idle policy
1357
+ // (`PUT` answers the same as `PATCH`). A create, a power change and a destroy are held for the
1358
+ // owner's approval by the Agent tools (`agent-fleet-cloud-tools.ts`).
1356
1359
  read("fleet_cloud_list", "view", "FL-17", "FLEET_CLOUD_ENABLED", "live", {
1357
1360
  phase: "P3",
1358
1361
  route: GET("/api/fleet/cloud"),
@@ -1391,18 +1394,20 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1391
1394
  waitable: true,
1392
1395
  alwaysHeld: true
1393
1396
  }),
1394
- act("fleet_cloud_idle_policy", "machines", "FL-17", "FLEET_CLOUD_ENABLED", "planned", plain("machine.admin"), {
1397
+ act("fleet_cloud_idle_policy", "machines", "FL-17", "FLEET_CLOUD_ENABLED", "live", plain("machine.admin"), {
1395
1398
  phase: "P3",
1396
1399
  route: PATCH("/api/fleet/cloud/{id}/idle-policy"),
1397
1400
  cli: "fleet cloud idle-policy"
1398
1401
  }),
1399
- // ── runners (FL-18) ──
1400
- read("fleet_runners_list", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "planned", {
1402
+ // ── runners (FL-18) ── P1 shipped: list, install, start / stop / restart, remove. An install, a
1403
+ // stop, a restart and a remove asked by an Agent are held for the owner's approval
1404
+ // (`agent-fleet-runners-tools.ts`). P2: the Actions jobs read and Cancel workflow run (always held for an Agent).
1405
+ read("fleet_runners_list", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "live", {
1401
1406
  phase: "P3",
1402
1407
  route: GET("/api/fleet/nodes/{id}/runners"),
1403
1408
  cli: "fleet runners list"
1404
1409
  }),
1405
- read("fleet_runners_jobs", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "planned", {
1410
+ read("fleet_runners_jobs", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "live", {
1406
1411
  phase: "P3",
1407
1412
  route: GET("/api/fleet/runners/jobs"),
1408
1413
  cli: "fleet runners jobs"
@@ -1412,23 +1417,29 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1412
1417
  "machines",
1413
1418
  "FL-18",
1414
1419
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1415
- "planned",
1420
+ "live",
1416
1421
  confirm("machine.admin"),
1417
- { phase: "P3", route: POST("/api/fleet/nodes/{id}/runners"), cli: "fleet runners install", waitable: true }
1422
+ {
1423
+ phase: "P3",
1424
+ route: POST("/api/fleet/nodes/{id}/runners"),
1425
+ cli: "fleet runners install",
1426
+ waitable: true,
1427
+ alwaysHeld: true
1428
+ }
1418
1429
  ),
1419
1430
  act(
1420
1431
  "fleet_runners_action",
1421
1432
  "machines",
1422
1433
  "FL-18",
1423
1434
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1424
- "planned",
1435
+ "live",
1425
1436
  confirm("machine.admin"),
1426
1437
  {
1427
1438
  phase: "P3",
1428
1439
  route: POST("/api/fleet/nodes/{id}/runners/{runnerId}/{action}"),
1429
1440
  cli: "fleet runners action",
1430
1441
  waitable: true,
1431
- confirmationNote: "plain to start; confirm to stop and restart"
1442
+ confirmationNote: "plain to start; confirm to stop and restart (an Agent's stop or restart is held for the owner)"
1432
1443
  }
1433
1444
  ),
1434
1445
  act(
@@ -1436,21 +1447,34 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1436
1447
  "machines",
1437
1448
  "FL-18",
1438
1449
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1439
- "planned",
1450
+ "live",
1440
1451
  typed("write.destructive"),
1441
- { phase: "P3", route: DELETE("/api/fleet/nodes/{id}/runners/{runnerId}"), cli: "fleet runners remove" }
1452
+ {
1453
+ phase: "P3",
1454
+ route: POST("/api/fleet/nodes/{id}/runners/{runnerId}/remove"),
1455
+ cli: "fleet runners remove",
1456
+ waitable: true,
1457
+ alwaysHeld: true
1458
+ }
1442
1459
  ),
1443
1460
  act(
1444
1461
  "fleet_runners_cancel_run",
1445
1462
  "machines",
1446
1463
  "FL-18",
1447
1464
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1448
- "planned",
1465
+ "live",
1449
1466
  confirm("machine.admin"),
1450
- { phase: "P3", route: POST("/api/fleet/runners/jobs/{jobId}/cancel"), cli: "fleet runners cancel-run" }
1467
+ {
1468
+ phase: "P3",
1469
+ route: POST("/api/fleet/runners/jobs/cancel"),
1470
+ cli: "fleet runners cancel-run",
1471
+ alwaysHeld: true
1472
+ }
1451
1473
  ),
1452
- // ── usage (FL-20) ──
1453
- read("fleet_usage_get", "view", "FL-20", "FLEET_USAGE_SCAN_ENABLED", "planned", {
1474
+ // ── usage (FL-20) ── P1 shipped: the Usage object (totals, by model, by computer, busiest
1475
+ // checkouts, sessions) every surface renders, read-only, with the payer sentence in `note`.
1476
+ read("fleet_usage_get", "view", "FL-20", "FLEET_USAGE_SCAN_ENABLED", "live", {
1477
+ phase: "P3",
1454
1478
  route: GET("/api/fleet/usage"),
1455
1479
  cli: "fleet usage"
1456
1480
  }),
@@ -1568,7 +1592,9 @@ var FLEET_VIRTUAL_SYSTEMS = [
1568
1592
  approxDownloadGiB: 0.7
1569
1593
  }
1570
1594
  ];
1571
- FLEET_VIRTUAL_SYSTEMS.map((system) => system.id);
1595
+ FLEET_VIRTUAL_SYSTEMS.map(
1596
+ (system) => system.id
1597
+ );
1572
1598
  var EMAIL_INBOX_CAP_FIELDS = [
1573
1599
  "inboxDailySends",
1574
1600
  "inboxBurstSends",
package/dist/index.js CHANGED
@@ -988,7 +988,7 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
988
988
  route: GET("/api/fleet/nodes/{id}/desktop/screenshot"),
989
989
  cli: "fleet desktop screenshot"
990
990
  }),
991
- read("fleet_desktop_displays", "desktop", "FL-07", "FLEET_DESKTOP_ENABLED", "planned", {
991
+ read("fleet_desktop_displays", "desktop", "FL-07", "FLEET_DESKTOP_ENABLED", "live", {
992
992
  route: GET("/api/fleet/nodes/{id}/desktop/displays"),
993
993
  cli: "fleet desktop displays"
994
994
  }),
@@ -1262,6 +1262,9 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1262
1262
  route: GET("/api/fleet/checkouts/{id}/changes"),
1263
1263
  cli: "fleet checkouts changes"
1264
1264
  }),
1265
+ read("fleet_checkouts_pull_request_get", "checkouts", "FL-06", "FLEET_CHECKOUTS_ENABLED", "planned", {
1266
+ route: GET("/api/fleet/checkouts/{id}/pull-request")
1267
+ }),
1265
1268
  act("fleet_checkouts_create", "checkouts", "FL-14", "FLEET_CHECKOUTS_ENABLED", "live", plain("machine.run"), {
1266
1269
  route: POST("/api/fleet/checkouts"),
1267
1270
  cli: "fleet checkouts create",
@@ -1342,9 +1345,9 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1342
1345
  waitable: true,
1343
1346
  alwaysHeld: true
1344
1347
  }),
1345
- // ── cloud (FL-17) ── P1 shipped: providers, create, power, destroy, usage. A create, a power
1346
- // change and a destroy are held for the owner's approval by the Agent tools
1347
- // (`agent-fleet-cloud-tools.ts`); the idle policy arrives with P2.
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`).
1348
1351
  read("fleet_cloud_list", "view", "FL-17", "FLEET_CLOUD_ENABLED", "live", {
1349
1352
  phase: "P3",
1350
1353
  route: GET("/api/fleet/cloud"),
@@ -1383,18 +1386,20 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1383
1386
  waitable: true,
1384
1387
  alwaysHeld: true
1385
1388
  }),
1386
- act("fleet_cloud_idle_policy", "machines", "FL-17", "FLEET_CLOUD_ENABLED", "planned", plain("machine.admin"), {
1389
+ act("fleet_cloud_idle_policy", "machines", "FL-17", "FLEET_CLOUD_ENABLED", "live", plain("machine.admin"), {
1387
1390
  phase: "P3",
1388
1391
  route: PATCH("/api/fleet/cloud/{id}/idle-policy"),
1389
1392
  cli: "fleet cloud idle-policy"
1390
1393
  }),
1391
- // ── runners (FL-18) ──
1392
- read("fleet_runners_list", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "planned", {
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`). P2: the Actions jobs read and Cancel workflow run (always held for an Agent).
1397
+ read("fleet_runners_list", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "live", {
1393
1398
  phase: "P3",
1394
1399
  route: GET("/api/fleet/nodes/{id}/runners"),
1395
1400
  cli: "fleet runners list"
1396
1401
  }),
1397
- read("fleet_runners_jobs", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "planned", {
1402
+ read("fleet_runners_jobs", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "live", {
1398
1403
  phase: "P3",
1399
1404
  route: GET("/api/fleet/runners/jobs"),
1400
1405
  cli: "fleet runners jobs"
@@ -1404,23 +1409,29 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1404
1409
  "machines",
1405
1410
  "FL-18",
1406
1411
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1407
- "planned",
1412
+ "live",
1408
1413
  confirm("machine.admin"),
1409
- { phase: "P3", route: POST("/api/fleet/nodes/{id}/runners"), cli: "fleet runners install", waitable: true }
1414
+ {
1415
+ phase: "P3",
1416
+ route: POST("/api/fleet/nodes/{id}/runners"),
1417
+ cli: "fleet runners install",
1418
+ waitable: true,
1419
+ alwaysHeld: true
1420
+ }
1410
1421
  ),
1411
1422
  act(
1412
1423
  "fleet_runners_action",
1413
1424
  "machines",
1414
1425
  "FL-18",
1415
1426
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1416
- "planned",
1427
+ "live",
1417
1428
  confirm("machine.admin"),
1418
1429
  {
1419
1430
  phase: "P3",
1420
1431
  route: POST("/api/fleet/nodes/{id}/runners/{runnerId}/{action}"),
1421
1432
  cli: "fleet runners action",
1422
1433
  waitable: true,
1423
- 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)"
1424
1435
  }
1425
1436
  ),
1426
1437
  act(
@@ -1428,21 +1439,34 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1428
1439
  "machines",
1429
1440
  "FL-18",
1430
1441
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1431
- "planned",
1442
+ "live",
1432
1443
  typed("write.destructive"),
1433
- { phase: "P3", route: DELETE("/api/fleet/nodes/{id}/runners/{runnerId}"), cli: "fleet runners remove" }
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
+ }
1434
1451
  ),
1435
1452
  act(
1436
1453
  "fleet_runners_cancel_run",
1437
1454
  "machines",
1438
1455
  "FL-18",
1439
1456
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1440
- "planned",
1457
+ "live",
1441
1458
  confirm("machine.admin"),
1442
- { phase: "P3", route: POST("/api/fleet/runners/jobs/{jobId}/cancel"), cli: "fleet runners cancel-run" }
1459
+ {
1460
+ phase: "P3",
1461
+ route: POST("/api/fleet/runners/jobs/cancel"),
1462
+ cli: "fleet runners cancel-run",
1463
+ alwaysHeld: true
1464
+ }
1443
1465
  ),
1444
- // ── usage (FL-20) ──
1445
- read("fleet_usage_get", "view", "FL-20", "FLEET_USAGE_SCAN_ENABLED", "planned", {
1466
+ // ── usage (FL-20) ── P1 shipped: the Usage object (totals, by model, by computer, busiest
1467
+ // checkouts, sessions) every surface renders, read-only, with the payer sentence in `note`.
1468
+ read("fleet_usage_get", "view", "FL-20", "FLEET_USAGE_SCAN_ENABLED", "live", {
1469
+ phase: "P3",
1446
1470
  route: GET("/api/fleet/usage"),
1447
1471
  cli: "fleet usage"
1448
1472
  }),
@@ -1560,7 +1584,9 @@ var FLEET_VIRTUAL_SYSTEMS = [
1560
1584
  approxDownloadGiB: 0.7
1561
1585
  }
1562
1586
  ];
1563
- FLEET_VIRTUAL_SYSTEMS.map((system) => system.id);
1587
+ FLEET_VIRTUAL_SYSTEMS.map(
1588
+ (system) => system.id
1589
+ );
1564
1590
  var EMAIL_INBOX_CAP_FIELDS = [
1565
1591
  "inboxDailySends",
1566
1592
  "inboxBurstSends",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ever-works/everworks-skills-plugin",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "Ever Works Skills — first-party skills-provider plugin sourcing the curated catalog from the ever-works/skills GitHub repo.",
5
5
  "author": {
6
6
  "name": "Ever Co. LTD",
@@ -33,8 +33,8 @@
33
33
  "test:coverage": "vitest run --coverage"
34
34
  },
35
35
  "dependencies": {
36
- "@ever-works/contracts": "^1.0.14",
37
- "@ever-works/plugin": "^1.2.10",
36
+ "@ever-works/contracts": "^1.0.16",
37
+ "@ever-works/plugin": "^1.2.12",
38
38
  "gray-matter": "^4.0.3"
39
39
  },
40
40
  "devDependencies": {
@@ -68,8 +68,8 @@
68
68
  "url": "https://github.com/ever-works/ever-works/issues"
69
69
  },
70
70
  "everworksRelease": {
71
- "contentHash": "sha256:11ab7a22931d32ace5937b2211cd8953bfafbe0030aa9fc0aee20e7e23943bd1",
72
- "commit": "f5cb0350637a564ce68449b6607a6f8f83ccce9c",
73
- "source": "https://github.com/ever-works/ever-works/tree/f5cb0350637a564ce68449b6607a6f8f83ccce9c/packages/plugins/everworks-skills"
71
+ "contentHash": "sha256:dd257154d09c3fa978d3b32643c50e1a1eeb92fdf4051274ddb3b39866931835",
72
+ "commit": "4b0b642a5bf671c9b0480d49307c2c4442730f28",
73
+ "source": "https://github.com/ever-works/ever-works/tree/4b0b642a5bf671c9b0480d49307c2c4442730f28/packages/plugins/everworks-skills"
74
74
  }
75
75
  }