MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / injectSeaBlob

Function injectSeaBlob

apps/kimi-code/scripts/native/03-inject.mjs:46–53  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

44}
45
46async function injectSeaBlob(target) {
47 const out = nativeBinPath(target);
48 const args = [out, 'NODE_SEA_BLOB', nativeBlobPath(), '--sentinel-fuse', SEA_SENTINEL_FUSE];
49 if (process.platform === 'darwin') {
50 args.push('--macho-segment-name', 'NODE_SEA');
51 }
52 await run(postjectPath(), args);
53}
54
55export async function runInjectStep() {
56 const target = targetTriple();

Callers 1

runInjectStepFunction · 0.85

Calls 5

nativeBinPathFunction · 0.90
nativeBlobPathFunction · 0.90
runFunction · 0.90
postjectPathFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected