MCPcopy Create free account
hub / github.com/AI45Lab/Code / mkConfigFile

Function mkConfigFile

sdk/node/test_serve.mjs:32–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30`.trim()
31
32function mkConfigFile() {
33 const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'a3s-node-serve-cfg-'))
34 const p = path.join(dir, 'agent.acl')
35 fs.writeFileSync(p, INLINE_CONFIG)
36 return p
37}
38
39function writeAgentDir({ withSchedule, withTools }) {
40 const base = fs.mkdtempSync(path.join(os.tmpdir(), 'a3s-node-serve-'))

Callers 1

test_serve.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected