@deepraxis/cli 0.2.2-dev.214765b → 0.2.2-dev.29dd643

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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Generated by `bun run commands`. DO NOT EDIT.
4
4
 
5
- 620 HTTP operations; 622 commands including aliases.
5
+ 628 HTTP operations; 630 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
 
@@ -560,6 +560,7 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
560
560
  | `praxis api studio work draft get-review <draft>` | `studio.works.drafts.retrieveReview` | GET `/studio/v1/works/{work}/drafts/{draft}/review` | `--work`, `--page-token` |
561
561
  | `praxis api studio work draft list` | `studio.works.drafts.list` | GET `/studio/v1/works/{work}/drafts` | `--work` |
562
562
  | `praxis api studio work draft rebase <draft>` | `studio.works.drafts.rebase` | POST `/studio/v1/works/{work}/drafts/{draft}:rebase` | `--work`, `--expected-revision` |
563
+ | `praxis api studio work draft rendition create` | `studio.works.drafts.renditions.create` | POST `/studio/v1/works/{work}/drafts/{draft}/renditions` | `--work`, `--draft`, `--platform`, `--theme`, `--render`, `--request-id` |
563
564
  | `praxis api studio work draft status list` | `studio.works.drafts.status.list` | GET `/studio/v1/works/{work}/drafts/{draft}/status` | `--work`, `--draft` |
564
565
  | `praxis api studio work draft unit batch-create <draft>` | `studio.works.drafts.units.batchCreate` | POST `/studio/v1/works/{work}/drafts/{draft}/units:batchCreate` | `--work`, `--expected-revision`, `--parent` |
565
566
  | `praxis api studio work draft unit batch-update <draft>` | `studio.works.drafts.units.batchUpdate` | POST `/studio/v1/works/{work}/drafts/{draft}/units:batchUpdate` | `--work`, `--expected-revision` |
@@ -567,6 +568,13 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
567
568
  | `praxis api studio work draft update <draft>` | `studio.works.drafts.update` | PATCH `/studio/v1/works/{work}/drafts/{draft}` | `--work`, `--update-mask`, `--expected-revision`, `--title`, `--key`, `--style`, `--mode` |
568
569
  | `praxis api studio work get <work>` | `studio.works.retrieve` | GET `/studio/v1/works/{work}` | `--draft`, `--unit`, `--expand` |
569
570
  | `praxis api studio work list` | `studio.works.list` | GET `/studio/v1/works` | `--page-size`, `--page-token`, `--archived` |
571
+ | `praxis api studio work rendition delete <rendition>` | `studio.works.renditions.delete` | DELETE `/studio/v1/works/{work}/renditions/{rendition}` | `--work` |
572
+ | `praxis api studio work rendition get <rendition>` | `studio.works.renditions.retrieve` | GET `/studio/v1/works/{work}/renditions/{rendition}` | `--work` |
573
+ | `praxis api studio work rendition get-content <rendition>` | `studio.works.renditions.retrieveContent` | GET `/studio/v1/works/{work}/renditions/{rendition}/content` | `--work`, `--part` |
574
+ | `praxis api studio work rendition list` | `studio.works.renditions.list` | GET `/studio/v1/works/{work}/renditions` | `--work`, `--draft`, `--page-size`, `--page-token` |
575
+ | `praxis api studio work rendition publish <rendition>` | `studio.works.renditions.publish` | POST `/studio/v1/works/{work}/renditions/{rendition}:publish` | `--work` |
576
+ | `praxis api studio work rendition render <rendition>` | `studio.works.renditions.render` | POST `/studio/v1/works/{work}/renditions/{rendition}:render` | `--work` |
577
+ | `praxis api studio work rendition update <rendition>` | `studio.works.renditions.update` | PATCH `/studio/v1/works/{work}/renditions/{rendition}` | `--work`, `--update-mask`, `--theme` |
570
578
  | `praxis api studio work resolve` | `studio.works.resolve` | GET `/studio/v1/works:resolve` | `--ref` |
571
579
  | `praxis api studio work unit block patch <unit>` | `studio.works.units.blocks.patch` | POST `/studio/v1/works/{work}/units/{unit}/blocks:patch` | `--work`, `--expected-revision`, `--confirm-final-edit` |
