@sentry/junior 0.182.0 → 0.184.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-3S25UIHO.js → agent-hooks-XTZVALGQ.js} +11 -11
- package/dist/api/acp/auth.d.ts +46 -0
- package/dist/api/acp/authorization-page.d.ts +11 -0
- package/dist/api/acp/conversations.d.ts +70 -0
- package/dist/api/acp/errors.d.ts +6 -0
- package/dist/api/acp/route.d.ts +16 -0
- package/dist/api/acp/schema.d.ts +97 -0
- package/dist/api/acp/sleep.d.ts +2 -0
- package/dist/api/acp/state.d.ts +22 -0
- package/dist/api/acp/transport.d.ts +113 -0
- package/dist/api/code/overview.d.ts +35 -0
- package/dist/api/code/routes.d.ts +4 -0
- package/dist/api/schema/code.d.ts +75 -0
- package/dist/api/schema.d.ts +2 -0
- package/dist/api/schema.js +9 -1
- package/dist/api.js +258 -134
- package/dist/app.d.ts +0 -4
- package/dist/app.js +2171 -220
- package/dist/{catalog-runtime-ESLMBQBV.js → catalog-runtime-5357XR4F.js} +4 -4
- package/dist/chat/agent-invocations/store.d.ts +4 -2
- package/dist/chat/agent-invocations/work.d.ts +1 -3
- package/dist/chat/app/factory.d.ts +3 -3
- package/dist/chat/app/services.d.ts +3 -3
- package/dist/chat/code/publisher.d.ts +3 -0
- package/dist/chat/code/store.d.ts +9 -0
- package/dist/chat/event-tasks/store.d.ts +10 -0
- package/dist/chat/ingress/slack-webhook.d.ts +1 -1
- package/dist/chat/plugins/agent-hooks.d.ts +5 -0
- package/dist/chat/{runtime/slack-runtime.d.ts → providers/slack/runtime.d.ts} +2 -2
- package/dist/chat/{runtime/reply-executor.d.ts → providers/slack/turn.d.ts} +10 -9
- package/dist/chat/resource-events/store.d.ts +12 -0
- package/dist/chat/runtime/turn-execution.d.ts +30 -0
- package/dist/chat/slack/dispatch-turn.d.ts +12 -14
- package/dist/chat/task-execution/slack-work.d.ts +1 -1
- package/dist/{chunk-SXOZIG5X.js → chunk-2ZQPVX7C.js} +6 -6
- package/dist/{chunk-UQP54CXZ.js → chunk-3S7ULUWW.js} +1 -1
- package/dist/{chunk-2CEOXDG2.js → chunk-4CNDGK25.js} +174 -6
- package/dist/{chunk-3THPTNN6.js → chunk-4RONS3WR.js} +4 -4
- package/dist/{chunk-LHQK5XCU.js → chunk-6UDPINOX.js} +2 -2
- package/dist/{chunk-BZD4ADQH.js → chunk-6VOYP4M6.js} +2 -3
- package/dist/{chunk-QHALFHZA.js → chunk-6WGC3SO4.js} +9 -9
- package/dist/{chunk-BDDWVY32.js → chunk-ACPDVEJO.js} +22 -20
- package/dist/{chunk-44BQ3TSK.js → chunk-BCHYQS4B.js} +233 -173
- package/dist/{chunk-SVFSYQMT.js → chunk-BHYRYYLY.js} +1 -1
- package/dist/{chunk-LT4QYGKM.js → chunk-BT53RIGJ.js} +160 -97
- package/dist/{chunk-Z7ALSQS3.js → chunk-DUKIDPF6.js} +1 -1
- package/dist/{chunk-PQES5LB5.js → chunk-E57WPXWY.js} +5 -5
- package/dist/{chunk-GGYA5NPN.js → chunk-FKEZZMXS.js} +8 -8
- package/dist/{chunk-LB4FWMCV.js → chunk-HIPUIPJM.js} +183 -155
- package/dist/{chunk-3NFHI2NA.js → chunk-HUXFMDBZ.js} +1 -1
- package/dist/{chunk-6TSWXBTQ.js → chunk-IZDYYYGP.js} +3 -3
- package/dist/{chunk-YHL2L2ZZ.js → chunk-JA43DV4Y.js} +1 -1
- package/dist/{chunk-V5UZCCNW.js → chunk-JM2COLGC.js} +6 -6
- package/dist/{chunk-A7THOQ6N.js → chunk-JNO2GUDS.js} +21 -21
- package/dist/{chunk-KGMHUDVF.js → chunk-K7VDC2QW.js} +6 -6
- package/dist/{chunk-CVBIM4Z3.js → chunk-LCP4EDKR.js} +1 -1
- package/dist/{chunk-4DZ62L36.js → chunk-LHXIZLFF.js} +1 -1
- package/dist/{chunk-D6OHGAIO.js → chunk-M5YWNMTE.js} +5 -5
- package/dist/{chunk-3ENUMZNG.js → chunk-MAPJFUMV.js} +3 -3
- package/dist/{chunk-UUMBHORH.js → chunk-MLSQX2EX.js} +1 -1
- package/dist/{chunk-WOIALVN2.js → chunk-PJPRXO2T.js} +1 -1
- package/dist/{chunk-VHMAFMHB.js → chunk-QABCY33S.js} +1 -1
- package/dist/{chunk-UKIHNBBD.js → chunk-SHJK75Z2.js} +3 -3
- package/dist/{chunk-S35OZMSL.js → chunk-UBOIHNTH.js} +13 -13
- package/dist/{chunk-DZR3L74W.js → chunk-UF6BUA5W.js} +3 -3
- package/dist/{chunk-JIOKUIAS.js → chunk-WQFEWULF.js} +2 -2
- package/dist/chunk-WVIA7V3M.js +975 -0
- package/dist/{chunk-MJISSOWB.js → chunk-YKX6MTLU.js} +1 -1
- package/dist/{chunk-TEFNHMO2.js → chunk-Z3QAXJR7.js} +4 -4
- package/dist/cli/chat.js +33 -35
- package/dist/cli/check.js +5 -5
- package/dist/cli/plugins.js +12 -12
- package/dist/cli/snapshot-create.js +9 -9
- package/dist/cli/upgrade.js +6 -6
- package/dist/db/schema/code.d.ts +367 -0
- package/dist/db/schema.d.ts +367 -1
- package/dist/{db-NYIWZ4L5.js → db-MA52H62H.js} +6 -6
- package/dist/instrumentation.js +3 -3
- package/dist/nitro.js +6 -6
- package/dist/{oauth-callback-server-A2YTPVVX.js → oauth-callback-server-DXGHKN6S.js} +25 -25
- package/dist/{runner-VKAEU52J.js → runner-4IXUAQNK.js} +18 -18
- package/dist/{skills-52GMXUTY.js → skills-X3DY7AXO.js} +5 -5
- package/dist/spawn-43WGS6CH.js +37 -0
- package/dist/task-runner-VDRKITPV.js +32 -0
- package/dist/{validation-VD2YQX2W.js → validation-Z6JXSTJS.js} +5 -5
- package/dist/version.js +1 -1
- package/dist/{work-ZWBTGEQP.js → work-OKWRFBDW.js} +18 -18
- package/dist/worker-B236AE72.js +22 -0
- package/migrations/0036_complex_rage.sql +32 -0
- package/migrations/meta/0036_snapshot.json +3186 -0
- package/migrations/meta/_journal.json +8 -1
- package/package.json +6 -7
- package/dist/app-adapter.d.ts +0 -85
- package/dist/chat/api-turns/adapter-conversations.d.ts +0 -15
- package/dist/chunk-CZYNWPWD.js +0 -930
- package/dist/spawn-GSS4EBLR.js +0 -37
- package/dist/task-runner-DUGDWF5O.js +0 -32
- package/dist/worker-XUWD5WS7.js +0 -22
package/dist/db/schema.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { juniorArtifacts } from "./schema/artifacts";
|
|
2
2
|
import { juniorAttachments } from "./schema/attachments";
|
|
3
|
+
import { juniorCodeChanges, juniorCodeRepositories } from "./schema/code";
|
|
3
4
|
import { juniorConversationAnnotations } from "./schema/conversation-annotations";
|
|
4
5
|
import { juniorApiTokens } from "./schema/api-tokens";
|
|
5
6
|
import { juniorConversationEvents } from "./schema/conversation-events";
|
|
@@ -17,7 +18,7 @@ import { juniorSchedulerRuns, juniorSchedulerTasks } from "./schema/scheduled-ta
|
|
|
17
18
|
import { juniorSnapshots } from "./schema/snapshots";
|
|
18
19
|
import { juniorUsers } from "./schema/users";
|
|
19
20
|
import { juniorWorkspaceRepos, juniorWorkspaces } from "./schema/workspaces";
|
|
20
|
-
export { juniorArtifacts, juniorAttachments, juniorConversationAnnotations, juniorApiTokens, juniorAgentBindings, juniorAgentInvocations, juniorConversationEvents, juniorConversationBindings, juniorConversationParticipants, juniorConversations, juniorLocationConfigurations, juniorDestinations, juniorEventTasks, juniorIdentities, juniorSnapshots, juniorStats, juniorTaskExecutions, juniorSchedulerRuns, juniorSchedulerTasks, juniorUsers, juniorWorkspaceRepos, juniorWorkspaces, };
|
|
21
|
+
export { juniorArtifacts, juniorAttachments, juniorCodeChanges, juniorCodeRepositories, juniorConversationAnnotations, juniorApiTokens, juniorAgentBindings, juniorAgentInvocations, juniorConversationEvents, juniorConversationBindings, juniorConversationParticipants, juniorConversations, juniorLocationConfigurations, juniorDestinations, juniorEventTasks, juniorIdentities, juniorSnapshots, juniorStats, juniorTaskExecutions, juniorSchedulerRuns, juniorSchedulerTasks, juniorUsers, juniorWorkspaceRepos, juniorWorkspaces, };
|
|
21
22
|
export declare const juniorSqlSchema: {
|
|
22
23
|
juniorArtifacts: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
23
24
|
name: "junior_artifacts";
|
|
@@ -373,6 +374,371 @@ export declare const juniorSqlSchema: {
|
|
|
373
374
|
};
|
|
374
375
|
dialect: "pg";
|
|
375
376
|
}>;
|
|
377
|
+
juniorCodeChanges: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
378
|
+
name: "junior_code_changes";
|
|
379
|
+
schema: undefined;
|
|
380
|
+
columns: {
|
|
381
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
382
|
+
name: "id";
|
|
383
|
+
tableName: "junior_code_changes";
|
|
384
|
+
dataType: "string";
|
|
385
|
+
columnType: "PgUUID";
|
|
386
|
+
data: string;
|
|
387
|
+
driverParam: string;
|
|
388
|
+
notNull: true;
|
|
389
|
+
hasDefault: false;
|
|
390
|
+
isPrimaryKey: true;
|
|
391
|
+
isAutoincrement: false;
|
|
392
|
+
hasRuntimeDefault: false;
|
|
393
|
+
enumValues: undefined;
|
|
394
|
+
baseColumn: never;
|
|
395
|
+
identity: undefined;
|
|
396
|
+
generated: undefined;
|
|
397
|
+
}, {}, {}>;
|
|
398
|
+
closedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
399
|
+
name: string;
|
|
400
|
+
tableName: "junior_code_changes";
|
|
401
|
+
dataType: "date";
|
|
402
|
+
columnType: "PgTimestamp";
|
|
403
|
+
data: Date;
|
|
404
|
+
driverParam: string;
|
|
405
|
+
notNull: false;
|
|
406
|
+
hasDefault: false;
|
|
407
|
+
isPrimaryKey: false;
|
|
408
|
+
isAutoincrement: false;
|
|
409
|
+
hasRuntimeDefault: false;
|
|
410
|
+
enumValues: undefined;
|
|
411
|
+
baseColumn: never;
|
|
412
|
+
identity: undefined;
|
|
413
|
+
generated: undefined;
|
|
414
|
+
}, {}, {}>;
|
|
415
|
+
conversationIds: import("drizzle-orm/pg-core").PgColumn<{
|
|
416
|
+
name: "conversation_ids";
|
|
417
|
+
tableName: "junior_code_changes";
|
|
418
|
+
dataType: "array";
|
|
419
|
+
columnType: "PgArray";
|
|
420
|
+
data: string[];
|
|
421
|
+
driverParam: string | string[];
|
|
422
|
+
notNull: true;
|
|
423
|
+
hasDefault: true;
|
|
424
|
+
isPrimaryKey: false;
|
|
425
|
+
isAutoincrement: false;
|
|
426
|
+
hasRuntimeDefault: false;
|
|
427
|
+
enumValues: [string, ...string[]];
|
|
428
|
+
baseColumn: import("drizzle-orm").Column<{
|
|
429
|
+
name: "conversation_ids";
|
|
430
|
+
tableName: "junior_code_changes";
|
|
431
|
+
dataType: "string";
|
|
432
|
+
columnType: "PgText";
|
|
433
|
+
data: string;
|
|
434
|
+
driverParam: string;
|
|
435
|
+
notNull: false;
|
|
436
|
+
hasDefault: false;
|
|
437
|
+
isPrimaryKey: false;
|
|
438
|
+
isAutoincrement: false;
|
|
439
|
+
hasRuntimeDefault: false;
|
|
440
|
+
enumValues: [string, ...string[]];
|
|
441
|
+
baseColumn: never;
|
|
442
|
+
identity: undefined;
|
|
443
|
+
generated: undefined;
|
|
444
|
+
}, {}, {}>;
|
|
445
|
+
identity: undefined;
|
|
446
|
+
generated: undefined;
|
|
447
|
+
}, {}, {
|
|
448
|
+
baseBuilder: import("drizzle-orm/pg-core").PgColumnBuilder<{
|
|
449
|
+
name: "conversation_ids";
|
|
450
|
+
dataType: "string";
|
|
451
|
+
columnType: "PgText";
|
|
452
|
+
data: string;
|
|
453
|
+
enumValues: [string, ...string[]];
|
|
454
|
+
driverParam: string;
|
|
455
|
+
}, {}, {}, import("drizzle-orm").ColumnBuilderExtraConfig>;
|
|
456
|
+
size: undefined;
|
|
457
|
+
}>;
|
|
458
|
+
mergedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
459
|
+
name: string;
|
|
460
|
+
tableName: "junior_code_changes";
|
|
461
|
+
dataType: "date";
|
|
462
|
+
columnType: "PgTimestamp";
|
|
463
|
+
data: Date;
|
|
464
|
+
driverParam: string;
|
|
465
|
+
notNull: false;
|
|
466
|
+
hasDefault: false;
|
|
467
|
+
isPrimaryKey: false;
|
|
468
|
+
isAutoincrement: false;
|
|
469
|
+
hasRuntimeDefault: false;
|
|
470
|
+
enumValues: undefined;
|
|
471
|
+
baseColumn: never;
|
|
472
|
+
identity: undefined;
|
|
473
|
+
generated: undefined;
|
|
474
|
+
}, {}, {}>;
|
|
475
|
+
number: import("drizzle-orm/pg-core").PgColumn<{
|
|
476
|
+
name: "number";
|
|
477
|
+
tableName: "junior_code_changes";
|
|
478
|
+
dataType: "number";
|
|
479
|
+
columnType: "PgInteger";
|
|
480
|
+
data: number;
|
|
481
|
+
driverParam: string | number;
|
|
482
|
+
notNull: true;
|
|
483
|
+
hasDefault: false;
|
|
484
|
+
isPrimaryKey: false;
|
|
485
|
+
isAutoincrement: false;
|
|
486
|
+
hasRuntimeDefault: false;
|
|
487
|
+
enumValues: undefined;
|
|
488
|
+
baseColumn: never;
|
|
489
|
+
identity: undefined;
|
|
490
|
+
generated: undefined;
|
|
491
|
+
}, {}, {}>;
|
|
492
|
+
openedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
493
|
+
name: string;
|
|
494
|
+
tableName: "junior_code_changes";
|
|
495
|
+
dataType: "date";
|
|
496
|
+
columnType: "PgTimestamp";
|
|
497
|
+
data: Date;
|
|
498
|
+
driverParam: string;
|
|
499
|
+
notNull: true;
|
|
500
|
+
hasDefault: false;
|
|
501
|
+
isPrimaryKey: false;
|
|
502
|
+
isAutoincrement: false;
|
|
503
|
+
hasRuntimeDefault: false;
|
|
504
|
+
enumValues: undefined;
|
|
505
|
+
baseColumn: never;
|
|
506
|
+
identity: undefined;
|
|
507
|
+
generated: undefined;
|
|
508
|
+
}, {}, {}>;
|
|
509
|
+
provider: import("drizzle-orm/pg-core").PgColumn<{
|
|
510
|
+
name: "provider";
|
|
511
|
+
tableName: "junior_code_changes";
|
|
512
|
+
dataType: "string";
|
|
513
|
+
columnType: "PgText";
|
|
514
|
+
data: string;
|
|
515
|
+
driverParam: string;
|
|
516
|
+
notNull: true;
|
|
517
|
+
hasDefault: false;
|
|
518
|
+
isPrimaryKey: false;
|
|
519
|
+
isAutoincrement: false;
|
|
520
|
+
hasRuntimeDefault: false;
|
|
521
|
+
enumValues: [string, ...string[]];
|
|
522
|
+
baseColumn: never;
|
|
523
|
+
identity: undefined;
|
|
524
|
+
generated: undefined;
|
|
525
|
+
}, {}, {}>;
|
|
526
|
+
providerId: import("drizzle-orm/pg-core").PgColumn<{
|
|
527
|
+
name: "provider_id";
|
|
528
|
+
tableName: "junior_code_changes";
|
|
529
|
+
dataType: "string";
|
|
530
|
+
columnType: "PgText";
|
|
531
|
+
data: string;
|
|
532
|
+
driverParam: string;
|
|
533
|
+
notNull: true;
|
|
534
|
+
hasDefault: false;
|
|
535
|
+
isPrimaryKey: false;
|
|
536
|
+
isAutoincrement: false;
|
|
537
|
+
hasRuntimeDefault: false;
|
|
538
|
+
enumValues: [string, ...string[]];
|
|
539
|
+
baseColumn: never;
|
|
540
|
+
identity: undefined;
|
|
541
|
+
generated: undefined;
|
|
542
|
+
}, {}, {}>;
|
|
543
|
+
repositoryId: import("drizzle-orm/pg-core").PgColumn<{
|
|
544
|
+
name: "repository_id";
|
|
545
|
+
tableName: "junior_code_changes";
|
|
546
|
+
dataType: "string";
|
|
547
|
+
columnType: "PgUUID";
|
|
548
|
+
data: string;
|
|
549
|
+
driverParam: string;
|
|
550
|
+
notNull: true;
|
|
551
|
+
hasDefault: false;
|
|
552
|
+
isPrimaryKey: false;
|
|
553
|
+
isAutoincrement: false;
|
|
554
|
+
hasRuntimeDefault: false;
|
|
555
|
+
enumValues: undefined;
|
|
556
|
+
baseColumn: never;
|
|
557
|
+
identity: undefined;
|
|
558
|
+
generated: undefined;
|
|
559
|
+
}, {}, {}>;
|
|
560
|
+
state: import("drizzle-orm/pg-core").PgColumn<{
|
|
561
|
+
name: "state";
|
|
562
|
+
tableName: "junior_code_changes";
|
|
563
|
+
dataType: "string";
|
|
564
|
+
columnType: "PgText";
|
|
565
|
+
data: "open" | "closed" | "merged";
|
|
566
|
+
driverParam: string;
|
|
567
|
+
notNull: true;
|
|
568
|
+
hasDefault: false;
|
|
569
|
+
isPrimaryKey: false;
|
|
570
|
+
isAutoincrement: false;
|
|
571
|
+
hasRuntimeDefault: false;
|
|
572
|
+
enumValues: [string, ...string[]];
|
|
573
|
+
baseColumn: never;
|
|
574
|
+
identity: undefined;
|
|
575
|
+
generated: undefined;
|
|
576
|
+
}, {}, {
|
|
577
|
+
$type: "open" | "closed" | "merged";
|
|
578
|
+
}>;
|
|
579
|
+
title: import("drizzle-orm/pg-core").PgColumn<{
|
|
580
|
+
name: "title";
|
|
581
|
+
tableName: "junior_code_changes";
|
|
582
|
+
dataType: "string";
|
|
583
|
+
columnType: "PgText";
|
|
584
|
+
data: string;
|
|
585
|
+
driverParam: string;
|
|
586
|
+
notNull: false;
|
|
587
|
+
hasDefault: false;
|
|
588
|
+
isPrimaryKey: false;
|
|
589
|
+
isAutoincrement: false;
|
|
590
|
+
hasRuntimeDefault: false;
|
|
591
|
+
enumValues: [string, ...string[]];
|
|
592
|
+
baseColumn: never;
|
|
593
|
+
identity: undefined;
|
|
594
|
+
generated: undefined;
|
|
595
|
+
}, {}, {}>;
|
|
596
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
597
|
+
name: string;
|
|
598
|
+
tableName: "junior_code_changes";
|
|
599
|
+
dataType: "date";
|
|
600
|
+
columnType: "PgTimestamp";
|
|
601
|
+
data: Date;
|
|
602
|
+
driverParam: string;
|
|
603
|
+
notNull: true;
|
|
604
|
+
hasDefault: false;
|
|
605
|
+
isPrimaryKey: false;
|
|
606
|
+
isAutoincrement: false;
|
|
607
|
+
hasRuntimeDefault: false;
|
|
608
|
+
enumValues: undefined;
|
|
609
|
+
baseColumn: never;
|
|
610
|
+
identity: undefined;
|
|
611
|
+
generated: undefined;
|
|
612
|
+
}, {}, {}>;
|
|
613
|
+
url: import("drizzle-orm/pg-core").PgColumn<{
|
|
614
|
+
name: "url";
|
|
615
|
+
tableName: "junior_code_changes";
|
|
616
|
+
dataType: "string";
|
|
617
|
+
columnType: "PgText";
|
|
618
|
+
data: string;
|
|
619
|
+
driverParam: string;
|
|
620
|
+
notNull: false;
|
|
621
|
+
hasDefault: false;
|
|
622
|
+
isPrimaryKey: false;
|
|
623
|
+
isAutoincrement: false;
|
|
624
|
+
hasRuntimeDefault: false;
|
|
625
|
+
enumValues: [string, ...string[]];
|
|
626
|
+
baseColumn: never;
|
|
627
|
+
identity: undefined;
|
|
628
|
+
generated: undefined;
|
|
629
|
+
}, {}, {}>;
|
|
630
|
+
};
|
|
631
|
+
dialect: "pg";
|
|
632
|
+
}>;
|
|
633
|
+
juniorCodeRepositories: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
634
|
+
name: "junior_code_repositories";
|
|
635
|
+
schema: undefined;
|
|
636
|
+
columns: {
|
|
637
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
638
|
+
name: "id";
|
|
639
|
+
tableName: "junior_code_repositories";
|
|
640
|
+
dataType: "string";
|
|
641
|
+
columnType: "PgUUID";
|
|
642
|
+
data: string;
|
|
643
|
+
driverParam: string;
|
|
644
|
+
notNull: true;
|
|
645
|
+
hasDefault: false;
|
|
646
|
+
isPrimaryKey: true;
|
|
647
|
+
isAutoincrement: false;
|
|
648
|
+
hasRuntimeDefault: false;
|
|
649
|
+
enumValues: undefined;
|
|
650
|
+
baseColumn: never;
|
|
651
|
+
identity: undefined;
|
|
652
|
+
generated: undefined;
|
|
653
|
+
}, {}, {}>;
|
|
654
|
+
name: import("drizzle-orm/pg-core").PgColumn<{
|
|
655
|
+
name: "name";
|
|
656
|
+
tableName: "junior_code_repositories";
|
|
657
|
+
dataType: "string";
|
|
658
|
+
columnType: "PgText";
|
|
659
|
+
data: string;
|
|
660
|
+
driverParam: string;
|
|
661
|
+
notNull: true;
|
|
662
|
+
hasDefault: false;
|
|
663
|
+
isPrimaryKey: false;
|
|
664
|
+
isAutoincrement: false;
|
|
665
|
+
hasRuntimeDefault: false;
|
|
666
|
+
enumValues: [string, ...string[]];
|
|
667
|
+
baseColumn: never;
|
|
668
|
+
identity: undefined;
|
|
669
|
+
generated: undefined;
|
|
670
|
+
}, {}, {}>;
|
|
671
|
+
provider: import("drizzle-orm/pg-core").PgColumn<{
|
|
672
|
+
name: "provider";
|
|
673
|
+
tableName: "junior_code_repositories";
|
|
674
|
+
dataType: "string";
|
|
675
|
+
columnType: "PgText";
|
|
676
|
+
data: string;
|
|
677
|
+
driverParam: string;
|
|
678
|
+
notNull: true;
|
|
679
|
+
hasDefault: false;
|
|
680
|
+
isPrimaryKey: false;
|
|
681
|
+
isAutoincrement: false;
|
|
682
|
+
hasRuntimeDefault: false;
|
|
683
|
+
enumValues: [string, ...string[]];
|
|
684
|
+
baseColumn: never;
|
|
685
|
+
identity: undefined;
|
|
686
|
+
generated: undefined;
|
|
687
|
+
}, {}, {}>;
|
|
688
|
+
providerId: import("drizzle-orm/pg-core").PgColumn<{
|
|
689
|
+
name: "provider_id";
|
|
690
|
+
tableName: "junior_code_repositories";
|
|
691
|
+
dataType: "string";
|
|
692
|
+
columnType: "PgText";
|
|
693
|
+
data: string;
|
|
694
|
+
driverParam: string;
|
|
695
|
+
notNull: true;
|
|
696
|
+
hasDefault: false;
|
|
697
|
+
isPrimaryKey: false;
|
|
698
|
+
isAutoincrement: false;
|
|
699
|
+
hasRuntimeDefault: false;
|
|
700
|
+
enumValues: [string, ...string[]];
|
|
701
|
+
baseColumn: never;
|
|
702
|
+
identity: undefined;
|
|
703
|
+
generated: undefined;
|
|
704
|
+
}, {}, {}>;
|
|
705
|
+
url: import("drizzle-orm/pg-core").PgColumn<{
|
|
706
|
+
name: "url";
|
|
707
|
+
tableName: "junior_code_repositories";
|
|
708
|
+
dataType: "string";
|
|
709
|
+
columnType: "PgText";
|
|
710
|
+
data: string;
|
|
711
|
+
driverParam: string;
|
|
712
|
+
notNull: false;
|
|
713
|
+
hasDefault: false;
|
|
714
|
+
isPrimaryKey: false;
|
|
715
|
+
isAutoincrement: false;
|
|
716
|
+
hasRuntimeDefault: false;
|
|
717
|
+
enumValues: [string, ...string[]];
|
|
718
|
+
baseColumn: never;
|
|
719
|
+
identity: undefined;
|
|
720
|
+
generated: undefined;
|
|
721
|
+
}, {}, {}>;
|
|
722
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
723
|
+
name: string;
|
|
724
|
+
tableName: "junior_code_repositories";
|
|
725
|
+
dataType: "date";
|
|
726
|
+
columnType: "PgTimestamp";
|
|
727
|
+
data: Date;
|
|
728
|
+
driverParam: string;
|
|
729
|
+
notNull: true;
|
|
730
|
+
hasDefault: false;
|
|
731
|
+
isPrimaryKey: false;
|
|
732
|
+
isAutoincrement: false;
|
|
733
|
+
hasRuntimeDefault: false;
|
|
734
|
+
enumValues: undefined;
|
|
735
|
+
baseColumn: never;
|
|
736
|
+
identity: undefined;
|
|
737
|
+
generated: undefined;
|
|
738
|
+
}, {}, {}>;
|
|
739
|
+
};
|
|
740
|
+
dialect: "pg";
|
|
741
|
+
}>;
|
|
376
742
|
juniorConversationAnnotations: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
377
743
|
name: "junior_conversation_annotations";
|
|
378
744
|
schema: undefined;
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
getConversationStore,
|
|
6
6
|
getDb,
|
|
7
7
|
getSqlExecutor
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-IZDYYYGP.js";
|
|
9
|
+
import "./chunk-BCHYQS4B.js";
|
|
10
10
|
import "./chunk-VFUK3X5B.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-6UDPINOX.js";
|
|
12
|
+
import "./chunk-BHYRYYLY.js";
|
|
13
13
|
import "./chunk-N7TMSOZH.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-3S7ULUWW.js";
|
|
15
15
|
import "./chunk-PEQXYSSE.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-6VOYP4M6.js";
|
|
17
17
|
export {
|
|
18
18
|
closeDb,
|
|
19
19
|
getConversationEventStore,
|
package/dist/instrumentation.js
CHANGED
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-UIE3R5XU.js";
|
|
4
4
|
import {
|
|
5
5
|
getCurrentConversationPrivacy
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BHYRYYLY.js";
|
|
7
7
|
import {
|
|
8
8
|
getDeploymentServiceVersion,
|
|
9
9
|
getDeploymentTelemetryAttributes
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3S7ULUWW.js";
|
|
11
11
|
import {
|
|
12
12
|
getClient,
|
|
13
13
|
getGlobalScope,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
vercelAIIntegration,
|
|
16
16
|
withStreamedSpan
|
|
17
17
|
} from "./chunk-PEQXYSSE.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-6VOYP4M6.js";
|
|
19
19
|
|
|
20
20
|
// src/chat/sentry-payload-filter.ts
|
|
21
21
|
var PAYLOAD_ATTRIBUTE_KEYS = /* @__PURE__ */ new Set([
|
package/dist/nitro.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PLUGIN_TASK_QUEUE_TOPIC
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UF6BUA5W.js";
|
|
4
4
|
import {
|
|
5
5
|
pluginCatalogConfigFromPluginSet,
|
|
6
6
|
pluginRuntimeRegistrationsFromPluginSet
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
} from "./chunk-DKIJ2RP5.js";
|
|
14
14
|
import "./chunk-JAL3CH4G.js";
|
|
15
15
|
import "./chunk-7H2VZTWN.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-MLSQX2EX.js";
|
|
17
17
|
import {
|
|
18
18
|
loadPluginSetFromModule,
|
|
19
19
|
resolvePluginModule
|
|
20
20
|
} from "./chunk-Y2CM7HXH.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-6UDPINOX.js";
|
|
22
|
+
import "./chunk-BHYRYYLY.js";
|
|
23
23
|
import {
|
|
24
24
|
discoverInstalledPluginPackageContent
|
|
25
25
|
} from "./chunk-DWPN6SCH.js";
|
|
@@ -35,9 +35,9 @@ import {
|
|
|
35
35
|
JUNIOR_RETENTION_CRON_SCHEDULE,
|
|
36
36
|
JUNIOR_RETENTION_ROUTE,
|
|
37
37
|
JUNIOR_WORKSPACE_SNAPSHOT_JOB_CALLBACK_ROUTE
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-3S7ULUWW.js";
|
|
39
39
|
import "./chunk-PEQXYSSE.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-6VOYP4M6.js";
|
|
41
41
|
|
|
42
42
|
// src/nitro.ts
|
|
43
43
|
import path2 from "path";
|
|
@@ -2,48 +2,48 @@ import {
|
|
|
2
2
|
GET,
|
|
3
3
|
GET2,
|
|
4
4
|
syncLocalOAuthCredential
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ACPDVEJO.js";
|
|
6
6
|
import "./chunk-FA6POGLH.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-LCP4EDKR.js";
|
|
8
|
+
import "./chunk-M5YWNMTE.js";
|
|
9
|
+
import "./chunk-6WGC3SO4.js";
|
|
10
10
|
import "./chunk-M3QYTBQ6.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-E57WPXWY.js";
|
|
12
|
+
import "./chunk-UF6BUA5W.js";
|
|
13
13
|
import {
|
|
14
14
|
createUserTokenStore
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FKEZZMXS.js";
|
|
16
16
|
import "./chunk-RF6J3DIO.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-JM2COLGC.js";
|
|
18
18
|
import "./chunk-2LYHWMR4.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-YKX6MTLU.js";
|
|
20
|
+
import "./chunk-Z3QAXJR7.js";
|
|
21
|
+
import "./chunk-JA43DV4Y.js";
|
|
22
|
+
import "./chunk-2ZQPVX7C.js";
|
|
23
23
|
import "./chunk-PDO5BLNM.js";
|
|
24
24
|
import "./chunk-DKIJ2RP5.js";
|
|
25
25
|
import "./chunk-JAL3CH4G.js";
|
|
26
26
|
import "./chunk-7H2VZTWN.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-MLSQX2EX.js";
|
|
28
|
+
import "./chunk-4CNDGK25.js";
|
|
29
29
|
import "./chunk-3Y47VMHV.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-IZDYYYGP.js";
|
|
31
|
+
import "./chunk-BCHYQS4B.js";
|
|
32
|
+
import "./chunk-SHJK75Z2.js";
|
|
33
|
+
import "./chunk-DUKIDPF6.js";
|
|
34
34
|
import "./chunk-VFUK3X5B.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-6UDPINOX.js";
|
|
36
|
+
import "./chunk-BHYRYYLY.js";
|
|
37
|
+
import "./chunk-WQFEWULF.js";
|
|
38
|
+
import "./chunk-PJPRXO2T.js";
|
|
39
|
+
import "./chunk-LHXIZLFF.js";
|
|
40
40
|
import "./chunk-CEMMLV5L.js";
|
|
41
41
|
import "./chunk-N7TMSOZH.js";
|
|
42
42
|
import "./chunk-DWPN6SCH.js";
|
|
43
43
|
import "./chunk-TXKUKMVO.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-3S7ULUWW.js";
|
|
45
45
|
import "./chunk-PEQXYSSE.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-6VOYP4M6.js";
|
|
47
47
|
|
|
48
48
|
// src/chat/local/oauth-callback-server.ts
|
|
49
49
|
import { createServer } from "http";
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
buildDeliveredTurnStatePatch,
|
|
3
3
|
completeAuthPauseTurn,
|
|
4
4
|
finalizeFailedTurnReplyWithEvent
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-M5YWNMTE.js";
|
|
6
6
|
import {
|
|
7
7
|
processPluginTask,
|
|
8
8
|
scheduleSessionCompletedPluginTasks
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6WGC3SO4.js";
|
|
10
10
|
import {
|
|
11
11
|
ConversationTurnLifecycleService
|
|
12
12
|
} from "./chunk-M3QYTBQ6.js";
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
getPersistedSandboxState,
|
|
16
16
|
getPersistedThreadState,
|
|
17
17
|
persistThreadStateById
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-E57WPXWY.js";
|
|
19
|
+
import "./chunk-UF6BUA5W.js";
|
|
20
20
|
import {
|
|
21
21
|
authorizationId
|
|
22
22
|
} from "./chunk-DIB4GX3G.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
getAssistantReplyText,
|
|
25
25
|
markTurnFailed,
|
|
26
26
|
startActiveTurn
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-JA43DV4Y.js";
|
|
28
28
|
import {
|
|
29
29
|
buildConversationContext,
|
|
30
30
|
commitAcceptedReply,
|
|
@@ -39,24 +39,24 @@ import {
|
|
|
39
39
|
saveTurnCheckpoint,
|
|
40
40
|
stripRuntimeTurnContext,
|
|
41
41
|
upsertConversationMessage
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-2ZQPVX7C.js";
|
|
43
43
|
import "./chunk-PDO5BLNM.js";
|
|
44
44
|
import "./chunk-7H2VZTWN.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-MLSQX2EX.js";
|
|
46
|
+
import "./chunk-4CNDGK25.js";
|
|
47
47
|
import "./chunk-3Y47VMHV.js";
|
|
48
48
|
import {
|
|
49
49
|
getConversationEventStore,
|
|
50
50
|
getConversationStore
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-IZDYYYGP.js";
|
|
52
|
+
import "./chunk-BCHYQS4B.js";
|
|
53
|
+
import "./chunk-SHJK75Z2.js";
|
|
54
|
+
import "./chunk-DUKIDPF6.js";
|
|
55
55
|
import "./chunk-VFUK3X5B.js";
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-6UDPINOX.js";
|
|
57
|
+
import "./chunk-BHYRYYLY.js";
|
|
58
|
+
import "./chunk-PJPRXO2T.js";
|
|
59
|
+
import "./chunk-LHXIZLFF.js";
|
|
60
60
|
import {
|
|
61
61
|
credentialContextForActor
|
|
62
62
|
} from "./chunk-CEMMLV5L.js";
|
|
@@ -67,9 +67,9 @@ import {
|
|
|
67
67
|
logException,
|
|
68
68
|
setTags,
|
|
69
69
|
withLogContext
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-3S7ULUWW.js";
|
|
71
71
|
import "./chunk-PEQXYSSE.js";
|
|
72
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-6VOYP4M6.js";
|
|
73
73
|
|
|
74
74
|
// src/chat/local/runner.ts
|
|
75
75
|
import { randomUUID } from "crypto";
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
parseSkillInvocation,
|
|
7
7
|
resetSkillDiscoveryCache,
|
|
8
8
|
stripFrontmatter
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-WQFEWULF.js";
|
|
10
|
+
import "./chunk-PJPRXO2T.js";
|
|
11
|
+
import "./chunk-LHXIZLFF.js";
|
|
12
12
|
import "./chunk-CEMMLV5L.js";
|
|
13
13
|
import "./chunk-N7TMSOZH.js";
|
|
14
14
|
import "./chunk-DWPN6SCH.js";
|
|
15
15
|
import "./chunk-TXKUKMVO.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-3S7ULUWW.js";
|
|
17
17
|
import "./chunk-PEQXYSSE.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-6VOYP4M6.js";
|
|
19
19
|
export {
|
|
20
20
|
discoverSkills,
|
|
21
21
|
findSkillByName,
|