@youtyan/code-viewer 0.11.1 → 0.12.0
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.
- package/README.md +14 -1
- package/dist/code-viewer.js +2290 -1116
- package/package.json +1 -1
- package/web/app.js +1420 -553
- package/web/style.css +172 -8
package/README.md
CHANGED
|
@@ -68,6 +68,18 @@ Requires Node.js 20 or newer. Development uses
|
|
|
68
68
|
bottom tier is the tmux sessions no shell has opened yet. Each pane is
|
|
69
69
|
labelled with the title tmux shows for it — a coding agent usually puts what
|
|
70
70
|
it is doing there, so the tree alone tells you which pane is busy.
|
|
71
|
+
- Terminal status combines lifecycle reports with priority-based matching of
|
|
72
|
+
the live terminal title and recent visible lines. Matching rules can report
|
|
73
|
+
working, waiting, idle, or keep the previous state. A target is tracked only
|
|
74
|
+
after a lifecycle report or a visible rule identifies it; screen motion is
|
|
75
|
+
then used as a fallback. A working match expires when its title and screen
|
|
76
|
+
stop changing, so a stale status line does not stay active. Edit the complete
|
|
77
|
+
JSON rule set under Settings & Help → Settings. Its regular expressions use a
|
|
78
|
+
bounded safe subset; combine conditions with `all` / `any`. Invalid changes
|
|
79
|
+
list every validation error and do not replace the active rules; restoring
|
|
80
|
+
the built-in set removes the saved override so later releases can supply
|
|
81
|
+
updated defaults. The editor includes an expandable field guide, a valid
|
|
82
|
+
example, and live JSON syntax highlighting.
|
|
71
83
|
- Click a pane and the panel takes you to it. If a shell already has that
|
|
72
84
|
session open, it switches to that shell and makes the pane current; otherwise
|
|
73
85
|
a shell is opened and attached for you. A session moves up to the top tier the
|
|
@@ -264,7 +276,8 @@ palette, Ctrl+G grep palette, the Datastores browser, and the file change
|
|
|
264
276
|
watcher — the same list applies to all five. Both the skip list and the hide
|
|
265
277
|
list accept gitignore-style wildcards (`*`, `?`, `[abc]`, `[!abc]`) in
|
|
266
278
|
addition to exact names. Everything you change in Viewer
|
|
267
|
-
Settings
|
|
279
|
+
Settings remains a local draft until you select **Save changes**, then it is
|
|
280
|
+
saved on the server under `.code-viewer/settings.json` (no
|
|
268
281
|
separate project-level config file). `.DS_Store` and a broad set of
|
|
269
282
|
build/cache directories (`node_modules`, `dist`, `build`, `.next`, `.turbo`,
|
|
270
283
|
`.parcel-cache`, `.vite`, `.angular`, `.dart_tool`, `.venv`, …) are hidden by
|