bopodev-db 0.1.29 → 0.1.31
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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-typecheck.log +1 -1
- package/dist/repositories/legacy.d.ts +18 -3
- package/dist/schema.d.ts +2838 -1232
- package/package.json +1 -1
- package/src/migrations/0004_agents_capabilities.sql +1 -0
- package/src/migrations/0005_work_loops.sql +67 -0
- package/src/migrations/meta/_journal.json +14 -0
- package/src/repositories/legacy.ts +11 -1
- package/src/schema.ts +73 -0
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-lint.log
CHANGED
|
@@ -263,6 +263,8 @@ export declare function listIssues(db: BopoDb, companyId: string, projectId?: st
|
|
|
263
263
|
externalLink: string | null;
|
|
264
264
|
isClaimed: boolean;
|
|
265
265
|
claimedByHeartbeatRunId: string | null;
|
|
266
|
+
loopId: string | null;
|
|
267
|
+
loopRunId: string | null;
|
|
266
268
|
createdAt: Date;
|
|
267
269
|
updatedAt: Date;
|
|
268
270
|
}[]>;
|
|
@@ -288,6 +290,8 @@ export declare function getIssue(db: BopoDb, companyId: string, issueId: string)
|
|
|
288
290
|
externalLink: string | null;
|
|
289
291
|
isClaimed: boolean;
|
|
290
292
|
claimedByHeartbeatRunId: string | null;
|
|
293
|
+
loopId: string | null;
|
|
294
|
+
loopRunId: string | null;
|
|
291
295
|
createdAt: Date;
|
|
292
296
|
updatedAt: Date;
|
|
293
297
|
} | null>;
|
|
@@ -304,6 +308,8 @@ export declare function createIssue(db: BopoDb, input: {
|
|
|
304
308
|
assigneeAgentId?: string | null;
|
|
305
309
|
labels?: string[];
|
|
306
310
|
tags?: string[];
|
|
311
|
+
loopId?: string | null;
|
|
312
|
+
loopRunId?: string | null;
|
|
307
313
|
}): Promise<{
|
|
308
314
|
id: string;
|
|
309
315
|
createdAt: Date;
|
|
@@ -321,6 +327,8 @@ export declare function createIssue(db: BopoDb, input: {
|
|
|
321
327
|
externalLink: string | null;
|
|
322
328
|
isClaimed: boolean;
|
|
323
329
|
claimedByHeartbeatRunId: string | null;
|
|
330
|
+
loopId: string | null;
|
|
331
|
+
loopRunId: string | null;
|
|
324
332
|
}>;
|
|
325
333
|
export declare function updateIssue(db: BopoDb, input: {
|
|
326
334
|
companyId: string;
|
|
@@ -350,6 +358,8 @@ export declare function updateIssue(db: BopoDb, input: {
|
|
|
350
358
|
externalLink: string | null;
|
|
351
359
|
isClaimed: boolean;
|
|
352
360
|
claimedByHeartbeatRunId: string | null;
|
|
361
|
+
loopId: string | null;
|
|
362
|
+
loopRunId: string | null;
|
|
353
363
|
createdAt: Date;
|
|
354
364
|
updatedAt: Date;
|
|
355
365
|
} | null>;
|
|
@@ -608,8 +618,9 @@ export declare function createAgent(db: BopoDb, input: {
|
|
|
608
618
|
role: string;
|
|
609
619
|
roleKey?: string | null;
|
|
610
620
|
title?: string | null;
|
|
621
|
+
capabilities?: string | null;
|
|
611
622
|
name: string;
|
|
612
|
-
providerType: "claude_code" | "codex" | "cursor" | "opencode" | "gemini_cli" | "openai_api" | "anthropic_api" | "http" | "shell";
|
|
623
|
+
providerType: "claude_code" | "codex" | "cursor" | "opencode" | "gemini_cli" | "openai_api" | "anthropic_api" | "openclaw_gateway" | "http" | "shell";
|
|
613
624
|
heartbeatCron: string;
|
|
614
625
|
monthlyBudgetUsd: string;
|
|
615
626
|
canHireAgents?: boolean;
|
|
@@ -632,8 +643,9 @@ export declare function createAgent(db: BopoDb, input: {
|
|
|
632
643
|
role: string;
|
|
633
644
|
roleKey?: string | null;
|
|
634
645
|
title?: string | null;
|
|
646
|
+
capabilities?: string | null;
|
|
635
647
|
name: string;
|
|
636
|
-
providerType: "claude_code" | "codex" | "cursor" | "opencode" | "gemini_cli" | "openai_api" | "anthropic_api" | "http" | "shell";
|
|
648
|
+
providerType: "claude_code" | "codex" | "cursor" | "opencode" | "gemini_cli" | "openai_api" | "anthropic_api" | "openclaw_gateway" | "http" | "shell";
|
|
637
649
|
heartbeatCron: string;
|
|
638
650
|
monthlyBudgetUsd: string;
|
|
639
651
|
canHireAgents?: boolean;
|
|
@@ -657,6 +669,7 @@ export declare function listAgents(db: BopoDb, companyId: string): Promise<{
|
|
|
657
669
|
role: string;
|
|
658
670
|
roleKey: string | null;
|
|
659
671
|
title: string | null;
|
|
672
|
+
capabilities: string | null;
|
|
660
673
|
name: string;
|
|
661
674
|
providerType: string;
|
|
662
675
|
status: string;
|
|
@@ -687,8 +700,9 @@ export declare function updateAgent(db: BopoDb, input: {
|
|
|
687
700
|
role?: string;
|
|
688
701
|
roleKey?: string | null;
|
|
689
702
|
title?: string | null;
|
|
703
|
+
capabilities?: string | null;
|
|
690
704
|
name?: string;
|
|
691
|
-
providerType?: "claude_code" | "codex" | "cursor" | "opencode" | "gemini_cli" | "openai_api" | "anthropic_api" | "http" | "shell";
|
|
705
|
+
providerType?: "claude_code" | "codex" | "cursor" | "opencode" | "gemini_cli" | "openai_api" | "anthropic_api" | "openclaw_gateway" | "http" | "shell";
|
|
692
706
|
status?: string;
|
|
693
707
|
heartbeatCron?: string;
|
|
694
708
|
monthlyBudgetUsd?: string;
|
|
@@ -711,6 +725,7 @@ export declare function updateAgent(db: BopoDb, input: {
|
|
|
711
725
|
role: string;
|
|
712
726
|
roleKey: string | null;
|
|
713
727
|
title: string | null;
|
|
728
|
+
capabilities: string | null;
|
|
714
729
|
name: string;
|
|
715
730
|
providerType: string;
|
|
716
731
|
status: string;
|