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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .craft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,10 @@ workspaces:
# `merge-jobs.yml` packs every one of them. To publish another package
# from `packages/`, add its directory name here and to release.yml's
# `product` options. No preReleaseCommand:
# Craft bumps package.json through the npm target.
packages/{http,logger}:
# Craft bumps package.json through the npm target. `wizard` is the
# deprecated @sentry/wizard forwarder; it starts at 10.0.0 so npm's `latest`
# moves forward from 9.x, and CLI releases don't bump or publish it.
packages/{http,logger,wizard}:
changelog:
policy: auto
releaseBranchPrefix: "release/{{workspaceName}}"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
- cli
- http
- logger
- wizard
bump:
description: "Version bump: auto (from commits), pre (next prerelease), or an explicit bump type"
required: true
Expand Down
3 changes: 2 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ toolkit/
│ ├── mcp-cloudflare/ # Web app + OAuth
│ ├── mcp-server-evals/ # AI evaluation tests
│ ├── mcp-server-mocks/ # MSW mocks
│ └── mcp-test-client/ # CLI test client
│ ├── mcp-test-client/ # CLI test client
│ └── wizard/ # Deprecated @sentry/wizard, forwards to `sentry wizard`
└── docs/ # Toolkit contributor docs for CLI and MCP
```

Expand Down
4 changes: 3 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ shared primitives used by both products. `packages/logger/` is the structured
logger the CLI uses, published to npm as `@sentry/logger`; see its
[README](../packages/logger/README.md). `packages/http/` is the HTTP response
cache, body codec, and retry logic, published to npm as `@sentry/http`; see
its [README](../packages/http/README.md).
its [README](../packages/http/README.md). `packages/wizard/` is the
deprecated `@sentry/wizard` package, which only forwards to `sentry wizard`;
see its [README](../packages/wizard/README.md).

## Ownership

Expand Down
105 changes: 105 additions & 0 deletions packages/wizard/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# Functional Source License, Version 1.1, Apache 2.0 Future License

## Abbreviation

FSL-1.1-Apache-2.0

## Notice

Copyright 2025 Functional Software, Inc. dba Sentry

## Terms and Conditions

### Licensor ("We")

The party offering the Software under these Terms and Conditions.

### The Software

The "Software" is each version of the software that we make available under
these Terms and Conditions, as indicated by our inclusion of these Terms and
Conditions with the Software.

### License Grant

Subject to your compliance with this License Grant and the Patents,
Redistribution and Trademark clauses below, we hereby grant you the right to
use, copy, modify, create derivative works, publicly perform, publicly display
and redistribute the Software for any Permitted Purpose identified below.

### Permitted Purpose

A Permitted Purpose is any purpose other than a Competing Use. A Competing Use
means making the Software available to others in a commercial product or
service that:

1. substitutes for the Software;

2. substitutes for any other product or service we offer using the Software
that exists as of the date we make the Software available; or

3. offers the same or substantially similar functionality as the Software.

Permitted Purposes specifically include using the Software:

1. for your internal use and access;

2. for non-commercial education;

3. for non-commercial research; and

4. in connection with professional services that you provide to a licensee
using the Software in accordance with these Terms and Conditions.

### Patents

To the extent your use for a Permitted Purpose would necessarily infringe our
patents, the license grant above includes a license under our patents. If you
make a claim against any party that the Software infringes or contributes to
the infringement of any patent, then your patent license to the Software ends
immediately.

### Redistribution

The Terms and Conditions apply to all copies, modifications and derivatives of
the Software.

If you redistribute any copies, modifications or derivatives of the Software,
you must include a copy of or a link to these Terms and Conditions and not
remove any copyright notices provided in or with the Software.

### Disclaimer

THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.

IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.

### Trademarks

Except for displaying the License Details and identifying us as the origin of
the Software, you have no right under these Terms and Conditions to use our
trademarks, trade names, service marks or product names.

## Grant of Future License

We hereby irrevocably grant you an additional license to use the Software under
the Apache License, Version 2.0 that is effective on the second anniversary of
the date we make the Software available. On or after that date, you may use the
Software under the Apache License, Version 2.0, in which case the following
will apply:

Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License.

You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
41 changes: 41 additions & 0 deletions packages/wizard/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# @sentry/wizard

> **Deprecated. Use `npx sentry wizard`.** The Sentry wizard is now the
> `sentry wizard` command of the [Sentry CLI](https://cli.sentry.dev). It
> takes the org and project first, then the integration:
>
> ```shell
> npx sentry wizard my-org/my-project nextjs
> ```
>
> See the [`sentry wizard` docs](https://cli.sentry.dev/commands/wizard/).

From version 10, this package only forwards to `sentry wizard`, so existing
`npx @sentry/wizard` commands keep working:

```shell
# Runs `sentry wizard my-org/my-project nextjs`
npx @sentry/wizard -i nextjs --org my-org --project my-project
```

It prints a deprecation notice on stderr, then runs `sentry wizard` from the
[`sentry`](https://www.npmjs.com/package/sentry) package it depends on, with
the old flags translated:

- `-i`/`--integration <id>` becomes the integration argument.
- `--org <org> --project <project>` becomes `<org>/<project>`, and `--org`
alone becomes `<org>/`.
- `--force-install`, `--ignore-git-changes`, `-f` and `--force` become `-f`.
- `-u`/`--url <url>` sets `SENTRY_URL` for the run.
- `--spotlight` sets `SENTRY_SPOTLIGHT=1` for the run.
- Positional arguments and `--help` pass through.

Every other old flag is ignored with a notice, including `--project` without
`--org`, `--saas` and the sign-up flags (sign up at <https://sentry.io/signup/> first). The exit code
and signals pass through. Version 9 stays on npm for anyone who pins it.

## Development

`bin/sentry-wizard.js` is the whole package, shipped as written.
`pnpm run test` runs it against a stand-in `sentry` package. It is released on
its own, from the `packages/wizard` Craft workspace, not with the CLI.
Loading
Loading