Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Merge remote-tracking branch 'origin/main' into feat/settings-features

milind-soni9272af28dd0b
diff --cc server/host/skills-library.ts
index 0ba1136d78,13113694c9..69c1a976fd
--- a/server/host/skills-library.ts
+++ b/server/host/skills-library.ts
@@@ -353,10 -359,10 +359,10 @@@ export function createSkillsLibraryHost
}
if (files.size < mentioned.length) add(projectInUse(bot, threadId, cwd, instance, assigned).filter((skill) => !skill.modelOnly));
// A Skill Burger runs exactly with run_workflow, whether it is the bot's own or used in every chat.
- const burgers = mentioned.flatMap((name) => { const found = findWorkflowSkill(bot.id, name); return found ? [{ name, found }] : []; });
+ const burgers = !skillBurgerEnabled(cfg) ? [] : mentioned.flatMap((name) => { const found = findWorkflowSkill(bot.id, name); return found ? [{ name, found }] : []; });
for (const { name, found } of burgers) if (!files.has(name) && "everyChat" in found.place) files.set(name, librarySkillFilePath(name));
const expanded = skillCommandTurnText(text, files, typed, ownStart);
- return burgers.length ? `${expanded}\n\n${burgers.map(({ name }) => `/${name} is a saved Skill Burger: run it with the run_workflow tool (name "${name}"), filling its args from the request, rather than by hand.`).join(" ")}` : expanded;
+ return burgers.length ? `${expanded}\n\n${burgers.map(({ name, found }) => `/${name} is a saved Skill Burger: run it with the run_workflow tool (name "${name}"), filling its args from the request, rather than by hand.${burgerInputs(found.workflow)}`).join(" ")}` : expanded;
},
shareNote(bot: BotRecord, threadId: string, enabled: boolean): TurnShareNote {
diff --cc src/locales/en.json
index 9e7a9f4265,3a49aff835..3f09979ae4
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@@ -11810,10 -11812,39 +11812,45 @@@
"skillBurger.run.addPathFailed": "Couldn't do that. Try again.",
"activity.tool.team.runWorkflow": "Run workflow",
"activity.tool.team.workflowEdit": "Workflow edit",
+ "skillBurger.layer.fetch": "Fetch {site}",
+ "skillBurger.layer.ask": "Ask {who}",
+ "skillBurger.layer.review": "Review what came back and report",
+ "skillBurger.draft.names": "{some} and {last}",
+ "skillBurger.draft.inputs": "Inputs",
+ "skillBurger.draft.editInput": "Change {name}",
+ "skillBurger.draft.inputName": "Input name",
+ "skillBurger.draft.inputValue": "Saved value",
+ "skillBurger.draft.keep": "Keep “{step}”",
+ "skillBurger.draft.details": "What “{step}” did",
+ "skillBurger.draft.asked": "Asked",
+ "skillBurger.draft.cameBack": "Came back this time",
+ "skillBurger.draft.round": "round {round}",
+ "skillBurger.draft.doneWhen": "Done when: {check}",
+ "skillBurger.draft.reviewRounds": "A reply that falls short goes back, up to {count} more times.",
+ "skillBurger.draft.rounds": "{count} rounds",
+ "skillBurger.draft.tries": "{count} tries, kept the one that worked",
+ "skillBurger.draft.judgement": "Next time the bot does this with its own judgement.",
+ "skillBurger.draft.outcome": "Outcome",
+ "skillBurger.draft.allExact": "repeats exactly",
+ "skillBurger.draft.allJudgement": "the bot redoes it with judgement",
+ "skillBurger.draft.mix": "{exact} exact, {judgement} by judgement",
+ "skillBurger.run.waitingOn": "Waiting for {who}",
+ "skillBurger.run.repliesFrom": "What came back",
+ "skillBurger.run.checkPassed": "Check passed: {check}",
+ "skillBurger.run.checkFailed": "Check failed: {why}",
+ "skillBurger.run.history": "Last runs",
+ "skillBurger.run.historyOk": "Finished",
+ "skillBurger.run.historyFailed": "Stopped at “{step}”",
+ "skillBurger.run.historyWaiting": "Waiting",
+ "skillBurger.run.historyReused": "used saved {names}",
+ "skillBurger.run.keepFix": "Update the burger with this fix",
+ "skillBurger.run.fixKept": "Burger updated with the fix",
+ "skillBurger.run.inputs": "Run with",
- "skillBurger.run.go": "Run now"
++ "skillBurger.run.go": "Run now",
+ "settings.page.features": "Features",
+ "settings.features.skillBurger": "Skill Burger",
+ "settings.features.skillBurgerLine": "Save a bot's run as steps you can run again",
+ "settings.features.threadTabs": "Thread tabs",
+ "settings.features.threadTabsLine": "Show a bot's threads as tabs above the chat",
+ "settings.features.error": "Couldn't save that. Check your connection and try again."
}
diff --cc src/locales/pt-br.json
index 8de72a0074,8bc78b18ed..d555e7080e
--- a/src/locales/pt-br.json
+++ b/src/locales/pt-br.json
@@@ -11810,10 -11812,39 +11812,45 @@@
"skillBurger.run.addPathFailed": "Não foi possível. Tente de novo.",
"activity.tool.team.runWorkflow": "Executar Skill Burger",
"activity.tool.team.workflowEdit": "Alterar Skill Burger",
+ "skillBurger.layer.fetch": "Buscar {site}",
+ "skillBurger.layer.ask": "Pedir a {who}",
+ "skillBurger.layer.review": "Revisar o que voltou e relatar",
+ "skillBurger.draft.names": "{some} e {last}",
+ "skillBurger.draft.inputs": "Entradas",
+ "skillBurger.draft.editInput": "Alterar {name}",
+ "skillBurger.draft.inputName": "Nome da entrada",
+ "skillBurger.draft.inputValue": "Valor salvo",
+ "skillBurger.draft.keep": "Manter “{step}”",
+ "skillBurger.draft.details": "O que “{step}” fez",
+ "skillBurger.draft.asked": "Pedido",
+ "skillBurger.draft.cameBack": "Voltou desta vez",
+ "skillBurger.draft.round": "rodada {round}",
+ "skillBurger.draft.doneWhen": "Pronto quando: {check}",
+ "skillBurger.draft.reviewRounds": "Uma resposta que não atende volta, até mais {count} vezes.",
+ "skillBurger.draft.rounds": "{count} rodadas",
+ "skillBurger.draft.tries": "{count} tentativas, ficou a que funcionou",
+ "skillBurger.draft.judgement": "Da próxima vez o bot faz isto com o próprio julgamento.",
+ "skillBurger.draft.outcome": "Resultado",
+ "skillBurger.draft.allExact": "repete exatamente",
+ "skillBurger.draft.allJudgement": "o bot refaz com julgamento",
+ "skillBurger.draft.mix": "{exact} exatos, {judgement} por julgamento",
+ "skillBurger.run.waitingOn": "Esperando {who}",
+ "skillBurger.run.repliesFrom": "O que voltou",
+ "skillBurger.run.checkPassed": "Verificação aprovada: {check}",
+ "skillBurger.run.checkFailed": "Verificação falhou: {why}",
+ "skillBurger.run.history": "Últimas execuções",
+ "skillBurger.run.historyOk": "Concluída",
+ "skillBurger.run.historyFailed": "Parou em “{step}”",
+ "skillBurger.run.historyWaiting": "Esperando",
+ "skillBurger.run.historyReused": "usou {names} salvos",
+ "skillBurger.run.keepFix": "Atualizar o burger com esta correção",
+ "skillBurger.run.fixKept": "Burger atualizado com a correção",
+ "skillBurger.run.inputs": "Executar com",
- "skillBurger.run.go": "Executar agora"
++ "skillBurger.run.go": "Executar agora",
+ "settings.page.features": "Recursos",
+ "settings.features.skillBurger": "Skill Burger",
+ "settings.features.skillBurgerLine": "Salva a execução de um bot como etapas que você pode executar de novo",
+ "settings.features.threadTabs": "Abas de conversas",
+ "settings.features.threadTabsLine": "Mostra as conversas de um bot como abas acima do chat",
+ "settings.features.error": "Não foi possível salvar. Verifique sua conexão e tente de novo."
}