[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-openai-base44-sdk":3,"mdc-ozl9j2-key":33,"related-repo-openai-base44-sdk":4344,"related-org-openai-base44-sdk":4463},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":22,"repoUrl":23,"updatedAt":24,"license":25,"forks":26,"topics":27,"repo":28,"sourceUrl":31,"mdContent":32},"base44-sdk","build applications with base44 SDK","The base44 SDK is the library to communicate with base44 services. In projects, you use it to communicate with remote resources (entities, backend functions, ai agents) and to write backend functions. This skill is the place for learning about available modules and types. When you plan or implement a feature, you must learn this skill",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"openai","OpenAI","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fopenai.png",[12,16,19],{"name":13,"slug":14,"type":15},"Backend","backend","tag",{"name":17,"slug":18,"type":15},"API Development","api-development",{"name":20,"slug":21,"type":15},"SDK","sdk",3992,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins","2026-06-30T19:00:57.102",null,465,[],{"repoUrl":23,"stars":22,"forks":26,"topics":29,"description":30},[],"OpenAI Plugins","https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins\u002Ftree\u002FHEAD\u002Fplugins\u002Fbase44\u002Fskills\u002Fbase44-sdk","---\nname: base44-sdk\ndescription: \"The base44 SDK is the library to communicate with base44 services. In projects, you use it to communicate with remote resources (entities, backend functions, ai agents) and to write backend functions. This skill is the place for learning about available modules and types. When you plan or implement a feature, you must learn this skill\"\n---\n\n# Base44 Coder\n\nBuild apps on the Base44 platform using the Base44 JavaScript SDK.\n\n## ⚡ IMMEDIATE ACTION REQUIRED - Read This First\n\nThis skill activates on ANY mention of \"base44\" or when a `base44\u002F` folder exists. **DO NOT read documentation files or search the web before acting.**\n\n**Your first action MUST be:**\n1. Check if `base44\u002Fconfig.jsonc` exists in the current directory\n2. If **YES** (existing project scenario):\n   - This skill (base44-sdk) handles the request\n   - Implement features using Base44 SDK\n   - Do NOT use base44-cli unless user explicitly requests CLI commands\n3. If **NO** (new project scenario):\n   - Transfer to base44-cli skill for project initialization\n   - This skill cannot help until project is initialized\n\n## When to Use This Skill vs base44-cli\n\n**Use base44-sdk when:**\n- Building features in an **EXISTING** Base44 project\n- `base44\u002Fconfig.jsonc` already exists in the project\n- Base44 SDK imports are present (`@base44\u002Fsdk`)\n- Writing JavaScript\u002FTypeScript code using Base44 SDK modules\n- Implementing functionality, components, or features\n- User mentions: \"implement\", \"build a feature\", \"add functionality\", \"write code for\"\n- User says \"create a [type] app\" **and** a Base44 project already exists\n\n**DO NOT USE base44-sdk for:**\n- ❌ Initializing new Base44 projects (use `base44-cli` instead)\n- ❌ Empty directories without Base44 configuration\n- ❌ When user says \"create a new Base44 project\u002Fapp\u002Fsite\" and no project exists\n- ❌ CLI commands like `npx base44 create`, `npx base44 deploy`, `npx base44 login` (use `base44-cli`)\n\n**Skill Dependencies:**\n- `base44-sdk` assumes a Base44 project is **already initialized**\n- `base44-cli` is a **prerequisite** for `base44-sdk` in new projects\n- If user wants to \"create an app\" and no Base44 project exists, use `base44-cli` first\n\n**State Check Logic:**\nBefore selecting this skill, verify:\n- IF (user mentions \"create\u002Fbuild app\" OR \"make a project\"):\n  - IF (directory is empty OR no `base44\u002Fconfig.jsonc` exists):\n    → Use **base44-cli** (project initialization needed)\n  - ELSE:\n    → Use **base44-sdk** (project exists, build features)\n\n## Quick Start\n\n```javascript\n\u002F\u002F In Base44-generated apps, base44 client is pre-configured and available\n\n\u002F\u002F CRUD operations\nconst task = await base44.entities.Task.create({ title: \"New task\", status: \"pending\" });\nconst tasks = await base44.entities.Task.list();\nawait base44.entities.Task.update(task.id, { status: \"done\" });\n\n\u002F\u002F Get current user\nconst user = await base44.auth.me();\n```\n\n```javascript\n\u002F\u002F External apps\nimport { createClient } from \"@base44\u002Fsdk\";\n\n\u002F\u002F IMPORTANT: Use 'appId' (NOT 'clientId' or 'id')\nconst base44 = createClient({ appId: \"your-app-id\" });\nawait base44.auth.loginViaEmailPassword(\"user@example.com\", \"password\");\n```\n\n## ⚠️ CRITICAL: Do Not Hallucinate APIs\n\n**Before writing ANY Base44 code, verify method names against this table or [QUICK_REFERENCE.md](references\u002FQUICK_REFERENCE.md).**\n\nBase44 SDK has unique method names. Do NOT assume patterns from Firebase, Supabase, or other SDKs.\n\n### Authentication - WRONG vs CORRECT\n\n| ❌ WRONG (hallucinated) | ✅ CORRECT |\n|------------------------|-----------|\n| `signInWithGoogle()` | `loginWithProvider('google')` |\n| `signInWithProvider('google')` | `loginWithProvider('google')` |\n| `auth.google()` | `loginWithProvider('google')` |\n| `signInWithEmailAndPassword(email, pw)` | `loginViaEmailPassword(email, pw)` |\n| `signIn(email, pw)` | `loginViaEmailPassword(email, pw)` |\n| `createUser()` \u002F `signUp()` | `register({email, password})` |\n| `onAuthStateChanged()` | `me()` (no listener, call when needed) |\n| `currentUser` | `await auth.me()` |\n\n### Functions - WRONG vs CORRECT\n\n| ❌ WRONG (hallucinated) | ✅ CORRECT |\n|------------------------|-----------|\n| `functions.call('name', data)` | `functions.invoke('name', data)` |\n| `functions.run('name', data)` | `functions.invoke('name', data)` |\n| `callFunction('name', data)` | `functions.invoke('name', data)` |\n| `httpsCallable('name')(data)` | `functions.invoke('name', data)` |\n\n### Integrations - WRONG vs CORRECT\n\n| ❌ WRONG (hallucinated) | ✅ CORRECT |\n|------------------------|-----------|\n| `ai.generate(prompt)` | `integrations.Core.InvokeLLM({prompt})` |\n| `openai.chat(prompt)` | `integrations.Core.InvokeLLM({prompt})` |\n| `llm(prompt)` | `integrations.Core.InvokeLLM({prompt})` |\n| `sendEmail(to, subject, body)` | `integrations.Core.SendEmail({to, subject, body})` |\n| `email.send()` | `integrations.Core.SendEmail({to, subject, body})` |\n| `uploadFile(file)` | `integrations.Core.UploadFile({file})` |\n| `storage.upload(file)` | `integrations.Core.UploadFile({file})` |\n\n### Entities - WRONG vs CORRECT\n\n| ❌ WRONG (hallucinated) | ✅ CORRECT |\n|------------------------|-----------|\n| `entities.Task.find({...})` | `entities.Task.filter({...})` |\n| `entities.Task.findOne(id)` | `entities.Task.get(id)` |\n| `entities.Task.insert(data)` | `entities.Task.create(data)` |\n| `entities.Task.remove(id)` | `entities.Task.delete(id)` |\n| `entities.Task.onChange(cb)` | `entities.Task.subscribe(cb)` |\n\n## SDK Modules\n\n| Module | Purpose | Reference |\n|--------|---------|-----------|\n| `entities` | CRUD operations on data models | [entities.md](references\u002Fentities.md) |\n| `auth` | Login, register, user management | [auth.md](references\u002Fauth.md) |\n| `agents` | AI conversations and messages | [base44-agents.md](references\u002Fbase44-agents.md) |\n| `functions` | Backend function invocation | [functions.md](references\u002Ffunctions.md) |\n| `integrations` | AI, email, file uploads, custom APIs | [integrations.md](references\u002Fintegrations.md) |\n| `analytics` | Track custom events and user activity | [analytics.md](references\u002Fanalytics.md) |\n| `appLogs` | Log user activity in app | [app-logs.md](references\u002Fapp-logs.md) |\n| `users` | Invite users to the app | [users.md](references\u002Fusers.md) |\n| `asServiceRole.connectors` | App-scoped OAuth tokens (service role only) | [connectors.md](references\u002Fconnectors.md) |\n| `asServiceRole.sso` | SSO token generation (service role only) | [sso.md](references\u002Fsso.md) |\n\nFor client setup and authentication modes, see [client.md](references\u002Fclient.md).\n\n### TypeScript and type registries\n\nEach reference file includes a \"Type Definitions\" section with TypeScript interfaces and types for the module's methods, parameters, and return values.\n\n**Getting typed entities, functions, and agents:** The Base44 CLI generates types from your project resources (entities, functions, agents), including augmentations to `EntityTypeRegistry`, `FunctionNameRegistry`, and `AgentNameRegistry`, and wires them into your project so you get autocomplete and type checking without manual setup. For how to generate types, use the **base44-cli** skill.\n\n**Manual augmentation:** You can instead augment the registries yourself in a `.d.ts` file; see the Type Definitions sections in [entities.md](references\u002Fentities.md), [functions.md](references\u002Ffunctions.md), and [base44-agents.md](references\u002Fbase44-agents.md).\n\n## Installation\n\nInstall the Base44 SDK:\n\n```bash\nnpm install @base44\u002Fsdk\n```\n\n**Important:** Never assume or hardcode the `@base44\u002Fsdk` package version. Always install without a version specifier to get the latest version.\n\n## Creating a Client (External Apps)\n\nWhen creating a client in external apps, **ALWAYS use `appId` as the parameter name**:\n\n```javascript\nimport { createClient } from \"@base44\u002Fsdk\";\n\n\u002F\u002F ✅ CORRECT\nconst base44 = createClient({ appId: \"your-app-id\" });\n\n\u002F\u002F ❌ WRONG - Do NOT use these:\n\u002F\u002F const base44 = createClient({ clientId: \"your-app-id\" });  \u002F\u002F WRONG\n\u002F\u002F const base44 = createClient({ id: \"your-app-id\" });        \u002F\u002F WRONG\n```\n\n**Required parameter:** `appId` (string) - Your Base44 application ID\n\n**Optional parameters:**\n- `token` (string) - Pre-authenticated user token\n- `options` (object) - Configuration options\n  - `options.onError` (function) - Global error handler\n\n**Example with error handler:**\n```javascript\nconst base44 = createClient({\n  appId: \"your-app-id\",\n  options: {\n    onError: (error) => {\n      console.error(\"Base44 error:\", error);\n    }\n  }\n});\n```\n\n## Module Selection\n\n**Working with app data?**\n- Create\u002Fread\u002Fupdate\u002Fdelete records → `entities`\n- Import data from file → `entities.importEntities()`\n- Realtime updates → `entities.EntityName.subscribe()`\n\n**User management?**\n- Login\u002Fregister\u002Flogout → `auth`\n- Get current user → `auth.me()`\n- Update user profile → `auth.updateMe()`\n- Invite users → `users.inviteUser()`\n\n**AI features?**\n- Chat with AI agents → `agents` (requires logged-in user)\n- Create new conversation → `agents.createConversation()`\n- Manage conversations → `agents.getConversations()`\n- Generate text\u002FJSON with AI → `integrations.Core.InvokeLLM()`\n- Generate images → `integrations.Core.GenerateImage()`\n\n**Custom backend logic?**\n- Run server-side code → `functions.invoke()`\n- Need admin access → `base44.asServiceRole.functions.invoke()`\n\n**External services?**\n- Send emails → `integrations.Core.SendEmail()`\n- Upload files → `integrations.Core.UploadFile()`\n- Custom APIs → `integrations.custom.call()`\n- App-scoped OAuth (app builder's account) → `asServiceRole.connectors.getConnection()` (backend only)\n\n**Tracking and analytics?**\n- Track custom events → `analytics.track()`\n- Log page views\u002Factivity → `appLogs.logUserInApp()`\n\n## Common Patterns\n\n### Filter and Sort Data\n\n```javascript\nconst pendingTasks = await base44.entities.Task.filter(\n  { status: \"pending\", assignedTo: userId },  \u002F\u002F query\n  \"-created_date\",                             \u002F\u002F sort (descending)\n  10,                                          \u002F\u002F limit\n  0                                            \u002F\u002F skip\n);\n```\n\n### Protected Routes (check auth)\n\n```javascript\nconst user = await base44.auth.me();\nif (!user) {\n  \u002F\u002F Navigate to your custom login page\n  navigate('\u002Flogin', { state: { returnTo: window.location.pathname } });\n  return;\n}\n```\n\n### Backend Function Call\n\n```javascript\n\u002F\u002F Frontend\nconst result = await base44.functions.invoke(\"processOrder\", {\n  orderId: \"123\",\n  action: \"ship\"\n});\n\n\u002F\u002F Backend function (Deno)\nimport { createClientFromRequest } from \"npm:@base44\u002Fsdk\";\n\nDeno.serve(async (req) => {\n  const base44 = createClientFromRequest(req);\n  const { orderId, action } = await req.json();\n  \u002F\u002F Process with service role for admin access\n  const order = await base44.asServiceRole.entities.Orders.get(orderId);\n  return Response.json({ success: true });\n});\n```\n\n### Service Role Access\n\nUse `asServiceRole` in backend functions for admin-level operations:\n\n```javascript\n\u002F\u002F User mode - respects permissions\nconst myTasks = await base44.entities.Task.list();\n\n\u002F\u002F Service role - full access (backend only)\nconst allTasks = await base44.asServiceRole.entities.Task.list();\nconst token = await base44.asServiceRole.connectors.getAccessToken(\"slack\");\n```\n\n## Frontend vs Backend\n\n| Capability | Frontend | Backend |\n|------------|----------|---------|\n| `entities` (user's data) | Yes | Yes |\n| `auth` | Yes | Yes |\n| `agents` | Yes | Yes |\n| `functions.invoke()` | Yes | Yes |\n| `functions.fetch()` | Yes | Yes |\n| `integrations` | Yes | Yes |\n| `analytics` | Yes | Yes |\n| `appLogs` | Yes | Yes |\n| `users` | Yes | Yes |\n| `asServiceRole.*` | No | Yes |\n| `asServiceRole.connectors` (app OAuth) | No | Yes |\n| `asServiceRole.sso` | No | Yes |\n\nBackend functions use `Deno.serve()` and `createClientFromRequest(req)` to get a properly authenticated client.\n",{"data":34,"body":35},{"name":4,"description":6},{"type":36,"children":37},"root",[38,47,53,60,80,88,161,167,175,248,256,316,324,378,388,428,434,836,1040,1046,1062,1067,1074,1277,1283,1384,1390,1553,1559,1684,1690,1975,1987,1993,1998,2037,2070,2076,2081,2109,2126,2132,2151,2312,2329,2337,2376,2384,2583,2589,2597,2632,2640,2686,2694,2753,2761,2786,2794,2843,2851,2876,2882,2888,3073,3079,3282,3288,3806,3812,3824,4049,4055,4317,4338],{"type":39,"tag":40,"props":41,"children":43},"element","h1",{"id":42},"base44-coder",[44],{"type":45,"value":46},"text","Base44 Coder",{"type":39,"tag":48,"props":49,"children":50},"p",{},[51],{"type":45,"value":52},"Build apps on the Base44 platform using the Base44 JavaScript SDK.",{"type":39,"tag":54,"props":55,"children":57},"h2",{"id":56},"immediate-action-required-read-this-first",[58],{"type":45,"value":59},"⚡ IMMEDIATE ACTION REQUIRED - Read This First",{"type":39,"tag":48,"props":61,"children":62},{},[63,65,72,74],{"type":45,"value":64},"This skill activates on ANY mention of \"base44\" or when a ",{"type":39,"tag":66,"props":67,"children":69},"code",{"className":68},[],[70],{"type":45,"value":71},"base44\u002F",{"type":45,"value":73}," folder exists. ",{"type":39,"tag":75,"props":76,"children":77},"strong",{},[78],{"type":45,"value":79},"DO NOT read documentation files or search the web before acting.",{"type":39,"tag":48,"props":81,"children":82},{},[83],{"type":39,"tag":75,"props":84,"children":85},{},[86],{"type":45,"value":87},"Your first action MUST be:",{"type":39,"tag":89,"props":90,"children":91},"ol",{},[92,106,137],{"type":39,"tag":93,"props":94,"children":95},"li",{},[96,98,104],{"type":45,"value":97},"Check if ",{"type":39,"tag":66,"props":99,"children":101},{"className":100},[],[102],{"type":45,"value":103},"base44\u002Fconfig.jsonc",{"type":45,"value":105}," exists in the current directory",{"type":39,"tag":93,"props":107,"children":108},{},[109,111,116,118],{"type":45,"value":110},"If ",{"type":39,"tag":75,"props":112,"children":113},{},[114],{"type":45,"value":115},"YES",{"type":45,"value":117}," (existing project scenario):\n",{"type":39,"tag":119,"props":120,"children":121},"ul",{},[122,127,132],{"type":39,"tag":93,"props":123,"children":124},{},[125],{"type":45,"value":126},"This skill (base44-sdk) handles the request",{"type":39,"tag":93,"props":128,"children":129},{},[130],{"type":45,"value":131},"Implement features using Base44 SDK",{"type":39,"tag":93,"props":133,"children":134},{},[135],{"type":45,"value":136},"Do NOT use base44-cli unless user explicitly requests CLI commands",{"type":39,"tag":93,"props":138,"children":139},{},[140,141,146,148],{"type":45,"value":110},{"type":39,"tag":75,"props":142,"children":143},{},[144],{"type":45,"value":145},"NO",{"type":45,"value":147}," (new project scenario):\n",{"type":39,"tag":119,"props":149,"children":150},{},[151,156],{"type":39,"tag":93,"props":152,"children":153},{},[154],{"type":45,"value":155},"Transfer to base44-cli skill for project initialization",{"type":39,"tag":93,"props":157,"children":158},{},[159],{"type":45,"value":160},"This skill cannot help until project is initialized",{"type":39,"tag":54,"props":162,"children":164},{"id":163},"when-to-use-this-skill-vs-base44-cli",[165],{"type":45,"value":166},"When to Use This Skill vs base44-cli",{"type":39,"tag":48,"props":168,"children":169},{},[170],{"type":39,"tag":75,"props":171,"children":172},{},[173],{"type":45,"value":174},"Use base44-sdk when:",{"type":39,"tag":119,"props":176,"children":177},{},[178,190,200,213,218,223,228],{"type":39,"tag":93,"props":179,"children":180},{},[181,183,188],{"type":45,"value":182},"Building features in an ",{"type":39,"tag":75,"props":184,"children":185},{},[186],{"type":45,"value":187},"EXISTING",{"type":45,"value":189}," Base44 project",{"type":39,"tag":93,"props":191,"children":192},{},[193,198],{"type":39,"tag":66,"props":194,"children":196},{"className":195},[],[197],{"type":45,"value":103},{"type":45,"value":199}," already exists in the project",{"type":39,"tag":93,"props":201,"children":202},{},[203,205,211],{"type":45,"value":204},"Base44 SDK imports are present (",{"type":39,"tag":66,"props":206,"children":208},{"className":207},[],[209],{"type":45,"value":210},"@base44\u002Fsdk",{"type":45,"value":212},")",{"type":39,"tag":93,"props":214,"children":215},{},[216],{"type":45,"value":217},"Writing JavaScript\u002FTypeScript code using Base44 SDK modules",{"type":39,"tag":93,"props":219,"children":220},{},[221],{"type":45,"value":222},"Implementing functionality, components, or features",{"type":39,"tag":93,"props":224,"children":225},{},[226],{"type":45,"value":227},"User mentions: \"implement\", \"build a feature\", \"add functionality\", \"write code for\"",{"type":39,"tag":93,"props":229,"children":230},{},[231,233,239,241,246],{"type":45,"value":232},"User says \"create a ",{"type":39,"tag":234,"props":235,"children":236},"span",{},[237],{"type":45,"value":238},"type",{"type":45,"value":240}," app\" ",{"type":39,"tag":75,"props":242,"children":243},{},[244],{"type":45,"value":245},"and",{"type":45,"value":247}," a Base44 project already exists",{"type":39,"tag":48,"props":249,"children":250},{},[251],{"type":39,"tag":75,"props":252,"children":253},{},[254],{"type":45,"value":255},"DO NOT USE base44-sdk for:",{"type":39,"tag":119,"props":257,"children":258},{},[259,272,277,282],{"type":39,"tag":93,"props":260,"children":261},{},[262,264,270],{"type":45,"value":263},"❌ Initializing new Base44 projects (use ",{"type":39,"tag":66,"props":265,"children":267},{"className":266},[],[268],{"type":45,"value":269},"base44-cli",{"type":45,"value":271}," instead)",{"type":39,"tag":93,"props":273,"children":274},{},[275],{"type":45,"value":276},"❌ Empty directories without Base44 configuration",{"type":39,"tag":93,"props":278,"children":279},{},[280],{"type":45,"value":281},"❌ When user says \"create a new Base44 project\u002Fapp\u002Fsite\" and no project exists",{"type":39,"tag":93,"props":283,"children":284},{},[285,287,293,295,301,302,308,310,315],{"type":45,"value":286},"❌ CLI commands like ",{"type":39,"tag":66,"props":288,"children":290},{"className":289},[],[291],{"type":45,"value":292},"npx base44 create",{"type":45,"value":294},", ",{"type":39,"tag":66,"props":296,"children":298},{"className":297},[],[299],{"type":45,"value":300},"npx base44 deploy",{"type":45,"value":294},{"type":39,"tag":66,"props":303,"children":305},{"className":304},[],[306],{"type":45,"value":307},"npx base44 login",{"type":45,"value":309}," (use ",{"type":39,"tag":66,"props":311,"children":313},{"className":312},[],[314],{"type":45,"value":269},{"type":45,"value":212},{"type":39,"tag":48,"props":317,"children":318},{},[319],{"type":39,"tag":75,"props":320,"children":321},{},[322],{"type":45,"value":323},"Skill Dependencies:",{"type":39,"tag":119,"props":325,"children":326},{},[327,342,366],{"type":39,"tag":93,"props":328,"children":329},{},[330,335,337],{"type":39,"tag":66,"props":331,"children":333},{"className":332},[],[334],{"type":45,"value":4},{"type":45,"value":336}," assumes a Base44 project is ",{"type":39,"tag":75,"props":338,"children":339},{},[340],{"type":45,"value":341},"already initialized",{"type":39,"tag":93,"props":343,"children":344},{},[345,350,352,357,359,364],{"type":39,"tag":66,"props":346,"children":348},{"className":347},[],[349],{"type":45,"value":269},{"type":45,"value":351}," is a ",{"type":39,"tag":75,"props":353,"children":354},{},[355],{"type":45,"value":356},"prerequisite",{"type":45,"value":358}," for ",{"type":39,"tag":66,"props":360,"children":362},{"className":361},[],[363],{"type":45,"value":4},{"type":45,"value":365}," in new projects",{"type":39,"tag":93,"props":367,"children":368},{},[369,371,376],{"type":45,"value":370},"If user wants to \"create an app\" and no Base44 project exists, use ",{"type":39,"tag":66,"props":372,"children":374},{"className":373},[],[375],{"type":45,"value":269},{"type":45,"value":377}," first",{"type":39,"tag":48,"props":379,"children":380},{},[381,386],{"type":39,"tag":75,"props":382,"children":383},{},[384],{"type":45,"value":385},"State Check Logic:",{"type":45,"value":387},"\nBefore selecting this skill, verify:",{"type":39,"tag":119,"props":389,"children":390},{},[391],{"type":39,"tag":93,"props":392,"children":393},{},[394,396],{"type":45,"value":395},"IF (user mentions \"create\u002Fbuild app\" OR \"make a project\"):\n",{"type":39,"tag":119,"props":397,"children":398},{},[399,417],{"type":39,"tag":93,"props":400,"children":401},{},[402,404,409,411,415],{"type":45,"value":403},"IF (directory is empty OR no ",{"type":39,"tag":66,"props":405,"children":407},{"className":406},[],[408],{"type":45,"value":103},{"type":45,"value":410}," exists):\n→ Use ",{"type":39,"tag":75,"props":412,"children":413},{},[414],{"type":45,"value":269},{"type":45,"value":416}," (project initialization needed)",{"type":39,"tag":93,"props":418,"children":419},{},[420,422,426],{"type":45,"value":421},"ELSE:\n→ Use ",{"type":39,"tag":75,"props":423,"children":424},{},[425],{"type":45,"value":4},{"type":45,"value":427}," (project exists, build features)",{"type":39,"tag":54,"props":429,"children":431},{"id":430},"quick-start",[432],{"type":45,"value":433},"Quick Start",{"type":39,"tag":435,"props":436,"children":441},"pre",{"className":437,"code":438,"language":439,"meta":440,"style":440},"language-javascript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F In Base44-generated apps, base44 client is pre-configured and available\n\n\u002F\u002F CRUD operations\nconst task = await base44.entities.Task.create({ title: \"New task\", status: \"pending\" });\nconst tasks = await base44.entities.Task.list();\nawait base44.entities.Task.update(task.id, { status: \"done\" });\n\n\u002F\u002F Get current user\nconst user = await base44.auth.me();\n","javascript","",[442],{"type":39,"tag":66,"props":443,"children":444},{"__ignoreMap":440},[445,456,466,475,615,674,768,776,785],{"type":39,"tag":234,"props":446,"children":449},{"class":447,"line":448},"line",1,[450],{"type":39,"tag":234,"props":451,"children":453},{"style":452},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[454],{"type":45,"value":455},"\u002F\u002F In Base44-generated apps, base44 client is pre-configured and available\n",{"type":39,"tag":234,"props":457,"children":459},{"class":447,"line":458},2,[460],{"type":39,"tag":234,"props":461,"children":463},{"emptyLinePlaceholder":462},true,[464],{"type":45,"value":465},"\n",{"type":39,"tag":234,"props":467,"children":469},{"class":447,"line":468},3,[470],{"type":39,"tag":234,"props":471,"children":472},{"style":452},[473],{"type":45,"value":474},"\u002F\u002F CRUD operations\n",{"type":39,"tag":234,"props":476,"children":478},{"class":447,"line":477},4,[479,485,491,497,503,508,513,518,522,527,531,537,542,547,553,558,563,569,574,579,584,588,592,597,601,606,610],{"type":39,"tag":234,"props":480,"children":482},{"style":481},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[483],{"type":45,"value":484},"const",{"type":39,"tag":234,"props":486,"children":488},{"style":487},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[489],{"type":45,"value":490}," task ",{"type":39,"tag":234,"props":492,"children":494},{"style":493},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[495],{"type":45,"value":496},"=",{"type":39,"tag":234,"props":498,"children":500},{"style":499},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[501],{"type":45,"value":502}," await",{"type":39,"tag":234,"props":504,"children":505},{"style":487},[506],{"type":45,"value":507}," base44",{"type":39,"tag":234,"props":509,"children":510},{"style":493},[511],{"type":45,"value":512},".",{"type":39,"tag":234,"props":514,"children":515},{"style":487},[516],{"type":45,"value":517},"entities",{"type":39,"tag":234,"props":519,"children":520},{"style":493},[521],{"type":45,"value":512},{"type":39,"tag":234,"props":523,"children":524},{"style":487},[525],{"type":45,"value":526},"Task",{"type":39,"tag":234,"props":528,"children":529},{"style":493},[530],{"type":45,"value":512},{"type":39,"tag":234,"props":532,"children":534},{"style":533},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[535],{"type":45,"value":536},"create",{"type":39,"tag":234,"props":538,"children":539},{"style":487},[540],{"type":45,"value":541},"(",{"type":39,"tag":234,"props":543,"children":544},{"style":493},[545],{"type":45,"value":546},"{",{"type":39,"tag":234,"props":548,"children":550},{"style":549},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[551],{"type":45,"value":552}," title",{"type":39,"tag":234,"props":554,"children":555},{"style":493},[556],{"type":45,"value":557},":",{"type":39,"tag":234,"props":559,"children":560},{"style":493},[561],{"type":45,"value":562}," \"",{"type":39,"tag":234,"props":564,"children":566},{"style":565},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[567],{"type":45,"value":568},"New task",{"type":39,"tag":234,"props":570,"children":571},{"style":493},[572],{"type":45,"value":573},"\"",{"type":39,"tag":234,"props":575,"children":576},{"style":493},[577],{"type":45,"value":578},",",{"type":39,"tag":234,"props":580,"children":581},{"style":549},[582],{"type":45,"value":583}," status",{"type":39,"tag":234,"props":585,"children":586},{"style":493},[587],{"type":45,"value":557},{"type":39,"tag":234,"props":589,"children":590},{"style":493},[591],{"type":45,"value":562},{"type":39,"tag":234,"props":593,"children":594},{"style":565},[595],{"type":45,"value":596},"pending",{"type":39,"tag":234,"props":598,"children":599},{"style":493},[600],{"type":45,"value":573},{"type":39,"tag":234,"props":602,"children":603},{"style":493},[604],{"type":45,"value":605}," }",{"type":39,"tag":234,"props":607,"children":608},{"style":487},[609],{"type":45,"value":212},{"type":39,"tag":234,"props":611,"children":612},{"style":493},[613],{"type":45,"value":614},";\n",{"type":39,"tag":234,"props":616,"children":618},{"class":447,"line":617},5,[619,623,628,632,636,640,644,648,652,656,660,665,670],{"type":39,"tag":234,"props":620,"children":621},{"style":481},[622],{"type":45,"value":484},{"type":39,"tag":234,"props":624,"children":625},{"style":487},[626],{"type":45,"value":627}," tasks ",{"type":39,"tag":234,"props":629,"children":630},{"style":493},[631],{"type":45,"value":496},{"type":39,"tag":234,"props":633,"children":634},{"style":499},[635],{"type":45,"value":502},{"type":39,"tag":234,"props":637,"children":638},{"style":487},[639],{"type":45,"value":507},{"type":39,"tag":234,"props":641,"children":642},{"style":493},[643],{"type":45,"value":512},{"type":39,"tag":234,"props":645,"children":646},{"style":487},[647],{"type":45,"value":517},{"type":39,"tag":234,"props":649,"children":650},{"style":493},[651],{"type":45,"value":512},{"type":39,"tag":234,"props":653,"children":654},{"style":487},[655],{"type":45,"value":526},{"type":39,"tag":234,"props":657,"children":658},{"style":493},[659],{"type":45,"value":512},{"type":39,"tag":234,"props":661,"children":662},{"style":533},[663],{"type":45,"value":664},"list",{"type":39,"tag":234,"props":666,"children":667},{"style":487},[668],{"type":45,"value":669},"()",{"type":39,"tag":234,"props":671,"children":672},{"style":493},[673],{"type":45,"value":614},{"type":39,"tag":234,"props":675,"children":677},{"class":447,"line":676},6,[678,683,687,691,695,699,703,707,712,717,721,726,730,735,739,743,747,752,756,760,764],{"type":39,"tag":234,"props":679,"children":680},{"style":499},[681],{"type":45,"value":682},"await",{"type":39,"tag":234,"props":684,"children":685},{"style":487},[686],{"type":45,"value":507},{"type":39,"tag":234,"props":688,"children":689},{"style":493},[690],{"type":45,"value":512},{"type":39,"tag":234,"props":692,"children":693},{"style":487},[694],{"type":45,"value":517},{"type":39,"tag":234,"props":696,"children":697},{"style":493},[698],{"type":45,"value":512},{"type":39,"tag":234,"props":700,"children":701},{"style":487},[702],{"type":45,"value":526},{"type":39,"tag":234,"props":704,"children":705},{"style":493},[706],{"type":45,"value":512},{"type":39,"tag":234,"props":708,"children":709},{"style":533},[710],{"type":45,"value":711},"update",{"type":39,"tag":234,"props":713,"children":714},{"style":487},[715],{"type":45,"value":716},"(task",{"type":39,"tag":234,"props":718,"children":719},{"style":493},[720],{"type":45,"value":512},{"type":39,"tag":234,"props":722,"children":723},{"style":487},[724],{"type":45,"value":725},"id",{"type":39,"tag":234,"props":727,"children":728},{"style":493},[729],{"type":45,"value":578},{"type":39,"tag":234,"props":731,"children":732},{"style":493},[733],{"type":45,"value":734}," {",{"type":39,"tag":234,"props":736,"children":737},{"style":549},[738],{"type":45,"value":583},{"type":39,"tag":234,"props":740,"children":741},{"style":493},[742],{"type":45,"value":557},{"type":39,"tag":234,"props":744,"children":745},{"style":493},[746],{"type":45,"value":562},{"type":39,"tag":234,"props":748,"children":749},{"style":565},[750],{"type":45,"value":751},"done",{"type":39,"tag":234,"props":753,"children":754},{"style":493},[755],{"type":45,"value":573},{"type":39,"tag":234,"props":757,"children":758},{"style":493},[759],{"type":45,"value":605},{"type":39,"tag":234,"props":761,"children":762},{"style":487},[763],{"type":45,"value":212},{"type":39,"tag":234,"props":765,"children":766},{"style":493},[767],{"type":45,"value":614},{"type":39,"tag":234,"props":769,"children":771},{"class":447,"line":770},7,[772],{"type":39,"tag":234,"props":773,"children":774},{"emptyLinePlaceholder":462},[775],{"type":45,"value":465},{"type":39,"tag":234,"props":777,"children":779},{"class":447,"line":778},8,[780],{"type":39,"tag":234,"props":781,"children":782},{"style":452},[783],{"type":45,"value":784},"\u002F\u002F Get current user\n",{"type":39,"tag":234,"props":786,"children":788},{"class":447,"line":787},9,[789,793,798,802,806,810,814,819,823,828,832],{"type":39,"tag":234,"props":790,"children":791},{"style":481},[792],{"type":45,"value":484},{"type":39,"tag":234,"props":794,"children":795},{"style":487},[796],{"type":45,"value":797}," user ",{"type":39,"tag":234,"props":799,"children":800},{"style":493},[801],{"type":45,"value":496},{"type":39,"tag":234,"props":803,"children":804},{"style":499},[805],{"type":45,"value":502},{"type":39,"tag":234,"props":807,"children":808},{"style":487},[809],{"type":45,"value":507},{"type":39,"tag":234,"props":811,"children":812},{"style":493},[813],{"type":45,"value":512},{"type":39,"tag":234,"props":815,"children":816},{"style":487},[817],{"type":45,"value":818},"auth",{"type":39,"tag":234,"props":820,"children":821},{"style":493},[822],{"type":45,"value":512},{"type":39,"tag":234,"props":824,"children":825},{"style":533},[826],{"type":45,"value":827},"me",{"type":39,"tag":234,"props":829,"children":830},{"style":487},[831],{"type":45,"value":669},{"type":39,"tag":234,"props":833,"children":834},{"style":493},[835],{"type":45,"value":614},{"type":39,"tag":435,"props":837,"children":839},{"className":437,"code":838,"language":439,"meta":440,"style":440},"\u002F\u002F External apps\nimport { createClient } from \"@base44\u002Fsdk\";\n\n\u002F\u002F IMPORTANT: Use 'appId' (NOT 'clientId' or 'id')\nconst base44 = createClient({ appId: \"your-app-id\" });\nawait base44.auth.loginViaEmailPassword(\"user@example.com\", \"password\");\n",[840],{"type":39,"tag":66,"props":841,"children":842},{"__ignoreMap":440},[843,851,893,900,908,970],{"type":39,"tag":234,"props":844,"children":845},{"class":447,"line":448},[846],{"type":39,"tag":234,"props":847,"children":848},{"style":452},[849],{"type":45,"value":850},"\u002F\u002F External apps\n",{"type":39,"tag":234,"props":852,"children":853},{"class":447,"line":458},[854,859,863,868,872,877,881,885,889],{"type":39,"tag":234,"props":855,"children":856},{"style":499},[857],{"type":45,"value":858},"import",{"type":39,"tag":234,"props":860,"children":861},{"style":493},[862],{"type":45,"value":734},{"type":39,"tag":234,"props":864,"children":865},{"style":487},[866],{"type":45,"value":867}," createClient",{"type":39,"tag":234,"props":869,"children":870},{"style":493},[871],{"type":45,"value":605},{"type":39,"tag":234,"props":873,"children":874},{"style":499},[875],{"type":45,"value":876}," from",{"type":39,"tag":234,"props":878,"children":879},{"style":493},[880],{"type":45,"value":562},{"type":39,"tag":234,"props":882,"children":883},{"style":565},[884],{"type":45,"value":210},{"type":39,"tag":234,"props":886,"children":887},{"style":493},[888],{"type":45,"value":573},{"type":39,"tag":234,"props":890,"children":891},{"style":493},[892],{"type":45,"value":614},{"type":39,"tag":234,"props":894,"children":895},{"class":447,"line":468},[896],{"type":39,"tag":234,"props":897,"children":898},{"emptyLinePlaceholder":462},[899],{"type":45,"value":465},{"type":39,"tag":234,"props":901,"children":902},{"class":447,"line":477},[903],{"type":39,"tag":234,"props":904,"children":905},{"style":452},[906],{"type":45,"value":907},"\u002F\u002F IMPORTANT: Use 'appId' (NOT 'clientId' or 'id')\n",{"type":39,"tag":234,"props":909,"children":910},{"class":447,"line":617},[911,915,920,924,928,932,936,941,945,949,954,958,962,966],{"type":39,"tag":234,"props":912,"children":913},{"style":481},[914],{"type":45,"value":484},{"type":39,"tag":234,"props":916,"children":917},{"style":487},[918],{"type":45,"value":919}," base44 ",{"type":39,"tag":234,"props":921,"children":922},{"style":493},[923],{"type":45,"value":496},{"type":39,"tag":234,"props":925,"children":926},{"style":533},[927],{"type":45,"value":867},{"type":39,"tag":234,"props":929,"children":930},{"style":487},[931],{"type":45,"value":541},{"type":39,"tag":234,"props":933,"children":934},{"style":493},[935],{"type":45,"value":546},{"type":39,"tag":234,"props":937,"children":938},{"style":549},[939],{"type":45,"value":940}," appId",{"type":39,"tag":234,"props":942,"children":943},{"style":493},[944],{"type":45,"value":557},{"type":39,"tag":234,"props":946,"children":947},{"style":493},[948],{"type":45,"value":562},{"type":39,"tag":234,"props":950,"children":951},{"style":565},[952],{"type":45,"value":953},"your-app-id",{"type":39,"tag":234,"props":955,"children":956},{"style":493},[957],{"type":45,"value":573},{"type":39,"tag":234,"props":959,"children":960},{"style":493},[961],{"type":45,"value":605},{"type":39,"tag":234,"props":963,"children":964},{"style":487},[965],{"type":45,"value":212},{"type":39,"tag":234,"props":967,"children":968},{"style":493},[969],{"type":45,"value":614},{"type":39,"tag":234,"props":971,"children":972},{"class":447,"line":676},[973,977,981,985,989,993,998,1002,1006,1011,1015,1019,1023,1028,1032,1036],{"type":39,"tag":234,"props":974,"children":975},{"style":499},[976],{"type":45,"value":682},{"type":39,"tag":234,"props":978,"children":979},{"style":487},[980],{"type":45,"value":507},{"type":39,"tag":234,"props":982,"children":983},{"style":493},[984],{"type":45,"value":512},{"type":39,"tag":234,"props":986,"children":987},{"style":487},[988],{"type":45,"value":818},{"type":39,"tag":234,"props":990,"children":991},{"style":493},[992],{"type":45,"value":512},{"type":39,"tag":234,"props":994,"children":995},{"style":533},[996],{"type":45,"value":997},"loginViaEmailPassword",{"type":39,"tag":234,"props":999,"children":1000},{"style":487},[1001],{"type":45,"value":541},{"type":39,"tag":234,"props":1003,"children":1004},{"style":493},[1005],{"type":45,"value":573},{"type":39,"tag":234,"props":1007,"children":1008},{"style":565},[1009],{"type":45,"value":1010},"user@example.com",{"type":39,"tag":234,"props":1012,"children":1013},{"style":493},[1014],{"type":45,"value":573},{"type":39,"tag":234,"props":1016,"children":1017},{"style":493},[1018],{"type":45,"value":578},{"type":39,"tag":234,"props":1020,"children":1021},{"style":493},[1022],{"type":45,"value":562},{"type":39,"tag":234,"props":1024,"children":1025},{"style":565},[1026],{"type":45,"value":1027},"password",{"type":39,"tag":234,"props":1029,"children":1030},{"style":493},[1031],{"type":45,"value":573},{"type":39,"tag":234,"props":1033,"children":1034},{"style":487},[1035],{"type":45,"value":212},{"type":39,"tag":234,"props":1037,"children":1038},{"style":493},[1039],{"type":45,"value":614},{"type":39,"tag":54,"props":1041,"children":1043},{"id":1042},"️-critical-do-not-hallucinate-apis",[1044],{"type":45,"value":1045},"⚠️ CRITICAL: Do Not Hallucinate APIs",{"type":39,"tag":48,"props":1047,"children":1048},{},[1049],{"type":39,"tag":75,"props":1050,"children":1051},{},[1052,1054,1061],{"type":45,"value":1053},"Before writing ANY Base44 code, verify method names against this table or ",{"type":39,"tag":1055,"props":1056,"children":1058},"a",{"href":1057},"references\u002FQUICK_REFERENCE.md",[1059],{"type":45,"value":1060},"QUICK_REFERENCE.md",{"type":45,"value":512},{"type":39,"tag":48,"props":1063,"children":1064},{},[1065],{"type":45,"value":1066},"Base44 SDK has unique method names. Do NOT assume patterns from Firebase, Supabase, or other SDKs.",{"type":39,"tag":1068,"props":1069,"children":1071},"h3",{"id":1070},"authentication-wrong-vs-correct",[1072],{"type":45,"value":1073},"Authentication - WRONG vs CORRECT",{"type":39,"tag":1075,"props":1076,"children":1077},"table",{},[1078,1097],{"type":39,"tag":1079,"props":1080,"children":1081},"thead",{},[1082],{"type":39,"tag":1083,"props":1084,"children":1085},"tr",{},[1086,1092],{"type":39,"tag":1087,"props":1088,"children":1089},"th",{},[1090],{"type":45,"value":1091},"❌ WRONG (hallucinated)",{"type":39,"tag":1087,"props":1093,"children":1094},{},[1095],{"type":45,"value":1096},"✅ CORRECT",{"type":39,"tag":1098,"props":1099,"children":1100},"tbody",{},[1101,1123,1143,1163,1184,1204,1233,1256],{"type":39,"tag":1083,"props":1102,"children":1103},{},[1104,1114],{"type":39,"tag":1105,"props":1106,"children":1107},"td",{},[1108],{"type":39,"tag":66,"props":1109,"children":1111},{"className":1110},[],[1112],{"type":45,"value":1113},"signInWithGoogle()",{"type":39,"tag":1105,"props":1115,"children":1116},{},[1117],{"type":39,"tag":66,"props":1118,"children":1120},{"className":1119},[],[1121],{"type":45,"value":1122},"loginWithProvider('google')",{"type":39,"tag":1083,"props":1124,"children":1125},{},[1126,1135],{"type":39,"tag":1105,"props":1127,"children":1128},{},[1129],{"type":39,"tag":66,"props":1130,"children":1132},{"className":1131},[],[1133],{"type":45,"value":1134},"signInWithProvider('google')",{"type":39,"tag":1105,"props":1136,"children":1137},{},[1138],{"type":39,"tag":66,"props":1139,"children":1141},{"className":1140},[],[1142],{"type":45,"value":1122},{"type":39,"tag":1083,"props":1144,"children":1145},{},[1146,1155],{"type":39,"tag":1105,"props":1147,"children":1148},{},[1149],{"type":39,"tag":66,"props":1150,"children":1152},{"className":1151},[],[1153],{"type":45,"value":1154},"auth.google()",{"type":39,"tag":1105,"props":1156,"children":1157},{},[1158],{"type":39,"tag":66,"props":1159,"children":1161},{"className":1160},[],[1162],{"type":45,"value":1122},{"type":39,"tag":1083,"props":1164,"children":1165},{},[1166,1175],{"type":39,"tag":1105,"props":1167,"children":1168},{},[1169],{"type":39,"tag":66,"props":1170,"children":1172},{"className":1171},[],[1173],{"type":45,"value":1174},"signInWithEmailAndPassword(email, pw)",{"type":39,"tag":1105,"props":1176,"children":1177},{},[1178],{"type":39,"tag":66,"props":1179,"children":1181},{"className":1180},[],[1182],{"type":45,"value":1183},"loginViaEmailPassword(email, pw)",{"type":39,"tag":1083,"props":1185,"children":1186},{},[1187,1196],{"type":39,"tag":1105,"props":1188,"children":1189},{},[1190],{"type":39,"tag":66,"props":1191,"children":1193},{"className":1192},[],[1194],{"type":45,"value":1195},"signIn(email, pw)",{"type":39,"tag":1105,"props":1197,"children":1198},{},[1199],{"type":39,"tag":66,"props":1200,"children":1202},{"className":1201},[],[1203],{"type":45,"value":1183},{"type":39,"tag":1083,"props":1205,"children":1206},{},[1207,1224],{"type":39,"tag":1105,"props":1208,"children":1209},{},[1210,1216,1218],{"type":39,"tag":66,"props":1211,"children":1213},{"className":1212},[],[1214],{"type":45,"value":1215},"createUser()",{"type":45,"value":1217}," \u002F ",{"type":39,"tag":66,"props":1219,"children":1221},{"className":1220},[],[1222],{"type":45,"value":1223},"signUp()",{"type":39,"tag":1105,"props":1225,"children":1226},{},[1227],{"type":39,"tag":66,"props":1228,"children":1230},{"className":1229},[],[1231],{"type":45,"value":1232},"register({email, password})",{"type":39,"tag":1083,"props":1234,"children":1235},{},[1236,1245],{"type":39,"tag":1105,"props":1237,"children":1238},{},[1239],{"type":39,"tag":66,"props":1240,"children":1242},{"className":1241},[],[1243],{"type":45,"value":1244},"onAuthStateChanged()",{"type":39,"tag":1105,"props":1246,"children":1247},{},[1248,1254],{"type":39,"tag":66,"props":1249,"children":1251},{"className":1250},[],[1252],{"type":45,"value":1253},"me()",{"type":45,"value":1255}," (no listener, call when needed)",{"type":39,"tag":1083,"props":1257,"children":1258},{},[1259,1268],{"type":39,"tag":1105,"props":1260,"children":1261},{},[1262],{"type":39,"tag":66,"props":1263,"children":1265},{"className":1264},[],[1266],{"type":45,"value":1267},"currentUser",{"type":39,"tag":1105,"props":1269,"children":1270},{},[1271],{"type":39,"tag":66,"props":1272,"children":1274},{"className":1273},[],[1275],{"type":45,"value":1276},"await auth.me()",{"type":39,"tag":1068,"props":1278,"children":1280},{"id":1279},"functions-wrong-vs-correct",[1281],{"type":45,"value":1282},"Functions - WRONG vs CORRECT",{"type":39,"tag":1075,"props":1284,"children":1285},{},[1286,1300],{"type":39,"tag":1079,"props":1287,"children":1288},{},[1289],{"type":39,"tag":1083,"props":1290,"children":1291},{},[1292,1296],{"type":39,"tag":1087,"props":1293,"children":1294},{},[1295],{"type":45,"value":1091},{"type":39,"tag":1087,"props":1297,"children":1298},{},[1299],{"type":45,"value":1096},{"type":39,"tag":1098,"props":1301,"children":1302},{},[1303,1324,1344,1364],{"type":39,"tag":1083,"props":1304,"children":1305},{},[1306,1315],{"type":39,"tag":1105,"props":1307,"children":1308},{},[1309],{"type":39,"tag":66,"props":1310,"children":1312},{"className":1311},[],[1313],{"type":45,"value":1314},"functions.call('name', data)",{"type":39,"tag":1105,"props":1316,"children":1317},{},[1318],{"type":39,"tag":66,"props":1319,"children":1321},{"className":1320},[],[1322],{"type":45,"value":1323},"functions.invoke('name', data)",{"type":39,"tag":1083,"props":1325,"children":1326},{},[1327,1336],{"type":39,"tag":1105,"props":1328,"children":1329},{},[1330],{"type":39,"tag":66,"props":1331,"children":1333},{"className":1332},[],[1334],{"type":45,"value":1335},"functions.run('name', data)",{"type":39,"tag":1105,"props":1337,"children":1338},{},[1339],{"type":39,"tag":66,"props":1340,"children":1342},{"className":1341},[],[1343],{"type":45,"value":1323},{"type":39,"tag":1083,"props":1345,"children":1346},{},[1347,1356],{"type":39,"tag":1105,"props":1348,"children":1349},{},[1350],{"type":39,"tag":66,"props":1351,"children":1353},{"className":1352},[],[1354],{"type":45,"value":1355},"callFunction('name', data)",{"type":39,"tag":1105,"props":1357,"children":1358},{},[1359],{"type":39,"tag":66,"props":1360,"children":1362},{"className":1361},[],[1363],{"type":45,"value":1323},{"type":39,"tag":1083,"props":1365,"children":1366},{},[1367,1376],{"type":39,"tag":1105,"props":1368,"children":1369},{},[1370],{"type":39,"tag":66,"props":1371,"children":1373},{"className":1372},[],[1374],{"type":45,"value":1375},"httpsCallable('name')(data)",{"type":39,"tag":1105,"props":1377,"children":1378},{},[1379],{"type":39,"tag":66,"props":1380,"children":1382},{"className":1381},[],[1383],{"type":45,"value":1323},{"type":39,"tag":1068,"props":1385,"children":1387},{"id":1386},"integrations-wrong-vs-correct",[1388],{"type":45,"value":1389},"Integrations - WRONG vs CORRECT",{"type":39,"tag":1075,"props":1391,"children":1392},{},[1393,1407],{"type":39,"tag":1079,"props":1394,"children":1395},{},[1396],{"type":39,"tag":1083,"props":1397,"children":1398},{},[1399,1403],{"type":39,"tag":1087,"props":1400,"children":1401},{},[1402],{"type":45,"value":1091},{"type":39,"tag":1087,"props":1404,"children":1405},{},[1406],{"type":45,"value":1096},{"type":39,"tag":1098,"props":1408,"children":1409},{},[1410,1431,1451,1471,1492,1512,1533],{"type":39,"tag":1083,"props":1411,"children":1412},{},[1413,1422],{"type":39,"tag":1105,"props":1414,"children":1415},{},[1416],{"type":39,"tag":66,"props":1417,"children":1419},{"className":1418},[],[1420],{"type":45,"value":1421},"ai.generate(prompt)",{"type":39,"tag":1105,"props":1423,"children":1424},{},[1425],{"type":39,"tag":66,"props":1426,"children":1428},{"className":1427},[],[1429],{"type":45,"value":1430},"integrations.Core.InvokeLLM({prompt})",{"type":39,"tag":1083,"props":1432,"children":1433},{},[1434,1443],{"type":39,"tag":1105,"props":1435,"children":1436},{},[1437],{"type":39,"tag":66,"props":1438,"children":1440},{"className":1439},[],[1441],{"type":45,"value":1442},"openai.chat(prompt)",{"type":39,"tag":1105,"props":1444,"children":1445},{},[1446],{"type":39,"tag":66,"props":1447,"children":1449},{"className":1448},[],[1450],{"type":45,"value":1430},{"type":39,"tag":1083,"props":1452,"children":1453},{},[1454,1463],{"type":39,"tag":1105,"props":1455,"children":1456},{},[1457],{"type":39,"tag":66,"props":1458,"children":1460},{"className":1459},[],[1461],{"type":45,"value":1462},"llm(prompt)",{"type":39,"tag":1105,"props":1464,"children":1465},{},[1466],{"type":39,"tag":66,"props":1467,"children":1469},{"className":1468},[],[1470],{"type":45,"value":1430},{"type":39,"tag":1083,"props":1472,"children":1473},{},[1474,1483],{"type":39,"tag":1105,"props":1475,"children":1476},{},[1477],{"type":39,"tag":66,"props":1478,"children":1480},{"className":1479},[],[1481],{"type":45,"value":1482},"sendEmail(to, subject, body)",{"type":39,"tag":1105,"props":1484,"children":1485},{},[1486],{"type":39,"tag":66,"props":1487,"children":1489},{"className":1488},[],[1490],{"type":45,"value":1491},"integrations.Core.SendEmail({to, subject, body})",{"type":39,"tag":1083,"props":1493,"children":1494},{},[1495,1504],{"type":39,"tag":1105,"props":1496,"children":1497},{},[1498],{"type":39,"tag":66,"props":1499,"children":1501},{"className":1500},[],[1502],{"type":45,"value":1503},"email.send()",{"type":39,"tag":1105,"props":1505,"children":1506},{},[1507],{"type":39,"tag":66,"props":1508,"children":1510},{"className":1509},[],[1511],{"type":45,"value":1491},{"type":39,"tag":1083,"props":1513,"children":1514},{},[1515,1524],{"type":39,"tag":1105,"props":1516,"children":1517},{},[1518],{"type":39,"tag":66,"props":1519,"children":1521},{"className":1520},[],[1522],{"type":45,"value":1523},"uploadFile(file)",{"type":39,"tag":1105,"props":1525,"children":1526},{},[1527],{"type":39,"tag":66,"props":1528,"children":1530},{"className":1529},[],[1531],{"type":45,"value":1532},"integrations.Core.UploadFile({file})",{"type":39,"tag":1083,"props":1534,"children":1535},{},[1536,1545],{"type":39,"tag":1105,"props":1537,"children":1538},{},[1539],{"type":39,"tag":66,"props":1540,"children":1542},{"className":1541},[],[1543],{"type":45,"value":1544},"storage.upload(file)",{"type":39,"tag":1105,"props":1546,"children":1547},{},[1548],{"type":39,"tag":66,"props":1549,"children":1551},{"className":1550},[],[1552],{"type":45,"value":1532},{"type":39,"tag":1068,"props":1554,"children":1556},{"id":1555},"entities-wrong-vs-correct",[1557],{"type":45,"value":1558},"Entities - WRONG vs CORRECT",{"type":39,"tag":1075,"props":1560,"children":1561},{},[1562,1576],{"type":39,"tag":1079,"props":1563,"children":1564},{},[1565],{"type":39,"tag":1083,"props":1566,"children":1567},{},[1568,1572],{"type":39,"tag":1087,"props":1569,"children":1570},{},[1571],{"type":45,"value":1091},{"type":39,"tag":1087,"props":1573,"children":1574},{},[1575],{"type":45,"value":1096},{"type":39,"tag":1098,"props":1577,"children":1578},{},[1579,1600,1621,1642,1663],{"type":39,"tag":1083,"props":1580,"children":1581},{},[1582,1591],{"type":39,"tag":1105,"props":1583,"children":1584},{},[1585],{"type":39,"tag":66,"props":1586,"children":1588},{"className":1587},[],[1589],{"type":45,"value":1590},"entities.Task.find({...})",{"type":39,"tag":1105,"props":1592,"children":1593},{},[1594],{"type":39,"tag":66,"props":1595,"children":1597},{"className":1596},[],[1598],{"type":45,"value":1599},"entities.Task.filter({...})",{"type":39,"tag":1083,"props":1601,"children":1602},{},[1603,1612],{"type":39,"tag":1105,"props":1604,"children":1605},{},[1606],{"type":39,"tag":66,"props":1607,"children":1609},{"className":1608},[],[1610],{"type":45,"value":1611},"entities.Task.findOne(id)",{"type":39,"tag":1105,"props":1613,"children":1614},{},[1615],{"type":39,"tag":66,"props":1616,"children":1618},{"className":1617},[],[1619],{"type":45,"value":1620},"entities.Task.get(id)",{"type":39,"tag":1083,"props":1622,"children":1623},{},[1624,1633],{"type":39,"tag":1105,"props":1625,"children":1626},{},[1627],{"type":39,"tag":66,"props":1628,"children":1630},{"className":1629},[],[1631],{"type":45,"value":1632},"entities.Task.insert(data)",{"type":39,"tag":1105,"props":1634,"children":1635},{},[1636],{"type":39,"tag":66,"props":1637,"children":1639},{"className":1638},[],[1640],{"type":45,"value":1641},"entities.Task.create(data)",{"type":39,"tag":1083,"props":1643,"children":1644},{},[1645,1654],{"type":39,"tag":1105,"props":1646,"children":1647},{},[1648],{"type":39,"tag":66,"props":1649,"children":1651},{"className":1650},[],[1652],{"type":45,"value":1653},"entities.Task.remove(id)",{"type":39,"tag":1105,"props":1655,"children":1656},{},[1657],{"type":39,"tag":66,"props":1658,"children":1660},{"className":1659},[],[1661],{"type":45,"value":1662},"entities.Task.delete(id)",{"type":39,"tag":1083,"props":1664,"children":1665},{},[1666,1675],{"type":39,"tag":1105,"props":1667,"children":1668},{},[1669],{"type":39,"tag":66,"props":1670,"children":1672},{"className":1671},[],[1673],{"type":45,"value":1674},"entities.Task.onChange(cb)",{"type":39,"tag":1105,"props":1676,"children":1677},{},[1678],{"type":39,"tag":66,"props":1679,"children":1681},{"className":1680},[],[1682],{"type":45,"value":1683},"entities.Task.subscribe(cb)",{"type":39,"tag":54,"props":1685,"children":1687},{"id":1686},"sdk-modules",[1688],{"type":45,"value":1689},"SDK Modules",{"type":39,"tag":1075,"props":1691,"children":1692},{},[1693,1714],{"type":39,"tag":1079,"props":1694,"children":1695},{},[1696],{"type":39,"tag":1083,"props":1697,"children":1698},{},[1699,1704,1709],{"type":39,"tag":1087,"props":1700,"children":1701},{},[1702],{"type":45,"value":1703},"Module",{"type":39,"tag":1087,"props":1705,"children":1706},{},[1707],{"type":45,"value":1708},"Purpose",{"type":39,"tag":1087,"props":1710,"children":1711},{},[1712],{"type":45,"value":1713},"Reference",{"type":39,"tag":1098,"props":1715,"children":1716},{},[1717,1742,1767,1793,1819,1845,1871,1897,1923,1949],{"type":39,"tag":1083,"props":1718,"children":1719},{},[1720,1728,1733],{"type":39,"tag":1105,"props":1721,"children":1722},{},[1723],{"type":39,"tag":66,"props":1724,"children":1726},{"className":1725},[],[1727],{"type":45,"value":517},{"type":39,"tag":1105,"props":1729,"children":1730},{},[1731],{"type":45,"value":1732},"CRUD operations on data models",{"type":39,"tag":1105,"props":1734,"children":1735},{},[1736],{"type":39,"tag":1055,"props":1737,"children":1739},{"href":1738},"references\u002Fentities.md",[1740],{"type":45,"value":1741},"entities.md",{"type":39,"tag":1083,"props":1743,"children":1744},{},[1745,1753,1758],{"type":39,"tag":1105,"props":1746,"children":1747},{},[1748],{"type":39,"tag":66,"props":1749,"children":1751},{"className":1750},[],[1752],{"type":45,"value":818},{"type":39,"tag":1105,"props":1754,"children":1755},{},[1756],{"type":45,"value":1757},"Login, register, user management",{"type":39,"tag":1105,"props":1759,"children":1760},{},[1761],{"type":39,"tag":1055,"props":1762,"children":1764},{"href":1763},"references\u002Fauth.md",[1765],{"type":45,"value":1766},"auth.md",{"type":39,"tag":1083,"props":1768,"children":1769},{},[1770,1779,1784],{"type":39,"tag":1105,"props":1771,"children":1772},{},[1773],{"type":39,"tag":66,"props":1774,"children":1776},{"className":1775},[],[1777],{"type":45,"value":1778},"agents",{"type":39,"tag":1105,"props":1780,"children":1781},{},[1782],{"type":45,"value":1783},"AI conversations and messages",{"type":39,"tag":1105,"props":1785,"children":1786},{},[1787],{"type":39,"tag":1055,"props":1788,"children":1790},{"href":1789},"references\u002Fbase44-agents.md",[1791],{"type":45,"value":1792},"base44-agents.md",{"type":39,"tag":1083,"props":1794,"children":1795},{},[1796,1805,1810],{"type":39,"tag":1105,"props":1797,"children":1798},{},[1799],{"type":39,"tag":66,"props":1800,"children":1802},{"className":1801},[],[1803],{"type":45,"value":1804},"functions",{"type":39,"tag":1105,"props":1806,"children":1807},{},[1808],{"type":45,"value":1809},"Backend function invocation",{"type":39,"tag":1105,"props":1811,"children":1812},{},[1813],{"type":39,"tag":1055,"props":1814,"children":1816},{"href":1815},"references\u002Ffunctions.md",[1817],{"type":45,"value":1818},"functions.md",{"type":39,"tag":1083,"props":1820,"children":1821},{},[1822,1831,1836],{"type":39,"tag":1105,"props":1823,"children":1824},{},[1825],{"type":39,"tag":66,"props":1826,"children":1828},{"className":1827},[],[1829],{"type":45,"value":1830},"integrations",{"type":39,"tag":1105,"props":1832,"children":1833},{},[1834],{"type":45,"value":1835},"AI, email, file uploads, custom APIs",{"type":39,"tag":1105,"props":1837,"children":1838},{},[1839],{"type":39,"tag":1055,"props":1840,"children":1842},{"href":1841},"references\u002Fintegrations.md",[1843],{"type":45,"value":1844},"integrations.md",{"type":39,"tag":1083,"props":1846,"children":1847},{},[1848,1857,1862],{"type":39,"tag":1105,"props":1849,"children":1850},{},[1851],{"type":39,"tag":66,"props":1852,"children":1854},{"className":1853},[],[1855],{"type":45,"value":1856},"analytics",{"type":39,"tag":1105,"props":1858,"children":1859},{},[1860],{"type":45,"value":1861},"Track custom events and user activity",{"type":39,"tag":1105,"props":1863,"children":1864},{},[1865],{"type":39,"tag":1055,"props":1866,"children":1868},{"href":1867},"references\u002Fanalytics.md",[1869],{"type":45,"value":1870},"analytics.md",{"type":39,"tag":1083,"props":1872,"children":1873},{},[1874,1883,1888],{"type":39,"tag":1105,"props":1875,"children":1876},{},[1877],{"type":39,"tag":66,"props":1878,"children":1880},{"className":1879},[],[1881],{"type":45,"value":1882},"appLogs",{"type":39,"tag":1105,"props":1884,"children":1885},{},[1886],{"type":45,"value":1887},"Log user activity in app",{"type":39,"tag":1105,"props":1889,"children":1890},{},[1891],{"type":39,"tag":1055,"props":1892,"children":1894},{"href":1893},"references\u002Fapp-logs.md",[1895],{"type":45,"value":1896},"app-logs.md",{"type":39,"tag":1083,"props":1898,"children":1899},{},[1900,1909,1914],{"type":39,"tag":1105,"props":1901,"children":1902},{},[1903],{"type":39,"tag":66,"props":1904,"children":1906},{"className":1905},[],[1907],{"type":45,"value":1908},"users",{"type":39,"tag":1105,"props":1910,"children":1911},{},[1912],{"type":45,"value":1913},"Invite users to the app",{"type":39,"tag":1105,"props":1915,"children":1916},{},[1917],{"type":39,"tag":1055,"props":1918,"children":1920},{"href":1919},"references\u002Fusers.md",[1921],{"type":45,"value":1922},"users.md",{"type":39,"tag":1083,"props":1924,"children":1925},{},[1926,1935,1940],{"type":39,"tag":1105,"props":1927,"children":1928},{},[1929],{"type":39,"tag":66,"props":1930,"children":1932},{"className":1931},[],[1933],{"type":45,"value":1934},"asServiceRole.connectors",{"type":39,"tag":1105,"props":1936,"children":1937},{},[1938],{"type":45,"value":1939},"App-scoped OAuth tokens (service role only)",{"type":39,"tag":1105,"props":1941,"children":1942},{},[1943],{"type":39,"tag":1055,"props":1944,"children":1946},{"href":1945},"references\u002Fconnectors.md",[1947],{"type":45,"value":1948},"connectors.md",{"type":39,"tag":1083,"props":1950,"children":1951},{},[1952,1961,1966],{"type":39,"tag":1105,"props":1953,"children":1954},{},[1955],{"type":39,"tag":66,"props":1956,"children":1958},{"className":1957},[],[1959],{"type":45,"value":1960},"asServiceRole.sso",{"type":39,"tag":1105,"props":1962,"children":1963},{},[1964],{"type":45,"value":1965},"SSO token generation (service role only)",{"type":39,"tag":1105,"props":1967,"children":1968},{},[1969],{"type":39,"tag":1055,"props":1970,"children":1972},{"href":1971},"references\u002Fsso.md",[1973],{"type":45,"value":1974},"sso.md",{"type":39,"tag":48,"props":1976,"children":1977},{},[1978,1980,1986],{"type":45,"value":1979},"For client setup and authentication modes, see ",{"type":39,"tag":1055,"props":1981,"children":1983},{"href":1982},"references\u002Fclient.md",[1984],{"type":45,"value":1985},"client.md",{"type":45,"value":512},{"type":39,"tag":1068,"props":1988,"children":1990},{"id":1989},"typescript-and-type-registries",[1991],{"type":45,"value":1992},"TypeScript and type registries",{"type":39,"tag":48,"props":1994,"children":1995},{},[1996],{"type":45,"value":1997},"Each reference file includes a \"Type Definitions\" section with TypeScript interfaces and types for the module's methods, parameters, and return values.",{"type":39,"tag":48,"props":1999,"children":2000},{},[2001,2006,2008,2014,2015,2021,2023,2029,2031,2035],{"type":39,"tag":75,"props":2002,"children":2003},{},[2004],{"type":45,"value":2005},"Getting typed entities, functions, and agents:",{"type":45,"value":2007}," The Base44 CLI generates types from your project resources (entities, functions, agents), including augmentations to ",{"type":39,"tag":66,"props":2009,"children":2011},{"className":2010},[],[2012],{"type":45,"value":2013},"EntityTypeRegistry",{"type":45,"value":294},{"type":39,"tag":66,"props":2016,"children":2018},{"className":2017},[],[2019],{"type":45,"value":2020},"FunctionNameRegistry",{"type":45,"value":2022},", and ",{"type":39,"tag":66,"props":2024,"children":2026},{"className":2025},[],[2027],{"type":45,"value":2028},"AgentNameRegistry",{"type":45,"value":2030},", and wires them into your project so you get autocomplete and type checking without manual setup. For how to generate types, use the ",{"type":39,"tag":75,"props":2032,"children":2033},{},[2034],{"type":45,"value":269},{"type":45,"value":2036}," skill.",{"type":39,"tag":48,"props":2038,"children":2039},{},[2040,2045,2047,2053,2055,2059,2060,2064,2065,2069],{"type":39,"tag":75,"props":2041,"children":2042},{},[2043],{"type":45,"value":2044},"Manual augmentation:",{"type":45,"value":2046}," You can instead augment the registries yourself in a ",{"type":39,"tag":66,"props":2048,"children":2050},{"className":2049},[],[2051],{"type":45,"value":2052},".d.ts",{"type":45,"value":2054}," file; see the Type Definitions sections in ",{"type":39,"tag":1055,"props":2056,"children":2057},{"href":1738},[2058],{"type":45,"value":1741},{"type":45,"value":294},{"type":39,"tag":1055,"props":2061,"children":2062},{"href":1815},[2063],{"type":45,"value":1818},{"type":45,"value":2022},{"type":39,"tag":1055,"props":2066,"children":2067},{"href":1789},[2068],{"type":45,"value":1792},{"type":45,"value":512},{"type":39,"tag":54,"props":2071,"children":2073},{"id":2072},"installation",[2074],{"type":45,"value":2075},"Installation",{"type":39,"tag":48,"props":2077,"children":2078},{},[2079],{"type":45,"value":2080},"Install the Base44 SDK:",{"type":39,"tag":435,"props":2082,"children":2086},{"className":2083,"code":2084,"language":2085,"meta":440,"style":440},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npm install @base44\u002Fsdk\n","bash",[2087],{"type":39,"tag":66,"props":2088,"children":2089},{"__ignoreMap":440},[2090],{"type":39,"tag":234,"props":2091,"children":2092},{"class":447,"line":448},[2093,2099,2104],{"type":39,"tag":234,"props":2094,"children":2096},{"style":2095},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[2097],{"type":45,"value":2098},"npm",{"type":39,"tag":234,"props":2100,"children":2101},{"style":565},[2102],{"type":45,"value":2103}," install",{"type":39,"tag":234,"props":2105,"children":2106},{"style":565},[2107],{"type":45,"value":2108}," @base44\u002Fsdk\n",{"type":39,"tag":48,"props":2110,"children":2111},{},[2112,2117,2119,2124],{"type":39,"tag":75,"props":2113,"children":2114},{},[2115],{"type":45,"value":2116},"Important:",{"type":45,"value":2118}," Never assume or hardcode the ",{"type":39,"tag":66,"props":2120,"children":2122},{"className":2121},[],[2123],{"type":45,"value":210},{"type":45,"value":2125}," package version. Always install without a version specifier to get the latest version.",{"type":39,"tag":54,"props":2127,"children":2129},{"id":2128},"creating-a-client-external-apps",[2130],{"type":45,"value":2131},"Creating a Client (External Apps)",{"type":39,"tag":48,"props":2133,"children":2134},{},[2135,2137,2150],{"type":45,"value":2136},"When creating a client in external apps, ",{"type":39,"tag":75,"props":2138,"children":2139},{},[2140,2142,2148],{"type":45,"value":2141},"ALWAYS use ",{"type":39,"tag":66,"props":2143,"children":2145},{"className":2144},[],[2146],{"type":45,"value":2147},"appId",{"type":45,"value":2149}," as the parameter name",{"type":45,"value":557},{"type":39,"tag":435,"props":2152,"children":2154},{"className":437,"code":2153,"language":439,"meta":440,"style":440},"import { createClient } from \"@base44\u002Fsdk\";\n\n\u002F\u002F ✅ CORRECT\nconst base44 = createClient({ appId: \"your-app-id\" });\n\n\u002F\u002F ❌ WRONG - Do NOT use these:\n\u002F\u002F const base44 = createClient({ clientId: \"your-app-id\" });  \u002F\u002F WRONG\n\u002F\u002F const base44 = createClient({ id: \"your-app-id\" });        \u002F\u002F WRONG\n",[2155],{"type":39,"tag":66,"props":2156,"children":2157},{"__ignoreMap":440},[2158,2197,2204,2212,2271,2278,2286,2299],{"type":39,"tag":234,"props":2159,"children":2160},{"class":447,"line":448},[2161,2165,2169,2173,2177,2181,2185,2189,2193],{"type":39,"tag":234,"props":2162,"children":2163},{"style":499},[2164],{"type":45,"value":858},{"type":39,"tag":234,"props":2166,"children":2167},{"style":493},[2168],{"type":45,"value":734},{"type":39,"tag":234,"props":2170,"children":2171},{"style":487},[2172],{"type":45,"value":867},{"type":39,"tag":234,"props":2174,"children":2175},{"style":493},[2176],{"type":45,"value":605},{"type":39,"tag":234,"props":2178,"children":2179},{"style":499},[2180],{"type":45,"value":876},{"type":39,"tag":234,"props":2182,"children":2183},{"style":493},[2184],{"type":45,"value":562},{"type":39,"tag":234,"props":2186,"children":2187},{"style":565},[2188],{"type":45,"value":210},{"type":39,"tag":234,"props":2190,"children":2191},{"style":493},[2192],{"type":45,"value":573},{"type":39,"tag":234,"props":2194,"children":2195},{"style":493},[2196],{"type":45,"value":614},{"type":39,"tag":234,"props":2198,"children":2199},{"class":447,"line":458},[2200],{"type":39,"tag":234,"props":2201,"children":2202},{"emptyLinePlaceholder":462},[2203],{"type":45,"value":465},{"type":39,"tag":234,"props":2205,"children":2206},{"class":447,"line":468},[2207],{"type":39,"tag":234,"props":2208,"children":2209},{"style":452},[2210],{"type":45,"value":2211},"\u002F\u002F ✅ CORRECT\n",{"type":39,"tag":234,"props":2213,"children":2214},{"class":447,"line":477},[2215,2219,2223,2227,2231,2235,2239,2243,2247,2251,2255,2259,2263,2267],{"type":39,"tag":234,"props":2216,"children":2217},{"style":481},[2218],{"type":45,"value":484},{"type":39,"tag":234,"props":2220,"children":2221},{"style":487},[2222],{"type":45,"value":919},{"type":39,"tag":234,"props":2224,"children":2225},{"style":493},[2226],{"type":45,"value":496},{"type":39,"tag":234,"props":2228,"children":2229},{"style":533},[2230],{"type":45,"value":867},{"type":39,"tag":234,"props":2232,"children":2233},{"style":487},[2234],{"type":45,"value":541},{"type":39,"tag":234,"props":2236,"children":2237},{"style":493},[2238],{"type":45,"value":546},{"type":39,"tag":234,"props":2240,"children":2241},{"style":549},[2242],{"type":45,"value":940},{"type":39,"tag":234,"props":2244,"children":2245},{"style":493},[2246],{"type":45,"value":557},{"type":39,"tag":234,"props":2248,"children":2249},{"style":493},[2250],{"type":45,"value":562},{"type":39,"tag":234,"props":2252,"children":2253},{"style":565},[2254],{"type":45,"value":953},{"type":39,"tag":234,"props":2256,"children":2257},{"style":493},[2258],{"type":45,"value":573},{"type":39,"tag":234,"props":2260,"children":2261},{"style":493},[2262],{"type":45,"value":605},{"type":39,"tag":234,"props":2264,"children":2265},{"style":487},[2266],{"type":45,"value":212},{"type":39,"tag":234,"props":2268,"children":2269},{"style":493},[2270],{"type":45,"value":614},{"type":39,"tag":234,"props":2272,"children":2273},{"class":447,"line":617},[2274],{"type":39,"tag":234,"props":2275,"children":2276},{"emptyLinePlaceholder":462},[2277],{"type":45,"value":465},{"type":39,"tag":234,"props":2279,"children":2280},{"class":447,"line":676},[2281],{"type":39,"tag":234,"props":2282,"children":2283},{"style":452},[2284],{"type":45,"value":2285},"\u002F\u002F ❌ WRONG - Do NOT use these:\n",{"type":39,"tag":234,"props":2287,"children":2288},{"class":447,"line":770},[2289,2294],{"type":39,"tag":234,"props":2290,"children":2291},{"style":452},[2292],{"type":45,"value":2293},"\u002F\u002F const base44 = createClient({ clientId: \"your-app-id\" });",{"type":39,"tag":234,"props":2295,"children":2296},{"style":452},[2297],{"type":45,"value":2298},"  \u002F\u002F WRONG\n",{"type":39,"tag":234,"props":2300,"children":2301},{"class":447,"line":778},[2302,2307],{"type":39,"tag":234,"props":2303,"children":2304},{"style":452},[2305],{"type":45,"value":2306},"\u002F\u002F const base44 = createClient({ id: \"your-app-id\" });",{"type":39,"tag":234,"props":2308,"children":2309},{"style":452},[2310],{"type":45,"value":2311},"        \u002F\u002F WRONG\n",{"type":39,"tag":48,"props":2313,"children":2314},{},[2315,2320,2322,2327],{"type":39,"tag":75,"props":2316,"children":2317},{},[2318],{"type":45,"value":2319},"Required parameter:",{"type":45,"value":2321}," ",{"type":39,"tag":66,"props":2323,"children":2325},{"className":2324},[],[2326],{"type":45,"value":2147},{"type":45,"value":2328}," (string) - Your Base44 application ID",{"type":39,"tag":48,"props":2330,"children":2331},{},[2332],{"type":39,"tag":75,"props":2333,"children":2334},{},[2335],{"type":45,"value":2336},"Optional parameters:",{"type":39,"tag":119,"props":2338,"children":2339},{},[2340,2351],{"type":39,"tag":93,"props":2341,"children":2342},{},[2343,2349],{"type":39,"tag":66,"props":2344,"children":2346},{"className":2345},[],[2347],{"type":45,"value":2348},"token",{"type":45,"value":2350}," (string) - Pre-authenticated user token",{"type":39,"tag":93,"props":2352,"children":2353},{},[2354,2360,2362],{"type":39,"tag":66,"props":2355,"children":2357},{"className":2356},[],[2358],{"type":45,"value":2359},"options",{"type":45,"value":2361}," (object) - Configuration options\n",{"type":39,"tag":119,"props":2363,"children":2364},{},[2365],{"type":39,"tag":93,"props":2366,"children":2367},{},[2368,2374],{"type":39,"tag":66,"props":2369,"children":2371},{"className":2370},[],[2372],{"type":45,"value":2373},"options.onError",{"type":45,"value":2375}," (function) - Global error handler",{"type":39,"tag":48,"props":2377,"children":2378},{},[2379],{"type":39,"tag":75,"props":2380,"children":2381},{},[2382],{"type":45,"value":2383},"Example with error handler:",{"type":39,"tag":435,"props":2385,"children":2387},{"className":437,"code":2386,"language":439,"meta":440,"style":440},"const base44 = createClient({\n  appId: \"your-app-id\",\n  options: {\n    onError: (error) => {\n      console.error(\"Base44 error:\", error);\n    }\n  }\n});\n",[2388],{"type":39,"tag":66,"props":2389,"children":2390},{"__ignoreMap":440},[2391,2419,2448,2465,2501,2551,2559,2567],{"type":39,"tag":234,"props":2392,"children":2393},{"class":447,"line":448},[2394,2398,2402,2406,2410,2414],{"type":39,"tag":234,"props":2395,"children":2396},{"style":481},[2397],{"type":45,"value":484},{"type":39,"tag":234,"props":2399,"children":2400},{"style":487},[2401],{"type":45,"value":919},{"type":39,"tag":234,"props":2403,"children":2404},{"style":493},[2405],{"type":45,"value":496},{"type":39,"tag":234,"props":2407,"children":2408},{"style":533},[2409],{"type":45,"value":867},{"type":39,"tag":234,"props":2411,"children":2412},{"style":487},[2413],{"type":45,"value":541},{"type":39,"tag":234,"props":2415,"children":2416},{"style":493},[2417],{"type":45,"value":2418},"{\n",{"type":39,"tag":234,"props":2420,"children":2421},{"class":447,"line":458},[2422,2427,2431,2435,2439,2443],{"type":39,"tag":234,"props":2423,"children":2424},{"style":549},[2425],{"type":45,"value":2426},"  appId",{"type":39,"tag":234,"props":2428,"children":2429},{"style":493},[2430],{"type":45,"value":557},{"type":39,"tag":234,"props":2432,"children":2433},{"style":493},[2434],{"type":45,"value":562},{"type":39,"tag":234,"props":2436,"children":2437},{"style":565},[2438],{"type":45,"value":953},{"type":39,"tag":234,"props":2440,"children":2441},{"style":493},[2442],{"type":45,"value":573},{"type":39,"tag":234,"props":2444,"children":2445},{"style":493},[2446],{"type":45,"value":2447},",\n",{"type":39,"tag":234,"props":2449,"children":2450},{"class":447,"line":468},[2451,2456,2460],{"type":39,"tag":234,"props":2452,"children":2453},{"style":549},[2454],{"type":45,"value":2455},"  options",{"type":39,"tag":234,"props":2457,"children":2458},{"style":493},[2459],{"type":45,"value":557},{"type":39,"tag":234,"props":2461,"children":2462},{"style":493},[2463],{"type":45,"value":2464}," {\n",{"type":39,"tag":234,"props":2466,"children":2467},{"class":447,"line":477},[2468,2473,2477,2482,2488,2492,2497],{"type":39,"tag":234,"props":2469,"children":2470},{"style":533},[2471],{"type":45,"value":2472},"    onError",{"type":39,"tag":234,"props":2474,"children":2475},{"style":493},[2476],{"type":45,"value":557},{"type":39,"tag":234,"props":2478,"children":2479},{"style":493},[2480],{"type":45,"value":2481}," (",{"type":39,"tag":234,"props":2483,"children":2485},{"style":2484},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[2486],{"type":45,"value":2487},"error",{"type":39,"tag":234,"props":2489,"children":2490},{"style":493},[2491],{"type":45,"value":212},{"type":39,"tag":234,"props":2493,"children":2494},{"style":481},[2495],{"type":45,"value":2496}," =>",{"type":39,"tag":234,"props":2498,"children":2499},{"style":493},[2500],{"type":45,"value":2464},{"type":39,"tag":234,"props":2502,"children":2503},{"class":447,"line":617},[2504,2509,2513,2517,2521,2525,2530,2534,2538,2543,2547],{"type":39,"tag":234,"props":2505,"children":2506},{"style":487},[2507],{"type":45,"value":2508},"      console",{"type":39,"tag":234,"props":2510,"children":2511},{"style":493},[2512],{"type":45,"value":512},{"type":39,"tag":234,"props":2514,"children":2515},{"style":533},[2516],{"type":45,"value":2487},{"type":39,"tag":234,"props":2518,"children":2519},{"style":549},[2520],{"type":45,"value":541},{"type":39,"tag":234,"props":2522,"children":2523},{"style":493},[2524],{"type":45,"value":573},{"type":39,"tag":234,"props":2526,"children":2527},{"style":565},[2528],{"type":45,"value":2529},"Base44 error:",{"type":39,"tag":234,"props":2531,"children":2532},{"style":493},[2533],{"type":45,"value":573},{"type":39,"tag":234,"props":2535,"children":2536},{"style":493},[2537],{"type":45,"value":578},{"type":39,"tag":234,"props":2539,"children":2540},{"style":487},[2541],{"type":45,"value":2542}," error",{"type":39,"tag":234,"props":2544,"children":2545},{"style":549},[2546],{"type":45,"value":212},{"type":39,"tag":234,"props":2548,"children":2549},{"style":493},[2550],{"type":45,"value":614},{"type":39,"tag":234,"props":2552,"children":2553},{"class":447,"line":676},[2554],{"type":39,"tag":234,"props":2555,"children":2556},{"style":493},[2557],{"type":45,"value":2558},"    }\n",{"type":39,"tag":234,"props":2560,"children":2561},{"class":447,"line":770},[2562],{"type":39,"tag":234,"props":2563,"children":2564},{"style":493},[2565],{"type":45,"value":2566},"  }\n",{"type":39,"tag":234,"props":2568,"children":2569},{"class":447,"line":778},[2570,2575,2579],{"type":39,"tag":234,"props":2571,"children":2572},{"style":493},[2573],{"type":45,"value":2574},"}",{"type":39,"tag":234,"props":2576,"children":2577},{"style":487},[2578],{"type":45,"value":212},{"type":39,"tag":234,"props":2580,"children":2581},{"style":493},[2582],{"type":45,"value":614},{"type":39,"tag":54,"props":2584,"children":2586},{"id":2585},"module-selection",[2587],{"type":45,"value":2588},"Module Selection",{"type":39,"tag":48,"props":2590,"children":2591},{},[2592],{"type":39,"tag":75,"props":2593,"children":2594},{},[2595],{"type":45,"value":2596},"Working with app data?",{"type":39,"tag":119,"props":2598,"children":2599},{},[2600,2610,2621],{"type":39,"tag":93,"props":2601,"children":2602},{},[2603,2605],{"type":45,"value":2604},"Create\u002Fread\u002Fupdate\u002Fdelete records → ",{"type":39,"tag":66,"props":2606,"children":2608},{"className":2607},[],[2609],{"type":45,"value":517},{"type":39,"tag":93,"props":2611,"children":2612},{},[2613,2615],{"type":45,"value":2614},"Import data from file → ",{"type":39,"tag":66,"props":2616,"children":2618},{"className":2617},[],[2619],{"type":45,"value":2620},"entities.importEntities()",{"type":39,"tag":93,"props":2622,"children":2623},{},[2624,2626],{"type":45,"value":2625},"Realtime updates → ",{"type":39,"tag":66,"props":2627,"children":2629},{"className":2628},[],[2630],{"type":45,"value":2631},"entities.EntityName.subscribe()",{"type":39,"tag":48,"props":2633,"children":2634},{},[2635],{"type":39,"tag":75,"props":2636,"children":2637},{},[2638],{"type":45,"value":2639},"User management?",{"type":39,"tag":119,"props":2641,"children":2642},{},[2643,2653,2664,2675],{"type":39,"tag":93,"props":2644,"children":2645},{},[2646,2648],{"type":45,"value":2647},"Login\u002Fregister\u002Flogout → ",{"type":39,"tag":66,"props":2649,"children":2651},{"className":2650},[],[2652],{"type":45,"value":818},{"type":39,"tag":93,"props":2654,"children":2655},{},[2656,2658],{"type":45,"value":2657},"Get current user → ",{"type":39,"tag":66,"props":2659,"children":2661},{"className":2660},[],[2662],{"type":45,"value":2663},"auth.me()",{"type":39,"tag":93,"props":2665,"children":2666},{},[2667,2669],{"type":45,"value":2668},"Update user profile → ",{"type":39,"tag":66,"props":2670,"children":2672},{"className":2671},[],[2673],{"type":45,"value":2674},"auth.updateMe()",{"type":39,"tag":93,"props":2676,"children":2677},{},[2678,2680],{"type":45,"value":2679},"Invite users → ",{"type":39,"tag":66,"props":2681,"children":2683},{"className":2682},[],[2684],{"type":45,"value":2685},"users.inviteUser()",{"type":39,"tag":48,"props":2687,"children":2688},{},[2689],{"type":39,"tag":75,"props":2690,"children":2691},{},[2692],{"type":45,"value":2693},"AI features?",{"type":39,"tag":119,"props":2695,"children":2696},{},[2697,2709,2720,2731,2742],{"type":39,"tag":93,"props":2698,"children":2699},{},[2700,2702,2707],{"type":45,"value":2701},"Chat with AI agents → ",{"type":39,"tag":66,"props":2703,"children":2705},{"className":2704},[],[2706],{"type":45,"value":1778},{"type":45,"value":2708}," (requires logged-in user)",{"type":39,"tag":93,"props":2710,"children":2711},{},[2712,2714],{"type":45,"value":2713},"Create new conversation → ",{"type":39,"tag":66,"props":2715,"children":2717},{"className":2716},[],[2718],{"type":45,"value":2719},"agents.createConversation()",{"type":39,"tag":93,"props":2721,"children":2722},{},[2723,2725],{"type":45,"value":2724},"Manage conversations → ",{"type":39,"tag":66,"props":2726,"children":2728},{"className":2727},[],[2729],{"type":45,"value":2730},"agents.getConversations()",{"type":39,"tag":93,"props":2732,"children":2733},{},[2734,2736],{"type":45,"value":2735},"Generate text\u002FJSON with AI → ",{"type":39,"tag":66,"props":2737,"children":2739},{"className":2738},[],[2740],{"type":45,"value":2741},"integrations.Core.InvokeLLM()",{"type":39,"tag":93,"props":2743,"children":2744},{},[2745,2747],{"type":45,"value":2746},"Generate images → ",{"type":39,"tag":66,"props":2748,"children":2750},{"className":2749},[],[2751],{"type":45,"value":2752},"integrations.Core.GenerateImage()",{"type":39,"tag":48,"props":2754,"children":2755},{},[2756],{"type":39,"tag":75,"props":2757,"children":2758},{},[2759],{"type":45,"value":2760},"Custom backend logic?",{"type":39,"tag":119,"props":2762,"children":2763},{},[2764,2775],{"type":39,"tag":93,"props":2765,"children":2766},{},[2767,2769],{"type":45,"value":2768},"Run server-side code → ",{"type":39,"tag":66,"props":2770,"children":2772},{"className":2771},[],[2773],{"type":45,"value":2774},"functions.invoke()",{"type":39,"tag":93,"props":2776,"children":2777},{},[2778,2780],{"type":45,"value":2779},"Need admin access → ",{"type":39,"tag":66,"props":2781,"children":2783},{"className":2782},[],[2784],{"type":45,"value":2785},"base44.asServiceRole.functions.invoke()",{"type":39,"tag":48,"props":2787,"children":2788},{},[2789],{"type":39,"tag":75,"props":2790,"children":2791},{},[2792],{"type":45,"value":2793},"External services?",{"type":39,"tag":119,"props":2795,"children":2796},{},[2797,2808,2819,2830],{"type":39,"tag":93,"props":2798,"children":2799},{},[2800,2802],{"type":45,"value":2801},"Send emails → ",{"type":39,"tag":66,"props":2803,"children":2805},{"className":2804},[],[2806],{"type":45,"value":2807},"integrations.Core.SendEmail()",{"type":39,"tag":93,"props":2809,"children":2810},{},[2811,2813],{"type":45,"value":2812},"Upload files → ",{"type":39,"tag":66,"props":2814,"children":2816},{"className":2815},[],[2817],{"type":45,"value":2818},"integrations.Core.UploadFile()",{"type":39,"tag":93,"props":2820,"children":2821},{},[2822,2824],{"type":45,"value":2823},"Custom APIs → ",{"type":39,"tag":66,"props":2825,"children":2827},{"className":2826},[],[2828],{"type":45,"value":2829},"integrations.custom.call()",{"type":39,"tag":93,"props":2831,"children":2832},{},[2833,2835,2841],{"type":45,"value":2834},"App-scoped OAuth (app builder's account) → ",{"type":39,"tag":66,"props":2836,"children":2838},{"className":2837},[],[2839],{"type":45,"value":2840},"asServiceRole.connectors.getConnection()",{"type":45,"value":2842}," (backend only)",{"type":39,"tag":48,"props":2844,"children":2845},{},[2846],{"type":39,"tag":75,"props":2847,"children":2848},{},[2849],{"type":45,"value":2850},"Tracking and analytics?",{"type":39,"tag":119,"props":2852,"children":2853},{},[2854,2865],{"type":39,"tag":93,"props":2855,"children":2856},{},[2857,2859],{"type":45,"value":2858},"Track custom events → ",{"type":39,"tag":66,"props":2860,"children":2862},{"className":2861},[],[2863],{"type":45,"value":2864},"analytics.track()",{"type":39,"tag":93,"props":2866,"children":2867},{},[2868,2870],{"type":45,"value":2869},"Log page views\u002Factivity → ",{"type":39,"tag":66,"props":2871,"children":2873},{"className":2872},[],[2874],{"type":45,"value":2875},"appLogs.logUserInApp()",{"type":39,"tag":54,"props":2877,"children":2879},{"id":2878},"common-patterns",[2880],{"type":45,"value":2881},"Common Patterns",{"type":39,"tag":1068,"props":2883,"children":2885},{"id":2884},"filter-and-sort-data",[2886],{"type":45,"value":2887},"Filter and Sort Data",{"type":39,"tag":435,"props":2889,"children":2891},{"className":437,"code":2890,"language":439,"meta":440,"style":440},"const pendingTasks = await base44.entities.Task.filter(\n  { status: \"pending\", assignedTo: userId },  \u002F\u002F query\n  \"-created_date\",                             \u002F\u002F sort (descending)\n  10,                                          \u002F\u002F limit\n  0                                            \u002F\u002F skip\n);\n",[2892],{"type":39,"tag":66,"props":2893,"children":2894},{"__ignoreMap":440},[2895,2949,3005,3031,3049,3062],{"type":39,"tag":234,"props":2896,"children":2897},{"class":447,"line":448},[2898,2902,2907,2911,2915,2919,2923,2927,2931,2935,2939,2944],{"type":39,"tag":234,"props":2899,"children":2900},{"style":481},[2901],{"type":45,"value":484},{"type":39,"tag":234,"props":2903,"children":2904},{"style":487},[2905],{"type":45,"value":2906}," pendingTasks ",{"type":39,"tag":234,"props":2908,"children":2909},{"style":493},[2910],{"type":45,"value":496},{"type":39,"tag":234,"props":2912,"children":2913},{"style":499},[2914],{"type":45,"value":502},{"type":39,"tag":234,"props":2916,"children":2917},{"style":487},[2918],{"type":45,"value":507},{"type":39,"tag":234,"props":2920,"children":2921},{"style":493},[2922],{"type":45,"value":512},{"type":39,"tag":234,"props":2924,"children":2925},{"style":487},[2926],{"type":45,"value":517},{"type":39,"tag":234,"props":2928,"children":2929},{"style":493},[2930],{"type":45,"value":512},{"type":39,"tag":234,"props":2932,"children":2933},{"style":487},[2934],{"type":45,"value":526},{"type":39,"tag":234,"props":2936,"children":2937},{"style":493},[2938],{"type":45,"value":512},{"type":39,"tag":234,"props":2940,"children":2941},{"style":533},[2942],{"type":45,"value":2943},"filter",{"type":39,"tag":234,"props":2945,"children":2946},{"style":487},[2947],{"type":45,"value":2948},"(\n",{"type":39,"tag":234,"props":2950,"children":2951},{"class":447,"line":458},[2952,2957,2961,2965,2969,2973,2977,2981,2986,2990,2995,3000],{"type":39,"tag":234,"props":2953,"children":2954},{"style":493},[2955],{"type":45,"value":2956},"  {",{"type":39,"tag":234,"props":2958,"children":2959},{"style":549},[2960],{"type":45,"value":583},{"type":39,"tag":234,"props":2962,"children":2963},{"style":493},[2964],{"type":45,"value":557},{"type":39,"tag":234,"props":2966,"children":2967},{"style":493},[2968],{"type":45,"value":562},{"type":39,"tag":234,"props":2970,"children":2971},{"style":565},[2972],{"type":45,"value":596},{"type":39,"tag":234,"props":2974,"children":2975},{"style":493},[2976],{"type":45,"value":573},{"type":39,"tag":234,"props":2978,"children":2979},{"style":493},[2980],{"type":45,"value":578},{"type":39,"tag":234,"props":2982,"children":2983},{"style":549},[2984],{"type":45,"value":2985}," assignedTo",{"type":39,"tag":234,"props":2987,"children":2988},{"style":493},[2989],{"type":45,"value":557},{"type":39,"tag":234,"props":2991,"children":2992},{"style":487},[2993],{"type":45,"value":2994}," userId ",{"type":39,"tag":234,"props":2996,"children":2997},{"style":493},[2998],{"type":45,"value":2999},"},",{"type":39,"tag":234,"props":3001,"children":3002},{"style":452},[3003],{"type":45,"value":3004},"  \u002F\u002F query\n",{"type":39,"tag":234,"props":3006,"children":3007},{"class":447,"line":468},[3008,3013,3018,3022,3026],{"type":39,"tag":234,"props":3009,"children":3010},{"style":493},[3011],{"type":45,"value":3012},"  \"",{"type":39,"tag":234,"props":3014,"children":3015},{"style":565},[3016],{"type":45,"value":3017},"-created_date",{"type":39,"tag":234,"props":3019,"children":3020},{"style":493},[3021],{"type":45,"value":573},{"type":39,"tag":234,"props":3023,"children":3024},{"style":493},[3025],{"type":45,"value":578},{"type":39,"tag":234,"props":3027,"children":3028},{"style":452},[3029],{"type":45,"value":3030},"                             \u002F\u002F sort (descending)\n",{"type":39,"tag":234,"props":3032,"children":3033},{"class":447,"line":477},[3034,3040,3044],{"type":39,"tag":234,"props":3035,"children":3037},{"style":3036},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[3038],{"type":45,"value":3039},"  10",{"type":39,"tag":234,"props":3041,"children":3042},{"style":493},[3043],{"type":45,"value":578},{"type":39,"tag":234,"props":3045,"children":3046},{"style":452},[3047],{"type":45,"value":3048},"                                          \u002F\u002F limit\n",{"type":39,"tag":234,"props":3050,"children":3051},{"class":447,"line":617},[3052,3057],{"type":39,"tag":234,"props":3053,"children":3054},{"style":3036},[3055],{"type":45,"value":3056},"  0",{"type":39,"tag":234,"props":3058,"children":3059},{"style":452},[3060],{"type":45,"value":3061},"                                            \u002F\u002F skip\n",{"type":39,"tag":234,"props":3063,"children":3064},{"class":447,"line":676},[3065,3069],{"type":39,"tag":234,"props":3066,"children":3067},{"style":487},[3068],{"type":45,"value":212},{"type":39,"tag":234,"props":3070,"children":3071},{"style":493},[3072],{"type":45,"value":614},{"type":39,"tag":1068,"props":3074,"children":3076},{"id":3075},"protected-routes-check-auth",[3077],{"type":45,"value":3078},"Protected Routes (check auth)",{"type":39,"tag":435,"props":3080,"children":3082},{"className":437,"code":3081,"language":439,"meta":440,"style":440},"const user = await base44.auth.me();\nif (!user) {\n  \u002F\u002F Navigate to your custom login page\n  navigate('\u002Flogin', { state: { returnTo: window.location.pathname } });\n  return;\n}\n",[3083],{"type":39,"tag":66,"props":3084,"children":3085},{"__ignoreMap":440},[3086,3133,3159,3167,3262,3274],{"type":39,"tag":234,"props":3087,"children":3088},{"class":447,"line":448},[3089,3093,3097,3101,3105,3109,3113,3117,3121,3125,3129],{"type":39,"tag":234,"props":3090,"children":3091},{"style":481},[3092],{"type":45,"value":484},{"type":39,"tag":234,"props":3094,"children":3095},{"style":487},[3096],{"type":45,"value":797},{"type":39,"tag":234,"props":3098,"children":3099},{"style":493},[3100],{"type":45,"value":496},{"type":39,"tag":234,"props":3102,"children":3103},{"style":499},[3104],{"type":45,"value":502},{"type":39,"tag":234,"props":3106,"children":3107},{"style":487},[3108],{"type":45,"value":507},{"type":39,"tag":234,"props":3110,"children":3111},{"style":493},[3112],{"type":45,"value":512},{"type":39,"tag":234,"props":3114,"children":3115},{"style":487},[3116],{"type":45,"value":818},{"type":39,"tag":234,"props":3118,"children":3119},{"style":493},[3120],{"type":45,"value":512},{"type":39,"tag":234,"props":3122,"children":3123},{"style":533},[3124],{"type":45,"value":827},{"type":39,"tag":234,"props":3126,"children":3127},{"style":487},[3128],{"type":45,"value":669},{"type":39,"tag":234,"props":3130,"children":3131},{"style":493},[3132],{"type":45,"value":614},{"type":39,"tag":234,"props":3134,"children":3135},{"class":447,"line":458},[3136,3141,3145,3150,3155],{"type":39,"tag":234,"props":3137,"children":3138},{"style":499},[3139],{"type":45,"value":3140},"if",{"type":39,"tag":234,"props":3142,"children":3143},{"style":487},[3144],{"type":45,"value":2481},{"type":39,"tag":234,"props":3146,"children":3147},{"style":493},[3148],{"type":45,"value":3149},"!",{"type":39,"tag":234,"props":3151,"children":3152},{"style":487},[3153],{"type":45,"value":3154},"user) ",{"type":39,"tag":234,"props":3156,"children":3157},{"style":493},[3158],{"type":45,"value":2418},{"type":39,"tag":234,"props":3160,"children":3161},{"class":447,"line":468},[3162],{"type":39,"tag":234,"props":3163,"children":3164},{"style":452},[3165],{"type":45,"value":3166},"  \u002F\u002F Navigate to your custom login page\n",{"type":39,"tag":234,"props":3168,"children":3169},{"class":447,"line":477},[3170,3175,3179,3184,3189,3193,3197,3201,3206,3210,3214,3219,3223,3228,3232,3237,3241,3246,3250,3254,3258],{"type":39,"tag":234,"props":3171,"children":3172},{"style":533},[3173],{"type":45,"value":3174},"  navigate",{"type":39,"tag":234,"props":3176,"children":3177},{"style":549},[3178],{"type":45,"value":541},{"type":39,"tag":234,"props":3180,"children":3181},{"style":493},[3182],{"type":45,"value":3183},"'",{"type":39,"tag":234,"props":3185,"children":3186},{"style":565},[3187],{"type":45,"value":3188},"\u002Flogin",{"type":39,"tag":234,"props":3190,"children":3191},{"style":493},[3192],{"type":45,"value":3183},{"type":39,"tag":234,"props":3194,"children":3195},{"style":493},[3196],{"type":45,"value":578},{"type":39,"tag":234,"props":3198,"children":3199},{"style":493},[3200],{"type":45,"value":734},{"type":39,"tag":234,"props":3202,"children":3203},{"style":549},[3204],{"type":45,"value":3205}," state",{"type":39,"tag":234,"props":3207,"children":3208},{"style":493},[3209],{"type":45,"value":557},{"type":39,"tag":234,"props":3211,"children":3212},{"style":493},[3213],{"type":45,"value":734},{"type":39,"tag":234,"props":3215,"children":3216},{"style":549},[3217],{"type":45,"value":3218}," returnTo",{"type":39,"tag":234,"props":3220,"children":3221},{"style":493},[3222],{"type":45,"value":557},{"type":39,"tag":234,"props":3224,"children":3225},{"style":487},[3226],{"type":45,"value":3227}," window",{"type":39,"tag":234,"props":3229,"children":3230},{"style":493},[3231],{"type":45,"value":512},{"type":39,"tag":234,"props":3233,"children":3234},{"style":487},[3235],{"type":45,"value":3236},"location",{"type":39,"tag":234,"props":3238,"children":3239},{"style":493},[3240],{"type":45,"value":512},{"type":39,"tag":234,"props":3242,"children":3243},{"style":487},[3244],{"type":45,"value":3245},"pathname",{"type":39,"tag":234,"props":3247,"children":3248},{"style":493},[3249],{"type":45,"value":605},{"type":39,"tag":234,"props":3251,"children":3252},{"style":493},[3253],{"type":45,"value":605},{"type":39,"tag":234,"props":3255,"children":3256},{"style":549},[3257],{"type":45,"value":212},{"type":39,"tag":234,"props":3259,"children":3260},{"style":493},[3261],{"type":45,"value":614},{"type":39,"tag":234,"props":3263,"children":3264},{"class":447,"line":617},[3265,3270],{"type":39,"tag":234,"props":3266,"children":3267},{"style":499},[3268],{"type":45,"value":3269},"  return",{"type":39,"tag":234,"props":3271,"children":3272},{"style":493},[3273],{"type":45,"value":614},{"type":39,"tag":234,"props":3275,"children":3276},{"class":447,"line":676},[3277],{"type":39,"tag":234,"props":3278,"children":3279},{"style":493},[3280],{"type":45,"value":3281},"}\n",{"type":39,"tag":1068,"props":3283,"children":3285},{"id":3284},"backend-function-call",[3286],{"type":45,"value":3287},"Backend Function Call",{"type":39,"tag":435,"props":3289,"children":3291},{"className":437,"code":3290,"language":439,"meta":440,"style":440},"\u002F\u002F Frontend\nconst result = await base44.functions.invoke(\"processOrder\", {\n  orderId: \"123\",\n  action: \"ship\"\n});\n\n\u002F\u002F Backend function (Deno)\nimport { createClientFromRequest } from \"npm:@base44\u002Fsdk\";\n\nDeno.serve(async (req) => {\n  const base44 = createClientFromRequest(req);\n  const { orderId, action } = await req.json();\n  \u002F\u002F Process with service role for admin access\n  const order = await base44.asServiceRole.entities.Orders.get(orderId);\n  return Response.json({ success: true });\n});\n",[3292],{"type":39,"tag":66,"props":3293,"children":3294},{"__ignoreMap":440},[3295,3303,3369,3398,3424,3439,3446,3454,3495,3502,3550,3588,3648,3657,3734,3790],{"type":39,"tag":234,"props":3296,"children":3297},{"class":447,"line":448},[3298],{"type":39,"tag":234,"props":3299,"children":3300},{"style":452},[3301],{"type":45,"value":3302},"\u002F\u002F Frontend\n",{"type":39,"tag":234,"props":3304,"children":3305},{"class":447,"line":458},[3306,3310,3315,3319,3323,3327,3331,3335,3339,3344,3348,3352,3357,3361,3365],{"type":39,"tag":234,"props":3307,"children":3308},{"style":481},[3309],{"type":45,"value":484},{"type":39,"tag":234,"props":3311,"children":3312},{"style":487},[3313],{"type":45,"value":3314}," result ",{"type":39,"tag":234,"props":3316,"children":3317},{"style":493},[3318],{"type":45,"value":496},{"type":39,"tag":234,"props":3320,"children":3321},{"style":499},[3322],{"type":45,"value":502},{"type":39,"tag":234,"props":3324,"children":3325},{"style":487},[3326],{"type":45,"value":507},{"type":39,"tag":234,"props":3328,"children":3329},{"style":493},[3330],{"type":45,"value":512},{"type":39,"tag":234,"props":3332,"children":3333},{"style":487},[3334],{"type":45,"value":1804},{"type":39,"tag":234,"props":3336,"children":3337},{"style":493},[3338],{"type":45,"value":512},{"type":39,"tag":234,"props":3340,"children":3341},{"style":533},[3342],{"type":45,"value":3343},"invoke",{"type":39,"tag":234,"props":3345,"children":3346},{"style":487},[3347],{"type":45,"value":541},{"type":39,"tag":234,"props":3349,"children":3350},{"style":493},[3351],{"type":45,"value":573},{"type":39,"tag":234,"props":3353,"children":3354},{"style":565},[3355],{"type":45,"value":3356},"processOrder",{"type":39,"tag":234,"props":3358,"children":3359},{"style":493},[3360],{"type":45,"value":573},{"type":39,"tag":234,"props":3362,"children":3363},{"style":493},[3364],{"type":45,"value":578},{"type":39,"tag":234,"props":3366,"children":3367},{"style":493},[3368],{"type":45,"value":2464},{"type":39,"tag":234,"props":3370,"children":3371},{"class":447,"line":468},[3372,3377,3381,3385,3390,3394],{"type":39,"tag":234,"props":3373,"children":3374},{"style":549},[3375],{"type":45,"value":3376},"  orderId",{"type":39,"tag":234,"props":3378,"children":3379},{"style":493},[3380],{"type":45,"value":557},{"type":39,"tag":234,"props":3382,"children":3383},{"style":493},[3384],{"type":45,"value":562},{"type":39,"tag":234,"props":3386,"children":3387},{"style":565},[3388],{"type":45,"value":3389},"123",{"type":39,"tag":234,"props":3391,"children":3392},{"style":493},[3393],{"type":45,"value":573},{"type":39,"tag":234,"props":3395,"children":3396},{"style":493},[3397],{"type":45,"value":2447},{"type":39,"tag":234,"props":3399,"children":3400},{"class":447,"line":477},[3401,3406,3410,3414,3419],{"type":39,"tag":234,"props":3402,"children":3403},{"style":549},[3404],{"type":45,"value":3405},"  action",{"type":39,"tag":234,"props":3407,"children":3408},{"style":493},[3409],{"type":45,"value":557},{"type":39,"tag":234,"props":3411,"children":3412},{"style":493},[3413],{"type":45,"value":562},{"type":39,"tag":234,"props":3415,"children":3416},{"style":565},[3417],{"type":45,"value":3418},"ship",{"type":39,"tag":234,"props":3420,"children":3421},{"style":493},[3422],{"type":45,"value":3423},"\"\n",{"type":39,"tag":234,"props":3425,"children":3426},{"class":447,"line":617},[3427,3431,3435],{"type":39,"tag":234,"props":3428,"children":3429},{"style":493},[3430],{"type":45,"value":2574},{"type":39,"tag":234,"props":3432,"children":3433},{"style":487},[3434],{"type":45,"value":212},{"type":39,"tag":234,"props":3436,"children":3437},{"style":493},[3438],{"type":45,"value":614},{"type":39,"tag":234,"props":3440,"children":3441},{"class":447,"line":676},[3442],{"type":39,"tag":234,"props":3443,"children":3444},{"emptyLinePlaceholder":462},[3445],{"type":45,"value":465},{"type":39,"tag":234,"props":3447,"children":3448},{"class":447,"line":770},[3449],{"type":39,"tag":234,"props":3450,"children":3451},{"style":452},[3452],{"type":45,"value":3453},"\u002F\u002F Backend function (Deno)\n",{"type":39,"tag":234,"props":3455,"children":3456},{"class":447,"line":778},[3457,3461,3465,3470,3474,3478,3482,3487,3491],{"type":39,"tag":234,"props":3458,"children":3459},{"style":499},[3460],{"type":45,"value":858},{"type":39,"tag":234,"props":3462,"children":3463},{"style":493},[3464],{"type":45,"value":734},{"type":39,"tag":234,"props":3466,"children":3467},{"style":487},[3468],{"type":45,"value":3469}," createClientFromRequest",{"type":39,"tag":234,"props":3471,"children":3472},{"style":493},[3473],{"type":45,"value":605},{"type":39,"tag":234,"props":3475,"children":3476},{"style":499},[3477],{"type":45,"value":876},{"type":39,"tag":234,"props":3479,"children":3480},{"style":493},[3481],{"type":45,"value":562},{"type":39,"tag":234,"props":3483,"children":3484},{"style":565},[3485],{"type":45,"value":3486},"npm:@base44\u002Fsdk",{"type":39,"tag":234,"props":3488,"children":3489},{"style":493},[3490],{"type":45,"value":573},{"type":39,"tag":234,"props":3492,"children":3493},{"style":493},[3494],{"type":45,"value":614},{"type":39,"tag":234,"props":3496,"children":3497},{"class":447,"line":787},[3498],{"type":39,"tag":234,"props":3499,"children":3500},{"emptyLinePlaceholder":462},[3501],{"type":45,"value":465},{"type":39,"tag":234,"props":3503,"children":3505},{"class":447,"line":3504},10,[3506,3511,3515,3520,3524,3529,3533,3538,3542,3546],{"type":39,"tag":234,"props":3507,"children":3508},{"style":487},[3509],{"type":45,"value":3510},"Deno",{"type":39,"tag":234,"props":3512,"children":3513},{"style":493},[3514],{"type":45,"value":512},{"type":39,"tag":234,"props":3516,"children":3517},{"style":533},[3518],{"type":45,"value":3519},"serve",{"type":39,"tag":234,"props":3521,"children":3522},{"style":487},[3523],{"type":45,"value":541},{"type":39,"tag":234,"props":3525,"children":3526},{"style":481},[3527],{"type":45,"value":3528},"async",{"type":39,"tag":234,"props":3530,"children":3531},{"style":493},[3532],{"type":45,"value":2481},{"type":39,"tag":234,"props":3534,"children":3535},{"style":2484},[3536],{"type":45,"value":3537},"req",{"type":39,"tag":234,"props":3539,"children":3540},{"style":493},[3541],{"type":45,"value":212},{"type":39,"tag":234,"props":3543,"children":3544},{"style":481},[3545],{"type":45,"value":2496},{"type":39,"tag":234,"props":3547,"children":3548},{"style":493},[3549],{"type":45,"value":2464},{"type":39,"tag":234,"props":3551,"children":3553},{"class":447,"line":3552},11,[3554,3559,3563,3568,3572,3576,3580,3584],{"type":39,"tag":234,"props":3555,"children":3556},{"style":481},[3557],{"type":45,"value":3558},"  const",{"type":39,"tag":234,"props":3560,"children":3561},{"style":487},[3562],{"type":45,"value":507},{"type":39,"tag":234,"props":3564,"children":3565},{"style":493},[3566],{"type":45,"value":3567}," =",{"type":39,"tag":234,"props":3569,"children":3570},{"style":533},[3571],{"type":45,"value":3469},{"type":39,"tag":234,"props":3573,"children":3574},{"style":549},[3575],{"type":45,"value":541},{"type":39,"tag":234,"props":3577,"children":3578},{"style":487},[3579],{"type":45,"value":3537},{"type":39,"tag":234,"props":3581,"children":3582},{"style":549},[3583],{"type":45,"value":212},{"type":39,"tag":234,"props":3585,"children":3586},{"style":493},[3587],{"type":45,"value":614},{"type":39,"tag":234,"props":3589,"children":3591},{"class":447,"line":3590},12,[3592,3596,3600,3605,3609,3614,3618,3622,3626,3631,3635,3640,3644],{"type":39,"tag":234,"props":3593,"children":3594},{"style":481},[3595],{"type":45,"value":3558},{"type":39,"tag":234,"props":3597,"children":3598},{"style":493},[3599],{"type":45,"value":734},{"type":39,"tag":234,"props":3601,"children":3602},{"style":487},[3603],{"type":45,"value":3604}," orderId",{"type":39,"tag":234,"props":3606,"children":3607},{"style":493},[3608],{"type":45,"value":578},{"type":39,"tag":234,"props":3610,"children":3611},{"style":487},[3612],{"type":45,"value":3613}," action",{"type":39,"tag":234,"props":3615,"children":3616},{"style":493},[3617],{"type":45,"value":605},{"type":39,"tag":234,"props":3619,"children":3620},{"style":493},[3621],{"type":45,"value":3567},{"type":39,"tag":234,"props":3623,"children":3624},{"style":499},[3625],{"type":45,"value":502},{"type":39,"tag":234,"props":3627,"children":3628},{"style":487},[3629],{"type":45,"value":3630}," req",{"type":39,"tag":234,"props":3632,"children":3633},{"style":493},[3634],{"type":45,"value":512},{"type":39,"tag":234,"props":3636,"children":3637},{"style":533},[3638],{"type":45,"value":3639},"json",{"type":39,"tag":234,"props":3641,"children":3642},{"style":549},[3643],{"type":45,"value":669},{"type":39,"tag":234,"props":3645,"children":3646},{"style":493},[3647],{"type":45,"value":614},{"type":39,"tag":234,"props":3649,"children":3651},{"class":447,"line":3650},13,[3652],{"type":39,"tag":234,"props":3653,"children":3654},{"style":452},[3655],{"type":45,"value":3656},"  \u002F\u002F Process with service role for admin access\n",{"type":39,"tag":234,"props":3658,"children":3660},{"class":447,"line":3659},14,[3661,3665,3670,3674,3678,3682,3686,3691,3695,3699,3703,3708,3712,3717,3721,3726,3730],{"type":39,"tag":234,"props":3662,"children":3663},{"style":481},[3664],{"type":45,"value":3558},{"type":39,"tag":234,"props":3666,"children":3667},{"style":487},[3668],{"type":45,"value":3669}," order",{"type":39,"tag":234,"props":3671,"children":3672},{"style":493},[3673],{"type":45,"value":3567},{"type":39,"tag":234,"props":3675,"children":3676},{"style":499},[3677],{"type":45,"value":502},{"type":39,"tag":234,"props":3679,"children":3680},{"style":487},[3681],{"type":45,"value":507},{"type":39,"tag":234,"props":3683,"children":3684},{"style":493},[3685],{"type":45,"value":512},{"type":39,"tag":234,"props":3687,"children":3688},{"style":487},[3689],{"type":45,"value":3690},"asServiceRole",{"type":39,"tag":234,"props":3692,"children":3693},{"style":493},[3694],{"type":45,"value":512},{"type":39,"tag":234,"props":3696,"children":3697},{"style":487},[3698],{"type":45,"value":517},{"type":39,"tag":234,"props":3700,"children":3701},{"style":493},[3702],{"type":45,"value":512},{"type":39,"tag":234,"props":3704,"children":3705},{"style":487},[3706],{"type":45,"value":3707},"Orders",{"type":39,"tag":234,"props":3709,"children":3710},{"style":493},[3711],{"type":45,"value":512},{"type":39,"tag":234,"props":3713,"children":3714},{"style":533},[3715],{"type":45,"value":3716},"get",{"type":39,"tag":234,"props":3718,"children":3719},{"style":549},[3720],{"type":45,"value":541},{"type":39,"tag":234,"props":3722,"children":3723},{"style":487},[3724],{"type":45,"value":3725},"orderId",{"type":39,"tag":234,"props":3727,"children":3728},{"style":549},[3729],{"type":45,"value":212},{"type":39,"tag":234,"props":3731,"children":3732},{"style":493},[3733],{"type":45,"value":614},{"type":39,"tag":234,"props":3735,"children":3737},{"class":447,"line":3736},15,[3738,3742,3747,3751,3755,3759,3763,3768,3772,3778,3782,3786],{"type":39,"tag":234,"props":3739,"children":3740},{"style":499},[3741],{"type":45,"value":3269},{"type":39,"tag":234,"props":3743,"children":3744},{"style":487},[3745],{"type":45,"value":3746}," Response",{"type":39,"tag":234,"props":3748,"children":3749},{"style":493},[3750],{"type":45,"value":512},{"type":39,"tag":234,"props":3752,"children":3753},{"style":533},[3754],{"type":45,"value":3639},{"type":39,"tag":234,"props":3756,"children":3757},{"style":549},[3758],{"type":45,"value":541},{"type":39,"tag":234,"props":3760,"children":3761},{"style":493},[3762],{"type":45,"value":546},{"type":39,"tag":234,"props":3764,"children":3765},{"style":549},[3766],{"type":45,"value":3767}," success",{"type":39,"tag":234,"props":3769,"children":3770},{"style":493},[3771],{"type":45,"value":557},{"type":39,"tag":234,"props":3773,"children":3775},{"style":3774},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[3776],{"type":45,"value":3777}," true",{"type":39,"tag":234,"props":3779,"children":3780},{"style":493},[3781],{"type":45,"value":605},{"type":39,"tag":234,"props":3783,"children":3784},{"style":549},[3785],{"type":45,"value":212},{"type":39,"tag":234,"props":3787,"children":3788},{"style":493},[3789],{"type":45,"value":614},{"type":39,"tag":234,"props":3791,"children":3793},{"class":447,"line":3792},16,[3794,3798,3802],{"type":39,"tag":234,"props":3795,"children":3796},{"style":493},[3797],{"type":45,"value":2574},{"type":39,"tag":234,"props":3799,"children":3800},{"style":487},[3801],{"type":45,"value":212},{"type":39,"tag":234,"props":3803,"children":3804},{"style":493},[3805],{"type":45,"value":614},{"type":39,"tag":1068,"props":3807,"children":3809},{"id":3808},"service-role-access",[3810],{"type":45,"value":3811},"Service Role Access",{"type":39,"tag":48,"props":3813,"children":3814},{},[3815,3817,3822],{"type":45,"value":3816},"Use ",{"type":39,"tag":66,"props":3818,"children":3820},{"className":3819},[],[3821],{"type":45,"value":3690},{"type":45,"value":3823}," in backend functions for admin-level operations:",{"type":39,"tag":435,"props":3825,"children":3827},{"className":437,"code":3826,"language":439,"meta":440,"style":440},"\u002F\u002F User mode - respects permissions\nconst myTasks = await base44.entities.Task.list();\n\n\u002F\u002F Service role - full access (backend only)\nconst allTasks = await base44.asServiceRole.entities.Task.list();\nconst token = await base44.asServiceRole.connectors.getAccessToken(\"slack\");\n",[3828],{"type":39,"tag":66,"props":3829,"children":3830},{"__ignoreMap":440},[3831,3839,3895,3902,3910,3974],{"type":39,"tag":234,"props":3832,"children":3833},{"class":447,"line":448},[3834],{"type":39,"tag":234,"props":3835,"children":3836},{"style":452},[3837],{"type":45,"value":3838},"\u002F\u002F User mode - respects permissions\n",{"type":39,"tag":234,"props":3840,"children":3841},{"class":447,"line":458},[3842,3846,3851,3855,3859,3863,3867,3871,3875,3879,3883,3887,3891],{"type":39,"tag":234,"props":3843,"children":3844},{"style":481},[3845],{"type":45,"value":484},{"type":39,"tag":234,"props":3847,"children":3848},{"style":487},[3849],{"type":45,"value":3850}," myTasks ",{"type":39,"tag":234,"props":3852,"children":3853},{"style":493},[3854],{"type":45,"value":496},{"type":39,"tag":234,"props":3856,"children":3857},{"style":499},[3858],{"type":45,"value":502},{"type":39,"tag":234,"props":3860,"children":3861},{"style":487},[3862],{"type":45,"value":507},{"type":39,"tag":234,"props":3864,"children":3865},{"style":493},[3866],{"type":45,"value":512},{"type":39,"tag":234,"props":3868,"children":3869},{"style":487},[3870],{"type":45,"value":517},{"type":39,"tag":234,"props":3872,"children":3873},{"style":493},[3874],{"type":45,"value":512},{"type":39,"tag":234,"props":3876,"children":3877},{"style":487},[3878],{"type":45,"value":526},{"type":39,"tag":234,"props":3880,"children":3881},{"style":493},[3882],{"type":45,"value":512},{"type":39,"tag":234,"props":3884,"children":3885},{"style":533},[3886],{"type":45,"value":664},{"type":39,"tag":234,"props":3888,"children":3889},{"style":487},[3890],{"type":45,"value":669},{"type":39,"tag":234,"props":3892,"children":3893},{"style":493},[3894],{"type":45,"value":614},{"type":39,"tag":234,"props":3896,"children":3897},{"class":447,"line":468},[3898],{"type":39,"tag":234,"props":3899,"children":3900},{"emptyLinePlaceholder":462},[3901],{"type":45,"value":465},{"type":39,"tag":234,"props":3903,"children":3904},{"class":447,"line":477},[3905],{"type":39,"tag":234,"props":3906,"children":3907},{"style":452},[3908],{"type":45,"value":3909},"\u002F\u002F Service role - full access (backend only)\n",{"type":39,"tag":234,"props":3911,"children":3912},{"class":447,"line":617},[3913,3917,3922,3926,3930,3934,3938,3942,3946,3950,3954,3958,3962,3966,3970],{"type":39,"tag":234,"props":3914,"children":3915},{"style":481},[3916],{"type":45,"value":484},{"type":39,"tag":234,"props":3918,"children":3919},{"style":487},[3920],{"type":45,"value":3921}," allTasks ",{"type":39,"tag":234,"props":3923,"children":3924},{"style":493},[3925],{"type":45,"value":496},{"type":39,"tag":234,"props":3927,"children":3928},{"style":499},[3929],{"type":45,"value":502},{"type":39,"tag":234,"props":3931,"children":3932},{"style":487},[3933],{"type":45,"value":507},{"type":39,"tag":234,"props":3935,"children":3936},{"style":493},[3937],{"type":45,"value":512},{"type":39,"tag":234,"props":3939,"children":3940},{"style":487},[3941],{"type":45,"value":3690},{"type":39,"tag":234,"props":3943,"children":3944},{"style":493},[3945],{"type":45,"value":512},{"type":39,"tag":234,"props":3947,"children":3948},{"style":487},[3949],{"type":45,"value":517},{"type":39,"tag":234,"props":3951,"children":3952},{"style":493},[3953],{"type":45,"value":512},{"type":39,"tag":234,"props":3955,"children":3956},{"style":487},[3957],{"type":45,"value":526},{"type":39,"tag":234,"props":3959,"children":3960},{"style":493},[3961],{"type":45,"value":512},{"type":39,"tag":234,"props":3963,"children":3964},{"style":533},[3965],{"type":45,"value":664},{"type":39,"tag":234,"props":3967,"children":3968},{"style":487},[3969],{"type":45,"value":669},{"type":39,"tag":234,"props":3971,"children":3972},{"style":493},[3973],{"type":45,"value":614},{"type":39,"tag":234,"props":3975,"children":3976},{"class":447,"line":676},[3977,3981,3986,3990,3994,3998,4002,4006,4010,4015,4019,4024,4028,4032,4037,4041,4045],{"type":39,"tag":234,"props":3978,"children":3979},{"style":481},[3980],{"type":45,"value":484},{"type":39,"tag":234,"props":3982,"children":3983},{"style":487},[3984],{"type":45,"value":3985}," token ",{"type":39,"tag":234,"props":3987,"children":3988},{"style":493},[3989],{"type":45,"value":496},{"type":39,"tag":234,"props":3991,"children":3992},{"style":499},[3993],{"type":45,"value":502},{"type":39,"tag":234,"props":3995,"children":3996},{"style":487},[3997],{"type":45,"value":507},{"type":39,"tag":234,"props":3999,"children":4000},{"style":493},[4001],{"type":45,"value":512},{"type":39,"tag":234,"props":4003,"children":4004},{"style":487},[4005],{"type":45,"value":3690},{"type":39,"tag":234,"props":4007,"children":4008},{"style":493},[4009],{"type":45,"value":512},{"type":39,"tag":234,"props":4011,"children":4012},{"style":487},[4013],{"type":45,"value":4014},"connectors",{"type":39,"tag":234,"props":4016,"children":4017},{"style":493},[4018],{"type":45,"value":512},{"type":39,"tag":234,"props":4020,"children":4021},{"style":533},[4022],{"type":45,"value":4023},"getAccessToken",{"type":39,"tag":234,"props":4025,"children":4026},{"style":487},[4027],{"type":45,"value":541},{"type":39,"tag":234,"props":4029,"children":4030},{"style":493},[4031],{"type":45,"value":573},{"type":39,"tag":234,"props":4033,"children":4034},{"style":565},[4035],{"type":45,"value":4036},"slack",{"type":39,"tag":234,"props":4038,"children":4039},{"style":493},[4040],{"type":45,"value":573},{"type":39,"tag":234,"props":4042,"children":4043},{"style":487},[4044],{"type":45,"value":212},{"type":39,"tag":234,"props":4046,"children":4047},{"style":493},[4048],{"type":45,"value":614},{"type":39,"tag":54,"props":4050,"children":4052},{"id":4051},"frontend-vs-backend",[4053],{"type":45,"value":4054},"Frontend vs Backend",{"type":39,"tag":1075,"props":4056,"children":4057},{},[4058,4078],{"type":39,"tag":1079,"props":4059,"children":4060},{},[4061],{"type":39,"tag":1083,"props":4062,"children":4063},{},[4064,4069,4074],{"type":39,"tag":1087,"props":4065,"children":4066},{},[4067],{"type":45,"value":4068},"Capability",{"type":39,"tag":1087,"props":4070,"children":4071},{},[4072],{"type":45,"value":4073},"Frontend",{"type":39,"tag":1087,"props":4075,"children":4076},{},[4077],{"type":45,"value":13},{"type":39,"tag":1098,"props":4079,"children":4080},{},[4081,4103,4122,4141,4160,4180,4199,4218,4237,4256,4277,4298],{"type":39,"tag":1083,"props":4082,"children":4083},{},[4084,4094,4099],{"type":39,"tag":1105,"props":4085,"children":4086},{},[4087,4092],{"type":39,"tag":66,"props":4088,"children":4090},{"className":4089},[],[4091],{"type":45,"value":517},{"type":45,"value":4093}," (user's data)",{"type":39,"tag":1105,"props":4095,"children":4096},{},[4097],{"type":45,"value":4098},"Yes",{"type":39,"tag":1105,"props":4100,"children":4101},{},[4102],{"type":45,"value":4098},{"type":39,"tag":1083,"props":4104,"children":4105},{},[4106,4114,4118],{"type":39,"tag":1105,"props":4107,"children":4108},{},[4109],{"type":39,"tag":66,"props":4110,"children":4112},{"className":4111},[],[4113],{"type":45,"value":818},{"type":39,"tag":1105,"props":4115,"children":4116},{},[4117],{"type":45,"value":4098},{"type":39,"tag":1105,"props":4119,"children":4120},{},[4121],{"type":45,"value":4098},{"type":39,"tag":1083,"props":4123,"children":4124},{},[4125,4133,4137],{"type":39,"tag":1105,"props":4126,"children":4127},{},[4128],{"type":39,"tag":66,"props":4129,"children":4131},{"className":4130},[],[4132],{"type":45,"value":1778},{"type":39,"tag":1105,"props":4134,"children":4135},{},[4136],{"type":45,"value":4098},{"type":39,"tag":1105,"props":4138,"children":4139},{},[4140],{"type":45,"value":4098},{"type":39,"tag":1083,"props":4142,"children":4143},{},[4144,4152,4156],{"type":39,"tag":1105,"props":4145,"children":4146},{},[4147],{"type":39,"tag":66,"props":4148,"children":4150},{"className":4149},[],[4151],{"type":45,"value":2774},{"type":39,"tag":1105,"props":4153,"children":4154},{},[4155],{"type":45,"value":4098},{"type":39,"tag":1105,"props":4157,"children":4158},{},[4159],{"type":45,"value":4098},{"type":39,"tag":1083,"props":4161,"children":4162},{},[4163,4172,4176],{"type":39,"tag":1105,"props":4164,"children":4165},{},[4166],{"type":39,"tag":66,"props":4167,"children":4169},{"className":4168},[],[4170],{"type":45,"value":4171},"functions.fetch()",{"type":39,"tag":1105,"props":4173,"children":4174},{},[4175],{"type":45,"value":4098},{"type":39,"tag":1105,"props":4177,"children":4178},{},[4179],{"type":45,"value":4098},{"type":39,"tag":1083,"props":4181,"children":4182},{},[4183,4191,4195],{"type":39,"tag":1105,"props":4184,"children":4185},{},[4186],{"type":39,"tag":66,"props":4187,"children":4189},{"className":4188},[],[4190],{"type":45,"value":1830},{"type":39,"tag":1105,"props":4192,"children":4193},{},[4194],{"type":45,"value":4098},{"type":39,"tag":1105,"props":4196,"children":4197},{},[4198],{"type":45,"value":4098},{"type":39,"tag":1083,"props":4200,"children":4201},{},[4202,4210,4214],{"type":39,"tag":1105,"props":4203,"children":4204},{},[4205],{"type":39,"tag":66,"props":4206,"children":4208},{"className":4207},[],[4209],{"type":45,"value":1856},{"type":39,"tag":1105,"props":4211,"children":4212},{},[4213],{"type":45,"value":4098},{"type":39,"tag":1105,"props":4215,"children":4216},{},[4217],{"type":45,"value":4098},{"type":39,"tag":1083,"props":4219,"children":4220},{},[4221,4229,4233],{"type":39,"tag":1105,"props":4222,"children":4223},{},[4224],{"type":39,"tag":66,"props":4225,"children":4227},{"className":4226},[],[4228],{"type":45,"value":1882},{"type":39,"tag":1105,"props":4230,"children":4231},{},[4232],{"type":45,"value":4098},{"type":39,"tag":1105,"props":4234,"children":4235},{},[4236],{"type":45,"value":4098},{"type":39,"tag":1083,"props":4238,"children":4239},{},[4240,4248,4252],{"type":39,"tag":1105,"props":4241,"children":4242},{},[4243],{"type":39,"tag":66,"props":4244,"children":4246},{"className":4245},[],[4247],{"type":45,"value":1908},{"type":39,"tag":1105,"props":4249,"children":4250},{},[4251],{"type":45,"value":4098},{"type":39,"tag":1105,"props":4253,"children":4254},{},[4255],{"type":45,"value":4098},{"type":39,"tag":1083,"props":4257,"children":4258},{},[4259,4268,4273],{"type":39,"tag":1105,"props":4260,"children":4261},{},[4262],{"type":39,"tag":66,"props":4263,"children":4265},{"className":4264},[],[4266],{"type":45,"value":4267},"asServiceRole.*",{"type":39,"tag":1105,"props":4269,"children":4270},{},[4271],{"type":45,"value":4272},"No",{"type":39,"tag":1105,"props":4274,"children":4275},{},[4276],{"type":45,"value":4098},{"type":39,"tag":1083,"props":4278,"children":4279},{},[4280,4290,4294],{"type":39,"tag":1105,"props":4281,"children":4282},{},[4283,4288],{"type":39,"tag":66,"props":4284,"children":4286},{"className":4285},[],[4287],{"type":45,"value":1934},{"type":45,"value":4289}," (app OAuth)",{"type":39,"tag":1105,"props":4291,"children":4292},{},[4293],{"type":45,"value":4272},{"type":39,"tag":1105,"props":4295,"children":4296},{},[4297],{"type":45,"value":4098},{"type":39,"tag":1083,"props":4299,"children":4300},{},[4301,4309,4313],{"type":39,"tag":1105,"props":4302,"children":4303},{},[4304],{"type":39,"tag":66,"props":4305,"children":4307},{"className":4306},[],[4308],{"type":45,"value":1960},{"type":39,"tag":1105,"props":4310,"children":4311},{},[4312],{"type":45,"value":4272},{"type":39,"tag":1105,"props":4314,"children":4315},{},[4316],{"type":45,"value":4098},{"type":39,"tag":48,"props":4318,"children":4319},{},[4320,4322,4328,4330,4336],{"type":45,"value":4321},"Backend functions use ",{"type":39,"tag":66,"props":4323,"children":4325},{"className":4324},[],[4326],{"type":45,"value":4327},"Deno.serve()",{"type":45,"value":4329}," and ",{"type":39,"tag":66,"props":4331,"children":4333},{"className":4332},[],[4334],{"type":45,"value":4335},"createClientFromRequest(req)",{"type":45,"value":4337}," to get a properly authenticated client.",{"type":39,"tag":4339,"props":4340,"children":4341},"style",{},[4342],{"type":45,"value":4343},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":4345,"total":4462},[4346,4364,4379,4391,4409,4430,4450],{"slug":4347,"name":4347,"fn":4348,"description":4349,"org":4350,"tags":4351,"stars":22,"repoUrl":23,"updatedAt":24},"accessibility-and-inclusive-visualization","make data visualizations accessible","Make data visualizations accessible and inclusive. Use when the user needs chart or diagram accessibility guidance, text alternatives for complex visuals, color and contrast review, keyboard support, reduced-motion behavior for animation or parallax, or an accessibility QA workflow for exported figures, UML-like diagrams, and dashboards.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4352,4355,4358,4361],{"name":4353,"slug":4354,"type":15},"Accessibility","accessibility",{"name":4356,"slug":4357,"type":15},"Charts","charts",{"name":4359,"slug":4360,"type":15},"Data Visualization","data-visualization",{"name":4362,"slug":4363,"type":15},"Design","design",{"slug":4365,"name":4365,"fn":4366,"description":4367,"org":4368,"tags":4369,"stars":22,"repoUrl":23,"updatedAt":4378},"agent-browser","automate browser interactions for agents","Browser automation CLI for AI agents. Use when the user needs to interact with websites, verify dev server output, test web apps, navigate pages, fill forms, click buttons, take screenshots, extract data, or automate any browser task. Also triggers when a dev server starts so you can verify it visually.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4370,4372,4375],{"name":4371,"slug":1778,"type":15},"Agents",{"name":4373,"slug":4374,"type":15},"Browser Automation","browser-automation",{"name":4376,"slug":4377,"type":15},"Testing","testing","2026-04-06T18:41:03.44016",{"slug":4380,"name":4380,"fn":4381,"description":4382,"org":4383,"tags":4384,"stars":22,"repoUrl":23,"updatedAt":4390},"agent-browser-verify","verify dev server output with automated browser","Automated browser verification for dev servers. Triggers when a dev server starts to run a visual gut-check with agent-browser — verifies the page loads, checks for console errors, validates key UI elements, and reports pass\u002Ffail before continuing.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4385,4386,4389],{"name":4373,"slug":4374,"type":15},{"name":4387,"slug":4388,"type":15},"Local Development","local-development",{"name":4376,"slug":4377,"type":15},"2026-04-06T18:41:17.526867",{"slug":4392,"name":4392,"fn":4393,"description":4394,"org":4395,"tags":4396,"stars":22,"repoUrl":23,"updatedAt":4408},"agents-sdk","build AI agents on Cloudflare Workers","Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, or chat applications. Covers Agent class, state management, callable RPC, Workflows integration, and React hooks. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4397,4398,4401,4402,4405],{"name":4371,"slug":1778,"type":15},{"name":4399,"slug":4400,"type":15},"Cloudflare Workers","cloudflare-workers",{"name":20,"slug":21,"type":15},{"name":4403,"slug":4404,"type":15},"Serverless","serverless",{"name":4406,"slug":4407,"type":15},"WebSockets","websockets","2026-04-06T18:39:51.717063",{"slug":4410,"name":4410,"fn":4411,"description":4412,"org":4413,"tags":4414,"stars":22,"repoUrl":23,"updatedAt":4429},"ai-elements","build chat UIs with AI Elements","AI Elements component library guidance — pre-built React components for AI interfaces built on shadcn\u002Fui. Use when building chat UIs, message displays, tool call rendering, streaming responses, reasoning panels, or any AI-native interface with the AI SDK.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4415,4417,4420,4423,4426],{"name":4073,"slug":4416,"type":15},"frontend",{"name":4418,"slug":4419,"type":15},"React","react",{"name":4421,"slug":4422,"type":15},"shadcn\u002Fui","shadcn-ui",{"name":4424,"slug":4425,"type":15},"UI Components","ui-components",{"name":4427,"slug":4428,"type":15},"Vercel","vercel","2026-04-06T18:40:59.619419",{"slug":4431,"name":4431,"fn":4432,"description":4433,"org":4434,"tags":4435,"stars":22,"repoUrl":23,"updatedAt":4449},"ai-gateway","configure Vercel AI Gateway","Vercel AI Gateway expert guidance. Use when configuring model routing, provider failover, cost tracking, or managing multiple AI providers through a unified API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4436,4439,4442,4445,4448],{"name":4437,"slug":4438,"type":15},"AI Infrastructure","ai-infrastructure",{"name":4440,"slug":4441,"type":15},"Cost Optimization","cost-optimization",{"name":4443,"slug":4444,"type":15},"LLM","llm",{"name":4446,"slug":4447,"type":15},"Performance","performance",{"name":4427,"slug":4428,"type":15},"2026-04-06T18:40:44.377464",{"slug":4451,"name":4451,"fn":4452,"description":4453,"org":4454,"tags":4455,"stars":22,"repoUrl":23,"updatedAt":4461},"ai-generation-persistence","implement persistence patterns for AI generations","AI generation persistence patterns — unique IDs, addressable URLs, database storage, and cost tracking for every LLM generation",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4456,4457,4460],{"name":4440,"slug":4441,"type":15},{"name":4458,"slug":4459,"type":15},"Database","database",{"name":4443,"slug":4444,"type":15},"2026-04-06T18:41:08.513425",600,{"items":4464,"total":4659},[4465,4486,4509,4526,4540,4557,4576,4588,4602,4616,4628,4643],{"slug":4466,"name":4466,"fn":4467,"description":4468,"org":4469,"tags":4470,"stars":4483,"repoUrl":4484,"updatedAt":4485},"prior-auth-packet-builder","build healthcare prior authorization packets","Build a concise prior authorization packet from local case files and payer policy docs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4471,4474,4477,4480],{"name":4472,"slug":4473,"type":15},"Documents","documents",{"name":4475,"slug":4476,"type":15},"Healthcare","healthcare",{"name":4478,"slug":4479,"type":15},"Insurance","insurance",{"name":4481,"slug":4482,"type":15},"Regulatory Compliance","regulatory-compliance",28169,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fopenai-agents-python","2026-04-16T05:11:39.180399",{"slug":4487,"name":4487,"fn":4488,"description":4489,"org":4490,"tags":4491,"stars":4506,"repoUrl":4507,"updatedAt":4508},"aspnet-core","build ASP.NET Core web applications","Build, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development. Use when working on Blazor Web Apps, Razor Pages, MVC, Minimal APIs, controller-based Web APIs, SignalR, gRPC, middleware, dependency injection, configuration, authentication, authorization, testing, performance, deployment, or ASP.NET Core upgrades.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4492,4495,4497,4500,4503],{"name":4493,"slug":4494,"type":15},".NET","dotnet",{"name":4496,"slug":4487,"type":15},"ASP.NET Core",{"name":4498,"slug":4499,"type":15},"Blazor","blazor",{"name":4501,"slug":4502,"type":15},"C#","csharp",{"name":4504,"slug":4505,"type":15},"Web Development","web-development",23787,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fskills","2026-04-12T05:07:02.819491",{"slug":4510,"name":4510,"fn":4511,"description":4512,"org":4513,"tags":4514,"stars":4506,"repoUrl":4507,"updatedAt":4525},"chatgpt-apps","build ChatGPT Apps SDK applications","Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI. Use when Codex needs to design tools, register UI resources, wire the MCP Apps bridge or ChatGPT compatibility APIs, apply Apps SDK metadata or CSP or domain settings, or produce a docs-aligned project scaffold. Prefer a docs-first workflow by invoking the openai-docs skill or OpenAI developer docs MCP tools before generating code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4515,4518,4521,4524],{"name":4516,"slug":4517,"type":15},"Apps SDK","apps-sdk",{"name":4519,"slug":4520,"type":15},"ChatGPT","chatgpt",{"name":4522,"slug":4523,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},"2026-04-12T05:07:05.468097",{"slug":4527,"name":4527,"fn":4528,"description":4529,"org":4530,"tags":4531,"stars":4506,"repoUrl":4507,"updatedAt":4539},"cli-creator","build CLIs from API docs","Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read\u002Fwrite commands, return stable JSON, manage auth, and pair with a companion skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4532,4533,4536],{"name":17,"slug":18,"type":15},{"name":4534,"slug":4535,"type":15},"CLI","cli",{"name":4537,"slug":4538,"type":15},"Codex","codex","2026-04-12T05:07:04.132762",{"slug":4541,"name":4541,"fn":4542,"description":4543,"org":4544,"tags":4545,"stars":4506,"repoUrl":4507,"updatedAt":4556},"cloudflare-deploy","deploy projects to Cloudflare","Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4546,4549,4552,4553],{"name":4547,"slug":4548,"type":15},"Cloudflare","cloudflare",{"name":4550,"slug":4551,"type":15},"Cloudflare Pages","cloudflare-pages",{"name":4399,"slug":4400,"type":15},{"name":4554,"slug":4555,"type":15},"Deployment","deployment","2026-04-12T05:07:14.275118",{"slug":4558,"name":4558,"fn":4559,"description":4560,"org":4561,"tags":4562,"stars":4506,"repoUrl":4507,"updatedAt":4575},"define-goal","define and set measurable project goals","Help the user define a concrete, measurable goal before starting work, especially when they ask to use the goal tool, create a goal, set an objective, clarify success criteria, or turn a fuzzy intention into a quantitative outcome. Use this skill for goal creation and goal refinement only; it does not manage durable snapshots, decision logs, or long-running execution artifacts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4563,4566,4569,4572],{"name":4564,"slug":4565,"type":15},"Productivity","productivity",{"name":4567,"slug":4568,"type":15},"Project Management","project-management",{"name":4570,"slug":4571,"type":15},"Strategy","strategy",{"name":4573,"slug":4574,"type":15},"Task Management","task-management","2026-05-23T06:17:16.870838",{"slug":4577,"name":4577,"fn":4578,"description":4579,"org":4580,"tags":4581,"stars":4506,"repoUrl":4507,"updatedAt":4587},"figma","translate Figma designs into code","Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4582,4583,4585,4586],{"name":4362,"slug":4363,"type":15},{"name":4584,"slug":4577,"type":15},"Figma",{"name":4073,"slug":4416,"type":15},{"name":4522,"slug":4523,"type":15},"2026-04-12T05:06:47.939943",{"slug":4589,"name":4589,"fn":4590,"description":4591,"org":4592,"tags":4593,"stars":4506,"repoUrl":4507,"updatedAt":4601},"figma-code-connect-components","connect Figma designs to code components","Connects Figma design components to code components using Code Connect mapping tools. Use when user says \"code connect\", \"connect this component to code\", \"map this component\", \"link component to code\", \"create code connect mapping\", or wants to establish mappings between Figma designs and code implementations. For canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4594,4595,4598,4599,4600],{"name":4362,"slug":4363,"type":15},{"name":4596,"slug":4597,"type":15},"Design System","design-system",{"name":4584,"slug":4577,"type":15},{"name":4073,"slug":4416,"type":15},{"name":4424,"slug":4425,"type":15},"2026-05-10T05:59:52.971881",{"slug":4603,"name":4603,"fn":4604,"description":4605,"org":4606,"tags":4607,"stars":4506,"repoUrl":4507,"updatedAt":4615},"figma-create-design-system-rules","generate design system rules from Figma","Generates custom design system rules for the user's codebase. Use when user says \"create design system rules\", \"generate rules for my project\", \"set up design rules\", \"customize design system guidelines\", or wants to establish project-specific conventions for Figma-to-code workflows. Requires Figma MCP server connection.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4608,4609,4610,4613,4614],{"name":4362,"slug":4363,"type":15},{"name":4596,"slug":4597,"type":15},{"name":4611,"slug":4612,"type":15},"Documentation","documentation",{"name":4584,"slug":4577,"type":15},{"name":4073,"slug":4416,"type":15},"2026-05-16T06:07:47.821474",{"slug":4617,"name":4617,"fn":4618,"description":4619,"org":4620,"tags":4621,"stars":4506,"repoUrl":4507,"updatedAt":4627},"figma-implement-design","translate Figma designs into application code","Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions \"implement design\", \"generate code\", \"implement component\", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4622,4623,4624,4625,4626],{"name":4362,"slug":4363,"type":15},{"name":4584,"slug":4577,"type":15},{"name":4073,"slug":4416,"type":15},{"name":4424,"slug":4425,"type":15},{"name":4504,"slug":4505,"type":15},"2026-05-16T06:07:40.583615",{"slug":4629,"name":4629,"fn":4630,"description":4631,"org":4632,"tags":4633,"stars":4506,"repoUrl":4507,"updatedAt":4642},"hatch-pet","create animated pets for Codex","Create, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated images, company or prospect brand cues, or visual references. Use when a user wants a lightweight-worker Codex pet workflow, a non-pixel custom pet style, a prospect or company mascot pet, or a full 8x9 animated pet atlas with transparent unused cells, QA contact sheets, and pet.json packaging. This skill composes the installed $imagegen system skill for visual generation and uses bundled scripts for deterministic spritesheet assembly.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4634,4637,4638,4641],{"name":4635,"slug":4636,"type":15},"Animation","animation",{"name":4537,"slug":4538,"type":15},{"name":4639,"slug":4640,"type":15},"Creative","creative",{"name":4362,"slug":4363,"type":15},"2026-05-02T05:31:48.48485",{"slug":4644,"name":4644,"fn":4645,"description":4646,"org":4647,"tags":4648,"stars":4506,"repoUrl":4507,"updatedAt":4658},"imagegen","generate and edit raster images","Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG\u002Fvector\u002Fcode-native assets, extending an established icon or logo system, or building the visual directly in HTML\u002FCSS\u002Fcanvas.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4649,4650,4651,4654,4657],{"name":4639,"slug":4640,"type":15},{"name":4362,"slug":4363,"type":15},{"name":4652,"slug":4653,"type":15},"Image Generation","image-generation",{"name":4655,"slug":4656,"type":15},"Images","images",{"name":9,"slug":8,"type":15},"2026-05-15T06:23:24.312127",675]