pullfrog 0.0.197 → 0.0.199
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/claude.d.ts +1 -0
- package/dist/agents/index.d.ts +6 -0
- package/dist/agents/opentoad.d.ts +1 -0
- package/dist/agents/shared.d.ts +46 -0
- package/dist/cli.mjs +55049 -55025
- package/dist/external.d.ts +213 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +151730 -0
- package/dist/internal/index.d.ts +12 -0
- package/dist/internal.js +681 -0
- package/dist/lifecycle.d.ts +2 -0
- package/dist/main.d.ts +8 -0
- package/dist/mcp/arkConfig.d.ts +1 -0
- package/dist/mcp/checkSuite.d.ts +9 -0
- package/dist/mcp/checkout.d.ts +63 -0
- package/dist/mcp/comment.d.ts +84 -0
- package/dist/mcp/commitInfo.d.ts +9 -0
- package/dist/mcp/dependencies.d.ts +8 -0
- package/dist/mcp/git.d.ts +38 -0
- package/dist/mcp/issue.d.ts +18 -0
- package/dist/mcp/issueComments.d.ts +9 -0
- package/dist/mcp/issueEvents.d.ts +9 -0
- package/dist/mcp/issueInfo.d.ts +9 -0
- package/dist/mcp/labels.d.ts +12 -0
- package/dist/mcp/learnings.d.ts +6 -0
- package/dist/mcp/output.d.ts +12 -0
- package/dist/mcp/pr.d.ts +29 -0
- package/dist/mcp/prInfo.d.ts +9 -0
- package/dist/mcp/review.d.ts +49 -0
- package/dist/mcp/reviewComments.d.ts +135 -0
- package/dist/mcp/selectMode.d.ts +24 -0
- package/dist/mcp/server.d.ts +93 -0
- package/dist/mcp/shared.d.ts +21 -0
- package/dist/mcp/shell.d.ts +32 -0
- package/dist/mcp/upload.d.ts +6 -0
- package/dist/models.d.ts +69 -0
- package/dist/modes.d.ts +9 -0
- package/dist/prep/index.d.ts +7 -0
- package/dist/prep/installNodeDependencies.d.ts +2 -0
- package/dist/prep/installPythonDependencies.d.ts +2 -0
- package/dist/prep/types.d.ts +29 -0
- package/dist/utils/activity.d.ts +21 -0
- package/dist/utils/agent.d.ts +15 -0
- package/dist/utils/apiFetch.d.ts +19 -0
- package/dist/utils/apiKeys.d.ts +10 -0
- package/dist/utils/apiUrl.d.ts +9 -0
- package/dist/utils/body.d.ts +16 -0
- package/dist/utils/browser.d.ts +21 -0
- package/dist/utils/buildPullfrogFooter.d.ts +30 -0
- package/dist/utils/cli.d.ts +10 -0
- package/dist/utils/errorReport.d.ts +8 -0
- package/dist/utils/exitHandler.d.ts +8 -0
- package/dist/utils/fixDoubleEscapedString.d.ts +1 -0
- package/dist/utils/gitAuth.d.ts +47 -0
- package/dist/utils/gitAuthServer.d.ts +18 -0
- package/dist/utils/github.d.ts +78 -0
- package/dist/utils/globals.d.ts +3 -0
- package/dist/utils/install.d.ts +60 -0
- package/dist/utils/instructions.d.ts +22 -0
- package/dist/utils/lifecycle.d.ts +9 -0
- package/dist/utils/log.d.ts +92 -0
- package/dist/utils/normalizeEnv.d.ts +10 -0
- package/dist/utils/patchWorkflowRunFields.d.ts +6 -0
- package/dist/utils/payload.d.ts +41 -0
- package/dist/utils/providerErrors.d.ts +1 -0
- package/dist/utils/rangeDiff.d.ts +51 -0
- package/dist/utils/retry.d.ts +7 -0
- package/dist/utils/reviewCleanup.d.ts +14 -0
- package/dist/utils/run.d.ts +9 -0
- package/dist/utils/runContext.d.ts +37 -0
- package/dist/utils/runContextData.d.ts +24 -0
- package/dist/utils/secrets.d.ts +15 -0
- package/dist/utils/setup.d.ts +33 -0
- package/dist/utils/shell.d.ts +32 -0
- package/dist/utils/skills.d.ts +15 -0
- package/dist/utils/subprocess.d.ts +32 -0
- package/dist/utils/time.d.ts +14 -0
- package/dist/utils/timer.d.ts +12 -0
- package/dist/utils/todoTracking.d.ts +14 -0
- package/dist/utils/token.d.ts +40 -0
- package/dist/utils/version.d.ts +2 -0
- package/dist/utils/versioning.d.ts +7 -0
- package/dist/utils/workflow.d.ts +14 -0
- package/package.json +5 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const claude: import("./shared.ts").Agent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const opentoad: import("./shared.ts").Agent;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { AgentId } from "../external.ts";
|
|
2
|
+
import type { ResolvedInstructions } from "../utils/instructions.ts";
|
|
3
|
+
import type { ResolvedPayload } from "../utils/payload.ts";
|
|
4
|
+
import type { TodoTracker } from "../utils/todoTracking.ts";
|
|
5
|
+
export declare const MAX_STDERR_LINES = 20;
|
|
6
|
+
export declare const MAX_COMMIT_RETRIES = 3;
|
|
7
|
+
export declare function getGitStatus(): string;
|
|
8
|
+
export declare function buildCommitPrompt(_agentId: AgentId, status: string): string;
|
|
9
|
+
/**
|
|
10
|
+
* token/cost usage data from a single agent run
|
|
11
|
+
*/
|
|
12
|
+
export interface AgentUsage {
|
|
13
|
+
agent: string;
|
|
14
|
+
inputTokens: number;
|
|
15
|
+
outputTokens: number;
|
|
16
|
+
cacheReadTokens?: number | undefined;
|
|
17
|
+
cacheWriteTokens?: number | undefined;
|
|
18
|
+
costUsd?: number | undefined;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Result returned by agent execution
|
|
22
|
+
*/
|
|
23
|
+
export interface AgentResult {
|
|
24
|
+
success: boolean;
|
|
25
|
+
output?: string | undefined;
|
|
26
|
+
error?: string | undefined;
|
|
27
|
+
metadata?: Record<string, unknown>;
|
|
28
|
+
usage?: AgentUsage | undefined;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Minimal context passed to agent.run()
|
|
32
|
+
*/
|
|
33
|
+
export interface AgentRunContext {
|
|
34
|
+
payload: ResolvedPayload;
|
|
35
|
+
resolvedModel?: string | undefined;
|
|
36
|
+
mcpServerUrl: string;
|
|
37
|
+
tmpdir: string;
|
|
38
|
+
instructions: ResolvedInstructions;
|
|
39
|
+
todoTracker?: TodoTracker | undefined;
|
|
40
|
+
}
|
|
41
|
+
export interface Agent {
|
|
42
|
+
name: AgentId;
|
|
43
|
+
install: (token?: string) => Promise<string>;
|
|
44
|
+
run: (ctx: AgentRunContext) => Promise<AgentResult>;
|
|
45
|
+
}
|
|
46
|
+
export declare const agent: (input: Agent) => Agent;
|