@salesforce/plugin-agent 1.41.0 → 1.42.1
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/README.md +424 -23
- package/lib/commands/agent/adl/create.d.ts +23 -0
- package/lib/commands/agent/adl/create.js +104 -0
- package/lib/commands/agent/adl/create.js.map +1 -0
- package/lib/commands/agent/adl/delete.d.ts +18 -0
- package/lib/commands/agent/adl/delete.js +51 -0
- package/lib/commands/agent/adl/delete.js.map +1 -0
- package/lib/commands/agent/adl/file/add.d.ts +17 -0
- package/lib/commands/agent/adl/file/add.js +63 -0
- package/lib/commands/agent/adl/file/add.js.map +1 -0
- package/lib/commands/agent/adl/file/delete.d.ts +19 -0
- package/lib/commands/agent/adl/file/delete.js +55 -0
- package/lib/commands/agent/adl/file/delete.js.map +1 -0
- package/lib/commands/agent/adl/file/list.d.ts +18 -0
- package/lib/commands/agent/adl/file/list.js +64 -0
- package/lib/commands/agent/adl/file/list.js.map +1 -0
- package/lib/commands/agent/adl/get.d.ts +16 -0
- package/lib/commands/agent/adl/get.js +66 -0
- package/lib/commands/agent/adl/get.js.map +1 -0
- package/lib/commands/agent/adl/list.d.ts +18 -0
- package/lib/commands/agent/adl/list.js +63 -0
- package/lib/commands/agent/adl/list.js.map +1 -0
- package/lib/commands/agent/adl/status.d.ts +16 -0
- package/lib/commands/agent/adl/status.js +57 -0
- package/lib/commands/agent/adl/status.js.map +1 -0
- package/lib/commands/agent/adl/update.d.ts +21 -0
- package/lib/commands/agent/adl/update.js +102 -0
- package/lib/commands/agent/adl/update.js.map +1 -0
- package/lib/commands/agent/adl/upload.d.ts +18 -0
- package/lib/commands/agent/adl/upload.js +80 -0
- package/lib/commands/agent/adl/upload.js.map +1 -0
- package/lib/commands/agent/generate/test-spec.js +1 -1
- package/lib/commands/agent/generate/test-spec.js.map +1 -1
- package/messages/agent.adl.create.md +65 -0
- package/messages/agent.adl.delete.md +21 -0
- package/messages/agent.adl.file.add.md +31 -0
- package/messages/agent.adl.file.delete.md +25 -0
- package/messages/agent.adl.file.list.md +25 -0
- package/messages/agent.adl.get.md +21 -0
- package/messages/agent.adl.list.md +25 -0
- package/messages/agent.adl.status.md +21 -0
- package/messages/agent.adl.update.md +53 -0
- package/messages/agent.adl.upload.md +55 -0
- package/oclif.manifest.json +1799 -821
- package/package.json +14 -4
- package/schemas/agent-adl-create.json +83 -0
- package/schemas/agent-adl-delete.json +19 -0
- package/schemas/agent-adl-file-add.json +31 -0
- package/schemas/agent-adl-file-delete.json +19 -0
- package/schemas/agent-adl-file-list.json +44 -0
- package/schemas/agent-adl-get.json +83 -0
- package/schemas/agent-adl-list.json +44 -0
- package/schemas/agent-adl-status.json +63 -0
- package/schemas/agent-adl-update.json +83 -0
- package/schemas/agent-adl-upload.json +28 -0
- package/schemas/agent-preview-end.json +2 -5
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-agent",
|
|
3
3
|
"description": "Commands to interact with Salesforce agents",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.42.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"enableO11y": true,
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@inquirer/prompts": "^7.10.1",
|
|
13
13
|
"@oclif/core": "^4",
|
|
14
14
|
"@oclif/multi-stage-output": "^0.8.36",
|
|
15
|
-
"@salesforce/agents": "^1.
|
|
15
|
+
"@salesforce/agents": "^1.8.1",
|
|
16
16
|
"@salesforce/core": "^8.28.3",
|
|
17
17
|
"@salesforce/kit": "^3.2.6",
|
|
18
18
|
"@salesforce/sf-plugins-core": "^12.2.6",
|
|
@@ -94,6 +94,16 @@
|
|
|
94
94
|
"validate": {
|
|
95
95
|
"description": "Command to validate an Agent Script file.",
|
|
96
96
|
"external": true
|
|
97
|
+
},
|
|
98
|
+
"adl": {
|
|
99
|
+
"description": "Commands to manage Agentforce Data Libraries.",
|
|
100
|
+
"external": true,
|
|
101
|
+
"subtopics": {
|
|
102
|
+
"file": {
|
|
103
|
+
"description": "Commands to manage files in an SFDRIVE data library.",
|
|
104
|
+
"external": true
|
|
105
|
+
}
|
|
106
|
+
}
|
|
97
107
|
}
|
|
98
108
|
}
|
|
99
109
|
}
|
|
@@ -240,7 +250,7 @@
|
|
|
240
250
|
"exports": "./lib/index.js",
|
|
241
251
|
"type": "module",
|
|
242
252
|
"sfdx": {
|
|
243
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.
|
|
244
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.
|
|
253
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.42.1.crt",
|
|
254
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-agent/1.42.1.sig"
|
|
245
255
|
}
|
|
246
256
|
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/AgentAdlCreateResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"AgentAdlCreateResult": {
|
|
6
|
+
"$ref": "#/definitions/DataLibraryDetail"
|
|
7
|
+
},
|
|
8
|
+
"DataLibraryDetail": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"libraryId": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"masterLabel": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"developerName": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"description": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"sourceType": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"status": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"retrieverId": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"retrieverLabel": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"dataSpaceScopeId": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
"groundingSource": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"properties": {
|
|
41
|
+
"groundingSourceType": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"groundingFileRefs": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"items": {
|
|
47
|
+
"$ref": "#/definitions/GroundingFileRef"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"additionalProperties": {}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"required": ["libraryId", "masterLabel", "developerName", "sourceType"],
|
|
55
|
+
"additionalProperties": false
|
|
56
|
+
},
|
|
57
|
+
"GroundingFileRef": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"fileId": {
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
"fileName": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"filePath": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"fileSize": {
|
|
70
|
+
"type": "number"
|
|
71
|
+
},
|
|
72
|
+
"createdDate": {
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
"createdBy": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"required": ["fileId", "fileName", "filePath", "fileSize"],
|
|
80
|
+
"additionalProperties": false
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/AgentAdlDeleteResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"AgentAdlDeleteResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"success": {
|
|
9
|
+
"type": "boolean"
|
|
10
|
+
},
|
|
11
|
+
"libraryId": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": ["success", "libraryId"],
|
|
16
|
+
"additionalProperties": false
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/AgentAdlFileAddResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"AgentAdlFileAddResult": {
|
|
6
|
+
"$ref": "#/definitions/FileAddResult"
|
|
7
|
+
},
|
|
8
|
+
"FileAddResult": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"success": {
|
|
12
|
+
"type": "boolean"
|
|
13
|
+
},
|
|
14
|
+
"fileName": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"fileNames": {
|
|
18
|
+
"type": "array",
|
|
19
|
+
"items": {
|
|
20
|
+
"type": "string"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"libraryId": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"required": ["success", "fileName", "fileNames", "libraryId"],
|
|
28
|
+
"additionalProperties": false
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/AgentAdlFileDeleteResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"AgentAdlFileDeleteResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"success": {
|
|
9
|
+
"type": "boolean"
|
|
10
|
+
},
|
|
11
|
+
"fileId": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": ["success", "fileId"],
|
|
16
|
+
"additionalProperties": false
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/AgentAdlFileListResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"AgentAdlFileListResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"files": {
|
|
9
|
+
"type": "array",
|
|
10
|
+
"items": {
|
|
11
|
+
"$ref": "#/definitions/GroundingFileRef"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": ["files"],
|
|
16
|
+
"additionalProperties": false
|
|
17
|
+
},
|
|
18
|
+
"GroundingFileRef": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"fileId": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"fileName": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"filePath": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"fileSize": {
|
|
31
|
+
"type": "number"
|
|
32
|
+
},
|
|
33
|
+
"createdDate": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"createdBy": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": ["fileId", "fileName", "filePath", "fileSize"],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/AgentAdlGetResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"AgentAdlGetResult": {
|
|
6
|
+
"$ref": "#/definitions/DataLibraryDetail"
|
|
7
|
+
},
|
|
8
|
+
"DataLibraryDetail": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"libraryId": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"masterLabel": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"developerName": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"description": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"sourceType": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"status": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"retrieverId": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"retrieverLabel": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"dataSpaceScopeId": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
"groundingSource": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"properties": {
|
|
41
|
+
"groundingSourceType": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"groundingFileRefs": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"items": {
|
|
47
|
+
"$ref": "#/definitions/GroundingFileRef"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"additionalProperties": {}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"required": ["libraryId", "masterLabel", "developerName", "sourceType"],
|
|
55
|
+
"additionalProperties": false
|
|
56
|
+
},
|
|
57
|
+
"GroundingFileRef": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"fileId": {
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
"fileName": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"filePath": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"fileSize": {
|
|
70
|
+
"type": "number"
|
|
71
|
+
},
|
|
72
|
+
"createdDate": {
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
"createdBy": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"required": ["fileId", "fileName", "filePath", "fileSize"],
|
|
80
|
+
"additionalProperties": false
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/AgentAdlListResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"AgentAdlListResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"libraries": {
|
|
9
|
+
"type": "array",
|
|
10
|
+
"items": {
|
|
11
|
+
"$ref": "#/definitions/DataLibrarySummary"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": ["libraries"],
|
|
16
|
+
"additionalProperties": false
|
|
17
|
+
},
|
|
18
|
+
"DataLibrarySummary": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"libraryId": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"masterLabel": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"developerName": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"description": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"sourceType": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"status": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": ["libraryId", "masterLabel", "developerName", "sourceType", "status"],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/AgentAdlStatusResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"AgentAdlStatusResult": {
|
|
6
|
+
"$ref": "#/definitions/IndexingStatusResponse"
|
|
7
|
+
},
|
|
8
|
+
"IndexingStatusResponse": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"indexingStatus": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"libraryId": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"status": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"currentStage": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"stageDetails": {
|
|
24
|
+
"type": "array",
|
|
25
|
+
"items": {
|
|
26
|
+
"$ref": "#/definitions/StageDetail"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"lastUpdatedAt": {
|
|
30
|
+
"type": "number"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": ["libraryId", "status"],
|
|
34
|
+
"additionalProperties": false
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"required": ["indexingStatus"],
|
|
38
|
+
"additionalProperties": false
|
|
39
|
+
},
|
|
40
|
+
"StageDetail": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"name": {
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
46
|
+
"status": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"completedAt": {
|
|
50
|
+
"type": "number"
|
|
51
|
+
},
|
|
52
|
+
"startedAt": {
|
|
53
|
+
"type": "number"
|
|
54
|
+
},
|
|
55
|
+
"error": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"required": ["name", "status"],
|
|
60
|
+
"additionalProperties": false
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/AgentAdlUpdateResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"AgentAdlUpdateResult": {
|
|
6
|
+
"$ref": "#/definitions/DataLibraryDetail"
|
|
7
|
+
},
|
|
8
|
+
"DataLibraryDetail": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"libraryId": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"masterLabel": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"developerName": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"description": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"sourceType": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"status": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"retrieverId": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"retrieverLabel": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"dataSpaceScopeId": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
"groundingSource": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"properties": {
|
|
41
|
+
"groundingSourceType": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"groundingFileRefs": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"items": {
|
|
47
|
+
"$ref": "#/definitions/GroundingFileRef"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"additionalProperties": {}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"required": ["libraryId", "masterLabel", "developerName", "sourceType"],
|
|
55
|
+
"additionalProperties": false
|
|
56
|
+
},
|
|
57
|
+
"GroundingFileRef": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"fileId": {
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
"fileName": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"filePath": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"fileSize": {
|
|
70
|
+
"type": "number"
|
|
71
|
+
},
|
|
72
|
+
"createdDate": {
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
"createdBy": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"required": ["fileId", "fileName", "filePath", "fileSize"],
|
|
80
|
+
"additionalProperties": false
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/AgentAdlUploadResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"AgentAdlUploadResult": {
|
|
6
|
+
"$ref": "#/definitions/UploadResult"
|
|
7
|
+
},
|
|
8
|
+
"UploadResult": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"libraryId": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"retrieverId": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"ragFeatureConfigId": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"status": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"required": ["libraryId", "status"],
|
|
25
|
+
"additionalProperties": false
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|