arkiviz 0.0.0-stage → 0.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/LICENSE +21 -0
- package/README.md +48 -2
- package/dist/arkiviz.js +3265 -0
- package/package.json +29 -4
- package/viewer/dist/assets/archivo-latin-ext-wdth-normal-7khWdh9v.woff2 +0 -0
- package/viewer/dist/assets/archivo-latin-wdth-normal-DY7AcnAa.woff2 +0 -0
- package/viewer/dist/assets/archivo-vietnamese-wdth-normal-rJmnGBSt.woff2 +0 -0
- package/viewer/dist/assets/elk-worker.min-CrqHDrIe.js +6490 -0
- package/viewer/dist/assets/index-C2UpsCbM.js +105 -0
- package/viewer/dist/assets/index-DTMVZ5wu.css +1 -0
- package/viewer/dist/index.html +15 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 ErwanHeschung
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,49 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ArkiViz
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Architecture maps for humans, kept up to date by agents.
|
|
4
|
+
|
|
5
|
+
Zoom from landscape to components, step through real paths (payment, user journey), across many repos, one website per git branch.
|
|
6
|
+
|
|
7
|
+
Status: M1–M5 of [`PLAN.md`](PLAN.md) built (viewer, flows and payloads, multi-repo workspace, branches and deploy, the agent that keeps maps current); the agent has not yet run against the real API.
|
|
8
|
+
|
|
9
|
+
## Use it
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
npm install -g arkiviz # Node 26 or later
|
|
13
|
+
arkiviz setup # once: the AI the agent uses (your Claude subscription through Claude Code, an API key, Ollama…)
|
|
14
|
+
cd your-repo
|
|
15
|
+
arkiviz init # the map on its own arkiviz branch, then a first draft from the code
|
|
16
|
+
arkiviz dev . # see it in the browser, reloading on save
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
On GitHub, the actions keep it current and publish it: [`action/`](action/README.md) (`@v0` follows the latest 0.x release).
|
|
20
|
+
|
|
21
|
+
From this repo: `nvm use && npm install && node packages/cli/main.ts dev examples/shop/workspace` (http://localhost:5173).
|
|
22
|
+
|
|
23
|
+
A real one: [`examples/otel-demo`](examples/otel-demo/workspace/arkiviz.yaml) maps the
|
|
24
|
+
[OpenTelemetry Demo](https://github.com/open-telemetry/opentelemetry-demo) (20 services in ten languages, Kafka, Postgres,
|
|
25
|
+
feature flags, an LLM assistant) from its code, with the gRPC payloads from `demo.proto` and four flows.
|
|
26
|
+
[See it](https://erwanheschung.github.io/ArkiViz/otel-demo/).
|
|
27
|
+
|
|
28
|
+
## Commands
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
arkiviz in a terminal: a menu of what you can do
|
|
32
|
+
arkiviz init [dir] set a code repo up: its model on the orphan arkiviz branch, in .arkiviz/
|
|
33
|
+
arkiviz draft [dir] [--replace] the first map, written by the AI from the code (one call, checked)
|
|
34
|
+
arkiviz check <dir...> validate (a repo's model.yaml, or a workspace's arkiviz.yaml and its repos)
|
|
35
|
+
arkiviz dev <dir...> [--compare <dir>] the viewer, reloading on save; --compare shows what changed against <dir>
|
|
36
|
+
arkiviz build <dir...> -o out [--branch <name>]
|
|
37
|
+
arkiviz publish <built> --site <dir> --branch <name> add a branch to a multi-branch site (GitHub Pages)
|
|
38
|
+
arkiviz query element|dependents|path|flow … [--json] answers for people and agents
|
|
39
|
+
arkiviz propose [dir] --base <ref> [--pr <n>] [--dry-run] what a change does to the map (free filter, then one Claude call)
|
|
40
|
+
arkiviz apply [dir] (--pr <n> | --patch <file>) after a merge: write the change into .arkiviz/model.yaml
|
|
41
|
+
arkiviz sweep [dir] [--since <date>] [--dry-run] nightly drift check through the Batch API
|
|
42
|
+
arkiviz setup choose the agent's AI once, saved for next time: your Claude subscription through
|
|
43
|
+
Claude Code (no API key), Claude by API key, or any OpenAI-compatible API
|
|
44
|
+
--local <repo>=<path> use a local checkout for one of the workspace's repos
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Models: a repo's [`model.yaml`](examples/shop/payments/model.yaml), a workspace's
|
|
48
|
+
[`arkiviz.yaml`](examples/shop/workspace/arkiviz.yaml) with [`flows/`](examples/shop/workspace/flows) and
|
|
49
|
+
[`repos/`](examples/shop/workspace/repos). Publishing per branch and the agent: [`action/`](action/README.md). First map of a repo: `arkiviz draft` (one call, any AI), or the [`arkiviz-init`](skills/arkiviz-init/SKILL.md) skill when you want Claude Code to read the code in depth.
|