Skip to content

Instantly share code, notes, and snippets.

@ajitid
Last active May 7, 2026 02:59
Show Gist options
  • Select an option

  • Save ajitid/d2cbafe3e97c9b513954fbf9ad97798e to your computer and use it in GitHub Desktop.

Select an option

Save ajitid/d2cbafe3e97c9b513954fbf9ad97798e to your computer and use it in GitHub Desktop.
[not for public consumption] better ui, better chatgpt

pi shortcuts:

  • in Ghostty use cmd+shift+up/down keys (or super+shift+up/down keys) to jump between prompts
  • Use ctrl+g to open in $VISUAL or $EDITOR. Set export VISUAL="zed --wait"
  • ctrl+l to change model
  • to use image capable model with a non-image capable model do:
pi --model zai/glm-5.1 --append-system-prompt "You lack image understanding and image reading capabilities. Use `pi -p --session-info --model zai/glm-5v-turbo --no-tools @'file.png' 'question'` in these cases. Before you run that command, you should read the image. If the user or you have follow-ups for that same image, you can continue asking on the same session that `pi -p --session-info` gives you."

Note that --session-info is only getting printed because you have created an extension that can print out session info when this flag is passed.


unrelated to chatgpt:

local and remote isolated vms:

in cursor:

Shared Knowledge
View team-wide Rules, Commands, and Hooks. 
@ajitid
Copy link
Copy Markdown
Author

ajitid commented May 7, 2026

ok check @packages/recorder-tools/native/ and @packages/recorder/src/background/ . it seems like there is some code issue due to which either @packages/recorder-tools/native/host.ts isn't able to sustain the
connection when made.

I see "Native host disconnected" in the Voy Recorder extension's UI and

you can check the output of cat /tmp/voy-recorder-host.log yourself. After checking and inspecting code and running tmp scripts to validate hypothesis (you have access to CDP as well via browser-tools and you
can create tmp scripts if you want), you can check web if you need and report back what the root cause is


agent responds


what's the proper bug fix here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment