@asteroidai/cli 1.9.565 → 1.9.571
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/asteroid.js +184 -1
- package/dist/core.js +183 -0
- package/package.json +1 -1
package/dist/asteroid.js
CHANGED
|
@@ -1365,6 +1365,26 @@ var COMMANDS = [
|
|
|
1365
1365
|
credentialOrganization: false
|
|
1366
1366
|
}
|
|
1367
1367
|
},
|
|
1368
|
+
{
|
|
1369
|
+
command: "environment current-snapshot",
|
|
1370
|
+
tool: "environment_current_snapshot",
|
|
1371
|
+
title: "Get an environment's current snapshot",
|
|
1372
|
+
description: "Read the snapshot version a live environment's machine holds, with its changelog and, when one is on record and the snapshot is not shared, its recipe, before you capture it again. Edit that recipe for the next capture rather than writing it again. No `recipe` means none is on record or the snapshot is shared: the next capture must send a full recipe. When `newerVersion` is set, the snapshot has a version newer than this machine's, and a capture from this machine would drop that version's changes: boot the newer version first. 404 when the machine holds an image the registry does not know.",
|
|
1373
|
+
method: "GET",
|
|
1374
|
+
path: "/agents/v2/environments/{environmentId}/current-snapshot",
|
|
1375
|
+
args: [
|
|
1376
|
+
{
|
|
1377
|
+
name: "environmentId",
|
|
1378
|
+
flag: "environment-id",
|
|
1379
|
+
type: "string",
|
|
1380
|
+
required: true
|
|
1381
|
+
}
|
|
1382
|
+
],
|
|
1383
|
+
query: [],
|
|
1384
|
+
binary: false,
|
|
1385
|
+
readOnly: true,
|
|
1386
|
+
destructive: false
|
|
1387
|
+
},
|
|
1368
1388
|
{
|
|
1369
1389
|
command: "environment get",
|
|
1370
1390
|
tool: "environment_get",
|
|
@@ -1414,6 +1434,75 @@ var COMMANDS = [
|
|
|
1414
1434
|
readOnly: true,
|
|
1415
1435
|
destructive: false
|
|
1416
1436
|
},
|
|
1437
|
+
{
|
|
1438
|
+
command: "environment snapshot",
|
|
1439
|
+
tool: "environment_snapshot",
|
|
1440
|
+
title: "Snapshot live environment",
|
|
1441
|
+
description: "Capture a live OS environment into a reusable snapshot of your organization, and wait for it to finish. The environment must be ready. A browser environment cannot be captured. Capturing under a `displayName` your organization already uses adds the next version to that snapshot. Windows is imaged with its memory and keeps running. Linux and Citrix are stopped, imaged and started again, which ends the session: `restarted` says so, and the screen is back to its boot state. Takes minutes. Call it once and never retry: a second call captures again and adds another version. If the request gives up or times out, the capture still completes: find its version with `environment_snapshot_get` or `environment_snapshots_list`. Build every snapshot on a base: the shared Windows, Linux or Citrix image, such as `linux-base`. For a new snapshot, boot the base's newest version. To change a snapshot, boot its newest version and capture under the same `displayName`. Never start a new snapshot from another snapshot, your own or shared: its recipe would then depend on that snapshot. Read `environment_current_snapshot` first and edit its recipe. `recipe` is markdown that lets a session with no other context rebuild this exact image on a fresh base: a `## Install` section with the scripted steps as code blocks and any GUI steps as prose, in order, a `## Boot state` section with what is open, signed in and on screen at boot, and optionally `## Notes`. It replaces the old recipe, so cover what the booted image already had. Never write a password, token or other secret in it. `changelog` says in a sentence or two what this capture changed. To boot from the snapshot, set its `name` as `snapshotName` on a custom environment's OS base and bind the workflow to that environment. Set `propose` to store it as a pre-release such as `1.4.0-rc.1` instead of the next version: pin that to test it, then accept or dismiss it with `environment_snapshot_proposal_accept` or `environment_snapshot_proposal_dismiss`. `public` is for Asteroid staff only. Needs a plan that includes building snapshots and the environment's operating system.",
|
|
1442
|
+
method: "POST",
|
|
1443
|
+
path: "/agents/v2/environments/{environmentId}/snapshot",
|
|
1444
|
+
args: [
|
|
1445
|
+
{
|
|
1446
|
+
name: "environmentId",
|
|
1447
|
+
flag: "environment-id",
|
|
1448
|
+
type: "string",
|
|
1449
|
+
required: true
|
|
1450
|
+
}
|
|
1451
|
+
],
|
|
1452
|
+
query: [],
|
|
1453
|
+
binary: false,
|
|
1454
|
+
readOnly: false,
|
|
1455
|
+
destructive: false,
|
|
1456
|
+
body: {
|
|
1457
|
+
required: true,
|
|
1458
|
+
contentType: "application/json",
|
|
1459
|
+
fields: [
|
|
1460
|
+
{
|
|
1461
|
+
name: "displayName",
|
|
1462
|
+
flag: "display-name",
|
|
1463
|
+
type: "string",
|
|
1464
|
+
required: true,
|
|
1465
|
+
description: "Display name for the snapshot. Capturing under a name the organisation already uses adds the next version to it."
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
name: "description",
|
|
1469
|
+
flag: "description",
|
|
1470
|
+
type: "string",
|
|
1471
|
+
required: false
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
name: "public",
|
|
1475
|
+
flag: "public",
|
|
1476
|
+
type: "boolean",
|
|
1477
|
+
required: false,
|
|
1478
|
+
description: "Publish the snapshot to every organisation instead of keeping it to the caller's. A published snapshot is owned by nobody, and its image is named without an organisation prefix, so this cannot be decided after the capture. Asteroid staff only, and rejected on the internal surface."
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
name: "propose",
|
|
1482
|
+
flag: "propose",
|
|
1483
|
+
type: "boolean",
|
|
1484
|
+
required: false,
|
|
1485
|
+
description: "Store the capture as a proposal, not as the next version. It takes a pre-release such as `1.4.0-rc.1`, which only an exact pin boots. Test it by that pin, then accept or dismiss it. It changes the version the machine booted, which must be the latest. A proposal for a shared snapshot is Asteroid staff only. Rejected on the internal surface."
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
name: "recipe",
|
|
1489
|
+
flag: "recipe",
|
|
1490
|
+
type: "string",
|
|
1491
|
+
required: false,
|
|
1492
|
+
description: "Markdown that lets a session rebuild this image on a fresh base. It must have a `## Install` and a `## Boot state` section, each with a body, and may have `## Notes`. No frontmatter. Omit it to keep the recipe of the version the machine booted, when that version is of the same snapshot."
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
name: "changelog",
|
|
1496
|
+
flag: "changelog",
|
|
1497
|
+
type: "string",
|
|
1498
|
+
required: false,
|
|
1499
|
+
description: "What this capture changed, for the version list."
|
|
1500
|
+
}
|
|
1501
|
+
],
|
|
1502
|
+
files: [],
|
|
1503
|
+
credentialOrganization: false
|
|
1504
|
+
}
|
|
1505
|
+
},
|
|
1417
1506
|
{
|
|
1418
1507
|
command: "environment start",
|
|
1419
1508
|
tool: "environment_start",
|
|
@@ -1533,6 +1622,100 @@ var COMMANDS = [
|
|
|
1533
1622
|
credentialOrganization: false
|
|
1534
1623
|
}
|
|
1535
1624
|
},
|
|
1625
|
+
{
|
|
1626
|
+
command: "environment-snapshot get",
|
|
1627
|
+
tool: "environment_snapshot_get",
|
|
1628
|
+
title: "Get snapshot",
|
|
1629
|
+
description: "Read one snapshot by ID with its versions, newest first: each version's changelog, its recipe unless the snapshot is shared, and the profile the captured machine ran with. Use it to find the version a capture landed as.",
|
|
1630
|
+
method: "GET",
|
|
1631
|
+
path: "/agents/v2/environment-snapshots/{snapshotId}",
|
|
1632
|
+
args: [
|
|
1633
|
+
{
|
|
1634
|
+
name: "snapshotId",
|
|
1635
|
+
flag: "snapshot-id",
|
|
1636
|
+
type: "string",
|
|
1637
|
+
required: true
|
|
1638
|
+
}
|
|
1639
|
+
],
|
|
1640
|
+
query: [],
|
|
1641
|
+
binary: false,
|
|
1642
|
+
readOnly: true,
|
|
1643
|
+
destructive: false
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
command: "environment-snapshot list",
|
|
1647
|
+
tool: "environment_snapshots_list",
|
|
1648
|
+
title: "List snapshots",
|
|
1649
|
+
description: "List the snapshots your organization can boot an environment from: its own, then the shared ones, each with its versions newest first. A version carries its changelog, and its recipe unless the snapshot is shared. Only operating systems your plan includes are listed. Narrow with `osType`. Boot one by setting its `name` as `snapshotName` on a custom environment's OS base: a bare `name` boots the newest version, `name:1.2` the newest 1.2 patch, `name:1.2.0` that version.",
|
|
1650
|
+
method: "GET",
|
|
1651
|
+
path: "/agents/v2/environment-snapshots",
|
|
1652
|
+
args: [],
|
|
1653
|
+
query: [
|
|
1654
|
+
{
|
|
1655
|
+
name: "osType",
|
|
1656
|
+
flag: "os-type",
|
|
1657
|
+
type: "string",
|
|
1658
|
+
required: false,
|
|
1659
|
+
description: "Only snapshots that boot this operating system. Omit for every operating system.",
|
|
1660
|
+
enum: ["linux", "windows", "citrix"]
|
|
1661
|
+
}
|
|
1662
|
+
],
|
|
1663
|
+
binary: false,
|
|
1664
|
+
readOnly: true,
|
|
1665
|
+
destructive: false
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
command: "environment-snapshot proposal accept",
|
|
1669
|
+
tool: "environment_snapshot_proposal_accept",
|
|
1670
|
+
title: "Accept snapshot proposal",
|
|
1671
|
+
description: "Release a proposed snapshot version, so `1.4.0-rc.1` becomes `1.4.0`. Workflows that boot the snapshot by bare name, or by a minor pin such as `name:1.4`, boot it from then on; an exact pin such as `name:1.3.0` does not move. Test the proposal first by pinning its pre-release. Find proposals in `environment_snapshot_get`. Only your organization's own snapshots.",
|
|
1672
|
+
method: "POST",
|
|
1673
|
+
path: "/agents/v2/environment-snapshots/{snapshotId}/proposals/{proposalId}/accept",
|
|
1674
|
+
args: [
|
|
1675
|
+
{
|
|
1676
|
+
name: "snapshotId",
|
|
1677
|
+
flag: "snapshot-id",
|
|
1678
|
+
type: "string",
|
|
1679
|
+
required: true
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
name: "proposalId",
|
|
1683
|
+
flag: "proposal-id",
|
|
1684
|
+
type: "string",
|
|
1685
|
+
required: true
|
|
1686
|
+
}
|
|
1687
|
+
],
|
|
1688
|
+
query: [],
|
|
1689
|
+
binary: false,
|
|
1690
|
+
readOnly: false,
|
|
1691
|
+
destructive: false
|
|
1692
|
+
},
|
|
1693
|
+
{
|
|
1694
|
+
command: "environment-snapshot proposal dismiss",
|
|
1695
|
+
tool: "environment_snapshot_proposal_dismiss",
|
|
1696
|
+
title: "Dismiss snapshot proposal",
|
|
1697
|
+
description: "Close a proposed snapshot version without releasing it. Its pre-release pin stops being offered. Only your organization's own snapshots.",
|
|
1698
|
+
method: "POST",
|
|
1699
|
+
path: "/agents/v2/environment-snapshots/{snapshotId}/proposals/{proposalId}/dismiss",
|
|
1700
|
+
args: [
|
|
1701
|
+
{
|
|
1702
|
+
name: "snapshotId",
|
|
1703
|
+
flag: "snapshot-id",
|
|
1704
|
+
type: "string",
|
|
1705
|
+
required: true
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
name: "proposalId",
|
|
1709
|
+
flag: "proposal-id",
|
|
1710
|
+
type: "string",
|
|
1711
|
+
required: true
|
|
1712
|
+
}
|
|
1713
|
+
],
|
|
1714
|
+
query: [],
|
|
1715
|
+
binary: false,
|
|
1716
|
+
readOnly: false,
|
|
1717
|
+
destructive: false
|
|
1718
|
+
},
|
|
1536
1719
|
{
|
|
1537
1720
|
command: "event-type list",
|
|
1538
1721
|
tool: "event_types_list",
|
|
@@ -8926,7 +9109,7 @@ var ApiError = class extends Error {
|
|
|
8926
9109
|
status;
|
|
8927
9110
|
body;
|
|
8928
9111
|
};
|
|
8929
|
-
var VERSION = "1.9.
|
|
9112
|
+
var VERSION = "1.9.571";
|
|
8930
9113
|
function problem(status, body, fallback) {
|
|
8931
9114
|
if (body && typeof body === "object") {
|
|
8932
9115
|
const record2 = body;
|
package/dist/core.js
CHANGED
|
@@ -1386,6 +1386,26 @@ var COMMANDS = [
|
|
|
1386
1386
|
credentialOrganization: false
|
|
1387
1387
|
}
|
|
1388
1388
|
},
|
|
1389
|
+
{
|
|
1390
|
+
command: "environment current-snapshot",
|
|
1391
|
+
tool: "environment_current_snapshot",
|
|
1392
|
+
title: "Get an environment's current snapshot",
|
|
1393
|
+
description: "Read the snapshot version a live environment's machine holds, with its changelog and, when one is on record and the snapshot is not shared, its recipe, before you capture it again. Edit that recipe for the next capture rather than writing it again. No `recipe` means none is on record or the snapshot is shared: the next capture must send a full recipe. When `newerVersion` is set, the snapshot has a version newer than this machine's, and a capture from this machine would drop that version's changes: boot the newer version first. 404 when the machine holds an image the registry does not know.",
|
|
1394
|
+
method: "GET",
|
|
1395
|
+
path: "/agents/v2/environments/{environmentId}/current-snapshot",
|
|
1396
|
+
args: [
|
|
1397
|
+
{
|
|
1398
|
+
name: "environmentId",
|
|
1399
|
+
flag: "environment-id",
|
|
1400
|
+
type: "string",
|
|
1401
|
+
required: true
|
|
1402
|
+
}
|
|
1403
|
+
],
|
|
1404
|
+
query: [],
|
|
1405
|
+
binary: false,
|
|
1406
|
+
readOnly: true,
|
|
1407
|
+
destructive: false
|
|
1408
|
+
},
|
|
1389
1409
|
{
|
|
1390
1410
|
command: "environment get",
|
|
1391
1411
|
tool: "environment_get",
|
|
@@ -1435,6 +1455,75 @@ var COMMANDS = [
|
|
|
1435
1455
|
readOnly: true,
|
|
1436
1456
|
destructive: false
|
|
1437
1457
|
},
|
|
1458
|
+
{
|
|
1459
|
+
command: "environment snapshot",
|
|
1460
|
+
tool: "environment_snapshot",
|
|
1461
|
+
title: "Snapshot live environment",
|
|
1462
|
+
description: "Capture a live OS environment into a reusable snapshot of your organization, and wait for it to finish. The environment must be ready. A browser environment cannot be captured. Capturing under a `displayName` your organization already uses adds the next version to that snapshot. Windows is imaged with its memory and keeps running. Linux and Citrix are stopped, imaged and started again, which ends the session: `restarted` says so, and the screen is back to its boot state. Takes minutes. Call it once and never retry: a second call captures again and adds another version. If the request gives up or times out, the capture still completes: find its version with `environment_snapshot_get` or `environment_snapshots_list`. Build every snapshot on a base: the shared Windows, Linux or Citrix image, such as `linux-base`. For a new snapshot, boot the base's newest version. To change a snapshot, boot its newest version and capture under the same `displayName`. Never start a new snapshot from another snapshot, your own or shared: its recipe would then depend on that snapshot. Read `environment_current_snapshot` first and edit its recipe. `recipe` is markdown that lets a session with no other context rebuild this exact image on a fresh base: a `## Install` section with the scripted steps as code blocks and any GUI steps as prose, in order, a `## Boot state` section with what is open, signed in and on screen at boot, and optionally `## Notes`. It replaces the old recipe, so cover what the booted image already had. Never write a password, token or other secret in it. `changelog` says in a sentence or two what this capture changed. To boot from the snapshot, set its `name` as `snapshotName` on a custom environment's OS base and bind the workflow to that environment. Set `propose` to store it as a pre-release such as `1.4.0-rc.1` instead of the next version: pin that to test it, then accept or dismiss it with `environment_snapshot_proposal_accept` or `environment_snapshot_proposal_dismiss`. `public` is for Asteroid staff only. Needs a plan that includes building snapshots and the environment's operating system.",
|
|
1463
|
+
method: "POST",
|
|
1464
|
+
path: "/agents/v2/environments/{environmentId}/snapshot",
|
|
1465
|
+
args: [
|
|
1466
|
+
{
|
|
1467
|
+
name: "environmentId",
|
|
1468
|
+
flag: "environment-id",
|
|
1469
|
+
type: "string",
|
|
1470
|
+
required: true
|
|
1471
|
+
}
|
|
1472
|
+
],
|
|
1473
|
+
query: [],
|
|
1474
|
+
binary: false,
|
|
1475
|
+
readOnly: false,
|
|
1476
|
+
destructive: false,
|
|
1477
|
+
body: {
|
|
1478
|
+
required: true,
|
|
1479
|
+
contentType: "application/json",
|
|
1480
|
+
fields: [
|
|
1481
|
+
{
|
|
1482
|
+
name: "displayName",
|
|
1483
|
+
flag: "display-name",
|
|
1484
|
+
type: "string",
|
|
1485
|
+
required: true,
|
|
1486
|
+
description: "Display name for the snapshot. Capturing under a name the organisation already uses adds the next version to it."
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
name: "description",
|
|
1490
|
+
flag: "description",
|
|
1491
|
+
type: "string",
|
|
1492
|
+
required: false
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
name: "public",
|
|
1496
|
+
flag: "public",
|
|
1497
|
+
type: "boolean",
|
|
1498
|
+
required: false,
|
|
1499
|
+
description: "Publish the snapshot to every organisation instead of keeping it to the caller's. A published snapshot is owned by nobody, and its image is named without an organisation prefix, so this cannot be decided after the capture. Asteroid staff only, and rejected on the internal surface."
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
name: "propose",
|
|
1503
|
+
flag: "propose",
|
|
1504
|
+
type: "boolean",
|
|
1505
|
+
required: false,
|
|
1506
|
+
description: "Store the capture as a proposal, not as the next version. It takes a pre-release such as `1.4.0-rc.1`, which only an exact pin boots. Test it by that pin, then accept or dismiss it. It changes the version the machine booted, which must be the latest. A proposal for a shared snapshot is Asteroid staff only. Rejected on the internal surface."
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
name: "recipe",
|
|
1510
|
+
flag: "recipe",
|
|
1511
|
+
type: "string",
|
|
1512
|
+
required: false,
|
|
1513
|
+
description: "Markdown that lets a session rebuild this image on a fresh base. It must have a `## Install` and a `## Boot state` section, each with a body, and may have `## Notes`. No frontmatter. Omit it to keep the recipe of the version the machine booted, when that version is of the same snapshot."
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
name: "changelog",
|
|
1517
|
+
flag: "changelog",
|
|
1518
|
+
type: "string",
|
|
1519
|
+
required: false,
|
|
1520
|
+
description: "What this capture changed, for the version list."
|
|
1521
|
+
}
|
|
1522
|
+
],
|
|
1523
|
+
files: [],
|
|
1524
|
+
credentialOrganization: false
|
|
1525
|
+
}
|
|
1526
|
+
},
|
|
1438
1527
|
{
|
|
1439
1528
|
command: "environment start",
|
|
1440
1529
|
tool: "environment_start",
|
|
@@ -1554,6 +1643,100 @@ var COMMANDS = [
|
|
|
1554
1643
|
credentialOrganization: false
|
|
1555
1644
|
}
|
|
1556
1645
|
},
|
|
1646
|
+
{
|
|
1647
|
+
command: "environment-snapshot get",
|
|
1648
|
+
tool: "environment_snapshot_get",
|
|
1649
|
+
title: "Get snapshot",
|
|
1650
|
+
description: "Read one snapshot by ID with its versions, newest first: each version's changelog, its recipe unless the snapshot is shared, and the profile the captured machine ran with. Use it to find the version a capture landed as.",
|
|
1651
|
+
method: "GET",
|
|
1652
|
+
path: "/agents/v2/environment-snapshots/{snapshotId}",
|
|
1653
|
+
args: [
|
|
1654
|
+
{
|
|
1655
|
+
name: "snapshotId",
|
|
1656
|
+
flag: "snapshot-id",
|
|
1657
|
+
type: "string",
|
|
1658
|
+
required: true
|
|
1659
|
+
}
|
|
1660
|
+
],
|
|
1661
|
+
query: [],
|
|
1662
|
+
binary: false,
|
|
1663
|
+
readOnly: true,
|
|
1664
|
+
destructive: false
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
command: "environment-snapshot list",
|
|
1668
|
+
tool: "environment_snapshots_list",
|
|
1669
|
+
title: "List snapshots",
|
|
1670
|
+
description: "List the snapshots your organization can boot an environment from: its own, then the shared ones, each with its versions newest first. A version carries its changelog, and its recipe unless the snapshot is shared. Only operating systems your plan includes are listed. Narrow with `osType`. Boot one by setting its `name` as `snapshotName` on a custom environment's OS base: a bare `name` boots the newest version, `name:1.2` the newest 1.2 patch, `name:1.2.0` that version.",
|
|
1671
|
+
method: "GET",
|
|
1672
|
+
path: "/agents/v2/environment-snapshots",
|
|
1673
|
+
args: [],
|
|
1674
|
+
query: [
|
|
1675
|
+
{
|
|
1676
|
+
name: "osType",
|
|
1677
|
+
flag: "os-type",
|
|
1678
|
+
type: "string",
|
|
1679
|
+
required: false,
|
|
1680
|
+
description: "Only snapshots that boot this operating system. Omit for every operating system.",
|
|
1681
|
+
enum: ["linux", "windows", "citrix"]
|
|
1682
|
+
}
|
|
1683
|
+
],
|
|
1684
|
+
binary: false,
|
|
1685
|
+
readOnly: true,
|
|
1686
|
+
destructive: false
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
command: "environment-snapshot proposal accept",
|
|
1690
|
+
tool: "environment_snapshot_proposal_accept",
|
|
1691
|
+
title: "Accept snapshot proposal",
|
|
1692
|
+
description: "Release a proposed snapshot version, so `1.4.0-rc.1` becomes `1.4.0`. Workflows that boot the snapshot by bare name, or by a minor pin such as `name:1.4`, boot it from then on; an exact pin such as `name:1.3.0` does not move. Test the proposal first by pinning its pre-release. Find proposals in `environment_snapshot_get`. Only your organization's own snapshots.",
|
|
1693
|
+
method: "POST",
|
|
1694
|
+
path: "/agents/v2/environment-snapshots/{snapshotId}/proposals/{proposalId}/accept",
|
|
1695
|
+
args: [
|
|
1696
|
+
{
|
|
1697
|
+
name: "snapshotId",
|
|
1698
|
+
flag: "snapshot-id",
|
|
1699
|
+
type: "string",
|
|
1700
|
+
required: true
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
name: "proposalId",
|
|
1704
|
+
flag: "proposal-id",
|
|
1705
|
+
type: "string",
|
|
1706
|
+
required: true
|
|
1707
|
+
}
|
|
1708
|
+
],
|
|
1709
|
+
query: [],
|
|
1710
|
+
binary: false,
|
|
1711
|
+
readOnly: false,
|
|
1712
|
+
destructive: false
|
|
1713
|
+
},
|
|
1714
|
+
{
|
|
1715
|
+
command: "environment-snapshot proposal dismiss",
|
|
1716
|
+
tool: "environment_snapshot_proposal_dismiss",
|
|
1717
|
+
title: "Dismiss snapshot proposal",
|
|
1718
|
+
description: "Close a proposed snapshot version without releasing it. Its pre-release pin stops being offered. Only your organization's own snapshots.",
|
|
1719
|
+
method: "POST",
|
|
1720
|
+
path: "/agents/v2/environment-snapshots/{snapshotId}/proposals/{proposalId}/dismiss",
|
|
1721
|
+
args: [
|
|
1722
|
+
{
|
|
1723
|
+
name: "snapshotId",
|
|
1724
|
+
flag: "snapshot-id",
|
|
1725
|
+
type: "string",
|
|
1726
|
+
required: true
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
name: "proposalId",
|
|
1730
|
+
flag: "proposal-id",
|
|
1731
|
+
type: "string",
|
|
1732
|
+
required: true
|
|
1733
|
+
}
|
|
1734
|
+
],
|
|
1735
|
+
query: [],
|
|
1736
|
+
binary: false,
|
|
1737
|
+
readOnly: false,
|
|
1738
|
+
destructive: false
|
|
1739
|
+
},
|
|
1557
1740
|
{
|
|
1558
1741
|
command: "event-type list",
|
|
1559
1742
|
tool: "event_types_list",
|