tuna-agent 0.1.117 → 0.1.118

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.
@@ -624,8 +624,10 @@ ${skillContent.slice(0, 15000)}`;
624
624
  // ── Claude-powered tasks (ideas, script, etc.) ────────────────────────
625
625
  (async () => {
626
626
  try {
627
+ // Build prompt: use msg.prompt if available, otherwise combine task + url
628
+ const fallbackPrompt = msg.prompt || (msg.url ? `${extTask}: ${msg.url}` : extTask);
627
629
  const result = await runClaude({
628
- prompt: extTask,
630
+ prompt: fallbackPrompt,
629
631
  cwd: os.homedir(),
630
632
  maxTurns: 10,
631
633
  outputFormat: extStream ? 'stream-json' : 'json',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tuna-agent",
3
- "version": "0.1.117",
3
+ "version": "0.1.118",
4
4
  "description": "Tuna Agent - Run AI coding tasks on your machine",
5
5
  "bin": {
6
6
  "tuna-agent": "dist/cli/index.js"