pullfrog 0.0.200 → 0.0.202
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/agents/index.d.ts +1 -1
- package/dist/agents/opencode.d.ts +1 -0
- package/dist/agents/shared.d.ts +65 -1
- package/dist/cli.mjs +2093 -888
- package/dist/external.d.ts +1 -1
- package/dist/index.js +2078 -878
- package/dist/internal.js +10 -8
- package/dist/lifecycle.d.ts +1 -1
- package/dist/mcp/checkout.d.ts +16 -2
- package/dist/mcp/comment.d.ts +1 -0
- package/dist/mcp/geminiSanitizer.d.ts +17 -0
- package/dist/mcp/git.d.ts +8 -2
- package/dist/mcp/review.d.ts +104 -0
- package/dist/mcp/server.d.ts +12 -0
- package/dist/mcp/shared.d.ts +1 -1
- package/dist/modes.d.ts +1 -1
- package/dist/utils/activity.d.ts +4 -0
- package/dist/utils/agent.d.ts +3 -1
- package/dist/utils/diffCoverage.d.ts +62 -0
- package/dist/utils/lifecycle.d.ts +14 -2
- package/dist/utils/log.d.ts +13 -2
- package/dist/utils/patchWorkflowRunFields.d.ts +27 -4
- package/dist/utils/runContext.d.ts +1 -0
- package/dist/utils/secrets.d.ts +9 -2
- package/dist/utils/setup.d.ts +13 -0
- package/dist/utils/subprocess.d.ts +7 -0
- package/dist/utils/time.d.ts +1 -0
- package/dist/utils/todoTracking.d.ts +3 -1
- package/package.json +3 -2
- package/dist/agents/opentoad.d.ts +0 -1
|
@@ -3,6 +3,12 @@ export type TrackChildOptions = {
|
|
|
3
3
|
child: ChildProcess;
|
|
4
4
|
killGroup?: boolean;
|
|
5
5
|
};
|
|
6
|
+
export declare const SPAWN_TIMEOUT_CODE = "E_SPAWN_TIMEOUT";
|
|
7
|
+
export declare const SPAWN_ACTIVITY_TIMEOUT_CODE = "E_SPAWN_ACTIVITY_TIMEOUT";
|
|
8
|
+
export declare class SpawnTimeoutError extends Error {
|
|
9
|
+
readonly code: typeof SPAWN_TIMEOUT_CODE | typeof SPAWN_ACTIVITY_TIMEOUT_CODE;
|
|
10
|
+
constructor(message: string, code: typeof SPAWN_TIMEOUT_CODE | typeof SPAWN_ACTIVITY_TIMEOUT_CODE);
|
|
11
|
+
}
|
|
6
12
|
export type SignalHandler = (signal: NodeJS.Signals) => void;
|
|
7
13
|
export declare function trackChild(options: TrackChildOptions): void;
|
|
8
14
|
export declare function untrackChild(child: ChildProcess): void;
|
|
@@ -15,6 +21,7 @@ export interface SpawnOptions {
|
|
|
15
21
|
input?: string;
|
|
16
22
|
timeout?: number;
|
|
17
23
|
activityTimeout?: number;
|
|
24
|
+
onActivityTimeout?: (() => void) | undefined;
|
|
18
25
|
cwd?: string;
|
|
19
26
|
stdio?: ("pipe" | "ignore" | "inherit")[];
|
|
20
27
|
onStdout?: (chunk: string) => void;
|
package/dist/utils/time.d.ts
CHANGED
|
@@ -12,3 +12,4 @@ export declare function parseTimeString(input: string): number | null;
|
|
|
12
12
|
* check if a string is a valid time format.
|
|
13
13
|
*/
|
|
14
14
|
export declare function isValidTimeString(input: string): boolean;
|
|
15
|
+
export declare function resolveTimeoutMs(input: string | undefined): number | null;
|
|
@@ -6,7 +6,9 @@ export type TodoTracker = {
|
|
|
6
6
|
settled: () => Promise<void>;
|
|
7
7
|
/** mark in-progress items as completed (for final snapshot before review/progress post) */
|
|
8
8
|
completeInProgress: () => void;
|
|
9
|
-
renderCollapsible: (
|
|
9
|
+
renderCollapsible: (options?: {
|
|
10
|
+
completeInProgress?: boolean;
|
|
11
|
+
}) => string;
|
|
10
12
|
readonly enabled: boolean;
|
|
11
13
|
/** true after the tracker has successfully called onUpdate at least once */
|
|
12
14
|
readonly hasPublished: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pullfrog",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.202",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"pullfrog": "dist/cli.mjs",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
],
|
|
13
13
|
"scripts": {
|
|
14
14
|
"test": "vitest",
|
|
15
|
+
"test:catalog": "vitest run --config vitest.main.config.ts",
|
|
15
16
|
"typecheck": "tsc --noEmit",
|
|
16
17
|
"build": "node esbuild.config.js && tsc -p tsconfig.exports.json",
|
|
17
18
|
"check:entrypoints": "node scripts/check-entrypoint-imports.ts",
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
},
|
|
25
26
|
"devDependencies": {
|
|
26
27
|
"@actions/core": "^1.11.1",
|
|
27
|
-
"@anthropic-ai/claude-code": "2.1.
|
|
28
|
+
"@anthropic-ai/claude-code": "2.1.112",
|
|
28
29
|
"@ark/fs": "0.56.0",
|
|
29
30
|
"@ark/util": "0.56.0",
|
|
30
31
|
"@clack/prompts": "^1.2.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const opentoad: import("./shared.ts").Agent;
|