@myagentroam/node 0.9.82 → 0.9.83
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/dist/connector.js
CHANGED
|
@@ -854,7 +854,7 @@ export class NodeConnector {
|
|
|
854
854
|
missionAccessChanged: prepared.changed
|
|
855
855
|
};
|
|
856
856
|
},
|
|
857
|
-
mission: async ({ session, objective, secretEnvironment, personalInstructions, marAgentModel, marAgentModels, marAgentRuntimeScopeId }) => {
|
|
857
|
+
mission: async ({ session, objective, initiatedByUserId, secretEnvironment, personalInstructions, marAgentModel, marAgentModels, marAgentRuntimeScopeId }) => {
|
|
858
858
|
this.clearMissionRetry(session.id);
|
|
859
859
|
const prepared = this.prepareMissionSession(session);
|
|
860
860
|
const missionSession = prepared.session;
|
|
@@ -869,6 +869,7 @@ export class NodeConnector {
|
|
|
869
869
|
content: this.missionRuntime.prompt(session.id, 'start'),
|
|
870
870
|
deliveryIntent: replacing ? 'REPLACE_CURRENT' : 'SEND',
|
|
871
871
|
mission: { id: mission.id, revision: mission.revision },
|
|
872
|
+
...(initiatedByUserId === undefined ? {} : { initiatedByUserId }),
|
|
872
873
|
secretEnvironment,
|
|
873
874
|
...(personalInstructions === undefined ? {} : { personalInstructions }),
|
|
874
875
|
...(marAgentModel === undefined ? {} : { marAgentModel }),
|
|
@@ -62,6 +62,9 @@ export class SessionCommandService {
|
|
|
62
62
|
return this.options.mission({
|
|
63
63
|
session,
|
|
64
64
|
objective: invocation.argument,
|
|
65
|
+
...(Number.isSafeInteger(input.__requestUserId)
|
|
66
|
+
? { initiatedByUserId: input.__requestUserId }
|
|
67
|
+
: {}),
|
|
65
68
|
secretEnvironment,
|
|
66
69
|
...(typeof input.personalInstructions === 'string'
|
|
67
70
|
? { personalInstructions: input.personalInstructions }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myagentroam/node",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.83",
|
|
4
4
|
"description": "MyAgentRoam Node runtime CLI.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"node-pty": "1.1.0",
|
|
29
29
|
"ws": "^8.21.3",
|
|
30
30
|
"zod": "4.4.3",
|
|
31
|
-
"@myagentroam/agent": "0.9.
|
|
32
|
-
"@myagentroam/protocol": "0.9.
|
|
31
|
+
"@myagentroam/agent": "0.9.83",
|
|
32
|
+
"@myagentroam/protocol": "0.9.83"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/ws": "^8.18.1"
|