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
16 changes: 16 additions & 0 deletions .changeset/effect-peer-dependency.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
"@executor-js/codemode-core": patch
"@executor-js/config": patch
"@executor-js/execution": patch
"@executor-js/plugin-file-secrets": patch
"@executor-js/plugin-graphql": patch
"@executor-js/plugin-keychain": patch
"@executor-js/plugin-mcp": patch
"@executor-js/plugin-onepassword": patch
"@executor-js/plugin-openapi": patch
"@executor-js/runtime-quickjs": patch
"@executor-js/sdk": patch
"executor": patch
---

Move `effect` from `dependencies` to `peerDependencies` in the published library packages so consumers provide a single shared Effect instance.
5 changes: 4 additions & 1 deletion apps/cli/release-notes/next.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
- Retrying OAuth sign-in no longer starts an avoidable second Dynamic Client Registration request.
- Reconnecting an OAuth source keeps the previously registered DCR scope list intact.
- MCP sources now describe output types as Executor's full successful `CallToolResult` data shape instead of only the upstream `structuredContent` schema.
- Published `@executor-js/*` libraries now use the consumer's `effect` dependency instead of installing their own copy, avoiding duplicated Effect service identity. Thanks @aryasaatvik (#876)

## Breaking changes

None.
### Published package consumers

Published `@executor-js/*` libraries now declare `effect` as a peer dependency. If you install these libraries directly, make sure your app has `effect` installed as a direct dependency.
48 changes: 36 additions & 12 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion packages/core/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,19 @@
},
"dependencies": {
"@executor-js/sdk": "workspace:*",
"effect": "catalog:",
"jiti": "^2.6.1",
"jsonc-parser": "^3.3.1"
},
"devDependencies": {
"@effect/platform-node": "catalog:",
"@effect/vitest": "catalog:",
"@types/node": "catalog:",
"effect": "catalog:",
"tsup": "catalog:",
"typescript": "catalog:",
"vitest": "catalog:"
},
"peerDependencies": {
"effect": "catalog:"
}
}
7 changes: 5 additions & 2 deletions packages/core/execution/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,19 @@
},
"dependencies": {
"@executor-js/codemode-core": "workspace:*",
"@executor-js/sdk": "workspace:*",
"effect": "catalog:"
"@executor-js/sdk": "workspace:*"
},
"devDependencies": {
"@effect/vitest": "catalog:",
"@executor-js/runtime-quickjs": "workspace:*",
"@types/node": "catalog:",
"bun-types": "catalog:",
"effect": "catalog:",
"tsup": "catalog:",
"typescript": "catalog:",
"vitest": "catalog:"
},
"peerDependencies": {
"effect": "catalog:"
}
}
3 changes: 2 additions & 1 deletion packages/core/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
},
"dependencies": {
"@standard-schema/spec": "^1.1.0",
"effect": "catalog:",
"fractional-indexing": "^3.2.0",
"fumadb": "workspace:*",
"oauth4webapi": "^3.8.5"
Expand All @@ -93,6 +92,7 @@
"@types/node": "catalog:",
"@types/react": "catalog:",
"drizzle-orm": "catalog:",
"effect": "catalog:",
"react": "catalog:",
"tsup": "catalog:",
"typescript": "catalog:",
Expand All @@ -101,6 +101,7 @@
"peerDependencies": {
"@effect/atom-react": "catalog:",
"@effect/platform-node": "catalog:",
"effect": "catalog:",
"react": "catalog:"
},
"peerDependenciesMeta": {
Expand Down
5 changes: 4 additions & 1 deletion packages/kernel/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,18 @@
"@standard-schema/spec": "^1.0.0",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"effect": "catalog:",
"sucrase": "^3.35.1"
},
"devDependencies": {
"@effect/vitest": "catalog:",
"@types/node": "catalog:",
"bun-types": "catalog:",
"effect": "catalog:",
"tsup": "catalog:",
"typescript": "catalog:",
"vitest": "catalog:"
},
"peerDependencies": {
"effect": "catalog:"
}
}
Loading
Loading