@devries-cameron20 / composio-1 / commits / 0ddc978a9
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

chore(cli): migrate to Effect 4.0.3 (#4833)

This PR: - moves the CLI, cli-keyring and JSON-schema tooling to the exact Effect 4.0.3 release, with narrow release-age exceptions and a regenerated lockfile - migrates HTTP, CLI, process, arbitrary and encoding imports to the stable module paths and updates the corresponding API calls - updates command tests, lint guidance and compile-checked agent examples for the supported runtime - keeps the existing Promise client and its credential, provenance, metrics and output behavior while preparing integration with https://github.com/ComposioHQ/composio-client/pull/73 ## Validation - Root typecheck: all 14 tasks pass; lint, agent-skill validation, routing validation and seven compiled skill examples pass. - Against the locally packed client candidate: 1,400 CLI tests pass (one existing skip), 1,797 core SDK tests pass (two expected failures), and all 14 typecheck tasks pass without cache reuse. - Direct Effect-client smoke checks pass for typed and raw calls, credential swapping, provenance, silent deprecation handling, streams, decoding, filtered status errors and retry/byte metrics, using the same physical Effect 4.0.3 module as the CLI. - Compiled CLI and companion bundles build; executable import guards, --version and --help pass. - Eight offline Docker CLI suites pass against a freshly built image tagged effect403-620c7be33: 89 tests, zero failures. The credential-dependent whoami suite was excluded. The framework now parses negative numeric arguments as values; this is recorded in the CLI changelog. The vendor snapshot remains on rc.117 and its documented source paths lag the installed package. CLI call-site migration to @composio/client/effect and a release-candidate pin remain follow-up work. No production API calls were used for validation.

Alberto Schiabel committed Oct 13, 2026 at 16:18 UTC 0ddc978a928260575c77cf1ffd61ac2185bce1fe
130 files changed +492 -263
.agents/skills/cli-command/SKILL.md
+1 -1
@@ -1,6 +1,6 @@
1 ---
2 name: cli-command
3 -description: Design, implement, or review Composio CLI commands under ts/packages/cli using Effect, effect/unstable/cli, services, output conventions, configuration and environment variables, and local vendor references. Use for CLI command UX, command wiring, service changes, or CLI source edits. Do not use for CLI E2E-only work; use cli-e2e there.
3 +description: Design, implement, or review Composio CLI commands under ts/packages/cli using Effect, effect/cli, services, output conventions, configuration and environment variables, and local vendor references. Use for CLI command UX, command wiring, service changes, or CLI source edits. Do not use for CLI E2E-only work; use cli-e2e there.
4 ---
5
6 # CLI Command
.agents/skills/cli-command/references/implementation.md
+4 -4
@@ -8,12 +8,12 @@
8
9 ## Effect Patterns
10
11 -The CLI is on `effect@4.0.0-rc.117` (exact pin) plus `@effect/platform-bun`/`@effect/vitest` at the same version. `@effect/cli` and `@effect/platform` no longer exist as separate deps — their functionality is consolidated into `effect`'s barrel and `effect/unstable/*` submodules.
11 +The CLI is on `effect@4.0.3` (exact pin) plus `@effect/platform-bun`/`@effect/vitest` at the same version. `@effect/cli` and `@effect/platform` no longer exist as separate deps — their functionality is consolidated into `effect`'s barrel and `effect/*` submodules.
12
13 Common shape, from `ts/packages/cli/src/commands/tools/commands/tools.list.cmd.ts`:
14
15 ```typescript
16 -import { Argument, Command, Flag } from 'effect/unstable/cli';
16 +import { Argument, Command, Flag } from 'effect/cli';
17 import { Effect, Option } from 'effect';
18
19 const toolkit = Argument.String('toolkit').pipe(
@@ -40,7 +40,7 @@ export const myCmd = Command.make(
40 ).pipe(Command.withDescription('...'));
41 ```
42
43 -`Args`/`Options` (v3 `@effect/cli`) are gone — use `Argument` for positionals and `Flag` for named options, both from `effect/unstable/cli`. Constructors are capitalized (`Argument.String`, `Flag.String`/`.Boolean`/`.Int`/`.Literals`); `Argument.variadic()` remains lowercase and must be called rather than piped as a bare reference. Combinators remain lowercase (`.withDefault`/`.withDescription`/`.withAlias`/`.optional`). Optional flags read via `Option.getOrUndefined(...)`/`Option.isSome(...)`, matching the `query`/`tags` pattern above.
43 +`Args`/`Options` (v3 `@effect/cli`) are gone — use `Argument` for positionals and `Flag` for named options, both from `effect/cli`. Constructors are capitalized (`Argument.String`, `Flag.String`/`.Boolean`/`.Int`/`.Literals`); `Argument.variadic()` remains lowercase and must be called rather than piped as a bare reference. Combinators remain lowercase (`.withDefault`/`.withDescription`/`.withAlias`/`.optional`). Optional flags read via `Option.getOrUndefined(...)`/`Option.isSome(...)`, matching the `query`/`tags` pattern above.
44
45 Follow existing local patterns before introducing new service abstractions.
46
@@ -50,7 +50,7 @@ Follow existing local patterns before introducing new service abstractions.
50
51 - Path arithmetic → `Path` service from `effect/Path` (`const path = yield* Path.Path`).
52 - Filesystem I/O → `FileSystem` service from `effect/FileSystem` (`const fs = yield* FileSystem.FileSystem`).
53 -- homedir/tmpdir/platform/arch → the `NodeOs` service (`src/services/node-os.ts`, a `Context.Service` with a `static readonly Default` layer); subprocesses → `ChildProcess`/`ChildProcessSpawner` from `effect/unstable/process`, or `services/detached-process.ts` for children that outlive the CLI.
53 +- homedir/tmpdir/platform/arch → the `NodeOs` service (`src/services/node-os.ts`, a `Context.Service` with a `static readonly Default` layer); subprocesses → `ChildProcess`/`ChildProcessSpawner` from `effect/process`, or `services/detached-process.ts` for children that outlive the CLI.
54 - Environment reads → `effect/Config`; sync fallible ops (`JSON.parse`, `new URL`) → `Result.try` with a `Data.TaggedError` (JSON records via `parseJsonRecord` in `src/utils/parse-json.ts`, which returns `Result.Result<Record<string, unknown>, JsonParsingError>`; a `Result` is not yieldable in v4 even though it typechecks, so lift it with `yield* Effect.fromResult(parseJsonRecord(raw))`).
55 - Helpers that cannot become Effects (sync callbacks, promise pipelines) take the resolved service instance as a plain parameter instead of importing Node builtins.
56
.agents/skills/effect-v4/SKILL.md
+11 -8
@@ -1,19 +1,19 @@
1 ---
2 name: effect-v4
3 -description: Write, review, or upgrade Effect v4 code in the Composio CLI, cli-keyring, and json-schema-to-effect-schema packages, all pinned exactly to effect@4.0.0-rc.117 — Context.Service and explicit layers, Schema.TaggedError and typed recovery, the effect/unstable/cli command surface, and the vendored effect source oracle. Use when writing or reviewing Effect v4 code, answering a v4 API question, working in effect/unstable/cli, defining a Context.Service service, modeling an error with Schema.TaggedError, bumping the Effect prerelease pins, or verifying an unfamiliar API against ts/vendor/effect. Do not use for CLI command UX/wiring design (use cli-command) or CLI E2E tests (use cli-e2e).
3 +description: Write, review, or upgrade Effect v4 code in the Composio CLI, cli-keyring, and json-schema-to-effect-schema packages, all pinned exactly to effect@4.0.3 — Context.Service and explicit layers, Schema.TaggedError and typed recovery, the effect/cli command surface, and the vendored effect source oracle. Use when writing or reviewing Effect v4 code, answering a v4 API question, working in effect/cli, defining a Context.Service service, modeling an error with Schema.TaggedError, bumping the Effect pins, or verifying an unfamiliar API against ts/vendor/effect. Do not use for CLI command UX/wiring design (use cli-command) or CLI E2E tests (use cli-e2e).
4 ---
5
6 # Effect v4
7
8 The CLI, `@composio/cli-keyring`, and `@composio/json-schema-to-effect-schema` run on
9 -Effect v4 (release candidate). Every claim below is grounded in the migrated source, not memory of v3.
9 +Effect v4. Every claim below is grounded in the migrated source, not memory of v3.
10
11 ## Exact version matrix
12
13 `effect`, `@effect/platform-bun`, and `@effect/vitest`
14 -are pinned to the **same exact** `4.0.0-rc.117` — never `^`, `@next`, or a mismatched
15 -prerelease across packages. `@effect/cli` and `@effect/platform` no longer exist as
16 -dependencies; their surfaces are consolidated into `effect` and `effect/unstable/*`.
14 +are pinned to the **same exact** `4.0.3` — never `^`, `@next`, or a mismatched
15 +version across packages. `@effect/cli` and `@effect/platform` no longer exist as
16 +dependencies; their surfaces are consolidated into `effect` and `effect/*`.
17 See [versions.json](versions.json) for the full matrix (also `typescript`, `vitest`).
18
19 ## Read next
@@ -21,11 +21,11 @@ See [versions.json](versions.json) for the full matrix (also `typescript`, `vite
21 - [references/core-patterns.md](references/core-patterns.md) — services, layers, typed
22 errors, Schema, choosing between `Effect.gen` and `Effect.fn`, and the v3→v4 rename table
23 (labeled historical, for recognizing stale patterns).
24 -- [references/cli-surface.md](references/cli-surface.md) — `effect/unstable/cli`:
24 +- [references/cli-surface.md](references/cli-surface.md) — `effect/cli`:
25 `Command`, `Flag`, `Argument`, `GlobalFlag`, `CliConfig`, the custom
26 `CliOutput.Formatter`, and the runner's double-print rule.
27 - [references/upgrade-workflow.md](references/upgrade-workflow.md) — procedure for
28 - bumping to a newer prerelease.
28 + bumping to a newer release.
29
30 Code excerpts in those references are short quotes from real, currently-compiling repo
31 files (path cited at each excerpt) — not standalone examples. The compile-checked
@@ -51,7 +51,10 @@ trust the file and fix the reference.
51 ESLint bans them in `ts/packages/cli/src`.
52 - Treat every remembered v3 package name and API as wrong until verified against
53 `ts/vendor/effect` (read-only source oracle — never edit or import from it) and the
54 - installed `effect@4.0.0-rc.117` typings. Source may be ahead of the published package;
54 + installed `effect@4.0.3` typings. The vendored source is still the `effect@4.0.0-rc.117`
55 + commit, which predates the 4.0.0 module rename: what npm exports as `effect/cli`,
56 + `effect/http` and `effect/process` sits under `src/unstable/` there. Where the two disagree,
57 + the installed typings win;
58 the compiler is the compatibility gate.
59
60 ## Verification
.agents/skills/effect-v4/references/cli-surface.md
+5 -5
@@ -1,6 +1,6 @@
1 -# effect/unstable/cli surface, as used in this repo
1 +# effect/cli surface, as used in this repo
2
3 -`@effect/cli` no longer exists. The CLI framework lives under `effect/unstable/cli`:
3 +`@effect/cli` no longer exists. The CLI framework lives under `effect/cli`:
4 `Command`, `Flag` (was `Options`), `Argument` (was `Args`), `GlobalFlag` (was
5 `BuiltInOptions`), `CliConfig`, `CliOutput`, `CliError` (was `ValidationError`/
6 `HelpDoc`). Ground truth for this reference is
@@ -10,7 +10,7 @@ full module docstrings before touching the runner, not just the excerpts below.
10 ## Command shape
11
12 ```ts
13 -import { Command } from 'effect/unstable/cli';
13 +import { Command } from 'effect/cli';
14
15 declare const toolsCmd$List: Command.Command<'list', {}, never, never>;
16 declare const toolsCmd$Info: Command.Command<'info', {}, never, never>;
@@ -36,7 +36,7 @@ v4's `CliConfig.Service` shrank to one field, `builtIns` — the ordered list of
36 global flags. `ts/packages/cli/src/cli-config.ts`:
37
38 ```ts
39 -import { GlobalFlag, type CliConfig } from 'effect/unstable/cli';
39 +import { GlobalFlag, type CliConfig } from 'effect/cli';
40
41 export const ComposioCliConfig = {
42 builtIns: [GlobalFlag.Help],
@@ -119,7 +119,7 @@ prefix internally. `cli-main.ts` still passes the _full_ `process.argv` into
119 boundary without updating both sides together.
120
121 Composio also does argv rewriting _before_ the parser ever sees the tokens, for cases
122 -`effect/unstable/cli`'s lexer cannot express on its own — e.g. `composio run`'s
122 +`effect/cli`'s lexer cannot express on its own — e.g. `composio run`'s
123 passthrough of arbitrary `-`-prefixed tokens to the spawned script (the lexer treats
124 every `-`-prefixed token as an option unless a literal `--` precedes it, and that `--`
125 split does not propagate into subcommands). Look at `normalizeRunPassthroughArgs` and
.agents/skills/effect-v4/references/core-patterns.md
+1 -1
@@ -200,7 +200,7 @@ needs translation.
200 | -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
201 | `Context.Tag`, `Context.GenericTag`, `Effect.Service` | `Context.Service` |
202 | generated `.Default` layer | explicit static `Default`/`layer` you define with `Layer.succeed`/`Layer.effect`/`Layer.provide` |
203 -| `@effect/cli`, `@effect/platform` | `effect/unstable/cli`, `effect` core / `effect/unstable/*` |
203 +| `@effect/cli`, `@effect/platform` | `effect/cli`, `effect` core / `effect/*` |
204 | `Effect.catchAll` / `catchAllCause` / `catchAllDefect` / `catchSome` | `Effect.catch` / `catchCause` / `catchDefect` / `catchFilter` |
205 | `Either` | `Result` (not Effect-yieldable directly — wrap with `Effect.fromResult(...)` inside `Effect.gen`) |
206 | `ParseResult.ParseError`, `ParseResult.*` | `Schema.SchemaError`, `SchemaIssue.*` |
.agents/skills/effect-v4/references/upgrade-workflow.md
+8 -5
@@ -1,7 +1,7 @@
1 -# Bumping the Effect v4 prerelease pin
1 +# Bumping the Effect v4 pin
2
3 Adapted from the pre-migration prep work's stop-conditions, updated for the fact the
4 -cutover is now done: this is a prerelease-to-prerelease upgrade procedure, not a v3→v4 port.
4 +cutover is now done: this is a release-to-release upgrade procedure, not a v3→v4 port.
5
6 ## 1. Check `minimumReleaseAge`
7
@@ -34,7 +34,10 @@ the existing convention, not a new rule.
34 `ts/vendor/effect` is a git submodule pinned at a commit on the canonical
35 `Effect-TS/effect` repo, currently
36 `14a3f140095fdebbff9162944fe7d4ea83e054e6` (tagged `effect@4.0.0-rc.117`
37 -at the time of writing — confirm with `git submodule status ts/vendor/effect`). Advance
37 +at the time of writing — confirm with `git submodule status ts/vendor/effect`). The npm
38 +pins moved to `4.0.3` without advancing it, so the oracle currently lags the installed
39 +package and still keeps the `effect/cli`, `effect/http` and `effect/process` sources under
40 +`src/unstable/`. Advance
41 it to the commit/tag matching the new npm version:
42
43 ```bash
@@ -60,10 +63,10 @@ pnpm --filter @composio/cli build
63
64 Also run the CLI's Docker-based end-to-end suite (see the repo-local `cli-e2e` skill)
65 before treating the bump as done — a green typecheck is necessary but not sufficient;
63 -CLI parsing, help rendering, and error output can change between prereleases while types stay
66 +CLI parsing, help rendering, and error output can change between releases while types stay
67 valid. Cross-check any API you touch during the bump against the freshly-advanced
68 `ts/vendor/effect/packages/effect/src` and the installed `effect` typings, not against
66 -what compiled under the old prerelease.
69 +what compiled under the old release.
70
71 ## Stop conditions
72
.agents/skills/effect-v4/scripts/check-examples.mjs
+2 -2
@@ -20,10 +20,10 @@ for (const [packageName, version] of Object.entries(versions)) {
20
21 const effectVersion = versions.effect;
22 if (
23 - !/^4\.0\.0-(?:beta|rc)\.\d+$/.test(effectVersion) ||
23 + !/^4\.\d+\.\d+(?:-(?:beta|rc)\.\d+)?$/.test(effectVersion) ||
24 effectPackageNames.some(packageName => versions[packageName] !== effectVersion)
25 ) {
26 - throw new Error(`Effect packages must share one exact v4 prerelease, received ${effectVersion}`);
26 + throw new Error(`Effect packages must share one exact v4 version, received ${effectVersion}`);
27 }
28
29 const dependencySpecs = [
.agents/skills/effect-v4/versions.json
+3 -3
@@ -1,7 +1,7 @@
1 {
2 - "effect": "4.0.0-rc.117",
3 - "@effect/platform-bun": "4.0.0-rc.117",
4 - "@effect/vitest": "4.0.0-rc.117",
2 + "effect": "4.0.3",
3 + "@effect/platform-bun": "4.0.3",
4 + "@effect/vitest": "4.0.3",
5 "@types/node": "26.6.2",
6 "typescript": "6.0.2",
7 "vitest": "5.0.1"
.agents/skills/typescript-testing/SKILL.md
+1 -1
@@ -1,6 +1,6 @@
1 ---
2 name: typescript-testing
3 -description: Select and run TypeScript SDK verification for packages, examples, type checks, linting, builds, Vitest suites, Effect v4 CLI tests, and runtime E2E tests. Use when adding tests, diagnosing TypeScript CI, choosing a focused test command, validating TypeScript package changes, or writing/porting CLI tests against effect@4.0.0-rc.117 and @effect/vitest. Do not use for Python-only checks.
3 +description: Select and run TypeScript SDK verification for packages, examples, type checks, linting, builds, Vitest suites, Effect v4 CLI tests, and runtime E2E tests. Use when adding tests, diagnosing TypeScript CI, choosing a focused test command, validating TypeScript package changes, or writing/porting CLI tests against effect@4.0.3 and @effect/vitest. Do not use for Python-only checks.
4 ---
5
6 # TypeScript Testing
.agents/skills/typescript-testing/references/effect-v4-cli.md
+6 -6
@@ -1,12 +1,12 @@
1 # Effect v4 CLI testing
2
3 -The CLI test suite (`ts/packages/cli/test/`) runs on `effect@4.0.0-rc.117` and
4 -`@effect/vitest@4.0.0-rc.117` (pinned exactly, matching `ts/packages/cli/package.json` and the
3 +The CLI test suite (`ts/packages/cli/test/`) runs on `effect@4.0.3` and
4 +`@effect/vitest@4.0.3` (pinned exactly, matching `ts/packages/cli/package.json` and the
5 workspace catalog in `pnpm-workspace.yaml`). `@effect/cli` and `@effect/platform` no longer exist
6 -as dependencies — their functionality moved into `effect`/`effect/unstable/*`. Read
6 +as dependencies — their functionality moved into `effect`/`effect/*`. Read
7 `ts/packages/cli/test/__utils__/services/test-layer.ts` before writing a new test suite; it is the
8 canonical example of every pattern below. For source-side v4 conventions (service definitions,
9 -typed errors, the `effect/unstable/cli` command surface) rather than test-specific ones, use the
9 +typed errors, the `effect/cli` command surface) rather than test-specific ones, use the
10 repo-local `effect-v4` skill.
11
12 ## Runner APIs
@@ -106,7 +106,7 @@ choice.
106 everything downstream (see the `ConfigProvider` comment in `test-layer.ts` for the bug this
107 distinction fixed).
108 - `TestClock` lives under `effect/testing`. The FastCheck bridge was removed in rc.113; native
109 - arbitrary generation lives under `effect/unstable/arbitrary/Arbitrary`.
109 + arbitrary generation lives under `effect/Arbitrary`.
110
111 ## CLI behavior matrix
112
@@ -115,7 +115,7 @@ Port tests by contract, not file count:
115 - root and subcommand help, version, built-ins, aliases, and flag collisions;
116 - required, optional, repeated, invalid, and dash-leading arguments, including `--`;
117 - stdout data versus stderr decoration in interactive and piped modes;
118 -- CLI framework errors (`effect/unstable/cli`'s `CliError`) versus Composio domain error
118 +- CLI framework errors (`effect/cli`'s `CliError`) versus Composio domain error
119 (`Data.TaggedError`) rendering and exit-code mapping;
120 - shared service layers, config providers, filesystem/process adapters, interruption, time, and
121 cleanup;
.agents/skills/typescript-testing/references/test-commands.md
+1 -1
@@ -39,7 +39,7 @@ pnpm --filter @composio/<provider> typecheck
39
40 ## CLI Effect v4 tests
41
42 -`ts/packages/cli` tests run on `effect@4.0.0-rc.117` and a matching `@effect/vitest` (both pinned
42 +`ts/packages/cli` tests run on `effect@4.0.3` and a matching `@effect/vitest` (both pinned
43 exactly in `pnpm-workspace.yaml`). Read [effect-v4-cli.md](effect-v4-cli.md) before writing or
44 porting a CLI test — it covers `it.effect`/`layer(...)` usage, explicit per-service test layers
45 (v4's `Context.Service` has no auto-generated `.Default` the way v3's `Effect.Service` did), and
.oxlintrc.json
+4 -4
@@ -129,11 +129,11 @@
129 { "name": "node:buffer", "message": "Use Uint8Array instead." },
130 {
131 "name": "child_process",
132 - "message": "Use ChildProcess from effect/unstable/process instead."
132 + "message": "Use ChildProcess from effect/process instead."
133 },
134 {
135 "name": "node:child_process",
136 - "message": "Use ChildProcess from effect/unstable/process instead."
136 + "message": "Use ChildProcess from effect/process instead."
137 },
138 {
139 "name": "fs",
@@ -245,11 +245,11 @@
245 { "name": "node:buffer", "message": "Use Uint8Array instead." },
246 {
247 "name": "child_process",
248 - "message": "Use ChildProcess from effect/unstable/process instead."
248 + "message": "Use ChildProcess from effect/process instead."
249 },
250 {
251 "name": "node:child_process",
252 - "message": "Use ChildProcess from effect/unstable/process instead."
252 + "message": "Use ChildProcess from effect/process instead."
253 },
254 {
255 "name": "fs",
pnpm-lock.yaml
+284 -60
@@ -31,14 +31,14 @@ catalogs:
31 specifier: 2.0.0-rc.11
32 version: 2.0.0-rc.11
33 '@effect/language-service':
34 - specifier: ^0.87.2
35 - version: 0.87.2
34 + specifier: ^0.87.4
35 + version: 0.87.4
36 '@effect/platform-bun':
37 - specifier: 4.0.0-rc.117
38 - version: 4.0.0-rc.117
37 + specifier: 4.0.3
38 + version: 4.0.3
39 '@effect/vitest':
40 - specifier: 4.0.0-rc.117
41 - version: 4.0.0-rc.117
40 + specifier: 4.0.3
41 + version: 4.0.3
42 '@mastra/core':
43 specifier: 1.53.0
44 version: 1.53.0
@@ -58,8 +58,8 @@ catalogs:
58 specifier: ^18.0.2
59 version: 18.0.3
60 effect:
61 - specifier: 4.0.0-rc.117
62 - version: 4.0.0-rc.117
61 + specifier: 4.0.3
62 + version: 4.0.3
63 hono:
64 specifier: ^4.13.8
65 version: 4.13.9
@@ -927,7 +927,7 @@ importers:
927 version: 1.32.0(@cfworker/json-schema@4.1.1)(zod@4.5.4)
928 '@openai/agents':
929 specifier: ^0.18.0
930 - version: 0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(supports-color@10.2.2)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4)
930 + version: 0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(supports-color@10.2.2)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4)
931 dotenv:
932 specifier: 'catalog:'
933 version: 18.0.3
@@ -998,16 +998,16 @@ importers:
998 version: link:../../packages/providers/vercel
999 '@langchain/anthropic':
1000 specifier: ^1.5.11
1001 - version: 1.5.11(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3))
1001 + version: 1.5.11(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))
1002 '@langchain/mcp-adapters':
1003 specifier: ^1.1.4
1004 - version: 1.1.4(@cfworker/json-schema@4.1.1)(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3))(@langchain/langgraph@1.4.18(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3))(zod@4.5.4))(supports-color@10.2.2)
1004 + version: 1.1.4(@cfworker/json-schema@4.1.1)(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))(@langchain/langgraph@1.4.18(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))(zod@4.5.4))(supports-color@10.2.2)
1005 '@langchain/openai':
1006 specifier: ^1.5.13
1007 - version: 1.5.13(@aws-sdk/credential-provider-node@3.972.84)(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3))(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)
1007 + version: 1.5.13(@aws-sdk/credential-provider-node@3.972.84)(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)
1008 '@openai/agents':
1009 specifier: ^0.18.0
1010 - version: 0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(supports-color@10.2.2)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4)
1010 + version: 0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4)
1011 ai:
1012 specifier: 'catalog:'
1013 version: 7.0.114(zod@4.5.4)
@@ -1016,7 +1016,7 @@ importers:
1016 version: 18.0.3
1017 langchain:
1018 specifier: ^1.5.12
1019 - version: 1.5.12(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3))(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3)
1019 + version: 1.5.12(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0)
1020 openai:
1021 specifier: 'catalog:'
1022 version: 7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4)
@@ -1218,10 +1218,10 @@ importers:
1218 version: link:../ts-builders
1219 '@effect/platform-bun':
1220 specifier: 'catalog:'
1221 - version: 4.0.0-rc.117(effect@4.0.0-rc.117)
1221 + version: 4.0.3(effect@4.0.3)
1222 effect:
1223 specifier: 'catalog:'
1224 - version: 4.0.0-rc.117
1224 + version: 4.0.3
1225 extract-zip:
1226 specifier: ^2.0.1
1227 version: 2.0.1(supports-color@10.2.2)
@@ -1261,10 +1261,10 @@ importers:
1261 devDependencies:
1262 '@effect/language-service':
1263 specifier: 'catalog:'
1264 - version: 0.87.2
1264 + version: 0.87.4
1265 '@effect/vitest':
1266 specifier: 'catalog:'
1267 - version: 4.0.0-rc.117(effect@4.0.0-rc.117)(vitest@5.0.1)
1267 + version: 4.0.3(effect@4.0.3)(vitest@5.0.1)
1268 '@types/bun':
1269 specifier: 'catalog:'
1270 version: 1.4.2
@@ -1297,7 +1297,7 @@ importers:
1297 version: 1.4.2
1298 effect:
1299 specifier: 'catalog:'
1300 - version: 4.0.0-rc.117
1300 + version: 4.0.3
1301 tsdown:
1302 specifier: 'catalog:'
1303 version: 0.23.0(@arethetypeswrong/core@0.18.5)(publint@0.3.24)(tsx@4.23.15)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.3))
@@ -1392,7 +1392,7 @@ importers:
1392 version: link:../core
1393 '@earendil-works/pi-coding-agent':
1394 specifier: ^0.87.0
1395 - version: 0.87.1(@modelcontextprotocol/sdk@1.32.0(@cfworker/json-schema@4.1.1)(zod@4.5.4))(supports-color@10.2.2)(ws@8.21.3)(zod@4.5.4)
1395 + version: 0.87.1(@modelcontextprotocol/sdk@1.32.0(@cfworker/json-schema@4.1.1)(zod@4.5.4))(supports-color@10.2.2)(ws@8.22.0)(zod@4.5.4)
1396 eve:
1397 specifier: ^0.63.0
1398 version: 0.63.0(@opentelemetry/api@1.9.1)(ai@7.0.114(zod@4.5.4))
@@ -1416,7 +1416,7 @@ importers:
1416 version: 4.1.1
1417 effect:
1418 specifier: 'catalog:'
1419 - version: 4.0.0-rc.117
1419 + version: 4.0.3
1420 devDependencies:
1421 '@composio/json-schema-to-zod':
1422 specifier: workspace:*
@@ -1565,7 +1565,7 @@ importers:
1565 version: link:../../core
1566 '@langchain/core':
1567 specifier: ^1.2.12
1568 - version: 1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3)
1568 + version: 1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4))(ws@8.22.0)
1569 tsdown:
1570 specifier: 'catalog:'
1571 version: 0.23.0(@arethetypeswrong/core@0.18.5)(publint@0.3.24)(tsx@4.23.15)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.3))
@@ -1648,7 +1648,7 @@ importers:
1648 version: link:../../core
1649 '@openai/agents':
1650 specifier: ^0.18.0
1651 - version: 0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(supports-color@10.2.2)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4)
1651 + version: 0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4)
1652 tsdown:
1653 specifier: 'catalog:'
1654 version: 0.23.0(@arethetypeswrong/core@0.18.5)(publint@0.3.24)(tsx@4.23.15)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.3))
@@ -2313,25 +2313,25 @@ packages:
2313 resolution: {integrity: sha512-YEH2vRyOeiO7hhN6j6AE6YwKSq2Kz2f3XR8bj1TbR+aGE/JsnY1hLPMI2pvaZfRM1n9Y00tejxFQ4zbzvF7nkQ==}
2314 engines: {node: '>=22.19.0'}
2315
2316 - '@effect/language-service@0.87.2':
2317 - resolution: {integrity: sha512-CfiSoaVQO8pZgaMZGw5VvMvRGybsJ2LaSDoLYaqiVGvo/YYPYVR2GzUKY0h1NtIweq/+SQ5XLrvtzPIttWQ0GQ==}
2316 + '@effect/language-service@0.87.4':
2317 + resolution: {integrity: sha512-AfFn4K45l84LtbQSwoPWc06nrg7OzfV3uJOnIUqimSOWTCIsY1IKBXZfjSsVTq7jDuL9Jtoz8//bZp9+rkEihg==}
2318 hasBin: true
2319
2320 - '@effect/platform-bun@4.0.0-rc.117':
2321 - resolution: {integrity: sha512-jyvoxPjT9562z5Tc2gib9GB16jcgh43jhpsuNQxs9B8WJ7RB2doPBQdrYLSSWRodGPLJBKJGzToRRbJiaGblsw==}
2320 + '@effect/platform-bun@4.0.3':
2321 + resolution: {integrity: sha512-Pl2TXjRTRRvGxtGfYWW8L+B1qkZo8mEx7Itvo2lUd15OQPZGDE111S6JDm9EgGfDK3BUz3sbyNeQD687GQm2iQ==}
2322 peerDependencies:
2323 - effect: ^4.0.0-rc.117
2323 + effect: ^4.0.3
2324
2325 - '@effect/platform-node-shared@4.0.0-rc.117':
2326 - resolution: {integrity: sha512-GyRkEfLBG49MwJe+/XDPiXYcQ44RA9p2z0AurlsWhR1cd1PqOUMEZU1pORL+/R5hR8aH6ZuqoJYD8lAc6h+wlA==}
2325 + '@effect/platform-node-shared@4.0.3':
2326 + resolution: {integrity: sha512-5srkJfmWklWSgwZwlkMeTXobfNtxuwuTCvY9JWdPXRv/PBXAe5kKSptzRxT778oFFsaE9IMI8X61pvkifT9Eug==}
2327 engines: {node: '>=18.0.0'}
2328 peerDependencies:
2329 - effect: ^4.0.0-rc.117
2329 + effect: ^4.0.3
2330
2331 - '@effect/vitest@4.0.0-rc.117':
2332 - resolution: {integrity: sha512-jJg9M7T3OhTcvoD9Zi28S5+0H+axlSHAYjXM8TYeLJy/FVlPe0B/Vc3ZfaqUF0rwkfQ6ziyCdjiBS46+182H1Q==}
2331 + '@effect/vitest@4.0.3':
2332 + resolution: {integrity: sha512-jsIkpssf0CFuOeycW2sQZkWx0qzlsRv+JIkzd9qQpoFDcHC9JZFSdIjEBAhsdp20pDy4Y/b2vT/ew7wXZxvEig==}
2333 peerDependencies:
2334 - effect: ^4.0.0-rc.117
2334 + effect: ^4.0.3
2335 vitest: '>=5.0.0 <6.0.0'
2336
2337 '@emnapi/core@1.11.2':
@@ -3889,6 +3889,9 @@ packages:
3889 '@types/ws@8.18.1':
3890 resolution: {integrity: sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==}
3891
3892 + '@types/ws@8.18.2':
3893 + resolution: {integrity: sha512-67MQl+fpWKVTT1NYdnmo3U4sc/xPo/zQBncVnI74qmQa0z/b+1g6iYqNmGCPbxO+zz2aklb08a0oHfegiVd0/w==}
3894 +
3895 '@types/yauzl@2.10.3':
3896 resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==}
3897
@@ -4586,8 +4589,8 @@ packages:
4589 ee-first@1.1.1:
4590 resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==}
4591
4589 - effect@4.0.0-rc.117:
4590 - resolution: {integrity: sha512-UUyi9QiOW4nySFIBM3KnYbNMd9EZliOdKfBcyLD0mPMPheO2fkuXS5y0opjWc9oqzlJxPQICEGm8gGw3kh9j/w==}
4592 + effect@4.0.3:
4593 + resolution: {integrity: sha512-LoWn/Uwwx0JjHSDmBAAahx8sB+klzM6vsZovnbYowBNw6B4QScJLRLBByO61plvNiycx7HPN8FnsWUCu0eXW5w==}
4594
4595 emoji-regex@8.0.0:
4596 resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
@@ -6460,6 +6463,18 @@ packages:
6463 utf-8-validate:
6464 optional: true
6465
6466 + ws@8.22.0:
6467 + resolution: {integrity: sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg==}
6468 + engines: {node: '>=10.0.0'}
6469 + peerDependencies:
6470 + bufferutil: ^4.0.1
6471 + utf-8-validate: '>=5.0.2'
6472 + peerDependenciesMeta:
6473 + bufferutil:
6474 + optional: true
6475 + utf-8-validate:
6476 + optional: true
6477 +
6478 wsl-utils@1.0.0:
6479 resolution: {integrity: sha512-Hl0ZOAs672vg+06kfujwRhoS6/jehvULrlFkuF2dRu6pHgA8U06h3xqNIqNNU1LTXPcedxByAR4GS6pwQK0mgA==}
6480 engines: {node: '>=20'}
@@ -7256,10 +7271,10 @@ snapshots:
7271 dependencies:
7272 esbuild: 0.28.2
7273
7259 - '@earendil-works/pi-agent-core@0.87.1(@modelcontextprotocol/sdk@1.32.0(@cfworker/json-schema@4.1.1)(zod@4.5.4))(ws@8.21.3)(zod@4.5.4)':
7274 + '@earendil-works/pi-agent-core@0.87.1(@modelcontextprotocol/sdk@1.32.0(@cfworker/json-schema@4.1.1)(zod@4.5.4))(ws@8.22.0)(zod@4.5.4)':
7275 dependencies:
7276 '@earendil-works/chord': 0.87.1
7262 - '@earendil-works/pi-ai': 0.87.1(@modelcontextprotocol/sdk@1.32.0(@cfworker/json-schema@4.1.1)(zod@4.5.4))(supports-color@10.2.2)(ws@8.21.3)(zod@4.5.4)
7277 + '@earendil-works/pi-ai': 0.87.1(@modelcontextprotocol/sdk@1.32.0(@cfworker/json-schema@4.1.1)(zod@4.5.4))(ws@8.22.0)(zod@4.5.4)
7278 '@earendil-works/pi-telemetry': 0.87.1
7279 diff: 8.0.4
7280 ignore: 7.0.8
@@ -7295,10 +7310,31 @@ snapshots:
7310 - ws
7311 - zod
7312
7298 - '@earendil-works/pi-coding-agent@0.87.1(@modelcontextprotocol/sdk@1.32.0(@cfworker/json-schema@4.1.1)(zod@4.5.4))(supports-color@10.2.2)(ws@8.21.3)(zod@4.5.4)':
7313 + '@earendil-works/pi-ai@0.87.1(@modelcontextprotocol/sdk@1.32.0(@cfworker/json-schema@4.1.1)(zod@4.5.4))(ws@8.22.0)(zod@4.5.4)':
7314 + dependencies:
7315 + '@anthropic-ai/sdk': 0.124.0(zod@4.5.4)
7316 + '@aws-sdk/client-bedrock-runtime': 3.1127.0
7317 + '@earendil-works/pi-telemetry': 0.87.1
7318 + '@google/genai': 2.21.0(@modelcontextprotocol/sdk@1.32.0(@cfworker/json-schema@4.1.1)(zod@4.5.4))
7319 + '@smithy/node-http-handler': 4.12.1
7320 + http-proxy-agent: 9.1.0(supports-color@10.2.2)
7321 + https-proxy-agent: 9.1.0(supports-color@10.2.2)
7322 + openai: 6.40.0(ws@8.22.0)(zod@4.5.4)
7323 + partial-json: 0.1.7
7324 + typebox: 1.3.27
7325 + transitivePeerDependencies:
7326 + - '@modelcontextprotocol/sdk'
7327 + - bufferutil
7328 + - kerberos
7329 + - supports-color
7330 + - utf-8-validate
7331 + - ws
7332 + - zod
7333 +
7334 + '@earendil-works/pi-coding-agent@0.87.1(@modelcontextprotocol/sdk@1.32.0(@cfworker/json-schema@4.1.1)(zod@4.5.4))(supports-color@10.2.2)(ws@8.22.0)(zod@4.5.4)':
7335 dependencies:
7336 '@earendil-works/chord': 0.87.1
7301 - '@earendil-works/pi-agent-core': 0.87.1(@modelcontextprotocol/sdk@1.32.0(@cfworker/json-schema@4.1.1)(zod@4.5.4))(ws@8.21.3)(zod@4.5.4)
7337 + '@earendil-works/pi-agent-core': 0.87.1(@modelcontextprotocol/sdk@1.32.0(@cfworker/json-schema@4.1.1)(zod@4.5.4))(ws@8.22.0)(zod@4.5.4)
7338 '@earendil-works/pi-ai': 0.87.1(@modelcontextprotocol/sdk@1.32.0(@cfworker/json-schema@4.1.1)(zod@4.5.4))(supports-color@10.2.2)(ws@8.21.3)(zod@4.5.4)
7339 '@earendil-works/pi-tui': 0.87.1
7340 '@silvia-odwyer/photon-node': 0.3.4
@@ -7332,28 +7368,28 @@ snapshots:
7368 get-east-asian-width: 1.6.0
7369 marked: 18.0.11
7370
7335 - '@effect/language-service@0.87.2': {}
7371 + '@effect/language-service@0.87.4': {}
7372
7337 - '@effect/platform-bun@4.0.0-rc.117(effect@4.0.0-rc.117)':
7373 + '@effect/platform-bun@4.0.3(effect@4.0.3)':
7374 dependencies:
7339 - '@effect/platform-node-shared': 4.0.0-rc.117(effect@4.0.0-rc.117)
7340 - effect: 4.0.0-rc.117
7375 + '@effect/platform-node-shared': 4.0.3(effect@4.0.3)
7376 + effect: 4.0.3
7377 transitivePeerDependencies:
7378 - bufferutil
7379 - utf-8-validate
7380
7345 - '@effect/platform-node-shared@4.0.0-rc.117(effect@4.0.0-rc.117)':
7381 + '@effect/platform-node-shared@4.0.3(effect@4.0.3)':
7382 dependencies:
7347 - '@types/ws': 8.18.1
7348 - effect: 4.0.0-rc.117
7349 - ws: 8.21.3
7383 + '@types/ws': 8.18.2
7384 + effect: 4.0.3
7385 + ws: 8.22.0
7386 transitivePeerDependencies:
7387 - bufferutil
7388 - utf-8-validate
7389
7354 - '@effect/vitest@4.0.0-rc.117(effect@4.0.0-rc.117)(vitest@5.0.1)':
7390 + '@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.1)':
7391 dependencies:
7356 - effect: 4.0.0-rc.117
7392 + effect: 4.0.3
7393 vitest: 5.0.1(@opentelemetry/api@1.9.1)(@types/node@26.6.0)(@vitest/ui@5.0.1)(vite@7.3.5(@types/node@26.6.2)(jiti@2.7.0)(tsx@4.23.15)(yaml@2.9.0))
7394
7395 '@emnapi/core@1.11.2':
@@ -7707,10 +7743,10 @@ snapshots:
7743 '@jridgewell/resolve-uri': 3.1.2
7744 '@jridgewell/sourcemap-codec': 1.5.5
7745
7710 - '@langchain/anthropic@1.5.11(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3))':
7746 + '@langchain/anthropic@1.5.11(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))':
7747 dependencies:
7748 '@anthropic-ai/sdk': 0.122.0(zod@4.5.4)
7713 - '@langchain/core': 1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3)
7749 + '@langchain/core': 1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0)
7750 zod: 4.5.4
7751
7752 '@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3)':
@@ -7729,10 +7765,46 @@ snapshots:
7765 - openai
7766 - ws
7767
7768 + '@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0)':
7769 + dependencies:
7770 + '@cfworker/json-schema': 4.1.1
7771 + '@standard-schema/spec': 1.1.0
7772 + js-tiktoken: 1.0.21
7773 + langsmith: 0.9.0(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0)
7774 + mustache: 4.2.0
7775 + p-queue: 6.6.2
7776 + zod: 4.5.4
7777 + transitivePeerDependencies:
7778 + - '@opentelemetry/api'
7779 + - '@opentelemetry/exporter-trace-otlp-proto'
7780 + - '@opentelemetry/sdk-trace-base'
7781 + - openai
7782 + - ws
7783 +
7784 + '@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4))(ws@8.22.0)':
7785 + dependencies:
7786 + '@cfworker/json-schema': 4.1.1
7787 + '@standard-schema/spec': 1.1.0
7788 + js-tiktoken: 1.0.21
7789 + langsmith: 0.9.0(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4))(ws@8.22.0)
7790 + mustache: 4.2.0
7791 + p-queue: 6.6.2
7792 + zod: 4.5.4
7793 + transitivePeerDependencies:
7794 + - '@opentelemetry/api'
7795 + - '@opentelemetry/exporter-trace-otlp-proto'
7796 + - '@opentelemetry/sdk-trace-base'
7797 + - openai
7798 + - ws
7799 +
7800 '@langchain/langgraph-checkpoint@1.1.5(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3))':
7801 dependencies:
7802 '@langchain/core': 1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3)
7803
7804 + '@langchain/langgraph-checkpoint@1.1.5(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))':
7805 + dependencies:
7806 + '@langchain/core': 1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0)
7807 +
7808 '@langchain/langgraph-sdk@1.11.0(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3))':
7809 dependencies:
7810 '@langchain/core': 1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3)
@@ -7741,6 +7813,14 @@ snapshots:
7813 p-queue: 9.3.3
7814 p-retry: 7.1.1
7815
7816 + '@langchain/langgraph-sdk@1.11.0(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))':
7817 + dependencies:
7818 + '@langchain/core': 1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0)
7819 + '@langchain/protocol': 0.0.19
7820 + '@types/json-schema': 7.0.15
7821 + p-queue: 9.3.3
7822 + p-retry: 7.1.1
7823 +
7824 '@langchain/langgraph-sdk@1.12.0(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3))':
7825 dependencies:
7826 '@langchain/core': 1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3)
@@ -7749,6 +7829,14 @@ snapshots:
7829 p-queue: 9.3.3
7830 p-retry: 7.1.1
7831
7832 + '@langchain/langgraph-sdk@1.12.0(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))':
7833 + dependencies:
7834 + '@langchain/core': 1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0)
7835 + '@langchain/protocol': 0.0.19
7836 + '@types/json-schema': 7.0.15
7837 + p-queue: 9.3.3
7838 + p-retry: 7.1.1
7839 +
7840 '@langchain/langgraph@1.4.15(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3))(zod@4.5.4)':
7841 dependencies:
7842 '@langchain/core': 1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3)
@@ -7761,6 +7849,18 @@ snapshots:
7849 - react
7850 - react-dom
7851
7852 + '@langchain/langgraph@1.4.15(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))(zod@4.5.4)':
7853 + dependencies:
7854 + '@langchain/core': 1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0)
7855 + '@langchain/langgraph-checkpoint': 1.1.5(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))
7856 + '@langchain/langgraph-sdk': 1.11.0(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))
7857 + '@langchain/protocol': 0.0.19
7858 + '@standard-schema/spec': 1.1.0
7859 + zod: 4.5.4
7860 + transitivePeerDependencies:
7861 + - react
7862 + - react-dom
7863 +
7864 '@langchain/langgraph@1.4.18(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3))(zod@4.5.4)':
7865 dependencies:
7866 '@langchain/core': 1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3)
@@ -7773,10 +7873,22 @@ snapshots:
7873 - react
7874 - react-dom
7875
7776 - '@langchain/mcp-adapters@1.1.4(@cfworker/json-schema@4.1.1)(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3))(@langchain/langgraph@1.4.18(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3))(zod@4.5.4))(supports-color@10.2.2)':
7876 + '@langchain/langgraph@1.4.18(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))(zod@4.5.4)':
7877 dependencies:
7778 - '@langchain/core': 1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3)
7779 - '@langchain/langgraph': 1.4.18(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3))(zod@4.5.4)
7878 + '@langchain/core': 1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0)
7879 + '@langchain/langgraph-checkpoint': 1.1.5(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))
7880 + '@langchain/langgraph-sdk': 1.12.0(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))
7881 + '@langchain/protocol': 0.0.19
7882 + '@standard-schema/spec': 1.1.0
7883 + zod: 4.5.4
7884 + transitivePeerDependencies:
7885 + - react
7886 + - react-dom
7887 +
7888 + '@langchain/mcp-adapters@1.1.4(@cfworker/json-schema@4.1.1)(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))(@langchain/langgraph@1.4.18(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))(zod@4.5.4))(supports-color@10.2.2)':
7889 + dependencies:
7890 + '@langchain/core': 1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0)
7891 + '@langchain/langgraph': 1.4.18(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))(zod@4.5.4)
7892 '@modelcontextprotocol/sdk': 1.32.0(@cfworker/json-schema@4.1.1)(zod@4.5.4)
7893 debug: 4.4.3(supports-color@10.2.2)
7894 zod: 4.5.4
@@ -7799,6 +7911,19 @@ snapshots:
7911 - undici
7912 - ws
7913
7914 + '@langchain/openai@1.5.13(@aws-sdk/credential-provider-node@3.972.84)(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)':
7915 + dependencies:
7916 + '@langchain/core': 1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0)
7917 + js-tiktoken: 1.0.21
7918 + openai: 7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4)
7919 + zod: 4.5.4
7920 + transitivePeerDependencies:
7921 + - '@aws-sdk/credential-provider-node'
7922 + - '@smithy/hash-node'
7923 + - '@smithy/signature-v4'
7924 + - undici
7925 + - ws
7926 +
7927 '@langchain/protocol@0.0.19': {}
7928
7929 '@llamaindex/core@0.6.22':
@@ -8191,9 +8316,25 @@ snapshots:
8316 - undici
8317 - ws
8318
8194 - '@openai/agents-openai@0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(supports-color@10.2.2)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4)':
8319 + '@openai/agents-core@0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4)':
8320 dependencies:
8196 - '@openai/agents-core': 0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(supports-color@10.2.2)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4)
8321 + '@standard-schema/spec': 1.1.0
8322 + debug: 4.4.3(supports-color@10.2.2)
8323 + openai: 7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4)
8324 + optionalDependencies:
8325 + '@modelcontextprotocol/client': 2.2.0
8326 + zod: 4.5.4
8327 + transitivePeerDependencies:
8328 + - '@aws-sdk/credential-provider-node'
8329 + - '@smithy/hash-node'
8330 + - '@smithy/signature-v4'
8331 + - supports-color
8332 + - undici
8333 + - ws
8334 +
8335 + '@openai/agents-openai@0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(supports-color@10.2.2)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4)':
8336 + dependencies:
8337 + '@openai/agents-core': 0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4)
8338 debug: 4.4.3(supports-color@10.2.2)
8339 openai: 7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4)
8340 zod: 4.5.4
@@ -8205,6 +8346,20 @@ snapshots:
8346 - undici
8347 - ws
8348
8349 + '@openai/agents-openai@0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4)':
8350 + dependencies:
8351 + '@openai/agents-core': 0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4)
8352 + debug: 4.4.3(supports-color@10.2.2)
8353 + openai: 7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4)
8354 + zod: 4.5.4
8355 + transitivePeerDependencies:
8356 + - '@aws-sdk/credential-provider-node'
8357 + - '@smithy/hash-node'
8358 + - '@smithy/signature-v4'
8359 + - supports-color
8360 + - undici
8361 + - ws
8362 +
8363 '@openai/agents-realtime@0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(supports-color@10.2.2)(undici@6.29.0)(zod@4.5.4)':
8364 dependencies:
8365 '@openai/agents-core': 0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(supports-color@10.2.2)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4)
@@ -8221,10 +8376,10 @@ snapshots:
8376 - undici
8377 - utf-8-validate
8378
8224 - '@openai/agents@0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(supports-color@10.2.2)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4)':
8379 + '@openai/agents@0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(supports-color@10.2.2)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4)':
8380 dependencies:
8381 '@openai/agents-core': 0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(supports-color@10.2.2)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4)
8227 - '@openai/agents-openai': 0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(supports-color@10.2.2)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4)
8382 + '@openai/agents-openai': 0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(supports-color@10.2.2)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4)
8383 '@openai/agents-realtime': 0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(supports-color@10.2.2)(undici@6.29.0)(zod@4.5.4)
8384 debug: 4.4.3(supports-color@10.2.2)
8385 openai: 7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4)
@@ -8239,6 +8394,24 @@ snapshots:
8394 - utf-8-validate
8395 - ws
8396
8397 + '@openai/agents@0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4)':
8398 + dependencies:
8399 + '@openai/agents-core': 0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4)
8400 + '@openai/agents-openai': 0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4)
8401 + '@openai/agents-realtime': 0.18.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(supports-color@10.2.2)(undici@6.29.0)(zod@4.5.4)
8402 + debug: 4.4.3(supports-color@10.2.2)
8403 + openai: 7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4)
8404 + zod: 4.5.4
8405 + transitivePeerDependencies:
8406 + - '@aws-sdk/credential-provider-node'
8407 + - '@smithy/hash-node'
8408 + - '@smithy/signature-v4'
8409 + - bufferutil
8410 + - supports-color
8411 + - undici
8412 + - utf-8-validate
8413 + - ws
8414 +
8415 '@opentelemetry/api@1.9.1': {}
8416
8417 '@oxc-project/types@0.112.0':
@@ -8749,6 +8922,10 @@ snapshots:
8922 dependencies:
8923 '@types/node': 26.6.0
8924
8925 + '@types/ws@8.18.2':
8926 + dependencies:
8927 + '@types/node': 26.6.2
8928 +
8929 '@types/yauzl@2.10.3':
8930 dependencies:
8931 '@types/node': 26.6.0
@@ -9313,7 +9490,7 @@ snapshots:
9490
9491 ee-first@1.1.1: {}
9492
9316 - effect@4.0.0-rc.117: {}
9493 + effect@4.0.3: {}
9494
9495 emoji-regex@8.0.0: {}
9496
@@ -9884,6 +10061,22 @@ snapshots:
10061 - react-dom
10062 - ws
10063
10064 + langchain@1.5.12(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0):
10065 + dependencies:
10066 + '@langchain/core': 1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0)
10067 + '@langchain/langgraph': 1.4.15(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))(zod@4.5.4)
10068 + '@langchain/langgraph-checkpoint': 1.1.5(@langchain/core@1.2.12(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0))
10069 + langsmith: 0.9.0(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0)
10070 + zod: 4.5.4
10071 + transitivePeerDependencies:
10072 + - '@opentelemetry/api'
10073 + - '@opentelemetry/exporter-trace-otlp-proto'
10074 + - '@opentelemetry/sdk-trace-base'
10075 + - openai
10076 + - react
10077 + - react-dom
10078 + - ws
10079 +
10080 langsmith@0.9.0(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.21.3):
10081 dependencies:
10082 p-queue: 6.6.2
@@ -9892,6 +10085,22 @@ snapshots:
10085 openai: 7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4)
10086 ws: 8.21.3
10087
10088 + langsmith@0.9.0(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4))(ws@8.22.0):
10089 + dependencies:
10090 + p-queue: 6.6.2
10091 + optionalDependencies:
10092 + '@opentelemetry/api': 1.9.1
10093 + openai: 7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4)
10094 + ws: 8.22.0
10095 +
10096 + langsmith@0.9.0(@opentelemetry/api@1.9.1)(openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4))(ws@8.22.0):
10097 + dependencies:
10098 + p-queue: 6.6.2
10099 + optionalDependencies:
10100 + '@opentelemetry/api': 1.9.1
10101 + openai: 7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4)
10102 + ws: 8.22.0
10103 +
10104 launch-editor@2.14.1:
10105 dependencies:
10106 picocolors: 1.1.1
@@ -10432,6 +10641,11 @@ snapshots:
10641 ws: 8.21.3
10642 zod: 4.5.4
10643
10644 + openai@6.40.0(ws@8.22.0)(zod@4.5.4):
10645 + optionalDependencies:
10646 + ws: 8.22.0
10647 + zod: 4.5.4
10648 +
10649 openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.21.3)(zod@4.5.4):
10650 optionalDependencies:
10651 '@aws-sdk/credential-provider-node': 3.972.84
@@ -10440,6 +10654,14 @@ snapshots:
10654 ws: 8.21.3
10655 zod: 4.5.4
10656
10657 + openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@6.29.0)(ws@8.22.0)(zod@4.5.4):
10658 + optionalDependencies:
10659 + '@aws-sdk/credential-provider-node': 3.972.84
10660 + '@smithy/signature-v4': 5.7.3
10661 + undici: 6.29.0
10662 + ws: 8.22.0
10663 + zod: 4.5.4
10664 +
10665 openai@7.23.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.3)(undici@7.29.1)(ws@8.21.3)(zod@4.5.4):
10666 optionalDependencies:
10667 '@aws-sdk/credential-provider-node': 3.972.84
@@ -11483,6 +11705,8 @@ snapshots:
11705
11706 ws@8.21.3: {}
11707
11708 + ws@8.22.0: {}
11709 +
11710 wsl-utils@1.0.0:
11711 dependencies:
11712 is-wsl: 3.1.1
pnpm-workspace.yaml
+8 -4
@@ -34,9 +34,9 @@ catalog:
34 '@cloudflare/vitest-pool-workers': 0.22.0
35 '@cloudflare/workers-types': ^5.20260922.1
36 '@composio/client': 2.0.0-rc.11
37 - '@effect/language-service': ^0.87.2
38 - '@effect/platform-bun': 4.0.0-rc.117
39 - '@effect/vitest': 4.0.0-rc.117
37 + '@effect/language-service': ^0.87.4
38 + '@effect/platform-bun': 4.0.3
39 + '@effect/vitest': 4.0.3
40 # Bisected against ts/examples/mastra's `cf:dry-run`: 1.54.0 moved the
41 # workspace/sandbox subsystem behind `@mastra/core/agent`, which drags execa
42 # (-> npm-run-path -> unicorn-magic) into the Workers bundle and fails to
@@ -46,7 +46,7 @@ catalog:
46 '@types/bun': ^1.4.2
47 ai: ^7.0.111
48 dotenv: ^18.0.2
49 - effect: 4.0.0-rc.117
49 + effect: 4.0.3
50 hono: ^4.13.8
51 openai: ^7.21.0
52 picocolors: ^1.1.1
@@ -83,6 +83,10 @@ minimumReleaseAge: 4320
83 minimumReleaseAgeExclude:
84 - '@mastra/core'
85 - '@composio/client'
86 + # Exact releases used by the reviewed Effect 4 migration.
87 + - 'effect@4.0.3'
88 + - '@effect/platform-bun@4.0.3'
89 + - '@effect/vitest@4.0.3'
90 - chrome-devtools-mcp
91 # temporary: 0.6.0 (2026-09-15) is the first release with the API that
92 # @composio/typesafe targets. Publisher, provenance, and the absence of install
ts/packages/cli-keyring/package.json
+1 -1
@@ -56,7 +56,7 @@
56 "vitest": "catalog:"
57 },
58 "peerDependencies": {
59 - "effect": "4.0.0-rc.117"
59 + "effect": "4.0.3"
60 },
61 "peerDependenciesMeta": {
62 "effect": {
ts/packages/cli/AGENTS.md
+18 -18
@@ -14,9 +14,9 @@ The CLI is built on the **Effect.ts ecosystem** and runs on **Bun**. Service-ori
14
15 ### Entry Point — `src/bin.ts` / `src/cli-main.ts`
16
17 -`bin.ts` is a thin bootstrap: it routes background-worker invocations (analytics dispatch) through a minimal layer set and otherwise passes argv unchanged to the dynamically imported `cli-main.ts`, which composes the full Effect layer stack and drives the root command through `effect/unstable/cli`'s `Command.runWith`, run via `BunRuntime.runMain()`. Key layers (see `cli-main.ts` for the complete list):
17 +`bin.ts` is a thin bootstrap: it routes background-worker invocations (analytics dispatch) through a minimal layer set and otherwise passes argv unchanged to the dynamically imported `cli-main.ts`, which composes the full Effect layer stack and drives the root command through `effect/cli`'s `Command.runWith`, run via `BunRuntime.runMain()`. Key layers (see `cli-main.ts` for the complete list):
18
19 -- `CliConfigLive` — `effect/unstable/cli` `CliConfig` restricted to `builtIns: [Help, GlobalFlag.Version]` (see Configuration below); a small `CliOutput.Formatter` keeps versions bare and appends a short root overview; Effect generates command help and parse errors
19 +- `CliConfigLive` — `effect/cli` `CliConfig` restricted to `builtIns: [Help, GlobalFlag.Version]` (see Configuration below); a small `CliOutput.Formatter` keeps versions bare and appends a short root overview; Effect generates command help and parse errors
20 - `ComposioUserContextLive` — User authentication state from `~/.composio/`
21 - `ComposioSessionRepositoryLive` — OAuth2 session management
22 - `ComposioToolkitsRepositoryCachedLive` — Cached API client for toolkits/tools
@@ -29,7 +29,7 @@ Errors are captured via the custom `effect-errors/` module (source-mapped stack
29
30 ### Commands — `src/commands/`
31
32 -Each command uses `effect/unstable/cli`'s `Command.make()` pattern. Top-level command files end in `.cmd.ts`; nested command groups live in their own subdirectory with a `<group>.cmd.ts` entry. Current top-level commands:
32 +Each command uses `effect/cli`'s `Command.make()` pattern. Top-level command files end in `.cmd.ts`; nested command groups live in their own subdirectory with a `<group>.cmd.ts` entry. Current top-level commands:
33
34 | Group / Command | Purpose |
35 | -------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |
@@ -59,7 +59,7 @@ Each command uses `effect/unstable/cli`'s `Command.make()` pattern. Top-level co
59 | `dev` | Developer-only utilities |
60 | `artifacts` | Manage generated artifacts |
61
62 -Named options use `Flag.String()`, `Flag.Boolean()`, `Flag.Int()`, `Flag.Literals()`, `Flag.Directory()` (from `effect/unstable/cli`); positionals use `Argument.String()` / `Argument.variadic()`. Both share `.withDefault`/`.withDescription`/`.withAlias`/`.optional` combinators. Feature flags live in `feature-tags.ts` and `experimental-features.ts`.
62 +Named options use `Flag.String()`, `Flag.Boolean()`, `Flag.Int()`, `Flag.Literals()`, `Flag.Directory()` (from `effect/cli`); positionals use `Argument.String()` / `Argument.variadic()`. Both share `.withDefault`/`.withDescription`/`.withAlias`/`.optional` combinators. Feature flags live in `feature-tags.ts` and `experimental-features.ts`.
63
64 ### Services — `src/services/`
65
@@ -110,7 +110,7 @@ Steps 3–4 (and the TypeScript compiler they need) ship as the `generation-runt
110
111 ### Key Dependencies
112
113 -`effect` (pinned `4.0.0-rc.115`; `@effect/cli` and `@effect/platform` no longer exist as separate packages — folded into `effect`'s barrel and `effect/unstable/{cli,http,process}`), `@effect/platform-bun`, `@effect/vitest` (same exact pin), `@clack/prompts` (terminal UI — stderr by default), `picocolors`, `@composio/client` (owned Composio API client, `2.0.0-rc.8` via the workspace catalog), `@composio/core` (types), `@composio/ts-builders` (AST gen), `@composio/cli-keyring` (OS credential store), `@composio/json-schema-to-effect-schema`, `semver`, `open`, `extract-zip`.
113 +`effect` (pinned `4.0.3`; `@effect/cli` and `@effect/platform` no longer exist as separate packages — folded into `effect`'s barrel and `effect/{cli,http,process}`), `@effect/platform-bun`, `@effect/vitest` (same exact pin), `@clack/prompts` (terminal UI — stderr by default), `picocolors`, `@composio/client` (owned Composio API client, `2.0.0-rc.11` via the workspace catalog), `@composio/core` (types), `@composio/ts-builders` (AST gen), `@composio/cli-keyring` (OS credential store), `@composio/json-schema-to-effect-schema`, `semver`, `open`, `extract-zip`.
114
115 ## Output Conventions: Composable CLI Output
116
@@ -170,21 +170,21 @@ Each `Arr.bind` adds one independent axis to the generated cases.
170 - Never branch on an Effect value's internal tag field directly. Use the owning module's public refinement or matcher (`Option`, `Result`, `Exit`, `Cause`, `CliError`), `Match.valueTags` for exhaustive unions, or `Predicate.isTagged` for a single narrowing guard.
171 - Do not wrap a plain `Error` in `Effect.fail` for expected failures. Give the failure a meaningful `Data.TaggedError` type with structured fields and a preserved cause, then recover with `catchTag` / `catchTags`. Reserve `Effect.die` and `Effect.dieMessage` for impossible invariants.
172 - Treat `unknown`, JSON, and persisted state as trust boundaries. Decode them with `effect/Schema` or narrow them with `Predicate`; an `as` assertion is not validation, and hand-rolled structural guards (`'x' in obj` / `typeof` chains) are not a substitute for a schema. A Composio API response that `@composio/client` types is already a contract the CLI owns end to end, so trust it the way `@composio/core` does rather than re-decoding it. Keep `effect/Schema` for the payloads the client does not type for you: the persisted catalog cache files (`src/models/toolkits.ts`, `tools.ts`, `trigger-types.ts`), anything printed to stdout that must exclude credential-bearing fields (the auth-config and connected-account allowlists, including the `auth-configs create` response), the `ToolkitSlug` path-safety check, the `Session` `DateTime` transform, `TriggerInstanceItems`, and every escape-hatch response fetched with `client.get`/`client.post` (`LatestToolVersionResponse`, and the consumer config and permission payloads in `tool-permissions.ts`). `effect/Schema` is the CLI's schema tool — do not introduce zod here (zod is the convention in the SDK packages and docs).
173 -- Do not inspect private `effect/unstable/cli` internals (parser state, `HelpDoc` string shapes, `CliError` suggestion machinery). `Command.runWith` renders help and parse/validation errors itself — see the entry-point section above — so command-tree introspection must stay on the public `Command.Any` surface (`name`, `alias`, `subcommands`). `CliError.InvalidValue` takes structured `{ option, value, expected, kind }` fields, not a free-form message — commands that need a custom validation message raise a local `Data.TaggedError` instead (see `src/commands/login.cmd.ts`'s `LoginOptionError`) and let it flow through the existing `effect-errors` pretty-printer, not a hand-built `CliError`.
173 +- Do not inspect private `effect/cli` internals (parser state, `HelpDoc` string shapes, `CliError` suggestion machinery). `Command.runWith` renders help and parse/validation errors itself — see the entry-point section above — so command-tree introspection must stay on the public `Command.Any` surface (`name`, `alias`, `subcommands`). `CliError.InvalidValue` takes structured `{ option, value, expected, kind }` fields, not a free-form message — commands that need a custom validation message raise a local `Data.TaggedError` instead (see `src/commands/login.cmd.ts`'s `LoginOptionError`) and let it flow through the existing `effect-errors` pretty-printer, not a hand-built `CliError`.
174 - Prefer `Effect.mapError`, `Effect.matchEffect`, and typed recovery over `Effect.catch` blocks (the v4 name for what was `Effect.catchAll`) that flatten distinct failures into one message-only error.
175
176 ### Effect Boundary Policy
177
178 All platform access goes through Effect services. `node:path`, `node:fs`, `node:os`, `node:child_process`, `process.env`, and `try`/`catch` are lint-banned (oxlint) in `src/`. Use the sanctioned equivalents:
179
180 -| Need | Use |
181 -| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
182 -| Path arithmetic (join/resolve/dirname/…) | `Path` service from `effect/Path` (`const path = yield* Path.Path`) |
183 -| Filesystem I/O | `FileSystem` service from `effect/FileSystem` (`const fs = yield* FileSystem.FileSystem`) |
184 -| homedir / tmpdir / platform / arch | `NodeOs` service (`src/services/node-os.ts`, the sole `node:os` boundary) |
185 -| Subprocesses | `ChildProcess` / `ChildProcessSpawner` from `effect/unstable/process`; children that outlive the CLI via `src/services/detached-process.ts` |
186 -| Environment reads | `effect/Config` |
187 -| Sync fallible ops (`JSON.parse`, `new URL`, `JSON.stringify`) | `Result.try` with a `Data.TaggedError`; JSON records via `parseJsonRecord` (`src/utils/parse-json.ts`) |
180 +| Need | Use |
181 +| ------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
182 +| Path arithmetic (join/resolve/dirname/…) | `Path` service from `effect/Path` (`const path = yield* Path.Path`) |
183 +| Filesystem I/O | `FileSystem` service from `effect/FileSystem` (`const fs = yield* FileSystem.FileSystem`) |
184 +| homedir / tmpdir / platform / arch | `NodeOs` service (`src/services/node-os.ts`, the sole `node:os` boundary) |
185 +| Subprocesses | `ChildProcess` / `ChildProcessSpawner` from `effect/process`; children that outlive the CLI via `src/services/detached-process.ts` |
186 +| Environment reads | `effect/Config` |
187 +| Sync fallible ops (`JSON.parse`, `new URL`, `JSON.stringify`) | `Result.try` with a `Data.TaggedError`; JSON records via `parseJsonRecord` (`src/utils/parse-json.ts`) |
188
189 Import platform modules by subpath (`import * as FileSystem from 'effect/FileSystem'`, `import * as BunFileSystem from '@effect/platform-bun/BunFileSystem'`), never from the `@effect/platform-bun` package barrel; oxlint rejects the barrel in `src/`.
190
@@ -201,12 +201,12 @@ The only code allowed to bypass services sits at declared runtime boundaries: th
201
202 ## Vendor Reference Sources
203
204 -Read-only submodules under `ts/vendor/`, pinned at the `effect@4.0.0-rc.115` release commit (do NOT modify — actual deps come from npm). v4 folded `@effect/cli`/`@effect/platform` into the core `effect` package, so there is no longer a separate `packages/cli` or `packages/platform` — everything lives under `packages/effect/src/`:
204 +Read-only submodules under `ts/vendor/`. The Effect one is pinned at the `effect@4.0.0-rc.117` release commit, one release behind the `4.0.3` npm pin (do NOT modify — actual deps come from npm). That commit predates the 4.0.0 module rename, so the modules npm exports as `effect/cli`, `effect/http` and `effect/process` still sit under `src/unstable/` there; where the vendored source and the installed typings disagree, the typings win. v4 folded `@effect/cli`/`@effect/platform` into the core `effect` package, so there is no longer a separate `packages/cli` or `packages/platform` — everything lives under `packages/effect/src/`:
205
206 - `ts/vendor/effect/packages/effect/src/` — core Effect runtime (`Effect`, `Schema`, `Layer`, `Context`, `Result`, `Cause`, `Config`, `FileSystem`, `Path`, `PlatformError`, …)
207 -- `ts/vendor/effect/packages/effect/src/unstable/cli/` — `effect/unstable/cli` (`Command`, `Flag`, `Argument`, `CliError`, `CliConfig`, `CliOutput`, `GlobalFlag`, `HelpDoc`, `Completions`, `Prompt`)
208 -- `ts/vendor/effect/packages/effect/src/unstable/http/` — `effect/unstable/http` (`HttpClient`, `HttpClientRequest`, `HttpClientResponse`, `FetchHttpClient`)
209 -- `ts/vendor/effect/packages/effect/src/unstable/process/` — `effect/unstable/process` (`ChildProcess`, `ChildProcessSpawner`)
207 +- `ts/vendor/effect/packages/effect/src/unstable/cli/` — `effect/cli` (`Command`, `Flag`, `Argument`, `CliError`, `CliConfig`, `CliOutput`, `GlobalFlag`, `HelpDoc`, `Completions`, `Prompt`)
208 +- `ts/vendor/effect/packages/effect/src/unstable/http/` — `effect/http` (`HttpClient`, `HttpClientRequest`, `HttpClientResponse`, `FetchHttpClient`)
209 +- `ts/vendor/effect/packages/effect/src/unstable/process/` — `effect/process` (`ChildProcess`, `ChildProcessSpawner`)
210 - `ts/vendor/effect/packages/platform/bun/src/` — `@effect/platform-bun` (`BunFileSystem`, `BunPath`, `BunServices`, `BunRuntime`, `BunChildProcessSpawner`, …)
211 - `ts/vendor/effect/migration/` — official v3-to-v4 migration guides (`services.md`, `schema.md`, `cause.md`, `runtime.md`, `v3-to-v4.md`, …)
212 - `ts/vendor/clack/packages/prompts/src/` — `@clack/prompts` (text, select, confirm, spinner, note, task, etc.)
ts/packages/cli/CHANGELOG.md
+4
@@ -149,6 +149,10 @@ orgs` shows the same page as `composio orgs --help`, with the same longest-prefi
149 info <unknown-slug>` used to print nothing and exit 0 when piped.
150 - Help examples use `SLACK_SEND_MESSAGE` and `SLACK_CHANNEL_MESSAGE_RECEIVED`
151 instead of a removed Slack tool slug and a trigger without configuration.
152 +- The CLI now runs on the stable Effect 4 line (`effect@4.0.3`, up from
153 + `4.0.0-rc.117`). No command changes on purpose. One parsing difference comes
154 + with the framework: an argument that is a negative number, such as `-5`, is
155 + now read as a value instead of as a flag.
156
157 ## 0.3.3
158
ts/packages/cli/scripts/build-all-binaries.ts
+1 -1
@@ -13,7 +13,7 @@
13 */
14
15 import { Config, ConfigProvider, Console, Effect, Stream, Logger, Layer, References } from 'effect';
16 -import { ChildProcess as Command } from 'effect/unstable/process';
16 +import { ChildProcess as Command } from 'effect/process';
17 import * as BunServices from '@effect/platform-bun/BunServices';
18 import * as BunRuntime from '@effect/platform-bun/BunRuntime';
19 import { buildCompanionModules, posthogBakeArgs, teardown } from './_shared';
ts/packages/cli/scripts/build-binary-cross.ts
+1 -1
@@ -16,7 +16,7 @@
16
17 import process from 'node:process';
18 import { Config, ConfigProvider, Console, Effect, Stream, Logger, Layer, References } from 'effect';
19 -import { ChildProcess as Command } from 'effect/unstable/process';
19 +import { ChildProcess as Command } from 'effect/process';
20 import * as BunServices from '@effect/platform-bun/BunServices';
21 import * as BunRuntime from '@effect/platform-bun/BunRuntime';
22 import { buildCompanionModules, posthogBakeArgs, teardown } from './_shared';
ts/packages/cli/scripts/build-binary.ts
+1 -1
@@ -1,6 +1,6 @@
1 import process from 'node:process';
2 import { Config, ConfigProvider, Console, Effect, Stream, Logger, Layer, References } from 'effect';
3 -import { ChildProcess as Command } from 'effect/unstable/process';
3 +import { ChildProcess as Command } from 'effect/process';
4 import * as BunServices from '@effect/platform-bun/BunServices';
5 import * as BunRuntime from '@effect/platform-bun/BunRuntime';
6 import { buildCompanionModules, posthogBakeArgs, teardown } from './_shared';
ts/packages/cli/src/analytics/dispatch.ts
+6 -15
@@ -1,18 +1,9 @@
1 import { cliRequestHeaders } from 'src/services/client-provenance';
2 import process from 'node:process';
3 import type { PlatformError } from 'effect/PlatformError';
4 -import {
5 - Cause,
6 - Clock,
7 - DateTime,
8 - Effect,
9 - Encoding,
10 - FileSystem,
11 - Option,
12 - Path,
13 - Predicate,
14 -} from 'effect';
15 -import { HttpClient, HttpClientRequest } from 'effect/unstable/http';
4 +import { Cause, Clock, DateTime, Effect, FileSystem, Option, Path, Predicate } from 'effect';
5 +import { Base64Url } from 'effect/encoding';
6 +import { HttpClient, HttpClientRequest } from 'effect/http';
7 import * as constants from 'src/constants';
8 import { APP_CONFIG, TELEMETRY_CONFIG } from 'src/config';
9 import { getDetachedWorkerSpawnArgs, spawnDetached } from 'src/services/detached-process';
@@ -627,7 +618,7 @@ const enqueuePostHogEnvelope = (envelope: AnalyticsEnvelope) =>
618
619 yield* telemetryDebugLog('enqueue', { envelope });
620 const serializedEnvelope = yield* encodeJson(envelope);
630 - const encodedPayload = Encoding.encodeBase64Url(serializedEnvelope);
621 + const encodedPayload = Base64Url.encode(serializedEnvelope);
622 const { command, args } = yield* getDetachedWorkerSpawnArgs(
623 INTERNAL_ANALYTICS_WORKER_FLAG,
624 encodedPayload
@@ -828,7 +819,7 @@ export const trackCliCodactFailureEffect = (failure: CliCodactFailure) =>
819 const cliSessionId = yield* getCurrentCwdSessionId();
820 const invocation = yield* getCliInvocationContext;
821 const body = yield* encodeJson(createCliCodactFailureBody(failure, cliSessionId, invocation));
831 - const encodedPayload = Encoding.encodeBase64Url(body);
822 + const encodedPayload = Base64Url.encode(body);
823 const { command, args } = yield* getDetachedWorkerSpawnArgs(
824 INTERNAL_CODACT_FAILURE_WORKER_FLAG,
825 encodedPayload
@@ -845,7 +836,7 @@ export const isBackgroundWorkerInvocation = (argv: ReadonlyArray<string>): boole
836
837 const decodeWorkerPayload = <A>(encodedPayload: string) =>
838 Effect.gen(function* () {
848 - const serialized = yield* Effect.fromResult(Encoding.decodeBase64UrlString(encodedPayload));
839 + const serialized = yield* Effect.fromResult(Base64Url.decodeString(encodedPayload));
840 return (yield* decodeJson(serialized)) as A;
841 });
842
ts/packages/cli/src/bin.ts
+1 -1
@@ -1,6 +1,6 @@
1 import process from 'node:process';
2 import { Effect, Layer } from 'effect';
3 -import { FetchHttpClient } from 'effect/unstable/http';
3 +import { FetchHttpClient } from 'effect/http';
4 import * as BunFileSystem from '@effect/platform-bun/BunFileSystem';
5 import * as BunPath from '@effect/platform-bun/BunPath';
6 import * as BunRuntime from '@effect/platform-bun/BunRuntime';
ts/packages/cli/src/cli-config.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { Help } from 'src/commands/root-help';
2 -import { GlobalFlag, type CliConfig } from 'effect/unstable/cli';
2 +import { GlobalFlag, type CliConfig } from 'effect/cli';
3
4 // Help and version use the framework parser. The help formatter keeps version output bare.
5 export const ComposioCliConfig = {
ts/packages/cli/src/cli-main.ts
+2 -2
@@ -6,8 +6,8 @@
6 import process from 'node:process';
7 import { Cause, ConfigProvider, Effect, Exit, Layer, Logger, Predicate, Runtime } from 'effect';
8 import { captureErrors, prettyPrintFromCapturedErrors } from 'effect-errors/index';
9 -import { CliConfig, CliError } from 'effect/unstable/cli';
10 -import { FetchHttpClient } from 'effect/unstable/http';
9 +import { CliConfig, CliError } from 'effect/cli';
10 +import { FetchHttpClient } from 'effect/http';
11 import * as BunServices from '@effect/platform-bun/BunServices';
12 import * as BunRuntime from '@effect/platform-bun/BunRuntime';
13 import * as BunFileSystem from '@effect/platform-bun/BunFileSystem';
ts/packages/cli/src/commands/$default.cmd.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { LogLevel, type Option } from 'effect';
2 -import { Command, Flag } from 'effect/unstable/cli';
2 +import { Command, Flag } from 'effect/cli';
3 import { setMinimumLogLevel } from 'src/effects/with-log-level';
4
5 const logLevel = Flag.Literals('log-level', LogLevel.values).pipe(
ts/packages/cli/src/commands/agent/agent.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command } from 'effect/unstable/cli';
1 +import { Command } from 'effect/cli';
2 import { agentCmd$Claim } from './commands/agent.claim.cmd';
3 import { agentCmd$Inbox } from './commands/agent.inbox.cmd';
4 import { agentCmd$Login } from './commands/agent.login.cmd';
ts/packages/cli/src/commands/agent/commands/agent.claim.cmd.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { Effect } from 'effect';
2 -import { Argument, Command } from 'effect/unstable/cli';
2 +import { Argument, Command } from 'effect/cli';
3 import { handleAgentAuthError } from 'src/effects/handle-agent-auth-error';
4 import { claimAgent, resolveStoredAgentKey } from 'src/services/agents';
5 import { TerminalUI } from 'src/services/terminal-ui';
ts/packages/cli/src/commands/agent/commands/agent.inbox.cmd.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { Effect } from 'effect';
2 -import { Command, Flag } from 'effect/unstable/cli';
2 +import { Command, Flag } from 'effect/cli';
3 import { handleAgentAuthError } from 'src/effects/handle-agent-auth-error';
4 import { fetchAgentInbox, resolveStoredAgentKey } from 'src/services/agents';
5 import { TerminalUI } from 'src/services/terminal-ui';
ts/packages/cli/src/commands/agent/commands/agent.login.cmd.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { Effect } from 'effect';
2 -import { Argument, Command } from 'effect/unstable/cli';
2 +import { Argument, Command } from 'effect/cli';
3 import { handleAgentAuthError } from 'src/effects/handle-agent-auth-error';
4 import {
5 ensureAgentSignupAllowed,
ts/packages/cli/src/commands/agent/commands/agent.signup.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command, Flag } from 'effect/unstable/cli';
1 +import { Command, Flag } from 'effect/cli';
2 import { runAgentSignup } from '../../signup.cmd';
3
4 const noWait = Flag.Boolean('no-wait').pipe(
ts/packages/cli/src/commands/agent/commands/agent.whoami.cmd.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { Effect } from 'effect';
2 -import { Command } from 'effect/unstable/cli';
2 +import { Command } from 'effect/cli';
3 import { handleAgentAuthError } from 'src/effects/handle-agent-auth-error';
4 import {
5 fetchAgentWhoami,
ts/packages/cli/src/commands/artifacts.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command } from 'effect/unstable/cli';
1 +import { Command } from 'effect/cli';
2 import { Effect, Option } from 'effect';
3 import {
4 resolveArtifactsRoot,
ts/packages/cli/src/commands/auth-configs/auth-configs.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command } from 'effect/unstable/cli';
1 +import { Command } from 'effect/cli';
2 import { authConfigsCmd$List } from './commands/auth-configs.list.cmd';
3 import { authConfigsCmd$Info } from './commands/auth-configs.info.cmd';
4 import { authConfigsCmd$Create } from './commands/auth-configs.create.cmd';
ts/packages/cli/src/commands/auth-configs/commands/auth-configs.create.cmd.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { Effect, Option, Result } from 'effect';
2 -import { Argument, Command, Flag } from 'effect/unstable/cli';
2 +import { Argument, Command, Flag } from 'effect/cli';
3 import type { AuthConfigCreateParams } from '@composio/client/resources/auth-configs';
4 import { parseJsonRecord } from 'src/utils/parse-json';
5 import { ComposioToolkitsRepository } from 'src/services/composio-clients';
ts/packages/cli/src/commands/auth-configs/commands/auth-configs.info.cmd.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { Effect, Option } from 'effect';
2 -import { Argument, Command } from 'effect/unstable/cli';
2 +import { Argument, Command } from 'effect/cli';
3 import { ComposioToolkitsRepository } from 'src/services/composio-clients';
4 import { TerminalUI } from 'src/services/terminal-ui';
5 import { requireAuth } from 'src/effects/require-auth';
ts/packages/cli/src/commands/auth-configs/commands/auth-configs.list.cmd.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { Effect, Option } from 'effect';
2 -import { Command, Flag } from 'effect/unstable/cli';
2 +import { Command, Flag } from 'effect/cli';
3 import { ComposioToolkitsRepository } from 'src/services/composio-clients';
4 import { TerminalUI } from 'src/services/terminal-ui';
5 import { requireAuth } from 'src/effects/require-auth';
ts/packages/cli/src/commands/background-update-check.ts
+2 -2
@@ -1,5 +1,5 @@
1 import { Effect, Predicate } from 'effect';
2 -import { Command } from 'effect/unstable/cli';
2 +import { Command } from 'effect/cli';
3 import { versionCmd } from './version.cmd';
4 import { checkForUpdateInBackground } from 'src/services/update-check';
5
@@ -10,7 +10,7 @@ const isExplicitVersionCheck = (commandName: string, input: unknown): boolean =>
10 * Builds the root command so the background update request starts only after the CLI has parsed
11 * the selected command, and never for an explicit `composio version --check`.
12 *
13 - * `effect/unstable/cli` keeps the selected subcommand private to the parent's dispatcher, so the
13 + * `effect/cli` keeps the selected subcommand private to the parent's dispatcher, so the
14 * hook is attached per subcommand (each sees its own parsed input) plus the root itself for the
15 * no-subcommand path, before the tree is assembled with `Command.withSubcommands`.
16 */
ts/packages/cli/src/commands/config/config.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command } from 'effect/unstable/cli';
1 +import { Command } from 'effect/cli';
2 import { configExperimentalCmd } from './config.experimental.cmd';
3
4 export const configCmd = Command.make('config').pipe(
ts/packages/cli/src/commands/config/config.experimental.cmd.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { Data, Effect, Option } from 'effect';
2 -import { Argument, Command } from 'effect/unstable/cli';
2 +import { Argument, Command } from 'effect/cli';
3 import { ComposioCliUserConfig } from 'src/services/cli-user-config';
4 import { TerminalUI } from 'src/services/terminal-ui';
5 import { NodeOs } from 'src/services/node-os';
ts/packages/cli/src/commands/connected-accounts/commands/connected-accounts.info.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command } from 'effect/unstable/cli';
1 +import { Argument, Command } from 'effect/cli';
2 import { Effect, Option } from 'effect';
3 import { ComposioToolkitsRepository } from 'src/services/composio-clients';
4 import { TerminalUI } from 'src/services/terminal-ui';
ts/packages/cli/src/commands/connected-accounts/commands/connected-accounts.link.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command, Flag } from 'effect/unstable/cli';
1 +import { Argument, Command, Flag } from 'effect/cli';
2 import { Data, Effect, Option, Schedule } from 'effect';
3 import type { Composio as RawComposioClient } from '@composio/client';
4 import open from 'open';
ts/packages/cli/src/commands/connected-accounts/commands/connected-accounts.list.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command, Flag } from 'effect/unstable/cli';
1 +import { Command, Flag } from 'effect/cli';
2 import { Data, Effect, Option } from 'effect';
3 import { ComposioClientSingleton } from 'src/services/composio-clients';
4 import { TerminalUI } from 'src/services/terminal-ui';
ts/packages/cli/src/commands/connected-accounts/commands/connected-accounts.whoami.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command } from 'effect/unstable/cli';
1 +import { Argument, Command } from 'effect/cli';
2 import { Effect, Option } from 'effect';
3 import { ComposioToolkitsRepository } from 'src/services/composio-clients';
4 import { TerminalUI } from 'src/services/terminal-ui';
ts/packages/cli/src/commands/connected-accounts/connected-accounts.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command } from 'effect/unstable/cli';
1 +import { Command } from 'effect/cli';
2 import { connectedAccountsCmd$List } from './commands/connected-accounts.list.cmd';
3 import { connectedAccountsCmd$Info } from './commands/connected-accounts.info.cmd';
4 import { connectedAccountsCmd$Whoami } from './commands/connected-accounts.whoami.cmd';
ts/packages/cli/src/commands/connections/commands/connections.list.cmd.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { Data, Effect, Option } from 'effect';
2 -import { Command, Flag } from 'effect/unstable/cli';
2 +import { Command, Flag } from 'effect/cli';
3 import { decodeConnectedAccountListWithFallback } from 'src/effects/decode-connected-account-list';
4 import { requireAuth } from 'src/effects/require-auth';
5 import type { ConnectedAccountItem } from 'src/models/connected-accounts';
ts/packages/cli/src/commands/connections/commands/connections.remove.cmd.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { Data, Effect } from 'effect';
2 -import { Argument, Command } from 'effect/unstable/cli';
2 +import { Argument, Command } from 'effect/cli';
3 import { decodeConnectedAccountListWithFallback } from 'src/effects/decode-connected-account-list';
4 import { requireAuth } from 'src/effects/require-auth';
5 import type { ConnectedAccountItem } from 'src/models/connected-accounts';
ts/packages/cli/src/commands/connections/connections.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command } from 'effect/unstable/cli';
1 +import { Command } from 'effect/cli';
2 import { connectionsCmd$List } from './commands/connections.list.cmd';
3 import { connectionsCmd$Remove } from './commands/connections.remove.cmd';
4
ts/packages/cli/src/commands/debug.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command } from 'effect/unstable/cli';
1 +import { Command } from 'effect/cli';
2 import { Data, Effect, Option } from 'effect';
3 import { TerminalUI } from 'src/services/terminal-ui';
4 import { renderCommandHintGraph } from 'src/services/command-hints';
ts/packages/cli/src/commands/dev.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command, Flag } from 'effect/unstable/cli';
1 +import { Command, Flag } from 'effect/cli';
2 import { Data, Effect, Option } from 'effect';
3 import { initCmd } from './init.cmd';
4 import { triggersCmd$Listen } from './triggers/commands/triggers.listen.cmd';
ts/packages/cli/src/commands/generate/generate.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command, Flag } from 'effect/unstable/cli';
1 +import { Command, Flag } from 'effect/cli';
2 import { Effect, Match, Option } from 'effect';
3 import { ProjectEnvironmentDetector } from 'src/services/project-environment-detector';
4 import { NodeProcess } from 'src/services/node-process';
ts/packages/cli/src/commands/generate/generate.py.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command } from 'effect/unstable/cli';
1 +import { Command } from 'effect/cli';
2 import { generatePythonTypeStubs, outputOpt, toolkitsOpt } from '../py/commands/py.generate.cmd';
3
4 /**
ts/packages/cli/src/commands/generate/generate.ts.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command } from 'effect/unstable/cli';
1 +import { Command } from 'effect/cli';
2 import {
3 outputOpt,
4 compact,
ts/packages/cli/src/commands/index.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { Array as Arr, Console, Effect, Layer } from 'effect';
2 -import { CliOutput, Command } from 'effect/unstable/cli';
2 +import { CliOutput, Command } from 'effect/cli';
3 import { $defaultCmd, withRootLogLevel } from './$default.cmd';
4 import { getVersion } from 'src/effects/version';
5 import { versionCmd } from './version.cmd';
ts/packages/cli/src/commands/init.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command as CliCommand, Flag } from 'effect/unstable/cli';
1 +import { Command as CliCommand, Flag } from 'effect/cli';
2 import { Effect, Option } from 'effect';
3 import * as FileSystem from 'effect/FileSystem';
4 import * as Path from 'effect/Path';
ts/packages/cli/src/commands/install.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command, Flag } from 'effect/unstable/cli';
1 +import { Command, Flag } from 'effect/cli';
2 import * as FileSystem from 'effect/FileSystem';
3 import * as Path from 'effect/Path';
4 import type { PlatformError } from 'effect/PlatformError';
ts/packages/cli/src/commands/listen.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command, Flag } from 'effect/unstable/cli';
1 +import { Argument, Command, Flag } from 'effect/cli';
2 import * as FileSystem from 'effect/FileSystem';
3 import * as Path from 'effect/Path';
4 import { NotFoundError, type Composio as RawComposioClient } from '@composio/client';
ts/packages/cli/src/commands/login.cmd.ts
+2 -2
@@ -1,4 +1,4 @@
1 -import { Command, Flag } from 'effect/unstable/cli';
1 +import { Command, Flag } from 'effect/cli';
2 import * as FileSystem from 'effect/FileSystem';
3 import * as Path from 'effect/Path';
4 import { Data, DateTime, Effect, Option, Schedule, Schema } from 'effect';
@@ -125,7 +125,7 @@ class LoginOptionError extends Data.TaggedError('commands/LoginOptionError')<{
125 /**
126 * v4 migration note: v3's `ValidationError.invalidValue(HelpDoc.p(message))` produced a value
127 * that `@effect/cli`'s `Command.run` printed to stderr and mapped to exit code 1 itself.
128 - * `effect/unstable/cli`'s `CliError.InvalidValue` is now a fixed flag/argument-name-and-value
128 + * `effect/cli`'s `CliError.InvalidValue` is now a fixed flag/argument-name-and-value
129 * struct (see `CliError.ts`) built by the parser, not a freeform validation message constructor,
130 * and `Command.runWith` only renders errors it produces during parsing — it does not intercept or
131 * render failures raised from inside a command handler. A plain typed domain error (matching the
ts/packages/cli/src/commands/logout.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command, Flag } from 'effect/unstable/cli';
1 +import { Command, Flag } from 'effect/cli';
2 import { Effect, Option } from 'effect';
3 import {
4 AGENT_CONFIG_FILE_NAME,
ts/packages/cli/src/commands/logs-cmd/commands/logs.tools.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command, Flag } from 'effect/unstable/cli';
1 +import { Argument, Command, Flag } from 'effect/cli';
2 import { Data, Effect, Option } from 'effect';
3 import { requireAuth } from 'src/effects/require-auth';
4 import { TerminalUI } from 'src/services/terminal-ui';
ts/packages/cli/src/commands/logs-cmd/commands/logs.triggers.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command, Flag } from 'effect/unstable/cli';
1 +import { Argument, Command, Flag } from 'effect/cli';
2 import { Data, Effect, Option } from 'effect';
3 import { requireAuth } from 'src/effects/require-auth';
4 import { TerminalUI } from 'src/services/terminal-ui';
ts/packages/cli/src/commands/logs-cmd/logs.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command } from 'effect/unstable/cli';
1 +import { Command } from 'effect/cli';
2 import { logsCmd$Tools } from './commands/logs.tools.cmd';
3 import { logsCmd$Triggers } from './commands/logs.triggers.cmd';
4
ts/packages/cli/src/commands/orgs/commands/orgs.list.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command, Flag } from 'effect/unstable/cli';
1 +import { Command, Flag } from 'effect/cli';
2 import { Effect, Option } from 'effect';
3 import { requireAuth } from 'src/effects/require-auth';
4 import { TerminalUI } from 'src/services/terminal-ui';
ts/packages/cli/src/commands/orgs/commands/orgs.switch.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command, Flag } from 'effect/unstable/cli';
1 +import { Command, Flag } from 'effect/cli';
2 import { Effect, Option } from 'effect';
3 import { requireAuth } from 'src/effects/require-auth';
4 import { runOrgSelection } from 'src/effects/select-org-project';
ts/packages/cli/src/commands/orgs/orgs.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command } from 'effect/unstable/cli';
1 +import { Command } from 'effect/cli';
2 import { orgsCmd$List } from './commands/orgs.list.cmd';
3 import { orgsCmd$Switch } from './commands/orgs.switch.cmd';
4
ts/packages/cli/src/commands/projects/commands/projects.list.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command, Flag } from 'effect/unstable/cli';
1 +import { Command, Flag } from 'effect/cli';
2 import { Effect, Option } from 'effect';
3 import { requireAuth } from 'src/effects/require-auth';
4 import { TerminalUI } from 'src/services/terminal-ui';
ts/packages/cli/src/commands/projects/commands/projects.switch.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command } from 'effect/unstable/cli';
1 +import { Command } from 'effect/cli';
2 import { Effect } from 'effect';
3 import { TerminalUI } from 'src/services/terminal-ui';
4
ts/packages/cli/src/commands/projects/projects.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command } from 'effect/unstable/cli';
1 +import { Command } from 'effect/cli';
2 import { projectsCmd$List } from './commands/projects.list.cmd';
3 import { projectsCmd$Switch } from './commands/projects.switch.cmd';
4
ts/packages/cli/src/commands/proxy.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command, Flag } from 'effect/unstable/cli';
1 +import { Argument, Command, Flag } from 'effect/cli';
2 import { Data, Effect, Result, Option } from 'effect';
3 import type {
4 SessionProxyExecuteParams,
ts/packages/cli/src/commands/py/commands/py.generate.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command, Flag } from 'effect/unstable/cli';
1 +import { Command, Flag } from 'effect/cli';
2 import { Array, Data, Effect, Option, pipe, String } from 'effect';
3 import * as FileSystem from 'effect/FileSystem';
4 import * as Path from 'effect/Path';
ts/packages/cli/src/commands/root-help.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { Console, Context, Effect } from 'effect';
2 -import { CliConfig, CliOutput, Command, GlobalFlag } from 'effect/unstable/cli';
2 +import { CliConfig, CliOutput, Command, GlobalFlag } from 'effect/cli';
3
4 export const RootHelpMarker = Context.Reference<boolean>('commands/RootHelpMarker', {
5 defaultValue: () => false,
ts/packages/cli/src/commands/run.cmd.ts
+3 -3
@@ -1,8 +1,8 @@
1 import process from 'node:process';
2 -import { Argument, Command, Flag } from 'effect/unstable/cli';
2 +import { Argument, Command, Flag } from 'effect/cli';
3 import * as FileSystem from 'effect/FileSystem';
4 import * as Path from 'effect/Path';
5 -import { ChildProcess, ChildProcessSpawner } from 'effect/unstable/process';
5 +import { ChildProcess, ChildProcessSpawner } from 'effect/process';
6 import { Data, Deferred, Duration, Effect, MutableRef, Option, Result } from 'effect';
7 import { APP_VERSION } from 'src/constants';
8 import { loadGenerationRuntime } from 'src/effects/generation-runtime';
@@ -323,7 +323,7 @@ class ChildSignalError extends Data.TaggedError('ChildSignalError')<{
323 /**
324 * Sends `signal` to the child's process group and reports whether it was delivered.
325 *
326 - * The `effect/unstable/process` spawner spawns with `detached: true` on POSIX, so the script leads its
326 + * The `effect/process` spawner spawns with `detached: true` on POSIX, so the script leads its
327 * own process group and a negative pid is what reaches it (and anything it spawned). Delivery
328 * fails with ESRCH when the group is already gone, which is a normal race, not a run failure.
329 */
ts/packages/cli/src/commands/setup-skill.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command, Flag } from 'effect/unstable/cli';
1 +import { Argument, Command, Flag } from 'effect/cli';
2 import { Option } from 'effect';
3 import { installSkill } from 'src/effects/install-skill';
4
ts/packages/cli/src/commands/setup.cmd.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { setupSkillCmd } from './setup-skill.cmd';
2 -import { Command, Flag } from 'effect/unstable/cli';
2 +import { Command, Flag } from 'effect/cli';
3 import { Effect, Predicate } from 'effect';
4 import { trackCliEventEffect } from 'src/analytics/dispatch';
5 import {
ts/packages/cli/src/commands/signup.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command, Flag } from 'effect/unstable/cli';
1 +import { Command, Flag } from 'effect/cli';
2 import { Effect } from 'effect';
3 import { handleAgentAuthError } from 'src/effects/handle-agent-auth-error';
4 import {
ts/packages/cli/src/commands/toolkits/commands/toolkits.info.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command, Flag } from 'effect/unstable/cli';
1 +import { Argument, Command, Flag } from 'effect/cli';
2 import { Data, Effect, Option } from 'effect';
3 import { ComposioClientSingleton, ComposioToolkitsRepository } from 'src/services/composio-clients';
4 import { TerminalUI } from 'src/services/terminal-ui';
ts/packages/cli/src/commands/toolkits/commands/toolkits.list.cmd.ts
+1 -1
@@ -1,5 +1,5 @@
1 import process from 'node:process';
2 -import { Command, Flag } from 'effect/unstable/cli';
2 +import { Command, Flag } from 'effect/cli';
3 import { Data, Effect, Option } from 'effect';
4 import { TerminalUI } from 'src/services/terminal-ui';
5 import { requireAuth } from 'src/effects/require-auth';
ts/packages/cli/src/commands/toolkits/commands/toolkits.search.cmd.ts
+1 -1
@@ -1,5 +1,5 @@
1 import process from 'node:process';
2 -import { Argument, Command, Flag } from 'effect/unstable/cli';
2 +import { Argument, Command, Flag } from 'effect/cli';
3 import { Effect } from 'effect';
4 import { ComposioToolkitsRepository } from 'src/services/composio-clients';
5 import { TerminalUI } from 'src/services/terminal-ui';
ts/packages/cli/src/commands/toolkits/commands/toolkits.version.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command } from 'effect/unstable/cli';
1 +import { Argument, Command } from 'effect/cli';
2 import { Effect, Option } from 'effect';
3 import { requireAuth } from 'src/effects/require-auth';
4 import { ComposioClientSingleton } from 'src/services/composio-clients';
ts/packages/cli/src/commands/toolkits/toolkits.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command } from 'effect/unstable/cli';
1 +import { Command } from 'effect/cli';
2 import { toolkitsCmd$List } from './commands/toolkits.list.cmd';
3 import { toolkitsCmd$Info } from './commands/toolkits.info.cmd';
4 import { toolkitsCmd$Search } from './commands/toolkits.search.cmd';
ts/packages/cli/src/commands/tools/commands/tools.execute.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command, Flag } from 'effect/unstable/cli';
1 +import { Argument, Command, Flag } from 'effect/cli';
2 import util from 'node:util';
3 import { Data, Effect, Context, Option, Result } from 'effect';
4 import { redact } from 'src/ui/redact';
ts/packages/cli/src/commands/tools/commands/tools.info.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command } from 'effect/unstable/cli';
1 +import { Argument, Command } from 'effect/cli';
2 import { Effect, Option } from 'effect';
3 import { ComposioToolkitsRepository } from 'src/services/composio-clients';
4 import { TerminalUI } from 'src/services/terminal-ui';
ts/packages/cli/src/commands/tools/commands/tools.list.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command, Flag } from 'effect/unstable/cli';
1 +import { Argument, Command, Flag } from 'effect/cli';
2 import { Effect, Option } from 'effect';
3 import { ComposioToolkitsRepository } from 'src/services/composio-clients';
4 import { TerminalUI } from 'src/services/terminal-ui';
ts/packages/cli/src/commands/tools/commands/tools.search.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command, Flag } from 'effect/unstable/cli';
1 +import { Argument, Command, Flag } from 'effect/cli';
2 import type { SessionSearchResponse } from '@composio/client/resources/tool-router';
3 import { Data, Effect, Option } from 'effect';
4 import { TerminalUI } from 'src/services/terminal-ui';
ts/packages/cli/src/commands/tools/tools.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command } from 'effect/unstable/cli';
1 +import { Command } from 'effect/cli';
2 import { toolsCmd$List } from './commands/tools.list.cmd';
3 import { toolsCmd$Info } from './commands/tools.info.cmd';
4
ts/packages/cli/src/commands/triggers/commands/triggers.create.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command, Flag } from 'effect/unstable/cli';
1 +import { Argument, Command, Flag } from 'effect/cli';
2 import { Effect, Option, Result } from 'effect';
3 import { parseJsonRecord } from 'src/utils/parse-json';
4 import { requireAuth } from 'src/effects/require-auth';
ts/packages/cli/src/commands/triggers/commands/triggers.disable.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command, Flag } from 'effect/unstable/cli';
1 +import { Argument, Command, Flag } from 'effect/cli';
2 import { Data, Effect, Option } from 'effect';
3 import { requireAuth } from 'src/effects/require-auth';
4 import { handleHttpServerError } from 'src/effects/handle-http-error';
ts/packages/cli/src/commands/triggers/commands/triggers.enable.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command } from 'effect/unstable/cli';
1 +import { Argument, Command } from 'effect/cli';
2 import { Effect, Option } from 'effect';
3 import { requireAuth } from 'src/effects/require-auth';
4 import { handleHttpServerError } from 'src/effects/handle-http-error';
ts/packages/cli/src/commands/triggers/commands/triggers.info.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command } from 'effect/unstable/cli';
1 +import { Argument, Command } from 'effect/cli';
2 import { Effect, Option } from 'effect';
3 import { requireAuth } from 'src/effects/require-auth';
4 import { handleHttpServerError } from 'src/effects/handle-http-error';
ts/packages/cli/src/commands/triggers/commands/triggers.list.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command, Flag } from 'effect/unstable/cli';
1 +import { Argument, Command, Flag } from 'effect/cli';
2 import { Data, Effect } from 'effect';
3 import { requireAuth } from 'src/effects/require-auth';
4 import { ComposioToolkitsRepository } from 'src/services/composio-clients';
ts/packages/cli/src/commands/triggers/commands/triggers.listen.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command, Flag } from 'effect/unstable/cli';
1 +import { Command, Flag } from 'effect/cli';
2 import * as FileSystem from 'effect/FileSystem';
3 import * as Path from 'effect/Path';
4 import { Deferred, Effect, Option } from 'effect';
ts/packages/cli/src/commands/triggers/commands/triggers.status.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command, Flag } from 'effect/unstable/cli';
1 +import { Command, Flag } from 'effect/cli';
2 import { Effect, Option } from 'effect';
3 import { handleHttpServerError } from 'src/effects/handle-http-error';
4 import { requireAuth } from 'src/effects/require-auth';
ts/packages/cli/src/commands/triggers/root-triggers.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command } from 'effect/unstable/cli';
1 +import { Command } from 'effect/cli';
2 import { rootTriggersCmd$Info } from './commands/triggers.info.cmd';
3 import { rootTriggersCmd$List } from './commands/triggers.list.cmd';
4
ts/packages/cli/src/commands/triggers/triggers.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command } from 'effect/unstable/cli';
1 +import { Command } from 'effect/cli';
2 import { triggersCmd$Info } from './commands/triggers.info.cmd';
3 import { triggersCmd$List } from './commands/triggers.list.cmd';
4 import { triggersCmd$Status } from './commands/triggers.status.cmd';
ts/packages/cli/src/commands/ts/commands/ts.generate.cmd.ts
+1 -1
@@ -15,7 +15,7 @@
15 * and stored along with the generated TypeScript files. CJS is not supported.
16 */
17
18 -import { Command, Flag } from 'effect/unstable/cli';
18 +import { Command, Flag } from 'effect/cli';
19 import { Array, Data, Effect, Option, pipe } from 'effect';
20 import * as FileSystem from 'effect/FileSystem';
21 import * as Path from 'effect/Path';
ts/packages/cli/src/commands/upgrade.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Argument, Command, Flag } from 'effect/unstable/cli';
1 +import { Argument, Command, Flag } from 'effect/cli';
2 import { Effect, Option } from 'effect';
3 import { APP_VERSION } from 'src/constants';
4 import { UpgradeBinary } from 'src/services/upgrade-binary';
ts/packages/cli/src/commands/version.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command, Flag } from 'effect/unstable/cli';
1 +import { Command, Flag } from 'effect/cli';
2 import { Effect } from 'effect';
3 import { getVersion } from 'src/effects/version';
4 import { getUpdateStatus } from 'src/services/update-check';
ts/packages/cli/src/commands/whoami.cmd.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import { Command } from 'effect/unstable/cli';
1 +import { Command } from 'effect/cli';
2 import { Effect, Option } from 'effect';
3 import { getSessionInfoByUserApiKey } from 'src/services/composio-clients';
4 import { linkApolloIdentityForAnalytics } from 'src/analytics/dispatch';
ts/packages/cli/src/effect-errors/logic/errors/span-annotation.ts
+1 -1
@@ -8,7 +8,7 @@ import type { ErrorSpan } from 'effect-errors/types';
8 // symbol. v4 dropped that mechanism entirely (confirmed against
9 // `ts/vendor/effect` — no such symbol, and no per-reason span stamped directly
10 // onto the raised error value anywhere in the v4 source or the installed
11 -// `effect@4.0.0-rc.115` dist).
11 +// `effect` dist).
12 //
13 // The analogous v4 mechanism lives one level up, on the `Cause` `Reason`
14 // rather than the bare error value: `Effect.withSpan` pushes a span-named
ts/packages/cli/src/effects/core-dependency.ts
+2 -2
@@ -1,6 +1,6 @@
1 import { Effect, FileSystem, Match, Path } from 'effect';
2 -import { ChildProcess } from 'effect/unstable/process';
3 -import { ChildProcessSpawner } from 'effect/unstable/process/ChildProcessSpawner';
2 +import { ChildProcess } from 'effect/process';
3 +import { ChildProcessSpawner } from 'effect/process/ChildProcessSpawner';
4 import {
5 ProjectEnvironmentDetector,
6 type JsLanguage,
ts/packages/cli/src/effects/find-composio-core-generated.ts
+2 -2
@@ -1,6 +1,6 @@
1 import { Data, Effect, FileSystem, Match, Path } from 'effect';
2 -import { ChildProcess } from 'effect/unstable/process';
3 -import { ChildProcessSpawner } from 'effect/unstable/process/ChildProcessSpawner';
2 +import { ChildProcess } from 'effect/process';
3 +import { ChildProcessSpawner } from 'effect/process/ChildProcessSpawner';
4 import {
5 JsPackageManagerDetector,
6 type PackageManager,
ts/packages/cli/src/effects/install-skill.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { Data, Effect, FileSystem, Path } from 'effect';
2 -import { HttpClient } from 'effect/unstable/http';
2 +import { HttpClient } from 'effect/http';
3 import { NodeOs } from 'src/services/node-os';
4 import { TerminalUI } from 'src/services/terminal-ui';
5 import { GITHUB_CONFIG, type GitHubConfig } from 'src/config';
ts/packages/cli/src/effects/resolve-cli-release.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { Data, Effect, Option, Schema } from 'effect';
2 -import { HttpClient, HttpClientResponse } from 'effect/unstable/http';
2 +import { HttpClient, HttpClientResponse } from 'effect/http';
3 import { semverComparator } from 'src/effects/compare-semver';
4 import type { CliReleaseChannel } from 'src/constants';
5 import type { GitHubConfig } from 'src/config';
ts/packages/cli/src/effects/resolve-optional-text-input.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { Effect, FileSystem, Option } from 'effect';
2 -import { CliError } from 'effect/unstable/cli';
2 +import { CliError } from 'effect/cli';
3
4 import { readStdin, readStdinIfPiped } from 'src/effects/read-stdin';
5
ts/packages/cli/src/effects/shell-completions.ts
+4 -4
@@ -1,5 +1,5 @@
1 import { Effect } from 'effect';
2 -import { Command, Completions } from 'effect/unstable/cli';
2 +import { Command, Completions } from 'effect/cli';
3
4 type Shell = 'bash' | 'zsh' | 'fish';
5
@@ -23,14 +23,14 @@ const sanitizeFishCompletionLines = (lines: Array<string>): Array<string> =>
23
24 /**
25 * Converts a public `Command.Command` tree into the `Completions.CommandDescriptor`
26 - * shape consumed by `effect/unstable/cli`'s completion-script generator.
26 + * shape consumed by `effect/cli`'s completion-script generator.
27 *
28 * v4 has no like-for-like replacement for v3's rich `CommandDescriptor` walk:
29 * `Command.Command` only exposes `name` / `description` / `subcommands`
30 - * publicly (see `effect/unstable/cli/Command`), not per-flag or per-argument
30 + * publicly (see `effect/cli/Command`), not per-flag or per-argument
31 * metadata. Completions are therefore generated at the subcommand-name level
32 * only; flag/argument value completion is intentionally omitted until
33 - * `effect/unstable/cli` exposes that metadata through a public API.
33 + * `effect/cli` exposes that metadata through a public API.
34 */
35 const toCompletionDescriptor = (command: Command.Command.Any): Completions.CommandDescriptor => ({
36 name: command.name,
ts/packages/cli/src/services/command-runner.ts
+1 -1
@@ -1,6 +1,6 @@
1 import { Context, Effect, Layer, Stream } from 'effect';
2 import type * as PlatformError from 'effect/PlatformError';
3 -import type { ChildProcess, ChildProcessSpawner } from 'effect/unstable/process';
3 +import type { ChildProcess, ChildProcessSpawner } from 'effect/process';
4
5 export interface CommandResult {
6 readonly exitCode: number;
ts/packages/cli/src/services/permission-ui.ts
+1 -1
@@ -1,6 +1,6 @@
1 import * as BunServices from '@effect/platform-bun/BunServices';
2 import { Effect, Stream } from 'effect';
3 -import { ChildProcess, ChildProcessSpawner } from 'effect/unstable/process';
3 +import { ChildProcess, ChildProcessSpawner } from 'effect/process';
4 import { HOST_CONFIG, type CallerAgentSignals } from 'src/config';
5
6 export type PermissionCallerAgent = 'claude' | 'codex' | 'openclaw' | 'composio';
ts/packages/cli/src/services/run-helpers-runtime.ts
+1 -1
@@ -4,7 +4,7 @@ import { cliRequestHeaders } from './client-provenance';
4 // eslint-disable-next-line no-restricted-imports -- sync fs for run-log appends and run-file writes in the child process, outside the Effect runtime
5 import * as fs from 'node:fs';
6 import { ssrfSafeFetch } from '@composio/core/utils/ssrf-guard';
7 -import { ChildProcess as Command } from 'effect/unstable/process';
7 +import { ChildProcess as Command } from 'effect/process';
8 import * as Path from 'effect/Path';
9 import * as BunServices from '@effect/platform-bun/BunServices';
10 import { Effect, Result, ManagedRuntime, Predicate, Schema } from 'effect';
ts/packages/cli/src/services/runtime-flags.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { Context, Effect, Layer, Option } from 'effect';
2 -import { Flag, GlobalFlag } from 'effect/unstable/cli';
2 +import { Flag, GlobalFlag } from 'effect/cli';
3 import { DEBUG_CONFIG } from 'src/config';
4
5 export const TELEMETRY_DEBUG_FLAG = '--telemetry-debug';
ts/packages/cli/src/services/setup-skill-installer.ts
+1 -1
@@ -1,6 +1,6 @@
1 import * as FileSystem from 'effect/FileSystem';
2 import * as Path from 'effect/Path';
3 -import { HttpClient } from 'effect/unstable/http';
3 +import { HttpClient } from 'effect/http';
4 import { Effect, Context, Layer } from 'effect';
5 import {
6 inferSkillReleaseChannel,
ts/packages/cli/src/services/setup.ts
+1 -1
@@ -1,6 +1,6 @@
1 import * as PlatformError from 'effect/PlatformError';
2 import { Data, Effect, Option, Predicate, Schema } from 'effect';
3 -import { ChildProcess as Command } from 'effect/unstable/process';
3 +import { ChildProcess as Command } from 'effect/process';
4 import semver from 'semver';
5 import { trackCliEventEffect } from 'src/analytics/dispatch';
6 import {
ts/packages/cli/src/services/upgrade-binary.ts
+1 -1
@@ -10,7 +10,7 @@ import {
10 Context,
11 Layer,
12 } from 'effect';
13 -import { HttpClient, HttpClientResponse } from 'effect/unstable/http';
13 +import { HttpClient, HttpClientResponse } from 'effect/http';
14 import * as FileSystem from 'effect/FileSystem';
15 import * as Path from 'effect/Path';
16 import { APP_VERSION } from '../constants';
ts/packages/cli/src/type-utils.ts
+1 -1
@@ -1,4 +1,4 @@
1 -import type { Command } from 'effect/unstable/cli';
1 +import type { Command } from 'effect/cli';
2
3 export type GetCmdParams<T> =
4 T extends Command.Command<
ts/packages/cli/test/__utils__/models/toolkits.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { DateTime, Effect } from 'effect';
2 -import * as Arbitrary from 'effect/unstable/arbitrary/Arbitrary';
2 +import * as Arbitrary from 'effect/Arbitrary';
3 import { Toolkit } from 'src/models/toolkits';
4
5 /**
ts/packages/cli/test/__utils__/services/test-layer.ts
+3 -3
@@ -30,8 +30,8 @@ import {
30 Schedule,
31 String,
32 } from 'effect';
33 -import { CliConfig, type Command as CliCommand } from 'effect/unstable/cli';
34 -import { ChildProcess, ChildProcessSpawner } from 'effect/unstable/process';
33 +import { CliConfig, type Command as CliCommand } from 'effect/cli';
34 +import { ChildProcess, ChildProcessSpawner } from 'effect/process';
35 import { ComposioCliConfig } from 'src/cli-config';
36 import { hostOnlyEnvConfigProvider } from 'test/__utils__/live-env-config-provider';
37 import * as MockConsole from './mock-console';
@@ -94,7 +94,7 @@ import {
94 SetupSkillInstaller,
95 type SetupSkillInstallerShape,
96 } from 'src/services/setup-skill-installer';
97 -import { FetchHttpClient } from 'effect/unstable/http';
97 +import { FetchHttpClient } from 'effect/http';
98 import * as BunServices from '@effect/platform-bun/BunServices';
99
100 /**
ts/packages/cli/test/__utils__/typescript-compiler.ts
+1 -1
@@ -1,7 +1,7 @@
1 import { describe, it, expect, vi } from 'vitest';
2 import { Effect, Path, Stream, String } from 'effect';
3 import * as BunPath from '@effect/platform-bun/BunPath';
4 -import { ChildProcess, ChildProcessSpawner } from 'effect/unstable/process';
4 +import { ChildProcess, ChildProcessSpawner } from 'effect/process';
5 import ts from 'typescript';
6 import {
7 buildVirtualFileMap,
ts/packages/cli/test/__utils__/vitest.global-setup.ts
+1 -1
@@ -5,7 +5,7 @@ import * as BunFileSystem from '@effect/platform-bun/BunFileSystem';
5 // under Node, not Bun).
6 import * as BunServices from '@effect/platform-bun/BunServices';
7 import { Effect, FileSystem, Layer, Option, References } from 'effect';
8 -import { ChildProcess, ChildProcessSpawner } from 'effect/unstable/process';
8 +import { ChildProcess, ChildProcessSpawner } from 'effect/process';
9 import path from 'node:path';
10
11 const __dirname = path.resolve(path.dirname(new URL(import.meta.url).pathname));
ts/packages/cli/test/src/analytics.dispatch.test.ts
+1 -1
@@ -5,7 +5,7 @@ import * as BunPath from '@effect/platform-bun/BunPath';
5 import { ConfigProvider, Effect, FileSystem, Layer, Path } from 'effect';
6 import { mkdirSync, rmSync, writeFileSync } from 'node:fs';
7 import path from 'node:path';
8 -import { FetchHttpClient } from 'effect/unstable/http';
8 +import { FetchHttpClient } from 'effect/http';
9 import * as tempy from 'tempy';
10 import {
11 clearApolloIdentityForAnalytics,
ts/packages/cli/test/src/commands/$default.cmd.test.ts
+1 -1
@@ -11,7 +11,7 @@ describe('CLI: composio', () => {
11 });
12
13 // v4 migration note: v3's `Command.run` returned a `ValidationError.CommandMismatch` for the
14 - // caller to render by hand. `effect/unstable/cli`'s `Command.runWith` renders parse/validation
14 + // caller to render by hand. `effect/cli`'s `Command.runWith` renders parse/validation
15 // errors itself (see `src/cli-main.ts` module docs) before re-failing with `CliError.ShowHelp`,
16 // so these tests now assert on the printed `MockConsole` output instead of inspecting the error
17 // value directly.
ts/packages/cli/test/src/commands/background-update-check.test.ts
+1 -1
@@ -1,6 +1,6 @@
1 import { describe, expect, layer, vi } from '@effect/vitest';
2 import { Effect } from 'effect';
3 -import { Command } from 'effect/unstable/cli';
3 +import { Command } from 'effect/cli';
4 import { $defaultCmd } from 'src/commands/$default.cmd';
5 import { withBackgroundUpdateCheck } from 'src/commands/background-update-check';
6 import { versionCmd } from 'src/commands/version.cmd';
ts/packages/cli/test/src/commands/connected-accounts/connected-accounts.link.cmd.test.ts
+1 -1
@@ -289,7 +289,7 @@ describe('CLI: composio dev connected-accounts link', () => {
289 fixture: 'global-test-user-id',
290 })
291 )('[Given] a blank --alias [Then] fails with a CLI validation error', it => {
292 - // v4 migration note: `effect/unstable/cli`'s `CliError.InvalidValue` is a fixed
292 + // v4 migration note: `effect/cli`'s `CliError.InvalidValue` is a fixed
293 // flag/argument-name-and-value struct produced only by the parser; it can't carry a
294 // freeform message. This business-level validation (only knowable after parsing) is
295 // now a plain typed domain error (`LinkInputError`), matching the pattern documented in
ts/packages/cli/test/src/commands/root-help-consistency.test.ts
+1 -1
@@ -18,7 +18,7 @@ const capture = (args: ReadonlyArray<string>) =>
18 }).pipe(Effect.provide(TestLive()));
19
20 const commandPaths = (
21 - command: ReturnType<typeof buildRootCommand> | import('effect/unstable/cli').Command.Command.Any,
21 + command: ReturnType<typeof buildRootCommand> | import('effect/cli').Command.Command.Any,
22 prefix: ReadonlyArray<string> = []
23 ): ReadonlyArray<ReadonlyArray<string>> =>
24 command.subcommands
ts/packages/cli/test/src/commands/run.cmd.test.ts
+1 -1
@@ -6,7 +6,7 @@ import { describe, expect, layer } from '@effect/vitest';
6 import * as BunServices from '@effect/platform-bun/BunServices';
7 import * as Path from 'effect/Path';
8 import { Cause, ConfigProvider, Effect, Exit, Layer, Option, Sink, Stream } from 'effect';
9 -import { ChildProcess, ChildProcessSpawner } from 'effect/unstable/process';
9 +import { ChildProcess, ChildProcessSpawner } from 'effect/process';
10 import { afterEach, it, vi } from 'vitest';
11 import { createCliCommandTelemetryContext } from 'src/analytics/events';
12 import {
ts/packages/cli/test/src/commands/setup.cmd.test.ts
+1 -1
@@ -1,7 +1,7 @@
1 import { describe, expect, layer } from '@effect/vitest';
2 import { Cause, Effect, Exit, Fiber, Latch } from 'effect';
3 import { TestClock } from 'effect/testing';
4 -import { ChildProcess, ChildProcessSpawner } from 'effect/unstable/process';
4 +import { ChildProcess, ChildProcessSpawner } from 'effect/process';
5 import { afterEach, vi } from 'vitest';
6 import { SkillInstallError } from 'src/effects/install-skill';
7 import { CommandRunner } from 'src/services/command-runner';
ts/packages/cli/test/src/commands/setup.telemetry.cmd.test.ts
+1 -1
@@ -2,7 +2,7 @@ import { mkdirSync, writeFileSync } from 'node:fs';
2 import { join } from 'node:path';
3 import { describe, expect, layer } from '@effect/vitest';
4 import { Effect, Exit } from 'effect';
5 -import { ChildProcess, ChildProcessSpawner } from 'effect/unstable/process';
5 +import { ChildProcess, ChildProcessSpawner } from 'effect/process';
6 import { afterEach, beforeEach, vi } from 'vitest';
7 import { CommandRunner } from 'src/services/command-runner';
8 import { NodeOs } from 'src/services/node-os';
ts/packages/cli/test/src/effects/install-skill.test.ts
+1 -1
@@ -9,7 +9,7 @@ import {
9 Path,
10 PlatformError,
11 } from 'effect';
12 -import { FetchHttpClient, HttpClient } from 'effect/unstable/http';
12 +import { FetchHttpClient, HttpClient } from 'effect/http';
13 import * as BunFileSystem from '@effect/platform-bun/BunFileSystem';
14 import * as BunPath from '@effect/platform-bun/BunPath';
15 import * as tempy from 'tempy';
ts/packages/cli/test/src/effects/resolve-cli-release.test.ts
+1 -1
@@ -1,6 +1,6 @@
1 import { describe, expect, it } from '@effect/vitest';
2 import { Effect } from 'effect';
3 -import { HttpClient, HttpClientResponse } from 'effect/unstable/http';
3 +import { HttpClient, HttpClientResponse } from 'effect/http';
4 import { fetchLatestCliRelease, type GitHubRelease } from 'src/effects/resolve-cli-release';
5
6 const githubConfig = {
ts/packages/cli/test/src/services/permission-ui.test.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { describe, expect, it } from '@effect/vitest';
2 -import { ChildProcessSpawner } from 'effect/unstable/process';
2 +import { ChildProcessSpawner } from 'effect/process';
3 import { ConfigProvider, Effect, Layer, PlatformError } from 'effect';
4 import { detectPermissionCallerAgentEffect } from 'src/services/permission-ui';
5 import { HOST_CONFIG } from 'src/config';
ts/packages/cli/test/src/services/setup-skill-installer.test.ts
+1 -1
@@ -1,5 +1,5 @@
1 import * as FileSystem from 'effect/FileSystem';
2 -import { HttpClient, HttpClientResponse } from 'effect/unstable/http';
2 +import { HttpClient, HttpClientResponse } from 'effect/http';
3 import * as Path from 'effect/Path';
4 import * as BunFileSystem from '@effect/platform-bun/BunFileSystem';
5 import * as BunPath from '@effect/platform-bun/BunPath';
ts/packages/cli/test/src/services/upgrade-binary.test.ts
+1 -1
@@ -1,6 +1,6 @@
1 import { describe, expect, it, vi } from '@effect/vitest';
2 import { ConfigProvider, Effect, Layer, Option } from 'effect';
3 -import { FetchHttpClient } from 'effect/unstable/http';
3 +import { FetchHttpClient } from 'effect/http';
4 import * as FileSystem from 'effect/FileSystem';
5 import * as Path from 'effect/Path';
6 import * as PlatformError from 'effect/PlatformError';
ts/scripts/test-skill-routing.mjs
+1 -1
@@ -41,7 +41,7 @@ const probes = [
41 {
42 task: 'implement a new Effect CLI command and wire it into the command tree',
43 expect: 'cli-command',
44 - terms: ['effect/unstable/cli', 'command wiring', 'CLI command UX', 'CLI source edits'],
44 + terms: ['effect/cli', 'command wiring', 'CLI command UX', 'CLI source edits'],
45 },
46 {
47 task: 'write a Docker-based end-to-end test for the composio CLI binary',