@naturali/sdk 0.133.3 → 0.134.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -1
- package/dist/index.d.cts +42 -1
- package/dist/index.d.mts +42 -1
- package/dist/index.mjs +2 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -3725,8 +3725,9 @@ var Projects = class {
|
|
|
3725
3725
|
/**
|
|
3726
3726
|
* Update a project
|
|
3727
3727
|
*
|
|
3728
|
-
* Rename or archive a project, and/or change its content-retention settings (`trace_content_retention_days`, `trace_content_mode`). Archiving is reversible; resources are retained.
|
|
3728
|
+
* 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`) and its priced-model gate (`require_priced_model`). Archiving is reversible; resources are retained.
|
|
3729
3729
|
* Requires the `admin` role in the project (an `owner` has it too).
|
|
3730
|
+
* 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.
|
|
3730
3731
|
* 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.
|
|
3731
3732
|
*
|
|
3732
3733
|
* 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.
|
package/dist/index.d.cts
CHANGED
|
@@ -5847,6 +5847,26 @@ type Project = {
|
|
|
5847
5847
|
*
|
|
5848
5848
|
*/
|
|
5849
5849
|
trace_content_mode: 'full' | 'none';
|
|
5850
|
+
/**
|
|
5851
|
+
* Orchestration runs of this project driven at once. `null` (the default) is unlimited. Enforced when a run is claimed — runs past the limit wait for a slot rather than failing.
|
|
5852
|
+
*
|
|
5853
|
+
*/
|
|
5854
|
+
max_concurrent_runs: number | null;
|
|
5855
|
+
/**
|
|
5856
|
+
* Generations one continuation chain in this project may hold before it stops being resumed. `null` (the default) leaves the platform-wide ceiling in force. The budget actually applied is the smallest of that ceiling, this number, and the agent's own — an agent author can be stricter than this, never looser.
|
|
5857
|
+
*
|
|
5858
|
+
*/
|
|
5859
|
+
max_chain_generations: number | null;
|
|
5860
|
+
/**
|
|
5861
|
+
* Nesting levels a run tree in this project may reach before the next child is refused. `null` (the default) leaves the platform-wide bound in force; the bound applied is the smaller of the two.
|
|
5862
|
+
*
|
|
5863
|
+
*/
|
|
5864
|
+
max_orchestration_run_depth: number | null;
|
|
5865
|
+
/**
|
|
5866
|
+
* Whether a generation whose model carries no price is refused before the provider is called. `false` by default, which runs the model and meters it at no cost. Mainly of use with your own providers — see [Requiring a priced model](/docs/modules/projects#requiring-a-priced-model).
|
|
5867
|
+
*
|
|
5868
|
+
*/
|
|
5869
|
+
require_priced_model: boolean;
|
|
5850
5870
|
created_at: Date;
|
|
5851
5871
|
updated_at: Date;
|
|
5852
5872
|
};
|
|
@@ -5934,6 +5954,26 @@ type ProjectUpdate = {
|
|
|
5934
5954
|
*
|
|
5935
5955
|
*/
|
|
5936
5956
|
trace_content_mode?: 'full' | 'none';
|
|
5957
|
+
/**
|
|
5958
|
+
* Orchestration runs driven at once. Send `null` to lift the limit. Omitting the field leaves it unchanged.
|
|
5959
|
+
*
|
|
5960
|
+
*/
|
|
5961
|
+
max_concurrent_runs?: number | null;
|
|
5962
|
+
/**
|
|
5963
|
+
* Generations one continuation chain may hold. Send `null` to drop back to the platform-wide ceiling. Omitting the field leaves it unchanged.
|
|
5964
|
+
*
|
|
5965
|
+
*/
|
|
5966
|
+
max_chain_generations?: number | null;
|
|
5967
|
+
/**
|
|
5968
|
+
* Nesting levels a run tree may reach. Send `null` to drop back to the platform-wide bound. Omitting the field leaves it unchanged.
|
|
5969
|
+
*
|
|
5970
|
+
*/
|
|
5971
|
+
max_orchestration_run_depth?: number | null;
|
|
5972
|
+
/**
|
|
5973
|
+
* Refuse a generation whose model carries no price, before the provider is called. Uncapped by plan — it only ever narrows what the project may spend.
|
|
5974
|
+
*
|
|
5975
|
+
*/
|
|
5976
|
+
require_priced_model?: boolean;
|
|
5937
5977
|
};
|
|
5938
5978
|
/**
|
|
5939
5979
|
* Token counts (input_tokens already includes cached input).
|
|
@@ -22784,8 +22824,9 @@ export declare class Projects {
|
|
|
22784
22824
|
/**
|
|
22785
22825
|
* Update a project
|
|
22786
22826
|
*
|
|
22787
|
-
* Rename or archive a project, and/or change its content-retention settings (`trace_content_retention_days`, `trace_content_mode`). Archiving is reversible; resources are retained.
|
|
22827
|
+
* 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`) and its priced-model gate (`require_priced_model`). Archiving is reversible; resources are retained.
|
|
22788
22828
|
* Requires the `admin` role in the project (an `owner` has it too).
|
|
22829
|
+
* 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.
|
|
22789
22830
|
* 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.
|
|
22790
22831
|
*
|
|
22791
22832
|
* 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.
|
package/dist/index.d.mts
CHANGED
|
@@ -5847,6 +5847,26 @@ type Project = {
|
|
|
5847
5847
|
*
|
|
5848
5848
|
*/
|
|
5849
5849
|
trace_content_mode: 'full' | 'none';
|
|
5850
|
+
/**
|
|
5851
|
+
* Orchestration runs of this project driven at once. `null` (the default) is unlimited. Enforced when a run is claimed — runs past the limit wait for a slot rather than failing.
|
|
5852
|
+
*
|
|
5853
|
+
*/
|
|
5854
|
+
max_concurrent_runs: number | null;
|
|
5855
|
+
/**
|
|
5856
|
+
* Generations one continuation chain in this project may hold before it stops being resumed. `null` (the default) leaves the platform-wide ceiling in force. The budget actually applied is the smallest of that ceiling, this number, and the agent's own — an agent author can be stricter than this, never looser.
|
|
5857
|
+
*
|
|
5858
|
+
*/
|
|
5859
|
+
max_chain_generations: number | null;
|
|
5860
|
+
/**
|
|
5861
|
+
* Nesting levels a run tree in this project may reach before the next child is refused. `null` (the default) leaves the platform-wide bound in force; the bound applied is the smaller of the two.
|
|
5862
|
+
*
|
|
5863
|
+
*/
|
|
5864
|
+
max_orchestration_run_depth: number | null;
|
|
5865
|
+
/**
|
|
5866
|
+
* Whether a generation whose model carries no price is refused before the provider is called. `false` by default, which runs the model and meters it at no cost. Mainly of use with your own providers — see [Requiring a priced model](/docs/modules/projects#requiring-a-priced-model).
|
|
5867
|
+
*
|
|
5868
|
+
*/
|
|
5869
|
+
require_priced_model: boolean;
|
|
5850
5870
|
created_at: Date;
|
|
5851
5871
|
updated_at: Date;
|
|
5852
5872
|
};
|
|
@@ -5934,6 +5954,26 @@ type ProjectUpdate = {
|
|
|
5934
5954
|
*
|
|
5935
5955
|
*/
|
|
5936
5956
|
trace_content_mode?: 'full' | 'none';
|
|
5957
|
+
/**
|
|
5958
|
+
* Orchestration runs driven at once. Send `null` to lift the limit. Omitting the field leaves it unchanged.
|
|
5959
|
+
*
|
|
5960
|
+
*/
|
|
5961
|
+
max_concurrent_runs?: number | null;
|
|
5962
|
+
/**
|
|
5963
|
+
* Generations one continuation chain may hold. Send `null` to drop back to the platform-wide ceiling. Omitting the field leaves it unchanged.
|
|
5964
|
+
*
|
|
5965
|
+
*/
|
|
5966
|
+
max_chain_generations?: number | null;
|
|
5967
|
+
/**
|
|
5968
|
+
* Nesting levels a run tree may reach. Send `null` to drop back to the platform-wide bound. Omitting the field leaves it unchanged.
|
|
5969
|
+
*
|
|
5970
|
+
*/
|
|
5971
|
+
max_orchestration_run_depth?: number | null;
|
|
5972
|
+
/**
|
|
5973
|
+
* Refuse a generation whose model carries no price, before the provider is called. Uncapped by plan — it only ever narrows what the project may spend.
|
|
5974
|
+
*
|
|
5975
|
+
*/
|
|
5976
|
+
require_priced_model?: boolean;
|
|
5937
5977
|
};
|
|
5938
5978
|
/**
|
|
5939
5979
|
* Token counts (input_tokens already includes cached input).
|
|
@@ -22784,8 +22824,9 @@ export declare class Projects {
|
|
|
22784
22824
|
/**
|
|
22785
22825
|
* Update a project
|
|
22786
22826
|
*
|
|
22787
|
-
* Rename or archive a project, and/or change its content-retention settings (`trace_content_retention_days`, `trace_content_mode`). Archiving is reversible; resources are retained.
|
|
22827
|
+
* 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`) and its priced-model gate (`require_priced_model`). Archiving is reversible; resources are retained.
|
|
22788
22828
|
* Requires the `admin` role in the project (an `owner` has it too).
|
|
22829
|
+
* 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.
|
|
22789
22830
|
* 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.
|
|
22790
22831
|
*
|
|
22791
22832
|
* 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.
|
package/dist/index.mjs
CHANGED
|
@@ -3724,8 +3724,9 @@ var Projects = class {
|
|
|
3724
3724
|
/**
|
|
3725
3725
|
* Update a project
|
|
3726
3726
|
*
|
|
3727
|
-
* Rename or archive a project, and/or change its content-retention settings (`trace_content_retention_days`, `trace_content_mode`). Archiving is reversible; resources are retained.
|
|
3727
|
+
* 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`) and its priced-model gate (`require_priced_model`). Archiving is reversible; resources are retained.
|
|
3728
3728
|
* Requires the `admin` role in the project (an `owner` has it too).
|
|
3729
|
+
* 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.
|
|
3729
3730
|
* 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.
|
|
3730
3731
|
*
|
|
3731
3732
|
* 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.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.134.0",
|
|
4
4
|
"description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@hey-api/openapi-ts": "^0.99.0",
|
|
34
|
-
"@naturali/api": "0.
|
|
34
|
+
"@naturali/api": "0.134.0",
|
|
35
35
|
"@ttoss/openapi-codegen": "^0.3.1",
|
|
36
36
|
"@types/node": "^26.5.1",
|
|
37
37
|
"tsdown": "^0.23.0",
|