@asteroidai/cli 1.9.267 → 1.9.286

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 CHANGED
@@ -383,6 +383,41 @@ var COMMANDS = [
383
383
  readOnly: true,
384
384
  destructive: false
385
385
  },
386
+ {
387
+ command: "bug report",
388
+ tool: "bug_report_create",
389
+ title: "File a bug report",
390
+ description: "File a bug report with Asteroid's engineering team. Use it for defects in the Asteroid platform itself. Do not use it when the problem is in a downstream portal or site the agent drives, or in the user's own workflow. Write plain text: what happened, what was expected, and the ids of any executions or workflows involved. Never include patient data, credentials or other secrets; reference ids instead. Returns a reference such as AST-123 for the user to quote.",
391
+ method: "POST",
392
+ path: "/agents/v2/support/bug-reports",
393
+ args: [],
394
+ query: [],
395
+ binary: false,
396
+ readOnly: false,
397
+ destructive: false,
398
+ body: {
399
+ required: true,
400
+ contentType: "application/json",
401
+ fields: [
402
+ {
403
+ name: "title",
404
+ flag: "title",
405
+ type: "string",
406
+ required: true,
407
+ description: "One line naming the bug, 1 to 200 characters, no line breaks"
408
+ },
409
+ {
410
+ name: "description",
411
+ flag: "description",
412
+ type: "string",
413
+ required: true,
414
+ description: "Plain text, 1 to 10000 characters: what happened, what you expected, and the ids of the executions or workflows involved"
415
+ }
416
+ ],
417
+ files: [],
418
+ credentialOrganization: false
419
+ }
420
+ },
386
421
  {
387
422
  command: "catalog get",
388
423
  tool: "catalog_get",
@@ -2104,7 +2139,7 @@ var COMMANDS = [
2104
2139
  command: "execution resume",
2105
2140
  tool: "execution_resume",
2106
2141
  title: "Resume execution",
2107
- description: "Resume a paused execution. It continues from where it stopped. Also approves an execution in `awaiting_confirmation`, like Approve on the execution page: read the agent's reason in `execution_activities_get` first, and get the user's go-ahead before you approve for them.",
2142
+ description: "Resume a paused execution. It continues from where it stopped. Also approves an execution in `awaiting_confirmation`, like Approve on the execution page: read the agent's reason in `execution_activities_get` first, and get the user's go-ahead before you approve for them. It waits up to 10 seconds for the run to leave the pause or hold.",
2108
2143
  method: "POST",
2109
2144
  path: "/agents/v2/executions/{executionId}/resume",
2110
2145
  args: [
@@ -7615,7 +7650,7 @@ var ApiError = class extends Error {
7615
7650
  status;
7616
7651
  body;
7617
7652
  };
7618
- var VERSION = "1.9.267";
7653
+ var VERSION = "1.9.286";
7619
7654
  function problem(status, body, fallback) {
7620
7655
  if (body && typeof body === "object") {
7621
7656
  const record2 = body;
package/dist/core.js CHANGED
@@ -404,6 +404,41 @@ var COMMANDS = [
404
404
  readOnly: true,
405
405
  destructive: false
406
406
  },
407
+ {
408
+ command: "bug report",
409
+ tool: "bug_report_create",
410
+ title: "File a bug report",
411
+ description: "File a bug report with Asteroid's engineering team. Use it for defects in the Asteroid platform itself. Do not use it when the problem is in a downstream portal or site the agent drives, or in the user's own workflow. Write plain text: what happened, what was expected, and the ids of any executions or workflows involved. Never include patient data, credentials or other secrets; reference ids instead. Returns a reference such as AST-123 for the user to quote.",
412
+ method: "POST",
413
+ path: "/agents/v2/support/bug-reports",
414
+ args: [],
415
+ query: [],
416
+ binary: false,
417
+ readOnly: false,
418
+ destructive: false,
419
+ body: {
420
+ required: true,
421
+ contentType: "application/json",
422
+ fields: [
423
+ {
424
+ name: "title",
425
+ flag: "title",
426
+ type: "string",
427
+ required: true,
428
+ description: "One line naming the bug, 1 to 200 characters, no line breaks"
429
+ },
430
+ {
431
+ name: "description",
432
+ flag: "description",
433
+ type: "string",
434
+ required: true,
435
+ description: "Plain text, 1 to 10000 characters: what happened, what you expected, and the ids of the executions or workflows involved"
436
+ }
437
+ ],
438
+ files: [],
439
+ credentialOrganization: false
440
+ }
441
+ },
407
442
  {
408
443
  command: "catalog get",
409
444
  tool: "catalog_get",
@@ -2125,7 +2160,7 @@ var COMMANDS = [
2125
2160
  command: "execution resume",
2126
2161
  tool: "execution_resume",
2127
2162
  title: "Resume execution",
2128
- description: "Resume a paused execution. It continues from where it stopped. Also approves an execution in `awaiting_confirmation`, like Approve on the execution page: read the agent's reason in `execution_activities_get` first, and get the user's go-ahead before you approve for them.",
2163
+ description: "Resume a paused execution. It continues from where it stopped. Also approves an execution in `awaiting_confirmation`, like Approve on the execution page: read the agent's reason in `execution_activities_get` first, and get the user's go-ahead before you approve for them. It waits up to 10 seconds for the run to leave the pause or hold.",
2129
2164
  method: "POST",
2130
2165
  path: "/agents/v2/executions/{executionId}/resume",
2131
2166
  args: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asteroidai/cli",
3
- "version": "1.9.267",
3
+ "version": "1.9.286",
4
4
  "description": "The asteroid command-line interface for the Asteroid platform.",
5
5
  "type": "module",
6
6
  "license": "MIT",