asteroid-odyssey 1.9.26 → 1.9.58

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 CHANGED
@@ -2821,7 +2821,7 @@ type AgentsVaultVaultShareLink = {
2821
2821
  updatedAt: string;
2822
2822
  };
2823
2823
  /**
2824
- * Create response. token is the raw link secret and is returned once; the server stores only its hash.
2824
+ * Create response. token is the raw link secret and recipientUrl carries it. Both are returned once; the server stores only the token's hash.
2825
2825
  */
2826
2826
  type AgentsVaultVaultShareLinkCreated = {
2827
2827
  link: AgentsVaultVaultShareLink;
@@ -2829,6 +2829,10 @@ type AgentsVaultVaultShareLinkCreated = {
2829
2829
  * Raw token for the recipient URL. Returned once.
2830
2830
  */
2831
2831
  token: string;
2832
+ /**
2833
+ * Absolute URL of the page the recipient opens to submit the secret, on this environment's credential-request host. The token is in its fragment.
2834
+ */
2835
+ recipientUrl: string;
2832
2836
  };
2833
2837
  /**
2834
2838
  * A vault template: an ordered field blueprint. organizationId is omitted on master presets.
@@ -3184,15 +3188,25 @@ type AgentsWorkflowWorkflowFileTree = {
3184
3188
  */
3185
3189
  rev: number;
3186
3190
  /**
3187
- * The id of the workflow this tree renders. Lets a client that materialises the directory record what it holds without a second fetch.
3191
+ * The id of the workflow this version belongs to. Lets a client that materialises the directory record what it holds without a second fetch.
3188
3192
  */
3189
3193
  workflowId: CommonUuid;
3194
+ /**
3195
+ * The id of the workflow version this tree renders: the editable head, or a pinned version.
3196
+ */
3197
+ workflowVersionId: CommonUuid;
3190
3198
  /**
3191
3199
  * The workflow's version number, absent for a draft that has never been published.
3192
3200
  */
3193
3201
  version?: number;
3194
3202
  /**
3195
- * The owning agent's name. The directory is rendered relative to the workflow root, so a client that lays it out under a per-agent folder needs the name to derive that folder — and would otherwise have to fetch the agent for it.
3203
+ * The workflow's name. The directory is rendered relative to the workflow root, so a client that lays it out under a per-workflow folder needs the name to derive that folder — and would otherwise have to fetch the workflow for it.
3204
+ */
3205
+ workflowName: string;
3206
+ /**
3207
+ * Deprecated: use workflowName. The workflow's name.
3208
+ *
3209
+ * @deprecated
3196
3210
  */
3197
3211
  agentName: string;
3198
3212
  /**
@@ -3691,10 +3705,18 @@ type WorkflowsVersionFileTree = {
3691
3705
  * 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.
3692
3706
  */
3693
3707
  rev: number;
3708
+ /**
3709
+ * The id of the workflow this version belongs to. Lets a client that materialises the directory record what it holds without a second fetch.
3710
+ */
3711
+ workflowId: CommonUuid;
3694
3712
  /**
3695
3713
  * The workflow's version number, absent for a draft that has never been published.
3696
3714
  */
3697
3715
  version?: number;
3716
+ /**
3717
+ * The workflow's name. The directory is rendered relative to the workflow root, so a client that lays it out under a per-workflow folder needs the name to derive that folder — and would otherwise have to fetch the workflow for it.
3718
+ */
3719
+ workflowName: string;
3698
3720
  /**
3699
3721
  * Hex-encoded SHA-256 over the workflow's whole file directory: every structural file's path and content, and every agent file's path and checksum. It covers the whole workflow regardless of any paths, variants or contents narrowing on the read, so two reads of the same workflow always agree. A client keeping the directory in version control compares this one string to answer "does the published agent still match my checkout?" instead of diffing every file. Absent when an agent file has no checksum yet, since the tree cannot then be hashed in full.
3700
3722
  */
@@ -3708,10 +3730,6 @@ type WorkflowsVersionFileTree = {
3708
3730
  */
3709
3731
  variantKeys?: Array<string>;
3710
3732
  versionId: CommonUuid;
3711
- /**
3712
- * The name of the workflow. A client that lays the directory out under a per-workflow folder derives the folder from it.
3713
- */
3714
- workflowName: string;
3715
3733
  };
3716
3734
  /**
3717
3735
  * Request to patch the editable head's file representation
package/dist/index.d.ts CHANGED
@@ -2821,7 +2821,7 @@ type AgentsVaultVaultShareLink = {
2821
2821
  updatedAt: string;
2822
2822
  };
2823
2823
  /**
2824
- * Create response. token is the raw link secret and is returned once; the server stores only its hash.
2824
+ * Create response. token is the raw link secret and recipientUrl carries it. Both are returned once; the server stores only the token's hash.
2825
2825
  */
2826
2826
  type AgentsVaultVaultShareLinkCreated = {
2827
2827
  link: AgentsVaultVaultShareLink;
@@ -2829,6 +2829,10 @@ type AgentsVaultVaultShareLinkCreated = {
2829
2829
  * Raw token for the recipient URL. Returned once.
2830
2830
  */
2831
2831
  token: string;
2832
+ /**
2833
+ * Absolute URL of the page the recipient opens to submit the secret, on this environment's credential-request host. The token is in its fragment.
2834
+ */
2835
+ recipientUrl: string;
2832
2836
  };
2833
2837
  /**
2834
2838
  * A vault template: an ordered field blueprint. organizationId is omitted on master presets.
@@ -3184,15 +3188,25 @@ type AgentsWorkflowWorkflowFileTree = {
3184
3188
  */
3185
3189
  rev: number;
3186
3190
  /**
3187
- * The id of the workflow this tree renders. Lets a client that materialises the directory record what it holds without a second fetch.
3191
+ * The id of the workflow this version belongs to. Lets a client that materialises the directory record what it holds without a second fetch.
3188
3192
  */
3189
3193
  workflowId: CommonUuid;
3194
+ /**
3195
+ * The id of the workflow version this tree renders: the editable head, or a pinned version.
3196
+ */
3197
+ workflowVersionId: CommonUuid;
3190
3198
  /**
3191
3199
  * The workflow's version number, absent for a draft that has never been published.
3192
3200
  */
3193
3201
  version?: number;
3194
3202
  /**
3195
- * The owning agent's name. The directory is rendered relative to the workflow root, so a client that lays it out under a per-agent folder needs the name to derive that folder — and would otherwise have to fetch the agent for it.
3203
+ * The workflow's name. The directory is rendered relative to the workflow root, so a client that lays it out under a per-workflow folder needs the name to derive that folder — and would otherwise have to fetch the workflow for it.
3204
+ */
3205
+ workflowName: string;
3206
+ /**
3207
+ * Deprecated: use workflowName. The workflow's name.
3208
+ *
3209
+ * @deprecated
3196
3210
  */
3197
3211
  agentName: string;
3198
3212
  /**
@@ -3691,10 +3705,18 @@ type WorkflowsVersionFileTree = {
3691
3705
  * 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.
3692
3706
  */
3693
3707
  rev: number;
3708
+ /**
3709
+ * The id of the workflow this version belongs to. Lets a client that materialises the directory record what it holds without a second fetch.
3710
+ */
3711
+ workflowId: CommonUuid;
3694
3712
  /**
3695
3713
  * The workflow's version number, absent for a draft that has never been published.
3696
3714
  */
3697
3715
  version?: number;
3716
+ /**
3717
+ * The workflow's name. The directory is rendered relative to the workflow root, so a client that lays it out under a per-workflow folder needs the name to derive that folder — and would otherwise have to fetch the workflow for it.
3718
+ */
3719
+ workflowName: string;
3698
3720
  /**
3699
3721
  * Hex-encoded SHA-256 over the workflow's whole file directory: every structural file's path and content, and every agent file's path and checksum. It covers the whole workflow regardless of any paths, variants or contents narrowing on the read, so two reads of the same workflow always agree. A client keeping the directory in version control compares this one string to answer "does the published agent still match my checkout?" instead of diffing every file. Absent when an agent file has no checksum yet, since the tree cannot then be hashed in full.
3700
3722
  */
@@ -3708,10 +3730,6 @@ type WorkflowsVersionFileTree = {
3708
3730
  */
3709
3731
  variantKeys?: Array<string>;
3710
3732
  versionId: CommonUuid;
3711
- /**
3712
- * The name of the workflow. A client that lays the directory out under a per-workflow folder derives the folder from it.
3713
- */
3714
- workflowName: string;
3715
3733
  };
3716
3734
  /**
3717
3735
  * Request to patch the editable head's file representation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asteroid-odyssey",
3
- "version": "1.9.26",
3
+ "version": "1.9.58",
4
4
  "description": "SDK for interacting with Asteroid Agents API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",