@kosuke-ai/kosuke 1.0.15 → 1.0.16
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
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.16
|
|
4
|
+
|
|
5
|
+
- New `kosuke sensei fyi move` command: Sensei moves a conversation out of the FYI digest so it gets a drafted reply in its own thread.
|
|
6
|
+
|
|
3
7
|
## 1.0.15
|
|
4
8
|
|
|
5
9
|
- `kosuke integrations call --file <argument>=<path>` uploads a local file for a tool's file argument, such as a YouTube video or a Gmail attachment.
|
|
@@ -204,132 +204,133 @@ import { operation as o202 } from './sensei/delegates-stop.js';
|
|
|
204
204
|
import { operation as o203 } from './sensei/describe-cards-create.js';
|
|
205
205
|
import { operation as o204 } from './sensei/device-requests-list.js';
|
|
206
206
|
import { operation as o205 } from './sensei/device-requests-update.js';
|
|
207
|
-
import { operation as o206 } from './sensei/
|
|
208
|
-
import { operation as o207 } from './sensei/memory-
|
|
209
|
-
import { operation as o208 } from './sensei/
|
|
210
|
-
import { operation as o209 } from './sensei/merge
|
|
211
|
-
import { operation as o210 } from './sensei/
|
|
212
|
-
import { operation as o211 } from './sensei/messages-
|
|
213
|
-
import { operation as o212 } from './sensei/messages-
|
|
214
|
-
import { operation as o213 } from './sensei/
|
|
215
|
-
import { operation as o214 } from './sensei/
|
|
216
|
-
import { operation as o215 } from './sensei/reels-
|
|
217
|
-
import { operation as o216 } from './sensei/
|
|
218
|
-
import { operation as o217 } from './sensei/
|
|
219
|
-
import { operation as o218 } from './sensei/review-
|
|
220
|
-
import { operation as o219 } from './sensei/review-
|
|
221
|
-
import { operation as o220 } from './sensei/
|
|
222
|
-
import { operation as o221 } from './sensei/sessions-
|
|
223
|
-
import { operation as o222 } from './sensei/
|
|
224
|
-
import { operation as o223 } from './sensei/
|
|
225
|
-
import { operation as o224 } from './sensei/threads-
|
|
226
|
-
import { operation as o225 } from './sensei/threads-
|
|
227
|
-
import { operation as o226 } from './sensei/threads-
|
|
228
|
-
import { operation as o227 } from './sensei/threads-
|
|
229
|
-
import { operation as o228 } from './sensei/
|
|
230
|
-
import { operation as o229 } from './sensei/
|
|
231
|
-
import { operation as o230 } from './sensei/
|
|
232
|
-
import { operation as o231 } from './
|
|
233
|
-
import { operation as o232 } from './sessions/
|
|
234
|
-
import { operation as o233 } from './sessions/artifacts-
|
|
235
|
-
import { operation as o234 } from './sessions/artifacts-
|
|
236
|
-
import { operation as o235 } from './sessions/
|
|
237
|
-
import { operation as o236 } from './sessions/
|
|
238
|
-
import { operation as o237 } from './sessions/
|
|
239
|
-
import { operation as o238 } from './sessions/desktop-
|
|
240
|
-
import { operation as o239 } from './sessions/desktop-
|
|
241
|
-
import { operation as o240 } from './sessions/
|
|
242
|
-
import { operation as o241 } from './sessions/diff-comments-
|
|
243
|
-
import { operation as o242 } from './sessions/diff-comments-
|
|
244
|
-
import { operation as o243 } from './sessions/diff-comments-
|
|
245
|
-
import { operation as o244 } from './sessions/diff-
|
|
246
|
-
import { operation as o245 } from './sessions/diff-
|
|
247
|
-
import { operation as o246 } from './sessions/diff-
|
|
248
|
-
import { operation as o247 } from './sessions/
|
|
249
|
-
import { operation as o248 } from './sessions/files-
|
|
250
|
-
import { operation as o249 } from './sessions/files-
|
|
251
|
-
import { operation as o250 } from './sessions/
|
|
252
|
-
import { operation as o251 } from './sessions/
|
|
253
|
-
import { operation as o252 } from './sessions/git-commit
|
|
254
|
-
import { operation as o253 } from './sessions/git-
|
|
255
|
-
import { operation as o254 } from './sessions/git-
|
|
256
|
-
import { operation as o255 } from './sessions/
|
|
257
|
-
import { operation as o256 } from './sessions/go-ahead-
|
|
258
|
-
import { operation as o257 } from './sessions/
|
|
259
|
-
import { operation as o258 } from './sessions/jobs-
|
|
260
|
-
import { operation as o259 } from './sessions/jobs-
|
|
261
|
-
import { operation as o260 } from './sessions/
|
|
262
|
-
import { operation as o261 } from './sessions/labels-
|
|
263
|
-
import { operation as o262 } from './sessions/
|
|
264
|
-
import { operation as o263 } from './sessions/list
|
|
265
|
-
import { operation as o264 } from './sessions/
|
|
266
|
-
import { operation as o265 } from './sessions/
|
|
267
|
-
import { operation as o266 } from './sessions/messages-
|
|
268
|
-
import { operation as o267 } from './sessions/
|
|
269
|
-
import { operation as o268 } from './sessions/
|
|
270
|
-
import { operation as o269 } from './sessions/
|
|
271
|
-
import { operation as o270 } from './sessions/qa-runs-
|
|
272
|
-
import { operation as o271 } from './sessions/qa-runs-
|
|
273
|
-
import { operation as o272 } from './sessions/qa-runs-
|
|
274
|
-
import { operation as o273 } from './sessions/qa-runs-
|
|
275
|
-
import { operation as o274 } from './sessions/qa-runs-
|
|
276
|
-
import { operation as o275 } from './sessions/qa-
|
|
277
|
-
import { operation as o276 } from './sessions/
|
|
278
|
-
import { operation as o277 } from './sessions/queue-
|
|
279
|
-
import { operation as o278 } from './sessions/queue-
|
|
280
|
-
import { operation as o279 } from './sessions/queue-
|
|
281
|
-
import { operation as o280 } from './sessions/queue-
|
|
282
|
-
import { operation as o281 } from './sessions/queue-
|
|
283
|
-
import { operation as o282 } from './sessions/queue-
|
|
284
|
-
import { operation as o283 } from './sessions/
|
|
285
|
-
import { operation as o284 } from './sessions/
|
|
286
|
-
import { operation as o285 } from './sessions/
|
|
287
|
-
import { operation as o286 } from './sessions/
|
|
288
|
-
import { operation as o287 } from './sessions/
|
|
289
|
-
import { operation as o288 } from './sessions/
|
|
290
|
-
import { operation as o289 } from './sessions/
|
|
291
|
-
import { operation as o290 } from './sessions/
|
|
292
|
-
import { operation as o291 } from './
|
|
293
|
-
import { operation as o292 } from './skills/create
|
|
294
|
-
import { operation as o293 } from './skills/
|
|
295
|
-
import { operation as o294 } from './skills/delete
|
|
296
|
-
import { operation as o295 } from './skills/
|
|
297
|
-
import { operation as o296 } from './skills/get
|
|
298
|
-
import { operation as o297 } from './skills/
|
|
299
|
-
import { operation as o298 } from './skills/list
|
|
300
|
-
import { operation as o299 } from './skills/
|
|
301
|
-
import { operation as o300 } from './skills/update
|
|
302
|
-
import { operation as o301 } from './
|
|
303
|
-
import { operation as o302 } from './tasks/create
|
|
304
|
-
import { operation as o303 } from './tasks/
|
|
305
|
-
import { operation as o304 } from './tasks/delete
|
|
306
|
-
import { operation as o305 } from './tasks/
|
|
307
|
-
import { operation as o306 } from './tasks/get
|
|
308
|
-
import { operation as o307 } from './tasks/
|
|
309
|
-
import { operation as o308 } from './tasks/list.js';
|
|
310
|
-
import { operation as o309 } from './tasks/list
|
|
311
|
-
import { operation as o310 } from './tasks/list--
|
|
312
|
-
import { operation as o311 } from './tasks/
|
|
313
|
-
import { operation as o312 } from './tasks/move
|
|
314
|
-
import { operation as o313 } from './tasks/
|
|
315
|
-
import { operation as o314 } from './tasks/start
|
|
316
|
-
import { operation as o315 } from './tasks/
|
|
317
|
-
import { operation as o316 } from './tasks/update
|
|
318
|
-
import { operation as o317 } from './
|
|
319
|
-
import { operation as o318 } from './user/
|
|
320
|
-
import { operation as o319 } from './user/
|
|
321
|
-
import { operation as o320 } from './user/push-devices-
|
|
322
|
-
import { operation as o321 } from './user/
|
|
323
|
-
import { operation as o322 } from './
|
|
324
|
-
import { operation as o323 } from './workspaces/
|
|
325
|
-
import { operation as o324 } from './workspaces/get.js';
|
|
326
|
-
import { operation as o325 } from './workspaces/
|
|
327
|
-
import { operation as o326 } from './workspaces/
|
|
328
|
-
import { operation as o327 } from './workspaces/members-list
|
|
329
|
-
import { operation as o328 } from './workspaces/
|
|
330
|
-
import { operation as o329 } from './workspaces/
|
|
331
|
-
import { operation as o330 } from './workspaces/
|
|
332
|
-
import { operation as o331 } from './workspaces/
|
|
207
|
+
import { operation as o206 } from './sensei/fyi-move.js';
|
|
208
|
+
import { operation as o207 } from './sensei/memory-get.js';
|
|
209
|
+
import { operation as o208 } from './sensei/memory-set.js';
|
|
210
|
+
import { operation as o209 } from './sensei/merge.js';
|
|
211
|
+
import { operation as o210 } from './sensei/merge-rule-set.js';
|
|
212
|
+
import { operation as o211 } from './sensei/messages-move.js';
|
|
213
|
+
import { operation as o212 } from './sensei/messages-reply.js';
|
|
214
|
+
import { operation as o213 } from './sensei/messages-send.js';
|
|
215
|
+
import { operation as o214 } from './sensei/notifications-mark-read.js';
|
|
216
|
+
import { operation as o215 } from './sensei/reels-activity-list.js';
|
|
217
|
+
import { operation as o216 } from './sensei/reels-ranks-list.js';
|
|
218
|
+
import { operation as o217 } from './sensei/repository-cards-create.js';
|
|
219
|
+
import { operation as o218 } from './sensei/review-approvals-create.js';
|
|
220
|
+
import { operation as o219 } from './sensei/review-context-get.js';
|
|
221
|
+
import { operation as o220 } from './sensei/review-requests-create.js';
|
|
222
|
+
import { operation as o221 } from './sensei/sessions-assessments-create.js';
|
|
223
|
+
import { operation as o222 } from './sensei/sessions-facts-get.js';
|
|
224
|
+
import { operation as o223 } from './sensei/suggestions-create.js';
|
|
225
|
+
import { operation as o224 } from './sensei/threads-close.js';
|
|
226
|
+
import { operation as o225 } from './sensei/threads-get.js';
|
|
227
|
+
import { operation as o226 } from './sensei/threads-list.js';
|
|
228
|
+
import { operation as o227 } from './sensei/threads-move.js';
|
|
229
|
+
import { operation as o228 } from './sensei/threads-split.js';
|
|
230
|
+
import { operation as o229 } from './sensei/tickets-merge.js';
|
|
231
|
+
import { operation as o230 } from './sensei/watch-reads-finish.js';
|
|
232
|
+
import { operation as o231 } from './sensei/widgets-get.js';
|
|
233
|
+
import { operation as o232 } from './sessions/app-stack-start.js';
|
|
234
|
+
import { operation as o233 } from './sessions/artifacts-create.js';
|
|
235
|
+
import { operation as o234 } from './sessions/artifacts-get.js';
|
|
236
|
+
import { operation as o235 } from './sessions/artifacts-list.js';
|
|
237
|
+
import { operation as o236 } from './sessions/create.js';
|
|
238
|
+
import { operation as o237 } from './sessions/delete.js';
|
|
239
|
+
import { operation as o238 } from './sessions/desktop-control-set.js';
|
|
240
|
+
import { operation as o239 } from './sessions/desktop-get.js';
|
|
241
|
+
import { operation as o240 } from './sessions/desktop-start.js';
|
|
242
|
+
import { operation as o241 } from './sessions/diff-comments-create.js';
|
|
243
|
+
import { operation as o242 } from './sessions/diff-comments-delete.js';
|
|
244
|
+
import { operation as o243 } from './sessions/diff-comments-list.js';
|
|
245
|
+
import { operation as o244 } from './sessions/diff-comments-update.js';
|
|
246
|
+
import { operation as o245 } from './sessions/diff-commits-list.js';
|
|
247
|
+
import { operation as o246 } from './sessions/diff-files-list.js';
|
|
248
|
+
import { operation as o247 } from './sessions/diff-patch-get.js';
|
|
249
|
+
import { operation as o248 } from './sessions/files-get.js';
|
|
250
|
+
import { operation as o249 } from './sessions/files-list.js';
|
|
251
|
+
import { operation as o250 } from './sessions/files-set.js';
|
|
252
|
+
import { operation as o251 } from './sessions/get.js';
|
|
253
|
+
import { operation as o252 } from './sessions/git-commit.js';
|
|
254
|
+
import { operation as o253 } from './sessions/git-commit-message-create.js';
|
|
255
|
+
import { operation as o254 } from './sessions/git-push.js';
|
|
256
|
+
import { operation as o255 } from './sessions/git-state-get.js';
|
|
257
|
+
import { operation as o256 } from './sessions/go-ahead-delete.js';
|
|
258
|
+
import { operation as o257 } from './sessions/go-ahead-set.js';
|
|
259
|
+
import { operation as o258 } from './sessions/jobs-cancel.js';
|
|
260
|
+
import { operation as o259 } from './sessions/jobs-get.js';
|
|
261
|
+
import { operation as o260 } from './sessions/jobs-list.js';
|
|
262
|
+
import { operation as o261 } from './sessions/labels-set.js';
|
|
263
|
+
import { operation as o262 } from './sessions/labels-update.js';
|
|
264
|
+
import { operation as o263 } from './sessions/list.js';
|
|
265
|
+
import { operation as o264 } from './sessions/list--all.js';
|
|
266
|
+
import { operation as o265 } from './sessions/mark-read.js';
|
|
267
|
+
import { operation as o266 } from './sessions/messages-get.js';
|
|
268
|
+
import { operation as o267 } from './sessions/messages-list.js';
|
|
269
|
+
import { operation as o268 } from './sessions/prompt-update.js';
|
|
270
|
+
import { operation as o269 } from './sessions/pull-request-mark-ready.js';
|
|
271
|
+
import { operation as o270 } from './sessions/qa-runs-finish.js';
|
|
272
|
+
import { operation as o271 } from './sessions/qa-runs-fixes-create.js';
|
|
273
|
+
import { operation as o272 } from './sessions/qa-runs-get.js';
|
|
274
|
+
import { operation as o273 } from './sessions/qa-runs-results-create.js';
|
|
275
|
+
import { operation as o274 } from './sessions/qa-runs-start.js';
|
|
276
|
+
import { operation as o275 } from './sessions/qa-runs-stop.js';
|
|
277
|
+
import { operation as o276 } from './sessions/qa-set.js';
|
|
278
|
+
import { operation as o277 } from './sessions/queue-delete.js';
|
|
279
|
+
import { operation as o278 } from './sessions/queue-list.js';
|
|
280
|
+
import { operation as o279 } from './sessions/queue-move.js';
|
|
281
|
+
import { operation as o280 } from './sessions/queue-resume.js';
|
|
282
|
+
import { operation as o281 } from './sessions/queue-send.js';
|
|
283
|
+
import { operation as o282 } from './sessions/queue-steer.js';
|
|
284
|
+
import { operation as o283 } from './sessions/queue-update.js';
|
|
285
|
+
import { operation as o284 } from './sessions/review-set.js';
|
|
286
|
+
import { operation as o285 } from './sessions/runtime-commands-run.js';
|
|
287
|
+
import { operation as o286 } from './sessions/search.js';
|
|
288
|
+
import { operation as o287 } from './sessions/send.js';
|
|
289
|
+
import { operation as o288 } from './sessions/start.js';
|
|
290
|
+
import { operation as o289 } from './sessions/steer.js';
|
|
291
|
+
import { operation as o290 } from './sessions/sync.js';
|
|
292
|
+
import { operation as o291 } from './sessions/update.js';
|
|
293
|
+
import { operation as o292 } from './skills/create.js';
|
|
294
|
+
import { operation as o293 } from './skills/create--personal.js';
|
|
295
|
+
import { operation as o294 } from './skills/delete.js';
|
|
296
|
+
import { operation as o295 } from './skills/delete--personal.js';
|
|
297
|
+
import { operation as o296 } from './skills/get.js';
|
|
298
|
+
import { operation as o297 } from './skills/get--personal.js';
|
|
299
|
+
import { operation as o298 } from './skills/list.js';
|
|
300
|
+
import { operation as o299 } from './skills/list--personal.js';
|
|
301
|
+
import { operation as o300 } from './skills/update.js';
|
|
302
|
+
import { operation as o301 } from './skills/update--personal.js';
|
|
303
|
+
import { operation as o302 } from './tasks/create.js';
|
|
304
|
+
import { operation as o303 } from './tasks/create--personal.js';
|
|
305
|
+
import { operation as o304 } from './tasks/delete.js';
|
|
306
|
+
import { operation as o305 } from './tasks/delete--personal.js';
|
|
307
|
+
import { operation as o306 } from './tasks/get.js';
|
|
308
|
+
import { operation as o307 } from './tasks/get--personal.js';
|
|
309
|
+
import { operation as o308 } from './tasks/labels-list.js';
|
|
310
|
+
import { operation as o309 } from './tasks/list.js';
|
|
311
|
+
import { operation as o310 } from './tasks/list--all.js';
|
|
312
|
+
import { operation as o311 } from './tasks/list--personal.js';
|
|
313
|
+
import { operation as o312 } from './tasks/move.js';
|
|
314
|
+
import { operation as o313 } from './tasks/move--personal.js';
|
|
315
|
+
import { operation as o314 } from './tasks/start.js';
|
|
316
|
+
import { operation as o315 } from './tasks/start--personal.js';
|
|
317
|
+
import { operation as o316 } from './tasks/update.js';
|
|
318
|
+
import { operation as o317 } from './tasks/update--personal.js';
|
|
319
|
+
import { operation as o318 } from './user/api-keys-delete.js';
|
|
320
|
+
import { operation as o319 } from './user/profile-get.js';
|
|
321
|
+
import { operation as o320 } from './user/push-devices-create.js';
|
|
322
|
+
import { operation as o321 } from './user/push-devices-delete.js';
|
|
323
|
+
import { operation as o322 } from './user/usage-get.js';
|
|
324
|
+
import { operation as o323 } from './workspaces/artifacts-search.js';
|
|
325
|
+
import { operation as o324 } from './workspaces/credits-get.js';
|
|
326
|
+
import { operation as o325 } from './workspaces/get.js';
|
|
327
|
+
import { operation as o326 } from './workspaces/list.js';
|
|
328
|
+
import { operation as o327 } from './workspaces/members-list.js';
|
|
329
|
+
import { operation as o328 } from './workspaces/members-list--all.js';
|
|
330
|
+
import { operation as o329 } from './workspaces/sandbox-limit-get.js';
|
|
331
|
+
import { operation as o330 } from './workspaces/sandboxes-stop.js';
|
|
332
|
+
import { operation as o331 } from './workspaces/timezone-set.js';
|
|
333
|
+
import { operation as o332 } from './workspaces/usage-get.js';
|
|
333
334
|
export const operations = [
|
|
334
335
|
o0,
|
|
335
336
|
o1,
|
|
@@ -663,4 +664,5 @@ export const operations = [
|
|
|
663
664
|
o329,
|
|
664
665
|
o330,
|
|
665
666
|
o331,
|
|
667
|
+
o332,
|
|
666
668
|
];
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/sensei/fyi/move",
|
|
4
|
+
"command": [
|
|
5
|
+
"sensei",
|
|
6
|
+
"fyi",
|
|
7
|
+
"move"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Move one conversation's parked FYI messages to needs-reply, so its Event Turn drafts a reply card",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": {
|
|
13
|
+
"fields": [
|
|
14
|
+
{
|
|
15
|
+
"name": "card",
|
|
16
|
+
"flag": "card",
|
|
17
|
+
"kind": "string",
|
|
18
|
+
"required": true,
|
|
19
|
+
"description": "The FYI digest card the member replied to"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "connection",
|
|
23
|
+
"flag": "connection",
|
|
24
|
+
"kind": "string",
|
|
25
|
+
"required": true,
|
|
26
|
+
"description": "The connection of the conversation that needs the member"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "conversation",
|
|
30
|
+
"flag": "conversation",
|
|
31
|
+
"kind": "string",
|
|
32
|
+
"required": true,
|
|
33
|
+
"description": "The conversation id, as the fyi_digest event and the card name it"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"required": true
|
|
37
|
+
},
|
|
38
|
+
"multipart": null,
|
|
39
|
+
"attachments": false,
|
|
40
|
+
"anonymous": false,
|
|
41
|
+
"agents": "all"
|
|
42
|
+
};
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"profile",
|
|
7
7
|
"get"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Read your account: id, email, name, onboarding state, default model, auto-commit setting and
|
|
9
|
+
"summary": "Read your account: id, email, name, onboarding state, default model, auto-commit setting, Reply Style and FYI digest interval.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": null,
|
package/openapi.json
CHANGED
|
@@ -20949,6 +20949,72 @@
|
|
|
20949
20949
|
}
|
|
20950
20950
|
},
|
|
20951
20951
|
"required": ["type", "title", "items"]
|
|
20952
|
+
},
|
|
20953
|
+
{
|
|
20954
|
+
"type": "object",
|
|
20955
|
+
"properties": {
|
|
20956
|
+
"type": {
|
|
20957
|
+
"type": "string",
|
|
20958
|
+
"const": "messages"
|
|
20959
|
+
},
|
|
20960
|
+
"caption": {
|
|
20961
|
+
"type": "string",
|
|
20962
|
+
"minLength": 1,
|
|
20963
|
+
"maxLength": 120
|
|
20964
|
+
},
|
|
20965
|
+
"rows": {
|
|
20966
|
+
"minItems": 1,
|
|
20967
|
+
"maxItems": 12,
|
|
20968
|
+
"type": "array",
|
|
20969
|
+
"items": {
|
|
20970
|
+
"type": "object",
|
|
20971
|
+
"properties": {
|
|
20972
|
+
"network": {
|
|
20973
|
+
"type": "string",
|
|
20974
|
+
"enum": ["gmail", "slack", "telegram", "whatsapp"]
|
|
20975
|
+
},
|
|
20976
|
+
"sender": {
|
|
20977
|
+
"type": "string",
|
|
20978
|
+
"minLength": 1,
|
|
20979
|
+
"maxLength": 60
|
|
20980
|
+
},
|
|
20981
|
+
"subject": {
|
|
20982
|
+
"type": "string",
|
|
20983
|
+
"minLength": 1,
|
|
20984
|
+
"maxLength": 200
|
|
20985
|
+
},
|
|
20986
|
+
"count": {
|
|
20987
|
+
"type": "integer",
|
|
20988
|
+
"exclusiveMinimum": 0,
|
|
20989
|
+
"maximum": 9007199254740991
|
|
20990
|
+
},
|
|
20991
|
+
"at": {
|
|
20992
|
+
"type": "string",
|
|
20993
|
+
"minLength": 1,
|
|
20994
|
+
"maxLength": 20
|
|
20995
|
+
}
|
|
20996
|
+
},
|
|
20997
|
+
"required": ["network", "sender", "subject", "count", "at"]
|
|
20998
|
+
}
|
|
20999
|
+
},
|
|
21000
|
+
"older": {
|
|
21001
|
+
"type": "object",
|
|
21002
|
+
"properties": {
|
|
21003
|
+
"conversations": {
|
|
21004
|
+
"type": "integer",
|
|
21005
|
+
"exclusiveMinimum": 0,
|
|
21006
|
+
"maximum": 9007199254740991
|
|
21007
|
+
},
|
|
21008
|
+
"messages": {
|
|
21009
|
+
"type": "integer",
|
|
21010
|
+
"exclusiveMinimum": 0,
|
|
21011
|
+
"maximum": 9007199254740991
|
|
21012
|
+
}
|
|
21013
|
+
},
|
|
21014
|
+
"required": ["conversations", "messages"]
|
|
21015
|
+
}
|
|
21016
|
+
},
|
|
21017
|
+
"required": ["type", "rows"]
|
|
20952
21018
|
}
|
|
20953
21019
|
]
|
|
20954
21020
|
}
|
|
@@ -21088,6 +21154,9 @@
|
|
|
21088
21154
|
"messages": {
|
|
21089
21155
|
"not": {}
|
|
21090
21156
|
},
|
|
21157
|
+
"messagesDigest": {
|
|
21158
|
+
"not": {}
|
|
21159
|
+
},
|
|
21091
21160
|
"projectId": {
|
|
21092
21161
|
"not": {}
|
|
21093
21162
|
},
|
|
@@ -21159,6 +21228,9 @@
|
|
|
21159
21228
|
},
|
|
21160
21229
|
"messages": {
|
|
21161
21230
|
"not": {}
|
|
21231
|
+
},
|
|
21232
|
+
"messagesDigest": {
|
|
21233
|
+
"not": {}
|
|
21162
21234
|
}
|
|
21163
21235
|
},
|
|
21164
21236
|
"required": ["projectId"]
|
|
@@ -21182,6 +21254,9 @@
|
|
|
21182
21254
|
"messages": {
|
|
21183
21255
|
"not": {}
|
|
21184
21256
|
},
|
|
21257
|
+
"messagesDigest": {
|
|
21258
|
+
"not": {}
|
|
21259
|
+
},
|
|
21185
21260
|
"projectId": {
|
|
21186
21261
|
"not": {}
|
|
21187
21262
|
},
|
|
@@ -21220,6 +21295,9 @@
|
|
|
21220
21295
|
"messages": {
|
|
21221
21296
|
"not": {}
|
|
21222
21297
|
},
|
|
21298
|
+
"messagesDigest": {
|
|
21299
|
+
"not": {}
|
|
21300
|
+
},
|
|
21223
21301
|
"projectId": {
|
|
21224
21302
|
"not": {}
|
|
21225
21303
|
},
|
|
@@ -21265,6 +21343,9 @@
|
|
|
21265
21343
|
"required": ["connection", "conversation"],
|
|
21266
21344
|
"additionalProperties": false
|
|
21267
21345
|
},
|
|
21346
|
+
"messagesDigest": {
|
|
21347
|
+
"not": {}
|
|
21348
|
+
},
|
|
21268
21349
|
"memory": {
|
|
21269
21350
|
"not": {}
|
|
21270
21351
|
},
|
|
@@ -21290,6 +21371,47 @@
|
|
|
21290
21371
|
"required": ["messages"],
|
|
21291
21372
|
"additionalProperties": false
|
|
21292
21373
|
},
|
|
21374
|
+
{
|
|
21375
|
+
"type": "object",
|
|
21376
|
+
"properties": {
|
|
21377
|
+
"nudge": {
|
|
21378
|
+
"not": {}
|
|
21379
|
+
},
|
|
21380
|
+
"job": {
|
|
21381
|
+
"not": {}
|
|
21382
|
+
},
|
|
21383
|
+
"messages": {
|
|
21384
|
+
"not": {}
|
|
21385
|
+
},
|
|
21386
|
+
"messagesDigest": {
|
|
21387
|
+
"type": "boolean",
|
|
21388
|
+
"const": true
|
|
21389
|
+
},
|
|
21390
|
+
"memory": {
|
|
21391
|
+
"not": {}
|
|
21392
|
+
},
|
|
21393
|
+
"integration": {
|
|
21394
|
+
"not": {}
|
|
21395
|
+
},
|
|
21396
|
+
"projectId": {
|
|
21397
|
+
"not": {}
|
|
21398
|
+
},
|
|
21399
|
+
"sessionId": {
|
|
21400
|
+
"not": {}
|
|
21401
|
+
},
|
|
21402
|
+
"pullRequest": {
|
|
21403
|
+
"not": {}
|
|
21404
|
+
},
|
|
21405
|
+
"cronId": {
|
|
21406
|
+
"not": {}
|
|
21407
|
+
},
|
|
21408
|
+
"deployJobId": {
|
|
21409
|
+
"not": {}
|
|
21410
|
+
}
|
|
21411
|
+
},
|
|
21412
|
+
"required": ["messagesDigest"],
|
|
21413
|
+
"additionalProperties": false
|
|
21414
|
+
},
|
|
21293
21415
|
{
|
|
21294
21416
|
"type": "object",
|
|
21295
21417
|
"properties": {
|
|
@@ -21322,6 +21444,9 @@
|
|
|
21322
21444
|
"messages": {
|
|
21323
21445
|
"not": {}
|
|
21324
21446
|
},
|
|
21447
|
+
"messagesDigest": {
|
|
21448
|
+
"not": {}
|
|
21449
|
+
},
|
|
21325
21450
|
"projectId": {
|
|
21326
21451
|
"not": {}
|
|
21327
21452
|
},
|
|
@@ -21391,7 +21516,7 @@
|
|
|
21391
21516
|
},
|
|
21392
21517
|
"rows": {
|
|
21393
21518
|
"minItems": 1,
|
|
21394
|
-
"maxItems":
|
|
21519
|
+
"maxItems": 50,
|
|
21395
21520
|
"type": "array",
|
|
21396
21521
|
"items": {
|
|
21397
21522
|
"type": "object",
|
|
@@ -22305,6 +22430,81 @@
|
|
|
22305
22430
|
}
|
|
22306
22431
|
}
|
|
22307
22432
|
},
|
|
22433
|
+
"/api/sensei/fyi/move": {
|
|
22434
|
+
"post": {
|
|
22435
|
+
"operationId": "senseiFyiMove",
|
|
22436
|
+
"summary": "Move one conversation's parked FYI messages to needs-reply, so its Event Turn drafts a reply card",
|
|
22437
|
+
"tags": ["sensei"],
|
|
22438
|
+
"x-kosuke-command": ["sensei", "fyi", "move"],
|
|
22439
|
+
"x-kosuke-sandbox-token": true,
|
|
22440
|
+
"x-kosuke-cron-token": true,
|
|
22441
|
+
"x-kosuke-sensei-token": true,
|
|
22442
|
+
"requestBody": {
|
|
22443
|
+
"required": true,
|
|
22444
|
+
"content": {
|
|
22445
|
+
"application/json": {
|
|
22446
|
+
"schema": {
|
|
22447
|
+
"type": "object",
|
|
22448
|
+
"properties": {
|
|
22449
|
+
"card": {
|
|
22450
|
+
"type": "string",
|
|
22451
|
+
"format": "uuid",
|
|
22452
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
|
|
22453
|
+
"description": "The FYI digest card the member replied to"
|
|
22454
|
+
},
|
|
22455
|
+
"connection": {
|
|
22456
|
+
"type": "string",
|
|
22457
|
+
"format": "uuid",
|
|
22458
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
|
|
22459
|
+
"description": "The connection of the conversation that needs the member"
|
|
22460
|
+
},
|
|
22461
|
+
"conversation": {
|
|
22462
|
+
"type": "string",
|
|
22463
|
+
"minLength": 1,
|
|
22464
|
+
"maxLength": 512,
|
|
22465
|
+
"description": "The conversation id, as the fyi_digest event and the card name it"
|
|
22466
|
+
}
|
|
22467
|
+
},
|
|
22468
|
+
"required": ["card", "connection", "conversation"],
|
|
22469
|
+
"additionalProperties": false
|
|
22470
|
+
}
|
|
22471
|
+
}
|
|
22472
|
+
}
|
|
22473
|
+
},
|
|
22474
|
+
"responses": {
|
|
22475
|
+
"2XX": {
|
|
22476
|
+
"description": "Success envelope",
|
|
22477
|
+
"content": {
|
|
22478
|
+
"application/json": {
|
|
22479
|
+
"schema": {
|
|
22480
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
22481
|
+
}
|
|
22482
|
+
}
|
|
22483
|
+
}
|
|
22484
|
+
},
|
|
22485
|
+
"4XX": {
|
|
22486
|
+
"description": "Error envelope",
|
|
22487
|
+
"content": {
|
|
22488
|
+
"application/json": {
|
|
22489
|
+
"schema": {
|
|
22490
|
+
"$ref": "#/components/schemas/ApiError"
|
|
22491
|
+
}
|
|
22492
|
+
}
|
|
22493
|
+
}
|
|
22494
|
+
},
|
|
22495
|
+
"5XX": {
|
|
22496
|
+
"description": "Error envelope",
|
|
22497
|
+
"content": {
|
|
22498
|
+
"application/json": {
|
|
22499
|
+
"schema": {
|
|
22500
|
+
"$ref": "#/components/schemas/ApiError"
|
|
22501
|
+
}
|
|
22502
|
+
}
|
|
22503
|
+
}
|
|
22504
|
+
}
|
|
22505
|
+
}
|
|
22506
|
+
}
|
|
22507
|
+
},
|
|
22308
22508
|
"/api/sensei/memory": {
|
|
22309
22509
|
"get": {
|
|
22310
22510
|
"operationId": "senseiMemoryGet",
|
|
@@ -26417,7 +26617,7 @@
|
|
|
26417
26617
|
"/api/user/profile": {
|
|
26418
26618
|
"get": {
|
|
26419
26619
|
"operationId": "userProfileGet",
|
|
26420
|
-
"summary": "Read your account: id, email, name, onboarding state, default model, auto-commit setting and
|
|
26620
|
+
"summary": "Read your account: id, email, name, onboarding state, default model, auto-commit setting, Reply Style and FYI digest interval.",
|
|
26421
26621
|
"tags": ["user"],
|
|
26422
26622
|
"x-kosuke-command": ["user", "profile", "get"],
|
|
26423
26623
|
"x-kosuke-sandbox-token": true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"description": "Kosuke platform CLI. The client customers install to drive app.kosuke.ai from their own machine.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"vitest": "^4.1.12"
|
|
41
41
|
},
|
|
42
42
|
"kosukeRelease": {
|
|
43
|
-
"sourceCommit": "
|
|
44
|
-
"sourceIdentity": "
|
|
43
|
+
"sourceCommit": "ab85cf946cdc768b0b0a051ea9a25426f03f56d2",
|
|
44
|
+
"sourceIdentity": "54461d5b39b8b5ac97df0fa3bf085e169b29ed7454ee8b09efbc26b40b8085ce",
|
|
45
45
|
"fragments": [
|
|
46
|
-
"
|
|
46
|
+
"sensei-fyi-move.json"
|
|
47
47
|
]
|
|
48
48
|
}
|
|
49
49
|
}
|