572
580
  | `praxis api studio work unit get <unit>` | `studio.works.units.retrieve` | GET `/studio/v1/works/{work}/units/{unit}` | `--work`, `--view` |
package/dist/praxis.js CHANGED
@@ -29172,6 +29172,64 @@ for more details.`
29172
29172
  ],
29173
29173
  query: []
29174
29174
  },
29175
+ {
29176
+ resource: "studio.works.drafts.renditions",
29177
+ method: "create",
29178
+ summary: "Create a rendition of a draft for a platform",
29179
+ description: "Create a rendition: the form of one draft that a platform receives, such as a Xiaohongshu card set, a DOCX file or a Markdown file. Read the platform first with the platform call and pass its versioned key; pass a theme only to override the platform's default layout. Pass render true to render in the same call and read render_state and issues in the answer; without it the rendition starts as pending and the render call produces it. Rendering a Xiaohongshu card set is billed by Browser Rendering time (meter browser_ms, product studio-render); DOCX and Markdown renditions are not billed. A draft with no body renders as invalid with a draft_empty issue, and an unavailable render service leaves render_state failed with a render_unavailable issue, so repeat the render call later. Send a request_id to make a repeated call return the first rendition instead of creating another. Next, publish the rendition to export it.",
29180
+ http: "POST",
29181
+ path: "/studio/v1/works/{work}/drafts/{draft}/renditions",
29182
+ streaming: "no",
29183
+ pagination: false,
29184
+ pathParams: [
29185
+ {
29186
+ name: "work",
29187
+ sdkName: "work",
29188
+ description: "The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value."
29189
+ },
29190
+ {
29191
+ name: "draft",
29192
+ sdkName: "draft",
29193
+ description: "Draft being addressed, either its in-work key such as novel or its drf_ identifier; a key renamed earlier still resolves through its previous value."
29194
+ }
29195
+ ],
29196
+ query: [],
29197
+ body: {
29198
+ required: true,
29199
+ fields: [
29200
+ {
29201
+ name: "platform",
29202
+ type: "string",
29203
+ required: true,
29204
+ description: "Versioned platform key from the platform list. Export platforms today are markdown@1, docx@1 and xiaohongshu@1; a platform that only publishes to an account answers PLATFORM_NOT_AVAILABLE."
29205
+ },
29206
+ {
29207
+ name: "theme",
29208
+ type: "string",
29209
+ required: false,
29210
+ description: "Theme to render with, a thm_ identifier or a built-in key from the theme list; omit it to use the platform default."
29211
+ },
29212
+ {
29213
+ name: "settings",
29214
+ type: "object",
29215
+ required: false,
29216
+ description: "Per-rendition settings; each platform reads only the settings that apply to it and ignores the rest."
29217
+ },
29218
+ {
29219
+ name: "render",
29220
+ type: "boolean",
29221
+ required: false,
29222
+ description: "Whether to render in the same call. True returns a rendition that is already rendered, invalid or failed; false or omitted returns it pending, to be rendered by the render operation."
29223
+ },
29224
+ {
29225
+ name: "request_id",
29226
+ type: "string",
29227
+ required: false,
29228
+ description: "Caller-chosen key that makes a repeated create return the first rendition instead of making another; use a new value for each distinct rendition."
29229
+ }
29230
+ ]
29231
+ }
29232
+ },
29175
29233
  {
29176
29234
  resource: "studio.works.drafts",
29177
29235
  method: "retrieveReview",
@@ -29425,6 +29483,212 @@ for more details.`
29425
29483
  ]
29426
29484
  }
29427
29485
  },
