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
62 changes: 31 additions & 31 deletions .agents/skills/dotagents/references/config-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
## Top-Level Structure

```toml
version = 1 # Required, must be 1
gitignore = true # Optional, default true
agents = ["claude", "cursor"] # Optional, agent targets

[project] # Optional
[trust] # Optional
[[skills]] # Optional, array of skill entries
[[mcp]] # Optional, array of MCP servers
[[hooks]] # Optional, array of hook declarations
version = 1 # Required, must be 1
gitignore = true # Optional, default true
agents = ["claude", "cursor"] # Optional, agent targets

[project] # Optional
[trust] # Optional
[[skills]] # Optional, array of skill entries
[[mcp]] # Optional, array of MCP servers
[[hooks]] # Optional, array of hook declarations
```

## Top-Level Fields
Expand All @@ -26,14 +26,14 @@ agents = ["claude", "cursor"] # Optional, agent targets

```toml
[project]
name = "my-project" # Optional, display name
name = "my-project" # Optional, display name
```

## Symlinks Section

```toml
[symlinks]
targets = [".claude", ".cursor"] # Legacy: explicit symlink targets
targets = [".claude", ".cursor"] # Legacy: explicit symlink targets
```

When `agents` is set, symlink targets are derived automatically. The `[symlinks]` section is for backward compatibility.
Expand All @@ -44,10 +44,10 @@ When `agents` is set, symlink targets are derived automatically. The `[symlinks]

```toml
[[skills]]
name = "find-bugs" # Required, unique skill identifier
source = "getsentry/skills" # Required, skill source
ref = "v1.0.0" # Optional, pin to tag/branch/commit
path = "tools/my-skill" # Optional, subdirectory within repo
name = "find-bugs" # Required, unique skill identifier
source = "getsentry/skills" # Required, skill source
ref = "v1.0.0" # Optional, pin to tag/branch/commit
path = "tools/my-skill" # Optional, subdirectory within repo
```

| Field | Type | Required | Description |
Expand All @@ -61,10 +61,10 @@ path = "tools/my-skill" # Optional, subdirectory within repo

```toml
[[skills]]
name = "*" # Wildcard: install all skills from source
source = "getsentry/skills" # Required
ref = "v1.0.0" # Optional
exclude = ["deprecated-skill"] # Optional, skills to skip
name = "*" # Wildcard: install all skills from source
source = "getsentry/skills" # Required
ref = "v1.0.0" # Optional
exclude = ["deprecated-skill"] # Optional, skills to skip
```

| Field | Type | Required | Description |
Expand All @@ -78,13 +78,13 @@ exclude = ["deprecated-skill"] # Optional, skills to skip

```toml
[trust]
allow_all = true # Allow any source
allow_all = true # Allow any source

