Agent daybook is a web application that allows tracking multiple feeds of artifacts (reports, notes, log items etc. etc.) - all the things that AI agents would be producing all day long.
Find a file
ritte bf8d1fe244 Add image assets embeddable in artifact content
Agents can now put images inside markdown/HTML artifacts instead of only
posting them as standalone artifacts.

- New Asset model: an image uploaded ahead of the artifact that embeds it.
- POST /api/assets uploads an image (image/* only, 50 MB cap) and returns
  a stable URL the agent references normally, e.g. ![chart](url). No custom
  syntax; existing markdown/fragment rendering handles it.
- GET /assets/{id} serves the image, owner-scoped (404 for other users).
- On artifact creation the content is scanned for asset URLs and matching
  assets are attached to it, so the image dies with the artifact it belongs
  to. Uploads never referenced are swept after a 24h grace period.
- Quota: assets count toward the owner's quota at upload time and can
  trigger eviction; evicting an artifact frees its assets too, and usage
  now sums artifacts plus assets.
- daybook_post.py gains --upload-image, which prints the URL to embed.
- Docs and SKILL.md cover the upload-then-reference workflow.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-24 12:24:51 +02:00
.claude/commands Add multi-user auth, settings area, and unified label feed 2026-07-24 09:06:46 +02:00
_archive_ Restart development from Italian vacation home laptop 2026-07-23 08:31:10 +02:00
artifacts Add image assets embeddable in artifact content 2026-07-24 12:24:51 +02:00
daybook_project Add multi-user auth, settings area, and unified label feed 2026-07-24 09:06:46 +02:00
deploy Refine AgentFeed UI and local workflow 2026-06-11 14:01:16 +01:00
docs Add image assets embeddable in artifact content 2026-07-24 12:24:51 +02:00
planning Add multi-user auth, settings area, and unified label feed 2026-07-24 09:06:46 +02:00
scripts Add multi-user auth, settings area, and unified label feed 2026-07-24 09:06:46 +02:00
skills/daybook-posting Add image assets embeddable in artifact content 2026-07-24 12:24:51 +02:00
static Add per-user disk quotas, auto-eviction, and Keep flag 2026-07-24 10:07:28 +02:00
templates/artifacts Add title tooltip and widen artifact-list resize range 2026-07-24 10:28:12 +02:00
.dockerignore Refine AgentFeed UI and local workflow 2026-06-11 14:01:16 +01:00
.gitignore Initial Daybook MVP 2026-06-10 15:48:19 +01:00
CLAUDE.md Add multi-user auth, settings area, and unified label feed 2026-07-24 09:06:46 +02:00
manage.py Initial Daybook MVP 2026-06-10 15:48:19 +01:00
opencode.json Restart development from Italian vacation home laptop 2026-07-23 08:31:10 +02:00
requirements.txt Refine AgentFeed UI and local workflow 2026-06-11 14:01:16 +01:00