mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 17:47:39 +01:00
Merge branch 'main' into feat/sites-new-site-is-a-row
This commit is contained in:
6 files changed
+396
-216
No files matched your search
@@ -180,8 +180,11 @@ async function main() {
|
||||
]) {
|
||||
assert.ok(brief.includes(needle), `missing: ${needle}`);
|
||||
}
|
||||
// Compact: a brief, not a dump of SHARED.md (≈ a thousand tokens at most).
|
||||
assert.ok(brief.length < 4_500, `brief is ${brief.length} chars`);
|
||||
// Compact: a brief, not a dump of SHARED.md (≈ 1.2k tokens at most). The
|
||||
// register grew from 16 to 18 packages in November 2026; below
|
||||
// MAX_BRIEF_CHARS (5 000) so a growing register fails here before the
|
||||
// renderer starts cutting the package list.
|
||||
assert.ok(brief.length < 4_800, `brief is ${brief.length} chars`);
|
||||
});
|
||||
|
||||
// ── degrades, never fails ───────────────────────────────────────────────
|
||||
|
||||
@@ -76,7 +76,7 @@ check("a bakery shop: sign-in, search, lists, payments, pick-up times, email", (
|
||||
assert.deepEqual(names(BAKERY), [
|
||||
"@bitbaum/accountkit",
|
||||
"@bitbaum/searchkit",
|
||||
"listkit",
|
||||
"@bitbaum/listkit",
|
||||
"@bitbaum/paykit",
|
||||
"@bitbaum/whenkit",
|
||||
"@bitbaum/mail-kit",
|
||||
@@ -89,9 +89,9 @@ check("a consultancy with booking: dates, email, forms, spam protection, blog
|
||||
assert.deepEqual(names(CONSULTANCY), [
|
||||
"@bitbaum/whenkit",
|
||||
"@bitbaum/mail-kit",
|
||||
"ai-forms",
|
||||
"limitkit",
|
||||
"bip-kit",
|
||||
"@bitbaum/ai-forms",
|
||||
"@bitbaum/limitkit",
|
||||
"@bitbaum/bip-kit",
|
||||
]);
|
||||
});
|
||||
|
||||
@@ -100,7 +100,7 @@ check("a community forum with chat: sign-in, search, chat, threads, map — no p
|
||||
"@bitbaum/accountkit",
|
||||
"@bitbaum/searchkit",
|
||||
"@bitbaum/chatkit",
|
||||
"threadkit",
|
||||
"@bitbaum/threadkit",
|
||||
"@bitbaum/geo-kit",
|
||||
]);
|
||||
});
|
||||
|
||||
@@ -182,11 +182,22 @@ async function main() {
|
||||
// ── A real bash, through the runner's owned PTY ──────────────────────────────
|
||||
process.env.LOKI_RUNNER_PRESENCE_CHANNEL = "local";
|
||||
process.env.LOKI_SHELL_DIR = tmpdir();
|
||||
// Hermetic: the shell is a bash LOGIN shell, so it reads the host user's
|
||||
// ~/.profile and ~/.bash_profile, and the runner reads LOKI_SHELL /
|
||||
// LOKI_EXECUTOR from the environment. On the laptop verify runner (a
|
||||
// machine that also hosts agent sessions) this test failed on every PR from
|
||||
// 2026-11-26 while passing elsewhere. The test proves Loki's PTY path, not
|
||||
// that machine's dotfiles or switches: give it an empty home and the
|
||||
// default switches.
|
||||
delete process.env.LOKI_SHELL;
|
||||
delete process.env.LOKI_EXECUTOR;
|
||||
process.env.HOME = mkdtempSync(join(tmpdir(), "plain-shell-home-"));
|
||||
const { executor } = await import("../../src/lib/agent-execution");
|
||||
const { openShellPty, openShellCount } = await import("../../desktop/src/main/shell-runtime");
|
||||
const { writeRawKey, injectPty, terminatePty, runnerWorkspaceId } =
|
||||
await import("../../desktop/src/main/pty-runtime");
|
||||
const waitFor = async (id: string, needle: string, ms = 8000) => {
|
||||
// Generous: it returns as soon as the text arrives; only a loaded runner waits.
|
||||
const waitFor = async (id: string, needle: string, ms = 20_000) => {
|
||||
let seen = "";
|
||||
const unsub = executor.subscribe(id, 0, (e) => {
|
||||
if (e.kind === "output" && e.data) seen += e.data;
|
||||
|
||||
+18
-5
@@ -68,7 +68,7 @@ export const KIT_FEATURES: Readonly<Record<string, KitFeature>> = {
|
||||
avoid: "search or fuzzy matching",
|
||||
triggers: ["search", "searchable", "look up", "lookup", "suche", "suchen", "recherche"],
|
||||
},
|
||||
listkit: {
|
||||
"@bitbaum/listkit": {
|
||||
plain: "browsable lists",
|
||||
use: "every list people browse: filters, sort order and paging, kept in the URL",
|
||||
avoid: "filter, sort or paging logic",
|
||||
@@ -150,7 +150,7 @@ export const KIT_FEATURES: Readonly<Record<string, KitFeature>> = {
|
||||
avoid: "chat screen",
|
||||
triggers: ["chat", "live chat", "chatbot", "ai assistant", "virtual assistant"],
|
||||
},
|
||||
threadkit: {
|
||||
"@bitbaum/threadkit": {
|
||||
plain: "discussions",
|
||||
use: "threads between people: who may read them, unread per person",
|
||||
avoid: "message threads or their permissions",
|
||||
@@ -186,7 +186,7 @@ export const KIT_FEATURES: Readonly<Record<string, KitFeature>> = {
|
||||
"translate",
|
||||
],
|
||||
},
|
||||
"ai-forms": {
|
||||
"@bitbaum/ai-forms": {
|
||||
plain: "smart forms",
|
||||
use: "every form: filled from a sentence, then changed by talking to it",
|
||||
avoid: "AI form filling",
|
||||
@@ -201,7 +201,7 @@ export const KIT_FEATURES: Readonly<Record<string, KitFeature>> = {
|
||||
"quote request",
|
||||
],
|
||||
},
|
||||
limitkit: {
|
||||
"@bitbaum/limitkit": {
|
||||
plain: "spam protection",
|
||||
use: "rate limits on every public form and every route that sends mail or calls a model",
|
||||
avoid: "rate limiter",
|
||||
@@ -224,7 +224,7 @@ export const KIT_FEATURES: Readonly<Record<string, KitFeature>> = {
|
||||
"nearby",
|
||||
],
|
||||
},
|
||||
"bip-kit": {
|
||||
"@bitbaum/bip-kit": {
|
||||
plain: "news pages",
|
||||
use: "blog, roadmap and changelog pages written in markdown",
|
||||
avoid: "markdown blog renderer",
|
||||
@@ -238,6 +238,19 @@ export const KIT_FEATURES: Readonly<Record<string, KitFeature>> = {
|
||||
},
|
||||
};
|
||||
|
||||
/**
|
||||
* The KIT_FEATURES key for a package name as a repository spells it. Five
|
||||
* packages moved under @bitbaum/ in November 2026 (listkit, threadkit,
|
||||
* limitkit, ai-forms, bip-kit); a site installed before that still depends on
|
||||
* the bare name, and it is the same package.
|
||||
*/
|
||||
export function kitKey(name: string): string {
|
||||
if (KIT_FEATURES[name]) return name;
|
||||
const scoped = `@bitbaum/${name}`;
|
||||
if (!name.startsWith("@") && KIT_FEATURES[scoped]) return scoped;
|
||||
return name;
|
||||
}
|
||||
|
||||
/** The plan reaches a prompt in at most this many characters. */
|
||||
export const KIT_PLAN_BLOCK_MAX_CHARS = 1_800;
|
||||
|
||||
|
||||
@@ -1,87 +1,97 @@
|
||||
{
|
||||
"_generated": "by scripts/generate-fleet-brief-snapshot.ts from bitbaum/fleet registers/packages.json + STACK.md. Do not edit by hand: run pnpm run generate:fleet-brief.",
|
||||
"fetchedAt": "2026-10-14T09:26:16.175Z",
|
||||
"registerGeneratedAt": "2026-10-14T09:06:54.333Z",
|
||||
"fetchedAt": "2026-11-28T17:07:26.697Z",
|
||||
"registerGeneratedAt": "2026-11-15T19:00:47.681Z",
|
||||
"packages": [
|
||||
{
|
||||
"name": "@bitbaum/ai-kit",
|
||||
"purpose": null,
|
||||
"install": "pnpm add @bitbaum/ai-kit"
|
||||
},
|
||||
{
|
||||
"name": "bip-kit",
|
||||
"purpose": "Building in Public, as a content contract: parse markdown into typed blocks…",
|
||||
"install": "pnpm add bip-kit"
|
||||
},
|
||||
{
|
||||
"name": "@bitbaum/mail-kit",
|
||||
"purpose": "The fleet's one email layer: Resend over raw fetch, zero dependencies, honest…",
|
||||
"install": "pnpm add @bitbaum/mail-kit"
|
||||
},
|
||||
{
|
||||
"name": "@bitbaum/accountkit",
|
||||
"purpose": "One account for every bitbaum product: the account menu, and Sign in with…",
|
||||
"install": "pnpm add github:bitbaum/accountkit#v0.2.1"
|
||||
},
|
||||
{
|
||||
"name": "limitkit",
|
||||
"purpose": "Rate limiting as a decision, not a middleware: fixed and sliding windows over…",
|
||||
"install": "pnpm add limitkit"
|
||||
},
|
||||
{
|
||||
"name": "@bitbaum/whenkit",
|
||||
"purpose": "Dates and times people can pick without typing: day chips, time chips, length…",
|
||||
"install": "pnpm add github:bitbaum/whenkit#v0.3.2"
|
||||
"name": "@bitbaum/design-tokens",
|
||||
"purpose": "Design SSOT for OrangeCat, Loki and Solon — tokens, self-hosted faces, the…",
|
||||
"install": "pnpm add @bitbaum/design-tokens@^1.7.1"
|
||||
},
|
||||
{
|
||||
"name": "@bitbaum/chatkit",
|
||||
"purpose": "One chat for every product: a composer with a microphone that always works, a…",
|
||||
"install": "pnpm add github:bitbaum/chatkit#163c879163d22c6eb633314b3bd4e25712a01899"
|
||||
"install": "pnpm add @bitbaum/chatkit@^0.45.0"
|
||||
},
|
||||
{
|
||||
"name": "@bitbaum/design-tokens",
|
||||
"purpose": "Design SSOT for OrangeCat, Loki and Solon — tokens, self-hosted faces, and the…",
|
||||
"install": "pnpm add @bitbaum/design-tokens"
|
||||
"name": "@bitbaum/mail-kit",
|
||||
"purpose": "The fleet's one email layer: Resend over raw fetch by default, or the app's…",
|
||||
"install": "pnpm add @bitbaum/mail-kit@^0.4.0"
|
||||
},
|
||||
{
|
||||
"name": "ai-forms",
|
||||
"purpose": "Headless AI form filling and conversational refinement",
|
||||
"install": "pnpm add ai-forms"
|
||||
"name": "@bitbaum/accountkit",
|
||||
"purpose": "One account for every bitbaum product: the account menu, accounts themselves…",
|
||||
"install": "pnpm add @bitbaum/accountkit@^0.32.1"
|
||||
},
|
||||
{
|
||||
"name": "listkit",
|
||||
"name": "@bitbaum/ai-kit",
|
||||
"purpose": null,
|
||||
"install": "pnpm add @bitbaum/ai-kit@^1.31.0"
|
||||
},
|
||||
{
|
||||
"name": "@bitbaum/limitkit",
|
||||
"purpose": "Rate limiting as a decision, not a middleware: fixed and sliding windows over…",
|
||||
"install": "pnpm add @bitbaum/limitkit@^0.2.1"
|
||||
},
|
||||
{
|
||||
"name": "@bitbaum/bip-kit",
|
||||
"purpose": "Building in Public, as a content contract: parse markdown into typed blocks…",
|
||||
"install": "pnpm add @bitbaum/bip-kit@^0.10.0"
|
||||
},
|
||||
{
|
||||
"name": "@bitbaum/whenkit",
|
||||
"purpose": "Dates and times people can pick without typing: day chips, time chips, length…",
|
||||
"install": "pnpm add @bitbaum/whenkit@^0.3.3"
|
||||
},
|
||||
{
|
||||
"name": "@bitbaum/chartkit",
|
||||
"purpose": "One chart for every product: token-driven SVG charts that render on the…",
|
||||
"install": "pnpm add @bitbaum/chartkit@^0.8.0"
|
||||
},
|
||||
{
|
||||
"name": "@bitbaum/listkit",
|
||||
"purpose": "A list as a query: a closed set of facet kinds, a URL codec that copies rather…",
|
||||
"install": "pnpm add github:bitbaum/listkit#v0.1.0"
|
||||
"install": "pnpm add @bitbaum/listkit@^0.2.2"
|
||||
},
|
||||
{
|
||||
"name": "@bitbaum/searchkit",
|
||||
"purpose": "Search that finds what was meant: typo budgets by word length, prefix while…",
|
||||
"install": "pnpm add github:bitbaum/searchkit#v0.2.2"
|
||||
"install": "pnpm add @bitbaum/searchkit@^0.2.3"
|
||||
},
|
||||
{
|
||||
"name": "threadkit",
|
||||
"purpose": "Headless multi-participant message threads",
|
||||
"install": "pnpm add threadkit"
|
||||
},
|
||||
{
|
||||
"name": "@bitbaum/geo-kit",
|
||||
"purpose": "Versioned, on-demand geography resources and sourced boundary assertions for…",
|
||||
"install": "pnpm add github:bitbaum/geo-kit#a337aec928cf7804fecf459c308d366b90f4b2fa"
|
||||
"name": "@bitbaum/ai-forms",
|
||||
"purpose": "Headless AI form filling and conversational refinement",
|
||||
"install": "pnpm add @bitbaum/ai-forms@^0.1.3"
|
||||
},
|
||||
{
|
||||
"name": "@bitbaum/sitekit",
|
||||
"purpose": "A website as data: a closed union of section shapes validated at runtime, one…",
|
||||
"install": "pnpm add @bitbaum/sitekit"
|
||||
"install": "pnpm add @bitbaum/sitekit@^0.7.0"
|
||||
},
|
||||
{
|
||||
"name": "@bitbaum/speechkit",
|
||||
"purpose": "Measure how somebody spoke — pauses, rate, where they searched for a word…",
|
||||
"install": "pnpm add @bitbaum/speechkit"
|
||||
"name": "@bitbaum/threadkit",
|
||||
"purpose": "Headless multi-participant message threads",
|
||||
"install": "pnpm add @bitbaum/threadkit@^0.1.2"
|
||||
},
|
||||
{
|
||||
"name": "@bitbaum/geo-kit",
|
||||
"purpose": "Versioned, on-demand geography resources and sourced boundary assertions for…",
|
||||
"install": "pnpm add @bitbaum/geo-kit@^0.8.0"
|
||||
},
|
||||
{
|
||||
"name": "@bitbaum/paykit",
|
||||
"purpose": "Let a website get paid without holding the money",
|
||||
"install": "pnpm add @bitbaum/paykit"
|
||||
"install": "pnpm add @bitbaum/paykit@^0.3.0"
|
||||
},
|
||||
{
|
||||
"name": "@bitbaum/writingkit",
|
||||
"purpose": "Revision-safe content operations and the article composer every product…",
|
||||
"install": "pnpm add @bitbaum/writingkit@^0.4.0"
|
||||
},
|
||||
{
|
||||
"name": "@bitbaum/speechkit",
|
||||
"purpose": "Measure how somebody spoke — pauses, rate, where they searched for a word…",
|
||||
"install": "pnpm add @bitbaum/speechkit@^1.0.1"
|
||||
}
|
||||
],
|
||||
"stack": [
|
||||
@@ -155,84 +165,115 @@
|
||||
},
|
||||
{
|
||||
"job": "Maps & globes",
|
||||
"blessed": "d3-geo + topojson-client, drawn on Canvas 2D; country…"
|
||||
"blessed": "@bitbaum/geo-kit/map: d3-geo + topojson-client, drawn on…"
|
||||
}
|
||||
],
|
||||
"catalogue": [
|
||||
{
|
||||
"slug": "ai-kit",
|
||||
"name": "@bitbaum/ai-kit",
|
||||
"repo": "bitbaum/ai-kit",
|
||||
"summary": null,
|
||||
"description": null,
|
||||
"registerVersion": "1.20.1",
|
||||
"slug": "design-tokens",
|
||||
"name": "@bitbaum/design-tokens",
|
||||
"repo": "bitbaum/design-tokens",
|
||||
"summary": "Design SSOT for OrangeCat, Loki and Solon — tokens, self-hosted faces, the Tailwind preset that maps them, next/font/local calls for every…",
|
||||
"description": "Design SSOT for OrangeCat, Loki and Solon — tokens, self-hosted faces, the Tailwind preset that maps them, next/font/local calls for every face the fleet's apps use, and every product's mark.",
|
||||
"registerVersion": "1.7.1",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add @bitbaum/ai-kit",
|
||||
"install": "pnpm add @bitbaum/design-tokens@^1.7.1",
|
||||
"adopterNames": [
|
||||
"accountkit",
|
||||
"aoz-begleitung",
|
||||
"biaslens",
|
||||
"bitbaum",
|
||||
"botsmann",
|
||||
"camille-boulangerie",
|
||||
"causius",
|
||||
"chartkit",
|
||||
"chatkit",
|
||||
"diplodoctor",
|
||||
"evig",
|
||||
"fleet",
|
||||
"heidi",
|
||||
"hirnli",
|
||||
"kivvi",
|
||||
"loki",
|
||||
"morulia",
|
||||
"orangecat",
|
||||
"printcraft",
|
||||
"s-ink",
|
||||
"skif",
|
||||
"solon",
|
||||
"substrata",
|
||||
"surf-your-life",
|
||||
"truthseeker",
|
||||
"whenkit",
|
||||
"writingkit"
|
||||
]
|
||||
},
|
||||
{
|
||||
"slug": "chatkit",
|
||||
"name": "@bitbaum/chatkit",
|
||||
"repo": "bitbaum/chatkit",
|
||||
"summary": "One chat for every product: a composer with a microphone that always works, a thread that does not fight the reader, messages with copy…",
|
||||
"description": "One chat for every product: a composer with a microphone that always works, a thread that does not fight the reader, messages with copy and retry, LLM markdown, and a messenger for people and the agents among them — the fleet's chat standard as a package.",
|
||||
"registerVersion": "0.45.0",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add @bitbaum/chatkit@^0.45.0",
|
||||
"adopterNames": [
|
||||
"aoz-begleitung",
|
||||
"biaslens",
|
||||
"bitbaum",
|
||||
"botsmann",
|
||||
"causius",
|
||||
"datacat",
|
||||
"diplodoctor",
|
||||
"evig",
|
||||
"fleet",
|
||||
"heidi",
|
||||
"hirnli",
|
||||
"kivvi",
|
||||
"loki",
|
||||
"orangecat",
|
||||
"sbb-fundbuero",
|
||||
"skif",
|
||||
"substrata",
|
||||
"surf-your-life",
|
||||
"truthseeker",
|
||||
"vitareba"
|
||||
]
|
||||
},
|
||||
{
|
||||
"slug": "bip-kit",
|
||||
"name": "bip-kit",
|
||||
"repo": "bitbaum/bip-kit",
|
||||
"summary": "Building in Public, as a content contract: parse markdown into typed blocks and render them with a reference React renderer…",
|
||||
"description": "Building in Public, as a content contract: parse markdown into typed blocks and render them with a reference React renderer (bip-kit/react) — blog, roadmap, changelog on your product site, bring your own design tokens.",
|
||||
"registerVersion": "0.6.0",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add bip-kit",
|
||||
"adopterNames": [
|
||||
"aoz-begleitung",
|
||||
"bitbaum",
|
||||
"botsmann",
|
||||
"causius",
|
||||
"datacat",
|
||||
"evig",
|
||||
"heidi",
|
||||
"kivvi",
|
||||
"loki",
|
||||
"orangecat",
|
||||
"petvity",
|
||||
"printcraft",
|
||||
"reparaturbonus-zh",
|
||||
"skif",
|
||||
"solon",
|
||||
"substrata"
|
||||
"substrata",
|
||||
"surf-your-life",
|
||||
"vitareba",
|
||||
"writingkit"
|
||||
]
|
||||
},
|
||||
{
|
||||
"slug": "mail-kit",
|
||||
"name": "@bitbaum/mail-kit",
|
||||
"repo": "bitbaum/mail-kit",
|
||||
"summary": "The fleet's one email layer: Resend over raw fetch, zero dependencies, honest never-throwing results, sandbox/placeholder guards, and the…",
|
||||
"description": "The fleet's one email layer: Resend over raw fetch, zero dependencies, honest never-throwing results, sandbox/placeholder guards, and the shared-sender convention encoded once.",
|
||||
"registerVersion": "0.1.1",
|
||||
"summary": "The fleet's one email layer: Resend over raw fetch by default, or the app's own mail server over SMTP, one HTML layout with dark mode and…",
|
||||
"description": "The fleet's one email layer: Resend over raw fetch by default, or the app's own mail server over SMTP, one HTML layout with dark mode and a plain-text twin, signed one-click unsubscribe, honest never-throwing results, sandbox/placeholder guards, and the shared-sender convention encoded once.",
|
||||
"registerVersion": "0.4.0",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add @bitbaum/mail-kit",
|
||||
"install": "pnpm add @bitbaum/mail-kit@^0.4.0",
|
||||
"adopterNames": [
|
||||
"accountkit",
|
||||
"aoz-begleitung",
|
||||
"biaslens",
|
||||
"botsmann",
|
||||
"causius",
|
||||
"datacat",
|
||||
"diplodoctor",
|
||||
"evig",
|
||||
"fleet",
|
||||
"heidi",
|
||||
"hirnli",
|
||||
"kivvi",
|
||||
"loki",
|
||||
"orangecat",
|
||||
"petvity",
|
||||
"printcraft",
|
||||
"reparaturbonus-zh",
|
||||
"s-ink",
|
||||
"skif",
|
||||
"solon",
|
||||
"substrata",
|
||||
"surf-your-life",
|
||||
"vitareba"
|
||||
]
|
||||
@@ -241,44 +282,125 @@
|
||||
"slug": "accountkit",
|
||||
"name": "@bitbaum/accountkit",
|
||||
"repo": "bitbaum/accountkit",
|
||||
"summary": "One account for every bitbaum product: the account menu, and Sign in with OrangeCat (provider, session refresh, identity rules, error…",
|
||||
"description": "One account for every bitbaum product: the account menu, and Sign in with OrangeCat (provider, session refresh, identity rules, error screen). Styled from @bitbaum/design-tokens.",
|
||||
"registerVersion": "0.2.1",
|
||||
"installSource": "git",
|
||||
"install": "pnpm add github:bitbaum/accountkit#v0.2.1",
|
||||
"summary": "One account for every bitbaum product: the account menu, accounts themselves (better-auth: password, magic link, passkeys, 2FA, OIDC) and…",
|
||||
"description": "One account for every bitbaum product: the account menu, accounts themselves (better-auth: password, magic link, passkeys, 2FA, OIDC) and Sign in with OrangeCat. Styled from @bitbaum/design-tokens.",
|
||||
"registerVersion": "0.32.1",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add @bitbaum/accountkit@^0.32.1",
|
||||
"adopterNames": [
|
||||
"aoz-begleitung",
|
||||
"biaslens",
|
||||
"botsmann",
|
||||
"causius",
|
||||
"datacat",
|
||||
"diplodoctor",
|
||||
"evig",
|
||||
"fleet",
|
||||
"heidi",
|
||||
"hirnli",
|
||||
"kivvi",
|
||||
"loki",
|
||||
"morulia",
|
||||
"orangecat",
|
||||
"petvity",
|
||||
"printcraft",
|
||||
"reparaturbonus-zh",
|
||||
"skif",
|
||||
"solon",
|
||||
"substrata",
|
||||
"surf-your-life"
|
||||
"surf-your-life",
|
||||
"vitareba"
|
||||
]
|
||||
},
|
||||
{
|
||||
"slug": "ai-kit",
|
||||
"name": "@bitbaum/ai-kit",
|
||||
"repo": "bitbaum/ai-kit",
|
||||
"summary": null,
|
||||
"description": null,
|
||||
"registerVersion": "1.31.0",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add @bitbaum/ai-kit@^1.31.0",
|
||||
"adopterNames": [
|
||||
"aoz-begleitung",
|
||||
"biaslens",
|
||||
"botsmann",
|
||||
"causius",
|
||||
"datacat",
|
||||
"diplodoctor",
|
||||
"evig",
|
||||
"fleet",
|
||||
"heidi",
|
||||
"hirnli",
|
||||
"kivvi",
|
||||
"loki",
|
||||
"orangecat",
|
||||
"sbb-fundbuero",
|
||||
"skif",
|
||||
"solon",
|
||||
"substrata",
|
||||
"surf-your-life",
|
||||
"truthseeker",
|
||||
"vitareba"
|
||||
]
|
||||
},
|
||||
{
|
||||
"slug": "limitkit",
|
||||
"name": "limitkit",
|
||||
"name": "@bitbaum/limitkit",
|
||||
"repo": "bitbaum/limitkit",
|
||||
"summary": "Rate limiting as a decision, not a middleware: fixed and sliding windows over an injectable store, a bounded in-memory store, standard…",
|
||||
"description": "Rate limiting as a decision, not a middleware: fixed and sliding windows over an injectable store, a bounded in-memory store, standard RateLimit headers, and client-IP extraction. No HTTP client, no framework.",
|
||||
"registerVersion": "0.2.0",
|
||||
"registerVersion": "0.2.1",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add limitkit",
|
||||
"install": "pnpm add @bitbaum/limitkit@^0.2.1",
|
||||
"adopterNames": [
|
||||
"accountkit",
|
||||
"aoz-begleitung",
|
||||
"biaslens",
|
||||
"botsmann",
|
||||
"causius",
|
||||
"diplodoctor",
|
||||
"evig",
|
||||
"fleet",
|
||||
"heidi",
|
||||
"kivvi",
|
||||
"loki",
|
||||
"morulia",
|
||||
"orangecat",
|
||||
"petvity",
|
||||
"skif",
|
||||
"solon",
|
||||
"surf-your-life",
|
||||
"truthseeker"
|
||||
]
|
||||
},
|
||||
{
|
||||
"slug": "bip-kit",
|
||||
"name": "@bitbaum/bip-kit",
|
||||
"repo": "bitbaum/bip-kit",
|
||||
"summary": "Building in Public, as a content contract: parse markdown into typed blocks and render them with a reference React renderer…",
|
||||
"description": "Building in Public, as a content contract: parse markdown into typed blocks and render them with a reference React renderer (@bitbaum/bip-kit/react) — blog, roadmap, changelog on your product site, bring your own design tokens.",
|
||||
"registerVersion": "0.10.0",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add @bitbaum/bip-kit@^0.10.0",
|
||||
"adopterNames": [
|
||||
"aoz-begleitung",
|
||||
"biaslens",
|
||||
"bitbaum",
|
||||
"botsmann",
|
||||
"causius",
|
||||
"datacat",
|
||||
"diplodoctor",
|
||||
"evig",
|
||||
"fleet",
|
||||
"heidi",
|
||||
"kivvi",
|
||||
"loki",
|
||||
"orangecat",
|
||||
"petvity",
|
||||
"skif",
|
||||
"surf-your-life",
|
||||
"truthseeker"
|
||||
"solon",
|
||||
"substrata"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -287,11 +409,13 @@
|
||||
"repo": "bitbaum/whenkit",
|
||||
"summary": "Dates and times people can pick without typing: day chips, time chips, length chips, a readable date field over the native picker, and a…",
|
||||
"description": "Dates and times people can pick without typing: day chips, time chips, length chips, a readable date field over the native picker, and a low-friction booking request that resolves to {startsAt, endsAt} in the provider's zone.",
|
||||
"registerVersion": "0.3.2",
|
||||
"installSource": "git",
|
||||
"install": "pnpm add github:bitbaum/whenkit#v0.3.2",
|
||||
"registerVersion": "0.3.3",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add @bitbaum/whenkit@^0.3.3",
|
||||
"adopterNames": [
|
||||
"aoz-begleitung",
|
||||
"datacat",
|
||||
"diplodoctor",
|
||||
"evig",
|
||||
"heidi",
|
||||
"hirnli",
|
||||
@@ -303,99 +427,87 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"slug": "chatkit",
|
||||
"name": "@bitbaum/chatkit",
|
||||
"repo": "bitbaum/chatkit",
|
||||
"summary": "One chat for every product: a composer with a microphone that always works, a thread that does not fight the reader, messages with copy…",
|
||||
"description": "One chat for every product: a composer with a microphone that always works, a thread that does not fight the reader, messages with copy and retry, and LLM markdown — the fleet's chat standard as a package.",
|
||||
"registerVersion": "0.7.0",
|
||||
"installSource": "git",
|
||||
"install": "pnpm add github:bitbaum/chatkit#163c879163d22c6eb633314b3bd4e25712a01899",
|
||||
"slug": "chartkit",
|
||||
"name": "@bitbaum/chartkit",
|
||||
"repo": "bitbaum/chartkit",
|
||||
"summary": "One chart for every product: token-driven SVG charts that render on the server, read as a table, and never cut a label — line, ranked…",
|
||||
"description": "One chart for every product: token-driven SVG charts that render on the server, read as a table, and never cut a label — line, ranked bars, share bars, sparkline, meter, timeline, stat tiles.",
|
||||
"registerVersion": "0.8.0",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add @bitbaum/chartkit@^0.8.0",
|
||||
"adopterNames": [
|
||||
"aoz-begleitung",
|
||||
"biaslens",
|
||||
"evig",
|
||||
"hirnli",
|
||||
"kivvi",
|
||||
"petvity",
|
||||
"solon",
|
||||
"substrata",
|
||||
"vitareba",
|
||||
"writingkit"
|
||||
]
|
||||
},
|
||||
{
|
||||
"slug": "listkit",
|
||||
"name": "@bitbaum/listkit",
|
||||
"repo": "bitbaum/listkit",
|
||||
"summary": "A list as a query: a closed set of facet kinds, a URL codec that copies rather than rebuilds, a comparator that puts missing values last…",
|
||||
"description": "A list as a query: a closed set of facet kinds, a URL codec that copies rather than rebuilds, a comparator that puts missing values last, and page arithmetic that cannot produce a negative offset. No markup, no React, no HTTP client.",
|
||||
"registerVersion": "0.2.2",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add @bitbaum/listkit@^0.2.2",
|
||||
"adopterNames": [
|
||||
"aoz-begleitung",
|
||||
"bitbaum",
|
||||
"causius",
|
||||
"evig",
|
||||
"heidi",
|
||||
"diplodoctor",
|
||||
"hirnli",
|
||||
"loki",
|
||||
"orangecat",
|
||||
"skif",
|
||||
"substrata"
|
||||
]
|
||||
},
|
||||
{
|
||||
"slug": "design-tokens",
|
||||
"name": "@bitbaum/design-tokens",
|
||||
"repo": "bitbaum/design-tokens",
|
||||
"summary": "Design SSOT for OrangeCat, Loki and Solon — tokens, self-hosted faces, and the Tailwind preset that maps them",
|
||||
"description": "Design SSOT for OrangeCat, Loki and Solon — tokens, self-hosted faces, and the Tailwind preset that maps them.",
|
||||
"registerVersion": "1.1.0",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add @bitbaum/design-tokens",
|
||||
"adopterNames": [
|
||||
"accountkit",
|
||||
"bitbaum",
|
||||
"causius",
|
||||
"chatkit",
|
||||
"loki",
|
||||
"skif",
|
||||
"solon",
|
||||
"whenkit"
|
||||
]
|
||||
},
|
||||
{
|
||||
"slug": "ai-forms",
|
||||
"name": "ai-forms",
|
||||
"repo": "bitbaum/ai-forms",
|
||||
"summary": "Headless AI form filling and conversational refinement",
|
||||
"description": "Headless AI form filling and conversational refinement. Provider-agnostic core, React hook, and a server route factory.",
|
||||
"registerVersion": "0.1.3",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add ai-forms",
|
||||
"adopterNames": ["ai-kit", "aoz-begleitung", "evig", "kivvi", "loki", "surf-your-life"]
|
||||
},
|
||||
{
|
||||
"slug": "listkit",
|
||||
"name": "listkit",
|
||||
"repo": "bitbaum/listkit",
|
||||
"summary": "A list as a query: a closed set of facet kinds, a URL codec that copies rather than rebuilds, a comparator that puts missing values last…",
|
||||
"description": "A list as a query: a closed set of facet kinds, a URL codec that copies rather than rebuilds, a comparator that puts missing values last, and page arithmetic that cannot produce a negative offset. No markup, no React, no HTTP client.",
|
||||
"registerVersion": "0.2.0",
|
||||
"installSource": "git",
|
||||
"install": "pnpm add github:bitbaum/listkit#v0.1.0",
|
||||
"adopterNames": ["bitbaum", "hirnli", "loki", "orangecat", "skif", "substrata"]
|
||||
},
|
||||
{
|
||||
"slug": "searchkit",
|
||||
"name": "@bitbaum/searchkit",
|
||||
"repo": "bitbaum/searchkit",
|
||||
"summary": "Search that finds what was meant: typo budgets by word length, prefix while typing, German spellings without umlauts, joined and split…",
|
||||
"description": "Search that finds what was meant: typo budgets by word length, prefix while typing, German spellings without umlauts, joined and split words, Algolia-order tie-break ranking, highlight ranges, query expansion for any database, and a generated typo regression suite. Zero dependencies; React optional.",
|
||||
"registerVersion": "0.2.2",
|
||||
"installSource": "git",
|
||||
"install": "pnpm add github:bitbaum/searchkit#v0.2.2",
|
||||
"adopterNames": ["evig", "heidi", "loki", "orangecat", "solon", "substrata"]
|
||||
},
|
||||
{
|
||||
"slug": "threadkit",
|
||||
"name": "threadkit",
|
||||
"repo": "bitbaum/threadkit",
|
||||
"summary": "Headless multi-participant message threads",
|
||||
"description": "Headless multi-participant message threads. Permission is participation, unread is per-person, and an AI can be a participant subject to the same visibility rules as everyone else.",
|
||||
"registerVersion": "0.1.1",
|
||||
"registerVersion": "0.2.3",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add threadkit",
|
||||
"adopterNames": ["heidi", "orangecat", "skif", "substrata", "vitareba"]
|
||||
"install": "pnpm add @bitbaum/searchkit@^0.2.3",
|
||||
"adopterNames": [
|
||||
"aoz-begleitung",
|
||||
"causius",
|
||||
"diplodoctor",
|
||||
"evig",
|
||||
"heidi",
|
||||
"loki",
|
||||
"orangecat",
|
||||
"solon",
|
||||
"substrata"
|
||||
]
|
||||
},
|
||||
{
|
||||
"slug": "geo-kit",
|
||||
"name": "@bitbaum/geo-kit",
|
||||
"repo": "bitbaum/geo-kit",
|
||||
"summary": "Versioned, on-demand geography resources and sourced boundary assertions for web applications",
|
||||
"description": "Versioned, on-demand geography resources and sourced boundary assertions for web applications.",
|
||||
"registerVersion": "0.1.1",
|
||||
"installSource": "git",
|
||||
"install": "pnpm add github:bitbaum/geo-kit#a337aec928cf7804fecf459c308d366b90f4b2fa",
|
||||
"adopterNames": ["orangecat", "solon", "substrata"]
|
||||
"slug": "ai-forms",
|
||||
"name": "@bitbaum/ai-forms",
|
||||
"repo": "bitbaum/ai-forms",
|
||||
"summary": "Headless AI form filling and conversational refinement",
|
||||
"description": "Headless AI form filling and conversational refinement. Provider-agnostic core, React hook, and a server route factory.",
|
||||
"registerVersion": "0.1.3",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add @bitbaum/ai-forms@^0.1.3",
|
||||
"adopterNames": [
|
||||
"ai-kit",
|
||||
"aoz-begleitung",
|
||||
"biaslens",
|
||||
"evig",
|
||||
"kivvi",
|
||||
"loki",
|
||||
"surf-your-life"
|
||||
]
|
||||
},
|
||||
{
|
||||
"slug": "sitekit",
|
||||
@@ -403,10 +515,62 @@
|
||||
"repo": "bitbaum/sitekit",
|
||||
"summary": "A website as data: a closed union of section shapes validated at runtime, one set of React renderers, and per-field provenance so a…",
|
||||
"description": "A website as data: a closed union of section shapes validated at runtime, one set of React renderers, and per-field provenance so a generated site can prove it fabricated nothing.",
|
||||
"registerVersion": "0.3.1",
|
||||
"registerVersion": "0.7.0",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add @bitbaum/sitekit",
|
||||
"adopterNames": ["camille-boulangerie", "substrata"]
|
||||
"install": "pnpm add @bitbaum/sitekit@^0.7.0",
|
||||
"adopterNames": [
|
||||
"aoz-begleitung",
|
||||
"biaslens",
|
||||
"camille-boulangerie",
|
||||
"fleet",
|
||||
"loki",
|
||||
"skif",
|
||||
"substrata"
|
||||
]
|
||||
},
|
||||
{
|
||||
"slug": "threadkit",
|
||||
"name": "@bitbaum/threadkit",
|
||||
"repo": "bitbaum/threadkit",
|
||||
"summary": "Headless multi-participant message threads",
|
||||
"description": "Headless multi-participant message threads. Permission is participation, unread is per-person, and an AI can be a participant subject to the same visibility rules as everyone else.",
|
||||
"registerVersion": "0.1.2",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add @bitbaum/threadkit@^0.1.2",
|
||||
"adopterNames": ["aoz-begleitung", "chatkit", "heidi", "skif", "substrata", "vitareba"]
|
||||
},
|
||||
{
|
||||
"slug": "geo-kit",
|
||||
"name": "@bitbaum/geo-kit",
|
||||
"repo": "bitbaum/geo-kit",
|
||||
"summary": "Versioned, on-demand geography resources and sourced boundary assertions for web applications, and a Canvas 2D renderer for them (globe or…",
|
||||
"description": "Versioned, on-demand geography resources and sourced boundary assertions for web applications, and a Canvas 2D renderer for them (globe or map).",
|
||||
"registerVersion": "0.8.0",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add @bitbaum/geo-kit@^0.8.0",
|
||||
"adopterNames": ["orangecat", "solon", "substrata"]
|
||||
},
|
||||
{
|
||||
"slug": "paykit",
|
||||
"name": "@bitbaum/paykit",
|
||||
"repo": "bitbaum/paykit",
|
||||
"summary": "Let a website get paid without holding the money",
|
||||
"description": "Let a website get paid without holding the money. Sell time-boxed passes through a payment provider (Bitcoin through an OrangeCat account), classify a pasted Bitcoin receive string, and record a shown code (Twint, another currency) the visitor pays in their own app.",
|
||||
"registerVersion": "0.3.0",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add @bitbaum/paykit@^0.3.0",
|
||||
"adopterNames": ["heidi", "loki", "orangecat"]
|
||||
},
|
||||
{
|
||||
"slug": "writingkit",
|
||||
"name": "@bitbaum/writingkit",
|
||||
"repo": "bitbaum/writingkit",
|
||||
"summary": "Revision-safe content operations and the article composer every product shares: title and text with a microphone and writing help…",
|
||||
"description": "Revision-safe content operations and the article composer every product shares: title and text with a microphone and writing help, speak-to-write, photos, charts drawn by chartkit, suggestions the writer accepts or rejects, drafts that survive sign-in.",
|
||||
"registerVersion": "0.4.0",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add @bitbaum/writingkit@^0.4.0",
|
||||
"adopterNames": ["biaslens", "orangecat"]
|
||||
},
|
||||
{
|
||||
"slug": "speechkit",
|
||||
@@ -414,21 +578,10 @@
|
||||
"repo": "bitbaum/speechkit",
|
||||
"summary": "Measure how somebody spoke — pauses, rate, where they searched for a word, grammar a listener would notice — and say only what the…",
|
||||
"description": "Measure how somebody spoke — pauses, rate, where they searched for a word, grammar a listener would notice — and say only what the evidence allows. Language-agnostic; no pronunciation score, on purpose.",
|
||||
"registerVersion": "1.0.0",
|
||||
"registerVersion": "1.0.1",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add @bitbaum/speechkit",
|
||||
"install": "pnpm add @bitbaum/speechkit@^1.0.1",
|
||||
"adopterNames": ["heidi"]
|
||||
},
|
||||
{
|
||||
"slug": "paykit",
|
||||
"name": "@bitbaum/paykit",
|
||||
"repo": "bitbaum/paykit",
|
||||
"summary": "Let a website get paid without holding the money",
|
||||
"description": "Let a website get paid without holding the money. Classify a pasted Bitcoin receive string, and record a shown code (Twint, another currency) the visitor pays in their own app.",
|
||||
"registerVersion": "0.1.0",
|
||||
"installSource": "npm",
|
||||
"install": "pnpm add @bitbaum/paykit",
|
||||
"adopterNames": []
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -12,7 +12,7 @@
|
||||
* kit_plan) — so the advisor gets it, along with the conventions every build
|
||||
* is held to.
|
||||
*/
|
||||
import { KIT_FEATURES } from "@/config/kit-plan";
|
||||
import { KIT_FEATURES, kitKey } from "@/config/kit-plan";
|
||||
import { renderBuildConventions } from "@/config/build-conventions";
|
||||
|
||||
export type WidgetBuildFacts = {
|
||||
@@ -33,7 +33,7 @@ export const BUILD_FACTS_MAX = 2_000;
|
||||
const day = (d: Date) => d.toISOString().slice(0, 10);
|
||||
|
||||
function described(name: string): string {
|
||||
const use = KIT_FEATURES[name]?.use;
|
||||
const use = KIT_FEATURES[kitKey(name)]?.use;
|
||||
return use ? `${name} — ${use}` : name;
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ export function renderBuildFacts(facts: WidgetBuildFacts | null): string {
|
||||
? "- It has a repository Loki builds from."
|
||||
: "- It has no repository yet; Loki builds it directly.",
|
||||
);
|
||||
const seen = new Set((facts.observed ?? []).map((p) => p.name));
|
||||
const seen = new Set((facts.observed ?? []).map((p) => kitKey(p.name)));
|
||||
if (facts.observed === null) {
|
||||
lines.push(
|
||||
"- Its code has not been read for the fleet's shared packages yet, so which ones it uses is not known — say exactly that if asked; never guess.",
|
||||
@@ -66,7 +66,7 @@ export function renderBuildFacts(facts: WidgetBuildFacts | null): string {
|
||||
),
|
||||
);
|
||||
}
|
||||
const missing = facts.planned.filter((n) => !seen.has(n));
|
||||
const missing = facts.planned.filter((n) => !seen.has(kitKey(n)));
|
||||
if (facts.observed !== null && missing.length) {
|
||||
lines.push(
|
||||
`- Planned at the start but not found in its code: ${missing.map(described).join("; ")}.`,
|
||||
|
||||
Reference in new issue
Block a user