@allocator-one/infraone 1.17.0 → 1.17.1
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/{chunk-W7BVOQQG.js → chunk-XA5UDNJI.js} +1 -1
- package/dist/cli.js +263 -88
- package/dist/{infraone-V3IKKVBG.js → infraone-7TAHY4RN.js} +1 -1
- package/dist/infraone-SLZXBJCV.js +22133 -0
- package/dist/infraone.js +3 -3
- package/package.json +1 -1
- package/dist/infraone-A3KDADRM.js +0 -249
- /package/dist/{chunk-A4WZAC7L.js → chunk-67NX7MJ2.js} +0 -0
package/dist/infraone.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
guardBrokenPipes,
|
|
4
4
|
runOperatorMount
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-67NX7MJ2.js";
|
|
6
6
|
import {
|
|
7
7
|
InfraoneClient,
|
|
8
8
|
commandSpecs,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
resolveConfig,
|
|
16
16
|
transferFor,
|
|
17
17
|
whoami
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XA5UDNJI.js";
|
|
19
19
|
import "./chunk-WSDFLMO6.js";
|
|
20
20
|
import {
|
|
21
21
|
CommandError,
|
|
@@ -318,7 +318,7 @@ function buildProgram(config, client, loaded, io, state) {
|
|
|
318
318
|
);
|
|
319
319
|
});
|
|
320
320
|
program.command("mcp").description("serve Infra One's tools to an AI client over stdio (MCP), with your stored login").helpGroup(general).action(async () => {
|
|
321
|
-
const { startInfraoneMcp } = await import("./infraone-
|
|
321
|
+
const { startInfraoneMcp } = await import("./infraone-7TAHY4RN.js");
|
|
322
322
|
await startInfraoneMcp({ env: io.env, ...io.fetchImpl === void 0 ? {} : { fetchImpl: io.fetchImpl } });
|
|
323
323
|
});
|
|
324
324
|
program.command("operator").description("drive Operator: every operator command, with its own login on Harness").helpGroup(general).allowUnknownOption().allowExcessArguments().action(() => {
|
package/package.json
CHANGED
|
@@ -1,249 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
// spec/infraone.json
|
|
4
|
-
var infraone_default = {
|
|
5
|
-
components: {
|
|
6
|
-
responses: {
|
|
7
|
-
confirmation_required: {
|
|
8
|
-
content: {
|
|
9
|
-
"application/json": {
|
|
10
|
-
schema: {
|
|
11
|
-
$ref: "#/components/schemas/Error"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
description: "A person must confirm this operation first"
|
|
16
|
-
},
|
|
17
|
-
forbidden: {
|
|
18
|
-
content: {
|
|
19
|
-
"application/json": {
|
|
20
|
-
schema: {
|
|
21
|
-
$ref: "#/components/schemas/Error"
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
description: "The credential lacks the scope this operation needs"
|
|
26
|
-
},
|
|
27
|
-
not_found: {
|
|
28
|
-
content: {
|
|
29
|
-
"application/json": {
|
|
30
|
-
schema: {
|
|
31
|
-
$ref: "#/components/schemas/Error"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
description: "Not found, or not yours to see"
|
|
36
|
-
},
|
|
37
|
-
rate_limited: {
|
|
38
|
-
content: {
|
|
39
|
-
"application/json": {
|
|
40
|
-
schema: {
|
|
41
|
-
$ref: "#/components/schemas/Error"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
description: "Too many requests for this credential"
|
|
46
|
-
},
|
|
47
|
-
unauthorized: {
|
|
48
|
-
content: {
|
|
49
|
-
"application/json": {
|
|
50
|
-
schema: {
|
|
51
|
-
$ref: "#/components/schemas/Error"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
description: "No valid product credential"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
schemas: {
|
|
59
|
-
Error: {
|
|
60
|
-
properties: {
|
|
61
|
-
error: {
|
|
62
|
-
type: "string"
|
|
63
|
-
},
|
|
64
|
-
message: {
|
|
65
|
-
type: "string"
|
|
66
|
-
},
|
|
67
|
-
request_id: {
|
|
68
|
-
nullable: true,
|
|
69
|
-
type: "string"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
required: [
|
|
73
|
-
"error",
|
|
74
|
-
"message"
|
|
75
|
-
],
|
|
76
|
-
type: "object"
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
securitySchemes: {
|
|
80
|
-
bearer: {
|
|
81
|
-
scheme: "bearer",
|
|
82
|
-
type: "http"
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
info: {
|
|
87
|
-
description: "What you can do in Infra One, with exactly your app rights. Sign in with `infraone login`, or connect an AI client to the Infra One MCP at https://mcp.infra.one/mcp.",
|
|
88
|
-
title: "Infra One API",
|
|
89
|
-
version: "1"
|
|
90
|
-
},
|
|
91
|
-
openapi: "3.0.0",
|
|
92
|
-
paths: {
|
|
93
|
-
"/v1/datarooms/spaces": {
|
|
94
|
-
get: {
|
|
95
|
-
callbacks: {},
|
|
96
|
-
deprecated: false,
|
|
97
|
-
description: "The data room spaces you can open in this org, newest first: your personal spaces, or the team spaces you own or collaborate on (`type=team`, the default), exactly as the app lists them.",
|
|
98
|
-
operationId: "datarooms_spaces_list",
|
|
99
|
-
parameters: [
|
|
100
|
-
{
|
|
101
|
-
description: "Which spaces to list",
|
|
102
|
-
in: "query",
|
|
103
|
-
name: "type",
|
|
104
|
-
required: false,
|
|
105
|
-
schema: {
|
|
106
|
-
default: "team",
|
|
107
|
-
enum: [
|
|
108
|
-
"team",
|
|
109
|
-
"personal"
|
|
110
|
-
],
|
|
111
|
-
type: "string"
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
description: "Rows per page, 1 to 100 (50)",
|
|
116
|
-
in: "query",
|
|
117
|
-
name: "limit",
|
|
118
|
-
required: false,
|
|
119
|
-
schema: {
|
|
120
|
-
maximum: 100,
|
|
121
|
-
minimum: 1,
|
|
122
|
-
type: "integer"
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
description: "The previous page's `meta.next_cursor`",
|
|
127
|
-
in: "query",
|
|
128
|
-
name: "cursor",
|
|
129
|
-
required: false,
|
|
130
|
-
schema: {
|
|
131
|
-
type: "string"
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
],
|
|
135
|
-
responses: {
|
|
136
|
-
"200": {
|
|
137
|
-
content: {
|
|
138
|
-
"application/json": {
|
|
139
|
-
schema: {
|
|
140
|
-
properties: {
|
|
141
|
-
data: {
|
|
142
|
-
items: {
|
|
143
|
-
properties: {
|
|
144
|
-
id: {
|
|
145
|
-
format: "uuid",
|
|
146
|
-
type: "string"
|
|
147
|
-
},
|
|
148
|
-
inserted_at: {
|
|
149
|
-
format: "date-time",
|
|
150
|
-
type: "string"
|
|
151
|
-
},
|
|
152
|
-
owner_id: {
|
|
153
|
-
description: "The user who owns the space",
|
|
154
|
-
format: "uuid",
|
|
155
|
-
type: "string"
|
|
156
|
-
},
|
|
157
|
-
subtitle: {
|
|
158
|
-
nullable: true,
|
|
159
|
-
type: "string"
|
|
160
|
-
},
|
|
161
|
-
tags: {
|
|
162
|
-
items: {
|
|
163
|
-
type: "string"
|
|
164
|
-
},
|
|
165
|
-
type: "array"
|
|
166
|
-
},
|
|
167
|
-
title: {
|
|
168
|
-
type: "string"
|
|
169
|
-
},
|
|
170
|
-
updated_at: {
|
|
171
|
-
format: "date-time",
|
|
172
|
-
type: "string"
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
required: [
|
|
176
|
-
"id",
|
|
177
|
-
"title",
|
|
178
|
-
"owner_id",
|
|
179
|
-
"inserted_at"
|
|
180
|
-
],
|
|
181
|
-
title: "Space",
|
|
182
|
-
type: "object"
|
|
183
|
-
},
|
|
184
|
-
type: "array"
|
|
185
|
-
},
|
|
186
|
-
meta: {
|
|
187
|
-
properties: {
|
|
188
|
-
next_cursor: {
|
|
189
|
-
description: "The next page's cursor",
|
|
190
|
-
nullable: true,
|
|
191
|
-
type: "string"
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
type: "object"
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
required: [
|
|
198
|
-
"data",
|
|
199
|
-
"meta"
|
|
200
|
-
],
|
|
201
|
-
type: "object"
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
description: "OK"
|
|
206
|
-
},
|
|
207
|
-
"401": {
|
|
208
|
-
$ref: "#/components/responses/unauthorized"
|
|
209
|
-
},
|
|
210
|
-
"403": {
|
|
211
|
-
$ref: "#/components/responses/forbidden"
|
|
212
|
-
},
|
|
213
|
-
"404": {
|
|
214
|
-
$ref: "#/components/responses/not_found"
|
|
215
|
-
},
|
|
216
|
-
"429": {
|
|
217
|
-
$ref: "#/components/responses/rate_limited"
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
summary: "List spaces",
|
|
221
|
-
tags: [
|
|
222
|
-
"datarooms"
|
|
223
|
-
],
|
|
224
|
-
"x-infraone-command": "datarooms spaces list",
|
|
225
|
-
"x-infraone-parity": [
|
|
226
|
-
2
|
|
227
|
-
],
|
|
228
|
-
"x-infraone-risk": "read",
|
|
229
|
-
"x-infraone-scope": "datarooms:read",
|
|
230
|
-
"x-infraone-tool": "datarooms_spaces_list"
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
},
|
|
234
|
-
security: [
|
|
235
|
-
{
|
|
236
|
-
bearer: []
|
|
237
|
-
}
|
|
238
|
-
],
|
|
239
|
-
servers: [
|
|
240
|
-
{
|
|
241
|
-
url: "https://api.infra.one",
|
|
242
|
-
variables: {}
|
|
243
|
-
}
|
|
244
|
-
],
|
|
245
|
-
tags: []
|
|
246
|
-
};
|
|
247
|
-
export {
|
|
248
|
-
infraone_default as default
|
|
249
|
-
};
|
|
File without changes
|