@asteroidai/cli 1.9.103 → 1.9.105
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 +14 -1
- package/dist/core.js +13 -0
- package/package.json +1 -1
package/dist/asteroid.js
CHANGED
|
@@ -5,6 +5,19 @@ import { spawn } from "node:child_process";
|
|
|
5
5
|
|
|
6
6
|
// src/generated/commands.ts
|
|
7
7
|
var COMMANDS = [
|
|
8
|
+
{
|
|
9
|
+
command: "api-key list",
|
|
10
|
+
tool: "api_keys_list",
|
|
11
|
+
title: "List API keys",
|
|
12
|
+
description: "List the organization's API keys, newest first: name, obfuscated value, creator, created, last used and expiry. Values never appear. Use it to check that a key exists before deploying. Keys are created in the platform; `organizationId` defaults to the caller's one organization.",
|
|
13
|
+
method: "GET",
|
|
14
|
+
path: "/users/v2/api-keys",
|
|
15
|
+
args: [],
|
|
16
|
+
query: [],
|
|
17
|
+
binary: false,
|
|
18
|
+
readOnly: true,
|
|
19
|
+
destructive: false
|
|
20
|
+
},
|
|
8
21
|
{
|
|
9
22
|
command: "batch cancel",
|
|
10
23
|
tool: "execution_batch_cancel",
|
|
@@ -6803,7 +6816,7 @@ var ApiError = class extends Error {
|
|
|
6803
6816
|
status;
|
|
6804
6817
|
body;
|
|
6805
6818
|
};
|
|
6806
|
-
var VERSION = "1.9.
|
|
6819
|
+
var VERSION = "1.9.105";
|
|
6807
6820
|
function problem(status, body, fallback) {
|
|
6808
6821
|
if (body && typeof body === "object") {
|
|
6809
6822
|
const record2 = body;
|
package/dist/core.js
CHANGED
|
@@ -26,6 +26,19 @@ function matchCommand(words, commands) {
|
|
|
26
26
|
|
|
27
27
|
// src/generated/commands.ts
|
|
28
28
|
var COMMANDS = [
|
|
29
|
+
{
|
|
30
|
+
command: "api-key list",
|
|
31
|
+
tool: "api_keys_list",
|
|
32
|
+
title: "List API keys",
|
|
33
|
+
description: "List the organization's API keys, newest first: name, obfuscated value, creator, created, last used and expiry. Values never appear. Use it to check that a key exists before deploying. Keys are created in the platform; `organizationId` defaults to the caller's one organization.",
|
|
34
|
+
method: "GET",
|
|
35
|
+
path: "/users/v2/api-keys",
|
|
36
|
+
args: [],
|
|
37
|
+
query: [],
|
|
38
|
+
binary: false,
|
|
39
|
+
readOnly: true,
|
|
40
|
+
destructive: false
|
|
41
|
+
},
|
|
29
42
|
{
|
|
30
43
|
command: "batch cancel",
|
|
31
44
|
tool: "execution_batch_cancel",
|