@grifhinz/logics-manager 2.4.0 → 2.5.1
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 +12 -3
- package/VERSION +1 -1
- package/clients/shared-web/media/renderMarkdown.js +1 -1
- package/clients/viewer/browser-host.js +884 -22
- package/clients/viewer/index.html +21 -5
- package/clients/viewer/viewer.css +547 -2
- package/logics_manager/audit.py +2 -2
- package/logics_manager/cli.py +7 -1
- package/logics_manager/insights.py +1 -1
- package/logics_manager/lint.py +2 -2
- package/logics_manager/mcp.py +10 -2
- package/logics_manager/viewer.py +192 -13
- package/package.json +1 -1
- package/pyproject.toml +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/AlexAgo83/logics-manager/actions/workflows/ci.yml)
|
|
4
4
|
[](LICENSE)
|
|
5
|
-

|
|
6
6
|

|
|
7
7
|

|
|
8
8
|

|
|
@@ -230,13 +230,15 @@ npm install -g @grifhinz/logics-manager@latest
|
|
|
230
230
|
If npm reports a successful update but `logics-manager --version` still shows an older version, another installation is earlier on `PATH`. Diagnose it with:
|
|
231
231
|
|
|
232
232
|
```bash
|
|
233
|
-
|
|
233
|
+
type -a logics-manager
|
|
234
|
+
whence -a logics-manager # zsh
|
|
235
|
+
pipx list
|
|
234
236
|
npm prefix -g
|
|
235
237
|
npm list -g @grifhinz/logics-manager --depth=0
|
|
236
238
|
"$(npm prefix -g)/bin/logics-manager" --version
|
|
237
239
|
```
|
|
238
240
|
|
|
239
|
-
If the direct npm binary shows the expected version, remove the older Python install or move the npm global `bin` directory earlier on `PATH`.
|
|
241
|
+
If the direct npm binary shows the expected version, remove the older Python install or move the npm global `bin` directory earlier on `PATH`. In zsh, run `rehash` or open a new terminal after changing installs so the shell forgets any cached command location.
|
|
240
242
|
|
|
241
243
|
## VS Code Extension
|
|
242
244
|
|
|
@@ -379,6 +381,13 @@ Use these as quick starting points when you want the plugin or the shared Logics
|
|
|
379
381
|
- If you think "the system should..." -> spec
|
|
380
382
|
- If you think "let's do..." -> task
|
|
381
383
|
|
|
384
|
+
Companion doc statuses are intentionally separate from workflow statuses:
|
|
385
|
+
product briefs use `Draft`, `Proposed`, `Active`, `Accepted`, `Validated`, `Rejected`,
|
|
386
|
+
`Superseded`, `Settled`, or `Archived`; ADRs use `Draft`, `Proposed`,
|
|
387
|
+
`Accepted`, `Validated`, `Rejected`, `Superseded`, `Settled`, or `Archived`.
|
|
388
|
+
Use `Settled` when the subject is closed, consumed by delivery, and no longer
|
|
389
|
+
needs active attention without implying that the document has been archived.
|
|
390
|
+
|
|
382
391
|
<table>
|
|
383
392
|
<tr>
|
|
384
393
|
<td align="center">
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.5.1
|
|
@@ -337,7 +337,7 @@
|
|
|
337
337
|
.preview__body a{color:#0369a1;}
|
|
338
338
|
.markdown-preview__diagram svg{max-width:100%;height:auto;}
|
|
339
339
|
.markdown-preview__mermaid-fallback{margin-top:10px;padding:10px 12px;border-radius:10px;color:#991b1b;background:#fee2e2;border:1px solid rgba(248,113,113,.35);}
|
|
340
|
-
</style></head><body><div class="preview"><header class="preview__header"><h1 class="preview__title">${safeTitle}</h1><p class="preview__source">File: <code>${safeSourceLabel}</code></p></header><main class="preview__body">${renderedHtml}</main></div><script src="/
|
|
340
|
+
</style></head><body><div class="preview"><header class="preview__header"><h1 class="preview__title">${safeTitle}</h1><p class="preview__source">File: <code>${safeSourceLabel}</code></p></header><main class="preview__body">${renderedHtml}</main></div><script src="/vendor/mermaid.min.js"></script><script>
|
|
341
341
|
(() => {
|
|
342
342
|
const fallbackNodes = Array.from(document.querySelectorAll(".markdown-preview__mermaid-fallback"));
|
|
343
343
|
const showFallback = (message) => {
|