Set the title and description in the share flow - #221
Open
benbaarber wants to merge 4 commits into
Open
Conversation
|
🔍 Preview deployed: https://80a9a9f4.toolpath.pages.dev |
GraphMeta and PathMeta already had title; StepMeta now carries the same optional short human-readable title, first-class in the schema and typed structs. Existing documents are unaffected.
Stamps meta.description onto the uploaded document's graph header at the run_pathbase_inner funnel, so both share and p export pathbase get it, including the anon endpoint and the fresh-cache share path. Without the flag the body is uploaded verbatim. p merge gains --description alongside --title. path-cli 0.17.0 -> 0.18.0. Closes #182
Stamps meta.title into the uploaded document alongside --description, so it works on the anonymous endpoint too. Bodies without either flag stay byte-identical.
ben-emp
force-pushed
the
ben/share-description
branch
from
August 21, 2026 16:06
e12106d to
100de0b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
path shareandpath p export pathbasegain--titleand--description, which stampmeta.titleandmeta.descriptiononto the uploaded document's graph header (issue #182). Both travel inside the document, so they work on the anonymous endpoint too and need no Pathbase API change; without the flags, upload bodies remain byte-identical to before.path p mergegains--descriptionalongside the existing--title.A new
--titleflag (rather than reusing--name) because--nameis a server-side catalog label that forces auth and can't reach the anonymous endpoint.Second of a three-PR stack, on top of #228 (whose commit shows in the diff until the base is retargeted — GitHub refused the base change: "pull request is part of a stack"); a follow-up teaches the Claude Code plugin to use these flags.