@ever-works/everworks-skills-plugin 1.0.9 → 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
@@ -22,6 +22,10 @@ var PROBLEM_CODES = [
22
22
  "not_connection_owner",
23
23
  "integration_disabled",
24
24
  "integration_revoked",
25
+ "subject_unknown",
26
+ "link_not_found",
27
+ "oidc_client_exists",
28
+ "redirect_uri_invalid",
25
29
  "denied_by_policy",
26
30
  "integration_not_available",
27
31
  "entitlement_required",
@@ -50,6 +54,8 @@ var PROBLEM_CODES = [
50
54
  "illegal_transition",
51
55
  "already_exists",
52
56
  "already_completed",
57
+ "legal_basis_required",
58
+ "receipt_final",
53
59
  "billing_active",
54
60
  "sso_required",
55
61
  "reauth_required",
@@ -996,7 +1002,7 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
996
1002
  route: GET("/api/fleet/nodes/{id}/desktop/screenshot"),
997
1003
  cli: "fleet desktop screenshot"
998
1004
  }),
999
- read("fleet_desktop_displays", "desktop", "FL-07", "FLEET_DESKTOP_ENABLED", "planned", {
1005
+ read("fleet_desktop_displays", "desktop", "FL-07", "FLEET_DESKTOP_ENABLED", "live", {
1000
1006
  route: GET("/api/fleet/nodes/{id}/desktop/displays"),
1001
1007
  cli: "fleet desktop displays"
1002
1008
  }),
@@ -1270,6 +1276,9 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1270
1276
  route: GET("/api/fleet/checkouts/{id}/changes"),
1271
1277
  cli: "fleet checkouts changes"
1272
1278
  }),
1279
+ read("fleet_checkouts_pull_request_get", "checkouts", "FL-06", "FLEET_CHECKOUTS_ENABLED", "planned", {
1280
+ route: GET("/api/fleet/checkouts/{id}/pull-request")
1281
+ }),
1273
1282
  act("fleet_checkouts_create", "checkouts", "FL-14", "FLEET_CHECKOUTS_ENABLED", "live", plain("machine.run"), {
1274
1283
  route: POST("/api/fleet/checkouts"),
1275
1284
  cli: "fleet checkouts create",
@@ -1398,13 +1407,13 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1398
1407
  }),
1399
1408
  // ── runners (FL-18) ── P1 shipped: list, install, start / stop / restart, remove. An install, a
1400
1409
  // 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.
1410
+ // (`agent-fleet-runners-tools.ts`). P2: the Actions jobs read and Cancel workflow run (always held for an Agent).
1402
1411
  read("fleet_runners_list", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "live", {
1403
1412
  phase: "P3",
1404
1413
  route: GET("/api/fleet/nodes/{id}/runners"),
1405
1414
  cli: "fleet runners list"
1406
1415
  }),
