@proveanything/smartlinks 1.16.7 → 1.17.4
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/api/ai.d.ts +34 -1
- package/dist/api/ai.js +64 -0
- package/dist/api/index.d.ts +3 -0
- package/dist/api/index.js +3 -0
- package/dist/api/integrations.d.ts +28 -0
- package/dist/api/integrations.js +82 -0
- package/dist/api/research.d.ts +9 -0
- package/dist/api/research.js +21 -0
- package/dist/api/secrets.d.ts +15 -0
- package/dist/api/secrets.js +52 -0
- package/dist/docs/API_SUMMARY.md +374 -1
- package/dist/docs/ai-tools-and-skills.md +168 -0
- package/dist/docs/integrations.md +141 -0
- package/dist/openapi.yaml +617 -0
- package/dist/types/ai.d.ts +57 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +2 -0
- package/dist/types/integrations.d.ts +136 -0
- package/dist/types/integrations.js +10 -0
- package/dist/types/research.d.ts +22 -0
- package/dist/types/research.js +6 -0
- package/docs/API_SUMMARY.md +374 -1
- package/docs/ai-tools-and-skills.md +168 -0
- package/docs/integrations.md +141 -0
- package/openapi.yaml +617 -0
- package/package.json +2 -2
package/dist/openapi.yaml
CHANGED
|
@@ -9,6 +9,8 @@ servers:
|
|
|
9
9
|
tags:
|
|
10
10
|
- name: responses
|
|
11
11
|
- name: completions
|
|
12
|
+
- name: agent
|
|
13
|
+
- name: skills
|
|
12
14
|
- name: models
|
|
13
15
|
- name: rag
|
|
14
16
|
- name: sessions
|
|
@@ -50,6 +52,7 @@ tags:
|
|
|
50
52
|
- name: proof
|
|
51
53
|
- name: qr
|
|
52
54
|
- name: realtime
|
|
55
|
+
- name: research
|
|
53
56
|
- name: segments
|
|
54
57
|
- name: tags
|
|
55
58
|
- name: template
|
|
@@ -619,6 +622,108 @@ paths:
|
|
|
619
622
|
description: Unauthorized
|
|
620
623
|
404:
|
|
621
624
|
description: Not found
|
|
625
|
+
/admin/collection/{collectionId}/ai/agent/run:
|
|
626
|
+
post:
|
|
627
|
+
tags:
|
|
628
|
+
- agent
|
|
629
|
+
summary: "Run the server-side AI agent loop once: assembles the tool set, runs the model, executes tool calls, and returns the final text + the tool trace."
|
|
630
|
+
operationId: agent_run
|
|
631
|
+
security:
|
|
632
|
+
- bearerAuth: []
|
|
633
|
+
parameters:
|
|
634
|
+
- name: collectionId
|
|
635
|
+
in: path
|
|
636
|
+
required: true
|
|
637
|
+
schema:
|
|
638
|
+
type: string
|
|
639
|
+
responses:
|
|
640
|
+
200:
|
|
641
|
+
description: Success
|
|
642
|
+
content:
|
|
643
|
+
application/json:
|
|
644
|
+
schema:
|
|
645
|
+
$ref: "#/components/schemas/AgentRunResult"
|
|
646
|
+
400:
|
|
647
|
+
description: Bad request
|
|
648
|
+
401:
|
|
649
|
+
description: Unauthorized
|
|
650
|
+
404:
|
|
651
|
+
description: Not found
|
|
652
|
+
requestBody:
|
|
653
|
+
required: true
|
|
654
|
+
content:
|
|
655
|
+
application/json:
|
|
656
|
+
schema:
|
|
657
|
+
$ref: "#/components/schemas/AgentRunRequest"
|
|
658
|
+
/admin/collection/{collectionId}/ai/agent/tools:
|
|
659
|
+
get:
|
|
660
|
+
tags:
|
|
661
|
+
- agent
|
|
662
|
+
summary: List the tools the agent can use (optionally scoped by capability / name).
|
|
663
|
+
operationId: agent_listTools
|
|
664
|
+
security:
|
|
665
|
+
- bearerAuth: []
|
|
666
|
+
parameters:
|
|
667
|
+
- name: collectionId
|
|
668
|
+
in: path
|
|
669
|
+
required: true
|
|
670
|
+
schema:
|
|
671
|
+
type: string
|
|
672
|
+
- name: allowCapabilities
|
|
673
|
+
in: query
|
|
674
|
+
required: false
|
|
675
|
+
schema:
|
|
676
|
+
type: string
|
|
677
|
+
- name: only
|
|
678
|
+
in: query
|
|
679
|
+
required: false
|
|
680
|
+
schema:
|
|
681
|
+
type: string
|
|
682
|
+
- name: exclude
|
|
683
|
+
in: query
|
|
684
|
+
required: false
|
|
685
|
+
schema:
|
|
686
|
+
type: string
|
|
687
|
+
responses:
|
|
688
|
+
200:
|
|
689
|
+
description: Success
|
|
690
|
+
content:
|
|
691
|
+
application/json:
|
|
692
|
+
schema:
|
|
693
|
+
$ref: "#/components/schemas/AgentToolsResponse"
|
|
694
|
+
400:
|
|
695
|
+
description: Bad request
|
|
696
|
+
401:
|
|
697
|
+
description: Unauthorized
|
|
698
|
+
404:
|
|
699
|
+
description: Not found
|
|
700
|
+
/admin/collection/{collectionId}/ai/catalog:
|
|
701
|
+
get:
|
|
702
|
+
tags:
|
|
703
|
+
- skills
|
|
704
|
+
summary: The full self-describing catalog (tools + skills).
|
|
705
|
+
operationId: skills_catalog
|
|
706
|
+
security:
|
|
707
|
+
- bearerAuth: []
|
|
708
|
+
parameters:
|
|
709
|
+
- name: collectionId
|
|
710
|
+
in: path
|
|
711
|
+
required: true
|
|
712
|
+
schema:
|
|
713
|
+
type: string
|
|
714
|
+
responses:
|
|
715
|
+
200:
|
|
716
|
+
description: Success
|
|
717
|
+
content:
|
|
718
|
+
application/json:
|
|
719
|
+
schema:
|
|
720
|
+
$ref: "#/components/schemas/CatalogResponse"
|
|
721
|
+
400:
|
|
722
|
+
description: Bad request
|
|
723
|
+
401:
|
|
724
|
+
description: Unauthorized
|
|
725
|
+
404:
|
|
726
|
+
description: Not found
|
|
622
727
|
/admin/collection/{collectionId}/ai/configureAssistant:
|
|
623
728
|
post:
|
|
624
729
|
tags:
|
|
@@ -947,6 +1052,33 @@ paths:
|
|
|
947
1052
|
description: Unauthorized
|
|
948
1053
|
404:
|
|
949
1054
|
description: Not found
|
|
1055
|
+
/admin/collection/{collectionId}/ai/skills:
|
|
1056
|
+
get:
|
|
1057
|
+
tags:
|
|
1058
|
+
- skills
|
|
1059
|
+
summary: List the skills apps can invoke (name, description, input/output schema).
|
|
1060
|
+
operationId: skills_list
|
|
1061
|
+
security:
|
|
1062
|
+
- bearerAuth: []
|
|
1063
|
+
parameters:
|
|
1064
|
+
- name: collectionId
|
|
1065
|
+
in: path
|
|
1066
|
+
required: true
|
|
1067
|
+
schema:
|
|
1068
|
+
type: string
|
|
1069
|
+
responses:
|
|
1070
|
+
200:
|
|
1071
|
+
description: Success
|
|
1072
|
+
content:
|
|
1073
|
+
application/json:
|
|
1074
|
+
schema:
|
|
1075
|
+
$ref: "#/components/schemas/SkillsListResponse"
|
|
1076
|
+
400:
|
|
1077
|
+
description: Bad request
|
|
1078
|
+
401:
|
|
1079
|
+
description: Unauthorized
|
|
1080
|
+
404:
|
|
1081
|
+
description: Not found
|
|
950
1082
|
/admin/collection/{collectionId}/ai/tts:
|
|
951
1083
|
post:
|
|
952
1084
|
tags:
|
|
@@ -7404,6 +7536,39 @@ paths:
|
|
|
7404
7536
|
description: Unauthorized
|
|
7405
7537
|
404:
|
|
7406
7538
|
description: Not found
|
|
7539
|
+
/admin/collection/{collectionId}/research/fetch:
|
|
7540
|
+
post:
|
|
7541
|
+
tags:
|
|
7542
|
+
- research
|
|
7543
|
+
summary: "Fetch + extract a web page: clean markdown, page metadata, and any schema.org JSON-LD (filtered by `type` when given)."
|
|
7544
|
+
operationId: research_fetch
|
|
7545
|
+
security:
|
|
7546
|
+
- bearerAuth: []
|
|
7547
|
+
parameters:
|
|
7548
|
+
- name: collectionId
|
|
7549
|
+
in: path
|
|
7550
|
+
required: true
|
|
7551
|
+
schema:
|
|
7552
|
+
type: string
|
|
7553
|
+
responses:
|
|
7554
|
+
200:
|
|
7555
|
+
description: Success
|
|
7556
|
+
content:
|
|
7557
|
+
application/json:
|
|
7558
|
+
schema:
|
|
7559
|
+
$ref: "#/components/schemas/ResearchFetchResult"
|
|
7560
|
+
400:
|
|
7561
|
+
description: Bad request
|
|
7562
|
+
401:
|
|
7563
|
+
description: Unauthorized
|
|
7564
|
+
404:
|
|
7565
|
+
description: Not found
|
|
7566
|
+
requestBody:
|
|
7567
|
+
required: true
|
|
7568
|
+
content:
|
|
7569
|
+
application/json:
|
|
7570
|
+
schema:
|
|
7571
|
+
$ref: "#/components/schemas/ResearchFetchRequest"
|
|
7407
7572
|
/admin/collection/{collectionId}/segments:
|
|
7408
7573
|
get:
|
|
7409
7574
|
tags:
|
|
@@ -15814,6 +15979,143 @@ components:
|
|
|
15814
15979
|
type: string
|
|
15815
15980
|
required:
|
|
15816
15981
|
- url
|
|
15982
|
+
AgentRunRequest:
|
|
15983
|
+
type: object
|
|
15984
|
+
properties:
|
|
15985
|
+
input:
|
|
15986
|
+
type: string
|
|
15987
|
+
prompt:
|
|
15988
|
+
type: string
|
|
15989
|
+
instructions:
|
|
15990
|
+
type: string
|
|
15991
|
+
model:
|
|
15992
|
+
type: string
|
|
15993
|
+
maxSteps:
|
|
15994
|
+
type: number
|
|
15995
|
+
allowCapabilities:
|
|
15996
|
+
type: array
|
|
15997
|
+
items:
|
|
15998
|
+
type: string
|
|
15999
|
+
only:
|
|
16000
|
+
type: array
|
|
16001
|
+
items:
|
|
16002
|
+
type: string
|
|
16003
|
+
exclude:
|
|
16004
|
+
type: array
|
|
16005
|
+
items:
|
|
16006
|
+
type: string
|
|
16007
|
+
AgentToolResult:
|
|
16008
|
+
type: object
|
|
16009
|
+
properties:
|
|
16010
|
+
name:
|
|
16011
|
+
type: string
|
|
16012
|
+
isError:
|
|
16013
|
+
type: boolean
|
|
16014
|
+
result: {}
|
|
16015
|
+
required:
|
|
16016
|
+
- name
|
|
16017
|
+
- isError
|
|
16018
|
+
- result
|
|
16019
|
+
AgentRunResult:
|
|
16020
|
+
type: object
|
|
16021
|
+
properties:
|
|
16022
|
+
finalText:
|
|
16023
|
+
type: string
|
|
16024
|
+
steps:
|
|
16025
|
+
type: number
|
|
16026
|
+
maxStepsReached:
|
|
16027
|
+
type: boolean
|
|
16028
|
+
toolResults:
|
|
16029
|
+
type: array
|
|
16030
|
+
items:
|
|
16031
|
+
$ref: "#/components/schemas/AgentToolResult"
|
|
16032
|
+
availableTools:
|
|
16033
|
+
type: array
|
|
16034
|
+
items:
|
|
16035
|
+
type: string
|
|
16036
|
+
required:
|
|
16037
|
+
- finalText
|
|
16038
|
+
- steps
|
|
16039
|
+
- maxStepsReached
|
|
16040
|
+
- toolResults
|
|
16041
|
+
- availableTools
|
|
16042
|
+
AgentToolDefinition:
|
|
16043
|
+
type: object
|
|
16044
|
+
properties:
|
|
16045
|
+
name:
|
|
16046
|
+
type: string
|
|
16047
|
+
description:
|
|
16048
|
+
type: string
|
|
16049
|
+
capabilities:
|
|
16050
|
+
type: array
|
|
16051
|
+
items:
|
|
16052
|
+
type: string
|
|
16053
|
+
parameters: {}
|
|
16054
|
+
required:
|
|
16055
|
+
- name
|
|
16056
|
+
- description
|
|
16057
|
+
- capabilities
|
|
16058
|
+
- parameters
|
|
16059
|
+
AgentToolsResponse:
|
|
16060
|
+
type: object
|
|
16061
|
+
properties:
|
|
16062
|
+
tools:
|
|
16063
|
+
type: array
|
|
16064
|
+
items:
|
|
16065
|
+
$ref: "#/components/schemas/AgentToolDefinition"
|
|
16066
|
+
required:
|
|
16067
|
+
- tools
|
|
16068
|
+
AgentToolsQuery:
|
|
16069
|
+
type: object
|
|
16070
|
+
properties:
|
|
16071
|
+
allowCapabilities:
|
|
16072
|
+
type: string
|
|
16073
|
+
only:
|
|
16074
|
+
type: string
|
|
16075
|
+
exclude:
|
|
16076
|
+
type: string
|
|
16077
|
+
SkillDescriptor:
|
|
16078
|
+
type: object
|
|
16079
|
+
properties:
|
|
16080
|
+
name:
|
|
16081
|
+
type: string
|
|
16082
|
+
description:
|
|
16083
|
+
type: string
|
|
16084
|
+
inputSchema: {}
|
|
16085
|
+
outputSchema: {}
|
|
16086
|
+
capabilities:
|
|
16087
|
+
type: array
|
|
16088
|
+
items:
|
|
16089
|
+
type: string
|
|
16090
|
+
required:
|
|
16091
|
+
- name
|
|
16092
|
+
- description
|
|
16093
|
+
- inputSchema
|
|
16094
|
+
- outputSchema
|
|
16095
|
+
- capabilities
|
|
16096
|
+
SkillsListResponse:
|
|
16097
|
+
type: object
|
|
16098
|
+
properties:
|
|
16099
|
+
skills:
|
|
16100
|
+
type: array
|
|
16101
|
+
items:
|
|
16102
|
+
$ref: "#/components/schemas/SkillDescriptor"
|
|
16103
|
+
required:
|
|
16104
|
+
- skills
|
|
16105
|
+
CatalogResponse:
|
|
16106
|
+
type: object
|
|
16107
|
+
properties:
|
|
16108
|
+
tools:
|
|
16109
|
+
type: array
|
|
16110
|
+
items:
|
|
16111
|
+
$ref: "#/components/schemas/AgentToolDefinition"
|
|
16112
|
+
skills:
|
|
16113
|
+
type: array
|
|
16114
|
+
items:
|
|
16115
|
+
$ref: "#/components/schemas/SkillDescriptor"
|
|
16116
|
+
required:
|
|
16117
|
+
- tools
|
|
16118
|
+
- skills
|
|
15817
16119
|
AnalyticsLocation:
|
|
15818
16120
|
type: object
|
|
15819
16121
|
properties:
|
|
@@ -22860,6 +23162,276 @@ components:
|
|
|
22860
23162
|
UploadMessage:
|
|
22861
23163
|
type: object
|
|
22862
23164
|
additionalProperties: true
|
|
23165
|
+
FieldMapping:
|
|
23166
|
+
type: object
|
|
23167
|
+
properties:
|
|
23168
|
+
targetPath:
|
|
23169
|
+
type: string
|
|
23170
|
+
sourcePath:
|
|
23171
|
+
type: string
|
|
23172
|
+
transformType:
|
|
23173
|
+
$ref: "#/components/schemas/TransformType"
|
|
23174
|
+
transformExpression:
|
|
23175
|
+
type: string
|
|
23176
|
+
required:
|
|
23177
|
+
- targetPath
|
|
23178
|
+
- transformType
|
|
23179
|
+
FlowConnectionAuth:
|
|
23180
|
+
type: object
|
|
23181
|
+
properties:
|
|
23182
|
+
method:
|
|
23183
|
+
$ref: "#/components/schemas/FlowAuthMethod"
|
|
23184
|
+
headerName:
|
|
23185
|
+
type: string
|
|
23186
|
+
credentialRef:
|
|
23187
|
+
type: string
|
|
23188
|
+
required:
|
|
23189
|
+
- method
|
|
23190
|
+
FlowConnection:
|
|
23191
|
+
type: object
|
|
23192
|
+
properties:
|
|
23193
|
+
baseUrl:
|
|
23194
|
+
type: string
|
|
23195
|
+
sendEndpoint:
|
|
23196
|
+
type: string
|
|
23197
|
+
fetchEndpoint:
|
|
23198
|
+
type: string
|
|
23199
|
+
defaultHeaders:
|
|
23200
|
+
type: object
|
|
23201
|
+
additionalProperties:
|
|
23202
|
+
type: string
|
|
23203
|
+
auth:
|
|
23204
|
+
$ref: "#/components/schemas/FlowConnectionAuth"
|
|
23205
|
+
IntegrationFlowConfig:
|
|
23206
|
+
type: object
|
|
23207
|
+
properties:
|
|
23208
|
+
connection:
|
|
23209
|
+
$ref: "#/components/schemas/FlowConnection"
|
|
23210
|
+
fieldMappings:
|
|
23211
|
+
type: array
|
|
23212
|
+
items:
|
|
23213
|
+
$ref: "#/components/schemas/FieldMapping"
|
|
23214
|
+
IntegrationFlow:
|
|
23215
|
+
type: object
|
|
23216
|
+
properties:
|
|
23217
|
+
id:
|
|
23218
|
+
type: string
|
|
23219
|
+
orgId:
|
|
23220
|
+
type: string
|
|
23221
|
+
collectionId:
|
|
23222
|
+
type: string
|
|
23223
|
+
appId:
|
|
23224
|
+
type: string
|
|
23225
|
+
direction:
|
|
23226
|
+
$ref: "#/components/schemas/FlowDirection"
|
|
23227
|
+
name:
|
|
23228
|
+
type: string
|
|
23229
|
+
status:
|
|
23230
|
+
$ref: "#/components/schemas/FlowStatus"
|
|
23231
|
+
eventTypes:
|
|
23232
|
+
type: array
|
|
23233
|
+
items:
|
|
23234
|
+
type: string
|
|
23235
|
+
schedule:
|
|
23236
|
+
type: string
|
|
23237
|
+
sourceEntity:
|
|
23238
|
+
type: string
|
|
23239
|
+
targetEntity:
|
|
23240
|
+
type: string
|
|
23241
|
+
config:
|
|
23242
|
+
$ref: "#/components/schemas/IntegrationFlowConfig"
|
|
23243
|
+
createdBy:
|
|
23244
|
+
type: string
|
|
23245
|
+
createdAt:
|
|
23246
|
+
type: string
|
|
23247
|
+
updatedAt:
|
|
23248
|
+
type: string
|
|
23249
|
+
deletedAt:
|
|
23250
|
+
type: string
|
|
23251
|
+
lastRunAt:
|
|
23252
|
+
type: string
|
|
23253
|
+
lastRunStatus:
|
|
23254
|
+
type: string
|
|
23255
|
+
lastRunError:
|
|
23256
|
+
type: string
|
|
23257
|
+
lastRunCount:
|
|
23258
|
+
type: number
|
|
23259
|
+
lastPollAt:
|
|
23260
|
+
type: string
|
|
23261
|
+
lastCursor:
|
|
23262
|
+
type: string
|
|
23263
|
+
totalSynced:
|
|
23264
|
+
type: number
|
|
23265
|
+
required:
|
|
23266
|
+
- id
|
|
23267
|
+
- orgId
|
|
23268
|
+
- collectionId
|
|
23269
|
+
- appId
|
|
23270
|
+
- direction
|
|
23271
|
+
- name
|
|
23272
|
+
- status
|
|
23273
|
+
- eventTypes
|
|
23274
|
+
- schedule
|
|
23275
|
+
- sourceEntity
|
|
23276
|
+
- targetEntity
|
|
23277
|
+
- config
|
|
23278
|
+
- createdBy
|
|
23279
|
+
- createdAt
|
|
23280
|
+
- updatedAt
|
|
23281
|
+
CreateFlowInput:
|
|
23282
|
+
type: object
|
|
23283
|
+
properties:
|
|
23284
|
+
appId:
|
|
23285
|
+
type: string
|
|
23286
|
+
direction:
|
|
23287
|
+
$ref: "#/components/schemas/FlowDirection"
|
|
23288
|
+
name:
|
|
23289
|
+
type: string
|
|
23290
|
+
status:
|
|
23291
|
+
$ref: "#/components/schemas/FlowStatus"
|
|
23292
|
+
eventTypes:
|
|
23293
|
+
type: array
|
|
23294
|
+
items:
|
|
23295
|
+
type: string
|
|
23296
|
+
schedule:
|
|
23297
|
+
type: string
|
|
23298
|
+
sourceEntity:
|
|
23299
|
+
type: string
|
|
23300
|
+
targetEntity:
|
|
23301
|
+
type: string
|
|
23302
|
+
config:
|
|
23303
|
+
$ref: "#/components/schemas/IntegrationFlowConfig"
|
|
23304
|
+
required:
|
|
23305
|
+
- appId
|
|
23306
|
+
- direction
|
|
23307
|
+
- name
|
|
23308
|
+
ListFlowsQuery:
|
|
23309
|
+
type: object
|
|
23310
|
+
properties:
|
|
23311
|
+
direction:
|
|
23312
|
+
$ref: "#/components/schemas/FlowDirection"
|
|
23313
|
+
status:
|
|
23314
|
+
$ref: "#/components/schemas/FlowStatus"
|
|
23315
|
+
appId:
|
|
23316
|
+
type: string
|
|
23317
|
+
FlowList:
|
|
23318
|
+
type: object
|
|
23319
|
+
properties:
|
|
23320
|
+
flows:
|
|
23321
|
+
type: array
|
|
23322
|
+
items:
|
|
23323
|
+
$ref: "#/components/schemas/IntegrationFlow"
|
|
23324
|
+
required:
|
|
23325
|
+
- flows
|
|
23326
|
+
RunFlowInput:
|
|
23327
|
+
type: object
|
|
23328
|
+
properties:
|
|
23329
|
+
entityId:
|
|
23330
|
+
type: string
|
|
23331
|
+
RunFlowSummary:
|
|
23332
|
+
type: object
|
|
23333
|
+
properties:
|
|
23334
|
+
flowId:
|
|
23335
|
+
type: string
|
|
23336
|
+
direction:
|
|
23337
|
+
$ref: "#/components/schemas/FlowDirection"
|
|
23338
|
+
records:
|
|
23339
|
+
type: number
|
|
23340
|
+
sent:
|
|
23341
|
+
type: number
|
|
23342
|
+
failed:
|
|
23343
|
+
type: number
|
|
23344
|
+
status:
|
|
23345
|
+
$ref: "#/components/schemas/RunStatus"
|
|
23346
|
+
required:
|
|
23347
|
+
- flowId
|
|
23348
|
+
- direction
|
|
23349
|
+
- records
|
|
23350
|
+
- sent
|
|
23351
|
+
- failed
|
|
23352
|
+
- status
|
|
23353
|
+
RunFlowEnqueued:
|
|
23354
|
+
type: object
|
|
23355
|
+
properties:
|
|
23356
|
+
enqueued:
|
|
23357
|
+
type: object
|
|
23358
|
+
additionalProperties: true
|
|
23359
|
+
flowId:
|
|
23360
|
+
type: string
|
|
23361
|
+
entityId:
|
|
23362
|
+
type: string
|
|
23363
|
+
required:
|
|
23364
|
+
- enqueued
|
|
23365
|
+
- flowId
|
|
23366
|
+
- entityId
|
|
23367
|
+
SecretMeta:
|
|
23368
|
+
type: object
|
|
23369
|
+
properties:
|
|
23370
|
+
ref:
|
|
23371
|
+
type: string
|
|
23372
|
+
name:
|
|
23373
|
+
type: string
|
|
23374
|
+
purpose:
|
|
23375
|
+
type: string
|
|
23376
|
+
hint:
|
|
23377
|
+
type: string
|
|
23378
|
+
keyVersion:
|
|
23379
|
+
type: number
|
|
23380
|
+
createdBy:
|
|
23381
|
+
type: string
|
|
23382
|
+
createdAt:
|
|
23383
|
+
type: string
|
|
23384
|
+
updatedAt:
|
|
23385
|
+
type: string
|
|
23386
|
+
rotatedAt:
|
|
23387
|
+
type: string
|
|
23388
|
+
required:
|
|
23389
|
+
- ref
|
|
23390
|
+
- name
|
|
23391
|
+
- purpose
|
|
23392
|
+
- hint
|
|
23393
|
+
- keyVersion
|
|
23394
|
+
- createdBy
|
|
23395
|
+
- createdAt
|
|
23396
|
+
- updatedAt
|
|
23397
|
+
SecretList:
|
|
23398
|
+
type: object
|
|
23399
|
+
properties:
|
|
23400
|
+
secrets:
|
|
23401
|
+
type: array
|
|
23402
|
+
items:
|
|
23403
|
+
$ref: "#/components/schemas/SecretMeta"
|
|
23404
|
+
required:
|
|
23405
|
+
- secrets
|
|
23406
|
+
SetSecretInput:
|
|
23407
|
+
type: object
|
|
23408
|
+
properties:
|
|
23409
|
+
value:
|
|
23410
|
+
type: string
|
|
23411
|
+
name:
|
|
23412
|
+
type: string
|
|
23413
|
+
purpose:
|
|
23414
|
+
type: string
|
|
23415
|
+
required:
|
|
23416
|
+
- value
|
|
23417
|
+
SetSecretResult:
|
|
23418
|
+
type: object
|
|
23419
|
+
properties:
|
|
23420
|
+
ref:
|
|
23421
|
+
type: string
|
|
23422
|
+
hint:
|
|
23423
|
+
type: string
|
|
23424
|
+
required:
|
|
23425
|
+
- ref
|
|
23426
|
+
- hint
|
|
23427
|
+
ListSecretsQuery:
|
|
23428
|
+
type: object
|
|
23429
|
+
properties:
|
|
23430
|
+
purpose:
|
|
23431
|
+
type: string
|
|
23432
|
+
RunFlowResult:
|
|
23433
|
+
type: object
|
|
23434
|
+
additionalProperties: true
|
|
22863
23435
|
AdminInteractionsQueryRequest:
|
|
22864
23436
|
type: object
|
|
22865
23437
|
properties:
|
|
@@ -26129,6 +26701,51 @@ components:
|
|
|
26129
26701
|
- nonce
|
|
26130
26702
|
- mac
|
|
26131
26703
|
- clientId
|
|
26704
|
+
ResearchFetchRequest:
|
|
26705
|
+
type: object
|
|
26706
|
+
properties:
|
|
26707
|
+
url:
|
|
26708
|
+
type: string
|
|
26709
|
+
type:
|
|
26710
|
+
type: string
|
|
26711
|
+
schemaType:
|
|
26712
|
+
type: string
|
|
26713
|
+
forceRefresh:
|
|
26714
|
+
type: boolean
|
|
26715
|
+
required:
|
|
26716
|
+
- url
|
|
26717
|
+
ResearchFetchResult:
|
|
26718
|
+
type: object
|
|
26719
|
+
properties:
|
|
26720
|
+
provider:
|
|
26721
|
+
type: string
|
|
26722
|
+
enum:
|
|
26723
|
+
- firecrawl
|
|
26724
|
+
- web
|
|
26725
|
+
status:
|
|
26726
|
+
type: number
|
|
26727
|
+
markdown:
|
|
26728
|
+
type: string
|
|
26729
|
+
html:
|
|
26730
|
+
type: string
|
|
26731
|
+
metadata:
|
|
26732
|
+
type: object
|
|
26733
|
+
additionalProperties: true
|
|
26734
|
+
schemas:
|
|
26735
|
+
type: array
|
|
26736
|
+
items: {}
|
|
26737
|
+
url:
|
|
26738
|
+
type: string
|
|
26739
|
+
cached:
|
|
26740
|
+
type: boolean
|
|
26741
|
+
fetchedAt:
|
|
26742
|
+
type: string
|
|
26743
|
+
required:
|
|
26744
|
+
- provider
|
|
26745
|
+
- status
|
|
26746
|
+
- schemas
|
|
26747
|
+
- url
|
|
26748
|
+
- cached
|
|
26132
26749
|
InteractionFilterValue:
|
|
26133
26750
|
type: object
|
|
26134
26751
|
properties:
|
package/dist/types/ai.d.ts
CHANGED
|
@@ -479,3 +479,60 @@ export interface AISearchPhotosPhoto {
|
|
|
479
479
|
/** Allow extra fields */
|
|
480
480
|
[key: string]: any;
|
|
481
481
|
}
|
|
482
|
+
export interface AgentRunRequest {
|
|
483
|
+
/** User prompt (either input or prompt). */
|
|
484
|
+
input?: string;
|
|
485
|
+
prompt?: string;
|
|
486
|
+
/** System instructions. */
|
|
487
|
+
instructions?: string;
|
|
488
|
+
/** Model id, e.g. 'openai/gpt-5.6-terra'. */
|
|
489
|
+
model?: string;
|
|
490
|
+
/** Safety cap on model round-trips. */
|
|
491
|
+
maxSteps?: number;
|
|
492
|
+
/** Cap blast radius: only tools whose capabilities are all granted. */
|
|
493
|
+
allowCapabilities?: string[];
|
|
494
|
+
/** Restrict to these tool names. */
|
|
495
|
+
only?: string[];
|
|
496
|
+
/** Drop these tool names. */
|
|
497
|
+
exclude?: string[];
|
|
498
|
+
}
|
|
499
|
+
export interface AgentToolResult {
|
|
500
|
+
name: string;
|
|
501
|
+
isError: boolean;
|
|
502
|
+
result: any;
|
|
503
|
+
}
|
|
504
|
+
export interface AgentRunResult {
|
|
505
|
+
finalText: string | null;
|
|
506
|
+
steps: number;
|
|
507
|
+
maxStepsReached: boolean;
|
|
508
|
+
toolResults: AgentToolResult[];
|
|
509
|
+
availableTools: string[];
|
|
510
|
+
}
|
|
511
|
+
export interface AgentToolDefinition {
|
|
512
|
+
name: string;
|
|
513
|
+
description: string;
|
|
514
|
+
capabilities: string[];
|
|
515
|
+
parameters: any;
|
|
516
|
+
}
|
|
517
|
+
export interface AgentToolsResponse {
|
|
518
|
+
tools: AgentToolDefinition[];
|
|
519
|
+
}
|
|
520
|
+
export interface AgentToolsQuery {
|
|
521
|
+
allowCapabilities?: string;
|
|
522
|
+
only?: string;
|
|
523
|
+
exclude?: string;
|
|
524
|
+
}
|
|
525
|
+
export interface SkillDescriptor {
|
|
526
|
+
name: string;
|
|
527
|
+
description: string;
|
|
528
|
+
inputSchema: any;
|
|
529
|
+
outputSchema: any;
|
|
530
|
+
capabilities: string[];
|
|
531
|
+
}
|
|
532
|
+
export interface SkillsListResponse {
|
|
533
|
+
skills: SkillDescriptor[];
|
|
534
|
+
}
|
|
535
|
+
export interface CatalogResponse {
|
|
536
|
+
tools: AgentToolDefinition[];
|
|
537
|
+
skills: SkillDescriptor[];
|
|
538
|
+
}
|