bopodev-db 0.1.29 → 0.1.30

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.
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > bopodev-db@0.1.29 build /Users/danielkrusenstrahle/Documents/Projects/Monorepo/bopodev/packages/db
3
+ > bopodev-db@0.1.30 build /Users/danielkrusenstrahle/Documents/Projects/Monorepo/bopohq/packages/db
4
4
  > tsc -p tsconfig.json --emitDeclarationOnly
5
5
 
@@ -1,4 +1,4 @@
1
1
 
2
- > bopodev-db@0.1.28 lint /Users/danielkrusenstrahle/Documents/Projects/Monorepo/bopodev/packages/db
2
+ > bopodev-db@0.1.15 lint /Users/danielkrusenstrahle/Documents/Projects/Monorepo/bopohq/packages/db
3
3
  > tsc -p tsconfig.json --noEmit
4
4
 
@@ -1,4 +1,4 @@
1
1
 
2
- > bopodev-db@0.1.20 typecheck /Users/danielkrusenstrahle/Documents/Projects/Monorepo/bopodev/packages/db
2
+ > bopodev-db@0.1.29 typecheck /Users/danielkrusenstrahle/Documents/Projects/Monorepo/bopohq/packages/db
3
3
  > tsc -p tsconfig.json --noEmit
4
4
 