1407
- read("fleet_runners_jobs", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "planned", {
1416
+ read("fleet_runners_jobs", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "live", {
1408
1417
  phase: "P3",
1409
1418
  route: GET("/api/fleet/runners/jobs"),
1410
1419
  cli: "fleet runners jobs"
@@ -1459,9 +1468,14 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1459
1468
  "machines",
1460
1469
  "FL-18",
1461
1470
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1462
- "planned",
1471
+ "live",
1463
1472
  confirm("machine.admin"),
1464
- { phase: "P3", route: POST("/api/fleet/runners/jobs/cancel"), cli: "fleet runners cancel-run" }
1473
+ {
1474
+ phase: "P3",
1475
+ route: POST("/api/fleet/runners/jobs/cancel"),
1476
+ cli: "fleet runners cancel-run",
1477
+ alwaysHeld: true
1478
+ }
1465
1479
  ),
1466
1480
  // ── usage (FL-20) ── P1 shipped: the Usage object (totals, by model, by computer, busiest
1467
1481
  // checkouts, sessions) every surface renders, read-only, with the payer sentence in `note`.
@@ -1584,7 +1598,9 @@ var FLEET_VIRTUAL_SYSTEMS = [
1584
1598
  approxDownloadGiB: 0.7
1585
1599
  }
1586
1600
  ];
1587
- FLEET_VIRTUAL_SYSTEMS.map((system) => system.id);
1601
+ FLEET_VIRTUAL_SYSTEMS.map(
1602
+ (system) => system.id
1603
+ );
1588
1604
  var EMAIL_INBOX_CAP_FIELDS = [
1589
1605
  "inboxDailySends",
1590
1606
  "inboxBurstSends",
@@ -1813,6 +1829,9 @@ var DOMAIN_EVENT_CATALOG = [
1813
1829
  { type: "inbox.item.answered", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
1814
1830
  { type: "inbox.item.state_changed", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
1815
1831
  { type: "inbox.item.deleted", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
1832
+ // Integration inbox push: an integration's PATCH of its own item, and the member's
1833
+ // answer to an integration item (stored on the item; no run is started).
1834
+ { type: "inbox.item.updated", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
1816
1835
  { type: "kb.document.created", domain: "kb", aggregateType: "kb_document", phase: "P3" },
1817
1836
  { type: "kb.document.updated", domain: "kb", aggregateType: "kb_document", phase: "P3" },
1818
1837
  { type: "kb.document.moved", domain: "kb", aggregateType: "kb_document", phase: "P3" },
package/dist/index.js CHANGED
@@ -14,6 +14,10 @@ var PROBLEM_CODES = [
14
14
  "not_connection_owner",
15
15
  "integration_disabled",
16
16
  "integration_revoked",
17
+ "subject_unknown",
18
+ "link_not_found",
19
+ "oidc_client_exists",
20
+ "redirect_uri_invalid",
17
21
  "denied_by_policy",
18
22
  "integration_not_available",
19
23
  "entitlement_required",
@@ -42,6 +46,8 @@ var PROBLEM_CODES = [
42
46
  "illegal_transition",
43
47
  "already_exists",
44
48
  "already_completed",
49
+ "legal_basis_required",
50
+ "receipt_final",
45
51
  "billing_active",
46
52
  "sso_required",
47
53
  "reauth_required",
@@ -988,7 +994,7 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
988
994
  route: GET("/api/fleet/nodes/{id}/desktop/screenshot"),
989
995
  cli: "fleet desktop screenshot"
990
996
  }),
991
- read("fleet_desktop_displays", "desktop", "FL-07", "FLEET_DESKTOP_ENABLED", "planned", {
997
+ read("fleet_desktop_displays", "desktop", "FL-07", "FLEET_DESKTOP_ENABLED", "live", {
992
998
  route: GET("/api/fleet/nodes/{id}/desktop/displays"),
993
999
  cli: "fleet desktop displays"
994
1000
  }),
@@ -1262,6 +1268,9 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1262
1268
  route: GET("/api/fleet/checkouts/{id}/changes"),
1263
1269
  cli: "fleet checkouts changes"
1264
1270
  }),
1271
+ read("fleet_checkouts_pull_request_get", "checkouts", "FL-06", "FLEET_CHECKOUTS_ENABLED", "planned", {
1272
+ route: GET("/api/fleet/checkouts/{id}/pull-request")
1273
+ }),
1265
1274
  act("fleet_checkouts_create", "checkouts", "FL-14", "FLEET_CHECKOUTS_ENABLED", "live", plain("machine.run"), {
1266
1275
  route: POST("/api/fleet/checkouts"),
1267
1276
  cli: "fleet checkouts create",
@@ -1390,13 +1399,13 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1390
1399
  }),
1391
1400
  // ── runners (FL-18) ── P1 shipped: list, install, start / stop / restart, remove. An install, a
1392
1401
  // 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.
1402
+ // (`agent-fleet-runners-tools.ts`). P2: the Actions jobs read and Cancel workflow run (always held for an Agent).
1394
1403
  read("fleet_runners_list", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "live", {
1395
1404
  phase: "P3",
1396
1405
  route: GET("/api/fleet/nodes/{id}/runners"),
1397
1406
  cli: "fleet runners list"
1398
1407
  }),
1399
- read("fleet_runners_jobs", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "planned", {
1408
+ read("fleet_runners_jobs", "view", "FL-18", "FLEET_ACTIONS_RUNNERS_ENABLED", "live", {
1400
1409
  phase: "P3",
1401
1410
  route: GET("/api/fleet/runners/jobs"),
1402
1411
  cli: "fleet runners jobs"
@@ -1451,9 +1460,14 @@ var FLEET_TOOL_CATALOGUE = Object.freeze([
1451
1460
  "machines",
1452
1461
  "FL-18",
1453
1462
  "FLEET_ACTIONS_RUNNERS_ENABLED",
1454
- "planned",
1463
+ "live",
1455
1464
  confirm("machine.admin"),
1456
- { phase: "P3", route: POST("/api/fleet/runners/jobs/cancel"), cli: "fleet runners cancel-run" }
1465
+ {
1466
+ phase: "P3",
1467
+ route: POST("/api/fleet/runners/jobs/cancel"),
1468
+ cli: "fleet runners cancel-run",
1469
+ alwaysHeld: true
1470
+ }
1457
1471
  ),
1458
1472
  // ── usage (FL-20) ── P1 shipped: the Usage object (totals, by model, by computer, busiest
1459
1473
  // checkouts, sessions) every surface renders, read-only, with the payer sentence in `note`.
@@ -1576,7 +1590,9 @@ var FLEET_VIRTUAL_SYSTEMS = [
1576
1590
  approxDownloadGiB: 0.7
1577
1591
  }
1578
1592
  ];
1579
- FLEET_VIRTUAL_SYSTEMS.map((system) => system.id);
1593
+ FLEET_VIRTUAL_SYSTEMS.map(
1594
+ (system) => system.id
1595
+ );
1580
1596
  var EMAIL_INBOX_CAP_FIELDS = [
1581
1597
  "inboxDailySends",
1582
1598
  "inboxBurstSends",
@@ -1805,6 +1821,9 @@ var DOMAIN_EVENT_CATALOG = [
1805
1821
  { type: "inbox.item.answered", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
1806
1822
  { type: "inbox.item.state_changed", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
1807
1823
  { type: "inbox.item.deleted", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
1824
+ // Integration inbox push: an integration's PATCH of its own item, and the member's
1825
+ // answer to an integration item (stored on the item; no run is started).
1826
+ { type: "inbox.item.updated", domain: "inbox", aggregateType: "inbox_item", phase: "P3" },
1808
1827
  { type: "kb.document.created", domain: "kb", aggregateType: "kb_document", phase: "P3" },
1809
1828
  { type: "kb.document.updated", domain: "kb", aggregateType: "kb_document", phase: "P3" },
1810
1829
  { type: "kb.document.moved", domain: "kb", aggregateType: "kb_document", phase: "P3" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ever-works/everworks-skills-plugin",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
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.15",
37
- "@ever-works/plugin": "^1.2.11",
36
+ "@ever-works/contracts": "^1.0.19",
37
+ "@ever-works/plugin": "^1.2.16",
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:28ae2a255c16ed674cf5c7a10d94803ba96ab0603a56603b49ace0e46b95be07",
72
- "commit": "67e286ed0d4c3dcc0d66d2f628215ab966cc26e1",
73
- "source": "https://github.com/ever-works/ever-works/tree/67e286ed0d4c3dcc0d66d2f628215ab966cc26e1/packages/plugins/everworks-skills"
71
+ "contentHash": "sha256:067cbcfdd4dc8da9a2cd0533ea4b5af457cb256a9477c92495a137b19f937f55",
72
+ "commit": "89cee44a662034ea957b07ec5e1230ecf340b107",
73
+ "source": "https://github.com/ever-works/ever-works/tree/89cee44a662034ea957b07ec5e1230ecf340b107/packages/plugins/everworks-skills"
74
74
  }
75
75
  }