0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
Commit graph

4 commits

Author SHA1 Message Date
Ward Peeters
b2ce66cef8
chore: run lint-staged for root files and the 16 packages without a config (#29898)
Co-authored-by: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-11-10 14:08:55 +01:00
dane-ai-mastra[bot]
6e8dfcb83f chore: version - exit prerelease mode 2026-11-03 23:45:58 +00:00
dane-ai-mastra[bot]
4bc3aa672f
chore: version packages (alpha) (#29255)
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`main` is currently in **pre mode** so this branch has prereleases
rather than normal releases. If you want to exit prereleases, run
`changeset pre exit` on `main`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases

> The changelog information of each package has been omitted from this
message, as the content exceeds the size limit.

## @mastra/factory@0.27.0-alpha.3


## @mastra/agent-builder@1.2.0-alpha.3


## @mastra/core@1.82.0-alpha.3


## @mastra/mcp@2.8.0-alpha.2


## @mastra/memory@1.41.0-alpha.3


## @mastra/playground-ui@68.0.0-alpha.3


## @mastra/ring-signals@0.1.0-alpha.0


## @mastra/libsql@1.29.0-alpha.2


## @mastra/mongodb@1.26.0-alpha.2


## @mastra/mysql@0.16.0-alpha.3


## @mastra/pg@1.35.0-alpha.3


## @mastra/discord@1.3.3-alpha.0


## @mastra/slack@1.8.1-alpha.0


## @mastra/teams@0.1.4-alpha.0


## @mastra/telegram@0.2.5-alpha.0


## @mastra/client-js@1.59.0-alpha.3


## @mastra/react@1.14.1-alpha.3


## @mastra/deployer-cloud@1.82.0-alpha.3


## @mastra/longmemeval@1.1.41-alpha.3


## @mastra/opencode@0.1.41-alpha.3


## create-factory@0.4.2-alpha.3


## @mastra/code-sdk@1.18.0-alpha.3


## mastracode@0.49.0-alpha.3


## @mastra/arize@1.3.29-alpha.2


## @mastra/arthur@0.4.29-alpha.2


## @mastra/laminar@1.3.31-alpha.2


## @mastra/langfuse@1.6.5-alpha.2


## @mastra/otel-bridge@1.5.21-alpha.2


## @mastra/otel-exporter@1.5.1-alpha.2


## @mastra/sentry@1.2.31-alpha.3


## mastra@1.38.0-alpha.3


## @mastra/connect@1.3.1-alpha.1


## @mastra/deployer@1.82.0-alpha.3


## @mastra/editor@0.17.0-alpha.3


## @mastra/evals@1.10.11-alpha.0


## @mastra/mcp-docs-server@1.3.12-alpha.4


## @mastra/server@1.82.0-alpha.3


## @mastra/elysia@0.1.22-alpha.3


## @mastra/express@1.5.26-alpha.3


## @mastra/fastify@1.5.26-alpha.3


## @mastra/hono@1.7.24-alpha.3


## @mastra/koa@1.7.26-alpha.3


## @mastra/nestjs@0.2.41-alpha.3


## @mastra/next@0.2.40-alpha.3


## @mastra/tanstack-start@0.2.40-alpha.3


## @mastra/turso@0.1.20-alpha.2


## @mastra/inngest@1.11.1-alpha.2


## @mastra/temporal@0.5.0-alpha.3


## create-mastra@1.38.0-alpha.3


## @internal/playground@1.38.0-alpha.3

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-03 13:59:38 -07:00
Paul
99973935b8
feat(ring-signals): add @mastra/ring-signals package and docs (#28864)
## Description

Adds `@mastra/ring-signals` (`signals/ring`), a `SignalProvider` for
Ring doorbells and cameras, plus its integration guide and reference
page.

- `RingSignals` verifies Ring webhooks (`X-Signature`, HMAC-SHA256 over
the raw body) and sends each enabled event to agent threads as a
notification signal. Devices route to threads added with
`subscribeThread(target, deviceId)`, otherwise to the `target` option
(object or resolver), otherwise to `{ resourceId: <agent id>, threadId:
<deviceId> }`.
- `getRoutes()` returns the Ring routes (`POST /ring/token`, `GET
/ring/link`, `POST /ring/webhook`, `GET /ring/home`, `GET
/ring/media/:kind/:deviceId/:timestamp`), which Mastra adds to the
server automatically.
- Account linking stores each linked account in the channels storage
domain, with tokens encrypted (AES-256-GCM) when `encryptionKey` /
`MASTRA_ENCRYPTION_KEY` is set. Unlinking the app in Ring removes the
stored tokens.
- `ring_snapshot` and `ring_clip` tools fetch media with the linked
account, return signed, expiring media links, and attach files on
channel threads.
- Ported from the working prototype in PaulieScanlon/iot-home-security;
package layout follows `signals/github`. Adds a changeset (minor), a
CODEOWNERS entry, and the lockfile importer.

Tests (`signals/ring/src/ring-signals.test.ts`) run the provider inside
a real `Mastra` + `Agent` + `InMemoryStore`, call the routes through
Hono, and stub only `fetch` for the Ring API and the agent's
`sendNotificationSignal`.

## Related issue(s)

DEVED-559

## Type of change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [x] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [x] I have linked the related issue(s) in the description above
- [x] I have made corresponding changes to the documentation (if
applicable)
- [x] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have addressed all Coderabbit comments on this PR

Link to Devin session:
https://app.devin.ai/sessions/2cbcddf6003e48f1b776d172de84527c
Open in Devin Desktop:
https://app.devin.ai/desktop/session/2cbcddf6003e48f1b776d172de84527c?variant=devin

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## ELI5

This PR adds a Ring integration for Mastra agents. Ring doorbell and
camera events can reach agent threads, and agents can request snapshots
or video clips for those events.

## What changed

- Added the `@mastra/ring-signals` package with a `RingSignals`
provider, Ring API client, configuration types, and public exports.
- Added webhook signature verification and event routing. Events go to
device subscribers first, then to the configured target, or to a default
agent thread.
- Added account-linking, token, webhook, home, and signed media routes.
Mastra registers the provider’s routes automatically.
- Stored linked Ring accounts in the channels storage domain. Tokens are
encrypted when `encryptionKey` or `MASTRA_ENCRYPTION_KEY` is configured.
Ring unlink events remove stored account tokens.
- Added `ring_snapshot` and `ring_clip` tools. They fetch media from
Ring and can attach files to channel threads. Signed media links are
available when `baseUrl` is configured.
- Added integration and API reference documentation, sidebar entries, a
changeset, and a CODEOWNERS rule.

## Tests

The PR adds tests for provider routes, webhook handling, account
linking, token storage, media links, and tool configuration. Test
execution results were not provided.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-03 17:13:18 +00:00