tabby-agentdeck 1.1.1 → 1.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.
@@ -0,0 +1,6 @@
1
+ export declare const CODEX_EVENTS: string[];
2
+ export declare function codexHooksPath(): string;
3
+ export declare function stripCodexHooks(settings: any): any;
4
+ export declare function mergeCodexHooks(settings: any, script: string): any;
5
+ export declare function codexHooksInstalled(): boolean;
6
+ export declare function setCodexHooks(enabled: boolean): void;
@@ -0,0 +1,6 @@
1
+ /** Windows Codex redraws one viewport instead of accumulating native history.
2
+ * Use its transcript pager only when there is no native scrollback to browse.
3
+ * Never send navigation keys until the pager is visibly confirmed.
4
+ */
5
+ export declare function isCodexTranscript(lines: string[]): boolean;
6
+ export declare function installCodexWheel(frontend: any, enabled: () => boolean, send: (data: string) => void): void;
@@ -0,0 +1,9 @@
1
+ export declare class CursorVisibilityStream {
2
+ private pending;
3
+ corrections: number;
4
+ write(data: string, enabled: boolean): string;
5
+ }
6
+ /** Install at the frontend's write boundary; do not inject into xterm's
7
+ * asynchronously parsed stream or touch the application's saved cursor slot.
8
+ */
9
+ export declare function installCursorVisibilityFix(frontend: any, enabled: (data: string) => boolean, onCorrection: () => void): void;
@@ -170,6 +170,7 @@ export declare class AgentDeckService {
170
170
  * 제목이 바뀔 때 (`probeAgent`, TTL = `AGENT_PROBE_TTL_MS`).
171
171
  */
172
172
  private tabAgents;
173
+ private paneAgents;
173
174
  /** 마지막으로 프로세스 트리를 물어본 시각 — OS 호출이라 TTL 로 묶는다 */
174
175
  private agentProbedAt;
175
176
  /** 이미 감시를 건 래퍼 탭 / pane — 중복 구독 방지 */
@@ -322,6 +323,8 @@ export declare class AgentDeckService {
322
323
  */
323
324
  private watchTab;
324
325
  private watchPane;
326
+ private installCodexCursorFix;
327
+ private observePaneAgent;
325
328
  /**
326
329
  * 탭이 열린 뒤 몇 차례, **지금 xterm 이 쓰는 크기를 pty 에 알려준다.**
327
330
  *
package/dist/gitDiff.d.ts CHANGED
@@ -90,6 +90,17 @@ export declare function refPathFrom(abs: string, cwd: string | null | undefined)
90
90
  * 넣는 쪽이 사람이 이어 쓸 수 있다.
91
91
  */
92
92
  export declare function formatLineRef(refPath: string, from?: number, to?: number): string;
93
+ /**
94
+ * 저장소 루트 기준 경로(`src/a.ts`)들 중 **만진 목록에 있는 것**만 남긴다.
95
+ *
96
+ * `touched` 는 훅이 준 절대경로다. 루트를 붙여 절대경로로 맞춘 뒤 비교한다 —
97
+ * 반대로 touched 를 상대경로로 줄이면 루트 밖의 파일(다른 저장소·임시 폴더)이 조용히
98
+ * 같은 이름에 걸린다.
99
+ *
100
+ * **빈 목록이면 그대로 돌려준다** = 필터를 걸 근거가 없다는 뜻(훅이 없는 에이전트, 아직 아무것도
101
+ * 안 고친 세션). 이때 빈 화면을 보여 주면 "변경이 없다" 는 거짓말이 된다.
102
+ */
103
+ export declare function filterTouched<T>(items: readonly T[], pathOf: (item: T) => string, root: string | null | undefined, touched: readonly string[]): T[];
93
104
  /**
94
105
  * `git status --porcelain` 에서 추적되지 않는 파일(`??`)의 경로만 뽑는다.
95
106
  *