npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

universal-agent-system

v1.1.4

Published

Sistema Universal de Agentes - Instale em qualquer projeto e tenha todo o poder do sistema Lia adaptado automaticamente

Readme

🌍 Sistema Universal de Agentes

O Sistema Universal de Agentes é uma ferramenta revolucionária que permite instalar todo o poder do sistema de agentes Lia em QUALQUER projeto, independente de framework, tecnologia ou linguagem.

🚀 Instalação Rápida

# Instalar em QUALQUER projeto
npx @universal/agent-system install

# Instalar com configurações específicas
npx @universal/agent-system install --framework=react --database=supabase

# Ver status da instalação
npx @universal/agent-system status

# Atualizar sistema
npx @universal/agent-system update

# Desinstalar
npx @universal/agent-system uninstall

🎯 O Que Ele Faz

✅ Detecção Automática

  • Framework: React, Vue, Angular, Svelte, Vanilla JS
  • Database: Supabase, Firebase, PostgreSQL, MySQL, MongoDB
  • Build Tools: Vite, Webpack, Next.js, Nuxt.js, Create React App
  • Linguagem: TypeScript, JavaScript
  • Regras Existentes: Preserva 100% das regras já criadas

✅ Adaptação Inteligente

  • Regras Específicas: Gera regras adaptadas para cada tecnologia
  • Padrões de Código: Aplica melhores práticas específicas do framework
  • Workflow Otimizado: Adapta processos para o contexto do projeto
  • Memórias Contextuais: Sistema de conhecimento inteligente

✅ Migração Segura

  • Preservação Total: Mantém todas as regras existentes
  • Histórico Intacto: Migra memórias e configurações
  • Backup Automático: Cria backup antes de qualquer mudança
  • Rollback Seguro: Permite voltar à versão anterior

🏗️ Arquitetura

universal-agent-system/
├── src/
│   ├── core/                    # Núcleo do sistema
│   │   ├── detector.ts         # Detecção de projetos
│   │   ├── adapter.ts          # Adaptadores por tecnologia
│   │   ├── migrator.ts         # Migração de regras
│   │   ├── installer.ts        # Instalação principal
│   │   └── generator.ts        # Geração de regras
│   ├── adapters/               # Adaptadores específicos
│   │   ├── react-adapter.ts    # Regras React específicas
│   │   ├── vue-adapter.ts      # Regras Vue específicas
│   │   ├── angular-adapter.ts  # Regras Angular específicas
│   │   ├── supabase-adapter.ts # Regras Supabase específicas
│   │   ├── firebase-adapter.ts # Regras Firebase específicas
│   │   └── vanilla-adapter.ts  # Regras Vanilla JS específicas
│   ├── templates/              # Templates de regras
│   │   ├── base/              # Templates universais
│   │   ├── react/             # Templates React
│   │   ├── vue/               # Templates Vue
│   │   └── database/          # Templates por database
│   ├── bin/                   # CLI executáveis
│   │   ├── install.ts         # Comando de instalação
│   │   ├── status.ts          # Verificação de status
│   │   ├── update.ts          # Atualização do sistema
│   │   └── uninstall.ts       # Desinstalação
│   └── utils/                 # Utilitários
│       ├── logger.ts          # Sistema de logs
│       ├── file-manager.ts    # Gerenciamento de arquivos
│       └── backup-manager.ts  # Sistema de backup
├── dist/                      # Build TypeScript
├── templates/                 # Templates externos
└── docs/                      # Documentação

🎨 Adaptadores Disponíveis

Frameworks

  • React: Padrões React, hooks, component architecture
  • Vue: Composition API, SFC patterns, Nuxt.js integration
  • Angular: Modules, services, component lifecycle
  • Svelte: Stores, reactive statements, SvelteKit
  • Vanilla JS: Modern JavaScript patterns, ES modules

Databases

  • Supabase: RLS policies, authentication, real-time
  • Firebase: Firestore rules, authentication, cloud functions
  • PostgreSQL: SQL optimization, indexing, transactions
  • MySQL: Query optimization, connection pooling
  • MongoDB: Schema design, aggregation pipelines

Build Tools

  • Vite: Fast refresh, build optimization
  • Webpack: Module bundling, code splitting
  • Next.js: SSR, API routes, optimization
  • Nuxt.js: Server-side rendering, modules
  • Create React App: CRA patterns, eject scenarios

🔧 Como Funciona

1. Detecção Automática

// Analisa package.json e estrutura do projeto
const analysis = await detector.analyze(projectPath);
// Resultado:
// {
//   framework: { type: 'react', version: '18.2.0' },
//   database: { type: 'supabase', version: '2.55.0' },
//   buildTool: { type: 'vite', version: '4.5.0' },
//   language: 'typescript',
//   existingRules: ['agents.mdc', 'behavior.mdc']
// }

2. Adaptação Inteligente

// Gera regras específicas para cada tecnologia
const adaptedRules = await adapter.adaptRules(baseRules, analysis);
// Resultado: regras do Lia adaptadas para React + Supabase

3. Migração Segura

// Preserva regras existentes e adiciona novas
await migrator.migrate(existingRules, adaptedRules);
// Resultado: mescla sem perder nada

📋 Exemplos de Uso

Projeto React + Supabase

cd meu-projeto-react-supabase
npx @universal/agent-system install

Resultado: Sistema totalmente adaptado para React/Supabase

Projeto Vue + Firebase

cd meu-projeto-vue-firebase
npx @universal/agent-system install

Resultado: Sistema totalmente adaptado para Vue/Firebase

Projeto Vanilla JS + MySQL

cd meu-projeto-vanilla-mysql
npx @universal/agent-system install

Resultado: Sistema totalmente adaptado para Vanilla/MySQL

🛠️ Desenvolvimento

# Clonar repositório
git clone https://github.com/mindo-app/universal-agent-system.git
cd universal-agent-system

# Instalar dependências
npm install

# Desenvolvimento
npm run dev

# Build
npm run build

# Testar
npm test

🤝 Contribuição

  1. Fork o projeto
  2. Crie sua feature branch (git checkout -b feature/AmazingFeature)
  3. Commit suas mudanças (git commit -m 'Add some AmazingFeature')
  4. Push para a branch (git push origin feature/AmazingFeature)
  5. Abra um Pull Request

📄 Licença

Este projeto está sob a licença MIT - veja o arquivo LICENSE para detalhes.

🙏 Agradecimentos

  • Sistema Lia - Base para todo o sistema de agentes
  • Comunidade de desenvolvedores - Contribuições e feedback
  • Tecnologias utilizadas - Frameworks e ferramentas que tornam isso possível

Feito com ❤️ pela equipe Mindo