1.14K
total weekly downloads
53 packages
blokctl
cli for blok
@blokjs/agent-kernel
Provider-neutral, headless Blok agent kernel and model adapter contracts.
@blokjs/api-call
Node module for making API calls
@blokjs/auth
Blok's auth starter kit — scrypt password hashing, login/register/logout/reset nodes, login throttling, and a UserStore interface with SQLite and Neon/Postgres backends. No ORM.
@blokjs/capabilities
Trusted, bounded capability adapters for Blok harnesses.
@blokjs/client
Fully-typed, tRPC-style client SDK for calling Blok workflows from a frontend.
@blokjs/code-mode
Typed, policy-bound Code Mode workflow and capability bindings for Blok.
@blokjs/control-plane
Versioned gRPC control plane for Blok agent harness sessions.
@blokjs/core
Blok's typed-handle authoring DSL — the published author import surface (workflow/step/branch/http/tpl/comparators).
@blokjs/helper
@blokjs/helpers
Generic helper nodes used by the v0.5 workflow primitives — expr, ctx-publish, throw, log, audit-log, metrics-emit, in-memory-kv, json-schema. Designed to be small, predictable, AI-readable.
@blokjs/if-else
blok if-else
@blokjs/inertia
Inertia v3 protocol adapter node — serializes an Inertia page object into a Blok HTTP response (HTML shell, JSON page object, and the version/redirect/location control responses).
@blokjs/inertia-client
Framework-agnostic Inertia.js client glue for Blok: typed page props, typed routes, and the Vite plugin.
@blokjs/lsp-server
Language Server Protocol server for Blok workflow files - provides diagnostics, completion, and hover documentation for any LSP-compatible editor
@blokjs/react
Renders a pre-compiled React bundle inside an HTML template, with a copy of `ctx` embedded into the page for the bundle to read back.
@blokjs/runner
@blokjs/runtime-worker
Persistent JavaScript/TypeScript execution worker for Blok — serves blok.runtime.v1 over gRPC under Node.js, Bun, or Deno.
@blokjs/session
Signed, HttpOnly server-side sessions for Blok — pluggable store (memory / sqlite / postgres / redis), session.get/set/forget/regenerate nodes, and the inertia.session middleware.
@blokjs/shared
Shared class, interfaces and types
@blokjs/syntax
TextMate grammar for Blok workflow JSON files
@blokjs/trigger-cron
Cron/scheduled trigger for Blok workflows - supports cron expressions and interval-based scheduling
@blokjs/trigger-grpc
On Node.js, we support three protocols:
@blokjs/trigger-mcp
Model Context Protocol (MCP) trigger for Blok workflows — expose workflows as MCP tools over SSE + Streamable-HTTP on the shared Hono port.
@blokjs/trigger-pubsub
Pub/Sub trigger for Blok workflows — supports NATS (Core + JetStream), Redis Streams, Kafka, GCP Pub/Sub, AWS SNS+SQS, and Azure Service Bus.