Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
refactor(cli): move `artifacts cwd` into the directory shape (#4973)
This PR: - turns `artifacts.cmd.ts` into the group entry `artifacts/artifacts.cmd.ts` and moves its one subcommand to `artifacts/cwd/artifacts.cwd.{cmd,handler}.ts` (`artifactsCmd$Cwd`, `runArtifactsCwd`) - adds `artifacts.cwd.cmd.test.ts`: no session with `COMPOSIO_SESSION_DIR`, no session and no configured root (`<tmpdir>/composio`), and a session bound to the cwd (`<root>/cli_s_…`) - adds `artifacts.cwd.handler.test.ts`, which pins that the path is written with `force: true` - removes `artifacts.cmd.ts` from `COMMAND_TEST_EXEMPTIONS` (15 to 14) Part of U9 of the CLI command-layout series. No user-visible change, so no CHANGELOG entry. Verified locally on the branch tip: | Check | Result | | --- | --- | | `pnpm --filter @composio/cli typecheck` | passes | | `pnpm --filter @composio/cli test` (skills, boundaries, command tests, Vitest) | 162 files, 1902 passed, 1 skipped | | `validate:command-tests` | 14 exemptions (was 15) | | `lint:effect` | 0 diagnostics | | `oxlint`, prettier on touched files | clean | | Binary smoke | `artifacts --help`, `artifacts cwd --help`, `artifacts cwd`, root `--help`: identical to an `origin/next` (231122de1) binary |