MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / printInstallSuccess

Function printInstallSuccess

packages/codex-native-api/src/daemon_manager.ts:1269–1280  ·  view source on GitHub ↗
(plan: CodexNativeApiDaemonInstallPlan)

Source from the content-addressed store, hash-verified

1267}
1268
1269function printInstallSuccess(plan: CodexNativeApiDaemonInstallPlan): void {
1270 process.stdout.write(`daemon installed for ${plan.layout.platform}\n`);
1271 process.stdout.write(`env_file: ${plan.layout.envFile}\n`);
1272 if (plan.artifactPath) {
1273 process.stdout.write(`service_artifact: ${plan.artifactPath}\n`);
1274 }
1275 process.stdout.write(`stdout_log: ${plan.layout.stdoutLog}\n`);
1276 process.stdout.write(`stderr_log: ${plan.layout.stderrLog}\n`);
1277 if (plan.generatedAuthToken) {
1278 process.stdout.write(`auth_token: ${plan.generatedAuthToken}\n`);
1279 }
1280}
1281
1282function writeLogChunk(filePath: string, streamName: 'stdout' | 'stderr', chunk: unknown): void {
1283 const text = Buffer.isBuffer(chunk) ? chunk.toString('utf8') : String(chunk);

Callers 1

runDaemonCommandFunction · 0.85

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected