@myagentroam/node 0.9.134 → 0.9.135

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.
@@ -9,6 +9,7 @@ const runtimeCredentialCapability = () => ({
9
9
  apiVersion: 1,
10
10
  websocket: true,
11
11
  fastMode: true,
12
+ serviceTiers: ['auto', 'default', 'flex', 'priority', 'fast', 'ultrafast'],
12
13
  namespacedTools: true,
13
14
  httpVersions: ['1.1', '2']
14
15
  });
@@ -65,7 +65,12 @@ export class MarAgentRuntimeModelFactory {
65
65
  titleGeneration: configuration.titleGeneration,
66
66
  codeMode: configuration.codeMode,
67
67
  highDensityCompaction: configuration.highDensityCompaction,
68
- ...(configuration.fastMode === true ? { fastMode: true } : {}),
68
+ ...(configuration.serviceTier === undefined
69
+ ? {}
70
+ : { serviceTier: configuration.serviceTier }),
71
+ ...(configuration.serviceTier === undefined && configuration.fastMode === true
72
+ ? { fastMode: true }
73
+ : {}),
69
74
  hostedWebSearch: configuration.hostedWebSearch,
70
75
  ...(imageGeneration === undefined ? {} : { imageGeneration }),
71
76
  ...(configuration.responsesTransport === undefined
@@ -79,8 +79,8 @@ export class NodeRuntimeState {
79
79
  // A first user prompt is only a process-local temporary title. A
80
80
  // Runner/native title can replace it on the next discovery refresh.
81
81
  titleSource: customTitle === null ? 'AUTO' : 'CUSTOM',
82
- lastActivityAt: now,
83
- createdAt: now
82
+ lastActivityAt: input.lastActivityAt ?? now,
83
+ createdAt: input.createdAt ?? now
84
84
  };
85
85
  this.sessions.set(value.id, value);
86
86
  return value;
@@ -63,6 +63,8 @@ export class ExternalSessionResumeService {
63
63
  : { externalSessionId: session.externalSessionId }),
64
64
  nativeControl: 'MAR_MANAGED',
65
65
  cwd: session.cwd,
66
+ createdAt: session.createdAt,
67
+ lastActivityAt: session.lastActivityAt,
66
68
  model: configuration.model,
67
69
  effort: configuration.effort,
68
70
  access: configuration.access,
@@ -98,6 +98,8 @@ export class NativeSessionProjectionService {
98
98
  externalSessionId: direct.externalSessionId,
99
99
  nativeControl: 'EXTERNAL',
100
100
  cwd: direct.cwd,
101
+ createdAt: direct.createdAt,
102
+ lastActivityAt: direct.lastActivityAt,
101
103
  ...(direct.model === null ? {} : { model: direct.model }),
102
104
  ...(direct.effort === null ? {} : { effort: direct.effort }),
103
105
  ...(direct.access === null ? {} : { access: direct.access }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myagentroam/node",
3
- "version": "0.9.134",
3
+ "version": "0.9.135",
4
4
  "description": "MyAgentRoam Node runtime CLI.",
5
5
  "license": "Apache-2.0 AND GPL-2.0-or-later",
6
6
  "type": "module",
@@ -34,10 +34,10 @@
34
34
  "npm": "11.12.1",
35
35
  "ws": "^8.21.3",
36
36
  "zod": "4.4.3",
37
- "@myagentroam/marmgr": "0.9.117",
38
- "@myagentroam/agent": "0.9.134",
37
+ "@myagentroam/marmgr": "0.9.118",
39
38
  "@myagentroam/code-navigation": "0.9.129",
40
- "@myagentroam/protocol": "0.9.134"
39
+ "@myagentroam/protocol": "0.9.135",
40
+ "@myagentroam/agent": "0.9.135"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/ws": "^8.18.1"