
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@auto-engineer/flowlang
Advanced tools
Domain-specific language for building event-driven applications with type-safe schemas and GraphQL API generation. Plugin for the Auto Engineer CLI that enables defining business flows, data transformations, and integrations using TypeScript-based syntax.
Domain-specific language for building event-driven applications with type-safe schemas and GraphQL API generation. Plugin for the Auto Engineer CLI that enables defining business flows, data transformations, and integrations using TypeScript-based syntax.
This is a plugin for the Auto Engineer CLI. Install both the CLI and this plugin:
npm install -g @auto-engineer/cli
npm install @auto-engineer/flowlang
Add this plugin to your auto.config.ts
:
export default {
plugins: [
'@auto-engineer/flowlang',
// ... other plugins
],
};
This plugin provides the following commands:
create:example
- Create an example project with FlowLangexport:schema
- Export flow schema to JSONFlowLang is a declarative language for describing business processes, data flows, and system integrations. It combines:
Define business flows using chainable API:
import { flow } from '@auto-engineer/flowlang';
const orderFlow = flow('place-order')
.input<PlaceOrderCommand>()
.validate(command => /* validation logic */)
.process(async (command, ctx) => {
// Business logic here
return { orderId: generateId(), status: 'confirmed' };
})
.emit<OrderPlaced>()
.build();
Generate GraphQL schemas from flow definitions:
// Flows are converted to GraphQL mutations and queries
// Input types become GraphQL input types
// Output events become GraphQL object types
Support for external service integrations:
const flow = flow('payment-processing')
.integration('stripe', StripePaymentGateway)
.integration('email', EmailService)
.process(async (command, ctx) => {
const payment = await ctx.integrations.stripe.charge(command.amount);
await ctx.integrations.email.sendReceipt(command.email, payment);
return payment;
});
Testing utilities for flow validation:
import { testFlow } from '@auto-engineer/flowlang/testing';
describe('order flow', () => {
it('should process valid orders', async () => {
const result = await testFlow(orderFlow)
.withInput({ productId: '123', quantity: 2 })
.expectEvent<OrderPlaced>()
.run();
expect(result.orderId).toBeDefined();
});
});
FlowLang builds on several core concepts:
auto create:example
flows/
directoryauto export:schema
FlowLang works with other Auto Engineer plugins:
This plugin-based approach allows building applications from high-level flow definitions to production code.
FAQs
Domain-specific language for building event-driven applications with type-safe schemas and GraphQL API generation. Plugin for the Auto Engineer CLI that enables defining business flows, data transformations, and integrations using TypeScript-based syntax.
The npm package @auto-engineer/flowlang receives a total of 0 weekly downloads. As such, @auto-engineer/flowlang popularity was classified as not popular.
We found that @auto-engineer/flowlang demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.