Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@harnessa-fe/vite

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@harnessa-fe/vite

Vite plugin for Harnessa-FE: source-aware transforms, runtime injection, and MCP bridge.

latest
Source
npmnpm
Version
2.1.0
Version published
Maintainers
1
Created
Source

@harnessa-fe/vite

Vite plugin for Harnessa-FE — the frontend harness for AI agents.

Source-aware transform + runtime injection + MCP bridge for Vite projects. Tags every JSX element with data-morphix-loc / data-morphix-comp so AI agents can map any UI element back to a file:line:column.

Install

pnpm add -D @harnessa-fe/vite @harnessa-fe/runtime

Usage

// vite.config.ts
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import { harnessaFE } from '@harnessa-fe/vite';

export default defineConfig({
    plugins: [react(), harnessaFE()],
});

The plugin auto-disables in production builds — zero overhead in your shipped bundle.

Options

OptionTypeDefaultDescription
includeFilterPattern/\.(jsx?|tsx?|vue)$/Files to transform
excludeFilterPattern/node_modules/Files to skip
wsPortnumber47729MCP server WebSocket port

Docs

  • Root README — quick start, all packages
  • Architecture — how the layers fit together

License

MIT

FAQs

Package last updated on 22 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts