@meshagent/meshagent 0.35.8 → 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,7 @@
|
|
|
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
|
+
|
|
1
5
|
## [0.35.8]
|
|
2
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.
|
|
3
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.
|
|
@@ -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;
|