@naturali/cli 0.249.0 → 0.250.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.
Files changed (2) hide show
  1. package/dist/index.mjs +57 -783
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -17,7 +17,7 @@ var __exportAll = (all, no_symbols) => {
17
17
  };
18
18
  //#endregion
19
19
  //#region package.json
20
- var version = "0.249.0";
20
+ var version = "0.250.1";
21
21
  //#endregion
22
22
  //#region ../sdk/src/generated/core/bodySerializer.gen.ts
23
23
  const serializeFormDataPair = (data, key, value) => {
@@ -1243,34 +1243,6 @@ var Admin = class {
1243
1243
  ...options
1244
1244
  });
1245
1245
  }
1246
- /**
1247
- * List listings for review
1248
- *
1249
- * Every listing in one state, newest first — `in_review` by default, the queue an operator works through.
1250
- *
1251
- */
1252
- static listAdminListings(options) {
1253
- return (options?.client ?? client).get({
1254
- url: "/v1/admin/listings",
1255
- ...options
1256
- });
1257
- }
1258
- /**
1259
- * Review a listing
1260
- *
1261
- * List a listing in review or one that is suspended, send one in review back to `draft`, or suspend any listing. A listing an operator suspends cannot be resumed by its publisher. An invalid move answers `409 invalid_listing_state`.
1262
- *
1263
- */
1264
- static setAdminListingState(options) {
1265
- return (options.client ?? client).put({
1266
- url: "/v1/admin/listings/{listing_id}/state",
1267
- ...options,
1268
- headers: {
1269
- "Content-Type": "application/json",
1270
- ...options.headers
1271
- }
1272
- });
1273
- }
1274
1246
  };
