From 7708013fd7fbc6c1a11f3934d3de3f2864de96ae Mon Sep 17 00:00:00 2001 From: Zach Hawtof Date: Fri, 15 May 2026 22:23:56 -0400 Subject: [PATCH] rename block-kit-builder to block-kitchen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Renames the underlying library and template branding from "block-kit-builder" to "block-kitchen" everywhere it identifies our package, repo, or app — but leaves Slack's own "Block Kit" product terminology (the validator package, fallback message text, and validation references) intact. - package: dep @tightknitai/block-kit-builder -> @tightknitai/block-kitchen - package/Worker name: block-kit-builder-template -> block-kitchen-template - React export: BlockKitBuilder/BlockKitBuilderProps -> BlockKitchen/BlockKitchenProps - Slack app display name + manifest - README, SECURITY, issue template URLs and labels - HTML title, h1, launch config Co-Authored-By: Claude Opus 4.7 (1M context) --- .claude/launch.json | 2 +- .github/ISSUE_TEMPLATE/config.yml | 6 +++--- README.md | 10 +++++----- SECURITY.md | 2 +- index.html | 2 +- manifest.json | 6 +++--- package.json | 6 +++--- src/client/App.tsx | 12 ++++++------ src/client/main.tsx | 2 +- wrangler.jsonc | 2 +- 10 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.claude/launch.json b/.claude/launch.json index 3a9eb7b..7d95d42 100644 --- a/.claude/launch.json +++ b/.claude/launch.json @@ -2,7 +2,7 @@ "version": "0.0.1", "configurations": [ { - "name": "block-kit-builder-template", + "name": "block-kitchen-template", "runtimeExecutable": "pnpm", "runtimeArgs": ["wrangler", "dev", "--port", "8787"], "port": 8787 diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 19d2595..be3b453 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,10 +1,10 @@ blank_issues_enabled: false contact_links: - name: Security vulnerability - url: https://github.com/TightknitAI/block-kit-builder-template/security/advisories/new + url: https://github.com/TightknitAI/block-kitchen-template/security/advisories/new about: Report security issues privately — see SECURITY.md. Do not open a public issue. - - name: block-kit-builder package issues - url: https://github.com/TightknitAI/block-kit-builder/issues + - name: block-kitchen package issues + url: https://github.com/TightknitAI/block-kitchen/issues about: For bugs in the React component itself (drag-and-drop, block editing, preview), file there. - name: slack-hono issues url: https://github.com/TightknitAI/slack-hono/issues diff --git a/README.md b/README.md index ab6a2df..8105bd0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# block-kit-builder Template +# block-kitchen Template -A Vite + React SPA on Cloudflare Workers that uses [block-kit-builder](https://github.com/TightknitAI/block-kit-builder) to compose Slack messages and post them via [slack-hono](https://github.com/TightknitAI/slack-hono) + [slack-web-api-client](https://github.com/slack-edge/slack-web-api-client). Validates every send against [slack-block-kit-validator](https://github.com/TightknitAI/slack-block-kit-validator) for defense in depth. +A Vite + React SPA on Cloudflare Workers that uses [block-kitchen](https://github.com/TightknitAI/block-kitchen) to compose Slack messages and post them via [slack-hono](https://github.com/TightknitAI/slack-hono) + [slack-web-api-client](https://github.com/slack-edge/slack-web-api-client). Validates every send against [slack-block-kit-validator](https://github.com/TightknitAI/slack-block-kit-validator) for defense in depth. ## What you get @@ -131,7 +131,7 @@ pnpm run logs ``` ┌─────────────────────────────┐ - │ block-kit-builder │ React component, all UX + │ block-kitchen │ React component, all UX │ (npm package) │ └──────────────┬──────────────┘ │ loadChannels / loadSendAsUserStatus / onSend @@ -153,7 +153,7 @@ The package never makes Slack API calls — the Worker does. The Worker validate ``` src/ - client/ — Vite React SPA (single page, mounts ) + client/ — Vite React SPA (single page, mounts ) main.tsx App.tsx styles.css @@ -175,4 +175,4 @@ MIT. See [LICENSE](./LICENSE). --- -Built with [block-kit-builder](https://github.com/TightknitAI/block-kit-builder), [slack-hono](https://github.com/TightknitAI/slack-hono), and [slack-block-kit-validator](https://github.com/TightknitAI/slack-block-kit-validator). Maintained by the [Tightknit](https://tightknit.ai) team. +Built with [block-kitchen](https://github.com/TightknitAI/block-kitchen), [slack-hono](https://github.com/TightknitAI/slack-hono), and [slack-block-kit-validator](https://github.com/TightknitAI/slack-block-kit-validator). Maintained by the [Tightknit](https://tightknit.ai) team. diff --git a/SECURITY.md b/SECURITY.md index ca6d72a..b436595 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,7 +6,7 @@ This template handles Slack OAuth tokens and signing secrets, so we take vulnera **Please do not open a public GitHub issue.** Use one of the private channels below. -- **GitHub Security Advisories** (preferred): open a private report at . +- **GitHub Security Advisories** (preferred): open a private report at . - **Email**: send details to . Include enough to reproduce: affected version or commit, the route or flow, expected vs. actual behavior, and any PoC. If a fix is straightforward we may invite you to a private fork. diff --git a/index.html b/index.html index 7b4673f..d2d4c43 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - Block Kit Builder Template + Block Kitchen Template
diff --git a/manifest.json b/manifest.json index f20467b..427e104 100644 --- a/manifest.json +++ b/manifest.json @@ -1,11 +1,11 @@ { "display_information": { - "name": "Block Kit Builder", - "description": "Compose Slack messages with a visual block kit builder." + "name": "Block Kitchen", + "description": "Compose Slack messages with a visual block kitchen." }, "features": { "bot_user": { - "display_name": "Block Kit Builder", + "display_name": "Block Kitchen", "always_online": false } }, diff --git a/package.json b/package.json index 3d59d5b..35d0872 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "block-kit-builder-template", + "name": "block-kitchen-template", "version": "0.1.0", "private": true, - "description": "Template app — Slack Block Kit Builder UI on Cloudflare Workers, sending messages via slack-hono.", + "description": "Template app — Slack Block Kitchen UI on Cloudflare Workers, sending messages via slack-hono.", "type": "module", "scripts": { "dev": "vite dev", @@ -20,7 +20,7 @@ "install-app": "bash scripts/install-app.sh" }, "dependencies": { - "@tightknitai/block-kit-builder": "0.1.0-alpha.0", + "@tightknitai/block-kitchen": "0.1.0-alpha.0", "@tightknitai/slack-block-kit-validator": "0.1.0-alpha.0", "hono": "^4.12.18", "react": "^19.2.6", diff --git a/src/client/App.tsx b/src/client/App.tsx index 90e522a..52c2622 100644 --- a/src/client/App.tsx +++ b/src/client/App.tsx @@ -1,16 +1,16 @@ import { useMemo, useState } from "react"; import { - BlockKitBuilder, - type BlockKitBuilderProps, + BlockKitchen, + type BlockKitchenProps, type ChannelOption, type SendAsUserStatus, type SendPayload, type SendResult, -} from "@tightknitai/block-kit-builder"; +} from "@tightknitai/block-kitchen"; type Mode = "message" | "modal"; -type BuilderIO = Pick; +type BuilderIO = Pick; const messageIO: BuilderIO = { loadChannels: async (): Promise => { @@ -68,7 +68,7 @@ export function App() { return (
-

Block Kit Builder Template

+

Block Kitchen Template

Drag blocks → preview → click Send. Install at{" "} /slack/install first. @@ -100,7 +100,7 @@ export function App() {

- +
); diff --git a/src/client/main.tsx b/src/client/main.tsx index 9c4721f..13ca51d 100644 --- a/src/client/main.tsx +++ b/src/client/main.tsx @@ -1,4 +1,4 @@ -import "@tightknitai/block-kit-builder/styles.css"; +import "@tightknitai/block-kitchen/styles.css"; import "./styles.css"; import { StrictMode } from "react"; import { createRoot } from "react-dom/client"; diff --git a/wrangler.jsonc b/wrangler.jsonc index ac979f5..2563a7c 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -1,6 +1,6 @@ { "$schema": "node_modules/wrangler/config-schema.json", - "name": "block-kit-builder-template", + "name": "block-kitchen-template", "main": "src/worker/index.ts", "compatibility_date": "2026-04-01", "compatibility_flags": ["nodejs_compat"],