@daocloud-proto/agentclaw 0.0.1-dev-4d234b8e → 0.0.1-dev-9e118d75
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/package.json +1 -1
- package/v1alpha1/agent.pb.ts +5 -0
package/package.json
CHANGED
package/v1alpha1/agent.pb.ts
CHANGED
|
@@ -150,6 +150,7 @@ export type ContainerInstance = {
|
|
|
150
150
|
enableDockerInDocker?: boolean
|
|
151
151
|
enablePersistentRootfs?: boolean
|
|
152
152
|
startMode?: StartMode
|
|
153
|
+
agentInfo?: AgentInfo
|
|
153
154
|
}
|
|
154
155
|
|
|
155
156
|
export type VolumeSpec = {
|
|
@@ -215,6 +216,10 @@ export type ServiceEnable = {
|
|
|
215
216
|
vscode?: boolean
|
|
216
217
|
}
|
|
217
218
|
|
|
219
|
+
export type AgentInfo = {
|
|
220
|
+
gatewayToken?: string
|
|
221
|
+
}
|
|
222
|
+
|
|
218
223
|
export class Agents {
|
|
219
224
|
static ListAgentInstances(req: ListAgentInstanceRequest, initReq?: fm.InitReq): Promise<ListAgentInstanceResponse> {
|
|
220
225
|
return fm.fetchReq<ListAgentInstanceRequest, ListAgentInstanceResponse>(`/apis/agentclaw.io/v1alpha1/agent-instances?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|