example.messaging-agent-actions
Safe messaging agent actions example with fixed intents, allowlisted actions, workflow dispatch, and deterministic replies.
@lssm-tech/example.messaging-agent-actionsbun add @lssm-tech/example.messaging-agent-actionsManifest declarations describe the current workspace; they do not verify registry publication or runtime execution.
Package guide
Safe messaging agent actions example with fixed intents, allowlisted action execution, workflow dispatch, and deterministic confirmation replies.
What This Demonstrates
- Inbound message normalization for Slack, WhatsApp, Telegram, or any messaging bridge.
- Fixed intent parsing:
status,run action, anddispatch workflow. - Allowlisted action and workflow routing instead of arbitrary tool execution.
- Replayable meetup proof for the canonical status -> action -> workflow walkthrough.
Running Locally
From examples/messaging-agent-actions:
bun run buildbun run testbun run typecheckbun run proofbun run preflight
Usage
Use this package when you need a conservative messaging demo that proves agent actions can stay safe, typed, and reviewable even when messages come from live provider webhooks.
Public Entry Points
- Export
.resolves through./src/index.ts. - Export
./contractsresolves through./src/contracts/index.ts. - Export
./docsresolves through./src/docs/index.ts. - Export
./exampleresolves through./src/example.ts. - Export
./handlersresolves through./src/handlers/index.ts. - Export
./messaging-agent-actions.featureresolves through./src/messaging-agent-actions.feature.ts. - Export
./proof/*resolves through./src/proof/*.ts.
Local Commands
bun run build— contractspec-bun-build buildbun run test— bun testbun run typecheck— tsgo --noEmitbun run proof— bun ../../scripts/generate-messaging-agent-actions-meetup-proof.tsbun run preflight— bun run build && bun run typecheck && bun run test && bun run proof
Relationships
Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.
3 declarations
@lssm-tech/lib.contracts-specworkspace:^
Read the package manual ↗@lssm-tech/lib.schemaworkspace:^
Read the package manual ↗@lssm-tech/module.communication-osworkspace:^
Read the package manual ↗
Declared capabilities
This manifest does not declare a capability catalogue. Use the guide, import map and source to assess the package.
Scripts
publish:pkgbun publish --tolerate-republish --ignore-scripts --verbosepublish:pkg:canarybun publish:pkg --tag canarybuildcontractspec-bun-build buildbuild:bundlecontractspec-bun-build transpilebuild:typescontractspec-bun-build typesdevcontractspec-bun-build devcleanrimraf dist .turbolintbun lint:fixlint:fixnode ../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../scripts/biome.cjs check --write .lint:checknode ../../scripts/biome.cjs check .testbun testproofbun ../../scripts/generate-messaging-agent-actions-meetup-proof.tspreflightbun run build && bun run typecheck && bun run test && bun run proofprebuildcontractspec-bun-build prebuildtypechecktsgo --noEmit