Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
137 changes: 137 additions & 0 deletions cli/src/registry/default/artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,4 +352,141 @@ export const artifacts: RegistryItem[] = [
},
],
},
{
name: "findings",
type: "registry:artifacts",
dependencies: [
"react",
"clsx",
"tailwind-merge",
"zod",
"@copilotkit/react-core",
"lucide-react",
"@radix-ui/react-popover",
],
registryDependencies: ["button", "popover", "findings"],
files: [
{
path: "hax/artifacts/findings/findings.tsx",
type: "registry:component",
content: readComponentFile("hax/artifacts/findings/findings.tsx"),
},
{
path: "hax/artifacts/findings/action.ts",
type: "registry:hook",
content: readComponentFile("hax/artifacts/findings/action.ts"),
},
{
path: "hax/artifacts/findings/types.ts",
type: "registry:types",
content: readComponentFile("hax/artifacts/findings/types.ts"),
},
{
path: "hax/artifacts/findings/index.ts",
type: "registry:index",
content: readComponentFile("hax/artifacts/findings/index.ts"),
},
{
path: "hax/artifacts/findings/description.ts",
type: "registry:description",
content: readComponentFile("hax/artifacts/findings/description.ts"),
},
],
},
{
name: "capability-manifest",
type: "registry:artifacts",
dependencies: [
"react",
"clsx",
"tailwind-merge",
"zod",
"@copilotkit/react-core",
"lucide-react",
],
registryDependencies: [],
files: [
{
path: "hax/artifacts/capability-manifest/capability-manifest.tsx",
type: "registry:component",
content: readComponentFile(
"hax/artifacts/capability-manifest/capability-manifest.tsx",
),
},
{
path: "hax/artifacts/capability-manifest/action.ts",
type: "registry:hook",
content: readComponentFile(
"hax/artifacts/capability-manifest/action.ts",
),
},
{
path: "hax/artifacts/capability-manifest/types.ts",
type: "registry:types",
content: readComponentFile(
"hax/artifacts/capability-manifest/types.ts",
),
},
{
path: "hax/artifacts/capability-manifest/index.ts",
type: "registry:index",
content: readComponentFile(
"hax/artifacts/capability-manifest/index.ts",
),
},
{
path: "hax/artifacts/capability-manifest/description.ts",
type: "registry:description",
content: readComponentFile(
"hax/artifacts/capability-manifest/description.ts",
),
},
],
},
{
name: "workshop-card",
type: "registry:artifacts",
dependencies: [
"react",
"clsx",
"tailwind-merge",
"zod",
"@copilotkit/react-core",
"lucide-react",
"class-variance-authority",
"@radix-ui/react-avatar",
],
registryDependencies: ["button", "badge", "avatar", "generated-ui-wrapper"],
files: [
{
path: "hax/artifacts/workshop-card/workshop-card.tsx",
type: "registry:component",
content: readComponentFile(
"hax/artifacts/workshop-card/workshop-card.tsx",
),
},
{
path: "hax/artifacts/workshop-card/action.ts",
type: "registry:hook",
content: readComponentFile("hax/artifacts/workshop-card/action.ts"),
},
{
path: "hax/artifacts/workshop-card/types.ts",
type: "registry:types",
content: readComponentFile("hax/artifacts/workshop-card/types.ts"),
},
{
path: "hax/artifacts/workshop-card/index.ts",
type: "registry:index",
content: readComponentFile("hax/artifacts/workshop-card/index.ts"),
},
{
path: "hax/artifacts/workshop-card/description.ts",
type: "registry:description",
content: readComponentFile(
"hax/artifacts/workshop-card/description.ts",
),
},
],
},
]
62 changes: 62 additions & 0 deletions cli/src/registry/default/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,66 @@ export const uiComponents: RegistryItem[] = [
},
],
},
{
name: "avatar",
type: "registry:ui",
dependencies: ["@radix-ui/react-avatar", "clsx", "tailwind-merge"],
files: [
{
path: "hax/components/ui/avatar.tsx",
type: "registry:component",
content: readComponentFile("hax/components/ui/avatar.tsx"),
},
],
},
{
name: "popover",
type: "registry:ui",
dependencies: ["@radix-ui/react-popover", "clsx", "tailwind-merge"],
files: [
{
path: "hax/components/ui/popover.tsx",
type: "registry:component",
content: readComponentFile("hax/components/ui/popover.tsx"),
},
],
},
{
name: "findings",
type: "registry:ui",
dependencies: ["clsx", "tailwind-merge", "@radix-ui/react-popover"],
registryDependencies: ["button", "popover"],
files: [
{
path: "hax/components/findings/index.ts",
type: "registry:index",
content: readComponentFile("hax/components/findings/index.ts"),
},
{
path: "hax/components/findings/FindingsPanel.tsx",
type: "registry:component",
content: readComponentFile("hax/components/findings/FindingsPanel.tsx"),
},
{
path: "hax/components/findings/FindingsCard.tsx",
type: "registry:component",
content: readComponentFile("hax/components/findings/FindingsCard.tsx"),
},
{
path: "hax/components/findings/SourceChips.tsx",
type: "registry:component",
content: readComponentFile("hax/components/findings/SourceChips.tsx"),
},
{
path: "hax/components/findings/SourceChip.tsx",
type: "registry:component",
content: readComponentFile("hax/components/findings/SourceChip.tsx"),
},
{
path: "hax/components/findings/AllSourcesPopover.tsx",
type: "registry:component",
content: readComponentFile("hax/components/findings/AllSourcesPopover.tsx"),
},
],
},
]
Loading