@sentry/junior 0.136.1 → 0.138.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/{agent-hooks-2KDSPPO4.js → agent-hooks-SCR74Q3E.js} +11 -9
- package/dist/api/conversations/projection.d.ts +1 -0
- package/dist/api/conversations/stats.d.ts +1 -0
- package/dist/api/schema/conversation.d.ts +2 -0
- package/dist/api/schema.js +1 -1
- package/dist/api.js +187 -46
- package/dist/app.d.ts +8 -1
- package/dist/app.js +519 -860
- package/dist/{catalog-runtime-WSZQGC4D.js → catalog-runtime-IU3QF4GG.js} +5 -5
- package/dist/chat/agent/request.d.ts +32 -2
- package/dist/chat/agent-dispatch/heartbeat.d.ts +5 -0
- package/dist/chat/agent-dispatch/types.d.ts +1 -1
- package/dist/chat/agent-invocations/errors.d.ts +8 -0
- package/dist/chat/agent-invocations/spawn.d.ts +12 -0
- package/dist/chat/agent-invocations/store.d.ts +44 -0
- package/dist/chat/agent-invocations/types.d.ts +449 -0
- package/dist/chat/agent-invocations/work.d.ts +31 -0
- package/dist/chat/config.d.ts +1 -0
- package/dist/chat/configuration/defaults.d.ts +1 -1
- package/dist/chat/conversations/sql/store.d.ts +8 -0
- package/dist/chat/conversations/store.d.ts +9 -1
- package/dist/chat/experimental.d.ts +16 -0
- package/dist/chat/pi/client.d.ts +1 -8
- package/dist/chat/pi/gateway-auth.d.ts +16 -0
- package/dist/chat/runtime/agent-runner.d.ts +2 -1
- package/dist/chat/sandbox/docker.d.ts +17 -0
- package/dist/chat/services/agent-continue.d.ts +2 -0
- package/dist/chat/services/auth-pause.d.ts +0 -1
- package/dist/chat/services/mcp-auth-orchestration.d.ts +3 -2
- package/dist/chat/services/plugin-auth-orchestration.d.ts +3 -2
- package/dist/chat/services/subscribed-reply-router-policy.d.ts +12 -0
- package/dist/chat/services/turn-session-routing.d.ts +17 -0
- package/dist/chat/slack/message.d.ts +6 -1
- package/dist/chat/slack/source-link.d.ts +8 -2
- package/dist/chat/slack/team-domain.d.ts +4 -0
- package/dist/chat/source.d.ts +5 -5
- package/dist/chat/state/turn-session.d.ts +0 -2
- package/dist/chat/task-execution/state.d.ts +23 -11
- package/dist/chat/task-execution/store.d.ts +20 -11
- package/dist/chat/task-execution/worker.d.ts +2 -2
- package/dist/chat/tools/runtime/spawn-agent.d.ts +31 -0
- package/dist/chat/tools/types.d.ts +2 -0
- package/dist/chunk-3Y47VMHV.js +6 -0
- package/dist/chunk-5IDFPCON.js +46 -0
- package/dist/chunk-5LTJ4ITU.js +1523 -0
- package/dist/{chunk-KLBYCSLJ.js → chunk-5MXWHTCK.js} +17 -434
- package/dist/{chunk-CZZDCH3Q.js → chunk-A7WCHXZV.js} +206 -78
- package/dist/{chunk-4YQ6I6VF.js → chunk-BOLJOV5T.js} +2 -56
- package/dist/{chunk-XCZ6COFO.js → chunk-BYW4B4PR.js} +90 -54
- package/dist/{chunk-JQRTXJHD.js → chunk-C7ZVPO4Z.js} +2 -1
- package/dist/{chunk-MW2QRPGW.js → chunk-DCLLQGS6.js} +119 -50
- package/dist/{chunk-CDVCCOMF.js → chunk-E5UYAIKJ.js} +75 -1475
- package/dist/{chunk-3SUK3UXX.js → chunk-ELKW5FIB.js} +5 -5
- package/dist/chunk-EM225ITJ.js +56 -0
- package/dist/{chunk-Y6JNHTRD.js → chunk-FEUNPTGV.js} +34 -70
- package/dist/{chunk-TYNMSQKA.js → chunk-FNLBTB4K.js} +1 -1
- package/dist/{chunk-TRZSM67C.js → chunk-HCIVH3JS.js} +1 -0
- package/dist/chunk-HIWJWWMT.js +668 -0
- package/dist/chunk-IUFM5JWV.js +24 -0
- package/dist/{chunk-XWPA5KZF.js → chunk-JNNJZURV.js} +1 -1
- package/dist/{chunk-6ZK6FZIV.js → chunk-KCBZSJRU.js} +6 -27
- package/dist/{chunk-BG3KWWDJ.js → chunk-KDCHVT25.js} +1 -1
- package/dist/{chunk-VH6MI4L7.js → chunk-KFRHRSCJ.js} +1 -1
- package/dist/chunk-LPVUNO2W.js +320 -0
- package/dist/{chunk-G66RYKRS.js → chunk-N7WARMC6.js} +16 -776
- package/dist/chunk-PB3CXNVL.js +41 -0
- package/dist/chunk-Q6QZTTLS.js +55 -0
- package/dist/{chunk-3QNJOHKG.js → chunk-QS527AV5.js} +1 -1
- package/dist/chunk-R776HKPK.js +81 -0
- package/dist/{chunk-OTJMQYVP.js → chunk-RZIBSCYC.js} +517 -608
- package/dist/chunk-SD3OFRWY.js +714 -0
- package/dist/{chunk-HIRIWTWD.js → chunk-SIPKWSXK.js} +58 -10
- package/dist/chunk-TCS76X5D.js +441 -0
- package/dist/{chunk-UX2TNH5D.js → chunk-TDJCLNDH.js} +3 -3
- package/dist/{chunk-NVVBEJUB.js → chunk-TUUDXEXU.js} +336 -300
- package/dist/{chunk-22Z6MGMK.js → chunk-VPZFVJND.js} +1 -1
- package/dist/{chunk-RFDD3Z2I.js → chunk-YU5QUF67.js} +1 -1
- package/dist/chunk-ZBSMCXKV.js +710 -0
- package/dist/{chunk-FSYXYBWU.js → chunk-ZXNTJJIE.js} +2 -2
- package/dist/cli/chat.js +65 -26
- package/dist/cli/check.js +7 -7
- package/dist/cli/plugins.js +14 -12
- package/dist/cli/snapshot-create.js +10 -9
- package/dist/cli/upgrade.js +7 -7
- package/dist/conversation-work-KATFHLG3.js +56 -0
- package/dist/db/schema/agent-invocations.d.ts +544 -0
- package/dist/db/schema.d.ts +543 -1
- package/dist/{db-Z2NNL2JC.js → db-UO2IWXGA.js} +7 -7
- package/dist/experimental-HH6OM6UH.js +13 -0
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +4 -3
- package/dist/{oauth-callback-server-PO3M5JMG.js → oauth-callback-server-MAQI43LX.js} +26 -18
- package/dist/{runner-QHQYZYJA.js → runner-PIUQEXKE.js} +26 -14
- package/dist/{skills-KXMT3DRA.js → skills-4ARJADHQ.js} +6 -6
- package/dist/spawn-G2AWPMCT.js +38 -0
- package/dist/{validation-Y42ULTT6.js → validation-S3EE3HWL.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/work-UARRUAW3.js +46 -0
- package/dist/worker-DOCIRVD3.js +24 -0
- package/migrations/0021_first_warhawk.sql +35 -0
- package/migrations/meta/0021_snapshot.json +2176 -0
- package/migrations/meta/_journal.json +8 -1
- package/package.json +6 -5
package/dist/db/schema.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { juniorApiTokens } from "./schema/api-tokens";
|
|
|
3
3
|
import { juniorConversationEvents } from "./schema/conversation-events";
|
|
4
4
|
import { juniorConversationBindings } from "./schema/conversation-bindings";
|
|
5
5
|
import { juniorConversations } from "./schema/conversations";
|
|
6
|
+
import { juniorAgentBindings, juniorAgentInvocations } from "./schema/agent-invocations";
|
|
6
7
|
import { juniorDestinations } from "./schema/destinations";
|
|
7
8
|
import { juniorEventTasks } from "./schema/event-tasks";
|
|
8
9
|
import { juniorIdentities } from "./schema/identities";
|
|
@@ -10,7 +11,7 @@ import { juniorStats } from "./schema/stats";
|
|
|
10
11
|
import { juniorTaskExecutions } from "./schema/task-executions";
|
|
11
12
|
import { juniorSchedulerRuns, juniorSchedulerTasks } from "./schema/scheduled-tasks";
|
|
12
13
|
import { juniorUsers } from "./schema/users";
|
|
13
|
-
export { juniorConversationAnnotations, juniorApiTokens, juniorConversationEvents, juniorConversationBindings, juniorConversations, juniorDestinations, juniorEventTasks, juniorIdentities, juniorStats, juniorTaskExecutions, juniorSchedulerRuns, juniorSchedulerTasks, juniorUsers, };
|
|
14
|
+
export { juniorConversationAnnotations, juniorApiTokens, juniorAgentBindings, juniorAgentInvocations, juniorConversationEvents, juniorConversationBindings, juniorConversations, juniorDestinations, juniorEventTasks, juniorIdentities, juniorStats, juniorTaskExecutions, juniorSchedulerRuns, juniorSchedulerTasks, juniorUsers, };
|
|
14
15
|
export declare const juniorSqlSchema: {
|
|
15
16
|
juniorConversationAnnotations: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
16
17
|
name: "junior_conversation_annotations";
|
|
@@ -314,6 +315,547 @@ export declare const juniorSqlSchema: {
|
|
|
314
315
|
};
|
|
315
316
|
dialect: "pg";
|
|
316
317
|
}>;
|
|
318
|
+
juniorAgentBindings: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
319
|
+
name: "junior_agent_bindings";
|
|
320
|
+
schema: undefined;
|
|
321
|
+
columns: {
|
|
322
|
+
parentConversationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
323
|
+
name: "parent_conversation_id";
|
|
324
|
+
tableName: "junior_agent_bindings";
|
|
325
|
+
dataType: "string";
|
|
326
|
+
columnType: "PgText";
|
|
327
|
+
data: string;
|
|
328
|
+
driverParam: string;
|
|
329
|
+
notNull: true;
|
|
330
|
+
hasDefault: false;
|
|
331
|
+
isPrimaryKey: false;
|
|
332
|
+
isAutoincrement: false;
|
|
333
|
+
hasRuntimeDefault: false;
|
|
334
|
+
enumValues: [string, ...string[]];
|
|
335
|
+
baseColumn: never;
|
|
336
|
+
identity: undefined;
|
|
337
|
+
generated: undefined;
|
|
338
|
+
}, {}, {}>;
|
|
339
|
+
name: import("drizzle-orm/pg-core").PgColumn<{
|
|
340
|
+
name: "name";
|
|
341
|
+
tableName: "junior_agent_bindings";
|
|
342
|
+
dataType: "string";
|
|
343
|
+
columnType: "PgText";
|
|
344
|
+
data: string;
|
|
345
|
+
driverParam: string;
|
|
346
|
+
notNull: true;
|
|
347
|
+
hasDefault: false;
|
|
348
|
+
isPrimaryKey: false;
|
|
349
|
+
isAutoincrement: false;
|
|
350
|
+
hasRuntimeDefault: false;
|
|
351
|
+
enumValues: [string, ...string[]];
|
|
352
|
+
baseColumn: never;
|
|
353
|
+
identity: undefined;
|
|
354
|
+
generated: undefined;
|
|
355
|
+
}, {}, {}>;
|
|
356
|
+
childConversationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
357
|
+
name: "child_conversation_id";
|
|
358
|
+
tableName: "junior_agent_bindings";
|
|
359
|
+
dataType: "string";
|
|
360
|
+
columnType: "PgText";
|
|
361
|
+
data: string;
|
|
362
|
+
driverParam: string;
|
|
363
|
+
notNull: true;
|
|
364
|
+
hasDefault: false;
|
|
365
|
+
isPrimaryKey: false;
|
|
366
|
+
isAutoincrement: false;
|
|
367
|
+
hasRuntimeDefault: false;
|
|
368
|
+
enumValues: [string, ...string[]];
|
|
369
|
+
baseColumn: never;
|
|
370
|
+
identity: undefined;
|
|
371
|
+
generated: undefined;
|
|
372
|
+
}, {}, {}>;
|
|
373
|
+
};
|
|
374
|
+
dialect: "pg";
|
|
375
|
+
}>;
|
|
376
|
+
juniorAgentInvocations: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
377
|
+
name: "junior_agent_invocations";
|
|
378
|
+
schema: undefined;
|
|
379
|
+
columns: {
|
|
380
|
+
invocationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
381
|
+
name: "invocation_id";
|
|
382
|
+
tableName: "junior_agent_invocations";
|
|
383
|
+
dataType: "string";
|
|
384
|
+
columnType: "PgText";
|
|
385
|
+
data: string;
|
|
386
|
+
driverParam: string;
|
|
387
|
+
notNull: true;
|
|
388
|
+
hasDefault: false;
|
|
389
|
+
isPrimaryKey: true;
|
|
390
|
+
isAutoincrement: false;
|
|
391
|
+
hasRuntimeDefault: false;
|
|
392
|
+
enumValues: [string, ...string[]];
|
|
393
|
+
baseColumn: never;
|
|
394
|
+
identity: undefined;
|
|
395
|
+
generated: undefined;
|
|
396
|
+
}, {}, {}>;
|
|
397
|
+
parentConversationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
398
|
+
name: "parent_conversation_id";
|
|
399
|
+
tableName: "junior_agent_invocations";
|
|
400
|
+
dataType: "string";
|
|
401
|
+
columnType: "PgText";
|
|
402
|
+
data: string;
|
|
403
|
+
driverParam: string;
|
|
404
|
+
notNull: true;
|
|
405
|
+
hasDefault: false;
|
|
406
|
+
isPrimaryKey: false;
|
|
407
|
+
isAutoincrement: false;
|
|
408
|
+
hasRuntimeDefault: false;
|
|
409
|
+
enumValues: [string, ...string[]];
|
|
410
|
+
baseColumn: never;
|
|
411
|
+
identity: undefined;
|
|
412
|
+
generated: undefined;
|
|
413
|
+
}, {}, {}>;
|
|
414
|
+
childConversationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
415
|
+
name: "child_conversation_id";
|
|
416
|
+
tableName: "junior_agent_invocations";
|
|
417
|
+
dataType: "string";
|
|
418
|
+
columnType: "PgText";
|
|
419
|
+
data: string;
|
|
420
|
+
driverParam: string;
|
|
421
|
+
notNull: true;
|
|
422
|
+
hasDefault: false;
|
|
423
|
+
isPrimaryKey: false;
|
|
424
|
+
isAutoincrement: false;
|
|
425
|
+
hasRuntimeDefault: false;
|
|
426
|
+
enumValues: [string, ...string[]];
|
|
427
|
+
baseColumn: never;
|
|
428
|
+
identity: undefined;
|
|
429
|
+
generated: undefined;
|
|
430
|
+
}, {}, {}>;
|
|
431
|
+
agentName: import("drizzle-orm/pg-core").PgColumn<{
|
|
432
|
+
name: "agent_name";
|
|
433
|
+
tableName: "junior_agent_invocations";
|
|
434
|
+
dataType: "string";
|
|
435
|
+
columnType: "PgText";
|
|
436
|
+
data: string;
|
|
437
|
+
driverParam: string;
|
|
438
|
+
notNull: false;
|
|
439
|
+
hasDefault: false;
|
|
440
|
+
isPrimaryKey: false;
|
|
441
|
+
isAutoincrement: false;
|
|
442
|
+
hasRuntimeDefault: false;
|
|
443
|
+
enumValues: [string, ...string[]];
|
|
444
|
+
baseColumn: never;
|
|
445
|
+
identity: undefined;
|
|
446
|
+
generated: undefined;
|
|
447
|
+
}, {}, {}>;
|
|
448
|
+
input: import("drizzle-orm/pg-core").PgColumn<{
|
|
449
|
+
name: "input";
|
|
450
|
+
tableName: "junior_agent_invocations";
|
|
451
|
+
dataType: "string";
|
|
452
|
+
columnType: "PgText";
|
|
453
|
+
data: string;
|
|
454
|
+
driverParam: string;
|
|
455
|
+
notNull: true;
|
|
456
|
+
hasDefault: false;
|
|
457
|
+
isPrimaryKey: false;
|
|
458
|
+
isAutoincrement: false;
|
|
459
|
+
hasRuntimeDefault: false;
|
|
460
|
+
enumValues: [string, ...string[]];
|
|
461
|
+
baseColumn: never;
|
|
462
|
+
identity: undefined;
|
|
463
|
+
generated: undefined;
|
|
464
|
+
}, {}, {}>;
|
|
465
|
+
actor: import("drizzle-orm/pg-core").PgColumn<{
|
|
466
|
+
name: "actor_json";
|
|
467
|
+
tableName: "junior_agent_invocations";
|
|
468
|
+
dataType: "json";
|
|
469
|
+
columnType: "PgJsonb";
|
|
470
|
+
data: {
|
|
471
|
+
platform: "slack";
|
|
472
|
+
teamId: string;
|
|
473
|
+
userId: string;
|
|
474
|
+
email?: string | undefined;
|
|
475
|
+
fullName?: string | undefined;
|
|
476
|
+
userName?: string | undefined;
|
|
477
|
+
} | {
|
|
478
|
+
platform: "local";
|
|
479
|
+
userId: string;
|
|
480
|
+
email?: string | undefined;
|
|
481
|
+
fullName?: string | undefined;
|
|
482
|
+
userName?: string | undefined;
|
|
483
|
+
} | {
|
|
484
|
+
platform: "system";
|
|
485
|
+
name: string;
|
|
486
|
+
};
|
|
487
|
+
driverParam: unknown;
|
|
488
|
+
notNull: true;
|
|
489
|
+
hasDefault: false;
|
|
490
|
+
isPrimaryKey: false;
|
|
491
|
+
isAutoincrement: false;
|
|
492
|
+
hasRuntimeDefault: false;
|
|
493
|
+
enumValues: undefined;
|
|
494
|
+
baseColumn: never;
|
|
495
|
+
identity: undefined;
|
|
496
|
+
generated: undefined;
|
|
497
|
+
}, {}, {
|
|
498
|
+
$type: {
|
|
499
|
+
platform: "slack";
|
|
500
|
+
teamId: string;
|
|
501
|
+
userId: string;
|
|
502
|
+
email?: string | undefined;
|
|
503
|
+
fullName?: string | undefined;
|
|
504
|
+
userName?: string | undefined;
|
|
505
|
+
} | {
|
|
506
|
+
platform: "local";
|
|
507
|
+
userId: string;
|
|
508
|
+
email?: string | undefined;
|
|
509
|
+
fullName?: string | undefined;
|
|
510
|
+
userName?: string | undefined;
|
|
511
|
+
} | {
|
|
512
|
+
platform: "system";
|
|
513
|
+
name: string;
|
|
514
|
+
};
|
|
515
|
+
}>;
|
|
516
|
+
credentialContext: import("drizzle-orm/pg-core").PgColumn<{
|
|
517
|
+
name: "credential_context_json";
|
|
518
|
+
tableName: "junior_agent_invocations";
|
|
519
|
+
dataType: "json";
|
|
520
|
+
columnType: "PgJsonb";
|
|
521
|
+
data: {
|
|
522
|
+
actor: {
|
|
523
|
+
type: "user";
|
|
524
|
+
userId: string;
|
|
525
|
+
};
|
|
526
|
+
} | {
|
|
527
|
+
actor: {
|
|
528
|
+
platform: "system";
|
|
529
|
+
name: string;
|
|
530
|
+
};
|
|
531
|
+
subject?: {
|
|
532
|
+
type: "user";
|
|
533
|
+
userId: string;
|
|
534
|
+
allowedWhen: "scheduled-task";
|
|
535
|
+
taskId: string;
|
|
536
|
+
binding: {
|
|
537
|
+
type: "scheduled-task";
|
|
538
|
+
plugin: string;
|
|
539
|
+
taskId: string;
|
|
540
|
+
signature: string;
|
|
541
|
+
};
|
|
542
|
+
} | {
|
|
543
|
+
type: "user";
|
|
544
|
+
userId: string;
|
|
545
|
+
allowedWhen: "event-task";
|
|
546
|
+
taskId: string;
|
|
547
|
+
binding: {
|
|
548
|
+
type: "event-task";
|
|
549
|
+
plugin: string;
|
|
550
|
+
taskId: string;
|
|
551
|
+
signature: string;
|
|
552
|
+
};
|
|
553
|
+
} | {
|
|
554
|
+
type: "user";
|
|
555
|
+
userId: string;
|
|
556
|
+
allowedWhen: "private-direct-conversation";
|
|
557
|
+
binding: {
|
|
558
|
+
type: "slack-direct-conversation";
|
|
559
|
+
teamId: string;
|
|
560
|
+
channelId: string;
|
|
561
|
+
signature: string;
|
|
562
|
+
};
|
|
563
|
+
} | undefined;
|
|
564
|
+
};
|
|
565
|
+
driverParam: unknown;
|
|
566
|
+
notNull: false;
|
|
567
|
+
hasDefault: false;
|
|
568
|
+
isPrimaryKey: false;
|
|
569
|
+
isAutoincrement: false;
|
|
570
|
+
hasRuntimeDefault: false;
|
|
571
|
+
enumValues: undefined;
|
|
572
|
+
baseColumn: never;
|
|
573
|
+
identity: undefined;
|
|
574
|
+
generated: undefined;
|
|
575
|
+
}, {}, {
|
|
576
|
+
$type: {
|
|
577
|
+
actor: {
|
|
578
|
+
type: "user";
|
|
579
|
+
userId: string;
|
|
580
|
+
};
|
|
581
|
+
} | {
|
|
582
|
+
actor: {
|
|
583
|
+
platform: "system";
|
|
584
|
+
name: string;
|
|
585
|
+
};
|
|
586
|
+
subject?: {
|
|
587
|
+
type: "user";
|
|
588
|
+
userId: string;
|
|
589
|
+
allowedWhen: "scheduled-task";
|
|
590
|
+
taskId: string;
|
|
591
|
+
binding: {
|
|
592
|
+
type: "scheduled-task";
|
|
593
|
+
plugin: string;
|
|
594
|
+
taskId: string;
|
|
595
|
+
signature: string;
|
|
596
|
+
};
|
|
597
|
+
} | {
|
|
598
|
+
type: "user";
|
|
599
|
+
userId: string;
|
|
600
|
+
allowedWhen: "event-task";
|
|
601
|
+
taskId: string;
|
|
602
|
+
binding: {
|
|
603
|
+
type: "event-task";
|
|
604
|
+
plugin: string;
|
|
605
|
+
taskId: string;
|
|
606
|
+
signature: string;
|
|
607
|
+
};
|
|
608
|
+
} | {
|
|
609
|
+
type: "user";
|
|
610
|
+
userId: string;
|
|
611
|
+
allowedWhen: "private-direct-conversation";
|
|
612
|
+
binding: {
|
|
613
|
+
type: "slack-direct-conversation";
|
|
614
|
+
teamId: string;
|
|
615
|
+
channelId: string;
|
|
616
|
+
signature: string;
|
|
617
|
+
};
|
|
618
|
+
} | undefined;
|
|
619
|
+
};
|
|
620
|
+
}>;
|
|
621
|
+
source: import("drizzle-orm/pg-core").PgColumn<{
|
|
622
|
+
name: "source_json";
|
|
623
|
+
tableName: "junior_agent_invocations";
|
|
624
|
+
dataType: "json";
|
|
625
|
+
columnType: "PgJsonb";
|
|
626
|
+
data: {
|
|
627
|
+
platform: "slack";
|
|
628
|
+
teamId: string;
|
|
629
|
+
channelId: string;
|
|
630
|
+
visibility: "public" | "private";
|
|
631
|
+
messageTs?: string | undefined;
|
|
632
|
+
threadTs?: string | undefined;
|
|
633
|
+
} | {
|
|
634
|
+
platform: "local";
|
|
635
|
+
visibility: "private";
|
|
636
|
+
conversationId: string;
|
|
637
|
+
};
|
|
638
|
+
driverParam: unknown;
|
|
639
|
+
notNull: true;
|
|
640
|
+
hasDefault: false;
|
|
641
|
+
isPrimaryKey: false;
|
|
642
|
+
isAutoincrement: false;
|
|
643
|
+
hasRuntimeDefault: false;
|
|
644
|
+
enumValues: undefined;
|
|
645
|
+
baseColumn: never;
|
|
646
|
+
identity: undefined;
|
|
647
|
+
generated: undefined;
|
|
648
|
+
}, {}, {
|
|
649
|
+
$type: {
|
|
650
|
+
platform: "slack";
|
|
651
|
+
teamId: string;
|
|
652
|
+
channelId: string;
|
|
653
|
+
visibility: "public" | "private";
|
|
654
|
+
messageTs?: string | undefined;
|
|
655
|
+
threadTs?: string | undefined;
|
|
656
|
+
} | {
|
|
657
|
+
platform: "local";
|
|
658
|
+
visibility: "private";
|
|
659
|
+
conversationId: string;
|
|
660
|
+
};
|
|
661
|
+
}>;
|
|
662
|
+
destination: import("drizzle-orm/pg-core").PgColumn<{
|
|
663
|
+
name: "destination_json";
|
|
664
|
+
tableName: "junior_agent_invocations";
|
|
665
|
+
dataType: "json";
|
|
666
|
+
columnType: "PgJsonb";
|
|
667
|
+
data: {
|
|
668
|
+
platform: "slack";
|
|
669
|
+
teamId: string;
|
|
670
|
+
channelId: string;
|
|
671
|
+
} | {
|
|
672
|
+
platform: "local";
|
|
673
|
+
conversationId: string;
|
|
674
|
+
};
|
|
675
|
+
driverParam: unknown;
|
|
676
|
+
notNull: true;
|
|
677
|
+
hasDefault: false;
|
|
678
|
+
isPrimaryKey: false;
|
|
679
|
+
isAutoincrement: false;
|
|
680
|
+
hasRuntimeDefault: false;
|
|
681
|
+
enumValues: undefined;
|
|
682
|
+
baseColumn: never;
|
|
683
|
+
identity: undefined;
|
|
684
|
+
generated: undefined;
|
|
685
|
+
}, {}, {
|
|
686
|
+
$type: {
|
|
687
|
+
platform: "slack";
|
|
688
|
+
teamId: string;
|
|
689
|
+
channelId: string;
|
|
690
|
+
} | {
|
|
691
|
+
platform: "local";
|
|
692
|
+
conversationId: string;
|
|
693
|
+
};
|
|
694
|
+
}>;
|
|
695
|
+
destinationVisibility: import("drizzle-orm/pg-core").PgColumn<{
|
|
696
|
+
name: "destination_visibility";
|
|
697
|
+
tableName: "junior_agent_invocations";
|
|
698
|
+
dataType: "string";
|
|
699
|
+
columnType: "PgText";
|
|
700
|
+
data: import("../chat/conversation-privacy").ConversationPrivacy;
|
|
701
|
+
driverParam: string;
|
|
702
|
+
notNull: false;
|
|
703
|
+
hasDefault: false;
|
|
704
|
+
isPrimaryKey: false;
|
|
705
|
+
isAutoincrement: false;
|
|
706
|
+
hasRuntimeDefault: false;
|
|
707
|
+
enumValues: [string, ...string[]];
|
|
708
|
+
baseColumn: never;
|
|
709
|
+
identity: undefined;
|
|
710
|
+
generated: undefined;
|
|
711
|
+
}, {}, {
|
|
712
|
+
$type: import("../chat/conversation-privacy").ConversationPrivacy;
|
|
713
|
+
}>;
|
|
714
|
+
reasoningLevel: import("drizzle-orm/pg-core").PgColumn<{
|
|
715
|
+
name: "reasoning_level";
|
|
716
|
+
tableName: "junior_agent_invocations";
|
|
717
|
+
dataType: "string";
|
|
718
|
+
columnType: "PgText";
|
|
719
|
+
data: "low" | "medium" | "high" | "xhigh" | "none";
|
|
720
|
+
driverParam: string;
|
|
721
|
+
notNull: false;
|
|
722
|
+
hasDefault: false;
|
|
723
|
+
isPrimaryKey: false;
|
|
724
|
+
isAutoincrement: false;
|
|
725
|
+
hasRuntimeDefault: false;
|
|
726
|
+
enumValues: [string, ...string[]];
|
|
727
|
+
baseColumn: never;
|
|
728
|
+
identity: undefined;
|
|
729
|
+
generated: undefined;
|
|
730
|
+
}, {}, {
|
|
731
|
+
$type: "low" | "medium" | "high" | "xhigh" | "none";
|
|
732
|
+
}>;
|
|
733
|
+
status: import("drizzle-orm/pg-core").PgColumn<{
|
|
734
|
+
name: "status";
|
|
735
|
+
tableName: "junior_agent_invocations";
|
|
736
|
+
dataType: "string";
|
|
737
|
+
columnType: "PgText";
|
|
738
|
+
data: "pending" | "running" | "awaiting_resume" | "completed" | "failed" | "blocked";
|
|
739
|
+
driverParam: string;
|
|
740
|
+
notNull: true;
|
|
741
|
+
hasDefault: false;
|
|
742
|
+
isPrimaryKey: false;
|
|
743
|
+
isAutoincrement: false;
|
|
744
|
+
hasRuntimeDefault: false;
|
|
745
|
+
enumValues: [string, ...string[]];
|
|
746
|
+
baseColumn: never;
|
|
747
|
+
identity: undefined;
|
|
748
|
+
generated: undefined;
|
|
749
|
+
}, {}, {
|
|
750
|
+
$type: "pending" | "running" | "awaiting_resume" | "completed" | "failed" | "blocked";
|
|
751
|
+
}>;
|
|
752
|
+
mailboxStatus: import("drizzle-orm/pg-core").PgColumn<{
|
|
753
|
+
name: "mailbox_status";
|
|
754
|
+
tableName: "junior_agent_invocations";
|
|
755
|
+
dataType: "string";
|
|
756
|
+
columnType: "PgText";
|
|
757
|
+
data: "pending" | "appended";
|
|
758
|
+
driverParam: string;
|
|
759
|
+
notNull: true;
|
|
760
|
+
hasDefault: false;
|
|
761
|
+
isPrimaryKey: false;
|
|
762
|
+
isAutoincrement: false;
|
|
763
|
+
hasRuntimeDefault: false;
|
|
764
|
+
enumValues: [string, ...string[]];
|
|
765
|
+
baseColumn: never;
|
|
766
|
+
identity: undefined;
|
|
767
|
+
generated: undefined;
|
|
768
|
+
}, {}, {
|
|
769
|
+
$type: "pending" | "appended";
|
|
770
|
+
}>;
|
|
771
|
+
result: import("drizzle-orm/pg-core").PgColumn<{
|
|
772
|
+
name: "result";
|
|
773
|
+
tableName: "junior_agent_invocations";
|
|
774
|
+
dataType: "string";
|
|
775
|
+
columnType: "PgText";
|
|
776
|
+
data: string;
|
|
777
|
+
driverParam: string;
|
|
778
|
+
notNull: false;
|
|
779
|
+
hasDefault: false;
|
|
780
|
+
isPrimaryKey: false;
|
|
781
|
+
isAutoincrement: false;
|
|
782
|
+
hasRuntimeDefault: false;
|
|
783
|
+
enumValues: [string, ...string[]];
|
|
784
|
+
baseColumn: never;
|
|
785
|
+
identity: undefined;
|
|
786
|
+
generated: undefined;
|
|
787
|
+
}, {}, {}>;
|
|
788
|
+
errorMessage: import("drizzle-orm/pg-core").PgColumn<{
|
|
789
|
+
name: "error_message";
|
|
790
|
+
tableName: "junior_agent_invocations";
|
|
791
|
+
dataType: "string";
|
|
792
|
+
columnType: "PgText";
|
|
793
|
+
data: string;
|
|
794
|
+
driverParam: string;
|
|
795
|
+
notNull: false;
|
|
796
|
+
hasDefault: false;
|
|
797
|
+
isPrimaryKey: false;
|
|
798
|
+
isAutoincrement: false;
|
|
799
|
+
hasRuntimeDefault: false;
|
|
800
|
+
enumValues: [string, ...string[]];
|
|
801
|
+
baseColumn: never;
|
|
802
|
+
identity: undefined;
|
|
803
|
+
generated: undefined;
|
|
804
|
+
}, {}, {}>;
|
|
805
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
806
|
+
name: string;
|
|
807
|
+
tableName: "junior_agent_invocations";
|
|
808
|
+
dataType: "date";
|
|
809
|
+
columnType: "PgTimestamp";
|
|
810
|
+
data: Date;
|
|
811
|
+
driverParam: string;
|
|
812
|
+
notNull: true;
|
|
813
|
+
hasDefault: false;
|
|
814
|
+
isPrimaryKey: false;
|
|
815
|
+
isAutoincrement: false;
|
|
816
|
+
hasRuntimeDefault: false;
|
|
817
|
+
enumValues: undefined;
|
|
818
|
+
baseColumn: never;
|
|
819
|
+
identity: undefined;
|
|
820
|
+
generated: undefined;
|
|
821
|
+
}, {}, {}>;
|
|
822
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
823
|
+
name: string;
|
|
824
|
+
tableName: "junior_agent_invocations";
|
|
825
|
+
dataType: "date";
|
|
826
|
+
columnType: "PgTimestamp";
|
|
827
|
+
data: Date;
|
|
828
|
+
driverParam: string;
|
|
829
|
+
notNull: true;
|
|
830
|
+
hasDefault: false;
|
|
831
|
+
isPrimaryKey: false;
|
|
832
|
+
isAutoincrement: false;
|
|
833
|
+
hasRuntimeDefault: false;
|
|
834
|
+
enumValues: undefined;
|
|
835
|
+
baseColumn: never;
|
|
836
|
+
identity: undefined;
|
|
837
|
+
generated: undefined;
|
|
838
|
+
}, {}, {}>;
|
|
839
|
+
terminalAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
840
|
+
name: string;
|
|
841
|
+
tableName: "junior_agent_invocations";
|
|
842
|
+
dataType: "date";
|
|
843
|
+
columnType: "PgTimestamp";
|
|
844
|
+
data: Date;
|
|
845
|
+
driverParam: string;
|
|
846
|
+
notNull: false;
|
|
847
|
+
hasDefault: false;
|
|
848
|
+
isPrimaryKey: false;
|
|
849
|
+
isAutoincrement: false;
|
|
850
|
+
hasRuntimeDefault: false;
|
|
851
|
+
enumValues: undefined;
|
|
852
|
+
baseColumn: never;
|
|
853
|
+
identity: undefined;
|
|
854
|
+
generated: undefined;
|
|
855
|
+
}, {}, {}>;
|
|
856
|
+
};
|
|
857
|
+
dialect: "pg";
|
|
858
|
+
}>;
|
|
317
859
|
juniorConversationEvents: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
318
860
|
name: "junior_conversation_events";
|
|
319
861
|
schema: undefined;
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
getConversationStore,
|
|
6
6
|
getDb,
|
|
7
7
|
getSqlExecutor
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-SIPKWSXK.js";
|
|
9
|
+
import "./chunk-DCLLQGS6.js";
|
|
10
|
+
import "./chunk-BYW4B4PR.js";
|
|
11
11
|
import "./chunk-VFUK3X5B.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-VPZFVJND.js";
|
|
13
13
|
import "./chunk-F3B2YJ76.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-JNNJZURV.js";
|
|
15
15
|
import "./chunk-6GWA276C.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-KDCHVT25.js";
|
|
17
|
+
import "./chunk-C7ZVPO4Z.js";
|
|
18
18
|
import "./chunk-MLKGABMK.js";
|
|
19
19
|
export {
|
|
20
20
|
closeDb,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
EXPERIMENTAL_FEATURES,
|
|
3
|
+
getExperimentalFeatures,
|
|
4
|
+
isExperimentalFeatureEnabled,
|
|
5
|
+
setExperimentalFeatures
|
|
6
|
+
} from "./chunk-5IDFPCON.js";
|
|
7
|
+
import "./chunk-MLKGABMK.js";
|
|
8
|
+
export {
|
|
9
|
+
EXPERIMENTAL_FEATURES,
|
|
10
|
+
getExperimentalFeatures,
|
|
11
|
+
isExperimentalFeatureEnabled,
|
|
12
|
+
setExperimentalFeatures
|
|
13
|
+
};
|
package/dist/instrumentation.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
} from "./chunk-UIE3R5XU.js";
|
|
4
4
|
import {
|
|
5
5
|
getCurrentConversationPrivacy
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-VPZFVJND.js";
|
|
7
|
+
import "./chunk-JNNJZURV.js";
|
|
8
8
|
import {
|
|
9
9
|
getClient,
|
|
10
10
|
getGlobalScope,
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
getDeploymentServiceVersion,
|
|
17
17
|
getDeploymentTelemetryAttributes
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-KDCHVT25.js";
|
|
19
|
+
import "./chunk-C7ZVPO4Z.js";
|
|
20
20
|
import "./chunk-MLKGABMK.js";
|
|
21
21
|
|
|
22
22
|
// src/chat/sentry-payload-filter.ts
|
package/dist/nitro.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveConversationWorkQueueTopic
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KCBZSJRU.js";
|
|
4
|
+
import "./chunk-IUFM5JWV.js";
|
|
4
5
|
import {
|
|
5
6
|
PLUGIN_TASK_QUEUE_TOPIC
|
|
6
7
|
} from "./chunk-5I6ORJUY.js";
|
|
@@ -26,8 +27,8 @@ import {
|
|
|
26
27
|
JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE,
|
|
27
28
|
JUNIOR_RETENTION_CRON_SCHEDULE,
|
|
28
29
|
JUNIOR_RETENTION_ROUTE
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-KDCHVT25.js";
|
|
31
|
+
import "./chunk-C7ZVPO4Z.js";
|
|
31
32
|
import "./chunk-MLKGABMK.js";
|
|
32
33
|
|
|
33
34
|
// src/nitro.ts
|