{
  "generated_at": "2026-04-28T23:58:28.688Z",
  "system": {
    "id": "topolo-one",
    "name": "TopoloOne",
    "slug": "topolo-one",
    "kind": "application",
    "summary": "Unified personal and organization live workspace, personal-profile family management, authenticated app catalog, worker-backed pricing, owner-linked subscription billing, content, growth, and developer-acquisition surfaces for TopoloOne.",
    "aliases": [],
    "lifecycle": "active",
    "last_verified": "2026-04-29",
    "owners": [
      "platform-experience"
    ],
    "repo_paths": [
      "PlatformApplications/TopoloOne",
      "PlatformApplications/TopoloOne/apps/mobile",
      "PlatformApplications/TopoloOne/packages/topolo_mobile_core"
    ],
    "service_ids": [
      "svc_oneclick_dash"
    ],
    "visibility": "public",
    "api_contract": {
      "type": "curated",
      "source": "PlatformApplications/TopoloOne/apps/dashboard-web/src/lib/api.ts",
      "notes": "The dashboard contract is defined by the Auth-backed client routes it calls, including the app-switcher catalog for installed live-workspace widgets, the same-origin `POST /api/widgets` batch route that fans out server-side to native app `GET /api/widget` endpoints, anonymous Developers-owned store catalog/search/detail routes for the authenticated /apps catalog, Auth service-surface metadata for separating launchable applications from technical services, workspace context and membership summaries, selected-household state for personal-profile family flows, backend launcher preferences, app commerce metadata, org-user install assignment data, household-management routes, API-key management routes, Auth recovery-email status through `/api/auth/me/recovery-email`, and the TopoloNotify-backed `/actions` queue. /dashboard is workspace-only, /apps is the canonical authenticated app catalog, /actions is the full human-required platform action surface, and /store is not a supported alias. The authenticated dashboard uses TopoloAppShell navigationMode=topbar and forwards only `personal` or `organization` active context into the shared launcher; household is not a peer workspace and instead stays attached to personal context through Auth `selectedHouseholdId` plus `selectedHousehold` with `svc_oneclick_dash` marked `household_capable`. The dashboard browser callback delegates Auth SSO one-time sso_code exchange to the shared Auth client and does not accept direct bearer-token callback URLs or expose a legacy `/sso?token=` handoff helper. The dashboard /login route is the first-party embedded password-login surface for One, lands password-authenticated users on /dashboard, and requires /api/auth/me hydration before organization-context users are treated as ready so service onboarding state is available. The dashboard /onboarding route starts with mandatory personal recovery-email verification, then completes organization service onboarding for svc_oneclick_dash through Auth's service onboarding route, and redirects already-complete users back to /dashboard on direct refresh. The widget batch route caches successful native payloads per user and active context for 45 seconds, keeps a five-minute KV stale fallback for degraded app responses, renders metadata-backed overview widgets only when native fetches fail, excludes merely available catalog apps from the live workspace grid so widget fan-out stays scoped to installed context apps, and supports explicit widget-host overrides for apps whose native widget endpoint is not served from the canonical browser origin, including Commerce, Learn, Nexus, Quro, Forecast, Roadmapper, and Socialize. The authenticated `/apps` catalog now mirrors the active workspace contract as well: organization context may surface the full business catalog, while personal context must use personal-context Auth access metadata, avoid borrowing an org id, and hide org-first categories and collections that do not apply outside personal or family use. The marketing worker adds public checkout, waitlist, demo-booking, admin-session, owner-linked subscription-webhook ingestion, org billing preview, org billing portal, and internal seat-reconciliation endpoints plus static portfolio and developer acquisition routes. Paid checkout carries TopoloOne package metadata for three, five, ten, and everything bundles through Nexus/Stripe; those bundles define paid Topolo app access while third-party apps and customer-built apps remain unlimited through the app store. The free workspace path uses a $1/year Stripe verification subscription and stores completed free-workspace subscriptions separately from paid subscription records. Platform subscription records now live in D1 by `owner_type` and `owner_id`. Public pricing includes the honest 80%-and-growing comparison against mature specialist SaaS stacks, states that each paid seat can be used by a human or one Topolo agent, frames the listed public price as the minimum, routes enterprise pricing to request-based demo or sales contact for larger rollouts and custom security, compliance, procurement, rollout, or usage needs, and says 50% of paid seat revenue goes directly back into tokens for improving Topolo and its available tools and applications. Public developer CTAs now hand off from TopoloOne into the separate TopoloDevelopers application on developers.topolo.app/signup. The TopoloOne mobile shell at PlatformApplications/TopoloOne/apps/mobile is a Flutter launchpad for iOS and Android that mirrors /dashboard, /apps, /actions, and /settings, but replaces in-app launching with install-aware app-store handoff: tapping a catalog entry first attempts the universal link at one.topolo.app/launch/<serviceId>?code=<one-time-handoff-code> minted from the dashboard worker, falls back to the platform-appropriate App Store or Play Store URL when the target native app is not installed, and falls back to the browser web launch URL when no native build exists. The shared PlatformApplications/TopoloOne/packages/topolo_mobile_core package is the canonical Dart/Flutter implementation of TopoloAuthClient OAuth/PKCE refresh-token storage in the iOS Keychain access group group.io.topolo.shared, the TopoloApi catalog and handoff-code mint client, and the TopoloAppShell wordmark lockup, and is the only place other Topolo Flutter apps adopt platform identity, design tokens, and deep-link reception."
    },
    "primary_hosts": [
      "https://one.topolo.app",
      "https://topolo.io",
      "https://one.topolo.io",
      "ios-app://io.topolo.topolo_one",
      "android-app://io.topolo.topolo_one"
    ],
    "doc_paths": [
      "applications/one",
      "internal/apps/topolo-one"
    ],
    "security_assurance": {
      "risk_tier": "critical",
      "auth_boundary": "Topolo Auth service access, active-context selection, and membership-bound authorization with TopoloOne dashboard and app-switching authorization. The first-party embedded password-login path persists through the shared Auth client before dashboard-owned navigation. Protected dashboard-worker API routes validate bearer tokens through Auth `/validate` with `X-Service-ID: svc_oneclick_dash`, use Auth-returned permissions as the authorization source, and fail closed with 503 when Auth validation is unavailable.",
      "tenant_isolation": "mixed",
      "external_inputs": [
        "browser",
        "api",
        "callback",
        "third_party_app"
      ],
      "sensitive_data": [
        "identity",
        "org_data",
        "customer_content",
        "telemetry"
      ],
      "last_security_review": "2026-04-21",
      "security_review_status": "in_progress",
      "pentest_status": "not_started",
      "evidence_doc": "internal/apps/topolo-one"
    },
    "dependencies": [
      "topolo-auth",
      "topolo-nexus",
      "topolo-developers",
      "topolo-p2p",
      "applications-packages"
    ],
    "public_hub_url": "/systems/topolo-one",
    "internal_hub_url": null,
    "application_api_url": "/reference/apps/topolo-one",
    "generated_openapi_url": null,
    "machine_urls": {
      "system": "/machine/systems/topolo-one.json",
      "application": "/machine/applications/topolo-one.json"
    }
  },
  "docs": {
    "public": [
      {
        "id": "applications/forecast.mdx",
        "title": "Topolo Forecast",
        "summary": "Public overview of the forecasting product for cash-flow, P&L, KPI, and multi-scenario planning workflows.",
        "audience": "public",
        "tags": [
          "forecasting",
          "finance",
          "planning"
        ],
        "url": "/applications/forecast.mdx",
        "last_verified": "2026-04-28"
      },
      {
        "id": "applications/one.mdx",
        "title": "TopoloOne",
        "summary": "Public overview of the TopoloOne dashboard, worker-backed growth surfaces, and the public developer-acquisition funnel.",
        "audience": "public",
        "tags": [
          "dashboard",
          "operators",
          "api-keys"
        ],
        "url": "/applications/one.mdx",
        "last_verified": "2026-04-28"
      },
      {
        "id": "guides/quick-start.mdx",
        "title": "Quick Start",
        "summary": "Fast onboarding path for developers integrating with Topolo services.",
        "audience": "public",
        "tags": [
          "onboarding",
          "auth",
          "api-keys"
        ],
        "url": "/guides/quick-start.mdx",
        "last_verified": "2026-04-07"
      },
      {
        "id": "platform/api-keys.mdx",
        "title": "API Keys",
        "summary": "Central API key model, scope ownership, and resource binding behavior across Topolo services.",
        "audience": "public",
        "tags": [
          "api-keys",
          "security",
          "platform"
        ],
        "url": "/platform/api-keys.mdx",
        "last_verified": "2026-04-07"
      },
      {
        "id": "platform/architecture.mdx",
        "title": "Platform Architecture",
        "summary": "Top-level platform shape, authority boundaries, and how the unified documentation platform maps onto the codebase.",
        "audience": "public",
        "tags": [
          "architecture",
          "platform",
          "systems"
        ],
        "url": "/platform/architecture.mdx",
        "last_verified": "2026-04-10"
      }
    ],
    "internal": [],
    "runbooks": []
  },
  "authority": {
    "owners": [
      "platform-experience"
    ],
    "repo_paths": [
      "PlatformApplications/TopoloOne",
      "PlatformApplications/TopoloOne/apps/mobile",
      "PlatformApplications/TopoloOne/packages/topolo_mobile_core"
    ],
    "service_ids": [
      "svc_oneclick_dash"
    ],
    "dependencies": [
      "topolo-auth",
      "topolo-nexus",
      "topolo-developers",
      "topolo-p2p",
      "applications-packages"
    ],
    "aliases": []
  },
  "interfaces": {
    "contract_type": "curated",
    "contract_source": "PlatformApplications/TopoloOne/apps/dashboard-web/src/lib/api.ts",
    "contract_source_exists": true,
    "openapi": null,
    "readme": {
      "path": "PlatformApplications/TopoloOne/README.md",
      "intro": [
        "Canonical documentation for TopoloOne lives in `PlatformApplications/TopoloDocs`.",
        "Use this repository for implementation only. Local product and operational docs have been retired in favor of the docs application."
      ],
      "headings": [
        "TopoloOne"
      ],
      "routeHighlights": [],
      "commandHighlights": []
    }
  },
  "auth": {
    "depends_on_topolo_auth": true,
    "api_key_scopes": [
      {
        "id": "aks_oneclick_api_keys_write",
        "name": "api_keys.write",
        "description": "Manage Topolo One machine credentials",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_one_apps_read",
        "name": "apps.read",
        "description": "View application catalog",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_one_apps_write",
        "name": "apps.write",
        "description": "Manage applications and deployments",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_one_dashboard_read",
        "name": "dashboard.read",
        "description": "View OneClick dashboard",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_one_launches_read",
        "name": "launches.read",
        "description": "Generate or inspect launch flows",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_one_notifications_read",
        "name": "notifications.read",
        "description": "View notification state",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_one_notifications_write",
        "name": "notifications.write",
        "description": "Manage notification subscriptions",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_one_settings_read",
        "name": "settings.read",
        "description": "View system settings",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_one_settings_write",
        "name": "settings.write",
        "description": "Manage system configuration",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_one_widgets_read",
        "name": "widgets.read",
        "description": "Read widget and summary data",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_one_workflows_read",
        "name": "workflows.read",
        "description": "View automation workflows",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_one_workflows_write",
        "name": "workflows.write",
        "description": "Create and edit workflows",
        "resourcePattern": null,
        "kind": "api_key_scope"
      }
    ],
    "service_permissions": [
      {
        "id": "perm_oneclick_api_keys_write",
        "name": "api_keys:write",
        "description": "Manage Topolo One machine credentials",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_oneclick_apps_read",
        "name": "apps:read",
        "description": "View application catalog",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_oneclick_apps_write",
        "name": "apps:write",
        "description": "Manage applications and deployments",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_oneclick_dashboard_read",
        "name": "dashboard:read",
        "description": "View OneClick dashboard",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_oneclick_launches_read",
        "name": "launches:read",
        "description": "Generate or inspect launch flows",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_oneclick_notifications_read",
        "name": "notifications:read",
        "description": "View notification state",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_oneclick_notifications_write",
        "name": "notifications:write",
        "description": "Manage notification subscriptions",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_oneclick_settings_read",
        "name": "settings:read",
        "description": "View system settings",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_oneclick_settings_write",
        "name": "settings:write",
        "description": "Manage system configuration",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_oneclick_widgets_read",
        "name": "widgets:read",
        "description": "Read widget and summary data",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_oneclick_workflows_read",
        "name": "workflows:read",
        "description": "View automation workflows",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_oneclick_workflows_write",
        "name": "workflows:write",
        "description": "Create and edit workflows",
        "resourcePattern": null,
        "kind": "permission"
      }
    ]
  },
  "runtime": {
    "primary_hosts": [
      "https://one.topolo.app",
      "https://topolo.io",
      "https://one.topolo.io",
      "ios-app://io.topolo.topolo_one",
      "android-app://io.topolo.topolo_one"
    ],
    "repo_entries": [
      "PlatformApplications/TopoloOne/AGENTS.md",
      "PlatformApplications/TopoloOne/README.md",
      "PlatformApplications/TopoloOne/apps/",
      "PlatformApplications/TopoloOne/cloudcontrol-deployment-report-ai-chat-rag.json",
      "PlatformApplications/TopoloOne/cloudcontrol-deployment-report-topoloone-worker.json",
      "PlatformApplications/TopoloOne/commitlint.config.js",
      "PlatformApplications/TopoloOne/docs/",
      "PlatformApplications/TopoloOne/lighthouserc.js",
      "PlatformApplications/TopoloOne/migration.config.ts",
      "PlatformApplications/TopoloOne/package.json",
      "PlatformApplications/TopoloOne/packages/",
      "PlatformApplications/TopoloOne/playwright-report/",
      "PlatformApplications/TopoloOne/playwright.config.ts",
      "PlatformApplications/TopoloOne/pnpm-lock.yaml",
      "PlatformApplications/TopoloOne/pnpm-workspace.yaml",
      "PlatformApplications/TopoloOne/scripts/",
      "PlatformApplications/TopoloOne/test-results/",
      "PlatformApplications/TopoloOne/tests/",
      "PlatformApplications/TopoloOne/topolo.cloudcontrol.json",
      "PlatformApplications/TopoloOne/apps/mobile/README.md"
    ],
    "wrangler_surfaces": [
      {
        "path": "PlatformApplications/TopoloOne/apps/ai-chat-rag/wrangler.toml",
        "observabilityEnabled": true,
        "environments": [
          "preview",
          "production"
        ],
        "routes": [],
        "vars": [
          "ALLOWED_ORIGINS",
          "LOG_LEVEL",
          "NEXUS_GATEWAY_URL",
          "NODE_ENV",
          "SERVICE_NAME"
        ],
        "bindings": [
          {
            "kind": "kv",
            "binding": "CHAT_CACHE",
            "sourcePath": "PlatformApplications/TopoloOne/apps/ai-chat-rag/wrangler.toml",
            "target": "5ee16c92ffe34626aacbe45b94e416fe"
          },
          {
            "kind": "kv",
            "binding": "CHAT_CACHE",
            "environment": "preview",
            "sourcePath": "PlatformApplications/TopoloOne/apps/ai-chat-rag/wrangler.toml",
            "target": "5ee16c92ffe34626aacbe45b94e416fe"
          },
          {
            "kind": "kv",
            "binding": "CHAT_CACHE",
            "environment": "production",
            "sourcePath": "PlatformApplications/TopoloOne/apps/ai-chat-rag/wrangler.toml",
            "target": "5ee16c92ffe34626aacbe45b94e416fe"
          }
        ],
        "cronTriggers": [],
        "workerName": "ai-chat-rag",
        "main": "dist/index.js",
        "compatibilityDate": "2026-04-10",
        "buildCommand": "pnpm --filter @topolo/ai-chat-rag build",
        "assetsDirectory": "./public"
      },
      {
        "path": "PlatformApplications/TopoloOne/apps/dashboard-web/wrangler.toml",
        "observabilityEnabled": true,
        "environments": [],
        "routes": [],
        "vars": [
          "AUTH_API_URL",
          "VITE_API_URL",
          "VITE_AUTH_URL",
          "VITE_P2P_API_URL",
          "VITE_STORE_API_BASE_URL",
          "VITE_TOPOLO_AUTH_URL"
        ],
        "bindings": [],
        "cronTriggers": [],
        "workerName": "topoloone",
        "compatibilityDate": "2026-04-10"
      },
      {
        "path": "PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml",
        "observabilityEnabled": true,
        "environments": [
          "preview",
          "staging",
          "production"
        ],
        "routes": [
          "one.stg.topolo.us",
          "one.topolo.app/*"
        ],
        "vars": [
          "ALLOWED_ORIGINS",
          "AUTH_API_URL",
          "DASHBOARD_APP_ORIGIN",
          "LOG_LEVEL",
          "NODE_ENV",
          "SERVICE_NAME"
        ],
        "bindings": [
          {
            "kind": "d1",
            "binding": "ONECLICK_DB",
            "sourcePath": "PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml",
            "target": "ace6619b-0dae-4248-870b-71561d9087e2"
          },
          {
            "kind": "kv",
            "binding": "ONECLICK_KV",
            "sourcePath": "PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml",
            "target": "53140b1879254915bfb46179f09d197b"
          },
          {
            "kind": "d1",
            "binding": "ONECLICK_DB",
            "environment": "preview",
            "sourcePath": "PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml",
            "target": "ace6619b-0dae-4248-870b-71561d9087e2"
          },
          {
            "kind": "kv",
            "binding": "ONECLICK_KV",
            "environment": "preview",
            "sourcePath": "PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml",
            "target": "a4ed16d4573d45b8a05eefa54f18eb5f"
          },
          {
            "kind": "d1",
            "binding": "ONECLICK_DB",
            "environment": "staging",
            "sourcePath": "PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml",
            "target": "b068feb5-e36f-4b40-a980-2d43a82f4778"
          },
          {
            "kind": "kv",
            "binding": "ONECLICK_KV",
            "environment": "staging",
            "sourcePath": "PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml",
            "target": "45c47c1f450b40fda41a7ce941e9e845"
          },
          {
            "kind": "d1",
            "binding": "ONECLICK_DB",
            "environment": "production",
            "sourcePath": "PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml",
            "target": "ace6619b-0dae-4248-870b-71561d9087e2"
          },
          {
            "kind": "kv",
            "binding": "ONECLICK_KV",
            "environment": "production",
            "sourcePath": "PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml",
            "target": "a4ed16d4573d45b8a05eefa54f18eb5f"
          }
        ],
        "cronTriggers": [],
        "workerName": "topoloone-worker",
        "main": "dist/index.js",
        "compatibilityDate": "2026-04-10",
        "buildCommand": "pnpm run build",
        "assetsDirectory": "./public"
      },
      {
        "path": "PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml",
        "observabilityEnabled": true,
        "environments": [
          "staging"
        ],
        "routes": [
          "stg.topolo.us"
        ],
        "vars": [
          "ENVIRONMENT",
          "NEXT_PUBLIC_AUTH_URL",
          "NEXT_PUBLIC_DEVELOPER_PORTAL_URL",
          "NEXT_PUBLIC_DOCS_URL",
          "NEXT_PUBLIC_ONE_URL",
          "NEXT_PUBLIC_SIGNUP_MODE",
          "NEXT_PUBLIC_SITE_URL",
          "NEXUS_GATEWAY_URL",
          "TOPOLO_ONE_BILLING_URL"
        ],
        "bindings": [
          {
            "kind": "kv",
            "binding": "WAITLIST_KV",
            "sourcePath": "PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml",
            "target": "97ef5229c1574541bb7d5dd6b437d5b6"
          },
          {
            "kind": "kv",
            "binding": "BOOKING_KV",
            "sourcePath": "PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml",
            "target": "b45b9707d5984639b03f42e3f9e42fcb"
          },
          {
            "kind": "kv",
            "binding": "SUBS_KV",
            "sourcePath": "PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml",
            "target": "5cd7bce0ea88411d857169ea9ef46c2a"
          },
          {
            "kind": "d1",
            "binding": "ONECLICK_DB",
            "sourcePath": "PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml",
            "target": "ace6619b-0dae-4248-870b-71561d9087e2"
          },
          {
            "kind": "kv",
            "binding": "WAITLIST_KV",
            "environment": "staging",
            "sourcePath": "PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml",
            "target": "2fed68e530b94c2c8ab1e74b998a8c73"
          },
          {
            "kind": "kv",
            "binding": "BOOKING_KV",
            "environment": "staging",
            "sourcePath": "PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml",
            "target": "dee1938ea8754510b9ede1bf1e8f4bf9"
          },
          {
            "kind": "kv",
            "binding": "SUBS_KV",
            "environment": "staging",
            "sourcePath": "PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml",
            "target": "d1bf35da79c64095a49296a9b7100931"
          },
          {
            "kind": "d1",
            "binding": "ONECLICK_DB",
            "environment": "staging",
            "sourcePath": "PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml",
            "target": "b068feb5-e36f-4b40-a980-2d43a82f4778"
          }
        ],
        "cronTriggers": [],
        "workerName": "topoloone-website",
        "compatibilityDate": "2026-04-10",
        "main": "worker/index.js",
        "assetsDirectory": "out"
      }
    ],
    "packages": [
      {
        "path": "PlatformApplications/TopoloOne/apps/ai-chat-rag/package.json",
        "name": "@topolo/ai-chat-rag",
        "scripts": [
          "dev",
          "start",
          "build",
          "deploy",
          "deploy:dry-run",
          "test",
          "test:ci",
          "test:miniflare",
          "cf-typegen",
          "clean",
          "lint",
          "type-check",
          "typecheck"
        ],
        "scriptCommands": [
          {
            "name": "dev",
            "command": "wrangler dev --port 8687"
          },
          {
            "name": "start",
            "command": "wrangler dev --port 8687"
          },
          {
            "name": "build",
            "command": "esbuild src/index.ts --bundle --outfile=dist/index.js --format=esm --platform=browser --target=es2022"
          },
          {
            "name": "deploy",
            "command": "wrangler deploy"
          },
          {
            "name": "deploy:dry-run",
            "command": "wrangler deploy --dry-run --outdir .wrangler/build"
          },
          {
            "name": "test",
            "command": "vitest"
          },
          {
            "name": "test:ci",
            "command": "vitest run"
          },
          {
            "name": "test:miniflare",
            "command": "miniflare src/index.ts --modules --compatibility-date=2025-07-01"
          },
          {
            "name": "cf-typegen",
            "command": "wrangler types"
          },
          {
            "name": "clean",
            "command": "rm -rf dist"
          },
          {
            "name": "lint",
            "command": "eslint src --ext .ts"
          },
          {
            "name": "type-check",
            "command": "tsc --noEmit"
          },
          {
            "name": "typecheck",
            "command": "tsc --noEmit"
          }
        ]
      },
      {
        "path": "PlatformApplications/TopoloOne/apps/dashboard-web/package.json",
        "name": "@topolo/dashboard-web",
        "description": "Topolo SSO Dashboard Web Application",
        "scripts": [
          "dev",
          "build",
          "build:staging",
          "preview",
          "lint",
          "lint:fix",
          "test",
          "clean",
          "deploy:check",
          "deploy",
          "deploy:staging"
        ],
        "scriptCommands": [
          {
            "name": "dev",
            "command": "vite"
          },
          {
            "name": "build",
            "command": "tsc && vite build --mode production"
          },
          {
            "name": "build:staging",
            "command": "env VITE_PUBLIC_URL=https://topoloone-dashboard-staging.pages.dev VITE_API_URL=https://one.stg.topolo.us VITE_AUTH_URL=https://auth.stg.topolo.us VITE_TOPOLO_AUTH_URL=https://auth.stg.topolo.us VITE_STORE_API_BASE_URL=https://developers.stg.topolo.us/api/store VITE_P2P_API_URL=https://p2p.stg.topolo.us sh -c 'tsc && vite build --mode production'"
          },
          {
            "name": "preview",
            "command": "vite preview"
          },
          {
            "name": "lint",
            "command": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
          },
          {
            "name": "lint:fix",
            "command": "eslint . --ext ts,tsx --fix"
          },
          {
            "name": "test",
            "command": "vitest"
          },
          {
            "name": "clean",
            "command": "rm -rf dist"
          },
          {
            "name": "deploy:check",
            "command": "node ../../scripts/check-deploy-fresh.mjs"
          },
          {
            "name": "deploy",
            "command": "node ../../scripts/check-deploy-fresh.mjs && rm -f node_modules/.cache/wrangler/pages.json node_modules/.cache/wrangler/wrangler-account.json && rm -rf dist && pnpm run build && CLOUDFLARE_ACCOUNT_ID=49ef1ba682ad8cfd720c86699ae17521 wrangler pages deploy dist --project-name topoloone --branch main --commit-dirty=true"
          },
          {
            "name": "deploy:staging",
            "command": "rm -f node_modules/.cache/wrangler/pages.json node_modules/.cache/wrangler/wrangler-account.json && rm -rf dist && pnpm run build:staging && CLOUDFLARE_ACCOUNT_ID=4f4e1c69a3830946f9fea7b1eb7531ac wrangler pages deploy dist --project-name topoloone-dashboard-staging --branch staging --commit-dirty=true"
          }
        ]
      },
      {
        "path": "PlatformApplications/TopoloOne/apps/dashboard-worker/package.json",
        "name": "@topolo/dashboard-worker",
        "scripts": [
          "dev",
          "start",
          "build",
          "deploy",
          "deploy:staging",
          "deploy:dry-run",
          "test",
          "test:ci",
          "test:miniflare",
          "cf-typegen",
          "clean",
          "lint",
          "type-check",
          "typecheck"
        ],
        "scriptCommands": [
          {
            "name": "dev",
            "command": "wrangler dev --port 8686"
          },
          {
            "name": "start",
            "command": "wrangler dev --port 8686"
          },
          {
            "name": "build",
            "command": "esbuild src/index.ts --bundle --outfile=dist/index.js --format=esm --platform=browser --target=es2022"
          },
          {
            "name": "deploy",
            "command": "wrangler deploy"
          },
          {
            "name": "deploy:staging",
            "command": "env -u CLOUDFLARE_API_TOKEN CLOUDFLARE_ACCOUNT_ID=4f4e1c69a3830946f9fea7b1eb7531ac wrangler deploy --env staging"
          },
          {
            "name": "deploy:dry-run",
            "command": "wrangler deploy --dry-run --outdir .wrangler/build"
          },
          {
            "name": "test",
            "command": "vitest"
          },
          {
            "name": "test:ci",
            "command": "vitest run"
          },
          {
            "name": "test:miniflare",
            "command": "miniflare src/index.ts --modules --compatibility-date=2025-07-01"
          },
          {
            "name": "cf-typegen",
            "command": "wrangler types"
          },
          {
            "name": "clean",
            "command": "rm -rf dist"
          },
          {
            "name": "lint",
            "command": "eslint src --ext .ts"
          },
          {
            "name": "type-check",
            "command": "tsc --noEmit"
          },
          {
            "name": "typecheck",
            "command": "tsc --noEmit"
          }
        ]
      },
      {
        "path": "PlatformApplications/TopoloOne/apps/marketing-site/package.json",
        "name": "@topolo/marketing-site",
        "scripts": [
          "dev",
          "build",
          "build:cf",
          "preview:cf",
          "deploy:check",
          "deploy",
          "start",
          "lint",
          "lint:fix",
          "format",
          "format:check",
          "typecheck",
          "test",
          "test:run",
          "test:ui",
          "test:coverage"
        ],
        "scriptCommands": [
          {
            "name": "dev",
            "command": "next dev"
          },
          {
            "name": "build",
            "command": "next build"
          },
          {
            "name": "build:cf",
            "command": "echo 'Using static export instead of next-on-pages'"
          },
          {
            "name": "preview:cf",
            "command": "wrangler pages dev .vercel/output/static"
          },
          {
            "name": "deploy:check",
            "command": "node ../../scripts/check-deploy-fresh.mjs"
          },
          {
            "name": "deploy",
            "command": "node ../../scripts/check-deploy-fresh.mjs && rm -rf out .next && pnpm run build && wrangler deploy"
          },
          {
            "name": "start",
            "command": "next start"
          },
          {
            "name": "lint",
            "command": "next lint"
          },
          {
            "name": "lint:fix",
            "command": "next lint --fix"
          },
          {
            "name": "format",
            "command": "prettier --write ."
          },
          {
            "name": "format:check",
            "command": "prettier --check ."
          },
          {
            "name": "typecheck",
            "command": "tsc --noEmit"
          },
          {
            "name": "test",
            "command": "vitest"
          },
          {
            "name": "test:run",
            "command": "vitest run"
          },
          {
            "name": "test:ui",
            "command": "vitest --ui"
          },
          {
            "name": "test:coverage",
            "command": "vitest run --coverage"
          }
        ]
      },
      {
        "path": "PlatformApplications/TopoloOne/package.json",
        "name": "topolo-oneclick-sso",
        "description": "TopoloOne - Multi-app SSO launchpad",
        "scripts": [
          "bootstrap",
          "build",
          "build:packages",
          "build:apps",
          "dev",
          "dev:web",
          "dev:worker",
          "build:web",
          "build:worker",
          "deploy:worker",
          "test:worker",
          "lint",
          "lint:fix",
          "lint:marketing",
          "lint:all",
          "test"
        ],
        "scriptCommands": [
          {
            "name": "bootstrap",
            "command": "pnpm install && pnpm build:packages && pnpm prepare"
          },
          {
            "name": "build",
            "command": "pnpm build:packages && pnpm build:apps"
          },
          {
            "name": "build:packages",
            "command": "pnpm --filter '@topolo/auth-client' build"
          },
          {
            "name": "build:apps",
            "command": "pnpm --filter '@topolo/dashboard-web' build && pnpm --filter '@topolo/dashboard-worker' build"
          },
          {
            "name": "dev",
            "command": "pnpm --parallel --filter '@topolo/dashboard-web' --filter '@topolo/dashboard-worker' dev"
          },
          {
            "name": "dev:web",
            "command": "pnpm --filter @topolo/dashboard-web dev"
          },
          {
            "name": "dev:worker",
            "command": "pnpm --filter @topolo/dashboard-worker dev"
          },
          {
            "name": "build:web",
            "command": "pnpm --filter @topolo/dashboard-web build"
          },
          {
            "name": "build:worker",
            "command": "pnpm --filter @topolo/dashboard-worker build"
          },
          {
            "name": "deploy:worker",
            "command": "pnpm --filter @topolo/dashboard-worker deploy"
          },
          {
            "name": "test:worker",
            "command": "pnpm --filter @topolo/dashboard-worker test"
          },
          {
            "name": "lint",
            "command": "pnpm --filter '@topolo/dashboard-web' --filter '@topolo/dashboard-worker' --filter '@topolo/auth-client' lint"
          },
          {
            "name": "lint:fix",
            "command": "pnpm --filter '@topolo/dashboard-web' --filter '@topolo/dashboard-worker' --filter '@topolo/auth-client' lint:fix"
          },
          {
            "name": "lint:marketing",
            "command": "pnpm --filter '@topolo/marketing-site' lint"
          },
          {
            "name": "lint:all",
            "command": "pnpm --recursive lint"
          },
          {
            "name": "test",
            "command": "pnpm --recursive test"
          }
        ]
      }
    ]
  },
  "data": {
    "env_vars": [
      "ALLOWED_ORIGINS",
      "AUTH_API_URL",
      "DASHBOARD_APP_ORIGIN",
      "ENVIRONMENT",
      "LOG_LEVEL",
      "NEXT_PUBLIC_AUTH_URL",
      "NEXT_PUBLIC_DEVELOPER_PORTAL_URL",
      "NEXT_PUBLIC_DOCS_URL",
      "NEXT_PUBLIC_ONE_URL",
      "NEXT_PUBLIC_SIGNUP_MODE",
      "NEXT_PUBLIC_SITE_URL",
      "NEXUS_GATEWAY_URL",
      "NODE_ENV",
      "SERVICE_NAME",
      "TOPOLO_ONE_BILLING_URL",
      "VITE_API_URL",
      "VITE_AUTH_URL",
      "VITE_P2P_API_URL",
      "VITE_STORE_API_BASE_URL",
      "VITE_TOPOLO_AUTH_URL"
    ],
    "bindings": [
      {
        "kind": "kv",
        "binding": "CHAT_CACHE",
        "sourcePath": "PlatformApplications/TopoloOne/apps/ai-chat-rag/wrangler.toml",
        "target": "5ee16c92ffe34626aacbe45b94e416fe"
      },
      {
        "kind": "kv",
        "binding": "CHAT_CACHE",
        "environment": "preview",
        "sourcePath": "PlatformApplications/TopoloOne/apps/ai-chat-rag/wrangler.toml",
        "target": "5ee16c92ffe34626aacbe45b94e416fe"
      },
      {
        "kind": "kv",
        "binding": "CHAT_CACHE",
        "environment": "production",
        "sourcePath": "PlatformApplications/TopoloOne/apps/ai-chat-rag/wrangler.toml",
        "target": "5ee16c92ffe34626aacbe45b94e416fe"
      },
      {
        "kind": "d1",
        "binding": "ONECLICK_DB",
        "sourcePath": "PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml",
        "target": "ace6619b-0dae-4248-870b-71561d9087e2"
      },
      {
        "kind": "kv",
        "binding": "ONECLICK_KV",
        "sourcePath": "PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml",
        "target": "53140b1879254915bfb46179f09d197b"
      },
      {
        "kind": "d1",
        "binding": "ONECLICK_DB",
        "environment": "preview",
        "sourcePath": "PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml",
        "target": "ace6619b-0dae-4248-870b-71561d9087e2"
      },
      {
        "kind": "kv",
        "binding": "ONECLICK_KV",
        "environment": "preview",
        "sourcePath": "PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml",
        "target": "a4ed16d4573d45b8a05eefa54f18eb5f"
      },
      {
        "kind": "d1",
        "binding": "ONECLICK_DB",
        "environment": "staging",
        "sourcePath": "PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml",
        "target": "b068feb5-e36f-4b40-a980-2d43a82f4778"
      },
      {
        "kind": "kv",
        "binding": "ONECLICK_KV",
        "environment": "staging",
        "sourcePath": "PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml",
        "target": "45c47c1f450b40fda41a7ce941e9e845"
      },
      {
        "kind": "d1",
        "binding": "ONECLICK_DB",
        "environment": "production",
        "sourcePath": "PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml",
        "target": "ace6619b-0dae-4248-870b-71561d9087e2"
      },
      {
        "kind": "kv",
        "binding": "ONECLICK_KV",
        "environment": "production",
        "sourcePath": "PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml",
        "target": "a4ed16d4573d45b8a05eefa54f18eb5f"
      },
      {
        "kind": "kv",
        "binding": "WAITLIST_KV",
        "sourcePath": "PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml",
        "target": "97ef5229c1574541bb7d5dd6b437d5b6"
      },
      {
        "kind": "kv",
        "binding": "BOOKING_KV",
        "sourcePath": "PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml",
        "target": "b45b9707d5984639b03f42e3f9e42fcb"
      },
      {
        "kind": "kv",
        "binding": "SUBS_KV",
        "sourcePath": "PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml",
        "target": "5cd7bce0ea88411d857169ea9ef46c2a"
      },
      {
        "kind": "d1",
        "binding": "ONECLICK_DB",
        "sourcePath": "PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml",
        "target": "ace6619b-0dae-4248-870b-71561d9087e2"
      },
      {
        "kind": "kv",
        "binding": "WAITLIST_KV",
        "environment": "staging",
        "sourcePath": "PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml",
        "target": "2fed68e530b94c2c8ab1e74b998a8c73"
      },
      {
        "kind": "kv",
        "binding": "BOOKING_KV",
        "environment": "staging",
        "sourcePath": "PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml",
        "target": "dee1938ea8754510b9ede1bf1e8f4bf9"
      },
      {
        "kind": "kv",
        "binding": "SUBS_KV",
        "environment": "staging",
        "sourcePath": "PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml",
        "target": "d1bf35da79c64095a49296a9b7100931"
      },
      {
        "kind": "d1",
        "binding": "ONECLICK_DB",
        "environment": "staging",
        "sourcePath": "PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml",
        "target": "b068feb5-e36f-4b40-a980-2d43a82f4778"
      }
    ],
    "queue_bindings": [],
    "storage_kinds": [
      "kv",
      "d1"
    ],
    "workflow_signals": []
  },
  "deployment": {
    "commands": [
      {
        "name": "build",
        "command": "PlatformApplications/TopoloOne/apps/ai-chat-rag/package.json :: esbuild src/index.ts --bundle --outfile=dist/index.js --format=esm --platform=browser --target=es2022"
      },
      {
        "name": "deploy",
        "command": "PlatformApplications/TopoloOne/apps/ai-chat-rag/package.json :: wrangler deploy"
      },
      {
        "name": "deploy:dry-run",
        "command": "PlatformApplications/TopoloOne/apps/ai-chat-rag/package.json :: wrangler deploy --dry-run --outdir .wrangler/build"
      },
      {
        "name": "build",
        "command": "PlatformApplications/TopoloOne/apps/dashboard-web/package.json :: tsc && vite build --mode production"
      },
      {
        "name": "build:staging",
        "command": "PlatformApplications/TopoloOne/apps/dashboard-web/package.json :: env VITE_PUBLIC_URL=https://topoloone-dashboard-staging.pages.dev VITE_API_URL=https://one.stg.topolo.us VITE_AUTH_URL=https://auth.stg.topolo.us VITE_TOPOLO_AUTH_URL=https://auth.stg.topolo.us VITE_STORE_API_BASE_URL=https://developers.stg.topolo.us/api/store VITE_P2P_API_URL=https://p2p.stg.topolo.us sh -c 'tsc && vite build --mode production'"
      },
      {
        "name": "preview",
        "command": "PlatformApplications/TopoloOne/apps/dashboard-web/package.json :: vite preview"
      },
      {
        "name": "deploy:check",
        "command": "PlatformApplications/TopoloOne/apps/dashboard-web/package.json :: node ../../scripts/check-deploy-fresh.mjs"
      },
      {
        "name": "deploy",
        "command": "PlatformApplications/TopoloOne/apps/dashboard-web/package.json :: node ../../scripts/check-deploy-fresh.mjs && rm -f node_modules/.cache/wrangler/pages.json node_modules/.cache/wrangler/wrangler-account.json && rm -rf dist && pnpm run build && CLOUDFLARE_ACCOUNT_ID=49ef1ba682ad8cfd720c86699ae17521 wrangler pages deploy dist --project-name topoloone --branch main --commit-dirty=true"
      },
      {
        "name": "deploy:staging",
        "command": "PlatformApplications/TopoloOne/apps/dashboard-web/package.json :: rm -f node_modules/.cache/wrangler/pages.json node_modules/.cache/wrangler/wrangler-account.json && rm -rf dist && pnpm run build:staging && CLOUDFLARE_ACCOUNT_ID=4f4e1c69a3830946f9fea7b1eb7531ac wrangler pages deploy dist --project-name topoloone-dashboard-staging --branch staging --commit-dirty=true"
      },
      {
        "name": "build",
        "command": "PlatformApplications/TopoloOne/apps/dashboard-worker/package.json :: esbuild src/index.ts --bundle --outfile=dist/index.js --format=esm --platform=browser --target=es2022"
      },
      {
        "name": "deploy",
        "command": "PlatformApplications/TopoloOne/apps/dashboard-worker/package.json :: wrangler deploy"
      },
      {
        "name": "deploy:staging",
        "command": "PlatformApplications/TopoloOne/apps/dashboard-worker/package.json :: env -u CLOUDFLARE_API_TOKEN CLOUDFLARE_ACCOUNT_ID=4f4e1c69a3830946f9fea7b1eb7531ac wrangler deploy --env staging"
      },
      {
        "name": "deploy:dry-run",
        "command": "PlatformApplications/TopoloOne/apps/dashboard-worker/package.json :: wrangler deploy --dry-run --outdir .wrangler/build"
      },
      {
        "name": "build",
        "command": "PlatformApplications/TopoloOne/apps/marketing-site/package.json :: next build"
      },
      {
        "name": "build:cf",
        "command": "PlatformApplications/TopoloOne/apps/marketing-site/package.json :: echo 'Using static export instead of next-on-pages'"
      },
      {
        "name": "preview:cf",
        "command": "PlatformApplications/TopoloOne/apps/marketing-site/package.json :: wrangler pages dev .vercel/output/static"
      }
    ],
    "routes": [
      "one.stg.topolo.us",
      "one.topolo.app/*",
      "stg.topolo.us"
    ],
    "environments": [
      "preview",
      "production",
      "staging"
    ],
    "assets_directories": [
      "./public",
      "out"
    ],
    "observability_enabled": true
  },
  "debugging": {
    "failure_modes": [],
    "entrypoints": [
      "PlatformApplications/TopoloOne/apps/ai-chat-rag/wrangler.toml",
      "PlatformApplications/TopoloOne/apps/dashboard-web/wrangler.toml",
      "PlatformApplications/TopoloOne/apps/dashboard-worker/wrangler.toml",
      "PlatformApplications/TopoloOne/apps/marketing-site/wrangler.toml",
      "PlatformApplications/TopoloOne/apps/dashboard-web/src/lib/api.ts",
      "PlatformApplications/TopoloOne/README.md",
      "PlatformApplications/TopoloOne/apps/ai-chat-rag/package.json",
      "PlatformApplications/TopoloOne/apps/dashboard-web/package.json",
      "PlatformApplications/TopoloOne/apps/dashboard-worker/package.json",
      "PlatformApplications/TopoloOne/apps/marketing-site/package.json",
      "PlatformApplications/TopoloOne/package.json"
    ]
  }
}