Merge remote-tracking branch 'origin/stack/agent-profiles-1-seam' into stack/agent-profiles-3-wire

# Conflicts:
#	docs/module-graph.md
#	packages/host/apiproxy/src/api-proxy.ts
#	packages/host/apiproxy/tsconfig.json
This commit is contained in:
Yichen Jiang
2026-08-09 20:33:55 +08:00
1623 changed files with 15440 additions and 5453 deletions
@@ -1,5 +1,5 @@
/**
* Session-projection seam: the merge-extensible `SessionProjectionMap` type
* Service Definition and drive registry for the session-projection capability seam: the merge-extensible `SessionProjectionMap` type
* table, the `ProjectionDefinition` state-driven computation unit contract,
* and the `ctx.sessionProjections` registry that DRIVES every registered unit
* forward eagerly over committed session events. Domain host plugins
@@ -117,7 +117,7 @@ export interface ProjectionCheckpointRow {
/** Checkpoint rows keyed by projection key (one session's persisted cache value). */
export type ProjectionCheckpoint = Record<string, ProjectionCheckpointRow>
/** Type-erased unit view the drive machinery works with (the register seam already proved the typed contract). */
/** Type-erased unit view the drive machinery works with (the registration contract already proved the typed form). */
interface ErasedDefinition {
key: string
schema: { parse(value: unknown): unknown }
@@ -1,5 +1,5 @@
/**
* Pure-type outlet of the session-projection seam: the one projection type
* Pure-type outlet of the session-projection Service Definition: the one projection type
* table, importable from client aggregates without dragging the host-side
* cordis Context merges of the package root (dsh-agent → dsh-session). Domain
* packages may declare-merge through either the package root or this outlet —