mirror of
https://github.com/magicseek/nblm.git
synced 2026-09-14 15:39:27 +08:00
2d5d47673e
Problem: AI agents run scripts non-interactively, so input() gets EOF. Solution: Add explicit CLI flags for notebook selection: - --use-active: Upload to currently active notebook - --create-new: Create new notebook named after the file - --notebook-id: Upload to specific notebook (existing) The AI agent should ask the user BEFORE running the script, then pass the appropriate flag. Script now exits with clear error message if no target is specified. Updated SKILL.md to instruct agents to ask user first. Co-Authored-By: Claude <noreply@anthropic.com>
12 KiB
12 KiB