正在加载视频...

视频加载失败

Ghostty 1.3 is going to have a preview of AppleScript support. All windows, tabs, splits, terminals are exposed via AppleScript. For macOS users, this satisfies some of the most common requests: broadcast commands, automatic layouts, jump to working directory, etc. PR here: I also think this is an incredibly...

182,306 次观看 • 7 个月前 •via X (Twitter)

38 条评论

Aleksey Skryl 的头像
Aleksey Skryl7 个月前

@DanielleFong Server mode (like tmux) would be 🔥

nick 的头像
nick7 个月前

everyone's talking about ai agents while mitchell is out here giving us the ability to script our terminal layouts with a language from 1993. nature is healing

Sadi Moodi 的头像
Sadi Moodi7 个月前

AppleScript for terminal control is smart. For agentic workflows, you get: 1) cross-app automation (Finder + Ghostty), 2) native macOS permission model, 3) existing developer tooling. The kill-switch in config is crucial for enterprise adoption.

Ranmdy 的头像
Ranmdy6 个月前

lowkey wild how "agentic tools like Claude and Codex" became the selling point for AppleScript integration. Pretty sure terminal power users were automating workflows before AI agents were even a thing. The feature sounds solid but the AI angle feels forced.

Mitchell Hashimoto 的头像
Mitchell Hashimoto6 个月前

I gave plenty of examples and talked about agentic stuff last. Are you just rage baiting for no reason?

Ranmdy 的头像
Ranmdy6 个月前

Fair, you literally led with broadcast commands and layouts I tunneled on the agentic bit. My bad. The AppleScript integration actually looks really clean though. Shipping it as a preview is smart too, gives you room to reshape the object model before people start building on top of it. Out of curiosity is the scripting dictionary closer to iTerm2's approach or are you going more minimal for now?

Nikhil Sharma 的头像
Nikhil Sharma7 个月前

the broadcast commands bit alone is massive. entire teams running the same deploy command across 10 terminals simultaneously.

Alireza Bashiri 的头像
Alireza Bashiri7 个月前

just expose an api and the people can submit prs for linux/windows

Lira 的头像
Lira7 个月前

@link_arzu esto da a un buen de cosas de automatización a ti q t gusta hahaha

Heather 的头像
Heather7 个月前

Your keyboard sounds amazing. What is it?

Uriah 的头像
Uriah7 个月前

this is great thanks for your work: Im thinking how to add it on my repo: as i pretty much use ghostty on a day to day basis after i ditch warp building this repo :)

HashAndHustle 的头像
HashAndHustle6 个月前

@grok what could be the use cases here ?

Vikram 的头像
Vikram7 个月前

Nice, this is very cool!

VikingBoer 的头像
VikingBoer7 个月前

Glad to see AppleScript being used, it's very powerful. And also happy you're not using the JS one. Thinking of ideas now.

felix negentropy. weallareeuropean 的头像
felix negentropy. weallareeuropean7 个月前

great work

Anurag Vishwakarma 的头像
Anurag Vishwakarma7 个月前

I just only need search feature in ghostty.

Arthur 的头像
Arthur7 个月前

Nice

Tiger Abrodi 的头像
Tiger Abrodi7 个月前

👀

sab.dev 的头像
sab.dev7 个月前

What a G 🙏

Phil Cohen 的头像
Phil Cohen7 个月前

Thank you!! This will be awesome for accessibility. Apple Events are noticeably faster than shortcuts

Behnam 的头像
Behnam7 个月前

AppleScript is slow af and arcane and doesn't have a lot of training data; Lua or Scheme/Elisp would have been better choices.

Zhibo 𝕏 的头像
Zhibo 𝕏7 个月前

waiting for the next stable release 😀

matthias 的头像
matthias7 个月前

Oh thank goodness. There’s all these amazing tools out there like cmux and such but the idea of using them seems unwise from a supply chain perspective. Prefer using tmux/zellij to satisfy my needs rather than adding unvetted dependencies.

Nedim Dedic 的头像
Nedim Dedic7 个月前

I had a need for something like this just yesterday. I have a list of prompts and want to spawn an agent session for each one, capture the result, save it to a file, and then analyze the outputs separately. The key requirement was running up to 10 sessions in parallel

Watch This Space 的头像
Watch This Space7 个月前

Oh shit! This is nice. And nice that it relies on OS permission models. I'll have to take a look!

linkarzu 的头像
linkarzu6 个月前

When are you fulling switching to Linux Mitchell. You will continue to be a macOS gigalord for life?

