@asteroidai/cli 1.9.107 → 1.9.108
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 +22 -2
- package/dist/core.js +21 -1
- package/package.json +1 -1
package/dist/asteroid.js
CHANGED
|
@@ -1471,6 +1471,26 @@ var COMMANDS = [
|
|
|
1471
1471
|
readOnly: true,
|
|
1472
1472
|
destructive: false
|
|
1473
1473
|
},
|
|
1474
|
+
{
|
|
1475
|
+
command: "execution delete",
|
|
1476
|
+
tool: "execution_delete",
|
|
1477
|
+
title: "Delete execution",
|
|
1478
|
+
description: "Delete a finished execution. It disappears from lists and reads, and the user cannot restore it. Only a terminal execution can be deleted: cancel a running one first with `execution_cancel`. Confirm with the user before calling it. This is a soft delete: Asteroid keeps the data under its retention policy, so it does not meet a data deletion or retention requirement. For that, the user must ask Asteroid for custom retention.",
|
|
1479
|
+
method: "DELETE",
|
|
1480
|
+
path: "/agents/v2/executions/{executionId}",
|
|
1481
|
+
args: [
|
|
1482
|
+
{
|
|
1483
|
+
name: "executionId",
|
|
1484
|
+
flag: "execution-id",
|
|
1485
|
+
type: "string",
|
|
1486
|
+
required: true
|
|
1487
|
+
}
|
|
1488
|
+
],
|
|
1489
|
+
query: [],
|
|
1490
|
+
binary: false,
|
|
1491
|
+
readOnly: false,
|
|
1492
|
+
destructive: true
|
|
1493
|
+
},
|
|
1474
1494
|
{
|
|
1475
1495
|
command: "execution file download",
|
|
1476
1496
|
tool: "execution_file_download",
|
|
@@ -1756,7 +1776,7 @@ var COMMANDS = [
|
|
|
1756
1776
|
command: "execution message",
|
|
1757
1777
|
tool: "execution_user_messages_add",
|
|
1758
1778
|
title: "Add execution message",
|
|
1759
|
-
description: "Send a message to a running or paused execution. The agent reads it as user input. When the agent is waiting for an answer, the message also resumes it.",
|
|
1779
|
+
description: "Send a message to a running or paused execution. The agent reads it as user input. When the agent is waiting for an answer, the message also resumes it. To attach files, upload them first with `execution_context_files_upload`, then send the message, as the platform does.",
|
|
1760
1780
|
method: "POST",
|
|
1761
1781
|
path: "/agents/v2/executions/{executionId}/user-messages",
|
|
1762
1782
|
args: [
|
|
@@ -6851,7 +6871,7 @@ var ApiError = class extends Error {
|
|
|
6851
6871
|
status;
|
|
6852
6872
|
body;
|
|
6853
6873
|
};
|
|
6854
|
-
var VERSION = "1.9.
|
|
6874
|
+
var VERSION = "1.9.108";
|
|
6855
6875
|
function problem(status, body, fallback) {
|
|
6856
6876
|
if (body && typeof body === "object") {
|
|
6857
6877
|
const record2 = body;
|
package/dist/core.js
CHANGED
|
@@ -1492,6 +1492,26 @@ var COMMANDS = [
|
|
|
1492
1492
|
readOnly: true,
|
|
1493
1493
|
destructive: false
|
|
1494
1494
|
},
|
|
1495
|
+
{
|
|
1496
|
+
command: "execution delete",
|
|
1497
|
+
tool: "execution_delete",
|
|
1498
|
+
title: "Delete execution",
|
|
1499
|
+
description: "Delete a finished execution. It disappears from lists and reads, and the user cannot restore it. Only a terminal execution can be deleted: cancel a running one first with `execution_cancel`. Confirm with the user before calling it. This is a soft delete: Asteroid keeps the data under its retention policy, so it does not meet a data deletion or retention requirement. For that, the user must ask Asteroid for custom retention.",
|
|
1500
|
+
method: "DELETE",
|
|
1501
|
+
path: "/agents/v2/executions/{executionId}",
|
|
1502
|
+
args: [
|
|
1503
|
+
{
|
|
1504
|
+
name: "executionId",
|
|
1505
|
+
flag: "execution-id",
|
|
1506
|
+
type: "string",
|
|
1507
|
+
required: true
|
|
1508
|
+
}
|
|
1509
|
+
],
|
|
1510
|
+
query: [],
|
|
1511
|
+
binary: false,
|
|
1512
|
+
readOnly: false,
|
|
1513
|
+
destructive: true
|
|
1514
|
+
},
|
|
1495
1515
|
{
|
|
1496
1516
|
command: "execution file download",
|
|
1497
1517
|
tool: "execution_file_download",
|
|
@@ -1777,7 +1797,7 @@ var COMMANDS = [
|
|
|
1777
1797
|
command: "execution message",
|
|
1778
1798
|
tool: "execution_user_messages_add",
|
|
1779
1799
|
title: "Add execution message",
|
|
1780
|
-
description: "Send a message to a running or paused execution. The agent reads it as user input. When the agent is waiting for an answer, the message also resumes it.",
|
|
1800
|
+
description: "Send a message to a running or paused execution. The agent reads it as user input. When the agent is waiting for an answer, the message also resumes it. To attach files, upload them first with `execution_context_files_upload`, then send the message, as the platform does.",
|
|
1781
1801
|
method: "POST",
|
|
1782
1802
|
path: "/agents/v2/executions/{executionId}/user-messages",
|
|
1783
1803
|
args: [
|