You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
1.1.0a1: a pre-release with upstream's draft 1.1 additions, off until turned on - #29
A pre-release: PyPI 1.1.0a1, npm 1.1.0-alpha.1 under the dist-tag alpha. pip install and npm install without a version keep giving 1.0.4.
It adds what upstream's unpublished draft 1.1 adds to Poppy 1.0 (upstream 589743a, 18 November 2026), in both SDKs. The draft can change until upstream publishes 1.1, and so can this.
Nothing changes on the wire unless a caller turns it on
The default protocol version stays 1.0 as published: Poppy-Version: 1.0, protocol_version1.0.
Draft 1.1 is a named version (protocol_versions=("1.1",)), as 0.4 is. Each side sends only what the other's version defines (spec 3.4).
A request that names 1.1 at a company that serves 1.0 is compatible, and handled as 1.0 defines.
The additions
Addition (draft)
Switch
Default
offline_access in a sign-in and a narrowed refresh (4.4, 4.7)
scopes_supported on Direct and Device begin and on the refresh context; offline_access=True on Mediated Sign-In
not sent
A company whose refresh tokens need it
CompanyConfig.offline_access
off
Operator signatures at the PAR, token, device authorization and revocation endpoints, over Content-Digest (5.3)
WebBotAuthSigner(..., oauth_endpoints=True)
not signed
Accepting the agents a verified operator speaks for
a client policy with allows_operator (OperatorVerifiedAgents)
no one
Replacing a User ID (5.1)
replace_user_id; keyed-hash IDs with a counter
never
A limit on new User IDs by client_id
CompanyConfig.new_user_ids_per_client
no limit
Listed tasks in feedback (9, 9.3)
CompanyConfig.feedback_tasks, with both sides naming 1.1
not sent
Release workflow
A pre-release tag (vX.Y.ZaN) publishes to PyPI as a pre-release, to npm as X.Y.Z-alpha.N under the dist-tag alpha (never latest), and marks the GitHub release a pre-release.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Stale or concurrent User ID replacement can rotate the currently stored ID while leaving its sessions, refresh tokens, and keys unchecked and uncleared.
Introduces an opt-in prerelease of the Python and TypeScript SDKs with upstream’s draft Poppy 1.1 additions, while retaining protocol 1.0 as the default.
Changes:
Adds offline-access scope handling, OAuth operator signatures, operator trust policies, and User ID replacement support.
Adds version-gated listed-task feedback and extends conformance coverage.
Updates package versions, release automation, and documentation for prerelease publishing without changing stable install defaults.
File
Description
src/user-ids.ts
Adds User ID replacement orchestration.
src/tasks.ts
Exposes version-gated listed tasks.
src/sessions.ts
Handles account scopes and signed token requests.
src/reactor.ts
Extends operator signing contracts and bumps version.
src/profile.ts
Separates published and draft protocol versions.
src/pairwise.ts
Adds keyed-hash IDs with replacement counters.
src/models.ts
Adds draft models and version negotiation helpers.
src/mediated.ts
Adds opt-in offline access.
src/index.ts
Exports new SDK APIs.
src/feedback.ts
Adds reports using listed task IDs.
src/discovery.ts
Retains caller-selected protocol versions.
src/device.ts
Adds offline access and signed authorization requests.
…he store replaces only the ID it is given), whitespace-only scopes grant nothing, no token store needed without refresh tokens, the keyed-hash store copies its key
Array.prototype.some skips empty slots, so task_ids: new Array<string>(1) passes validation despite containing no valid ID. Spreading it produces undefined, which FeedbackClient sends as JSON null. Validate a materialized array so holes are rejected.
Include protocol versions in the task cache key
src/tasks.ts:199
Cache hits return before this version check, and the cache key contains neither protocol version. If a company's document changes from 1.1 to 1.0 while the same Session and endpoint are reused, cached listedTasks remain exposed even though the current document no longer defines them. Include both versions in the cache identity while preserving Session-wide invalidation; the same issue occurs in personal_agent_protocol/tasks.py:167–169.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed for an unpublished Unicode-length edge case that can reject valid emoji-containing tasks and discard the entire tasks response.
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
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.
A pre-release: PyPI
1.1.0a1, npm1.1.0-alpha.1under the dist-tagalpha.pip installandnpm installwithout a version keep giving 1.0.4.It adds what upstream's unpublished draft 1.1 adds to Poppy 1.0 (upstream
589743a, 18 November 2026), in both SDKs. The draft can change until upstream publishes 1.1, and so can this.Nothing changes on the wire unless a caller turns it on
Poppy-Version: 1.0,protocol_version1.0.protocol_versions=("1.1",)), as 0.4 is. Each side sends only what the other's version defines (spec 3.4).The additions
offline_accessin a sign-in and a narrowed refresh (4.4, 4.7)scopes_supportedon Direct and Devicebeginand on the refresh context;offline_access=Trueon Mediated Sign-InCompanyConfig.offline_accessContent-Digest(5.3)WebBotAuthSigner(..., oauth_endpoints=True)allows_operator(OperatorVerifiedAgents)replace_user_id; keyed-hash IDs with a counterclient_idCompanyConfig.new_user_ids_per_clientCompanyConfig.feedback_tasks, with both sides naming 1.1Release workflow
A pre-release tag (
vX.Y.ZaN) publishes to PyPI as a pre-release, to npm asX.Y.Z-alpha.Nunder the dist-tagalpha(neverlatest), and marks the GitHub release a pre-release.Tests