asteroid-odyssey 1.0.22 → 1.0.24

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.
@@ -52,21 +52,21 @@ export type CreateWorkflowRequest = {
52
52
  */
53
53
  name: string;
54
54
  /**
55
- * The ID of the user that this workflow belongs to.
55
+ * Used to assign the workflow to a user. Do not use this field.
56
56
  */
57
57
  user_id?: string;
58
- result_schema: ResultSchema;
58
+ result_schema?: ResultSchema;
59
59
  /**
60
- * Unused field for custom configuration
60
+ * Field for custom configuration. Do not use.
61
61
  */
62
- fields: {
62
+ fields?: {
63
63
  [key: string]: unknown;
64
64
  };
65
65
  /**
66
66
  * The prompts for the workflow. They can have variables in them. They will be merged with the dynamic data passed when the workflow is executed.
67
67
  */
68
68
  prompts: Array<string>;
69
- workflow_options: UnresolvedWorkflowOptions;
69
+ workflow_options?: UnresolvedWorkflowOptions;
70
70
  /**
71
71
  * The Language Model Provider for the Workflow
72
72
  */
package/dist/index.d.ts CHANGED
@@ -23,9 +23,9 @@ export declare const AsteroidClient: (apiKey: string, options?: {
23
23
  * @example
24
24
  * const workflowId = await createNewWorkflow(client, 'my-agent', {
25
25
  * name: "Example Workflow",
26
+ * start_url: "https://google.com",
27
+ * prompts: ["On Google, search for {{.website}} and sign in with {{.credentials}}"],
26
28
  * result_schema: {},
27
- * fields: { exampleField: "value" },
28
- * prompts: ["Enter some data:"],
29
29
  * provider: 'openai'
30
30
  * });
31
31
  */
package/dist/index.js CHANGED
@@ -68,9 +68,9 @@ exports.AsteroidClient = AsteroidClient;
68
68
  * @example
69
69
  * const workflowId = await createNewWorkflow(client, 'my-agent', {
70
70
  * name: "Example Workflow",
71
+ * start_url: "https://google.com",
72
+ * prompts: ["On Google, search for {{.website}} and sign in with {{.credentials}}"],
71
73
  * result_schema: {},
72
- * fields: { exampleField: "value" },
73
- * prompts: ["Enter some data:"],
74
74
  * provider: 'openai'
75
75
  * });
76
76
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asteroid-odyssey",
3
- "version": "v1.0.22",
3
+ "version": "v1.0.24",
4
4
  "description": "SDK for interacting with Asteroid Agents API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",