@honcho-ai/core 1.7.0 → 2.0.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/CHANGELOG.md +58 -0
- package/LICENSE +1 -1
- package/README.md +12 -1
- package/index.d.mts +2 -5
- package/index.d.ts +2 -5
- package/index.d.ts.map +1 -1
- package/index.js +0 -3
- package/index.js.map +1 -1
- package/index.mjs +0 -3
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/index.d.ts +1 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +0 -1
- package/resources/index.mjs.map +1 -1
- package/resources/workspaces/conclusions.d.ts +33 -66
- package/resources/workspaces/conclusions.d.ts.map +1 -1
- package/resources/workspaces/conclusions.js +12 -5
- package/resources/workspaces/conclusions.js.map +1 -1
- package/resources/workspaces/conclusions.mjs +12 -5
- package/resources/workspaces/conclusions.mjs.map +1 -1
- package/resources/workspaces/index.d.ts +6 -6
- package/resources/workspaces/index.d.ts.map +1 -1
- package/resources/workspaces/index.js +3 -4
- package/resources/workspaces/index.js.map +1 -1
- package/resources/workspaces/index.mjs +1 -1
- package/resources/workspaces/index.mjs.map +1 -1
- package/resources/workspaces/peers/index.d.ts +1 -1
- package/resources/workspaces/peers/index.d.ts.map +1 -1
- package/resources/workspaces/peers/peers.d.ts +82 -153
- package/resources/workspaces/peers/peers.d.ts.map +1 -1
- package/resources/workspaces/peers/peers.js +24 -20
- package/resources/workspaces/peers/peers.js.map +1 -1
- package/resources/workspaces/peers/peers.mjs +24 -20
- package/resources/workspaces/peers/peers.mjs.map +1 -1
- package/resources/workspaces/peers/sessions.d.ts +1 -1
- package/resources/workspaces/queue.d.ts +82 -0
- package/resources/workspaces/queue.d.ts.map +1 -0
- package/resources/workspaces/queue.js +16 -0
- package/resources/workspaces/queue.js.map +1 -0
- package/resources/workspaces/queue.mjs +12 -0
- package/resources/workspaces/queue.mjs.map +1 -0
- package/resources/workspaces/sessions/index.d.ts +2 -2
- package/resources/workspaces/sessions/index.d.ts.map +1 -1
- package/resources/workspaces/sessions/index.js.map +1 -1
- package/resources/workspaces/sessions/index.mjs.map +1 -1
- package/resources/workspaces/sessions/messages.d.ts +13 -11
- package/resources/workspaces/sessions/messages.d.ts.map +1 -1
- package/resources/workspaces/sessions/messages.js +10 -8
- package/resources/workspaces/sessions/messages.js.map +1 -1
- package/resources/workspaces/sessions/messages.mjs +10 -8
- package/resources/workspaces/sessions/messages.mjs.map +1 -1
- package/resources/workspaces/sessions/peers.d.ts +15 -12
- package/resources/workspaces/sessions/peers.d.ts.map +1 -1
- package/resources/workspaces/sessions/peers.js +12 -7
- package/resources/workspaces/sessions/peers.js.map +1 -1
- package/resources/workspaces/sessions/peers.mjs +12 -7
- package/resources/workspaces/sessions/peers.mjs.map +1 -1
- package/resources/workspaces/sessions/sessions.d.ts +40 -118
- package/resources/workspaces/sessions/sessions.d.ts.map +1 -1
- package/resources/workspaces/sessions/sessions.js +19 -17
- package/resources/workspaces/sessions/sessions.js.map +1 -1
- package/resources/workspaces/sessions/sessions.mjs +19 -17
- package/resources/workspaces/sessions/sessions.mjs.map +1 -1
- package/resources/workspaces/webhooks.d.ts +2 -3
- package/resources/workspaces/webhooks.d.ts.map +1 -1
- package/resources/workspaces/webhooks.js +4 -1
- package/resources/workspaces/webhooks.js.map +1 -1
- package/resources/workspaces/webhooks.mjs +4 -1
- package/resources/workspaces/webhooks.mjs.map +1 -1
- package/resources/workspaces/workspaces.d.ts +59 -196
- package/resources/workspaces/workspaces.d.ts.map +1 -1
- package/resources/workspaces/workspaces.js +32 -34
- package/resources/workspaces/workspaces.js.map +1 -1
- package/resources/workspaces/workspaces.mjs +34 -36
- package/resources/workspaces/workspaces.mjs.map +1 -1
- package/src/index.ts +4 -21
- package/src/resources/index.ts +2 -7
- package/src/resources/workspaces/conclusions.ts +36 -78
- package/src/resources/workspaces/index.ts +9 -33
- package/src/resources/workspaces/peers/index.ts +4 -4
- package/src/resources/workspaces/peers/peers.ts +102 -181
- package/src/resources/workspaces/peers/sessions.ts +1 -1
- package/src/resources/workspaces/queue.ts +111 -0
- package/src/resources/workspaces/sessions/index.ts +2 -3
- package/src/resources/workspaces/sessions/messages.ts +25 -23
- package/src/resources/workspaces/sessions/peers.ts +16 -14
- package/src/resources/workspaces/sessions/sessions.ts +53 -143
- package/src/resources/workspaces/webhooks.ts +5 -5
- package/src/resources/workspaces/workspaces.ts +99 -325
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/keys.d.ts +0 -29
- package/resources/keys.d.ts.map +0 -1
- package/resources/keys.js +0 -20
- package/resources/keys.js.map +0 -1
- package/resources/keys.mjs +0 -16
- package/resources/keys.mjs.map +0 -1
- package/resources/workspaces/observations.d.ts +0 -166
- package/resources/workspaces/observations.d.ts.map +0 -1
- package/resources/workspaces/observations.js +0 -64
- package/resources/workspaces/observations.js.map +0 -1
- package/resources/workspaces/observations.mjs +0 -59
- package/resources/workspaces/observations.mjs.map +0 -1
- package/src/resources/keys.ts +0 -51
- package/src/resources/workspaces/observations.ts +0 -249
|
@@ -1,43 +1,39 @@
|
|
|
1
1
|
import { APIResource } from "../../resource.js";
|
|
2
2
|
import * as Core from "../../core.js";
|
|
3
3
|
import * as ConclusionsAPI from "./conclusions.js";
|
|
4
|
-
import { Conclusion,
|
|
5
|
-
import * as
|
|
6
|
-
import {
|
|
4
|
+
import { Conclusion, ConclusionCreateParams, ConclusionCreateResponse, ConclusionListParams, ConclusionQueryParams, ConclusionQueryResponse, Conclusions, ConclusionsPage } from "./conclusions.js";
|
|
5
|
+
import * as QueueAPI from "./queue.js";
|
|
6
|
+
import { Queue, QueueStatusParams, QueueStatusResponse } from "./queue.js";
|
|
7
7
|
import * as WebhooksAPI from "./webhooks.js";
|
|
8
|
-
import {
|
|
8
|
+
import { WebhookEndpoint, WebhookEndpointsPage, WebhookGetOrCreateParams, WebhookListParams, WebhookTestEmitResponse, Webhooks } from "./webhooks.js";
|
|
9
9
|
import * as PeersAPI from "./peers/peers.js";
|
|
10
|
-
import { PagePeer, PageSession, Peer, PeerCardParams, PeerCardResponse, PeerChatParams, PeerChatResponse,
|
|
10
|
+
import { PagePeer, PageSession, Peer, PeerCardParams, PeerCardResponse, PeerChatParams, PeerChatResponse, PeerContextParams, PeerContextResponse, PeerGetOrCreateParams, PeerListParams, PeerRepresentationParams, PeerRepresentationResponse, PeerSearchParams, PeerSearchResponse, PeerSetCardParams, PeerUpdateParams, Peers, PeersPage, SessionGet } from "./peers/peers.js";
|
|
11
11
|
import * as MessagesAPI from "./sessions/messages.js";
|
|
12
12
|
import * as SessionsAPI from "./sessions/sessions.js";
|
|
13
|
-
import { Session, SessionCloneParams, SessionConfiguration,
|
|
13
|
+
import { Session, SessionCloneParams, SessionConfiguration, SessionContextParams, SessionContextResponse, SessionDeleteResponse, SessionGetOrCreateParams, SessionListParams, SessionSearchParams, SessionSearchResponse, SessionSummariesResponse, SessionUpdateParams, Sessions, SessionsPage, Summary } from "./sessions/sessions.js";
|
|
14
14
|
import { Page, type PageParams } from "../../pagination.js";
|
|
15
15
|
export declare class Workspaces extends APIResource {
|
|
16
|
-
conclusions: ConclusionsAPI.Conclusions;
|
|
17
|
-
observations: ObservationsAPI.Observations;
|
|
18
16
|
peers: PeersAPI.Peers;
|
|
19
17
|
sessions: SessionsAPI.Sessions;
|
|
20
18
|
webhooks: WebhooksAPI.Webhooks;
|
|
19
|
+
queue: QueueAPI.Queue;
|
|
20
|
+
conclusions: ConclusionsAPI.Conclusions;
|
|
21
21
|
/**
|
|
22
|
-
* Update
|
|
22
|
+
* Update Workspace metadata and/or configuration.
|
|
23
23
|
*/
|
|
24
24
|
update(workspaceId: string, body: WorkspaceUpdateParams, options?: Core.RequestOptions): Core.APIPromise<Workspace>;
|
|
25
25
|
/**
|
|
26
|
-
* Get all Workspaces
|
|
26
|
+
* Get all Workspaces, paginated with optional filters.
|
|
27
27
|
*/
|
|
28
28
|
list(params?: WorkspaceListParams, options?: Core.RequestOptions): Core.PagePromise<WorkspacesPage, Workspace>;
|
|
29
29
|
list(options?: Core.RequestOptions): Core.PagePromise<WorkspacesPage, Workspace>;
|
|
30
30
|
/**
|
|
31
|
-
* Delete a Workspace
|
|
32
|
-
|
|
33
|
-
delete(workspaceId: string, options?: Core.RequestOptions): Core.APIPromise<Workspace>;
|
|
34
|
-
/**
|
|
35
|
-
* Deprecated: use /queue/status. Provides identical response payload.
|
|
31
|
+
* Delete a Workspace. This will permanently delete all sessions, peers, messages,
|
|
32
|
+
* and conclusions associated with the workspace.
|
|
36
33
|
*
|
|
37
|
-
*
|
|
34
|
+
* This action cannot be undone.
|
|
38
35
|
*/
|
|
39
|
-
|
|
40
|
-
deriverStatus(workspaceId: string, options?: Core.RequestOptions): Core.APIPromise<DeriverStatus>;
|
|
36
|
+
delete(workspaceId: string, options?: Core.RequestOptions): Core.APIPromise<void>;
|
|
41
37
|
/**
|
|
42
38
|
* Get a Workspace by ID.
|
|
43
39
|
*
|
|
@@ -46,95 +42,29 @@ export declare class Workspaces extends APIResource {
|
|
|
46
42
|
*/
|
|
47
43
|
getOrCreate(body: WorkspaceGetOrCreateParams, options?: Core.RequestOptions): Core.APIPromise<Workspace>;
|
|
48
44
|
/**
|
|
49
|
-
*
|
|
50
|
-
* and/or session.
|
|
51
|
-
*/
|
|
52
|
-
queueStatus(workspaceId: string, query?: WorkspaceQueueStatusParams, options?: Core.RequestOptions): Core.APIPromise<QueueStatus>;
|
|
53
|
-
queueStatus(workspaceId: string, options?: Core.RequestOptions): Core.APIPromise<QueueStatus>;
|
|
54
|
-
/**
|
|
55
|
-
* Search a Workspace
|
|
56
|
-
*/
|
|
57
|
-
search(workspaceId: string, body: WorkspaceSearchParams, options?: Core.RequestOptions): Core.APIPromise<WorkspaceSearchResponse>;
|
|
58
|
-
/**
|
|
59
|
-
* Manually trigger a dream task immediately for a specific collection.
|
|
45
|
+
* Manually schedule a dream task for a specific collection.
|
|
60
46
|
*
|
|
61
47
|
* This endpoint bypasses all automatic dream conditions (document threshold,
|
|
62
|
-
* minimum hours between dreams) and
|
|
63
|
-
*
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
export interface DeriverConfiguration {
|
|
70
|
-
/**
|
|
71
|
-
* TODO: currently unused. Custom instructions to use for the deriver on this
|
|
72
|
-
* workspace/session/message.
|
|
73
|
-
*/
|
|
74
|
-
custom_instructions?: string | null;
|
|
75
|
-
/**
|
|
76
|
-
* Whether to enable deriver functionality.
|
|
77
|
-
*/
|
|
78
|
-
enabled?: boolean | null;
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* Deprecated: use QueueStatus.
|
|
82
|
-
*/
|
|
83
|
-
export interface DeriverStatus {
|
|
84
|
-
/**
|
|
85
|
-
* Completed work units
|
|
86
|
-
*/
|
|
87
|
-
completed_work_units: number;
|
|
88
|
-
/**
|
|
89
|
-
* Work units currently being processed
|
|
90
|
-
*/
|
|
91
|
-
in_progress_work_units: number;
|
|
92
|
-
/**
|
|
93
|
-
* Work units waiting to be processed
|
|
94
|
-
*/
|
|
95
|
-
pending_work_units: number;
|
|
96
|
-
/**
|
|
97
|
-
* Total work units
|
|
48
|
+
* minimum hours between dreams) and schedules the dream task for a future
|
|
49
|
+
* execution.
|
|
50
|
+
*
|
|
51
|
+
* Currently this endpoint only supports scheduling immediate dreams. In the
|
|
52
|
+
* future, users may pass a cron-style expression to schedule dreams at specific
|
|
53
|
+
* times.
|
|
98
54
|
*/
|
|
99
|
-
|
|
55
|
+
scheduleDream(workspaceId: string, body: WorkspaceScheduleDreamParams, options?: Core.RequestOptions): Core.APIPromise<void>;
|
|
100
56
|
/**
|
|
101
|
-
*
|
|
57
|
+
* Search messages in a Workspace using optional filters. Use `limit` to control
|
|
58
|
+
* the number of results returned.
|
|
102
59
|
*/
|
|
103
|
-
|
|
104
|
-
[key: string]: DeriverStatus.Sessions;
|
|
105
|
-
} | null;
|
|
60
|
+
search(workspaceId: string, body: WorkspaceSearchParams, options?: Core.RequestOptions): Core.APIPromise<WorkspaceSearchResponse>;
|
|
106
61
|
}
|
|
107
|
-
export declare
|
|
108
|
-
/**
|
|
109
|
-
* Status for a specific session within the processing queue.
|
|
110
|
-
*/
|
|
111
|
-
interface Sessions {
|
|
112
|
-
/**
|
|
113
|
-
* Completed work units
|
|
114
|
-
*/
|
|
115
|
-
completed_work_units: number;
|
|
116
|
-
/**
|
|
117
|
-
* Work units currently being processed
|
|
118
|
-
*/
|
|
119
|
-
in_progress_work_units: number;
|
|
120
|
-
/**
|
|
121
|
-
* Work units waiting to be processed
|
|
122
|
-
*/
|
|
123
|
-
pending_work_units: number;
|
|
124
|
-
/**
|
|
125
|
-
* Total work units
|
|
126
|
-
*/
|
|
127
|
-
total_work_units: number;
|
|
128
|
-
/**
|
|
129
|
-
* Session ID if filtered by session
|
|
130
|
-
*/
|
|
131
|
-
session_id?: string | null;
|
|
132
|
-
}
|
|
62
|
+
export declare class WorkspacesPage extends Page<Workspace> {
|
|
133
63
|
}
|
|
134
64
|
export interface DreamConfiguration {
|
|
135
65
|
/**
|
|
136
|
-
* Whether to enable dream functionality. If
|
|
137
|
-
* be disabled and this setting will be ignored.
|
|
66
|
+
* Whether to enable dream functionality. If reasoning is disabled, dreams will
|
|
67
|
+
* also be disabled and this setting will be ignored.
|
|
138
68
|
*/
|
|
139
69
|
enabled?: boolean | null;
|
|
140
70
|
}
|
|
@@ -160,63 +90,20 @@ export interface PeerCardConfiguration {
|
|
|
160
90
|
*/
|
|
161
91
|
create?: boolean | null;
|
|
162
92
|
/**
|
|
163
|
-
* Whether to use peer card related to this peer during
|
|
93
|
+
* Whether to use peer card related to this peer during reasoning process.
|
|
164
94
|
*/
|
|
165
95
|
use?: boolean | null;
|
|
166
96
|
}
|
|
167
|
-
|
|
168
|
-
* Aggregated processing queue status.
|
|
169
|
-
*/
|
|
170
|
-
export interface QueueStatus {
|
|
171
|
-
/**
|
|
172
|
-
* Completed work units
|
|
173
|
-
*/
|
|
174
|
-
completed_work_units: number;
|
|
97
|
+
export interface ReasoningConfiguration {
|
|
175
98
|
/**
|
|
176
|
-
*
|
|
99
|
+
* TODO: currently unused. Custom instructions to use for the reasoning system on
|
|
100
|
+
* this workspace/session/message.
|
|
177
101
|
*/
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* Work units waiting to be processed
|
|
181
|
-
*/
|
|
182
|
-
pending_work_units: number;
|
|
183
|
-
/**
|
|
184
|
-
* Total work units
|
|
185
|
-
*/
|
|
186
|
-
total_work_units: number;
|
|
187
|
-
/**
|
|
188
|
-
* Per-session status when not filtered by session
|
|
189
|
-
*/
|
|
190
|
-
sessions?: {
|
|
191
|
-
[key: string]: QueueStatus.Sessions;
|
|
192
|
-
} | null;
|
|
193
|
-
}
|
|
194
|
-
export declare namespace QueueStatus {
|
|
102
|
+
custom_instructions?: string | null;
|
|
195
103
|
/**
|
|
196
|
-
*
|
|
104
|
+
* Whether to enable reasoning functionality.
|
|
197
105
|
*/
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* Completed work units
|
|
201
|
-
*/
|
|
202
|
-
completed_work_units: number;
|
|
203
|
-
/**
|
|
204
|
-
* Work units currently being processed
|
|
205
|
-
*/
|
|
206
|
-
in_progress_work_units: number;
|
|
207
|
-
/**
|
|
208
|
-
* Work units waiting to be processed
|
|
209
|
-
*/
|
|
210
|
-
pending_work_units: number;
|
|
211
|
-
/**
|
|
212
|
-
* Total work units
|
|
213
|
-
*/
|
|
214
|
-
total_work_units: number;
|
|
215
|
-
/**
|
|
216
|
-
* Session ID if filtered by session
|
|
217
|
-
*/
|
|
218
|
-
session_id?: string | null;
|
|
219
|
-
}
|
|
106
|
+
enabled?: boolean | null;
|
|
220
107
|
}
|
|
221
108
|
export interface SummaryConfiguration {
|
|
222
109
|
/**
|
|
@@ -252,19 +139,19 @@ export interface Workspace {
|
|
|
252
139
|
*/
|
|
253
140
|
export interface WorkspaceConfiguration {
|
|
254
141
|
/**
|
|
255
|
-
* Configuration for
|
|
256
|
-
|
|
257
|
-
deriver?: DeriverConfiguration | null;
|
|
258
|
-
/**
|
|
259
|
-
* Configuration for dream functionality. If deriver is disabled, dreams will also
|
|
260
|
-
* be disabled and these settings will be ignored.
|
|
142
|
+
* Configuration for dream functionality. If reasoning is disabled, dreams will
|
|
143
|
+
* also be disabled and these settings will be ignored.
|
|
261
144
|
*/
|
|
262
145
|
dream?: DreamConfiguration | null;
|
|
263
146
|
/**
|
|
264
|
-
* Configuration for peer card functionality. If
|
|
147
|
+
* Configuration for peer card functionality. If reasoning is disabled, peer cards
|
|
265
148
|
* will also be disabled and these settings will be ignored.
|
|
266
149
|
*/
|
|
267
150
|
peer_card?: PeerCardConfiguration | null;
|
|
151
|
+
/**
|
|
152
|
+
* Configuration for reasoning functionality.
|
|
153
|
+
*/
|
|
154
|
+
reasoning?: ReasoningConfiguration | null;
|
|
268
155
|
/**
|
|
269
156
|
* Configuration for summary functionality.
|
|
270
157
|
*/
|
|
@@ -292,20 +179,6 @@ export interface WorkspaceListParams extends PageParams {
|
|
|
292
179
|
[key: string]: unknown;
|
|
293
180
|
} | null;
|
|
294
181
|
}
|
|
295
|
-
export interface WorkspaceDeriverStatusParams {
|
|
296
|
-
/**
|
|
297
|
-
* Optional observer ID to filter by
|
|
298
|
-
*/
|
|
299
|
-
observer_id?: string | null;
|
|
300
|
-
/**
|
|
301
|
-
* Optional sender ID to filter by
|
|
302
|
-
*/
|
|
303
|
-
sender_id?: string | null;
|
|
304
|
-
/**
|
|
305
|
-
* Optional session ID to filter by
|
|
306
|
-
*/
|
|
307
|
-
session_id?: string | null;
|
|
308
|
-
}
|
|
309
182
|
export interface WorkspaceGetOrCreateParams {
|
|
310
183
|
id: string;
|
|
311
184
|
/**
|
|
@@ -319,19 +192,23 @@ export interface WorkspaceGetOrCreateParams {
|
|
|
319
192
|
[key: string]: unknown;
|
|
320
193
|
};
|
|
321
194
|
}
|
|
322
|
-
export interface
|
|
195
|
+
export interface WorkspaceScheduleDreamParams {
|
|
323
196
|
/**
|
|
324
|
-
*
|
|
197
|
+
* Type of dream to schedule
|
|
198
|
+
*/
|
|
199
|
+
dream_type: 'omni';
|
|
200
|
+
/**
|
|
201
|
+
* Observer peer name
|
|
325
202
|
*/
|
|
326
|
-
|
|
203
|
+
observer: string;
|
|
327
204
|
/**
|
|
328
|
-
*
|
|
205
|
+
* Session ID to scope the dream to
|
|
329
206
|
*/
|
|
330
|
-
|
|
207
|
+
session_id: string;
|
|
331
208
|
/**
|
|
332
|
-
*
|
|
209
|
+
* Observed peer name (defaults to observer if not specified)
|
|
333
210
|
*/
|
|
334
|
-
|
|
211
|
+
observed?: string | null;
|
|
335
212
|
}
|
|
336
213
|
export interface WorkspaceSearchParams {
|
|
337
214
|
/**
|
|
@@ -349,26 +226,12 @@ export interface WorkspaceSearchParams {
|
|
|
349
226
|
*/
|
|
350
227
|
limit?: number;
|
|
351
228
|
}
|
|
352
|
-
export interface WorkspaceTriggerDreamParams {
|
|
353
|
-
/**
|
|
354
|
-
* Type of dream to trigger
|
|
355
|
-
*/
|
|
356
|
-
dream_type: 'consolidate' | 'agent';
|
|
357
|
-
/**
|
|
358
|
-
* Observer peer name
|
|
359
|
-
*/
|
|
360
|
-
observer: string;
|
|
361
|
-
/**
|
|
362
|
-
* Observed peer name (defaults to observer if not specified)
|
|
363
|
-
*/
|
|
364
|
-
observed?: string | null;
|
|
365
|
-
}
|
|
366
229
|
export declare namespace Workspaces {
|
|
367
|
-
export { type
|
|
368
|
-
export {
|
|
369
|
-
export {
|
|
370
|
-
export {
|
|
371
|
-
export {
|
|
372
|
-
export {
|
|
230
|
+
export { type DreamConfiguration as DreamConfiguration, type MessageSearchOptions as MessageSearchOptions, type PeerCardConfiguration as PeerCardConfiguration, type ReasoningConfiguration as ReasoningConfiguration, type SummaryConfiguration as SummaryConfiguration, type Workspace as Workspace, type WorkspaceConfiguration as WorkspaceConfiguration, type WorkspaceSearchResponse as WorkspaceSearchResponse, WorkspacesPage as WorkspacesPage, type WorkspaceUpdateParams as WorkspaceUpdateParams, type WorkspaceListParams as WorkspaceListParams, type WorkspaceGetOrCreateParams as WorkspaceGetOrCreateParams, type WorkspaceScheduleDreamParams as WorkspaceScheduleDreamParams, type WorkspaceSearchParams as WorkspaceSearchParams, };
|
|
231
|
+
export { Peers as Peers, type PagePeer as PagePeer, type PageSession as PageSession, type Peer as Peer, type PeerCardResponse as PeerCardResponse, type SessionGet as SessionGet, type PeerChatResponse as PeerChatResponse, type PeerContextResponse as PeerContextResponse, type PeerRepresentationResponse as PeerRepresentationResponse, type PeerSearchResponse as PeerSearchResponse, PeersPage as PeersPage, type PeerUpdateParams as PeerUpdateParams, type PeerListParams as PeerListParams, type PeerCardParams as PeerCardParams, type PeerChatParams as PeerChatParams, type PeerContextParams as PeerContextParams, type PeerGetOrCreateParams as PeerGetOrCreateParams, type PeerRepresentationParams as PeerRepresentationParams, type PeerSearchParams as PeerSearchParams, type PeerSetCardParams as PeerSetCardParams, };
|
|
232
|
+
export { Sessions as Sessions, type Session as Session, type SessionConfiguration as SessionConfiguration, type Summary as Summary, type SessionDeleteResponse as SessionDeleteResponse, type SessionContextResponse as SessionContextResponse, type SessionSearchResponse as SessionSearchResponse, type SessionSummariesResponse as SessionSummariesResponse, SessionsPage as SessionsPage, type SessionUpdateParams as SessionUpdateParams, type SessionListParams as SessionListParams, type SessionCloneParams as SessionCloneParams, type SessionContextParams as SessionContextParams, type SessionGetOrCreateParams as SessionGetOrCreateParams, type SessionSearchParams as SessionSearchParams, };
|
|
233
|
+
export { Webhooks as Webhooks, type WebhookEndpoint as WebhookEndpoint, type WebhookTestEmitResponse as WebhookTestEmitResponse, WebhookEndpointsPage as WebhookEndpointsPage, type WebhookListParams as WebhookListParams, type WebhookGetOrCreateParams as WebhookGetOrCreateParams, };
|
|
234
|
+
export { Queue as Queue, type QueueStatusResponse as QueueStatusResponse, type QueueStatusParams as QueueStatusParams, };
|
|
235
|
+
export { Conclusions as Conclusions, type Conclusion as Conclusion, type ConclusionCreateResponse as ConclusionCreateResponse, type ConclusionQueryResponse as ConclusionQueryResponse, ConclusionsPage as ConclusionsPage, type ConclusionCreateParams as ConclusionCreateParams, type ConclusionListParams as ConclusionListParams, type ConclusionQueryParams as ConclusionQueryParams, };
|
|
373
236
|
}
|
|
374
237
|
//# sourceMappingURL=workspaces.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/resources/workspaces/workspaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,cAAc,MAAM,eAAe,CAAC;AAChD,OAAO,EACL,UAAU,EACV,
|
|
1
|
+
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/resources/workspaces/workspaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,cAAc,MAAM,eAAe,CAAC;AAChD,OAAO,EACL,UAAU,EACV,sBAAsB,EACtB,wBAAwB,EACxB,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,EACvB,WAAW,EACX,eAAe,EAChB,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,QAAQ,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACxE,OAAO,KAAK,WAAW,MAAM,YAAY,CAAC;AAC1C,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,wBAAwB,EACxB,iBAAiB,EACjB,uBAAuB,EACvB,QAAQ,EACT,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,QAAQ,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mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,oBAAoB,IAAI,oBAAoB,EAC5C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,eAAe,IAAI,eAAe,EAClC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -29,8 +29,8 @@ const resource_1 = require("../../resource.js");
|
|
|
29
29
|
const core_1 = require("../../core.js");
|
|
30
30
|
const ConclusionsAPI = __importStar(require("./conclusions.js"));
|
|
31
31
|
const conclusions_1 = require("./conclusions.js");
|
|
32
|
-
const
|
|
33
|
-
const
|
|
32
|
+
const QueueAPI = __importStar(require("./queue.js"));
|
|
33
|
+
const queue_1 = require("./queue.js");
|
|
34
34
|
const WebhooksAPI = __importStar(require("./webhooks.js"));
|
|
35
35
|
const webhooks_1 = require("./webhooks.js");
|
|
36
36
|
const PeersAPI = __importStar(require("./peers/peers.js"));
|
|
@@ -41,14 +41,14 @@ const pagination_1 = require("../../pagination.js");
|
|
|
41
41
|
class Workspaces extends resource_1.APIResource {
|
|
42
42
|
constructor() {
|
|
43
43
|
super(...arguments);
|
|
44
|
-
this.conclusions = new ConclusionsAPI.Conclusions(this._client);
|
|
45
|
-
this.observations = new ObservationsAPI.Observations(this._client);
|
|
46
44
|
this.peers = new PeersAPI.Peers(this._client);
|
|
47
45
|
this.sessions = new SessionsAPI.Sessions(this._client);
|
|
48
46
|
this.webhooks = new WebhooksAPI.Webhooks(this._client);
|
|
47
|
+
this.queue = new QueueAPI.Queue(this._client);
|
|
48
|
+
this.conclusions = new ConclusionsAPI.Conclusions(this._client);
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
|
-
* Update
|
|
51
|
+
* Update Workspace metadata and/or configuration.
|
|
52
52
|
*/
|
|
53
53
|
update(workspaceId, body, options) {
|
|
54
54
|
return this._client.put(`/v2/workspaces/${workspaceId}`, { body, ...options });
|
|
@@ -66,16 +66,16 @@ class Workspaces extends resource_1.APIResource {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
|
-
* Delete a Workspace
|
|
69
|
+
* Delete a Workspace. This will permanently delete all sessions, peers, messages,
|
|
70
|
+
* and conclusions associated with the workspace.
|
|
71
|
+
*
|
|
72
|
+
* This action cannot be undone.
|
|
70
73
|
*/
|
|
71
74
|
delete(workspaceId, options) {
|
|
72
|
-
return this._client.delete(`/v2/workspaces/${workspaceId}`,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
return this.deriverStatus(workspaceId, {}, query);
|
|
77
|
-
}
|
|
78
|
-
return this._client.get(`/v2/workspaces/${workspaceId}/deriver/status`, { query, ...options });
|
|
75
|
+
return this._client.delete(`/v2/workspaces/${workspaceId}`, {
|
|
76
|
+
...options,
|
|
77
|
+
headers: { Accept: '*/*', ...options?.headers },
|
|
78
|
+
});
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
81
|
* Get a Workspace by ID.
|
|
@@ -86,46 +86,44 @@ class Workspaces extends resource_1.APIResource {
|
|
|
86
86
|
getOrCreate(body, options) {
|
|
87
87
|
return this._client.post('/v2/workspaces', { body, ...options });
|
|
88
88
|
}
|
|
89
|
-
queueStatus(workspaceId, query = {}, options) {
|
|
90
|
-
if ((0, core_1.isRequestOptions)(query)) {
|
|
91
|
-
return this.queueStatus(workspaceId, {}, query);
|
|
92
|
-
}
|
|
93
|
-
return this._client.get(`/v2/workspaces/${workspaceId}/queue/status`, { query, ...options });
|
|
94
|
-
}
|
|
95
89
|
/**
|
|
96
|
-
*
|
|
97
|
-
*/
|
|
98
|
-
search(workspaceId, body, options) {
|
|
99
|
-
return this._client.post(`/v2/workspaces/${workspaceId}/search`, { body, ...options });
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* Manually trigger a dream task immediately for a specific collection.
|
|
90
|
+
* Manually schedule a dream task for a specific collection.
|
|
103
91
|
*
|
|
104
92
|
* This endpoint bypasses all automatic dream conditions (document threshold,
|
|
105
|
-
* minimum hours between dreams) and
|
|
106
|
-
*
|
|
93
|
+
* minimum hours between dreams) and schedules the dream task for a future
|
|
94
|
+
* execution.
|
|
95
|
+
*
|
|
96
|
+
* Currently this endpoint only supports scheduling immediate dreams. In the
|
|
97
|
+
* future, users may pass a cron-style expression to schedule dreams at specific
|
|
98
|
+
* times.
|
|
107
99
|
*/
|
|
108
|
-
|
|
109
|
-
return this._client.post(`/v2/workspaces/${workspaceId}/
|
|
100
|
+
scheduleDream(workspaceId, body, options) {
|
|
101
|
+
return this._client.post(`/v2/workspaces/${workspaceId}/schedule_dream`, {
|
|
110
102
|
body,
|
|
111
103
|
...options,
|
|
112
104
|
headers: { Accept: '*/*', ...options?.headers },
|
|
113
105
|
});
|
|
114
106
|
}
|
|
107
|
+
/**
|
|
108
|
+
* Search messages in a Workspace using optional filters. Use `limit` to control
|
|
109
|
+
* the number of results returned.
|
|
110
|
+
*/
|
|
111
|
+
search(workspaceId, body, options) {
|
|
112
|
+
return this._client.post(`/v2/workspaces/${workspaceId}/search`, { body, ...options });
|
|
113
|
+
}
|
|
115
114
|
}
|
|
116
115
|
exports.Workspaces = Workspaces;
|
|
117
116
|
class WorkspacesPage extends pagination_1.Page {
|
|
118
117
|
}
|
|
119
118
|
exports.WorkspacesPage = WorkspacesPage;
|
|
120
119
|
Workspaces.WorkspacesPage = WorkspacesPage;
|
|
121
|
-
Workspaces.Conclusions = conclusions_1.Conclusions;
|
|
122
|
-
Workspaces.ConclusionsPage = conclusions_1.ConclusionsPage;
|
|
123
|
-
Workspaces.Observations = observations_1.Observations;
|
|
124
|
-
Workspaces.ObservationsPage = observations_1.ObservationsPage;
|
|
125
120
|
Workspaces.Peers = peers_1.Peers;
|
|
126
121
|
Workspaces.PeersPage = peers_1.PeersPage;
|
|
127
122
|
Workspaces.Sessions = sessions_1.Sessions;
|
|
128
123
|
Workspaces.SessionsPage = sessions_1.SessionsPage;
|
|
129
124
|
Workspaces.Webhooks = webhooks_1.Webhooks;
|
|
130
125
|
Workspaces.WebhookEndpointsPage = webhooks_1.WebhookEndpointsPage;
|
|
126
|
+
Workspaces.Queue = queue_1.Queue;
|
|
127
|
+
Workspaces.Conclusions = conclusions_1.Conclusions;
|
|
128
|
+
Workspaces.ConclusionsPage = conclusions_1.ConclusionsPage;
|
|
131
129
|
//# sourceMappingURL=workspaces.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.js","sourceRoot":"","sources":["../../src/resources/workspaces/workspaces.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAE9C,iEAAgD;AAChD,
|
|
1
|
+
{"version":3,"file":"workspaces.js","sourceRoot":"","sources":["../../src/resources/workspaces/workspaces.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAE9C,iEAAg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