Skip to content

feat(options): set stay details, photos, website and the trip budget from flags - #12

Merged
akoso merged 2 commits into
mainfrom
feat/stay-details
Nov 3, 2026
Merged

akoso merged 2 commits into
mainfrom
feat/stay-details

Conversation

@akoso

@akoso akoso commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

What changes

  • mna options add and mna options edit take --details '<json>' and --photos '<json>', for accommodation only. On edit, each works without --from-json.
  • mna options add and edit also take --website <url>, the place's own official site, for accommodation only.
  • mna trips edit takes --budget '<json>'.
  • null clears any of them.
  • The mna skill and its reference now explain these fields. A model should add a stay detail only when it helps choose between this trip's options, should not state what is equally true of all of them, must not invent facts, and should say where a fact came from when that isn't obvious.

Event priceOptions need no new flag: they go through the existing --from-json, and the skill now documents them.

Merge order

This needs akoso/travel-plans#164 deployed first. Until then, the server rejects these fields as unknown on most routes. openapi.json is not refreshed here, for the same reason. The request bodies are already cast, so the code doesn't depend on it.

No tag or release is included.

Testing

bun test (229 pass), bun run typecheck and bun run lint all pass. None of this has run against a real server; the tests stub fetch.

🤖 Generated with Claude Code

https://claude.ai/code/session_01R6BF2tkLhdyAHNtHx1mtCK

akoso and others added 2 commits November 3, 2026 00:13
`options add` and `options edit` take --details and --photos, and
`trips edit` takes --budget. Each takes JSON, and null clears the field.

The mna skill now tells models to record a stay detail only when it helps
choose between a trip's options, never to state what is equally true of
all of them, never to invent a fact, and to say where a fact came from
when that is not obvious.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R6BF2tkLhdyAHNtHx1mtCK
@akoso akoso changed the title feat(options): set stay details, photos and the trip budget from flags feat(options): set stay details, photos, website and the trip budget from flags Nov 3, 2026
@akoso
akoso merged commit f965e79 into main Nov 3, 2026
2 checks passed
@akoso
akoso deleted the feat/stay-details branch November 3, 2026 13:12
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