mirror of
https://github.com/Louis-CFM/coucou.git
synced 2026-12-06 23:24:20 +09:00
A new island card (the terminal tab in the header, or ⌃⌥N): pick a project among the folders your sessions ran in (or any folder), type or dictate what Claude should do, and Coucou opens your terminal there with claude "<prompt>". The prompt goes through an environment variable, never into the command line; the script runs in your login shell and removes itself. Terminal and iTerm2 get a .command file; Ghostty, kitty, WezTerm and Alacritty a new window running it; Warp and others fall back to Terminal. GitHub build only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
9 lines
339 B
Bash
Executable File
9 lines
339 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
TEST_DIR="$(mktemp -d "${TMPDIR:-/tmp}/coucou-launch.XXXXXX")"
|
|
trap 'rm -rf "$TEST_DIR"' EXIT
|
|
swiftc NotchBuddy/Sources/App/LaunchScript.swift NotchBuddy/Sources/App/TerminalTarget.swift \
|
|
tests/SessionLaunchTests.swift -o "$TEST_DIR/launch-tests"
|
|
"$TEST_DIR/launch-tests"
|