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

implement 01xcaa3f-d7ce-7841-8fe6-83ef644152b5.md . ask questions if any. check web if you want and temp scripts if you need to confirm something. project-to-refer is in path/to/project-to-refer if you need . i also want to you create todos in todo.md with phases and check out items as you progress

to self: 01xcaa3f-d7ce-7841-8fe6-83ef644152b5.md is the whole convo exchange not just plan file in codex

@ajitid
Copy link
Copy Markdown
Author

ajitid commented May 7, 2026

that works. thanks. i want you look at last commit and think and tell why all those changes are necessary and which ones of them are redundant, fallback, not useful or not in use anymore
so we can drop them. please think really hard and check web if you need

@ajitid
Copy link
Copy Markdown
Author

ajitid commented May 7, 2026

can you check the code and think really hard and check web if you need to tell why it could be happening? you can run local tests if you want to confirm hypothesis or to grab findings

@ajitid
Copy link
Copy Markdown
Author

ajitid commented May 7, 2026

❯ Great, thanks. Now I want you to create a fresh plan to show this in the UI. use tailwind css . Also add in the fact that this JSON file may not be there because the command would not have been on. So assume
the fact that this could have happened and also incorporate it. You know, that I think suppose the UI should tell you that run this please, run this command please and then refresh something like that. also
Don't add any flare in this site. This should be as simple as possible. I do want a search though, so I'm not sure, use minisearch or something, the main things I want to search for is by searching
searching through like filtering by by an environment, like if the deployments have happened essentially NOT_EXECUTED is not there for environment for that environment yeah so yeah so show only those then
also a way to essentially if you i'm not totally sure how you're going to demonstrate show all of this but if what a way to essentially a way to toggle all those blocks for all the builds in which
NO_EXECUTED is there so I can easily see where the build has flown through. I would also prefer a way to mention a tag SCM_TAG and see all the places where it's deployed.
see @data/history.json to understand the structure first

Also search the web to understand like what sort of policies that LLMs make when they create UI like for example showing a purple gradient and all because we want to avoid that and then also explore like
good designs I'm not sure maybe on dribble or in spotted in prod or check some design studios like not design studios because they show a lot of there using 3js and all we don't want that we want a simple
great clean website for this but yeah take some inspirations from the web. I'm not sure there are other places as well from which you can take the inspiration so take the inspiration from there.

@ajitid
Copy link
Copy Markdown
Author

ajitid commented May 7, 2026

  • prepare an implementation-ready patch spec with exact edit points so it can be applied immediately once execution mode is enabled.
  • cite relevant references (paths, links)
  • ask questions if any

https://github.com/JetBrains/kotlin-desktop-toolkit So we have this Kotlin desktop toolkit and I wanted to create a sample program in this folder using it. In case if you want to consult the code to understand the project better, you can use these resources:

prepare an implementation-ready patch spec with exact edit points so it can be applied immediately once execution mode is enabled.

cite relevant references in the plan and in the code comments if needed


no fallback or maintaining backwards compatibility pls, let's make proper breaking change

@ajitid
Copy link
Copy Markdown
Author

ajitid commented May 7, 2026

Feedback on updating the plan:

<plan pts>

---

rest of the plan makes sense to me.

check the code further if you need. ask questions if any. then update the plan

----

<the plan itself for reference>

@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