feat: complete vendor repos, add edge intelligence and WASM modules

- Add 154 missing vendor files (gitignore was filtering them)
  - vendor/midstream: 564 files (was 561)
  - vendor/sublinear-time-solver: 1190 files (was 1039)
- Add ESP32 edge processing (ADR-039): presence, vitals, fall detection
- Add WASM programmable sensing (ADR-040/041) with wasm3 runtime
- Add firmware CI workflow (.github/workflows/firmware-ci.yml)
- Add wifi-densepose-wasm-edge crate for edge WASM modules
- Update sensing server, provision.py, UI components

Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
ruv
2026-03-02 23:53:25 -05:00
parent 407b46b206
commit 4b1005524e
196 changed files with 52578 additions and 995 deletions
@@ -0,0 +1,45 @@
#!/usr/bin/env node
import { Command } from 'commander';
export function createConsciousnessCommand() {
const consciousness = new Command('consciousness');
consciousness
.description('Neural consciousness system with temporal processing')
.option('-v, --verbose', 'Enable verbose output');
// Main subcommands handled in index.ts
return consciousness;
}
// Export simplified consciousness tools for CLI integration
export const consciousnessTools = {
processInput: async (input) => {
// Simulated consciousness processing
const sum = input.reduce((a, b) => a + b, 0);
const avg = sum / input.length;
const consciousness = Math.tanh(avg) * 0.8 + Math.random() * 0.2;
return consciousness;
},
measurePhi: async () => {
// Simulated Phi calculation
return 2.5 + Math.random() * 0.5;
},
getAttention: async () => {
// Simulated attention weights
return Array.from({ length: 16 }, () => Math.random());
},
temporalBinding: async () => {
// Simulated temporal binding
return 0.85 + Math.random() * 0.1;
},
benchmark: async (iterations) => {
const startTime = Date.now();
for (let i = 0; i < iterations; i++) {
await consciousnessTools.processInput(Array.from({ length: 16 }, () => Math.random()));
}
const totalTime = (Date.now() - startTime) / 1000;
return {
iterations,
total_time: totalTime,
avg_time: totalTime / iterations,
throughput: iterations / totalTime
};
}
};