29486
+ {
29487
+ resource: "studio.works.renditions",
29488
+ method: "list",
29489
+ summary: "List the renditions of a work",
29490
+ description: "List the renditions of one work, each with its platform, render state, stale flag and publish state. Pass draft to see only the renditions of one draft. Use it to find the rendition to publish or to render again, and read stale before exporting: a stale rendition was built from an older draft and cannot be exported until the render call has rebuilt it. The answer is one page; keep following next_page_token while it is present.",
29491
+ http: "GET",
29492
+ path: "/studio/v1/works/{work}/renditions",
29493
+ streaming: "no",
29494
+ pagination: false,
29495
+ pathParams: [
29496
+ {
29497
+ name: "work",
29498
+ sdkName: "work",
29499
+ description: "The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value."
29500
+ }
29501
+ ],
29502
+ query: [
29503
+ {
29504
+ name: "draft",
29505
+ type: "string",
29506
+ required: false,
29507
+ description: "Draft key such as novel or its drf_ identifier; when given, only the renditions of that draft are returned. Omit it to list the renditions of every draft in the work."
29508
+ },
29509
+ {
29510
+ name: "page_size",
29511
+ type: "integer",
29512
+ required: false,
29513
+ description: "How many items this page returns, 1 to 100; omitted uses the service default. Treat the answer as one page, not the whole set, and keep following next_page_token while it is present."
29514
+ },
29515
+ {
29516
+ name: "page_token",
29517
+ type: "string",
29518
+ required: false,
29519
+ description: "Cursor from the previous answer's next_page_token; it is opaque, so pass it back unchanged and never build one from an id or an offset."
29520
+ }
29521
+ ]
29522
+ },
29523
+ {
29524
+ resource: "studio.works.renditions",
29525
+ method: "delete",
29526
+ summary: "Delete a rendition",
29527
+ description: "Delete a rendition and stop listing it. The draft it was built from is untouched, and a new rendition can be created from it at any time. Files already downloaded from an earlier export are not affected. Use it to clear a failed or abandoned rendition; to refresh one, call the render operation instead.",
29528
+ http: "DELETE",
29529
+ path: "/studio/v1/works/{work}/renditions/{rendition}",
29530
+ streaming: "no",
29531
+ pagination: false,
29532
+ pathParams: [
29533
+ {
29534
+ name: "work",
29535
+ sdkName: "work",
29536
+ description: "The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value."
29537
+ },
29538
+ {
29539
+ name: "rendition",
29540
+ sdkName: "rendition",
29541
+ description: "Rendition being addressed, by its rnd_ identifier from the rendition list or from the create answer."
29542
+ }
29543
+ ],
29544
+ query: []
29545
+ },
29546
+ {
29547
+ resource: "studio.works.renditions",
29548
+ method: "retrieve",
29549
+ summary: "Read one rendition",
29550
+ description: "Read one rendition in full: its render state, the validation issues the render found, the parts (one per card page or thread post), the files it produced and its publish state. Call it after create, render or publish to see the outcome, because a render that finished invalid or failed is reported here and not as an HTTP error. stale is true when the draft has changed since source_revision; call the render operation before exporting a stale rendition.",
29551
+ http: "GET",
29552
+ path: "/studio/v1/works/{work}/renditions/{rendition}",
29553
+ streaming: "no",
29554
+ pagination: false,
29555
+ pathParams: [
29556
+ {
29557
+ name: "work",
29558
+ sdkName: "work",
29559
+ description: "The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value."
29560
+ },
29561
+ {
29562
+ name: "rendition",
29563
+ sdkName: "rendition",
29564
+ description: "Rendition being addressed, by its rnd_ identifier from the rendition list or from the create answer."
29565
+ }
29566
+ ],
29567
+ query: []
29568
+ },
29569
+ {
29570
+ resource: "studio.works.renditions",
29571
+ method: "update",
29572
+ summary: "Change the theme or settings of a rendition",
29573
+ description: "Change a rendition's theme or settings. Send update_mask naming exactly the fields you change, such as theme or settings; a field left out keeps its value. The produced files are not rebuilt by this call, so call the render operation afterwards to apply the change. A rendition whose export or publish has started is locked and answers RENDITION_PUBLISH_LOCKED; create a new rendition for new content.",
29574
+ http: "PATCH",
29575
+ path: "/studio/v1/works/{work}/renditions/{rendition}",
29576
+ streaming: "no",
29577
+ pagination: false,
29578
+ pathParams: [
29579
+ {
29580
+ name: "work",
29581
+ sdkName: "work",
29582
+ description: "The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value."
29583
+ },
29584
+ {
29585
+ name: "rendition",
29586
+ sdkName: "rendition",
29587
+ description: "Rendition being addressed, by its rnd_ identifier from the rendition list or from the create answer."
29588
+ }
29589
+ ],
29590
+ query: [],
29591
+ body: {
29592
+ required: true,
29593
+ fields: [
29594
+ {
29595
+ name: "update_mask",
29596
+ type: "array",
29597
+ itemType: "string",
29598
+ required: true,
29599
+ description: "Field paths this call changes: theme, settings or both; a field left out keeps its value."
29600
+ },
29601
+ {
29602
+ name: "theme",
29603
+ type: "string",
29604
+ required: false,
29605
+ description: "New theme, a thm_ identifier or a built-in key, used when theme is named in the update mask; render again to apply it."
29606
+ },
29607
+ {
29608
+ name: "settings",
29609
+ type: "object",
29610
+ required: false,
29611
+ description: "Per-rendition settings; each platform reads only the settings that apply to it and ignores the rest."
29612
+ }
29613
+ ]
29614
+ }
29615
+ },
29616
+ {
29617
+ resource: "studio.works.renditions",
29618
+ method: "retrieveContent",
29619
+ summary: "Get a download URL for a rendition file",
29620
+ description: "Get a signed, short-lived URL to download what a rendition produced. Without part it points to the rendition's own first file: the ZIP of pages for a card rendition, the DOCX for docx@1. With part it points to that part's first file, such as one card PNG; a part that has no file, or a rendition not rendered yet, answers RENDITION_NOT_RENDERED, and an index no part has answers INVALID_PARAMS. Call it after a successful render or export, download the url before expire_time, and call again for a fresh one when it has expired. The URL is a credential: do not store or share it.",
29621
+ http: "GET",
29622
+ path: "/studio/v1/works/{work}/renditions/{rendition}/content",
29623
+ streaming: "no",
29624
+ pagination: false,
29625
+ pathParams: [
29626
+ {
29627
+ name: "work",
29628
+ sdkName: "work",
29629
+ description: "The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value."
29630
+ },
29631
+ {
29632
+ name: "rendition",
29633
+ sdkName: "rendition",
29634
+ description: "Rendition being addressed, by its rnd_ identifier from the rendition list or from the create answer."
29635
+ }
29636
+ ],
29637
+ query: [
29638
+ {
29639
+ name: "part",
29640
+ type: "integer",
29641
+ required: false,
29642
+ description: "Index of the part to download, the index value of an entry in the rendition's parts list; omit it to get the rendition's own first file."
29643
+ }
29644
+ ]
29645
+ },
29646
+ {
29647
+ resource: "studio.works.renditions",
29648
+ method: "publish",
29649
+ summary: "Export a rendition",
29650
+ description: "Export a rendition for the platforms that deliver a file: markdown@1, docx@1 and xiaohongshu@1 end with publish.state exported, and a card rendition gains one ZIP of its pages in files. Publishing to a platform account such as X or WeChat is not available yet and answers PLATFORM_NOT_AVAILABLE; export instead. The rendition must be rendered, not stale and without error-level issues: RENDITION_NOT_RENDERED means call the render operation first, RENDITION_STALE means the draft changed so render again, RENDITION_INVALID means fix the draft problems listed in issues and render again. Exporting the same rendition twice at once answers REVISION_CONFLICT; retry shortly. Next, call the content operation to download the file.",
29651
+ http: "POST",
29652
+ path: "/studio/v1/works/{work}/renditions/{rendition}:publish",
29653
+ streaming: "no",
29654
+ pagination: false,
29655
+ pathParams: [
29656
+ {
29657
+ name: "work",
29658
+ sdkName: "work",
29659
+ description: "The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value."
29660
+ },
29661
+ {
29662
+ name: "rendition",
29663
+ sdkName: "rendition",
29664
+ description: "Rendition being addressed, by its rnd_ identifier from the rendition list or from the create answer."
29665
+ }
29666
+ ],
29667
+ query: []
29668
+ },
29669
+ {
29670
+ resource: "studio.works.renditions",
29671
+ method: "render",
29672
+ summary: "Render a rendition again from the current draft",
29673
+ description: "Render the rendition from the draft as it is now, replacing its parts and files and clearing stale. Call it after the draft changed, after a theme or settings change, or after a failed render. The answer carries render_state: rendered, invalid when the draft has an error-level issue (for example draft_empty on a draft with no body), or failed when the render service was unavailable (issue render_unavailable; repeat later). A render does not fail the HTTP call for those outcomes, so read render_state and issues. Rendering a Xiaohongshu card set is billed by Browser Rendering time (meter browser_ms, product studio-render); DOCX and Markdown are not billed. Rendering the same rendition twice at once answers REVISION_CONFLICT; retry shortly. Next, publish the rendition to export it.",
29674
+ http: "POST",
29675
+ path: "/studio/v1/works/{work}/renditions/{rendition}:render",
29676
+ streaming: "no",
29677
+ pagination: false,
29678
+ pathParams: [
29679
+ {
29680
+ name: "work",
29681
+ sdkName: "work",
29682
+ description: "The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value."
29683
+ },
29684
+ {
29685
+ name: "rendition",
29686
+ sdkName: "rendition",
29687
+ description: "Rendition being addressed, by its rnd_ identifier from the rendition list or from the create answer."
29688
+ }
29689
+ ],
29690
+ query: []
29691
+ },
29428
29692
  {
29429
29693
  resource: "studio.works.units",
29430
29694
  method: "retrieve",
@@ -40792,6 +41056,118 @@ var studioThemesUpdate = (options) => (options.client ?? client).patch({
40792
41056
  ...options.headers
40793
41057
  }
40794
41058
  });
