12.04K
total weekly downloads
28 packages
@sprigr/apps-acl-identity-link
Tell the platform which provider account a connection belongs to, so the owner can find their own files in an app's doc-ACL index.
@sprigr/apps-actor-token-refresh
Per-actor OAuth token freshness for Sprigr apps: refresh buffer, in-isolate single-flight latch, optional durable cross-invocation lease.
@sprigr/apps-app-sdk
Shared handler types + helpers for Sprigr marketplace apps.
@sprigr/apps-buying-core
Pure buying maths for inventory apps: demand forecast tournament, cover and risk tiers, buy quantity, buy plan, open-to-buy, markdown candidates, purchase-order and supplier scoring.
@sprigr/apps-d1-kv
Per-install D1 key-value helpers for marketplace apps. Two flavours over the same table shape `(key TEXT PRIMARY KEY, value TEXT NOT NULL, updated_at TEXT NOT NULL)`, which the app owns via its own migration:
@sprigr/apps-dashboard-kit
Dashboard design system for Sprigr marketplace apps: a CSS token layer (warm-neutral + indigo, light/dark, density) with a Tailwind v4 theme mapping, plus a React component kit (tables, badges, drawers, confirm dialogs, audit timelines, states, filters, t
@sprigr/apps-datasets
Write keyed datasets through env.SPRIGR.datasets.append (decisions 0079, 0115): objectID to row_key rows, 5xx-only retry, batches of at most 1,000 rows, tombstones for the keys a completed re-walk drops, and a test helper that checks rows against the mani
@sprigr/apps-dedup-latch
@sprigr/apps-faceted-search
Reusable, parameterized faceted-catalog search UI for Sprigr marketplace app dashboards and agent-built static websites. Dark facet rail with live counts, chips, sub-search, range filters, pagination, skeletons. Three data sources (gateway tool, search ke
@sprigr/apps-fetch-budget
Bounded outbound HTTP for Sprigr marketplace apps, under the platform dispatcher's **110-second wall**.
@sprigr/apps-file-indexing
The shared file-indexing loop for marketplace apps that mirror a cloud drive into the platform's ACL-enforced file index (`<companyId>-app-<slug>-acl-files`). microsoft-365 (OneDrive and SharePoint), google-workspace (Google Drive) and dropbox use it. The
@sprigr/apps-file-sweep
A bounded, resumable sweep of a marketplace app's own `env.SPRIGR.files` store, deleting entries past their life.
@sprigr/apps-fleet-conventions
Sprigr dev-fleet GitHub comment conventions: tech-lead verdict parsing and the issue shard rules
@sprigr/apps-fulfilment-conformance
Conformance harness for the fulfilment-hub v1 interfaces: drives every op of fulfilment-hub/order_source and fulfilment-hub/fulfilment_provider against an adapter's handler map and checks the contract.
@sprigr/apps-home
Sprigr Home contracts for marketplace apps: the record types, the manifest home block validator, the fixture checker, the display-text cleaner, the Home SDK (homeTool) and its test fakes, with the platform's own rules.
@sprigr/apps-home-conformance
Conformance suite for an app's Sprigr Home tool: basis echo, the person rule, actor isolation, no writes, the 64 KB and time budgets, run the way the platform dispatches.
@sprigr/apps-oauth-utils
Race-safe OAuth refresh-token rotation utilities for apps in this repo.
@sprigr/apps-pending-oauth
Single-use, TTL'd OAuth handshake state in a per-install D1 table, plus completion markers so a replayed callback reports already_connected.
@sprigr/apps-redact
Strip credential values out of strings before an app writes them to a durable store (audit rows, last_error columns).
@sprigr/apps-sync-cursor
Resumable walks for Sprigr marketplace apps.
@sprigr/apps-timezone-picker
IANA timezone data plus a server-rendered `<TimezoneSelect>` for Sprigr marketplace apps that collect a "pick your timezone" form value.
@sprigr/apps-token-cipher
Seal and open the OAuth tokens an app keeps in its own D1 columns, under the install's platform-minted KEK (the @sprigr/apps-d1-kv envelope), with a decrypt-only release mode as the rollback floor.
@sprigr/apps-undo-journal
Before-image journal for the Sprigr platform undo layer (decision 0011): the reusable half of an app-side capture/replay store.
@sprigr/apps-webhook-registry
@sprigr/browser
Sprigr browser search engine — WASM full-text, faceted and hybrid semantic search that runs entirely client-side.