Repository navigation
feat: consume agentic-craft shadcn registry instead of hand-vendoring - #6
Merged
Merged
Conversation
- components.json with @agentic-craft namespace (bitcomplete/agentic-craft public/r on raw GitHub); tool-call, tool-tree installed via the shadcn CLI, status-indicator newly adopted; pnpm registry:sync re-pulls upstream - upstream ToolCall became a compound API (Trigger/Error/Retry, React.use): primitive re-exports updated, MDX-facing wrappers unchanged - registry primitives added to the manifest extractor's INTERNAL_NAMES so registry files stay unedited (sync would wipe hand-added JSDoc) - fix: tsup clean:true deleted dist/styles.css written by build:css — build now rm -rf's dist up front - fix: ToolTree silently ignored defaultOpen - fix: examples/plan.mdx never compiled (raw '<' parsed as JSX)
arielconti10
force-pushed
the
feat/consume-agentic-craft-registry
branch
from
June 12, 2026 00:11
22d7c9f to
ccad89a
Compare
The build-script allowlist (allowBuilds) has to live in pnpm-workspace.yaml: pnpm 11 no longer reads the package.json "pnpm" field, but pnpm 9 treats any pnpm-workspace.yaml without a packages field as an error. The lockfile is already in 9.0 format written by pnpm 11, so CI and release move to 11.
arielconti10
force-pushed
the
feat/consume-agentic-craft-registry
branch
from
June 12, 2026 00:14
ccad89a to
8139c19
Compare
terraboops
reviewed
Jun 12, 2026
| "build:manifest": "node scripts/extract-manifest.mjs", | ||
| "build:js": "tsup", | ||
| "build": "pnpm run build:manifest && pnpm run build:css && pnpm run build:js", | ||
| "registry:sync": "npx shadcn@latest add @agentic-craft/tool-call @agentic-craft/tool-tree @agentic-craft/status-indicator --overwrite --yes", |
terraboops
approved these changes
Jun 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Replaces the hand-vendored fork copies of
tool-call/tool-treewith CLI-managed installs from the canonicalbitcomplete/agentic-craftshadcn registry, and adoptsstatus-indicator.components.jsonmodeled on upstream's (base-nova, Tailwind v4 CSS entry, hugeicons,@/aliases) with an@agentic-craftregistry namespace pointing at the committedpublic/rJSON on raw GitHubpnpm registry:syncre-pulls the three components with--overwrite— registry files are never edited by handToolCallTrigger/ToolCallError/ToolCallRetry,React.use): primitive re-exports updated; the MDX-facing<details>wrappers are unchangedINTERNAL_NAMES(they're building blocks, not MDX-facing; in-file JSDoc would be wiped on sync)Base UI note: the three consumed components depend only on hugeicons — Base UI enters agentic-craft via
button/dialog/fielddeps that only interactive components pull in. The namespace setup brings@base-ui/reactin automatically if a future install needs it.Fixes found along the way
clean: truedeleteddist/styles.cssright afterbuild:csswrote it — every full build shipped without the stylesheet. Build nowrm -rf's dist up front.defaultOpenwas declared but never applied to the<details>.<in prose is a malformed JSX tag to MDX. (Follow-up idea: a test that compilesexamples/*.mdx.)Verification
node:vmcontext (noprocess, no Node APIs):compileMDXreturns{html, css},componentManifestintact (29 entries)examples/plan.mdxrendered and inspected in headless chromium, light + darkbitcomplete/pincheckout and ran its Go suite —internal/mdxrender,internal/library,internal/library/mdxcomponentall pass