Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,32 @@ yarn-error.log*
.DS_Store
Thumbs.db

# Package managers
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Next
.turbo
.next
.vercel

# Playwright
**/test-results/
**/playwright-report/
**/blob-report/
**/playwright/*
/test-results/
/playwright-report/
/blob-report/
/playwright/*

# .claude
.claude/
# Project specific
/onchain-actions/
.vibecode/
Expand Down
33 changes: 32 additions & 1 deletion typescript/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,37 @@ Dockerfile

# Dependencies
node_modules
**/node_modules
README.md
*.md
.next
**/.next
dist
**/dist
build
**/build
*.tsbuildinfo
**/*.tsbuildinfo
.env
.env.*
.git
.gitignore
# WSL metadata files
*.zone.identifier
*:Zone.Identifier
.DS_Store
# Windows attributes and symlinks
Thumbs.db
# Logs
*.log
# Coverage
coverage/
# Cache
.cache/
.parcel-cache/
# Editor files
.vscode/
.idea/
.pnpm-store
pnpm-store

Expand Down Expand Up @@ -50,4 +81,4 @@ yarn-error.log*
pnpm-debug.log*

# Other build tools
.turbo
.turbo
107 changes: 107 additions & 0 deletions typescript/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,109 @@
/onchain-actions/
/onchain-actions/

# Dependencies
node_modules/
**/node_modules/

# Build outputs
dist/
**/dist/
build/
**/build/
.next/
**/.next/

# TypeScript build cache
*.tsbuildinfo
**/*.tsbuildinfo

# Environment files
.env
.env.local
.env.*.local

# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Coverage directory used by tools like istanbul
coverage/
*.lcov

# nyc test coverage
.nyc_output

# Dependency directories
jspm_packages/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt

# Storybook build outputs
.out
.storybook-out

# Temporary folders
tmp/
temp/

# Editor directories and files
.vscode/
.idea/
*.swp
*.swo
*~

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Windows
*.lnk
.vercel
/.artifacts/
11 changes: 9 additions & 2 deletions typescript/clients/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,15 @@ ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
ENV NEXT_TELEMETRY_DISABLED=1
# Harden pnpm network behavior to reduce ETIMEDOUT failures
ENV PNPM_FETCH_RETRIES=5 \
PNPM_FETCH_RETRY_FACTOR=2 \
PNPM_FETCH_RETRY_MINTIMEOUT=20000 \
PNPM_FETCH_RETRY_MAXTIMEOUT=120000 \
PNPM_NETWORK_CONCURRENCY=8
COPY package.json pnpm-lock.yaml ./
RUN pnpm i --frozen-lockfile
# Use prefer-frozen-lockfile for dev image to allow lockfile updates when needed
RUN pnpm i --prefer-frozen-lockfile
COPY . .
EXPOSE 3000
EXPOSE 3040
ENTRYPOINT ["pnpm", "dev"]
18 changes: 17 additions & 1 deletion typescript/clients/web/Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
# Build stage - Context should be the typescript/ directory
FROM node:23-slim AS builder

# Accept build arguments for Next.js environment variables
ARG NEXT_PUBLIC_TRIGGERX_API_KEY
ENV NEXT_PUBLIC_TRIGGERX_API_KEY=${NEXT_PUBLIC_TRIGGERX_API_KEY}

WORKDIR /app

# Install pnpm globally
RUN npm install -g pnpm@10.7.0 typescript@5.8.3
# Harden pnpm network behavior to reduce ETIMEDOUT failures
ENV PNPM_FETCH_RETRIES=5 \
PNPM_FETCH_RETRY_FACTOR=2 \
PNPM_FETCH_RETRY_MINTIMEOUT=20000 \
PNPM_FETCH_RETRY_MAXTIMEOUT=120000 \
PNPM_NETWORK_CONCURRENCY=8

# ------------------------------
# 1. Copy lockfile & workspace config that affect dependency graph cache
Expand Down Expand Up @@ -54,6 +64,12 @@ WORKDIR /app

# Install pnpm globally
RUN npm install -g pnpm@10.7.0
# Harden pnpm network behavior to reduce ETIMEDOUT failures
ENV PNPM_FETCH_RETRIES=5 \
PNPM_FETCH_RETRY_FACTOR=2 \
PNPM_FETCH_RETRY_MINTIMEOUT=20000 \
PNPM_FETCH_RETRY_MAXTIMEOUT=120000 \
PNPM_NETWORK_CONCURRENCY=8

# Copy workspace configuration
COPY --from=builder /app/pnpm-workspace.yaml /app/
Expand All @@ -77,7 +93,7 @@ RUN chown -R ember:ember /app
USER ember

# Expose port
EXPOSE 3000
EXPOSE 3040

# Use dumb-init to properly handle signals
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
Expand Down
2 changes: 1 addition & 1 deletion typescript/clients/web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ docker compose up

**4. Access Vibekit's Web Interface:**

Open your web browser and navigate to http://localhost:3000. To be able to chat with the agents, you need to connect your wallet first. Click on "Connect Wallet" to get started:
Open your web browser and navigate to http://localhost:3040. To be able to chat with the agents, you need to connect your wallet first. Click on "Connect Wallet" to get started:

<p align="left">
<img src="../../../img/wallet.png" width="700px" alt="wallet"/>
Expand Down
Loading