titan-agent 7.1.0 → 7.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -0
- package/dist/agent/agent.js +25 -5
- package/dist/agent/agent.js.map +1 -1
- package/dist/agent/disciplinePrompt.js +41 -0
- package/dist/agent/disciplinePrompt.js.map +1 -0
- package/dist/agent/honestyGuard.js +66 -0
- package/dist/agent/honestyGuard.js.map +1 -0
- package/dist/agent/selfCritique.js +101 -0
- package/dist/agent/selfCritique.js.map +1 -0
- package/dist/agent/trajectoryLogger.js +19 -2
- package/dist/agent/trajectoryLogger.js.map +1 -1
- package/dist/analytics/collector.js +1 -1
- package/dist/analytics/collector.js.map +1 -1
- package/dist/config/schema.js +14 -0
- package/dist/config/schema.js.map +1 -1
- package/dist/gateway/server.js +1 -1
- package/dist/gateway/server.js.map +1 -1
- package/dist/providers/router.js +1 -1
- package/dist/providers/router.js.map +1 -1
- package/dist/utils/constants.js +1 -1
- package/dist/utils/constants.js.map +1 -1
- package/package.json +1 -1
- package/ui/dist/sw.js +1 -1
package/dist/gateway/server.js
CHANGED
|
@@ -705,7 +705,7 @@ async function startGateway(options) {
|
|
|
705
705
|
logger.info(COMPONENT, "\u2705 Self-modification is active \u2014 writes are staged for human review");
|
|
706
706
|
}
|
|
707
707
|
cleanupStaleSessions();
|
|
708
|
-
setInterval(() => cleanupStaleSessions(), 60 * 1e3);
|
|
708
|
+
setInterval(() => cleanupStaleSessions(), 60 * 1e3).unref();
|
|
709
709
|
const portAvailable = await new Promise((resolve2) => {
|
|
710
710
|
const tester = net.createServer();
|
|
711
711
|
tester.once("error", () => resolve2(false));
|