copilot shellの実装案。

本物のコンソールはこんな感じで進行する。ここで、command1は通常のPowerShellコマンドで、??はLLMへのクエリ。

PS> command1
result1
PS> ?? prompt2
reasoning2
>> command2
confirm: Y
result2
PS> ?? prompt3

同じコンソールが、LLM側からはこう見えるようにする。

PS> command1
result1
PS> #prompt2
PS> #reasoning2
PS> command2
result2
PS> #prompt3
PS> #

この方式だと、めちゃくちゃシンプルなfunction callingが実現するね。

これもchatテンプレート使えないから、手作業でプロンプト作らないと駄目なやつだけど。

@panic A query about #prompt3, which I had been trying on a laptop but now have plugged in an external wheel mouse. The mouse seems to work fine in other apps.

Is there anything special in your configuration for mouse handling? Specifically, middle click paste doesn’t work, and I’m unsure how to start debugging this…

@panic @cabel How good is #Prompt3 with Unicode and #ZeroWidthJoins and #GraphemeClusters? See https://mitchellh.com/writing/grapheme-clusters-in-terminals eg flags and farmers 🧑‍🌾🏴󠁧󠁢󠁳󠁣󠁴󠁿
Grapheme Clusters and Terminal Emulators

Mitchell Hashimoto
@panic When will there finally be an update for #Prompt3 #iOS? Roadmap? Unfortunately it is still not usable. Thx #ConnectAndCrash

@cabel @michael I've been using Prompt 3, full time on my Mac for a couple of weeks now, haven't used the built in Terminal app ever since.

I’m not good at articulating why, but I love it.
I have to use the terminal a couple of hours, each working day. For me this is a little quality of life improvement!.

Thanks for your great work! A happy #prompt3 customer.

I am beyond excited that #Prompt3 by @panic supports #Mosh!!

https://panic.com/prompt/

Prompt 3

The 100% native SSH terminal emulator for Mac, iPhone, iPad, and visionOS.

What's the word on @panic's new #Prompt3 as a local terminal? I know it can do it and seems pretty good. I'm used to a lot of extra stuff available in iTerm2.

I see you can command click on a file and it turns it into a file:// locator, allowing you to open up folders in Finder, etc. Any other magic things like this?

Okay, I’ve tried to post #Prompt3 3 times, but something keeps sticking. #ClassroomMath #ClassroomChem

Truths and/or lies:
1. I have taught longer than I was a student in classrooms.
2. I have never broken a bone.
3. I have tangentially worked for NASA and Bill Nye.

Photo that brings joy: during spring break, we went to Antelope Canyon, which was beautiful!

#prompt3 #mtbos

This is a picture of the famous #MTBoS portal that Bowman promised to get working for us, but other obligations have clearly interfered with his work.

Some truths and maybe a lie or two or three:

1. I attended every Twitter Math Camp
2. I was once fired by Steve Jobs three times in the same day
3. I believe that understanding the psychology of the learning process/cycle is more important to helping students succeed than anything else.

#prompt3 #classroommath #mtbos this brings me joy just because it was a really cool bar in a cool building and is a reminder why I love my city so much.