skillhub/cli/test/fixtures/native-execution-child.ts
XiaoSeS 3560679793
Some checks failed
Deploy Docs / build (push) Has been cancelled
Security / Dependency Review (push) Has been cancelled
Security / CodeQL (java-kotlin) (push) Has been cancelled
Security / CodeQL (javascript-typescript) (push) Has been cancelled
Security / CodeQL (python) (push) Has been cancelled
Deploy Docs / Deploy (push) Has been cancelled
feat(dsh): add native SkillHub plugin for DeepSeek Harness (#956)
Add the native SkillHub plugin for DeepSeek Harness with a scoped skill center, conversation search/install tools, exact-version installation and protected lifecycle management. Prepare the independently versioned 0.1.0 npm candidate with an empty default Registry and documented compatibility limits.

Keep formal specifications and executable regression tests; remove archived development screenshots and runtime reports from the final tree. Review fixes cover independent scopes, installed references, pre-staging recovery and idempotent discovery.

Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
2026-10-16 19:22:26 +08:00

12 lines
735 B
TypeScript

import { join } from 'node:path'
import { openNativeRuntime } from '../../src/integrations/native-runtime'
import type { NativeInstallExecution } from '../../src/integrations/native-contract'
const [root, input] = process.argv.slice(2)
if (!root || !input) throw new Error('Missing native execution fixture arguments')
const runtime = await openNativeRuntime({ stateDirectory: join(root, 'operations'), inventoryHome: join(root, 'home') })
const request = JSON.parse(input) as Omit<NativeInstallExecution, 'authorize' | 'validateStaged'>
await runtime.executeInstall({ ...request, validateStaged: async () => {}, authorize: async () => {
process.stdout.write('ready')
await new Promise(() => { setInterval(() => {}, 1000) })
} })