@alook/cli 0.0.65 → 0.0.67

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
@@ -16476,6 +16476,7 @@ var channel = sqliteTable("channel", {
16476
16476
  id: text("id").primaryKey().$defaultFn(() => "ch_" + nanoid3()),
16477
16477
  workspaceId: text("workspace_id").notNull().references(() => workspace.id, { onDelete: "cascade" }),
16478
16478
  name: text("name").notNull(),
16479
+ position: integer2("position").notNull().default(0),
16479
16480
  createdAt: text("created_at").notNull().$defaultFn(() => new Date().toISOString())
16480
16481
  }, (t) => [
16481
16482
  unique("channel_workspace_name").on(t.workspaceId, t.name),
@@ -16342,6 +16342,7 @@ var channel = sqliteTable("channel", {
16342
16342
  id: text("id").primaryKey().$defaultFn(() => "ch_" + nanoid3()),
16343
16343
  workspaceId: text("workspace_id").notNull().references(() => workspace.id, { onDelete: "cascade" }),
16344
16344
  name: text("name").notNull(),
16345
+ position: integer2("position").notNull().default(0),
16345
16346
  createdAt: text("created_at").notNull().$defaultFn(() => new Date().toISOString())
16346
16347
  }, (t) => [
16347
16348
  unique("channel_workspace_name").on(t.workspaceId, t.name),
@@ -17886,13 +17887,11 @@ ${task.agent.instructions}
17886
17887
  }
17887
17888
  if (task.agent?.colleagues?.length) {
17888
17889
  content += `
17889
- ## Your Colleagues
17890
- Below are your direct colleagues. You can reach them via email.
17890
+ ## YOUR COLLEAGUES — CHECK BEFORE ACTING
17891
+ > **STOP. Before you start ANY task, scan the colleague list below.**
17892
+ > If a colleague's delegation criteria match the current task, you MUST delegate to them via email **instead of doing it yourself**.
17893
+ > Do NOT attempt work that belongs to a colleague. Delegate first, then wait for their response or coordinate.
17891
17894
 
17892
- **Important:**
17893
- - When communicating with a colleague on the **same topic** as an existing email thread, reply to that thread (use --in-reply-to) to keep context together.
17894
- - **When starting a NEW topic or task that is unrelated to any previous email thread, you MUST compose a brand new email (do NOT use --in-reply-to). Never hijack an unrelated thread just because you recently emailed that colleague.** Judge by topic/task relevance, not by recency of communication.
17895
- - Make sure to send follow-up emails to your colleagues to stop the previous wrong directions or instructions you sent before, don't make your colleague running for nothing.
17896
17895
  `;
17897
17896
  for (let i = 0;i < task.agent.colleagues.length; i++) {
17898
17897
  const c = task.agent.colleagues[i];
@@ -17902,12 +17901,18 @@ Below are your direct colleagues. You can reach them via email.
17902
17901
  content += `${c.description}
17903
17902
  `;
17904
17903
  if (c.instruction)
17905
- content += `**When to involve:** ${resolveInstruction(c.instruction, task.agentId)}
17904
+ content += `**DELEGATE when:** ${resolveInstruction(c.instruction, task.agentId)}
17906
17905
  `;
17907
17906
  if (i < task.agent.colleagues.length - 1)
17908
17907
  content += `
17909
17908
  `;
17910
17909
  }
17910
+ content += `
17911
+ **Email threading rules:**
17912
+ - When communicating with a colleague on the **same topic** as an existing email thread, reply to that thread (use --in-reply-to) to keep context together.
17913
+ - **When starting a NEW topic or task that is unrelated to any previous email thread, you MUST compose a brand new email (do NOT use --in-reply-to). Never hijack an unrelated thread just because you recently emailed that colleague.** Judge by topic/task relevance, not by recency of communication.
17914
+ - Make sure to send follow-up emails to your colleagues to stop the previous wrong directions or instructions you sent before, don't make your colleague running for nothing.
17915
+ `;
17911
17916
  }
17912
17917
  content += `
17913
17918
  ## Alook CLI Tools
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alook/cli",
3
- "version": "0.0.65",
3
+ "version": "0.0.67",
4
4
  "description": "Alook CLI — Enable Your Person Colleague",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/alookai/alook#readme",