@xmoon76/dsh-pi-tui 0.5.2-rc.1 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -131,9 +131,17 @@ interface SurfaceCommandsService {
131
131
  /** The narrow context surface {@link readSurfaceCatalog} consumes. The
132
132
  * SKILL services are NOT reached here: every dsh skill/agent-presets
133
133
  * access goes through `runtime/direct/skill-catalog.ts` (the single-point
134
- * adapter, plan appendix B.1). */
134
+ * adapter, plan appendix B.1). `workingDirectory` is the official Session
135
+ * directory owner the skill scan scope resolves from — absent in a minimal
136
+ * composition, where the immutable header cwd remains the read. */
135
137
  interface SurfaceCatalogContext {
136
138
  get(name: 'commands'): SurfaceCommandsService | undefined;
139
+ /** The official Session directory owner (`workingDirectory.get(session)`),
140
+ * declared STRUCTURALLY here so this public interface never pulls a Direct
141
+ * adapter module into the shipped declaration graph. */
142
+ get(name: 'workingDirectory'): {
143
+ get(session: unknown): string;
144
+ } | undefined;
137
145
  }
138
146
  //#endregion
139
147
  //#region src/app/config/schema.d.ts
@@ -589,14 +597,6 @@ declare function busyAfterTurnBoundary(eventType: 'turn/start' | 'turn/end', com
589
597
  * re-measures through the fold-outcome path (settleCompactionSurface), so
590
598
  * a STALE compaction/end can never trigger a measurement. */
591
599
  declare function contextRefreshKind(eventType: string): 'measure' | 'cheap';
592
- /**
593
- * The in-flight compaction state a resumed session log implies: the newest
594
- * compaction bracket decides. A `session/end-seed` boundary makes any
595
- * EARLIER unmatched `compaction/start` STALE — the upstream invariant
596
- * (inheritedOrphanStartSeqs) treats seed compactions that never settled
597
- * inside the seed as abandoned, so they must not re-arm the compacting
598
- * surface on resume.
599
- */
600
600
  declare function compactingFromLog(events: readonly {
601
601
  type: unknown;
602
602
  data?: unknown;