@alook/cli 0.0.43 → 0.0.45
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/index.js +10 -0
- package/dist/session-runner.js +10 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16857,6 +16857,16 @@ var agentLink = sqliteTable("agent_link", {
|
|
|
16857
16857
|
foreignColumns: [agent.id, agent.workspaceId]
|
|
16858
16858
|
}).onDelete("cascade")
|
|
16859
16859
|
]);
|
|
16860
|
+
var conversationReadState = sqliteTable("conversation_read_state", {
|
|
16861
|
+
id: text("id").primaryKey().$defaultFn(() => nanoid3()),
|
|
16862
|
+
conversationId: text("conversation_id").notNull().references(() => conversation.id, { onDelete: "cascade" }),
|
|
16863
|
+
userId: text("user_id").notNull().references(() => user.id, { onDelete: "cascade" }),
|
|
16864
|
+
lastReadAt: text("last_read_at").notNull().default("1970-01-01T00:00:00.000Z"),
|
|
16865
|
+
createdAt: text("created_at").notNull().$defaultFn(() => new Date().toISOString())
|
|
16866
|
+
}, (t) => [
|
|
16867
|
+
unique("conversation_read_state_conv_user").on(t.conversationId, t.userId),
|
|
16868
|
+
index("idx_conversation_read_state_user").on(t.userId)
|
|
16869
|
+
]);
|
|
16860
16870
|
var workspaceFileRequest = sqliteTable("workspace_file_request", {
|
|
16861
16871
|
id: text("id").primaryKey().$defaultFn(() => "wfr_" + nanoid3()),
|
|
16862
16872
|
workspaceId: text("workspace_id").notNull().references(() => workspace.id, { onDelete: "cascade" }),
|
package/dist/session-runner.js
CHANGED
|
@@ -16574,6 +16574,16 @@ var agentLink = sqliteTable("agent_link", {
|
|
|
16574
16574
|
foreignColumns: [agent.id, agent.workspaceId]
|
|
16575
16575
|
}).onDelete("cascade")
|
|
16576
16576
|
]);
|
|
16577
|
+
var conversationReadState = sqliteTable("conversation_read_state", {
|
|
16578
|
+
id: text("id").primaryKey().$defaultFn(() => nanoid3()),
|
|
16579
|
+
conversationId: text("conversation_id").notNull().references(() => conversation.id, { onDelete: "cascade" }),
|
|
16580
|
+
userId: text("user_id").notNull().references(() => user.id, { onDelete: "cascade" }),
|
|
16581
|
+
lastReadAt: text("last_read_at").notNull().default("1970-01-01T00:00:00.000Z"),
|
|
16582
|
+
createdAt: text("created_at").notNull().$defaultFn(() => new Date().toISOString())
|
|
16583
|
+
}, (t) => [
|
|
16584
|
+
unique("conversation_read_state_conv_user").on(t.conversationId, t.userId),
|
|
16585
|
+
index("idx_conversation_read_state_user").on(t.userId)
|
|
16586
|
+
]);
|
|
16577
16587
|
var workspaceFileRequest = sqliteTable("workspace_file_request", {
|
|
16578
16588
|
id: text("id").primaryKey().$defaultFn(() => "wfr_" + nanoid3()),
|
|
16579
16589
|
workspaceId: text("workspace_id").notNull().references(() => workspace.id, { onDelete: "cascade" }),
|