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
|
|
@ -118,9 +118,11 @@ After creating the adaptation:
|
|||
- Save to `${LINKEDIN_STUDIO_DATA:-$HOME/.claude/linkedin-studio}/drafts/multiplatform/[platform]-[slug].md`
|
||||
- Auto-copy the adapted content to clipboard silently:
|
||||
```bash
|
||||
printf '%s' '<ADAPTED_CONTENT>' | node ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/clipboard-helper.mjs
|
||||
node ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/clipboard-helper.mjs <<'__LINKEDIN_CLIP_EOF__'
|
||||
<ADAPTED_CONTENT>
|
||||
__LINKEDIN_CLIP_EOF__
|
||||
```
|
||||
- Present the content and confirm: "Copied to clipboard."
|
||||
- Substitute `<ADAPTED_CONTENT>` with the exact adapted text between the heredoc markers (a quoted heredoc keeps apostrophes, `%`, `$`, and backticks literal). Present the content, and 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.
|
||||
- Note platform-specific publishing tips
|
||||
|
||||
## Reference Files
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue