indra-mcp 0.1.4 → 0.1.5
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/build/index.js +7 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -115,7 +115,13 @@ catch (err) {
|
|
|
115
115
|
}
|
|
116
116
|
let activeTask = process.env.INDRA_TASK || "Initialize Session";
|
|
117
117
|
let missionToken = "";
|
|
118
|
-
|
|
118
|
+
let agentName = process.env.INDRA_AGENT_NAME || "dev-agent";
|
|
119
|
+
for (let i = 0; i < cliArgs.length; i++) {
|
|
120
|
+
if (cliArgs[i] === '--agent' && i + 1 < cliArgs.length) {
|
|
121
|
+
agentName = cliArgs[i + 1];
|
|
122
|
+
break;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
119
125
|
// Perform cryptographic Edge session handshake during startup
|
|
120
126
|
async function startSession() {
|
|
121
127
|
logDebug('[HANDSHAKE] Preparing cryptographic session handshake...');
|