Skip to content

Per user priorities - #115

Merged
KrisBraun merged 7 commits into
mainfrom
per-user-priorities
Apr 14, 2026
Merged

Per user priorities#115
KrisBraun merged 7 commits into
mainfrom
per-user-priorities

Conversation

@KrisBraun

Copy link
Copy Markdown
Contributor

No description provided.

KrisBraunand others added 7 commits April 11, 2026 15:27
Twists are now installed at the workspace level, owned by a single user,
and no longer scoped to a specific priority. The SDK is updated to match:
- Twist.activate() and Tool.preActivate/postActivate no longer take a
Priority argument.
- Channel.priorityId is removed; priority routing is handled server-side
via match_priority_for_user when a twist creates threads or links
without an explicit priority.
- Twist exposes `this.userId` (twist_instance.owner_id), populated by the
runtime before any lifecycle method runs.
- Plot gains abstract getUserId() and getDefaultPriorityId() helpers for
twists that need to resolve the owner or their root priority.
- Docstrings across Twist, Connector, Tool, and the Plot abstract are
rewritten to reference the workspace-level model and drop "installed
priority" / "priority scope" language.
- TOOLS_GUIDE.md gets a new "Workspace-Level Twists" section and its
activate() examples drop the priority argument.
Includes a minor changeset for @plotday/twister.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Match the workspace-level Twister SDK reshape in 25bc1b1:
- twists/message-tasks: drop the Priority import and the unused priority
argument from activate().
- connectors/{google-calendar,google-contacts,google-drive,outlook-calendar}:
update README examples to drop the priority argument from activate()
and the priorityId from the auth request context.
Adds patch changesets for each affected package. No behavior changes.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
When saveLink() returns null (email older than sync history limit),
skip the star↔todo sync to avoid "no link found" warnings.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@KrisBraun
KrisBraun merged commit a0d415d into mainApr 14, 2026
1 check passed
@KrisBraun
KrisBraun deleted the per-user-priorities branch April 14, 2026 03:41
@github-actionsgithub-actionsBot mentioned this pull request Apr 14, 2026
Sign up for freeto 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

@KrisBraun