Repository navigation
Fix folder names with ' $ !, form focus trap, 6h/8h stop options - #4
Merged
bmanturner merged 3 commits intoNov 6, 2026
Merged
Conversation
added 3 commits
November 5, 2026 21:05
cwd only reaches Tern as the `tern new --cwd` argv element (no shell text), so only control characters are refused now.
Tab/shift+tab leave the prompt editor keeping its text (it swallowed Tab), and a click on another row finishes an open text edit instead of being ignored.
Owner
|
Hey @roverdude24 thanks for the PR. Would you mind dropping the Docs commit? I'll flesh it out so that we're not just re-using Carly's message kind and can have a dedicated public surface for registering scripts. |
roverdude24
force-pushed
the
fix/path-quoting-focus-stops-docs
branch
from
November 5, 2026 23:12
b3f9827 to
59cf5c7
Compare
Author
|
Sure, dropped it. Here's what I had in case it's still useful for you: README sectionFrom a script or another agentDrop one JSON file into the data folder's D="$HOME/Library/Application Support/Tern/plugin-data/tern-agent-scheduler"
REPLY=$(LC_ALL=C tr -dc a-z0-9 </dev/urandom | head -c 12)
F="$D/intents/$(date +%s)000-agent-0001.json"
mkdir -p "$D/intents"
cat >"$F.tmp" <<EOF
{"format": 1, "kind": "carly_create", "reply": "$REPLY",
"name": "standup-notes", "prompt": "Summarise yesterday's commits.",
"when": "weekdays 9am", "folder": "$HOME/Dev/app"}
EOF
mv "$F.tmp" "$F" # write then rename, so a half-written file is never read
sleep 2; cat "$D/replies/$REPLY.json"
There's a test for it too in b3f9827 on my fork. One thing I noticed while trying it: jobs made this way show up as "by Carly" and run Hands-off, so a script kind might want its own label. |
Owner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three small commits, one change each, each with a test in
test/(bun run test: 35/35 pass).',$or!are accepted.cwdonly reaches Tern as thetern new --cwdargv element (no shell), so only control characters are refused now. Verified live with/Volumes/VINH MAC/VINH's WORKS/…/084 MAPPING - TPHCM NOV 22-24: job saved, run's omp sessioncwdis that folder.⇥ next); a click on another row ends a single-line edit.Built and tested on Tern as installed (0.9.9 per AGENTS.md). No version bump or CHANGELOG entry; happy to add one if you want.