@naturali/sdk 0.133.2 → 0.133.3
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.d.cts +84 -9
- package/dist/index.d.mts +84 -9
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -768,6 +768,16 @@ type Agent = {
|
|
|
768
768
|
*
|
|
769
769
|
*/
|
|
770
770
|
min_score?: number;
|
|
771
|
+
/**
|
|
772
|
+
* The `k` in the fusion term `1 / (k + rank)`, the same knob knowledge search takes. Smaller weights the top of each ranking more heavily. Omitted, the deployment's `KNOWLEDGE_RRF_K` applies.
|
|
773
|
+
*
|
|
774
|
+
*/
|
|
775
|
+
rrf_k?: number;
|
|
776
|
+
/**
|
|
777
|
+
* Half-life in days of the decay applied to **memory** results after fusion, the same knob knowledge search takes. `0` disables it. Omitted, the deployment's `KNOWLEDGE_RECENCY_HALF_LIFE_DAYS` applies.
|
|
778
|
+
*
|
|
779
|
+
*/
|
|
780
|
+
recency_half_life_days?: number;
|
|
771
781
|
/**
|
|
772
782
|
* Maximum number of results to inject. Omitted, 10 are injected.
|
|
773
783
|
*
|
|
@@ -968,6 +978,16 @@ type CreateAgentRequest = {
|
|
|
968
978
|
*
|
|
969
979
|
*/
|
|
970
980
|
min_score?: number;
|
|
981
|
+
/**
|
|
982
|
+
* The `k` in the fusion term `1 / (k + rank)`, the same knob knowledge search takes. Smaller weights the top of each ranking more heavily. Omitted, the deployment's `KNOWLEDGE_RRF_K` applies.
|
|
983
|
+
*
|
|
984
|
+
*/
|
|
985
|
+
rrf_k?: number;
|
|
986
|
+
/**
|
|
987
|
+
* Half-life in days of the decay applied to **memory** results after fusion, the same knob knowledge search takes. `0` disables it. Omitted, the deployment's `KNOWLEDGE_RECENCY_HALF_LIFE_DAYS` applies.
|
|
988
|
+
*
|
|
989
|
+
*/
|
|
990
|
+
recency_half_life_days?: number;
|
|
971
991
|
/**
|
|
972
992
|
* Maximum number of results to inject. Omitted, 10 are injected.
|
|
973
993
|
*
|
|
@@ -1066,6 +1086,16 @@ type UpdateAgentRequest = {
|
|
|
1066
1086
|
*
|
|
1067
1087
|
*/
|
|
1068
1088
|
min_score?: number;
|
|
1089
|
+
/**
|
|
1090
|
+
* The `k` in the fusion term `1 / (k + rank)`, the same knob knowledge search takes. Smaller weights the top of each ranking more heavily. Omitted, the deployment's `KNOWLEDGE_RRF_K` applies.
|
|
1091
|
+
*
|
|
1092
|
+
*/
|
|
1093
|
+
rrf_k?: number;
|
|
1094
|
+
/**
|
|
1095
|
+
* Half-life in days of the decay applied to **memory** results after fusion, the same knob knowledge search takes. `0` disables it. Omitted, the deployment's `KNOWLEDGE_RECENCY_HALF_LIFE_DAYS` applies.
|
|
1096
|
+
*
|
|
1097
|
+
*/
|
|
1098
|
+
recency_half_life_days?: number;
|
|
1069
1099
|
/**
|
|
1070
1100
|
* Maximum number of results to inject. Omitted, 10 are injected.
|
|
1071
1101
|
*
|
|
@@ -1160,7 +1190,7 @@ type CreateAgentGenerationRequest = {
|
|
|
1160
1190
|
[key: string]: unknown;
|
|
1161
1191
|
} | null;
|
|
1162
1192
|
/**
|
|
1163
|
-
* Per-generation knowledge retrieval override. Array filters (memory_store_ids, document_ids, document_paths) are unioned with the agent's stored knowledge_config; `tags` pairs are merged with the override winning per key; scalar fields (min_score, limit) use the per-generation value when present.
|
|
1193
|
+
* Per-generation knowledge retrieval override. Array filters (memory_store_ids, document_ids, document_paths) are unioned with the agent's stored knowledge_config; `tags` pairs are merged with the override winning per key; scalar fields (min_score, rrf_k, recency_half_life_days, limit) use the per-generation value when present.
|
|
1164
1194
|
*/
|
|
1165
1195
|
knowledge_config?: {
|
|
1166
1196
|
memory_store_ids?: Array<string>;
|
|
@@ -1175,6 +1205,16 @@ type CreateAgentGenerationRequest = {
|
|
|
1175
1205
|
*
|
|
1176
1206
|
*/
|
|
1177
1207
|
min_score?: number;
|
|
1208
|
+
/**
|
|
1209
|
+
* The `k` in the fusion term `1 / (k + rank)`, the same knob knowledge search takes. Smaller weights the top of each ranking more heavily. Omitted, the deployment's `KNOWLEDGE_RRF_K` applies.
|
|
1210
|
+
*
|
|
1211
|
+
*/
|
|
1212
|
+
rrf_k?: number;
|
|
1213
|
+
/**
|
|
1214
|
+
* Half-life in days of the decay applied to **memory** results after fusion, the same knob knowledge search takes. `0` disables it. Omitted, the deployment's `KNOWLEDGE_RECENCY_HALF_LIFE_DAYS` applies.
|
|
1215
|
+
*
|
|
1216
|
+
*/
|
|
1217
|
+
recency_half_life_days?: number;
|
|
1178
1218
|
/**
|
|
1179
1219
|
* Maximum number of results to inject. Omitted, 10 are injected.
|
|
1180
1220
|
*
|
|
@@ -3162,9 +3202,17 @@ type AgentResourceProperties = {
|
|
|
3162
3202
|
*/
|
|
3163
3203
|
tags?: TagBag;
|
|
3164
3204
|
/**
|
|
3165
|
-
* Minimum similarity
|
|
3205
|
+
* Minimum raw cosine similarity (0–1) a vector candidate must reach to be ranked. Omitted, there is no floor.
|
|
3166
3206
|
*/
|
|
3167
3207
|
min_score?: number;
|
|
3208
|
+
/**
|
|
3209
|
+
* The `k` in the fusion term `1 / (k + rank)`; smaller weights the top of each ranking more heavily
|
|
3210
|
+
*/
|
|
3211
|
+
rrf_k?: number;
|
|
3212
|
+
/**
|
|
3213
|
+
* Half-life in days of the decay applied to memory results after fusion; `0` disables it
|
|
3214
|
+
*/
|
|
3215
|
+
recency_half_life_days?: number;
|
|
3168
3216
|
/**
|
|
3169
3217
|
* Maximum number of chunks to inject
|
|
3170
3218
|
*/
|
|
@@ -3617,6 +3665,12 @@ type TriggerResourceProperties = {
|
|
|
3617
3665
|
input?: {
|
|
3618
3666
|
[key: string]: unknown;
|
|
3619
3667
|
} | null;
|
|
3668
|
+
/**
|
|
3669
|
+
* Caller context every firing forwards to the run it starts, so an agent whose tools authorize through `{{context:<key>}}` can be scheduled. Write-only. A value may be a `{{secret:...}}` reference, which is what a template should carry — the credential stays in the secret store and only its name is checked in
|
|
3670
|
+
*/
|
|
3671
|
+
tool_context?: {
|
|
3672
|
+
[key: string]: string;
|
|
3673
|
+
} | null;
|
|
3620
3674
|
/**
|
|
3621
3675
|
* 5-field cron expression (UTC). Required when type is schedule
|
|
3622
3676
|
*/
|
|
@@ -5556,12 +5610,6 @@ type OrchestrationRun = {
|
|
|
5556
5610
|
input?: {
|
|
5557
5611
|
[key: string]: unknown;
|
|
5558
5612
|
} | null;
|
|
5559
|
-
/**
|
|
5560
|
-
* The `tool_context` supplied at run creation, forwarded as `X-Naturali-Context-<key>` headers on every tool call the run's agent nodes make. Null when the run was started without one.
|
|
5561
|
-
*/
|
|
5562
|
-
tool_context?: {
|
|
5563
|
-
[key: string]: string;
|
|
5564
|
-
} | null;
|
|
5565
5613
|
/**
|
|
5566
5614
|
* The caller-owned key/value metadata supplied at run creation, returned verbatim. Null when the run was started without any. The server writes nothing here and no key is reserved; the bag is never merged into `state`, so nothing in it reaches the graph.
|
|
5567
5615
|
*/
|
|
@@ -5736,7 +5784,7 @@ type StartOrchestrationRunRequest = {
|
|
|
5736
5784
|
/**
|
|
5737
5785
|
* Key-value pairs forwarded as `X-Naturali-Context-<key>` headers on every `http` and `mcp` tool call made by an agent node of this run — including the agents of any child run a `loop` or `sub_orchestration` node starts. The header name is `X-Naturali-Context-` plus the key verbatim; no character is re-cased.
|
|
5738
5786
|
*
|
|
5739
|
-
* The bag is stored on the run and re-read on every step, so it survives an `awaiting_input` pause, a `sleeping` wait, a background worker drive and a crash redrive. A key that is not a valid HTTP header name, or two keys that map to the same header, are rejected with `400 INVALID_TOOL_CONTEXT_KEY` and no run is created.
|
|
5787
|
+
* The bag is stored on the run and re-read on every step, so it survives an `awaiting_input` pause, a `sleeping` wait, a background worker drive and a crash redrive. It is **write-only**: a run is a record every principal who may read runs can read, and a credential in it is not theirs to see, so it is never returned on one. A key that is not a valid HTTP header name, or two keys that map to the same header, are rejected with `400 INVALID_TOOL_CONTEXT_KEY` and no run is created.
|
|
5740
5788
|
*
|
|
5741
5789
|
* The reserved identity keys (`session_id`, `actor_id`, `actor_external_id`) are stripped at generation time — a caller cannot address them from here.
|
|
5742
5790
|
*/
|
|
@@ -7037,6 +7085,17 @@ type CreateTriggerRequest = {
|
|
|
7037
7085
|
input?: {
|
|
7038
7086
|
[key: string]: unknown;
|
|
7039
7087
|
};
|
|
7088
|
+
/**
|
|
7089
|
+
* Caller context every firing forwards to the run it starts, so an agent whose tools authorize through `{{context:<key>}}` can be put on a schedule — a firing has no request to carry one. Each key is forwarded as one `X-Naturali-Context-<key>` header.
|
|
7090
|
+
*
|
|
7091
|
+
* **Write-only.** It is accepted here and never returned on a read, so the record cannot be used to recover a value.
|
|
7092
|
+
*
|
|
7093
|
+
* A value may be a `{{secret:...}}` reference, which keeps the credential in the [secret](/docs/modules/secrets) store and leaves only its name on the trigger; it is resolved at fire time, so rotating the secret changes the next firing without touching the trigger. A reference naming a secret that does not exist in this project is refused here rather than at fire time.
|
|
7094
|
+
*
|
|
7095
|
+
*/
|
|
7096
|
+
tool_context?: {
|
|
7097
|
+
[key: string]: string;
|
|
7098
|
+
};
|
|
7040
7099
|
/**
|
|
7041
7100
|
* 5-field cron expression (UTC). Required when type is schedule
|
|
7042
7101
|
*/
|
|
@@ -7057,6 +7116,13 @@ type UpdateTriggerRequest = {
|
|
|
7057
7116
|
input?: {
|
|
7058
7117
|
[key: string]: unknown;
|
|
7059
7118
|
} | null;
|
|
7119
|
+
/**
|
|
7120
|
+
* Replaces the stored bag; `null` clears it. Write-only and resolved at fire time — see `CreateTriggerRequest.tool_context`.
|
|
7121
|
+
*
|
|
7122
|
+
*/
|
|
7123
|
+
tool_context?: {
|
|
7124
|
+
[key: string]: string;
|
|
7125
|
+
} | null;
|
|
7060
7126
|
cron?: string | null;
|
|
7061
7127
|
event_pattern?: string | null;
|
|
7062
7128
|
active?: boolean;
|
|
@@ -7069,6 +7135,15 @@ type FireTriggerRequest = {
|
|
|
7069
7135
|
input?: {
|
|
7070
7136
|
[key: string]: unknown;
|
|
7071
7137
|
};
|
|
7138
|
+
/**
|
|
7139
|
+
* Fire-time caller context, shallow-merged per key over the trigger's stored `tool_context`. A manual fire has a caller, so this is the one path that can supply a value without storing it.
|
|
7140
|
+
*
|
|
7141
|
+
* Forwarded exactly as written: a `{{secret:...}}` reference is resolved only in the trigger's stored bag, never in one supplied here.
|
|
7142
|
+
*
|
|
7143
|
+
*/
|
|
7144
|
+
tool_context?: {
|
|
7145
|
+
[key: string]: string;
|
|
7146
|
+
};
|
|
7072
7147
|
};
|
|
7073
7148
|
type TriggerSecretResponse = {
|
|
7074
7149
|
secret?: string;
|
package/dist/index.d.mts
CHANGED
|
@@ -768,6 +768,16 @@ type Agent = {
|
|
|
768
768
|
*
|
|
769
769
|
*/
|
|
770
770
|
min_score?: number;
|
|
771
|
+
/**
|
|
772
|
+
* The `k` in the fusion term `1 / (k + rank)`, the same knob knowledge search takes. Smaller weights the top of each ranking more heavily. Omitted, the deployment's `KNOWLEDGE_RRF_K` applies.
|
|
773
|
+
*
|
|
774
|
+
*/
|
|
775
|
+
rrf_k?: number;
|
|
776
|
+
/**
|
|
777
|
+
* Half-life in days of the decay applied to **memory** results after fusion, the same knob knowledge search takes. `0` disables it. Omitted, the deployment's `KNOWLEDGE_RECENCY_HALF_LIFE_DAYS` applies.
|
|
778
|
+
*
|
|
779
|
+
*/
|
|
780
|
+
recency_half_life_days?: number;
|
|
771
781
|
/**
|
|
772
782
|
* Maximum number of results to inject. Omitted, 10 are injected.
|
|
773
783
|
*
|
|
@@ -968,6 +978,16 @@ type CreateAgentRequest = {
|
|
|
968
978
|
*
|
|
969
979
|
*/
|
|
970
980
|
min_score?: number;
|
|
981
|
+
/**
|
|
982
|
+
* The `k` in the fusion term `1 / (k + rank)`, the same knob knowledge search takes. Smaller weights the top of each ranking more heavily. Omitted, the deployment's `KNOWLEDGE_RRF_K` applies.
|
|
983
|
+
*
|
|
984
|
+
*/
|
|
985
|
+
rrf_k?: number;
|
|
986
|
+
/**
|
|
987
|
+
* Half-life in days of the decay applied to **memory** results after fusion, the same knob knowledge search takes. `0` disables it. Omitted, the deployment's `KNOWLEDGE_RECENCY_HALF_LIFE_DAYS` applies.
|
|
988
|
+
*
|
|
989
|
+
*/
|
|
990
|
+
recency_half_life_days?: number;
|
|
971
991
|
/**
|
|
972
992
|
* Maximum number of results to inject. Omitted, 10 are injected.
|
|
973
993
|
*
|
|
@@ -1066,6 +1086,16 @@ type UpdateAgentRequest = {
|
|
|
1066
1086
|
*
|
|
1067
1087
|
*/
|
|
1068
1088
|
min_score?: number;
|
|
1089
|
+
/**
|
|
1090
|
+
* The `k` in the fusion term `1 / (k + rank)`, the same knob knowledge search takes. Smaller weights the top of each ranking more heavily. Omitted, the deployment's `KNOWLEDGE_RRF_K` applies.
|
|
1091
|
+
*
|
|
1092
|
+
*/
|
|
1093
|
+
rrf_k?: number;
|
|
1094
|
+
/**
|
|
1095
|
+
* Half-life in days of the decay applied to **memory** results after fusion, the same knob knowledge search takes. `0` disables it. Omitted, the deployment's `KNOWLEDGE_RECENCY_HALF_LIFE_DAYS` applies.
|
|
1096
|
+
*
|
|
1097
|
+
*/
|
|
1098
|
+
recency_half_life_days?: number;
|
|
1069
1099
|
/**
|
|
1070
1100
|
* Maximum number of results to inject. Omitted, 10 are injected.
|
|
1071
1101
|
*
|
|
@@ -1160,7 +1190,7 @@ type CreateAgentGenerationRequest = {
|
|
|
1160
1190
|
[key: string]: unknown;
|
|
1161
1191
|
} | null;
|
|
1162
1192
|
/**
|
|
1163
|
-
* Per-generation knowledge retrieval override. Array filters (memory_store_ids, document_ids, document_paths) are unioned with the agent's stored knowledge_config; `tags` pairs are merged with the override winning per key; scalar fields (min_score, limit) use the per-generation value when present.
|
|
1193
|
+
* Per-generation knowledge retrieval override. Array filters (memory_store_ids, document_ids, document_paths) are unioned with the agent's stored knowledge_config; `tags` pairs are merged with the override winning per key; scalar fields (min_score, rrf_k, recency_half_life_days, limit) use the per-generation value when present.
|
|
1164
1194
|
*/
|
|
1165
1195
|
knowledge_config?: {
|
|
1166
1196
|
memory_store_ids?: Array<string>;
|
|
@@ -1175,6 +1205,16 @@ type CreateAgentGenerationRequest = {
|
|
|
1175
1205
|
*
|
|
1176
1206
|
*/
|
|
1177
1207
|
min_score?: number;
|
|
1208
|
+
/**
|
|
1209
|
+
* The `k` in the fusion term `1 / (k + rank)`, the same knob knowledge search takes. Smaller weights the top of each ranking more heavily. Omitted, the deployment's `KNOWLEDGE_RRF_K` applies.
|
|
1210
|
+
*
|
|
1211
|
+
*/
|
|
1212
|
+
rrf_k?: number;
|
|
1213
|
+
/**
|
|
1214
|
+
* Half-life in days of the decay applied to **memory** results after fusion, the same knob knowledge search takes. `0` disables it. Omitted, the deployment's `KNOWLEDGE_RECENCY_HALF_LIFE_DAYS` applies.
|
|
1215
|
+
*
|
|
1216
|
+
*/
|
|
1217
|
+
recency_half_life_days?: number;
|
|
1178
1218
|
/**
|
|
1179
1219
|
* Maximum number of results to inject. Omitted, 10 are injected.
|
|
1180
1220
|
*
|
|
@@ -3162,9 +3202,17 @@ type AgentResourceProperties = {
|
|
|
3162
3202
|
*/
|
|
3163
3203
|
tags?: TagBag;
|
|
3164
3204
|
/**
|
|
3165
|
-
* Minimum similarity
|
|
3205
|
+
* Minimum raw cosine similarity (0–1) a vector candidate must reach to be ranked. Omitted, there is no floor.
|
|
3166
3206
|
*/
|
|
3167
3207
|
min_score?: number;
|
|
3208
|
+
/**
|
|
3209
|
+
* The `k` in the fusion term `1 / (k + rank)`; smaller weights the top of each ranking more heavily
|
|
3210
|
+
*/
|
|
3211
|
+
rrf_k?: number;
|
|
3212
|
+
/**
|
|
3213
|
+
* Half-life in days of the decay applied to memory results after fusion; `0` disables it
|
|
3214
|
+
*/
|
|
3215
|
+
recency_half_life_days?: number;
|
|
3168
3216
|
/**
|
|
3169
3217
|
* Maximum number of chunks to inject
|
|
3170
3218
|
*/
|
|
@@ -3617,6 +3665,12 @@ type TriggerResourceProperties = {
|
|
|
3617
3665
|
input?: {
|
|
3618
3666
|
[key: string]: unknown;
|
|
3619
3667
|
} | null;
|
|
3668
|
+
/**
|
|
3669
|
+
* Caller context every firing forwards to the run it starts, so an agent whose tools authorize through `{{context:<key>}}` can be scheduled. Write-only. A value may be a `{{secret:...}}` reference, which is what a template should carry — the credential stays in the secret store and only its name is checked in
|
|
3670
|
+
*/
|
|
3671
|
+
tool_context?: {
|
|
3672
|
+
[key: string]: string;
|
|
3673
|
+
} | null;
|
|
3620
3674
|
/**
|
|
3621
3675
|
* 5-field cron expression (UTC). Required when type is schedule
|
|
3622
3676
|
*/
|
|
@@ -5556,12 +5610,6 @@ type OrchestrationRun = {
|
|
|
5556
5610
|
input?: {
|
|
5557
5611
|
[key: string]: unknown;
|
|
5558
5612
|
} | null;
|
|
5559
|
-
/**
|
|
5560
|
-
* The `tool_context` supplied at run creation, forwarded as `X-Naturali-Context-<key>` headers on every tool call the run's agent nodes make. Null when the run was started without one.
|
|
5561
|
-
*/
|
|
5562
|
-
tool_context?: {
|
|
5563
|
-
[key: string]: string;
|
|
5564
|
-
} | null;
|
|
5565
5613
|
/**
|
|
5566
5614
|
* The caller-owned key/value metadata supplied at run creation, returned verbatim. Null when the run was started without any. The server writes nothing here and no key is reserved; the bag is never merged into `state`, so nothing in it reaches the graph.
|
|
5567
5615
|
*/
|
|
@@ -5736,7 +5784,7 @@ type StartOrchestrationRunRequest = {
|
|
|
5736
5784
|
/**
|
|
5737
5785
|
* Key-value pairs forwarded as `X-Naturali-Context-<key>` headers on every `http` and `mcp` tool call made by an agent node of this run — including the agents of any child run a `loop` or `sub_orchestration` node starts. The header name is `X-Naturali-Context-` plus the key verbatim; no character is re-cased.
|
|
5738
5786
|
*
|
|
5739
|
-
* The bag is stored on the run and re-read on every step, so it survives an `awaiting_input` pause, a `sleeping` wait, a background worker drive and a crash redrive. A key that is not a valid HTTP header name, or two keys that map to the same header, are rejected with `400 INVALID_TOOL_CONTEXT_KEY` and no run is created.
|
|
5787
|
+
* The bag is stored on the run and re-read on every step, so it survives an `awaiting_input` pause, a `sleeping` wait, a background worker drive and a crash redrive. It is **write-only**: a run is a record every principal who may read runs can read, and a credential in it is not theirs to see, so it is never returned on one. A key that is not a valid HTTP header name, or two keys that map to the same header, are rejected with `400 INVALID_TOOL_CONTEXT_KEY` and no run is created.
|
|
5740
5788
|
*
|
|
5741
5789
|
* The reserved identity keys (`session_id`, `actor_id`, `actor_external_id`) are stripped at generation time — a caller cannot address them from here.
|
|
5742
5790
|
*/
|
|
@@ -7037,6 +7085,17 @@ type CreateTriggerRequest = {
|
|
|
7037
7085
|
input?: {
|
|
7038
7086
|
[key: string]: unknown;
|
|
7039
7087
|
};
|
|
7088
|
+
/**
|
|
7089
|
+
* Caller context every firing forwards to the run it starts, so an agent whose tools authorize through `{{context:<key>}}` can be put on a schedule — a firing has no request to carry one. Each key is forwarded as one `X-Naturali-Context-<key>` header.
|
|
7090
|
+
*
|
|
7091
|
+
* **Write-only.** It is accepted here and never returned on a read, so the record cannot be used to recover a value.
|
|
7092
|
+
*
|
|
7093
|
+
* A value may be a `{{secret:...}}` reference, which keeps the credential in the [secret](/docs/modules/secrets) store and leaves only its name on the trigger; it is resolved at fire time, so rotating the secret changes the next firing without touching the trigger. A reference naming a secret that does not exist in this project is refused here rather than at fire time.
|
|
7094
|
+
*
|
|
7095
|
+
*/
|
|
7096
|
+
tool_context?: {
|
|
7097
|
+
[key: string]: string;
|
|
7098
|
+
};
|
|
7040
7099
|
/**
|
|
7041
7100
|
* 5-field cron expression (UTC). Required when type is schedule
|
|
7042
7101
|
*/
|
|
@@ -7057,6 +7116,13 @@ type UpdateTriggerRequest = {
|
|
|
7057
7116
|
input?: {
|
|
7058
7117
|
[key: string]: unknown;
|
|
7059
7118
|
} | null;
|
|
7119
|
+
/**
|
|
7120
|
+
* Replaces the stored bag; `null` clears it. Write-only and resolved at fire time — see `CreateTriggerRequest.tool_context`.
|
|
7121
|
+
*
|
|
7122
|
+
*/
|
|
7123
|
+
tool_context?: {
|
|
7124
|
+
[key: string]: string;
|
|
7125
|
+
} | null;
|
|
7060
7126
|
cron?: string | null;
|
|
7061
7127
|
event_pattern?: string | null;
|
|
7062
7128
|
active?: boolean;
|
|
@@ -7069,6 +7135,15 @@ type FireTriggerRequest = {
|
|
|
7069
7135
|
input?: {
|
|
7070
7136
|
[key: string]: unknown;
|
|
7071
7137
|
};
|
|
7138
|
+
/**
|
|
7139
|
+
* Fire-time caller context, shallow-merged per key over the trigger's stored `tool_context`. A manual fire has a caller, so this is the one path that can supply a value without storing it.
|
|
7140
|
+
*
|
|
7141
|
+
* Forwarded exactly as written: a `{{secret:...}}` reference is resolved only in the trigger's stored bag, never in one supplied here.
|
|
7142
|
+
*
|
|
7143
|
+
*/
|
|
7144
|
+
tool_context?: {
|
|
7145
|
+
[key: string]: string;
|
|
7146
|
+
};
|
|
7072
7147
|
};
|
|
7073
7148
|
type TriggerSecretResponse = {
|
|
7074
7149
|
secret?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.133.
|
|
3
|
+
"version": "0.133.3",
|
|
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.133.
|
|
34
|
+
"@naturali/api": "0.133.3",
|
|
35
35
|
"@ttoss/openapi-codegen": "^0.3.1",
|
|
36
36
|
"@types/node": "^26.5.1",
|
|
37
37
|
"tsdown": "^0.23.0",
|