asteroid-odyssey 1.0.22 → 1.0.23
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/generated/agents/types.gen.d.ts +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
|
@@ -52,14 +52,14 @@ export type CreateWorkflowRequest = {
|
|
|
52
52
|
*/
|
|
53
53
|
name: string;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* Used to assign the workflow to a user. Do not use this field.
|
|
56
56
|
*/
|
|
57
57
|
user_id?: string;
|
|
58
58
|
result_schema: ResultSchema;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Field for custom configuration. Do not use.
|
|
61
61
|
*/
|
|
62
|
-
fields
|
|
62
|
+
fields?: {
|
|
63
63
|
[key: string]: unknown;
|
|
64
64
|
};
|
|
65
65
|
/**
|
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
|
*/
|