Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@fluidframework/agent-scheduler
Advanced tools
Built in runtime object for distributing agents across instances of a container
When taking a dependency on a Fluid Framework library, we recommend using a ^
(caret) version range, such as ^1.3.4
.
While Fluid Framework libraries may use different ranges with interdependencies between other Fluid Framework libraries,
library consumers should always prefer ^
.
The AgentScheduler
is a data object that can be used to assign tasks to unique clients.
To create an AgentScheduler
as a child instance of your data object, add the factory to your registry and call the static createChildInstance
function on the factory. You can then retrieve and store its handle to access it later:
// In your Data Object
protected async initializingFirstTime() {
const agentScheduler = await AgentSchedulerFactory.createChildInstance(this.context);
this.root.set("agentScheduler", agentScheduler.handle);
}
// When creating your DataObjectFactory
export const MyDataObjectFactory = new DataObjectFactory(
"my-data-object",
MyDataObject,
[],
{},
new Map([
AgentSchedulerFactory.registryEntry,
]),
);
This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
Use of these trademarks or logos must follow Microsoft's Trademark & Brand Guidelines.
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
FAQs
Built in runtime object for distributing agents across instances of a container
The npm package @fluidframework/agent-scheduler receives a total of 1,822 weekly downloads. As such, @fluidframework/agent-scheduler popularity was classified as popular.
We found that @fluidframework/agent-scheduler demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.