semantic-atlas 2.0.0 → 2.1.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 +23 -2
- package/dist/application/map-application.d.ts +11 -0
- package/dist/application/map-application.d.ts.map +1 -1
- package/dist/application/map-application.js +21 -1
- package/dist/application/map-application.js.map +1 -1
- package/dist/cli/run-cli.d.ts +2 -0
- package/dist/cli/run-cli.d.ts.map +1 -1
- package/dist/cli/run-cli.js +47 -2
- package/dist/cli/run-cli.js.map +1 -1
- package/dist/contracts/cli.d.ts +8 -0
- package/dist/contracts/cli.d.ts.map +1 -1
- package/dist/map/business-graph.d.ts +1 -0
- package/dist/map/business-graph.d.ts.map +1 -1
- package/dist/map/business-graph.js +10 -0
- package/dist/map/business-graph.js.map +1 -1
- package/dist/rendering/html.d.ts +3 -0
- package/dist/rendering/html.d.ts.map +1 -0
- package/dist/rendering/html.js +12 -0
- package/dist/rendering/html.js.map +1 -0
- package/dist/rendering/map-camera.d.ts +25 -0
- package/dist/rendering/map-camera.d.ts.map +1 -0
- package/dist/rendering/map-camera.js +47 -0
- package/dist/rendering/map-camera.js.map +1 -0
- package/dist/rendering/map-projector.d.ts +8 -1
- package/dist/rendering/map-projector.d.ts.map +1 -1
- package/dist/rendering/map-projector.js +106 -169
- package/dist/rendering/map-projector.js.map +1 -1
- package/dist/rendering/viewer-browser.d.ts +2 -0
- package/dist/rendering/viewer-browser.d.ts.map +1 -0
- package/dist/rendering/viewer-browser.js +279 -0
- package/dist/rendering/viewer-browser.js.map +1 -0
- package/dist/rendering/viewer-page.d.ts +29 -0
- package/dist/rendering/viewer-page.d.ts.map +1 -0
- package/dist/rendering/viewer-page.js +438 -0
- package/dist/rendering/viewer-page.js.map +1 -0
- package/dist/web/local-web-application.d.ts +9 -0
- package/dist/web/local-web-application.d.ts.map +1 -0
- package/dist/web/local-web-application.js +29 -0
- package/dist/web/local-web-application.js.map +1 -0
- package/dist/web/local-web-server.d.ts +12 -0
- package/dist/web/local-web-server.d.ts.map +1 -0
- package/dist/web/local-web-server.js +71 -0
- package/dist/web/local-web-server.js.map +1 -0
- package/dist/web/web-command-service.d.ts +16 -0
- package/dist/web/web-command-service.d.ts.map +1 -0
- package/dist/web/web-command-service.js +50 -0
- package/dist/web/web-command-service.js.map +1 -0
- package/docs/architecture.md +34 -7
- package/docs/product-contract.md +9 -4
- package/package.json +1 -1
package/docs/architecture.md
CHANGED
|
@@ -106,10 +106,32 @@ ambiguity explicitly rather than selecting a hidden match.
|
|
|
106
106
|
|
|
107
107
|
### MapProjector
|
|
108
108
|
|
|
109
|
-
Builds deterministic
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
109
|
+
Builds deterministic repository-wide and top-level-domain graph projections
|
|
110
|
+
for people and agents. A domain projection keeps directly connected external
|
|
111
|
+
concepts as visible boundary nodes. Every projection distinguishes semantic
|
|
112
|
+
containment from directed horizontal relations and preserves stable element
|
|
113
|
+
identities for repeatable layout and inspection.
|
|
114
|
+
|
|
115
|
+
### ViewerPage
|
|
116
|
+
|
|
117
|
+
Owns the compact human inspection surface shared by static export and Web. It
|
|
118
|
+
combines project and business-domain selection, map statistics, a restrained
|
|
119
|
+
legend, pan, zoom, and fit-to-view around deterministic SVG projections. Cards
|
|
120
|
+
render stable business meaning only. Pointer or keyboard selection opens the
|
|
121
|
+
node's navigation anchors in an overlaid desktop side panel or narrow-screen
|
|
122
|
+
bottom panel without relaying out the graph. Camera coordinates use the SVG
|
|
123
|
+
`xMidYMid meet` scale and letterbox offsets for both pointer zoom and pan. Its
|
|
124
|
+
browser interaction state is disposable and never enters tracked map data.
|
|
125
|
+
|
|
126
|
+
### LocalWebApplication And LocalWebServer
|
|
127
|
+
|
|
128
|
+
`LocalWebApplication` reloads only the repository paths supplied by the CLI and
|
|
129
|
+
renders the shared Viewer. `LocalWebServer` binds to `127.0.0.1`, serves GET and
|
|
130
|
+
HEAD, rejects mutation methods, and accepts no repository path from HTTP. The
|
|
131
|
+
server owns transport lifetime only; map loading, validation, layout, and HTML
|
|
132
|
+
remain in their existing application and rendering owners. When allowed
|
|
133
|
+
repositories share a basename, `ViewerPage` adds deterministic numeric labels
|
|
134
|
+
without revealing parent or absolute paths.
|
|
113
135
|
|
|
114
136
|
### CLI
|
|
115
137
|
|
|
@@ -292,6 +314,7 @@ lifecycle commands:
|
|
|
292
314
|
semantic-atlas validate [--repo <path>]
|
|
293
315
|
semantic-atlas context <id-or-term> [--repo <path>]
|
|
294
316
|
semantic-atlas render [--repo <path>] [--output <path>]
|
|
317
|
+
semantic-atlas web [--repo <path...>] [--port <port>] [--no-open]
|
|
295
318
|
semantic-atlas setup
|
|
296
319
|
semantic-atlas upgrade
|
|
297
320
|
semantic-atlas observe task --stdin [--repo <path>]
|
|
@@ -302,9 +325,11 @@ semantic-atlas --version
|
|
|
302
325
|
```
|
|
303
326
|
|
|
304
327
|
Map commands resolve and report the repository root and map-document set they
|
|
305
|
-
used.
|
|
306
|
-
|
|
307
|
-
|
|
328
|
+
used. `web` reports its loopback URL and repository count without exposing
|
|
329
|
+
those roots to the browser. Observation commands report the derived repository
|
|
330
|
+
identity, while package lifecycle commands remain repository-independent.
|
|
331
|
+
Machine output uses a versioned envelope with a stable success or error
|
|
332
|
+
discriminant.
|
|
308
333
|
|
|
309
334
|
`context` returns ambiguity when multiple concepts match the term. Callers can
|
|
310
335
|
then use a stable ID. A missing concept is a bounded map result and routes the
|
|
@@ -375,6 +400,8 @@ Errors fall into stable categories:
|
|
|
375
400
|
summary.
|
|
376
401
|
- `RECONCILIATION_READ_FAILED`: retained candidate and review evidence cannot
|
|
377
402
|
produce a trustworthy reconciliation report.
|
|
403
|
+
- `WEB_START_FAILED`: one of the explicitly selected repositories cannot load,
|
|
404
|
+
the loopback port cannot bind, or the local Viewer cannot start.
|
|
378
405
|
|
|
379
406
|
Unexpected infrastructure errors propagate to the CLI boundary with a safe
|
|
380
407
|
message and a nonzero exit status. The implementation adds contextual details
|
package/docs/product-contract.md
CHANGED
|
@@ -57,8 +57,12 @@ implementation vocabulary differ.
|
|
|
57
57
|
### Human inspection
|
|
58
58
|
|
|
59
59
|
A person views deterministic projections of the same tracked map to discuss
|
|
60
|
-
business boundaries and relationships.
|
|
61
|
-
|
|
60
|
+
business boundaries and relationships. A self-contained export and a local
|
|
61
|
+
read-only Web command share the same interactive Viewer, including project and
|
|
62
|
+
business-domain selection, pan, zoom, and fit-to-view. Graph cards prioritize
|
|
63
|
+
business meaning by showing type, title, and description; selecting a card
|
|
64
|
+
reveals its navigation anchors in a side panel or narrow-screen bottom panel.
|
|
65
|
+
The visual surface does not become a second authoring format.
|
|
62
66
|
|
|
63
67
|
### Periodic reconciliation
|
|
64
68
|
|
|
@@ -138,7 +142,8 @@ The initial product delivers one coherent path:
|
|
|
138
142
|
4. Find a business concept by stable ID, name, or alias.
|
|
139
143
|
5. Return its containment, direct business relations, related concepts, and
|
|
140
144
|
navigation anchors as structured JSON.
|
|
141
|
-
6. Render deterministic human-readable projections from the same
|
|
145
|
+
6. Render deterministic interactive human-readable projections from the same
|
|
146
|
+
graph as a portable HTML artifact or loopback Web session.
|
|
142
147
|
7. Package an Agent Skill that routes map context into current-source
|
|
143
148
|
confirmation.
|
|
144
149
|
8. Exercise the workflow against real engineering tasks, including stale and
|
|
@@ -197,7 +202,7 @@ human-intervention evidence as acceptance conditions.
|
|
|
197
202
|
The initial product, managed setup, versioned observations, read-only
|
|
198
203
|
reconciliation, public repository, and npm publication are complete. The first
|
|
199
204
|
real target-domain map and reviewed observation pair are in local use. The
|
|
200
|
-
current `semantic-atlas@2.
|
|
205
|
+
current `semantic-atlas@2.1.0` release removes one-time predecessor migration
|
|
201
206
|
paths and accepts only current managed Skill, observation, and claim contracts.
|
|
202
207
|
Target-repository sharing and longitudinal acceptance remain separate verified
|
|
203
208
|
stages.
|