Compare commits

..

1 Commits

Author SHA1 Message Date
Colin McDonnell d525fc21be show fallback indicator in model dropdown, move agent logs to main, bump to 0.0.191
Made-with: Cursor
2026-04-03 19:00:52 +00:00
6 changed files with 13 additions and 13 deletions
-5
View File
@@ -51,12 +51,7 @@ export const agent = (input: Agent): Agent => {
return { return {
...input, ...input,
run: async (ctx: AgentRunContext): Promise<AgentResult> => { run: async (ctx: AgentRunContext): Promise<AgentResult> => {
if (ctx.payload.model) log.info(`» model: ${ctx.payload.model}`);
if (ctx.payload.timeout) log.info(`» timeout: ${ctx.payload.timeout}`);
log.info(`» push: ${ctx.payload.push}`);
log.info(`» shell: ${ctx.payload.shell}`);
log.debug(`» payload: ${JSON.stringify(ctx.payload, null, 2)}`); log.debug(`» payload: ${JSON.stringify(ctx.payload, null, 2)}`);
return input.run(ctx); return input.run(ctx);
}, },
}; };
+5 -5
View File
@@ -144706,7 +144706,7 @@ var import_semver = __toESM(require_semver2(), 1);
// package.json // package.json
var package_default = { var package_default = {
name: "@pullfrog/pullfrog", name: "@pullfrog/pullfrog",
version: "0.0.190", version: "0.0.191",
type: "module", type: "module",
files: [ files: [
"index.js", "index.js",
@@ -149171,10 +149171,6 @@ var agent = (input) => {
return { return {
...input, ...input,
run: async (ctx) => { run: async (ctx) => {
if (ctx.payload.model) log.info(`\xBB model: ${ctx.payload.model}`);
if (ctx.payload.timeout) log.info(`\xBB timeout: ${ctx.payload.timeout}`);
log.info(`\xBB push: ${ctx.payload.push}`);
log.info(`\xBB shell: ${ctx.payload.shell}`);
log.debug(`\xBB payload: ${JSON.stringify(ctx.payload, null, 2)}`); log.debug(`\xBB payload: ${JSON.stringify(ctx.payload, null, 2)}`);
return input.run(ctx); return input.run(ctx);
} }
@@ -151361,6 +151357,10 @@ async function main() {
toolContext.mcpServerUrl = mcpHttpServer.url; toolContext.mcpServerUrl = mcpHttpServer.url;
log.info(`\xBB MCP server started at ${mcpHttpServer.url}`); log.info(`\xBB MCP server started at ${mcpHttpServer.url}`);
timer.checkpoint("mcpServer"); timer.checkpoint("mcpServer");
if (payload.model) log.info(`\xBB model: ${payload.model}`);
if (payload.timeout) log.info(`\xBB timeout: ${payload.timeout}`);
log.info(`\xBB push: ${payload.push}`);
log.info(`\xBB shell: ${payload.shell}`);
const instructions = resolveInstructions({ const instructions = resolveInstructions({
payload, payload,
repo: runContext.repo, repo: runContext.repo,
+1
View File
@@ -23,6 +23,7 @@ export {
modelAliases, modelAliases,
parseModel, parseModel,
providers, providers,
resolveCliModel,
resolveModelSlug, resolveModelSlug,
} from "../external.ts"; } from "../external.ts";
export type { Mode } from "../modes.ts"; export type { Mode } from "../modes.ts";
+5 -1
View File
@@ -305,6 +305,11 @@ export async function main(): Promise<MainResult> {
log.info(`» MCP server started at ${mcpHttpServer.url}`); log.info(`» MCP server started at ${mcpHttpServer.url}`);
timer.checkpoint("mcpServer"); timer.checkpoint("mcpServer");
if (payload.model) log.info(`» model: ${payload.model}`);
if (payload.timeout) log.info(`» timeout: ${payload.timeout}`);
log.info(`» push: ${payload.push}`);
log.info(`» shell: ${payload.shell}`);
const instructions = resolveInstructions({ const instructions = resolveInstructions({
payload, payload,
repo: runContext.repo, repo: runContext.repo,
@@ -312,7 +317,6 @@ export async function main(): Promise<MainResult> {
outputSchema, outputSchema,
learnings: runContext.repoSettings.learnings, learnings: runContext.repoSettings.learnings,
}); });
// log instructions as soon as they are fully resolved
const logParts = [ const logParts = [
instructions.eventInstructions instructions.eventInstructions
? `EVENT-LEVEL INSTRUCTIONS:\n${instructions.eventInstructions}` ? `EVENT-LEVEL INSTRUCTIONS:\n${instructions.eventInstructions}`
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@pullfrog/pullfrog", "name": "@pullfrog/pullfrog",
"version": "0.0.190", "version": "0.0.191",
"type": "module", "type": "module",
"files": [ "files": [
"index.js", "index.js",
+1 -1
View File
@@ -41559,7 +41559,7 @@ var core3 = __toESM(require_core(), 1);
// package.json // package.json
var package_default = { var package_default = {
name: "@pullfrog/pullfrog", name: "@pullfrog/pullfrog",
version: "0.0.190", version: "0.0.191",
type: "module", type: "module",
files: [ files: [
"index.js", "index.js",