@alook/cli 0.0.75 → 0.0.77
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 +3 -0
- package/dist/session-runner.js +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16544,6 +16544,9 @@ var agentTaskQueue = sqliteTable("agent_task_queue", {
|
|
|
16544
16544
|
index("idx_task_queue_workspace_type_status").on(t.workspaceId, t.type, t.status),
|
|
16545
16545
|
index("idx_task_queue_workspace_status_dispatched").on(t.workspaceId, t.status, t.dispatchedAt),
|
|
16546
16546
|
index("idx_task_queue_inbox").on(t.workspaceId, t.status, t.completedAt),
|
|
16547
|
+
index("idx_task_queue_runtime_pending").on(t.workspaceId, t.runtimeId, t.status).where(sql`status IN ('queued', 'dispatched')`),
|
|
16548
|
+
index("idx_task_queue_agent_running").on(t.agentId, t.workspaceId, t.status).where(sql`status IN ('dispatched', 'running')`),
|
|
16549
|
+
index("idx_task_queue_inbox_convo").on(t.workspaceId, t.status, t.conversationId, t.completedAt).where(sql`status IN ('completed', 'failed') AND parent_task_id IS NULL`),
|
|
16547
16550
|
foreignKey({
|
|
16548
16551
|
columns: [t.agentId, t.workspaceId],
|
|
16549
16552
|
foreignColumns: [agent.id, agent.workspaceId]
|
package/dist/session-runner.js
CHANGED
|
@@ -16411,6 +16411,9 @@ var agentTaskQueue = sqliteTable("agent_task_queue", {
|
|
|
16411
16411
|
index("idx_task_queue_workspace_type_status").on(t.workspaceId, t.type, t.status),
|
|
16412
16412
|
index("idx_task_queue_workspace_status_dispatched").on(t.workspaceId, t.status, t.dispatchedAt),
|
|
16413
16413
|
index("idx_task_queue_inbox").on(t.workspaceId, t.status, t.completedAt),
|
|
16414
|
+
index("idx_task_queue_runtime_pending").on(t.workspaceId, t.runtimeId, t.status).where(sql`status IN ('queued', 'dispatched')`),
|
|
16415
|
+
index("idx_task_queue_agent_running").on(t.agentId, t.workspaceId, t.status).where(sql`status IN ('dispatched', 'running')`),
|
|
16416
|
+
index("idx_task_queue_inbox_convo").on(t.workspaceId, t.status, t.conversationId, t.completedAt).where(sql`status IN ('completed', 'failed') AND parent_task_id IS NULL`),
|
|
16414
16417
|
foreignKey({
|
|
16415
16418
|
columns: [t.agentId, t.workspaceId],
|
|
16416
16419
|
foreignColumns: [agent.id, agent.workspaceId]
|