Skip to content
Workflow·Pro

Explain a failed run with AI

When a program you start with Run exits with an error, it sends the output to your AI provider and a notification gives you the likely cause and one fix. Runs that succeed are left alone. Arrives switched off.

You need PocketCode Pro to install it.

If PocketCode is installed on your Android device, this opens the page in the app.

Preview

Triggers

RUN_FINISHED

Steps

Ask the AI what went wrong
Show the explanation

Changes in 1.0.0

First version.

Related

Explain shared text with AIProWorkflowShare an error, a log or some code from any app to PocketCode. Your AI provider explains it, you get the answer as a notification, and it's appended to notes/shared-explained.md in the open project. Arrives switched off.Commit and push with an AI messageProWorkflowWrites a commit message from your changed files and an optional note, then commits everything in the open project and pushes it. The AI sees file names, not your code. The push uses the Git account you connected in PocketCode. Arrives switched off.Remind me about uncommitted changesProWorkflowChecks the last project you opened and, if some files aren't committed, shows a notification with how many and on which branch. Add a schedule in Workflows, say every evening. Nothing leaves the phone. Arrives switched off.Run the tests when a project opensProWorkflowEach time you open a project, it picks the test runner (npm, cargo, go or pytest), runs the tests and notifies you only if they fail, with the last lines of output. Needs those tools in the Linux environment. Arrives switched off.Back up the open project to GitProWorkflowCommits every change in the last project you opened as "Backup from PocketCode" and pushes it to its remote. Add a schedule in Workflows to run it daily. It stays quiet when there's nothing new and warns you if the push fails. Arrives switched off.Find old branches when a project opensProWorkflowWhen you open a project, it lists the local branches with no commits in 30 days or more, so you can merge or delete them. It skips main, master, develop and trunk. Needs git in the Linux environment (apk add git). Arrives switched off.