@alook/cli 0.0.134 → 0.0.136
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 +702 -757
- package/dist/session-runner.js +4 -10
- package/package.json +1 -1
package/dist/session-runner.js
CHANGED
|
@@ -14472,8 +14472,7 @@ var DaemonPushMessageSchema = exports_external.discriminatedUnion("type", [
|
|
|
14472
14472
|
exports_external.object({ type: exports_external.literal("daemon.evict"), workspaceId: exports_external.string() }),
|
|
14473
14473
|
exports_external.object({ type: exports_external.literal("daemon.update"), version: exports_external.string() }),
|
|
14474
14474
|
exports_external.object({ type: exports_external.literal("daemon.rescan") }),
|
|
14475
|
-
exports_external.object({ type: exports_external.literal("daemon.kill"), workspaceId: exports_external.string(), agentId: exports_external.string().min(1), taskId: exports_external.string(), targetTaskId: exports_external.string() })
|
|
14476
|
-
exports_external.object({ type: exports_external.literal("daemon.workspace_added"), workspaceId: exports_external.string(), workspaceName: exports_external.string(), token: exports_external.string() })
|
|
14475
|
+
exports_external.object({ type: exports_external.literal("daemon.kill"), workspaceId: exports_external.string(), agentId: exports_external.string().min(1), taskId: exports_external.string(), targetTaskId: exports_external.string() })
|
|
14477
14476
|
]);
|
|
14478
14477
|
var RegisterResponseSchema = exports_external.object({
|
|
14479
14478
|
runtimes: exports_external.array(exports_external.object({ id: exports_external.string() }))
|
|
@@ -14503,9 +14502,6 @@ var RegisterDaemonRequestSchema = exports_external.object({
|
|
|
14503
14502
|
workspaces_root: exports_external.string().optional().default(""),
|
|
14504
14503
|
runtimes: exports_external.array(DaemonRuntimeItemSchema).min(1)
|
|
14505
14504
|
});
|
|
14506
|
-
var BindWorkspaceRequestSchema = exports_external.object({
|
|
14507
|
-
workspace_id: exports_external.string().min(1)
|
|
14508
|
-
});
|
|
14509
14505
|
var DeregisterRequestSchema = exports_external.object({
|
|
14510
14506
|
daemon_id: exports_external.string().min(1)
|
|
14511
14507
|
});
|
|
@@ -14771,7 +14767,7 @@ var UpdateMemberRequestSchema = exports_external.object({
|
|
|
14771
14767
|
});
|
|
14772
14768
|
var CreateWorkspaceRequestSchema = exports_external.object({
|
|
14773
14769
|
name: exports_external.string().min(1, "name is required"),
|
|
14774
|
-
slug: exports_external.string().
|
|
14770
|
+
slug: exports_external.string().optional().default("")
|
|
14775
14771
|
});
|
|
14776
14772
|
var UpdateWorkspaceRequestSchema = exports_external.object({
|
|
14777
14773
|
name: exports_external.string().min(1, "name is required").max(100).trim().optional(),
|
|
@@ -16269,6 +16265,7 @@ var workspace = sqliteTable("workspace", {
|
|
|
16269
16265
|
id: text("id").primaryKey().$defaultFn(() => "sp_" + nanoid3()),
|
|
16270
16266
|
name: text("name").notNull(),
|
|
16271
16267
|
slug: text("slug").unique().notNull(),
|
|
16268
|
+
onboarded: integer2("onboarded").notNull().default(0),
|
|
16272
16269
|
createdAt: text("created_at").notNull().$defaultFn(() => new Date().toISOString()),
|
|
16273
16270
|
updatedAt: text("updated_at").notNull().$defaultFn(() => new Date().toISOString())
|
|
16274
16271
|
});
|
|
@@ -16958,9 +16955,6 @@ class DaemonClient {
|
|
|
16958
16955
|
syncSkills(token, body) {
|
|
16959
16956
|
return this.request("POST", "/api/daemon/skills/sync", token, body);
|
|
16960
16957
|
}
|
|
16961
|
-
async checkStandby(token, body) {
|
|
16962
|
-
return this.request("POST", "/api/daemon/register", token, body);
|
|
16963
|
-
}
|
|
16964
16958
|
}
|
|
16965
16959
|
|
|
16966
16960
|
// daemon/agent/claude.ts
|
|
@@ -18840,7 +18834,7 @@ function clearKillIntent(baseDir, taskId) {
|
|
|
18840
18834
|
|
|
18841
18835
|
// daemon/prompt.ts
|
|
18842
18836
|
var DM_RESPONSE_NOTICE = "Reply with `alook sync send-dm` — that's the only thing the user sees; your task output and reasoning are not shown." + " Talk to them at milestones like a colleague would, and don't end your turn without sending what they need." + " If this task will take more than 30 seconds, send a quick ack first so the user knows you're on it.";
|
|
18843
|
-
var EMAIL_NOTICE = "This task was triggered by an incoming email. Reply to the sender via email — use the email sending tool to respond." + " If you need more information or confirmation, email them and then exit." + " Do not wait — when they reply, a new task will be triggered automatically and you will be woken up with their response.";
|
|
18837
|
+
var EMAIL_NOTICE = "This task was triggered by an incoming email. Reply to the sender via email — use the email sending tool to respond." + " If you need more information or confirmation, email them and then exit." + " Do not wait — when they reply, a new task will be triggered automatically and you will be woken up with their response." + " IMPORTANT: Do not let this email interrupt any task you were previously working on. After handling this email, return to your original task and make sure it reaches completion.";
|
|
18844
18838
|
var CALENDAR_NOTICE = "This task was triggered by a scheduled calendar event." + " If you need to communicate with someone, send an email using the email sending tool." + " If you need more information or confirmation, email them and then exit." + " Do not wait — when they reply, a new task will be triggered automatically and you will be woken up with their response.";
|
|
18845
18839
|
var ISSUE_NOTICE = "This task was triggered by an assigned issue. The issue_id is provided in this message." + " Use `alook issue show --issue_id <issue_id>` to read full context." + " Use `alook issue update --issue_id <issue_id> --status <status>` to change status." + " Use `alook issue comment --issue_id <issue_id> --body <text>` to leave a comment." + " CRITICAL — You MUST manage the issue status correctly. This is NOT optional:" + " 1. Set status to 'in_progress' when you start working." + " 2. If you complete the work yourself: leave a summary comment, then set status to 'review' as your last action. 'review' means there is actual completed work (code, artifact, result) ready for the owner to look at." + " 3. If you delegated work to colleagues and are waiting for their response: KEEP status as 'in_progress' and exit. This is expected — you will be woken up when they reply. Set 'review' only after all delegated work is confirmed complete." + " 4. NEVER set 'review' unless there is concrete completed work for the owner to review. Sending a plan to a colleague is NOT completed work." + " NEVER exit without doing at least one of: updating the status, or leaving a comment explaining what you did and what you're waiting for.";
|
|
18846
18840
|
function buildDmNotice(name, email3) {
|