@opencx/mcp 1.12.3 → 1.12.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/schema.d.ts +96 -0
- package/dist/schema.d.ts.map +1 -1
- package/dist/server.spec.js +53 -0
- package/dist/server.spec.js.map +1 -1
- package/dist/tools/autopilot.d.ts.map +1 -1
- package/dist/tools/autopilot.js +17 -0
- package/dist/tools/autopilot.js.map +1 -1
- package/dist/tools/coworker.d.ts.map +1 -1
- package/dist/tools/coworker.js +10 -2
- package/dist/tools/coworker.js.map +1 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -1003,6 +1003,30 @@ export interface paths {
|
|
|
1003
1003
|
patch?: never;
|
|
1004
1004
|
trace?: never;
|
|
1005
1005
|
};
|
|
1006
|
+
"/autopilot/prohibited-topics": {
|
|
1007
|
+
parameters: {
|
|
1008
|
+
query?: never;
|
|
1009
|
+
header?: never;
|
|
1010
|
+
path?: never;
|
|
1011
|
+
cookie?: never;
|
|
1012
|
+
};
|
|
1013
|
+
/**
|
|
1014
|
+
* List prohibited topics
|
|
1015
|
+
* @description List the org-wide prohibited topics (also called unapproved themes). When the AI detects that a conversation is about one of these topics, it hands off to a human agent (subject to per-channel handoff behavior settings).
|
|
1016
|
+
*/
|
|
1017
|
+
get: operations["listProhibitedTopics"];
|
|
1018
|
+
/**
|
|
1019
|
+
* Replace prohibited topics
|
|
1020
|
+
* @description Replace the full list of prohibited topics. Pass an empty array to clear all topics. Blank entries and case-insensitive duplicates are removed. When the AI detects a conversation about any of these topics, it hands off to a human.
|
|
1021
|
+
*/
|
|
1022
|
+
put: operations["updateProhibitedTopics"];
|
|
1023
|
+
post?: never;
|
|
1024
|
+
delete?: never;
|
|
1025
|
+
options?: never;
|
|
1026
|
+
head?: never;
|
|
1027
|
+
patch?: never;
|
|
1028
|
+
trace?: never;
|
|
1029
|
+
};
|
|
1006
1030
|
"/blocklist/contacts": {
|
|
1007
1031
|
parameters: {
|
|
1008
1032
|
query?: never;
|
|
@@ -4611,6 +4635,10 @@ export interface components {
|
|
|
4611
4635
|
*/
|
|
4612
4636
|
ai_agent_version?: "v1" | "v2";
|
|
4613
4637
|
};
|
|
4638
|
+
UpdateProhibitedTopicsInputDto: {
|
|
4639
|
+
/** @description Full replacement list of prohibited topics. Empty array clears all topics. Duplicates and blank entries are removed. */
|
|
4640
|
+
topics: string[];
|
|
4641
|
+
};
|
|
4614
4642
|
ChatAttachmentInput: {
|
|
4615
4643
|
/** @description The name of the file */
|
|
4616
4644
|
name: string;
|
|
@@ -5339,6 +5367,8 @@ export interface components {
|
|
|
5339
5367
|
contact_email?: string;
|
|
5340
5368
|
/** @description Search keyword to match against message text */
|
|
5341
5369
|
keyword?: string;
|
|
5370
|
+
/** @description Max chat-history messages to return (default 30, min 10, max 30). Oldest-first. */
|
|
5371
|
+
history_limit?: number;
|
|
5342
5372
|
};
|
|
5343
5373
|
BlockContactInputDto: {
|
|
5344
5374
|
/**
|
|
@@ -6663,6 +6693,10 @@ export interface components {
|
|
|
6663
6693
|
ai_agent_version: "v1" | "v2";
|
|
6664
6694
|
}[];
|
|
6665
6695
|
};
|
|
6696
|
+
ProhibitedTopicsResponseDto: {
|
|
6697
|
+
/** @description Topics the AI must not handle. When a conversation matches any of these, the AI hands off to a human (subject to per-channel handoff behavior). */
|
|
6698
|
+
topics: string[];
|
|
6699
|
+
};
|
|
6666
6700
|
SaveContactOutput: {
|
|
6667
6701
|
/** Format: uuid */
|
|
6668
6702
|
id?: string;
|
|
@@ -10507,6 +10541,68 @@ export interface operations {
|
|
|
10507
10541
|
};
|
|
10508
10542
|
};
|
|
10509
10543
|
};
|
|
10544
|
+
listProhibitedTopics: {
|
|
10545
|
+
parameters: {
|
|
10546
|
+
query?: never;
|
|
10547
|
+
header?: never;
|
|
10548
|
+
path?: never;
|
|
10549
|
+
cookie?: never;
|
|
10550
|
+
};
|
|
10551
|
+
requestBody?: never;
|
|
10552
|
+
responses: {
|
|
10553
|
+
/** @description Default Response */
|
|
10554
|
+
200: {
|
|
10555
|
+
headers: {
|
|
10556
|
+
[name: string]: unknown;
|
|
10557
|
+
};
|
|
10558
|
+
content: {
|
|
10559
|
+
"application/json": components["schemas"]["ProhibitedTopicsResponseDto"];
|
|
10560
|
+
};
|
|
10561
|
+
};
|
|
10562
|
+
/** @description Internal Server Error */
|
|
10563
|
+
500: {
|
|
10564
|
+
headers: {
|
|
10565
|
+
[name: string]: unknown;
|
|
10566
|
+
};
|
|
10567
|
+
content: {
|
|
10568
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
10569
|
+
};
|
|
10570
|
+
};
|
|
10571
|
+
};
|
|
10572
|
+
};
|
|
10573
|
+
updateProhibitedTopics: {
|
|
10574
|
+
parameters: {
|
|
10575
|
+
query?: never;
|
|
10576
|
+
header?: never;
|
|
10577
|
+
path?: never;
|
|
10578
|
+
cookie?: never;
|
|
10579
|
+
};
|
|
10580
|
+
requestBody: {
|
|
10581
|
+
content: {
|
|
10582
|
+
"application/json": components["schemas"]["UpdateProhibitedTopicsInputDto"];
|
|
10583
|
+
};
|
|
10584
|
+
};
|
|
10585
|
+
responses: {
|
|
10586
|
+
/** @description Default Response */
|
|
10587
|
+
200: {
|
|
10588
|
+
headers: {
|
|
10589
|
+
[name: string]: unknown;
|
|
10590
|
+
};
|
|
10591
|
+
content: {
|
|
10592
|
+
"application/json": components["schemas"]["ProhibitedTopicsResponseDto"];
|
|
10593
|
+
};
|
|
10594
|
+
};
|
|
10595
|
+
/** @description Internal Server Error */
|
|
10596
|
+
500: {
|
|
10597
|
+
headers: {
|
|
10598
|
+
[name: string]: unknown;
|
|
10599
|
+
};
|
|
10600
|
+
content: {
|
|
10601
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
10602
|
+
};
|
|
10603
|
+
};
|
|
10604
|
+
};
|
|
10605
|
+
};
|
|
10510
10606
|
listBlockedContacts: {
|
|
10511
10607
|
parameters: {
|
|
10512
10608
|
query?: {
|