@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.
Files changed (120) hide show
  1. package/dist/ai-chat.capability.d.ts +2 -0
  2. package/dist/ai-chat.capability.d.ts.map +1 -0
  3. package/dist/ai-chat.feature.d.ts +1 -6
  4. package/dist/ai-chat.feature.d.ts.map +1 -1
  5. package/dist/ai-chat.operations.d.ts +217 -223
  6. package/dist/ai-chat.operations.d.ts.map +1 -1
  7. package/dist/browser/context/index.js +415 -0
  8. package/dist/browser/core/index.js +336 -0
  9. package/dist/browser/index.js +2291 -0
  10. package/dist/browser/presentation/components/index.js +974 -0
  11. package/dist/browser/presentation/hooks/index.js +556 -0
  12. package/dist/browser/presentation/index.js +1520 -0
  13. package/dist/browser/providers/index.js +51 -0
  14. package/dist/context/chat.test.d.ts +2 -0
  15. package/dist/context/chat.test.d.ts.map +1 -0
  16. package/dist/context/context-builder.d.ts +37 -36
  17. package/dist/context/context-builder.d.ts.map +1 -1
  18. package/dist/context/file-operations.d.ts +64 -67
  19. package/dist/context/file-operations.d.ts.map +1 -1
  20. package/dist/context/index.d.ts +7 -4
  21. package/dist/context/index.d.ts.map +1 -0
  22. package/dist/context/index.js +409 -4
  23. package/dist/context/workspace-context.d.ts +84 -87
  24. package/dist/context/workspace-context.d.ts.map +1 -1
  25. package/dist/core/chat-service.d.ts +56 -60
  26. package/dist/core/chat-service.d.ts.map +1 -1
  27. package/dist/core/conversation-store.d.ts +60 -61
  28. package/dist/core/conversation-store.d.ts.map +1 -1
  29. package/dist/core/index.d.ts +7 -4
  30. package/dist/core/index.d.ts.map +1 -0
  31. package/dist/core/index.js +330 -3
  32. package/dist/core/message-types.d.ts +94 -97
  33. package/dist/core/message-types.d.ts.map +1 -1
  34. package/dist/docs/ai-chat.docblock.d.ts +2 -0
  35. package/dist/docs/ai-chat.docblock.d.ts.map +1 -0
  36. package/dist/docs/index.d.ts +7 -0
  37. package/dist/docs/index.d.ts.map +1 -0
  38. package/dist/events.d.ts +103 -109
  39. package/dist/events.d.ts.map +1 -1
  40. package/dist/index.d.ts +16 -21
  41. package/dist/index.d.ts.map +1 -0
  42. package/dist/index.js +2286 -23
  43. package/dist/node/context/index.js +410 -0
  44. package/dist/node/core/index.js +331 -0
  45. package/dist/node/index.js +2286 -0
  46. package/dist/node/presentation/components/index.js +969 -0
  47. package/dist/node/presentation/hooks/index.js +551 -0
  48. package/dist/node/presentation/index.js +1515 -0
  49. package/dist/node/providers/index.js +46 -0
  50. package/dist/presentation/components/ChatContainer.d.ts +7 -16
  51. package/dist/presentation/components/ChatContainer.d.ts.map +1 -1
  52. package/dist/presentation/components/ChatInput.d.ts +17 -30
  53. package/dist/presentation/components/ChatInput.d.ts.map +1 -1
  54. package/dist/presentation/components/ChatMessage.d.ts +9 -19
  55. package/dist/presentation/components/ChatMessage.d.ts.map +1 -1
  56. package/dist/presentation/components/CodePreview.d.ts +20 -35
  57. package/dist/presentation/components/CodePreview.d.ts.map +1 -1
  58. package/dist/presentation/components/ContextIndicator.d.ts +11 -21
  59. package/dist/presentation/components/ContextIndicator.d.ts.map +1 -1
  60. package/dist/presentation/components/ModelPicker.d.ts +21 -32
  61. package/dist/presentation/components/ModelPicker.d.ts.map +1 -1
  62. package/dist/presentation/components/index.d.ts +10 -7
  63. package/dist/presentation/components/index.d.ts.map +1 -0
  64. package/dist/presentation/components/index.js +968 -7
  65. package/dist/presentation/hooks/index.d.ts +6 -3
  66. package/dist/presentation/hooks/index.d.ts.map +1 -0
  67. package/dist/presentation/hooks/index.js +550 -3
  68. package/dist/presentation/hooks/use-chat.test.d.ts +2 -0
  69. package/dist/presentation/hooks/use-chat.test.d.ts.map +1 -0
  70. package/dist/presentation/hooks/useChat.d.ts +50 -54
  71. package/dist/presentation/hooks/useChat.d.ts.map +1 -1
  72. package/dist/presentation/hooks/useProviders.d.ts +21 -25
  73. package/dist/presentation/hooks/useProviders.d.ts.map +1 -1
  74. package/dist/presentation/index.d.ts +8 -11
  75. package/dist/presentation/index.d.ts.map +1 -0
  76. package/dist/presentation/index.js +1515 -12
  77. package/dist/providers/chat-utilities.d.ts +18 -7
  78. package/dist/providers/chat-utilities.d.ts.map +1 -1
  79. package/dist/providers/index.d.ts +8 -3
  80. package/dist/providers/index.d.ts.map +1 -0
  81. package/dist/providers/index.js +45 -3
  82. package/dist/schema.d.ts +195 -200
  83. package/dist/schema.d.ts.map +1 -1
  84. package/package.json +123 -34
  85. package/dist/ai-chat.feature.js +0 -102
  86. package/dist/ai-chat.feature.js.map +0 -1
  87. package/dist/ai-chat.operations.js +0 -172
  88. package/dist/ai-chat.operations.js.map +0 -1
  89. package/dist/context/context-builder.js +0 -148
  90. package/dist/context/context-builder.js.map +0 -1
  91. package/dist/context/file-operations.js +0 -175
  92. package/dist/context/file-operations.js.map +0 -1
  93. package/dist/context/workspace-context.js +0 -124
  94. package/dist/context/workspace-context.js.map +0 -1
  95. package/dist/core/chat-service.js +0 -227
  96. package/dist/core/chat-service.js.map +0 -1
  97. package/dist/core/conversation-store.js +0 -109
  98. package/dist/core/conversation-store.js.map +0 -1
  99. package/dist/events.js +0 -98
  100. package/dist/events.js.map +0 -1
  101. package/dist/presentation/components/ChatContainer.js +0 -63
  102. package/dist/presentation/components/ChatContainer.js.map +0 -1
  103. package/dist/presentation/components/ChatInput.js +0 -149
  104. package/dist/presentation/components/ChatInput.js.map +0 -1
  105. package/dist/presentation/components/ChatMessage.js +0 -136
  106. package/dist/presentation/components/ChatMessage.js.map +0 -1
  107. package/dist/presentation/components/CodePreview.js +0 -127
  108. package/dist/presentation/components/CodePreview.js.map +0 -1
  109. package/dist/presentation/components/ContextIndicator.js +0 -97
  110. package/dist/presentation/components/ContextIndicator.js.map +0 -1
  111. package/dist/presentation/components/ModelPicker.js +0 -202
  112. package/dist/presentation/components/ModelPicker.js.map +0 -1
  113. package/dist/presentation/hooks/useChat.js +0 -172
  114. package/dist/presentation/hooks/useChat.js.map +0 -1
  115. package/dist/presentation/hooks/useProviders.js +0 -41
  116. package/dist/presentation/hooks/useProviders.js.map +0 -1
  117. package/dist/providers/chat-utilities.js +0 -17
  118. package/dist/providers/chat-utilities.js.map +0 -1
  119. package/dist/schema.js +0 -100
  120. package/dist/schema.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ export declare const AiChatCapability: import("@contractspec/lib.contracts").CapabilitySpec;
