@alook/cli 0.0.74 → 0.0.75

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 CHANGED
@@ -16437,7 +16437,8 @@ var agentRuntime = sqliteTable("agent_runtime", {
16437
16437
  updatedAt: text("updated_at").notNull().$defaultFn(() => new Date().toISOString())
16438
16438
  }, (t) => [
16439
16439
  unique("agent_runtime_workspace_daemon_provider").on(t.workspaceId, t.daemonId, t.provider),
16440
- index("idx_agent_runtime_workspace_daemon").on(t.workspaceId, t.daemonId)
16440
+ index("idx_agent_runtime_workspace_daemon").on(t.workspaceId, t.daemonId),
16441
+ index("idx_agent_runtime_daemon_workspace").on(t.daemonId, t.workspaceId)
16441
16442
  ]);
16442
16443
  var agent = sqliteTable("agent", {
16443
16444
  id: text("id").notNull().$defaultFn(() => "ag_" + nanoid3(8)),
@@ -16493,6 +16494,7 @@ var conversation = sqliteTable("conversation", {
16493
16494
  createdAt: text("created_at").notNull().$defaultFn(() => new Date().toISOString())
16494
16495
  }, (t) => [
16495
16496
  index("idx_conversation_agent_lookup").on(t.workspaceId, t.agentId, t.userId, t.type, t.channel, t.createdAt),
16497
+ index("idx_conversation_ws_user").on(t.workspaceId, t.userId, t.createdAt),
16496
16498
  foreignKey({
16497
16499
  columns: [t.agentId, t.workspaceId],
16498
16500
  foreignColumns: [agent.id, agent.workspaceId]
@@ -16541,6 +16543,7 @@ var agentTaskQueue = sqliteTable("agent_task_queue", {
16541
16543
  index("idx_task_queue_parent").on(t.parentTaskId),
16542
16544
  index("idx_task_queue_workspace_type_status").on(t.workspaceId, t.type, t.status),
16543
16545
  index("idx_task_queue_workspace_status_dispatched").on(t.workspaceId, t.status, t.dispatchedAt),
16546
+ index("idx_task_queue_inbox").on(t.workspaceId, t.status, t.completedAt),
16544
16547
  foreignKey({
16545
16548
  columns: [t.agentId, t.workspaceId],
16546
16549
  foreignColumns: [agent.id, agent.workspaceId]
@@ -16304,7 +16304,8 @@ var agentRuntime = sqliteTable("agent_runtime", {
16304
16304
  updatedAt: text("updated_at").notNull().$defaultFn(() => new Date().toISOString())
16305
16305
  }, (t) => [
16306
16306
  unique("agent_runtime_workspace_daemon_provider").on(t.workspaceId, t.daemonId, t.provider),
16307
- index("idx_agent_runtime_workspace_daemon").on(t.workspaceId, t.daemonId)
16307
+ index("idx_agent_runtime_workspace_daemon").on(t.workspaceId, t.daemonId),
16308
+ index("idx_agent_runtime_daemon_workspace").on(t.daemonId, t.workspaceId)
16308
16309
  ]);
16309
16310
  var agent = sqliteTable("agent", {
16310
16311
  id: text("id").notNull().$defaultFn(() => "ag_" + nanoid3(8)),
@@ -16360,6 +16361,7 @@ var conversation = sqliteTable("conversation", {
16360
16361
  createdAt: text("created_at").notNull().$defaultFn(() => new Date().toISOString())
16361
16362
  }, (t) => [
16362
16363
  index("idx_conversation_agent_lookup").on(t.workspaceId, t.agentId, t.userId, t.type, t.channel, t.createdAt),
16364
+ index("idx_conversation_ws_user").on(t.workspaceId, t.userId, t.createdAt),
16363
16365
  foreignKey({
16364
16366
  columns: [t.agentId, t.workspaceId],
16365
16367
  foreignColumns: [agent.id, agent.workspaceId]
@@ -16408,6 +16410,7 @@ var agentTaskQueue = sqliteTable("agent_task_queue", {
16408
16410
  index("idx_task_queue_parent").on(t.parentTaskId),
16409
16411
  index("idx_task_queue_workspace_type_status").on(t.workspaceId, t.type, t.status),
16410
16412
  index("idx_task_queue_workspace_status_dispatched").on(t.workspaceId, t.status, t.dispatchedAt),
16413
+ index("idx_task_queue_inbox").on(t.workspaceId, t.status, t.completedAt),
16411
16414
  foreignKey({
16412
16415
  columns: [t.agentId, t.workspaceId],
16413
16416
  foreignColumns: [agent.id, agent.workspaceId]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alook/cli",
3
- "version": "0.0.74",
3
+ "version": "0.0.75",
4
4
  "description": "Alook CLI — Enable Your Person Colleague",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/alookai/alook#readme",