asteroid-odyssey 1.7.503 → 1.7.522
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 +17 -5
- package/dist/index.d.ts +17 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2799,6 +2799,10 @@ type AgentsProfileAgentProfile = {
|
|
|
2799
2799
|
* Stable org extension IDs attached to this profile
|
|
2800
2800
|
*/
|
|
2801
2801
|
extensionIds: Array<CommonUuid>;
|
|
2802
|
+
/**
|
|
2803
|
+
* Admin-only to set. Org vault item IDs attached to this profile.
|
|
2804
|
+
*/
|
|
2805
|
+
vaultItemIds: Array<CommonUuid>;
|
|
2802
2806
|
/**
|
|
2803
2807
|
* Optional custom prefix for the agent's inbox email address. If set, the inbox will be {prefix}@agentmail.asteroid.ai. If not set, defaults to the first 8 characters of the profile ID.
|
|
2804
2808
|
*/
|
|
@@ -3061,6 +3065,10 @@ type AgentsProfileCreateAgentProfileRequest = {
|
|
|
3061
3065
|
* Stable org extension IDs to attach to this profile
|
|
3062
3066
|
*/
|
|
3063
3067
|
extensionIds?: Array<CommonUuid>;
|
|
3068
|
+
/**
|
|
3069
|
+
* Admin-only to set. Org vault item IDs attached to this profile.
|
|
3070
|
+
*/
|
|
3071
|
+
vaultItemIds?: Array<CommonUuid>;
|
|
3064
3072
|
/**
|
|
3065
3073
|
* Optional custom prefix for the agent's inbox email address. If set, the inbox will be {prefix}@agentmail.asteroid.ai.
|
|
3066
3074
|
*/
|
|
@@ -3363,6 +3371,10 @@ type AgentsProfileUpdateAgentProfileRequest = {
|
|
|
3363
3371
|
* Stable org extension IDs to attach to this profile
|
|
3364
3372
|
*/
|
|
3365
3373
|
extensionIds?: Array<CommonUuid>;
|
|
3374
|
+
/**
|
|
3375
|
+
* Admin-only to set. Org vault item IDs attached to this profile.
|
|
3376
|
+
*/
|
|
3377
|
+
vaultItemIds?: Array<CommonUuid>;
|
|
3366
3378
|
/**
|
|
3367
3379
|
* Optional custom prefix for the agent's inbox email address. If set, the inbox will be {prefix}@agentmail.asteroid.ai.
|
|
3368
3380
|
*/
|
|
@@ -3941,7 +3953,7 @@ type AgentsWorkflowExternalWorkflowSnapshot = {
|
|
|
3941
3953
|
*/
|
|
3942
3954
|
author?: string;
|
|
3943
3955
|
/**
|
|
3944
|
-
* Monotonic optimistic-concurrency revision. Only meaningful for the editable head: supply it as baseRev on the next head patch;
|
|
3956
|
+
* Monotonic optimistic-concurrency revision. Only meaningful for the editable head: supply it as baseRev on the next head patch. Agent-file-only patches overlay the current head if it has moved; structural-file patches are rejected with 409 when stale. Frozen snapshots never receive in-place patches.
|
|
3945
3957
|
*/
|
|
3946
3958
|
rev: number;
|
|
3947
3959
|
/**
|
|
@@ -4113,7 +4125,7 @@ type AgentsWorkflowWorkflowFileKind = "structural" | "agent_file";
|
|
|
4113
4125
|
*/
|
|
4114
4126
|
type AgentsWorkflowWorkflowFileTree = {
|
|
4115
4127
|
/**
|
|
4116
|
-
* The revision the tree reflects. For the editable head, supply this as `baseRev` when patching;
|
|
4128
|
+
* The revision the tree reflects. For the editable head, supply this as `baseRev` when patching. Agent-file-only patches overlay the current head if it has moved; structural-file patches are rejected with 409 when stale.
|
|
4117
4129
|
*/
|
|
4118
4130
|
rev: number;
|
|
4119
4131
|
/**
|
|
@@ -4155,11 +4167,11 @@ type AgentsWorkflowWorkflowFileWrite = {
|
|
|
4155
4167
|
contentBase64: string;
|
|
4156
4168
|
};
|
|
4157
4169
|
/**
|
|
4158
|
-
* 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
|
|
4170
|
+
* 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.
|
|
4159
4171
|
*/
|
|
4160
4172
|
type AgentsWorkflowWorkflowFilesPatchRequest = {
|
|
4161
4173
|
/**
|
|
4162
|
-
* The revision this edit is based on.
|
|
4174
|
+
* The revision this edit is based on. Agent-file-only patches overlay the current head even when this is stale. A structural-file patch is rejected with 409 when it does not match the stored head revision.
|
|
4163
4175
|
*/
|
|
4164
4176
|
baseRev: number;
|
|
4165
4177
|
/**
|
|
@@ -6989,7 +7001,7 @@ declare const agentWorkflowHeadGetFiles: <ThrowOnError extends boolean = false>(
|
|
|
6989
7001
|
/**
|
|
6990
7002
|
* Patch workflow head files
|
|
6991
7003
|
*
|
|
6992
|
-
* Patch the editable head's file representation in place: apply file writes/deletes, re-derive the structured workflow, and persist it. Structural files re-derive the graph; agent files go to the blob store.
|
|
7004
|
+
* Patch the editable head's file representation in place: apply file writes/deletes, re-derive the structured workflow, and persist it. Structural files re-derive the graph; agent files go to the blob store. Agent-file writes overlay the current head even when baseRev is stale. Structural-file writes still require a matching baseRev. When the head is frozen (published or executed) the edit forks a fresh version behind the scenes.
|
|
6993
7005
|
*/
|
|
6994
7006
|
declare const agentWorkflowHeadPatchFiles: <ThrowOnError extends boolean = false>(options: Options<AgentWorkflowHeadPatchFilesData, ThrowOnError>) => RequestResult<AgentWorkflowHeadPatchFilesResponses, AgentWorkflowHeadPatchFilesErrors, ThrowOnError>;
|
|
6995
7007
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -2799,6 +2799,10 @@ type AgentsProfileAgentProfile = {
|
|
|
2799
2799
|
* Stable org extension IDs attached to this profile
|
|
2800
2800
|
*/
|
|
2801
2801
|
extensionIds: Array<CommonUuid>;
|
|
2802
|
+
/**
|
|
2803
|
+
* Admin-only to set. Org vault item IDs attached to this profile.
|
|
2804
|
+
*/
|
|
2805
|
+
vaultItemIds: Array<CommonUuid>;
|
|
2802
2806
|
/**
|
|
2803
2807
|
* Optional custom prefix for the agent's inbox email address. If set, the inbox will be {prefix}@agentmail.asteroid.ai. If not set, defaults to the first 8 characters of the profile ID.
|
|
2804
2808
|
*/
|
|
@@ -3061,6 +3065,10 @@ type AgentsProfileCreateAgentProfileRequest = {
|
|
|
3061
3065
|
* Stable org extension IDs to attach to this profile
|
|
3062
3066
|
*/
|
|
3063
3067
|
extensionIds?: Array<CommonUuid>;
|
|
3068
|
+
/**
|
|
3069
|
+
* Admin-only to set. Org vault item IDs attached to this profile.
|
|
3070
|
+
*/
|
|
3071
|
+
vaultItemIds?: Array<CommonUuid>;
|
|
3064
3072
|
/**
|
|
3065
3073
|
* Optional custom prefix for the agent's inbox email address. If set, the inbox will be {prefix}@agentmail.asteroid.ai.
|
|
3066
3074
|
*/
|
|
@@ -3363,6 +3371,10 @@ type AgentsProfileUpdateAgentProfileRequest = {
|
|
|
3363
3371
|
* Stable org extension IDs to attach to this profile
|
|
3364
3372
|
*/
|
|
3365
3373
|
extensionIds?: Array<CommonUuid>;
|
|
3374
|
+
/**
|
|
3375
|
+
* Admin-only to set. Org vault item IDs attached to this profile.
|
|
3376
|
+
*/
|
|
3377
|
+
vaultItemIds?: Array<CommonUuid>;
|
|
3366
3378
|
/**
|
|
3367
3379
|
* Optional custom prefix for the agent's inbox email address. If set, the inbox will be {prefix}@agentmail.asteroid.ai.
|
|
3368
3380
|
*/
|
|
@@ -3941,7 +3953,7 @@ type AgentsWorkflowExternalWorkflowSnapshot = {
|
|
|
3941
3953
|
*/
|
|
3942
3954
|
author?: string;
|
|
3943
3955
|
/**
|
|
3944
|
-
* Monotonic optimistic-concurrency revision. Only meaningful for the editable head: supply it as baseRev on the next head patch;
|
|
3956
|
+
* Monotonic optimistic-concurrency revision. Only meaningful for the editable head: supply it as baseRev on the next head patch. Agent-file-only patches overlay the current head if it has moved; structural-file patches are rejected with 409 when stale. Frozen snapshots never receive in-place patches.
|
|
3945
3957
|
*/
|
|
3946
3958
|
rev: number;
|
|
3947
3959
|
/**
|
|
@@ -4113,7 +4125,7 @@ type AgentsWorkflowWorkflowFileKind = "structural" | "agent_file";
|
|
|
4113
4125
|
*/
|
|
4114
4126
|
type AgentsWorkflowWorkflowFileTree = {
|
|
4115
4127
|
/**
|
|
4116
|
-
* The revision the tree reflects. For the editable head, supply this as `baseRev` when patching;
|
|
4128
|
+
* The revision the tree reflects. For the editable head, supply this as `baseRev` when patching. Agent-file-only patches overlay the current head if it has moved; structural-file patches are rejected with 409 when stale.
|
|
4117
4129
|
*/
|
|
4118
4130
|
rev: number;
|
|
4119
4131
|
/**
|
|
@@ -4155,11 +4167,11 @@ type AgentsWorkflowWorkflowFileWrite = {
|
|
|
4155
4167
|
contentBase64: string;
|
|
4156
4168
|
};
|
|
4157
4169
|
/**
|
|
4158
|
-
* 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
|
|
4170
|
+
* 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.
|
|
4159
4171
|
*/
|
|
4160
4172
|
type AgentsWorkflowWorkflowFilesPatchRequest = {
|
|
4161
4173
|
/**
|
|
4162
|
-
* The revision this edit is based on.
|
|
4174
|
+
* The revision this edit is based on. Agent-file-only patches overlay the current head even when this is stale. A structural-file patch is rejected with 409 when it does not match the stored head revision.
|
|
4163
4175
|
*/
|
|
4164
4176
|
baseRev: number;
|
|
4165
4177
|
/**
|
|
@@ -6989,7 +7001,7 @@ declare const agentWorkflowHeadGetFiles: <ThrowOnError extends boolean = false>(
|
|
|
6989
7001
|
/**
|
|
6990
7002
|
* Patch workflow head files
|
|
6991
7003
|
*
|
|
6992
|
-
* Patch the editable head's file representation in place: apply file writes/deletes, re-derive the structured workflow, and persist it. Structural files re-derive the graph; agent files go to the blob store.
|
|
7004
|
+
* Patch the editable head's file representation in place: apply file writes/deletes, re-derive the structured workflow, and persist it. Structural files re-derive the graph; agent files go to the blob store. Agent-file writes overlay the current head even when baseRev is stale. Structural-file writes still require a matching baseRev. When the head is frozen (published or executed) the edit forks a fresh version behind the scenes.
|
|
6993
7005
|
*/
|
|
6994
7006
|
declare const agentWorkflowHeadPatchFiles: <ThrowOnError extends boolean = false>(options: Options<AgentWorkflowHeadPatchFilesData, ThrowOnError>) => RequestResult<AgentWorkflowHeadPatchFilesResponses, AgentWorkflowHeadPatchFilesErrors, ThrowOnError>;
|
|
6995
7007
|
/**
|