show fallback indicator in model dropdown, move agent logs to main, bump to 0.0.191
Made-with: Cursor
This commit is contained in:
committed by
pullfrog[bot]
parent
45fb07b34f
commit
d525fc21be
@@ -51,12 +51,7 @@ export const agent = (input: Agent): Agent => {
|
||||
return {
|
||||
...input,
|
||||
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)}`);
|
||||
|
||||
return input.run(ctx);
|
||||
},
|
||||
};
|
||||
|
||||
@@ -144706,7 +144706,7 @@ var import_semver = __toESM(require_semver2(), 1);
|
||||
// package.json
|
||||
var package_default = {
|
||||
name: "@pullfrog/pullfrog",
|
||||
version: "0.0.190",
|
||||
version: "0.0.191",
|
||||
type: "module",
|
||||
files: [
|
||||
"index.js",
|
||||
@@ -149171,10 +149171,6 @@ var agent = (input) => {
|
||||
return {
|
||||
...input,
|
||||
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)}`);
|
||||
return input.run(ctx);
|
||||
}
|
||||
@@ -151361,6 +151357,10 @@ async function main() {
|
||||
toolContext.mcpServerUrl = mcpHttpServer.url;
|
||||
log.info(`\xBB MCP server started at ${mcpHttpServer.url}`);
|
||||
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({
|
||||
payload,
|
||||
repo: runContext.repo,
|
||||
|
||||
@@ -23,6 +23,7 @@ export {
|
||||
modelAliases,
|
||||
parseModel,
|
||||
providers,
|
||||
resolveCliModel,
|
||||
resolveModelSlug,
|
||||
} from "../external.ts";
|
||||
export type { Mode } from "../modes.ts";
|
||||
|
||||
@@ -305,6 +305,11 @@ export async function main(): Promise<MainResult> {
|
||||
log.info(`» MCP server started at ${mcpHttpServer.url}`);
|
||||
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({
|
||||
payload,
|
||||
repo: runContext.repo,
|
||||
@@ -312,7 +317,6 @@ export async function main(): Promise<MainResult> {
|
||||
outputSchema,
|
||||
learnings: runContext.repoSettings.learnings,
|
||||
});
|
||||
// log instructions as soon as they are fully resolved
|
||||
const logParts = [
|
||||
instructions.eventInstructions
|
||||
? `EVENT-LEVEL INSTRUCTIONS:\n${instructions.eventInstructions}`
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pullfrog/pullfrog",
|
||||
"version": "0.0.190",
|
||||
"version": "0.0.191",
|
||||
"type": "module",
|
||||
"files": [
|
||||
"index.js",
|
||||
|
||||
Reference in New Issue
Block a user