1275
1247
  var Agents = class {
1276
1248
  /**
@@ -3744,60 +3716,6 @@ var IngestionRules = class {
3744
3716
  });
3745
3717
  }
3746
3718
  };
3747
- var Installs = class {
3748
- /**
3749
- * List installs
3750
- *
3751
- * The listings the project installed, newest first.
3752
- */
3753
- static listInstalls(options) {
3754
- return (options.client ?? client).get({
3755
- url: "/v1/projects/{project_id}/installs",
3756
- ...options
3757
- });
3758
- }
3759
- /**
3760
- * Install a listing
3761
- *
3762
- * Install a listing by its id. A listed entry, a draft and a listing in review all install; a suspended one answers `409 listing_suspended`. Installing again answers the existing install.
3763
- * After the publisher removed this project's access, installing answers `403 install_blocked`.
3764
- *
3765
- */
3766
- static createInstall(options) {
3767
- return (options.client ?? client).post({
3768
- url: "/v1/projects/{project_id}/installs",
3769
- ...options,
3770
- headers: {
3771
- "Content-Type": "application/json",
3772
- ...options.headers
3773
- }
3774
- });
3775
- }
3776
- /**
3777
- * Uninstall a listing
3778
- *
3779
- * Remove the install. While the project's agents, ingestion rules or other resources still name the installed resource, this answers `409 install_in_use` with them in `details.references`; `force=true` uninstalls anyway and those resources stop reaching it.
3780
- * A `blocked` install, and the install managed conversion uses, answer `403`.
3781
- *
3782
- */
3783
- static deleteInstall(options) {
3784
- return (options.client ?? client).delete({
3785
- url: "/v1/projects/{project_id}/installs/{install_id}",
3786
- ...options
3787
- });
3788
- }
3789
- /**
3790
- * Get an install
3791
- *
3792
- * One of the project's installs.
3793
- */
3794
- static getInstall(options) {
3795
- return (options.client ?? client).get({
3796
- url: "/v1/projects/{project_id}/installs/{install_id}",
3797
- ...options
3798
- });
3799
- }
3800
- };
3801
3719
  var Knowledge = class {
3802
3720
  /**
3803
3721
  * Search knowledge
@@ -3815,135 +3733,6 @@ var Knowledge = class {
3815
3733
  });
3816
3734
  }
3817
3735
  };
3818
- var Listings = class {
3819
- /**
3820
- * Browse the marketplace
3821
- *
3822
- * Every listed entry, newest first. `interface` is what an installing project sees of the resource, read live from the publisher.
3823
- *
3824
- */
3825
- static listPublicListings(options) {
3826
- return (options?.client ?? client).get({
3827
- url: "/v1/listings",
3828
- ...options
3829
- });
3830
- }
3831
- /**
3832
- * Get a public listing
3833
- *
3834
- * One listed entry. A listing that is not listed answers `404`.
3835
- */
3836
- static getPublicListing(options) {
3837
- return (options.client ?? client).get({
3838
- url: "/v1/listings/{listing_id}",
3839
- ...options
3840
- });
3841
- }
3842
- /**
3843
- * List a project's listings
3844
- *
3845
- * The listings the project publishes, newest first.
3846
- */
3847
- static listListings(options) {
3848
- return (options.client ?? client).get({
3849
- url: "/v1/projects/{project_id}/listings",
3850
- ...options
3851
- });
3852
- }
3853
- /**
3854
- * Create a listing
3855
- *
3856
- * Publish one of the project's tools or agents as a `draft`. Any project member may publish.
3857
- * An agent on a naturali model whose model has no price answers `503 model_not_priced`. A resource that does not exist in the project answers `400 resource_not_found`, and one that already has a listing `409 listing_exists`.
3858
- *
3859
- */
3860
- static createListing(options) {
3861
- return (options.client ?? client).post({
3862
- url: "/v1/projects/{project_id}/listings",
3863
- ...options,
3864
- headers: {
3865
- "Content-Type": "application/json",
3866
- ...options.headers
3867
- }
3868
- });
3869
- }
3870
- /**
3871
- * Delete a listing
3872
- *
3873
- * Remove a listing and stop sharing its resource. Refused with `409 listing_has_installs` while any project holds an install, in any state: remove each one first, which takes two deletes of `/installs/{install_id}` for an `active` or `suspended` install. The listing's price stops applying from the next minute, and a later listing of the same resource starts from no price. The tool or agent itself is not touched.
3874
- *
3875
- */
3876
- static deleteListing(options) {
3877
- return (options.client ?? client).delete({
3878
- url: "/v1/projects/{project_id}/listings/{listing_id}",
3879
- ...options
3880
- });
3881
- }
3882
- /**
3883
- * Get a listing
3884
- *
3885
- * One of the project's listings.
3886
- */
3887
- static getListing(options) {
3888
- return (options.client ?? client).get({
3889
- url: "/v1/projects/{project_id}/listings/{listing_id}",
3890
- ...options
3891
- });
3892
- }
3893
- /**
3894
- * Update a listing
3895
- *
3896
- * Change the title or description, or pause and resume the listing.
3897
- * `state: suspended` stops a `listed` listing for every installing project at once; their installs are kept. `state: listed` resumes a listing you suspended, provided naturali had listed it; nobody reinstalls. A listing naturali suspended cannot be resumed here, and an invalid move answers `409 invalid_listing_state`.
3898
- *
3899
- */
3900
- static updateListing(options) {
3901
- return (options.client ?? client).patch({
3902
- url: "/v1/projects/{project_id}/listings/{listing_id}",
3903
- ...options,
3904
- headers: {
3905
- "Content-Type": "application/json",
3906
- ...options.headers
3907
- }
3908
- });
3909
- }
3910
- /**
3911
- * Submit a listing for review
3912
- *
3913
- * Move a `draft` listing to `in_review`. naturali lists it in the marketplace or sends it back to `draft`. Any other state answers `409 invalid_listing_state`.
3914
- *
3915
- */
3916
- static submitListing(options) {
3917
- return (options.client ?? client).post({
3918
- url: "/v1/projects/{project_id}/listings/{listing_id}:submit",
3919
- ...options
3920
- });
3921
- }
3922
- /**
3923
- * List a listing's installs
3924
- *
3925
- * Each project that installed the listing, with its usage this billing cycle as last sampled. Never the content of a call.
3926
- *
3927
- */
3928
- static listListingInstalls(options) {
3929
- return (options.client ?? client).get({
3930
- url: "/v1/projects/{project_id}/listings/{listing_id}/installs",
3931
- ...options
3932
- });
3933
- }
3934
- /**
3935
- * Remove a project's install
3936
- *
3937
- * Cut one installing project off. An `active` or `suspended` install becomes `blocked`, and that project cannot install the listing again. Deleting a `blocked` install removes it, which lets that project install again.
3938
- *
3939
- */
3940
- static deleteListingInstall(options) {
3941
- return (options.client ?? client).delete({
3942
- url: "/v1/projects/{project_id}/listings/{listing_id}/installs/{install_id}",
3943
- ...options
3944
- });
3945
- }
3946
- };
3947
3736
  var McpServers = class {
3948
3737
  /**
3949
3738
  * List MCP servers
@@ -3959,7 +3748,7 @@ var McpServers = class {
3959
3748
  /**
3960
3749
  * Create an MCP server
3961
3750
  *
3962
- * Each item of `tools` is checked against the tool it names: the project's own or an installed one, else `400`. `action` is required, and must be one of the tool's available actions, when the tool declares `actions`; otherwise it is ignored and stored as `null`. A tool whose definition reads `{{context:naturali_caller_…}}` is refused unless `auth.type` is `oauth`.
3751
+ * Each item of `tools` is checked against the tool it names: one of the project's, else `400`. `action` is required, and must be one of the tool's available actions, when the tool declares `actions`; otherwise it is ignored and stored as `null`. A tool whose definition reads `{{context:naturali_caller_…}}` is refused unless `auth.type` is `oauth`.
3963
3752
  * `daily_call_limit` is required when `auth` is `none`.
3964
3753
  *
3965
3754
  */
@@ -5446,10 +5235,11 @@ var Projects = class {
5446
5235
  /**
5447
5236
  * Update a project
5448
5237
  *
5449
- * Rename or archive a project, and/or change its content-retention settings (`trace_content_retention_days`, `trace_content_mode`), its execution ceilings (`max_concurrent_runs`, `max_chain_generations`, `max_orchestration_run_depth`), its priced-model gate (`require_priced_model`), its project-scope guardrails (`guardrail_ids`) and managed conversion (`managed_conversion`). Archiving is reversible; resources are retained.
5238
+ * Rename or archive a project, and/or change its content-retention settings (`trace_content_retention_days`, `trace_content_mode`), its execution ceilings (`max_concurrent_runs`, `max_chain_generations`, `max_orchestration_run_depth`), its priced-model gate (`require_priced_model`), its project-scope guardrails (`guardrail_ids`), the policies capping every agent turn in it (`agent_policy_ids`) and managed conversion (`managed_conversion`). Archiving is reversible; resources are retained.
5450
5239
  * Requires the `admin` role in the project (an `owner` has it too). These are the terms every member works under, which is why setting them sits above the role that works under them.
5451
5240
  * The ceilings and the priced-model gate are uncapped by plan: each one only ever narrows what the project may spend, so setting one takes on a restriction rather than claiming an entitlement. On the three ceilings `null` clears the project's own bound and omission leaves it alone — they are different instructions.
5452
5241
  * `guardrail_ids` is the floor under every tool call by every agent in the project, including tools added later. The list is replaced wholesale, so send the ids you want to keep; `[]` detaches every one. An id naming no guardrail in the project responds `400` with `guardrail_not_found`, whose `details.missing` lists the ids. It is uncapped by plan, like the ceilings: a guardrail can only tighten what runs.
5242
+ * `agent_policy_ids` caps every turn of every agent the project owns: an action they deny is refused even where the agent's own `policy_ids` allow it, and the refusal's `meta.denied_by` is `{ type: project, id: <project_id> }`. `null` or `[]` removes the cap. The credential must hold every grant the policies carry, else `403` with `POLICY_GRANT_NOT_HELD`; an id naming no policy responds `400` with `POLICY_NOT_FOUND`, and a policy of another project `400` with `POLICY_OUTSIDE_PROJECT`.
5453
5243
  * The two retention controls answer different questions. The window bounds how long content *stays* — a daily sweep purges anything past it, leaving auditable skeletons behind. `trace_content_mode: none` means content is never *written*, which is the stronger guarantee: it cannot be missed by a sweep or survive in a backup.
5454
5244
  *
5455
5245
  * Your plan sets the longest window you may keep content for. A wider one — `null` included, which keeps content indefinitely — responds `403` with `plan_limit_reached`, whose `details` carry the `plan` and the `limit` in days. Anything shorter is always allowed. Moving to a plan with a shorter window takes effect at the end of the billing cycle, and content already stored is then purged by age like everything else.
@@ -6556,8 +6346,6 @@ var Users = class {
6556
6346
  *
6557
6347
  * A `usage` line is managed model spend, written as the meter is reconciled every 15 minutes per project, so the ledger grows by a line per project per window that spent anything. Filter with `kind`.
6558
6348
  *
6559
- * The other side of a marketplace line is another account's project, so a `fee` or `earned` line names the cycle it settles, not that project.
6560
- *
6561
6349
  */
6562
6350
  static listCurrentUserCredits(options) {
6563
6351
  return (options?.client ?? client).get({
@@ -6570,7 +6358,7 @@ var Users = class {
6570
6358
  *
6571
6359
  * Schedule triggers, eval runs, orchestration runs and workflow tasks the platform stopped on this account's projects because the credit balance went below zero or a Free plan's runs ran out, and that have not been restored or dismissed yet. Newest first.
6572
6360
  *
6573
- * `blocked_by` names the ceiling still closed: while it is set, nothing can be restored. Top up for `debt`; upgrade or wait for the month to turn for `run_allowance`. A `marketplace_fee` stop, for work naming a priced installed listing, is restored only while the paid balance is positive. A project-confined key sees its own project's stops only.
6361
+ * `blocked_by` names the ceiling still closed: while it is set, nothing can be restored. Top up for `debt`; upgrade or wait for the month to turn for `run_allowance`. A project-confined key sees its own project's stops only.
6574
6362
  *
6575
6363
  */
6576
6364
  static listCurrentUserStops(options) {
@@ -7091,9 +6879,7 @@ var NaturaliClient = class {
7091
6879
  generations;
7092
6880
  guardrails;
7093
6881
  ingestionRules;
7094
- installs;
7095
6882
  knowledge;
7096
- listings;
7097
6883
  mcpServers;
7098
6884
  memories;
7099
6885
  memoryRules;
@@ -7152,9 +6938,7 @@ var NaturaliClient = class {
7152
6938
  this.generations = bindResource(Generations, this.http);
7153
6939
  this.guardrails = bindResource(Guardrails, this.http);
7154
6940
  this.ingestionRules = bindResource(IngestionRules, this.http);
7155
- this.installs = bindResource(Installs, this.http);
7156
6941
  this.knowledge = bindResource(Knowledge, this.http);
7157
- this.listings = bindResource(Listings, this.http);
7158
6942
  this.mcpServers = bindResource(McpServers, this.http);
7159
6943
  this.memories = bindResource(Memories, this.http);
7160
6944
  this.memoryRules = bindResource(MemoryRules, this.http);
@@ -7208,9 +6992,7 @@ var src_exports = /* @__PURE__ */ __exportAll({
7208
6992
  Generations: () => Generations,
7209
6993
  Guardrails: () => Guardrails,
7210
6994
  IngestionRules: () => IngestionRules,
7211
- Installs: () => Installs,
7212
6995
  Knowledge: () => Knowledge,
7213
- Listings: () => Listings,
7214
6996
  McpServers: () => McpServers,
7215
6997
  Memories: () => Memories,
7216
6998
  MemoryRules: () => MemoryRules,
@@ -8766,7 +8548,7 @@ const routes = {
8766
8548
  },
8767
8549
  {
8768
8550
  "name": "kind",
8769
- "description": "What this line is. `purchased` for money that arrived, `granted` for credit naturali gave away — the two report differently, so it is required rather than defaulted. `earned` writes a withdrawal or a dispute against marketplace earnings and requires `reason`; a negative one is refused while the account's balance is negative. `included` is not accepted here: a plan's monthly allowance is the billing cycle's to write.",
8551
+ "description": "What this line is. `purchased` for money that arrived, `granted` for credit naturali gave away — the two report differently, so it is required rather than defaulted. `included` is not accepted here: a plan's monthly allowance is the billing cycle's to write.",
8770
8552
  "required": true,
8771
8553
  "type": "string",
8772
8554
  "in": "body"
@@ -8780,7 +8562,7 @@ const routes = {
8780
8562
  },
8781
8563
  {
8782
8564
  "name": "reason",
8783
- "description": "Why, for the record. Required for `earned`.",
8565
+ "description": "Why, for the record.",
8784
8566
  "required": false,
8785
8567
  "type": "string",
8786
8568
  "in": "body"
@@ -8851,68 +8633,6 @@ const routes = {
8851
8633
  }
8852
8634
  ]
8853
8635
  },
8854
- "list-admin-listings": {
8855
- serviceClass: "Admin",
8856
- operationId: "listAdminListings",
8857
- description: "Every listing in one state, newest first — `in_review` by default, the queue an operator works through.",
8858
- moduleDocsUrl: "https://naturali.ai/docs",
8859
- httpMethod: "get",
8860
- pathParams: [],
8861
- queryParams: [
8862
- "state",
8863
- "limit",
8864
- "cursor"
8865
- ],
8866
- headerParams: [],
8867
- cookieParams: [],
8868
- flags: [
8869
- {
8870
- "name": "state",
8871
- "description": "",
8872
- "required": false,
8873
- "type": "string",
8874
- "in": "query"
8875
- },
8876
- {
8877
- "name": "limit",
8878
- "description": "Results per page, 1 to 100 (default 50). Above 100 it is clamped; below 1 or not an integer it is `400`.",
8879
- "required": false,
8880
- "type": "integer",
8881
- "in": "query"
8882
- },
8883
- {
8884
- "name": "cursor",
8885
- "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
8886
- "required": false,
8887
- "type": "string",
8888
- "in": "query"
8889
- }
8890
- ]
8891
- },
8892
- "set-admin-listing-state": {
8893
- serviceClass: "Admin",
8894
- operationId: "setAdminListingState",
8895
- description: "List a listing in review or one that is suspended, send one in review back to `draft`, or suspend any listing. A listing an operator suspends cannot be resumed by its publisher. An invalid move answers `409 invalid_listing_state`.",
8896
- moduleDocsUrl: "https://naturali.ai/docs",
8897
- httpMethod: "put",
8898
- pathParams: ["listing_id"],
8899
- queryParams: [],
8900
- headerParams: [],
8901
- cookieParams: [],
8902
- flags: [{
8903
- "name": "listing_id",
8904
- "description": "",
8905
- "required": true,
8906
- "type": "string",
8907
- "in": "path"
8908
- }, {
8909
- "name": "state",
8910
- "description": "",
8911
- "required": true,
8912
- "type": "string",
8913
- "in": "body"
8914
- }]
8915
- },
8916
8636
  "list-agents": {
8917
8637
  serviceClass: "Agents",
8918
8638
  operationId: "listAgents",
@@ -17590,14 +17310,14 @@ const routes = {
17590
17310
  "in": "path"
17591
17311
  }]
17592
17312
  },
17593
- "list-installs": {
17594
- serviceClass: "Installs",
17595
- operationId: "listInstalls",
17596
- description: "The listings the project installed, newest first.",
17597
- moduleDocsUrl: "https://naturali.ai/docs/modules/marketplace",
17598
- httpMethod: "get",
17313
+ "search-knowledge": {
17314
+ serviceClass: "Knowledge",
17315
+ operationId: "searchKnowledge",
17316
+ description: "Searches across documents and memories using hybrid retrieval — a vector query and a full-text query per source, fused by reciprocal rank — or by file paths, document IDs, memory store IDs, or tags. At least one of `query`, `tags`, `document_paths`, `document_ids`, or `memory_store_ids` must be provided.",
17317
+ moduleDocsUrl: "https://naturali.ai/docs/modules/knowledge",
17318
+ httpMethod: "post",
17599
17319
  pathParams: ["project_id"],
17600
- queryParams: ["limit", "cursor"],
17320
+ queryParams: [],
17601
17321
  headerParams: [],
17602
17322
  cookieParams: [],
17603
17323
  flags: [
@@ -17608,160 +17328,44 @@ const routes = {
17608
17328
  "type": "string",
17609
17329
  "in": "path"
17610
17330
  },
17331
+ {
17332
+ "name": "query",
17333
+ "description": "Search query text. Runs a vector query and a full-text query over each store and fuses the rankings; the full-text channel matches exact tokens and phrases, the vector channel everything else.",
17334
+ "required": false,
17335
+ "type": "string",
17336
+ "in": "body"
17337
+ },
17338
+ {
17339
+ "name": "min_similarity",
17340
+ "description": "Minimum raw cosine `similarity_score` a **vector** candidate must reach to take part in ranking, applied before fusion. Only applies when `query` is provided. Lexical candidates are deliberately exempt: a result that literally contains the searched token is the evidence, and dropping it for a low cosine is the failure hybrid search exists to prevent. Not a floor on `score`, whose fused value encodes rank position rather than similarity.",
17341
+ "required": false,
17342
+ "type": "number",
17343
+ "in": "body"
17344
+ },
17345
+ {
17346
+ "name": "rrf_k",
17347
+ "description": "The `k` in the reciprocal rank fusion term `1 / (k + rank)`, which sets how steeply a result's contribution decays with its position in each ranked list. A smaller value weights the very top of each list more heavily. Defaults to 60. Only applies when `query` is provided.",
17348
+ "required": false,
17349
+ "type": "integer",
17350
+ "in": "body"
17351
+ },
17352
+ {
17353
+ "name": "recency_half_life_days",
17354
+ "description": "Half-life, in days, of a recency decay applied to **memory store** results after fusion: a result's `score` is multiplied by `2 ^ (-age_in_days / recency_half_life_days)`, where age is measured from its `updated_at`. Document results are never decayed. `0`, the default, disables the blend entirely. Accepts fractions (`0.5` is twelve hours). How many ranks a given half-life costs depends on `rrf_k`. Only applies when `query` is provided. **No value is known to be safe in general**: every half-life measured against the reference corpus that lifted recency-sensitive queries also cost relevance-sensitive ones, which is why this ships disabled. Measure against your own corpus before setting it.",
17355
+ "required": false,
17356
+ "type": "number",
17357
+ "in": "body"
17358
+ },
17611
17359
  {
17612
17360
  "name": "limit",
17613
- "description": "Results per page, 1 to 100 (default 50). Above 100 it is clamped; below 1 or not an integer it is `400`.",
17361
+ "description": "Maximum number of results to return (default 10). A value above 100 is clamped to 100 — the ceiling bounds the vector scan this one request performs, so a larger `limit` returns everything there is up to that many rows rather than being refused.",
17614
17362
  "required": false,
17615
17363
  "type": "integer",
17616
- "in": "query"
17364
+ "in": "body"
17617
17365
  },
17618
17366
  {
17619
- "name": "cursor",
17620
- "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
17621
- "required": false,
17622
- "type": "string",
17623
- "in": "query"
17624
- }
17625
- ]
17626
- },
17627
- "create-install": {
17628
- serviceClass: "Installs",
17629
- operationId: "createInstall",
17630
- description: "Install a listing by its id. A listed entry, a draft and a listing in review all install; a suspended one answers `409 listing_suspended`. Installing again answers the existing install. After the publisher removed this project's access, installing answers `403 install_blocked`.",
17631
- moduleDocsUrl: "https://naturali.ai/docs/modules/marketplace",
17632
- httpMethod: "post",
17633
- pathParams: ["project_id"],
17634
- queryParams: [],
17635
- headerParams: [],
17636
- cookieParams: [],
17637
- flags: [{
17638
- "name": "project_id",
17639
- "description": "Project public ID (proj_ prefix).",
17640
- "required": true,
17641
- "type": "string",
17642
- "in": "path"
17643
- }, {
17644
- "name": "listing_id",
17645
- "description": "",
17646
- "required": true,
17647
- "type": "string",
17648
- "in": "body"
17649
- }]
17650
- },
17651
- "get-install": {
17652
- serviceClass: "Installs",
17653
- operationId: "getInstall",
17654
- description: "One of the project's installs.",
17655
- moduleDocsUrl: "https://naturali.ai/docs/modules/marketplace",
17656
- httpMethod: "get",
17657
- pathParams: ["project_id", "install_id"],
17658
- queryParams: [],
17659
- headerParams: [],
17660
- cookieParams: [],
17661
- flags: [{
17662
- "name": "project_id",
17663
- "description": "Project public ID (proj_ prefix).",
17664
- "required": true,
17665
- "type": "string",
17666
- "in": "path"
17667
- }, {
17668
- "name": "install_id",
17669
- "description": "Install public ID (ins_ prefix).",
17670
- "required": true,
17671
- "type": "string",
17672
- "in": "path"
17673
- }]
17674
- },
17675
- "delete-install": {
17676
- serviceClass: "Installs",
17677
- operationId: "deleteInstall",
17678
- description: "Remove the install. While the project's agents, ingestion rules or other resources still name the installed resource, this answers `409 install_in_use` with them in `details.references`; `force=true` uninstalls anyway and those resources stop reaching it. A `blocked` install, and the install managed conversion uses, answer `403`.",
17679
- moduleDocsUrl: "https://naturali.ai/docs/modules/marketplace",
17680
- httpMethod: "delete",
17681
- pathParams: ["project_id", "install_id"],
17682
- queryParams: ["force"],
17683
- headerParams: [],
17684
- cookieParams: [],
17685
- flags: [
17686
- {
17687
- "name": "project_id",
17688
- "description": "Project public ID (proj_ prefix).",
17689
- "required": true,
17690
- "type": "string",
17691
- "in": "path"
17692
- },
17693
- {
17694
- "name": "install_id",
17695
- "description": "Install public ID (ins_ prefix).",
17696
- "required": true,
17697
- "type": "string",
17698
- "in": "path"
17699
- },
17700
- {
17701
- "name": "force",
17702
- "description": "Uninstall even while resources still use it.",
17703
- "required": false,
17704
- "type": "boolean",
17705
- "in": "query"
17706
- }
17707
- ]
17708
- },
17709
- "search-knowledge": {
17710
- serviceClass: "Knowledge",
17711
- operationId: "searchKnowledge",
17712
- description: "Searches across documents and memories using hybrid retrieval — a vector query and a full-text query per source, fused by reciprocal rank — or by file paths, document IDs, memory store IDs, or tags. At least one of `query`, `tags`, `document_paths`, `document_ids`, or `memory_store_ids` must be provided.",
17713
- moduleDocsUrl: "https://naturali.ai/docs/modules/knowledge",
17714
- httpMethod: "post",
17715
- pathParams: ["project_id"],
17716
- queryParams: [],
17717
- headerParams: [],
17718
- cookieParams: [],
17719
- flags: [
17720
- {
17721
- "name": "project_id",
17722
- "description": "Project public ID (proj_ prefix).",
17723
- "required": true,
17724
- "type": "string",
17725
- "in": "path"
17726
- },
17727
- {
17728
- "name": "query",
17729
- "description": "Search query text. Runs a vector query and a full-text query over each store and fuses the rankings; the full-text channel matches exact tokens and phrases, the vector channel everything else.",
17730
- "required": false,
17731
- "type": "string",
17732
- "in": "body"
17733
- },
17734
- {
17735
- "name": "min_similarity",
17736
- "description": "Minimum raw cosine `similarity_score` a **vector** candidate must reach to take part in ranking, applied before fusion. Only applies when `query` is provided. Lexical candidates are deliberately exempt: a result that literally contains the searched token is the evidence, and dropping it for a low cosine is the failure hybrid search exists to prevent. Not a floor on `score`, whose fused value encodes rank position rather than similarity.",
17737
- "required": false,
17738
- "type": "number",
17739
- "in": "body"
17740
- },
17741
- {
17742
- "name": "rrf_k",
17743
- "description": "The `k` in the reciprocal rank fusion term `1 / (k + rank)`, which sets how steeply a result's contribution decays with its position in each ranked list. A smaller value weights the very top of each list more heavily. Defaults to 60. Only applies when `query` is provided.",
17744
- "required": false,
17745
- "type": "integer",
17746
- "in": "body"
17747
- },
17748
- {
17749
- "name": "recency_half_life_days",
17750
- "description": "Half-life, in days, of a recency decay applied to **memory store** results after fusion: a result's `score` is multiplied by `2 ^ (-age_in_days / recency_half_life_days)`, where age is measured from its `updated_at`. Document results are never decayed. `0`, the default, disables the blend entirely. Accepts fractions (`0.5` is twelve hours). How many ranks a given half-life costs depends on `rrf_k`. Only applies when `query` is provided. **No value is known to be safe in general**: every half-life measured against the reference corpus that lifted recency-sensitive queries also cost relevance-sensitive ones, which is why this ships disabled. Measure against your own corpus before setting it.",
17751
- "required": false,
17752
- "type": "number",
17753
- "in": "body"
17754
- },
17755
- {
17756
- "name": "limit",
17757
- "description": "Maximum number of results to return (default 10). A value above 100 is clamped to 100 — the ceiling bounds the vector scan this one request performs, so a larger `limit` returns everything there is up to that many rows rather than being refused.",
17758
- "required": false,
17759
- "type": "integer",
17760
- "in": "body"
17761
- },
17762
- {
17763
- "name": "include_documents",
17764
- "description": "Set `false` to leave the document store out of this search. A `query` names no store, so it reaches both; the store-specific filters narrow *within* a store rather than choosing between them. This is the switch, and a filter naming the other store never overrides it. `false` for both stores is `400`.",
17367
+ "name": "include_documents",
17368
+ "description": "Set `false` to leave the document store out of this search. A `query` names no store, so it reaches both; the store-specific filters narrow *within* a store rather than choosing between them. This is the switch, and a filter naming the other store never overrides it. `false` for both stores is `400`.",
17765
17369
  "required": false,
17766
17370
  "type": "boolean",
17767
17371
  "in": "body"
@@ -17817,343 +17421,6 @@ const routes = {
17817
17421
  }
17818
17422
  ]
17819
17423
  },
17820
- "list-public-listings": {
17821
- serviceClass: "Listings",
17822
- operationId: "listPublicListings",
17823
- description: "Every listed entry, newest first. `interface` is what an installing project sees of the resource, read live from the publisher.",
17824
- moduleDocsUrl: "https://naturali.ai/docs/modules/marketplace",
17825
- httpMethod: "get",
17826
- pathParams: [],
17827
- queryParams: ["limit", "cursor"],
17828
- headerParams: [],
17829
- cookieParams: [],
17830
- flags: [{
17831
- "name": "limit",
17832
- "description": "Results per page, 1 to 100 (default 50). Above 100 it is clamped; below 1 or not an integer it is `400`.",
17833
- "required": false,
17834
- "type": "integer",
17835
- "in": "query"
17836
- }, {
17837
- "name": "cursor",
17838
- "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
17839
- "required": false,
17840
- "type": "string",
17841
- "in": "query"
17842
- }]
17843
- },
17844
- "get-public-listing": {
17845
- serviceClass: "Listings",
17846
- operationId: "getPublicListing",
17847
- description: "One listed entry. A listing that is not listed answers `404`.",
17848
- moduleDocsUrl: "https://naturali.ai/docs/modules/marketplace",
17849
- httpMethod: "get",
17850
- pathParams: ["listing_id"],
17851
- queryParams: [],
17852
- headerParams: [],
17853
- cookieParams: [],
17854
- flags: [{
17855
- "name": "listing_id",
17856
- "description": "Listing public ID (lst_ prefix).",
17857
- "required": true,
17858
- "type": "string",
17859
- "in": "path"
17860
- }]
17861
- },
17862
- "list-listings": {
17863
- serviceClass: "Listings",
17864
- operationId: "listListings",
17865
- description: "The listings the project publishes, newest first.",
17866
- moduleDocsUrl: "https://naturali.ai/docs/modules/marketplace",
17867
- httpMethod: "get",
17868
- pathParams: ["project_id"],
17869
- queryParams: ["limit", "cursor"],
17870
- headerParams: [],
17871
- cookieParams: [],
17872
- flags: [
17873
- {
17874
- "name": "project_id",
17875
- "description": "Project public ID (proj_ prefix).",
17876
- "required": true,
17877
- "type": "string",
17878
- "in": "path"
17879
- },
17880
- {
17881
- "name": "limit",
17882
- "description": "Results per page, 1 to 100 (default 50). Above 100 it is clamped; below 1 or not an integer it is `400`.",
17883
- "required": false,
17884
- "type": "integer",
17885
- "in": "query"
17886
- },
17887
- {
17888
- "name": "cursor",
17889
- "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
17890
- "required": false,
17891
- "type": "string",
17892
- "in": "query"
17893
- }
17894
- ]
17895
- },
17896
- "create-listing": {
17897
- serviceClass: "Listings",
17898
- operationId: "createListing",
17899
- description: "Publish one of the project's tools or agents as a `draft`. Any project member may publish. An agent on a naturali model whose model has no price answers `503 model_not_priced`. A resource that does not exist in the project answers `400 resource_not_found`, and one that already has a listing `409 listing_exists`.",
17900
- moduleDocsUrl: "https://naturali.ai/docs/modules/marketplace",
17901
- httpMethod: "post",
17902
- pathParams: ["project_id"],
17903
- queryParams: [],
17904
- headerParams: [],
17905
- cookieParams: [],
17906
- flags: [
17907
- {
17908
- "name": "project_id",
17909
- "description": "Project public ID (proj_ prefix).",
17910
- "required": true,
17911
- "type": "string",
17912
- "in": "path"
17913
- },
17914
- {
17915
- "name": "resource_type",
17916
- "description": "What the listing publishes.",
17917
- "required": true,
17918
- "type": "string",
17919
- "in": "body"
17920
- },
17921
- {
17922
- "name": "resource_id",
17923
- "description": "A tool or agent in this project.",
17924
- "required": true,
17925
- "type": "string",
17926
- "in": "body"
17927
- },
17928
- {
17929
- "name": "title",
17930
- "description": "",
17931
- "required": true,
17932
- "type": "string",
17933
- "in": "body"
17934
- },
17935
- {
17936
- "name": "description",
17937
- "description": "",
17938
- "required": false,
17939
- "type": "string",
17940
- "in": "body"
17941
- },
17942
- {
17943
- "name": "pricing",
17944
- "description": "What an installing project is charged per call, on top of any model cost. Omit for a free listing.\n",
17945
- "required": false,
17946
- "type": "array",
17947
- "in": "body"
17948
- }
17949
- ]
17950
- },
17951
- "get-listing": {
17952
- serviceClass: "Listings",
17953
- operationId: "getListing",
17954
- description: "One of the project's listings.",
17955
- moduleDocsUrl: "https://naturali.ai/docs/modules/marketplace",
17956
- httpMethod: "get",
17957
- pathParams: ["project_id", "listing_id"],
17958
- queryParams: [],
17959
- headerParams: [],
17960
- cookieParams: [],
17961
- flags: [{
17962
- "name": "project_id",
17963
- "description": "Project public ID (proj_ prefix).",
17964
- "required": true,
17965
- "type": "string",
17966
- "in": "path"
17967
- }, {
17968
- "name": "listing_id",
17969
- "description": "Listing public ID (lst_ prefix).",
17970
- "required": true,
17971
- "type": "string",
17972
- "in": "path"
17973
- }]
17974
- },
17975
- "update-listing": {
17976
- serviceClass: "Listings",
17977
- operationId: "updateListing",
17978
- description: "Change the title or description, or pause and resume the listing. `state: suspended` stops a `listed` listing for every installing project at once; their installs are kept. `state: listed` resumes a listing you suspended, provided naturali had listed it; nobody reinstalls. A listing naturali suspended cannot be resumed here, and an invalid move answers `409 invalid_listing_state`.",
17979
- moduleDocsUrl: "https://naturali.ai/docs/modules/marketplace",
17980
- httpMethod: "patch",
17981
- pathParams: ["project_id", "listing_id"],
17982
- queryParams: [],
17983
- headerParams: [],
17984
- cookieParams: [],
17985
- flags: [
17986
- {
17987
- "name": "project_id",
17988
- "description": "Project public ID (proj_ prefix).",
17989
- "required": true,
17990
- "type": "string",
17991
- "in": "path"
17992
- },
17993
- {
17994
- "name": "listing_id",
17995
- "description": "Listing public ID (lst_ prefix).",
17996
- "required": true,
17997
- "type": "string",
17998
- "in": "path"
17999
- },
18000
- {
18001
- "name": "title",
18002
- "description": "",
18003
- "required": false,
18004
- "type": "string",
18005
- "in": "body"
18006
- },
18007
- {
18008
- "name": "description",
18009
- "description": "",
18010
- "required": false,
18011
- "type": "string",
18012
- "in": "body"
18013
- },
18014
- {
18015
- "name": "state",
18016
- "description": "Pause the listing, or resume one you paused.",
18017
- "required": false,
18018
- "type": "string",
18019
- "in": "body"
18020
- },
18021
- {
18022
- "name": "pricing",
18023
- "description": "The new price, replacing the whole list. A lower price applies the next minute. A higher unit price or a new component applies 7 days later, is returned in `pricing_next` meanwhile, and is emailed to every installing project. A component left out is no longer charged.\n",
18024
- "required": false,
18025
- "type": "array",
18026
- "in": "body"
18027
- }
18028
- ]
18029
- },
18030
- "delete-listing": {
18031
- serviceClass: "Listings",
18032
- operationId: "deleteListing",
18033
- description: "Remove a listing and stop sharing its resource. Refused with `409 listing_has_installs` while any project holds an install, in any state: remove each one first, which takes two deletes of `/installs/{install_id}` for an `active` or `suspended` install. The listing's price stops applying from the next minute, and a later listing of the same resource starts from no price. The tool or agent itself is not touched.",
18034
- moduleDocsUrl: "https://naturali.ai/docs/modules/marketplace",
18035
- httpMethod: "delete",
18036
- pathParams: ["project_id", "listing_id"],
18037
- queryParams: [],
18038
- headerParams: [],
18039
- cookieParams: [],
18040
- flags: [{
18041
- "name": "project_id",
18042
- "description": "Project public ID (proj_ prefix).",
18043
- "required": true,
18044
- "type": "string",
18045
- "in": "path"
18046
- }, {
18047
- "name": "listing_id",
18048
- "description": "Listing public ID (lst_ prefix).",
18049
- "required": true,
18050
- "type": "string",
18051
- "in": "path"
18052
- }]
18053
- },
18054
- "submit-listing": {
18055
- serviceClass: "Listings",
18056
- operationId: "submitListing",
18057
- description: "Move a `draft` listing to `in_review`. naturali lists it in the marketplace or sends it back to `draft`. Any other state answers `409 invalid_listing_state`.",
18058
- moduleDocsUrl: "https://naturali.ai/docs/modules/marketplace",
18059
- httpMethod: "post",
18060
- pathParams: ["project_id", "listing_id"],
18061
- queryParams: [],
18062
- headerParams: [],
18063
- cookieParams: [],
18064
- flags: [{
18065
- "name": "project_id",
18066
- "description": "Project public ID (proj_ prefix).",
18067
- "required": true,
18068
- "type": "string",
18069
- "in": "path"
18070
- }, {
18071
- "name": "listing_id",
18072
- "description": "Listing public ID (lst_ prefix).",
18073
- "required": true,
18074
- "type": "string",
18075
- "in": "path"
18076
- }]
18077
- },
18078
- "list-listing-installs": {
18079
- serviceClass: "Listings",
18080
- operationId: "listListingInstalls",
18081
- description: "Each project that installed the listing, with its usage this billing cycle as last sampled. Never the content of a call.",
18082
- moduleDocsUrl: "https://naturali.ai/docs/modules/marketplace",
18083
- httpMethod: "get",
18084
- pathParams: ["project_id", "listing_id"],
18085
- queryParams: ["limit", "cursor"],
18086
- headerParams: [],
18087
- cookieParams: [],
18088
- flags: [
18089
- {
18090
- "name": "project_id",
18091
- "description": "Project public ID (proj_ prefix).",
18092
- "required": true,
18093
- "type": "string",
18094
- "in": "path"
18095
- },
18096
- {
18097
- "name": "listing_id",
18098
- "description": "Listing public ID (lst_ prefix).",
18099
- "required": true,
18100
- "type": "string",
18101
- "in": "path"
18102
- },
18103
- {
18104
- "name": "limit",
18105
- "description": "Results per page, 1 to 100 (default 50). Above 100 it is clamped; below 1 or not an integer it is `400`.",
18106
- "required": false,
18107
- "type": "integer",
18108
- "in": "query"
18109
- },
18110
- {
18111
- "name": "cursor",
18112
- "description": "The previous page's `next_cursor`; omit it for the first page. A cursor this list did not issue is `400`.",
18113
- "required": false,
18114
- "type": "string",
18115
- "in": "query"
18116
- }
18117
- ]
18118
- },
18119
- "delete-listing-install": {
18120
- serviceClass: "Listings",
18121
- operationId: "deleteListingInstall",
18122
- description: "Cut one installing project off. An `active` or `suspended` install becomes `blocked`, and that project cannot install the listing again. Deleting a `blocked` install removes it, which lets that project install again.",
18123
- moduleDocsUrl: "https://naturali.ai/docs/modules/marketplace",
18124
- httpMethod: "delete",
18125
- pathParams: [
18126
- "project_id",
18127
- "listing_id",
18128
- "install_id"
18129
- ],
18130
- queryParams: [],
18131
- headerParams: [],
18132
- cookieParams: [],
18133
- flags: [
18134
- {
18135
- "name": "project_id",
18136
- "description": "Project public ID (proj_ prefix).",
18137
- "required": true,
18138
- "type": "string",
18139
- "in": "path"
18140
- },
18141
- {
18142
- "name": "listing_id",
18143
- "description": "Listing public ID (lst_ prefix).",
18144
- "required": true,
18145
- "type": "string",
18146
- "in": "path"
18147
- },
18148
- {
18149
- "name": "install_id",
18150
- "description": "Install public ID (ins_ prefix).",
18151
- "required": true,
18152
- "type": "string",
18153
- "in": "path"
18154
- }
18155
- ]
18156
- },
18157
17424
  "list-mcp-servers": {
18158
17425
  serviceClass: "McpServers",
18159
17426
  operationId: "listMcpServers",
@@ -18191,7 +17458,7 @@ const routes = {
18191
17458
  "create-mcp-server": {
18192
17459
  serviceClass: "McpServers",
18193
17460
  operationId: "createMcpServer",
18194
- description: "Each item of `tools` is checked against the tool it names: the project's own or an installed one, else `400`. `action` is required, and must be one of the tool's available actions, when the tool declares `actions`; otherwise it is ignored and stored as `null`. A tool whose definition reads `{{context:naturali_caller_…}}` is refused unless `auth.type` is `oauth`. `daily_call_limit` is required when `auth` is `none`.",
17461
+ description: "Each item of `tools` is checked against the tool it names: one of the project's, else `400`. `action` is required, and must be one of the tool's available actions, when the tool declares `actions`; otherwise it is ignored and stored as `null`. A tool whose definition reads `{{context:naturali_caller_…}}` is refused unless `auth.type` is `oauth`. `daily_call_limit` is required when `auth` is `none`.",
18195
17462
  moduleDocsUrl: "https://naturali.ai/docs/modules/mcp-servers",
18196
17463
  httpMethod: "post",
18197
17464
  pathParams: ["project_id"],
@@ -23143,7 +22410,7 @@ const routes = {
23143
22410
  "update-project": {
23144
22411
  serviceClass: "Projects",
23145
22412
  operationId: "updateProject",
23146
- description: "Rename or archive a project, and/or change its content-retention settings (`trace_content_retention_days`, `trace_content_mode`), its execution ceilings (`max_concurrent_runs`, `max_chain_generations`, `max_orchestration_run_depth`), its priced-model gate (`require_priced_model`), its project-scope guardrails (`guardrail_ids`) and managed conversion (`managed_conversion`). Archiving is reversible; resources are retained. Requires the `admin` role in the project (an `owner` has it too). These are the terms every member works under, which is why setting them sits above the role that works under them. The ceilings and the priced-model gate are uncapped by plan: each one only ever narrows what the project may spend, so setting one takes on a restriction rather than claiming an entitlement. On the three ceilings `null` clears the project's own bound and omission leaves it alone — they are different instructions. `guardrail_ids` is the floor under every tool call by every agent in the project, including tools added later. The list is replaced wholesale, so send the ids you want to keep; `[]` detaches every one. An id naming no guardrail in the project responds `400` with `guardrail_not_found`, whose `details.missing` lists the ids. It is uncapped by plan, like the ceilings: a guardrail can only tighten what runs. The two retention controls answer different questions. The window bounds how long content *stays* — a daily sweep purges anything past it, leaving auditable skeletons behind. `trace_content_mode: none` means content is never *written*, which is the stronger guarantee: it cannot be missed by a sweep or survive in a backup. Your plan sets the longest window you may keep content for. A wider one — `null` included, which keeps content indefinitely — responds `403` with `plan_limit_reached`, whose `details` carry the `plan` and the `limit` in days. Anything shorter is always allowed. Moving to a plan with a shorter window takes effect at the end of the billing cycle, and content already stored is then purged by age like everything else.",
22413
+ description: "Rename or archive a project, and/or change its content-retention settings (`trace_content_retention_days`, `trace_content_mode`), its execution ceilings (`max_concurrent_runs`, `max_chain_generations`, `max_orchestration_run_depth`), its priced-model gate (`require_priced_model`), its project-scope guardrails (`guardrail_ids`), the policies capping every agent turn in it (`agent_policy_ids`) and managed conversion (`managed_conversion`). Archiving is reversible; resources are retained. Requires the `admin` role in the project (an `owner` has it too). These are the terms every member works under, which is why setting them sits above the role that works under them. The ceilings and the priced-model gate are uncapped by plan: each one only ever narrows what the project may spend, so setting one takes on a restriction rather than claiming an entitlement. On the three ceilings `null` clears the project's own bound and omission leaves it alone — they are different instructions. `guardrail_ids` is the floor under every tool call by every agent in the project, including tools added later. The list is replaced wholesale, so send the ids you want to keep; `[]` detaches every one. An id naming no guardrail in the project responds `400` with `guardrail_not_found`, whose `details.missing` lists the ids. It is uncapped by plan, like the ceilings: a guardrail can only tighten what runs. `agent_policy_ids` caps every turn of every agent the project owns: an action they deny is refused even where the agent's own `policy_ids` allow it, and the refusal's `meta.denied_by` is `{ type: project, id: <project_id> }`. `null` or `[]` removes the cap. The credential must hold every grant the policies carry, else `403` with `POLICY_GRANT_NOT_HELD`; an id naming no policy responds `400` with `POLICY_NOT_FOUND`, and a policy of another project `400` with `POLICY_OUTSIDE_PROJECT`. The two retention controls answer different questions. The window bounds how long content *stays* — a daily sweep purges anything past it, leaving auditable skeletons behind. `trace_content_mode: none` means content is never *written*, which is the stronger guarantee: it cannot be missed by a sweep or survive in a backup. Your plan sets the longest window you may keep content for. A wider one — `null` included, which keeps content indefinitely — responds `403` with `plan_limit_reached`, whose `details` carry the `plan` and the `limit` in days. Anything shorter is always allowed. Moving to a plan with a shorter window takes effect at the end of the billing cycle, and content already stored is then purged by age like everything else.",
23147
22414
  moduleDocsUrl: "https://naturali.ai/docs/modules/projects",
23148
22415
  httpMethod: "patch",
23149
22416
  pathParams: ["project_id"],
@@ -23221,6 +22488,13 @@ const routes = {
23221
22488
  "type": "array",
23222
22489
  "in": "body"
23223
22490
  },
22491
+ {
22492
+ "name": "agent_policy_ids",
22493
+ "description": "Policies capping every agent turn in the project, replaced wholesale. Send `null` or `[]` to remove the cap; omitting the field leaves it unchanged. The credential must hold every grant they carry, else `403 POLICY_GRANT_NOT_HELD`.\n",
22494
+ "required": false,
22495
+ "type": "array",
22496
+ "in": "body"
22497
+ },
23224
22498
  {
23225
22499
  "name": "managed_conversion",
23226
22500
  "description": "Turn managed conversion off or back on. Off removes the managed ingestion rules; rules of your own stay.\n",
@@ -26585,7 +25859,7 @@ const routes = {
26585
25859
  "list-current-user-credits": {
26586
25860
  serviceClass: "Users",
26587
25861
  operationId: "listCurrentUserCredits",
26588
- description: "A cursor page of the account's model-credit ledger, newest first, with the balance the whole ledger sums to. The ledger is append-only: a correction is a new line, never an edit. A `usage` line is managed model spend, written as the meter is reconciled every 15 minutes per project, so the ledger grows by a line per project per window that spent anything. Filter with `kind`. The other side of a marketplace line is another account's project, so a `fee` or `earned` line names the cycle it settles, not that project.",
25862
+ description: "A cursor page of the account's model-credit ledger, newest first, with the balance the whole ledger sums to. The ledger is append-only: a correction is a new line, never an edit. A `usage` line is managed model spend, written as the meter is reconciled every 15 minutes per project, so the ledger grows by a line per project per window that spent anything. Filter with `kind`.",
26589
25863
  moduleDocsUrl: "https://naturali.ai/docs/modules/users",
26590
25864
  httpMethod: "get",
26591
25865
  pathParams: [],
@@ -26623,7 +25897,7 @@ const routes = {
26623
25897
  "list-current-user-stops": {
26624
25898
  serviceClass: "Users",
26625
25899
  operationId: "listCurrentUserStops",
26626
- description: "Schedule triggers, eval runs, orchestration runs and workflow tasks the platform stopped on this account's projects because the credit balance went below zero or a Free plan's runs ran out, and that have not been restored or dismissed yet. Newest first. `blocked_by` names the ceiling still closed: while it is set, nothing can be restored. Top up for `debt`; upgrade or wait for the month to turn for `run_allowance`. A `marketplace_fee` stop, for work naming a priced installed listing, is restored only while the paid balance is positive. A project-confined key sees its own project's stops only.",
25900
+ description: "Schedule triggers, eval runs, orchestration runs and workflow tasks the platform stopped on this account's projects because the credit balance went below zero or a Free plan's runs ran out, and that have not been restored or dismissed yet. Newest first. `blocked_by` names the ceiling still closed: while it is set, nothing can be restored. Top up for `debt`; upgrade or wait for the month to turn for `run_allowance`. A project-confined key sees its own project's stops only.",
26627
25901
  moduleDocsUrl: "https://naturali.ai/docs/modules/users",
26628
25902
  httpMethod: "get",
26629
25903
  pathParams: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/cli",
3
- "version": "0.249.0",
3
+ "version": "0.250.1",
4
4
  "description": "Command-line interface for the naturali.ai API, generated from its OpenAPI specs",
5
5
  "keywords": [
6
6
  "naturali",
@@ -31,7 +31,7 @@
31
31
  "yaml": "^2.9.1"
32
32
  },
33
33
  "devDependencies": {
34
- "@naturali/sdk": "0.249.0",
34
+ "@naturali/sdk": "0.250.1",
35
35
  "@ttoss/openapi-codegen": "^0.10.1",
36
36
  "@types/node": "^26.5.1",
37
37
  "tsdown": "^0.23.0",