feat(remote): deliver allowlisted Host events through ctx.remote.$on
api/remotes owns the allowlist and its type projection; type-meta owns the shape predicate, the selection seat, and the internal remote/host-event carrier signal; api/gateway's Client half turns that signal into $on callbacks through a private dispatch. apiproxy forwards each allowlisted emission verbatim in one host/remote-event frame, registered ahead of the derived invalidation frames so frame order is unchanged, and drops the three per-event variants it replaces. Owner packages move their Events declarations into client-safe ./types exports, so a consumer's listener signature is the Host's own declaration.
This commit is contained in:
@@ -74,6 +74,9 @@
|
||||
"@deepseek-ai/dsh-commands/brand": ["./packages/interaction/commands/src/brand.ts"],
|
||||
"@deepseek-ai/dsh-commands/types": ["./packages/interaction/commands/src/types.ts"],
|
||||
"@deepseek-ai/dsh-tasks/brand": ["./packages/tasks/tasks/src/brand.ts"],
|
||||
"@deepseek-ai/dsh-credentials/types": ["./packages/credentials/credentials/src/types.ts"],
|
||||
"@deepseek-ai/dsh-settings/types": ["./packages/settings/settings/src/types.ts"],
|
||||
"@deepseek-ai/dsh-api-remotes/types": ["./packages/api/remotes/src/types.ts"],
|
||||
"@deepseek-ai/dsh-compact/checkpoint": ["./packages/compact/compact/src/checkpoint.ts"],
|
||||
"@deepseek-ai/dsh-compact/types": ["./packages/compact/compact/src/types.ts"],
|
||||
"@deepseek-ai/dsh-tools/presentation": ["./packages/core/tools/src/presentation.ts"],
|
||||
|
||||
Reference in New Issue
Block a user