Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ The initial public checkpoint is intentionally nonfunctional. The former
built-in source depended on Host-private renderer and launcher modules. Those
files are retained in Git history and are not published as standalone source.

Executable migration depends on two formal public seams:
Executable migration depended on two public seams:

1. `cordisx/cordisx-protocol` must export TypeScript declarations for the
existing Channel Manager v2 contract family: runtime snapshot v3, request
and result v2, safe log page v2, and log export result v2.
2. `cordisx/cordisx` must provide a source-bound renderer service that exposes
only versioned snapshots, subscriptions, exact fenced operations, safe log
pages, and Host-owned export handoff.
1. `cordisx/cordisx-protocol` now exports the Channel Manager v2 contract
family at formal commit
`9654023d1b1077d6fd0d43a2d294459bab63216b`.
2. `cordisx/cordisx` now provides the source-bound renderer service at formal
commit `4a33f62bb087ce410ebb1e3f2341f08c3968fce5`.

The plugin will then own its localized routes, page bodies, model, lifecycle,
and `src/channel.css`. The Host continues to own Manager chrome, routing
history, credential capture, downloads, semantic controls, native integration,
and the Channel runtime/provider adapter.
The plugin candidate now owns its localized routes, page bodies, model,
lifecycle, `src/channel.css`, and Simulator adapter definition. The Host
continues to own Manager chrome, routing history, credential capture, downloads,
semantic controls, native integration, the single Channel runtime,
credential-bearing adapter transport, and adapter publication authority.

No generic service-config bridge, raw account identifier, credential value or
reference, filesystem path, DOM handle, transport callback, or private Host
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,30 @@ history.

## Current checkpoint

The repository is initialized but does not yet publish an executable plugin.
The repository now builds an executable plugin candidate.
The former built-in source depended on private Host renderer, service-config,
credential, and Channel Manager modules. Those files remain in Git history for
provenance and have been removed from the public source tree.

Executable migration waits for formal public dependencies:

- Protocol TypeScript declarations for the existing Channel Manager v2
contracts and runtime snapshot v3.
- A source-bound Host renderer facade for snapshots, subscriptions, exact
fenced operations, safe log pages, and Host-owned export handoff.
The candidate consumes the formal Protocol Channel Manager v2 types at
`3f0dbcd8b04ae83c920d2d913ac2c313af5f83f1` and the formal Host provider at
`dfb071e02eca0ef52f84d67b2393c25aced7d3f0`.

See [MIGRATION.md](MIGRATION.md) for the boundary and delivery order.

## Ownership

This plugin will own localized Channel routes, page body presentation, its view
model, one page factory and lifecycle, and `src/channel.css`.
This plugin owns localized Channel routes, page body presentation, its view
model, one page factory and lifecycle, `src/channel.css`, and the Simulator
adapter definition loaded through the public `ctx.channel` service.

CordisX Host continues to own Manager chrome and history, credential capture,
download handling, semantic UI primitives, accessibility policy, native
integration, and the Channel runtime/provider adapter. The plugin will not
integration, the single Channel runtime, credential-bearing adapter transport,
and adapter publication authority. The plugin will not
import private Host files or carry credentials, raw account identifiers,
filesystem paths, DOM handles, or transport callbacks.

The initial package is private at version `0.0.0` to prevent accidental
publication before the public seam and executable package graph are complete.
The package remains private at version `0.1.0` to prevent accidental
publication before the Host-stamped service configuration revision and final
consumer removal are complete.
23 changes: 11 additions & 12 deletions README.zh-Hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,27 @@ Host 提交 `1cbe9d0ff1a803b1486bb2ddcbedc98a187d4f11` 的筛选 Git 作者历

## 当前检查点

仓库已经初始化,但尚未发布可执行插件。原内置实现依赖 Host 私有 renderer、
仓库现在已经构建出可执行插件候选。原内置实现依赖 Host 私有 renderer、
service-config、凭据与 Channel Manager 模块。这些文件只保留在 Git 历史中,已经
从公开源码树删除。

功能迁移等待两个正式公共依赖:

- Protocol 为现有 Channel Manager v2 合约与 runtime snapshot v3 提供
TypeScript 声明;
- Host 提供 source-bound renderer facade,只公开 snapshot、订阅、精确 fenced
操作、安全日志分页和 Host 所有的导出交接。
候选已消费正式 Protocol Channel Manager v2 类型
`3f0dbcd8b04ae83c920d2d913ac2c313af5f83f1`,以及正式 Host provider
`dfb071e02eca0ef52f84d67b2393c25aced7d3f0`。

具体边界与交付顺序见 [MIGRATION.md](MIGRATION.md)。

## 所有权

本插件将负责本地化 Channel route、页面 body 表现、view model、唯一 page factory
与 lifecycle,以及 `src/channel.css`。
本插件负责本地化 Channel route、页面 body 表现、view model、唯一 page factory
与 lifecycle、`src/channel.css`,以及通过公共 `ctx.channel` 加载的 Simulator
adapter definition。

CordisX Host 继续负责 Manager chrome 与历史、凭据捕获、下载处理、语义 UI
primitive、无障碍策略、原生集成和 Channel runtime/provider adapter。插件不会导入
primitive、无障碍策略、原生集成、唯一 Channel runtime、含凭据 adapter transport
与 adapter 发布权。插件不会导入
Host 私有文件,也不会携带凭据、原始账号标识、文件系统路径、DOM handle 或
transport callback。

初始 package 保持 `0.0.0` 且 `private: true`,防止公共 seam 与可执行 package
graph 完成前被误发布。
package 保持 `0.1.0` 且 `private: true`,防止 Host-stamped service configuration
revision 与最终 consumer 删除完成前被误发布。
25 changes: 25 additions & 0 deletions cordisx-package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"$schema": "https://raw.githubusercontent.com/cordisx/cordisx-protocol/main/schemas/plugin-package.v8.schema.json",
"schemaVersion": 8,
"id": "channel",
"version": "0.1.0",
"entry": "./dist/channel.js",
"readme": "./README.md",
"canonicalSource": "https://github.com/cordisx/plugin-channel",
"distribution": {
"mode": "explicit-local-v1",
"signature": "unsupported"
},
"compatibility": {
"runtimeAbi": 1,
"protocolSchemas": [
"https://raw.githubusercontent.com/cordisx/cordisx-protocol/main/schemas/plugin-manifest.v8.schema.json"
]
},
"dependencies": [],
"runtimeManifest": {
"path": "./runtime-manifest.json",
"schema": "https://raw.githubusercontent.com/cordisx/cordisx-protocol/main/schemas/plugin-manifest.v8.schema.json",
"digest": "sha256:855fde2c4267a477140677f4a35f69b792f9ed2f0eb62e6bdc58120dd75f4cbe"
}
}
8 changes: 7 additions & 1 deletion dprint.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"$schema": "https://dprint.dev/schemas/v0.json",
"includes": ["**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,json,jsonc,md,css}"],
"excludes": ["**/node_modules/**", "**/dist/**", "package-lock.json"],
"excludes": [
"**/node_modules/**",
"**/dist/**",
"package-lock.json",
"runtime-manifest.json",
"cordisx-package.json"
],
"plugins": [
"npm:@dprint/typescript@0.96.1",
"npm:@dprint/json@0.23.0",
Expand Down
Loading