Ytides — the editor extension
Git remembers what changed. Ytides remembers what broke, why and what fixed it.
This extension shows you, where you are already working, what Ytides knows
about your project. It does nothing on its own: everything it shows comes from
ytides, the command Ytides puts on your machine.
Before you start
Ytides is set up once. In a terminal in your home folder (never inside a
project, where npx could run a ytides the project carries), run
npx ytides setup (on Windows, in PowerShell, npx.cmd ytides setup). It
connects your AI tools and your terminal, and offers to sign you in. Then do
what its last line says: it says how to start ytides in your project from the
shell you ran it in.
You can also run Ytides: Start remembering this project from the Command
Palette, in a terminal you can watch. If Ytides is not set up on this computer
yet, it runs the same setup in your home folder first; then it goes to the
project and starts ytides there. If it is set up already, it only starts
ytides in the project, and sets nothing up again.
Ask your project
Click the Ytides mark in the activity bar, or run Ytides: Ask your project,
and ask about this project in plain words: why something is the way it is, who
changed a file and when, what was tried, what broke and what fixed it, and how
to use Ytides. Every sentence of an answer names where it comes from — a
prompt, a commit, a decision or a fix — and a click on a source opens it.
Ytides answers only from this project's own history, says so when there is no
record of something, and does not answer questions about anything else. It
never edits a file or runs a command.
Under the box: the model that answers (Auto, or one you choose; a model from a
company you have not allowed is greyed, with Allow on the website), and how
many of this month's questions are left. Type / for the commands: /model,
/usage, /review (opens Review), /help, /clear and /why <file>. A command
is answered in the panel: it is never sent as a question and never counted.
Your question is asked by ytides, with this computer's own sign-in, and goes
to the model that answers it; Ytides keeps neither the question nor the
answer. A project you keep private is never asked about.
Signing in
The chat's Sign in button opens your browser on the Ytides website. Press
Authorize there, and you come back to the editor by itself, signed in on this
computer — the editor and your terminal share one sign-in. Where the browser
cannot come back (over a remote connection), choose Paste a code instead
and paste the code the page shows. The editor never sees or keeps your sign-in
itself.
The graph in Source Control
Under Git's own Graph in the Source Control side bar, the Ytides view draws
this project's commits and its AI chats on one line: a round dot for a commit,
a diamond for a prompt, a dashed line from a prompt to the commit it made. The
buttons in the view's title bar switch between both together, the code alone,
and the AI chats alone. Click a row to see it beside your editor: your own
prompt in full (a teammate's prompts are only ever shown to them), what the AI
did, the files and lines it changed — each opens the file at that line — the
commands it ran and the commit it made. A private project's history is read on
this computer only.
Review
In the Ytides side bar, Review lists what is waiting for your yes or no in
this project — what Ytides noticed (did this change fix it? an approach that
was dropped), and what an AI tool recorded — the same things ytides asks you
in a terminal. Each one has four buttons: Confirm, Reject, Say it in
my words and Later. Say it in my words opens ytides in a terminal,
where you type /review and then your own words; nothing is sent from the
button. An answer is only ever your own click or typing: the extension
never answers for you, nothing an AI tool runs in the editor can answer through
it, and an answer from a shell an AI tool says it started is refused. Your
answer is kept on this computer, as one in the terminal is, and reaches your
account the way every answer does. Saves held for review, and what your
teammates recorded, are answered on the Ytides website's Review page.
The fix that worked before
When a command fails in the integrated terminal, and you confirmed the fix that
worked for exactly that failure in this project before, a notification says
that fix — once in each terminal for each failure. Show opens ytides in a
terminal, which shows it and how long it held; Turn these off switches them
off (Settings: Ytides: Fix Hints, ytides.fixHints). Only a fix somebody
confirmed is ever suggested, never a guess. It is matched on this computer,
from what Ytides already knows, and nothing is sent for it. A terminal the
notification was about does not also print it as a line; any other terminal
still can.
What it shows
- The status bar. "Seen this before" when something that is failing has
been fixed before; click it to see what fixed it. "N to confirm" when
something is waiting for your yes or no. In a project Ytides is not
remembering yet, an offer to start: nothing is read or kept until you take
it.
- A hover on any file. The decisions confirmed about it, and how many more
are waiting.
- A question after a commit. Never while you type, and at most five a day:
how many things are waiting, and whether to answer them now. Only a yes
opens
ytides in a terminal; no, not now or closing it opens nothing.
Commands
In the Command Palette, under "Ytides":
- Start remembering this project
- Why is this file the way it is?
- Answer what is waiting
- Copy the context to the clipboard
- Save the context to a file…
- Show the context for this project
- Fetch the latest context into this project
- Choose AI model: pick which model each job uses (reading your AI chats, documents, uploads and the
ytides session). A model from a company you have not allowed shows that company's terms, with a button that opens the page where you allow it; nothing is allowed from the editor.
- Ask your project: opens the chat in an editor tab. The
ytides session in a terminal is still there too: run ytides and ask.
- Sign in: signs this computer in, in your browser, and comes back by itself.
- Show code and AI chats together, Show the code graph, Show the AI chats graph: what the graph in Source Control draws.
- Refresh what is waiting: lists Review again.
On each row of Review: Confirm, Reject, Say it in my words and Later. Say it in
my words opens ytides in a terminal, where you type /review and put it in
your own words: your words are only ever typed by you, never sent from a button.
The terminal
In a project Ytides is remembering, and that is not private, each command the
integrated terminal runs is handed to ytides, with its exit code and what it
printed, and anything that looks like a secret is taken out first. What a
command printed stays on this machine and is never sent. This needs VS Code
1.93 or newer.
Keeping a project private
Tick Ytides: Private in Settings (ytides.private), and a terminal opens
with ytides private typed in it. Type the project's name there, and the project
is private on this machine: nothing about it is recorded or sent, and nothing
from it is offered in your other projects, and your account is told too, if it
already has the project. Until you type the name, nothing changes: a setting is
a file in the project, and it is you, at a terminal, who decides. Untick it for
ytides private off in the same way. If you own the project and your account
holds it private for everyone in it, only the website can open it for everyone.
The extension itself never opens what Ytides keeps, and never reaches the
internet: what it shows from your account, and every question you ask, goes
through ytides. What Ytides keeps, and what it sends to your account, is set out on
the privacy page of the Ytides website.