@contractspec/module.ai-chat 1.57.0 → 1.58.0
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/ai-chat.capability.d.ts +2 -0
- package/dist/ai-chat.capability.d.ts.map +1 -0
- package/dist/ai-chat.feature.d.ts +1 -6
- package/dist/ai-chat.feature.d.ts.map +1 -1
- package/dist/ai-chat.operations.d.ts +217 -223
- package/dist/ai-chat.operations.d.ts.map +1 -1
- package/dist/browser/context/index.js +415 -0
- package/dist/browser/core/index.js +336 -0
- package/dist/browser/index.js +2291 -0
- package/dist/browser/presentation/components/index.js +974 -0
- package/dist/browser/presentation/hooks/index.js +556 -0
- package/dist/browser/presentation/index.js +1520 -0
- package/dist/browser/providers/index.js +51 -0
- package/dist/context/chat.test.d.ts +2 -0
- package/dist/context/chat.test.d.ts.map +1 -0
- package/dist/context/context-builder.d.ts +37 -36
- package/dist/context/context-builder.d.ts.map +1 -1
- package/dist/context/file-operations.d.ts +64 -67
- package/dist/context/file-operations.d.ts.map +1 -1
- package/dist/context/index.d.ts +7 -4
- package/dist/context/index.d.ts.map +1 -0
- package/dist/context/index.js +409 -4
- package/dist/context/workspace-context.d.ts +84 -87
- package/dist/context/workspace-context.d.ts.map +1 -1
- package/dist/core/chat-service.d.ts +56 -60
- package/dist/core/chat-service.d.ts.map +1 -1
- package/dist/core/conversation-store.d.ts +60 -61
- package/dist/core/conversation-store.d.ts.map +1 -1
- package/dist/core/index.d.ts +7 -4
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +330 -3
- package/dist/core/message-types.d.ts +94 -97
- package/dist/core/message-types.d.ts.map +1 -1
- package/dist/docs/ai-chat.docblock.d.ts +2 -0
- package/dist/docs/ai-chat.docblock.d.ts.map +1 -0
- package/dist/docs/index.d.ts +7 -0
- package/dist/docs/index.d.ts.map +1 -0
- package/dist/events.d.ts +103 -109
- package/dist/events.d.ts.map +1 -1
- package/dist/index.d.ts +16 -21
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2286 -23
- package/dist/node/context/index.js +410 -0
- package/dist/node/core/index.js +331 -0
- package/dist/node/index.js +2286 -0
- package/dist/node/presentation/components/index.js +969 -0
- package/dist/node/presentation/hooks/index.js +551 -0
- package/dist/node/presentation/index.js +1515 -0
- package/dist/node/providers/index.js +46 -0
- package/dist/presentation/components/ChatContainer.d.ts +7 -16
- package/dist/presentation/components/ChatContainer.d.ts.map +1 -1
- package/dist/presentation/components/ChatInput.d.ts +17 -30
- package/dist/presentation/components/ChatInput.d.ts.map +1 -1
- package/dist/presentation/components/ChatMessage.d.ts +9 -19
- package/dist/presentation/components/ChatMessage.d.ts.map +1 -1
- package/dist/presentation/components/CodePreview.d.ts +20 -35
- package/dist/presentation/components/CodePreview.d.ts.map +1 -1
- package/dist/presentation/components/ContextIndicator.d.ts +11 -21
- package/dist/presentation/components/ContextIndicator.d.ts.map +1 -1
- package/dist/presentation/components/ModelPicker.d.ts +21 -32
- package/dist/presentation/components/ModelPicker.d.ts.map +1 -1
- package/dist/presentation/components/index.d.ts +10 -7
- package/dist/presentation/components/index.d.ts.map +1 -0
- package/dist/presentation/components/index.js +968 -7
- package/dist/presentation/hooks/index.d.ts +6 -3
- package/dist/presentation/hooks/index.d.ts.map +1 -0
- package/dist/presentation/hooks/index.js +550 -3
- package/dist/presentation/hooks/use-chat.test.d.ts +2 -0
- package/dist/presentation/hooks/use-chat.test.d.ts.map +1 -0
- package/dist/presentation/hooks/useChat.d.ts +50 -54
- package/dist/presentation/hooks/useChat.d.ts.map +1 -1
- package/dist/presentation/hooks/useProviders.d.ts +21 -25
- package/dist/presentation/hooks/useProviders.d.ts.map +1 -1
- package/dist/presentation/index.d.ts +8 -11
- package/dist/presentation/index.d.ts.map +1 -0
- package/dist/presentation/index.js +1515 -12
- package/dist/providers/chat-utilities.d.ts +18 -7
- package/dist/providers/chat-utilities.d.ts.map +1 -1
- package/dist/providers/index.d.ts +8 -3
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.js +45 -3
- package/dist/schema.d.ts +195 -200
- package/dist/schema.d.ts.map +1 -1
- package/package.json +123 -34
- package/dist/ai-chat.feature.js +0 -102
- package/dist/ai-chat.feature.js.map +0 -1
- package/dist/ai-chat.operations.js +0 -172
- package/dist/ai-chat.operations.js.map +0 -1
- package/dist/context/context-builder.js +0 -148
- package/dist/context/context-builder.js.map +0 -1
- package/dist/context/file-operations.js +0 -175
- package/dist/context/file-operations.js.map +0 -1
- package/dist/context/workspace-context.js +0 -124
- package/dist/context/workspace-context.js.map +0 -1
- package/dist/core/chat-service.js +0 -227
- package/dist/core/chat-service.js.map +0 -1
- package/dist/core/conversation-store.js +0 -109
- package/dist/core/conversation-store.js.map +0 -1
- package/dist/events.js +0 -98
- package/dist/events.js.map +0 -1
- package/dist/presentation/components/ChatContainer.js +0 -63
- package/dist/presentation/components/ChatContainer.js.map +0 -1
- package/dist/presentation/components/ChatInput.js +0 -149
- package/dist/presentation/components/ChatInput.js.map +0 -1
- package/dist/presentation/components/ChatMessage.js +0 -136
- package/dist/presentation/components/ChatMessage.js.map +0 -1
- package/dist/presentation/components/CodePreview.js +0 -127
- package/dist/presentation/components/CodePreview.js.map +0 -1
- package/dist/presentation/components/ContextIndicator.js +0 -97
- package/dist/presentation/components/ContextIndicator.js.map +0 -1
- package/dist/presentation/components/ModelPicker.js +0 -202
- package/dist/presentation/components/ModelPicker.js.map +0 -1
- package/dist/presentation/hooks/useChat.js +0 -172
- package/dist/presentation/hooks/useChat.js.map +0 -1
- package/dist/presentation/hooks/useProviders.js +0 -41
- package/dist/presentation/hooks/useProviders.js.map +0 -1
- package/dist/providers/chat-utilities.js +0 -17
- package/dist/providers/chat-utilities.js.map +0 -1
- package/dist/schema.js +0 -100
- package/dist/schema.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-chat.capability.d.ts","sourceRoot":"","sources":["../src/ai-chat.capability.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,sDAU3B,CAAC"}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
|
-
|
|
3
|
-
//#region src/ai-chat.feature.d.ts
|
|
4
1
|
/**
|
|
5
2
|
* AI Chat feature module that bundles conversational AI assistance
|
|
6
3
|
* for ContractSpec development across CLI, VSCode, and Studio.
|
|
7
4
|
*/
|
|
8
|
-
declare const AiChatFeature:
|
|
9
|
-
//#endregion
|
|
10
|
-
export { AiChatFeature };
|
|
5
|
+
export declare const AiChatFeature: import("@contractspec/lib.contracts").FeatureModuleSpec;
|
|
11
6
|
//# sourceMappingURL=ai-chat.feature.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-chat.feature.d.ts","
|
|
1
|
+
{"version":3,"file":"ai-chat.feature.d.ts","sourceRoot":"","sources":["../src/ai-chat.feature.ts"],"names":[],"mappings":"AAOA;;;GAGG;AACH,eAAO,MAAM,aAAa,yDA8CxB,CAAC"}
|
|
@@ -1,243 +1,237 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
isOptional: true;
|
|
9
|
-
};
|
|
10
|
-
content: {
|
|
11
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
12
|
-
isOptional: false;
|
|
13
|
-
};
|
|
14
|
-
stream: {
|
|
15
|
-
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
16
|
-
isOptional: true;
|
|
17
|
-
};
|
|
18
|
-
}>, _contractspec_lib_schema0.SchemaModel<{
|
|
19
|
-
message: {
|
|
20
|
-
type: _contractspec_lib_schema0.SchemaModel<{
|
|
21
|
-
id: {
|
|
22
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
23
|
-
isOptional: false;
|
|
24
|
-
};
|
|
25
|
-
role: {
|
|
26
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
27
|
-
isOptional: false;
|
|
28
|
-
};
|
|
29
|
-
content: {
|
|
30
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
1
|
+
export declare const SendMessageContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
2
|
+
conversationId: {
|
|
3
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
4
|
+
isOptional: true;
|
|
5
|
+
};
|
|
6
|
+
content: {
|
|
7
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
31
8
|
isOptional: false;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
type:
|
|
9
|
+
};
|
|
10
|
+
stream: {
|
|
11
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
12
|
+
isOptional: true;
|
|
13
|
+
};
|
|
14
|
+
}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
15
|
+
message: {
|
|
16
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
17
|
+
id: {
|
|
18
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
19
|
+
isOptional: false;
|
|
20
|
+
};
|
|
21
|
+
role: {
|
|
22
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
23
|
+
isOptional: false;
|
|
24
|
+
};
|
|
25
|
+
content: {
|
|
26
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
27
|
+
isOptional: false;
|
|
28
|
+
};
|
|
29
|
+
status: {
|
|
30
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
31
|
+
isOptional: false;
|
|
32
|
+
};
|
|
33
|
+
createdAt: {
|
|
34
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
35
|
+
isOptional: false;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
35
38
|
isOptional: false;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
type:
|
|
39
|
+
};
|
|
40
|
+
conversation: {
|
|
41
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
42
|
+
id: {
|
|
43
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
44
|
+
isOptional: false;
|
|
45
|
+
};
|
|
46
|
+
title: {
|
|
47
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
48
|
+
isOptional: true;
|
|
49
|
+
};
|
|
50
|
+
status: {
|
|
51
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
52
|
+
isOptional: false;
|
|
53
|
+
};
|
|
54
|
+
messages: {
|
|
55
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
56
|
+
id: {
|
|
57
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
58
|
+
isOptional: false;
|
|
59
|
+
};
|
|
60
|
+
role: {
|
|
61
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
62
|
+
isOptional: false;
|
|
63
|
+
};
|
|
64
|
+
content: {
|
|
65
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
66
|
+
isOptional: false;
|
|
67
|
+
};
|
|
68
|
+
status: {
|
|
69
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
70
|
+
isOptional: false;
|
|
71
|
+
};
|
|
72
|
+
createdAt: {
|
|
73
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
74
|
+
isOptional: false;
|
|
75
|
+
};
|
|
76
|
+
}>;
|
|
77
|
+
isArray: true;
|
|
78
|
+
isOptional: false;
|
|
79
|
+
};
|
|
80
|
+
provider: {
|
|
81
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
82
|
+
isOptional: false;
|
|
83
|
+
};
|
|
84
|
+
model: {
|
|
85
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
86
|
+
isOptional: false;
|
|
87
|
+
};
|
|
88
|
+
}>;
|
|
39
89
|
isOptional: false;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
90
|
+
};
|
|
91
|
+
}>, undefined>;
|
|
92
|
+
export declare const StreamMessageContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
93
|
+
conversationId: {
|
|
94
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
95
|
+
isOptional: true;
|
|
96
|
+
};
|
|
97
|
+
content: {
|
|
98
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
48
99
|
isOptional: false;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
type:
|
|
100
|
+
};
|
|
101
|
+
stream: {
|
|
102
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
52
103
|
isOptional: true;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
104
|
+
};
|
|
105
|
+
}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
106
|
+
stream: {
|
|
107
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
56
108
|
isOptional: false;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
109
|
+
};
|
|
110
|
+
}>, undefined>;
|
|
111
|
+
export declare const ListConversationsContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
112
|
+
conversations: {
|
|
113
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
114
|
+
id: {
|
|
115
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
116
|
+
isOptional: false;
|
|
117
|
+
};
|
|
118
|
+
title: {
|
|
119
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
120
|
+
isOptional: true;
|
|
121
|
+
};
|
|
122
|
+
status: {
|
|
123
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
124
|
+
isOptional: false;
|
|
125
|
+
};
|
|
126
|
+
messages: {
|
|
127
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
128
|
+
id: {
|
|
129
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
130
|
+
isOptional: false;
|
|
131
|
+
};
|
|
132
|
+
role: {
|
|
133
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
134
|
+
isOptional: false;
|
|
135
|
+
};
|
|
136
|
+
content: {
|
|
137
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
138
|
+
isOptional: false;
|
|
139
|
+
};
|
|
140
|
+
status: {
|
|
141
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
142
|
+
isOptional: false;
|
|
143
|
+
};
|
|
144
|
+
createdAt: {
|
|
145
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
146
|
+
isOptional: false;
|
|
147
|
+
};
|
|
148
|
+
}>;
|
|
149
|
+
isArray: true;
|
|
150
|
+
isOptional: false;
|
|
151
|
+
};
|
|
152
|
+
provider: {
|
|
153
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
154
|
+
isOptional: false;
|
|
155
|
+
};
|
|
156
|
+
model: {
|
|
157
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
158
|
+
isOptional: false;
|
|
159
|
+
};
|
|
80
160
|
}>;
|
|
81
161
|
isArray: true;
|
|
82
162
|
isOptional: false;
|
|
83
|
-
|
|
84
|
-
provider: {
|
|
85
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
86
|
-
isOptional: false;
|
|
87
|
-
};
|
|
88
|
-
model: {
|
|
89
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
90
|
-
isOptional: false;
|
|
91
|
-
};
|
|
92
|
-
}>;
|
|
93
|
-
isOptional: false;
|
|
94
|
-
};
|
|
163
|
+
};
|
|
95
164
|
}>, undefined>;
|
|
96
|
-
declare const
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
};
|
|
109
|
-
}>, _contractspec_lib_schema0.SchemaModel<{
|
|
110
|
-
stream: {
|
|
111
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
112
|
-
isOptional: false;
|
|
113
|
-
};
|
|
114
|
-
}>, undefined>;
|
|
115
|
-
declare const ListConversationsContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{}>, _contractspec_lib_schema0.SchemaModel<{
|
|
116
|
-
conversations: {
|
|
117
|
-
type: _contractspec_lib_schema0.SchemaModel<{
|
|
118
|
-
id: {
|
|
119
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
120
|
-
isOptional: false;
|
|
121
|
-
};
|
|
122
|
-
title: {
|
|
123
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
165
|
+
export declare const GetConversationContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
166
|
+
id: {
|
|
167
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
168
|
+
isOptional: false;
|
|
169
|
+
};
|
|
170
|
+
}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
171
|
+
id: {
|
|
172
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
173
|
+
isOptional: false;
|
|
174
|
+
};
|
|
175
|
+
title: {
|
|
176
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
124
177
|
isOptional: true;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
type:
|
|
128
|
-
isOptional: false;
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
type:
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
178
|
+
};
|
|
179
|
+
status: {
|
|
180
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
181
|
+
isOptional: false;
|
|
182
|
+
};
|
|
183
|
+
messages: {
|
|
184
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
185
|
+
id: {
|
|
186
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
187
|
+
isOptional: false;
|
|
188
|
+
};
|
|
189
|
+
role: {
|
|
190
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
191
|
+
isOptional: false;
|
|
192
|
+
};
|
|
193
|
+
content: {
|
|
194
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
195
|
+
isOptional: false;
|
|
196
|
+
};
|
|
197
|
+
status: {
|
|
198
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
199
|
+
isOptional: false;
|
|
200
|
+
};
|
|
201
|
+
createdAt: {
|
|
202
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
203
|
+
isOptional: false;
|
|
204
|
+
};
|
|
152
205
|
}>;
|
|
153
206
|
isArray: true;
|
|
154
207
|
isOptional: false;
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
type:
|
|
208
|
+
};
|
|
209
|
+
provider: {
|
|
210
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
158
211
|
isOptional: false;
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
type:
|
|
212
|
+
};
|
|
213
|
+
model: {
|
|
214
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
162
215
|
isOptional: false;
|
|
163
|
-
|
|
164
|
-
}>;
|
|
165
|
-
isArray: true;
|
|
166
|
-
isOptional: false;
|
|
167
|
-
};
|
|
216
|
+
};
|
|
168
217
|
}>, undefined>;
|
|
169
|
-
declare const
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
}>,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
title: {
|
|
180
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
181
|
-
isOptional: true;
|
|
182
|
-
};
|
|
183
|
-
status: {
|
|
184
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
185
|
-
isOptional: false;
|
|
186
|
-
};
|
|
187
|
-
messages: {
|
|
188
|
-
type: _contractspec_lib_schema0.SchemaModel<{
|
|
189
|
-
id: {
|
|
190
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
191
|
-
isOptional: false;
|
|
192
|
-
};
|
|
193
|
-
role: {
|
|
194
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
195
|
-
isOptional: false;
|
|
196
|
-
};
|
|
197
|
-
content: {
|
|
198
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
199
|
-
isOptional: false;
|
|
200
|
-
};
|
|
201
|
-
status: {
|
|
202
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
203
|
-
isOptional: false;
|
|
204
|
-
};
|
|
205
|
-
createdAt: {
|
|
206
|
-
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
218
|
+
export declare const DeleteConversationContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
219
|
+
id: {
|
|
220
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
221
|
+
isOptional: false;
|
|
222
|
+
};
|
|
223
|
+
}>, import("@contractspec/lib.schema").SchemaModel<{}>, undefined>;
|
|
224
|
+
export declare const ListProvidersContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
225
|
+
providers: {
|
|
226
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
227
|
+
isArray: true;
|
|
207
228
|
isOptional: false;
|
|
208
|
-
|
|
209
|
-
}>;
|
|
210
|
-
isArray: true;
|
|
211
|
-
isOptional: false;
|
|
212
|
-
};
|
|
213
|
-
provider: {
|
|
214
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
215
|
-
isOptional: false;
|
|
216
|
-
};
|
|
217
|
-
model: {
|
|
218
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
219
|
-
isOptional: false;
|
|
220
|
-
};
|
|
229
|
+
};
|
|
221
230
|
}>, undefined>;
|
|
222
|
-
declare const
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
}>,
|
|
228
|
-
declare const ListProvidersContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{}>, _contractspec_lib_schema0.SchemaModel<{
|
|
229
|
-
providers: {
|
|
230
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
231
|
-
isArray: true;
|
|
232
|
-
isOptional: false;
|
|
233
|
-
};
|
|
234
|
-
}>, undefined>;
|
|
235
|
-
declare const ScanContextContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
236
|
-
path: {
|
|
237
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
238
|
-
isOptional: false;
|
|
239
|
-
};
|
|
240
|
-
}>, _contractspec_lib_schema0.SchemaModel<{}>, undefined>;
|
|
241
|
-
//#endregion
|
|
242
|
-
export { DeleteConversationContract, GetConversationContract, ListConversationsContract, ListProvidersContract, ScanContextContract, SendMessageContract, StreamMessageContract };
|
|
231
|
+
export declare const ScanContextContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
232
|
+
path: {
|
|
233
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
234
|
+
isOptional: false;
|
|
235
|
+
};
|
|
236
|
+
}>, import("@contractspec/lib.schema").SchemaModel<{}>, undefined>;
|
|
243
237
|
//# sourceMappingURL=ai-chat.operations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-chat.operations.d.ts","
|
|
1
|
+
{"version":3,"file":"ai-chat.operations.d.ts","sourceRoot":"","sources":["../src/ai-chat.operations.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAa9B,CAAC;AASH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;cAahC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBpC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqBlC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;kEAqBrC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;cAyBhC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;kEAqB9B,CAAC"}
|