cogito-client 1.0.9 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +8 -4
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -140,6 +140,14 @@ export declare interface CogitoSurfaceUpdate {
140
140
  state: {
141
141
  [k: string]: unknown;
142
142
  };
143
+ /**
144
+ * If specified, will cause the AI to respond to the specified message
145
+ */
146
+ userMessage?: string;
147
+ /**
148
+ * If specified, will cause the surface type to change
149
+ */
150
+ type?: string;
143
151
  }
144
152
 
145
153
  export declare interface CogitoSurfaceUpdatePayload {
@@ -151,10 +159,6 @@ export declare interface CogitoSurfaceUpdatePayload {
151
159
  state: {
152
160
  [k: string]: unknown;
153
161
  };
154
- /**
155
- * If specified, will cause the AI to respond to the specified message
156
- */
157
- userMessage?: string;
158
162
  }
159
163
 
160
164
  export declare interface CogitoSystemMessage {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cogito-client",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"