Release 0.5.2: Archify menu section at the bottom, commands named "Archify | …" #18

Merged
root-at-skic merged 3 commits from fix/archify-menu-section into main 2026-10-10 05:04:55 -07:00
4 changed files with 21 additions and 28 deletions
Showing only changes of commit 0b536f3e10 - Show all commits
+3 -3
View File
@@ -1,9 +1,9 @@
# Changelog # Changelog
## Unreleased ## 0.5.2 — 2026-10-10
- **Right-click menus:** Archify commands (Archify | New Diagram…, Open Preview, Render to HTML File…, Open in Archify HTML Viewer) now sit in their own section at the bottom of the Explorer and editor-tab menus, instead of between New File, New Folder and the other built-in entries. - **Right-click menus:** the Archify commands (Archify | New Diagram…, Archify | Open Preview, Archify | Render to HTML File…, Archify | Open in HTML Viewer) now sit in their own section at the very bottom of the Explorer and editor-tab menus, instead of between New File, New Folder and the other built-in entries.
- The new-diagram command is renamed **Archify | New Diagram…** (was *New Diagram Archify…*). - **All commands are named "Archify | …"**, the same in right-click menus, the editor title bar and the Command Palette: Archify | New Diagram… (was *New Diagram Archify…*), Archify | Open Preview, Archify | Open Preview to the Side, Archify | Render to HTML File…, Archify | Open in HTML Viewer, Archify | Open in Browser, Archify | Refresh Preview, Archify | Show Source.
## 0.5.1 — 2026-10-07 ## 0.5.1 — 2026-10-07
+3 -3
View File
@@ -62,19 +62,19 @@ The Archify CLI and the AI agents that use it write diagrams as JSON, named `nam
- **New diagram from a template**: *Archify | New Diagram…* creates a starter `.archify` file for any of the five diagram kinds, or an everyday plan, in the chosen folder. - **New diagram from a template**: *Archify | New Diagram…* creates a starter `.archify` file for any of the five diagram kinds, or an everyday plan, in the chosen folder.
- **Diagram editor**: `.archify` files open as the rendered diagram. **Show Source** opens the YAML beside it, and edits re-render live. - **Diagram editor**: `.archify` files open as the rendered diagram. **Show Source** opens the YAML beside it, and edits re-render live.
- **Live updates**: the diagram re-renders as you edit, and keeps the focus and route you selected (`#focus=…`, `#route=…`). - **Live updates**: the diagram re-renders as you edit, and keeps the focus and route you selected (`#focus=…`, `#route=…`).
- **HTML viewer**: right-click a rendered `.html` file and choose **Open in Archify HTML Viewer**, or use *Reopen Editor With… → Archify HTML Viewer*. For Archify HTML already open as text, a button appears in the editor title. The viewer reloads when the file changes on disk. - **HTML viewer**: right-click a rendered `.html` file and choose **Archify | Open in HTML Viewer**, or use *Reopen Editor With… → Archify HTML Viewer*. For Archify HTML already open as text, a button appears in the editor title. The viewer reloads when the file changes on disk.
- **Problems**: YAML syntax errors, plus `archify validate`'s schema, layout and evidence problems, appear at the matching line of the `.archify` file. - **Problems**: YAML syntax errors, plus `archify validate`'s schema, layout and evidence problems, appear at the matching line of the `.archify` file.
- **Brand logos**: after `brand:` the editor suggests Archify's built-in brand IDs (PostgreSQL, Redis, Kafka, Docker, …). Typing an alias or product name finds them too, so `kafka` offers `apache-kafka`. An unknown brand is reported on its own line. - **Brand logos**: after `brand:` the editor suggests Archify's built-in brand IDs (PostgreSQL, Redis, Kafka, Docker, …). Typing an alias or product name finds them too, so `kafka` offers `apache-kafka`. An unknown brand is reported on its own line.
- **Schema help**: completion and hover from Archify's own schemas, through the YAML extension for `.archify` files. - **Schema help**: completion and hover from Archify's own schemas, through the YAML extension for `.archify` files.
- **Source links**: in source-backed diagrams, clicking a source reference opens that file and line range in the editor. If the file is not in the workspace, the web link opens instead. - **Source links**: in source-backed diagrams, clicking a source reference opens that file and line range in the editor. If the file is not in the workspace, the web link opens instead.
- **Export**: the diagram's own Export menu (PNG, SVG, share card, …) saves through a VS Code save dialog. - **Export**: the diagram's own Export menu (PNG, SVG, share card, …) saves through a VS Code save dialog.
- **Commands**: *Archify | New Diagram…*, *Archify: Render to HTML File…*, *Archify: Open in Browser*, *Archify: Refresh Preview*, *Archify: Show Source*. - **Commands**: *Archify | New Diagram…*, *Archify | Render to HTML File…*, *Archify | Open in Browser*, *Archify | Refresh Preview*, *Archify | Show Source*.
## Source evidence ## Source evidence
A diagram that declares `meta.repository` and `sources` is verified against a local Git checkout whose `origin` and pinned commit match. The extension uses the Git top-level directory of the diagram file, or `archify.repoRoot` when set. A diagram that declares `meta.repository` and `sources` is verified against a local Git checkout whose `origin` and pinned commit match. The extension uses the Git top-level directory of the diagram file, or `archify.repoRoot` when set.
When verification fails, the default (`archify.sourceEvidence: "fallback"`) still shows the diagram without source links, explains why in a notice, and reports the reason as a warning. Set it to `"strict"` to treat this as an error, as the Archify CLI does. *Render to HTML File…* always verifies strictly and asks before rendering without source links. When verification fails, the default (`archify.sourceEvidence: "fallback"`) still shows the diagram without source links, explains why in a notice, and reports the reason as a warning. Set it to `"strict"` to treat this as an error, as the Archify CLI does. *Archify | Render to HTML File…* always verifies strictly and asks before rendering without source links.
## Settings ## Settings
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "archify-vscode-ext", "name": "archify-vscode-ext",
"version": "0.5.1", "version": "0.5.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "archify-vscode-ext", "name": "archify-vscode-ext",
"version": "0.5.1", "version": "0.5.2",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"yaml": "^2.9.1" "yaml": "^2.9.1"
+13 -20
View File
@@ -2,7 +2,7 @@
"name": "archify-vscode-ext", "name": "archify-vscode-ext",
"displayName": "Archify Diagram Viewer", "displayName": "Archify Diagram Viewer",
"description": "Archify diagrams in VS Code. Write diagrams as .archify files in YAML: they open as the interactive diagram, with live updates, validation, templates and completion. Also previews Archify's own JSON files (*.architecture.json, \u2026) and opens rendered Archify HTML.", "description": "Archify diagrams in VS Code. Write diagrams as .archify files in YAML: they open as the interactive diagram, with live updates, validation, templates and completion. Also previews Archify's own JSON files (*.architecture.json, \u2026) and opens rendered Archify HTML.",
"version": "0.5.1", "version": "0.5.2",
"publisher": "root-at-skic", "publisher": "root-at-skic",
"license": "MIT", "license": "MIT",
"icon": "media/icon.png", "icon": "media/icon.png",
@@ -46,44 +46,37 @@
}, },
{ {
"command": "archify.showPreview", "command": "archify.showPreview",
"title": "Open Preview", "title": "Archify | Open Preview",
"category": "Archify",
"icon": "$(open-preview)" "icon": "$(open-preview)"
}, },
{ {
"command": "archify.showPreviewToSide", "command": "archify.showPreviewToSide",
"title": "Open Preview to the Side", "title": "Archify | Open Preview to the Side",
"category": "Archify",
"icon": "$(open-preview)" "icon": "$(open-preview)"
}, },
{ {
"command": "archify.openHtmlViewer", "command": "archify.openHtmlViewer",
"title": "Open in Archify HTML Viewer", "title": "Archify | Open in HTML Viewer",
"category": "Archify",
"icon": "$(open-preview)" "icon": "$(open-preview)"
}, },
{ {
"command": "archify.renderToHtml", "command": "archify.renderToHtml",
"title": "Render to HTML File\u2026", "title": "Archify | Render to HTML File\u2026",
"category": "Archify",
"icon": "$(file-code)" "icon": "$(file-code)"
}, },
{ {
"command": "archify.openInBrowser", "command": "archify.openInBrowser",
"title": "Open in Browser", "title": "Archify | Open in Browser",
"category": "Archify",
"icon": "$(globe)" "icon": "$(globe)"
}, },
{ {
"command": "archify.refreshPreview", "command": "archify.refreshPreview",
"title": "Refresh Preview", "title": "Archify | Refresh Preview",
"category": "Archify",
"icon": "$(refresh)" "icon": "$(refresh)"
}, },
{ {
"command": "archify.showSource", "command": "archify.showSource",
"title": "Show Source", "title": "Archify | Show Source",
"category": "Archify",
"icon": "$(go-to-file)" "icon": "$(go-to-file)"
} }
], ],
@@ -154,29 +147,29 @@
{ {
"command": "archify.newDiagram", "command": "archify.newDiagram",
"when": "explorerResourceIsFolder", "when": "explorerResourceIsFolder",
"group": "z_archify@1" "group": "zzz_archify@1"
}, },
{ {
"command": "archify.showPreview", "command": "archify.showPreview",
"when": "resourceFilename =~ /(\\.archify|\\.(architecture|workflow|sequence|dataflow|lifecycle)\\.json)$/", "when": "resourceFilename =~ /(\\.archify|\\.(architecture|workflow|sequence|dataflow|lifecycle)\\.json)$/",
"group": "z_archify@2" "group": "zzz_archify@2"
}, },
{ {
"command": "archify.renderToHtml", "command": "archify.renderToHtml",
"when": "resourceFilename =~ /(\\.archify|\\.(architecture|workflow|sequence|dataflow|lifecycle)\\.json)$/", "when": "resourceFilename =~ /(\\.archify|\\.(architecture|workflow|sequence|dataflow|lifecycle)\\.json)$/",
"group": "z_archify@3" "group": "zzz_archify@3"
}, },
{ {
"command": "archify.openHtmlViewer", "command": "archify.openHtmlViewer",
"when": "resourceExtname == .html", "when": "resourceExtname == .html",
"group": "z_archify@2" "group": "zzz_archify@2"
} }
], ],
"editor/title/context": [ "editor/title/context": [
{ {
"command": "archify.showPreview", "command": "archify.showPreview",
"when": "resourceFilename =~ /(\\.archify|\\.(architecture|workflow|sequence|dataflow|lifecycle)\\.json)$/", "when": "resourceFilename =~ /(\\.archify|\\.(architecture|workflow|sequence|dataflow|lifecycle)\\.json)$/",
"group": "z_archify@1" "group": "zzz_archify@1"
} }
], ],
"file/newFile": [ "file/newFile": [