pi-fabric 0.76.2 → 0.77.0

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,24 @@
1
+ export interface ParsedGitWorktreeAdd {
2
+ gitCwd?: string;
3
+ branch?: {
4
+ flag: "-b" | "-B";
5
+ name: string;
6
+ };
7
+ detach: boolean;
8
+ quiet: boolean;
9
+ dest: string;
10
+ startPoint?: string;
11
+ }
12
+ export declare const parseGitWorktreeAdd: (command: string) => ParsedGitWorktreeAdd | undefined;
13
+ export interface BashToolResult {
14
+ content: Array<{
15
+ type: "text";
16
+ text: string;
17
+ }>;
18
+ details: {
19
+ exitCode: number;
20
+ cloned: boolean;
21
+ };
22
+ }
23
+ export declare const tryExecuteGitWorktreeAdd: (args: Record<string, unknown>, sessionCwd: string) => Promise<BashToolResult | undefined>;
24
+ //# sourceMappingURL=bash-worktree-add.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bash-worktree-add.d.ts","sourceRoot":"","sources":["../../src/agents/bash-worktree-add.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE;QAAE,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7C,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,mBAAmB,GAAI,SAAS,MAAM,KAAG,oBAAoB,GAAG,SAuD5E,CAAC;AAEF,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/C,OAAO,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,OAAO,CAAA;KAAE,CAAC;CAChD;AAED,eAAO,MAAM,wBAAwB,GACnC,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,YAAY,MAAM,KACjB,OAAO,CAAC,cAAc,GAAG,SAAS,CAmCpC,CAAC"}
@@ -0,0 +1,17 @@
1
+ export interface CloneFirstWorktreeAdd {
2
+ gitRoot: string;
3
+ dest: string;
4
+ branch?: {
5
+ flag: "-b" | "-B";
6
+ name: string;
7
+ };
8
+ detach?: boolean;
9
+ quiet?: boolean;
10
+ startPoint?: string;
11
+ }
12
+ export interface CloneFirstWorktreeResult {
13
+ cloned: boolean;
14
+ message: string;
15
+ }
16
+ export declare const addCloneFirstWorktree: (options: CloneFirstWorktreeAdd) => Promise<CloneFirstWorktreeResult>;
17
+ //# sourceMappingURL=clone-first-worktree.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone-first-worktree.d.ts","sourceRoot":"","sources":["../../src/agents/clone-first-worktree.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE;QAAE,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,qBAAqB,GAChC,SAAS,qBAAqB,KAC7B,OAAO,CAAC,wBAAwB,CAwBlC,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare const CLONE_SKIP_PREFIXES: readonly [".git", ".pi/fabric/worktrees"];
2
+ export declare class CowUnavailableError extends Error {
3
+ constructor(message: string, options?: {
4
+ cause?: unknown;
5
+ });
6
+ }
7
+ export declare const cloneTree: (source: string, dest: string, prefixes?: readonly string[]) => Promise<void>;
8
+ //# sourceMappingURL=cow-clone.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cow-clone.d.ts","sourceRoot":"","sources":["../../src/agents/cow-clone.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,2CAA4C,CAAC;AAE7E,qBAAa,mBAAoB,SAAQ,KAAK;gBAChC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,OAAO,CAAA;KAAE;CAI3D;AA4DD,eAAO,MAAM,SAAS,GACpB,QAAQ,MAAM,EACd,MAAM,MAAM,EACZ,WAAU,SAAS,MAAM,EAAwB,KAChD,OAAO,CAAC,IAAI,CAEd,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"worktree-manager.d.ts","sourceRoot":"","sources":["../../src/agents/worktree-manager.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,yDAAyD;IACzD,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;CAChB;AAmBD,qBAAa,eAAe;;IAGpB,MAAM,CACV,EAAE,EAAE,MAAM,EACV,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EACZ,0BAA0B,UAAQ,GACjC,OAAO,CAAC,aAAa,CAAC;IAgDzB,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS;IAIpC,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,YAAY,UAAQ,GAAG,OAAO,CAAC,OAAO,CAAC;CAgBlE"}
1
+ {"version":3,"file":"worktree-manager.d.ts","sourceRoot":"","sources":["../../src/agents/worktree-manager.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,yDAAyD;IACzD,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;CAChB;AAmBD,qBAAa,eAAe;;IAGpB,MAAM,CACV,EAAE,EAAE,MAAM,EACV,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EACZ,0BAA0B,UAAQ,GACjC,OAAO,CAAC,aAAa,CAAC;IAgDzB,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS;IAIpC,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,YAAY,UAAQ,GAAG,OAAO,CAAC,OAAO,CAAC;CAgBlE"}
@@ -0,0 +1,5 @@
1
+ export declare const FABRIC_WORKTREE_EXCLUDE = ".pi/fabric/worktrees/";
2
+ export declare const fabricWorktreePath: (gitRoot: string, id: string) => string;
3
+ export declare const isFabricWorktreePath: (worktree: string, id: string) => boolean;
4
+ export declare const ensureWorktreeExclude: (gitRoot: string) => Promise<void>;
5
+ //# sourceMappingURL=worktree-paths.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"worktree-paths.d.ts","sourceRoot":"","sources":["../../src/agents/worktree-paths.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uBAAuB,0BAA0B,CAAC;AAE/D,eAAO,MAAM,kBAAkB,GAAI,SAAS,MAAM,EAAE,IAAI,MAAM,KAAG,MACZ,CAAC;AAEtD,eAAO,MAAM,oBAAoB,GAAI,UAAU,MAAM,EAAE,IAAI,MAAM,KAAG,OASnE,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAU,SAAS,MAAM,KAAG,OAAO,CAAC,IAAI,CAkBzE,CAAC"}