@alook/cli 0.0.32 → 0.0.33
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 +2 -0
- package/dist/session-runner.js +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15797,6 +15797,7 @@ var conversation = sqliteTable("conversation", {
|
|
|
15797
15797
|
channel: text("channel").notNull().default("default"),
|
|
15798
15798
|
createdAt: text("created_at").notNull().$defaultFn(() => new Date().toISOString())
|
|
15799
15799
|
}, (t) => [
|
|
15800
|
+
index("idx_conversation_agent_lookup").on(t.workspaceId, t.agentId, t.userId, t.type, t.channel, t.createdAt),
|
|
15800
15801
|
foreignKey({
|
|
15801
15802
|
columns: [t.agentId, t.workspaceId],
|
|
15802
15803
|
foreignColumns: [agent.id, agent.workspaceId]
|
|
@@ -15837,6 +15838,7 @@ var agentTaskQueue = sqliteTable("agent_task_queue", {
|
|
|
15837
15838
|
index("idx_task_queue_pending").on(t.agentId, t.status).where(sql`status IN ('queued', 'dispatched')`),
|
|
15838
15839
|
index("idx_task_queue_workspace_active").on(t.workspaceId, t.status, t.agentId).where(sql`status IN ('queued', 'dispatched', 'running')`),
|
|
15839
15840
|
index("idx_task_queue_agent_history").on(t.agentId, t.workspaceId, t.createdAt),
|
|
15841
|
+
index("idx_task_queue_conversation_status").on(t.conversationId, t.status),
|
|
15840
15842
|
foreignKey({
|
|
15841
15843
|
columns: [t.agentId, t.workspaceId],
|
|
15842
15844
|
foreignColumns: [agent.id, agent.workspaceId]
|
package/dist/session-runner.js
CHANGED
|
@@ -15514,6 +15514,7 @@ var conversation = sqliteTable("conversation", {
|
|
|
15514
15514
|
channel: text("channel").notNull().default("default"),
|
|
15515
15515
|
createdAt: text("created_at").notNull().$defaultFn(() => new Date().toISOString())
|
|
15516
15516
|
}, (t) => [
|
|
15517
|
+
index("idx_conversation_agent_lookup").on(t.workspaceId, t.agentId, t.userId, t.type, t.channel, t.createdAt),
|
|
15517
15518
|
foreignKey({
|
|
15518
15519
|
columns: [t.agentId, t.workspaceId],
|
|
15519
15520
|
foreignColumns: [agent.id, agent.workspaceId]
|
|
@@ -15554,6 +15555,7 @@ var agentTaskQueue = sqliteTable("agent_task_queue", {
|
|
|
15554
15555
|
index("idx_task_queue_pending").on(t.agentId, t.status).where(sql`status IN ('queued', 'dispatched')`),
|
|
15555
15556
|
index("idx_task_queue_workspace_active").on(t.workspaceId, t.status, t.agentId).where(sql`status IN ('queued', 'dispatched', 'running')`),
|
|
15556
15557
|
index("idx_task_queue_agent_history").on(t.agentId, t.workspaceId, t.createdAt),
|
|
15558
|
+
index("idx_task_queue_conversation_status").on(t.conversationId, t.status),
|
|
15557
15559
|
foreignKey({
|
|
15558
15560
|
columns: [t.agentId, t.workspaceId],
|
|
15559
15561
|
foreignColumns: [agent.id, agent.workspaceId]
|
|
@@ -16146,7 +16148,7 @@ class CodexBackend {
|
|
|
16146
16148
|
this.cliPath = cliPath;
|
|
16147
16149
|
}
|
|
16148
16150
|
execute(prompt, options) {
|
|
16149
|
-
const proc = spawn2(this.cliPath, ["app-server", "--listen", "stdio://"
|
|
16151
|
+
const proc = spawn2(this.cliPath, ["app-server", "--listen", "stdio://"], {
|
|
16150
16152
|
cwd: options.cwd,
|
|
16151
16153
|
stdio: ["pipe", "pipe", "pipe"],
|
|
16152
16154
|
env: { ...process.env, ...options.env }
|
|
@@ -16504,7 +16506,7 @@ class CodexBackend {
|
|
|
16504
16506
|
} else {
|
|
16505
16507
|
const threadParams = {
|
|
16506
16508
|
cwd: options.cwd,
|
|
16507
|
-
sandbox: "
|
|
16509
|
+
sandbox: "danger-full-access",
|
|
16508
16510
|
persistExtendedHistory: true,
|
|
16509
16511
|
experimentalRawEvents: false
|
|
16510
16512
|
};
|