Skip to content

feat(web,myra): Deploy card reads a package from fenced blocks in the message body (CL-8514) - #908

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-8514-fenced-package
Sep 18, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-8514-fenced-package

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • @intx/tools-mail's mail_send has no attachments parameter, so a mailed agent package (package.json + definition.json) has to arrive as two labelled fenced code blocks in the message body instead.
  • deployable-package.ts gains a body parser (matches a fence's info string or the non-empty line above it, case-insensitive, backticks/colon tolerant) that feeds the same AgentDefinition validation as the attachment path; attachments win when present.
  • The chat transcript (chat-thread-page.tsx, workbench-room-page.tsx) renders the Deploy card either way and strips the two recognized fenced blocks from the rendered body.
  • Myra's system prompt now asks for the two files as labelled fenced code blocks instead of attachments.

Test plan

  • bunx tsc -p apps/web --noEmit
  • bun run lint
  • bun run fmt
  • cd apps/web && bun run build
  • cd apps/web && bun test ./src (588 pass)

… message body (CL-8514)

@intx/tools-mail's mail_send has no attachments parameter, so a mailed
agent package has to travel as two labelled fenced code blocks in the
message body instead. Add a body parser beside the existing attachment
path (attachments still win when present), strip the recognized blocks
from the rendered transcript, and update Myra's prompt to ask for
fenced blocks rather than attachments.
@linear-code

linear-code Bot commented Sep 18, 2026

Copy link
Copy Markdown

CL-8514

@TheGreatAxios
TheGreatAxios merged commit 91b27e4 into main Sep 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant