@deepraxis/cli 0.3.0-dev.b58d05d → 0.3.0-dev.b8773c9
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/COMMANDS.md +3 -1
- package/dist/praxis.js +106 -6
- package/package.json +1 -1
package/COMMANDS.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Generated by `bun run commands`. DO NOT EDIT.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
698 HTTP operations; 700 commands including aliases.
|
|
6
6
|
|
|
7
7
|
Environment: `PRAXIS_ENV=develop|production` (dev package defaults to `develop`; stable package defaults to `production`). No `--env` option.
|
|
8
8
|
|
|
@@ -332,6 +332,7 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
|
|
|
332
332
|
| `praxis api devops change get <id>` | `devops.changes.retrieve` | GET `/devops/v1/changes/{id}` | |
|
|
333
333
|
| `praxis api devops change mark-last-slice <id>` | `devops.changes.markLastSlice` | POST `/devops/v1/changes/{id}:markLastSlice` | `--last-slice` |
|
|
334
334
|
| `praxis api devops environment checkpoint list` | `devops.environments.checkpoints.list` | GET `/devops/v1/environments/{id}/checkpoints` | `--environment` |
|
|
335
|
+
| `praxis api devops environment update <id>` | `devops.environments.update` | PATCH `/devops/v1/environments/{id}` | `--update-mask` |
|
|
335
336
|
| `praxis api devops flag archive <id>` | `devops.flags.archive` | POST `/devops/v1/flags/{id}:archive` | |
|
|
336
337
|
| `praxis api devops flag conclude <id>` | `devops.flags.conclude` | POST `/devops/v1/flags/{id}:conclude` | `--action`, `--observe-until`, `--reason` |
|
|
337
338
|
| `praxis api devops flag environment update <environment>` | `devops.flags.environments.update` | PATCH `/devops/v1/flags/{id}/environments/{environment}` | `--flag`, `--param-version`, `--comment` |
|
|
@@ -367,6 +368,7 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
|
|
|
367
368
|
| `praxis api devops project test-run create` | `devops.projects.testRuns.create` | POST `/devops/v1/projects/{project}/test-runs` | `--project`, `--plan`, `--environment`, `--repeat`, `--wait-until`, `--executor`, `--request-id` |
|
|
368
369
|
| `praxis api devops project test-run list` | `devops.projects.testRuns.list` | GET `/devops/v1/projects/{project}/test-runs` | `--project`, `--page-size`, `--page-token`, `--filter`, `--order-by` |
|
|
369
370
|
| `praxis api devops project test-suite list` | `devops.projects.testSuites.list` | GET `/devops/v1/projects/{project}/test-suites` | `--project`, `--page-size`, `--page-token`, `--order-by` |
|
|
371
|
+
| `praxis api devops project update <id>` | `devops.projects.update` | PATCH `/devops/v1/projects/{id}` | `--update-mask` |
|
|
370
372
|
| `praxis api devops promotion approve <id>` | `devops.promotions.approve` | POST `/devops/v1/promotions/{id}:approve` | `--approved`, `--comment` |
|
|
371
373
|
| `praxis api devops promotion cancel <id>` | `devops.promotions.cancel` | POST `/devops/v1/promotions/{id}:cancel` | `--reason` |
|
|
372
374
|
| `praxis api devops promotion conclude <id>` | `devops.promotions.conclude` | POST `/devops/v1/promotions/{id}:conclude` | `--action`, `--reason` |
|
package/dist/praxis.js
CHANGED
|
@@ -25756,6 +25756,42 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
25756
25756
|
]
|
|
25757
25757
|
}
|
|
25758
25758
|
},
|
|
25759
|
+
{
|
|
25760
|
+
resource: "devops.environments",
|
|
25761
|
+
method: "update",
|
|
25762
|
+
summary: "Update an environment",
|
|
25763
|
+
description: "Change an environment's name, position, approval requirement, observation time, blocking behaviour or domain suffix. Send the new values inside environment and name the fields to write in updateMask (name, order, requireApproval, observeMinutes, blocksLater, domainSuffix); a field not named is left alone. requireApproval true makes every later promotion into this environment stop in awaiting_approval until promotions.approve lets it proceed; promotions already running are not stopped. order moves the environment within the promotion sequence and renumbers its neighbours, and a value that would break the 1..n sequence is refused with ENVIRONMENT_ORDER_INVALID. Read the environment list first to know what you are leaving unchanged.",
|
|
25764
|
+
http: "PATCH",
|
|
25765
|
+
path: "/devops/v1/environments/{id}",
|
|
25766
|
+
streaming: "no",
|
|
25767
|
+
pagination: false,
|
|
25768
|
+
pathParams: [
|
|
25769
|
+
{
|
|
25770
|
+
name: "id",
|
|
25771
|
+
sdkName: "id",
|
|
25772
|
+
description: "The environment identifier from a project's environment list; the tier or the display name is not an address."
|
|
25773
|
+
}
|
|
25774
|
+
],
|
|
25775
|
+
query: [],
|
|
25776
|
+
body: {
|
|
25777
|
+
required: true,
|
|
25778
|
+
fields: [
|
|
25779
|
+
{
|
|
25780
|
+
name: "environment",
|
|
25781
|
+
type: "object",
|
|
25782
|
+
required: true,
|
|
25783
|
+
description: "The new values for the environment fields to change."
|
|
25784
|
+
},
|
|
25785
|
+
{
|
|
25786
|
+
name: "updateMask",
|
|
25787
|
+
type: "array",
|
|
25788
|
+
itemType: "string",
|
|
25789
|
+
required: false,
|
|
25790
|
+
description: "Which environment fields to write, by name: name, order, requireApproval, observeMinutes, blocksLater, domainSuffix. Omit it to write every field the environment object carries."
|
|
25791
|
+
}
|
|
25792
|
+
]
|
|
25793
|
+
}
|
|
25794
|
+
},
|
|
25759
25795
|
{
|
|
25760
25796
|
resource: "devops.environments.checkpoints",
|
|
25761
25797
|
method: "list",
|
|
@@ -26129,6 +26165,42 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
26129
26165
|
],
|
|
26130
26166
|
query: []
|
|
26131
26167
|
},
|
|
26168
|
+
{
|
|
26169
|
+
resource: "devops.projects",
|
|
26170
|
+
method: "update",
|
|
26171
|
+
summary: "Update a project",
|
|
26172
|
+
description: "Change a project's name, description, labels or delivery settings. Send the new values inside project and name the fields to write in updateMask (name, description, labels, settings); a field not named is left alone, and a mask naming a field this operation cannot change is refused. settings is merged into the current settings rather than replacing them, so a body naming one setting leaves the others as they were. settings.executor decides who publishes the project: absent or mise reads as the Mise pipeline, and devops means that, once the merge is done, the DevOps pipeline releases it. Changing executor changes which pipeline the next release uses, not what already ran. A new name must be kebab-case and unused in the organization, otherwise PROJECT_NAME_TAKEN. Read the project first to know what you are leaving unchanged.",
|
|
26173
|
+
http: "PATCH",
|
|
26174
|
+
path: "/devops/v1/projects/{id}",
|
|
26175
|
+
streaming: "no",
|
|
26176
|
+
pagination: false,
|
|
26177
|
+
pathParams: [
|
|
26178
|
+
{
|
|
26179
|
+
name: "id",
|
|
26180
|
+
sdkName: "id",
|
|
26181
|
+
description: "The project identifier returned by the project list, not the project's display name or its repository name."
|
|
26182
|
+
}
|
|
26183
|
+
],
|
|
26184
|
+
query: [],
|
|
26185
|
+
body: {
|
|
26186
|
+
required: true,
|
|
26187
|
+
fields: [
|
|
26188
|
+
{
|
|
26189
|
+
name: "project",
|
|
26190
|
+
type: "object",
|
|
26191
|
+
required: true,
|
|
26192
|
+
description: "The new values. settings is merged into the current settings, so name only the settings to change."
|
|
26193
|
+
},
|
|
26194
|
+
{
|
|
26195
|
+
name: "updateMask",
|
|
26196
|
+
type: "array",
|
|
26197
|
+
itemType: "string",
|
|
26198
|
+
required: false,
|
|
26199
|
+
description: "Which project fields to write, by name: name, description, labels, settings. Omit it to write every field the project object carries."
|
|
26200
|
+
}
|
|
26201
|
+
]
|
|
26202
|
+
}
|
|
26203
|
+
},
|
|
26132
26204
|
{
|
|
26133
26205
|
resource: "devops.projects.changes",
|
|
26134
26206
|
method: "list",
|
|
@@ -28114,7 +28186,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
28114
28186
|
resource: "file.uploads",
|
|
28115
28187
|
method: "createSigned",
|
|
28116
28188
|
summary: "Create a one-time upload URL",
|
|
28117
|
-
description: "Upload a local file of up to 20 GiB from a coding agent without sending bytes through the model. Provide basename, exact byte count and MIME type. Up to 104857600 bytes, PUT the file to url with curl -T photo.png -H 'Content-Type: image/png' '<url>'; success returns 201 with the file object, and reuse returns 410 CAPABILITY_USED. Above that threshold, split the file into part_size chunks (default 64000000 bytes) and PUT each chunk to its numbered parts[].url in any order; an interrupted client GETs status_url to see the received parts and resends only what is missing, then POSTs complete_url without a body. Part PUTs return 200; completion returns 201 with the file object, including its state, or 400 if a part is missing. A processing file can be polled with files.retrieve until active. Identical part bytes may be retried; changed bytes at the same number return 400. Completion reuse returns 410 CAPABILITY_USED. Each PUT requires the exact signed Content-Length; single-PUT Content-Type must match content_type or be omitted. Expired, revoked, invalid, wrong-action or cross-organization URLs return 404. URL lifetime defaults to 900 seconds for single PUT or 604800 (7 days) for multipart, at most 604800; all multipart URLs, including status_url, share an expiry. Multipart creation reserves storage quota. Issuance requires the same unscoped credential as direct file creation. Each issuance creates a new upload and is not idempotent. Example body: {\"filename\":\"photo.png\",\"bytes\":2048,\"content_type\":\"image/png\"}.",
|
|
28189
|
+
description: "Upload a local file of up to 20 GiB from a coding agent without sending bytes through the model. Provide filename (the stored basename), exact byte count and MIME type. Up to 104857600 bytes, PUT the file to url with curl -T photo.png -H 'Content-Type: image/png' '<url>'; success returns 201 with the file object, and reuse returns 410 CAPABILITY_USED. Above that threshold, split the file into part_size chunks (default 64000000 bytes) and PUT each chunk to its numbered parts[].url in any order; an interrupted client GETs status_url to see the received parts and resends only what is missing, then POSTs complete_url without a body. Part PUTs return 200; completion returns 201 with the file object, including its state, or 400 if a part is missing. A processing file can be polled with files.retrieve until active. Identical part bytes may be retried; changed bytes at the same number return 400. Completion reuse returns 410 CAPABILITY_USED. Each PUT requires the exact signed Content-Length; single-PUT Content-Type must match content_type or be omitted. Expired, revoked, invalid, wrong-action or cross-organization URLs return 404. URL lifetime defaults to 900 seconds for single PUT or 604800 (7 days) for multipart, at most 604800; all multipart URLs, including status_url, share an expiry. Multipart creation reserves storage quota. Issuance requires the same unscoped credential as direct file creation. Each issuance creates a new upload and is not idempotent. Example body: {\"filename\":\"photo.png\",\"bytes\":2048,\"content_type\":\"image/png\"}.",
|
|
28118
28190
|
http: "POST",
|
|
28119
28191
|
path: "/file/v1/uploads/signed",
|
|
28120
28192
|
streaming: "no",
|
|
@@ -30360,7 +30432,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
30360
30432
|
resource: "media.libraries.jobs",
|
|
30361
30433
|
method: "cancel",
|
|
30362
30434
|
summary: "Cancel job",
|
|
30363
|
-
description: "Cancel a queued or running generation job. Outputs already produced remain in the library; poll or read the returned Job to confirm its status.",
|
|
30435
|
+
description: "Cancel a queued or running generation job. Outputs already produced remain in the library; poll or read the returned Job to confirm its status. A video cannot be cancelled once the provider has started generating it: the call answers 409 JOB_INVALID_STATE (details VIDEO_ALREADY_RUNNING), and the task still finishes, is saved to the library and is charged.",
|
|
30364
30436
|
http: "POST",
|
|
30365
30437
|
path: "/media/v1/libraries/{library_id}/jobs/{job_id}/cancel",
|
|
30366
30438
|
streaming: "no",
|
|
@@ -48264,6 +48336,19 @@ var devopsProjectsGet = (options) => (options.client ?? client).get({
|
|
|
48264
48336
|
url: "/devops/v1/projects/{id}",
|
|
48265
48337
|
...options
|
|
48266
48338
|
});
|
|
48339
|
+
var devopsProjectsUpdate = (options) => (options.client ?? client).patch({
|
|
48340
|
+
security: [{
|
|
48341
|
+
key: "devops-bearerAuth",
|
|
48342
|
+
scheme: "bearer",
|
|
48343
|
+
type: "http"
|
|
48344
|
+
}],
|
|
48345
|
+
url: "/devops/v1/projects/{id}",
|
|
48346
|
+
...options,
|
|
48347
|
+
headers: {
|
|
48348
|
+
"Content-Type": "application/json",
|
|
48349
|
+
...options.headers
|
|
48350
|
+
}
|
|
48351
|
+
});
|
|
48267
48352
|
var devopsReleasesList = (options) => (options.client ?? client).get({
|
|
48268
48353
|
security: [{
|
|
48269
48354
|
key: "devops-bearerAuth",
|
|
@@ -48414,6 +48499,19 @@ var devopsEnvironmentsList = (options) => (options.client ?? client).get({
|
|
|
48414
48499
|
url: "/devops/v1/projects/{project}/environments",
|
|
48415
48500
|
...options
|
|
48416
48501
|
});
|
|
48502
|
+
var devopsEnvironmentsUpdate = (options) => (options.client ?? client).patch({
|
|
48503
|
+
security: [{
|
|
48504
|
+
key: "devops-bearerAuth",
|
|
48505
|
+
scheme: "bearer",
|
|
48506
|
+
type: "http"
|
|
48507
|
+
}],
|
|
48508
|
+
url: "/devops/v1/environments/{id}",
|
|
48509
|
+
...options,
|
|
48510
|
+
headers: {
|
|
48511
|
+
"Content-Type": "application/json",
|
|
48512
|
+
...options.headers
|
|
48513
|
+
}
|
|
48514
|
+
});
|
|
48417
48515
|
var devopsEnvironmentsCheckpointsList = (options) => (options.client ?? client).get({
|
|
48418
48516
|
security: [{
|
|
48419
48517
|
key: "devops-bearerAuth",
|
|
@@ -53047,7 +53145,8 @@ function createDevops(transport) {
|
|
|
53047
53145
|
environments: {
|
|
53048
53146
|
checkpoints: {
|
|
53049
53147
|
list: bind(transport, devopsEnvironmentsCheckpointsList)
|
|
53050
|
-
}
|
|
53148
|
+
},
|
|
53149
|
+
update: bind(transport, devopsEnvironmentsUpdate)
|
|
53051
53150
|
},
|
|
53052
53151
|
flags: {
|
|
53053
53152
|
archive: bind(transport, devopsFlagsArchive),
|
|
@@ -53118,7 +53217,8 @@ function createDevops(transport) {
|
|
|
53118
53217
|
},
|
|
53119
53218
|
testSuites: {
|
|
53120
53219
|
list: bind(transport, devopsTestSuitesList)
|
|
53121
|
-
}
|
|
53220
|
+
},
|
|
53221
|
+
update: bind(transport, devopsProjectsUpdate)
|
|
53122
53222
|
},
|
|
53123
53223
|
promotions: {
|
|
53124
53224
|
approve: bind(transport, devopsPromotionsApprove),
|
|
@@ -54339,7 +54439,7 @@ with your tabs and sign-ins. disconnect() only drops the connection and never re
|
|
|
54339
54439
|
- browser.open(url, { reuseTab = true }) -> Tab: navigates an open tab of the same hostname in place, else opens a new tab
|
|
54340
54440
|
- Tab: id, url(), title(), goto(url) (waits for domcontentloaded), back(), forward(), reload(), close()
|
|
54341
54441
|
- Tab: snapshot() -> string, the page as an ARIA tree with [ref=eN] marks
|
|
54342
|
-
- Tab: click(ref) / fill(ref, text) / press(key) / scroll(direction, pixels) / evaluate(expression): act on an element from the latest snapshot's ref, or on the page
|
|
54442
|
+
- Tab: click(ref) / fill(ref, text) / press(key) / scroll(direction, pixels) / evaluate(expression): act on an element from the latest snapshot's ref, or on the page. expression is an expression or a function (e.g. "() => document.title"); a function is called and its result returned.
|
|
54343
54443
|
- Tab: screenshot({ fullPage }) -> { path, hint }; a PNG file you view with the Read tool
|
|
54344
54444
|
- Tab: playwright -> the Playwright Page (getByRole, getByText, getByLabel, getByPlaceholder, locator, waitForURL, evaluate ...). Only available where Playwright is; reading it elsewhere throws and names the methods that work.
|
|
54345
54445
|
|
|
@@ -62073,7 +62173,7 @@ function startProgress(ctx, write = (text) => writeOutput({ stderr: text })) {
|
|
|
62073
62173
|
}
|
|
62074
62174
|
|
|
62075
62175
|
// src/main.ts
|
|
62076
|
-
var version = "0.3.0-dev.
|
|
62176
|
+
var version = "0.3.0-dev.b8773c9";
|
|
62077
62177
|
var commands = commandTree(operations);
|
|
62078
62178
|
var manual = [...workflows.map((w) => w.words), [API_WORD]];
|
|
62079
62179
|
function route(argv) {
|