@@ -608,8 +608,9 @@ export declare function createAgent(db: BopoDb, input: {
608
608
  role: string;
609
609
  roleKey?: string | null;
610
610
  title?: string | null;
611
+ capabilities?: string | null;
611
612
  name: string;
612
- providerType: "claude_code" | "codex" | "cursor" | "opencode" | "gemini_cli" | "openai_api" | "anthropic_api" | "http" | "shell";
613
+ providerType: "claude_code" | "codex" | "cursor" | "opencode" | "gemini_cli" | "openai_api" | "anthropic_api" | "openclaw_gateway" | "http" | "shell";
613
614
  heartbeatCron: string;
614
615
  monthlyBudgetUsd: string;
615
616
  canHireAgents?: boolean;
@@ -632,8 +633,9 @@ export declare function createAgent(db: BopoDb, input: {
632
633
  role: string;
633
634
  roleKey?: string | null;
634
635
  title?: string | null;
636
+ capabilities?: string | null;
635
637
  name: string;
636
- providerType: "claude_code" | "codex" | "cursor" | "opencode" | "gemini_cli" | "openai_api" | "anthropic_api" | "http" | "shell";
638
+ providerType: "claude_code" | "codex" | "cursor" | "opencode" | "gemini_cli" | "openai_api" | "anthropic_api" | "openclaw_gateway" | "http" | "shell";
637
639
  heartbeatCron: string;
638
640
  monthlyBudgetUsd: string;
639
641
  canHireAgents?: boolean;
@@ -657,6 +659,7 @@ export declare function listAgents(db: BopoDb, companyId: string): Promise<{
657
659
  role: string;
658
660
  roleKey: string | null;
659
661
  title: string | null;
662
+ capabilities: string | null;
660
663
  name: string;
661
664
  providerType: string;
662
665
  status: string;
@@ -687,8 +690,9 @@ export declare function updateAgent(db: BopoDb, input: {
687
690
  role?: string;
688
691
  roleKey?: string | null;
689
692
  title?: string | null;
693
+ capabilities?: string | null;
690
694
  name?: string;
691
- providerType?: "claude_code" | "codex" | "cursor" | "opencode" | "gemini_cli" | "openai_api" | "anthropic_api" | "http" | "shell";
695
+ providerType?: "claude_code" | "codex" | "cursor" | "opencode" | "gemini_cli" | "openai_api" | "anthropic_api" | "openclaw_gateway" | "http" | "shell";
692
696
  status?: string;
693
697
  heartbeatCron?: string;
694
698
  monthlyBudgetUsd?: string;
@@ -711,6 +715,7 @@ export declare function updateAgent(db: BopoDb, input: {
711
715
  role: string;
712
716
  roleKey: string | null;
713
717
  title: string | null;
718
+ capabilities: string | null;
714
719
  name: string;
715
720
  providerType: string;
716
721
  status: string;
package/dist/schema.d.ts CHANGED
@@ -761,6 +761,23 @@ export declare const agents: import("drizzle-orm/pg-core").PgTableWithColumns<{
761
761
  identity: undefined;
762
762
  generated: undefined;
763
763
  }, {}, {}>;
764
+ capabilities: import("drizzle-orm/pg-core").PgColumn<{
765
+ name: "capabilities";
766
+ tableName: "agents";
767
+ dataType: "string";
768
+ columnType: "PgText";
769
+ data: string;
770
+ driverParam: string;
771
+ notNull: false;
772
+ hasDefault: false;
773
+ isPrimaryKey: false;
774
+ isAutoincrement: false;
775
+ hasRuntimeDefault: false;
776
+ enumValues: [string, ...string[]];
777
+ baseColumn: never;
778
+ identity: undefined;
779
+ generated: undefined;
780
+ }, {}, {}>;
764
781
  name: import("drizzle-orm/pg-core").PgColumn<{
765
782
  name: "name";
766
783
  tableName: "agents";
@@ -5112,6 +5129,23 @@ export declare const schema: {
5112
5129
  identity: undefined;
5113
5130
  generated: undefined;
5114
5131
  }, {}, {}>;
5132
+ capabilities: import("drizzle-orm/pg-core").PgColumn<{
5133
+ name: "capabilities";
5134
+ tableName: "agents";
5135
+ dataType: "string";
5136
+ columnType: "PgText";
5137
+ data: string;
5138
+ driverParam: string;
5139
+ notNull: false;
5140
+ hasDefault: false;
5141
+ isPrimaryKey: false;
5142
+ isAutoincrement: false;
5143
+ hasRuntimeDefault: false;
5144
+ enumValues: [string, ...string[]];
5145
+ baseColumn: never;
5146
+ identity: undefined;
5147
+ generated: undefined;
5148
+ }, {}, {}>;
5115
5149
  name: import("drizzle-orm/pg-core").PgColumn<{
5116
5150
  name: "name";
5117
5151
  tableName: "agents";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bopodev-db",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -0,0 +1 @@
1
+ ALTER TABLE "agents" ADD COLUMN "capabilities" text;
@@ -29,6 +29,13 @@
29
29
  "when": 1742800000000,
30
30
  "tag": "0003_issue_goals_junction",
31
31
  "breakpoints": true
32
+ },
33
+ {
34
+ "idx": 4,
35
+ "version": "7",
36
+ "when": 1742900000000,
37
+ "tag": "0004_agents_capabilities",
38
+ "breakpoints": true
32
39
  }
33
40
  ]
34
41
  }
@@ -1032,6 +1032,7 @@ export async function createAgent(
1032
1032
  role: string;
1033
1033
  roleKey?: string | null;
1034
1034
  title?: string | null;
1035
+ capabilities?: string | null;
1035
1036
  name: string;
1036
1037
  providerType:
1037
1038
  | "claude_code"
@@ -1041,6 +1042,7 @@ export async function createAgent(
1041
1042
  | "gemini_cli"
1042
1043
  | "openai_api"
1043
1044
  | "anthropic_api"
1045
+ | "openclaw_gateway"
1044
1046
  | "http"
1045
1047
  | "shell";
1046
1048
  heartbeatCron: string;
@@ -1072,6 +1074,7 @@ export async function createAgent(
1072
1074
  role: input.role,
1073
1075
  roleKey: input.roleKey ?? null,
1074
1076
  title: input.title ?? null,
1077
+ capabilities: input.capabilities ?? null,
1075
1078
  name: input.name,
1076
1079
  providerType: input.providerType,
1077
1080
  heartbeatCron: input.heartbeatCron,
@@ -1107,6 +1110,7 @@ export async function updateAgent(
1107
1110
  role?: string;
1108
1111
  roleKey?: string | null;
1109
1112
  title?: string | null;
1113
+ capabilities?: string | null;
1110
1114
  name?: string;
1111
1115
  providerType?:
1112
1116
  | "claude_code"
@@ -1116,6 +1120,7 @@ export async function updateAgent(
1116
1120
  | "gemini_cli"
1117
1121
  | "openai_api"
1118
1122
  | "anthropic_api"
1123
+ | "openclaw_gateway"
1119
1124
  | "http"
1120
1125
  | "shell";
1121
1126
  status?: string;
@@ -1146,6 +1151,7 @@ export async function updateAgent(
1146
1151
  role: input.role,
1147
1152
  roleKey: input.roleKey,
1148
1153
  title: input.title,
1154
+ capabilities: input.capabilities,
1149
1155
  name: input.name,
1150
1156
  providerType: input.providerType,
1151
1157
  status: input.status,
package/src/schema.ts CHANGED
@@ -72,6 +72,7 @@ export const agents = pgTable("agents", {
72
72
  role: text("role").notNull(),
73
73
  roleKey: text("role_key"),
74
74
  title: text("title"),
75
+ capabilities: text("capabilities"),
75
76
  name: text("name").notNull(),
76
77
  providerType: text("provider_type").notNull(),
77
78
  status: text("status").notNull().default("idle"),