@pellux/goodvibes-contracts 0.33.9 → 0.33.11
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/artifacts/operator-contract.json +271 -3
- package/dist/generated/foundation-client-types.d.ts +21 -17
- package/dist/generated/foundation-client-types.d.ts.map +1 -1
- package/dist/generated/foundation-metadata.d.ts +1 -1
- package/dist/generated/foundation-metadata.js +1 -1
- package/dist/generated/operator-contract.d.ts.map +1 -1
- package/dist/generated/operator-contract.js +271 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"product": {
|
|
4
4
|
"id": "goodvibes",
|
|
5
5
|
"surface": "operator",
|
|
6
|
-
"version": "0.33.
|
|
6
|
+
"version": "0.33.11"
|
|
7
7
|
},
|
|
8
8
|
"auth": {
|
|
9
9
|
"modes": [
|
|
@@ -20157,7 +20157,7 @@
|
|
|
20157
20157
|
{
|
|
20158
20158
|
"id": "companion.chat.messages.create",
|
|
20159
20159
|
"title": "Send Companion Chat Message",
|
|
20160
|
-
"description": "Post a user message to a companion-chat session. Accepts either `body` or `content` in the payload; `body` wins when both are provided.",
|
|
20160
|
+
"description": "Post a user message to a companion-chat session. Accepts either `body` or `content` in the payload; `body` wins when both are provided. Attachments reference artifacts created through `artifacts.create`.",
|
|
20161
20161
|
"category": "companion",
|
|
20162
20162
|
"source": "builtin",
|
|
20163
20163
|
"access": "authenticated",
|
|
@@ -20181,6 +20181,29 @@
|
|
|
20181
20181
|
"content": {
|
|
20182
20182
|
"type": "string"
|
|
20183
20183
|
},
|
|
20184
|
+
"attachments": {
|
|
20185
|
+
"type": "array",
|
|
20186
|
+
"items": {
|
|
20187
|
+
"type": "object",
|
|
20188
|
+
"properties": {
|
|
20189
|
+
"artifactId": {
|
|
20190
|
+
"type": "string"
|
|
20191
|
+
},
|
|
20192
|
+
"label": {
|
|
20193
|
+
"type": "string"
|
|
20194
|
+
},
|
|
20195
|
+
"metadata": {
|
|
20196
|
+
"type": "object",
|
|
20197
|
+
"properties": {},
|
|
20198
|
+
"additionalProperties": false
|
|
20199
|
+
}
|
|
20200
|
+
},
|
|
20201
|
+
"required": [
|
|
20202
|
+
"artifactId"
|
|
20203
|
+
],
|
|
20204
|
+
"additionalProperties": false
|
|
20205
|
+
}
|
|
20206
|
+
},
|
|
20184
20207
|
"metadata": {
|
|
20185
20208
|
"type": "object",
|
|
20186
20209
|
"properties": {},
|
|
@@ -20260,6 +20283,91 @@
|
|
|
20260
20283
|
"content": {
|
|
20261
20284
|
"type": "string"
|
|
20262
20285
|
},
|
|
20286
|
+
"attachments": {
|
|
20287
|
+
"type": "array",
|
|
20288
|
+
"items": {
|
|
20289
|
+
"type": "object",
|
|
20290
|
+
"properties": {
|
|
20291
|
+
"id": {
|
|
20292
|
+
"type": "string"
|
|
20293
|
+
},
|
|
20294
|
+
"artifactId": {
|
|
20295
|
+
"type": "string"
|
|
20296
|
+
},
|
|
20297
|
+
"kind": {
|
|
20298
|
+
"type": "string"
|
|
20299
|
+
},
|
|
20300
|
+
"mimeType": {
|
|
20301
|
+
"type": "string"
|
|
20302
|
+
},
|
|
20303
|
+
"filename": {
|
|
20304
|
+
"type": "string"
|
|
20305
|
+
},
|
|
20306
|
+
"sizeBytes": {
|
|
20307
|
+
"type": "number"
|
|
20308
|
+
},
|
|
20309
|
+
"sha256": {
|
|
20310
|
+
"type": "string"
|
|
20311
|
+
},
|
|
20312
|
+
"createdAt": {
|
|
20313
|
+
"type": "number"
|
|
20314
|
+
},
|
|
20315
|
+
"expiresAt": {
|
|
20316
|
+
"type": "number"
|
|
20317
|
+
},
|
|
20318
|
+
"sourceUri": {
|
|
20319
|
+
"type": "string"
|
|
20320
|
+
},
|
|
20321
|
+
"acquisitionMode": {
|
|
20322
|
+
"type": "string"
|
|
20323
|
+
},
|
|
20324
|
+
"fetchMode": {
|
|
20325
|
+
"type": "string"
|
|
20326
|
+
},
|
|
20327
|
+
"label": {
|
|
20328
|
+
"type": "string"
|
|
20329
|
+
},
|
|
20330
|
+
"metadata": {
|
|
20331
|
+
"type": "object",
|
|
20332
|
+
"additionalProperties": {
|
|
20333
|
+
"anyOf": [
|
|
20334
|
+
{
|
|
20335
|
+
"type": "string"
|
|
20336
|
+
},
|
|
20337
|
+
{
|
|
20338
|
+
"type": "number"
|
|
20339
|
+
},
|
|
20340
|
+
{
|
|
20341
|
+
"type": "boolean"
|
|
20342
|
+
},
|
|
20343
|
+
{
|
|
20344
|
+
"type": "null"
|
|
20345
|
+
},
|
|
20346
|
+
{
|
|
20347
|
+
"type": "object",
|
|
20348
|
+
"additionalProperties": {}
|
|
20349
|
+
},
|
|
20350
|
+
{
|
|
20351
|
+
"type": "array",
|
|
20352
|
+
"items": {}
|
|
20353
|
+
}
|
|
20354
|
+
]
|
|
20355
|
+
}
|
|
20356
|
+
}
|
|
20357
|
+
},
|
|
20358
|
+
"required": [
|
|
20359
|
+
"id",
|
|
20360
|
+
"artifactId",
|
|
20361
|
+
"kind",
|
|
20362
|
+
"mimeType",
|
|
20363
|
+
"sizeBytes",
|
|
20364
|
+
"sha256",
|
|
20365
|
+
"createdAt",
|
|
20366
|
+
"metadata"
|
|
20367
|
+
],
|
|
20368
|
+
"additionalProperties": true
|
|
20369
|
+
}
|
|
20370
|
+
},
|
|
20263
20371
|
"createdAt": {
|
|
20264
20372
|
"type": "number"
|
|
20265
20373
|
}
|
|
@@ -20269,6 +20377,7 @@
|
|
|
20269
20377
|
"sessionId",
|
|
20270
20378
|
"role",
|
|
20271
20379
|
"content",
|
|
20380
|
+
"attachments",
|
|
20272
20381
|
"createdAt"
|
|
20273
20382
|
],
|
|
20274
20383
|
"additionalProperties": false
|
|
@@ -20614,6 +20723,91 @@
|
|
|
20614
20723
|
"content": {
|
|
20615
20724
|
"type": "string"
|
|
20616
20725
|
},
|
|
20726
|
+
"attachments": {
|
|
20727
|
+
"type": "array",
|
|
20728
|
+
"items": {
|
|
20729
|
+
"type": "object",
|
|
20730
|
+
"properties": {
|
|
20731
|
+
"id": {
|
|
20732
|
+
"type": "string"
|
|
20733
|
+
},
|
|
20734
|
+
"artifactId": {
|
|
20735
|
+
"type": "string"
|
|
20736
|
+
},
|
|
20737
|
+
"kind": {
|
|
20738
|
+
"type": "string"
|
|
20739
|
+
},
|
|
20740
|
+
"mimeType": {
|
|
20741
|
+
"type": "string"
|
|
20742
|
+
},
|
|
20743
|
+
"filename": {
|
|
20744
|
+
"type": "string"
|
|
20745
|
+
},
|
|
20746
|
+
"sizeBytes": {
|
|
20747
|
+
"type": "number"
|
|
20748
|
+
},
|
|
20749
|
+
"sha256": {
|
|
20750
|
+
"type": "string"
|
|
20751
|
+
},
|
|
20752
|
+
"createdAt": {
|
|
20753
|
+
"type": "number"
|
|
20754
|
+
},
|
|
20755
|
+
"expiresAt": {
|
|
20756
|
+
"type": "number"
|
|
20757
|
+
},
|
|
20758
|
+
"sourceUri": {
|
|
20759
|
+
"type": "string"
|
|
20760
|
+
},
|
|
20761
|
+
"acquisitionMode": {
|
|
20762
|
+
"type": "string"
|
|
20763
|
+
},
|
|
20764
|
+
"fetchMode": {
|
|
20765
|
+
"type": "string"
|
|
20766
|
+
},
|
|
20767
|
+
"label": {
|
|
20768
|
+
"type": "string"
|
|
20769
|
+
},
|
|
20770
|
+
"metadata": {
|
|
20771
|
+
"type": "object",
|
|
20772
|
+
"additionalProperties": {
|
|
20773
|
+
"anyOf": [
|
|
20774
|
+
{
|
|
20775
|
+
"type": "string"
|
|
20776
|
+
},
|
|
20777
|
+
{
|
|
20778
|
+
"type": "number"
|
|
20779
|
+
},
|
|
20780
|
+
{
|
|
20781
|
+
"type": "boolean"
|
|
20782
|
+
},
|
|
20783
|
+
{
|
|
20784
|
+
"type": "null"
|
|
20785
|
+
},
|
|
20786
|
+
{
|
|
20787
|
+
"type": "object",
|
|
20788
|
+
"additionalProperties": {}
|
|
20789
|
+
},
|
|
20790
|
+
{
|
|
20791
|
+
"type": "array",
|
|
20792
|
+
"items": {}
|
|
20793
|
+
}
|
|
20794
|
+
]
|
|
20795
|
+
}
|
|
20796
|
+
}
|
|
20797
|
+
},
|
|
20798
|
+
"required": [
|
|
20799
|
+
"id",
|
|
20800
|
+
"artifactId",
|
|
20801
|
+
"kind",
|
|
20802
|
+
"mimeType",
|
|
20803
|
+
"sizeBytes",
|
|
20804
|
+
"sha256",
|
|
20805
|
+
"createdAt",
|
|
20806
|
+
"metadata"
|
|
20807
|
+
],
|
|
20808
|
+
"additionalProperties": true
|
|
20809
|
+
}
|
|
20810
|
+
},
|
|
20617
20811
|
"createdAt": {
|
|
20618
20812
|
"type": "number"
|
|
20619
20813
|
}
|
|
@@ -20623,6 +20817,7 @@
|
|
|
20623
20817
|
"sessionId",
|
|
20624
20818
|
"role",
|
|
20625
20819
|
"content",
|
|
20820
|
+
"attachments",
|
|
20626
20821
|
"createdAt"
|
|
20627
20822
|
],
|
|
20628
20823
|
"additionalProperties": false
|
|
@@ -34126,6 +34321,12 @@
|
|
|
34126
34321
|
},
|
|
34127
34322
|
"sourceId": {
|
|
34128
34323
|
"type": "string"
|
|
34324
|
+
},
|
|
34325
|
+
"knowledgeSpaceId": {
|
|
34326
|
+
"type": "string"
|
|
34327
|
+
},
|
|
34328
|
+
"includeAllSpaces": {
|
|
34329
|
+
"type": "boolean"
|
|
34129
34330
|
}
|
|
34130
34331
|
},
|
|
34131
34332
|
"additionalProperties": false
|
|
@@ -36397,6 +36598,12 @@
|
|
|
36397
36598
|
"properties": {
|
|
36398
36599
|
"limit": {
|
|
36399
36600
|
"type": "number"
|
|
36601
|
+
},
|
|
36602
|
+
"knowledgeSpaceId": {
|
|
36603
|
+
"type": "string"
|
|
36604
|
+
},
|
|
36605
|
+
"includeAllSpaces": {
|
|
36606
|
+
"type": "boolean"
|
|
36400
36607
|
}
|
|
36401
36608
|
},
|
|
36402
36609
|
"additionalProperties": false
|
|
@@ -36508,6 +36715,12 @@
|
|
|
36508
36715
|
"properties": {
|
|
36509
36716
|
"id": {
|
|
36510
36717
|
"type": "string"
|
|
36718
|
+
},
|
|
36719
|
+
"knowledgeSpaceId": {
|
|
36720
|
+
"type": "string"
|
|
36721
|
+
},
|
|
36722
|
+
"includeAllSpaces": {
|
|
36723
|
+
"type": "boolean"
|
|
36511
36724
|
}
|
|
36512
36725
|
},
|
|
36513
36726
|
"required": [
|
|
@@ -38375,6 +38588,12 @@
|
|
|
38375
38588
|
"limit": {
|
|
38376
38589
|
"type": "number"
|
|
38377
38590
|
},
|
|
38591
|
+
"knowledgeSpaceId": {
|
|
38592
|
+
"type": "string"
|
|
38593
|
+
},
|
|
38594
|
+
"includeAllSpaces": {
|
|
38595
|
+
"type": "boolean"
|
|
38596
|
+
},
|
|
38378
38597
|
"includeSources": {
|
|
38379
38598
|
"type": "boolean"
|
|
38380
38599
|
},
|
|
@@ -38939,6 +39158,12 @@
|
|
|
38939
39158
|
"properties": {
|
|
38940
39159
|
"limit": {
|
|
38941
39160
|
"type": "number"
|
|
39161
|
+
},
|
|
39162
|
+
"knowledgeSpaceId": {
|
|
39163
|
+
"type": "string"
|
|
39164
|
+
},
|
|
39165
|
+
"includeAllSpaces": {
|
|
39166
|
+
"type": "boolean"
|
|
38942
39167
|
}
|
|
38943
39168
|
},
|
|
38944
39169
|
"additionalProperties": false
|
|
@@ -39123,6 +39348,12 @@
|
|
|
39123
39348
|
"standard",
|
|
39124
39349
|
"detailed"
|
|
39125
39350
|
]
|
|
39351
|
+
},
|
|
39352
|
+
"knowledgeSpaceId": {
|
|
39353
|
+
"type": "string"
|
|
39354
|
+
},
|
|
39355
|
+
"includeAllSpaces": {
|
|
39356
|
+
"type": "boolean"
|
|
39126
39357
|
}
|
|
39127
39358
|
},
|
|
39128
39359
|
"required": [
|
|
@@ -39289,6 +39520,12 @@
|
|
|
39289
39520
|
},
|
|
39290
39521
|
"limit": {
|
|
39291
39522
|
"type": "number"
|
|
39523
|
+
},
|
|
39524
|
+
"knowledgeSpaceId": {
|
|
39525
|
+
"type": "string"
|
|
39526
|
+
},
|
|
39527
|
+
"includeAllSpaces": {
|
|
39528
|
+
"type": "boolean"
|
|
39292
39529
|
}
|
|
39293
39530
|
},
|
|
39294
39531
|
"required": [
|
|
@@ -39774,6 +40011,12 @@
|
|
|
39774
40011
|
},
|
|
39775
40012
|
"limit": {
|
|
39776
40013
|
"type": "number"
|
|
40014
|
+
},
|
|
40015
|
+
"knowledgeSpaceId": {
|
|
40016
|
+
"type": "string"
|
|
40017
|
+
},
|
|
40018
|
+
"includeAllSpaces": {
|
|
40019
|
+
"type": "boolean"
|
|
39777
40020
|
}
|
|
39778
40021
|
},
|
|
39779
40022
|
"required": [
|
|
@@ -41262,6 +41505,12 @@
|
|
|
41262
41505
|
"properties": {
|
|
41263
41506
|
"limit": {
|
|
41264
41507
|
"type": "number"
|
|
41508
|
+
},
|
|
41509
|
+
"knowledgeSpaceId": {
|
|
41510
|
+
"type": "string"
|
|
41511
|
+
},
|
|
41512
|
+
"includeAllSpaces": {
|
|
41513
|
+
"type": "boolean"
|
|
41265
41514
|
}
|
|
41266
41515
|
},
|
|
41267
41516
|
"additionalProperties": false
|
|
@@ -42266,6 +42515,12 @@
|
|
|
42266
42515
|
"limit": {
|
|
42267
42516
|
"type": "number"
|
|
42268
42517
|
},
|
|
42518
|
+
"knowledgeSpaceId": {
|
|
42519
|
+
"type": "string"
|
|
42520
|
+
},
|
|
42521
|
+
"includeAllSpaces": {
|
|
42522
|
+
"type": "boolean"
|
|
42523
|
+
},
|
|
42269
42524
|
"includeSources": {
|
|
42270
42525
|
"type": "boolean"
|
|
42271
42526
|
},
|
|
@@ -42763,6 +43018,12 @@
|
|
|
42763
43018
|
"properties": {
|
|
42764
43019
|
"limit": {
|
|
42765
43020
|
"type": "number"
|
|
43021
|
+
},
|
|
43022
|
+
"knowledgeSpaceId": {
|
|
43023
|
+
"type": "string"
|
|
43024
|
+
},
|
|
43025
|
+
"includeAllSpaces": {
|
|
43026
|
+
"type": "boolean"
|
|
42766
43027
|
}
|
|
42767
43028
|
},
|
|
42768
43029
|
"additionalProperties": false
|
|
@@ -42913,7 +43174,14 @@
|
|
|
42913
43174
|
},
|
|
42914
43175
|
"inputSchema": {
|
|
42915
43176
|
"type": "object",
|
|
42916
|
-
"properties": {
|
|
43177
|
+
"properties": {
|
|
43178
|
+
"knowledgeSpaceId": {
|
|
43179
|
+
"type": "string"
|
|
43180
|
+
},
|
|
43181
|
+
"includeAllSpaces": {
|
|
43182
|
+
"type": "boolean"
|
|
43183
|
+
}
|
|
43184
|
+
},
|
|
42917
43185
|
"additionalProperties": false
|
|
42918
43186
|
},
|
|
42919
43187
|
"outputSchema": {
|
|
@@ -36,6 +36,10 @@ export type CompanionChatSessionsListTotals = {
|
|
|
36
36
|
active: number;
|
|
37
37
|
closed: number;
|
|
38
38
|
};
|
|
39
|
+
export type KnowledgeSpaceScopeInput = {
|
|
40
|
+
knowledgeSpaceId?: string;
|
|
41
|
+
includeAllSpaces?: boolean;
|
|
42
|
+
};
|
|
39
43
|
export interface OperatorMethodInputMap {
|
|
40
44
|
"accounts.snapshot": {};
|
|
41
45
|
"approvals.approve": {
|
|
@@ -605,10 +609,10 @@ export interface OperatorMethodInputMap {
|
|
|
605
609
|
"knowledge.extraction.get": {
|
|
606
610
|
id: string;
|
|
607
611
|
};
|
|
608
|
-
"knowledge.extractions.list": {
|
|
612
|
+
"knowledge.extractions.list": ({
|
|
609
613
|
limit?: number;
|
|
610
614
|
sourceId?: string;
|
|
611
|
-
};
|
|
615
|
+
} & KnowledgeSpaceScopeInput);
|
|
612
616
|
"knowledge.graphql.execute": ({
|
|
613
617
|
query: string;
|
|
614
618
|
operationName?: string;
|
|
@@ -696,12 +700,12 @@ export interface OperatorMethodInputMap {
|
|
|
696
700
|
} & {
|
|
697
701
|
readonly [key: string]: unknown;
|
|
698
702
|
});
|
|
699
|
-
"knowledge.issues.list": {
|
|
703
|
+
"knowledge.issues.list": ({
|
|
700
704
|
limit?: number;
|
|
701
|
-
};
|
|
702
|
-
"knowledge.item.get": {
|
|
705
|
+
} & KnowledgeSpaceScopeInput);
|
|
706
|
+
"knowledge.item.get": ({
|
|
703
707
|
id: string;
|
|
704
|
-
};
|
|
708
|
+
} & KnowledgeSpaceScopeInput);
|
|
705
709
|
"knowledge.job-runs.list": {
|
|
706
710
|
limit?: number;
|
|
707
711
|
jobId?: string;
|
|
@@ -716,34 +720,34 @@ export interface OperatorMethodInputMap {
|
|
|
716
720
|
};
|
|
717
721
|
"knowledge.jobs.list": {};
|
|
718
722
|
"knowledge.lint": {};
|
|
719
|
-
"knowledge.nodes.list": {
|
|
723
|
+
"knowledge.nodes.list": ({
|
|
720
724
|
limit?: number;
|
|
721
|
-
};
|
|
725
|
+
} & KnowledgeSpaceScopeInput);
|
|
722
726
|
"knowledge.packet": ({
|
|
723
727
|
task: string;
|
|
724
728
|
writeScope?: readonly string[];
|
|
725
729
|
budgetLimit?: number;
|
|
726
730
|
detail?: "compact" | "detailed" | "standard";
|
|
727
|
-
} & {
|
|
731
|
+
} & KnowledgeSpaceScopeInput & {
|
|
728
732
|
readonly [key: string]: unknown;
|
|
729
733
|
});
|
|
730
734
|
"knowledge.projection.materialize": ({
|
|
731
735
|
kind: string;
|
|
732
736
|
id?: string;
|
|
733
737
|
limit?: number;
|
|
734
|
-
} & {
|
|
738
|
+
} & KnowledgeSpaceScopeInput & {
|
|
735
739
|
readonly [key: string]: unknown;
|
|
736
740
|
});
|
|
737
741
|
"knowledge.projection.render": ({
|
|
738
742
|
kind: string;
|
|
739
743
|
id?: string;
|
|
740
744
|
limit?: number;
|
|
741
|
-
} & {
|
|
745
|
+
} & KnowledgeSpaceScopeInput & {
|
|
742
746
|
readonly [key: string]: unknown;
|
|
743
747
|
});
|
|
744
|
-
"knowledge.projections.list": {
|
|
748
|
+
"knowledge.projections.list": ({
|
|
745
749
|
limit?: number;
|
|
746
|
-
};
|
|
750
|
+
} & KnowledgeSpaceScopeInput);
|
|
747
751
|
"knowledge.reindex": {};
|
|
748
752
|
"knowledge.report.get": {
|
|
749
753
|
id: string;
|
|
@@ -805,16 +809,16 @@ export interface OperatorMethodInputMap {
|
|
|
805
809
|
readonly [key: string]: JsonValue;
|
|
806
810
|
}) | boolean | null | number | readonly JsonValue[] | string;
|
|
807
811
|
});
|
|
808
|
-
} & {
|
|
812
|
+
} & KnowledgeSpaceScopeInput & {
|
|
809
813
|
readonly [key: string]: unknown;
|
|
810
814
|
});
|
|
811
815
|
"knowledge.source.extraction.get": {
|
|
812
816
|
id: string;
|
|
813
817
|
};
|
|
814
|
-
"knowledge.sources.list": {
|
|
818
|
+
"knowledge.sources.list": ({
|
|
815
819
|
limit?: number;
|
|
816
|
-
};
|
|
817
|
-
"knowledge.status":
|
|
820
|
+
} & KnowledgeSpaceScopeInput);
|
|
821
|
+
"knowledge.status": KnowledgeSpaceScopeInput;
|
|
818
822
|
"knowledge.usage.list": {
|
|
819
823
|
limit?: number;
|
|
820
824
|
targetKind?: string;
|