Mitchell Hashimoto 的头像
Mitchell Hashimoto6 个月前

Yeah probably never. I still do a ton of work in a Linux VM day to day but don't think I can justify full switch due to how ingrained Apple is in my family (direct and extended).

linkarzu 的头像
linkarzu6 个月前

I 100% feel ya!

Ryan Dale 的头像
Ryan Dale7 个月前

oh hell yes.

Ahmet Topal 的头像
Ahmet Topal6 个月前

This inspired me to build Hauntr 👻 A macOS menu bar app and CLI to launch multi-pane Ghostty terminal layouts via AppleScript ✨

Ezra Keylock 的头像
Ezra Keylock7 个月前

When windows port?

Mayank Nader 的头像
Mayank Nader6 个月前

Awesome! But i am looking forward to this( more than anything in 1.3 😅

OneManSaas 的头像
OneManSaas7 个月前

Will the AppleScript integration handle the permission prompts gracefully? I'm thinking about automated workflows where macOS security dialogs could break the whole chain if they pop up unexpectedly.

wangdong 的头像
wangdong7 个月前

👍

Rochan 的头像
Rochan7 个月前

Can we get clipboard image paste por favor

Laurent Marques 的头像
Laurent Marques7 个月前

so it may support too Javascript too ? apple added it for applescript replacement

nbonamy 的头像
nbonamy7 个月前

That is super cool. I already have several ideas: exposing this in the embedded MCP server of Skwad to build cool developer experiences!

Levi Segal 的头像
Levi Segal7 个月前

Exposing windows, tabs, splits and terminals via AppleScript is a really thoughtful approach. I can already think of several automation workflows where this would replace fragile osascript hacks.

相关视频

🔥NOW: RFK Jr. tells Dr. Drew how he plans to attack the epidemic of addiction in America: "In the 20-year Vietnam war, we lost 56,000 American kids. So we're losing almost double that every year from this disease. You'd think that the trillion dollars we put into that war and the daily preoccupation on the news, the nightly news coverage for 20 years the presidential elections that were fixated on it, and it's half the number of people that are effected every single year. Our communities are being torn apart. We need to give this the same priority. I'm very reluctant to dictate a government solution. What we found from touring, this is a small fraction of the places we actually visited. I wanted to see every place that's doing this right, and what we found is there's a tremendous diversity of approaches that are working very very well. One thing almost all of them have in common is that they don't have government support. And so I'm very reluctant to get the government involved in a way that is going to micromanage places like this. I want to make the government support them and that may be through land purchases and through those kinds of contracts but I don't want the government to be coming in and micromanaging. I think this has to be run by NGOs and we have to use a lot of different approaches. You know Franklin Roosevelt when he was launching the New Deal said 'We're going to try these programs and we're going try something one thing at a time and if it doesn't work we're going to abandon it and were going to try something else, but were always going to be trying something.' And all I can guarantee, I can't tell you right now that there's one solution or even a multiplicity of solutions but what I can tell you is that in my administration we're going to solve the problem because I'm going to focus on it. And if there are things that are working we're going to create ecosystems in which those kinds of solutions can proliferate.

Tayyy

144,488 次观看 • 2 年前

This video is the one Kim Runner shared with me in July 2024 about how to tell whether you or others are NPCs. I can vividly imagine the stickiness and feel of holding an apple in my hand, the sensation of it denting when I squeeze it hard, its smell, and even its texture. Honestly, I was greatly shocked to learn that some people cannot do this. Below is the transcript of the audio.⬇️ Have you guys seen this experiment where you can not only test if the people around you are NPCs, but if you yourself are? Check this out. And if you don't know what an NPC is, basically, in the video game world, it's someone that's not being controlled by a person, just a random computer-generated thing. And in the real world, same thing, maybe just someone that's not being controlled by a soul. So I heard this experiment on a podcast, and I thought it was kind of crazy until I tried it out myself. And it has to do with apples. And you can probably use any object, but for our purposes, we're going to stick with apples. So there are going to be multiple layers to what I'm going to ask you to imagine. And depending on how far you can imagine it might just depend on if you're an NPC or not. So with this blank screen, I want you to picture a red apple here. Can you picture a red apple? If you can, great. So far, you're not an NPC. Next, I'd like you to think of that red apple, and in your mind—you can close your eyes if you need to—think of that apple as green. Can you change it to a green apple? Can you see a green apple without looking at it? Now stick with me. We're getting to the good parts here. If you can picture a red apple and then a green apple, great, but here's where a lot of people get stuck. And I'm taking away the image here. I want you to picture that green apple in your mind, and can you go in, and can you pick up that apple? Can you manipulate it? Can you move it around? Can you in your mind be holding it, and then all of a sudden it turns from green to purple? Do you have the ability to do that? Because for me, I could, no problem. I could hold that, I could throw it, I could take a bite of it, anything I wanted to do with that apple, I could do in my mind. But the shocking part was, as I was listening to this on the podcast, one person, they were stuck. They couldn't do anything but change colors. They couldn't grab it, they couldn't manipulate it. It was stuck there. One person couldn't even change colors of the apple. But I didn't believe this until I tried it on my wife. And my wife, she could change the color—she could go green and red—but she didn't have the ability to manipulate that apple. She couldn't grab that apple, she couldn't throw that apple. I'm juggling this apple, I'm doing all sorts of things with it, but hers is just a stuck image. And I thought that was nuts. I thought just because I had the ability to manipulate things in my mind and control things, that everybody did, but clearly that's not the case. And this leads me down the path of maybe this is why some people can't grasp the topics or the understanding of not living where we've been told we live our entire lives, because they can't visualize it, they can't think outside the green and red apple. Now, I'm not actually saying my wife is an NPC, but I do think our brains operate differently. I do think some are more right, some are more left, some are right down the middle, and some just don't really choose to think. But try it out, guys, because I found it fascinating, and I would love to hear how you did during this little experiment. Put it in the comments, test it on the people around you, and let me know, cause I want to know if I'm in the majority or if I'm in the minority. But something tells me I might be in the minority. But guys, as always, this was all for entertainment purposes. I don't really think my wife is an NPC... (Female voice) Tyler, can you come here?

kouji 🇯🇵

115,567 次观看 • 9 天前

Sam Altman on his method for clear thinking: "I'm a huge notetaker. I go through one of these notebooks every two or three weeks." Sam has a very specific system for thinking clearly through writing. As he puts it: "You definitely want a spiral notebook because one thing that's important is you can rip pages out frequently. I take a bunch of notes and then I clearly rip them out so I can look at multiple pages at the same time, and I can crumple them up and throw them on the floor when I'm done." On why writing matters, even with AGI: "Writing is a tool for thinking, most importantly, and I don't think that's going anywhere. It's really important that people still learn to write for this reason. In the same way that even if there's going to be less traditional coding jobs, coding is a great way to learn to think too; you should still learn to code." His perfect writing environment? "I used to think like, oh, I got to get in the perfect place, and I got to set a time. Now I will take any 11 minutes uninterrupted that I can get sitting in the back of a car, laying in bed, whatever it is." He continues: “If I had a perfect thing it would be Saturday morning with a cup of coffee and nothing scheduled. But most of it happens in short chunks in the back of a car." On his rhythm for deep work: "I'm in the office kind of non-stop all week. I have no time to think, it's just crazy packed. And then on the weekends, I have long, quiet blocks and I'm not really around people. That cycle is very important to me."

Jaynit

641,034 次观看 • 9 个月前

Elon Musk on Grok: “I think an AI that is sort of SpaceX’s baby will be a very good AI. I think SpaceX is a collection of some of the very best humans on Earth, both in capability and morality and goodness, and I think we want to have an AI that is born of that capability and that morality and that goodness. I think that’s very, very important. So I’d like to encourage people to help out, actually, with the AI hardware on the ground and the AI software and, of course, with the AI satellites. Solar is going to be a very important part of that. The TerraFab will be a very important part of that, but we must also succeed on the software front, and we’re going to be training Grok on the sum total of all SpaceX information. So in a way, it will be trained on you. You will effectively be the parents of the AI. It will inherit your thoughts and ideas and beliefs, and I think that’s a good thing. So, yeah, we’ve got to win here on the AI hardware and the AI software. That maybe is the most important message. I think that is actually the most important message I wanted to convey today is that we must win on AI because the future is overwhelmingly AI and robots. So we won’t ultimately be able to control the AI. It’ll be too smart for that. But just like if you have a child that is a super genius child, you can still instill in that child the values and beliefs that you think are good and right. And so that’s why it’s incredibly important that we succeed with Grok. So, yeah, well, Grok 4.5 you’ve tried probably. We’ve got 4.6 coming out in about a week. And then 4.7 should be really pretty special. So I’d like to encourage everyone at SpaceX to use AI and to make it better.”

DogeDesigner

64,434 次观看 • 1 个月前