asteroid-odyssey 1.9.146 → 1.9.189
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.mts +8 -4
- package/dist/index.d.ts +8 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -931,7 +931,7 @@ type AgentsExecutionBrowserRunCodeStartedDetails = {
|
|
|
931
931
|
actionName: "browser_run_code";
|
|
932
932
|
code: string;
|
|
933
933
|
};
|
|
934
|
-
type AgentsExecutionCancelReason = "timeout" | "max_steps" | "user_requested" | "script_failed" | "no_activity" | "budget_exceeded" | "no_warm_environment";
|
|
934
|
+
type AgentsExecutionCancelReason = "timeout" | "max_steps" | "user_requested" | "script_failed" | "no_activity" | "budget_exceeded" | "no_warm_environment" | "worker_lost";
|
|
935
935
|
type AgentsExecutionCancelledPayload = {
|
|
936
936
|
reason: AgentsExecutionCancelReason;
|
|
937
937
|
};
|
|
@@ -3014,7 +3014,7 @@ type AgentsWorkflowWorkflowFileTree = {
|
|
|
3014
3014
|
variantKeys?: Array<string>;
|
|
3015
3015
|
};
|
|
3016
3016
|
/**
|
|
3017
|
-
* A single file write in a files patch: upsert the file at `path`.
|
|
3017
|
+
* A single file write in a files patch: upsert the file at `path`. Send the file as `content` or `contentBase64`, exactly one.
|
|
3018
3018
|
*/
|
|
3019
3019
|
type AgentsWorkflowWorkflowFileWrite = {
|
|
3020
3020
|
/**
|
|
@@ -3022,9 +3022,13 @@ type AgentsWorkflowWorkflowFileWrite = {
|
|
|
3022
3022
|
*/
|
|
3023
3023
|
path: string;
|
|
3024
3024
|
/**
|
|
3025
|
-
*
|
|
3025
|
+
* The file as UTF-8 text, for text files such as settings.yaml, instructions.md, JSON schemas and scripts. Set this or contentBase64, not both.
|
|
3026
3026
|
*/
|
|
3027
|
-
|
|
3027
|
+
content?: string;
|
|
3028
|
+
/**
|
|
3029
|
+
* The file as base64-encoded bytes, for any file, binary included. Set this or content, not both.
|
|
3030
|
+
*/
|
|
3031
|
+
contentBase64?: string;
|
|
3028
3032
|
};
|
|
3029
3033
|
/**
|
|
3030
3034
|
* Request to patch the editable head's file representation. The server classifies each path: structural files re-derive the structured workflow, the agent's own files (memory, uploads, node scripts) go to their blob store. Agent-file writes overlay the head resolved under the edit lock, so a stale baseRev is not rejected. Structural-file writes still require a matching baseRev; a stale value is rejected with 409.
|
package/dist/index.d.ts
CHANGED
|
@@ -931,7 +931,7 @@ type AgentsExecutionBrowserRunCodeStartedDetails = {
|
|
|
931
931
|
actionName: "browser_run_code";
|
|
932
932
|
code: string;
|
|
933
933
|
};
|
|
934
|
-
type AgentsExecutionCancelReason = "timeout" | "max_steps" | "user_requested" | "script_failed" | "no_activity" | "budget_exceeded" | "no_warm_environment";
|
|
934
|
+
type AgentsExecutionCancelReason = "timeout" | "max_steps" | "user_requested" | "script_failed" | "no_activity" | "budget_exceeded" | "no_warm_environment" | "worker_lost";
|
|
935
935
|
type AgentsExecutionCancelledPayload = {
|
|
936
936
|
reason: AgentsExecutionCancelReason;
|
|
937
937
|
};
|
|
@@ -3014,7 +3014,7 @@ type AgentsWorkflowWorkflowFileTree = {
|
|
|
3014
3014
|
variantKeys?: Array<string>;
|
|
3015
3015
|
};
|
|
3016
3016
|
/**
|
|
3017
|
-
* A single file write in a files patch: upsert the file at `path`.
|
|
3017
|
+
* A single file write in a files patch: upsert the file at `path`. Send the file as `content` or `contentBase64`, exactly one.
|
|
3018
3018
|
*/
|
|
3019
3019
|
type AgentsWorkflowWorkflowFileWrite = {
|
|
3020
3020
|
/**
|
|
@@ -3022,9 +3022,13 @@ type AgentsWorkflowWorkflowFileWrite = {
|
|
|
3022
3022
|
*/
|
|
3023
3023
|
path: string;
|
|
3024
3024
|
/**
|
|
3025
|
-
*
|
|
3025
|
+
* The file as UTF-8 text, for text files such as settings.yaml, instructions.md, JSON schemas and scripts. Set this or contentBase64, not both.
|
|
3026
3026
|
*/
|
|
3027
|
-
|
|
3027
|
+
content?: string;
|
|
3028
|
+
/**
|
|
3029
|
+
* The file as base64-encoded bytes, for any file, binary included. Set this or content, not both.
|
|
3030
|
+
*/
|
|
3031
|
+
contentBase64?: string;
|
|
3028
3032
|
};
|
|
3029
3033
|
/**
|
|
3030
3034
|
* Request to patch the editable head's file representation. The server classifies each path: structural files re-derive the structured workflow, the agent's own files (memory, uploads, node scripts) go to their blob store. Agent-file writes overlay the head resolved under the edit lock, so a stale baseRev is not rejected. Structural-file writes still require a matching baseRev; a stale value is rejected with 409.
|