@ai-matrx/api 0.0.0-stage → 0.1.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/CHANGELOG.md +31 -0
- package/LICENSE +21 -0
- package/README.md +22 -2
- package/dist/account.cjs +670 -0
- package/dist/account.d.cts +3246 -0
- package/dist/account.d.ts +3246 -0
- package/dist/account.js +558 -0
- package/dist/agents.cjs +598 -0
- package/dist/agents.d.cts +3417 -0
- package/dist/agents.d.ts +3417 -0
- package/dist/agents.js +497 -0
- package/dist/ai.cjs +109 -0
- package/dist/ai.d.cts +493 -0
- package/dist/ai.d.ts +493 -0
- package/dist/ai.js +91 -0
- package/dist/apps.cjs +394 -0
- package/dist/apps.d.cts +1094 -0
- package/dist/apps.d.ts +1094 -0
- package/dist/apps.js +328 -0
- package/dist/architecture.cjs +1223 -0
- package/dist/architecture.d.cts +4701 -0
- package/dist/architecture.d.ts +4701 -0
- package/dist/architecture.js +1016 -0
- package/dist/audio.cjs +226 -0
- package/dist/audio.d.cts +723 -0
- package/dist/audio.d.ts +723 -0
- package/dist/audio.js +188 -0
- package/dist/chat.cjs +538 -0
- package/dist/chat.d.cts +2251 -0
- package/dist/chat.d.ts +2251 -0
- package/dist/chat.js +447 -0
- package/dist/chunk-2SXAAKGV.cjs +279 -0
- package/dist/chunk-5WJLKYH6.cjs +48 -0
- package/dist/chunk-FNIYADWI.cjs +59 -0
- package/dist/chunk-HER22VVH.cjs +1047 -0
- package/dist/chunk-KIEAFMKB.js +264 -0
- package/dist/chunk-TSHL7Z53.js +1012 -0
- package/dist/chunk-VTZKJMSY.js +43 -0
- package/dist/chunk-YTEOFGFC.js +57 -0
- package/dist/code.cjs +561 -0
- package/dist/code.d.cts +1976 -0
- package/dist/code.d.ts +1976 -0
- package/dist/code.js +467 -0
- package/dist/commerce.cjs +22 -0
- package/dist/commerce.d.cts +45 -0
- package/dist/commerce.d.ts +45 -0
- package/dist/commerce.js +18 -0
- package/dist/communications.cjs +215 -0
- package/dist/communications.d.cts +948 -0
- package/dist/communications.d.ts +948 -0
- package/dist/communications.js +179 -0
- package/dist/computer.cjs +330 -0
- package/dist/computer.d.cts +733 -0
- package/dist/computer.d.ts +733 -0
- package/dist/computer.js +275 -0
- package/dist/content.cjs +425 -0
- package/dist/content.d.cts +1796 -0
- package/dist/content.d.ts +1796 -0
- package/dist/content.js +354 -0
- package/dist/credentials.cjs +22 -0
- package/dist/credentials.d.cts +82 -0
- package/dist/credentials.d.ts +82 -0
- package/dist/credentials.js +1 -0
- package/dist/crm.cjs +271 -0
- package/dist/crm.d.cts +1731 -0
- package/dist/crm.d.ts +1731 -0
- package/dist/crm.js +226 -0
- package/dist/data.cjs +382 -0
- package/dist/data.d.cts +1860 -0
- package/dist/data.d.ts +1860 -0
- package/dist/data.js +318 -0
- package/dist/education.cjs +28 -0
- package/dist/education.d.cts +73 -0
- package/dist/education.d.ts +73 -0
- package/dist/education.js +23 -0
- package/dist/files.cjs +1330 -0
- package/dist/files.d.cts +4956 -0
- package/dist/files.d.ts +4956 -0
- package/dist/files.js +1104 -0
- package/dist/human-resources.cjs +178 -0
- package/dist/human-resources.d.cts +1208 -0
- package/dist/human-resources.d.ts +1208 -0
- package/dist/human-resources.js +148 -0
- package/dist/index-C2E-Cp19.d.ts +385 -0
- package/dist/index-wC2vtb70.d.cts +385 -0
- package/dist/index.cjs +2016 -0
- package/dist/index.d.cts +2069 -0
- package/dist/index.d.ts +2069 -0
- package/dist/index.js +1746 -0
- package/dist/integrations.cjs +5116 -0
- package/dist/integrations.d.cts +19213 -0
- package/dist/integrations.d.ts +19213 -0
- package/dist/integrations.js +4263 -0
- package/dist/intelligence.cjs +1305 -0
- package/dist/intelligence.d.cts +4658 -0
- package/dist/intelligence.d.ts +4658 -0
- package/dist/intelligence.js +1196 -0
- package/dist/knowledge.cjs +1113 -0
- package/dist/knowledge.d.cts +5427 -0
- package/dist/knowledge.d.ts +5427 -0
- package/dist/knowledge.js +921 -0
- package/dist/legal.cjs +225 -0
- package/dist/legal.d.cts +1038 -0
- package/dist/legal.d.ts +1038 -0
- package/dist/legal.js +187 -0
- package/dist/marketing.cjs +1155 -0
- package/dist/marketing.d.cts +7741 -0
- package/dist/marketing.d.ts +7741 -0
- package/dist/marketing.js +951 -0
- package/dist/masterwork.cjs +283 -0
- package/dist/masterwork.d.cts +1938 -0
- package/dist/masterwork.d.ts +1938 -0
- package/dist/masterwork.js +231 -0
- package/dist/media.cjs +610 -0
- package/dist/media.d.cts +2270 -0
- package/dist/media.d.ts +2270 -0
- package/dist/media.js +507 -0
- package/dist/net.cjs +67 -0
- package/dist/net.d.cts +204 -0
- package/dist/net.d.ts +204 -0
- package/dist/net.js +2 -0
- package/dist/platform.cjs +150 -0
- package/dist/platform.d.cts +572 -0
- package/dist/platform.d.ts +572 -0
- package/dist/platform.js +125 -0
- package/dist/publish.cjs +248 -0
- package/dist/publish.d.cts +1431 -0
- package/dist/publish.d.ts +1431 -0
- package/dist/publish.js +206 -0
- package/dist/schemas.cjs +2 -0
- package/dist/schemas.d.cts +1353 -0
- package/dist/schemas.d.ts +1353 -0
- package/dist/schemas.js +1 -0
- package/dist/stream.cjs +44 -0
- package/dist/stream.d.cts +2 -0
- package/dist/stream.d.ts +2 -0
- package/dist/stream.js +3 -0
- package/dist/web.cjs +1045 -0
- package/dist/web.d.cts +4186 -0
- package/dist/web.d.ts +4186 -0
- package/dist/web.js +867 -0
- package/dist/workflows.cjs +825 -0
- package/dist/workflows.d.cts +4699 -0
- package/dist/workflows.d.ts +4699 -0
- package/dist/workflows.js +686 -0
- package/package.json +419 -4
package/dist/chat.js
ADDED
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
import { openJsonOrStream, openStream } from './chunk-TSHL7Z53.js';
|
|
2
|
+
import './chunk-KIEAFMKB.js';
|
|
3
|
+
import './chunk-VTZKJMSY.js';
|
|
4
|
+
|
|
5
|
+
// src/generated/chat.ts
|
|
6
|
+
var $conversationsWarmConversation = { m: "POST", p: "/ai/conversation/{conversation_id}/warm", d: "aidream", a: "user", o: "required", n: "chat.conversations_warm_conversation" };
|
|
7
|
+
function conversationsWarmConversation(api, args, options) {
|
|
8
|
+
return api.call($conversationsWarmConversation, args, options);
|
|
9
|
+
}
|
|
10
|
+
var $conversationsWarmConversationPost = { m: "POST", p: "/ai/conversations/{conversation_id}/warm", d: "aidream", a: "user", o: "required", n: "chat.conversations_warm_conversation_post" };
|
|
11
|
+
function conversationsWarmConversationPost(api, args, options) {
|
|
12
|
+
return api.call($conversationsWarmConversationPost, args, options);
|
|
13
|
+
}
|
|
14
|
+
var $chat = { m: "POST", p: "/ai/manual", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "chat.chat" };
|
|
15
|
+
function chat(api, args, options) {
|
|
16
|
+
return openJsonOrStream(api, $chat, args, options);
|
|
17
|
+
}
|
|
18
|
+
var $chatPost = { m: "POST", p: "/ai/chat", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "chat.chat_post" };
|
|
19
|
+
function chatPost(api, args, options) {
|
|
20
|
+
return openJsonOrStream(api, $chatPost, args, options);
|
|
21
|
+
}
|
|
22
|
+
var $conversationsContinueConversation = { m: "POST", p: "/ai/conversation/{conversation_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_continue_conversation" };
|
|
23
|
+
function conversationsContinueConversation(api, args, options) {
|
|
24
|
+
return openStream(api, $conversationsContinueConversation, args, options);
|
|
25
|
+
}
|
|
26
|
+
var $conversationsContinueConversationPost = { m: "POST", p: "/ai/conversations/{conversation_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_continue_conversation_post" };
|
|
27
|
+
function conversationsContinueConversationPost(api, args, options) {
|
|
28
|
+
return openStream(api, $conversationsContinueConversationPost, args, options);
|
|
29
|
+
}
|
|
30
|
+
var $conversationsForkAndRun = { m: "POST", p: "/ai/conversation/{conversation_id}/fork-and-run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_fork_and_run" };
|
|
31
|
+
function conversationsForkAndRun(api, args, options) {
|
|
32
|
+
return openStream(api, $conversationsForkAndRun, args, options);
|
|
33
|
+
}
|
|
34
|
+
var $conversationsForkAndRunPost = { m: "POST", p: "/ai/conversations/{conversation_id}/fork-and-run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_fork_and_run_post" };
|
|
35
|
+
function conversationsForkAndRunPost(api, args, options) {
|
|
36
|
+
return openStream(api, $conversationsForkAndRunPost, args, options);
|
|
37
|
+
}
|
|
38
|
+
var $conversationsSubmitToolResults = { m: "POST", p: "/ai/conversation/{conversation_id}/tool_results", d: "aidream", a: "guest", o: "required", n: "chat.conversations_submit_tool_results" };
|
|
39
|
+
function conversationsSubmitToolResults(api, args, options) {
|
|
40
|
+
return api.call($conversationsSubmitToolResults, args, options);
|
|
41
|
+
}
|
|
42
|
+
var $conversationsSubmitToolResultsPost = { m: "POST", p: "/ai/conversations/{conversation_id}/tool_results", d: "aidream", a: "guest", o: "required", n: "chat.conversations_submit_tool_results_post" };
|
|
43
|
+
function conversationsSubmitToolResultsPost(api, args, options) {
|
|
44
|
+
return api.call($conversationsSubmitToolResultsPost, args, options);
|
|
45
|
+
}
|
|
46
|
+
var $conversationsListConversationPendingCalls = { m: "GET", p: "/ai/conversation/{conversation_id}/pending_calls", d: "aidream", a: "guest", o: "optional", n: "chat.conversations_list_conversation_pending_calls" };
|
|
47
|
+
function conversationsListConversationPendingCalls(api, args, options) {
|
|
48
|
+
return api.call($conversationsListConversationPendingCalls, args, options);
|
|
49
|
+
}
|
|
50
|
+
var $conversationsListConversationPendingCallsGet = { m: "GET", p: "/ai/conversations/{conversation_id}/pending_calls", d: "aidream", a: "guest", o: "optional", n: "chat.conversations_list_conversation_pending_calls_get" };
|
|
51
|
+
function conversationsListConversationPendingCallsGet(api, args, options) {
|
|
52
|
+
return api.call($conversationsListConversationPendingCallsGet, args, options);
|
|
53
|
+
}
|
|
54
|
+
var $listUserPendingCalls = { m: "GET", p: "/ai/user/pending_calls", d: "aidream", a: "guest", o: "optional", n: "chat.list_user_pending_calls" };
|
|
55
|
+
function listUserPendingCalls(api, args, options) {
|
|
56
|
+
return api.call($listUserPendingCalls, args, options);
|
|
57
|
+
}
|
|
58
|
+
var $conversationsListInboxItems = { m: "GET", p: "/ai/conversation/{conversation_id}/inbox", d: "aidream", a: "guest", o: "optional", n: "chat.conversations_list_inbox_items" };
|
|
59
|
+
function conversationsListInboxItems(api, args, options) {
|
|
60
|
+
return api.call($conversationsListInboxItems, args, options);
|
|
61
|
+
}
|
|
62
|
+
var $conversationsEnqueueInboxItem = { m: "POST", p: "/ai/conversation/{conversation_id}/inbox", d: "aidream", a: "guest", o: "required", n: "chat.conversations_enqueue_inbox_item" };
|
|
63
|
+
function conversationsEnqueueInboxItem(api, args, options) {
|
|
64
|
+
return api.call($conversationsEnqueueInboxItem, args, options);
|
|
65
|
+
}
|
|
66
|
+
var $conversationsListInboxItemsGet = { m: "GET", p: "/ai/conversations/{conversation_id}/inbox", d: "aidream", a: "guest", o: "optional", n: "chat.conversations_list_inbox_items_get" };
|
|
67
|
+
function conversationsListInboxItemsGet(api, args, options) {
|
|
68
|
+
return api.call($conversationsListInboxItemsGet, args, options);
|
|
69
|
+
}
|
|
70
|
+
var $conversationsEnqueueInboxItemPost = { m: "POST", p: "/ai/conversations/{conversation_id}/inbox", d: "aidream", a: "guest", o: "required", n: "chat.conversations_enqueue_inbox_item_post" };
|
|
71
|
+
function conversationsEnqueueInboxItemPost(api, args, options) {
|
|
72
|
+
return api.call($conversationsEnqueueInboxItemPost, args, options);
|
|
73
|
+
}
|
|
74
|
+
var $conversationsEditInboxItem = { m: "PATCH", p: "/ai/conversation/{conversation_id}/inbox/{injection_id}", d: "aidream", a: "guest", o: "required", n: "chat.conversations_edit_inbox_item" };
|
|
75
|
+
function conversationsEditInboxItem(api, args, options) {
|
|
76
|
+
return api.call($conversationsEditInboxItem, args, options);
|
|
77
|
+
}
|
|
78
|
+
var $conversationsCancelInboxItem = { m: "DELETE", p: "/ai/conversation/{conversation_id}/inbox/{injection_id}", d: "aidream", a: "guest", o: "required", n: "chat.conversations_cancel_inbox_item" };
|
|
79
|
+
function conversationsCancelInboxItem(api, args, options) {
|
|
80
|
+
return api.call($conversationsCancelInboxItem, args, options);
|
|
81
|
+
}
|
|
82
|
+
var $conversationsEditInboxItemPatch = { m: "PATCH", p: "/ai/conversations/{conversation_id}/inbox/{injection_id}", d: "aidream", a: "guest", o: "required", n: "chat.conversations_edit_inbox_item_patch" };
|
|
83
|
+
function conversationsEditInboxItemPatch(api, args, options) {
|
|
84
|
+
return api.call($conversationsEditInboxItemPatch, args, options);
|
|
85
|
+
}
|
|
86
|
+
var $conversationsCancelInboxItemDelete = { m: "DELETE", p: "/ai/conversations/{conversation_id}/inbox/{injection_id}", d: "aidream", a: "guest", o: "required", n: "chat.conversations_cancel_inbox_item_delete" };
|
|
87
|
+
function conversationsCancelInboxItemDelete(api, args, options) {
|
|
88
|
+
return api.call($conversationsCancelInboxItemDelete, args, options);
|
|
89
|
+
}
|
|
90
|
+
var $conversationsResumeConversation = { m: "POST", p: "/ai/conversation/{conversation_id}/resume", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_resume_conversation" };
|
|
91
|
+
function conversationsResumeConversation(api, args, options) {
|
|
92
|
+
return openStream(api, $conversationsResumeConversation, args, options);
|
|
93
|
+
}
|
|
94
|
+
var $conversationsResumeConversationPost = { m: "POST", p: "/ai/conversations/{conversation_id}/resume", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_resume_conversation_post" };
|
|
95
|
+
function conversationsResumeConversationPost(api, args, options) {
|
|
96
|
+
return openStream(api, $conversationsResumeConversationPost, args, options);
|
|
97
|
+
}
|
|
98
|
+
var $conversationsGetConversationSandbox = { m: "GET", p: "/ai/conversation/{conversation_id}/sandbox", d: "aidream", a: "guest", o: "optional", n: "chat.conversations_get_conversation_sandbox" };
|
|
99
|
+
function conversationsGetConversationSandbox(api, args, options) {
|
|
100
|
+
return api.call($conversationsGetConversationSandbox, args, options);
|
|
101
|
+
}
|
|
102
|
+
var $conversationsBindConversationSandbox = { m: "PUT", p: "/ai/conversation/{conversation_id}/sandbox", d: "aidream", a: "guest", o: "required", n: "chat.conversations_bind_conversation_sandbox" };
|
|
103
|
+
function conversationsBindConversationSandbox(api, args, options) {
|
|
104
|
+
return api.call($conversationsBindConversationSandbox, args, options);
|
|
105
|
+
}
|
|
106
|
+
var $conversationsUnbindConversationSandbox = { m: "DELETE", p: "/ai/conversation/{conversation_id}/sandbox", d: "aidream", a: "guest", o: "required", n: "chat.conversations_unbind_conversation_sandbox" };
|
|
107
|
+
function conversationsUnbindConversationSandbox(api, args, options) {
|
|
108
|
+
return api.call($conversationsUnbindConversationSandbox, args, options);
|
|
109
|
+
}
|
|
110
|
+
var $conversationsGetConversationSandboxGet = { m: "GET", p: "/ai/conversations/{conversation_id}/sandbox", d: "aidream", a: "guest", o: "optional", n: "chat.conversations_get_conversation_sandbox_get" };
|
|
111
|
+
function conversationsGetConversationSandboxGet(api, args, options) {
|
|
112
|
+
return api.call($conversationsGetConversationSandboxGet, args, options);
|
|
113
|
+
}
|
|
114
|
+
var $conversationsBindConversationSandboxPut = { m: "PUT", p: "/ai/conversations/{conversation_id}/sandbox", d: "aidream", a: "guest", o: "required", n: "chat.conversations_bind_conversation_sandbox_put" };
|
|
115
|
+
function conversationsBindConversationSandboxPut(api, args, options) {
|
|
116
|
+
return api.call($conversationsBindConversationSandboxPut, args, options);
|
|
117
|
+
}
|
|
118
|
+
var $conversationsUnbindConversationSandboxDelete = { m: "DELETE", p: "/ai/conversations/{conversation_id}/sandbox", d: "aidream", a: "guest", o: "required", n: "chat.conversations_unbind_conversation_sandbox_delete" };
|
|
119
|
+
function conversationsUnbindConversationSandboxDelete(api, args, options) {
|
|
120
|
+
return api.call($conversationsUnbindConversationSandboxDelete, args, options);
|
|
121
|
+
}
|
|
122
|
+
var $conversationsGetConversationMemoryCost = { m: "GET", p: "/ai/conversation/{conversation_id}/memory_cost", d: "aidream", a: "guest", o: "optional", n: "chat.conversations_get_conversation_memory_cost" };
|
|
123
|
+
function conversationsGetConversationMemoryCost(api, args, options) {
|
|
124
|
+
return api.call($conversationsGetConversationMemoryCost, args, options);
|
|
125
|
+
}
|
|
126
|
+
var $conversationsGetConversationMemoryCostGet = { m: "GET", p: "/ai/conversations/{conversation_id}/memory_cost", d: "aidream", a: "guest", o: "optional", n: "chat.conversations_get_conversation_memory_cost_get" };
|
|
127
|
+
function conversationsGetConversationMemoryCostGet(api, args, options) {
|
|
128
|
+
return api.call($conversationsGetConversationMemoryCostGet, args, options);
|
|
129
|
+
}
|
|
130
|
+
var $cancelRequest = { m: "POST", p: "/ai/cancel/{request_id}", d: "aidream", a: "guest", o: "required", n: "chat.cancel_request" };
|
|
131
|
+
function cancelRequest(api, args, options) {
|
|
132
|
+
return api.call($cancelRequest, args, options);
|
|
133
|
+
}
|
|
134
|
+
var $retryNowRequest = { m: "POST", p: "/ai/retry-now/{request_id}", d: "aidream", a: "guest", o: "required", n: "chat.retry_now_request" };
|
|
135
|
+
function retryNowRequest(api, args, options) {
|
|
136
|
+
return api.call($retryNowRequest, args, options);
|
|
137
|
+
}
|
|
138
|
+
var $warm = { m: "POST", p: "/ai/warm", d: "aidream", a: "guest", o: "required", n: "chat.warm" };
|
|
139
|
+
function warm(api, args, options) {
|
|
140
|
+
return api.call($warm, args, options);
|
|
141
|
+
}
|
|
142
|
+
var $warmHealthRoute = { m: "GET", p: "/ai/warm/health", d: "aidream", a: "admin", o: "required", n: "chat.warm_health_route" };
|
|
143
|
+
function warmHealthRoute(api, args, options) {
|
|
144
|
+
return api.call($warmHealthRoute, args, options);
|
|
145
|
+
}
|
|
146
|
+
var $directChat = { m: "POST", p: "/ai/chat/direct-chat", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.direct_chat" };
|
|
147
|
+
function directChat(api, args, options) {
|
|
148
|
+
return openStream(api, $directChat, args, options);
|
|
149
|
+
}
|
|
150
|
+
var $promptExecution = { m: "POST", p: "/ai/chat/prompt-execution", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.prompt_execution" };
|
|
151
|
+
function promptExecution(api, args, options) {
|
|
152
|
+
return openStream(api, $promptExecution, args, options);
|
|
153
|
+
}
|
|
154
|
+
var $v2ChatV2 = { m: "POST", p: "/v2/ai/manual", d: "aidream", a: "guest", o: "required", n: "chat.v2_chat_v2" };
|
|
155
|
+
function v2ChatV2(api, args, options) {
|
|
156
|
+
return api.call($v2ChatV2, args, options);
|
|
157
|
+
}
|
|
158
|
+
var $v2ChatV2Post = { m: "POST", p: "/v2/ai/chat", d: "aidream", a: "guest", o: "required", n: "chat.v2_chat_v2_post" };
|
|
159
|
+
function v2ChatV2Post(api, args, options) {
|
|
160
|
+
return api.call($v2ChatV2Post, args, options);
|
|
161
|
+
}
|
|
162
|
+
var $v2StartAgentV2 = { m: "POST", p: "/v2/ai/agent/{agent_id}", d: "aidream", a: "guest", o: "required", n: "chat.v2_start_agent_v2" };
|
|
163
|
+
function v2StartAgentV2(api, args, options) {
|
|
164
|
+
return api.call($v2StartAgentV2, args, options);
|
|
165
|
+
}
|
|
166
|
+
var $v2StartAgentV2Post = { m: "POST", p: "/v2/ai/agents/{agent_id}", d: "aidream", a: "guest", o: "required", n: "chat.v2_start_agent_v2_post" };
|
|
167
|
+
function v2StartAgentV2Post(api, args, options) {
|
|
168
|
+
return api.call($v2StartAgentV2Post, args, options);
|
|
169
|
+
}
|
|
170
|
+
var $startMandatedAgentV2 = { m: "POST", p: "/v2/ai/mandates/{mandate_key}", d: "aidream", a: "guest", o: "required", n: "chat.start_mandated_agent_v2" };
|
|
171
|
+
function startMandatedAgentV2(api, args, options) {
|
|
172
|
+
return api.call($startMandatedAgentV2, args, options);
|
|
173
|
+
}
|
|
174
|
+
var $v2ContinueConversationV2 = { m: "POST", p: "/v2/ai/conversation/{conversation_id}", d: "aidream", a: "guest", o: "required", n: "chat.v2_continue_conversation_v2" };
|
|
175
|
+
function v2ContinueConversationV2(api, args, options) {
|
|
176
|
+
return api.call($v2ContinueConversationV2, args, options);
|
|
177
|
+
}
|
|
178
|
+
var $v2ContinueConversationV2Post = { m: "POST", p: "/v2/ai/conversations/{conversation_id}", d: "aidream", a: "guest", o: "required", n: "chat.v2_continue_conversation_v2_post" };
|
|
179
|
+
function v2ContinueConversationV2Post(api, args, options) {
|
|
180
|
+
return api.call($v2ContinueConversationV2Post, args, options);
|
|
181
|
+
}
|
|
182
|
+
var $startPromptV2 = { m: "POST", p: "/v2/ai/prompts/{prompt_id}", d: "aidream", a: "guest", o: "required", n: "chat.start_prompt_v2" };
|
|
183
|
+
function startPromptV2(api, args, options) {
|
|
184
|
+
return api.call($startPromptV2, args, options);
|
|
185
|
+
}
|
|
186
|
+
var $getConversationAttachments = { m: "GET", p: "/conversations/{conversation_id}/attachments", d: "aidream", a: "guest", o: "optional", n: "chat.get_conversation_attachments" };
|
|
187
|
+
function getConversationAttachments(api, args, options) {
|
|
188
|
+
return api.call($getConversationAttachments, args, options);
|
|
189
|
+
}
|
|
190
|
+
var $attachConversationResource = { m: "POST", p: "/conversations/{conversation_id}/attachments", d: "aidream", a: "guest", o: "required", n: "chat.attach_conversation_resource" };
|
|
191
|
+
function attachConversationResource(api, args, options) {
|
|
192
|
+
return api.call($attachConversationResource, args, options);
|
|
193
|
+
}
|
|
194
|
+
var $detachConversationResource = { m: "DELETE", p: "/conversations/{conversation_id}/attachments/{association_id}", d: "aidream", a: "guest", o: "required", n: "chat.detach_conversation_resource" };
|
|
195
|
+
function detachConversationResource(api, args, options) {
|
|
196
|
+
return api.call($detachConversationResource, args, options);
|
|
197
|
+
}
|
|
198
|
+
var $getGroupChat = { m: "GET", p: "/group-chat/{anchor_type}/{anchor_id}", d: "aidream", a: "guest", o: "required", n: "chat.get_group_chat" };
|
|
199
|
+
function getGroupChat(api, args, options) {
|
|
200
|
+
return api.call($getGroupChat, args, options);
|
|
201
|
+
}
|
|
202
|
+
var $putParticipantPolicy = { m: "PUT", p: "/group-chat/{anchor_type}/{anchor_id}/participants/{participant_id}/policy", d: "aidream", a: "guest", o: "required", n: "chat.put_participant_policy" };
|
|
203
|
+
function putParticipantPolicy(api, args, options) {
|
|
204
|
+
return api.call($putParticipantPolicy, args, options);
|
|
205
|
+
}
|
|
206
|
+
var $getAttributionRegistry = { m: "GET", p: "/admin/cx-explorer/attribution-registry", d: "aidream", a: "admin", o: "exempt", n: "chat.get_attribution_registry" };
|
|
207
|
+
function getAttributionRegistry(api, args, options) {
|
|
208
|
+
return api.call($getAttributionRegistry, args, options);
|
|
209
|
+
}
|
|
210
|
+
var $getFacets = { m: "GET", p: "/admin/cx-explorer/facets", d: "aidream", a: "admin", o: "exempt", n: "chat.get_facets" };
|
|
211
|
+
function getFacets(api, args, options) {
|
|
212
|
+
return api.call($getFacets, args, options);
|
|
213
|
+
}
|
|
214
|
+
var $getUserConversations = { m: "GET", p: "/cx/conversations", d: "aidream", a: "guest", o: "optional", n: "chat.get_user_conversations" };
|
|
215
|
+
function getUserConversations(api, args, options) {
|
|
216
|
+
return api.call($getUserConversations, args, options);
|
|
217
|
+
}
|
|
218
|
+
var $getConversationWithAllRelated = { m: "GET", p: "/cx/conversations/{conversation_id}", d: "aidream", a: "guest", o: "optional", n: "chat.get_conversation_with_all_related" };
|
|
219
|
+
function getConversationWithAllRelated(api, args, options) {
|
|
220
|
+
return api.call($getConversationWithAllRelated, args, options);
|
|
221
|
+
}
|
|
222
|
+
var $updateConversationSettingsDoor = { m: "PATCH", p: "/cx/conversations/{conversation_id}", d: "aidream", a: "guest", o: "required", n: "chat.update_conversation_settings_door" };
|
|
223
|
+
function updateConversationSettingsDoor(api, args, options) {
|
|
224
|
+
return api.call($updateConversationSettingsDoor, args, options);
|
|
225
|
+
}
|
|
226
|
+
var $deleteConversationDoor = { m: "DELETE", p: "/cx/conversations/{conversation_id}", d: "aidream", a: "guest", o: "required", n: "chat.delete_conversation_door" };
|
|
227
|
+
function deleteConversationDoor(api, args, options) {
|
|
228
|
+
return api.call($deleteConversationDoor, args, options);
|
|
229
|
+
}
|
|
230
|
+
var $getConversationRequests = { m: "GET", p: "/cx/conversations/{conversation_id}/requests", d: "aidream", a: "guest", o: "optional", n: "chat.get_conversation_requests" };
|
|
231
|
+
function getConversationRequests(api, args, options) {
|
|
232
|
+
return api.call($getConversationRequests, args, options);
|
|
233
|
+
}
|
|
234
|
+
var $getContextState = { m: "GET", p: "/cx/conversations/{conversation_id}/context-state", d: "aidream", a: "guest", o: "optional", n: "chat.get_context_state" };
|
|
235
|
+
function getContextState(api, args, options) {
|
|
236
|
+
return api.call($getContextState, args, options);
|
|
237
|
+
}
|
|
238
|
+
var $invalidateConversationCache = { m: "POST", p: "/cx/conversations/{conversation_id}/invalidate-cache", d: "aidream", a: "guest", o: "required", n: "chat.invalidate_conversation_cache" };
|
|
239
|
+
function invalidateConversationCache(api, args, options) {
|
|
240
|
+
return api.call($invalidateConversationCache, args, options);
|
|
241
|
+
}
|
|
242
|
+
var $updateMessage = { m: "PATCH", p: "/cx/conversations/{conversation_id}/messages/{message_id}", d: "aidream", a: "guest", o: "required", n: "chat.update_message" };
|
|
243
|
+
function updateMessage(api, args, options) {
|
|
244
|
+
return api.call($updateMessage, args, options);
|
|
245
|
+
}
|
|
246
|
+
var $deleteMessage = { m: "DELETE", p: "/cx/conversations/{conversation_id}/messages/{message_id}", d: "aidream", a: "guest", o: "required", n: "chat.delete_message" };
|
|
247
|
+
function deleteMessage(api, args, options) {
|
|
248
|
+
return api.call($deleteMessage, args, options);
|
|
249
|
+
}
|
|
250
|
+
var $deleteAllMessages = { m: "DELETE", p: "/cx/conversations/{conversation_id}/messages", d: "aidream", a: "guest", o: "required", n: "chat.delete_all_messages" };
|
|
251
|
+
function deleteAllMessages(api, args, options) {
|
|
252
|
+
return api.call($deleteAllMessages, args, options);
|
|
253
|
+
}
|
|
254
|
+
var $forkConversation = { m: "POST", p: "/cx/conversations/{conversation_id}/fork", d: "aidream", a: "guest", o: "required", n: "chat.fork_conversation" };
|
|
255
|
+
function forkConversation(api, args, options) {
|
|
256
|
+
return api.call($forkConversation, args, options);
|
|
257
|
+
}
|
|
258
|
+
var $batchDeleteMessages = { m: "POST", p: "/cx/conversations/{conversation_id}/messages/delete", d: "aidream", a: "guest", o: "required", n: "chat.batch_delete_messages" };
|
|
259
|
+
function batchDeleteMessages(api, args, options) {
|
|
260
|
+
return api.call($batchDeleteMessages, args, options);
|
|
261
|
+
}
|
|
262
|
+
var $replaceMessages = { m: "POST", p: "/cx/conversations/{conversation_id}/messages/replace", d: "aidream", a: "guest", o: "required", n: "chat.replace_messages" };
|
|
263
|
+
function replaceMessages(api, args, options) {
|
|
264
|
+
return api.call($replaceMessages, args, options);
|
|
265
|
+
}
|
|
266
|
+
var $hideMessagesFromModel = { m: "POST", p: "/cx/conversations/{conversation_id}/messages/hide", d: "aidream", a: "guest", o: "required", n: "chat.hide_messages_from_model" };
|
|
267
|
+
function hideMessagesFromModel(api, args, options) {
|
|
268
|
+
return api.call($hideMessagesFromModel, args, options);
|
|
269
|
+
}
|
|
270
|
+
var $restoreCompaction = { m: "POST", p: "/cx/conversations/{conversation_id}/messages/restore", d: "aidream", a: "guest", o: "required", n: "chat.restore_compaction" };
|
|
271
|
+
function restoreCompaction(api, args, options) {
|
|
272
|
+
return api.call($restoreCompaction, args, options);
|
|
273
|
+
}
|
|
274
|
+
var $compactTurns = { m: "POST", p: "/cx/conversations/{conversation_id}/turns/compact", d: "aidream", a: "guest", o: "required", n: "chat.compact_turns" };
|
|
275
|
+
function compactTurns(api, args, options) {
|
|
276
|
+
return api.call($compactTurns, args, options);
|
|
277
|
+
}
|
|
278
|
+
var $listToolSchemas = { m: "GET", p: "/chat/tools", d: "matrx-local", a: "public", o: "exempt", n: "chat.list_tool_schemas" };
|
|
279
|
+
function listToolSchemas(api, args, options) {
|
|
280
|
+
return api.call($listToolSchemas, args, options);
|
|
281
|
+
}
|
|
282
|
+
var $listToolSchemasByCategory = { m: "GET", p: "/chat/tools/by-category", d: "matrx-local", a: "public", o: "exempt", n: "chat.list_tool_schemas_by_category" };
|
|
283
|
+
function listToolSchemasByCategory(api, args, options) {
|
|
284
|
+
return api.call($listToolSchemasByCategory, args, options);
|
|
285
|
+
}
|
|
286
|
+
var $listAnthropicToolSchemas = { m: "GET", p: "/chat/tools/anthropic", d: "matrx-local", a: "public", o: "exempt", n: "chat.list_anthropic_tool_schemas" };
|
|
287
|
+
function listAnthropicToolSchemas(api, args, options) {
|
|
288
|
+
return api.call($listAnthropicToolSchemas, args, options);
|
|
289
|
+
}
|
|
290
|
+
var $listLocalTools = { m: "GET", p: "/chat/local-tools", d: "matrx-local", a: "loopback_token", o: "exempt", n: "chat.list_local_tools" };
|
|
291
|
+
function listLocalTools(api, args, options) {
|
|
292
|
+
return api.call($listLocalTools, args, options);
|
|
293
|
+
}
|
|
294
|
+
var $setLocalToolExposure = { m: "PUT", p: "/chat/local-tools/exposure", d: "matrx-local", a: "loopback_token", o: "exempt", n: "chat.set_local_tool_exposure" };
|
|
295
|
+
function setLocalToolExposure(api, args, options) {
|
|
296
|
+
return api.call($setLocalToolExposure, args, options);
|
|
297
|
+
}
|
|
298
|
+
var $delegationStatus = { m: "GET", p: "/chat/delegation/status", d: "matrx-local", a: "loopback_open", o: "exempt", n: "chat.delegation_status" };
|
|
299
|
+
function delegationStatus(api, args, options) {
|
|
300
|
+
return api.call($delegationStatus, args, options);
|
|
301
|
+
}
|
|
302
|
+
var $delegationUiClaim = { m: "POST", p: "/chat/delegation/ui-claim", d: "matrx-local", a: "loopback_token", o: "exempt", n: "chat.delegation_ui_claim" };
|
|
303
|
+
function delegationUiClaim(api, args, options) {
|
|
304
|
+
return api.call($delegationUiClaim, args, options);
|
|
305
|
+
}
|
|
306
|
+
var $delegationUiRelease = { m: "POST", p: "/chat/delegation/ui-release", d: "matrx-local", a: "loopback_token", o: "exempt", n: "chat.delegation_ui_release" };
|
|
307
|
+
function delegationUiRelease(api, args, options) {
|
|
308
|
+
return api.call($delegationUiRelease, args, options);
|
|
309
|
+
}
|
|
310
|
+
var $delegationPendingReviews = { m: "GET", p: "/chat/delegation/reviews", d: "matrx-local", a: "loopback_token", o: "exempt", n: "chat.delegation_pending_reviews" };
|
|
311
|
+
function delegationPendingReviews(api, args, options) {
|
|
312
|
+
return api.call($delegationPendingReviews, args, options);
|
|
313
|
+
}
|
|
314
|
+
var $delegationReviewDecision = { m: "POST", p: "/chat/delegation/review-decision", d: "matrx-local", a: "loopback_token", o: "exempt", n: "chat.delegation_review_decision" };
|
|
315
|
+
function delegationReviewDecision(api, args, options) {
|
|
316
|
+
return api.call($delegationReviewDecision, args, options);
|
|
317
|
+
}
|
|
318
|
+
var $delegationConversationState = { m: "GET", p: "/chat/delegation/conversation/{conversation_id}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "chat.delegation_conversation_state" };
|
|
319
|
+
function delegationConversationState(api, args, options) {
|
|
320
|
+
return api.call($delegationConversationState, args, options);
|
|
321
|
+
}
|
|
322
|
+
var $listModels = { m: "GET", p: "/chat/models", d: "matrx-local", a: "public", o: "exempt", n: "chat.list_models" };
|
|
323
|
+
function listModels(api, args, options) {
|
|
324
|
+
return api.call($listModels, args, options);
|
|
325
|
+
}
|
|
326
|
+
var $chatSyncStatus = { m: "GET", p: "/chat/sync/status", d: "matrx-local", a: "public", o: "exempt", n: "chat.chat_sync_status" };
|
|
327
|
+
function chatSyncStatus(api, args, options) {
|
|
328
|
+
return api.call($chatSyncStatus, args, options);
|
|
329
|
+
}
|
|
330
|
+
var $triggerChatSync = { m: "POST", p: "/chat/sync/trigger", d: "matrx-local", a: "loopback_open", o: "exempt", n: "chat.trigger_chat_sync" };
|
|
331
|
+
function triggerChatSync(api, args, options) {
|
|
332
|
+
return api.call($triggerChatSync, args, options);
|
|
333
|
+
}
|
|
334
|
+
var $chatMirrorStatus = { m: "GET", p: "/chat/mirror/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "chat.chat_mirror_status" };
|
|
335
|
+
function chatMirrorStatus(api, args, options) {
|
|
336
|
+
return api.call($chatMirrorStatus, args, options);
|
|
337
|
+
}
|
|
338
|
+
var $triggerChatMirrorSync = { m: "POST", p: "/chat/mirror/sync", d: "matrx-local", a: "loopback_token", o: "exempt", n: "chat.trigger_chat_mirror_sync" };
|
|
339
|
+
function triggerChatMirrorSync(api, args, options) {
|
|
340
|
+
return api.call($triggerChatMirrorSync, args, options);
|
|
341
|
+
}
|
|
342
|
+
var $aiProviderStatus = { m: "GET", p: "/chat/ai-status", d: "matrx-local", a: "public", o: "exempt", n: "chat.ai_provider_status" };
|
|
343
|
+
function aiProviderStatus(api, args, options) {
|
|
344
|
+
return api.call($aiProviderStatus, args, options);
|
|
345
|
+
}
|
|
346
|
+
var $providerReadiness = { m: "GET", p: "/chat/provider-readiness/{provider}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "chat.provider_readiness" };
|
|
347
|
+
function providerReadiness(api, args, options) {
|
|
348
|
+
return api.call($providerReadiness, args, options);
|
|
349
|
+
}
|
|
350
|
+
var $localLlmConnect = { m: "POST", p: "/chat/local-llm/connect", d: "matrx-local", a: "loopback_open", o: "exempt", n: "chat.local_llm_connect" };
|
|
351
|
+
function localLlmConnect(api, args, options) {
|
|
352
|
+
return api.call($localLlmConnect, args, options);
|
|
353
|
+
}
|
|
354
|
+
var $localLlmDisconnect = { m: "POST", p: "/chat/local-llm/disconnect", d: "matrx-local", a: "loopback_open", o: "exempt", n: "chat.local_llm_disconnect" };
|
|
355
|
+
function localLlmDisconnect(api, args, options) {
|
|
356
|
+
return api.call($localLlmDisconnect, args, options);
|
|
357
|
+
}
|
|
358
|
+
var $localLlmStatus = { m: "GET", p: "/chat/local-llm/status", d: "matrx-local", a: "loopback_open", o: "exempt", n: "chat.local_llm_status" };
|
|
359
|
+
function localLlmStatus(api, args, options) {
|
|
360
|
+
return api.call($localLlmStatus, args, options);
|
|
361
|
+
}
|
|
362
|
+
var TABLE = {
|
|
363
|
+
"POST /ai/conversation/{conversation_id}/warm": $conversationsWarmConversation,
|
|
364
|
+
"POST /ai/conversations/{conversation_id}/warm": $conversationsWarmConversationPost,
|
|
365
|
+
"POST /ai/conversation/{conversation_id}/tool_results": $conversationsSubmitToolResults,
|
|
366
|
+
"POST /ai/conversations/{conversation_id}/tool_results": $conversationsSubmitToolResultsPost,
|
|
367
|
+
"GET /ai/conversation/{conversation_id}/pending_calls": $conversationsListConversationPendingCalls,
|
|
368
|
+
"GET /ai/conversations/{conversation_id}/pending_calls": $conversationsListConversationPendingCallsGet,
|
|
369
|
+
"GET /ai/user/pending_calls": $listUserPendingCalls,
|
|
370
|
+
"GET /ai/conversation/{conversation_id}/inbox": $conversationsListInboxItems,
|
|
371
|
+
"POST /ai/conversation/{conversation_id}/inbox": $conversationsEnqueueInboxItem,
|
|
372
|
+
"GET /ai/conversations/{conversation_id}/inbox": $conversationsListInboxItemsGet,
|
|
373
|
+
"POST /ai/conversations/{conversation_id}/inbox": $conversationsEnqueueInboxItemPost,
|
|
374
|
+
"PATCH /ai/conversation/{conversation_id}/inbox/{injection_id}": $conversationsEditInboxItem,
|
|
375
|
+
"DELETE /ai/conversation/{conversation_id}/inbox/{injection_id}": $conversationsCancelInboxItem,
|
|
376
|
+
"PATCH /ai/conversations/{conversation_id}/inbox/{injection_id}": $conversationsEditInboxItemPatch,
|
|
377
|
+
"DELETE /ai/conversations/{conversation_id}/inbox/{injection_id}": $conversationsCancelInboxItemDelete,
|
|
378
|
+
"GET /ai/conversation/{conversation_id}/sandbox": $conversationsGetConversationSandbox,
|
|
379
|
+
"PUT /ai/conversation/{conversation_id}/sandbox": $conversationsBindConversationSandbox,
|
|
380
|
+
"DELETE /ai/conversation/{conversation_id}/sandbox": $conversationsUnbindConversationSandbox,
|
|
381
|
+
"GET /ai/conversations/{conversation_id}/sandbox": $conversationsGetConversationSandboxGet,
|
|
382
|
+
"PUT /ai/conversations/{conversation_id}/sandbox": $conversationsBindConversationSandboxPut,
|
|
383
|
+
"DELETE /ai/conversations/{conversation_id}/sandbox": $conversationsUnbindConversationSandboxDelete,
|
|
384
|
+
"GET /ai/conversation/{conversation_id}/memory_cost": $conversationsGetConversationMemoryCost,
|
|
385
|
+
"GET /ai/conversations/{conversation_id}/memory_cost": $conversationsGetConversationMemoryCostGet,
|
|
386
|
+
"POST /ai/cancel/{request_id}": $cancelRequest,
|
|
387
|
+
"POST /ai/retry-now/{request_id}": $retryNowRequest,
|
|
388
|
+
"POST /ai/warm": $warm,
|
|
389
|
+
"GET /ai/warm/health": $warmHealthRoute,
|
|
390
|
+
"POST /v2/ai/manual": $v2ChatV2,
|
|
391
|
+
"POST /v2/ai/chat": $v2ChatV2Post,
|
|
392
|
+
"POST /v2/ai/agent/{agent_id}": $v2StartAgentV2,
|
|
393
|
+
"POST /v2/ai/agents/{agent_id}": $v2StartAgentV2Post,
|
|
394
|
+
"POST /v2/ai/mandates/{mandate_key}": $startMandatedAgentV2,
|
|
395
|
+
"POST /v2/ai/conversation/{conversation_id}": $v2ContinueConversationV2,
|
|
396
|
+
"POST /v2/ai/conversations/{conversation_id}": $v2ContinueConversationV2Post,
|
|
397
|
+
"POST /v2/ai/prompts/{prompt_id}": $startPromptV2,
|
|
398
|
+
"GET /conversations/{conversation_id}/attachments": $getConversationAttachments,
|
|
399
|
+
"POST /conversations/{conversation_id}/attachments": $attachConversationResource,
|
|
400
|
+
"DELETE /conversations/{conversation_id}/attachments/{association_id}": $detachConversationResource,
|
|
401
|
+
"GET /group-chat/{anchor_type}/{anchor_id}": $getGroupChat,
|
|
402
|
+
"PUT /group-chat/{anchor_type}/{anchor_id}/participants/{participant_id}/policy": $putParticipantPolicy,
|
|
403
|
+
"GET /admin/cx-explorer/attribution-registry": $getAttributionRegistry,
|
|
404
|
+
"GET /admin/cx-explorer/facets": $getFacets,
|
|
405
|
+
"GET /cx/conversations": $getUserConversations,
|
|
406
|
+
"GET /cx/conversations/{conversation_id}": $getConversationWithAllRelated,
|
|
407
|
+
"PATCH /cx/conversations/{conversation_id}": $updateConversationSettingsDoor,
|
|
408
|
+
"DELETE /cx/conversations/{conversation_id}": $deleteConversationDoor,
|
|
409
|
+
"GET /cx/conversations/{conversation_id}/requests": $getConversationRequests,
|
|
410
|
+
"GET /cx/conversations/{conversation_id}/context-state": $getContextState,
|
|
411
|
+
"POST /cx/conversations/{conversation_id}/invalidate-cache": $invalidateConversationCache,
|
|
412
|
+
"PATCH /cx/conversations/{conversation_id}/messages/{message_id}": $updateMessage,
|
|
413
|
+
"DELETE /cx/conversations/{conversation_id}/messages/{message_id}": $deleteMessage,
|
|
414
|
+
"DELETE /cx/conversations/{conversation_id}/messages": $deleteAllMessages,
|
|
415
|
+
"POST /cx/conversations/{conversation_id}/fork": $forkConversation,
|
|
416
|
+
"POST /cx/conversations/{conversation_id}/messages/delete": $batchDeleteMessages,
|
|
417
|
+
"POST /cx/conversations/{conversation_id}/messages/replace": $replaceMessages,
|
|
418
|
+
"POST /cx/conversations/{conversation_id}/messages/hide": $hideMessagesFromModel,
|
|
419
|
+
"POST /cx/conversations/{conversation_id}/messages/restore": $restoreCompaction,
|
|
420
|
+
"POST /cx/conversations/{conversation_id}/turns/compact": $compactTurns,
|
|
421
|
+
"GET /chat/tools": $listToolSchemas,
|
|
422
|
+
"GET /chat/tools/by-category": $listToolSchemasByCategory,
|
|
423
|
+
"GET /chat/tools/anthropic": $listAnthropicToolSchemas,
|
|
424
|
+
"GET /chat/local-tools": $listLocalTools,
|
|
425
|
+
"PUT /chat/local-tools/exposure": $setLocalToolExposure,
|
|
426
|
+
"GET /chat/delegation/status": $delegationStatus,
|
|
427
|
+
"POST /chat/delegation/ui-claim": $delegationUiClaim,
|
|
428
|
+
"POST /chat/delegation/ui-release": $delegationUiRelease,
|
|
429
|
+
"GET /chat/delegation/reviews": $delegationPendingReviews,
|
|
430
|
+
"POST /chat/delegation/review-decision": $delegationReviewDecision,
|
|
431
|
+
"GET /chat/delegation/conversation/{conversation_id}": $delegationConversationState,
|
|
432
|
+
"GET /chat/models": $listModels,
|
|
433
|
+
"GET /chat/sync/status": $chatSyncStatus,
|
|
434
|
+
"POST /chat/sync/trigger": $triggerChatSync,
|
|
435
|
+
"GET /chat/mirror/status": $chatMirrorStatus,
|
|
436
|
+
"POST /chat/mirror/sync": $triggerChatMirrorSync,
|
|
437
|
+
"GET /chat/ai-status": $aiProviderStatus,
|
|
438
|
+
"GET /chat/provider-readiness/{provider}": $providerReadiness,
|
|
439
|
+
"POST /chat/local-llm/connect": $localLlmConnect,
|
|
440
|
+
"POST /chat/local-llm/disconnect": $localLlmDisconnect,
|
|
441
|
+
"GET /chat/local-llm/status": $localLlmStatus
|
|
442
|
+
};
|
|
443
|
+
function call(api, key, args, options) {
|
|
444
|
+
return api.call(TABLE[key], args, options);
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
export { aiProviderStatus, attachConversationResource, batchDeleteMessages, call, cancelRequest, chat, chatMirrorStatus, chatPost, chatSyncStatus, compactTurns, conversationsBindConversationSandbox, conversationsBindConversationSandboxPut, conversationsCancelInboxItem, conversationsCancelInboxItemDelete, conversationsContinueConversation, conversationsContinueConversationPost, conversationsEditInboxItem, conversationsEditInboxItemPatch, conversationsEnqueueInboxItem, conversationsEnqueueInboxItemPost, conversationsForkAndRun, conversationsForkAndRunPost, conversationsGetConversationMemoryCost, conversationsGetConversationMemoryCostGet, conversationsGetConversationSandbox, conversationsGetConversationSandboxGet, conversationsListConversationPendingCalls, conversationsListConversationPendingCallsGet, conversationsListInboxItems, conversationsListInboxItemsGet, conversationsResumeConversation, conversationsResumeConversationPost, conversationsSubmitToolResults, conversationsSubmitToolResultsPost, conversationsUnbindConversationSandbox, conversationsUnbindConversationSandboxDelete, conversationsWarmConversation, conversationsWarmConversationPost, delegationConversationState, delegationPendingReviews, delegationReviewDecision, delegationStatus, delegationUiClaim, delegationUiRelease, deleteAllMessages, deleteConversationDoor, deleteMessage, detachConversationResource, directChat, forkConversation, getAttributionRegistry, getContextState, getConversationAttachments, getConversationRequests, getConversationWithAllRelated, getFacets, getGroupChat, getUserConversations, hideMessagesFromModel, invalidateConversationCache, listAnthropicToolSchemas, listLocalTools, listModels, listToolSchemas, listToolSchemasByCategory, listUserPendingCalls, localLlmConnect, localLlmDisconnect, localLlmStatus, promptExecution, providerReadiness, putParticipantPolicy, replaceMessages, restoreCompaction, retryNowRequest, setLocalToolExposure, startMandatedAgentV2, startPromptV2, triggerChatMirrorSync, triggerChatSync, updateConversationSettingsDoor, updateMessage, v2ChatV2, v2ChatV2Post, v2ContinueConversationV2, v2ContinueConversationV2Post, v2StartAgentV2, v2StartAgentV2Post, warm, warmHealthRoute };
|