Repository navigation
feat(contract): let an extension ask FormCite for sources through the host (0.12.1) - #16
Merged
Merged
Conversation
…rmission The contract gains family services through the host, with loopback only for cataloged services, and three product ids.
…t ids The package schema lists formtxt, formcel and formcite and the services field.
The bridge knows the family service catalog, checks the fcite.addon permission and the services a package named, and answers -32601 when the host has no service handler.
Extensions call formext.fcite.call with typed params and results for each FormCite method.
…pback The resolver accepts fcite.addon with cataloged services, and FamilyService pairs and calls a sibling app on 127.0.0.1 while holding the token itself.
The checker accepts a package naming cataloged services with fcite.addon and refuses an unknown service id.
Preview answers fcite.call from a canned FormCite library, and answers -32601 when the older-host switch is set.
The hello panel calls fcite.call search and shows the titles, or the error code when it is refused.
The simulated host lists each named service with its own consent sentence and names fcite.call for the permission.
The manual says how Preview answers family service calls, the denied path and the older host.
The frontend log records the simulated service, the older host switch and the denied path.
Moves every version site to 0.12.0 and adds the changelog section for the fcite.call contract addition.
FamilyService now reads engine.json from the service's data folder when no port is given, and falls back to the catalog port when the file is missing or unreadable.
An older host's package check refuses a package that asks for fcite.addon before its bridge can answer -32601, and API 1 has no optional permission, so the contract now says to ship two builds to load on both.
The contract now names engine.json, its data folder and the order explicit port, port file, catalog default, matching FamilyService.
The manual now says Preview answers from a simulated library, what a real older host does with fcite.addon, and how a host pairs with a real FormCite through FamilyService.
Records why FamilyService reads engine.json and why a package asking for fcite.addon needs a second build for 0.11.0 hosts, with what was run.
Every version site moves to 0.12.1 and the changelog gets its section.
Contributor
Author
feat(contract): let an extension ask FormCite for sources through the host (0.12.1)Summary
Commits6 new commits on top of the 12 already pushed, oldest first, release commit last:
Versionv0.12.1 (release commit is last). Bumped: README badge, Checks
Not run: MergingMerge with a merge commit so each commit and its signature stays. Do not squash. |
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.
feat(contract): fcite.call, so an extension can ask FormCite for sources (0.12.0)
Summary
fcite.call { service, method, params? }, under a new permission,fcite.addon, granted per service with its own consent line.servicesfield. The catalog has one,formcite, with search, get, cite, bibliography, add and import.net.fetchstays https only.Commits
12 commits, no merges: 5 feat(contract), and one each of feat(sdk), feat(sim), feat(preview), docs(contract), docs(manual), docs(frontend), chore(release).
Version
0.11.0 to 0.12.0, a minor bump for an optional contract addition. Every version site moves in the last commit, except the family spec file, which the release automation writes.
Checks
Not run: the engine test layer, so it is not known whether an existing case needs the new schema values; a real, approved FormCite search (pairing needs a person in FormCite); the browser demo rebuild; the desktop shell.
Merging
Merge with a merge commit so each commit and its signature stays. Do not squash.