@deepraxis/sdk 0.1.1-dev.64696fb → 0.1.1-dev.6602a93

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.
@@ -1371,6 +1371,43 @@ export const operations = [
1371
1371
  }
1372
1372
  ]
1373
1373
  },
1374
+ {
1375
+ "resource": "agent.computers.files",
1376
+ "method": "updateContent",
1377
+ "summary": "Write computer file content",
1378
+ "description": "Write the bytes of one existing file on a computer, only if the file is still the version you read.\n\nSend the raw bytes as the body (at most 16 MiB) and the version you edited in `If-Match`: the `version` field of the file listing (`<size>-<mtimeMs>`). The file must already exist; the write replaces it whole and keeps its permissions. A request without `If-Match` answers 428 FILE_VERSION_REQUIRED and nothing is written. When the file has changed since that version, the answer is 412 FILE_VERSION_MISMATCH with `error.current_version`, and nothing is written: read the file again, redo the edit and write with the new version. The version is checked against the file's current size and modification time, then the content digest is bound into the write itself, so a change that lands while the bytes are being written is refused instead of overwritten. Paths under /attachments and /skills are read-only (403 READ_ONLY). A successful write answers the new path, size, mtime and version; use that version for the next write.",
1379
+ "http": "PUT",
1380
+ "path": "/agent/v1/computers/{computer_id}/files/content",
1381
+ "streaming": "no",
1382
+ "pagination": false,
1383
+ "pathParams": [
1384
+ {
1385
+ "name": "computer_id",
1386
+ "sdkName": "computer_id",
1387
+ "description": "Computer id from computer creation or listing; a computer another tenant owns is not found."
1388
+ }
1389
+ ],
1390
+ "query": [
1391
+ {
1392
+ "name": "path",
1393
+ "type": "string",
1394
+ "required": true,
1395
+ "description": "Absolute path of the existing file on the computer, or a /workspace/ relative path."
1396
+ }
1397
+ ],
1398
+ "headers": [
1399
+ {
1400
+ "name": "If-Match",
1401
+ "type": "string",
1402
+ "required": true,
1403
+ "description": "The file version you edited, as the file listing gives it (<size>-<mtimeMs>); a quoted value is accepted."
1404
+ }
1405
+ ],
1406
+ "body": {
1407
+ "required": true,
1408
+ "fields": []
1409
+ }
1410
+ },
1374
1411
  {
1375
1412
  "resource": "agent.computers.files.convert",
1376
1413
  "method": "create",
@@ -4007,7 +4044,7 @@ export const operations = [
4007
4044
  "resource": "application.workers.grants",
4008
4045
  "method": "create",
4009
4046
  "summary": "Create grant",
4010
- "description": "Record access to an organization-owned database or knowledge base, all organization files (files, id *), or models (models, id *, read only). Each resource and optional alias must be unique within this Worker. Foreign and missing resources both return RESOURCE_NOT_FOUND (404); an unavailable resource service returns PROVIDER_CAPACITY (503, retryable).",
4047
+ "description": "Record access to an organization-owned database, knowledge base or agent, all organization files (files, id *), or models (models, id *, read only). Once a Worker has any grant, its platform calls reach only what its grants name; an agent grant at read_write is what lets it issue that agent's customer grant codes. Each resource and optional alias must be unique within this Worker. Foreign and missing resources both return RESOURCE_NOT_FOUND (404); an unavailable resource service returns PROVIDER_CAPACITY (503, retryable).",
4011
4048
  "http": "POST",
4012
4049
  "path": "/application/v1/workers/{worker_id}/grants",
4013
4050
  "streaming": "no",
@@ -4542,6 +4579,14 @@ export const operations = [
4542
4579
  "description": "true checks compatibility without persisting and may omit If-Match; omitted or false performs a normal update."
4543
4580
  }
4544
4581
  ],
4582
+ "headers": [
4583
+ {
4584
+ "name": "If-Match",
4585
+ "type": "string",
4586
+ "required": false,
4587
+ "description": "Required for normal updates; optional for dry_run=true but still validated when supplied. * matches any existing representation; otherwise supply the current revision ETag."
4588
+ }
4589
+ ],
4545
4590
  "body": {
4546
4591
  "required": true,
4547
4592
  "fields": [
@@ -4865,6 +4910,14 @@ export const operations = [
4865
4910
  }
4866
4911
  ],
4867
4912
  "query": [],
4913
+ "headers": [
4914
+ {
4915
+ "name": "If-Match",
4916
+ "type": "string",
4917
+ "required": false,
4918
+ "description": "Optional current revision or *; checked when supplied, with * matching any existing representation."
4919
+ }
4920
+ ],
4868
4921
  "body": {
4869
4922
  "required": true,
4870
4923
  "fields": [
@@ -4905,6 +4958,14 @@ export const operations = [
4905
4958
  }
4906
4959
  ],
4907
4960
  "query": [],
4961
+ "headers": [
4962
+ {
4963
+ "name": "webhook-id",
4964
+ "type": "string",
4965
+ "required": false,
4966
+ "description": "Optional deduplication identifier, retained for 24 hours within this trigger."
4967
+ }
4968
+ ],
4908
4969
  "body": {
4909
4970
  "required": false,
4910
4971
  "fields": []
@@ -5432,6 +5493,14 @@ export const operations = [
5432
5493
  "required": false,
5433
5494
  "description": "Opaque next_cursor from the previous page; keep the original filters when paging."
5434
5495
  }
5496
+ ],
5497
+ "headers": [
5498
+ {
5499
+ "name": "Last-Event-ID",
5500
+ "type": "string",
5501
+ "required": false,
5502
+ "description": "SSE resume cursor; read entries after this event. Takes precedence over cursor and applies only to streams."
5503
+ }
5435
5504
  ]
5436
5505
  },
5437
5506
  {
@@ -5463,6 +5532,14 @@ export const operations = [
5463
5532
  "required": false,
5464
5533
  "description": "Opaque next_cursor from the previous page; keep the original filters when paging."
5465
5534
  }
5535
+ ],
5536
+ "headers": [
5537
+ {
5538
+ "name": "Last-Event-ID",
5539
+ "type": "string",
5540
+ "required": false,
5541
+ "description": "SSE resume cursor; read entries after this event. Takes precedence over cursor and applies only to streams."
5542
+ }
5466
5543
  ]
5467
5544
  },
5468
5545
  {
@@ -5841,6 +5918,14 @@ export const operations = [
5841
5918
  }
5842
5919
  ],
5843
5920
  "query": [],
5921
+ "headers": [
5922
+ {
5923
+ "name": "If-Match",
5924
+ "type": "string",
5925
+ "required": true,
5926
+ "description": "Current resource ETag. The value of the object's draft.revision or etag field can be used directly: the bare value, the quoted form and the weak form W/\"…\" are all accepted (RFC 7232 weak comparison). Omission returns 400 and a revision mismatch returns 412."
5927
+ }
5928
+ ],
5844
5929
  "body": {
5845
5930
  "required": true,
5846
5931
  "fields": [
@@ -6501,6 +6586,14 @@ export const operations = [
6501
6586
  "pagination": false,
6502
6587
  "pathParams": [],
6503
6588
  "query": [],
6589
+ "headers": [
6590
+ {
6591
+ "name": "Accept-Language",
6592
+ "type": "string",
6593
+ "required": false,
6594
+ "description": "Language for the readable description; supports Chinese (default) and English by language quality preference."
6595
+ }
6596
+ ],
6504
6597
  "body": {
6505
6598
  "required": true,
6506
6599
  "fields": [
@@ -6572,6 +6665,14 @@ export const operations = [
6572
6665
  }
6573
6666
  ],
6574
6667
  "query": [],
6668
+ "headers": [
6669
+ {
6670
+ "name": "If-Match",
6671
+ "type": "string",
6672
+ "required": true,
6673
+ "description": "Current resource ETag. The value of the object's draft.revision or etag field can be used directly: the bare value, the quoted form and the weak form W/\"…\" are all accepted (RFC 7232 weak comparison). Omission returns 400 and a revision mismatch returns 412."
6674
+ }
6675
+ ],
6575
6676
  "body": {
6576
6677
  "required": true,
6577
6678
  "fields": [
@@ -6987,6 +7088,14 @@ export const operations = [
6987
7088
  }
6988
7089
  ],
6989
7090
  "query": [],
7091
+ "headers": [
7092
+ {
7093
+ "name": "If-Match",
7094
+ "type": "string",
7095
+ "required": true,
7096
+ "description": "Current resource ETag. The value of the object's draft.revision or etag field can be used directly: the bare value, the quoted form and the weak form W/\"…\" are all accepted (RFC 7232 weak comparison). Omission returns 400 and a revision mismatch returns 412."
7097
+ }
7098
+ ],
6990
7099
  "body": {
6991
7100
  "required": true,
6992
7101
  "fields": [
@@ -8764,6 +8873,14 @@ export const operations = [
8764
8873
  "pagination": false,
8765
8874
  "pathParams": [],
8766
8875
  "query": [],
8876
+ "headers": [
8877
+ {
8878
+ "name": "Origin",
8879
+ "type": "string",
8880
+ "required": false,
8881
+ "description": "Browser page origin the playback is opened from, for example https://school.example.com. Required when the content's allowed_origins is not empty; it must then match one of its entries exactly."
8882
+ }
8883
+ ],
8767
8884
  "body": {
8768
8885
  "required": true,
8769
8886
  "fields": [
@@ -10498,6 +10615,14 @@ export const operations = [
10498
10615
  "pagination": false,
10499
10616
  "pathParams": [],
10500
10617
  "query": [],
10618
+ "headers": [
10619
+ {
10620
+ "name": "Origin",
10621
+ "type": "string",
10622
+ "required": false,
10623
+ "description": "Browser page origin the exchange is made from, for example https://school.example.com. Send it when the sign-in is bound to one; the service compares it with the binding and refuses a mismatch."
10624
+ }
10625
+ ],
10501
10626
  "body": {
10502
10627
  "required": true,
10503
10628
  "fields": [
@@ -11990,6 +12115,20 @@ export const operations = [
11990
12115
  "required": false,
11991
12116
  "description": "Comma-separated input columns; keys outside this set are ignored."
11992
12117
  }
12118
+ ],
12119
+ "headers": [
12120
+ {
12121
+ "name": "Range-Unit",
12122
+ "type": "string",
12123
+ "required": false,
12124
+ "description": "items; other units cause Range to be ignored."
12125
+ },
12126
+ {
12127
+ "name": "Prefer",
12128
+ "type": "string",
12129
+ "required": false,
12130
+ "description": "Comma-separated preferences. count=exact|planned|estimated: unfiltered counts are exact; filtered planned reports *, estimated falls back to * when predicted over budget. missing=default skips null-filling of missing batch columns: inserts use field defaults (or null without a default), while conflict merges preserve omitted columns. Otherwise, holes in the batch key union are filled with null and can clear values during merge. Explicit null stays null. resolution=merge-duplicates updates supplied columns on conflict; resolution=ignore-duplicates leaves conflicting rows unchanged. Unknown preferences are ignored unless handling=strict (400 PGRST122)."
12131
+ }
11993
12132
  ]
11994
12133
  },
11995
12134
  {
@@ -12080,6 +12219,20 @@ export const operations = [
12080
12219
  "required": false,
12081
12220
  "description": "Comma-separated input columns; keys outside this set are ignored."
12082
12221
  }
12222
+ ],
12223
+ "headers": [
12224
+ {
12225
+ "name": "Range-Unit",
12226
+ "type": "string",
12227
+ "required": false,
12228
+ "description": "items; other units cause Range to be ignored."
12229
+ },
12230
+ {
12231
+ "name": "Prefer",
12232
+ "type": "string",
12233
+ "required": false,
12234
+ "description": "Comma-separated preferences. count=exact|planned|estimated: unfiltered counts are exact; filtered planned reports *, estimated falls back to * when predicted over budget. missing=default skips null-filling of missing batch columns: inserts use field defaults (or null without a default), while conflict merges preserve omitted columns. Otherwise, holes in the batch key union are filled with null and can clear values during merge. Explicit null stays null. resolution=merge-duplicates updates supplied columns on conflict; resolution=ignore-duplicates leaves conflicting rows unchanged. Unknown preferences are ignored unless handling=strict (400 PGRST122)."
12235
+ }
12083
12236
  ]
12084
12237
  },
12085
12238
  {
@@ -12170,6 +12323,20 @@ export const operations = [
12170
12323
  "required": false,
12171
12324
  "description": "Comma-separated input columns; keys outside this set are ignored."
12172
12325
  }
12326
+ ],
12327
+ "headers": [
12328
+ {
12329
+ "name": "Range-Unit",
12330
+ "type": "string",
12331
+ "required": false,
12332
+ "description": "items; other units cause Range to be ignored."
12333
+ },
12334
+ {
12335
+ "name": "Prefer",
12336
+ "type": "string",
12337
+ "required": false,
12338
+ "description": "Comma-separated preferences. count=exact|planned|estimated: unfiltered counts are exact; filtered planned reports *, estimated falls back to * when predicted over budget. missing=default skips null-filling of missing batch columns: inserts use field defaults (or null without a default), while conflict merges preserve omitted columns. Otherwise, holes in the batch key union are filled with null and can clear values during merge. Explicit null stays null. resolution=merge-duplicates updates supplied columns on conflict; resolution=ignore-duplicates leaves conflicting rows unchanged. Unknown preferences are ignored unless handling=strict (400 PGRST122)."
12339
+ }
12173
12340
  ]
12174
12341
  },
12175
12342
  {
@@ -12261,6 +12428,20 @@ export const operations = [
12261
12428
  "description": "Comma-separated input columns; keys outside this set are ignored."
12262
12429
  }
12263
12430
  ],
12431
+ "headers": [
12432
+ {
12433
+ "name": "Range-Unit",
12434
+ "type": "string",
12435
+ "required": false,
12436
+ "description": "items; other units cause Range to be ignored."
12437
+ },
12438
+ {
12439
+ "name": "Prefer",
12440
+ "type": "string",
12441
+ "required": false,
12442
+ "description": "Comma-separated preferences. count=exact|planned|estimated: unfiltered counts are exact; filtered planned reports *, estimated falls back to * when predicted over budget. missing=default skips null-filling of missing batch columns: inserts use field defaults (or null without a default), while conflict merges preserve omitted columns. Otherwise, holes in the batch key union are filled with null and can clear values during merge. Explicit null stays null. resolution=merge-duplicates updates supplied columns on conflict; resolution=ignore-duplicates leaves conflicting rows unchanged. Unknown preferences are ignored unless handling=strict (400 PGRST122)."
12443
+ }
12444
+ ],
12264
12445
  "body": {
12265
12446
  "required": true,
12266
12447
  "fields": []
@@ -12355,6 +12536,20 @@ export const operations = [
12355
12536
  "description": "Comma-separated input columns; keys outside this set are ignored."
12356
12537
  }
12357
12538
  ],
12539
+ "headers": [
12540
+ {
12541
+ "name": "Range-Unit",
12542
+ "type": "string",
12543
+ "required": false,
12544
+ "description": "items; other units cause Range to be ignored."
12545
+ },
12546
+ {
12547
+ "name": "Prefer",
12548
+ "type": "string",
12549
+ "required": false,
12550
+ "description": "Comma-separated preferences. count=exact|planned|estimated: unfiltered counts are exact; filtered planned reports *, estimated falls back to * when predicted over budget. missing=default skips null-filling of missing batch columns: inserts use field defaults (or null without a default), while conflict merges preserve omitted columns. Otherwise, holes in the batch key union are filled with null and can clear values during merge. Explicit null stays null. resolution=merge-duplicates updates supplied columns on conflict; resolution=ignore-duplicates leaves conflicting rows unchanged. Unknown preferences are ignored unless handling=strict (400 PGRST122)."
12551
+ }
12552
+ ],
12358
12553
  "body": {
12359
12554
  "required": true,
12360
12555
  "fields": []
@@ -12959,7 +13154,7 @@ export const operations = [
12959
13154
  "type": "array",
12960
13155
  "itemType": "string",
12961
13156
  "required": false,
12962
- "description": "Which environment fields to write, by name: name, order, requireApproval, observeMinutes, blocksLater, domainSuffix. Omit it to write every field the environment object carries."
13157
+ "description": "Which environment fields to write, by name: name, order, requireApproval, observeMinutes, blocksLater, domainSuffix, stage. Omit it to write every field the environment object carries."
12963
13158
  }
12964
13159
  ]
12965
13160
  }
@@ -13402,6 +13597,81 @@ export const operations = [
13402
13597
  }
13403
13598
  ]
13404
13599
  },
13600
+ {
13601
+ "resource": "devops.projects",
13602
+ "method": "create",
13603
+ "summary": "Create a project",
13604
+ "description": "Create a delivery project and its two default environments (develop, production). The code lives in one of two places. Our own Git: pass provider platform and package, the id (pkg_...) of a git package in your organization's registry (the registry domain lists packages and creates git libraries); there is no install flow and no connection, the project records the provider, the package and the package's default branch, and from then on pull requests, the merge gate, changes and cloud workspaces use that package and DevOps merges a pull request itself. A package backs at most one project (REPOSITORY_ALREADY_BOUND) and a package that is not a git package of your organization is INVALID_ARGUMENT. If the package has no default branch yet, which is usual for a library imported from elsewhere, pass initialRef, an existing branch such as import: the default branch is created at its head while the project is created, and no change can be opened before it exists. If the default branch already exists the call is refused with DEFAULT_BRANCH_EXISTS, and a missing initialRef branch with REF_NOT_FOUND; neither leaves a project behind. For a package whose project already exists, use devops.projects.initializeDefaultBranch instead. GitHub (the default): pass the connection of a completed GitHub App install and the repository (owner/name) it can see; leave both out to create a project with no repository yet. A name must be kebab-case and unused in the organization (PROJECT_NAME_TAKEN).",
13605
+ "http": "POST",
13606
+ "path": "/devops/v1/projects",
13607
+ "streaming": "no",
13608
+ "pagination": false,
13609
+ "pathParams": [],
13610
+ "query": [],
13611
+ "body": {
13612
+ "required": true,
13613
+ "fields": [
13614
+ {
13615
+ "name": "name",
13616
+ "type": "string",
13617
+ "required": true,
13618
+ "description": "Kebab-case name, unique within the organization."
13619
+ },
13620
+ {
13621
+ "name": "description",
13622
+ "type": "string",
13623
+ "required": false,
13624
+ "description": "What the project is for, in your own words."
13625
+ },
13626
+ {
13627
+ "name": "provider",
13628
+ "type": "string",
13629
+ "enum": [
13630
+ "github",
13631
+ "platform"
13632
+ ],
13633
+ "required": false,
13634
+ "description": "Where the code lives: github (the default) or platform, a git package of our own Git."
13635
+ },
13636
+ {
13637
+ "name": "package",
13638
+ "type": "string",
13639
+ "required": false,
13640
+ "description": "provider platform only: the id of a git package of your organization's registry. Not valid with connection or repository."
13641
+ },
13642
+ {
13643
+ "name": "initialRef",
13644
+ "type": "string",
13645
+ "required": false,
13646
+ "description": "provider platform only: an existing branch (for example import) to create the default branch from, when the package has none yet. Refused with DEFAULT_BRANCH_EXISTS if the default branch exists, REF_NOT_FOUND if this branch does not; no project is created then."
13647
+ },
13648
+ {
13649
+ "name": "connection",
13650
+ "type": "string",
13651
+ "required": false,
13652
+ "description": "provider github only: the connection of a completed GitHub App install that can see the repository."
13653
+ },
13654
+ {
13655
+ "name": "repository",
13656
+ "type": "string",
13657
+ "required": false,
13658
+ "description": "provider github only: the repository as owner/name."
13659
+ },
13660
+ {
13661
+ "name": "settings",
13662
+ "type": "object",
13663
+ "required": false,
13664
+ "description": "Delivery settings; keys you leave out take their defaults."
13665
+ },
13666
+ {
13667
+ "name": "requestId",
13668
+ "type": "string",
13669
+ "required": false,
13670
+ "description": "Idempotency key: repeat the call with the same value to be given the same answer."
13671
+ }
13672
+ ]
13673
+ }
13674
+ },
13405
13675
  {
13406
13676
  "resource": "devops.projects",
13407
13677
  "method": "retrieve",
@@ -13456,6 +13726,35 @@ export const operations = [
13456
13726
  ]
13457
13727
  }
13458
13728
  },
13729
+ {
13730
+ "resource": "devops.projects.defaultBranch",
13731
+ "method": "initialize",
13732
+ "summary": "Create a project's default branch",
13733
+ "description": "Create the default branch of a project on our own Git, once. A git package imported from elsewhere can hold branches and no default branch, and every change is cut from the default branch, so until it exists no change can be opened. The default branch is protected and only DevOps holds the credential that may write it, so this call is the one way to create it: it points the default branch at the head of the existing branch named in from (for example import). It only creates: a default branch that already exists is refused with DEFAULT_BRANCH_EXISTS and is never moved, a from that is not a branch of the repository is REF_NOT_FOUND, and a GitHub project is INVALID_ARGUMENT because GitHub's branches are GitHub's. The push reaches the project like any other push to its default branch. Read the project first (devops.projects.retrieve) for the package's default branch name.",
13734
+ "http": "POST",
13735
+ "path": "/devops/v1/projects/{id}/default-branch:initialize",
13736
+ "streaming": "no",
13737
+ "pagination": false,
13738
+ "pathParams": [
13739
+ {
13740
+ "name": "id",
13741
+ "sdkName": "id",
13742
+ "description": "The project identifier returned by the project list, not the project's display name or its repository name."
13743
+ }
13744
+ ],
13745
+ "query": [],
13746
+ "body": {
13747
+ "required": true,
13748
+ "fields": [
13749
+ {
13750
+ "name": "from",
13751
+ "type": "string",
13752
+ "required": true,
13753
+ "description": "An existing branch of the repository, for example import. The default branch is created at its head."
13754
+ }
13755
+ ]
13756
+ }
13757
+ },
13459
13758
  {
13460
13759
  "resource": "devops.projects.changes",
13461
13760
  "method": "list",
@@ -13587,6 +13886,37 @@ export const operations = [
13587
13886
  }
13588
13887
  }
13589
13888
  },
13889
+ {
13890
+ "resource": "devops.projects.cleanups",
13891
+ "method": "list",
13892
+ "summary": "List a project's cleanup ledger",
13893
+ "description": "List what the daily cleanup job removed or archived for the project, newest decision first: merged branches deleted when their pull request merged, stopped units deleted after the project's window, test evidence past its age, and prebuilds beyond the kept versions. Each row names the kind of thing, which one, whether it was archived (the record stays, the heavy content goes) or deleted, the reason and when it was decided and done; error is set while the last attempt failed and the job will try again. The ledger is read-only: the job is its only writer, and a project changes what is kept through settings.retention on devops.projects.update. A project with no row has had nothing cleaned.",
13894
+ "http": "GET",
13895
+ "path": "/devops/v1/projects/{project}/cleanups",
13896
+ "streaming": "no",
13897
+ "pagination": false,
13898
+ "pathParams": [
13899
+ {
13900
+ "name": "project",
13901
+ "sdkName": "project",
13902
+ "description": "Identifies the project whose data you are reading, from the project list or create answer."
13903
+ }
13904
+ ],
13905
+ "query": [
13906
+ {
13907
+ "name": "pageSize",
13908
+ "type": "integer",
13909
+ "required": false,
13910
+ "description": "How many items this page returns, 1 to 100; omitted uses 50. A larger value is capped at 100 rather than refused, and 0 falls back to the default, so a paging loop never fails on a size alone."
13911
+ },
13912
+ {
13913
+ "name": "pageToken",
13914
+ "type": "string",
13915
+ "required": false,
13916
+ "description": "The cursor from the previous page's nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page."
13917
+ }
13918
+ ]
13919
+ },
13590
13920
  {
13591
13921
  "resource": "devops.projects.environments",
13592
13922
  "method": "list",
@@ -14146,6 +14476,12 @@ export const operations = [
14146
14476
  "type": "string",
14147
14477
  "required": false,
14148
14478
  "description": "A GitHub login to build the \"waiting on me\" list: only pull requests where that person is a requested reviewer and has not answered yet are returned. Somebody who already approved, requested changes or commented is no longer waiting on, so they do not appear."
14479
+ },
14480
+ {
14481
+ "name": "reviewed",
14482
+ "type": "boolean",
14483
+ "required": false,
14484
+ "description": "Review is after-the-fact sampling (Sean 2026-11-24). false lists the pull requests nobody has recorded a review verdict for — send it with filter state=merged to get the merged pull requests still waiting for a sample; true lists the ones that have a review. Omit it to ignore reviews."
14149
14485
  }
14150
14486
  ]
14151
14487
  },
@@ -14512,6 +14848,16 @@ export const operations = [
14512
14848
  "type": "string",
14513
14849
  "required": false,
14514
14850
  "description": "What the diff is measured against: a commit id or a branch name. Defaults to the project's default branch. A base that is neither a branch of the project's repository nor a readable commit is refused as COMMIT_NOT_FOUND, so a typo cannot silently plan against the whole repository."
14851
+ },
14852
+ {
14853
+ "name": "view",
14854
+ "type": "string",
14855
+ "enum": [
14856
+ "full",
14857
+ "summary"
14858
+ ],
14859
+ "required": false,
14860
+ "description": "How much of the plan to return: full lists every feature scenario of the affected packages, summary returns per package only the counts (caseCounts) and lists only the cases this diff requires. A change that touches no tested code (a README) answers tens of kilobytes in the full view, because every case is listed as unaffected; ask for the summary first and use the full view only to explain one case."
14515
14861
  }
14516
14862
  ]
14517
14863
  },
@@ -14919,7 +15265,7 @@ export const operations = [
14919
15265
  "enum": [
14920
15266
  "development",
14921
15267
  "integration",
14922
- "runtime"
15268
+ "release"
14923
15269
  ],
14924
15270
  "required": false,
14925
15271
  "description": "Return only units of this stage; omit it to return every stage."
@@ -14987,7 +15333,7 @@ export const operations = [
14987
15333
  "resource": "devops.projects.workspaces",
14988
15334
  "method": "list",
14989
15335
  "summary": "List a project's stage workspaces",
14990
- "description": "List the project's three stage workspaces — development, integration and runtime — in that order. Each row says how a machine of that stage is built and how long it lives; it is configuration, not a machine, so listing never opens one. A project whose rows do not exist yet gets all three materialized on this call with the defaults (size medium, prebuild on, idle timeout 30 minutes, retention 7 days), and a later call reads those same rows back rather than replacing them. Read one stage with the workspace retrieve; the machines actually running are units.",
15336
+ "description": "List the project's three stage workspaces — development, integration and release — in that order. Each row says how a machine of that stage is built and how long it lives; it is configuration, not a machine, so listing never opens one. A project whose rows do not exist yet gets all three materialized on this call with the defaults (size medium, prebuild on, idle timeout 30 minutes, retention 7 days), and a later call reads those same rows back rather than replacing them. Read one stage with the workspace retrieve; the machines actually running are units.",
14991
15337
  "http": "GET",
14992
15338
  "path": "/devops/v1/projects/{project}/workspaces",
14993
15339
  "streaming": "no",
@@ -15019,7 +15365,7 @@ export const operations = [
15019
15365
  {
15020
15366
  "name": "stage",
15021
15367
  "sdkName": "stage",
15022
- "description": "The stage whose workspace you address: development, integration or runtime. development is the persistent stage that carries changes; integration and runtime hold one-off units."
15368
+ "description": "The stage whose workspace you address: development, integration or release. development is the persistent stage that carries changes; integration and release hold one-off units."
15023
15369
  }
15024
15370
  ],
15025
15371
  "query": []
@@ -15042,7 +15388,7 @@ export const operations = [
15042
15388
  {
15043
15389
  "name": "stage",
15044
15390
  "sdkName": "stage",
15045
- "description": "The stage whose workspace you address: development, integration or runtime. development is the persistent stage that carries changes; integration and runtime hold one-off units."
15391
+ "description": "The stage whose workspace you address: development, integration or release. development is the persistent stage that carries changes; integration and release hold one-off units."
15046
15392
  }
15047
15393
  ],
15048
15394
  "query": [],
@@ -15239,6 +15585,24 @@ export const operations = [
15239
15585
  ]
15240
15586
  }
15241
15587
  },
15588
+ {
15589
+ "resource": "devops.promotions",
15590
+ "method": "checkoutCredential",
15591
+ "summary": "Get the checkout credential of a running promotion",
15592
+ "description": "Issue the credential the deploy machine fetches a platform-Git project's code with. The caller is the deploy machine itself, during a run: its `devops/prepare` step sends the API key it already holds and receives the clone URL of the project's repository plus a pull-only credential for exactly that one repository. The credential lives 15 minutes and is issued again on every request, so it never sits in the run's stored input or log, and a leaked copy is useless almost at once. A run that needs the code later, such as an engine checkout after a long install, asks again. It answers only while the promotion is deploying (a rollback is a promotion and deploys too) or halted; a promotion that is queued, waiting for approval, observing or finished is refused with PROMOTION_NOT_RUNNING, because no machine should be fetching code for it. A project whose code is on GitHub is refused with SOURCE_NOT_PLATFORM: its checkout uses the GitHub App token, not this. The key must belong to the promotion's organization, the same check as reading the promotion with `praxis api devops promotion get <id>`. People do not need this call: to read a platform project's code use the code browser calls instead.",
15593
+ "http": "POST",
15594
+ "path": "/devops/v1/promotions/{id}:checkoutCredential",
15595
+ "streaming": "no",
15596
+ "pagination": false,
15597
+ "pathParams": [
15598
+ {
15599
+ "name": "id",
15600
+ "sdkName": "id",
15601
+ "description": "The promotion identifier returned by a promotion list or create answer."
15602
+ }
15603
+ ],
15604
+ "query": []
15605
+ },
15242
15606
  {
15243
15607
  "resource": "devops.promotions",
15244
15608
  "method": "conclude",
@@ -15425,7 +15789,7 @@ export const operations = [
15425
15789
  "resource": "devops.pullRequests",
15426
15790
  "method": "merge",
15427
15791
  "summary": "Merge a pull request through its gate",
15428
- "description": "Land a pull request by having DevOps call GitHub, so the merge goes through the platform's own merge gate instead of around it. The gate is the permission: while the gate is pending or failed the merge is refused with GATE_NOT_PASSED, and a pull request that is already merged or closed is refused with PULL_REQUEST_NOT_OPEN. Only the commit the gate decided on may land — that commit is sent to GitHub as the merge sha, so a head that moved underneath is refused with HEAD_MOVED rather than merged untested — and GitHub's own refusal, such as a conflict, comes back as MERGE_REFUSED carrying its words. method picks the merge shape and defaults to merge. queue true does not merge now: it puts the pull request into its (project, base) merge queue, where the commit that eventually lands is one GitHub built from the current base and a test run proved. Send requestId to make a retry safe — a retry that reaches a pull request DevOps itself already merged answers that merge without calling GitHub again; it does not make the merge wait. Merging something already merged by somebody else stays a refusal rather than a replay.",
15792
+ "description": "Land a pull request by having DevOps call GitHub, so the merge goes through the platform's own merge gate instead of around it. The gate is the permission: while the gate is pending or failed the merge is refused with GATE_NOT_PASSED, and a pull request that is already merged or closed is refused with PULL_REQUEST_NOT_OPEN. Only the commit the gate decided on may land — that commit is sent to GitHub as the merge sha, so a head that moved underneath is refused with HEAD_MOVED rather than merged untested — and GitHub's own refusal, such as a conflict, comes back as MERGE_REFUSED carrying its words. method picks the merge shape; on GitHub it defaults to rebase. A project on our own Git (provider platform) merges by squash only: no method means squash, and rebase or merge is refused with INVALID_ARGUMENT naming squash. queue true does not merge now: it puts the pull request into its (project, base) merge queue, where the commit that eventually lands is one GitHub built from the current base and a test run proved. Send requestId to make a retry safe — a retry that reaches a pull request DevOps itself already merged answers that merge without calling GitHub again; it does not make the merge wait. Merging something already merged by somebody else stays a refusal rather than a replay.",
15429
15793
  "http": "POST",
15430
15794
  "path": "/devops/v1/pull-requests/{id}:merge",
15431
15795
  "streaming": "no",
@@ -15470,8 +15834,8 @@ export const operations = [
15470
15834
  {
15471
15835
  "resource": "devops.pullRequests",
15472
15836
  "method": "recordVerdict",
15473
- "summary": "Record a gatekeeper's verdict on a direct change",
15474
- "description": "A gatekeeper's judgement of a change declared direct — the one gate check a person answers, because a direct change has no flag to hold it back. Send result passed to let it through, or failed to hold it, with reason saying in a sentence a reviewer can act on why; the reason becomes the message of the gate's exposure-judged check. The verdict is about ONE commit: headSha must be the pull request's current head, and a verdict for any other commit is refused with INVALID_ARGUMENT rather than applied, because a judgement of a version nobody reviewed must never pass the version that is there now — so a recorded verdict stops applying the moment the head moves, and the new head must be judged on its own. Recording it decides the gate again, so a passed verdict makes the gate passed once every other check has too, and the answer is the pull request with the gate it now reaches. A passed verdict for a change whose tests have not run leaves the gate pending: a person's judgement never outvotes a missing test.",
15837
+ "summary": "Record a review verdict on a pull request",
15838
+ "description": "Record a reviewer's verdict on a pull request, after the fact (Sean 2026-11-24). The merge gate no longer waits for it: exposure-judged is decided by machine from the declaration for every kind of exposure, so a pull request merges without any verdict. This call is the review record — send result passed or failed with reason saying in a sentence a reviewer can act on why. It is stored on the pull request as review and announced with the event devops.pullRequest.reviewed. A failed verdict on an already merged pull request is a finding for follow-up (the event says finding true): the merge stands, nothing is un-merged, and a rollback or a fix is asked for on the ticket. headSha must be the pull request's head, and a verdict for another commit is refused with INVALID_ARGUMENT. List the merged pull requests nobody reviewed with pullRequests.list reviewed=false.",
15475
15839
  "http": "POST",
15476
15840
  "path": "/devops/v1/pull-requests/{id}:recordVerdict",
15477
15841
  "streaming": "no",
@@ -17728,6 +18092,20 @@ export const operations = [
17728
18092
  }
17729
18093
  ],
17730
18094
  "query": [],
18095
+ "headers": [
18096
+ {
18097
+ "name": "X-Unique-Upload-Id",
18098
+ "type": "string",
18099
+ "required": false,
18100
+ "description": "Stable identifier shared by every chunk of this upload."
18101
+ },
18102
+ {
18103
+ "name": "Content-Range",
18104
+ "type": "string",
18105
+ "required": false,
18106
+ "description": "Chunk byte range: bytes start-end/total; total may be -1 until the final chunk."
18107
+ }
18108
+ ],
17731
18109
  "body": {
17732
18110
  "required": true,
17733
18111
  "fields": [
@@ -20017,6 +20395,14 @@ export const operations = [
20017
20395
  "pagination": false,
20018
20396
  "pathParams": [],
20019
20397
  "query": [],
20398
+ "headers": [
20399
+ {
20400
+ "name": "X-OpenRouter-Metadata",
20401
+ "type": "string",
20402
+ "required": false,
20403
+ "description": "OpenRouter-style request header that asks for routing metadata in the response. It is accepted for compatibility and has no effect: the routing metadata is not returned."
20404
+ }
20405
+ ],
20020
20406
  "body": {
20021
20407
  "required": true,
20022
20408
  "fields": [
@@ -23334,10 +23720,11 @@ export const operations = [
23334
23720
  "type": "string",
23335
23721
  "enum": [
23336
23722
  "console",
23337
- "api"
23723
+ "api",
23724
+ "codemode"
23338
23725
  ],
23339
23726
  "required": false,
23340
- "description": "Use console for Console reports or api for API callers (default); machine tokens always store codemode regardless of this value."
23727
+ "description": "Use console for Console reports or api for API callers (default). Machine tokens always store codemode regardless of this value and may send codemode; any other caller that sends codemode is refused."
23341
23728
  },
23342
23729
  {
23343
23730
  "name": "attachments",
@@ -25081,7 +25468,7 @@ export const operations = [
25081
25468
  "resource": "registry.packages.gitCredential",
25082
25469
  "method": "create",
25083
25470
  "summary": "Create a git credential",
25084
- "description": "给一个 git 包换一个短期的 git 凭据,用来 git clone / git push。access 选 pull(只读,用来克隆和拉取)或 push(推分支);一个 push 凭据只能推,克隆要另取 pull 凭据。push-protected(更新受保护分支)暂不发放,请推到别的分支再合并,请求它返回 400。ttl_seconds 是有效秒数,1-3600,默认 3600;到期后重新调用本接口,不要缓存过期的凭据。返回的 password 是敏感信息,只出现这一次,不要写进日志或提交。用法:git clone https://x-access-token:$PASSWORD@host/git/组织/库/包.git,或把 url 里的地址配上 http.extraHeader。组织未开放 git 功能返回 409;另一个组织的包、已被删除的包和 oci 包都返回 404。同一个 package_id 可以多次取,每次是一个新凭据,互不影响。",
25471
+ "description": "给一个 git 包换一个短期的 git 凭据,用来 git clone / git push。access 选 pull(只读,用来克隆和拉取)或 push(推分支,同时可以克隆和拉取)。push-protected(更新受保护分支)暂不发放,请推到别的分支再合并,请求它返回 400。ttl_seconds 是有效秒数,1-3600,默认 3600;到期后重新调用本接口,不要缓存过期的凭据。返回的 password 是敏感信息,只出现这一次,不要写进日志或提交。用法:git clone https://x-access-token:$PASSWORD@host/git/组织/库/包.git,或把 url 里的地址配上 http.extraHeader。组织未开放 git 功能返回 409;另一个组织的包、已被删除的包和 oci 包都返回 404。同一个 package_id 可以多次取,每次是一个新凭据,互不影响。",
25085
25472
  "http": "POST",
25086
25473
  "path": "/registry/v1/packages/{package_id}/git-credential",
25087
25474
  "streaming": "no",
@@ -25973,7 +26360,7 @@ export const operations = [
25973
26360
  "resource": "sandbox.byod.pairings.claim",
25974
26361
  "method": "create",
25975
26362
  "summary": "Claim a pairing and register the phone",
25976
- "description": "The phone's own final step after the owner taps Allow: it registers the device and answers the device id, a one-time credential and the control socket url the app dials. This path carries no Praxis credential — the one-time code is what it is addressed by — so do not send an API key and never call it from server code. The claim is single use: the first successful call spends the code and a second call answers 404, as does an unknown or expired code, so the app must store the credential the moment it arrives because it is never shown again. Connect to socket_url with Authorization: Bearer <credential>; the socket speaks the phone channel (hello, ping/pong, act, result/error) and the device's one connection is replaced if the app reconnects. Example: POST /sandbox/v1/byod/pairings/K7M4PQRS/claim with {platform:'android',name:'Shelf phone',model:'23127PN0CC',os_version:'16'} returns {device_id:'byd_0123456789abcdefghijklmno',credential:'…',socket_url:'wss://49982-byd0123456789abcdefghijklmno--sbx-develop.praxisusercontent.com/'}.",
26363
+ "description": "The phone's own final step after the owner taps Allow: it registers the device and answers the device id, a one-time credential and the control socket url the app dials. This path carries no Praxis credential — the one-time code is what it is addressed by — so do not send an API key and never call it from server code. The claim is single use: the first successful call spends the code and a second call answers 404, as does an unknown or expired code, so the app must store the credential the moment it arrives because it is never shown again. Connect to socket_url with Authorization: Bearer <credential>; the socket speaks the phone channel (hello, ping/pong, act, result/error) and the device's one connection is replaced if the app reconnects. Example: POST /sandbox/v1/byod/pairings/K7M4PQRS/claim with {platform:'android',name:'Shelf phone',model:'23127PN0CC',os_version:'16'} returns {device_id:'byd_0123456789abcdefghijklmno',credential:'…',socket_url:'wss://49982-byd0123456789abcdefghijklmno.sandbox-develop.praxisusercontent.com/'}.",
25977
26364
  "http": "POST",
25978
26365
  "path": "/sandbox/v1/byod/pairings/{code}/claim",
25979
26366
  "streaming": "no",
@@ -32944,7 +33331,7 @@ export const operations = [
32944
33331
  "resource": "vault.authorizations",
32945
33332
  "method": "create",
32946
33333
  "summary": "Create authorization",
32947
- "description": "Connect an OAuth service to an active vault using either an OAuth template or a resource URL. Unlike Anthropic mcp_oauth credential creation, this flow obtains tokens through user consent rather than accepting an auth token bundle; compatible mcp_oauth creation and updates return 501. Open connect_url, then poll praxis.vault.authorizations.retrieve until completed, failed or expired; only completed supplies the resulting secret_id. This stores a credential but does not enable vault-backed MCP authentication in Agent sessions.",
33334
+ "description": "Connect an OAuth service to an active vault using either an OAuth template or a resource URL. Unlike Anthropic mcp_oauth credential creation, this flow obtains tokens through user consent rather than accepting an auth token bundle; compatible mcp_oauth creation and updates return 501. Open connect_url, then poll praxis.vault.authorizations.retrieve until completed, failed or expired; only completed supplies the resulting secret_id. The resulting oauth secret serves vault-backed MCP authentication — an Agent session or deployment whose vault_ids include this vault sends it to the MCP server whose URL equals this authorization's resource URL (normalized), and the platform refreshes the token once when that server answers 401.",
32948
33335
  "http": "POST",
32949
33336
  "path": "/vault/v1/authorizations",
32950
33337
  "streaming": "no",