# OR restrict to specific sources:
[trust]
github_orgs = ["getsentry"] # GitHub org names
github_repos = ["ext-org/repo"] # Exact owner/repo pairs
git_domains = ["git.corp.example.com"] # Git URL domains
github_orgs = ["getsentry"] # GitHub org names
github_repos = ["ext-org/repo"] # Exact owner/repo pairs
git_domains = ["git.corp.example.com"] # Git URL domains
```

| Field | Type | Description |
Expand All @@ -102,17 +102,17 @@ No `[trust]` section = allow all sources (backward compatible).

```toml
[[mcp]]
name = "github" # Required, unique server name
command = "npx" # Required for stdio
args = ["-y", "@modelcontextprotocol/server-github"] # Optional
env = ["GITHUB_TOKEN"] # Optional, env vars to pass through
name = "github" # Required, unique server name
command = "npx" # Required for stdio
args = ["-y", "@modelcontextprotocol/server-github"] # Optional
env = ["GITHUB_TOKEN"] # Optional, env vars to pass through
```

### HTTP Transport

```toml
[[mcp]]
name = "remote-api" # Required, unique server name
name = "remote-api" # Required, unique server name
url = "https://mcp.example.com/sse" # Required for HTTP
```

Expand All @@ -129,9 +129,9 @@ url = "https://mcp.example.com/sse" # Required for HTTP

```toml
[[hooks]]
event = "PreToolUse" # Required
matcher = "Bash" # Optional, tool name filter
command = "my-lint-check" # Required
event = "PreToolUse" # Required
matcher = "Bash" # Optional, tool name filter
command = "my-lint-check" # Required
```

| Field | Type | Required | Description |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"devDependencies": {
"@sentry-internal/test-utils": "file:../../packed/sentry-internal-test-utils-packed.tgz",
"graphql": "16.9.0",
"rolldown": "1.2.5"
"rolldown": "1.2.14"
},
"volta": {
"extends": "../../package.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,8 @@ body {
background-color 0.5s;
line-height: 1.6;
font-family:
Inter,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
Oxygen,
Ubuntu,
Cantarell,
'Fira Sans',
'Droid Sans',
'Helvetica Neue',
sans-serif;
Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans',
'Helvetica Neue', sans-serif;
font-size: 15px;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
Expand Down
14 changes: 2 additions & 12 deletions dev-packages/e2e-tests/test-applications/vue-3/src/assets/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,8 @@ body {
background-color 0.5s;
line-height: 1.6;
font-family:
Inter,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
Oxygen,
Ubuntu,
Cantarell,
'Fira Sans',
'Droid Sans',
'Helvetica Neue',
sans-serif;
Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans',
'Helvetica Neue', sans-serif;
font-size: 15px;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@
"nodemon": "^3.1.10",
"npm-run-all2": "^6.2.0",
"nx": "22.7.10",
"oxfmt": "^0.70.0",
"oxlint": "^1.75.0",
"oxlint-tsgolint": "7",
"oxfmt": "^0.74.0",
"oxlint": "^1.89.0",
"oxlint-tsgolint": "^7.0.2004",
"rimraf": "^6.1.3",
"rollup": "^4.60.3",
"rollup-plugin-esbuild": "^6.2.1",
Expand Down
1 change: 1 addition & 0 deletions packages/bundler-plugins/test/core/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ describe('getDebugIdSnippet', () => {
// top of the file hits the temporal dead zone, where `typeof` throws rather
// than returning "undefined".
const scope: { Error: ErrorConstructor; _sentryDebugIds?: Record<string, string> } = { Error };
// oxlint-disable-next-line typescript/no-implied-eval
const run = new Function('globalThis', `${getDebugIdSnippet('5678').code()}\nconst global = globalThis;`);

run(scope);
Expand Down
8 changes: 5 additions & 3 deletions packages/react/test/errorboundary.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ function EffectSpyFallback({ error }: { error: unknown }): JSX.Element {
const [counter, setCounter] = useState(0);

React.useEffect(() => {
// oxlint-disable-next-line set-state-in-effect
setCounter(c => c + 1);
}, []);

Expand Down Expand Up @@ -400,11 +401,12 @@ describe('ErrorBoundary', () => {
// Regression test against:
// https://github.com/getsentry/sentry-javascript/issues/6167
it('does not set cause if non Error objected is thrown', () => {
function StringBam(): JSX.Element {
throw 'bam';
}

const TestAppThrowingString: React.FC<ErrorBoundaryProps> = ({ children, ...props }) => {
const [isError, setError] = React.useState(false);
function StringBam(): JSX.Element {
throw 'bam';
}
return (
<ErrorBoundary
{...props}
Expand Down
2 changes: 1 addition & 1 deletion packages/remix/test/scripts/upload-sourcemaps.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ await vi.hoisted(async () =>
}),
);

// eslint-disable-next-line @typescript-eslint/no-var-requires
const { createRelease } = require('../../scripts/createRelease');

beforeEach(() => {
Expand Down Expand Up @@ -147,4 +146,5 @@ describe('createRelease', () => {

// To avoid `--isolatedModules` flag as we're not importing
// anything for these tests.
// oxlint-disable-next-line typescript/no-useless-empty-export
export {};
Loading
Loading