Repository navigation
fix(posts): restore public listing with cursor pagination - #21
Merged
Merged
Conversation
… a comment on request
Notes that restack a Note or post carry restacked {kind,id,author,title?,text,url}
(capability note-restacked-item). --include-restacks reads the full profile feed and
exports other authors' Notes and posts restacked without a comment as restack-c-<id> /
restack-p-<id> (capability note-restacks). Default output is unchanged apart from the
added field.
🤖 Generated with [Nori](https://noriagentic.com/)
Co-Authored-By: Nori <contact@tilework.tech>
Contributor
Author
|
Verified HEAD 6b974f8:
No content was published or sent. PR remains open pending Amol’s merge approval. |
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.
Substack now rejects every
offsetparameter and returns{posts, nextCursor}from public post listings. This broke the dashboard's scheduled ingest. Normalize the page into the existingdataarray, exposepagination.nextCursor, and add--cursor; accept but omit offset zero and reject unsupported nonzero offsets locally with cursor guidance. Malformed listings fail instead of looking like an empty feed.Built on f5bf87f, retaining the unmerged PR #20 trailing-slash fix. Do not merge without Amol's approval. The dashboard will pin this branch's commit.
Validation: 74 tests pass, TypeScript compile and ESLint pass. Read-only live CLI request returns post 223828762 plus an upstream cursor; HTTP tests cover cursor continuation, zero-offset compatibility, legacy arrays, and malformed responses. Compiled distribution included for Git installs.
🤖 Generated with Nori: https://noriagentic.com/