Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 04:45
· 20 commits to main since this release
  • Other programs can ask the assistant. pn-scripts-assistant mcp
    makes the assistant a Model Context Protocol server for Claude Code
    (claude mcp add pn-scripts-assistant -- pn-scripts-assistant mcp),
    Claude Desktop and Cursor. They can ask whether the assistant is
    running and which programs are installed on this computer (search by
    name, removed ones with their day), and, when you allow it, the two
    things further down. Nothing they ask changes anything.
    It passes each question to the running assistant on this computer only,
    and says so when none is running or the terms of use are not accepted.
    No file, mail or conversation is handed over. Guide:
    "Other programs asking the assistant". Every build is asked by the MCP
    project's own client (@modelcontextprotocol/client 2.4.0) in both the
    2025 and the 2026-07-28 form of the protocol; its first run found that
    the current form was sent a list of tools without the two caching fields
    it requires, which that client refuses, and they are sent now.
  • You decide what other programs may ask, and see who asked. The
    Programs page has a new card, "What other programs may ask". Whether the
    assistant is running is always answered; the list of installed programs
    is off until you switch it on there, on a new installation and after an
    update alike, and a program that asks while it is off is told to ask you.
    The switch is set at this computer, never from another device or a web
    page, and every change of it is on the record. Every question from
    another program is written in "What I did" with "Asked by" and the name
    the program gave, answered or not, and the last five are listed under
    the switch. A program is told a program's name, version and source,
    never where it is or how it is started. Whatever another program asks
    for beyond these questions is put to you first, with who asked on its
    card and yes or no for that once, whatever you have allowed for
    yourself; another program can never give that yes.
  • Other programs can ask the assistant a question and search what it
    remembers, when you allow it.
    Two more switches on the card "What
    other programs may ask", each off until you turn it on, and each saying
    under it what turning it on means. "Questions to me, answered in words":
    the assistant answers with the model on this computer and no other, one
    question at a time and yours first (a program's question still with the
    model is given up the moment you ask something); it does nothing for the
    program that asks, learns nothing from the question, and knows nothing
    about you unless the second switch is on too. "Searching what I remember about
    you": a search hands over the few remembered things closest to it (5, at
    most 10), each cut short, never the whole memory; a remembered thing can
    name the file it was learned from. A slow answer is fetched by the asking
    program with a ticket, so a program that gives up after a minute still
    gets it. Turning a switch off also takes back a question in hand and an
    answer not yet fetched. Each question with the start of its answer, and
    each search with how much it handed over, is in "What I did" with who
    asked.
  • Claude Code's permission questions can wait for you in the
    assistant's window.
    A fourth switch on the card "What other programs
    may ask": "Their own permission questions, put to you here", off until
    you turn it on. Claude Code run without a window
    (claude -p ... --permission-prompt-tool mcp__pn-scripts-assistant__permission_prompt) then puts each permission
    question under "Waiting for you" with who asks and what for: the command
    it wants to run, the file it wants to write, change or read, the address
    it wants to open. Approve or Reject on the card goes back to it. The
    assistant answers none of them itself (no model, no rule, no "everything
    allowed"), and neither does "approve everything waiting" or a paired
    device: the answer is the one given on the card. A line break inside a
    command is shown as ↵, a command too long to show is said to be cut, and
    whatever else the tool would be given is named. A yes is for that once; a question nobody answers within ten
    minutes is a no; at most three wait at once; turning the switch off or
    closing the assistant answers the waiting ones no. Each question and how
    it ended (allowed or refused on its card, nobody answered) is in "What I
    did" with who asked.
  • What another program asks you is answered only in the assistant's own
    window, and so are the switches for what programs may ask.
    A program on
    this computer could post the answer to a card, or turn a switch on, with
    one request to the assistant's address: nothing told it from the window.
    The window is now given a key when it opens, which lasts until it closes,
    and without it these are refused, with the reason said on the page: an
    answer posted to a card, a change of "What other programs may ask", a
    pairing code, and opening the assistant to the network or the internet.
    A card another program put there (its permission questions among them) is
    answered in that window only: not by "approve everything waiting", said or
    typed, and not from a paired device. Nothing changes in the window itself.
    A browser pointed at the address shows everything and answers no card;
    where there is no window, pn-scripts-assistant serve started in a
    terminal prints a link that works once and gives one browser tab the key
    (-desk-link prints it anywhere). A device paired with every right
    answers the assistant's own cards as before. What this does not stop is
    in "Known limits".
  • A question from another program says who asked from the first moment.
    The question and the program's name were written one after the other,
    so for an instant the card could be read as one of your own.
  • A yes to another program is not counted as your habit. The
    suggestion "you always approve this, stop asking?" counted the cards
    another program had asked for too. It now counts only what you asked for
    yourself.
  • pn-scripts-assistant mcp ends when it is told to. Sent a signal to
    stop while its client still held its input open, it went on waiting for
    the next line. It now stops at once and gives up what it has in hand.
  • A program that asks in a loop is stopped. At most 30 questions a
    minute are answered, from all programs together; the ones over that are
    refused and written on the record as one line.
  • The assistant's own entry is not offered for import. After that
    set-up, "Found in your other programs" lists the entry as the assistant
    itself, with nothing to import.
  • A shell is a shell however its name is capitalised. An MCP entry in
    another program that starts CMD.EXE or PowerShell.Exe is refused as a
    shell, as cmd.exe already was.
  • A program's "never" reaches the whole line. A command is now also
    read through sudo, doas, pkexec, xargs, busybox, script -c,
    systemd-run and eval, and a "never" on a program's card refuses a
    command that would start it anywhere in a shell line (after the first
    command, inside a nested line, in what is substituted) or that a
    one-line script names (python3 -c, perl -e, node -e, php -r).
  • "Always" on a menu program follows what it was given for. A menu
    entry has no version, so its "always" used to stay whatever happened.
    It is now given to the entry's Exec line and to the file that line
    really starts: after an update, a changed Exec line, or a same-named
    file put earlier where programs are looked for, you are asked again and
    the question says why. An "always" you gave a menu program in 1.1.0 is
    asked about once.
  • Import and Approve are for the card you saw. If an MCP server's
    entry is rewritten between the page showing it and your click, it is
    not imported or approved; the page shows it as it is now and says so.
  • MCP entries: keys seen, look-alikes let through. A key after -p
    and flags written like --accessToken=... are now recognised as keys
    in a command, and --token-limit, --key-bindings, --pass-through
    or a description that mentions bearer tokens no longer stop an entry
    from being imported. A setting kept sealed only because its value looks
    like a key is asked about again when that value changes.
  • Asking your own Claude: linked folders are followed first. A file
    reached through a folder that is a link is checked, shown and read
    where it really is, so a protected file cannot be handed over, or an
    answer saved into a protected folder, through such a link.
  • Quiet hours: a held question is judged as the one who asked. A
    "never" you gave one member of the team is now seen when a question of
    theirs, held for the quiet hours, comes up to answer itself.
  • Fixed: text that began like the assistant's own sealed text could make
    a whole list unreadable.
    What is personal is kept sealed on disk, and a
    sealed value is recognised by how it begins. A message, a page's text, a
    mail's subject or a to-do that happened to begin with the same mark
    (pnsealed1:) was taken for sealed, written as it came, and from then
    on that conversation, record or list could not be read.
    Now such text is kept and sealed like any other text, in every table,
    and reads back exactly as it was written. If an older version left such
    text behind, the first start of this version seals it properly and the
    list can be read again; nothing needs to be done. Text saved by an older
    version that begins exactly as a sealed value does, past the mark, cannot
    be told from a damaged value and stays unreadable.
  • Fixed: a setting that began like sealed text read as not set. In the
    settings file only secrets and who you are are sealed. A calendar user
    name, an address or a name that began with the same mark (pnsealed1:),
    or a password saved that way before the assistant had its key, read back
    as empty. Now only those personal settings are ever opened, and every
    other setting reads exactly as it was written; a sealed value copied into
    a setting that is not personal stays sealed and is never shown opened.
  • The pairing code is shown only in the assistant's own window. While
    you pair a phone, another program on this computer could read the code
    from the assistant and claim it first. Now the code is given only to the
    window that offered it.
  • A card that cannot be read is not answered from another device. If
    the assistant cannot read a waiting card, a paired device is told so and
    nothing is decided, instead of the answer going further.
  • On a paired device, a card another program asked for says where it is
    answered.
    Such a card is answered at the computer, in the assistant's
    own window. A phone or another computer showed Approve and Reject on it
    anyway, and pressing one gave a refusal in English only. Now the card
    shows who asked and one line, in your language, in place of the buttons.
  • The devices page says its own reason. Pairing a device, and what may
    reach the assistant, pressed in a browser that is not the assistant's
    window, said "Answers on cards and these switches"; it now names pairing
    and reach, in both languages.
  • Fixed: the count beside "Waiting for you" lagged behind. After the
    last card was answered it still said 1 for up to five seconds above an
    empty list. It now follows the cards as they are drawn, and a lesson
    decided is counted at once too.
  • The window's key is proved in the Windows window. Every build opens
    the real Windows window, ticks a switch in it and checks
    that the assistant kept it, after checking that a program on the same
    computer could not do the same without the window.