docs: publish the Context Packet Protocol as a first-class spec page#359
Merged
Conversation
Frames askable.context/0.1 as an open, versioned wire format with askable-ui as the reference implementation: design goals, full field/enum tables, privacy and provenance semantics, schema + guard usage, versioning policy, and producer/consumer guidance. Linked from the Concepts sidebar and homepage.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
Part 1 of the vision work: elevate
askable.context/0.1from an implementation detail to an open protocol with askable-ui as the reference implementation. Specs travel further than SDKs — this page is the linkable, citable artifact for "an open format for telling LLMs what's on screen."What's included
site/docs/guide/protocol.md— "The Context Packet Protocol":capture(mode/gesture enums),target,surrounding,privacy(redaction/consent semantics + therequireRedactedconsumer contract), andprovenancewebContextPacketSchema,createWebContextPacket,isWebContextPacket— noting the guard's enums are read from the schema so they cannot drift, per fix: Tier-1 verified bug sweep (create-app, svelte, react/vue, mcp, context) #347)askable://current,get_current_context,list_context_sources)Notes
packages/context/src/index.ts. Docs-only; no code changes; complements (does not duplicate) the usage-oriented/guide/context.Test plan
vitepress buildclean (no dead links)🤖 Generated with Claude Code
Generated by Claude Code