mirror of
https://github.com/iflytek/skillhub.git
synced 2026-11-16 09:21:18 +00:00
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
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>
12 lines
735 B
TypeScript
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) })
|
|
} })
|