The open-source app everyone uses to manage agents at work
TypeScript acpxagent-orchestrationagent-skillsagentic-aiai-agentsai-engineeringai-governanceai-toolsautonomous-agentsclaudeclaude-codeclaude-skillscodexhermesllmmcpmulti-agentopenclawproject-managementworkflow-automation
import type { Meta, StoryObj } from "@storybook/react-vite";
import { ImageCard } from "@/components/artifacts/RichArtifactCards";
import {
decorators,
parameters,
identityControls,
textData,
numberData,
} from "../../../support/artifact-cards/storyConfig";
import posterUrl from "../../../fixtures/artifact-media/paper-trail.png?url";
const meta = {
id: "explorations-artifact-cards-image",
title: "Tasks and conversations/Documents, attachments, and work products/Explorations/Artifact cards/Image",
component: ImageCard,
decorators,
parameters: { ...parameters, paperclip: {
"capabilities": [
"documents-artifacts/work-products"
],
"implementation": "production",
"boundary": "fixtures"
} },
argTypes: {
...identityControls,
filename: textData("Original image filename."),
imageUrl: textData(
"The image source URL. The preview is an actual image, not a hardcoded Settings component.",
),
alt: textData("Description of the image for assistive technology."),
width: numberData("Image width from file metadata."),
height: numberData("Image height from file metadata."),
},
} satisfies Meta<typeof ImageCard>;
export default meta;
type Story = StoryObj<typeof meta>;
// Every artifact-specific example value is editable through Storybook Controls.
export const Image: Story = {
name: "Image",
args: {
title: "Paper Trail concept",
summary: "",
author: "Codie",
updatedAt: "Sep 26, 2026",
filename: "paper-trail.png",
imageUrl: posterUrl,
alt: "Paper Trail visual concept",
width: 400,
height: 400,
},
};