feat(linear): Agent Interaction essentials for SDK-compatible sessions - #196
Draft
liam-germain wants to merge 1 commit into
Draft
feat(linear): Agent Interaction essentials for SDK-compatible sessions#196liam-germain wants to merge 1 commit into
liam-germain wants to merge 1 commit into
Conversation
Contributor
|
@liam-germain is attempting to deploy a commit to the Vercel Labs Team on Vercel. A member of the Team first needs to authorize it. |
liam-germain
force-pushed
the
feat/linear-agent-interaction-parity
branch
from
August 3, 2026 13:25
8949af5 to
d73a568
Compare
Align the Linear emulator with production Agent Interaction shapes so local agent clients can create nested activities, update plans and external URLs, and receive activity-driven session status plus basic AgentSessionEvent webhooks.
liam-germain
force-pushed
the
feat/linear-agent-interaction-parity
branch
from
August 4, 2026 04:55
d73a568 to
e5e0de0
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.
Summary
@emulators/linearwith the current production Linear Agent Interaction contract and@linear/sdkv89.lin_test_agentOAuth app token owns agent sessions and activities, while human prompts use the separate internal-styleagentActivityCreatePromptmutation withlin_test_admin.AgentSessionEventpayloads forcreatedandprompted, including OAuth client identity, structured child objects, exact optional fields, andLinear-Timestamp.The emulator remains a focused Linear subset. Rich guidance storage, repository suggestions, and the rest of Linear's unrelated product schema remain outside this PR.
Test plan
pnpm --filter @emulators/linear test(37 tests, including end-to-end@linear/sdkv89 coverage)pnpm --filter @emulators/linear type-checkpnpm --filter @emulators/linear lintpnpm --filter @emulators/linear buildpnpm type-checkpnpm lintpnpm format:checkThe full monorepo test aggregate was also attempted locally. It is blocked in this sandbox by an unrelated Vercel Blob test trying to listen on
0.0.0.0and receivingEPERM; the Linear suite passes independently.