Repository navigation
chore: bump @plannotator/core 0.25.11 and @plannotator/ui 0.51.0 - #1726
Merged
Merged
Conversation
Version bump for the npm publish, plus the HANDOFF entries for every host-facing change since ui 0.50.0 / core 0.25.10.
…s, internal exports
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.
Version bump for the npm publish. Not published yet: publishing needs the owner's npm credentials. Merging this PR changes no runtime code; it is the version bump,
bun.lock, and the HANDOFF entries.Wanted now by Workspaces for the question fixes #1683, #1699 and #1702.
@plannotator/core 0.25.11 (patch, additive)
- **Name:** prosebullet takesNameas its label; labels over 200 chars are cut at the first sentence;Recommended:wraps like a paragraph. NewQuestionChoice.aliases?andcanonicalQuestionAnswer(question, answer), which maps an answer saved under an older plain-bullet label to the current one. Task-list choices andquestionKeyare unchanged. Behavior change for hosts that store answers: plain-bullet labels can differ from 0.25.10's, so a host that reads stored answers itself should pass them throughcanonicalQuestionAnswer(QuestionBlockalready does).ExternalAnnotationEventgains{ type: "session-closed", by: "agent", unsentAnnotations }. A host with an exhaustiveneverswitch over the event type has to add the case.HtmlElementContext.sourceName?(validated);ELEMENT_CONTEXT_SHED_ORDERexported.PI_THINKING_LEVELS,piCatalogFromRpc, …) and anoffeffort label."annotate-bundle"mode;AnnotateContext.bundlePosition?.viewer.DuqkfIUz.css(gruvbox diff colors). The viewer JS (viewer.BYGvfCcj.js) is unchanged.package.jsonexports are unchanged.@plannotator/ui 0.51.0 (minor; BREAKING for 0.50.0 "Ask this session" consumers)
Pins core
0.25.11exactly. It importscanonicalQuestionAnswerandPI_THINKING_LEVELS, so it cannot run on an older core.findUsableSessionBridge,resolveSessionBridgeFallback, the'fallback'SessionAskAction,SessionAskActions.fallbackLabel, andDocumentAIChatPanel.sessionAskFallbackLabel. UsefindSessionBridgeinstead.data-question-part). Card context renders through the document's block renderers (fix(questions): plain-bullet choices keep their wrapped lines #1699, newQuestionContext). Answers saved under an older label still show their pick (fix(questions): answers saved under a 0.28.1 label still show their pick #1702).AnnotationRestoreReport.moved?and the newutils/annotationOwnsHighlightpredicate.DraftTransport.savemay resolve{ staleGeneration }; also addsflushPendingSave().useExternalAnnotations({ onSessionClosed }), plus the newutils/agentClosed.CommentAskAIContext.detail/elementIdentityForAskAI, the media file name in export headings, and diff-view comments exported after the document.onAskAIonDiagramViewer,DiagramPopout,MermaidBlockandGraphvizBlock.onQuickLookGoodunchanged (as 0.50.0).session_taken_overis shown as a note (AIResponse.notice,SessionAskNote); new announcement dialog.useLinkedDoc.getFeedbackDocuments();exportLinkedDocAnnotations(…, heading?)with full-fidelity entries; bundle order for document groups;DocBadges.onBackoptional;PlanHeaderMenubundle ids.Settingstakes optionalagentToolSetting+onAgentToolChangeand renders the General row[data-agent-tool-setting]only when both are passed. Newutils/agentToolSetting,hooks/useAgentToolSetting,utils/agentToolAnnouncementandcomponents/AgentToolAnnouncementDialog(the one-time offer on Pi and OpenCode 2; nothing in the library mounts it).parseAgentToolSettingreturnsundefinedunless the server sendsagentToolHostandagentToolEnabled, so Workspaces sees no row and no offer. No core change.useAIProviderActivation(fix(ai): Ask AI uses only the session when a session bridge is present #1685): optionalproviders?; an id the server does not list is never activated.XMarkanduseLatchedTrueare documented as unsupported internal exports.HANDOFF.md now covers every host-facing change since 0.50.0. The new section is "Questions, restore, drafts and the rest (ui 0.51.0, core 0.25.11)". Stale "unreleased" and "next ui release" headings now name 0.50.0 or 0.51.0, and the first "Publishing & versioning" bullet names this pair and its publish order. I checked the changed-file list against the published
@plannotator/ui@0.50.0tarball: every source file that differs maps to a commit inba7d0159..main. origin/main is merged in (merge commit) so #1725 ships in ui 0.51.0; it touches no core file and leaves the manifest unchanged, so core stays 0.25.11.guides.show manifest: CHANGED, deploy needed BEFORE publishing core
packages/core/guide-viewer-manifest.tschanged in #1721 (css: viewer.BCFKWQXh.css→viewer.DuqkfIUz.css). guides.show last deployed at v0.28.4 (0f787992), which predates #1721:https://guides.show/v1/viewer.DuqkfIUz.css→ 404 (not live yet)https://guides.show/v1/viewer.BYGvfCcj.js→ 200https://guides.show/v1/viewer.BCFKWQXh.css→ 200 (the old pin)If core is published first, every host's guide page would load without its stylesheet.
Publish order (owner)
To preflight under
nextfirst, add--tag nextto bothnpm publishcommands, then promote withnpm dist-tag add @plannotator/core@0.25.11 latestandnpm dist-tag add @plannotator/ui@0.51.0 latest.Verified locally
bun run --cwd packages/ui smoke:packagepasses. It packs ui 0.51.0 and the local core 0.25.11, then installs both with pnpm in an outside consumer, which builds and typechecks. As expected, it notes that core 0.25.11 is not on the registry yet.bun run typecheckpasses, includingpackages/ui/tsconfig.strict-consumer.json.test.ymlpass (1478 tests), and so does the isolated file-browser DOM test.bun test packages/ui packages/corepasses (after the feat(ui): agent tool switch in Settings and a one-time offer on Pi and OpenCode 2 #1725 merge: 1560 pass, 0 fail), and so do feat(ui): agent tool switch in Settings and a one-time offer on Pi and OpenCode 2 #1725's DOM tests (Settings.agentTool,AgentToolAnnouncementDialog).bun install --frozen-lockfilereports a clean lockfile.