
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
@plasius/ai-speech
Advanced tools
Speech orchestration, TTS cache contracts, STT/TTS routing, and voice tier policy for Plasius AI.
Speech orchestration, TTS cache contracts, STT/TTS routing, and voice tier policy for Plasius AI.
This package defines public contracts for:
It does not fetch remote feature flags, talk to providers, or store cache entries directly. Host applications and provider adapters remain responsible for runtime I/O.
npm install @plasius/ai-speech
import {
AI_SPEECH_FEATURE_FLAGS,
planAiSpeechCache,
renderAiSpeechText,
resolveAiSpeechVoiceTier,
} from "@plasius/ai-speech";
const rendered = renderAiSpeechText({
textTemplate: "Welcome back, {playerAddress}.",
playerAddress: {
source: "user-name",
rawValue: "Captain Zephod",
},
});
const cachePlan = planAiSpeechCache({
utteranceClass: "player-address",
textTemplate: "Welcome back, {playerAddress}.",
playerAddress: {
source: "user-name",
rawValue: "Captain Zephod",
},
voice: {
providerId: "openai",
modelId: "gpt-tts-1",
voiceId: "narrator",
locale: "en-GB",
format: "mp3",
pronunciationVersion: "2026-05",
cachePermission: "exact-and-near",
},
actorScopeKey: "user-42",
featureFlags: {
[AI_SPEECH_FEATURE_FLAGS.ttsCache]: true,
[AI_SPEECH_FEATURE_FLAGS.ttsNearReuse]: true,
},
});
const voiceTier = resolveAiSpeechVoiceTier({
environment: "production",
requestedTier: "premium-character",
featureFlags: {
[AI_SPEECH_FEATURE_FLAGS.premiumCharacters]: false,
},
});
console.log(rendered.renderText);
console.log(cachePlan.mode);
console.log(voiceTier.resolvedTier);
ai.tts.cache.enabled: master switch for exact-cache planningai.tts.near-reuse.enabled: enables near-text reuse only for approved low-risk utterance classesai.tts.premium-characters.enabled: enables premium character voices in production routesDefault behavior is fail-closed when the caller does not provide a remote flag snapshot.
Player.actorScopeKey.ai.tts.near-reuse.enabled to force safe callers back to exact-cache planning.ai.tts.cache.enabled to bypass cache planning entirely.ai.tts.premium-characters.enabled to downgrade premium character requests to standard voices.npm install
npm run build
npm test
npm run test:coverage
npm run pack:check
Apache-2.0
FAQs
Speech orchestration, TTS cache contracts, STT/TTS routing, and voice tier policy for Plasius AI.
We found that @plasius/ai-speech demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.