shijimi-editor 0.4.3 → 0.4.4

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 +4 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -17,7 +17,7 @@ The UI is in English by default. To switch it to Japanese, set `ui-language = "j
17
17
  - **LSP configuration** is written in a `languages.toml` that is compatible with Helix's (`.shijimi-editor/languages.toml` or `~/.config/shijimi-editor/languages.toml`). If you are coming from Helix, copy your `languages.toml` to `~/.config/shijimi-editor/`
18
18
  - **Diff mode** (`Space G` / `Ctrl+G` compares with `HEAD`; `Space g` / `:pr` compares with the base of a pull request): switches the whole editor to diff mode. Changed files are listed in a tree (CHANGES), and a changed file opens as the **whole file** in a split (or unified) diff. The right side is editable. The bar on the right edge shows where the changes are, and the parts that changed inside a line are highlighted (see below)
19
19
  - **Image preview** (PNG / JPEG / GIF / BMP / WebP / TIFF)
20
- - **Markdown preview** (`Space m` / `:preview`): renders headings, lists, code and tables, and shows them beside the buffer you are editing. Press it again to show only the preview at full width. Mermaid code blocks are shown as diagrams (see below)
20
+ - **Markdown preview** (`Space m` / `:preview`): renders headings, lists, code and tables, and shows them beside the buffer you are editing. Press it again to show only the preview at full width. Mermaid code blocks are shown as diagrams, and an image written alone on a line is shown as an image (see below)
21
21
  - **Send the current context to an agent** (`Space a` / `Alt+A` / command palette): formats the selection (or the cursor line) as `path:line-line`, the text, and the diagnostics on those lines, and after you check it in a preview, pastes it into the terminal panel (it does not press Enter)
22
22
  - **Suggestions panel and ACP** (`Alt+I` / `Space i`): lists suggestions such as "Resolve the conflicts?", "Create a PR?" and "Investigate the cause of the failure?" in the right panel, based on the state of git, LSP and the terminal. When you pick one, it asks an agent over ACP (Agent Client Protocol), shows the progress and the reply in the panel, and shows changes in diff mode. Comments proposed by an AI review are placed as unsent comments
23
23
  - **Claude Code IDE integration**: Claude Code running in the terminal panel can get the selection, the open files and the diagnostics, and you approve its changes as a diff (Claude Code writes the file after you approve; see "Agent integration" below)
@@ -176,6 +176,8 @@ In a `.md` file, `Space m` (or `:preview`, or the command palette) opens a previ
176
176
 
177
177
  Mermaid diagrams are turned into PNGs with [mermaid-cli](https://github.com/mermaid-js/mermaid-cli) (`mmdc`) and shown. If `mmdc` is not on the PATH, or rendering fails, the source and the error are shown instead of the diagram. `mermaid-command` replaces it with another command (`{in}` is the input, `{out}` the output PNG). Rendered images are kept in `~/.cache/shijimi/mermaid`.
178
178
 
179
+ An image written alone on a line, `![alt](path)`, is shown as an image in the same way. The path is relative to the Markdown file. Images in the middle of a sentence, and images that are not files (such as `https://`), are shown as text.
180
+
179
181
  ## Keys (Helix mode)
180
182
 
181
183
  ### Normal mode
@@ -398,7 +400,7 @@ mkdocs serve --config-file manual/mkdocs.yml
398
400
 
399
401
  The manual has an English page (`name.en.md`, the default) and a Japanese page (`name.ja.md`) for each page. When you change one, change the other too. `manual/check-translations.sh` checks that every page has both languages and the same structure, and CI runs it on pull requests (it also fails when only one language of a page changed; add `[skip-i18n-check]` to the pull request title to skip that part, for a typo fix for example).
400
402
 
401
- The screenshots and the demo video of the home page (`site/images/`) are recorded with [vhs](https://github.com/charmbracelet/vhs). After a change to the screen, run `site/screenshots/record.sh` (it needs Nix) to record them again. The scenes are the tapes in `site/screenshots/tapes/`.
403
+ The screenshots and the demo video of the home page (`site/images/`) are recorded with [vhs](https://github.com/charmbracelet/vhs), and the ones with images and mermaid diagrams are taken in kitty, because they need the Kitty graphics protocol. After a change to the screen, run `site/screenshots/record.sh` (it needs Nix) to record them again. The scenes are in `site/screenshots/tapes/` (vhs) and `site/screenshots/kitty/` (kitty).
402
404
 
403
405
  ## License
404
406
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shijimi-editor",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "VS Code-style terminal IDE with Helix keybindings",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/mm1995tk/shijimi-editor",
@@ -19,9 +19,9 @@
19
19
  "node": ">=18"
20
20
  },
21
21
  "optionalDependencies": {
22
- "shijimi-editor-linux-x64": "0.4.3",
23
- "shijimi-editor-linux-arm64": "0.4.3",
24
- "shijimi-editor-darwin-x64": "0.4.3",
25
- "shijimi-editor-darwin-arm64": "0.4.3"
22
+ "shijimi-editor-linux-x64": "0.4.4",
23
+ "shijimi-editor-linux-arm64": "0.4.4",
24
+ "shijimi-editor-darwin-x64": "0.4.4",
25
+ "shijimi-editor-darwin-arm64": "0.4.4"
26
26
  }
27
27
  }