2
+ //# sourceMappingURL=ai-chat.capability.d.ts.map
@@ -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: _contractspec_lib_contracts0.FeatureModuleSpec;
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","names":[],"sources":["../src/ai-chat.feature.ts"],"mappings":";;;;;;AAWA;cAAa,aAAA,EA8CX,4BAAA,CA9CwB,iBAAA"}
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
- import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
2
- import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
3
-
4
- //#region src/ai-chat.operations.d.ts
5
- declare const SendMessageContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
6
- conversationId: {
7
- type: _contractspec_lib_schema0.FieldType<string, string>;
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
- status: {
34
- type: _contractspec_lib_schema0.FieldType<string, string>;
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
- createdAt: {
38
- type: _contractspec_lib_schema0.FieldType<Date, string>;
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
- isOptional: false;
43
- };
44
- conversation: {
45
- type: _contractspec_lib_schema0.SchemaModel<{
46
- id: {
47
- type: _contractspec_lib_schema0.FieldType<string, string>;
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
- title: {
51
- type: _contractspec_lib_schema0.FieldType<string, string>;
100
+ };
101
+ stream: {
102
+ type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
52
103
  isOptional: true;
53
- };
54
- status: {
55
- type: _contractspec_lib_schema0.FieldType<string, string>;
104
+ };
105
+ }>, import("@contractspec/lib.schema").SchemaModel<{
106
+ stream: {
107
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
56
108
  isOptional: false;
57
- };
58
- messages: {
59
- type: _contractspec_lib_schema0.SchemaModel<{
60
- id: {
61
- type: _contractspec_lib_schema0.FieldType<string, string>;
62
- isOptional: false;
63
- };
64
- role: {
65
- type: _contractspec_lib_schema0.FieldType<string, string>;
66
- isOptional: false;
67
- };
68
- content: {
69
- type: _contractspec_lib_schema0.FieldType<string, string>;
70
- isOptional: false;
71
- };
72
- status: {
73
- type: _contractspec_lib_schema0.FieldType<string, string>;
74
- isOptional: false;
75
- };
76
- createdAt: {
77
- type: _contractspec_lib_schema0.FieldType<Date, string>;
78
- isOptional: false;
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 StreamMessageContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
97
- conversationId: {
98
- type: _contractspec_lib_schema0.FieldType<string, string>;
99
- isOptional: true;
100
- };
101
- content: {
102
- type: _contractspec_lib_schema0.FieldType<string, string>;
103
- isOptional: false;
104
- };
105
- stream: {
106
- type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
107
- isOptional: true;
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
- status: {
127
- type: _contractspec_lib_schema0.FieldType<string, string>;
128
- isOptional: false;
129
- };
130
- messages: {
131
- type: _contractspec_lib_schema0.SchemaModel<{
132
- id: {
133
- type: _contractspec_lib_schema0.FieldType<string, string>;
134
- isOptional: false;
135
- };
136
- role: {
137
- type: _contractspec_lib_schema0.FieldType<string, string>;
138
- isOptional: false;
139
- };
140
- content: {
141
- type: _contractspec_lib_schema0.FieldType<string, string>;
142
- isOptional: false;
143
- };
144
- status: {
145
- type: _contractspec_lib_schema0.FieldType<string, string>;
146
- isOptional: false;
147
- };
148
- createdAt: {
149
- type: _contractspec_lib_schema0.FieldType<Date, string>;
150
- isOptional: false;
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
- provider: {
157
- type: _contractspec_lib_schema0.FieldType<string, string>;
208
+ };
209
+ provider: {
210
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
158
211
  isOptional: false;
159
- };
160
- model: {
161
- type: _contractspec_lib_schema0.FieldType<string, string>;
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 GetConversationContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
170
- id: {
171
- type: _contractspec_lib_schema0.FieldType<string, string>;
172
- isOptional: false;
173
- };
174
- }>, _contractspec_lib_schema0.SchemaModel<{
175
- id: {
176
- type: _contractspec_lib_schema0.FieldType<string, string>;
177
- isOptional: false;
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 DeleteConversationContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
223
- id: {
224
- type: _contractspec_lib_schema0.FieldType<string, string>;
225
- isOptional: false;
226
- };
227
- }>, _contractspec_lib_schema0.SchemaModel<{}>, undefined>;
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","names":[],"sources":["../src/ai-chat.operations.ts"],"mappings":";;;;cASa,mBAAA,+BAAmB,aAAA,2BAAA,WAAA;;UAa9B,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAb8B,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsBnB,qBAAA,+BAAqB,aAAA,2BAAA,WAAA;;UAahC,yBAAA,CAAA,SAAA;;;;;;;;;;;;;UAbgC,yBAAA,CAAA,SAAA;;;;cAerB,yBAAA,EAAyB,4BAAA,CAAA,aAAA,CAgBpC,yBAAA,CAhBoC,WAAA,gCAAA,WAAA;;;;cAAA,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBzB,uBAAA,+BAAuB,aAAA,2BAAA,WAAA;;UAqBlC,yBAAA,CAAA,SAAA;;;;;UArBkC,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuBvB,0BAAA,+BAA0B,aAAA,2BAAA,WAAA;;UAqBrC,yBAAA,CAAA,SAAA;;;IArBqC,yBAAA,CAAA,WAAA;AAAA,cAuB1B,qBAAA,EAAqB,4BAAA,CAAA,aAAA,CAyBhC,yBAAA,CAzBgC,WAAA,gCAAA,WAAA;;UAAA,yBAAA,CAAA,SAAA;;;;;cA2BrB,mBAAA,+BAAmB,aAAA,2BAAA,WAAA;;UAqB9B,yBAAA,CAAA,SAAA;;;IArB8B,yBAAA,CAAA,WAAA"}
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"}