@outlit/cli 3.1.2 → 3.1.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/cli.js +278 -7
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -104,7 +104,7 @@ var package_default;
|
|
|
104
104
|
var init_package = __esm(() => {
|
|
105
105
|
package_default = {
|
|
106
106
|
name: "@outlit/cli",
|
|
107
|
-
version: "3.1.
|
|
107
|
+
version: "3.1.3",
|
|
108
108
|
description: "CLI for querying Outlit customer context and installing agent skills",
|
|
109
109
|
license: "Apache-2.0",
|
|
110
110
|
repository: {
|
|
@@ -147,7 +147,7 @@ var init_package = __esm(() => {
|
|
|
147
147
|
},
|
|
148
148
|
dependencies: {
|
|
149
149
|
"@clack/prompts": "^1.0.1",
|
|
150
|
-
"@outlit/tools": "^2.1.
|
|
150
|
+
"@outlit/tools": "^2.1.3",
|
|
151
151
|
citty: "^0.2.1"
|
|
152
152
|
},
|
|
153
153
|
devDependencies: {
|
|
@@ -5187,7 +5187,8 @@ var init_dist4 = __esm(() => {
|
|
|
5187
5187
|
"SLACK",
|
|
5188
5188
|
"PERSON_PROFILE",
|
|
5189
5189
|
"CRM",
|
|
5190
|
-
"CRM_OPPORTUNITY"
|
|
5190
|
+
"CRM_OPPORTUNITY",
|
|
5191
|
+
"EXTRACTED"
|
|
5191
5192
|
]
|
|
5192
5193
|
},
|
|
5193
5194
|
sourceId: {
|
|
@@ -5196,13 +5197,13 @@ var init_dist4 = __esm(() => {
|
|
|
5196
5197
|
maxLength: 500
|
|
5197
5198
|
},
|
|
5198
5199
|
limit: {
|
|
5199
|
-
description: "
|
|
5200
|
+
description: "Exact content segments per page (default 10, maximum 100).",
|
|
5200
5201
|
type: "integer",
|
|
5201
5202
|
minimum: 1,
|
|
5202
5203
|
maximum: 100
|
|
5203
5204
|
},
|
|
5204
5205
|
cursor: {
|
|
5205
|
-
description: "Opaque
|
|
5206
|
+
description: "Opaque cursor returned by a previous exact lookup for the same source.",
|
|
5206
5207
|
type: "string",
|
|
5207
5208
|
minLength: 1,
|
|
5208
5209
|
maxLength: 2000
|
|
@@ -5398,6 +5399,135 @@ var init_dist4 = __esm(() => {
|
|
|
5398
5399
|
type: "string"
|
|
5399
5400
|
},
|
|
5400
5401
|
additionalProperties: {}
|
|
5402
|
+
},
|
|
5403
|
+
contentPage: {
|
|
5404
|
+
type: "object",
|
|
5405
|
+
properties: {
|
|
5406
|
+
sourceType: {
|
|
5407
|
+
type: "string",
|
|
5408
|
+
enum: [
|
|
5409
|
+
"EMAIL",
|
|
5410
|
+
"CALL",
|
|
5411
|
+
"CALENDAR_EVENT",
|
|
5412
|
+
"SUPPORT_TICKET",
|
|
5413
|
+
"OPPORTUNITY",
|
|
5414
|
+
"SLACK",
|
|
5415
|
+
"PERSON_PROFILE"
|
|
5416
|
+
]
|
|
5417
|
+
},
|
|
5418
|
+
sourceId: {
|
|
5419
|
+
type: "string",
|
|
5420
|
+
minLength: 1,
|
|
5421
|
+
maxLength: 500
|
|
5422
|
+
},
|
|
5423
|
+
contentKind: {
|
|
5424
|
+
type: "string",
|
|
5425
|
+
enum: [
|
|
5426
|
+
"email_body",
|
|
5427
|
+
"call_transcript",
|
|
5428
|
+
"support_thread",
|
|
5429
|
+
"slack_thread"
|
|
5430
|
+
]
|
|
5431
|
+
},
|
|
5432
|
+
segments: {
|
|
5433
|
+
type: "array",
|
|
5434
|
+
items: {
|
|
5435
|
+
type: "object",
|
|
5436
|
+
properties: {
|
|
5437
|
+
id: {
|
|
5438
|
+
type: "string",
|
|
5439
|
+
minLength: 1,
|
|
5440
|
+
maxLength: 1000
|
|
5441
|
+
},
|
|
5442
|
+
occurredAt: {
|
|
5443
|
+
type: "string",
|
|
5444
|
+
format: "date-time",
|
|
5445
|
+
pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
5446
|
+
},
|
|
5447
|
+
authorLabel: {
|
|
5448
|
+
type: "string",
|
|
5449
|
+
maxLength: 500
|
|
5450
|
+
},
|
|
5451
|
+
text: {
|
|
5452
|
+
type: "string"
|
|
5453
|
+
}
|
|
5454
|
+
},
|
|
5455
|
+
required: [
|
|
5456
|
+
"id",
|
|
5457
|
+
"text"
|
|
5458
|
+
],
|
|
5459
|
+
additionalProperties: false
|
|
5460
|
+
}
|
|
5461
|
+
},
|
|
5462
|
+
page: {
|
|
5463
|
+
type: "object",
|
|
5464
|
+
properties: {
|
|
5465
|
+
returned: {
|
|
5466
|
+
type: "integer",
|
|
5467
|
+
minimum: 0,
|
|
5468
|
+
maximum: 9007199254740991
|
|
5469
|
+
},
|
|
5470
|
+
hasMore: {
|
|
5471
|
+
type: "boolean"
|
|
5472
|
+
},
|
|
5473
|
+
nextCursor: {
|
|
5474
|
+
anyOf: [
|
|
5475
|
+
{
|
|
5476
|
+
type: "string",
|
|
5477
|
+
maxLength: 2000
|
|
5478
|
+
},
|
|
5479
|
+
{
|
|
5480
|
+
type: "null"
|
|
5481
|
+
}
|
|
5482
|
+
]
|
|
5483
|
+
}
|
|
5484
|
+
},
|
|
5485
|
+
required: [
|
|
5486
|
+
"returned",
|
|
5487
|
+
"hasMore",
|
|
5488
|
+
"nextCursor"
|
|
5489
|
+
],
|
|
5490
|
+
additionalProperties: false
|
|
5491
|
+
},
|
|
5492
|
+
completeness: {
|
|
5493
|
+
type: "object",
|
|
5494
|
+
properties: {
|
|
5495
|
+
status: {
|
|
5496
|
+
type: "string",
|
|
5497
|
+
enum: [
|
|
5498
|
+
"complete",
|
|
5499
|
+
"partial",
|
|
5500
|
+
"unavailable"
|
|
5501
|
+
]
|
|
5502
|
+
},
|
|
5503
|
+
reason: {
|
|
5504
|
+
type: "string",
|
|
5505
|
+
maxLength: 1000
|
|
5506
|
+
},
|
|
5507
|
+
omittedFields: {
|
|
5508
|
+
type: "array",
|
|
5509
|
+
items: {
|
|
5510
|
+
type: "string",
|
|
5511
|
+
maxLength: 500
|
|
5512
|
+
}
|
|
5513
|
+
}
|
|
5514
|
+
},
|
|
5515
|
+
required: [
|
|
5516
|
+
"status",
|
|
5517
|
+
"omittedFields"
|
|
5518
|
+
],
|
|
5519
|
+
additionalProperties: false
|
|
5520
|
+
}
|
|
5521
|
+
},
|
|
5522
|
+
required: [
|
|
5523
|
+
"sourceType",
|
|
5524
|
+
"sourceId",
|
|
5525
|
+
"contentKind",
|
|
5526
|
+
"segments",
|
|
5527
|
+
"page",
|
|
5528
|
+
"completeness"
|
|
5529
|
+
],
|
|
5530
|
+
additionalProperties: false
|
|
5401
5531
|
}
|
|
5402
5532
|
},
|
|
5403
5533
|
required: [
|
|
@@ -5681,6 +5811,135 @@ var init_dist4 = __esm(() => {
|
|
|
5681
5811
|
type: "string"
|
|
5682
5812
|
},
|
|
5683
5813
|
additionalProperties: {}
|
|
5814
|
+
},
|
|
5815
|
+
contentPage: {
|
|
5816
|
+
type: "object",
|
|
5817
|
+
properties: {
|
|
5818
|
+
sourceType: {
|
|
5819
|
+
type: "string",
|
|
5820
|
+
enum: [
|
|
5821
|
+
"EMAIL",
|
|
5822
|
+
"CALL",
|
|
5823
|
+
"CALENDAR_EVENT",
|
|
5824
|
+
"SUPPORT_TICKET",
|
|
5825
|
+
"OPPORTUNITY",
|
|
5826
|
+
"SLACK",
|
|
5827
|
+
"PERSON_PROFILE"
|
|
5828
|
+
]
|
|
5829
|
+
},
|
|
5830
|
+
sourceId: {
|
|
5831
|
+
type: "string",
|
|
5832
|
+
minLength: 1,
|
|
5833
|
+
maxLength: 500
|
|
5834
|
+
},
|
|
5835
|
+
contentKind: {
|
|
5836
|
+
type: "string",
|
|
5837
|
+
enum: [
|
|
5838
|
+
"email_body",
|
|
5839
|
+
"call_transcript",
|
|
5840
|
+
"support_thread",
|
|
5841
|
+
"slack_thread"
|
|
5842
|
+
]
|
|
5843
|
+
},
|
|
5844
|
+
segments: {
|
|
5845
|
+
type: "array",
|
|
5846
|
+
items: {
|
|
5847
|
+
type: "object",
|
|
5848
|
+
properties: {
|
|
5849
|
+
id: {
|
|
5850
|
+
type: "string",
|
|
5851
|
+
minLength: 1,
|
|
5852
|
+
maxLength: 1000
|
|
5853
|
+
},
|
|
5854
|
+
occurredAt: {
|
|
5855
|
+
type: "string",
|
|
5856
|
+
format: "date-time",
|
|
5857
|
+
pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
5858
|
+
},
|
|
5859
|
+
authorLabel: {
|
|
5860
|
+
type: "string",
|
|
5861
|
+
maxLength: 500
|
|
5862
|
+
},
|
|
5863
|
+
text: {
|
|
5864
|
+
type: "string"
|
|
5865
|
+
}
|
|
5866
|
+
},
|
|
5867
|
+
required: [
|
|
5868
|
+
"id",
|
|
5869
|
+
"text"
|
|
5870
|
+
],
|
|
5871
|
+
additionalProperties: false
|
|
5872
|
+
}
|
|
5873
|
+
},
|
|
5874
|
+
page: {
|
|
5875
|
+
type: "object",
|
|
5876
|
+
properties: {
|
|
5877
|
+
returned: {
|
|
5878
|
+
type: "integer",
|
|
5879
|
+
minimum: 0,
|
|
5880
|
+
maximum: 9007199254740991
|
|
5881
|
+
},
|
|
5882
|
+
hasMore: {
|
|
5883
|
+
type: "boolean"
|
|
5884
|
+
},
|
|
5885
|
+
nextCursor: {
|
|
5886
|
+
anyOf: [
|
|
5887
|
+
{
|
|
5888
|
+
type: "string",
|
|
5889
|
+
maxLength: 2000
|
|
5890
|
+
},
|
|
5891
|
+
{
|
|
5892
|
+
type: "null"
|
|
5893
|
+
}
|
|
5894
|
+
]
|
|
5895
|
+
}
|
|
5896
|
+
},
|
|
5897
|
+
required: [
|
|
5898
|
+
"returned",
|
|
5899
|
+
"hasMore",
|
|
5900
|
+
"nextCursor"
|
|
5901
|
+
],
|
|
5902
|
+
additionalProperties: false
|
|
5903
|
+
},
|
|
5904
|
+
completeness: {
|
|
5905
|
+
type: "object",
|
|
5906
|
+
properties: {
|
|
5907
|
+
status: {
|
|
5908
|
+
type: "string",
|
|
5909
|
+
enum: [
|
|
5910
|
+
"complete",
|
|
5911
|
+
"partial",
|
|
5912
|
+
"unavailable"
|
|
5913
|
+
]
|
|
5914
|
+
},
|
|
5915
|
+
reason: {
|
|
5916
|
+
type: "string",
|
|
5917
|
+
maxLength: 1000
|
|
5918
|
+
},
|
|
5919
|
+
omittedFields: {
|
|
5920
|
+
type: "array",
|
|
5921
|
+
items: {
|
|
5922
|
+
type: "string",
|
|
5923
|
+
maxLength: 500
|
|
5924
|
+
}
|
|
5925
|
+
}
|
|
5926
|
+
},
|
|
5927
|
+
required: [
|
|
5928
|
+
"status",
|
|
5929
|
+
"omittedFields"
|
|
5930
|
+
],
|
|
5931
|
+
additionalProperties: false
|
|
5932
|
+
}
|
|
5933
|
+
},
|
|
5934
|
+
required: [
|
|
5935
|
+
"sourceType",
|
|
5936
|
+
"sourceId",
|
|
5937
|
+
"contentKind",
|
|
5938
|
+
"segments",
|
|
5939
|
+
"page",
|
|
5940
|
+
"completeness"
|
|
5941
|
+
],
|
|
5942
|
+
additionalProperties: false
|
|
5684
5943
|
}
|
|
5685
5944
|
},
|
|
5686
5945
|
required: [
|
|
@@ -12936,6 +13195,7 @@ Returns column definitions and example queries for each view.`,
|
|
|
12936
13195
|
403,
|
|
12937
13196
|
404,
|
|
12938
13197
|
409,
|
|
13198
|
+
413,
|
|
12939
13199
|
422,
|
|
12940
13200
|
429,
|
|
12941
13201
|
500,
|
|
@@ -13193,6 +13453,7 @@ Returns column definitions and example queries for each view.`,
|
|
|
13193
13453
|
"TOOL_BINDING_MISSING",
|
|
13194
13454
|
"TOOL_IMPLEMENTATION_ERROR",
|
|
13195
13455
|
"TOOL_OUTPUT_INVALID",
|
|
13456
|
+
"TOOL_RESULT_TOO_LARGE",
|
|
13196
13457
|
"TOOL_GATEWAY_ERROR",
|
|
13197
13458
|
"plan_api_limit_exceeded",
|
|
13198
13459
|
"plan_billing_action_required"
|
|
@@ -13222,6 +13483,16 @@ Returns column definitions and example queries for each view.`,
|
|
|
13222
13483
|
type: "null"
|
|
13223
13484
|
}
|
|
13224
13485
|
]
|
|
13486
|
+
},
|
|
13487
|
+
limitBytes: {
|
|
13488
|
+
type: "integer",
|
|
13489
|
+
exclusiveMinimum: 0,
|
|
13490
|
+
maximum: 9007199254740991
|
|
13491
|
+
},
|
|
13492
|
+
actualBytes: {
|
|
13493
|
+
type: "integer",
|
|
13494
|
+
exclusiveMinimum: 0,
|
|
13495
|
+
maximum: 9007199254740991
|
|
13225
13496
|
}
|
|
13226
13497
|
},
|
|
13227
13498
|
required: [
|
|
@@ -17551,11 +17822,11 @@ var init_get5 = __esm(() => {
|
|
|
17551
17822
|
},
|
|
17552
17823
|
limit: {
|
|
17553
17824
|
type: "string",
|
|
17554
|
-
description:
|
|
17825
|
+
description: publicToolContracts.outlit_get_source.inputSchema.properties.limit.description
|
|
17555
17826
|
},
|
|
17556
17827
|
cursor: {
|
|
17557
17828
|
type: "string",
|
|
17558
|
-
description:
|
|
17829
|
+
description: publicToolContracts.outlit_get_source.inputSchema.properties.cursor.description
|
|
17559
17830
|
}
|
|
17560
17831
|
},
|
|
17561
17832
|
async run({ args }) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outlit/cli",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"description": "CLI for querying Outlit customer context and installing agent skills",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@clack/prompts": "^1.0.1",
|
|
46
|
-
"@outlit/tools": "^2.1.
|
|
46
|
+
"@outlit/tools": "^2.1.3",
|
|
47
47
|
"citty": "^0.2.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|