41059
+ var studioRenditionsCreate = (options) => (options.client ?? client).post({
41060
+ security: [{
41061
+ key: "BearerAuth",
41062
+ scheme: "bearer",
41063
+ type: "http"
41064
+ }, {
41065
+ key: "ApiKeyAuth",
41066
+ name: "X-API-Key",
41067
+ type: "apiKey"
41068
+ }],
41069
+ url: "/studio/v1/works/{work}/drafts/{draft}/renditions",
41070
+ ...options,
41071
+ headers: {
41072
+ "Content-Type": "application/json",
41073
+ ...options.headers
41074
+ }
41075
+ });
41076
+ var studioRenditionsList = (options) => (options.client ?? client).get({
41077
+ security: [{
41078
+ key: "BearerAuth",
41079
+ scheme: "bearer",
41080
+ type: "http"
41081
+ }, {
41082
+ key: "ApiKeyAuth",
41083
+ name: "X-API-Key",
41084
+ type: "apiKey"
41085
+ }],
41086
+ url: "/studio/v1/works/{work}/renditions",
41087
+ ...options
41088
+ });
41089
+ var studioRenditionsDelete = (options) => (options.client ?? client).delete({
41090
+ security: [{
41091
+ key: "BearerAuth",
41092
+ scheme: "bearer",
41093
+ type: "http"
41094
+ }, {
41095
+ key: "ApiKeyAuth",
41096
+ name: "X-API-Key",
41097
+ type: "apiKey"
41098
+ }],
41099
+ url: "/studio/v1/works/{work}/renditions/{rendition}",
41100
+ ...options
41101
+ });
41102
+ var studioRenditionsGet = (options) => (options.client ?? client).get({
41103
+ security: [{
41104
+ key: "BearerAuth",
41105
+ scheme: "bearer",
41106
+ type: "http"
41107
+ }, {
41108
+ key: "ApiKeyAuth",
41109
+ name: "X-API-Key",
41110
+ type: "apiKey"
41111
+ }],
41112
+ url: "/studio/v1/works/{work}/renditions/{rendition}",
41113
+ ...options
41114
+ });
41115
+ var studioRenditionsUpdate = (options) => (options.client ?? client).patch({
41116
+ security: [{
41117
+ key: "BearerAuth",
41118
+ scheme: "bearer",
41119
+ type: "http"
41120
+ }, {
41121
+ key: "ApiKeyAuth",
41122
+ name: "X-API-Key",
41123
+ type: "apiKey"
41124
+ }],
41125
+ url: "/studio/v1/works/{work}/renditions/{rendition}",
41126
+ ...options,
41127
+ headers: {
41128
+ "Content-Type": "application/json",
41129
+ ...options.headers
41130
+ }
41131
+ });
41132
+ var studioRenditionsRender = (options) => (options.client ?? client).post({
41133
+ security: [{
41134
+ key: "BearerAuth",
41135
+ scheme: "bearer",
41136
+ type: "http"
41137
+ }, {
41138
+ key: "ApiKeyAuth",
41139
+ name: "X-API-Key",
41140
+ type: "apiKey"
41141
+ }],
41142
+ url: "/studio/v1/works/{work}/renditions/{rendition}:render",
41143
+ ...options
41144
+ });
41145
+ var studioRenditionsPublish = (options) => (options.client ?? client).post({
41146
+ security: [{
41147
+ key: "BearerAuth",
41148
+ scheme: "bearer",
41149
+ type: "http"
41150
+ }, {
41151
+ key: "ApiKeyAuth",
41152
+ name: "X-API-Key",
41153
+ type: "apiKey"
41154
+ }],
41155
+ url: "/studio/v1/works/{work}/renditions/{rendition}:publish",
41156
+ ...options
41157
+ });
41158
+ var studioRenditionsContentUrl = (options) => (options.client ?? client).get({
41159
+ security: [{
41160
+ key: "BearerAuth",
41161
+ scheme: "bearer",
41162
+ type: "http"
41163
+ }, {
41164
+ key: "ApiKeyAuth",
41165
+ name: "X-API-Key",
41166
+ type: "apiKey"
41167
+ }],
41168
+ url: "/studio/v1/works/{work}/renditions/{rendition}/content",
41169
+ ...options
41170
+ });
40795
41171
  var vaultListVaults = (options) => (options?.client ?? client).get({
40796
41172
  security: [{
40797
41173
  key: "vault-bearerAuth",
@@ -42747,6 +43123,9 @@ function createStudio(transport) {
42747
43123
  create: bind(transport, studioDraftsCreate),
42748
43124
  list: bind(transport, studioDraftsList),
42749
43125
  rebase: bind(transport, studioDraftsRebase),
43126
+ renditions: {
43127
+ create: bind(transport, studioRenditionsCreate)
43128
+ },
42750
43129
  retrieve: bind(transport, studioDraftsGet),
42751
43130
  retrieveExport: bind(transport, studioDraftsExport),
42752
43131
  retrieveOutline: bind(transport, studioDraftsOutline),
@@ -42762,6 +43141,15 @@ function createStudio(transport) {
42762
43141
  update: bind(transport, studioDraftsUpdate)
42763
43142
  },
42764
43143
  list: bind(transport, studioWorksList),
43144
+ renditions: {
43145
+ delete: bind(transport, studioRenditionsDelete),
43146
+ list: bind(transport, studioRenditionsList),
43147
+ publish: bind(transport, studioRenditionsPublish),
43148
+ render: bind(transport, studioRenditionsRender),
43149
+ retrieve: bind(transport, studioRenditionsGet),
43150
+ retrieveContent: bind(transport, studioRenditionsContentUrl),
43151
+ update: bind(transport, studioRenditionsUpdate)
43152
+ },
42765
43153
  resolve: bind(transport, studioWorksResolve),
42766
43154
  retrieve: bind(transport, studioWorksGet),
42767
43155
  units: {
@@ -46419,7 +46807,8 @@ var WORKSPACE_PASSES = Symbol("deploy-core.workspace-passes");
46419
46807
  async function readWorkspacesOnce(facts, options) {
46420
46808
  const tree = new Set(facts.tree);
46421
46809
  const index = await workspaceIndexOf(facts, options);
46422
- return await mapBounded(index.packages, READ_CONCURRENCY, async (entry) => {
46810
+ const limit = options.readConcurrency !== undefined && options.readConcurrency >= 1 ? Math.floor(options.readConcurrency) : READ_CONCURRENCY;
46811
+ return await mapBounded(index.packages, limit, async (entry) => {
46423
46812
  const manifest = manifestPathIn(entry.dir, tree);
46424
46813
  const [manifestText, configText] = await Promise.all([
46425
46814
  facts.read(entry.packageJson),
@@ -48612,7 +49001,7 @@ function startProgress(ctx, write = (text) => writeOutput({ stderr: text })) {
48612
49001
  }
48613
49002
 
48614
49003
  // src/main.ts
48615
- var version = "0.2.2-dev.214765b";
49004
+ var version = "0.2.2-dev.29dd643";
48616
49005
  var commands = commandTree(operations);
48617
49006
  var manual = [...workflows.map((w) => w.words), [API_WORD]];
48618
49007
  function route(argv) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/cli",
3
- "version": "0.2.2-dev.214765b",
3
+ "version": "0.2.2-dev.29dd643",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "praxis": "dist/praxis.js"