[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-75798":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},75798,"Agent-HTML","Sayhi-bzb\u002FAgent-HTML","Sayhi-bzb","You don't need a chat ui but a canvas with ai.","https:\u002F\u002Fagent-html.pages.dev\u002F",null,"TypeScript",619,21,5,6,0,31,62,491,93,98.03,"MIT License",false,"main",true,[],"2026-06-12 04:01:18","\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fghost.svg\" alt=\"agent-html logo\" width=\"72\" \u002F>\n\u003C\u002Fp>\n\n# agent-html\n\nagent-html turns semantic `.agent.html` documents into stable, shareable HTML artifacts for dense agent work.\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@agent-html\u002Fahtml\">\n    \u003Cimg alt=\"npm version\" src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F%40agent-html%2Fahtml?label=npm&color=111827\" \u002F>\n  \u003C\u002Fa>\n  \u003Ca href=\".\u002FLICENSE\">\n    \u003Cimg alt=\"license: MIT\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-0f766e\" \u002F>\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fagent-html.pages.dev\u002Fdocs\">\n    \u003Cimg alt=\"docs\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-agent--html.pages.dev-2563eb\" \u002F>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fomg.png\" alt=\"agent-html hero\" width=\"860\" \u002F>\n\u003C\u002Fp>\n\nDocs: [agent-html.pages.dev\u002Fdocs](https:\u002F\u002Fagent-html.pages.dev\u002Fdocs)\n\nDesktop workbench source: `apps\u002Fagent-html-app`\n\n## Quick Start\n\n### 1. Install the CLI\n\n```bash\nnpm install -g @agent-html\u002Fahtml\nahtml\n```\n\n### 2. Optional: install the ahtml skill\n\nIf you use the `skills` CLI with Codex or other agents, install the `ahtml` skill:\n\n```bash\nnpx skills add Sayhi-bzb\u002FAgent-HTML --skill ahtml\n```\n\n### 3. Get the writing prompt and write a document\n\n```bash\nahtml prompt\n```\n\n```html\n\u003Cmeta-agent style-ref=\"report-default\" \u002F>\n\n\u003Cpage title=\"Review\">\n  \u003Ccard title=\"Summary\">\n    This review is a stable HTML artifact instead of a long Markdown note.\n  \u003C\u002Fcard>\n\u003C\u002Fpage>\n```\n\n### 4. Render HTML\n\n```bash\nahtml build artifact.agent.html\nahtml preview artifact.agent.html\nahtml gallery\n```\n\nOpen the preview URL printed by `ahtml preview` to review the output.\nUse `ahtml gallery` when you want to open the style editor and showcase canvas, manage local style ids, and pick the current default style for later preview\u002Fbuild.\n\n## How It Works\n\n```txt\nagent work\n  -> semantic .agent.html\n  -> public agent contract\n  -> runtime contract\n  -> portable HTML artifact\n```\n\nThe schema is the public contract. Agents write content structure, not raw HTML, CSS, JavaScript, Tailwind classes, or renderer props.\nPublic visual choice is limited to approved document style config choices, selected through `style-ref` values such as `report-default` or `ops-compact`, not free-form `theme`, `density`, `tone`, or `width` inputs.\n\nPublished npm package: `@agent-html\u002Fahtml`\n\nShared schema, sanitization, and contract code still live in `packages\u002Fcore` inside this repository, and the published CLI carries the internal runtime pieces it needs.\n\n## More\n\n```roadmap\n╭────── Roadmap\n│\n●       ·Architecture optimization\n├──╮\n●  │    ·Support more UI foundations\n│  │\n│  ●    ·app\n│  │\n●  │    ·Separation of static and interactive component data structures\n│  │\n│  ●    ·request-response -> interact-interact\n│  │\n│  ●    ·Custom component panel\n╭──╯\n●       ·Cloud service\n│\n╰──────────────\n```\n\nthanks:\n\n- [Linux DO](linux.do)\n\n## Ref\n\n- [Quick Start](https:\u002F\u002Fagent-html.pages.dev\u002Fdocs)\n- [Best Practice](https:\u002F\u002Fagent-html.pages.dev\u002Fdocs\u002Fbest-practice)\n- [Dev Docs](https:\u002F\u002Fagent-html.pages.dev\u002Fdocs\u002Fdev-docs)\n- [Examples](https:\u002F\u002Fagent-html.pages.dev\u002Fdocs\u002Fexample)\n","agent-html 是一个将语义化的 `.agent.html` 文档转换为稳定、可共享的HTML制品的工具，旨在改善人与AI代理之间的协作。它通过TypeScript构建，支持从语义化文档到最终渲染输出的整个流程，包括定义样式参考、编写内容结构以及生成和预览HTML文件等功能，同时限制了公共视觉选择以确保一致性。该项目特别适合需要频繁与AI代理合作处理文档、报告或任何基于文本的内容创建场景中使用，能够显著提高工作效率和产出质量。",2,"2026-06-11 03:53:21","CREATED_QUERY"]