@myagentroam/node 0.10.33 → 0.10.34

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
@@ -610,6 +610,7 @@ export class NodeConnector {
610
610
  active: this.runState.active,
611
611
  adopt: (input) => this.runtime.adoptRun(input),
612
612
  promote: (sessionId, nativeSessionId) => this.sessionIdentityService.promote(sessionId, nativeSessionId),
613
+ customTitle: (sessionId) => this.runtime.getAgentSession(sessionId)?.customTitle,
613
614
  syncTitle: (nativeSessionId, cwd) => this.managedRunnerSessions.refreshTitle(nativeSessionId, nativeSessionId, cwd),
614
615
  emit: (runId, eventType, payload, status) => this.runEventBridge.emitRun(runId, eventType, payload, status),
615
616
  emitItem: (runId, item) => this.emitConversationItem(runId, item),
@@ -705,9 +705,13 @@ export class MarAgentManagedRunController {
705
705
  runtimeExtensions: marAgentCompactExtensionSource(compactState),
706
706
  ...(input.personalInstructions ? { systemInstruction: input.personalInstructions } : {})
707
707
  });
708
+ const customTitle = this.host.customTitle?.(input.sessionId) ?? undefined;
708
709
  const session = input.externalSessionId
709
710
  ? await agent.openSession(input.externalSessionId)
710
- : await agent.createSession({ workspace: input.cwd });
711
+ : await agent.createSession({
712
+ workspace: input.cwd,
713
+ ...(customTitle === undefined ? {} : { title: customTitle })
714
+ });
711
715
  runtime = {
712
716
  runtimeId: randomUUID(),
713
717
  fingerprint,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myagentroam/node",
3
- "version": "0.10.33",
3
+ "version": "0.10.34",
4
4
  "description": "MyAgentRoam Node runtime CLI.",
5
5
  "license": "Apache-2.0 AND GPL-2.0-or-later",
6
6
  "type": "module",
@@ -37,10 +37,10 @@
37
37
  "playwright": "1.62.1",
38
38
  "ws": "^8.21.3",
39
39
  "zod": "4.4.3",
40
- "@myagentroam/agent": "0.10.33",
41
- "@myagentroam/protocol": "0.10.33",
40
+ "@myagentroam/agent": "0.10.34",
41
+ "@myagentroam/code-navigation": "0.10.1",
42
42
  "@myagentroam/marctl": "0.10.5",
43
- "@myagentroam/code-navigation": "0.10.1"
43
+ "@myagentroam/protocol": "0.10.34"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/ws": "^8.18.1"