No description
  • TypeScript 97.4%
  • CSS 2%
  • Dockerfile 0.5%
  • HTML 0.1%
Find a file
David Schemm 6bf44306b7 refactor: update agent role handling in snapshot and graph store
- Modified `createSnapshotRoute` to send a role map for agents, allowing clients to resolve roles even for those with timed-out snapshots.
- Updated `useGraphStore` to utilize the new role map, ensuring accurate role representation for agents and peers in the graph.
- Enhanced the overall structure of snapshot responses and graph state management, improving data integrity and user experience.

This commit refines the handling of agent roles, leading to a more informative and consistent visualization in the application.
2026-03-09 22:00:05 +07:00
.ruler Initial scaffold via better-t-stack 2026-03-09 01:28:32 +07:00
apps refactor: update agent role handling in snapshot and graph store 2026-03-09 22:00:05 +07:00
packages feat: add agent roles parsing and visualization enhancements 2026-03-09 21:39:13 +07:00
.dockerignore feat: add Docker support with multi-stage build and .dockerignore 2026-03-09 10:47:19 +07:00
.gitignore Initial scaffold via better-t-stack 2026-03-09 01:28:32 +07:00
.npmrc feat: add .npmrc configuration and update Dockerfile for workspace package injection 2026-03-09 15:02:09 +07:00
biome.json refactor: project structure and configuration files for improved consistency and organization. Updated JSON files for better formatting, added pnpm lockfile, and adjusted TypeScript configurations. Enhanced Turbo and package settings for better task management and dependency handling. 2026-03-09 01:45:52 +07:00
bts.jsonc Initial scaffold via better-t-stack 2026-03-09 01:28:32 +07:00
Dockerfile feat: add .npmrc configuration and update Dockerfile for workspace package injection 2026-03-09 15:02:09 +07:00
package.json refactor: project structure and configuration files for improved consistency and organization. Updated JSON files for better formatting, added pnpm lockfile, and adjusted TypeScript configurations. Enhanced Turbo and package settings for better task management and dependency handling. 2026-03-09 01:45:52 +07:00
pnpm-lock.yaml feat: add .npmrc configuration and update Dockerfile for workspace package injection 2026-03-09 15:02:09 +07:00
pnpm-workspace.yaml Initial scaffold via better-t-stack 2026-03-09 01:28:32 +07:00
README.md Initial scaffold via better-t-stack 2026-03-09 01:28:32 +07:00
tsconfig.json refactor: project structure and configuration files for improved consistency and organization. Updated JSON files for better formatting, added pnpm lockfile, and adjusted TypeScript configurations. Enhanced Turbo and package settings for better task management and dependency handling. 2026-03-09 01:45:52 +07:00
turbo.json feat: implement event schema types with code review fixes (story 2.2) 2026-03-09 02:12:09 +07:00

cobweb

This project was created with Better-T-Stack, a modern TypeScript stack that combines React, TanStack Router, Express, and more.

Features

  • TypeScript - For type safety and improved developer experience
  • TanStack Router - File-based routing with full type safety
  • TailwindCSS - Utility-first CSS for rapid UI development
  • Shared UI package - shadcn/ui primitives live in packages/ui
  • Express - Fast, unopinionated web framework
  • Node.js - Runtime environment
  • Biome - Linting and formatting
  • Turborepo - Optimized monorepo build system

Getting Started

First, install the dependencies:

pnpm install

Then, run the development server:

pnpm run dev

Open http://localhost:3001 in your browser to see the web application. The API is running at http://localhost:3000.

UI Customization

React web apps in this stack share shadcn/ui primitives through packages/ui.

  • Change design tokens and global styles in packages/ui/src/styles/globals.css
  • Update shared primitives in packages/ui/src/components/*
  • Adjust shadcn aliases or style config in packages/ui/components.json and apps/web/components.json

Add more shared components

Run this from the project root to add more primitives to the shared UI package:

npx shadcn@latest add accordion dialog popover sheet table -c packages/ui

Import shared components like this:

import { Button } from "@cobweb/ui/components/button"

Add app-specific blocks

If you want to add app-specific blocks instead of shared primitives, run the shadcn CLI from apps/web.

Git Hooks and Formatting

  • Format and lint fix: pnpm run check

Project Structure

cobweb/
├── apps/
│   ├── web/         # Frontend application (React + TanStack Router)
│   └── server/      # Backend API (Express)
├── packages/
│   ├── ui/          # Shared shadcn/ui components and styles

Available Scripts

  • pnpm run dev: Start all applications in development mode
  • pnpm run build: Build all applications
  • pnpm run dev:web: Start only the web application
  • pnpm run dev:server: Start only the server
  • pnpm run check-types: Check TypeScript types across all apps
  • pnpm run check: Run Biome formatting and linting