@miosa/sdk 1.2.14 → 1.2.15

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/index.d.ts CHANGED
@@ -171,6 +171,9 @@ interface AgentRun {
171
171
  agent_run_group_id?: string;
172
172
  parent_agent_run_id?: string;
173
173
  orchestration_role?: string;
174
+ external_workspace_id?: string | null;
175
+ external_user_id?: string | null;
176
+ external_project_id?: string | null;
174
177
  target_kind: AgentRunTargetKind;
175
178
  target_id: string;
176
179
  provider: string;
@@ -254,6 +257,12 @@ interface AgentRunCreateParams {
254
257
  agentRunGroupId?: string;
255
258
  parentAgentRunId?: string;
256
259
  orchestrationRole?: string;
260
+ externalWorkspaceId?: string;
261
+ external_workspace_id?: string;
262
+ externalUserId?: string;
263
+ external_user_id?: string;
264
+ externalProjectId?: string;
265
+ external_project_id?: string;
257
266
  skipAgentRuntimeProfile?: boolean;
258
267
  executionPacket?: AgentRunExecutionPacket;
259
268
  outputContract?: AgentRunOutputContract;
@@ -267,6 +276,12 @@ interface AgentRunListParams {
267
276
  sandboxId?: string;
268
277
  computerId?: string;
269
278
  agentRunGroupId?: string;
279
+ externalWorkspaceId?: string;
280
+ external_workspace_id?: string;
281
+ externalUserId?: string;
282
+ external_user_id?: string;
283
+ externalProjectId?: string;
284
+ external_project_id?: string;
270
285
  status?: AgentRunStatus | string;
271
286
  }
272
287
  interface AgentRunWaitOptions {
package/dist/index.js CHANGED
@@ -895,6 +895,9 @@ var AgentRuns = class {
895
895
  sandbox_id: params.sandboxId,
896
896
  computer_id: params.computerId,
897
897
  agent_run_group_id: params.agentRunGroupId,
898
+ external_workspace_id: params.externalWorkspaceId ?? params.external_workspace_id,
899
+ external_user_id: params.externalUserId ?? params.external_user_id,
900
+ external_project_id: params.externalProjectId ?? params.external_project_id,
898
901
  status: params.status
899
902
  })
900
903
  );
@@ -976,6 +979,9 @@ var AgentRuns = class {
976
979
  agent_run_group_id: params.agentRunGroupId,
977
980
  parent_agent_run_id: params.parentAgentRunId,
978
981
  orchestration_role: params.orchestrationRole,
982
+ external_workspace_id: params.externalWorkspaceId ?? params.external_workspace_id,
983
+ external_user_id: params.externalUserId ?? params.external_user_id,
984
+ external_project_id: params.externalProjectId ?? params.external_project_id,
979
985
  skip_agent_runtime_profile: params.skipAgentRuntimeProfile,
980
986
  execution_packet: params.executionPacket,
981
987
  output_contract: params.outputContract,