@naturali/cli 0.240.0 → 0.241.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.mjs +125 -27
- 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.
|
|
20
|
+
var version = "0.241.0";
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region ../sdk/src/generated/core/bodySerializer.gen.ts
|
|
23
23
|
const serializeFormDataPair = (data, key, value) => {
|
|
@@ -5348,7 +5348,7 @@ var Policies = class {
|
|
|
5348
5348
|
/**
|
|
5349
5349
|
* Delete a policy
|
|
5350
5350
|
*
|
|
5351
|
-
* Deletes a policy. A project policy needs `policies:DeletePolicy` in its project; a global one, the unrestricted admin. Refused with `409 POLICY_HAS_DEPENDENTS` while a trigger, agent or
|
|
5351
|
+
* Deletes a policy. A project policy needs `policies:DeletePolicy` in its project; a global one, the unrestricted admin. Refused with `409 POLICY_HAS_DEPENDENTS` while a trigger, agent, webhook, user or API key names it in its `policy_ids`.
|
|
5352
5352
|
*/
|
|
5353
5353
|
static deletePolicy(options) {
|
|
5354
5354
|
return (options.client ?? client).delete({
|
|
@@ -17689,6 +17689,13 @@ const routes = {
|
|
|
17689
17689
|
"type": "array",
|
|
17690
17690
|
"in": "body"
|
|
17691
17691
|
},
|
|
17692
|
+
{
|
|
17693
|
+
"name": "actor_id",
|
|
17694
|
+
"description": "Searches only the memories that belong to this actor; documents are not narrowed. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent searches the memories of the end user it serves only.",
|
|
17695
|
+
"required": false,
|
|
17696
|
+
"type": "string",
|
|
17697
|
+
"in": "body"
|
|
17698
|
+
},
|
|
17692
17699
|
{
|
|
17693
17700
|
"name": "document_paths",
|
|
17694
17701
|
"description": "Filter results to documents whose file path starts with one of these prefixes",
|
|
@@ -18495,6 +18502,7 @@ const routes = {
|
|
|
18495
18502
|
pathParams: ["project_id"],
|
|
18496
18503
|
queryParams: [
|
|
18497
18504
|
"memory_store_id",
|
|
18505
|
+
"actor_id",
|
|
18498
18506
|
"tags",
|
|
18499
18507
|
"limit",
|
|
18500
18508
|
"cursor",
|
|
@@ -18517,6 +18525,13 @@ const routes = {
|
|
|
18517
18525
|
"type": "string",
|
|
18518
18526
|
"in": "query"
|
|
18519
18527
|
},
|
|
18528
|
+
{
|
|
18529
|
+
"name": "actor_id",
|
|
18530
|
+
"description": "Only the memories that belong to this actor. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent lists the memories of the end user it serves only.",
|
|
18531
|
+
"required": false,
|
|
18532
|
+
"type": "string",
|
|
18533
|
+
"in": "query"
|
|
18534
|
+
},
|
|
18520
18535
|
{
|
|
18521
18536
|
"name": "tags",
|
|
18522
18537
|
"description": "Filter by tag pairs, written `key:value` (split on the first colon, so a value may contain colons). Repeat the parameter for several pairs; **all** must be present with exactly that value.\n",
|
|
@@ -18579,6 +18594,13 @@ const routes = {
|
|
|
18579
18594
|
"type": "string",
|
|
18580
18595
|
"in": "body"
|
|
18581
18596
|
},
|
|
18597
|
+
{
|
|
18598
|
+
"name": "actor_id",
|
|
18599
|
+
"description": "The end user the memory belongs to, an actor of the memory store's project; an unknown one is `400 ACTOR_NOT_FOUND`. The write compares, supersedes and creates among that actor's memories only. Omitted, the memory belongs to no actor and is compared with the other memories of no actor.",
|
|
18600
|
+
"required": false,
|
|
18601
|
+
"type": "string",
|
|
18602
|
+
"in": "body"
|
|
18603
|
+
},
|
|
18582
18604
|
{
|
|
18583
18605
|
"name": "source_type",
|
|
18584
18606
|
"description": "Whether there is a source to point at. `conversation` requires `source_id`; `manual` rejects it.",
|
|
@@ -18637,7 +18659,7 @@ const routes = {
|
|
|
18637
18659
|
moduleDocsUrl: "https://naturali.ai/docs/modules/memories",
|
|
18638
18660
|
httpMethod: "get",
|
|
18639
18661
|
pathParams: ["project_id", "memory_id"],
|
|
18640
|
-
queryParams: ["memory_store_id"],
|
|
18662
|
+
queryParams: ["memory_store_id", "actor_id"],
|
|
18641
18663
|
headerParams: [],
|
|
18642
18664
|
cookieParams: [],
|
|
18643
18665
|
flags: [
|
|
@@ -18655,6 +18677,13 @@ const routes = {
|
|
|
18655
18677
|
"type": "string",
|
|
18656
18678
|
"in": "query"
|
|
18657
18679
|
},
|
|
18680
|
+
{
|
|
18681
|
+
"name": "actor_id",
|
|
18682
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
18683
|
+
"required": false,
|
|
18684
|
+
"type": "string",
|
|
18685
|
+
"in": "query"
|
|
18686
|
+
},
|
|
18658
18687
|
{
|
|
18659
18688
|
"name": "memory_id",
|
|
18660
18689
|
"description": "",
|
|
@@ -18671,7 +18700,7 @@ const routes = {
|
|
|
18671
18700
|
moduleDocsUrl: "https://naturali.ai/docs/modules/memories",
|
|
18672
18701
|
httpMethod: "put",
|
|
18673
18702
|
pathParams: ["project_id", "memory_id"],
|
|
18674
|
-
queryParams: ["memory_store_id"],
|
|
18703
|
+
queryParams: ["memory_store_id", "actor_id"],
|
|
18675
18704
|
headerParams: ["If-Match"],
|
|
18676
18705
|
cookieParams: [],
|
|
18677
18706
|
flags: [
|
|
@@ -18689,6 +18718,13 @@ const routes = {
|
|
|
18689
18718
|
"type": "string",
|
|
18690
18719
|
"in": "query"
|
|
18691
18720
|
},
|
|
18721
|
+
{
|
|
18722
|
+
"name": "actor_id",
|
|
18723
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
18724
|
+
"required": false,
|
|
18725
|
+
"type": "string",
|
|
18726
|
+
"in": "query"
|
|
18727
|
+
},
|
|
18692
18728
|
{
|
|
18693
18729
|
"name": "memory_id",
|
|
18694
18730
|
"description": "",
|
|
@@ -18740,7 +18776,7 @@ const routes = {
|
|
|
18740
18776
|
moduleDocsUrl: "https://naturali.ai/docs/modules/memories",
|
|
18741
18777
|
httpMethod: "delete",
|
|
18742
18778
|
pathParams: ["project_id", "memory_id"],
|
|
18743
|
-
queryParams: ["memory_store_id"],
|
|
18779
|
+
queryParams: ["memory_store_id", "actor_id"],
|
|
18744
18780
|
headerParams: [],
|
|
18745
18781
|
cookieParams: [],
|
|
18746
18782
|
flags: [
|
|
@@ -18758,6 +18794,13 @@ const routes = {
|
|
|
18758
18794
|
"type": "string",
|
|
18759
18795
|
"in": "query"
|
|
18760
18796
|
},
|
|
18797
|
+
{
|
|
18798
|
+
"name": "actor_id",
|
|
18799
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
18800
|
+
"required": false,
|
|
18801
|
+
"type": "string",
|
|
18802
|
+
"in": "query"
|
|
18803
|
+
},
|
|
18761
18804
|
{
|
|
18762
18805
|
"name": "memory_id",
|
|
18763
18806
|
"description": "",
|
|
@@ -18774,7 +18817,7 @@ const routes = {
|
|
|
18774
18817
|
moduleDocsUrl: "https://naturali.ai/docs/modules/memories",
|
|
18775
18818
|
httpMethod: "post",
|
|
18776
18819
|
pathParams: ["project_id", "memory_id"],
|
|
18777
|
-
queryParams: ["memory_store_id"],
|
|
18820
|
+
queryParams: ["memory_store_id", "actor_id"],
|
|
18778
18821
|
headerParams: ["If-Match"],
|
|
18779
18822
|
cookieParams: [],
|
|
18780
18823
|
flags: [
|
|
@@ -18792,6 +18835,13 @@ const routes = {
|
|
|
18792
18835
|
"type": "string",
|
|
18793
18836
|
"in": "query"
|
|
18794
18837
|
},
|
|
18838
|
+
{
|
|
18839
|
+
"name": "actor_id",
|
|
18840
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
18841
|
+
"required": false,
|
|
18842
|
+
"type": "string",
|
|
18843
|
+
"in": "query"
|
|
18844
|
+
},
|
|
18795
18845
|
{
|
|
18796
18846
|
"name": "memory_id",
|
|
18797
18847
|
"description": "",
|
|
@@ -18824,6 +18874,7 @@ const routes = {
|
|
|
18824
18874
|
pathParams: ["project_id", "memory_id"],
|
|
18825
18875
|
queryParams: [
|
|
18826
18876
|
"memory_store_id",
|
|
18877
|
+
"actor_id",
|
|
18827
18878
|
"limit",
|
|
18828
18879
|
"cursor"
|
|
18829
18880
|
],
|
|
@@ -18844,6 +18895,13 @@ const routes = {
|
|
|
18844
18895
|
"type": "string",
|
|
18845
18896
|
"in": "query"
|
|
18846
18897
|
},
|
|
18898
|
+
{
|
|
18899
|
+
"name": "actor_id",
|
|
18900
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
18901
|
+
"required": false,
|
|
18902
|
+
"type": "string",
|
|
18903
|
+
"in": "query"
|
|
18904
|
+
},
|
|
18847
18905
|
{
|
|
18848
18906
|
"name": "memory_id",
|
|
18849
18907
|
"description": "",
|
|
@@ -18874,7 +18932,7 @@ const routes = {
|
|
|
18874
18932
|
moduleDocsUrl: "https://naturali.ai/docs/modules/memories",
|
|
18875
18933
|
httpMethod: "get",
|
|
18876
18934
|
pathParams: ["project_id", "memory_id"],
|
|
18877
|
-
queryParams: ["memory_store_id"],
|
|
18935
|
+
queryParams: ["memory_store_id", "actor_id"],
|
|
18878
18936
|
headerParams: [],
|
|
18879
18937
|
cookieParams: [],
|
|
18880
18938
|
flags: [
|
|
@@ -18892,6 +18950,13 @@ const routes = {
|
|
|
18892
18950
|
"type": "string",
|
|
18893
18951
|
"in": "query"
|
|
18894
18952
|
},
|
|
18953
|
+
{
|
|
18954
|
+
"name": "actor_id",
|
|
18955
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
18956
|
+
"required": false,
|
|
18957
|
+
"type": "string",
|
|
18958
|
+
"in": "query"
|
|
18959
|
+
},
|
|
18895
18960
|
{
|
|
18896
18961
|
"name": "memory_id",
|
|
18897
18962
|
"description": "Memory ID",
|
|
@@ -18908,7 +18973,7 @@ const routes = {
|
|
|
18908
18973
|
moduleDocsUrl: "https://naturali.ai/docs/modules/memories",
|
|
18909
18974
|
httpMethod: "put",
|
|
18910
18975
|
pathParams: ["project_id", "memory_id"],
|
|
18911
|
-
queryParams: ["memory_store_id"],
|
|
18976
|
+
queryParams: ["memory_store_id", "actor_id"],
|
|
18912
18977
|
headerParams: [],
|
|
18913
18978
|
cookieParams: [],
|
|
18914
18979
|
flags: [
|
|
@@ -18926,6 +18991,13 @@ const routes = {
|
|
|
18926
18991
|
"type": "string",
|
|
18927
18992
|
"in": "query"
|
|
18928
18993
|
},
|
|
18994
|
+
{
|
|
18995
|
+
"name": "actor_id",
|
|
18996
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
18997
|
+
"required": false,
|
|
18998
|
+
"type": "string",
|
|
18999
|
+
"in": "query"
|
|
19000
|
+
},
|
|
18929
19001
|
{
|
|
18930
19002
|
"name": "memory_id",
|
|
18931
19003
|
"description": "Memory ID",
|
|
@@ -18949,7 +19021,7 @@ const routes = {
|
|
|
18949
19021
|
moduleDocsUrl: "https://naturali.ai/docs/modules/memories",
|
|
18950
19022
|
httpMethod: "patch",
|
|
18951
19023
|
pathParams: ["project_id", "memory_id"],
|
|
18952
|
-
queryParams: ["memory_store_id"],
|
|
19024
|
+
queryParams: ["memory_store_id", "actor_id"],
|
|
18953
19025
|
headerParams: [],
|
|
18954
19026
|
cookieParams: [],
|
|
18955
19027
|
flags: [
|
|
@@ -18967,6 +19039,13 @@ const routes = {
|
|
|
18967
19039
|
"type": "string",
|
|
18968
19040
|
"in": "query"
|
|
18969
19041
|
},
|
|
19042
|
+
{
|
|
19043
|
+
"name": "actor_id",
|
|
19044
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
19045
|
+
"required": false,
|
|
19046
|
+
"type": "string",
|
|
19047
|
+
"in": "query"
|
|
19048
|
+
},
|
|
18970
19049
|
{
|
|
18971
19050
|
"name": "memory_id",
|
|
18972
19051
|
"description": "Memory ID",
|
|
@@ -19488,6 +19567,7 @@ const routes = {
|
|
|
19488
19567
|
httpMethod: "get",
|
|
19489
19568
|
pathParams: ["project_id", "memory_store_id"],
|
|
19490
19569
|
queryParams: [
|
|
19570
|
+
"actor_id",
|
|
19491
19571
|
"mechanism",
|
|
19492
19572
|
"outcome",
|
|
19493
19573
|
"generation_id",
|
|
@@ -19513,6 +19593,13 @@ const routes = {
|
|
|
19513
19593
|
"type": "string",
|
|
19514
19594
|
"in": "path"
|
|
19515
19595
|
},
|
|
19596
|
+
{
|
|
19597
|
+
"name": "actor_id",
|
|
19598
|
+
"description": "Only the writes that resolved into this actor's memories. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` to confine it to the end user an agent serves.",
|
|
19599
|
+
"required": false,
|
|
19600
|
+
"type": "string",
|
|
19601
|
+
"in": "query"
|
|
19602
|
+
},
|
|
19516
19603
|
{
|
|
19517
19604
|
"name": "mechanism",
|
|
19518
19605
|
"description": "Only assertions that came through this door.",
|
|
@@ -19571,7 +19658,11 @@ const routes = {
|
|
|
19571
19658
|
moduleDocsUrl: "https://naturali.ai/docs/modules/memory-stores",
|
|
19572
19659
|
httpMethod: "get",
|
|
19573
19660
|
pathParams: ["project_id", "memory_store_id"],
|
|
19574
|
-
queryParams: [
|
|
19661
|
+
queryParams: [
|
|
19662
|
+
"actor_id",
|
|
19663
|
+
"include_invalidated",
|
|
19664
|
+
"tags"
|
|
19665
|
+
],
|
|
19575
19666
|
headerParams: [],
|
|
19576
19667
|
cookieParams: [],
|
|
19577
19668
|
flags: [
|
|
@@ -19589,6 +19680,13 @@ const routes = {
|
|
|
19589
19680
|
"type": "string",
|
|
19590
19681
|
"in": "path"
|
|
19591
19682
|
},
|
|
19683
|
+
{
|
|
19684
|
+
"name": "actor_id",
|
|
19685
|
+
"description": "Only the memories that belong to this actor.",
|
|
19686
|
+
"required": false,
|
|
19687
|
+
"type": "string",
|
|
19688
|
+
"in": "query"
|
|
19689
|
+
},
|
|
19592
19690
|
{
|
|
19593
19691
|
"name": "include_invalidated",
|
|
19594
19692
|
"description": "Include memories that were retracted or superseded",
|
|
@@ -21901,7 +21999,7 @@ const routes = {
|
|
|
21901
21999
|
},
|
|
21902
22000
|
{
|
|
21903
22001
|
"name": "actor_id",
|
|
21904
|
-
"description": "Acts only on
|
|
22002
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
21905
22003
|
"required": false,
|
|
21906
22004
|
"type": "string",
|
|
21907
22005
|
"in": "query"
|
|
@@ -21935,7 +22033,7 @@ const routes = {
|
|
|
21935
22033
|
},
|
|
21936
22034
|
{
|
|
21937
22035
|
"name": "actor_id",
|
|
21938
|
-
"description": "Acts only on
|
|
22036
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
21939
22037
|
"required": false,
|
|
21940
22038
|
"type": "string",
|
|
21941
22039
|
"in": "query"
|
|
@@ -21969,7 +22067,7 @@ const routes = {
|
|
|
21969
22067
|
},
|
|
21970
22068
|
{
|
|
21971
22069
|
"name": "actor_id",
|
|
21972
|
-
"description": "Acts only on
|
|
22070
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
21973
22071
|
"required": false,
|
|
21974
22072
|
"type": "string",
|
|
21975
22073
|
"in": "query"
|
|
@@ -22017,7 +22115,7 @@ const routes = {
|
|
|
22017
22115
|
},
|
|
22018
22116
|
{
|
|
22019
22117
|
"name": "actor_id",
|
|
22020
|
-
"description": "Acts only on
|
|
22118
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
22021
22119
|
"required": false,
|
|
22022
22120
|
"type": "string",
|
|
22023
22121
|
"in": "query"
|
|
@@ -22063,7 +22161,7 @@ const routes = {
|
|
|
22063
22161
|
},
|
|
22064
22162
|
{
|
|
22065
22163
|
"name": "actor_id",
|
|
22066
|
-
"description": "Acts only on
|
|
22164
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
22067
22165
|
"required": false,
|
|
22068
22166
|
"type": "string",
|
|
22069
22167
|
"in": "query"
|
|
@@ -22122,7 +22220,7 @@ const routes = {
|
|
|
22122
22220
|
},
|
|
22123
22221
|
{
|
|
22124
22222
|
"name": "actor_id",
|
|
22125
|
-
"description": "Acts only on
|
|
22223
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
22126
22224
|
"required": false,
|
|
22127
22225
|
"type": "string",
|
|
22128
22226
|
"in": "query"
|
|
@@ -22175,7 +22273,7 @@ const routes = {
|
|
|
22175
22273
|
},
|
|
22176
22274
|
{
|
|
22177
22275
|
"name": "actor_id",
|
|
22178
|
-
"description": "Acts only on
|
|
22276
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
22179
22277
|
"required": false,
|
|
22180
22278
|
"type": "string",
|
|
22181
22279
|
"in": "query"
|
|
@@ -22234,7 +22332,7 @@ const routes = {
|
|
|
22234
22332
|
},
|
|
22235
22333
|
{
|
|
22236
22334
|
"name": "actor_id",
|
|
22237
|
-
"description": "Acts only on
|
|
22335
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
22238
22336
|
"required": false,
|
|
22239
22337
|
"type": "string",
|
|
22240
22338
|
"in": "query"
|
|
@@ -22279,7 +22377,7 @@ const routes = {
|
|
|
22279
22377
|
},
|
|
22280
22378
|
{
|
|
22281
22379
|
"name": "actor_id",
|
|
22282
|
-
"description": "Acts only on
|
|
22380
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
22283
22381
|
"required": false,
|
|
22284
22382
|
"type": "string",
|
|
22285
22383
|
"in": "query"
|
|
@@ -22347,7 +22445,7 @@ const routes = {
|
|
|
22347
22445
|
},
|
|
22348
22446
|
{
|
|
22349
22447
|
"name": "actor_id",
|
|
22350
|
-
"description": "Acts only on
|
|
22448
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
22351
22449
|
"required": false,
|
|
22352
22450
|
"type": "string",
|
|
22353
22451
|
"in": "query"
|
|
@@ -22413,7 +22511,7 @@ const routes = {
|
|
|
22413
22511
|
},
|
|
22414
22512
|
{
|
|
22415
22513
|
"name": "actor_id",
|
|
22416
|
-
"description": "Acts only on
|
|
22514
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
22417
22515
|
"required": false,
|
|
22418
22516
|
"type": "string",
|
|
22419
22517
|
"in": "query"
|
|
@@ -22454,7 +22552,7 @@ const routes = {
|
|
|
22454
22552
|
},
|
|
22455
22553
|
{
|
|
22456
22554
|
"name": "actor_id",
|
|
22457
|
-
"description": "Acts only on
|
|
22555
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
22458
22556
|
"required": false,
|
|
22459
22557
|
"type": "string",
|
|
22460
22558
|
"in": "query"
|
|
@@ -22513,7 +22611,7 @@ const routes = {
|
|
|
22513
22611
|
},
|
|
22514
22612
|
{
|
|
22515
22613
|
"name": "actor_id",
|
|
22516
|
-
"description": "Acts only on
|
|
22614
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
22517
22615
|
"required": false,
|
|
22518
22616
|
"type": "string",
|
|
22519
22617
|
"in": "query"
|
|
@@ -22561,7 +22659,7 @@ const routes = {
|
|
|
22561
22659
|
},
|
|
22562
22660
|
{
|
|
22563
22661
|
"name": "actor_id",
|
|
22564
|
-
"description": "Acts only on
|
|
22662
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
22565
22663
|
"required": false,
|
|
22566
22664
|
"type": "string",
|
|
22567
22665
|
"in": "query"
|
|
@@ -22595,7 +22693,7 @@ const routes = {
|
|
|
22595
22693
|
},
|
|
22596
22694
|
{
|
|
22597
22695
|
"name": "actor_id",
|
|
22598
|
-
"description": "Acts only on
|
|
22696
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
22599
22697
|
"required": false,
|
|
22600
22698
|
"type": "string",
|
|
22601
22699
|
"in": "query"
|
|
@@ -22633,7 +22731,7 @@ const routes = {
|
|
|
22633
22731
|
},
|
|
22634
22732
|
{
|
|
22635
22733
|
"name": "actor_id",
|
|
22636
|
-
"description": "Acts only on
|
|
22734
|
+
"description": "Acts only on an item that belongs to this actor: any other item, one that belongs to no actor included, is `404` as if it did not exist. Pin it in a tool's `preset_parameters` as `{{context:actor_id}}` so an agent serving an end user reaches that user's items only.",
|
|
22637
22735
|
"required": false,
|
|
22638
22736
|
"type": "string",
|
|
22639
22737
|
"in": "query"
|
|
@@ -22836,7 +22934,7 @@ const routes = {
|
|
|
22836
22934
|
"delete-policy": {
|
|
22837
22935
|
serviceClass: "Policies",
|
|
22838
22936
|
operationId: "deletePolicy",
|
|
22839
|
-
description: "Deletes a policy. A project policy needs `policies:DeletePolicy` in its project; a global one, the unrestricted admin. Refused with `409 POLICY_HAS_DEPENDENTS` while a trigger, agent or
|
|
22937
|
+
description: "Deletes a policy. A project policy needs `policies:DeletePolicy` in its project; a global one, the unrestricted admin. Refused with `409 POLICY_HAS_DEPENDENTS` while a trigger, agent, webhook, user or API key names it in its `policy_ids`.",
|
|
22840
22938
|
moduleDocsUrl: "https://naturali.ai/docs/modules/policies",
|
|
22841
22939
|
httpMethod: "delete",
|
|
22842
22940
|
pathParams: ["project_id", "policy_id"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.241.0",
|
|
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.
|
|
34
|
+
"@naturali/sdk": "0.241.0",
|
|
35
35
|
"@ttoss/openapi-codegen": "^0.10.1",
|
|
36
36
|
"@types/node": "^26.5.1",
|
|
37
37
|
"tsdown": "^0.23.0",
|