The caller-connection work — forwarded-event opt-in, physical socket
ownership, and the Node/MCP artifact-only consumer fixture — moves to a
stacked PR on top of this one. This branch now changes only how Remote
definitions are generated (Typert artifacts, lazy method info,
consumer-selected input strictness, tool-schema projection) and how the
existing Registry consumes them.
Route fields and list_subagent_models are now registered only by the
tool-subagent instance configured with modelSelectionSettings, which keeps
one fixed definition per composition for Web presets while headless and SDK
profiles return to their previous schemas. Discovery registers with that
instance instead of a separate list-models plugin entry, so the delegation
description never references an absent tool. modelSelectionSettings on a
provider that inherits the parent conversation now fails the mount.
Connector packages such as the Notion plugin carry a browser half with
CSS modules, and the client aggregate loads their declarations; the
regression now lists the connector group beside client and extensions.
Split the Feishu plugin into three packages. The @deepseek-ai/dsh-feishu
bundle keeps the install name and inserts two rows: the Host row
@deepseek-ai/dsh-feishu-cli and the Plugins page row
@deepseek-ai/dsh-client-ui-feishu.
The Host row is now a Remote service. It checks the lark-cli default account
for each new follower, links an app with config init and signs in with auth
login, signs out, and cancels, one Host-owned operation at a time. Setup and
sign-in links reach the page only as HTTPS addresses on feishu.cn or
larksuite.com.
The page row shows the Feishu account section, a connection tag, guidance
after the plugin is switched on, and connection notices. It mounts the
feishu Remote itself and opens each link once, only for the operation this
browser started.
The skill guidance now asks the user to connect Feishu on the plugin page and
runs the CLI's own setup only when the user asks to finish it in the
conversation.
The Notion plugin imports both services' types only, and the Web and
Desktop compositions provide the services. Declaring them as peers made
the Client/Host dependency policy need a per-plugin exception; as
development dependencies the plugin matches the policy unchanged.
Reuse read_image and automatic compaction in the standalone profile without
adding SDK slash-command handling. Update profile guidance, upgrade steps,
and startup and recorded-session coverage.
The analyzer normalizes its root with fs.realpathSync, which keeps a
Windows 8.3 short name such as RUNNER~1 in the runner's TEMP, while
TypeScript reports module-resolution results through
fs.realpathSync.native, which expands it. The guard compared the two
spellings, found the resolved lib/ declaration outside the workspace,
and let a missing alias through on Windows. It now canonicalizes the
root and every file with realpathSync.native and reports paths spelled
under the caller's root; the guard specs also run with the workspace
root spelled through a directory link.
Refs #5852
doc-sync, test:docs, hygiene, and check:all run at most 8 gates in CI as
well; the constant, the development guide, and the Agent Note now say so.
The Note also states that the source-only Typert guard rejects unresolved
workspace imports, so a missing alias fails before or after host-src.
Refs #5852
uniquePrefixMatch is exported and covered for unique, shared, last,
exact, absent, and empty cases, and a fixture repository with two commits
whose names share a seven-digit prefix shows that the shared prefix is
accepted while a longer unique prefix is rejected.
Refs #5852