Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

Fix: Convert table to Markdown format for proper MDX rendering (#272)

LindsayLiu777d8d4da9c2c95
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 813008714..8f86a4310 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -291,9 +291,21 @@ importers:
react-resizable-panels:
specifier: ^4.11.2
+ rehype-autolink-headings:
+ specifier: ^7.1.0
+ version: 7.1.0
+ rehype-external-links:
+ specifier: ^3.0.0
+ version: 3.0.0
rehype-pretty-code:
specifier: ^0.14.3
version: 0.14.3([email protected])
+ rehype-slug:
+ specifier: ^6.0.0
+ version: 6.0.0
+ remark-gfm:
+ specifier: ^4.0.1
+ version: 4.0.1
shadcn:
specifier: ^4.8.0
version: 4.8.0(@types/[email protected])([email protected])
@@ -342,7 +354,7 @@ importers:
version: 9.39.4([email protected])
eslint-config-next:
specifier: 16.2.6
eslint-plugin-tailwind-canonical-classes:
specifier: ^1.3.3
@@ -5040,6 +5052,9 @@ packages:
resolution: {integrity: sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==}
+ resolution: {integrity: sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==}
+
resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}
engines: {node: '>= 6'}
@@ -5132,6 +5147,12 @@ packages:
resolution: {integrity: sha512-3kxEVkEKt0zvcZ3hCRYI8rqrgwtlIOFMWkbclACvjlDw8Li9S2hk/d51OI0nr/gIpdMHNepwgOKqZ/sy0Clpyg==}
+ resolution: {integrity: sha512-EJKb8oMUXVHcWZTDepnr+WNbfnXKFNf9duMesmr4S8SXTJBJ9M4Yok08pu9vxdJwdlGRhVumk9mEhkEvKGifwA==}
+
+ resolution: {integrity: sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g==}
+
resolution: {integrity: sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==}
@@ -5296,6 +5317,10 @@ packages:
resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==}
engines: {node: '>= 0.10'}
+ resolution: {integrity: sha512-/51/TKE88Lmm7Gc4/8btclNXWS+g50wXhYJq8HWIBAGUBnoAdRu1aXeh364t/O7wXDAcTJDP8PNuNKWUDWie+A==}
+ engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
+
resolution: {integrity: sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==}
@@ -6692,6 +6717,12 @@ packages:
resolution: {integrity: sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-rItO/pSdvnvsP4QRB1pmPiNHUskikqtPojZKJPPPAVx9Hj8i8TwMBhofrrAYRhYOOBZH9tgmG5lPqDLuIWPWmw==}
+
+ resolution: {integrity: sha512-yp+e5N9V3C6bwBeAC4n796kc86M4gJCdlVhiMTxIrJG5UHDMh+PJANf9heqORJbt1nrCbDwIlAZKjANIaVBbvw==}
+
resolution: {integrity: sha512-Qn7vR1xrf6fZCrkm9TDWi/AB4ylrHy+jqsNm1EHOAmbARYA6gsnVJBq/sdBh6kmT4NEZxH5vgIjrscefJAOXcw==}
@@ -6713,6 +6744,9 @@ packages:
resolution: {integrity: sha512-CsnhKNsyI8Tub6L4sm5ZFsme4puGfc6pYylvXo1AeqaGbjOYyzNv3qZPwvs0oMJ39eryyeOdmxwUIo94IpEhqg==}
+ resolution: {integrity: sha512-lWyvf/jwu+oS5+hL5eClVd3hNdmwM1kAC0BUvEGD19pajQMIzcNUd/k9GsfQ+FfECvX+JE+e9/btsKH0EjJT6A==}
+
resolution: {integrity: sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==}
@@ -12239,13 +12273,13 @@ snapshots:
optionalDependencies:
source-map: 0.6.1
dependencies:
'@next/eslint-plugin-next': 16.2.6
eslint: 9.39.4([email protected])
eslint-import-resolver-node: 0.3.10
+ eslint-import-resolver-typescript: 3.10.1([email protected])([email protected]([email protected]))
eslint-plugin-jsx-a11y: 6.10.2([email protected]([email protected]))
eslint-plugin-react: 7.37.5([email protected]([email protected]))
eslint-plugin-react-hooks: 7.1.1([email protected]([email protected]))
@@ -12267,7 +12301,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@nolyfill/is-core-module': 1.0.39
debug: 4.4.3
@@ -12278,21 +12312,22 @@ snapshots:
tinyglobby: 0.2.16
unrs-resolver: 1.11.1
optionalDependencies:
transitivePeerDependencies:
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
+ '@typescript-eslint/parser': 8.59.4([email protected]([email protected]))([email protected])
eslint: 9.39.4([email protected])
eslint-import-resolver-node: 0.3.10
+ eslint-import-resolver-typescript: 3.10.1([email protected])([email protected]([email protected]))
transitivePeerDependencies:
- supports-color
dependencies:
'@rtsao/scc': 1.1.0
array-includes: 3.1.9
@@ -12303,7 +12338,7 @@ snapshots:
doctrine: 2.1.0
eslint: 9.39.4([email protected])
eslint-import-resolver-node: 0.3.10
hasown: 2.0.3
is-core-module: 2.16.2
is-glob: 4.0.3
@@ -12314,6 +12349,8 @@ snapshots:
semver: 6.3.1
string.prototype.trimend: 1.0.9
tsconfig-paths: 3.15.0
+ optionalDependencies:
+ '@typescript-eslint/parser': 8.59.4([email protected]([email protected]))([email protected])
transitivePeerDependencies:
- eslint-import-resolver-typescript
- eslint-import-resolver-webpack
@@ -12927,6 +12964,8 @@ snapshots:
+
dependencies:
is-glob: 4.0.3
@@ -13027,6 +13066,14 @@ snapshots:
vfile-location: 5.0.3
web-namespaces: 2.0.1
+ dependencies:
+ '@types/hast': 3.0.4
+
+ dependencies:
+ '@types/hast': 3.0.4
+
dependencies:
'@types/hast': 3.0.4
@@ -13269,6 +13316,8 @@ snapshots:
+
@@ -15052,6 +15101,24 @@ snapshots:
gopd: 1.2.0
set-function-name: 2.0.2
+ dependencies:
+ '@types/hast': 3.0.4
+ '@ungap/structured-clone': 1.3.0
+ hast-util-heading-rank: 3.0.0
+ hast-util-is-element: 3.0.0
+ unified: 11.0.5
+ unist-util-visit: 5.1.0
+
+ dependencies:
+ '@types/hast': 3.0.4
+ '@ungap/structured-clone': 1.3.0
+ hast-util-is-element: 3.0.0
+ is-absolute-url: 4.0.1
+ space-separated-tokens: 2.0.2
+ unist-util-visit: 5.1.0
+
dependencies:
unist-util-visit: 5.1.0
@@ -15091,6 +15158,14 @@ snapshots:
'@types/hast': 3.0.4
hast-util-sanitize: 5.0.2
+ dependencies:
+ '@types/hast': 3.0.4
+ github-slugger: 2.0.0
+ hast-util-heading-rank: 3.0.0
+ hast-util-to-string: 3.0.1
+ unist-util-visit: 5.1.0
+
dependencies:
'@types/mdast': 4.0.4
diff --git a/src/web/next.config.ts b/src/web/next.config.ts
index ecd7b50a3..dc58c598a 100644
--- a/src/web/next.config.ts
+++ b/src/web/next.config.ts
@@ -15,8 +15,11 @@ const nextConfig: NextConfig = {
const withMDX = createMDX({
options: {
- remarkPlugins: [],
+ remarkPlugins: ["remark-gfm"],
rehypePlugins: [
+ "rehype-slug",
+ ["rehype-autolink-headings", { behavior: "wrap" }],
+ ["rehype-external-links", { target: "_blank", rel: ["noopener", "noreferrer"] }],
["rehype-pretty-code", { theme: { light: "vitesse-light", dark: "vitesse-dark" }, keepBackground: false }],
],
},
diff --git a/src/web/package.json b/src/web/package.json
index d99cc24d6..a2df3a869 100644
--- a/src/web/package.json
+++ b/src/web/package.json
@@ -60,7 +60,11 @@
"react": "19.2.6",
"react-dom": "19.2.6",
"react-resizable-panels": "^4.11.2",
+ "rehype-autolink-headings": "^7.1.0",
+ "rehype-external-links": "^3.0.0",
"rehype-pretty-code": "^0.14.3",
+ "rehype-slug": "^6.0.0",
+ "remark-gfm": "^4.0.1",
"shadcn": "^4.8.0",
"shiki": "^4.1.0",
"sonner": "^2.0.7",
diff --git a/src/web/src/app/blog/[slug]/page.tsx b/src/web/src/app/blog/[slug]/page.tsx
index cdd40b0be..e4c799a13 100644
--- a/src/web/src/app/blog/[slug]/page.tsx
+++ b/src/web/src/app/blog/[slug]/page.tsx
@@ -116,7 +116,7 @@ export default async function BlogPostPage({
</div>
</header>
- <div className="blog-content blog-content-editorial font-sans text-lg leading-[1.7] text-foreground max-w-[65ch] [&_h2]:font-sans [&_h2]:text-[1.625rem] [&_h2]:font-semibold [&_h2]:tracking-tight [&_h2]:mt-16 [&_h2]:mb-6 [&_p]:mb-8 [&_blockquote]:border-l-[3px] [&_blockquote]:border-foreground/20 [&_blockquote]:pl-6 [&_blockquote]:italic [&_blockquote]:text-foreground/70 [&_blockquote]:my-10 [&_blockquote]:text-xl [&_blockquote]:leading-relaxed [&_code]:font-mono [&_code]:bg-muted [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:rounded [&_code]:text-[0.875em] [&_pre]:bg-muted [&_pre]:rounded-lg [&_pre]:px-5 [&_pre]:py-4 [&_pre]:my-10 [&_pre]:overflow-x-auto [&_pre]:text-[0.875rem] [&_pre]:leading-relaxed [&_pre]:max-w-none [&_pre_code]:bg-transparent [&_pre_code]:p-0 [&_img]:rounded-lg [&_img]:my-12 [&_img]:w-full [&_img]:max-w-none [&_ul]:list-disc [&_ul]:pl-6 [&_ul]:mb-8 [&_ul]:-mt-1 [&_li]:mb-3 [&_li]:leading-[1.7] [&_strong]:font-semibold [&_em]:italic [&_a]:underline [&_a]:underline-offset-3 [&_a]:decoration-foreground/30 [&_a]:hover:decoration-foreground/60 [&_a]:transition-colors">
+ <div className="blog-content blog-content-editorial font-sans text-lg leading-[1.7] text-foreground max-w-[65ch] [&_h2]:font-sans [&_h2]:text-[1.625rem] [&_h2]:font-semibold [&_h2]:tracking-tight [&_h2]:mt-16 [&_h2]:mb-6 [&_p]:mb-8 [&_blockquote]:border-l-[3px] [&_blockquote]:border-foreground/20 [&_blockquote]:pl-6 [&_blockquote]:italic [&_blockquote]:text-foreground/70 [&_blockquote]:my-10 [&_blockquote]:text-xl [&_blockquote]:leading-relaxed [&_code]:font-mono [&_code]:bg-muted [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:rounded [&_code]:text-[0.875em] [&_pre]:bg-muted [&_pre]:rounded-lg [&_pre]:px-5 [&_pre]:py-4 [&_pre]:my-10 [&_pre]:overflow-x-auto [&_pre]:text-[0.875rem] [&_pre]:leading-relaxed [&_pre]:max-w-none [&_pre_code]:bg-transparent [&_pre_code]:p-0 [&_img]:rounded-lg [&_img]:my-12 [&_img]:w-full [&_img]:max-w-none [&_ul]:list-disc [&_ul]:pl-6 [&_ul]:mb-8 [&_ul]:-mt-1 [&_li]:mb-3 [&_li]:leading-[1.7] [&_strong]:font-semibold [&_em]:italic [&_a]:underline [&_a]:underline-offset-3 [&_a]:decoration-foreground/30 [&_a]:hover:decoration-foreground/60 [&_a]:transition-colors [&_table]:w-full [&_table]:my-10 [&_table]:border-collapse [&_table]:text-[0.9rem] [&_th]:text-left [&_th]:font-semibold [&_th]:py-3 [&_th]:px-4 [&_th]:border-b-2 [&_th]:border-border [&_td]:py-3 [&_td]:px-4 [&_td]:border-b [&_td]:border-border [&_tr:hover]:bg-muted/50">
<PostContent />
</div>
diff --git a/src/web/src/content/claude-code-dynamic-workflow-alternative.mdx b/src/web/src/content/claude-code-dynamic-workflow-alternative.mdx
index a52ac40ed..63c867eaa 100644
--- a/src/web/src/content/claude-code-dynamic-workflow-alternative.mdx
+++ b/src/web/src/content/claude-code-dynamic-workflow-alternative.mdx
@@ -69,59 +69,16 @@ May numbers: 3 articles live, 173 impressions, 41 clicks, 23.70% CTR. Not massiv
## When Each One Wins
-<div className="overflow-x-auto my-8">
- <table className="min-w-full border-collapse">
- <thead>
- <tr className="border-b-2 border-gray-300">
- <th className="text-left py-3 px-4 font-semibold text-gray-700">Feature</th>
- <th className="text-left py-3 px-4 font-semibold text-gray-700">Claude Code Dynamic Workflow</th>
- <th className="text-left py-3 px-4 font-semibold text-gray-700">Email Coordination (Alook)</th>
- </tr>
- </thead>
- <tbody>
- <tr className="border-b border-gray-200 hover:bg-gray-50">
- <td className="py-3 px-4 font-medium">Sweet spot</td>
- <td className="py-3 px-4">500 files, right now</td>
- <td className="py-3 px-4">3-month project</td>
- </tr>
- <tr className="border-b border-gray-200 hover:bg-gray-50">
- <td className="py-3 px-4 font-medium">How long</td>
- <td className="py-3 px-4">Hours in one session</td>
- <td className="py-3 px-4">Weeks to months</td>
- </tr>
- <tr className="border-b border-gray-200 hover:bg-gray-50">
- <td className="py-3 px-4 font-medium">Who uses it</td>
- <td className="py-3 px-4">You, alone</td>
- <td className="py-3 px-4">Team with handoffs</td>
- </tr>
- <tr className="border-b border-gray-200 hover:bg-gray-50">
- <td className="py-3 px-4 font-medium">Memory</td>
- <td className="py-3 px-4">Gone when done</td>
- <td className="py-3 px-4">Permanent timeline</td>
- </tr>
- <tr className="border-b border-gray-200 hover:bg-gray-50">
- <td className="py-3 px-4 font-medium">Agent communication</td>
- <td className="py-3 px-4">JavaScript</td>
- <td className="py-3 px-4">Email</td>
- </tr>
- <tr className="border-b border-gray-200 hover:bg-gray-50">
- <td className="py-3 px-4 font-medium">Can pause?</td>
- <td className="py-3 px-4">No, runs to completion</td>
- <td className="py-3 px-4">Yes, async everything</td>
- </tr>
- <tr className="border-b border-gray-200 hover:bg-gray-50">
- <td className="py-3 px-4 font-medium">Where it runs</td>
- <td className="py-3 px-4">Anthropic only</td>
- <td className="py-3 px-4">Your servers</td>
- </tr>
- <tr className="border-b border-gray-200 hover:bg-gray-50">
- <td className="py-3 px-4 font-medium">Frameworks</td>
- <td className="py-3 px-4">Claude Code</td>
- <td className="py-3 px-4">Codex, OpenCode, Claude Code, more coming</td>
- </tr>
- </tbody>
- </table>
-</div>
+| Feature | Claude Code Dynamic Workflow | Email Coordination (Alook) |
+|---------|------------------------------|----------------------------|
+| **Sweet spot** | 500 files, right now | 3-month project |
+| **How long** | Hours in one session | Weeks to months |
+| **Who uses it** | You, alone | Team with handoffs |
+| **Memory** | Gone when done | Permanent timeline |
+| **Agent communication** | JavaScript | Email |
+| **Can pause?** | No, runs to completion | Yes, async everything |
+| **Where it runs** | Anthropic only | Your servers |
+| **Frameworks** | Claude Code | Codex, OpenCode, Claude Code, more coming |
## Audit 500 Files or Run a Program?