Deepen all 16 pear-platform scaffolds to production APIs.

Expands spawn, argv, preflight, trust, OTA, pipes, and headless UI modules;
bumps to 0.3.1 with fuller tests and registry tier updates.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-21 01:35:15 -04:00
co-authored by Cursor
parent 64a2a824b5
commit 83a0ee684c
51 changed files with 982 additions and 178 deletions
@@ -1,10 +1,21 @@
require('bare-process/global')
const test = require('brittle')
const { HyperPearDevProfile } = require('../index.js')
const { HyperBareArgvBridge } = require('../../hyper-bare-argv-bridge/index.js')
test('dev flags', async (t) => {
const d = new HyperPearDevProfile()
d.enableDev()
t.ok(d.snapshot().dev)
t.ok(d.runtimeFlags().includes('--dev'))
await d.close()
})
test('merge argv bridge', async (t) => {
const d = new HyperPearDevProfile()
const a = new HyperBareArgvBridge()
a.setArgv(['run', '--dev', '--preflight'])
d.mergeArgv(a)
t.ok(d._flags.preflight)
await d.close()
})