Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/get-started/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
]
},
"dependencies": {
"@restackio/restack-sdk-ts": "^0.0.73",
"@restackio/ai": "^0.0.75",
"@temporalio/workflow": "^1.11.2"
},
"devDependencies": {
Expand Down
1,817 changes: 1,817 additions & 0 deletions examples/get-started/pnpm-lock.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/get-started/src/client.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import Restack from "@restackio/restack-sdk-ts";
import Restack from "@restackio/ai";

export const client = new Restack();
export const client = new Restack();
12 changes: 4 additions & 8 deletions examples/get-started/src/workflows/workflow.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
import { welcome, goodbye } from "../functions/functions";
import { log, step } from "@restackio/restack-sdk-ts/workflow";

import { log, step } from "@restackio/ai/workflow";

export async function greetingWorkflow(name: String) {

const welcomeMessage = await step().welcome('human');
const welcomeMessage = await step().welcome("human");
log.info(welcomeMessage);

const goodbyeMessage = await step().goodbye('human');
const goodbyeMessage = await step().goodbye("human");
log.info(goodbyeMessage);

};

}
2 changes: 1 addition & 1 deletion examples/hello/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"dependencies": {
"@restackio/integrations-openai": "^0.0.23",
"@restackio/restack-sdk-ts": "^0.0.66",
"@restackio/ai": "^0.0.75",
"@temporalio/workflow": "^1.11.2",
"dotenv": "^16.4.5",
"zod": "^3.23.8",
Expand Down
Loading