Compare commits

..
Author SHA1 Message Date
hanzo-dev 2177c0a3ca refactor(sdk): remove dead streaming subsystem + fully-commented connect-qr page (~1.2k LOC, red-team #13/#42/#56) — build green 2026-06-22 06:01:30 +00:00
hanzo-devandGitHub f53dc2513a Merge pull request #7 from hanzoai/fix/onboarding-welcome-brand-crash
fix(chat): stream reasoning_content so thinking models reply (#19)
2026-06-21 20:53:56 -07:00
hanzo-dev f892023d4a Merge remote-tracking branch 'origin/main' into fix/onboarding-welcome-brand-crash 2026-06-22 03:53:29 +00:00
hanzo-dev 38b22e7265 fix(chat): stream reasoning_content too so thinking models show a reply (red-team #19/#55) 2026-06-22 03:53:28 +00:00
hanzo-devandGitHub aeed548966 Merge pull request #6 from hanzoai/fix/onboarding-welcome-brand-crash
fix(sdk): default-agents hang + tsc-breaking logo type + 5 GGUF zen models
2026-06-21 20:47:25 -07:00
hanzo-dev 0483a5b099 Merge remote-tracking branch 'origin/main' into fix/onboarding-welcome-brand-crash 2026-06-22 03:46:35 +00:00
hanzo-dev cf084837a5 fix(sdk): bound default-agents polling so it cannot hang 60s + drop dead HanzoAIProps.logo override that broke tsc for all 3 apps + 5 verified GGUF zen models 2026-06-22 03:46:07 +00:00
hanzo-devandGitHub 2a62e59c1c Merge pull request #5 from hanzoai/fix/onboarding-welcome-brand-crash
fix(onboarding): per-app /app-logo.png on landing (stop Hanzo H leaking onto zoo/lux)
2026-06-21 20:02:27 -07:00
hanzo-dev b5217aca35 Merge remote-tracking branch 'origin/main' into fix/onboarding-welcome-brand-crash 2026-06-22 03:00:48 +00:00
hanzo-dev 350f9f2c6e fix(onboarding): use per-app /app-logo.png on landing — stop Hanzo H leaking onto zoo/lux 2026-06-22 02:57:17 +00:00
hanzo-dev 3f7b90359c fix(brand): node-manager window + notifications use per-app /app-logo.png (was hardcoded Hanzo icon — leaked onto zoo/lux) 2026-06-22 00:14:29 +00:00
hanzo-dev 13c4dbf660 fix(ai): show compact app logo in collapsed sidebar 2026-06-21 22:11:56 +00:00
hanzo-devandGitHub 4be2d12e2e Merge pull request #4 from hanzoai/fix/onboarding-welcome-brand-crash
Merge fix/onboarding-welcome-brand-crash
2026-06-21 13:54:24 -07:00
hanzo-dev 45adbc8349 feat(models): Download-all per segment (DRY) + Featured community models (Qwen/Llama/Gemma/Mistral/DeepSeek, verified-public HF GGUF) 2026-06-21 20:51:04 +00:00
hanzo-dev bbe5b9ece6 chore(assets): remove dead Shinkai octopus logo + video (2.3MB, unreferenced) 2026-06-21 20:51:04 +00:00
hanzo-dev 689b811db9 feat(models): native Hanzo engine + Zen catalog (HF download), one Local Models gallery (engine choice Hanzo/Ollama/LMStudio), cosmetic fixes (real Ollama icon, per-brand sidebar logo, cloud scroll) 2026-06-21 20:51:04 +00:00
hanzo-dev 085d2ca295 fix(chat): resolve bare 'default' alias to the real model name (Zen Nano 0.6B) 2026-06-21 20:51:04 +00:00
hanzo-dev bd97e87ab3 fix(chat): show actual model name (Zen Nano 0.6B) in selector, not provider name (Zen Engine) 2026-06-21 20:51:03 +00:00
hanzo-dev 854b1d59d5 fix(onboarding): unblock Skip — inject sha512 for noble-ed25519 v2, node addr from brand config, reset(false), /v1/node paths 2026-06-21 20:51:03 +00:00
hanzo-dev 76247c6366 feat(ai): add optional node field to published BrandConfig surface (matches src/types.ts) 2026-06-21 20:51:03 +00:00
hanzo-dev 0cb5be28a2 feat(@hanzo/ai): BrandConfig.node field + brand-neutral node_* invokes
- BrandConfig.node { apiPort, enginePort } — single source for on-device node address
- brand-neutral node_* command invokes (was hardcoded hanzo_node_spawn)
2026-06-21 20:51:03 +00:00
hanzo-devandClaude Opus 4.8 c480b014b4 fix(@hanzo/ai): export ./ai.css subpath for consumer stylesheet import
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 20:51:03 +00:00
hanzo-dev 9fd1bd7b65 remove brand-hardcode gate; brand is data, not a gate 2026-06-21 20:51:03 +00:00
hanzo-devandClaude Opus 4.8 782cff59e6 feat(brand): brand-hardcode guard + brand-neutral i18n (decomplect brand=data)
- scripts/check-no-hardcoded-brand.mjs: fails if a brand literal (Hanzo/Zoo/Lux/Shinkai) appears in user-facing i18n copy; brand must come from {{appName}}/brandConfig
- net-i18n: 62 brand literals -> {{appName}}; tidy 2 stray 'shinkai' comments

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 20:51:03 +00:00
hanzo-devandClaude Opus 4.8 11c79d969d build(@hanzo/ai): restore @tailwindcss/vite + globals.css in SDK lib build and fix i18n en-US resource load so consumer apps render styled + translated
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 20:51:03 +00:00
hanzo-devandClaude Opus 4.8 f6c03b9f63 fix(ai): resolve brand at render time in onboarding so welcome stops crashing blank on Zoo/Lux
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 20:51:03 +00:00
hanzo-devandClaude Opus 4.8 75f734cba3 fix(ai): onboarding welcome uses each brand's own logo (no hardcoded Hanzo H / tagline)
Read brandConfig.logo inside OnboardingLayout (was a module-level useBrand()
frozen on the default brand, forcing visor.svg's Hanzo "H" onto Zoo/Lux).
Drop the broken right-column hero preview; tagline is now opt-in via
brandConfig.tagline (empty default — removes the old hardcoded "the way, the
truth, the life"). Welcome title uses {{appName}} so no brand name leaks.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 20:51:02 +00:00
hanzo-dev f22c35d920 fix(build): unbreak docker build:app (tsconfig refs, recipes deep-subpath stubs, react-navigation skew, gui->hanzogui imports)
Four root causes blocked the one/vxrn (rolldown) build of apps/gui.hanzo.ai:

1. tsconfig project references: single-level pkgs/*/tsconfig.json used ../../
   (depth-2) refs that resolved to /work/core/* and /work/ui/gui instead of
   pkgs/core/* and pkgs/ui/hanzogui. Fixed the depth (../) and the stale
   gui->hanzogui rename across 9 tsconfigs.

2. @hanzogui/recipes deep subpaths (component/*) were UNLOADABLE: the no-recipes
   path still pulls the showcase tree, which imports @hanzogui/recipes/component/*
   via named re-export / named import / namespace member access. The old
   virtual-module stub could not satisfy statically-validated named exports.
   generate-recipes-proxy.mjs now scans the app and emits concrete per-subpath
   stub modules with the exact named exports (hooks return a proxy object so
   destructuring is safe); vite.config aliases each deep subpath (longest-first)
   to its stub ahead of the catch-all @hanzogui/recipes alias.

3. @react-navigation version skew: expo-router pulled bottom-tabs@7.16.2 which
   imports NavigationProvider (only in native >=7.2.5), conflicting with one's
   ~7.1.33 peer. Pinned bottom-tabs to 7.10.1 and bumped native 7.1.9->7.1.34
   (latest 7.1.x), keeping the @react-navigation family internally consistent.

4. Stale gui->hanzogui imports: SelectDemo.tsx and TestSelect.tsx imported from
   gui/linear-gradient instead of hanzogui/linear-gradient.

Validated locally: bun run build:app completes (build complete, full dist emitted).
2026-06-20 08:09:39 +00:00
hanzo-dev 357f9f9690 fix(build): static-extract components must be hanzogui not gui
The config-bundler did require("gui") for each entry in
gui.build.ts components, but no workspace package is named gui
(the components package is hanzogui, pkgs/ui/hanzogui). This
threw Cannot find module \x27gui\x27 -> Must provide components in
the gui-extract step of build:prod (static extract), so gui
never published an image. Rename the stale tamagui->gui leftover
to hanzogui in components and the matching optimizeDeps include.
2026-06-20 06:40:26 +00:00
hanzo-dev cd9cc63361 fix(build): pin vxrn to version exposing ./worker (unbreak build:app)
The gui.hanzo.ai site (the only app shipped in the GHCR image) runs on
one@1.12.5, whose vxrn@1.12.5 self-imports vxrn/worker. kitchen-sink and
sandbox pull one@1.15.10 -> vxrn@1.15.10, which bun hoists to the root
node_modules/vxrn. vxrn@1.15.10 dropped the ./worker export, so the
hoisted copy breaks vxrn@1.12.5s self-referential import:
  Package subpath ./worker is not defined by exports in vxrn/package.json

Pin the whole one/vxrn family to 1.12.5 via root overrides so a single
vxrn (with ./worker) exists in the tree. One version, no hoist collision.
2026-06-20 02:56:44 +00:00
b888ef8e2a ci: containerize + arcd GHCR semver build (DOKS deploy) (#3)
Add .github/workflows/build.yml that builds+pushes ghcr.io/hanzoai/gui on
v* tags via the canonical hanzoai/.github docker-build reusable workflow
on the self-hosted arcd fleet (amd64+arm64, no GitHub-hosted runners).
Wires the existing working Dockerfile (gui.hanzo.ai, bun build, serves on
:3000) to GHCR. Semver-only tags. The npm publish-gui*.yml workflows are
unaffected.

Co-authored-by: hanzo-dev <z@hanzo.ai>
2026-06-19 16:22:49 -07:00
Antje WorringandClaude Opus 4.8 ea427bc66f docs: tidy LLM.md indexes; CLAUDE.md -> LLM.md symlink convention
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 10:04:45 -07:00
zeekay 926589c982 ci: route to canonical native arcd labels [self-hosted, linux, <arch>]
Replaces non-canonical scale-set / org-prefixed labels with the
existing labels every arcd host registers with. Matches evo for
amd64 and spark for arm64. No new labels added.
2026-06-10 20:15:30 -07:00
hanzo-devandClaude Opus 4.8 40921f9a3d ci: targeted gui-surface publish (skip whole-workspace fan-out)
release.ts --force-publish-all crashed packing unrelated @hanzo_network/*
packages. Replace with publish-gui-surface.mjs which publishes only the
@hanzogui/* closure + hanzogui + @hanzo/gui alias, rewriting workspace:*
to concrete versions and publishing the npm pack tarball directly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 19:20:10 +00:00
hanzo-devandClaude Opus 4.8 15f130db5f ci: add publish-gui-all workflow to republish all gui packages with dist
Fixes broken 7.0.0 publish where @hanzogui/* primitives shipped without
dist/, breaking standalone @hanzo/gui installs. Builds then runs
release.ts --republish --force-publish-all using the same KMS->secret
NPM_TOKEN resolution as publish-gui.yml.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 19:09:27 +00:00
hanzo-devandClaude Opus 4.8 07ae7ee84a ci(publish-gui): run on spark runner (evo offline) to unblock publish
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 23:34:46 +00:00
hanzo-devandClaude Opus 4.8 3109fc14c2 perf(@hanzo/ai): optimize SDK build — skip minify/compressed-size in lib mode
CI OOM'd bundling the app-as-SDK. Skip minify (consumers minify in their own
build), skip compressed-size reporting, target esnext, and raise heap to 12GB.
Build ~89s, no OOM. (Lib output is unminified by design; downstream apps minify.)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 23:04:31 +00:00
Antje WorringandClaude Opus 4.8 1ae9e1579b ci: target native arcd runners (evo/spark)
Replace retired self-hosted labels with native host arcd daemons:
evo (linux/amd64), spark (linux/arm64).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 15:55:49 -07:00
hanzo-devandClaude Opus 4.8 1f3d8df185 build(@hanzo/ai): raise Node heap to 8GB for the SDK vite build (CI OOM)
CI runner OOM'd bundling @hanzo/ai (exit 134). Add --max-old-space-size=8192.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 22:40:16 +00:00
hanzo-devandClaude Opus 4.8 e213be30bc release(@hanzo/ai): 0.1.1 — brand-agnostic SDK + workspace build fixes
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 21:58:25 +00:00
hanzo-devandClaude Opus 4.8 7c1765359c build: declare missing external deps across workspace packages
The monorepo relied on hoisting and never declared many externals; a clean CI
install (bun, no hoisting guarantees) failed to resolve them when bundling
@hanzo/ai. Declare them on the owning packages (net-ui +49, net-artifacts +33,
net-state, net-i18n, net-message-ts, …). @hanzogui/* workspace deps untouched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 21:36:46 +00:00
hanzo-devandClaude Opus 4.8 7087215033 build(@hanzo/ai): declare missing runtime deps (immer, zod, ethers, …)
@hanzo/ai imported ~25 externals (immer, zod, ethers, framer-motion, axios,
react-hook-form, sonner, pyodide, …) not in its package.json — a clean install
(CI) failed to resolve them (local hoisting masked it). Declare them; move
test-only deps (vitest, testing-library, react-scan) to devDependencies.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 21:25:43 +00:00
hanzo-devandClaude Opus 4.8 416d87c08f build: fix workspace build (green 163/163)
- net-i18n: useChain/@hanzo_network/chain-config -> useBrand/brand-config
  (chain-config was renamed to brand-config; this import was never updated).
- loader: drop now-unused @ts-expect-error (TS2578) in GuiPlugin.ts.
Pre-existing breakage that gated the @hanzo/ai publish.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 21:18:09 +00:00
hanzo-dev d164901c6f rename: claude.md → CLAUDE.md
Canonical casing per durable rule. Filesystem is case-insensitive
on macOS but git tracks the lowercase variant; uppercase is the
project convention.
2026-06-07 13:38:06 -07:00
hanzo-devandClaude Opus 4.8 ab3fe3d70c build: add missing per-package tsconfig.json (unblocks workspace build/publish)
10 leaf TS packages (recipes, net-brand-config, examples, *-test) lacked a
committed tsconfig.json, so the workspace build died with ENOENT on the first
one (pkgs/recipes). Add them on the standard pattern (extends root + composite).
Pre-existing breakage, gates the @hanzo/ai publish.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 20:27:45 +00:00
hanzo-devandClaude Opus 4.8 2d663eba93 refactor(brand): brand-agnostic SDK — no hardcoded brands, apps own config
- net-brand-config bundles ZERO brands: registry (registerBrands) + injection
  (setBrand/useBrand/getBrand); add company + machinesEnabled to BrandConfig.
- Brand type: drop 'hanzo'|'zoo'|'lux' union -> string (open/extensible).
- Delete hardcoded BRAND/CHAIN consts -> proxy the active brand (16 call sites
  unchanged, now read the live brand).
- isMachinesEnabled: config field, not a hardcoded brand check.
- Examples each ship their own brand.config.ts (apps do the same downstream).
- Neutral test (fixture brands, no bundled assumptions).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 19:45:16 +00:00
hanzo-devandClaude Opus 4.8 6f179ac4f2 refactor(iam): brand-neutral login hook (config-driven, PKCE, per-brand)
Replace hardcoded-hanzo useHanzoLogin (hanzo.id, placeholder clientId, shipped
client secret, wrong oauth-deep-link event) with brand-neutral useIamLogin that
reads the active brand's iam config (baseUrl/clientId/redirectUri/callbackEvent)
from @hanzo_network/brand-config and uses public-client PKCE. Adding a brand is
now a config entry; nothing is hardcoded to one brand.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 18:46:40 +00:00
hanzo-devandClaude Opus 4.8 bce9d6f602 fix(iam): real OAuth client IDs (hanzo-app/lux-app/zoo-app) for desktop login
Per-brand iam used placeholder clientIds not registered in Hanzo IAM. Domains
(hanzo.id/lux.id/zoolabs.id), redirect URIs, and callbackEvents were already
correct. Pairs with desktop redirects added to IAM init_data.json.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 18:28:36 +00:00
hanzo-devandClaude Opus 4.8 8b0e6b0d59 feat(@hanzo/ai): desktop build variant — converged frontend with full native
Add `@hanzo/ai/desktop` (vite.desktop.config.ts → dist-desktop): same converged
app as the web build, but it EXTERNALIZES @tauri-apps (14 modules) instead of
aliasing them to web shims — so a desktop consumer gets the REAL native APIs
(window/fs/dialog/updater/node-sidecar), full parity with the standalone forks.

This is the reusable foundation for converging the desktops locally: a desktop
shim is `import HanzoAI, { getBrand } from '@hanzo/ai/desktop'; <HanzoAI
{...getBrand()}/>` (VITE_BRAND selects hanzo/zoo/lux), loaded by the repo's Tauri
shell (which provides @tauri-apps + the node-manager handlers). hanzo/zoo have
full shells; lux's bespoke shell needs those handlers added.

build now emits both dist (web) + dist-desktop; exports['./desktop'] added.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 07:38:48 +00:00
hanzo-devandClaude Opus 4.8 36fc4a2fd4 fix(@hanzo/ai web): per-brand document title + favicon (was hardcoded Hanzo)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 07:15:39 +00:00
hanzo-devandClaude Opus 4.8 41901783a8 build(@hanzo/ai): make publishable — drop workspace deps, public types, access
Prep for `npm publish @hanzo/ai` (the @hanzo scope):
- Drop the `@hanzo_network/* : workspace:*` runtime deps — they're bundled into
  the self-contained dist (aliased to src at build), and workspace:* can't be
  installed by consumers. Real 3rd-party deps stay.
- `publishConfig.access = public` (scoped package).
- Ship a hand-authored, self-contained public-API `dist/index.d.ts`
  (types/public.d.ts; the build copies it). Raw tsc would emit a broken tree of
  internal/@hanzo_network imports for a bundled lib.

Verified: `npm pack --dry-run` → valid tarball with dist + index.d.ts.
Note: 14 MB (bundles streamdown→shiki's ~200 grammars); a follow-up can
externalize shiki to slim it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 06:45:23 +00:00
hanzo-devandClaude Opus 4.8 c9ecfb0df5 ci(@hanzo/ai): run the SDK tests in CI; fix libsodium path portability
- Add `test:web` to @hanzo/ai so the existing Checks `unit-tests` job
  (`turbo run test:web`) includes the 63 SDK unit/regression tests
  (verified: `turbo run test:web --filter=@hanzo/ai` → 63 passed).
- Replace the hardcoded /home/z libsodium alias in web/vite.config.ts with a
  __dirname-relative resolve so the web build works off this machine (CI).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 06:37:52 +00:00
hanzo-devandClaude Opus 4.8 1485697c4d fix(@hanzo/ai): clean the web console — host shims, CORS, auth timing, motion
Every console error/warning from the running web app, fixed and guarded by the
e2e (which now asserts the console stays clean):

- react-query "Query data cannot be undefined": web host `invoke` returns null
  (not undefined) for no-op native calls.
- "isPermissionGranted is not a function": complete the notification host shim
  (isPermissionGranted/requestPermission/sendNotification via the browser API).
- CORS on direct :36900/v1/engine/models: route the hanzo-engine client through
  a same-origin `/engine-api` vite proxy (set VITE_ENGINE_BASE_URL=/engine-api).
- "ws://localhost:1501 failed": the app derives ws port = httpPort+1; add
  local-runtime/ws-proxy.js (:1501 → node WS :3701).
- 401 /v1/node/available_models: gate useGetLLMProviders on auth — it mounted
  during onboarding and fired with an empty Bearer.
- framer-motion `motion()` deprecation → `motion.create()` (2 sites).

Tests: unit 63/63, e2e 2/2 (now also asserts no CORS / "is not a function" /
react-query-undefined / available_models / :1501 in the console). Remaining: a
rare intermittent static-asset 404 + a node-side embedding warning — neither
affects chat (documented in CHAT.md).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 06:33:23 +00:00
hanzo-devandClaude Opus 4.8 8bb89b0163 test(@hanzo/ai): vitest unit/regression + Playwright e2e + TDD setup
Establish the test harness and lock in every bug found this session as a
regression test (TDD going forward — see TESTING.md):

- vitest.config.ts: jsdom + the web build's alias graph (@/, @tauri-apps→host
  shims, @hanzo_network→src), streamdown stub, @testing-library/jest-dom setup.
  `bun run --cwd pkgs/ai test` → 61 tests green (4 new + the 7 pre-existing).
- src/__tests__/ regressions:
  • brand-store — useBrand/getBrand are plain getters callable outside render
    (the invalid-hook-call that blocked the web app)
  • host-shims — getCurrentWindow().emit etc. exist; host adapter web↔tauri
  • resizable — react-resizable-panels v3 API present + net-ui renders
  • no-missing-imports — critical screens import every <Component> they use
    (the dropped Box/Boxes/Coins lucide imports)
- e2e/chat.e2e.test.ts (vitest.e2e.config.ts): Playwright drives the real
  browser — onboarding smoke + connect→register→send→assert zen-coder reply.
  Skips cleanly when the local runtime isn't up. `test:e2e` → 2 passed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 05:38:57 +00:00
hanzo-devandClaude Opus 4.8 9b6fb6b759 feat(@hanzo/ai): chat works end-to-end in the browser (verified local)
The web app now chats with zen-coder-24b through a real hanzo-node, fully in the
browser (Playwright e2e: "Reply with exactly: E2E CHAT OK" → zen-coder generated
exactly that). Fixes uncovered by driving the real UI:

- main-layout.tsx: restore missing lucide imports Box/Boxes/Coins (the chat
  screens crashed with "Box is not defined").
- react-resizable-panels: the merge pulled v4 (Group/Separator), but the app
  uses the v3 API (PanelGroup/PanelResizeHandle) — pin ^3.0.2 in net-ui so the
  chat conversation view renders.
- web/vite.config.ts: proxy /v1 (the node's API is /v1/node/*, 135 endpoints) in
  addition to /v2 + /ws, so the browser reaches the node same-origin (no CORS).

local-runtime/ holds the reproducible inference wiring (see CHAT.md):
- responses-proxy.py: the node's OpenAI provider POSTs /v1/engine/responses, but
  hanzo-engine serves the Responses API at /v1/responses — rewrite the path
  (+ enable_thinking:false). This was the "AI Provider API Error" root cause.
- run-node.sh: a standalone /v1 node wired to the engine + embeddings. Uses
  127.0.0.1 everywhere (localhost → IPv6 ::1 → instant connection failure).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 05:03:49 +00:00
hanzo-devandClaude Opus 4.8 4d18c6d07b Merge origin/main into @hanzo/ai SDK — land the AI app on main
Reconciles the 140 upstream commits with the @hanzo/ai SDK (pkgs/ai +
pkgs/net-*, purely additive). Only bun.lock conflicted; regenerated fresh from
the merged package.json. The markdown dep skew that this exposed is fixed by
the prior commit (shiki@^3 override + dev streamdown stub).

Verified post-merge: fresh `bun install` exit 0, turbo build passes, web prod
build (rollup, 13MB) renders the Hanzo onboarding screen, dev server renders.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 00:49:52 +00:00
hanzo-devandClaude Opus 4.8 ae9c3a8e5b fix(@hanzo/ai): harden markdown deps — clean install now renders
The committed lock had a latent skew that only surfaced on a clean `bun install`
(earlier session renders used an ephemeral node_modules):

- shiki: `@vxrn/mdx` pins shiki 1.3.0 *exact*; bun hoisted it over
  `@streamdown/code`'s `shiki@^3` (no `engine/javascript` export → build fails).
  Fix: `overrides.shiki = ^3.19.0`. Deterministic; @vxrn/mdx is docs-only, not
  in the app graph. This alone makes the PROD and LIB builds (rollup) clean —
  rollup resolves the rest of the nested micromark stack correctly.

- micromark: a v1↔v4 generation skew (16 v1 consumers from the remark/MDX docs
  stack vs 1 v2 consumer = streamdown). The two APIs (util@1 subpath exports vs
  util@2 root) must coexist nested, and rollup handles it — but esbuild's DEV
  pre-bundle flattens the bare `micromark-util-symbol` to the hoisted @1
  ("Missing '.' specifier"). Fix: a DEV-ONLY (command==='serve') stub of the
  streamdown stack (streamdown-stub.tsx); the prod build uses the real packages
  so chat markdown/code/math/mermaid are unaffected in production.

Verified clean: web dev server renders the onboarding screen, web prod build
(rollup, 13MB) renders, self-contained lib dist builds.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 00:46:14 +00:00
hanzo-devandClaude Opus 4.8 b512973819 feat(@hanzo/ai): web→node proxy + chat wiring recipe
Add an env-configurable same-origin dev proxy (/v2 + /ws → VITE_NODE_API/
VITE_NODE_WS) so the browser reaches a hanzo-node without CORS: the app's
nodeAddress becomes its own origin and vite forwards to the node.

CHAT.md documents the verified state: the zen engine answers on :36900
(zen-coder-24b), and a healthy node (:2000, v1.1.20) already has the zen_engine
provider wired to it. Remaining blocker is API-version alignment — the app
client speaks /v1/node/*, the healthy node serves /v2/* only, and the
/v1-compatible desktop node (:3690) is currently hung. Recipe for both paths
included.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 00:11:54 +00:00
hanzo-devandClaude Opus 4.8 8c454dd150 docs(@hanzo/ai): CONVERGENCE.md — one surface, web⇄desktop parity, verification matrix
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 23:54:57 +00:00
hanzo-devandClaude Opus 4.8 b559401d63 feat(@hanzo/ai): self-contained dist + brand re-export → thin shims work
Make @hanzo/ai consumable as a published APP-as-SDK so each app collapses to
a ~10-line shim (the luxfi/exchange model, for AI):

- Lib build now bundles EVERYTHING (the app, net-* libs, @tauri-apps host
  shims, all 3rd-party deps) and externalizes ONLY react/react-dom as peers.
  Previously every dep was external, so a consumer installing just @hanzo/ai
  was missing libsodium/framer-motion/radix/etc. (pinned libsodium's CJS build
  in the lib config too, now that it's bundled rather than external).
- Re-export getBrand/getBrandFromHostname from the package, so a shim needs no
  separate brand package for the default case:
    import HanzoAI, { getBrand } from '@hanzo/ai'
- Shims (hanzo/zoo/lux/web) aligned to the proven pattern: brand is a build
  axis (VITE_BRAND), platform an injected prop (host={tauriHost}), app is
  @hanzo/ai. Added a runnable web shim (index.html + vite.config) that imports
  @hanzo/ai from its built dist providing only react.

Verified: the external web shim (only react/react-dom provided, everything
else from dist) renders the full Hanzo onboarding screen on :1503.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 23:54:10 +00:00
hanzo-devandClaude Opus 4.8 699e8217a8 fix(@hanzo/ai): web app renders — break the dist self-import cycle
The web app threw `Cannot read properties of null (reading 'useContext')`
(invalid hook call) and never painted. Root cause was NOT React duplication
from a dep: 7 migrated app modules imported `useBrand` from the `@hanzo/ai`
PACKAGE name, which resolves to the built `dist/index.js`. That pulled the
whole minified library (a second React + a second copy of the app) back into
the source graph — a module cycle with a dual React dispatcher.

Fix: the injectable brand store lives in `@hanzo_network/brand-config`
(`setBrand`/`useBrand`, plain module getters — not hooks — so the app's
non-component call sites are safe), aliased to src so there is ONE copy and
no cycle. The 7 app files now import `useBrand` from there; `@hanzo/ai`'s
`brand-context` just re-exports it. Rule: app code never imports the
`@hanzo/ai` package by name.

Also completed `src/host/window.ts` to the full Tauri Window surface
(`emit`/`listen`/`once`/`onCloseRequested`/geometry) — the missing `emit`
was the next crash after the cycle was broken. Production web entry cleaned
up with a real ErrorBoundary.

Verified: dev server on :1500 paints the real Hanzo onboarding screen.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 23:46:13 +00:00
hanzo-devandClaude Opus 4.8 1d818ebb88 feat(@hanzo/ai): decomplect the AI app into one declarative SDK
The entire shinkai-fork AI app (280 files) + its 7 @hanzo_network/* libs,
lifted into @hanzo/ai as <HanzoAI {...brand} host={}/> — brand is a prop,
platform is an injected HostAdapter (web / tauri / expo). One unified surface
for hanzo/zoo/lux desktop + mobile + web (hanzo.chat). Library build green
(2.8MB) and production web build green (14MB). Shims in examples/.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 22:31:02 +00:00
128 changed files with 383 additions and 1014 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
*/
import { validateToken } from '@hanzo/iam/auth'
import type { User as IamUser } from '@hanzo/iam'
import type { IamUser } from '@hanzo/iam'
const IAM_SERVER_URL =
process.env.HANZO_IAM_SERVER_URL ?? 'https://iam.hanzo.ai'
+1 -1
View File
@@ -38,7 +38,7 @@
"@rehookify/datepicker": "^6.6.8",
"@sindresorhus/slugify": "^2.2.1",
"@hanzo/base": "^0.2.0",
"@hanzo/iam": "^0.13.1",
"@hanzo/iam": "^0.9.4",
"@hanzogui/assert": "workspace:*",
"@hanzogui/demos": "workspace:*",
"@hanzogui/get-token": "workspace:*",
@@ -1,46 +0,0 @@
# Visual-Regression Gate (HIP-0504 §rule 6)
The design-system unification re-bases `@hanzo/ui` onto `@hanzo/gui` and turns
`@luxfi/ui` / `@zooai/ui` into theme overlays. Per HIP-0504, **the rendered
output must not change** — only the implementation underneath it. This gate
enforces that with pixel-diffed screenshots.
## How it works
`visual-regression.test.ts` renders the kitchen-sink component gallery (the
substrate showcase) and snapshots each surface, comparing against committed
baselines in `tests/__screenshots__/`.
## The contract
1. **Capture the baseline on the pre-migration ref** (current `@hanzo/ui` / gui):
```bash
cd apps/kitchen-sink
PORT=9000 pnpm exec playwright test visual-regression --update-snapshots
git add tests/__screenshots__ && git commit -m "test(visual): baseline before design-system migration"
```
2. **Every migration PR runs the suite unchanged.** Drift beyond
`maxDiffPixelRatio` (1%) fails CI. A passing run is the proof that Phase 0/1/2
decomplected the code without moving a pixel the user sees.
## Per-phase application
- **Phase 0** (`@hanzo/ui` on `@hanzo/gui`): baseline captured on 5.x, asserted
after the re-base. The public component surface must match.
- **Phase 1** (brand overlays): capture a per-brand baseline (lux/zoo theme) and
assert the overlay reproduces it — brand look/feel is also a contract.
- **Phase 2** (app adoption): each site's own Playwright suite snapshots its key
pages before/after switching to the unified `ui`.
## Notes
- Non-animated by design (`animations: 'disabled'`) so baselines are
deterministic; the suite runs once with the default driver, not across the
animation-driver matrix.
- `SURFACES` lists the gallery anchors to snapshot — add anchors as demos grow;
`gallery-full` always captures the whole showcase as a backstop.
- Baselines are platform-sensitive (font rendering). Capture and assert on the
same CI runner image; the canonical capture runs on the `hanzo-build-linux-amd64`
pool.
@@ -1,49 +0,0 @@
import { test, expect } from '@playwright/test'
/**
* Visual-regression gate — HIP-0504 §rule 6.
*
* Decomplecting the design system (re-basing @hanzo/ui onto @hanzo/gui, then
* the brand overlays) MUST NOT change the user-visible pixels. This suite
* renders the component gallery and asserts each surface matches a committed
* baseline within tolerance.
*
* Workflow:
* 1. On the PRE-migration ref, capture the baseline:
* pnpm exec playwright test visual-regression --update-snapshots
* Commit the generated __screenshots__/ as the contract.
* 2. On every migration PR, run the suite unchanged. Any pixel drift beyond
* tolerance fails the gate — the implementation changed, the output did not.
*
* Non-animated (default project) so snapshots are deterministic; animations are
* frozen at capture time. Run once with the default driver, not across drivers.
*/
// Stable, brand-agnostic surfaces of the gallery. Extend as demos gain anchors.
const SURFACES = [
{ name: 'gallery-full', path: '/' },
{ name: 'buttons', path: '/#buttons' },
{ name: 'inputs', path: '/#inputs' },
{ name: 'cards', path: '/#cards' },
{ name: 'dialogs', path: '/#dialogs' },
{ name: 'sheets', path: '/#sheets' },
{ name: 'typography', path: '/#typography' },
]
// Tolerance: tiny sub-pixel AA differences across runs are allowed; structural
// or color drift is not. Keep this tight — the contract is "same look/feel".
const SNAPSHOT_OPTS = {
animations: 'disabled' as const,
maxDiffPixelRatio: 0.01,
fullPage: true,
}
for (const surface of SURFACES) {
test(`look/feel stable — ${surface.name}`, async ({ page }) => {
await page.goto(surface.path)
// Let fonts + layout settle so the baseline is deterministic.
await page.waitForLoadState('networkidle')
await page.evaluate(() => document.fonts.ready)
await expect(page).toHaveScreenshot(`${surface.name}.png`, SNAPSHOT_OPTS)
})
}
+3 -8
View File
@@ -1,6 +1,5 @@
{
"lockfileVersion": 1,
"configVersion": 0,
"workspaces": {
"": {
"name": "hanzo-gui",
@@ -91,7 +90,7 @@
"@docsearch/react": "^3.9.0",
"@github/mini-throttle": "^2.1.0",
"@hanzo/base": "^0.2.0",
"@hanzo/iam": "^0.13.1",
"@hanzo/iam": "^0.9.4",
"@hanzogui/assert": "workspace:*",
"@hanzogui/demos": "workspace:*",
"@hanzogui/dev-config": "workspace:*",
@@ -513,8 +512,6 @@
"zustand": "^5.0.0",
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.20",
"@tailwindcss/vite": "^4",
"@testing-library/react": "^16.3.2",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
@@ -3294,7 +3291,7 @@
"name": "@hanzogui/shell",
"version": "7.3.0",
"peerDependencies": {
"@hanzo/iam": "^0.13.1",
"@hanzo/iam": "^0.11.0",
"react": "*",
"react-dom": "*",
},
@@ -4231,7 +4228,7 @@
"@hanzo/base": ["@hanzo/base@0.2.0", "", { "dependencies": { "pocketbase": "^0.26.5" }, "peerDependencies": { "react": ">=18.0.0" }, "optionalPeers": ["react"] }, "sha512-JymDJQou0olqik3okyqqNxPs2RGwV3wwqzeaX1IdIYsjPCEvgEkSCMqje6FdsuAmSTc5NgVNO62KJ3lIeHsxcA=="],
"@hanzo/iam": ["@hanzo/iam@0.13.1", "", { "dependencies": { "jose": "^6.1.0", "libphonenumber-js": "^1.13.3", "passport-oauth2": "^1.8.0" }, "peerDependencies": { "react": ">=17" }, "optionalPeers": ["react"] }, "sha512-MAqXY7jL5pcPkaUE0Qb/ePL2WKvk3p6EQDLHGZENj+/gbNKs7e/9qG+nmRlPMFVcwXPk+suzkBAEyIMT2EiJ8w=="],
"@hanzo/iam": ["@hanzo/iam@0.9.4", "", { "dependencies": { "jose": "^6.1.0", "passport-oauth2": "^1.8.0" }, "peerDependencies": { "react": ">=17" }, "optionalPeers": ["react"] }, "sha512-IJzjvwZct2TB1PpMaWJvytud/DYLTek14qZ8UBpTjVtFWm/bkgcny46CfmhE7IA8EGKCkV8Fvr4Nu82K6eNqpA=="],
"@hanzo_network/brand-config": ["@hanzo_network/brand-config@workspace:pkgs/net-brand-config"],
@@ -7813,8 +7810,6 @@
"lib0": ["lib0@0.2.117", "", { "dependencies": { "isomorphic.js": "^0.2.4" }, "bin": { "0serve": "bin/0serve.js", "0gentesthtml": "bin/gentesthtml.js", "0ecdsa-generate-keypair": "bin/0ecdsa-generate-keypair.js" } }, "sha512-DeXj9X5xDCjgKLU/7RR+/HQEVzuuEUiwldwOGsHK/sfAfELGWEyTcf0x+uOvCvK3O2zPmZePXWL85vtia6GyZw=="],
"libphonenumber-js": ["libphonenumber-js@1.13.7", "", {}, "sha512-rvr3HIMdOgzhz1RFGjftji+wjoAFlzhqCNqJOU/MKTZQ8d9NZxAR/tI+0weDicyoucqVR0U1GCniqHJ0f8aM2A=="],
"libsodium-sumo": ["libsodium-sumo@0.7.16", "", {}, "sha512-x6atrz2AdXCJg6G709x9W9TTJRI6/0NcL5dD0l5GGVqNE48UJmDsjO4RUWYTeyXXUpg+NXZ2SHECaZnFRYzwGA=="],
"libsodium-wrappers-sumo": ["libsodium-wrappers-sumo@0.7.16", "", { "dependencies": { "libsodium-sumo": "^0.7.16" } }, "sha512-gR0JEFPeN3831lB9+ogooQk0KH4K5LSMIO5Prd5Q5XYR2wHFtZfPg0eP7t1oJIWq+UIzlU4WVeBxZ97mt28tXw=="],
@@ -1,6 +1,6 @@
'use strict';
const index = require('./index-BqtStGzd.cjs');
const index = require('./index-BSSKeTjn.cjs');
function arcInnerRadius(d) {
return d.innerRadius;
@@ -1,4 +1,4 @@
import { P as withPath, Q as pi, S as cos, T as sin, V as constant, W as halfPi, X as epsilon, Y as tau, Z as sqrt, $ as min, a0 as abs, a1 as atan2, a2 as max, a3 as asin, a4 as acos } from './index-DvUTQ6Kr.js';
import { P as withPath, Q as pi, S as cos, T as sin, V as constant, W as halfPi, X as epsilon, Y as tau, Z as sqrt, $ as min, a0 as abs, a1 as atan2, a2 as max, a3 as asin, a4 as acos } from './index-BnaE_tRw.js';
function arcInnerRadius(d) {
return d.innerRadius;
@@ -2,8 +2,8 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const chunk4BX2VUAB = require('./chunk-4BX2VUAB-BPAckI7A.cjs');
const index = require('./index-BSSKeTjn.cjs');
const chunk4BX2VUAB = require('./chunk-4BX2VUAB-Bv7MdE8Y.cjs');
const wardleyL42UT6IY = require('./wardley-L42UT6IY-LWC3cHV5.cjs');
const cytoscape_esm = require('./cytoscape.esm-DQ71Mqgy.cjs');
@@ -1,5 +1,5 @@
import { bl as getDefaultExportFromCjs, _ as __name, O as selectSvgElement, aj as setupGraphViewbox, l as log, b as setAccTitle, a as getAccTitle, t as setDiagramTitle, v as getDiagramTitle, g as getAccDescription, s as setAccDescription, C as clear, K as cleanAndMerge, H as getConfig, M as defaultConfig_default, c as getConfig2, aS as createText, bm as getIconSVG, i as sanitizeText, d as select, z as getEdgeId, bn as registerIconPacks, bo as unknownIcon } from './index-DvUTQ6Kr.js';
import { p as populateCommonDb } from './chunk-4BX2VUAB-C09YbnjP.js';
import { bl as getDefaultExportFromCjs, _ as __name, O as selectSvgElement, aj as setupGraphViewbox, l as log, b as setAccTitle, a as getAccTitle, t as setDiagramTitle, v as getDiagramTitle, g as getAccDescription, s as setAccDescription, C as clear, K as cleanAndMerge, H as getConfig, M as defaultConfig_default, c as getConfig2, aS as createText, bm as getIconSVG, i as sanitizeText, d as select, z as getEdgeId, bn as registerIconPacks, bo as unknownIcon } from './index-BnaE_tRw.js';
import { p as populateCommonDb } from './chunk-4BX2VUAB-BGNGTewj.js';
import { p as parse } from './wardley-L42UT6IY-CrBdnzA2.js';
import { c as cytoscape$1 } from './cytoscape.esm-vCfDE9xP.js';
@@ -1,7 +1,7 @@
import { g as getIconStyles } from './chunk-FMBD7UC4-B74aL4kM.js';
import { ar as isPrimitive, as as getTag, at as isTypedArray, au as uint32ArrayTag, av as uint16ArrayTag, aw as uint8ClampedArrayTag, ax as uint8ArrayTag, ay as symbolTag, az as stringTag, aA as setTag, aB as regexpTag, aC as objectTag, aD as numberTag, aE as mapTag, aF as int32ArrayTag, aG as int16ArrayTag, aH as int8ArrayTag, aI as float64ArrayTag, aJ as float32ArrayTag, aK as dateTag, aL as booleanTag, aM as dataViewTag, aN as arrayBufferTag, aO as arrayTag, aP as argumentsTag, _ as __name, H as getConfig, d as select, e as configureSvgSize, l as log, C as clear, E as rgba, aQ as getLineFunctionsWithOffset, ad as line, ae as curveBasis, c as getConfig2, aa as getUrl, aR as getEffectiveHtmlLabels, aS as createText, aT as computeLabelTransform, aU as getSubGraphTitleMargins, u as utils_default, k as common_default, aV as getStylesFromArray, i as sanitizeText, aW as decodeEntities, aX as configureLabelImages } from './index-DvUTQ6Kr.js';
import { G as Graph } from './graph-_hAKm3T7.js';
import { c as channel } from './channel-D5ZCUX-b.js';
import { g as getIconStyles } from './chunk-FMBD7UC4-VL8088dz.js';
import { ar as isPrimitive, as as getTag, at as isTypedArray, au as uint32ArrayTag, av as uint16ArrayTag, aw as uint8ClampedArrayTag, ax as uint8ArrayTag, ay as symbolTag, az as stringTag, aA as setTag, aB as regexpTag, aC as objectTag, aD as numberTag, aE as mapTag, aF as int32ArrayTag, aG as int16ArrayTag, aH as int8ArrayTag, aI as float64ArrayTag, aJ as float32ArrayTag, aK as dateTag, aL as booleanTag, aM as dataViewTag, aN as arrayBufferTag, aO as arrayTag, aP as argumentsTag, _ as __name, H as getConfig, d as select, e as configureSvgSize, l as log, C as clear, E as rgba, aQ as getLineFunctionsWithOffset, ad as line, ae as curveBasis, c as getConfig2, aa as getUrl, aR as getEffectiveHtmlLabels, aS as createText, aT as computeLabelTransform, aU as getSubGraphTitleMargins, u as utils_default, k as common_default, aV as getStylesFromArray, i as sanitizeText, aW as decodeEntities, aX as configureLabelImages } from './index-BnaE_tRw.js';
import { G as Graph } from './graph-10NtilwP.js';
import { c as channel } from './channel-BTq-OffU.js';
//#region src/compat/predicate/isArray.ts
/**
@@ -2,10 +2,10 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const chunkFMBD7UC4 = require('./chunk-FMBD7UC4-TIlv4zvc.cjs');
const index = require('./index-BqtStGzd.cjs');
const graph = require('./graph-BbyehMEB.cjs');
const channel = require('./channel-BMEomDyV.cjs');
const chunkFMBD7UC4 = require('./chunk-FMBD7UC4-BgzY-zxx.cjs');
const index = require('./index-BSSKeTjn.cjs');
const graph = require('./graph-D_dcoBAD.cjs');
const channel = require('./channel-DHbmqljM.cjs');
//#region src/compat/predicate/isArray.ts
/**
@@ -1,5 +1,5 @@
import { g as getNoteRect, d as drawRect } from './chunk-ND2GUHAM-C2CEfjdO.js';
import { s as setAccDescription, g as getAccDescription, a as getAccTitle, b as setAccTitle, _ as __name, c as getConfig2, d as select, l as log, e as configureSvgSize, f as assignWithDepth_default, h as calculateTextWidth, i as sanitizeText, j as distExports, w as wrapLabel, k as common_default, m as calculateTextHeight } from './index-DvUTQ6Kr.js';
import { g as getNoteRect, d as drawRect } from './chunk-ND2GUHAM-Bp8Cl3Mz.js';
import { s as setAccDescription, g as getAccDescription, a as getAccTitle, b as setAccTitle, _ as __name, c as getConfig2, d as select, l as log, e as configureSvgSize, f as assignWithDepth_default, h as calculateTextWidth, i as sanitizeText, j as distExports, w as wrapLabel, k as common_default, m as calculateTextHeight } from './index-BnaE_tRw.js';
// src/diagrams/c4/parser/c4Diagram.jison
var parser = (function() {
@@ -2,8 +2,8 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const chunkND2GUHAM = require('./chunk-ND2GUHAM-CYtASDDw.cjs');
const index = require('./index-BqtStGzd.cjs');
const chunkND2GUHAM = require('./chunk-ND2GUHAM-BSlFxuYG.cjs');
const index = require('./index-BSSKeTjn.cjs');
// src/diagrams/c4/parser/c4Diagram.jison
var parser = (function() {
@@ -1,4 +1,4 @@
import { U as Utils, F as Color } from './index-DvUTQ6Kr.js';
import { U as Utils, F as Color } from './index-BnaE_tRw.js';
/* IMPORT */
/* MAIN */
@@ -1,6 +1,6 @@
'use strict';
const index = require('./index-BqtStGzd.cjs');
const index = require('./index-BSSKeTjn.cjs');
/* IMPORT */
/* MAIN */
@@ -1,4 +1,4 @@
import { _ as __name, e as configureSvgSize, l as log } from './index-DvUTQ6Kr.js';
import { _ as __name, e as configureSvgSize, l as log } from './index-BnaE_tRw.js';
// src/rendering-util/setupViewPortForSVG.ts
var setupViewPortForSVG = /* @__PURE__ */ __name((svg, padding, cssDiagram, useMaxWidth) => {
@@ -1,6 +1,6 @@
'use strict';
const index = require('./index-BqtStGzd.cjs');
const index = require('./index-BSSKeTjn.cjs');
// src/rendering-util/setupViewPortForSVG.ts
var setupViewPortForSVG = /* @__PURE__ */ index.__name((svg, padding, cssDiagram, useMaxWidth) => {
@@ -1,4 +1,4 @@
import { _ as __name } from './index-DvUTQ6Kr.js';
import { _ as __name } from './index-BnaE_tRw.js';
// src/diagrams/common/populateCommonDb.ts
function populateCommonDb(ast, db) {
@@ -1,6 +1,6 @@
'use strict';
const index = require('./index-BqtStGzd.cjs');
const index = require('./index-BSSKeTjn.cjs');
// src/diagrams/common/populateCommonDb.ts
function populateCommonDb(ast, db) {
@@ -1,6 +1,6 @@
'use strict';
const index = require('./index-BqtStGzd.cjs');
const index = require('./index-BSSKeTjn.cjs');
var getDiagramElement = /* @__PURE__ */ index.__name((id, securityLevel) => {
let sandboxElement;
@@ -1,4 +1,4 @@
import { _ as __name, d as select } from './index-DvUTQ6Kr.js';
import { _ as __name, d as select } from './index-BnaE_tRw.js';
var getDiagramElement = /* @__PURE__ */ __name((id, securityLevel) => {
let sandboxElement;
@@ -1,8 +1,8 @@
import { g as getIconStyles } from './chunk-FMBD7UC4-B74aL4kM.js';
import { c as createTooltip } from './chunk-ND2GUHAM-C2CEfjdO.js';
import { g as getDiagramElement } from './chunk-55IACEB6-D-Nu18Jt.js';
import { s as setupViewPortForSVG } from './chunk-2J33WTMH-DtshrYP2.js';
import { _ as __name, l as log, c as getConfig2, q as getRegisteredLayoutAlgorithm, r as render, u as utils_default, d as select, B as purify, b as setAccTitle, a as getAccTitle, s as setAccDescription, g as getAccDescription, t as setDiagramTitle, v as getDiagramTitle, k as common_default, C as clear, z as getEdgeId, i as sanitizeText, ac as parseGenericTypes } from './index-DvUTQ6Kr.js';
import { g as getIconStyles } from './chunk-FMBD7UC4-VL8088dz.js';
import { c as createTooltip } from './chunk-ND2GUHAM-Bp8Cl3Mz.js';
import { g as getDiagramElement } from './chunk-55IACEB6-Dc6Yd7H8.js';
import { s as setupViewPortForSVG } from './chunk-2J33WTMH-DBO_ON4a.js';
import { _ as __name, l as log, c as getConfig2, q as getRegisteredLayoutAlgorithm, r as render, u as utils_default, d as select, B as purify, b as setAccTitle, a as getAccTitle, s as setAccDescription, g as getAccDescription, t as setDiagramTitle, v as getDiagramTitle, k as common_default, C as clear, z as getEdgeId, i as sanitizeText, ac as parseGenericTypes } from './index-BnaE_tRw.js';
// src/diagrams/class/parser/classDiagram.jison
var parser = (function() {
@@ -1,10 +1,10 @@
'use strict';
const chunkFMBD7UC4 = require('./chunk-FMBD7UC4-TIlv4zvc.cjs');
const chunkND2GUHAM = require('./chunk-ND2GUHAM-CYtASDDw.cjs');
const chunk55IACEB6 = require('./chunk-55IACEB6-C46821Hm.cjs');
const chunk2J33WTMH = require('./chunk-2J33WTMH-D0iADRfX.cjs');
const index = require('./index-BqtStGzd.cjs');
const chunkFMBD7UC4 = require('./chunk-FMBD7UC4-BgzY-zxx.cjs');
const chunkND2GUHAM = require('./chunk-ND2GUHAM-BSlFxuYG.cjs');
const chunk55IACEB6 = require('./chunk-55IACEB6-CdNq7EGe.cjs');
const chunk2J33WTMH = require('./chunk-2J33WTMH-Eg9zD0FF.cjs');
const index = require('./index-BSSKeTjn.cjs');
// src/diagrams/class/parser/classDiagram.jison
var parser = (function() {
@@ -1,8 +1,8 @@
'use strict';
const chunk55IACEB6 = require('./chunk-55IACEB6-C46821Hm.cjs');
const chunk2J33WTMH = require('./chunk-2J33WTMH-D0iADRfX.cjs');
const index = require('./index-BqtStGzd.cjs');
const chunk55IACEB6 = require('./chunk-55IACEB6-CdNq7EGe.cjs');
const chunk2J33WTMH = require('./chunk-2J33WTMH-Eg9zD0FF.cjs');
const index = require('./index-BSSKeTjn.cjs');
// src/diagrams/state/parser/stateDiagram.jison
var parser = (function() {
@@ -1,6 +1,6 @@
import { g as getDiagramElement } from './chunk-55IACEB6-D-Nu18Jt.js';
import { s as setupViewPortForSVG } from './chunk-2J33WTMH-DtshrYP2.js';
import { _ as __name, l as log, c as getConfig2, r as render, u as utils_default, a as getAccTitle, b as setAccTitle, g as getAccDescription, s as setAccDescription, t as setDiagramTitle, v as getDiagramTitle, af as generateId, k as common_default, C as clear } from './index-DvUTQ6Kr.js';
import { g as getDiagramElement } from './chunk-55IACEB6-Dc6Yd7H8.js';
import { s as setupViewPortForSVG } from './chunk-2J33WTMH-DBO_ON4a.js';
import { _ as __name, l as log, c as getConfig2, r as render, u as utils_default, a as getAccTitle, b as setAccTitle, g as getAccDescription, s as setAccDescription, t as setDiagramTitle, v as getDiagramTitle, af as generateId, k as common_default, C as clear } from './index-BnaE_tRw.js';
// src/diagrams/state/parser/stateDiagram.jison
var parser = (function() {
@@ -1,6 +1,6 @@
'use strict';
const index = require('./index-BqtStGzd.cjs');
const index = require('./index-BSSKeTjn.cjs');
// src/diagrams/globalStyles.ts
var getIconStyles = /* @__PURE__ */ index.__name(() => `
@@ -1,4 +1,4 @@
import { _ as __name } from './index-DvUTQ6Kr.js';
import { _ as __name } from './index-BnaE_tRw.js';
// src/diagrams/globalStyles.ts
var getIconStyles = /* @__PURE__ */ __name(() => `
@@ -1,6 +1,6 @@
'use strict';
const index = require('./index-BqtStGzd.cjs');
const index = require('./index-BSSKeTjn.cjs');
var drawRect = /* @__PURE__ */ index.__name((element, rectData) => {
const rectElement = element.append("rect");
@@ -1,4 +1,4 @@
import { _ as __name, d as select, n as lineBreakRegex, j as distExports } from './index-DvUTQ6Kr.js';
import { _ as __name, d as select, n as lineBreakRegex, j as distExports } from './index-BnaE_tRw.js';
var drawRect = /* @__PURE__ */ __name((element, rectData) => {
const rectElement = element.append("rect");
@@ -1,4 +1,4 @@
import { _ as __name } from './index-DvUTQ6Kr.js';
import { _ as __name } from './index-BnaE_tRw.js';
// src/utils/imperativeState.ts
var ImperativeState = class {
@@ -1,6 +1,6 @@
'use strict';
const index = require('./index-BqtStGzd.cjs');
const index = require('./index-BSSKeTjn.cjs');
// src/utils/imperativeState.ts
var ImperativeState = class {
@@ -1,5 +1,5 @@
import { s as styles_default, c as classRenderer_v3_unified_default, a as classDiagram_default, C as ClassDB } from './chunk-727SXJPM-BIYeoqjf.js';
import { _ as __name } from './index-DvUTQ6Kr.js';
import { s as styles_default, c as classRenderer_v3_unified_default, a as classDiagram_default, C as ClassDB } from './chunk-727SXJPM-BifxL5T6.js';
import { _ as __name } from './index-BnaE_tRw.js';
// src/diagrams/class/classDiagram.ts
var diagram = {
@@ -2,8 +2,8 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const chunk727SXJPM = require('./chunk-727SXJPM-BIWKZqME.cjs');
const index = require('./index-BqtStGzd.cjs');
const chunk727SXJPM = require('./chunk-727SXJPM-UWjyA4MO.cjs');
const index = require('./index-BSSKeTjn.cjs');
// src/diagrams/class/classDiagram.ts
var diagram = {
@@ -1,5 +1,5 @@
import { s as styles_default, c as classRenderer_v3_unified_default, a as classDiagram_default, C as ClassDB } from './chunk-727SXJPM-BIYeoqjf.js';
import { _ as __name } from './index-DvUTQ6Kr.js';
import { s as styles_default, c as classRenderer_v3_unified_default, a as classDiagram_default, C as ClassDB } from './chunk-727SXJPM-BifxL5T6.js';
import { _ as __name } from './index-BnaE_tRw.js';
// src/diagrams/class/classDiagram-v2.ts
var diagram = {
@@ -2,8 +2,8 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const chunk727SXJPM = require('./chunk-727SXJPM-BIWKZqME.cjs');
const index = require('./index-BqtStGzd.cjs');
const chunk727SXJPM = require('./chunk-727SXJPM-UWjyA4MO.cjs');
const index = require('./index-BSSKeTjn.cjs');
// src/diagrams/class/classDiagram-v2.ts
var diagram = {
@@ -1,4 +1,4 @@
import { bl as getDefaultExportFromCjs, _ as __name, l as log, d as select } from './index-DvUTQ6Kr.js';
import { bl as getDefaultExportFromCjs, _ as __name, l as log, d as select } from './index-BnaE_tRw.js';
import { c as cytoscape$1 } from './cytoscape.esm-vCfDE9xP.js';
var cytoscapeCoseBilkent$1 = {exports: {}};
@@ -2,7 +2,7 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const index = require('./index-BSSKeTjn.cjs');
const cytoscape_esm = require('./cytoscape.esm-DQ71Mqgy.cjs');
var cytoscapeCoseBilkent$1 = {exports: {}};
@@ -2,9 +2,9 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const graph = require('./graph-BbyehMEB.cjs');
const layout = require('./layout-DHXBfWCM.cjs');
const index = require('./index-BSSKeTjn.cjs');
const graph = require('./graph-D_dcoBAD.cjs');
const layout = require('./layout-BiOyyOZs.cjs');
/** Used to compose bitmasks for cloning. */
var CLONE_SYMBOLS_FLAG = 4;
@@ -1,6 +1,6 @@
import { aZ as baseClone, _ as __name, a_ as markers_default, a$ as clear2, b0 as clear, b1 as clear$1, l as log, c as getConfig2, b2 as updateNodeBounds, b3 as setNodeElem, am as insertNode, aU as getSubGraphTitleMargins, an as positionNode, al as insertCluster, b4 as insertEdge, b5 as positionEdgeLabel, b6 as insertEdgeLabel } from './index-DvUTQ6Kr.js';
import { i as isUndefined, G as Graph } from './graph-_hAKm3T7.js';
import { m as map, l as layout } from './layout-BFDKcNNJ.js';
import { aZ as baseClone, _ as __name, a_ as markers_default, a$ as clear2, b0 as clear, b1 as clear$1, l as log, c as getConfig2, b2 as updateNodeBounds, b3 as setNodeElem, am as insertNode, aU as getSubGraphTitleMargins, an as positionNode, al as insertCluster, b4 as insertEdge, b5 as positionEdgeLabel, b6 as insertEdgeLabel } from './index-BnaE_tRw.js';
import { i as isUndefined, G as Graph } from './graph-10NtilwP.js';
import { m as map, l as layout } from './layout-MNZmCDp0.js';
/** Used to compose bitmasks for cloning. */
var CLONE_SYMBOLS_FLAG = 4;
@@ -2,8 +2,8 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const chunk4BX2VUAB = require('./chunk-4BX2VUAB-BPAckI7A.cjs');
const index = require('./index-BSSKeTjn.cjs');
const chunk4BX2VUAB = require('./chunk-4BX2VUAB-Bv7MdE8Y.cjs');
const wardleyL42UT6IY = require('./wardley-L42UT6IY-LWC3cHV5.cjs');
// src/diagrams/radar/db.ts
@@ -1,5 +1,5 @@
import { s as setAccDescription, g as getAccDescription, v as getDiagramTitle, t as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, O as selectSvgElement, C as clear, K as cleanAndMerge, H as getConfig, M as defaultConfig_default, l as log, a5 as getThemeVariables3, e as configureSvgSize } from './index-DvUTQ6Kr.js';
import { p as populateCommonDb } from './chunk-4BX2VUAB-C09YbnjP.js';
import { s as setAccDescription, g as getAccDescription, v as getDiagramTitle, t as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, O as selectSvgElement, C as clear, K as cleanAndMerge, H as getConfig, M as defaultConfig_default, l as log, a5 as getThemeVariables3, e as configureSvgSize } from './index-BnaE_tRw.js';
import { p as populateCommonDb } from './chunk-4BX2VUAB-BGNGTewj.js';
import { p as parse } from './wardley-L42UT6IY-CrBdnzA2.js';
// src/diagrams/radar/db.ts
@@ -2,9 +2,9 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const chunk4BX2VUAB = require('./chunk-4BX2VUAB-BPAckI7A.cjs');
const chunkQZHKN3VN = require('./chunk-QZHKN3VN-nUfK3EtJ.cjs');
const index = require('./index-BSSKeTjn.cjs');
const chunk4BX2VUAB = require('./chunk-4BX2VUAB-Bv7MdE8Y.cjs');
const chunkQZHKN3VN = require('./chunk-QZHKN3VN-FOxLc9yS.cjs');
const wardleyL42UT6IY = require('./wardley-L42UT6IY-LWC3cHV5.cjs');
// src/diagrams/treeView/db.ts
@@ -1,6 +1,6 @@
import { t as setDiagramTitle, b as setAccTitle, s as setAccDescription, v as getDiagramTitle, g as getAccDescription, a as getAccTitle, _ as __name, K as cleanAndMerge, l as log, O as selectSvgElement, e as configureSvgSize, H as getConfig, C as clear, M as defaultConfig_default } from './index-DvUTQ6Kr.js';
import { p as populateCommonDb } from './chunk-4BX2VUAB-C09YbnjP.js';
import { I as ImperativeState } from './chunk-QZHKN3VN-CULhyxcA.js';
import { t as setDiagramTitle, b as setAccTitle, s as setAccDescription, v as getDiagramTitle, g as getAccDescription, a as getAccTitle, _ as __name, K as cleanAndMerge, l as log, O as selectSvgElement, e as configureSvgSize, H as getConfig, C as clear, M as defaultConfig_default } from './index-BnaE_tRw.js';
import { p as populateCommonDb } from './chunk-4BX2VUAB-BGNGTewj.js';
import { I as ImperativeState } from './chunk-QZHKN3VN-CzY05dL9.js';
import { p as parse } from './wardley-L42UT6IY-CrBdnzA2.js';
// src/diagrams/treeView/db.ts
@@ -1,5 +1,5 @@
import { p as populateCommonDb } from './chunk-4BX2VUAB-C09YbnjP.js';
import { v as getDiagramTitle, t as setDiagramTitle, s as setAccDescription, g as getAccDescription, a as getAccTitle, b as setAccTitle, _ as __name, l as log, c as getConfig2, d as select, I as setupGraphViewbox2, C as clear, K as cleanAndMerge, H as getConfig, M as defaultConfig_default, i as sanitizeText, w as wrapLabel, ao as calculateTextDimensions } from './index-DvUTQ6Kr.js';
import { p as populateCommonDb } from './chunk-4BX2VUAB-BGNGTewj.js';
import { v as getDiagramTitle, t as setDiagramTitle, s as setAccDescription, g as getAccDescription, a as getAccTitle, b as setAccTitle, _ as __name, l as log, c as getConfig2, d as select, I as setupGraphViewbox2, C as clear, K as cleanAndMerge, H as getConfig, M as defaultConfig_default, i as sanitizeText, w as wrapLabel, ao as calculateTextDimensions } from './index-BnaE_tRw.js';
import { p as parse, i as isEmResetFrame } from './wardley-L42UT6IY-CrBdnzA2.js';
// src/diagrams/eventmodeling/types.ts
@@ -2,8 +2,8 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const chunk4BX2VUAB = require('./chunk-4BX2VUAB-BPAckI7A.cjs');
const index = require('./index-BqtStGzd.cjs');
const chunk4BX2VUAB = require('./chunk-4BX2VUAB-Bv7MdE8Y.cjs');
const index = require('./index-BSSKeTjn.cjs');
const wardleyL42UT6IY = require('./wardley-L42UT6IY-LWC3cHV5.cjs');
// src/diagrams/eventmodeling/types.ts
@@ -2,8 +2,8 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const chunk4BX2VUAB = require('./chunk-4BX2VUAB-BPAckI7A.cjs');
const index = require('./index-BSSKeTjn.cjs');
const chunk4BX2VUAB = require('./chunk-4BX2VUAB-Bv7MdE8Y.cjs');
const wardleyL42UT6IY = require('./wardley-L42UT6IY-LWC3cHV5.cjs');
// src/diagrams/packet/db.ts
@@ -1,5 +1,5 @@
import { _ as __name, K as cleanAndMerge, O as selectSvgElement, e as configureSvgSize, l as log, b as setAccTitle, a as getAccTitle, t as setDiagramTitle, v as getDiagramTitle, g as getAccDescription, s as setAccDescription, H as getConfig, M as defaultConfig_default, C as clear } from './index-DvUTQ6Kr.js';
import { p as populateCommonDb } from './chunk-4BX2VUAB-C09YbnjP.js';
import { _ as __name, K as cleanAndMerge, O as selectSvgElement, e as configureSvgSize, l as log, b as setAccTitle, a as getAccTitle, t as setDiagramTitle, v as getDiagramTitle, g as getAccDescription, s as setAccDescription, H as getConfig, M as defaultConfig_default, C as clear } from './index-BnaE_tRw.js';
import { p as populateCommonDb } from './chunk-4BX2VUAB-BGNGTewj.js';
import { p as parse } from './wardley-L42UT6IY-CrBdnzA2.js';
// src/diagrams/packet/db.ts
@@ -2,9 +2,9 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const chunk2J33WTMH = require('./chunk-2J33WTMH-D0iADRfX.cjs');
const chunk4BX2VUAB = require('./chunk-4BX2VUAB-BPAckI7A.cjs');
const index = require('./index-BSSKeTjn.cjs');
const chunk2J33WTMH = require('./chunk-2J33WTMH-Eg9zD0FF.cjs');
const chunk4BX2VUAB = require('./chunk-4BX2VUAB-Bv7MdE8Y.cjs');
const wardleyL42UT6IY = require('./wardley-L42UT6IY-LWC3cHV5.cjs');
const ordinal = require('./ordinal-C81cuTG8.cjs');
@@ -1,6 +1,6 @@
import { _ as __name, a5 as getThemeVariables3, H as getConfig, K as cleanAndMerge, O as selectSvgElement, e as configureSvgSize, l as log, bu as styles2String, d as select, b as setAccTitle, a as getAccTitle, t as setDiagramTitle, v as getDiagramTitle, g as getAccDescription, s as setAccDescription, M as defaultConfig_default, bv as isLabelStyle, C as clear } from './index-DvUTQ6Kr.js';
import { s as setupViewPortForSVG } from './chunk-2J33WTMH-DtshrYP2.js';
import { p as populateCommonDb } from './chunk-4BX2VUAB-C09YbnjP.js';
import { _ as __name, a5 as getThemeVariables3, H as getConfig, K as cleanAndMerge, O as selectSvgElement, e as configureSvgSize, l as log, bu as styles2String, d as select, b as setAccTitle, a as getAccTitle, t as setDiagramTitle, v as getDiagramTitle, g as getAccDescription, s as setAccDescription, M as defaultConfig_default, bv as isLabelStyle, C as clear } from './index-BnaE_tRw.js';
import { s as setupViewPortForSVG } from './chunk-2J33WTMH-DBO_ON4a.js';
import { p as populateCommonDb } from './chunk-4BX2VUAB-BGNGTewj.js';
import { p as parse } from './wardley-L42UT6IY-CrBdnzA2.js';
import { o as ordinal } from './ordinal-X8I8fqLF.js';
@@ -2,10 +2,10 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const chunk55IACEB6 = require('./chunk-55IACEB6-C46821Hm.cjs');
const chunk2J33WTMH = require('./chunk-2J33WTMH-D0iADRfX.cjs');
const index = require('./index-BqtStGzd.cjs');
const channel = require('./channel-BMEomDyV.cjs');
const chunk55IACEB6 = require('./chunk-55IACEB6-CdNq7EGe.cjs');
const chunk2J33WTMH = require('./chunk-2J33WTMH-Eg9zD0FF.cjs');
const index = require('./index-BSSKeTjn.cjs');
const channel = require('./channel-DHbmqljM.cjs');
// src/diagrams/er/parser/erDiagram.jison
var parser = (function() {
@@ -1,7 +1,7 @@
import { g as getDiagramElement } from './chunk-55IACEB6-D-Nu18Jt.js';
import { s as setupViewPortForSVG } from './chunk-2J33WTMH-DtshrYP2.js';
import { _ as __name, b as setAccTitle, a as getAccTitle, s as setAccDescription, g as getAccDescription, t as setDiagramTitle, v as getDiagramTitle, c as getConfig2, l as log, C as clear, z as getEdgeId, E as rgba, G as __export, q as getRegisteredLayoutAlgorithm, r as render, d as select, u as utils_default } from './index-DvUTQ6Kr.js';
import { c as channel } from './channel-D5ZCUX-b.js';
import { g as getDiagramElement } from './chunk-55IACEB6-Dc6Yd7H8.js';
import { s as setupViewPortForSVG } from './chunk-2J33WTMH-DBO_ON4a.js';
import { _ as __name, b as setAccTitle, a as getAccTitle, s as setAccDescription, g as getAccDescription, t as setDiagramTitle, v as getDiagramTitle, c as getConfig2, l as log, C as clear, z as getEdgeId, E as rgba, G as __export, q as getRegisteredLayoutAlgorithm, r as render, d as select, u as utils_default } from './index-BnaE_tRw.js';
import { c as channel } from './channel-BTq-OffU.js';
// src/diagrams/er/parser/erDiagram.jison
var parser = (function() {
@@ -2,12 +2,12 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const chunkFMBD7UC4 = require('./chunk-FMBD7UC4-TIlv4zvc.cjs');
const index = require('./index-BqtStGzd.cjs');
const chunkND2GUHAM = require('./chunk-ND2GUHAM-CYtASDDw.cjs');
const chunk55IACEB6 = require('./chunk-55IACEB6-C46821Hm.cjs');
const chunk2J33WTMH = require('./chunk-2J33WTMH-D0iADRfX.cjs');
const channel = require('./channel-BMEomDyV.cjs');
const chunkFMBD7UC4 = require('./chunk-FMBD7UC4-BgzY-zxx.cjs');
const index = require('./index-BSSKeTjn.cjs');
const chunkND2GUHAM = require('./chunk-ND2GUHAM-BSlFxuYG.cjs');
const chunk55IACEB6 = require('./chunk-55IACEB6-CdNq7EGe.cjs');
const chunk2J33WTMH = require('./chunk-2J33WTMH-Eg9zD0FF.cjs');
const channel = require('./channel-DHbmqljM.cjs');
var MERMAID_DOM_ID_PREFIX = "flowchart-";
var FlowDB = class {
@@ -1,9 +1,9 @@
import { g as getIconStyles } from './chunk-FMBD7UC4-B74aL4kM.js';
import { _ as __name, o as setConfig2, l as log, c as getConfig2, q as getRegisteredLayoutAlgorithm, r as render, u as utils_default, b as setAccTitle, s as setAccDescription, t as setDiagramTitle, a as getAccTitle, g as getAccDescription, v as getDiagramTitle, k as common_default, x as load, J as JSON_SCHEMA, y as isValidShape, z as getEdgeId, d as select, B as purify, C as clear, D as defaultConfig2, E as rgba } from './index-DvUTQ6Kr.js';
import { c as createTooltip } from './chunk-ND2GUHAM-C2CEfjdO.js';
import { g as getDiagramElement } from './chunk-55IACEB6-D-Nu18Jt.js';
import { s as setupViewPortForSVG } from './chunk-2J33WTMH-DtshrYP2.js';
import { c as channel } from './channel-D5ZCUX-b.js';
import { g as getIconStyles } from './chunk-FMBD7UC4-VL8088dz.js';
import { _ as __name, o as setConfig2, l as log, c as getConfig2, q as getRegisteredLayoutAlgorithm, r as render, u as utils_default, b as setAccTitle, s as setAccDescription, t as setDiagramTitle, a as getAccTitle, g as getAccDescription, v as getDiagramTitle, k as common_default, x as load, J as JSON_SCHEMA, y as isValidShape, z as getEdgeId, d as select, B as purify, C as clear, D as defaultConfig2, E as rgba } from './index-BnaE_tRw.js';
import { c as createTooltip } from './chunk-ND2GUHAM-Bp8Cl3Mz.js';
import { g as getDiagramElement } from './chunk-55IACEB6-Dc6Yd7H8.js';
import { s as setupViewPortForSVG } from './chunk-2J33WTMH-DBO_ON4a.js';
import { c as channel } from './channel-BTq-OffU.js';
var MERMAID_DOM_ID_PREFIX = "flowchart-";
var FlowDB = class {
@@ -1,5 +1,5 @@
import { bw as Rgb, bx as rgbConvert, by as define, bz as extend, bA as Color, bB as nogamma, bC as hue, bl as getDefaultExportFromCjs, g as getAccDescription, s as setAccDescription, v as getDiagramTitle, t as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, c as getConfig2, d as select, e as configureSvgSize, bD as dayjs2, l as log, k as common_default, j as distExports, C as clear, u as utils_default } from './index-DvUTQ6Kr.js';
import { b as bisector, t as tickStep, c as continuous, a as copy, l as linear } from './linear-C00SUpZV.js';
import { bw as Rgb, bx as rgbConvert, by as define, bz as extend, bA as Color, bB as nogamma, bC as hue, bl as getDefaultExportFromCjs, g as getAccDescription, s as setAccDescription, v as getDiagramTitle, t as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, c as getConfig2, d as select, e as configureSvgSize, bD as dayjs2, l as log, k as common_default, j as distExports, C as clear, u as utils_default } from './index-BnaE_tRw.js';
import { b as bisector, t as tickStep, c as continuous, a as copy, l as linear } from './linear-RckPH3vF.js';
import { i as initRange } from './init-zpY4DTin.js';
function max(values, valueof) {
@@ -2,8 +2,8 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const linear = require('./linear-DtSOBOb7.cjs');
const index = require('./index-BSSKeTjn.cjs');
const linear = require('./linear-DBBh20Cr.cjs');
const init = require('./init-B8WotsHH.cjs');
function max(values, valueof) {
@@ -2,9 +2,9 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const chunk4BX2VUAB = require('./chunk-4BX2VUAB-BPAckI7A.cjs');
const chunkQZHKN3VN = require('./chunk-QZHKN3VN-nUfK3EtJ.cjs');
const index = require('./index-BqtStGzd.cjs');
const chunk4BX2VUAB = require('./chunk-4BX2VUAB-Bv7MdE8Y.cjs');
const chunkQZHKN3VN = require('./chunk-QZHKN3VN-FOxLc9yS.cjs');
const index = require('./index-BSSKeTjn.cjs');
const wardleyL42UT6IY = require('./wardley-L42UT6IY-LWC3cHV5.cjs');
// src/diagrams/git/gitGraphTypes.ts
@@ -1,6 +1,6 @@
import { p as populateCommonDb } from './chunk-4BX2VUAB-C09YbnjP.js';
import { I as ImperativeState } from './chunk-QZHKN3VN-CULhyxcA.js';
import { v as getDiagramTitle, t as setDiagramTitle, s as setAccDescription, g as getAccDescription, a as getAccTitle, b as setAccTitle, _ as __name, H as getConfig, l as log, d as select, c as getConfig2, u as utils_default, I as setupGraphViewbox2, C as clear, k as common_default, K as cleanAndMerge, M as defaultConfig_default, N as random } from './index-DvUTQ6Kr.js';
import { p as populateCommonDb } from './chunk-4BX2VUAB-BGNGTewj.js';
import { I as ImperativeState } from './chunk-QZHKN3VN-CzY05dL9.js';
import { v as getDiagramTitle, t as setDiagramTitle, s as setAccDescription, g as getAccDescription, a as getAccTitle, b as setAccTitle, _ as __name, H as getConfig, l as log, d as select, c as getConfig2, u as utils_default, I as setupGraphViewbox2, C as clear, k as common_default, K as cleanAndMerge, M as defaultConfig_default, N as random } from './index-BnaE_tRw.js';
import { p as parse } from './wardley-L42UT6IY-CrBdnzA2.js';
// src/diagrams/git/gitGraphTypes.ts
@@ -1,4 +1,4 @@
import { b9 as baseEach, ba as baseIteratee, bb as isArray, bc as arrayFilter, bd as arrayMap, be as keys, bf as constant, bg as isFunction, bh as forEach, bi as union, bj as reduce, bk as isEmpty } from './index-DvUTQ6Kr.js';
import { b9 as baseEach, ba as baseIteratee, bb as isArray, bc as arrayFilter, bd as arrayMap, be as keys, bf as constant, bg as isFunction, bh as forEach, bi as union, bj as reduce, bk as isEmpty } from './index-BnaE_tRw.js';
/**
* The base implementation of `_.filter` without support for iteratee shorthands.
@@ -1,6 +1,6 @@
'use strict';
const index = require('./index-BqtStGzd.cjs');
const index = require('./index-BSSKeTjn.cjs');
/**
* The base implementation of `_.filter` without support for iteratee shorthands.
@@ -2,7 +2,7 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const index = require('./index-BSSKeTjn.cjs');
const React = require('react');
const jsxRuntime = require('react/jsx-runtime');
@@ -1,4 +1,4 @@
import { R as R$1, L as Li, A as At } from './index-DvUTQ6Kr.js';
import { R as R$1, L as Li, A as At } from './index-BnaE_tRw.js';
import { useContext, useState, useEffect } from 'react';
import { jsx } from 'react/jsx-runtime';
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -3,7 +3,7 @@
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
require('react');
const index = require('./index-BqtStGzd.cjs');
const index = require('./index-BSSKeTjn.cjs');
+1 -1
View File
@@ -1,2 +1,2 @@
import 'react';
export { c1 as BrandProvider, c2 as HanzoAI, c2 as default, c3 as getBrand, c4 as getBrandFromHostname, c5 as useBrand } from './index-DvUTQ6Kr.js';
export { c1 as BrandProvider, c2 as HanzoAI, c2 as default, c3 as getBrand, c4 as getBrandFromHostname, c5 as useBrand } from './index-BnaE_tRw.js';
@@ -2,7 +2,7 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const index = require('./index-BSSKeTjn.cjs');
const wardleyL42UT6IY = require('./wardley-L42UT6IY-LWC3cHV5.cjs');
var parser = {
@@ -1,4 +1,4 @@
import { _ as __name, l as log, O as selectSvgElement, e as configureSvgSize } from './index-DvUTQ6Kr.js';
import { _ as __name, l as log, O as selectSvgElement, e as configureSvgSize } from './index-BnaE_tRw.js';
import { p as parse } from './wardley-L42UT6IY-CrBdnzA2.js';
var parser = {
@@ -2,7 +2,7 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const index = require('./index-BSSKeTjn.cjs');
// src/diagrams/ishikawa/parser/ishikawa.jison
var parser = (function() {
@@ -1,4 +1,4 @@
import { _ as __name, c as getConfig2, a8 as parseFontSize, O as selectSvgElement, ap as at, C as clear, k as common_default, t as setDiagramTitle, a as getAccTitle, b as setAccTitle, g as getAccDescription, s as setAccDescription, v as getDiagramTitle, e as configureSvgSize } from './index-DvUTQ6Kr.js';
import { _ as __name, c as getConfig2, a8 as parseFontSize, O as selectSvgElement, ap as at, C as clear, k as common_default, t as setDiagramTitle, a as getAccTitle, b as setAccTitle, g as getAccDescription, s as setAccDescription, v as getDiagramTitle, e as configureSvgSize } from './index-BnaE_tRw.js';
// src/diagrams/ishikawa/parser/ishikawa.jison
var parser = (function() {
@@ -2,10 +2,10 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const chunkFMBD7UC4 = require('./chunk-FMBD7UC4-TIlv4zvc.cjs');
const chunkND2GUHAM = require('./chunk-ND2GUHAM-CYtASDDw.cjs');
const index = require('./index-BqtStGzd.cjs');
const arc = require('./arc-DnHiU5ei.cjs');
const chunkFMBD7UC4 = require('./chunk-FMBD7UC4-BgzY-zxx.cjs');
const chunkND2GUHAM = require('./chunk-ND2GUHAM-BSlFxuYG.cjs');
const index = require('./index-BSSKeTjn.cjs');
const arc = require('./arc-CjJgFqEq.cjs');
// src/diagrams/user-journey/parser/journey.jison
var parser = (function() {
@@ -1,7 +1,7 @@
import { g as getIconStyles } from './chunk-FMBD7UC4-B74aL4kM.js';
import { a as drawBackgroundRect, g as getNoteRect, h as drawText, d as drawRect } from './chunk-ND2GUHAM-C2CEfjdO.js';
import { g as getAccDescription, s as setAccDescription, a as getAccTitle, b as setAccTitle, v as getDiagramTitle, t as setDiagramTitle, _ as __name, c as getConfig2, d as select, e as configureSvgSize, C as clear } from './index-DvUTQ6Kr.js';
import { d as d3arc } from './arc-Dk15P0p3.js';
import { g as getIconStyles } from './chunk-FMBD7UC4-VL8088dz.js';
import { a as drawBackgroundRect, g as getNoteRect, h as drawText, d as drawRect } from './chunk-ND2GUHAM-Bp8Cl3Mz.js';
import { g as getAccDescription, s as setAccDescription, a as getAccTitle, b as setAccTitle, v as getDiagramTitle, t as setDiagramTitle, _ as __name, c as getConfig2, d as select, e as configureSvgSize, C as clear } from './index-BnaE_tRw.js';
import { d as d3arc } from './arc-_z5c0Dt4.js';
// src/diagrams/user-journey/parser/journey.jison
var parser = (function() {
@@ -2,8 +2,8 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const chunkFMBD7UC4 = require('./chunk-FMBD7UC4-TIlv4zvc.cjs');
const index = require('./index-BSSKeTjn.cjs');
const chunkFMBD7UC4 = require('./chunk-FMBD7UC4-BgzY-zxx.cjs');
// src/diagrams/kanban/parser/kanban.jison
var parser = (function() {
@@ -1,5 +1,5 @@
import { _ as __name, l as log, c as getConfig2, O as selectSvgElement, al as insertCluster, am as insertNode, an as positionNode, aj as setupGraphViewbox, M as defaultConfig_default, i as sanitizeText, x as load, J as JSON_SCHEMA, ag as isDark, ah as lighten, ai as darken } from './index-DvUTQ6Kr.js';
import { g as getIconStyles } from './chunk-FMBD7UC4-B74aL4kM.js';
import { _ as __name, l as log, c as getConfig2, O as selectSvgElement, al as insertCluster, am as insertNode, an as positionNode, aj as setupGraphViewbox, M as defaultConfig_default, i as sanitizeText, x as load, J as JSON_SCHEMA, ag as isDark, ah as lighten, ai as darken } from './index-BnaE_tRw.js';
import { g as getIconStyles } from './chunk-FMBD7UC4-VL8088dz.js';
// src/diagrams/kanban/parser/kanban.jison
var parser = (function() {
@@ -1,7 +1,7 @@
'use strict';
const graph = require('./graph-BbyehMEB.cjs');
const index = require('./index-BqtStGzd.cjs');
const graph = require('./graph-D_dcoBAD.cjs');
const index = require('./index-BSSKeTjn.cjs');
/** Used for built-in method references. */
var objectProto = Object.prototype;
@@ -1,5 +1,5 @@
import { G as Graph, i as isUndefined, f as filter, v as values } from './graph-_hAKm3T7.js';
import { bE as baseRest, bF as isIterateeCall, bG as keysIn, bH as eq, bI as isArrayLike, ba as baseIteratee, be as keys, bJ as toInteger, bK as baseFindIndex, b9 as baseEach, bb as isArray, bd as arrayMap, bL as baseFor, bM as castFunction, bN as baseForOwn, bO as baseAssignValue, bP as isSymbol, bQ as identity, bR as baseGet, bS as baseUnary, bT as toFinite, bU as baseFlatten, bV as assignValue, bW as flatten, bh as forEach, bf as constant, bX as uniqueId, bY as has, bj as reduce, bZ as pick, b_ as last, b$ as cloneDeep, c0 as merge } from './index-DvUTQ6Kr.js';
import { G as Graph, i as isUndefined, f as filter, v as values } from './graph-10NtilwP.js';
import { bE as baseRest, bF as isIterateeCall, bG as keysIn, bH as eq, bI as isArrayLike, ba as baseIteratee, be as keys, bJ as toInteger, bK as baseFindIndex, b9 as baseEach, bb as isArray, bd as arrayMap, bL as baseFor, bM as castFunction, bN as baseForOwn, bO as baseAssignValue, bP as isSymbol, bQ as identity, bR as baseGet, bS as baseUnary, bT as toFinite, bU as baseFlatten, bV as assignValue, bW as flatten, bh as forEach, bf as constant, bX as uniqueId, bY as has, bj as reduce, bZ as pick, b_ as last, b$ as cloneDeep, c0 as merge } from './index-BnaE_tRw.js';
/** Used for built-in method references. */
var objectProto = Object.prototype;
@@ -1,6 +1,6 @@
'use strict';
const index = require('./index-BqtStGzd.cjs');
const index = require('./index-BSSKeTjn.cjs');
const init = require('./init-B8WotsHH.cjs');
function ascending(a, b) {
@@ -1,4 +1,4 @@
import { bp as constant, bq as interpolateNumber, br as color, bs as interpolateRgb, bt as interpolateString } from './index-DvUTQ6Kr.js';
import { bp as constant, bq as interpolateNumber, br as color, bs as interpolateRgb, bt as interpolateString } from './index-BnaE_tRw.js';
import { i as initRange } from './init-zpY4DTin.js';
function ascending(a, b) {
@@ -0,0 +1,5 @@
import { p as po } from './index-BnaE_tRw.js';
export { po as Mermaid };
@@ -1,5 +0,0 @@
import { p as po } from './index-DvUTQ6Kr.js';
export { po as Mermaid };
@@ -2,7 +2,7 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const index = require('./index-BSSKeTjn.cjs');
@@ -1,6 +1,6 @@
import { g as getDiagramElement } from './chunk-55IACEB6-D-Nu18Jt.js';
import { s as setupViewPortForSVG } from './chunk-2J33WTMH-DtshrYP2.js';
import { _ as __name, l as log, q as getRegisteredLayoutAlgorithm, r as render, H as getConfig, M as defaultConfig_default, c as getConfig2, i as sanitizeText, b8 as getUserDefinedConfig, ag as isDark, ah as lighten, ai as darken } from './index-DvUTQ6Kr.js';
import { g as getDiagramElement } from './chunk-55IACEB6-Dc6Yd7H8.js';
import { s as setupViewPortForSVG } from './chunk-2J33WTMH-DBO_ON4a.js';
import { _ as __name, l as log, q as getRegisteredLayoutAlgorithm, r as render, H as getConfig, M as defaultConfig_default, c as getConfig2, i as sanitizeText, b8 as getUserDefinedConfig, ag as isDark, ah as lighten, ai as darken } from './index-BnaE_tRw.js';
const byteToHex = [];
for (let i = 0; i < 256; ++i) {
@@ -2,9 +2,9 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const chunk55IACEB6 = require('./chunk-55IACEB6-C46821Hm.cjs');
const chunk2J33WTMH = require('./chunk-2J33WTMH-D0iADRfX.cjs');
const index = require('./index-BqtStGzd.cjs');
const chunk55IACEB6 = require('./chunk-55IACEB6-CdNq7EGe.cjs');
const chunk2J33WTMH = require('./chunk-2J33WTMH-Eg9zD0FF.cjs');
const index = require('./index-BSSKeTjn.cjs');
const byteToHex = [];
for (let i = 0; i < 256; ++i) {
@@ -2,10 +2,10 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const chunk4BX2VUAB = require('./chunk-4BX2VUAB-BPAckI7A.cjs');
const index = require('./index-BSSKeTjn.cjs');
const chunk4BX2VUAB = require('./chunk-4BX2VUAB-Bv7MdE8Y.cjs');
const wardleyL42UT6IY = require('./wardley-L42UT6IY-LWC3cHV5.cjs');
const arc = require('./arc-DnHiU5ei.cjs');
const arc = require('./arc-CjJgFqEq.cjs');
const ordinal = require('./ordinal-C81cuTG8.cjs');
function descending(a, b) {
@@ -1,7 +1,7 @@
import { V as constant, Y as tau, b7 as array, g as getAccDescription, s as setAccDescription, a as getAccTitle, b as setAccTitle, v as getDiagramTitle, t as setDiagramTitle, _ as __name, l as log, c as getConfig2$1, K as cleanAndMerge, O as selectSvgElement, a8 as parseFontSize, e as configureSvgSize, C as clear, M as defaultConfig_default } from './index-DvUTQ6Kr.js';
import { p as populateCommonDb } from './chunk-4BX2VUAB-C09YbnjP.js';
import { V as constant, Y as tau, b7 as array, g as getAccDescription, s as setAccDescription, a as getAccTitle, b as setAccTitle, v as getDiagramTitle, t as setDiagramTitle, _ as __name, l as log, c as getConfig2$1, K as cleanAndMerge, O as selectSvgElement, a8 as parseFontSize, e as configureSvgSize, C as clear, M as defaultConfig_default } from './index-BnaE_tRw.js';
import { p as populateCommonDb } from './chunk-4BX2VUAB-BGNGTewj.js';
import { p as parse } from './wardley-L42UT6IY-CrBdnzA2.js';
import { d as d3arc } from './arc-Dk15P0p3.js';
import { d as d3arc } from './arc-_z5c0Dt4.js';
import { o as ordinal } from './ordinal-X8I8fqLF.js';
function descending(a, b) {
@@ -2,8 +2,8 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const linear = require('./linear-DtSOBOb7.cjs');
const index = require('./index-BSSKeTjn.cjs');
const linear = require('./linear-DBBh20Cr.cjs');
// src/diagrams/quadrant-chart/parser/quadrant.jison
var parser = (function() {
@@ -1,5 +1,5 @@
import { s as setAccDescription, g as getAccDescription, v as getDiagramTitle, t as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, c as getConfig2, l as log, d as select, e as configureSvgSize, C as clear, M as defaultConfig_default, i as sanitizeText, a5 as getThemeVariables3 } from './index-DvUTQ6Kr.js';
import { l as linear } from './linear-C00SUpZV.js';
import { s as setAccDescription, g as getAccDescription, v as getDiagramTitle, t as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, c as getConfig2, l as log, d as select, e as configureSvgSize, C as clear, M as defaultConfig_default, i as sanitizeText, a5 as getThemeVariables3 } from './index-BnaE_tRw.js';
import { l as linear } from './linear-RckPH3vF.js';
// src/diagrams/quadrant-chart/parser/quadrant.jison
var parser = (function() {
@@ -2,9 +2,9 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const chunk55IACEB6 = require('./chunk-55IACEB6-C46821Hm.cjs');
const chunk2J33WTMH = require('./chunk-2J33WTMH-D0iADRfX.cjs');
const index = require('./index-BqtStGzd.cjs');
const chunk55IACEB6 = require('./chunk-55IACEB6-CdNq7EGe.cjs');
const chunk2J33WTMH = require('./chunk-2J33WTMH-Eg9zD0FF.cjs');
const index = require('./index-BSSKeTjn.cjs');
// src/diagrams/requirement/parser/requirementDiagram.jison
var parser = (function() {
@@ -1,6 +1,6 @@
import { g as getDiagramElement } from './chunk-55IACEB6-D-Nu18Jt.js';
import { s as setupViewPortForSVG } from './chunk-2J33WTMH-DtshrYP2.js';
import { _ as __name, H as getConfig, b as setAccTitle, a as getAccTitle, s as setAccDescription, g as getAccDescription, t as setDiagramTitle, v as getDiagramTitle, c as getConfig2, l as log, C as clear, G as __export, q as getRegisteredLayoutAlgorithm, r as render, u as utils_default } from './index-DvUTQ6Kr.js';
import { g as getDiagramElement } from './chunk-55IACEB6-Dc6Yd7H8.js';
import { s as setupViewPortForSVG } from './chunk-2J33WTMH-DBO_ON4a.js';
import { _ as __name, H as getConfig, b as setAccTitle, a as getAccTitle, s as setAccDescription, g as getAccDescription, t as setDiagramTitle, v as getDiagramTitle, c as getConfig2, l as log, C as clear, G as __export, q as getRegisteredLayoutAlgorithm, r as render, u as utils_default } from './index-BnaE_tRw.js';
// src/diagrams/requirement/parser/requirementDiagram.jison
var parser = (function() {
@@ -1,4 +1,4 @@
import { t as setDiagramTitle, v as getDiagramTitle, s as setAccDescription, g as getAccDescription, b as setAccTitle, a as getAccTitle, _ as __name, c as getConfig2, D as defaultConfig2, d as select, aj as setupGraphViewbox, C as clear, k as common_default } from './index-DvUTQ6Kr.js';
import { t as setDiagramTitle, v as getDiagramTitle, s as setAccDescription, g as getAccDescription, b as setAccTitle, a as getAccTitle, _ as __name, c as getConfig2, D as defaultConfig2, d as select, aj as setupGraphViewbox, C as clear, k as common_default } from './index-BnaE_tRw.js';
import { o as ordinal } from './ordinal-X8I8fqLF.js';
function colors(specifier) {
@@ -2,7 +2,7 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const index = require('./index-BSSKeTjn.cjs');
const ordinal = require('./ordinal-C81cuTG8.cjs');
function colors(specifier) {
@@ -2,9 +2,9 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const chunkND2GUHAM = require('./chunk-ND2GUHAM-CYtASDDw.cjs');
const chunkQZHKN3VN = require('./chunk-QZHKN3VN-nUfK3EtJ.cjs');
const index = require('./index-BSSKeTjn.cjs');
const chunkND2GUHAM = require('./chunk-ND2GUHAM-BSlFxuYG.cjs');
const chunkQZHKN3VN = require('./chunk-QZHKN3VN-FOxLc9yS.cjs');
// src/diagrams/sequence/parser/sequenceDiagram.jison
var parser = (function() {
@@ -1,6 +1,6 @@
import { _ as __name, o as setConfig2, c as getConfig2, d as select, l as log, j as distExports, e as configureSvgSize, f as assignWithDepth_default, k as common_default, b as setAccTitle, s as setAccDescription, t as setDiagramTitle, a as getAccTitle, g as getAccDescription, v as getDiagramTitle, x as load, J as JSON_SCHEMA, C as clear, i as sanitizeText, u as utils_default, a6 as hasKatex, a7 as calculateMathMLDimensions, a8 as parseFontSize, a9 as ZERO_WIDTH_SPACE, H as getConfig, aa as getUrl, ab as renderKatexSanitized } from './index-DvUTQ6Kr.js';
import { a as drawBackgroundRect, b as getTextObj, g as getNoteRect, d as drawRect, e as drawEmbeddedImage, f as drawImage } from './chunk-ND2GUHAM-C2CEfjdO.js';
import { I as ImperativeState } from './chunk-QZHKN3VN-CULhyxcA.js';
import { _ as __name, o as setConfig2, c as getConfig2, d as select, l as log, j as distExports, e as configureSvgSize, f as assignWithDepth_default, k as common_default, b as setAccTitle, s as setAccDescription, t as setDiagramTitle, a as getAccTitle, g as getAccDescription, v as getDiagramTitle, x as load, J as JSON_SCHEMA, C as clear, i as sanitizeText, u as utils_default, a6 as hasKatex, a7 as calculateMathMLDimensions, a8 as parseFontSize, a9 as ZERO_WIDTH_SPACE, H as getConfig, aa as getUrl, ab as renderKatexSanitized } from './index-BnaE_tRw.js';
import { a as drawBackgroundRect, b as getTextObj, g as getNoteRect, d as drawRect, e as drawEmbeddedImage, f as drawImage } from './chunk-ND2GUHAM-Bp8Cl3Mz.js';
import { I as ImperativeState } from './chunk-QZHKN3VN-CzY05dL9.js';
// src/diagrams/sequence/parser/sequenceDiagram.jison
var parser = (function() {
@@ -1,7 +1,7 @@
import { s as styles_default, a as stateDiagram_default, S as StateDB } from './chunk-AQP2D5EJ-61y0jGtx.js';
import { _ as __name, c as getConfig2, d as select, l as log, e as configureSvgSize, k as common_default, ad as line, ae as curveBasis, aa as getUrl, u as utils_default } from './index-DvUTQ6Kr.js';
import { G as Graph } from './graph-_hAKm3T7.js';
import { l as layout } from './layout-BFDKcNNJ.js';
import { s as styles_default, a as stateDiagram_default, S as StateDB } from './chunk-AQP2D5EJ-Dj92UwlP.js';
import { _ as __name, c as getConfig2, d as select, l as log, e as configureSvgSize, k as common_default, ad as line, ae as curveBasis, aa as getUrl, u as utils_default } from './index-BnaE_tRw.js';
import { G as Graph } from './graph-10NtilwP.js';
import { l as layout } from './layout-MNZmCDp0.js';
var drawStartState = /* @__PURE__ */ __name((g) => g.append("circle").attr("class", "start-state").attr("r", getConfig2().state.sizeUnit).attr("cx", getConfig2().state.padding + getConfig2().state.sizeUnit).attr("cy", getConfig2().state.padding + getConfig2().state.sizeUnit), "drawStartState");
var drawDivider = /* @__PURE__ */ __name((g) => g.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", getConfig2().state.textHeight).attr("class", "divider").attr("x2", getConfig2().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider");
@@ -2,10 +2,10 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const chunkAQP2D5EJ = require('./chunk-AQP2D5EJ-BTrP2tY2.cjs');
const index = require('./index-BqtStGzd.cjs');
const graph = require('./graph-BbyehMEB.cjs');
const layout = require('./layout-DHXBfWCM.cjs');
const chunkAQP2D5EJ = require('./chunk-AQP2D5EJ-CDmu2QRx.cjs');
const index = require('./index-BSSKeTjn.cjs');
const graph = require('./graph-D_dcoBAD.cjs');
const layout = require('./layout-BiOyyOZs.cjs');
var drawStartState = /* @__PURE__ */ index.__name((g) => g.append("circle").attr("class", "start-state").attr("r", index.getConfig2().state.sizeUnit).attr("cx", index.getConfig2().state.padding + index.getConfig2().state.sizeUnit).attr("cy", index.getConfig2().state.padding + index.getConfig2().state.sizeUnit), "drawStartState");
var drawDivider = /* @__PURE__ */ index.__name((g) => g.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", index.getConfig2().state.textHeight).attr("class", "divider").attr("x2", index.getConfig2().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider");
@@ -2,8 +2,8 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const chunkAQP2D5EJ = require('./chunk-AQP2D5EJ-BTrP2tY2.cjs');
const index = require('./index-BqtStGzd.cjs');
const chunkAQP2D5EJ = require('./chunk-AQP2D5EJ-CDmu2QRx.cjs');
const index = require('./index-BSSKeTjn.cjs');
// src/diagrams/state/stateDiagram-v2.ts
var diagram = {
@@ -1,5 +1,5 @@
import { s as styles_default, b as stateRenderer_v3_unified_default, a as stateDiagram_default, S as StateDB } from './chunk-AQP2D5EJ-61y0jGtx.js';
import { _ as __name } from './index-DvUTQ6Kr.js';
import { s as styles_default, b as stateRenderer_v3_unified_default, a as stateDiagram_default, S as StateDB } from './chunk-AQP2D5EJ-Dj92UwlP.js';
import { _ as __name } from './index-BnaE_tRw.js';
// src/diagrams/state/stateDiagram-v2.ts
var diagram = {
@@ -1,5 +1,5 @@
import { _ as __name, H as getConfig, ag as isDark, ah as lighten, ai as darken, c as getConfig2, l as log, O as selectSvgElement, a8 as parseFontSize, aj as setupGraphViewbox, d as select, G as __export, ak as commonDb_exports, C as clear } from './index-DvUTQ6Kr.js';
import { d as d3arc } from './arc-Dk15P0p3.js';
import { _ as __name, H as getConfig, ag as isDark, ah as lighten, ai as darken, c as getConfig2, l as log, O as selectSvgElement, a8 as parseFontSize, aj as setupGraphViewbox, d as select, G as __export, ak as commonDb_exports, C as clear } from './index-BnaE_tRw.js';
import { d as d3arc } from './arc-_z5c0Dt4.js';
// src/diagrams/timeline/parser/timeline.jison
var parser = (function() {
@@ -2,8 +2,8 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const arc = require('./arc-DnHiU5ei.cjs');
const index = require('./index-BSSKeTjn.cjs');
const arc = require('./arc-CjJgFqEq.cjs');
// src/diagrams/timeline/parser/timeline.jison
var parser = (function() {
@@ -2,7 +2,7 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const index = require('./index-BqtStGzd.cjs');
const index = require('./index-BSSKeTjn.cjs');
/* IMPORT */
/* MAIN */
@@ -1,4 +1,4 @@
import { aY as adjustChannel, s as setAccDescription, g as getAccDescription, v as getDiagramTitle, t as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, H as getConfig, O as selectSvgElement, d as select, ap as at, ag as isDark, ah as lighten, ai as darken, e as configureSvgSize, C as clear, K as cleanAndMerge, M as defaultConfig_default } from './index-DvUTQ6Kr.js';
import { aY as adjustChannel, s as setAccDescription, g as getAccDescription, v as getDiagramTitle, t as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, H as getConfig, O as selectSvgElement, d as select, ap as at, ag as isDark, ah as lighten, ai as darken, e as configureSvgSize, C as clear, K as cleanAndMerge, M as defaultConfig_default } from './index-BnaE_tRw.js';
/* IMPORT */
/* MAIN */

Some files were not shown because too many files have changed in this diff Show More