@ever-works/everworks-skills-plugin 1.0.8 → 1.0.9

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
@@ -1350,9 +1350,9 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1350
1350
  waitable: true,
1351
1351
  alwaysHeld: true
1352
1352
  }),
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.
1353
+ // ── cloud (FL-17) ── P1 shipped providers, create, power, destroy, usage; P2 the idle policy
1354
+ // (`PUT` answers the same as `PATCH`). A create, a power change and a destroy are held for the
1355
+ // owner's approval by the Agent tools (`agent-fleet-cloud-tools.ts`).
1356
1356
  read("fleet_cloud_list", "view", "FL-17", "FLEET_CLOUD_ENABLED", "live", {
1357
1357
  phase: "P3",
1358
1358
  route: GET("/api/fleet/cloud"),
@@ -1391,13 +1391,15 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1391
1391
  waitable: true,
1392
1392
  alwaysHeld: true
1393
1393
  }),
1394
- act("fleet_cloud_idle_policy", "machines", "FL-17", "FLEET_CLOUD_ENABLED", "planned", plain("machine.admin"), {
1394
+ act("fleet_cloud_idle_policy", "machines", "FL-17", "FLEET_CLOUD_ENABLED", "live", plain("machine.admin"), {
1395
1395
  phase: "P3",
1396
1396
  route: PATCH("/api/fleet/cloud/{id}/idle-policy"),
1397
1397
  cli: "fleet cloud idle-policy"
1398
1398
  }),
1399
- // ── runners (FL-18) ──
1400
- read("fleet_runners_list", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "planned", {
1399
+ // ── runners (FL-18) ── P1 shipped: list, install, start / stop / restart, remove. An install, a
1400
+ // stop, a restart and a remove asked by an Agent are held for the owner's approval
1401
+ // (`agent-fleet-runners-tools.ts`). The Actions jobs read and Cancel workflow run arrive with P2.
1402
+ read("fleet_runners_list", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "live", {
1401
1403
  phase: "P3",
1402
1404
  route: GET("/api/fleet/nodes/{id}/runners"),
1403
1405
  cli: "fleet runners list"
@@ -1412,23 +1414,29 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1412
1414
  "machines",
1413
1415
  "FL-18",
1414
1416
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1415
- "planned",
1417
+ "live",
1416
1418
  confirm("machine.admin"),
1417
- { phase: "P3", route: POST("/api/fleet/nodes/{id}/runners"), cli: "fleet runners install", waitable: true }
1419
+ {
1420
+ phase: "P3",
1421
+ route: POST("/api/fleet/nodes/{id}/runners"),
1422
+ cli: "fleet runners install",
1423
+ waitable: true,
1424
+ alwaysHeld: true
1425
+ }
1418
1426
  ),
1419
1427
  act(
1420
1428
  "fleet_runners_action",
1421
1429
  "machines",
1422
1430
  "FL-18",
1423
1431
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1424
- "planned",
1432
+ "live",
1425
1433
  confirm("machine.admin"),
1426
1434
  {
1427
1435
  phase: "P3",
1428
1436
  route: POST("/api/fleet/nodes/{id}/runners/{runnerId}/{action}"),
1429
1437
  cli: "fleet runners action",
1430
1438
  waitable: true,
1431
- confirmationNote: "plain to start; confirm to stop and restart"
1439
+ confirmationNote: "plain to start; confirm to stop and restart (an Agent's stop or restart is held for the owner)"
1432
1440
  }
1433
1441
  ),
1434
1442
  act(
@@ -1436,9 +1444,15 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1436
1444
  "machines",
1437
1445
  "FL-18",
1438
1446
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1439
- "planned",
1447
+ "live",
1440
1448
  typed("write.destructive"),
1441
- { phase: "P3", route: DELETE("/api/fleet/nodes/{id}/runners/{runnerId}"), cli: "fleet runners remove" }
1449
+ {
1450
+ phase: "P3",
1451
+ route: POST("/api/fleet/nodes/{id}/runners/{runnerId}/remove"),
1452
+ cli: "fleet runners remove",
1453
+ waitable: true,
1454
+ alwaysHeld: true
1455
+ }
1442
1456
  ),
1443
1457
  act(
1444
1458
  "fleet_runners_cancel_run",
@@ -1447,10 +1461,12 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1447
1461
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1448
1462
  "planned",
1449
1463
  confirm("machine.admin"),
1450
- { phase: "P3", route: POST("/api/fleet/runners/jobs/{jobId}/cancel"), cli: "fleet runners cancel-run" }
1464
+ { phase: "P3", route: POST("/api/fleet/runners/jobs/cancel"), cli: "fleet runners cancel-run" }
1451
1465
  ),
1452
- // ── usage (FL-20) ──
1453
- 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",
1454
1470
  route: GET("/api/fleet/usage"),
1455
1471
  cli: "fleet usage"
1456
1472
  }),
package/dist/index.js CHANGED
@@ -1342,9 +1342,9 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1342
1342
  waitable: true,
1343
1343
  alwaysHeld: true
1344
1344
  }),
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.
1345
+ // ── cloud (FL-17) ── P1 shipped providers, create, power, destroy, usage; P2 the idle policy
1346
+ // (`PUT` answers the same as `PATCH`). A create, a power change and a destroy are held for the
1347
+ // owner's approval by the Agent tools (`agent-fleet-cloud-tools.ts`).
1348
1348
  read("fleet_cloud_list", "view", "FL-17", "FLEET_CLOUD_ENABLED", "live", {
1349
1349
  phase: "P3",
1350
1350
  route: GET("/api/fleet/cloud"),
@@ -1383,13 +1383,15 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1383
1383
  waitable: true,
1384
1384
  alwaysHeld: true
1385
1385
  }),
1386
- act("fleet_cloud_idle_policy", "machines", "FL-17", "FLEET_CLOUD_ENABLED", "planned", plain("machine.admin"), {
1386
+ act("fleet_cloud_idle_policy", "machines", "FL-17", "FLEET_CLOUD_ENABLED", "live", plain("machine.admin"), {
1387
1387
  phase: "P3",
1388
1388
  route: PATCH("/api/fleet/cloud/{id}/idle-policy"),
1389
1389
  cli: "fleet cloud idle-policy"
1390
1390
  }),
1391
- // ── runners (FL-18) ──
1392
- read("fleet_runners_list", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "planned", {
1391
+ // ── runners (FL-18) ── P1 shipped: list, install, start / stop / restart, remove. An install, a
1392
+ // stop, a restart and a remove asked by an Agent are held for the owner's approval
1393
+ // (`agent-fleet-runners-tools.ts`). The Actions jobs read and Cancel workflow run arrive with P2.
1394
+ read("fleet_runners_list", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "live", {
1393
1395
  phase: "P3",
1394
1396
  route: GET("/api/fleet/nodes/{id}/runners"),
1395
1397
  cli: "fleet runners list"
@@ -1404,23 +1406,29 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1404
1406
  "machines",
1405
1407
  "FL-18",
1406
1408
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1407
- "planned",
1409
+ "live",
1408
1410
  confirm("machine.admin"),
1409
- { phase: "P3", route: POST("/api/fleet/nodes/{id}/runners"), cli: "fleet runners install", waitable: true }
1411
+ {
1412
+ phase: "P3",
1413
+ route: POST("/api/fleet/nodes/{id}/runners"),
1414
+ cli: "fleet runners install",
1415
+ waitable: true,
1416
+ alwaysHeld: true
1417
+ }
1410
1418
  ),
1411
1419
  act(
1412
1420
  "fleet_runners_action",
1413
1421
  "machines",
1414
1422
  "FL-18",
1415
1423
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1416
- "planned",
1424
+ "live",
1417
1425
  confirm("machine.admin"),
1418
1426
  {
1419
1427
  phase: "P3",
1420
1428
  route: POST("/api/fleet/nodes/{id}/runners/{runnerId}/{action}"),
1421
1429
  cli: "fleet runners action",
1422
1430
  waitable: true,
1423
- confirmationNote: "plain to start; confirm to stop and restart"
1431
+ confirmationNote: "plain to start; confirm to stop and restart (an Agent's stop or restart is held for the owner)"
1424
1432
  }
1425
1433
  ),
1426
1434
  act(
@@ -1428,9 +1436,15 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1428
1436
  "machines",
1429
1437
  "FL-18",
1430
1438
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1431
- "planned",
1439
+ "live",
1432
1440
  typed("write.destructive"),
1433
- { phase: "P3", route: DELETE("/api/fleet/nodes/{id}/runners/{runnerId}"), cli: "fleet runners remove" }
1441
+ {
1442
+ phase: "P3",
1443
+ route: POST("/api/fleet/nodes/{id}/runners/{runnerId}/remove"),
1444
+ cli: "fleet runners remove",
1445
+ waitable: true,
1446
+ alwaysHeld: true
1447
+ }
1434
1448
  ),
1435
1449
  act(
1436
1450
  "fleet_runners_cancel_run",
@@ -1439,10 +1453,12 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1439
1453
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1440
1454
  "planned",
1441
1455
  confirm("machine.admin"),
1442
- { phase: "P3", route: POST("/api/fleet/runners/jobs/{jobId}/cancel"), cli: "fleet runners cancel-run" }
1456
+ { phase: "P3", route: POST("/api/fleet/runners/jobs/cancel"), cli: "fleet runners cancel-run" }
1443
1457
  ),
1444
- // ── usage (FL-20) ──
1445
- read("fleet_usage_get", "view", "FL-20", "FLEET_USAGE_SCAN_ENABLED", "planned", {
1458
+ // ── usage (FL-20) ── P1 shipped: the Usage object (totals, by model, by computer, busiest
1459
+ // checkouts, sessions) every surface renders, read-only, with the payer sentence in `note`.
1460
+ read("fleet_usage_get", "view", "FL-20", "FLEET_USAGE_SCAN_ENABLED", "live", {
1461
+ phase: "P3",
1446
1462
  route: GET("/api/fleet/usage"),
1447
1463
  cli: "fleet usage"
1448
1464
  }),
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.9",
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.15",
37
+ "@ever-works/plugin": "^1.2.11",
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:28ae2a255c16ed674cf5c7a10d94803ba96ab0603a56603b49ace0e46b95be07",
72
+ "commit": "67e286ed0d4c3dcc0d66d2f628215ab966cc26e1",
73
+ "source": "https://github.com/ever-works/ever-works/tree/67e286ed0d4c3dcc0d66d2f628215ab966cc26e1/packages/plugins/everworks-skills"
74
74
  }
75
75
  }