@meshagent/meshagent 0.35.7 → 0.36.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [0.36.0]
2
+ - Added container config mounts and agent email/heartbeat settings with typed prompt content (text/file) to TypeScript service specs.
3
+ - Breaking: container API key provisioning was removed from container specs.
4
+
5
+ ## [0.35.8]
6
+ - `ensureLogin` now uses the current page as the OAuth callback (no stored marker/URL), strips OAuth query params on return, and refreshes the current user profile when already logged in.
7
+ - JavaScript/TypeScript storage download examples now use storage upload and decode bytes, and the docs example build ignores generated JS artifacts alongside TypeScript sources.
8
+
1
9
  ## [0.35.7]
2
10
  - Added container build lifecycle and image management in the TS SDK (start/build returning build IDs, list/cancel/delete builds, build logs, load/save/push/delete images) plus exec stderr streams and stricter status decoding.
3
11
  - Breaking: container build APIs now return build IDs and `stop` defaults to non-forced.
@@ -66,10 +66,14 @@ export interface EmptyDirMountSpec {
66
66
  path: string;
67
67
  read_only?: boolean;
68
68
  }
69
+ export interface ConfigMountSpec {
70
+ path?: string | null;
71
+ }
69
72
  export interface ContainerMountSpec {
70
73
  room?: RoomStorageMountSpec[];
71
74
  project?: ProjectStorageMountSpec[];
72
75
  empty_dirs?: EmptyDirMountSpec[];
76
+ configs?: ConfigMountSpec[];
73
77
  }
