b9b6503315
* reorder prompt sections: task-first with dynamic TOC put the actual task at the top of the prompt for primacy, add a dynamic table of contents, and push system/runtime metadata to the end. new section order: TOC → YOUR TASK → PROCEDURE → EVENT CONTEXT → SYSTEM → LEARNINGS → RUNTIME Made-with: Cursor * enforce clean working tree: continue session if agent leaves uncommitted changes after each agent run, check `git status --porcelain`. if dirty, resume the same session with instructions to commit on a new branch, push, and open a PR. retries up to 3 times before giving up. - claude code: capture session_id from result event, use --resume <id> - opencode: use --continue to resume the last session - remove --no-session-persistence from claude (needed for --resume) - update Task mode to clarify branch/push/PR is the default finalize step Made-with: Cursor * log full prompt in collapsible group for debugging Made-with: Cursor * fix: format tool refs in buildCommitPrompt via formatMcpToolRef * enforce clean git status: general instructions, stop hook, and Task mode Made-with: Cursor * fix: rename stale titleBody references after body leak fix Made-with: Cursor --------- Co-authored-by: pullfrog[bot] <226033991+pullfrog[bot]@users.noreply.github.com>
46 lines
1009 B
TypeScript
46 lines
1009 B
TypeScript
/**
|
|
* Internal entrypoint for the root app.
|
|
* Re-exports shared types, values, and utilities needed by the Next.js app.
|
|
*/
|
|
|
|
export type {
|
|
AuthorPermission,
|
|
ModelAlias,
|
|
ModelProvider,
|
|
Payload,
|
|
PayloadEvent,
|
|
ProviderConfig,
|
|
PushPermission,
|
|
ShellPermission,
|
|
ToolPermission,
|
|
WriteablePayload,
|
|
} from "../external.ts";
|
|
export {
|
|
getModelEnvVars,
|
|
getModelProvider,
|
|
getProviderDisplayName,
|
|
modelAliases,
|
|
parseModel,
|
|
providers,
|
|
pullfrogMcpName,
|
|
resolveCliModel,
|
|
resolveModelSlug,
|
|
} from "../external.ts";
|
|
export type { Mode } from "../modes.ts";
|
|
export { modes } from "../modes.ts";
|
|
export type {
|
|
BuildPullfrogFooterParams,
|
|
WorkflowRunFooterInfo,
|
|
} from "../utils/buildPullfrogFooter.ts";
|
|
export {
|
|
buildPullfrogFooter,
|
|
PULLFROG_DIVIDER,
|
|
stripExistingFooter,
|
|
} from "../utils/buildPullfrogFooter.ts";
|
|
export type { ResourceUsage, UsageSummary } from "../utils/github.ts";
|
|
export {
|
|
isValidTimeString,
|
|
parseTimeString,
|
|
TIMEOUT_DISABLED,
|
|
} from "../utils/time.ts";
|