You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ca1fffc
Browse filesBrowse the repository at this point in the historyBrowse files
Apply cross-review fixes and add a full-app review build
- Pin editor actions (revert, close, playback) to the document they were
issued for, keep manual drafts visible as tabs, and surface arrivals.
- Report every draft outcome with a structured status (editor_full,
invalid, upgrade_required, unconfirmed) and distinguish busy from full.
- Show blocked receipt, peer identity, and shared instruction in the
connection area; retry pairing when enabling receive.
- Treat an unreadable preset override as unreadable instead of falling
back to built-ins; write instruction files 0600.
- Target macOS 14.0 for all variants, pick a usable SDK without Xcode,
and stage installs so a failed swap restores the previous app.
- Add `./build.sh review`: the whole app with isolated identity, data,
and sockets, without Services or global hotkeys.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
case"accepted":tool(id,"Received in the app’s editor. Not played.",extra:["status":"accepted"])
153
160
case"duplicate":tool(id,"Already received. Nothing new was opened or played.",extra:["status":"duplicate"])
154
-
case"conflict":tool(id,"Retry key already used for different content.",failed:true)
155
-
case"busy":tool(id,"Open documents have reached their limit. Close a tab and retry with the same key.",failed:true,extra:["status":"busy"])
161
+
case"conflict":fail("conflict","Retry key already used for different content. Use a new key for new content.")
162
+
case"busy":fail("busy","Open documents have reached their limit. Ask the user to close a tab in \(app), then retry with the same key.")
163
+
case"editor_full":
164
+
fail("editor_full","The text open in the app is too large to keep beside a new draft. Ask the user to shorten or move it in \(app), then retry with the same key.")
156
165
case"session_limit":
157
-
tool(id,"This helper session has reached its draft-key limit. Ask the user to disconnect and enable a new session.",failed:true,extra:["status":"session_limit"])
158
-
case"rate_limited":tool(id,"This session’s receipt rate limit was reached.",failed:true)
166
+
fail("session_limit","This helper session has reached its draft-key limit. Ask the user to disconnect and enable a new session.")
167
+
case"rate_limited":fail("rate_limited","This session’s receipt rate limit was reached. Wait a minute, then retry with the same key.")
159
168
case"instruction_required":
160
-
tool(id,"A saved instruction is selected. Read the current selection and send with submit_explanation_draft, or ask the user to clear the selection.",failed:true,extra:["status":"instruction_required"])
161
-
case"unproven":tool(id,"Instruction selection, revision, or proof is no longer valid. Read the selected saved instruction again and retry.",failed:true,extra:["status":"unproven"])
162
-
default:tool(id,"Receipt not confirmed. Check TTS agent status and retry with the same key.",failed:true)
169
+
switchshareable{
170
+
casetrue?:
171
+
fail("instruction_required","A saved instruction is selected. Read it with get_tts_instructions and send with submit_explanation_draft, or ask the user to clear the selection.")
172
+
casefalse?:
173
+
fail("instruction_required","A saved instruction is selected but is not being shared, so it cannot be read. Ask the user to select it again or clear the selection in \(app).")
174
+
casenil:
175
+
fail("instruction_required","A saved instruction is selected. Check tts_agent_status: when it is ready, read the instruction and use submit_explanation_draft; otherwise ask the user to select it again or clear the selection in \(app).")
176
+
}
177
+
case"unproven":fail("unproven","Instruction selection, revision, or proof is no longer valid. Check tts_agent_status, read the selected saved instruction again, and retry.")
178
+
case"invalid":fail("invalid","The app rejected the draft arguments. Check the key and text limits; retrying unchanged will not help.")
179
+
case"upgrade_required":fail("upgrade_required","The running app and this helper are different versions. Use the helper bundled with the running app.")
180
+
default:fail("unconfirmed","Receipt not confirmed. Check tts_agent_status and retry with the same key.")
0 commit comments