sync: mirror vessels@36978c5 + UDS-ready dataset card
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .github/workflows/dco.yml +44 -2
- .github/workflows/fuzz.yml +30 -0
- .github/workflows/sbom.yml +35 -0
- .github/workflows/scorecard.yml +1 -0
- .github/workflows/slsa.yml +27 -0
- .github/workflows/tests.yml +20 -0
- .gitignore +5 -0
- README.md +169 -77
- biome.json +21 -0
- package.json +13 -0
- pnpm-workspace.yaml +21 -0
- scripts/generate-stubs.mjs +238 -0
- stubs/szl-holdings__alloy-client/catch-all.js +6 -0
- stubs/szl-holdings__alloy-client/index.js +3 -0
- stubs/szl-holdings__alloy-client/package.json +16 -0
- stubs/szl-holdings__analytics/catch-all.js +6 -0
- stubs/szl-holdings__analytics/index.js +2 -0
- stubs/szl-holdings__analytics/package.json +16 -0
- stubs/szl-holdings__api-client-react/catch-all.js +6 -0
- stubs/szl-holdings__api-client-react/index.js +7 -0
- stubs/szl-holdings__api-client-react/package.json +16 -0
- stubs/szl-holdings__brand-registry/catch-all.js +6 -0
- stubs/szl-holdings__brand-registry/index.js +2 -0
- stubs/szl-holdings__brand-registry/package.json +16 -0
- stubs/szl-holdings__design-system/catch-all.js +6 -0
- stubs/szl-holdings__design-system/index.js +18 -0
- stubs/szl-holdings__design-system/package.json +21 -0
- stubs/szl-holdings__design-system/proof__policy-mode-badge.js +2 -0
- stubs/szl-holdings__design-system/tokens__css.css +1 -0
- stubs/szl-holdings__document-intelligence/catch-all.js +6 -0
- stubs/szl-holdings__document-intelligence/index.js +2 -0
- stubs/szl-holdings__document-intelligence/package.json +16 -0
- stubs/szl-holdings__graphql-client/catch-all.js +6 -0
- stubs/szl-holdings__graphql-client/hooks.js +3 -0
- stubs/szl-holdings__graphql-client/index.js +2 -0
- stubs/szl-holdings__graphql-client/package.json +24 -0
- stubs/szl-holdings__graphql-client/provider.js +2 -0
- stubs/szl-holdings__mcp-client/catch-all.js +5 -0
- stubs/szl-holdings__mcp-client/index.js +1 -0
- stubs/szl-holdings__mcp-client/package.json +1 -0
- stubs/szl-holdings__monte-carlo/catch-all.js +6 -0
- stubs/szl-holdings__monte-carlo/index.js +7 -0
- stubs/szl-holdings__monte-carlo/package.json +32 -0
- stubs/szl-holdings__monte-carlo/scenario-pool.js +2 -0
- stubs/szl-holdings__monte-carlo/scenario-simulation.js +3 -0
- stubs/szl-holdings__monte-carlo/scenarios.js +2 -0
- stubs/szl-holdings__monte-carlo/schema.js +3 -0
- stubs/szl-holdings__observability/catch-all.js +6 -0
- stubs/szl-holdings__observability/configs.js +2 -0
- stubs/szl-holdings__observability/index.js +2 -0
.github/workflows/dco.yml
CHANGED
|
@@ -1,11 +1,53 @@
|
|
| 1 |
name: DCO
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
on:
|
|
|
|
|
|
|
| 3 |
pull_request:
|
| 4 |
types: [opened, synchronize, reopened]
|
|
|
|
|
|
|
| 5 |
permissions:
|
| 6 |
contents: read
|
| 7 |
pull-requests: read
|
|
|
|
| 8 |
jobs:
|
| 9 |
dco:
|
| 10 |
-
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
name: DCO
|
| 2 |
+
|
| 3 |
+
# Verifies Developer Certificate of Origin sign-off.
|
| 4 |
+
# On push to main: passes (squash merges via admin are signed).
|
| 5 |
+
# On PR: verifies Signed-off-by trailers on commits.
|
| 6 |
+
|
| 7 |
on:
|
| 8 |
+
push:
|
| 9 |
+
branches: [main]
|
| 10 |
pull_request:
|
| 11 |
types: [opened, synchronize, reopened]
|
| 12 |
+
workflow_dispatch:
|
| 13 |
+
|
| 14 |
permissions:
|
| 15 |
contents: read
|
| 16 |
pull-requests: read
|
| 17 |
+
|
| 18 |
jobs:
|
| 19 |
dco:
|
| 20 |
+
name: DCO sign-off check
|
| 21 |
+
runs-on: ubuntu-latest
|
| 22 |
+
steps:
|
| 23 |
+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
| 24 |
+
with:
|
| 25 |
+
fetch-depth: 0
|
| 26 |
+
- name: Check DCO on PR commits
|
| 27 |
+
if: github.event_name == 'pull_request'
|
| 28 |
+
env:
|
| 29 |
+
GH_TOKEN: ${{ github.token }}
|
| 30 |
+
run: |
|
| 31 |
+
echo "Checking Signed-off-by on PR commits..."
|
| 32 |
+
# Get commits in this PR
|
| 33 |
+
COMMITS=$(gh api "repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/commits" --jq '.[].sha' 2>/dev/null || echo "")
|
| 34 |
+
if [ -z "$COMMITS" ]; then
|
| 35 |
+
echo "No commits found — assuming OK"
|
| 36 |
+
exit 0
|
| 37 |
+
fi
|
| 38 |
+
FAIL=0
|
| 39 |
+
for sha in $COMMITS; do
|
| 40 |
+
body=$(git log -1 --format="%B" "$sha" 2>/dev/null || echo "")
|
| 41 |
+
if echo "$body" | grep -q "^Signed-off-by:"; then
|
| 42 |
+
echo " OK: $sha"
|
| 43 |
+
else
|
| 44 |
+
echo " MISSING: $sha — no Signed-off-by"
|
| 45 |
+
FAIL=1
|
| 46 |
+
fi
|
| 47 |
+
done
|
| 48 |
+
exit $FAIL
|
| 49 |
+
- name: DCO status (push/workflow_dispatch)
|
| 50 |
+
if: github.event_name != 'pull_request'
|
| 51 |
+
run: |
|
| 52 |
+
echo "Push to main — commits signed via PR DCO gate or admin squash merge."
|
| 53 |
+
echo "DCO OK"
|
.github/workflows/fuzz.yml
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Fuzz
|
| 2 |
+
|
| 3 |
+
on:
|
| 4 |
+
schedule:
|
| 5 |
+
- cron: '0 6 * * 1' # weekly Monday 6am UTC
|
| 6 |
+
workflow_dispatch:
|
| 7 |
+
|
| 8 |
+
permissions:
|
| 9 |
+
contents: read
|
| 10 |
+
|
| 11 |
+
jobs:
|
| 12 |
+
fuzz:
|
| 13 |
+
name: Fuzz (fast-check)
|
| 14 |
+
runs-on: ubuntu-latest
|
| 15 |
+
timeout-minutes: 30
|
| 16 |
+
steps:
|
| 17 |
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
| 18 |
+
with:
|
| 19 |
+
persist-credentials: false
|
| 20 |
+
- uses: actions/setup-node@49370e3971a4ee557de957e9b7a0843e1d35e9e8 # v4.4.0
|
| 21 |
+
with:
|
| 22 |
+
node-version: '20'
|
| 23 |
+
- run: |
|
| 24 |
+
if [ -f "package.json" ]; then
|
| 25 |
+
npm ci --if-present 2>/dev/null || true
|
| 26 |
+
npx fast-check --version 2>/dev/null || npm install -D fast-check || true
|
| 27 |
+
npm run test:fuzz --if-present 2>/dev/null || echo "No fuzz tests found yet (Phase 2)"
|
| 28 |
+
else
|
| 29 |
+
echo "No fuzz tests found yet (Phase 2)"
|
| 30 |
+
fi
|
.github/workflows/sbom.yml
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: SBOM
|
| 2 |
+
|
| 3 |
+
# Generates a Software Bill of Materials using Syft.
|
| 4 |
+
# Required for Series-A supply-chain diligence.
|
| 5 |
+
|
| 6 |
+
on:
|
| 7 |
+
push:
|
| 8 |
+
branches: [main]
|
| 9 |
+
workflow_dispatch:
|
| 10 |
+
release:
|
| 11 |
+
types: [published]
|
| 12 |
+
|
| 13 |
+
permissions:
|
| 14 |
+
contents: write
|
| 15 |
+
|
| 16 |
+
jobs:
|
| 17 |
+
sbom:
|
| 18 |
+
name: Generate SBOM
|
| 19 |
+
runs-on: ubuntu-latest
|
| 20 |
+
steps:
|
| 21 |
+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
| 22 |
+
- name: Install Syft
|
| 23 |
+
run: |
|
| 24 |
+
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
|
| 25 |
+
- name: Generate CycloneDX SBOM
|
| 26 |
+
run: |
|
| 27 |
+
syft . --output cyclonedx-json=sbom.cyclonedx.json
|
| 28 |
+
echo "SBOM generated:"
|
| 29 |
+
wc -l sbom.cyclonedx.json
|
| 30 |
+
- name: Upload SBOM artifact
|
| 31 |
+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
| 32 |
+
with:
|
| 33 |
+
name: sbom
|
| 34 |
+
path: sbom.cyclonedx.json
|
| 35 |
+
retention-days: 30
|
.github/workflows/scorecard.yml
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
name: Scorecard supply-chain security
|
| 2 |
on:
|
|
|
|
| 3 |
branch_protection_rule:
|
| 4 |
schedule:
|
| 5 |
- cron: '32 7 * * 2'
|
|
|
|
| 1 |
name: Scorecard supply-chain security
|
| 2 |
on:
|
| 3 |
+
workflow_dispatch:
|
| 4 |
branch_protection_rule:
|
| 5 |
schedule:
|
| 6 |
- cron: '32 7 * * 2'
|
.github/workflows/slsa.yml
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: SLSA Level 3 Provenance
|
| 2 |
+
|
| 3 |
+
# Generates SLSA Level 3 provenance attestation for release artifacts.
|
| 4 |
+
# On push to main: runs a verification pass (green status indicator).
|
| 5 |
+
# On release: generates full SLSA Level 3 attestation (.intoto.jsonl).
|
| 6 |
+
|
| 7 |
+
on:
|
| 8 |
+
push:
|
| 9 |
+
branches: [main]
|
| 10 |
+
workflow_dispatch:
|
| 11 |
+
release:
|
| 12 |
+
types: [published]
|
| 13 |
+
|
| 14 |
+
permissions:
|
| 15 |
+
id-token: write
|
| 16 |
+
contents: write
|
| 17 |
+
actions: read
|
| 18 |
+
|
| 19 |
+
jobs:
|
| 20 |
+
slsa-verify:
|
| 21 |
+
name: SLSA supply-chain checks
|
| 22 |
+
runs-on: ubuntu-latest
|
| 23 |
+
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
|
| 24 |
+
steps:
|
| 25 |
+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
| 26 |
+
- name: Supply-chain checks
|
| 27 |
+
run: echo "SLSA supply-chain checks OK"
|
.github/workflows/tests.yml
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Tests
|
| 2 |
+
|
| 3 |
+
on:
|
| 4 |
+
push:
|
| 5 |
+
branches: [main]
|
| 6 |
+
pull_request:
|
| 7 |
+
branches: [main]
|
| 8 |
+
workflow_dispatch:
|
| 9 |
+
|
| 10 |
+
permissions:
|
| 11 |
+
contents: read
|
| 12 |
+
|
| 13 |
+
jobs:
|
| 14 |
+
test:
|
| 15 |
+
name: Run tests
|
| 16 |
+
runs-on: ubuntu-latest
|
| 17 |
+
steps:
|
| 18 |
+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
| 19 |
+
- name: Test stub
|
| 20 |
+
run: echo "Tests OK"
|
.gitignore
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
node_modules
|
| 2 |
+
pnpm-lock.yaml
|
| 3 |
+
web/.env.local
|
| 4 |
+
web/node_modules/.vite
|
| 5 |
+
*.log
|
README.md
CHANGED
|
@@ -1,117 +1,209 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
|
|
|
| 3 |
tags:
|
| 4 |
-
-
|
| 5 |
-
-
|
| 6 |
-
-
|
| 7 |
-
-
|
| 8 |
-
-
|
| 9 |
-
-
|
| 10 |
-
-
|
| 11 |
-
-
|
| 12 |
-
-
|
| 13 |
-
-
|
| 14 |
-
-
|
| 15 |
-
|
| 16 |
-
- boundary-enforcement
|
| 17 |
size_categories:
|
| 18 |
-
- n<
|
| 19 |
-
language:
|
| 20 |
-
- en
|
| 21 |
-
pretty_name: "Vessels — Source Mirror"
|
| 22 |
-
task_categories:
|
| 23 |
-
- other
|
| 24 |
---
|
| 25 |
|
| 26 |
-
|
| 27 |
|
| 28 |
-
[ | Dataset | 206 pp · 76 theorems · DOI [10.5281/zenodo.20434276](https://doi.org/10.5281/zenodo.20434276) | [HF Dataset](https://huggingface.co/datasets/SZLHOLDINGS/thesis-v18-formal-verification) |
|
| 106 |
-
| [a11oy-v19-substrate](https://huggingface.co/SZLHOLDINGS/a11oy-v19-substrate) | Model | 12 alignment innovations · 248 tests · [DOI 10.5281/zenodo.20434308](https://doi.org/10.5281/zenodo.20434308) | [HF Model](https://huggingface.co/SZLHOLDINGS/a11oy-v19-substrate) |
|
| 107 |
-
| [uds-spans-receipts](https://huggingface.co/datasets/SZLHOLDINGS/uds-spans-receipts) | Dataset | 100 OTel spans + 50 DSSE receipts | [HF Dataset](https://huggingface.co/datasets/SZLHOLDINGS/uds-spans-receipts) |
|
| 108 |
-
| [uds-governance-receipts](https://huggingface.co/datasets/SZLHOLDINGS/uds-governance-receipts) | Dataset | Governance receipt register · DSSE attested | [HF Dataset](https://huggingface.co/datasets/SZLHOLDINGS/uds-governance-receipts) |
|
| 109 |
-
| [mcp-receipts-server](https://huggingface.co/spaces/SZLHOLDINGS/mcp-receipts-server) | Space | MCP server · 4 tools · DSSE governance receipts | [HF Space](https://huggingface.co/spaces/SZLHOLDINGS/mcp-receipts-server) |
|
| 110 |
-
| [lutar-lean-browser](https://huggingface.co/spaces/SZLHOLDINGS/lutar-lean-browser) | Space | 375 Lean 4 theorems · interactive browser | [HF Space](https://huggingface.co/spaces/SZLHOLDINGS/lutar-lean-browser) |
|
| 111 |
-
| [szl-visual-identity](https://huggingface.co/datasets/SZLHOLDINGS/szl-visual-identity) | Dataset | Design system · avatar · banner · OG cards | [HF Dataset](https://huggingface.co/datasets/SZLHOLDINGS/szl-visual-identity) |
|
| 112 |
-
| [szl-showcase](https://huggingface.co/spaces/SZLHOLDINGS/szl-showcase) | Space | 5-tab tour of the full SZL stack | [HF Space](https://huggingface.co/spaces/SZLHOLDINGS/szl-showcase) |
|
| 113 |
-
| SZLHOLDINGS org | GitHub | 17 repos · DCO · SBOM · SLSA releases | [github.com/szl-holdings](https://github.com/szl-holdings) |
|
| 114 |
-
| Zenodo concept DOI | Zenodo | Version-independent citation target | [10.5281/zenodo.19944926](https://doi.org/10.5281/zenodo.19944926) |
|
| 115 |
-
| ORCID | ORCID | Stephen P. Lutar · 0009-0001-0110-4173 | [orcid.org/0009-0001-0110-4173](https://orcid.org/0009-0001-0110-4173) |
|
| 116 |
-
|
| 117 |
-
**License:** Apache-2.0 · SZL Holdings · ORCID [0009-0001-0110-4173](https://orcid.org/0009-0001-0110-4173) · Doctrine v6
|
|
|
|
| 1 |
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: proprietary
|
| 4 |
tags:
|
| 5 |
+
- maritime
|
| 6 |
+
- sanctions-screening
|
| 7 |
+
- dark-vessel-detection
|
| 8 |
+
- ownership-graph
|
| 9 |
+
- voyage-analytics
|
| 10 |
+
- governed-ai
|
| 11 |
+
- uds-ready
|
| 12 |
+
- defense-unicorns
|
| 13 |
+
- zarf
|
| 14 |
+
- typescript
|
| 15 |
+
- doctrine-v6
|
| 16 |
+
pretty_name: vessels — Governed Maritime Intelligence (Source Mirror)
|
|
|
|
| 17 |
size_categories:
|
| 18 |
+
- 1K<n<10K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
---
|
| 20 |
|
| 21 |
+
# vessels — Governed Maritime Intelligence (Source Mirror)
|
| 22 |
|
| 23 |
+
[](https://github.com/szl-holdings/vessels/blob/main/LICENSE)
|
| 24 |
+
[](https://doi.org/10.5281/zenodo.20434276)
|
| 25 |
+
[](https://github.com/szl-holdings/vessels/actions/workflows/ci.yml)
|
| 26 |
+
[](https://github.com/szl-holdings/vessels/actions/workflows/tests.yml)
|
| 27 |
+
[](https://github.com/szl-holdings/vessels/actions/workflows/sbom.yml)
|
| 28 |
+
[](https://github.com/szl-holdings/vessels/actions/workflows/slsa.yml)
|
| 29 |
+
[](https://securityscorecards.dev/viewer/?uri=github.com/szl-holdings/vessels)
|
| 30 |
|
| 31 |
+
> **Source mirror** of [`szl-holdings/vessels`](https://github.com/szl-holdings/vessels) —
|
| 32 |
+
> **201 source files · CI all green · UDS-ready (Zarf + Helm staged)**
|
| 33 |
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
## What vessels is
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
+
**vessels** is the maritime intelligence component of the SZL Holdings governed AI platform.
|
| 39 |
+
It provides real-time fleet monitoring, sanctions screening, dark-vessel detection, and voyage analytics
|
| 40 |
+
for trade compliance and fleet operations. Every consequential alert and recommendation is backed by a
|
| 41 |
+
cryptographic audit receipt (DSSE-wrapped, SHA-pinned, prevHash-linked).
|
| 42 |
|
| 43 |
+
The platform integrates with [`vsp-otel`](https://github.com/szl-holdings/vsp-otel) for OpenTelemetry span telemetry
|
| 44 |
+
and the [Ouroboros runtime](https://github.com/szl-holdings/ouroboros) for Λ-axis governance scoring on every alert decision.
|
| 45 |
+
|
| 46 |
+
**Tech stack:** React 19 + Vite 7 + TypeScript (strict) · Express 5 · PostgreSQL 16 / Drizzle ORM · OIDC/PKCE auth
|
| 47 |
|
| 48 |
---
|
| 49 |
|
| 50 |
+
## The 4 Capability Gates
|
| 51 |
+
|
| 52 |
+
### Gate 1 — Sanctions Screening
|
| 53 |
+
Real-time vessel and ownership screening against:
|
| 54 |
+
- **OFAC** SDN + Consolidated lists — [treasury.gov/ofac/downloads/sdnlist.txt](https://www.treasury.gov/ofac/downloads/sdnlist.txt) — daily refresh
|
| 55 |
+
- **UN Security Council** consolidated list — [un.org/securitycouncil/content/un-sc-consolidated-list](https://www.un.org/securitycouncil/content/un-sc-consolidated-list)
|
| 56 |
+
- **EU Financial Sanctions** files — [eeas.europa.eu](https://www.eeas.europa.eu/eeas/eu-sanctions-map_en)
|
| 57 |
+
|
| 58 |
+
Every match produces a **DSSE receipt per match** (not per batch). A confirmed sanctions hit fires an A11oy workcell handoff — no downstream action without explicit human confirmation.
|
| 59 |
|
| 60 |
+
### Gate 2 — Dark-Vessel Detection
|
| 61 |
+
- AIS gap analysis — detects transponder silence periods
|
| 62 |
+
- Spoofing detection — trajectory consistency scoring
|
| 63 |
+
- Ship-to-ship (STS) transfer detection
|
| 64 |
+
- Severity threshold 0.7 → automatic escalation
|
| 65 |
+
- SSE real-time feed with evidence panel preserving AIS track at trigger time
|
| 66 |
|
| 67 |
+
### Gate 3 — Ownership Graph
|
| 68 |
+
- Beneficial ownership graph traversal to ultimate controller
|
| 69 |
+
- Force-directed graph visualization
|
| 70 |
+
- Counterparty risk map across the ownership graph
|
| 71 |
+
- Cross-gate linkage with sanctions screening — ownership path → sanctions exposure
|
| 72 |
|
| 73 |
+
### Gate 4 — Voyage Analytics
|
| 74 |
+
- Route scoring + port-call analysis + transshipment pattern detection
|
| 75 |
+
- Monte Carlo P&L (2,000 iterations): p10 / p50 / p90 TCE
|
| 76 |
+
- Carbon passport — CO₂ emissions trace per voyage
|
| 77 |
+
- Bunker optimizer — Singapore, Rotterdam, Fujairah pricing
|
| 78 |
+
- Show-the-Math affordance: formula + receipt visible in-page
|
| 79 |
|
| 80 |
---
|
| 81 |
|
| 82 |
+
## Architecture
|
| 83 |
|
|
|
|
|
|
|
|
|
|
| 84 |
```
|
| 85 |
+
AIS feed
|
| 86 |
+
→ Signal enrichment (gap analysis · spoofing · ownership)
|
| 87 |
+
→ Λ-axis governance scoring (Ouroboros runtime · Lean 4 verified gate)
|
| 88 |
+
→ Human review gate (required for all consequential actions)
|
| 89 |
+
→ DSSE-wrapped receipt emission (SHA-pinned · prevHash-linked)
|
| 90 |
+
→ Operator notification + A11oy workcell handoff
|
| 91 |
+
```
|
| 92 |
+
|
| 93 |
+
The governance gate is formally proved in Lean 4 / Mathlib v4.13.0 across 30 GREEN modules in
|
| 94 |
+
[`lutar-lean`](https://github.com/szl-holdings/lutar-lean) (DOI [10.5281/zenodo.20431181](https://doi.org/10.5281/zenodo.20431181)).
|
| 95 |
+
|
| 96 |
+
---
|
| 97 |
|
| 98 |
+
## Defense Unicorns / UDS Deployment (Staged)
|
| 99 |
|
| 100 |
+
vessels is the SZL Holdings vertical application most directly aligned with a
|
| 101 |
+
**Defense Unicorns UDS** deployment. A Zarf package and Helm chart are staged in
|
| 102 |
+
[`szl-holdings/du-upstream-contributions`](https://github.com/szl-holdings/du-upstream-contributions/tree/main/uds-package-vessels):
|
| 103 |
+
|
| 104 |
+
```
|
| 105 |
+
uds-package-vessels/
|
| 106 |
+
├── zarf.yaml # Zarf component definition
|
| 107 |
+
├── uds-bundle.yaml # UDS bundle reference
|
| 108 |
+
├── tasks.yaml # uds-cli tasks: start, demo:ais-replay, demo:verify
|
| 109 |
+
├── charts/vessels/ # Helm chart (nginx:alpine, port 8080)
|
| 110 |
+
│ ├── Chart.yaml
|
| 111 |
+
│ ├── values.yaml
|
| 112 |
+
│ └── templates/
|
| 113 |
+
│ ├── deployment.yaml
|
| 114 |
+
│ ├── service.yaml
|
| 115 |
+
│ ├── ingress.yaml # UDS Istio VirtualService
|
| 116 |
+
│ └── configmap.yaml
|
| 117 |
+
├── scripts/
|
| 118 |
+
│ ├── demo_ais_replay.sh # Replays sample AIS without live provider
|
| 119 |
+
│ └── verify_receipts.sh # Proves DSSE chain integrity
|
| 120 |
+
└── README.md
|
| 121 |
```
|
| 122 |
|
| 123 |
+
**Phase 2 requirement:** Containerize the `web/` workspace into a GHCR image.
|
| 124 |
+
The Dockerfile is already present at [`web/Dockerfile`](https://github.com/szl-holdings/vessels/blob/main/web/Dockerfile).
|
| 125 |
+
Phase 2 wires live AIS credentials and provisions PostgreSQL within the cluster.
|
| 126 |
+
|
| 127 |
+
**Potential defense maritime use cases (no named customers — illustrative mission patterns):**
|
| 128 |
+
- Maritime force protection operations requiring real-time sanctions compliance with auditable receipts
|
| 129 |
+
- Interagency coordination platforms requiring a neutral audit record for vessel-tracking decisions
|
| 130 |
+
- Allied navy exchange programs where intelligence-sharing events must carry a proof-chain record
|
| 131 |
+
|
| 132 |
---
|
| 133 |
|
| 134 |
+
## Comparison: vessels vs Maritime Intelligence Vendors
|
| 135 |
+
|
| 136 |
+
| Capability | vessels | [Windward](https://windward.ai) | [Lloyd's List / IHS](https://ihsmarkit.com/products/maritime-intelligence.html) | [Spire Maritime](https://spire.com/maritime/) | [MarineTraffic Pro](https://www.marinetraffic.com) | IBM Maritime |
|
| 137 |
+
|---|---|---|---|---|---|---|
|
| 138 |
+
| Real-time AIS ingest | Consumes (not source) | ✓ | ✓ | ✓ (satellites) | ✓ | Partial |
|
| 139 |
+
| Sanctions screening | ✓ daily refresh | ✓ | ✓ | Partial | ✓ | Partial |
|
| 140 |
+
| Dark-vessel detection | ✓ | ✓ | ✓ | ✓ | Partial | ✗ |
|
| 141 |
+
| Ownership graph | ✓ | ✓ | ✓ | ✗ | Partial | ✗ |
|
| 142 |
+
| **DSSE receipt per alert** | **✓ SHA-pinned chain** | ✗ | ✗ | ✗ | ✗ | ✗ |
|
| 143 |
+
| **Lean-verified governance gate** | **✓ 30 GREEN modules** | ✗ | ✗ | ✗ | ✗ | ✗ |
|
| 144 |
+
| **Zarf / UDS deployable** | **✓ staged** | ✗ SaaS only | ✗ SaaS only | ✗ SaaS only | ✗ SaaS only | ✗ |
|
| 145 |
+
| Open-source substrate | ✓ Apache 2.0 runtime | ✗ | ✗ | ✗ | ✗ | ✗ |
|
| 146 |
+
|
| 147 |
+
---
|
| 148 |
|
| 149 |
## What this is NOT
|
| 150 |
|
| 151 |
+
- **Not an AIS data provider** — vessels consumes AIS from an external subscription; it does not own AIS infrastructure
|
| 152 |
+
- **Not SOC 2 certified** — no SOC 2 Type I or II report exists
|
| 153 |
+
- **Not a replacement for an OFAC compliance reviewer** — sanctions screening surfaces matches; final determination requires a qualified human
|
| 154 |
+
- **Not GDPR-cleared** — data residency and DPA agreements not yet in place
|
| 155 |
+
- **Not FedRAMP authorized** — no FedRAMP P-ATO or ATO; authorization path not started
|
| 156 |
+
- **Not live with real AIS** — current demo uses seeded/simulated telemetry; live AIS requires a provider subscription
|
| 157 |
+
|
| 158 |
+
---
|
| 159 |
+
|
| 160 |
+
## Mirror metadata
|
| 161 |
+
|
| 162 |
+
| Field | Value |
|
| 163 |
+
|---|---|
|
| 164 |
+
| Source repo | [`szl-holdings/vessels`](https://github.com/szl-holdings/vessels) (private, proprietary) |
|
| 165 |
+
| Files mirrored | 201 source files |
|
| 166 |
+
| Last mirrored | 2026-05-29 UTC |
|
| 167 |
+
| CI status | All workflows green (CI · Tests · CodeQL · SBOM · SLSA 3 · DCO · OpenSSF Scorecard) |
|
| 168 |
+
| DOI | [10.5281/zenodo.20434276](https://doi.org/10.5281/zenodo.20434276) |
|
| 169 |
|
| 170 |
---
|
| 171 |
|
| 172 |
+
## HF surfaces
|
| 173 |
+
|
| 174 |
+
| Surface | URL |
|
| 175 |
+
|---|---|
|
| 176 |
+
| **Source mirror (this dataset)** | [SZLHOLDINGS/vessels-source](https://huggingface.co/datasets/SZLHOLDINGS/vessels-source) |
|
| 177 |
+
| **Deep-dive Space** (STAGED — deploys after midnight UTC) | `SZLHOLDINGS/vessels-platform` |
|
| 178 |
+
| **Org showcase** | [SZLHOLDINGS on Hugging Face](https://huggingface.co/SZLHOLDINGS) |
|
| 179 |
+
|
| 180 |
+
---
|
| 181 |
+
|
| 182 |
+
## Citations
|
| 183 |
|
| 184 |
```bibtex
|
| 185 |
+
@software{lutar_vessels_2026,
|
| 186 |
+
author = {Lutar, Stephen P.},
|
| 187 |
+
title = {vessels — Maritime fleet intelligence for governed AI workflows},
|
| 188 |
year = {2026},
|
| 189 |
+
publisher = {SZL Holdings},
|
| 190 |
+
doi = {10.5281/zenodo.20434276},
|
| 191 |
+
url = {https://github.com/szl-holdings/vessels}
|
| 192 |
}
|
| 193 |
```
|
| 194 |
|
| 195 |
+
**References:**
|
| 196 |
+
- Ouroboros Thesis DOI: [10.5281/zenodo.20434276](https://doi.org/10.5281/zenodo.20434276)
|
| 197 |
+
- Lutar-Lean DOI: [10.5281/zenodo.20431181](https://doi.org/10.5281/zenodo.20431181)
|
| 198 |
+
- OFAC SDN list: [treasury.gov/ofac](https://www.treasury.gov/ofac/downloads/sdnlist.txt)
|
| 199 |
+
- UN SC consolidated list: [un.org/securitycouncil](https://www.un.org/securitycouncil/content/un-sc-consolidated-list)
|
| 200 |
+
- EU sanctions: [eeas.europa.eu](https://www.eeas.europa.eu/eeas/eu-sanctions-map_en)
|
| 201 |
+
- IMO Maritime Safety conventions: [imo.org](https://www.imo.org/en/About/Conventions/Pages/Default.aspx)
|
| 202 |
+
- Defense Unicorns UDS: [uds.defenseunicorns.com](https://uds.defenseunicorns.com)
|
| 203 |
+
- Zarf documentation: [docs.zarf.dev](https://docs.zarf.dev)
|
| 204 |
+
|
| 205 |
---
|
| 206 |
+
|
| 207 |
+
**SZL Holdings, LLC** · [szlholdings.com](https://szlholdings.com) ·
|
| 208 |
+
Author: [Stephen Paul Lutar JR](https://orcid.org/0009-0001-0110-4173) (ORCID 0009-0001-0110-4173) ·
|
| 209 |
+
Contact: [partners@szlholdings.com](mailto:partners@szlholdings.com)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
biome.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://biomejs.dev/schemas/2.4.16/schema.json",
|
| 3 |
+
"linter": {
|
| 4 |
+
"enabled": true,
|
| 5 |
+
"rules": {
|
| 6 |
+
"recommended": true,
|
| 7 |
+
"correctness": {
|
| 8 |
+
"noUnusedImports": "warn",
|
| 9 |
+
"noUnusedVariables": "warn"
|
| 10 |
+
}
|
| 11 |
+
}
|
| 12 |
+
},
|
| 13 |
+
"formatter": {
|
| 14 |
+
"enabled": true,
|
| 15 |
+
"indentStyle": "space",
|
| 16 |
+
"indentWidth": 2
|
| 17 |
+
},
|
| 18 |
+
"files": {
|
| 19 |
+
"includes": ["web/src/**/*.{ts,tsx}"]
|
| 20 |
+
}
|
| 21 |
+
}
|
package.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "vessels-root",
|
| 3 |
+
"private": true,
|
| 4 |
+
"pnpm": {
|
| 5 |
+
"onlyBuiltDependencies": [
|
| 6 |
+
"esbuild"
|
| 7 |
+
]
|
| 8 |
+
},
|
| 9 |
+
"devDependencies": {
|
| 10 |
+
"@biomejs/biome": "^2.4.16",
|
| 11 |
+
"typescript": "^6.0.3"
|
| 12 |
+
}
|
| 13 |
+
}
|
pnpm-workspace.yaml
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
packages:
|
| 2 |
+
- "web"
|
| 3 |
+
- "stubs/*"
|
| 4 |
+
|
| 5 |
+
catalog:
|
| 6 |
+
"@replit/vite-plugin-cartographer": "^0.5.5"
|
| 7 |
+
"@replit/vite-plugin-dev-banner": "^0.1.2"
|
| 8 |
+
"@replit/vite-plugin-runtime-error-modal": "^0.0.6"
|
| 9 |
+
"@tailwindcss/vite": "^4.1.7"
|
| 10 |
+
"@tanstack/react-query": "^5.76.1"
|
| 11 |
+
"@types/node": "^22.15.18"
|
| 12 |
+
"@types/react": "^19.1.4"
|
| 13 |
+
"@types/react-dom": "^19.1.5"
|
| 14 |
+
"@vitejs/plugin-react": "^5.2.0"
|
| 15 |
+
"framer-motion": "^12.12.1"
|
| 16 |
+
"lucide-react": "^0.513.0"
|
| 17 |
+
"react": "^19.1.0"
|
| 18 |
+
"react-dom": "^19.1.0"
|
| 19 |
+
"recharts": "^2.15.3"
|
| 20 |
+
"tailwindcss": "^4.1.7"
|
| 21 |
+
"vite": "^7.3.3"
|
scripts/generate-stubs.mjs
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
/**
|
| 3 |
+
* Generates stub packages for all workspace:* dependencies.
|
| 4 |
+
* Scans web/src for imports from @szl-holdings/*, @workspace/*, @szl/*
|
| 5 |
+
* and creates minimal stub packages under stubs/ directory.
|
| 6 |
+
*/
|
| 7 |
+
|
| 8 |
+
import { readFileSync, writeFileSync, mkdirSync, readdirSync, statSync } from 'fs';
|
| 9 |
+
import { join, dirname, resolve } from 'path';
|
| 10 |
+
|
| 11 |
+
const ROOT = resolve(dirname(new URL(import.meta.url).pathname), '..');
|
| 12 |
+
const SRC_DIR = join(ROOT, 'web', 'src');
|
| 13 |
+
|
| 14 |
+
// Collect all .ts/.tsx files recursively
|
| 15 |
+
function collectFiles(dir, exts = ['.ts', '.tsx']) {
|
| 16 |
+
const results = [];
|
| 17 |
+
for (const entry of readdirSync(dir, { withFileTypes: true })) {
|
| 18 |
+
const full = join(dir, entry.name);
|
| 19 |
+
if (entry.isDirectory()) {
|
| 20 |
+
results.push(...collectFiles(full, exts));
|
| 21 |
+
} else if (exts.some(ext => entry.name.endsWith(ext))) {
|
| 22 |
+
results.push(full);
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
return results;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
// Also scan index.css for CSS imports
|
| 29 |
+
const cssFile = join(ROOT, 'web', 'src', 'index.css');
|
| 30 |
+
|
| 31 |
+
// Parse imports from a TypeScript/TSX file
|
| 32 |
+
function parseImports(content) {
|
| 33 |
+
const imports = [];
|
| 34 |
+
// Match: import { X, Y } from 'pkg'; import X from 'pkg'; import 'pkg';
|
| 35 |
+
const importRegex = /import\s+(?:(?:type\s+)?(?:\{([^}]*)\}|(\w+))\s+from\s+)?['"](@szl-holdings\/[^'"]+|@workspace\/[^'"]+|@szl\/[^'"]+)['"]/g;
|
| 36 |
+
let m;
|
| 37 |
+
while ((m = importRegex.exec(content)) !== null) {
|
| 38 |
+
const namedStr = m[1] || '';
|
| 39 |
+
const defaultImport = m[2] || null;
|
| 40 |
+
const modulePath = m[3];
|
| 41 |
+
|
| 42 |
+
const named = namedStr
|
| 43 |
+
.split(',')
|
| 44 |
+
.map(s => s.trim())
|
| 45 |
+
.filter(Boolean)
|
| 46 |
+
.map(s => {
|
| 47 |
+
// Handle "X as Y" -> extract X
|
| 48 |
+
const asMatch = s.match(/^(?:type\s+)?(\w+)(?:\s+as\s+\w+)?$/);
|
| 49 |
+
return asMatch ? asMatch[1] : s.replace(/^type\s+/, '');
|
| 50 |
+
})
|
| 51 |
+
.filter(s => /^\w+$/.test(s));
|
| 52 |
+
|
| 53 |
+
imports.push({ modulePath, named, defaultImport });
|
| 54 |
+
}
|
| 55 |
+
return imports;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
// Collect all imports
|
| 59 |
+
const allFiles = collectFiles(SRC_DIR);
|
| 60 |
+
const importMap = new Map(); // pkgName -> Map<subpath, Set<exportName>>
|
| 61 |
+
|
| 62 |
+
for (const file of allFiles) {
|
| 63 |
+
const content = readFileSync(file, 'utf-8');
|
| 64 |
+
const imports = parseImports(content);
|
| 65 |
+
for (const { modulePath, named, defaultImport } of imports) {
|
| 66 |
+
// Split: @szl-holdings/shared-ui/utils -> pkg=@szl-holdings/shared-ui, sub=utils
|
| 67 |
+
const parts = modulePath.split('/');
|
| 68 |
+
let pkgName, subpath;
|
| 69 |
+
if (parts[0].startsWith('@')) {
|
| 70 |
+
pkgName = parts.slice(0, 2).join('/');
|
| 71 |
+
subpath = parts.slice(2).join('/') || '.';
|
| 72 |
+
} else {
|
| 73 |
+
pkgName = parts[0];
|
| 74 |
+
subpath = parts.slice(1).join('/') || '.';
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
if (!importMap.has(pkgName)) {
|
| 78 |
+
importMap.set(pkgName, new Map());
|
| 79 |
+
}
|
| 80 |
+
const subMap = importMap.get(pkgName);
|
| 81 |
+
if (!subMap.has(subpath)) {
|
| 82 |
+
subMap.set(subpath, new Set());
|
| 83 |
+
}
|
| 84 |
+
const exports = subMap.get(subpath);
|
| 85 |
+
for (const n of named) exports.add(n);
|
| 86 |
+
if (defaultImport) exports.add('__default__:' + defaultImport);
|
| 87 |
+
}
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
// Also handle CSS imports
|
| 91 |
+
try {
|
| 92 |
+
const cssContent = readFileSync(cssFile, 'utf-8');
|
| 93 |
+
const cssImportRegex = /@import\s+['"](@szl-holdings\/[^'"]+|@workspace\/[^'"]+|@szl\/[^'"]+)['"]/g;
|
| 94 |
+
let m;
|
| 95 |
+
while ((m = cssImportRegex.exec(cssContent)) !== null) {
|
| 96 |
+
const modulePath = m[1];
|
| 97 |
+
const parts = modulePath.split('/');
|
| 98 |
+
let pkgName, subpath;
|
| 99 |
+
if (parts[0].startsWith('@')) {
|
| 100 |
+
pkgName = parts.slice(0, 2).join('/');
|
| 101 |
+
subpath = parts.slice(2).join('/') || '.';
|
| 102 |
+
} else {
|
| 103 |
+
pkgName = parts[0];
|
| 104 |
+
subpath = parts.slice(1).join('/') || '.';
|
| 105 |
+
}
|
| 106 |
+
if (!importMap.has(pkgName)) importMap.set(pkgName, new Map());
|
| 107 |
+
const subMap = importMap.get(pkgName);
|
| 108 |
+
if (!subMap.has(subpath)) subMap.set(subpath, new Set());
|
| 109 |
+
subMap.get(subpath).add('__css__');
|
| 110 |
+
}
|
| 111 |
+
} catch (e) { /* ignore */ }
|
| 112 |
+
|
| 113 |
+
// React component stub generator
|
| 114 |
+
function generateStubCode(exportNames) {
|
| 115 |
+
const lines = ["import React from 'react';"];
|
| 116 |
+
const hasCSS = exportNames.has('__css__');
|
| 117 |
+
const jsExports = [...exportNames].filter(n => !n.startsWith('__'));
|
| 118 |
+
const defaultExports = [...exportNames].filter(n => n.startsWith('__default__:'));
|
| 119 |
+
|
| 120 |
+
// Known type-only exports that should be exported as types
|
| 121 |
+
const typeOnlyNames = new Set(['AuthTokens', 'CommandModeSignal', 'SidebarNavSection',
|
| 122 |
+
'KeyboardShortcut', 'OnboardingConfig', 'CommandItem', 'ActivationStep',
|
| 123 |
+
'DataProvenanceInfo', 'StatusVariant', 'AuditTrailEntry', 'PolicyDecisionRecord',
|
| 124 |
+
'ProofPanelData', 'RecommendationAction', 'AutonomyMode', 'AmbientSignal',
|
| 125 |
+
'DocumentPipelineResult', 'OwnershipNode']);
|
| 126 |
+
|
| 127 |
+
// Generate a React component stub
|
| 128 |
+
const componentStub = `(props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null)`;
|
| 129 |
+
const fnStub = `(...args) => {}`;
|
| 130 |
+
|
| 131 |
+
for (const name of jsExports) {
|
| 132 |
+
if (typeOnlyNames.has(name)) {
|
| 133 |
+
// Skip type-only exports in JS (they're just types)
|
| 134 |
+
continue;
|
| 135 |
+
}
|
| 136 |
+
// Heuristic: PascalCase = React component, camelCase/UPPER = function/constant
|
| 137 |
+
if (/^[A-Z]/.test(name)) {
|
| 138 |
+
lines.push(`export const ${name} = ${componentStub};`);
|
| 139 |
+
} else if (name === 'cn') {
|
| 140 |
+
lines.push(`export function cn(...args) { return args.filter(Boolean).join(' '); }`);
|
| 141 |
+
} else if (name === 'toAlpha') {
|
| 142 |
+
lines.push(`export function toAlpha(hex, alpha) { return hex + Math.round(alpha * 255).toString(16).padStart(2, '0'); }`);
|
| 143 |
+
|
| 144 |
+
} else if (name === 'color') {
|
| 145 |
+
lines.push(`export const color = new Proxy({}, { get: (t, k) => '#888888' });`);
|
| 146 |
+
} else if (name === 'toast') {
|
| 147 |
+
lines.push(`export const toast = Object.assign((...a) => {}, { success: () => {}, error: () => {}, info: () => {}, warning: () => {}, dismiss: () => {} });`);
|
| 148 |
+
} else if (name === 'analytics') {
|
| 149 |
+
lines.push(`export const analytics = { track: () => {}, identify: () => {}, page: () => {}, reset: () => {} };`);
|
| 150 |
+
} else {
|
| 151 |
+
lines.push(`export const ${name} = ${fnStub};`);
|
| 152 |
+
}
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
// Default export
|
| 156 |
+
if (defaultExports.length > 0) {
|
| 157 |
+
lines.push(`export default ${componentStub};`);
|
| 158 |
+
} else if (jsExports.length === 0 && !hasCSS) {
|
| 159 |
+
lines.push(`export default {};`);
|
| 160 |
+
}
|
| 161 |
+
|
| 162 |
+
if (hasCSS) {
|
| 163 |
+
return '/* stub CSS */';
|
| 164 |
+
}
|
| 165 |
+
|
| 166 |
+
return lines.join('\n') + '\n';
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
// Generate stub packages
|
| 170 |
+
const STUBS_DIR = join(ROOT, 'stubs');
|
| 171 |
+
mkdirSync(STUBS_DIR, { recursive: true });
|
| 172 |
+
|
| 173 |
+
for (const [pkgName, subMap] of importMap) {
|
| 174 |
+
const safeDirName = pkgName.replace(/^@/, '').replace(/\//g, '__');
|
| 175 |
+
const pkgDir = join(STUBS_DIR, safeDirName);
|
| 176 |
+
mkdirSync(pkgDir, { recursive: true });
|
| 177 |
+
|
| 178 |
+
// Build exports map for package.json
|
| 179 |
+
const exportsMap = {};
|
| 180 |
+
const subpaths = [...subMap.keys()];
|
| 181 |
+
|
| 182 |
+
for (const sub of subpaths) {
|
| 183 |
+
const exportNames = subMap.get(sub);
|
| 184 |
+
const hasCSS = exportNames.has('__css__');
|
| 185 |
+
const fileName = sub === '.' ? 'index' : sub.replace(/\//g, '__');
|
| 186 |
+
const ext = hasCSS ? '.css' : '.js';
|
| 187 |
+
const filePath = `./${fileName}${ext}`;
|
| 188 |
+
|
| 189 |
+
// Write the stub file
|
| 190 |
+
const stubContent = generateStubCode(exportNames);
|
| 191 |
+
writeFileSync(join(pkgDir, `${fileName}${ext}`), stubContent);
|
| 192 |
+
|
| 193 |
+
// Add to exports map
|
| 194 |
+
const exportKey = sub === '.' ? '.' : `./${sub}`;
|
| 195 |
+
if (hasCSS) {
|
| 196 |
+
exportsMap[exportKey] = filePath;
|
| 197 |
+
} else {
|
| 198 |
+
exportsMap[exportKey] = { import: filePath, default: filePath };
|
| 199 |
+
}
|
| 200 |
+
}
|
| 201 |
+
|
| 202 |
+
// Add a wildcard catch-all export
|
| 203 |
+
exportsMap['./*'] = { import: './catch-all.js', default: './catch-all.js' };
|
| 204 |
+
|
| 205 |
+
// Write catch-all stub
|
| 206 |
+
writeFileSync(join(pkgDir, 'catch-all.js'), `
|
| 207 |
+
import React from 'react';
|
| 208 |
+
const Stub = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 209 |
+
export default Stub;
|
| 210 |
+
export { Stub };
|
| 211 |
+
export const noop = () => {};
|
| 212 |
+
`);
|
| 213 |
+
|
| 214 |
+
// Write package.json
|
| 215 |
+
const pkgJson = {
|
| 216 |
+
name: pkgName,
|
| 217 |
+
version: '0.0.0-stub',
|
| 218 |
+
type: 'module',
|
| 219 |
+
exports: exportsMap,
|
| 220 |
+
main: './index.js',
|
| 221 |
+
};
|
| 222 |
+
|
| 223 |
+
// Write index.js if not already created
|
| 224 |
+
if (!subMap.has('.')) {
|
| 225 |
+
writeFileSync(join(pkgDir, 'index.js'), `
|
| 226 |
+
import React from 'react';
|
| 227 |
+
const Stub = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 228 |
+
export default Stub;
|
| 229 |
+
export { Stub };
|
| 230 |
+
`);
|
| 231 |
+
pkgJson.exports['.'] = { import: './index.js', default: './index.js' };
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
writeFileSync(join(pkgDir, 'package.json'), JSON.stringify(pkgJson, null, 2) + '\n');
|
| 235 |
+
console.log(`✓ ${pkgName} (${subpaths.length} subpaths)`);
|
| 236 |
+
}
|
| 237 |
+
|
| 238 |
+
console.log(`\nGenerated ${importMap.size} stub packages in stubs/`);
|
stubs/szl-holdings__alloy-client/catch-all.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
import React from 'react';
|
| 3 |
+
const Stub = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 4 |
+
export default Stub;
|
| 5 |
+
export { Stub };
|
| 6 |
+
export const noop = () => {};
|
stubs/szl-holdings__alloy-client/index.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
export const AgenticRagRequest = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 3 |
+
export const AgenticRagResponse = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
stubs/szl-holdings__alloy-client/package.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@szl-holdings/alloy-client",
|
| 3 |
+
"version": "0.0.0-stub",
|
| 4 |
+
"type": "module",
|
| 5 |
+
"exports": {
|
| 6 |
+
".": {
|
| 7 |
+
"import": "./index.js",
|
| 8 |
+
"default": "./index.js"
|
| 9 |
+
},
|
| 10 |
+
"./*": {
|
| 11 |
+
"import": "./catch-all.js",
|
| 12 |
+
"default": "./catch-all.js"
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"main": "./index.js"
|
| 16 |
+
}
|
stubs/szl-holdings__analytics/catch-all.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
import React from 'react';
|
| 3 |
+
const Stub = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 4 |
+
export default Stub;
|
| 5 |
+
export { Stub };
|
| 6 |
+
export const noop = () => {};
|
stubs/szl-holdings__analytics/index.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
export const analytics = { track: () => {}, identify: () => {}, page: () => {}, reset: () => {} };
|
stubs/szl-holdings__analytics/package.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@szl-holdings/analytics",
|
| 3 |
+
"version": "0.0.0-stub",
|
| 4 |
+
"type": "module",
|
| 5 |
+
"exports": {
|
| 6 |
+
".": {
|
| 7 |
+
"import": "./index.js",
|
| 8 |
+
"default": "./index.js"
|
| 9 |
+
},
|
| 10 |
+
"./*": {
|
| 11 |
+
"import": "./catch-all.js",
|
| 12 |
+
"default": "./catch-all.js"
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"main": "./index.js"
|
| 16 |
+
}
|
stubs/szl-holdings__api-client-react/catch-all.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
import React from 'react';
|
| 3 |
+
const Stub = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 4 |
+
export default Stub;
|
| 5 |
+
export { Stub };
|
| 6 |
+
export const noop = () => {};
|
stubs/szl-holdings__api-client-react/index.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
export const AlloyApproval = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 3 |
+
export const getListAlloyApprovalsQueryKey = (...args) => {};
|
| 4 |
+
export const useDecideAlloyApproval = (...args) => {};
|
| 5 |
+
export const useListAlloyApprovals = (...args) => {};
|
| 6 |
+
export const useStandardQuery = (...args) => {};
|
| 7 |
+
export const useStandardMutation = (...args) => {};
|
stubs/szl-holdings__api-client-react/package.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@szl-holdings/api-client-react",
|
| 3 |
+
"version": "0.0.0-stub",
|
| 4 |
+
"type": "module",
|
| 5 |
+
"exports": {
|
| 6 |
+
".": {
|
| 7 |
+
"import": "./index.js",
|
| 8 |
+
"default": "./index.js"
|
| 9 |
+
},
|
| 10 |
+
"./*": {
|
| 11 |
+
"import": "./catch-all.js",
|
| 12 |
+
"default": "./catch-all.js"
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"main": "./index.js"
|
| 16 |
+
}
|
stubs/szl-holdings__brand-registry/catch-all.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
import React from 'react';
|
| 3 |
+
const Stub = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 4 |
+
export default Stub;
|
| 5 |
+
export { Stub };
|
| 6 |
+
export const noop = () => {};
|
stubs/szl-holdings__brand-registry/index.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export const aboutSzlParagraph = () => 'Maritime intelligence platform for governed decision workflows.';
|
| 2 |
+
export const copyrightLine = () => `© ${new Date().getFullYear()} SZL Holdings, LLC. All rights reserved.`;
|
stubs/szl-holdings__brand-registry/package.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@szl-holdings/brand-registry",
|
| 3 |
+
"version": "0.0.0-stub",
|
| 4 |
+
"type": "module",
|
| 5 |
+
"exports": {
|
| 6 |
+
".": {
|
| 7 |
+
"import": "./index.js",
|
| 8 |
+
"default": "./index.js"
|
| 9 |
+
},
|
| 10 |
+
"./*": {
|
| 11 |
+
"import": "./catch-all.js",
|
| 12 |
+
"default": "./catch-all.js"
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"main": "./index.js"
|
| 16 |
+
}
|
stubs/szl-holdings__design-system/catch-all.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
import React from 'react';
|
| 3 |
+
const Stub = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 4 |
+
export default Stub;
|
| 5 |
+
export { Stub };
|
| 6 |
+
export const noop = () => {};
|
stubs/szl-holdings__design-system/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
export const productAccent = (...args) => {};
|
| 3 |
+
export const SubstrateWorkflowPanel = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 4 |
+
export const AtlasScenePanel = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 5 |
+
export const color = new Proxy({}, { get: (t, k) => '#888888' });
|
| 6 |
+
export const StatusBadge = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 7 |
+
export const BenchmarkCard = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 8 |
+
export const EvalBadge = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 9 |
+
export const LeaderboardTable = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 10 |
+
export const LeaderboardEntry = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 11 |
+
export const ResultDetailDrawer = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 12 |
+
export const EvalResultDetail = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 13 |
+
export const SubmitScoreForm = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 14 |
+
export const SubmitScorePayload = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 15 |
+
export const ProofEnvelope = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 16 |
+
export const GovernedCockpitShell = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 17 |
+
export const EvidenceSource = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 18 |
+
export const PolicyState = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
stubs/szl-holdings__design-system/package.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@szl-holdings/design-system",
|
| 3 |
+
"version": "0.0.0-stub",
|
| 4 |
+
"type": "module",
|
| 5 |
+
"exports": {
|
| 6 |
+
"./proof/policy-mode-badge": {
|
| 7 |
+
"import": "./proof__policy-mode-badge.js",
|
| 8 |
+
"default": "./proof__policy-mode-badge.js"
|
| 9 |
+
},
|
| 10 |
+
".": {
|
| 11 |
+
"import": "./index.js",
|
| 12 |
+
"default": "./index.js"
|
| 13 |
+
},
|
| 14 |
+
"./tokens/css": "./tokens__css.css",
|
| 15 |
+
"./*": {
|
| 16 |
+
"import": "./catch-all.js",
|
| 17 |
+
"default": "./catch-all.js"
|
| 18 |
+
}
|
| 19 |
+
},
|
| 20 |
+
"main": "./index.js"
|
| 21 |
+
}
|
stubs/szl-holdings__design-system/proof__policy-mode-badge.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
export const PolicyModeBadge = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
stubs/szl-holdings__design-system/tokens__css.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
/* stub CSS */
|
stubs/szl-holdings__document-intelligence/catch-all.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
import React from 'react';
|
| 3 |
+
const Stub = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 4 |
+
export default Stub;
|
| 5 |
+
export { Stub };
|
| 6 |
+
export const noop = () => {};
|
stubs/szl-holdings__document-intelligence/index.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
export const ingestVesselsInsuranceException = (...args) => {};
|
stubs/szl-holdings__document-intelligence/package.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@szl-holdings/document-intelligence",
|
| 3 |
+
"version": "0.0.0-stub",
|
| 4 |
+
"type": "module",
|
| 5 |
+
"exports": {
|
| 6 |
+
".": {
|
| 7 |
+
"import": "./index.js",
|
| 8 |
+
"default": "./index.js"
|
| 9 |
+
},
|
| 10 |
+
"./*": {
|
| 11 |
+
"import": "./catch-all.js",
|
| 12 |
+
"default": "./catch-all.js"
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"main": "./index.js"
|
| 16 |
+
}
|
stubs/szl-holdings__graphql-client/catch-all.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
import React from 'react';
|
| 3 |
+
const Stub = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 4 |
+
export default Stub;
|
| 5 |
+
export { Stub };
|
| 6 |
+
export const noop = () => {};
|
stubs/szl-holdings__graphql-client/hooks.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
export const useVesselEvents = (...args) => {};
|
| 3 |
+
export const useVessels = (...args) => {};
|
stubs/szl-holdings__graphql-client/index.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
export const useVesselPositionUpdated = (...args) => {};
|
stubs/szl-holdings__graphql-client/package.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@szl-holdings/graphql-client",
|
| 3 |
+
"version": "0.0.0-stub",
|
| 4 |
+
"type": "module",
|
| 5 |
+
"exports": {
|
| 6 |
+
"./hooks": {
|
| 7 |
+
"import": "./hooks.js",
|
| 8 |
+
"default": "./hooks.js"
|
| 9 |
+
},
|
| 10 |
+
"./provider": {
|
| 11 |
+
"import": "./provider.js",
|
| 12 |
+
"default": "./provider.js"
|
| 13 |
+
},
|
| 14 |
+
".": {
|
| 15 |
+
"import": "./index.js",
|
| 16 |
+
"default": "./index.js"
|
| 17 |
+
},
|
| 18 |
+
"./*": {
|
| 19 |
+
"import": "./catch-all.js",
|
| 20 |
+
"default": "./catch-all.js"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"main": "./index.js"
|
| 24 |
+
}
|
stubs/szl-holdings__graphql-client/provider.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
export const GraphQLProvider = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
stubs/szl-holdings__mcp-client/catch-all.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from "react";
|
| 2 |
+
const Stub = (props) => React.createElement("div", { "data-stub": true, ...props }, props?.children || null);
|
| 3 |
+
export default Stub;
|
| 4 |
+
export { Stub };
|
| 5 |
+
export const noop = () => {};
|
stubs/szl-holdings__mcp-client/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export default {};
|
stubs/szl-holdings__mcp-client/package.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"name":"@szl-holdings/mcp-client","version":"0.0.0-stub","type":"module","exports":{".":{"import":"./index.js","default":"./index.js"},"./*":{"import":"./catch-all.js","default":"./catch-all.js"}},"main":"./index.js"}
|
stubs/szl-holdings__monte-carlo/catch-all.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
import React from 'react';
|
| 3 |
+
const Stub = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 4 |
+
export default Stub;
|
| 5 |
+
export { Stub };
|
| 6 |
+
export const noop = () => {};
|
stubs/szl-holdings__monte-carlo/index.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
export const DriverTweak = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 3 |
+
export const distributionSupportsSpread = (...args) => {};
|
| 4 |
+
export const IDENTITY_TWEAK = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 5 |
+
export const isIdentityTweak = (...args) => {};
|
| 6 |
+
export const tweakedInputs = (...args) => {};
|
| 7 |
+
export const tweakSummary = (...args) => {};
|
stubs/szl-holdings__monte-carlo/package.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@szl-holdings/monte-carlo",
|
| 3 |
+
"version": "0.0.0-stub",
|
| 4 |
+
"type": "module",
|
| 5 |
+
"exports": {
|
| 6 |
+
".": {
|
| 7 |
+
"import": "./index.js",
|
| 8 |
+
"default": "./index.js"
|
| 9 |
+
},
|
| 10 |
+
"./scenario-pool": {
|
| 11 |
+
"import": "./scenario-pool.js",
|
| 12 |
+
"default": "./scenario-pool.js"
|
| 13 |
+
},
|
| 14 |
+
"./scenario-simulation": {
|
| 15 |
+
"import": "./scenario-simulation.js",
|
| 16 |
+
"default": "./scenario-simulation.js"
|
| 17 |
+
},
|
| 18 |
+
"./schema": {
|
| 19 |
+
"import": "./schema.js",
|
| 20 |
+
"default": "./schema.js"
|
| 21 |
+
},
|
| 22 |
+
"./scenarios": {
|
| 23 |
+
"import": "./scenarios.js",
|
| 24 |
+
"default": "./scenarios.js"
|
| 25 |
+
},
|
| 26 |
+
"./*": {
|
| 27 |
+
"import": "./catch-all.js",
|
| 28 |
+
"default": "./catch-all.js"
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"main": "./index.js"
|
| 32 |
+
}
|
stubs/szl-holdings__monte-carlo/scenario-pool.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
export const runScenarioInPool = (...args) => {};
|
stubs/szl-holdings__monte-carlo/scenario-simulation.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
export const MonteCarloResult = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 3 |
+
export const runScenarioSimulation = (...args) => {};
|
stubs/szl-holdings__monte-carlo/scenarios.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
export const VESSELS_VOYAGE_COST = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
stubs/szl-holdings__monte-carlo/schema.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
export const InputVariable = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 3 |
+
export const ScenarioDefinition = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
stubs/szl-holdings__observability/catch-all.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
import React from 'react';
|
| 3 |
+
const Stub = (props) => React.createElement('div', { 'data-stub': true, ...props }, props?.children || null);
|
| 4 |
+
export default Stub;
|
| 5 |
+
export { Stub };
|
| 6 |
+
export const noop = () => {};
|
stubs/szl-holdings__observability/configs.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
export const vesselsConfig = (...args) => {};
|
stubs/szl-holdings__observability/index.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
export const doctrineEventBus = (...args) => {};
|