Copy this entire file and paste it to Claude Code (or any AI coding agent) to install these functions.
Install the Claude Code loop functions from this gist: https://gist.github.com/johnlindquist/cec1a33079189767d2f14203ed1306ca
| # Claude Memory Plugin | |
| A Bun/TypeScript implementation of 5 powerful but rarely-used Claude Code capabilities. | |
| ## Features Built | |
| ### 1. Fork Tournament (`src/fork-tournament/`) | |
| Parallel exploration with auto-dossiers and winner selection. | |
| **Files:** |
| funced () { | |
| [[ -z "$1" ]] && { | |
| echo "Usage: funced <function_name>" | |
| return 1 | |
| } | |
| local func="$1" | |
| [[ $(whence -w "$func" 2>/dev/null) != *function* ]] && { | |
| echo "'$func' is not a function" | |
| return 1 | |
| } |
This diagram illustrates the complete flow of the Vercel-Native Agent Hub system, which orchestrates 15 specialized agents to build Vercel-native applications using a TDD workflow with quality gates.
dangerously-skip-permissions)When using the Vercel AI SDK with Workflow DevKit, AI Gateway authentication fails with GatewayAuthenticationError even when VERCEL_OIDC_TOKEN is present in the environment. The root cause is that the @vercel/oidc package requires Node.js fs module for token validation/refresh, which is not available in the workflow sandbox.
When using the Vercel AI SDK with Workflow DevKit and vercel dev, OIDC authentication fails with:
GatewayAuthenticationError: Unauthenticated request to AI Gateway.
To authenticate, set the AI_GATEWAY_API_KEY environment variable with your API key.
Workflow v4.0.1-beta.49: Custom class serialization.
Pass an Order to start() - arrives as a real Order. Return an Order from a step - workflow receives it with all methods.
Your business logic stays in classes, not scattered across plain objects.
Before Workflow v4.0.1-beta.49, building durable functions meant making a painful choice: either flatten your domain objects to plain JSON, or manually reconstruct them in every step.
class Order {