@xmoon76/dsh-pi-tui 0.1.2 → 0.1.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 +10 -1
- package/dist/index.mjs +2953 -607
- package/package.json +5 -3
- package/scripts/bench.mts +261 -0
- package/scripts/naming-gate.mjs +102 -0
- package/scripts/repair-core.mjs +363 -49
- package/scripts/repair-session.mjs +249 -52
- package/scripts/tarball-smoke.mjs +325 -0
package/dist/index.d.mts
CHANGED
|
@@ -22,6 +22,15 @@ interface Config {
|
|
|
22
22
|
sessionId?: string;
|
|
23
23
|
}
|
|
24
24
|
declare const Config: z<Config>;
|
|
25
|
+
/**
|
|
26
|
+
* Read an explicit child-session reference from a future/extended job record.
|
|
27
|
+
* Current dsh JobSnapshot records do not expose one, so this normally returns
|
|
28
|
+
* undefined. Crucially, label, registration order and timestamps are never
|
|
29
|
+
* accepted as identity signals.
|
|
30
|
+
*/
|
|
31
|
+
declare function subagentJobTranscriptId(snapshot: unknown): string | undefined;
|
|
32
|
+
/** Viewer body for a subagent job with no uniquely matched child. */
|
|
33
|
+
declare function subagentJobViewHint(status: string, detail: string | undefined): string;
|
|
25
34
|
/**
|
|
26
35
|
* Whether a shell command matches a destructive pattern. `rm` is treated
|
|
27
36
|
* specially: any spelling of recursive + force flags (`rm -rf`, `rm -r -f`,
|
|
@@ -122,4 +131,4 @@ declare function recomposeBlank(ctx: Context, agent: {
|
|
|
122
131
|
*/
|
|
123
132
|
declare function apply(ctx: Context, config: Config): void;
|
|
124
133
|
//#endregion
|
|
125
|
-
export { AgentComposition, Config, RecomposableSession, RecomposeOutcome, apply, composeAgent, dangerCommand, forkSeed, inject, name, recomposeBlank, recordedPreset, resumeCommand, runningProfile };
|
|
134
|
+
export { AgentComposition, Config, RecomposableSession, RecomposeOutcome, apply, composeAgent, dangerCommand, forkSeed, inject, name, recomposeBlank, recordedPreset, resumeCommand, runningProfile, subagentJobTranscriptId, subagentJobViewHint };
|