74
78
  export interface ServiceApiKeySpec {
75
79
  role: "admin";
@@ -107,11 +111,32 @@ export interface ChannelsSpec {
107
111
  queue?: QueueChannel[] | null;
108
112
  toolkit?: ToolkitChannel[] | null;
109
113
  }
114
+ export interface EmailSpec {
115
+ address: string;
116
+ public?: boolean | null;
117
+ }
118
+ export interface AgentTextContent {
119
+ type: "text";
120
+ text: string;
121
+ }
122
+ export interface AgentFileContent {
123
+ type: "file";
124
+ url: string;
125
+ }
126
+ export type AgentInputContent = AgentTextContent | AgentFileContent;
127
+ export interface HeartbeatSpec {
128
+ queue: string;
129
+ thread_id?: string | null;
130
+ prompt?: AgentInputContent[] | null;
131
+ minutes: number;
132
+ }
110
133
  export interface AgentSpec {
111
134
  name: string;
112
135
  description?: string | null;
113
136
  annotations?: Record<string, string> | null;
114
137
  channels?: ChannelsSpec | null;
138
+ email?: EmailSpec | null;
139
+ heartbeat?: HeartbeatSpec | null;
115
140
  }
116
141
  export interface ServiceMetadata {
117
142
  name: string;
@@ -128,7 +153,6 @@ export interface ContainerSpec {
128
153
  secrets?: string[];
129
154
  pull_secret?: string | null;
130
155
  storage?: ContainerMountSpec;
131
- api_key?: ServiceApiKeySpec;
132
156
  }
133
157
  export interface ExternalServiceSpec {
134
158
  url: string;
@@ -66,10 +66,14 @@ export interface EmptyDirMountSpec {
66
66
  path: string;
67
67
  read_only?: boolean;
68
68
  }
69
+ export interface ConfigMountSpec {
70
+ path?: string | null;
71
+ }
69
72
  export interface ContainerMountSpec {
70
73
  room?: RoomStorageMountSpec[];
71
74
  project?: ProjectStorageMountSpec[];
72
75
  empty_dirs?: EmptyDirMountSpec[];
76
+ configs?: ConfigMountSpec[];
73
77
  }
74
78
  export interface ServiceApiKeySpec {
75
79
  role: "admin";
@@ -107,11 +111,32 @@ export interface ChannelsSpec {
107
111
  queue?: QueueChannel[] | null;
108
112
  toolkit?: ToolkitChannel[] | null;
109
113
  }
114
+ export interface EmailSpec {
115
+ address: string;
116
+ public?: boolean | null;
117
+ }
118
+ export interface AgentTextContent {
119
+ type: "text";
120
+ text: string;
121
+ }
122
+ export interface AgentFileContent {
123
+ type: "file";
124
+ url: string;
125
+ }
126
+ export type AgentInputContent = AgentTextContent | AgentFileContent;
127
+ export interface HeartbeatSpec {
128
+ queue: string;
129
+ thread_id?: string | null;
130
+ prompt?: AgentInputContent[] | null;
131
+ minutes: number;
132
+ }
110
133
  export interface AgentSpec {
111
134
  name: string;
112
135
  description?: string | null;
113
136
  annotations?: Record<string, string> | null;
114
137
  channels?: ChannelsSpec | null;
138
+ email?: EmailSpec | null;
139
+ heartbeat?: HeartbeatSpec | null;
115
140
  }
116
141
  export interface ServiceMetadata {
117
142
  name: string;
@@ -128,7 +153,6 @@ export interface ContainerSpec {
128
153
  secrets?: string[];
129
154
  pull_secret?: string | null;
130
155
  storage?: ContainerMountSpec;
131
- api_key?: ServiceApiKeySpec;
132
156
  }
133
157
  export interface ExternalServiceSpec {
134
158
  url: string;
@@ -66,10 +66,14 @@ export interface EmptyDirMountSpec {
66
66
  path: string;
67
67
  read_only?: boolean;
68
68
  }
69
+ export interface ConfigMountSpec {
70
+ path?: string | null;
71
+ }
69
72
  export interface ContainerMountSpec {
70
73
  room?: RoomStorageMountSpec[];
71
74
  project?: ProjectStorageMountSpec[];
72
75
  empty_dirs?: EmptyDirMountSpec[];
76
+ configs?: ConfigMountSpec[];
73
77
  }
74
78
  export interface ServiceApiKeySpec {
75
79
  role: "admin";
@@ -107,11 +111,32 @@ export interface ChannelsSpec {
107
111
  queue?: QueueChannel[] | null;
108
112
  toolkit?: ToolkitChannel[] | null;
109
113
  }
114
+ export interface EmailSpec {
115
+ address: string;
116
+ public?: boolean | null;
117
+ }
118
+ export interface AgentTextContent {
119
+ type: "text";
120
+ text: string;
121
+ }
122
+ export interface AgentFileContent {
123
+ type: "file";
124
+ url: string;
125
+ }
126
+ export type AgentInputContent = AgentTextContent | AgentFileContent;
127
+ export interface HeartbeatSpec {
128
+ queue: string;
129
+ thread_id?: string | null;
130
+ prompt?: AgentInputContent[] | null;
131
+ minutes: number;
132
+ }
110
133
  export interface AgentSpec {
111
134
  name: string;
112
135
  description?: string | null;
113
136
  annotations?: Record<string, string> | null;
114
137
  channels?: ChannelsSpec | null;
138
+ email?: EmailSpec | null;
139
+ heartbeat?: HeartbeatSpec | null;
115
140
  }
116
141
  export interface ServiceMetadata {
117
142
  name: string;
@@ -128,7 +153,6 @@ export interface ContainerSpec {
128
153
  secrets?: string[];
129
154
  pull_secret?: string | null;
130
155
  storage?: ContainerMountSpec;
131
- api_key?: ServiceApiKeySpec;
132
156
  }
133
157
  export interface ExternalServiceSpec {
134
158
  url: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshagent/meshagent",
3
- "version": "0.35.7",
3
+ "version": "0.36.0",
4
4
  "description": "Meshagent Client",
5
5
  "homepage": "https://github.com/meshagent/meshagent-ts",
6
6
  "scripts": {