tuna-agent 0.1.50 → 0.1.52

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.
@@ -202,7 +202,7 @@ export async function startDaemon(config) {
202
202
  activeTasks++;
203
203
  currentTaskId = task.id;
204
204
  currentTaskAbort = new AbortController();
205
- console.log(`[Daemon] Received task: ${task.id} — ${task.description.slice(0, 80)} (attachments: ${task.attachments?.length ?? 0})`);
205
+ console.log(`[Daemon] Received task: ${task.id} agentId=${task.agentId || '(none)'} — ${task.description.slice(0, 80)} (attachments: ${task.attachments?.length ?? 0})`);
206
206
  // Update MCP config with the task's agent ID so knowledge server uses correct attribution
207
207
  if (task.agentId) {
208
208
  try {
@@ -23,6 +23,8 @@ export declare const TaskAssignmentSchema: z.ZodObject<{
23
23
  workflow: "workflow";
24
24
  api: "api";
25
25
  }>>>;
26
+ agentId: z.ZodOptional<z.ZodString>;
27
+ enableReflection: z.ZodOptional<z.ZodBoolean>;
26
28
  }, z.core.$strip>;
27
29
  }, z.core.$strip>;
28
30
  export declare const CommandMessageSchema: z.ZodObject<{
@@ -15,6 +15,8 @@ export const TaskAssignmentSchema = z.object({
15
15
  confirmBeforeEdit: z.boolean().optional().default(false),
16
16
  attachments: z.array(ChatAttachmentSchema).optional(),
17
17
  source: z.enum(['manual', 'skill', 'scheduled', 'workflow', 'api']).optional().default('manual'),
18
+ agentId: z.string().optional(),
19
+ enableReflection: z.boolean().optional(),
18
20
  }),
19
21
  });
20
22
  export const CommandMessageSchema = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tuna-agent",
3
- "version": "0.1.50",
3
+ "version": "0.1.52",
4
4
  "description": "Tuna Agent - Run AI coding tasks on your machine",
5
5
  "bin": {
6
6
  "tuna-agent": "dist/cli/index.js"