fix(linkedin-studio): Oppgave 1 fix-pass — clipboard heredoc + report refs + calendar queue-felter [skip-docs]
Primær-sti-fixer fra cold-review: - clipboard (10 cmds): printf '%s' '<text>' → quoted heredoc (apostrof/%/$/backtick korrumperte stdin); «Copied» betinget på COPIED, FAILED → be om manuell kopi - report.md: heatmap-gren pekte til ikke-eksisterende «Step 6c» → «Step 2c»; Step 8b export skriver .md → la til Write i allowed-tools - calendar.md: Step 1 emitter ENTRY RECORDS (id/draft_path/character_count) fra returnerte entry-objekter; publish + reschedule resolver id derfra (queueFormatSummary droppet feltene → handlingene var brutt) test-runner: 138 passed / 0 failed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012GqEHp4uDiivfrAUjw4BdE
This commit is contained in:
parent
4fd038ad1d
commit
882f6eee5e
12 changed files with 51 additions and 23 deletions
|
|
@ -159,9 +159,11 @@ Show the post with:
|
|||
|
||||
Auto-copy the final post text to clipboard silently:
|
||||
```bash
|
||||
printf '%s' '<FINAL_POST_TEXT>' | node ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/clipboard-helper.mjs
|
||||
node ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/clipboard-helper.mjs <<'__LINKEDIN_CLIP_EOF__'
|
||||
<FINAL_POST_TEXT>
|
||||
__LINKEDIN_CLIP_EOF__
|
||||
```
|
||||
Then confirm: "Copied to clipboard."
|
||||
Substitute `<FINAL_POST_TEXT>` with the exact post text between the heredoc markers (a quoted heredoc keeps apostrophes, `%`, `$`, and backticks literal). Only if the helper prints `COPIED`, confirm: "Copied to clipboard." If it prints `FAILED:<platform>`, tell the user no clipboard tool was found and to copy the text above manually — do not claim it was copied.
|
||||
|
||||
Do NOT proactively offer alternative versions. Only generate alternatives if the user asks.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue