bertrand 0.22.0 → 0.22.2

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.
@@ -19,7 +19,7 @@
19
19
  } catch (e) {}
20
20
  })();
21
21
  </script>
22
- <script type="module" crossorigin src="/assets/index-SB5vH7Ec.js"></script>
22
+ <script type="module" crossorigin src="/assets/index-CCHVGoKS.js"></script>
23
23
  <link rel="stylesheet" crossorigin href="/assets/index-D_l3EPhC.css">
24
24
  </head>
25
25
  <body>
@@ -0,0 +1 @@
1
+ ALTER TABLE `session_stats` DROP COLUMN `pr_count`;
@@ -0,0 +1,2 @@
1
+ DROP TABLE `worktree_associations`;--> statement-breakpoint
2
+ ALTER TABLE `conversations` DROP COLUMN `last_question`;
@@ -36,6 +36,20 @@
36
36
  "when": 1781546596070,
37
37
  "tag": "0004_dapper_apocalypse",
38
38
  "breakpoints": true
39
+ },
40
+ {
41
+ "idx": 5,
42
+ "version": "6",
43
+ "when": 1781577167000,
44
+ "tag": "0005_drop_pr_count",
45
+ "breakpoints": true
46
+ },
47
+ {
48
+ "idx": 6,
49
+ "version": "6",
50
+ "when": 1781578831000,
51
+ "tag": "0006_drop_worktrees_last_question",
52
+ "breakpoints": true
39
53
  }
40
54
  ]
41
55
  }
@@ -719,7 +719,6 @@ function resolveActiveProject() {
719
719
  // src/db/schema.ts
720
720
  var exports_schema = {};
721
721
  __export(exports_schema, {
722
- worktreeAssociations: () => worktreeAssociations,
723
722
  sessions: () => sessions,
724
723
  sessionStats: () => sessionStats,
725
724
  sessionLabels: () => sessionLabels,
@@ -784,7 +783,6 @@ var conversations = sqliteTable("conversations", {
784
783
  startedAt: text("started_at").notNull().default(sql`(datetime('now'))`),
785
784
  endedAt: text("ended_at"),
786
785
  discarded: integer("discarded", { mode: "boolean" }).notNull().default(false),
787
- lastQuestion: text("last_question"),
788
786
  eventCount: integer("event_count").notNull().default(0)
789
787
  }, (t) => [index("conv_session").on(t.sessionId)]);
790
788
  var events = sqliteTable("events", {
@@ -801,24 +799,11 @@ var events = sqliteTable("events", {
801
799
  index("ev_event_created").on(t.event, t.createdAt),
802
800
  index("ev_conversation").on(t.conversationId)
803
801
  ]);
804
- var worktreeAssociations = sqliteTable("worktree_associations", {
805
- id: text("id").primaryKey(),
806
- sessionId: text("session_id").notNull().references(() => sessions.id, { onDelete: "cascade" }),
807
- branch: text("branch").notNull(),
808
- worktreePath: text("worktree_path"),
809
- active: integer("active", { mode: "boolean" }).notNull().default(true),
810
- enteredAt: text("entered_at").notNull().default(sql`(datetime('now'))`),
811
- exitedAt: text("exited_at")
812
- }, (t) => [
813
- index("wt_session").on(t.sessionId),
814
- index("wt_active").on(t.active)
815
- ]);
816
802
  var sessionStats = sqliteTable("session_stats", {
817
803
  sessionId: text("session_id").primaryKey().references(() => sessions.id, { onDelete: "cascade" }),
818
804
  eventCount: integer("event_count").notNull().default(0),
819
805
  conversationCount: integer("conversation_count").notNull().default(0),
820
806
  interactionCount: integer("interaction_count").notNull().default(0),
821
- prCount: integer("pr_count").notNull().default(0),
822
807
  claudeWorkS: integer("claude_work_s").notNull().default(0),
823
808
  userWaitS: integer("user_wait_s").notNull().default(0),
824
809
  activePct: integer("active_pct").notNull().default(0),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bertrand",
3
- "version": "0.22.0",
3
+ "version": "0.22.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },