Repository navigation
feat(extensions): 交付 Capture 与本地文件读取并开放 Peer 分发合同 - #164
Merged
Merged
Conversation
This was referenced Oct 23, 2026
xiaoland
marked this pull request as ready for review
October 25, 2026 09:22
- 解释有序原文、原始图片、真实来源和独立附注 - 复用 Core Resolver、存储和内容导航,支持采集者停机后冷读 - 接入独立构建、包契约、Changeset 和隔离预览清单
- 引用共享图合同,移除 Python 执行者依赖说明。
- 解释原生参与身份并阻止不受支持的 Registry 版本请求 - 随 Capture 读取产物交付 MIT 许可和发布意图
- 展示已收入正文、原件位置、失效状态与提取范围 - 只注册读取能力,保留可重定位 Module Federation 产物 - 未发布版本仅记录 patch 发布意图
- 固定已推送的 Hub 合同提交 831e835 - 与分发实现提交分离,合并依赖 InKCre/docs#42
- 共享状态和命令允许原生宿主格式,不扩充固定语言白名单。 - 读取 Capture 提交身份,Registry 安装操作仍只处理实际支持的产物。
- 新增分发沿用工作区浏览器类型与公开 UI 依赖。 - 修正开放分发后的安装器类型检查与合同测试门禁。
xiaoland
force-pushed
the
feat/local-files-reader
branch
from
October 26, 2026 14:39
fa27fb5 to
fea292c
Compare
xiaoland
marked this pull request as draft
October 26, 2026 14:41
xiaoland
marked this pull request as ready for review
October 26, 2026 14:41
This was referenced Oct 26, 2026
This branch was successfully deployed
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.
汇总 Capture 与本地文件的 Web 读取分发,并开放共享 Peer 分发协议;本 PR 替代旧父候选 #149。Mac 采集保持独立执行,Web 按同一业务合同读取材料、正文和
inkcre-peer-file://原件引用。共享分发标识改为非空字符串;Registry 版本选择/文档入口仅处理实际支持的 Python、Module Federation 产物,其他原生格式由其所在宿主管理。移除共享协议的语言白名单,不引入兼容 schema。新增分发对齐主线 TS7、浏览器类型配置及公开 UI 依赖。
受影响发布项目:@inkcre/core、@inkcre/client-web、@inkcre/ext-capture、@inkcre/ext-local-files。验证:重排到最新 main 后完整
pnpm check通过,包含格式、类型感知 lint、两种浏览器宿主类型检查、所有分发构建和包合同;本地文件合同检查覆盖 Unicode 路径与删除后正文保留。人工复查结论:共享类型开放与宿主安装能力分开,未把原生参与误报为 Web 可加载。共享合同 InKCre/docs#42 已合并,gitlink 单独更新;关联 InKCre/impl-py#158、InKCre/impl-swift#5。
发布依赖:正式 Web 当前固定 Runtime 0.4.1;其 envelope 仍有旧白名单。开放 Core 与 Runtime 需要按 core → runtime → consumer 顺序交付;本地源码配对不等于已发布链。合并不手写不存在的包 URL,不声称原生状态已在现有正式 Web 生效。回退可恢复先前消费者包引用,不删除 info-base 资料。