HackerTrans
トップ新着トレンドコメント過去質問紹介求人

lawrencechen

no profile record

投稿

Awesome libghostty

github.com
4 ポイント·投稿者 lawrencechen·4 か月前·0 コメント

Show HN: cmux - Ghostty-based terminal with vertical tabs and notifications

github.com
198 ポイント·投稿者 lawrencechen·5 か月前·77 コメント

[untitled]

1 ポイント·投稿者 lawrencechen·6 か月前·0 コメント

More databases should be single-threaded

blog.konsti.xyz
52 ポイント·投稿者 lawrencechen·7 か月前·23 コメント

Show HN: I made a heatmap diff viewer for code reviews

0github.com
265 ポイント·投稿者 lawrencechen·8 か月前·68 コメント

Anthropic Sandbox Runtime (Srt)

github.com
5 ポイント·投稿者 lawrencechen·9 か月前·1 コメント

コメント

lawrencechen
·2 か月前·議論
I'm one of the creators of cmux. I'm moving a lot of my own dev work to Mac Minis, so I'm starting to feel quite a lot of the pain you mentioned... will try to make this better!
lawrencechen
·3 か月前·議論
Can you develop freestyle in freestyle vms?
lawrencechen
·5 か月前·議論
Makes sense, added as issue: https://github.com/manaflow-ai/cmux/issues/205
lawrencechen
·5 か月前·議論
iTerm2 has vertical tabs too

https://iterm2.com/3.0/documentation-preferences.html#:~:tex...
lawrencechen
·5 か月前·議論
Could you file an issue with more details: https://github.com/manaflow-ai/cmux/issues

Would greatly appreciate it!
lawrencechen
·5 か月前·議論
Should be fixed in latest release (0.58.0). Please let me know if it's still an issue!
lawrencechen
·5 か月前·議論
Thanks!
lawrencechen
·5 か月前·議論
Thanks for the feedback! Mitchell Hashimoto is awesome. Have a PR for fixing devtools here: https://github.com/manaflow-ai/cmux/pull/117

> hotkey overrides - I have some things explicitly unmapped / remapped in my ghostty config that conflict with some cmux keybindings and weren't respected

We need to be better about this; right now you can modify keyboard shorcuts with cmd+, in the GUI. Planning on making it a config file in the spirit of ghostty though, not sure if we want to reuse ghostty's config file though since it might become a maintenance burden for them...

> command palette (cmd-shift-p) for less-often-used actions + discoverability

yes

> cmd-z to "zoom in" to a pane is enormously useful imo

Thinking of the right way to design this. Like hypothetically we can expand it, but what happens if you make a vertical/horizontal split, or cmd+t to make a new tab? I guess we could just "merge" it back into the original space which would be pretty cool.
lawrencechen
·5 か月前·議論
Should be in latest release!
lawrencechen
·5 か月前·議論
We're working on a tmux/it2 compatibility layer to make this happen!
lawrencechen
·5 か月前·議論
No built in way to override new-pane actions right now, but `cmux --help` can automate all parts of cmux.

So you can make your own script that can make new panels/workspaces and just invoke it from the terminal:

  git worktree add -b my-branch ../repo-my-branch
  ws=$(cmux new-workspace 2>&1 | awk '{print $2}')
  cmux send --workspace "$ws" "cd ../repo-my-branch && claude"
  cmux send-key --workspace "$ws" Enter
I think we should make this easier though, open to suggestions!
lawrencechen
·5 か月前·議論
zmx solves persistence well, and I like their minimalism (not supporting windows, tabs, or splits). I think it's possible to make a CLI wrapper for zmx that adds notifications though, so you can have some niceties of cmux without switching to a new terminal. Lowkey we might explore this direction as well.
lawrencechen
·5 か月前·議論
Sorry you likely encountered this issue: https://github.com/manaflow-ai/cmux/issues/103

The latest release (0.57.0) should fix it.
lawrencechen
·5 か月前·議論
Excited that someone besides me wants this! I want to hear more about your warm container host, is that shared between multiple people, or just yourself?

Also want some feedback on how we should implement it. Could make it a CLI command that opens a new vertical tab/workspace:

  cmux ssh <host>
Or maybe a configurable dropdown next to the plus button.
lawrencechen
·5 か月前·議論
Haha, it's like we're moving towards an IDE but starting from the opposite direction.
lawrencechen
·5 か月前·議論
> a cron or hook that runs tmux capture-pane on each agent pane and checks for the idle prompt is enough to know when one needs attention.

Curious why you aren't using Claude Code's stop/notification hook

> Separate Chrome profiles per agent is the brute-force fix, but it's expensive. The better pattern is treating browser access as a serialized resource — one agent gets it at a time, with the others queued.

Ports could also be another serialized resource. Another direction we're exploring is to give agents VMs that have Chrome + VNC preinstalled [1]. Prompting Claude to use Docker also goes a long way there.

[1] https://cloudrouter.dev/
lawrencechen
·5 か月前·議論
Would love your feedback and suggestions!
lawrencechen
·5 か月前·議論
Very cool stuff! Would be curious if the stuff you've built is open sourced? Having a bunch of Claude Codes will definitely eat a ton of CPU/RAM. libghostty should help to a certain extent, but at some scale, you'll probably a custom optimized agent loop or remote VMs.
lawrencechen
·5 か月前·議論
Cool project! How are you liking ghostty-web so far?
lawrencechen
·5 か月前·議論
Ah, like a way to maximize the current pane you're focused on?