From 61ad46a3b0cfda821d98df47faffc6094a028556 Mon Sep 17 00:00:00 2001 From: Eric Bouck Date: Mon, 21 Oct 2024 17:26:16 -0700 Subject: [PATCH 1/3] Turn on async logging of runs --- .changeset/swift-sloths-sin.md | 5 +++++ packages/@runlightyear/lightyear/src/handler/index.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/swift-sloths-sin.md diff --git a/.changeset/swift-sloths-sin.md b/.changeset/swift-sloths-sin.md new file mode 100644 index 0000000000..35e610b4ad --- /dev/null +++ b/.changeset/swift-sloths-sin.md @@ -0,0 +1,5 @@ +--- +"@runlightyear/lightyear": minor +--- + +Turn on async logging of runs diff --git a/packages/@runlightyear/lightyear/src/handler/index.ts b/packages/@runlightyear/lightyear/src/handler/index.ts index 217e967961..d0750900a4 100644 --- a/packages/@runlightyear/lightyear/src/handler/index.ts +++ b/packages/@runlightyear/lightyear/src/handler/index.ts @@ -124,7 +124,7 @@ export async function handler( } else if (operation === "refreshSubscription") { return handleRefreshSubscription({ webhookName }); } else if (operation === "run") { - // prefixedRedactedConsole.setStreamLogsTo({ runId }); + prefixedRedactedConsole.setStreamLogsTo({ runId }); return handleRun({ actionName, runId, data, context }); } else if (operation === "getAuthRequestUrl") { if (!customAppName) { From bbf9983cb57dee21e0ba35da754d212129c234ea Mon Sep 17 00:00:00 2001 From: Eric Bouck Date: Mon, 21 Oct 2024 17:29:04 -0700 Subject: [PATCH 2/3] Initialize synchronizer with collection --- .changeset/tiny-beers-bake.md | 5 +++++ packages/@runlightyear/lightyear/src/base/syncAction.ts | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .changeset/tiny-beers-bake.md diff --git a/.changeset/tiny-beers-bake.md b/.changeset/tiny-beers-bake.md new file mode 100644 index 0000000000..ff98415bbb --- /dev/null +++ b/.changeset/tiny-beers-bake.md @@ -0,0 +1,5 @@ +--- +"@runlightyear/lightyear": minor +--- + +Fix Synchronizer initialization bug diff --git a/packages/@runlightyear/lightyear/src/base/syncAction.ts b/packages/@runlightyear/lightyear/src/base/syncAction.ts index 724d3e9737..a4a6c47093 100644 --- a/packages/@runlightyear/lightyear/src/base/syncAction.ts +++ b/packages/@runlightyear/lightyear/src/base/syncAction.ts @@ -11,6 +11,7 @@ export interface ConnectorProps { export interface SynchronizerProps { connector: AuthConnector; + collection: string; } export interface DefineSyncActionProps { @@ -94,7 +95,10 @@ export function defineSyncAction(props: DefineSyncActionProps) { throw new Error("No connector provided"); } - const synchronizerProps: SynchronizerProps = { connector }; + const synchronizerProps: SynchronizerProps = { + connector, + collection: props.collection, + }; let synchronizer: CollectionSynchronizer | null | undefined = undefined; From 809d310991ef3e58522a3906660aba9c02e9236d Mon Sep 17 00:00:00 2001 From: Eric Bouck Date: Mon, 21 Oct 2024 17:43:21 -0700 Subject: [PATCH 3/3] Version packages --- .changeset/swift-sloths-sin.md | 5 ----- .changeset/tiny-beers-bake.md | 5 ----- packages/@runlightyear/airtable/CHANGELOG.md | 8 ++++++++ packages/@runlightyear/airtable/package.json | 2 +- packages/@runlightyear/cli/CHANGELOG.md | 8 ++++++++ packages/@runlightyear/cli/package.json | 2 +- packages/@runlightyear/gcal/CHANGELOG.md | 8 ++++++++ packages/@runlightyear/gcal/package.json | 2 +- packages/@runlightyear/github/CHANGELOG.md | 8 ++++++++ packages/@runlightyear/github/package.json | 2 +- packages/@runlightyear/gmail/CHANGELOG.md | 8 ++++++++ packages/@runlightyear/gmail/package.json | 2 +- packages/@runlightyear/gsheets/CHANGELOG.md | 8 ++++++++ packages/@runlightyear/gsheets/package.json | 2 +- packages/@runlightyear/lightyear/CHANGELOG.md | 7 +++++++ packages/@runlightyear/lightyear/package.json | 2 +- packages/@runlightyear/linear/CHANGELOG.md | 8 ++++++++ packages/@runlightyear/linear/package.json | 2 +- packages/@runlightyear/notion/CHANGELOG.md | 8 ++++++++ packages/@runlightyear/notion/package.json | 2 +- packages/@runlightyear/openai/CHANGELOG.md | 8 ++++++++ packages/@runlightyear/openai/package.json | 2 +- packages/@runlightyear/postmark/CHANGELOG.md | 8 ++++++++ packages/@runlightyear/postmark/package.json | 2 +- packages/@runlightyear/salesforce/CHANGELOG.md | 8 ++++++++ packages/@runlightyear/salesforce/package.json | 2 +- packages/@runlightyear/slack/CHANGELOG.md | 8 ++++++++ packages/@runlightyear/slack/package.json | 2 +- packages/@runlightyear/smtp/CHANGELOG.md | 8 ++++++++ packages/@runlightyear/smtp/package.json | 2 +- packages/@runlightyear/zoom/CHANGELOG.md | 8 ++++++++ packages/@runlightyear/zoom/package.json | 2 +- 32 files changed, 134 insertions(+), 25 deletions(-) delete mode 100644 .changeset/swift-sloths-sin.md delete mode 100644 .changeset/tiny-beers-bake.md diff --git a/.changeset/swift-sloths-sin.md b/.changeset/swift-sloths-sin.md deleted file mode 100644 index 35e610b4ad..0000000000 --- a/.changeset/swift-sloths-sin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@runlightyear/lightyear": minor ---- - -Turn on async logging of runs diff --git a/.changeset/tiny-beers-bake.md b/.changeset/tiny-beers-bake.md deleted file mode 100644 index ff98415bbb..0000000000 --- a/.changeset/tiny-beers-bake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@runlightyear/lightyear": minor ---- - -Fix Synchronizer initialization bug diff --git a/packages/@runlightyear/airtable/CHANGELOG.md b/packages/@runlightyear/airtable/CHANGELOG.md index 0bd7653025..7241b24b6f 100644 --- a/packages/@runlightyear/airtable/CHANGELOG.md +++ b/packages/@runlightyear/airtable/CHANGELOG.md @@ -1,5 +1,13 @@ # @runlightyear/airtable +## 1.2.6 + +### Patch Changes + +- Updated dependencies [61ad46a3b] +- Updated dependencies [bbf9983cb] + - @runlightyear/lightyear@1.12.0 + ## 1.2.5 ### Patch Changes diff --git a/packages/@runlightyear/airtable/package.json b/packages/@runlightyear/airtable/package.json index 11a7bf450a..0d93969b5f 100644 --- a/packages/@runlightyear/airtable/package.json +++ b/packages/@runlightyear/airtable/package.json @@ -1,6 +1,6 @@ { "name": "@runlightyear/airtable", - "version": "1.2.5", + "version": "1.2.6", "publishConfig": { "access": "public" }, diff --git a/packages/@runlightyear/cli/CHANGELOG.md b/packages/@runlightyear/cli/CHANGELOG.md index ff5208a867..1ef6c15160 100644 --- a/packages/@runlightyear/cli/CHANGELOG.md +++ b/packages/@runlightyear/cli/CHANGELOG.md @@ -1,5 +1,13 @@ # @runlightyear/cli +## 1.5.1 + +### Patch Changes + +- Updated dependencies [61ad46a3b] +- Updated dependencies [bbf9983cb] + - @runlightyear/lightyear@1.12.0 + ## 1.5.0 ### Minor Changes diff --git a/packages/@runlightyear/cli/package.json b/packages/@runlightyear/cli/package.json index a4047b00d9..b9372ed6f0 100644 --- a/packages/@runlightyear/cli/package.json +++ b/packages/@runlightyear/cli/package.json @@ -1,6 +1,6 @@ { "name": "@runlightyear/cli", - "version": "1.5.0", + "version": "1.5.1", "publishConfig": { "access": "public" }, diff --git a/packages/@runlightyear/gcal/CHANGELOG.md b/packages/@runlightyear/gcal/CHANGELOG.md index d6ca5d4e82..59572f6f10 100644 --- a/packages/@runlightyear/gcal/CHANGELOG.md +++ b/packages/@runlightyear/gcal/CHANGELOG.md @@ -1,5 +1,13 @@ # @runlightyear/gcal +## 0.11.6 + +### Patch Changes + +- Updated dependencies [61ad46a3b] +- Updated dependencies [bbf9983cb] + - @runlightyear/lightyear@1.12.0 + ## 0.11.5 ### Patch Changes diff --git a/packages/@runlightyear/gcal/package.json b/packages/@runlightyear/gcal/package.json index 2bf585b8f0..2e8a08ba9f 100644 --- a/packages/@runlightyear/gcal/package.json +++ b/packages/@runlightyear/gcal/package.json @@ -1,6 +1,6 @@ { "name": "@runlightyear/gcal", - "version": "0.11.5", + "version": "0.11.6", "publishConfig": { "access": "public" }, diff --git a/packages/@runlightyear/github/CHANGELOG.md b/packages/@runlightyear/github/CHANGELOG.md index 5f6a7b3ac0..e2fb5751a5 100644 --- a/packages/@runlightyear/github/CHANGELOG.md +++ b/packages/@runlightyear/github/CHANGELOG.md @@ -1,5 +1,13 @@ # @runlightyear/github +## 1.3.6 + +### Patch Changes + +- Updated dependencies [61ad46a3b] +- Updated dependencies [bbf9983cb] + - @runlightyear/lightyear@1.12.0 + ## 1.3.5 ### Patch Changes diff --git a/packages/@runlightyear/github/package.json b/packages/@runlightyear/github/package.json index 65f296a961..e3b52b4c8c 100644 --- a/packages/@runlightyear/github/package.json +++ b/packages/@runlightyear/github/package.json @@ -1,6 +1,6 @@ { "name": "@runlightyear/github", - "version": "1.3.5", + "version": "1.3.6", "publishConfig": { "access": "public" }, diff --git a/packages/@runlightyear/gmail/CHANGELOG.md b/packages/@runlightyear/gmail/CHANGELOG.md index b69209f369..d75c6295e9 100644 --- a/packages/@runlightyear/gmail/CHANGELOG.md +++ b/packages/@runlightyear/gmail/CHANGELOG.md @@ -1,5 +1,13 @@ # @runlightyear/gmail +## 0.6.7 + +### Patch Changes + +- Updated dependencies [61ad46a3b] +- Updated dependencies [bbf9983cb] + - @runlightyear/lightyear@1.12.0 + ## 0.6.6 ### Patch Changes diff --git a/packages/@runlightyear/gmail/package.json b/packages/@runlightyear/gmail/package.json index 11162ef668..43dd6d3ca7 100644 --- a/packages/@runlightyear/gmail/package.json +++ b/packages/@runlightyear/gmail/package.json @@ -1,6 +1,6 @@ { "name": "@runlightyear/gmail", - "version": "0.6.6", + "version": "0.6.7", "publishConfig": { "access": "public" }, diff --git a/packages/@runlightyear/gsheets/CHANGELOG.md b/packages/@runlightyear/gsheets/CHANGELOG.md index fc3ceb36f0..86c8b53f0b 100644 --- a/packages/@runlightyear/gsheets/CHANGELOG.md +++ b/packages/@runlightyear/gsheets/CHANGELOG.md @@ -1,5 +1,13 @@ # @runlightyear/gsheets +## 0.8.6 + +### Patch Changes + +- Updated dependencies [61ad46a3b] +- Updated dependencies [bbf9983cb] + - @runlightyear/lightyear@1.12.0 + ## 0.8.5 ### Patch Changes diff --git a/packages/@runlightyear/gsheets/package.json b/packages/@runlightyear/gsheets/package.json index 5c59af9a9a..487c12e022 100644 --- a/packages/@runlightyear/gsheets/package.json +++ b/packages/@runlightyear/gsheets/package.json @@ -1,6 +1,6 @@ { "name": "@runlightyear/gsheets", - "version": "0.8.5", + "version": "0.8.6", "publishConfig": { "access": "public" }, diff --git a/packages/@runlightyear/lightyear/CHANGELOG.md b/packages/@runlightyear/lightyear/CHANGELOG.md index 661453f52e..c2f09c5398 100644 --- a/packages/@runlightyear/lightyear/CHANGELOG.md +++ b/packages/@runlightyear/lightyear/CHANGELOG.md @@ -1,5 +1,12 @@ # @runlightyear/lightyear +## 1.12.0 + +### Minor Changes + +- 61ad46a3b: Turn on async logging of runs +- bbf9983cb: Fix Synchronizer initialization bug + ## 1.11.0 ### Minor Changes diff --git a/packages/@runlightyear/lightyear/package.json b/packages/@runlightyear/lightyear/package.json index 43b6649d91..4d778b1f08 100644 --- a/packages/@runlightyear/lightyear/package.json +++ b/packages/@runlightyear/lightyear/package.json @@ -1,6 +1,6 @@ { "name": "@runlightyear/lightyear", - "version": "1.11.0", + "version": "1.12.0", "publishConfig": { "access": "public" }, diff --git a/packages/@runlightyear/linear/CHANGELOG.md b/packages/@runlightyear/linear/CHANGELOG.md index d786334ff8..673f23633b 100644 --- a/packages/@runlightyear/linear/CHANGELOG.md +++ b/packages/@runlightyear/linear/CHANGELOG.md @@ -1,5 +1,13 @@ # @runlightyear/linear +## 0.10.6 + +### Patch Changes + +- Updated dependencies [61ad46a3b] +- Updated dependencies [bbf9983cb] + - @runlightyear/lightyear@1.12.0 + ## 0.10.5 ### Patch Changes diff --git a/packages/@runlightyear/linear/package.json b/packages/@runlightyear/linear/package.json index 768fd7eb9e..deb1542ee8 100644 --- a/packages/@runlightyear/linear/package.json +++ b/packages/@runlightyear/linear/package.json @@ -1,6 +1,6 @@ { "name": "@runlightyear/linear", - "version": "0.10.5", + "version": "0.10.6", "publishConfig": { "access": "public" }, diff --git a/packages/@runlightyear/notion/CHANGELOG.md b/packages/@runlightyear/notion/CHANGELOG.md index abc51ac074..56e78c0abc 100644 --- a/packages/@runlightyear/notion/CHANGELOG.md +++ b/packages/@runlightyear/notion/CHANGELOG.md @@ -1,5 +1,13 @@ # @runlightyear/notion +## 1.3.5 + +### Patch Changes + +- Updated dependencies [61ad46a3b] +- Updated dependencies [bbf9983cb] + - @runlightyear/lightyear@1.12.0 + ## 1.3.4 ### Patch Changes diff --git a/packages/@runlightyear/notion/package.json b/packages/@runlightyear/notion/package.json index ec8e339b0b..4288e9feab 100644 --- a/packages/@runlightyear/notion/package.json +++ b/packages/@runlightyear/notion/package.json @@ -1,6 +1,6 @@ { "name": "@runlightyear/notion", - "version": "1.3.4", + "version": "1.3.5", "publishConfig": { "access": "public" }, diff --git a/packages/@runlightyear/openai/CHANGELOG.md b/packages/@runlightyear/openai/CHANGELOG.md index 90d27ddeab..26e28d4acc 100644 --- a/packages/@runlightyear/openai/CHANGELOG.md +++ b/packages/@runlightyear/openai/CHANGELOG.md @@ -1,5 +1,13 @@ # @runlightyear/openai +## 1.3.6 + +### Patch Changes + +- Updated dependencies [61ad46a3b] +- Updated dependencies [bbf9983cb] + - @runlightyear/lightyear@1.12.0 + ## 1.3.5 ### Patch Changes diff --git a/packages/@runlightyear/openai/package.json b/packages/@runlightyear/openai/package.json index 3eaab7d1fa..9a8bf76fee 100644 --- a/packages/@runlightyear/openai/package.json +++ b/packages/@runlightyear/openai/package.json @@ -1,6 +1,6 @@ { "name": "@runlightyear/openai", - "version": "1.3.5", + "version": "1.3.6", "publishConfig": { "access": "public" }, diff --git a/packages/@runlightyear/postmark/CHANGELOG.md b/packages/@runlightyear/postmark/CHANGELOG.md index 8c81668fbe..cd6b7cb754 100644 --- a/packages/@runlightyear/postmark/CHANGELOG.md +++ b/packages/@runlightyear/postmark/CHANGELOG.md @@ -1,5 +1,13 @@ # @runlightyear/postmark +## 0.5.6 + +### Patch Changes + +- Updated dependencies [61ad46a3b] +- Updated dependencies [bbf9983cb] + - @runlightyear/lightyear@1.12.0 + ## 0.5.5 ### Patch Changes diff --git a/packages/@runlightyear/postmark/package.json b/packages/@runlightyear/postmark/package.json index 50643f496f..2daa8e55fa 100644 --- a/packages/@runlightyear/postmark/package.json +++ b/packages/@runlightyear/postmark/package.json @@ -1,6 +1,6 @@ { "name": "@runlightyear/postmark", - "version": "0.5.5", + "version": "0.5.6", "publishConfig": { "access": "public" }, diff --git a/packages/@runlightyear/salesforce/CHANGELOG.md b/packages/@runlightyear/salesforce/CHANGELOG.md index e87d3a8ee7..3dc9b3fb21 100644 --- a/packages/@runlightyear/salesforce/CHANGELOG.md +++ b/packages/@runlightyear/salesforce/CHANGELOG.md @@ -1,5 +1,13 @@ # @runlightyear/salesforce +## 0.9.5 + +### Patch Changes + +- Updated dependencies [61ad46a3b] +- Updated dependencies [bbf9983cb] + - @runlightyear/lightyear@1.12.0 + ## 0.9.4 ### Patch Changes diff --git a/packages/@runlightyear/salesforce/package.json b/packages/@runlightyear/salesforce/package.json index c55c15a309..de460a237f 100644 --- a/packages/@runlightyear/salesforce/package.json +++ b/packages/@runlightyear/salesforce/package.json @@ -1,6 +1,6 @@ { "name": "@runlightyear/salesforce", - "version": "0.9.4", + "version": "0.9.5", "publishConfig": { "access": "public" }, diff --git a/packages/@runlightyear/slack/CHANGELOG.md b/packages/@runlightyear/slack/CHANGELOG.md index e6089bc3ea..ed999c89b3 100644 --- a/packages/@runlightyear/slack/CHANGELOG.md +++ b/packages/@runlightyear/slack/CHANGELOG.md @@ -1,5 +1,13 @@ # @runlightyear/slack +## 0.18.7 + +### Patch Changes + +- Updated dependencies [61ad46a3b] +- Updated dependencies [bbf9983cb] + - @runlightyear/lightyear@1.12.0 + ## 0.18.6 ### Patch Changes diff --git a/packages/@runlightyear/slack/package.json b/packages/@runlightyear/slack/package.json index 3d204475ee..d1cc523d9b 100644 --- a/packages/@runlightyear/slack/package.json +++ b/packages/@runlightyear/slack/package.json @@ -1,6 +1,6 @@ { "name": "@runlightyear/slack", - "version": "0.18.6", + "version": "0.18.7", "publishConfig": { "access": "public" }, diff --git a/packages/@runlightyear/smtp/CHANGELOG.md b/packages/@runlightyear/smtp/CHANGELOG.md index 325f707866..e4d8cd76c3 100644 --- a/packages/@runlightyear/smtp/CHANGELOG.md +++ b/packages/@runlightyear/smtp/CHANGELOG.md @@ -1,5 +1,13 @@ # @runlightyear/smtp +## 0.3.6 + +### Patch Changes + +- Updated dependencies [61ad46a3b] +- Updated dependencies [bbf9983cb] + - @runlightyear/lightyear@1.12.0 + ## 0.3.5 ### Patch Changes diff --git a/packages/@runlightyear/smtp/package.json b/packages/@runlightyear/smtp/package.json index 6cc5a05cc7..f2f4e45473 100644 --- a/packages/@runlightyear/smtp/package.json +++ b/packages/@runlightyear/smtp/package.json @@ -1,6 +1,6 @@ { "name": "@runlightyear/smtp", - "version": "0.3.5", + "version": "0.3.6", "publishConfig": { "access": "public" }, diff --git a/packages/@runlightyear/zoom/CHANGELOG.md b/packages/@runlightyear/zoom/CHANGELOG.md index b7f60f0081..5cc65b375c 100644 --- a/packages/@runlightyear/zoom/CHANGELOG.md +++ b/packages/@runlightyear/zoom/CHANGELOG.md @@ -1,5 +1,13 @@ # @runlightyear/zoom +## 0.9.7 + +### Patch Changes + +- Updated dependencies [61ad46a3b] +- Updated dependencies [bbf9983cb] + - @runlightyear/lightyear@1.12.0 + ## 0.9.6 ### Patch Changes diff --git a/packages/@runlightyear/zoom/package.json b/packages/@runlightyear/zoom/package.json index 0e43fce826..65252022cd 100644 --- a/packages/@runlightyear/zoom/package.json +++ b/packages/@runlightyear/zoom/package.json @@ -1,6 +1,6 @@ { "name": "@runlightyear/zoom", - "version": "0.9.6", + "version": "0.9.7", "publishConfig": { "access": "public" },