Repository navigation
docs(swift): cover marfa-swift v0.0.111 and plugins v0.0.15 - #1292
Merged
Merged
Conversation
aicayzer
force-pushed
the
docs/swift-v0.0.111
branch
from
November 30, 2026 22:06
bbfe017 to
93dd632
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
The docs pass for plugins v0.0.15 and the Marfa Swift package v0.0.111, which pins marfa v0.0.120. The Swift SDK reference now describes the released package, and the pages that were at their word limits are split by job instead of squeezed.
Closes #1248, #1249, #1259, #1254, #1256, #1274, #1285.
Changes
Plugins v0.0.15:
catalog/connectors/readwise: a highlight keeps its passage intextand is named after its source; the connector clearstitleandbody; with Reader on, whentextis Reader's passage and whatreadwise_textkeeps. The page gets a 560-word budget, because Reader is a setting of the same connector and a connector page must carry its connector's name.use/install-a-connector-host: new section, "What a connector can do on the machine": Node's permission model, no files, child processes, add-ons, SQLite or FFI, and what the model doesn't stop.build/connector-host: says to run each connector with as little reach as the machine allows, and links that section. The paragraph on what a connector's key reaches moves tobuild/connectors, which owns that idea; its limit goes from 550 to 570.reference/connector-kit-kinds(new reference page): the options a kind takes, withunreadable(field, value)and what it does to a stored value.reference/connector-kitlinks it.Swift package v0.0.111:
reference/swift-sdk/sign-in(new, moved out of the Swift SDK page): sign-in,Server, and a new section on signing in again. The app's client is reused, so the grant and what the app made stay. Also coversCredential.clientID,scopesLeftOut, the scope limit,SignInError.keptSignInChangedand a renewal the keychain can't keep. The old line "A new sign-in ends the grant it replaces" now applies only when a new client is registered.reference/swift-sdk(index):itemStats(by:filters:)replacesitemCountsBySource. Type writes send the revision you read (delete(itemType:force:revision:)),updateWebhooksendsversion, and a stale one throwsversionConflictwithcurrentRevisionorcurrentVersion.reference/swift-sdk/items:ItemID.make(),make(at:),make(at:seed:)andisValid(_:), passed asDraft.id.tables.fill()answersnilwhile another call holds the stream, and what the app does next. Files move to a new page,reference/swift-sdk/files, unchanged apart from headings.reference/swift-sdk/working-copy:CatchUpReport.tables, and a catch-up that answers success when its table fill can't reach the server.SetAsideno longer hasheld, and carried writes keep their instance. The queue moves to a new page.reference/swift-sdk/queue(new, moved out of the working copy page):seqandansweredAfterSeqand how to compare them,.keySpentreleased or withdrawn,.instanceChangedper write, whatwithdrawtakes, and the later edits that follow a conflicted copy, a landed create or a covered blocked edit, linkingbuild/handle-verdicts.reference/swift-sdk/errors-and-testingis split intoerrors(addscurrentRevisionandcurrentVersiontoversionConflict) andtesting(addslandedCreates,answeredCreatedAt, the unfilledanswer, ID checks and list members). Every link to the old address is changed.build/connect-an-app: ask for more by authorizing again with theclient_idyou hold, never by registering again, and why. The web page section moves, unchanged apart from headings and its opening line, to the new how-tobuild/connect-a-web-page. The page's limit drops from 1040 to 920.build/change-a-type: the Swift delete passesrevision:, a Swift conflict namescurrentRevision, and an app's grant grows when it signs in again with the client it holds. The limit goes from 1170 to 1190.Testing
pnpm testandpnpm buildpass. Every Swift name was checked against marfa-swift tag v0.0.111, every plugin claim against plugins tag v0.0.15 (the docs already hold a later plugins commit), and the OAuth scope rules against marfa v0.0.120'skeys-and-oauthchapter. The new anchors were checked in the built HTML.Notes for reviewers
readwiseandchange-a-typegot more room. New pages:connector-kit-kinds,connect-a-web-page, and the Swiftsign-in,queue,files,errorsandtesting.errors-and-testingwas renamed with no redirect, ascontent/AGENTS.mdasks. The one link to it in the generated changelog is shown as text byunlinkMissingPages.Checklist
pnpm testandpnpm buildrun