Uh oh!
There was an error while loading. Please reload this page.
Remove the Today and goal tool surfaces - #389
Merged
Merged
Conversation
These tools are retired. The Plot tool no longer exposes a Today snapshot or per-user goals, and the `@plotday/twister/goal` entry point is gone. Removed from the public SDK surface: - `TodayAccess` and `GoalAccess` permission enums, and the `today` / `goals` entries in `Plot.Options`. - `getTodayItems()`, `updateTodayItem()`, `getTodayThreadId()`. - `createGoal()`, `getGoals()`, `updateGoal()`, `archiveGoal()`. - The `TodayItem`, `TodayItemSection`, and `TodayItemKind` types, and the `Note.todayItem` field (with its `NewNote` omit entry). - The `@plotday/twister/goal` export and its `Goal`, `NewGoal`, `GoalUpdate`, `GoalStatus`, and `GoalCadence` types. Twists that declared `today` or `goals` access should drop those declarations and any calls to the corresponding methods. The thread `type` value `"goal"` is a display sub-type and is unaffected. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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 freeto 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.
The Today and goal tool surfaces are retired. The Plot tool no longer exposes a Today snapshot or per-user goals, and the
@plotday/twister/goalentry point is removed.Removed
TodayAccessandGoalAccesspermission enums, and thetoday/goalsentries inPlot.Options.getTodayItems(),updateTodayItem(),getTodayThreadId().createGoal(),getGoals(),updateGoal(),archiveGoal().TodayItem,TodayItemSection, andTodayItemKindtypes, and theNote.todayItemfield (with itsNewNoteomit entry).@plotday/twister/goalexport and itsGoal,NewGoal,GoalUpdate,GoalStatus, andGoalCadencetypes.Upgrading
Drop
todayandgoalsfrom yourbuild(Plot, { ... })options and remove any calls to the methods above.A twist that used goals to store per-user intentions can keep that state itself with
this.set/this.get.The thread
typevalue"goal"is unaffected — it is a display sub-type, not part of the goal tool, and remains available.Major changeset included.