yvsaicode 0.3.6 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +84 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -33,7 +33,9 @@ written to the directory you run it in
33
33
  - [Extending yvsai](#extending-yvsai)
34
34
  - [Sessions](#sessions)
35
35
  - [The interface](#the-interface)
36
+ - [Feedback](#feedback)
36
37
  - [Command reference](#command-reference)
38
+ - [Telemetry](#telemetry)
37
39
  - [Configuration and files](#configuration-and-files)
38
40
  - [Third-party software](#third-party-software)
39
41
  - [License](#license)
@@ -95,6 +97,18 @@ for the private screen ship inside it.
95
97
  `/deps` lists anything else a feature on this machine would need, and
96
98
  `/deps install` offers to install it.
97
99
 
100
+ **When something is wrong**, `yvsai doctor` checks the install, the
101
+ providers, the extensions and the system from the shell. It starts nothing,
102
+ so it works when the app will not open, and it names the fix for each
103
+ problem. `-v` adds the detail, and `--json` gives the same report for a bug
104
+ report. It exits `1` when something is broken.
105
+
106
+ `/doctor` is the same check in the app. Enter on a row runs its fix, the
107
+ last row hands what is left to the model, and `/doctor save` writes the
108
+ report to a file without sending it. A quick check also runs by itself:
109
+ after a start that did not end cleanly, when a feature fails, after an
110
+ update, and once a day. It speaks only when it finds a problem.
111
+
98
112
  **Updates install themselves.** Once a day a terminal asks npm for the
99
113
  newest release, installs it in the background and says to restart.
100
114
  Where npm's folder needs sudo it says the command instead.
@@ -480,12 +494,17 @@ The prompt carries one line per skill, and the body loads on demand.
480
494
  - **Bundled.** Fourteen skills of the Superpowers development workflow
481
495
  ship with yvsai: brainstorming, writing and executing plans,
482
496
  test-driven development, systematic debugging, code review, git
483
- worktrees and more.
497
+ worktrees and more. A fifteenth, `yvsai`, is the program's own manual:
498
+ what each feature does, where its files are and how to fix it.
484
499
  - **`/skills install`** takes `owner/repo`, a GitHub link, a folder or an
485
500
  archive. The skill's scripts are flagged, and they run only through
486
501
  the permission gate.
487
502
  - **Drafts.** The model may draft a skill; `/skills accept` is what makes
488
503
  it live.
504
+ - **Type one by name.** A slash and the skill's name (a plugin's too,
505
+ with or without its prefix) sends your line to the model with that
506
+ skill loaded, and the `/` list offers every skill beside the commands.
507
+ A built-in command keeps its name.
489
508
 
490
509
  ### MCP servers
491
510
 
@@ -505,6 +524,10 @@ The prompt carries one line per skill, and the body loads on demand.
505
524
  - **`/plugin install`** takes plugins in the Claude Code, Codex and Agent
506
525
  Plugins layouts: skills, commands, agent types, themes, MCP servers,
507
526
  hooks and programs.
527
+ - **Sources.** A marketplace entry, a GitHub repository, a git URL, a
528
+ folder, an archive, or an npm package (`npm:name@1.2.3`). From npm,
529
+ only the package's files are installed: its dependencies are not
530
+ installed and its install scripts do not run, which the card says.
508
531
  - **Marketplaces.** Anthropic's and OpenAI's marketplaces are built in.
509
532
  - **Pinned and fenced.** Every source is pinned to a commit or a
510
533
  checksum, and a plugin's programs run fenced.
@@ -629,6 +652,29 @@ The terminal's title follows the conversation.
629
652
  | Ctrl-P | parameters |
630
653
  | `/` · `?` | command palette · every key that applies now |
631
654
 
655
+ ## Feedback
656
+
657
+ `/feedback <what happened>` sends a report to yvsai's developer, and you
658
+ see all of it first. The report is your words, the version, OS and
659
+ architecture, the names of the settings you changed (a value only for a
660
+ setting with a fixed list of choices), a quick health check, and the
661
+ tail of this session's trace. The trace records event kinds, tool names
662
+ and outcomes; arguments and results pass through redaction, which
663
+ writes your home folder as `~`, puts placeholders for your login and
664
+ host name, and takes out emails, IP addresses, the query of a web
665
+ address and keys. It works by shape, so read the card. The whole report is shown on the approval
666
+ card before anything leaves. One answer on the card sends it without the
667
+ trace. Bare `/feedback` asks for the words.
668
+
669
+ A report gets a ticket number. `/feedback status` lists your tickets and
670
+ the replies to them, and a terminal checks once a day for a reply to an
671
+ open ticket and tells you at your next message. The same words sent
672
+ twice in a day keep their first ticket.
673
+
674
+ The model can offer to send a report when you ask, or when it meets what
675
+ looks like a bug in yvsai. It always shows you the same card, even under
676
+ `/yolo`, and nothing is ever sent without it.
677
+
632
678
  ## Command reference
633
679
 
634
680
  `/help` lists every command, and the palette offers each command's verbs
@@ -645,7 +691,41 @@ as you type.
645
691
  | Sessions | `/new` `/resume` `/search` `/rewind` `/compact` `/context` `/qq` `/edit` `/save` `/export` `/img` `/diff` `/undo` `/sessions` |
646
692
  | Extending | `/skills` `/mcp` `/plugin` `/init` |
647
693
  | Desktop and phone | `/screen` `/telegram` `/shell` `/open` |
648
- | Look and system | `/skin` `/config` `/health` `/deps` `/log` `/help` `/quit` |
694
+ | Look and system | `/skin` `/config` `/health` `/doctor` `/deps` `/log` `/telemetry` `/feedback` `/help` `/quit` |
695
+
696
+ ## Telemetry
697
+
698
+ yvsai tells its developer what is used and when it breaks, under a random
699
+ id that is not tied to you. The first start shows a card saying so, with
700
+ three answers: keep it on, failures only, or turn it off. Nothing is sent
701
+ before that card has been shown.
702
+
703
+ - **What is sent.** Once a day, a count of each finished day: which
704
+ commands and tools ran, how many succeeded or failed and the error's
705
+ class; the provider by name where it is a built-in preset, and the
706
+ model where it is a public model on a hosted preset — a model on a
707
+ server on your own machine or network is `local`, never its name;
708
+ plugins, MCP servers and skills by name
709
+ where they ship with yvsai or come from a built-in marketplace; and the
710
+ names of the settings you changed (the value only for fixed choices and
711
+ switches). When yvsai itself fails, a report: the error's class, the
712
+ places in yvsai's own code it went through, and for a system error its
713
+ code (`ENOENT 2`). The same failure is sent once a day at most.
714
+ - **What is never sent.** A prompt, an answer, a file name, a path, a
715
+ command's arguments, a key, an error's message, or the name of anything
716
+ you made yourself — those are counted as `custom`.
717
+ - **What you can see.** `/telemetry` shows the level, today's counts and
718
+ the first characters of the id; `/telemetry sent` lists every copy that
719
+ left this machine and opens each one.
720
+ - **How to turn it off.** `/telemetry off` (or `/telemetry failures`),
721
+ `DO_NOT_TRACK=1`, or `YVSAI_TELEMETRY=off`. Turning it off deletes the
722
+ counts not yet sent, and reaches every terminal already open. Anything
723
+ typed on the first start's card turns it off too. `/telemetry forget`
724
+ asks the server to delete everything this id sent, feedback included
725
+ (its replies can then no longer be read), deletes the copies kept here,
726
+ then starts a new id.
727
+
728
+ Sub-agents, `yvsai -p` and scheduled runs count and send nothing.
649
729
 
650
730
  ## Configuration and files
651
731
 
@@ -668,6 +748,7 @@ Everything yvsai keeps is under one folder:
668
748
  ├── plugins/ installed plugins, each pinned
669
749
  ├── bin/ the llama.cpp build and other helpers yvsai installed
670
750
  ├── logs/ server and tool logs
751
+ ├── telemetry/ the random id, today's counts and a copy of what was sent
671
752
  └── cache/ safe to delete
672
753
  ```
673
754
 
@@ -678,6 +759,7 @@ Everything yvsai keeps is under one folder:
678
759
  - **Environment variables.**
679
760
  - `YVSAI_HOME` moves the whole folder.
680
761
  - `YVSAI_NO_SETUP` skips the first-start choices.
762
+ - `DO_NOT_TRACK=1` or `YVSAI_TELEMETRY=off` sends no telemetry.
681
763
  - `YVSAI_NO_LINKS` turns clickable links off.
682
764
  - `YVSAI_USER_AGENT` sets what `fetch` sends.
683
765
  - `HF_TOKEN` is read for gated Hugging Face models.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yvsaicode",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "Agentic terminal client for local and hosted models: tools, a kernel sandbox, bundled skills, memory, sub-agents, background jobs, scheduling and a phone bridge. Drives llama.cpp locally or any OpenAI-compatible API.",
5
5
  "keywords": [
6
6
  "ai",
@@ -30,7 +30,7 @@
30
30
  "node": ">=18"
31
31
  },
32
32
  "optionalDependencies": {
33
- "yvsai-linux-x64": "npm:yvsaicode@0.3.6-linux-x64"
33
+ "yvsai-linux-x64": "npm:yvsaicode@0.3.7-linux-x64"
34
34
  },
35
35
  "repository": {
36
36
  "type": "git",