Пропустить навигацию
Ghostty 1.3 is going to have a preview of AppleScript support.
0:00 / 2:42

Ghostty 1.3 is going to have a preview of AppleScript support.

Mitchell Hashimoto

@mitchellh233 тыс. подписчиков

Открыть в X
1 505 отметок «Нравится»СкачатьОригинальный пост

182 356 просмотров

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 important feature to ship early/now so agentic tools like Claude and Codex can take advantage of a scriptable Ghostty on macOS. I still plan on a generic cross-platform scripting/plugin API (two separate things), but integrating with native features like AppleScript is entirely in scope of the Ghostty mission and like our Shortcuts integration it importantly lets you connect multiple sources since AppleScript can control multiple applications from one script. Note I normally don't ship features so down to the wire with a release, but this one is very isolated in its impact and I'm going to explicit document it in the release notes and website as a preview since I fully expect we're going to iterate a lot on the objects and commands exposed. From a security perspective, Apple already prompts for permission to control different applications so we're covered, but there is a master kill switch you can put in the config, too.

38 комментариев

Комментарии из оригинального поста в X (Twitter)

  • Фото профиля Aleksey Skryl

    @ssskryl

    @DanielleFong Server mode (like tmux) would be 🔥

    12 отметок «Нравится»

  • Фото профиля nick

    @thecsguy

    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

    8 отметок «Нравится»

  • Фото профиля Sadi Moodi

    @MoodiSadi

    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.

    2 отметки «Нравится»

  • Фото профиля Ranmdy

    @Ranmdy_

    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.

    1 отметка «Нравится»

  • Фото профиля Mitchell Hashimoto

    @mitchellh

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

    5 отметок «Нравится»

  • Фото профиля Ranmdy

    @Ranmdy_

    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

    @ImNikhil117

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

    1 отметка «Нравится»

  • Фото профиля Alireza Bashiri

    @al3rez

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

    1 отметка «Нравится»

  • Фото профиля Lira

    @Lira_tron

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

    1 отметка «Нравится»

  • Фото профиля Heather

    @pulse_petal

    Your keyboard sounds amazing. What is it?

    1 отметка «Нравится»

  • Фото профиля Uriah

    @codeitlikemiley

    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 :)

    1 отметка «Нравится»

  • Фото профиля HashAndHustle

    @techbro_1a

    @grok what could be the use cases here ?

  • Фото профиля Vikram

    @WhinerVikram

    Nice, this is very cool!

  • Фото профиля VikingBoer

    @TK512

    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

    @Hft_freedom

    great work

  • Фото профиля Anurag Vishwakarma

    @anurag_30

    I just only need search feature in ghostty.

  • Фото профиля Arthur

    @arthur_gif

    Nice

  • Фото профиля Tiger Abrodi

    @TAbrodi

    👀

  • Фото профиля sab.dev

    @sbkchaudry_dev

    What a G 🙏

  • Фото профиля Phil Cohen

    @philltopia

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