@arbol-ai/cli 2.10.0 → 2.12.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.js +572 -152
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -11088,6 +11088,42 @@ var commands = {
|
|
|
11088
11088
|
required: true,
|
|
11089
11089
|
description: "Member document number as a string; preserve leading zeros. Never an organization selector."
|
|
11090
11090
|
},
|
|
11091
|
+
{
|
|
11092
|
+
name: "agentMode",
|
|
11093
|
+
flag: "agent-mode",
|
|
11094
|
+
kind: "boolean",
|
|
11095
|
+
required: false,
|
|
11096
|
+
description: "True: concise Spanish text in data.text (HTTP) and MCP text content. False or omitted: structured JSON. Presentation never changes tenant, coverage or provider admission.",
|
|
11097
|
+
default: false
|
|
11098
|
+
},
|
|
11099
|
+
{
|
|
11100
|
+
name: "fields",
|
|
11101
|
+
flag: "fields",
|
|
11102
|
+
kind: "list",
|
|
11103
|
+
required: false,
|
|
11104
|
+
description: "Return only these top-level fields. member opts into additional personal data; timings opts into measured durations. Omit for the standard affiliation record. Agent text always retains affiliation and primary-provider warnings.",
|
|
11105
|
+
choices: [
|
|
11106
|
+
"documentType",
|
|
11107
|
+
"documentNumber",
|
|
11108
|
+
"affiliated",
|
|
11109
|
+
"callerIsPrimaryProvider",
|
|
11110
|
+
"state",
|
|
11111
|
+
"kind",
|
|
11112
|
+
"category",
|
|
11113
|
+
"primaryProvider",
|
|
11114
|
+
"messages",
|
|
11115
|
+
"member",
|
|
11116
|
+
"timings"
|
|
11117
|
+
]
|
|
11118
|
+
},
|
|
11119
|
+
{
|
|
11120
|
+
name: "includeTimings",
|
|
11121
|
+
flag: "include-timings",
|
|
11122
|
+
kind: "boolean",
|
|
11123
|
+
required: false,
|
|
11124
|
+
description: "Include measured operation durations; equivalent to requesting timings in fields. Durations overlap as documented and are observations, not latency guarantees.",
|
|
11125
|
+
default: false
|
|
11126
|
+
},
|
|
11091
11127
|
{
|
|
11092
11128
|
name: "connectionId",
|
|
11093
11129
|
flag: "connection-id",
|
|
@@ -11174,6 +11210,71 @@ var commands = {
|
|
|
11174
11210
|
description: "Member document number as a string; preserve leading zeros. Never an organization selector.",
|
|
11175
11211
|
type: "string"
|
|
11176
11212
|
},
|
|
11213
|
+
agentMode: {
|
|
11214
|
+
default: false,
|
|
11215
|
+
description: "True: concise Spanish text in data.text (HTTP) and MCP text content. False or omitted: structured JSON. Presentation never changes tenant, coverage or provider admission.",
|
|
11216
|
+
type: "boolean"
|
|
11217
|
+
},
|
|
11218
|
+
fields: {
|
|
11219
|
+
minItems: 1,
|
|
11220
|
+
maxItems: 11,
|
|
11221
|
+
uniqueItems: true,
|
|
11222
|
+
description: "Return only these top-level fields. member opts into additional personal data; timings opts into measured durations. Omit for the standard affiliation record. Agent text always retains affiliation and primary-provider warnings.",
|
|
11223
|
+
type: "array",
|
|
11224
|
+
items: {
|
|
11225
|
+
anyOf: [
|
|
11226
|
+
{
|
|
11227
|
+
const: "documentType",
|
|
11228
|
+
type: "string"
|
|
11229
|
+
},
|
|
11230
|
+
{
|
|
11231
|
+
const: "documentNumber",
|
|
11232
|
+
type: "string"
|
|
11233
|
+
},
|
|
11234
|
+
{
|
|
11235
|
+
const: "affiliated",
|
|
11236
|
+
type: "string"
|
|
11237
|
+
},
|
|
11238
|
+
{
|
|
11239
|
+
const: "callerIsPrimaryProvider",
|
|
11240
|
+
type: "string"
|
|
11241
|
+
},
|
|
11242
|
+
{
|
|
11243
|
+
const: "state",
|
|
11244
|
+
type: "string"
|
|
11245
|
+
},
|
|
11246
|
+
{
|
|
11247
|
+
const: "kind",
|
|
11248
|
+
type: "string"
|
|
11249
|
+
},
|
|
11250
|
+
{
|
|
11251
|
+
const: "category",
|
|
11252
|
+
type: "string"
|
|
11253
|
+
},
|
|
11254
|
+
{
|
|
11255
|
+
const: "primaryProvider",
|
|
11256
|
+
type: "string"
|
|
11257
|
+
},
|
|
11258
|
+
{
|
|
11259
|
+
const: "messages",
|
|
11260
|
+
type: "string"
|
|
11261
|
+
},
|
|
11262
|
+
{
|
|
11263
|
+
const: "member",
|
|
11264
|
+
type: "string"
|
|
11265
|
+
},
|
|
11266
|
+
{
|
|
11267
|
+
const: "timings",
|
|
11268
|
+
type: "string"
|
|
11269
|
+
}
|
|
11270
|
+
]
|
|
11271
|
+
}
|
|
11272
|
+
},
|
|
11273
|
+
includeTimings: {
|
|
11274
|
+
default: false,
|
|
11275
|
+
description: "Include measured operation durations; equivalent to requesting timings in fields. Durations overlap as documented and are observations, not latency guarantees.",
|
|
11276
|
+
type: "boolean"
|
|
11277
|
+
},
|
|
11177
11278
|
connectionId: {
|
|
11178
11279
|
pattern: "^con_[0-9A-Za-z]{26}$",
|
|
11179
11280
|
type: "string"
|
|
@@ -11181,7 +11282,7 @@ var commands = {
|
|
|
11181
11282
|
}
|
|
11182
11283
|
},
|
|
11183
11284
|
title: "Look up member affiliation",
|
|
11184
|
-
description: "Read affiliation and
|
|
11285
|
+
description: "Read member affiliation and primary-provider warnings. Default: structured JSON. Set agentMode=true for concise Spanish text; fields selects top-level output properties. Request member explicitly for additional personal data and timings for measured durations. A provider failure is never an absent member; active affiliation never authorizes a procedure or confirms a clinic contract. No clinical writes are performed.",
|
|
11185
11286
|
effect: "read",
|
|
11186
11287
|
confirmation: null,
|
|
11187
11288
|
hidden: false
|
|
@@ -41477,6 +41578,71 @@ var schemaComponents = {
|
|
|
41477
41578
|
description: "Member document number as a string; preserve leading zeros. Never an organization selector.",
|
|
41478
41579
|
type: "string"
|
|
41479
41580
|
},
|
|
41581
|
+
agentMode: {
|
|
41582
|
+
default: false,
|
|
41583
|
+
description: "True: concise Spanish text in data.text (HTTP) and MCP text content. False or omitted: structured JSON. Presentation never changes tenant, coverage or provider admission.",
|
|
41584
|
+
type: "boolean"
|
|
41585
|
+
},
|
|
41586
|
+
fields: {
|
|
41587
|
+
minItems: 1,
|
|
41588
|
+
maxItems: 11,
|
|
41589
|
+
uniqueItems: true,
|
|
41590
|
+
description: "Return only these top-level fields. member opts into additional personal data; timings opts into measured durations. Omit for the standard affiliation record. Agent text always retains affiliation and primary-provider warnings.",
|
|
41591
|
+
type: "array",
|
|
41592
|
+
items: {
|
|
41593
|
+
anyOf: [
|
|
41594
|
+
{
|
|
41595
|
+
const: "documentType",
|
|
41596
|
+
type: "string"
|
|
41597
|
+
},
|
|
41598
|
+
{
|
|
41599
|
+
const: "documentNumber",
|
|
41600
|
+
type: "string"
|
|
41601
|
+
},
|
|
41602
|
+
{
|
|
41603
|
+
const: "affiliated",
|
|
41604
|
+
type: "string"
|
|
41605
|
+
},
|
|
41606
|
+
{
|
|
41607
|
+
const: "callerIsPrimaryProvider",
|
|
41608
|
+
type: "string"
|
|
41609
|
+
},
|
|
41610
|
+
{
|
|
41611
|
+
const: "state",
|
|
41612
|
+
type: "string"
|
|
41613
|
+
},
|
|
41614
|
+
{
|
|
41615
|
+
const: "kind",
|
|
41616
|
+
type: "string"
|
|
41617
|
+
},
|
|
41618
|
+
{
|
|
41619
|
+
const: "category",
|
|
41620
|
+
type: "string"
|
|
41621
|
+
},
|
|
41622
|
+
{
|
|
41623
|
+
const: "primaryProvider",
|
|
41624
|
+
type: "string"
|
|
41625
|
+
},
|
|
41626
|
+
{
|
|
41627
|
+
const: "messages",
|
|
41628
|
+
type: "string"
|
|
41629
|
+
},
|
|
41630
|
+
{
|
|
41631
|
+
const: "member",
|
|
41632
|
+
type: "string"
|
|
41633
|
+
},
|
|
41634
|
+
{
|
|
41635
|
+
const: "timings",
|
|
41636
|
+
type: "string"
|
|
41637
|
+
}
|
|
41638
|
+
]
|
|
41639
|
+
}
|
|
41640
|
+
},
|
|
41641
|
+
includeTimings: {
|
|
41642
|
+
default: false,
|
|
41643
|
+
description: "Include measured operation durations; equivalent to requesting timings in fields. Durations overlap as documented and are observations, not latency guarantees.",
|
|
41644
|
+
type: "boolean"
|
|
41645
|
+
},
|
|
41480
41646
|
connectionId: {
|
|
41481
41647
|
pattern: "^con_[0-9A-Za-z]{26}$",
|
|
41482
41648
|
type: "string"
|
|
@@ -41578,141 +41744,341 @@ var schemaComponents = {
|
|
|
41578
41744
|
}
|
|
41579
41745
|
},
|
|
41580
41746
|
NuevaEpsLookupAffiliationResult: {
|
|
41581
|
-
|
|
41582
|
-
|
|
41583
|
-
|
|
41584
|
-
|
|
41585
|
-
|
|
41586
|
-
|
|
41587
|
-
|
|
41588
|
-
|
|
41589
|
-
|
|
41590
|
-
|
|
41591
|
-
|
|
41592
|
-
|
|
41593
|
-
|
|
41594
|
-
|
|
41595
|
-
|
|
41596
|
-
|
|
41597
|
-
|
|
41598
|
-
|
|
41599
|
-
|
|
41600
|
-
|
|
41601
|
-
|
|
41602
|
-
|
|
41603
|
-
|
|
41604
|
-
|
|
41605
|
-
|
|
41606
|
-
|
|
41607
|
-
|
|
41608
|
-
|
|
41609
|
-
|
|
41610
|
-
|
|
41611
|
-
|
|
41612
|
-
|
|
41613
|
-
|
|
41614
|
-
|
|
41615
|
-
|
|
41616
|
-
|
|
41617
|
-
|
|
41618
|
-
|
|
41619
|
-
|
|
41620
|
-
|
|
41747
|
+
anyOf: [
|
|
41748
|
+
{
|
|
41749
|
+
additionalProperties: false,
|
|
41750
|
+
type: "object",
|
|
41751
|
+
properties: {
|
|
41752
|
+
documentType: {
|
|
41753
|
+
description: "Document type code accepted by Nueva EPS; provider-specific codes retain their original meaning.",
|
|
41754
|
+
anyOf: [
|
|
41755
|
+
{
|
|
41756
|
+
const: "AS",
|
|
41757
|
+
type: "string"
|
|
41758
|
+
},
|
|
41759
|
+
{
|
|
41760
|
+
const: "CC",
|
|
41761
|
+
type: "string"
|
|
41762
|
+
},
|
|
41763
|
+
{
|
|
41764
|
+
const: "CD",
|
|
41765
|
+
type: "string"
|
|
41766
|
+
},
|
|
41767
|
+
{
|
|
41768
|
+
const: "CE",
|
|
41769
|
+
type: "string"
|
|
41770
|
+
},
|
|
41771
|
+
{
|
|
41772
|
+
const: "CN",
|
|
41773
|
+
type: "string"
|
|
41774
|
+
},
|
|
41775
|
+
{
|
|
41776
|
+
const: "ME",
|
|
41777
|
+
type: "string"
|
|
41778
|
+
},
|
|
41779
|
+
{
|
|
41780
|
+
const: "NT",
|
|
41781
|
+
type: "string"
|
|
41782
|
+
},
|
|
41783
|
+
{
|
|
41784
|
+
const: "NU",
|
|
41785
|
+
type: "string"
|
|
41786
|
+
},
|
|
41787
|
+
{
|
|
41788
|
+
const: "PC",
|
|
41789
|
+
type: "string"
|
|
41790
|
+
},
|
|
41791
|
+
{
|
|
41792
|
+
const: "PE",
|
|
41793
|
+
type: "string"
|
|
41794
|
+
},
|
|
41795
|
+
{
|
|
41796
|
+
const: "PS",
|
|
41797
|
+
type: "string"
|
|
41798
|
+
},
|
|
41799
|
+
{
|
|
41800
|
+
const: "PT",
|
|
41801
|
+
type: "string"
|
|
41802
|
+
},
|
|
41803
|
+
{
|
|
41804
|
+
const: "RC",
|
|
41805
|
+
type: "string"
|
|
41806
|
+
},
|
|
41807
|
+
{
|
|
41808
|
+
const: "SC",
|
|
41809
|
+
type: "string"
|
|
41810
|
+
},
|
|
41811
|
+
{
|
|
41812
|
+
const: "TI",
|
|
41813
|
+
type: "string"
|
|
41814
|
+
}
|
|
41815
|
+
]
|
|
41621
41816
|
},
|
|
41622
|
-
{
|
|
41623
|
-
|
|
41817
|
+
documentNumber: {
|
|
41818
|
+
pattern: "^[A-Za-z0-9]{1,25}$",
|
|
41819
|
+
description: "Member document number as a string; preserve leading zeros. Never an organization selector.",
|
|
41624
41820
|
type: "string"
|
|
41625
41821
|
},
|
|
41626
|
-
{
|
|
41627
|
-
|
|
41628
|
-
type: "
|
|
41822
|
+
affiliated: {
|
|
41823
|
+
description: "True only when the portal returns ACTIVO. A provider failure is an error, never false.",
|
|
41824
|
+
type: "boolean"
|
|
41629
41825
|
},
|
|
41630
|
-
{
|
|
41631
|
-
|
|
41632
|
-
type: "
|
|
41826
|
+
callerIsPrimaryProvider: {
|
|
41827
|
+
description: "Whether the portal identifies the authenticated provider as the assigned primary provider. This is not a medical authorization.",
|
|
41828
|
+
type: "boolean"
|
|
41633
41829
|
},
|
|
41634
|
-
{
|
|
41635
|
-
|
|
41830
|
+
state: {
|
|
41831
|
+
description: "Original affiliation status reported by Nueva EPS, for example ACTIVO; not connection status.",
|
|
41636
41832
|
type: "string"
|
|
41637
41833
|
},
|
|
41638
|
-
{
|
|
41639
|
-
|
|
41834
|
+
kind: {
|
|
41835
|
+
description: "Original affiliate type reported by Nueva EPS; preserve the provider value.",
|
|
41640
41836
|
type: "string"
|
|
41641
41837
|
},
|
|
41642
|
-
{
|
|
41643
|
-
|
|
41838
|
+
category: {
|
|
41839
|
+
description: "Original affiliate category reported by Nueva EPS; preserve the provider value.",
|
|
41644
41840
|
type: "string"
|
|
41645
41841
|
},
|
|
41646
|
-
{
|
|
41647
|
-
|
|
41842
|
+
primaryProvider: {
|
|
41843
|
+
description: "Name of the assigned primary provider, when present; not an Arbol provider identifier.",
|
|
41648
41844
|
type: "string"
|
|
41649
41845
|
},
|
|
41650
|
-
{
|
|
41651
|
-
|
|
41652
|
-
type: "
|
|
41653
|
-
|
|
41654
|
-
|
|
41655
|
-
|
|
41656
|
-
|
|
41657
|
-
|
|
41658
|
-
|
|
41659
|
-
|
|
41660
|
-
|
|
41661
|
-
|
|
41662
|
-
|
|
41663
|
-
|
|
41664
|
-
|
|
41665
|
-
|
|
41666
|
-
|
|
41667
|
-
|
|
41668
|
-
|
|
41669
|
-
|
|
41670
|
-
|
|
41671
|
-
|
|
41672
|
-
},
|
|
41673
|
-
kind: {
|
|
41674
|
-
description: "Original affiliate type reported by Nueva EPS; preserve the provider value.",
|
|
41675
|
-
type: "string"
|
|
41676
|
-
},
|
|
41677
|
-
category: {
|
|
41678
|
-
description: "Original affiliate category reported by Nueva EPS; preserve the provider value.",
|
|
41679
|
-
type: "string"
|
|
41680
|
-
},
|
|
41681
|
-
primaryProvider: {
|
|
41682
|
-
description: "Name of the assigned primary provider, when present; not an Arbol provider identifier.",
|
|
41683
|
-
type: "string"
|
|
41684
|
-
},
|
|
41685
|
-
messages: {
|
|
41686
|
-
maxItems: 100,
|
|
41687
|
-
type: "array",
|
|
41688
|
-
items: {
|
|
41689
|
-
additionalProperties: false,
|
|
41690
|
-
type: "object",
|
|
41691
|
-
required: [
|
|
41692
|
-
"level",
|
|
41693
|
-
"text"
|
|
41694
|
-
],
|
|
41695
|
-
properties: {
|
|
41696
|
-
level: {
|
|
41697
|
-
anyOf: [
|
|
41698
|
-
{
|
|
41699
|
-
const: "error",
|
|
41700
|
-
type: "string"
|
|
41846
|
+
messages: {
|
|
41847
|
+
maxItems: 100,
|
|
41848
|
+
type: "array",
|
|
41849
|
+
items: {
|
|
41850
|
+
additionalProperties: false,
|
|
41851
|
+
type: "object",
|
|
41852
|
+
required: [
|
|
41853
|
+
"level",
|
|
41854
|
+
"text"
|
|
41855
|
+
],
|
|
41856
|
+
properties: {
|
|
41857
|
+
level: {
|
|
41858
|
+
anyOf: [
|
|
41859
|
+
{
|
|
41860
|
+
const: "error",
|
|
41861
|
+
type: "string"
|
|
41862
|
+
},
|
|
41863
|
+
{
|
|
41864
|
+
const: "info",
|
|
41865
|
+
type: "string"
|
|
41866
|
+
}
|
|
41867
|
+
]
|
|
41701
41868
|
},
|
|
41702
|
-
{
|
|
41703
|
-
|
|
41869
|
+
text: {
|
|
41870
|
+
maxLength: 4000,
|
|
41704
41871
|
type: "string"
|
|
41705
41872
|
}
|
|
41706
|
-
|
|
41707
|
-
},
|
|
41708
|
-
text: {
|
|
41709
|
-
maxLength: 4000,
|
|
41710
|
-
type: "string"
|
|
41873
|
+
}
|
|
41711
41874
|
}
|
|
41875
|
+
},
|
|
41876
|
+
member: {
|
|
41877
|
+
additionalProperties: false,
|
|
41878
|
+
description: "Additional member data. Returned only when fields explicitly includes member; null means the portal omitted that field.",
|
|
41879
|
+
type: "object",
|
|
41880
|
+
required: [
|
|
41881
|
+
"address",
|
|
41882
|
+
"age",
|
|
41883
|
+
"birthDate",
|
|
41884
|
+
"city",
|
|
41885
|
+
"contributedWeeks",
|
|
41886
|
+
"queriedAt",
|
|
41887
|
+
"sex",
|
|
41888
|
+
"stateProvince",
|
|
41889
|
+
"telephone"
|
|
41890
|
+
],
|
|
41891
|
+
properties: {
|
|
41892
|
+
address: {
|
|
41893
|
+
description: "Dirección Residencia, exactly as supplied by the portal.",
|
|
41894
|
+
anyOf: [
|
|
41895
|
+
{
|
|
41896
|
+
type: "string"
|
|
41897
|
+
},
|
|
41898
|
+
{
|
|
41899
|
+
type: "null"
|
|
41900
|
+
}
|
|
41901
|
+
]
|
|
41902
|
+
},
|
|
41903
|
+
age: {
|
|
41904
|
+
description: "Edad in completed years; never calculated from another field.",
|
|
41905
|
+
anyOf: [
|
|
41906
|
+
{
|
|
41907
|
+
minimum: 0,
|
|
41908
|
+
type: "integer"
|
|
41909
|
+
},
|
|
41910
|
+
{
|
|
41911
|
+
type: "null"
|
|
41912
|
+
}
|
|
41913
|
+
]
|
|
41914
|
+
},
|
|
41915
|
+
birthDate: {
|
|
41916
|
+
description: "Fecha Nacimiento in the original portal format; no inferred time zone.",
|
|
41917
|
+
anyOf: [
|
|
41918
|
+
{
|
|
41919
|
+
type: "string"
|
|
41920
|
+
},
|
|
41921
|
+
{
|
|
41922
|
+
type: "null"
|
|
41923
|
+
}
|
|
41924
|
+
]
|
|
41925
|
+
},
|
|
41926
|
+
city: {
|
|
41927
|
+
description: "Municipio.",
|
|
41928
|
+
anyOf: [
|
|
41929
|
+
{
|
|
41930
|
+
type: "string"
|
|
41931
|
+
},
|
|
41932
|
+
{
|
|
41933
|
+
type: "null"
|
|
41934
|
+
}
|
|
41935
|
+
]
|
|
41936
|
+
},
|
|
41937
|
+
contributedWeeks: {
|
|
41938
|
+
description: "Semanas Cotizadas.",
|
|
41939
|
+
anyOf: [
|
|
41940
|
+
{
|
|
41941
|
+
minimum: 0,
|
|
41942
|
+
type: "integer"
|
|
41943
|
+
},
|
|
41944
|
+
{
|
|
41945
|
+
type: "null"
|
|
41946
|
+
}
|
|
41947
|
+
]
|
|
41948
|
+
},
|
|
41949
|
+
queriedAt: {
|
|
41950
|
+
description: "Fecha/Hora Consulta as reported by the portal, with its original format.",
|
|
41951
|
+
anyOf: [
|
|
41952
|
+
{
|
|
41953
|
+
type: "string"
|
|
41954
|
+
},
|
|
41955
|
+
{
|
|
41956
|
+
type: "null"
|
|
41957
|
+
}
|
|
41958
|
+
]
|
|
41959
|
+
},
|
|
41960
|
+
sex: {
|
|
41961
|
+
description: "Sexo, unchanged provider value.",
|
|
41962
|
+
anyOf: [
|
|
41963
|
+
{
|
|
41964
|
+
type: "string"
|
|
41965
|
+
},
|
|
41966
|
+
{
|
|
41967
|
+
type: "null"
|
|
41968
|
+
}
|
|
41969
|
+
]
|
|
41970
|
+
},
|
|
41971
|
+
stateProvince: {
|
|
41972
|
+
description: "Departamento.",
|
|
41973
|
+
anyOf: [
|
|
41974
|
+
{
|
|
41975
|
+
type: "string"
|
|
41976
|
+
},
|
|
41977
|
+
{
|
|
41978
|
+
type: "null"
|
|
41979
|
+
}
|
|
41980
|
+
]
|
|
41981
|
+
},
|
|
41982
|
+
telephone: {
|
|
41983
|
+
description: "Teléfono, preserved as text.",
|
|
41984
|
+
anyOf: [
|
|
41985
|
+
{
|
|
41986
|
+
type: "string"
|
|
41987
|
+
},
|
|
41988
|
+
{
|
|
41989
|
+
type: "null"
|
|
41990
|
+
}
|
|
41991
|
+
]
|
|
41992
|
+
}
|
|
41993
|
+
}
|
|
41994
|
+
},
|
|
41995
|
+
timings: {
|
|
41996
|
+
additionalProperties: false,
|
|
41997
|
+
type: "object",
|
|
41998
|
+
required: [
|
|
41999
|
+
"connectionMs",
|
|
42000
|
+
"accountMs",
|
|
42001
|
+
"sessionMs",
|
|
42002
|
+
"lookupMs",
|
|
42003
|
+
"mappingMs",
|
|
42004
|
+
"totalMs",
|
|
42005
|
+
"sessionReused"
|
|
42006
|
+
],
|
|
42007
|
+
properties: {
|
|
42008
|
+
connectionMs: {
|
|
42009
|
+
minimum: 0,
|
|
42010
|
+
description: "Account directory selection in this Worker.",
|
|
42011
|
+
type: "number"
|
|
42012
|
+
},
|
|
42013
|
+
accountMs: {
|
|
42014
|
+
minimum: 0,
|
|
42015
|
+
description: "Inclusive Account DO call: vault, queue, container admission and provider execution.",
|
|
42016
|
+
type: "number"
|
|
42017
|
+
},
|
|
42018
|
+
sessionMs: {
|
|
42019
|
+
description: "Provider session check or login inside the container; included in accountMs.",
|
|
42020
|
+
anyOf: [
|
|
42021
|
+
{
|
|
42022
|
+
minimum: 0,
|
|
42023
|
+
type: "number"
|
|
42024
|
+
},
|
|
42025
|
+
{
|
|
42026
|
+
type: "null"
|
|
42027
|
+
}
|
|
42028
|
+
]
|
|
42029
|
+
},
|
|
42030
|
+
lookupMs: {
|
|
42031
|
+
description: "Fresh portal view plus affiliation query and bounded retries; included in accountMs.",
|
|
42032
|
+
anyOf: [
|
|
42033
|
+
{
|
|
42034
|
+
minimum: 0,
|
|
42035
|
+
type: "number"
|
|
42036
|
+
},
|
|
42037
|
+
{
|
|
42038
|
+
type: "null"
|
|
42039
|
+
}
|
|
42040
|
+
]
|
|
42041
|
+
},
|
|
42042
|
+
mappingMs: {
|
|
42043
|
+
minimum: 0,
|
|
42044
|
+
description: "Parse and map the provider response in this Worker.",
|
|
42045
|
+
type: "number"
|
|
42046
|
+
},
|
|
42047
|
+
totalMs: {
|
|
42048
|
+
minimum: 0,
|
|
42049
|
+
description: "Operation handler through result mapping; excludes outer Gateway/network and representation encoding. Do not sum overlapping measurements.",
|
|
42050
|
+
type: "number"
|
|
42051
|
+
},
|
|
42052
|
+
sessionReused: {
|
|
42053
|
+
description: "Whether a session was already available when provider execution began.",
|
|
42054
|
+
anyOf: [
|
|
42055
|
+
{
|
|
42056
|
+
type: "boolean"
|
|
42057
|
+
},
|
|
42058
|
+
{
|
|
42059
|
+
type: "null"
|
|
42060
|
+
}
|
|
42061
|
+
]
|
|
42062
|
+
}
|
|
42063
|
+
}
|
|
42064
|
+
}
|
|
42065
|
+
},
|
|
42066
|
+
description: "Structured affiliation; fields may project its top-level properties."
|
|
42067
|
+
},
|
|
42068
|
+
{
|
|
42069
|
+
additionalProperties: false,
|
|
42070
|
+
type: "object",
|
|
42071
|
+
required: [
|
|
42072
|
+
"text"
|
|
42073
|
+
],
|
|
42074
|
+
properties: {
|
|
42075
|
+
text: {
|
|
42076
|
+
description: "Concise Spanish affiliation answer when agentMode=true.",
|
|
42077
|
+
type: "string"
|
|
41712
42078
|
}
|
|
41713
42079
|
}
|
|
41714
42080
|
}
|
|
41715
|
-
|
|
42081
|
+
]
|
|
41716
42082
|
},
|
|
41717
42083
|
NuevaEpsLookupAffiliationResultResponse: {
|
|
41718
42084
|
type: "object",
|
|
@@ -43469,7 +43835,7 @@ var schemaComponents = {
|
|
|
43469
43835
|
recoveryManager: {
|
|
43470
43836
|
anyOf: [
|
|
43471
43837
|
{
|
|
43472
|
-
description: "Optional WhatsApp recovery advisor. Null or enabled=false disables it. One tool-free model call per turn before autonomous escalation or after terminal provider failure; unresolved terminal recovery hands off. Completed handoffs and conservatively recognized human requests bypass generation. Model selects the existing provider route. Prices must be conservative upper bounds including provider overhead; missing or invalid prices disable recovery. The cost bound covers only the advisor. No tools or automatic provider retries.",
|
|
43838
|
+
description: "Optional WhatsApp recovery advisor. Null or enabled=false disables it. A journaled evidence check precedes any paid review. One tool-free model call per turn before autonomous escalation or after terminal provider failure; unresolved terminal recovery hands off. Completed handoffs and conservatively recognized human requests bypass generation. Model selects the existing provider route. Prices must be conservative upper bounds including provider overhead; missing or invalid prices disable recovery. The cost bound covers only the advisor. No tools or automatic provider retries.",
|
|
43473
43839
|
additionalProperties: false,
|
|
43474
43840
|
type: "object",
|
|
43475
43841
|
required: [
|
|
@@ -43546,7 +43912,7 @@ var schemaComponents = {
|
|
|
43546
43912
|
},
|
|
43547
43913
|
maxInputTokens: {
|
|
43548
43914
|
minimum: 4096,
|
|
43549
|
-
maximum:
|
|
43915
|
+
maximum: 131072,
|
|
43550
43916
|
type: "integer"
|
|
43551
43917
|
},
|
|
43552
43918
|
maxOutputTokens: {
|
|
@@ -43919,7 +44285,7 @@ var schemaComponents = {
|
|
|
43919
44285
|
recoveryManager: {
|
|
43920
44286
|
anyOf: [
|
|
43921
44287
|
{
|
|
43922
|
-
description: "Optional WhatsApp recovery advisor. Null or enabled=false disables it. One tool-free model call per turn before autonomous escalation or after terminal provider failure; unresolved terminal recovery hands off. Completed handoffs and conservatively recognized human requests bypass generation. Model selects the existing provider route. Prices must be conservative upper bounds including provider overhead; missing or invalid prices disable recovery. The cost bound covers only the advisor. No tools or automatic provider retries.",
|
|
44288
|
+
description: "Optional WhatsApp recovery advisor. Null or enabled=false disables it. A journaled evidence check precedes any paid review. One tool-free model call per turn before autonomous escalation or after terminal provider failure; unresolved terminal recovery hands off. Completed handoffs and conservatively recognized human requests bypass generation. Model selects the existing provider route. Prices must be conservative upper bounds including provider overhead; missing or invalid prices disable recovery. The cost bound covers only the advisor. No tools or automatic provider retries.",
|
|
43923
44289
|
additionalProperties: false,
|
|
43924
44290
|
type: "object",
|
|
43925
44291
|
required: [
|
|
@@ -43996,7 +44362,7 @@ var schemaComponents = {
|
|
|
43996
44362
|
},
|
|
43997
44363
|
maxInputTokens: {
|
|
43998
44364
|
minimum: 4096,
|
|
43999
|
-
maximum:
|
|
44365
|
+
maximum: 131072,
|
|
44000
44366
|
type: "integer"
|
|
44001
44367
|
},
|
|
44002
44368
|
maxOutputTokens: {
|
|
@@ -56296,12 +56662,13 @@ var schemaComponents = {
|
|
|
56296
56662
|
type: "object",
|
|
56297
56663
|
required: [
|
|
56298
56664
|
"agentId",
|
|
56299
|
-
"conversationId",
|
|
56300
56665
|
"expiresAt",
|
|
56301
56666
|
"id",
|
|
56302
|
-
"joinExpiresAt",
|
|
56303
56667
|
"joinUrl",
|
|
56304
56668
|
"phoneNumber",
|
|
56669
|
+
"sessionDurationHours",
|
|
56670
|
+
"participantCount",
|
|
56671
|
+
"activeParticipantCount",
|
|
56305
56672
|
"status"
|
|
56306
56673
|
],
|
|
56307
56674
|
properties: {
|
|
@@ -56313,39 +56680,19 @@ var schemaComponents = {
|
|
|
56313
56680
|
pattern: "^agt_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$",
|
|
56314
56681
|
type: "string"
|
|
56315
56682
|
},
|
|
56316
|
-
conversationId: {
|
|
56317
|
-
anyOf: [
|
|
56318
|
-
{
|
|
56319
|
-
description: "The trial transcript, once the sender joins.",
|
|
56320
|
-
examples: [
|
|
56321
|
-
"cnv_01m45h8q2rf3t9w6y7z0b1c2d3"
|
|
56322
|
-
],
|
|
56323
|
-
pattern: "^cnv_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$",
|
|
56324
|
-
type: "string"
|
|
56325
|
-
},
|
|
56326
|
-
{
|
|
56327
|
-
type: "null"
|
|
56328
|
-
}
|
|
56329
|
-
]
|
|
56330
|
-
},
|
|
56331
56683
|
expiresAt: {
|
|
56332
56684
|
description: "An instant in RFC 3339 format, in UTC.",
|
|
56333
56685
|
format: "date-time",
|
|
56334
56686
|
type: "string"
|
|
56335
56687
|
},
|
|
56336
56688
|
id: {
|
|
56337
|
-
description: "The
|
|
56689
|
+
description: "The organization's shareable Agent trial link.",
|
|
56338
56690
|
examples: [
|
|
56339
56691
|
"wts_01m45h8q2rf3t9w6y7z0b1c2d3"
|
|
56340
56692
|
],
|
|
56341
56693
|
pattern: "^wts_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$",
|
|
56342
56694
|
type: "string"
|
|
56343
56695
|
},
|
|
56344
|
-
joinExpiresAt: {
|
|
56345
|
-
description: "An instant in RFC 3339 format, in UTC.",
|
|
56346
|
-
format: "date-time",
|
|
56347
|
-
type: "string"
|
|
56348
|
-
},
|
|
56349
56696
|
joinUrl: {
|
|
56350
56697
|
anyOf: [
|
|
56351
56698
|
{
|
|
@@ -56362,12 +56709,20 @@ var schemaComponents = {
|
|
|
56362
56709
|
$ref: "#/components/schemas/RaizPhoneNumber",
|
|
56363
56710
|
description: "Phone number in E.164 format."
|
|
56364
56711
|
},
|
|
56712
|
+
sessionDurationHours: {
|
|
56713
|
+
const: 12,
|
|
56714
|
+
type: "number"
|
|
56715
|
+
},
|
|
56716
|
+
participantCount: {
|
|
56717
|
+
minimum: 0,
|
|
56718
|
+
type: "integer"
|
|
56719
|
+
},
|
|
56720
|
+
activeParticipantCount: {
|
|
56721
|
+
minimum: 0,
|
|
56722
|
+
type: "integer"
|
|
56723
|
+
},
|
|
56365
56724
|
status: {
|
|
56366
56725
|
anyOf: [
|
|
56367
|
-
{
|
|
56368
|
-
const: "waiting",
|
|
56369
|
-
type: "string"
|
|
56370
|
-
},
|
|
56371
56726
|
{
|
|
56372
56727
|
const: "active",
|
|
56373
56728
|
type: "string"
|
|
@@ -67745,6 +68100,71 @@ var schemaComponents = {
|
|
|
67745
68100
|
description: "Member document number as a string; preserve leading zeros. Never an organization selector.",
|
|
67746
68101
|
type: "string"
|
|
67747
68102
|
},
|
|
68103
|
+
agentMode: {
|
|
68104
|
+
default: false,
|
|
68105
|
+
description: "True: concise Spanish text in data.text (HTTP) and MCP text content. False or omitted: structured JSON. Presentation never changes tenant, coverage or provider admission.",
|
|
68106
|
+
type: "boolean"
|
|
68107
|
+
},
|
|
68108
|
+
fields: {
|
|
68109
|
+
minItems: 1,
|
|
68110
|
+
maxItems: 11,
|
|
68111
|
+
uniqueItems: true,
|
|
68112
|
+
description: "Return only these top-level fields. member opts into additional personal data; timings opts into measured durations. Omit for the standard affiliation record. Agent text always retains affiliation and primary-provider warnings.",
|
|
68113
|
+
type: "array",
|
|
68114
|
+
items: {
|
|
68115
|
+
anyOf: [
|
|
68116
|
+
{
|
|
68117
|
+
const: "documentType",
|
|
68118
|
+
type: "string"
|
|
68119
|
+
},
|
|
68120
|
+
{
|
|
68121
|
+
const: "documentNumber",
|
|
68122
|
+
type: "string"
|
|
68123
|
+
},
|
|
68124
|
+
{
|
|
68125
|
+
const: "affiliated",
|
|
68126
|
+
type: "string"
|
|
68127
|
+
},
|
|
68128
|
+
{
|
|
68129
|
+
const: "callerIsPrimaryProvider",
|
|
68130
|
+
type: "string"
|
|
68131
|
+
},
|
|
68132
|
+
{
|
|
68133
|
+
const: "state",
|
|
68134
|
+
type: "string"
|
|
68135
|
+
},
|
|
68136
|
+
{
|
|
68137
|
+
const: "kind",
|
|
68138
|
+
type: "string"
|
|
68139
|
+
},
|
|
68140
|
+
{
|
|
68141
|
+
const: "category",
|
|
68142
|
+
type: "string"
|
|
68143
|
+
},
|
|
68144
|
+
{
|
|
68145
|
+
const: "primaryProvider",
|
|
68146
|
+
type: "string"
|
|
68147
|
+
},
|
|
68148
|
+
{
|
|
68149
|
+
const: "messages",
|
|
68150
|
+
type: "string"
|
|
68151
|
+
},
|
|
68152
|
+
{
|
|
68153
|
+
const: "member",
|
|
68154
|
+
type: "string"
|
|
68155
|
+
},
|
|
68156
|
+
{
|
|
68157
|
+
const: "timings",
|
|
68158
|
+
type: "string"
|
|
68159
|
+
}
|
|
68160
|
+
]
|
|
68161
|
+
}
|
|
68162
|
+
},
|
|
68163
|
+
includeTimings: {
|
|
68164
|
+
default: false,
|
|
68165
|
+
description: "Include measured operation durations; equivalent to requesting timings in fields. Durations overlap as documented and are observations, not latency guarantees.",
|
|
68166
|
+
type: "boolean"
|
|
68167
|
+
},
|
|
67748
68168
|
connectionId: {
|
|
67749
68169
|
pattern: "^con_[0-9A-Za-z]{26}$",
|
|
67750
68170
|
type: "string"
|
|
@@ -76017,9 +76437,9 @@ var schemaComponents = {
|
|
|
76017
76437
|
// src/generated/generation.json
|
|
76018
76438
|
var generation_default = {
|
|
76019
76439
|
formatVersion: 6,
|
|
76020
|
-
release: "1.20261028.
|
|
76021
|
-
openapiSha256: "
|
|
76022
|
-
openapiContentSha256: "
|
|
76440
|
+
release: "1.20261028.150906",
|
|
76441
|
+
openapiSha256: "748b57ac1d07b59617769019455e72e1ecd8690b8a25ca63f017e02e95abda4c",
|
|
76442
|
+
openapiContentSha256: "3d0ebf02604003a5c7ecc8ee62b01bf6f3370dbeff24255b54b67189168ed1f8",
|
|
76023
76443
|
forge: {
|
|
76024
76444
|
repository: "https://github.com/cloudflare/forge",
|
|
76025
76445
|
commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
|
|
@@ -76032,7 +76452,7 @@ var generation_default = {
|
|
|
76032
76452
|
outputs: [
|
|
76033
76453
|
{
|
|
76034
76454
|
path: "src/generated/commands.ts",
|
|
76035
|
-
sha256: "
|
|
76455
|
+
sha256: "0cd9dde2e9d13c435b1a081c6b09514de111c084e6ff8505b5ce37bf5ef0f5e7"
|
|
76036
76456
|
}
|
|
76037
76457
|
]
|
|
76038
76458
|
};
|
|
@@ -76387,7 +76807,7 @@ ${name}`);
|
|
|
76387
76807
|
}
|
|
76388
76808
|
|
|
76389
76809
|
// src/index.ts
|
|
76390
|
-
var VERSION = "2.
|
|
76810
|
+
var VERSION = "2.12.0";
|
|
76391
76811
|
var RELEASE = generation_default.release;
|
|
76392
76812
|
var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
|
|
76393
76813
|
var SERVICES = [...new Set(Object.keys(commands).map((name) => name.split(" ")[0]))].toSorted();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbol-ai/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.0",
|
|
4
4
|
"description": "The Arbol CLI: the Arbol API from your terminal, with commands generated by Cloudflare Forge from the public OpenAPI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"arbol",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"verify": "bun run typecheck && bun run test && bun run build"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@arbol-ai/sdk": "2.
|
|
47
|
+
"@arbol-ai/sdk": "2.13.0",
|
|
48
48
|
"ajv": "8.20.0",
|
|
49
49
|
"ajv-formats": "3.0.1",
|
|
50
50
|
"oauth4webapi": "3.8.8"
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"packageManager": "bun@1.4.3",
|
|
60
60
|
"arbol": {
|
|
61
61
|
"openapi": {
|
|
62
|
-
"release": "1.20261028.
|
|
63
|
-
"sha256": "
|
|
62
|
+
"release": "1.20261028.150906",
|
|
63
|
+
"sha256": "3d0ebf02604003a5c7ecc8ee62b01bf6f3370dbeff24255b54b67189168ed1f8"
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
}
|