Skip to content

chore(deps): propagate Samva SDK 0.35 and CLI 0.30 - #107

Merged
aryasaatvik merged 3 commits into
mainfrom
chore/samva-0-35
Nov 5, 2026
Merged

aryasaatvik merged 3 commits into
mainfrom
chore/samva-0-35

Conversation

@aryasaatvik

@aryasaatvik aryasaatvik commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Propagate samva 0.35.0 and @samva/cli 0.30.0 into the maintained integrations. Both published adapters require only the current SDK minor and receive minor Tegami notes for the peer-range change.

Source release: https://github.com/AryaLabsHQ/samva/pull/2679, merge commit d85da153c6. Reviewed SDK, CLI, and webhooks changelogs from the producer's origin/main, plus contracts and SDK declarations (also checked at the merge commit). Producer checkout was read only.

Repository surface Impact and evidence Disposition
Both adapters; all 14 example manifests; Supabase Deno map SDK dev/peer/dependency ranges move to ^0.35.0; external Deno import pins 0.35.0. TSX template example uses CLI ^0.30.0. Bun 1.4.4 lock regenerated from npm. affected
Root README, adapter READMEs, TSX example README, Effect/mailbox/Supabase/TSX cookbooks Current-minor references updated; root describes Samva as the email and WhatsApp API. No older-line support matrix. affected
Plugin distribution guidance README names current SDK/CLI minors and explains closed bodies, absent optional filters/headers, all-channel reads, catch-all clearing, endpoint stats, and hosted-agent fields. Canonical skill/instructions and all seven references reviewed; immutable skill bytes/provenance preserved. affected
Adapter and example request bodies; every cookbook and plugin SDK/CLI snippet Producer contracts messages/group.ts declares send fields and developer/group.ts declares eventTypes; http-api.ts and SDK Effect internal client reject excess properties. Better Auth renderer returns only subject/html/text; Email SDK maps supported fields explicitly (attachment size is declared). Other sends construct explicit bodies, not response spreads. Webhook calls already use eventTypes. Extension manifest events is a separate SDK mailbox contract. CLI mailbox JSON declares name/metadata. No undeclared caller fields found. unaffected
Optional query/header inputs Template contracts use optional channel/filter schemas; message idempotency header is optional without NullOr. Inbound pagination converts nextCursor null to undefined; mailbox cursor store returns string or undefined; idempotency options pass strings or omit them. Response/body nulls remain valid. No removed cursor-alias imports. unaffected
Channel unions and template list/get Producer generated types retain email/SMS/WhatsApp; CLI templates routes through Templates.list/get. Sends explicitly choose email or use email.send; inbound reply guard checks channel === email; no exhaustive shared-channel switch assumes email. Template project authoring explicitly declares email and is separate from remote all-channel reads. unaffected
Catch-all cookbook Producer email/group.ts updateCatchAllConfig accepts optional NullOr(WebhookEndpointId). Added explicit endpointId:null example alongside unknownRecipientMailboxId; omission preserves settings and no destination drops unknown mail without bounce. affected
Webhook endpoint stats Producer developer/group.ts adds nullable latestAttempt with errorCode/completedAt. No adapter/example consumes or constructs stats responses; plugin command guidance stays valid and README describes the field. unaffected
Mailbox-agent and hosted-agent guidance Producer AgentDefinition requires reasoning and adds optional knowledgeSourceIds; agent schemas add model/spend/paused fields. Mailbox example runs client.mailboxes.events/reply and samva/mailbox extension, never agents.create/replaceDraft or an exhaustive Agent response fixture. Plugin mentions namespace but supplies no hosted-agent definition. README explains new requirements. unaffected
Effect analytics Date filters; webhook package No analytics query callers. Verification uses samva/webhooks subpath; no direct @samva/webhooks dependency to bump. SDK resolves published @samva/webhooks 0.35.0 transitively. unaffected

Validation (Bun 1.4.4, Node 24.22.1, Deno 2.9.8; CI pins Deno 2.9.5):

  • npm version polls every 30s: both requested versions appeared on poll 26, before installation. Published SDK resolves @samva/webhooks 0.35.0.
  • bun install, bun install --frozen-lockfile: passed.
  • CI has no root validate script: reproduced its validate job with bun run build --continue (12/12 tasks), bun run typecheck --continue (18/18 tasks), bun run test (7 files, 139 tests), bun run lint, and bun run format:check: all passed. --continue preserves failure status while allowing independent workspaces to finish.
  • bun run validate:agent-plugin, bun --filter tsx-template-samva check, git diff --check: passed.
  • Initial aggregate build stopped because the CLI's optional Linux arm64 package had not propagated to npm; it subsequently appeared, and both the Supabase Deno check and the full aggregate build/typecheck passed without workarounds.
  • Lint has warnings in unchanged code; no lint errors. No bare bun test, live email, publishing, merge, or deployment.

Validation after updating from main: head 6093a077284a228809d683784f1a450e65cc8564 merges 8e3d4bb and preserves main's README positioning and plugin description. Fresh bun run format:check, bun run validate:agent-plugin, and git diff --check passed. Build, typecheck, and 139-test results above ran on 083baed5338cd486bf5fc26f99c5f0e7c1583804 and remain applicable: the only changes since that head are README copy and a plugin display description; source, manifests, lockfile, and tested contracts are identical.

@greptile-apps

greptile-apps Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5 Tier: apex

[Medium impact] The PR appears safe to merge; no actionable issues remain.

Summary

Updates maintained integrations to Samva SDK 0.35 and CLI 0.30.

  • The maintained integrations and examples now target Samva SDK 0.35.
  • The TSX template starter now uses Samva CLI 0.30.
  • The inbound-email guide shows how to clear only its catch-all webhook.
  • The Samva plugin guide now explains current SDK and CLI contracts.

Reviews (2) · Last reviewed commit: "docs(plugin): describe non-email channel..." · Reviewed by Greptile

@aryasaatvik
aryasaatvik merged commit 700bd73 into main Nov 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant