denchclaw 2.4.6 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -0
- package/apps/web/.next/standalone/apps/web/.next/BUILD_ID +1 -1
- package/apps/web/.next/standalone/apps/web/.next/app-build-manifest.json +332 -203
- package/apps/web/.next/standalone/apps/web/.next/app-path-routes-manifest.json +42 -24
- package/apps/web/.next/standalone/apps/web/.next/build-manifest.json +5 -5
- package/apps/web/.next/standalone/apps/web/.next/cache/config.json +3 -3
- package/apps/web/.next/standalone/apps/web/.next/prerender-manifest.json +3 -3
- package/apps/web/.next/standalone/apps/web/.next/react-loadable-manifest.json +6 -6
- package/apps/web/.next/standalone/apps/web/.next/required-server-files.json +1 -1
- package/apps/web/.next/standalone/apps/web/.next/routes-manifest.json +25 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/cron/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/proxy/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/serve/[...path]/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/store/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/apps/webhooks/[...path]/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/active/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/route.js +2 -2
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/runs/route.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/runs/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stop/route.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stop/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/stream/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/subagents/route.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/chat/subagents/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/callback/route.js +42 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/callback/route.js.nft.json +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/callback/route_client-reference-manifest.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/connect/route.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/connect/route.js.nft.json +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/connect/route_client-reference-manifest.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/connections/route.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/connections/route.js.nft.json +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/connections/route_client-reference-manifest.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/disconnect/route.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/disconnect/route.js.nft.json +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/disconnect/route_client-reference-manifest.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/status/route.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/status/route.js.nft.json +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/status/route_client-reference-manifest.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/tool-index/route.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/tool-index/route.js.nft.json +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/tool-index/route_client-reference-manifest.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/toolkits/route.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/toolkits/route.js.nft.json +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/composio/toolkits/route_client-reference-manifest.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/jobs/[jobId]/runs/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/jobs/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/runs/[sessionId]/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/cron/runs/search-transcript/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/feedback/route.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/feedback/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/gateway/channels/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/gateway/chat/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/gateway/chat/stream/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/gateway/sessions/[id]/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/gateway/sessions/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/integrations/[id]/toggle/route.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/integrations/[id]/toggle/route.js.nft.json +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/integrations/[id]/toggle/route_client-reference-manifest.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/integrations/repair/route.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/integrations/repair/route.js.nft.json +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/integrations/repair/route_client-reference-manifest.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/integrations/route.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/integrations/route.js.nft.json +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/integrations/route_client-reference-manifest.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/memories/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/profiles/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/profiles/switch/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/sessions/[sessionId]/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/sessions/route.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/sessions/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/settings/cloud/route.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/settings/cloud/route.js.nft.json +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/settings/cloud/route_client-reference-manifest.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/[slug]/content/route.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/[slug]/content/route.js.nft.json +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/[slug]/content/route_client-reference-manifest.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/[slug]/route.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/[slug]/route.js.nft.json +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/[slug]/route_client-reference-manifest.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/browse/route.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/browse/route.js.nft.json +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/browse/route_client-reference-manifest.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/install/route.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/install/route.js.nft.json +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/install/route_client-reference-manifest.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/route.js +2 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/terminal/port/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/voice/speech/route.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/voice/speech/route.js.nft.json +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/voice/speech/route_client-reference-manifest.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/voice/transcribe/route.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/voice/transcribe/route.js.nft.json +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/voice/transcribe/route_client-reference-manifest.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/voice/voices/route.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/voice/voices/route.js.nft.json +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/voice/voices/route_client-reference-manifest.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/messages/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/route.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/[id]/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/route.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/web-sessions/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/assets/[...path]/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/browse/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/browse-file/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/context/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/copy/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/db/introspect/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/db/query/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/delete/route.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/delete/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/execute/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/file/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/init/route.js +2 -2
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/init/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/link-preview/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/list/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/mkdir/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/move/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/actions/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/actions/runs/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/display-field/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/[id]/content/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/[id]/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/bulk-delete/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/options/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/route.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/entries/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/[fieldId]/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/reorder/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/fields/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/objects/[name]/views/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/open-file/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/path-info/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/query/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/raw-file/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/rename/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/reports/execute/route.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/reports/execute/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/search-index/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/suggest-files/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/switch/route.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/switch/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/thumbnail/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/tree/route.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/tree/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/upload/route.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/upload/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/virtual-file/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/watch/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/api/workspace/write-binary/route_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/page.js +21 -21
- package/apps/web/.next/standalone/apps/web/.next/server/app/page.js.nft.json +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app/workspace/page_client-reference-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/app-paths-manifest.json +42 -24
- package/apps/web/.next/standalone/apps/web/.next/server/chunks/6426.js +2 -2
- package/apps/web/.next/standalone/apps/web/.next/server/chunks/6787.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/chunks/687.js +7 -7
- package/apps/web/.next/standalone/apps/web/.next/server/chunks/737.js +3 -3
- package/apps/web/.next/standalone/apps/web/.next/server/chunks/7488.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/chunks/8306.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/chunks/8650.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/server/chunks/8693.js +481 -0
- package/apps/web/.next/standalone/apps/web/.next/server/functions-config-manifest.json +27 -13
- package/apps/web/.next/standalone/apps/web/.next/server/middleware-build-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/pages/500.html +1 -1
- package/apps/web/.next/standalone/apps/web/.next/server/server-reference-manifest.json +1 -1
- package/apps/web/.next/standalone/apps/web/.next/static/U0A79z_eUsEUNVdXxxyc3/_buildManifest.js +1 -0
- package/apps/web/.next/{static/chunks/eca025f9.538b3f5d85eeef79.js → standalone/apps/web/.next/static/chunks/0c958985.3ccb9c3aea7cd083.js} +2 -2
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/3999.548dd8ec57152081.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/{2489.b5e1ce196331926c.js → 4870.507a55774d37d072.js} +1 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/{7812.c1435a724050dfec.js → 5431.a2353a2aa8c55a67.js} +1 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/7f67b0df-54679694c67e2b76.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/80f1cbb7-c9635d81d9fe6819.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/8532165e-abce74bbb270ef26.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/9372.e71f5b96da3f9dfd.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/9702-d646bcd7cb8fe6bf.js +135 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/cron/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/proxy/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/serve/[...path]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/store/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/webhooks/[...path]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/active/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/runs/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/stop/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/stream/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/subagents/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/callback/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/connect/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/connections/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/disconnect/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/status/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/tool-index/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/composio/toolkits/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/jobs/[jobId]/runs/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/jobs/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/runs/[sessionId]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/runs/search-transcript/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/feedback/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/channels/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/chat/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/chat/stream/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/sessions/[id]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/sessions/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/integrations/[id]/toggle/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/integrations/repair/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/integrations/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/memories/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/profiles/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/profiles/switch/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/sessions/[sessionId]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/sessions/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/settings/cloud/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/[slug]/content/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/[slug]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/browse/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/install/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/terminal/port/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/voice/speech/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/voice/transcribe/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/voice/voices/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/[id]/messages/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/[id]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/assets/[...path]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/browse/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/browse-file/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/context/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/copy/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/db/introspect/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/db/query/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/delete/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/execute/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/file/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/init/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/link-preview/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/list/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/mkdir/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/move/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/actions/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/actions/runs/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/display-field/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/content/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/bulk-delete/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/options/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/reorder/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/views/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/open-file/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/path-info/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/query/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/raw-file/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/rename/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/reports/execute/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/search-index/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/suggest-files/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/switch/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/thumbnail/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/tree/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/upload/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/virtual-file/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/watch/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/write-binary/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/{layout-3b33b798ff1504e9.js → layout-8757ef9cb1826e76.js} +1 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/page-05ff98c264c1c0cf.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/webpack-d4501ef5cbbcf069.js +1 -0
- package/apps/web/.next/standalone/apps/web/.next/static/css/4f71a2dee93c9f97.css +1 -0
- package/apps/web/.next/standalone/apps/web/app/api/skills/route.test.ts +672 -0
- package/apps/web/.next/standalone/apps/web/package.json +2 -0
- package/apps/web/.next/standalone/apps/web/public/integrations/exa-logomark.svg +4 -0
- package/apps/web/.next/standalone/apps/web/public/models/deepseek.ico +0 -0
- package/apps/web/.next/standalone/apps/web/public/models/kimi.png +0 -0
- package/apps/web/.next/standalone/apps/web/public/models/kimi.svg +89 -0
- package/apps/web/.next/standalone/apps/web/public/models/minimax.png +0 -0
- package/apps/web/.next/standalone/apps/web/server.js +1 -1
- package/apps/web/.next/standalone/extensions/apollo-enrichment/index.ts +268 -0
- package/apps/web/.next/standalone/extensions/apollo-enrichment/openclaw.plugin.json +16 -0
- package/apps/web/.next/standalone/extensions/apollo-enrichment/package.json +8 -0
- package/apps/web/.next/standalone/extensions/dench-ai-gateway/composio-bridge.ts +474 -0
- package/apps/web/.next/standalone/extensions/dench-ai-gateway/config-patch.ts +83 -0
- package/apps/web/.next/standalone/extensions/dench-ai-gateway/index.test.ts +281 -0
- package/apps/web/.next/standalone/extensions/dench-ai-gateway/index.ts +325 -0
- package/apps/web/.next/standalone/extensions/dench-ai-gateway/models.ts +325 -0
- package/apps/web/.next/standalone/extensions/dench-ai-gateway/openclaw.plugin.json +27 -0
- package/apps/web/.next/standalone/extensions/dench-ai-gateway/package.json +8 -0
- package/apps/web/.next/standalone/extensions/dench-identity/composio-cheat-sheet.test.ts +146 -0
- package/apps/web/.next/standalone/extensions/dench-identity/composio-cheat-sheet.ts +197 -0
- package/apps/web/.next/standalone/extensions/dench-identity/index.test.ts +361 -0
- package/apps/web/.next/standalone/extensions/dench-identity/index.ts +920 -0
- package/apps/web/.next/standalone/extensions/dench-identity/openclaw.plugin.json +17 -0
- package/apps/web/.next/standalone/extensions/dench-identity/package.json +8 -0
- package/apps/web/.next/standalone/extensions/exa-search/index.ts +363 -0
- package/apps/web/.next/standalone/extensions/exa-search/openclaw.plugin.json +16 -0
- package/apps/web/.next/standalone/extensions/exa-search/package.json +8 -0
- package/apps/web/.next/standalone/extensions/posthog-analytics/index.ts +190 -0
- package/apps/web/.next/standalone/extensions/posthog-analytics/lib/build-env.js +3 -0
- package/apps/web/.next/standalone/extensions/posthog-analytics/lib/build-env.ts +3 -0
- package/apps/web/.next/standalone/extensions/posthog-analytics/lib/event-mappers.ts +403 -0
- package/apps/web/.next/standalone/extensions/posthog-analytics/lib/posthog-client.ts +105 -0
- package/apps/web/.next/standalone/extensions/posthog-analytics/lib/privacy.ts +294 -0
- package/apps/web/.next/standalone/extensions/posthog-analytics/lib/trace-context.ts +103 -0
- package/apps/web/.next/standalone/extensions/posthog-analytics/lib/types.ts +28 -0
- package/apps/web/.next/standalone/extensions/posthog-analytics/openclaw.plugin.json +22 -0
- package/apps/web/.next/standalone/extensions/posthog-analytics/package.json +8 -0
- package/apps/web/.next/standalone/extensions/vitest.config.ts +13 -0
- package/apps/web/.next/standalone/package.json +2 -2
- package/apps/web/.next/static/U0A79z_eUsEUNVdXxxyc3/_buildManifest.js +1 -0
- package/apps/web/.next/{standalone/apps/web/.next/static/chunks/eca025f9.538b3f5d85eeef79.js → static/chunks/0c958985.3ccb9c3aea7cd083.js} +2 -2
- package/apps/web/.next/static/chunks/3999.548dd8ec57152081.js +1 -0
- package/apps/web/.next/static/chunks/{2489.b5e1ce196331926c.js → 4870.507a55774d37d072.js} +1 -1
- package/apps/web/.next/static/chunks/{7812.c1435a724050dfec.js → 5431.a2353a2aa8c55a67.js} +1 -1
- package/apps/web/.next/static/chunks/7f67b0df-54679694c67e2b76.js +1 -0
- package/apps/web/.next/static/chunks/80f1cbb7-c9635d81d9fe6819.js +1 -0
- package/apps/web/.next/static/chunks/8532165e-abce74bbb270ef26.js +1 -0
- package/apps/web/.next/static/chunks/9372.e71f5b96da3f9dfd.js +1 -0
- package/apps/web/.next/static/chunks/9702-d646bcd7cb8fe6bf.js +135 -0
- package/apps/web/.next/static/chunks/app/api/apps/cron/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/apps/proxy/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/apps/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/apps/serve/[...path]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/apps/store/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/apps/webhooks/[...path]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/chat/active/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/chat/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/chat/runs/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/chat/stop/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/chat/stream/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/chat/subagents/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/composio/callback/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/composio/connect/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/composio/connections/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/composio/disconnect/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/composio/status/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/composio/tool-index/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/composio/toolkits/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/cron/jobs/[jobId]/runs/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/cron/jobs/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/cron/runs/[sessionId]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/cron/runs/search-transcript/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/feedback/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/gateway/channels/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/gateway/chat/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/gateway/chat/stream/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/gateway/sessions/[id]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/gateway/sessions/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/integrations/[id]/toggle/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/integrations/repair/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/integrations/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/memories/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/profiles/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/profiles/switch/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/sessions/[sessionId]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/sessions/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/settings/cloud/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/skills/[slug]/content/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/skills/[slug]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/skills/browse/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/skills/install/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/skills/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/terminal/port/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/voice/speech/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/voice/transcribe/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/voice/voices/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/web-sessions/[id]/messages/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/web-sessions/[id]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/web-sessions/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/assets/[...path]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/browse/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/browse-file/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/context/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/copy/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/db/introspect/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/db/query/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/delete/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/execute/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/file/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/init/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/link-preview/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/list/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/mkdir/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/move/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/actions/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/actions/runs/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/display-field/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/content/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/bulk-delete/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/options/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/reorder/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/views/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/open-file/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/path-info/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/query/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/raw-file/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/rename/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/reports/execute/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/search-index/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/suggest-files/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/switch/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/thumbnail/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/tree/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/upload/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/virtual-file/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/watch/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/api/workspace/write-binary/route-982235d988e17f31.js +1 -0
- package/apps/web/.next/static/chunks/app/{layout-3b33b798ff1504e9.js → layout-8757ef9cb1826e76.js} +1 -1
- package/apps/web/.next/static/chunks/app/page-05ff98c264c1c0cf.js +1 -0
- package/apps/web/.next/static/chunks/webpack-d4501ef5cbbcf069.js +1 -0
- package/apps/web/.next/static/css/4f71a2dee93c9f97.css +1 -0
- package/apps/web/public/integrations/exa-logomark.svg +4 -0
- package/apps/web/public/models/deepseek.ico +0 -0
- package/apps/web/public/models/kimi.png +0 -0
- package/apps/web/public/models/kimi.svg +89 -0
- package/apps/web/public/models/minimax.png +0 -0
- package/dist/entry.js +1 -1
- package/dist/{program-BDz7WHcZ.js → program-BYB4nfWK.js} +235 -12
- package/dist/{run-main-Ddx9Tsa1.js → run-main-Z-P_Zlf6.js} +1 -1
- package/extensions/apollo-enrichment/index.ts +268 -0
- package/extensions/apollo-enrichment/openclaw.plugin.json +16 -0
- package/extensions/apollo-enrichment/package.json +8 -0
- package/extensions/dench-ai-gateway/composio-bridge.ts +474 -0
- package/extensions/dench-ai-gateway/config-patch.ts +83 -0
- package/extensions/dench-ai-gateway/index.test.ts +281 -0
- package/extensions/dench-ai-gateway/index.ts +9 -36
- package/extensions/dench-ai-gateway/models.ts +5 -5
- package/extensions/dench-identity/composio-cheat-sheet.test.ts +146 -0
- package/extensions/dench-identity/composio-cheat-sheet.ts +197 -0
- package/extensions/dench-identity/index.test.ts +226 -1
- package/extensions/dench-identity/index.ts +795 -5
- package/extensions/exa-search/index.ts +363 -0
- package/extensions/exa-search/openclaw.plugin.json +16 -0
- package/extensions/exa-search/package.json +8 -0
- package/extensions/posthog-analytics/lib/build-env.js +1 -1
- package/package.json +2 -2
- package/skills/composio-apps/SKILL.md +88 -0
- package/apps/web/.next/standalone/apps/web/.next/server/chunks/4334.js +0 -481
- package/apps/web/.next/standalone/apps/web/.next/static/bHQQHboaVXn6uVyBK8na1/_buildManifest.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/2457.b2932424bcf38aee.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/2716-475d96c202834586.js +0 -135
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/4062.6ff486abe87e56aa.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/cron/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/proxy/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/serve/[...path]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/store/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/apps/webhooks/[...path]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/active/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/runs/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/stop/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/stream/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/chat/subagents/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/jobs/[jobId]/runs/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/jobs/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/runs/[sessionId]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/cron/runs/search-transcript/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/feedback/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/channels/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/chat/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/chat/stream/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/sessions/[id]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/gateway/sessions/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/memories/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/profiles/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/profiles/switch/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/sessions/[sessionId]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/sessions/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/skills/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/terminal/port/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/[id]/messages/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/[id]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/web-sessions/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/assets/[...path]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/browse/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/browse-file/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/context/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/copy/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/db/introspect/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/db/query/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/delete/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/execute/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/file/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/init/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/link-preview/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/list/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/mkdir/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/move/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/actions/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/actions/runs/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/display-field/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/content/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/bulk-delete/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/options/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/reorder/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/views/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/open-file/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/path-info/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/query/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/raw-file/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/rename/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/reports/execute/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/search-index/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/suggest-files/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/switch/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/thumbnail/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/tree/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/upload/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/virtual-file/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/watch/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/api/workspace/write-binary/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/app/page-c8e88d7669047677.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/chunks/webpack-a769c08a3fea86bb.js +0 -1
- package/apps/web/.next/standalone/apps/web/.next/static/css/99b07ab2db5fe339.css +0 -1
- package/apps/web/.next/static/bHQQHboaVXn6uVyBK8na1/_buildManifest.js +0 -1
- package/apps/web/.next/static/chunks/2457.b2932424bcf38aee.js +0 -1
- package/apps/web/.next/static/chunks/2716-475d96c202834586.js +0 -135
- package/apps/web/.next/static/chunks/4062.6ff486abe87e56aa.js +0 -1
- package/apps/web/.next/static/chunks/app/api/apps/cron/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/apps/proxy/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/apps/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/apps/serve/[...path]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/apps/store/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/apps/webhooks/[...path]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/chat/active/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/chat/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/chat/runs/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/chat/stop/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/chat/stream/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/chat/subagents/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/cron/jobs/[jobId]/runs/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/cron/jobs/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/cron/runs/[sessionId]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/cron/runs/search-transcript/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/feedback/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/gateway/channels/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/gateway/chat/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/gateway/chat/stream/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/gateway/sessions/[id]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/gateway/sessions/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/memories/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/profiles/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/profiles/switch/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/sessions/[sessionId]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/sessions/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/skills/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/terminal/port/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/web-sessions/[id]/messages/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/web-sessions/[id]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/web-sessions/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/assets/[...path]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/browse/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/browse-file/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/context/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/copy/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/db/introspect/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/db/query/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/delete/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/execute/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/file/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/init/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/link-preview/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/list/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/mkdir/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/move/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/actions/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/actions/runs/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/display-field/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/content/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/[id]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/bulk-delete/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/options/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/entries/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/enum-rename/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/[fieldId]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/reorder/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/fields/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/objects/[name]/views/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/open-file/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/path-info/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/query/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/raw-file/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/rename/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/reports/execute/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/search-index/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/suggest-files/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/switch/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/thumbnail/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/tree/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/upload/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/virtual-file/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/watch/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/api/workspace/write-binary/route-d14ffafd970f186e.js +0 -1
- package/apps/web/.next/static/chunks/app/page-c8e88d7669047677.js +0 -1
- package/apps/web/.next/static/chunks/webpack-a769c08a3fea86bb.js +0 -1
- package/apps/web/.next/static/css/99b07ab2db5fe339.css +0 -1
- package/skills/browser/SKILL.md +0 -16
- /package/apps/web/.next/standalone/apps/web/.next/static/{bHQQHboaVXn6uVyBK8na1 → U0A79z_eUsEUNVdXxxyc3}/_ssgManifest.js +0 -0
- /package/apps/web/.next/static/{bHQQHboaVXn6uVyBK8na1 → U0A79z_eUsEUNVdXxxyc3}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
import type { PostHogClient } from "./posthog-client.js";
|
|
2
|
+
import type { TraceContextManager } from "./trace-context.js";
|
|
3
|
+
import { readOrCreateAnonymousId, sanitizeMessages, sanitizeOutputChoices, stripSecrets } from "./privacy.js";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Extract token counts and cost from the LAST assistant message's usage metadata.
|
|
7
|
+
*
|
|
8
|
+
* Only the last assistant message is used so that each $ai_generation event
|
|
9
|
+
* reports the per-turn delta rather than a cumulative session total. The
|
|
10
|
+
* previous implementation summed across ALL assistant messages, which meant
|
|
11
|
+
* multi-turn sessions emitted growing cumulative values on every turn and
|
|
12
|
+
* PostHog's sum() massively over-counted costs.
|
|
13
|
+
*/
|
|
14
|
+
export function extractUsageFromMessages(messages: unknown): {
|
|
15
|
+
inputTokens: number;
|
|
16
|
+
outputTokens: number;
|
|
17
|
+
totalCostUsd: number;
|
|
18
|
+
} {
|
|
19
|
+
if (!Array.isArray(messages)) return { inputTokens: 0, outputTokens: 0, totalCostUsd: 0 };
|
|
20
|
+
|
|
21
|
+
let lastAssistantUsage: Record<string, unknown> | undefined;
|
|
22
|
+
for (const msg of messages) {
|
|
23
|
+
if (!msg || typeof msg !== "object") continue;
|
|
24
|
+
const m = msg as Record<string, unknown>;
|
|
25
|
+
if (m.role !== "assistant") continue;
|
|
26
|
+
const usage = m.usage as Record<string, unknown> | undefined;
|
|
27
|
+
if (usage) lastAssistantUsage = usage;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
if (!lastAssistantUsage) return { inputTokens: 0, outputTokens: 0, totalCostUsd: 0 };
|
|
31
|
+
|
|
32
|
+
const inputTokens = typeof lastAssistantUsage.input === "number" ? lastAssistantUsage.input : 0;
|
|
33
|
+
const outputTokens = typeof lastAssistantUsage.output === "number" ? lastAssistantUsage.output : 0;
|
|
34
|
+
const cost = lastAssistantUsage.cost as Record<string, unknown> | undefined;
|
|
35
|
+
const totalCostUsd = cost && typeof cost.total === "number" ? cost.total : 0;
|
|
36
|
+
|
|
37
|
+
return { inputTokens, outputTokens, totalCostUsd };
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Extract tool call names from the messages array provided by agent_end.
|
|
42
|
+
* Works regardless of privacy mode since tool names are metadata, not content.
|
|
43
|
+
*/
|
|
44
|
+
export function extractToolNamesFromMessages(messages: unknown): string[] {
|
|
45
|
+
if (!Array.isArray(messages)) return [];
|
|
46
|
+
const names: string[] = [];
|
|
47
|
+
for (const msg of messages) {
|
|
48
|
+
if (!msg || typeof msg !== "object") continue;
|
|
49
|
+
const m = msg as Record<string, unknown>;
|
|
50
|
+
|
|
51
|
+
if (Array.isArray(m.tool_calls)) {
|
|
52
|
+
for (const tc of m.tool_calls) {
|
|
53
|
+
const name = (tc as any)?.function?.name ?? (tc as any)?.name;
|
|
54
|
+
if (typeof name === "string" && name) names.push(name);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
if (Array.isArray(m.content)) {
|
|
58
|
+
for (const block of m.content) {
|
|
59
|
+
if ((block as any)?.type === "tool_use" && typeof (block as any)?.name === "string") {
|
|
60
|
+
names.push((block as any).name);
|
|
61
|
+
}
|
|
62
|
+
if ((block as any)?.type === "toolCall" && typeof (block as any)?.name === "string") {
|
|
63
|
+
names.push((block as any).name);
|
|
64
|
+
}
|
|
65
|
+
if ((block as any)?.type === "tool-call" && typeof (block as any)?.toolName === "string") {
|
|
66
|
+
names.push((block as any).toolName);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
if (m.role === "tool" && typeof m.name === "string") {
|
|
71
|
+
names.push(m.name);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
return [...new Set(names)];
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Normalize OpenClaw's message format into OpenAI-compatible output choices
|
|
79
|
+
* so PostHog can extract tool calls for the Tools tab.
|
|
80
|
+
*/
|
|
81
|
+
export function normalizeOutputForPostHog(messages: unknown): unknown[] | undefined {
|
|
82
|
+
if (!Array.isArray(messages)) return undefined;
|
|
83
|
+
const choices: unknown[] = [];
|
|
84
|
+
for (const msg of messages) {
|
|
85
|
+
if (!msg || typeof msg !== "object") continue;
|
|
86
|
+
const m = msg as Record<string, unknown>;
|
|
87
|
+
if (m.role !== "assistant") continue;
|
|
88
|
+
|
|
89
|
+
const toolCalls: unknown[] = [];
|
|
90
|
+
let textContent = "";
|
|
91
|
+
|
|
92
|
+
if (Array.isArray(m.content)) {
|
|
93
|
+
for (const block of m.content as Array<Record<string, unknown>>) {
|
|
94
|
+
if (block.type === "text" && typeof block.text === "string") {
|
|
95
|
+
textContent += block.text;
|
|
96
|
+
}
|
|
97
|
+
if (block.type === "toolCall" && typeof block.name === "string") {
|
|
98
|
+
toolCalls.push({
|
|
99
|
+
id: block.id ?? block.toolCallId,
|
|
100
|
+
type: "function",
|
|
101
|
+
function: {
|
|
102
|
+
name: block.name,
|
|
103
|
+
arguments: typeof block.arguments === "string"
|
|
104
|
+
? block.arguments
|
|
105
|
+
: JSON.stringify(block.arguments ?? {}),
|
|
106
|
+
},
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
} else if (typeof m.content === "string") {
|
|
111
|
+
textContent = m.content;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
if (Array.isArray(m.tool_calls)) {
|
|
115
|
+
for (const tc of m.tool_calls as Array<Record<string, unknown>>) {
|
|
116
|
+
toolCalls.push(tc);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
const choice: Record<string, unknown> = {
|
|
121
|
+
role: "assistant",
|
|
122
|
+
content: textContent || null,
|
|
123
|
+
};
|
|
124
|
+
if (toolCalls.length > 0) {
|
|
125
|
+
choice.tool_calls = toolCalls;
|
|
126
|
+
}
|
|
127
|
+
choices.push(choice);
|
|
128
|
+
}
|
|
129
|
+
return choices.length > 0 ? choices : undefined;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Build full conversation state for the $ai_trace event.
|
|
134
|
+
* Preserves chronological message order (user → assistant → tool → assistant)
|
|
135
|
+
* so PostHog renders the conversation turn-by-turn with tool calls inline.
|
|
136
|
+
*/
|
|
137
|
+
export function buildTraceState(
|
|
138
|
+
messages: unknown,
|
|
139
|
+
privacyMode: boolean,
|
|
140
|
+
): { inputState: unknown; outputState: unknown } {
|
|
141
|
+
if (!Array.isArray(messages)) return { inputState: undefined, outputState: undefined };
|
|
142
|
+
|
|
143
|
+
const chronological: unknown[] = [];
|
|
144
|
+
let lastAssistantEntry: Record<string, unknown> | undefined;
|
|
145
|
+
|
|
146
|
+
for (const msg of messages) {
|
|
147
|
+
if (!msg || typeof msg !== "object") continue;
|
|
148
|
+
const m = msg as Record<string, unknown>;
|
|
149
|
+
|
|
150
|
+
const extractText = () => {
|
|
151
|
+
if (Array.isArray(m.content)) {
|
|
152
|
+
return (m.content as Array<Record<string, unknown>>)
|
|
153
|
+
.filter((b) => b.type === "text")
|
|
154
|
+
.map((b) => b.text)
|
|
155
|
+
.join("");
|
|
156
|
+
}
|
|
157
|
+
return typeof m.content === "string" ? m.content : null;
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
if (m.role === "assistant") {
|
|
161
|
+
const content = privacyMode ? "[REDACTED]" : extractText();
|
|
162
|
+
const entry: Record<string, unknown> = { role: "assistant", content };
|
|
163
|
+
|
|
164
|
+
const toolNames = extractToolNamesFromSingleMessage(m);
|
|
165
|
+
if (toolNames.length > 0) {
|
|
166
|
+
entry.tool_calls = toolNames.map((name) => ({
|
|
167
|
+
type: "function",
|
|
168
|
+
function: { name },
|
|
169
|
+
}));
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
chronological.push(entry);
|
|
173
|
+
lastAssistantEntry = entry;
|
|
174
|
+
} else if (m.role === "user" || m.role === "tool" || m.role === "toolResult" || m.role === "system") {
|
|
175
|
+
const content = privacyMode ? "[REDACTED]" : extractText();
|
|
176
|
+
const entry: Record<string, unknown> = { role: m.role, content };
|
|
177
|
+
if (m.name) entry.name = m.name;
|
|
178
|
+
if (m.toolName) entry.toolName = m.toolName;
|
|
179
|
+
chronological.push(entry);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
return {
|
|
184
|
+
inputState: chronological.length > 0 ? chronological : undefined,
|
|
185
|
+
outputState: lastAssistantEntry ? [lastAssistantEntry] : undefined,
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
function extractToolNamesFromSingleMessage(m: Record<string, unknown>): string[] {
|
|
190
|
+
const names: string[] = [];
|
|
191
|
+
if (Array.isArray(m.tool_calls)) {
|
|
192
|
+
for (const tc of m.tool_calls) {
|
|
193
|
+
const name = (tc as any)?.function?.name ?? (tc as any)?.name;
|
|
194
|
+
if (typeof name === "string" && name) names.push(name);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
if (Array.isArray(m.content)) {
|
|
198
|
+
for (const block of m.content) {
|
|
199
|
+
if ((block as any)?.type === "toolCall" && typeof (block as any)?.name === "string") {
|
|
200
|
+
names.push((block as any).name);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
return names;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Extract non-assistant messages from the full conversation as model input.
|
|
209
|
+
* Returns user, system, and tool messages that represent what was sent to the model.
|
|
210
|
+
* Falls back to undefined when no input messages are found.
|
|
211
|
+
*/
|
|
212
|
+
export function extractInputMessages(messages: unknown): unknown[] | undefined {
|
|
213
|
+
if (!Array.isArray(messages)) return undefined;
|
|
214
|
+
const input = messages.filter(
|
|
215
|
+
(m: any) => m && typeof m === "object" && m.role !== "assistant",
|
|
216
|
+
);
|
|
217
|
+
return input.length > 0 ? input : undefined;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Emit a `$ai_generation` event from the agent_end hook data.
|
|
222
|
+
*/
|
|
223
|
+
export function emitGeneration(
|
|
224
|
+
ph: PostHogClient,
|
|
225
|
+
traceCtx: TraceContextManager,
|
|
226
|
+
sessionKey: string,
|
|
227
|
+
event: any,
|
|
228
|
+
privacyMode: boolean,
|
|
229
|
+
): void {
|
|
230
|
+
try {
|
|
231
|
+
const trace = traceCtx.getTrace(sessionKey);
|
|
232
|
+
if (!trace) return;
|
|
233
|
+
|
|
234
|
+
const latency = event.durationMs != null
|
|
235
|
+
? event.durationMs / 1_000
|
|
236
|
+
: trace.startedAt
|
|
237
|
+
? (Date.now() - trace.startedAt) / 1_000
|
|
238
|
+
: undefined;
|
|
239
|
+
|
|
240
|
+
const spanToolNames = trace.toolSpans.map((s) => s.toolName);
|
|
241
|
+
const messageToolNames = extractToolNamesFromMessages(event.messages);
|
|
242
|
+
const allToolNames = [...new Set([...spanToolNames, ...messageToolNames])];
|
|
243
|
+
|
|
244
|
+
const properties: Record<string, unknown> = {
|
|
245
|
+
$ai_trace_id: trace.traceId,
|
|
246
|
+
$ai_session_id: trace.sessionId,
|
|
247
|
+
$ai_model: trace.model ?? event.model ?? "unknown",
|
|
248
|
+
$ai_provider: trace.provider ?? event.provider,
|
|
249
|
+
$ai_latency: latency,
|
|
250
|
+
$ai_tools: allToolNames.length > 0
|
|
251
|
+
? allToolNames.map((name) => ({ type: "function", function: { name } }))
|
|
252
|
+
: undefined,
|
|
253
|
+
$ai_stream: event.stream,
|
|
254
|
+
$ai_temperature: event.temperature,
|
|
255
|
+
$ai_is_error: event.success === false || Boolean(event.error),
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
if (event.usage) {
|
|
259
|
+
const inputTokens = event.usage.inputTokens ?? event.usage.input_tokens;
|
|
260
|
+
const outputTokens = event.usage.outputTokens ?? event.usage.output_tokens;
|
|
261
|
+
if (inputTokens != null && inputTokens > 0) properties.$ai_input_tokens = inputTokens;
|
|
262
|
+
if (outputTokens != null && outputTokens > 0) properties.$ai_output_tokens = outputTokens;
|
|
263
|
+
const cost = event.cost?.totalUsd ?? event.cost?.total_usd;
|
|
264
|
+
if (cost != null && cost > 0) properties.$ai_total_cost_usd = cost;
|
|
265
|
+
} else if (event.messages) {
|
|
266
|
+
const extracted = extractUsageFromMessages(event.messages);
|
|
267
|
+
if (extracted.inputTokens > 0) properties.$ai_input_tokens = extracted.inputTokens;
|
|
268
|
+
if (extracted.outputTokens > 0) properties.$ai_output_tokens = extracted.outputTokens;
|
|
269
|
+
if (extracted.totalCostUsd > 0) properties.$ai_total_cost_usd = extracted.totalCostUsd;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
properties.$ai_input = sanitizeMessages(
|
|
273
|
+
event.messages ?? trace.input,
|
|
274
|
+
privacyMode,
|
|
275
|
+
);
|
|
276
|
+
|
|
277
|
+
const outputChoices = normalizeOutputForPostHog(event.messages);
|
|
278
|
+
properties.$ai_output_choices = sanitizeOutputChoices(
|
|
279
|
+
outputChoices ?? event.output ?? event.messages,
|
|
280
|
+
privacyMode,
|
|
281
|
+
);
|
|
282
|
+
|
|
283
|
+
if (event.error) {
|
|
284
|
+
properties.$ai_error = typeof event.error === "string"
|
|
285
|
+
? event.error
|
|
286
|
+
: event.error?.message ?? String(event.error);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
ph.capture({
|
|
290
|
+
distinctId: readOrCreateAnonymousId(),
|
|
291
|
+
event: "$ai_generation",
|
|
292
|
+
properties,
|
|
293
|
+
});
|
|
294
|
+
} catch {
|
|
295
|
+
// Never crash the gateway for telemetry failures.
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* Emit a `$ai_span` event for a completed tool call.
|
|
301
|
+
*/
|
|
302
|
+
export function emitToolSpan(
|
|
303
|
+
ph: PostHogClient,
|
|
304
|
+
traceCtx: TraceContextManager,
|
|
305
|
+
sessionKey: string,
|
|
306
|
+
event: any,
|
|
307
|
+
privacyMode: boolean,
|
|
308
|
+
): void {
|
|
309
|
+
try {
|
|
310
|
+
const trace = traceCtx.getTrace(sessionKey);
|
|
311
|
+
const span = traceCtx.getLastToolSpan(sessionKey);
|
|
312
|
+
if (!trace || !span) return;
|
|
313
|
+
|
|
314
|
+
const latency = span.startedAt && span.endedAt
|
|
315
|
+
? (span.endedAt - span.startedAt) / 1_000
|
|
316
|
+
: event.durationMs != null
|
|
317
|
+
? event.durationMs / 1_000
|
|
318
|
+
: undefined;
|
|
319
|
+
|
|
320
|
+
const properties: Record<string, unknown> = {
|
|
321
|
+
$ai_trace_id: trace.traceId,
|
|
322
|
+
$ai_session_id: trace.sessionId,
|
|
323
|
+
$ai_span_id: span.spanId,
|
|
324
|
+
$ai_span_name: span.toolName,
|
|
325
|
+
$ai_parent_id: trace.traceId,
|
|
326
|
+
$ai_latency: latency,
|
|
327
|
+
$ai_is_error: span.isError ?? Boolean(event.error),
|
|
328
|
+
};
|
|
329
|
+
|
|
330
|
+
if (!privacyMode) {
|
|
331
|
+
properties.tool_params = stripSecrets(span.params);
|
|
332
|
+
properties.tool_result = stripSecrets(span.result);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
ph.capture({
|
|
336
|
+
distinctId: readOrCreateAnonymousId(),
|
|
337
|
+
event: "$ai_span",
|
|
338
|
+
properties,
|
|
339
|
+
});
|
|
340
|
+
} catch {
|
|
341
|
+
// Fail silently.
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Emit a `$ai_trace` event for the completed agent run.
|
|
347
|
+
*/
|
|
348
|
+
export function emitTrace(
|
|
349
|
+
ph: PostHogClient,
|
|
350
|
+
traceCtx: TraceContextManager,
|
|
351
|
+
sessionKey: string,
|
|
352
|
+
event?: any,
|
|
353
|
+
privacyMode?: boolean,
|
|
354
|
+
): void {
|
|
355
|
+
try {
|
|
356
|
+
const trace = traceCtx.getTrace(sessionKey);
|
|
357
|
+
if (!trace) return;
|
|
358
|
+
|
|
359
|
+
const latency = trace.startedAt
|
|
360
|
+
? (Date.now() - trace.startedAt) / 1_000
|
|
361
|
+
: undefined;
|
|
362
|
+
|
|
363
|
+
const { inputState, outputState } = buildTraceState(
|
|
364
|
+
event?.messages,
|
|
365
|
+
privacyMode ?? true,
|
|
366
|
+
);
|
|
367
|
+
|
|
368
|
+
ph.capture({
|
|
369
|
+
distinctId: readOrCreateAnonymousId(),
|
|
370
|
+
event: "$ai_trace",
|
|
371
|
+
properties: {
|
|
372
|
+
$ai_trace_id: trace.traceId,
|
|
373
|
+
$ai_session_id: trace.sessionId,
|
|
374
|
+
$ai_latency: latency,
|
|
375
|
+
$ai_span_name: "agent_run",
|
|
376
|
+
$ai_input_state: inputState,
|
|
377
|
+
$ai_output_state: outputState,
|
|
378
|
+
tool_count: trace.toolSpans.length,
|
|
379
|
+
},
|
|
380
|
+
});
|
|
381
|
+
} catch {
|
|
382
|
+
// Fail silently.
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Emit a custom DenchClaw event (not a PostHog $ai_* event).
|
|
388
|
+
*/
|
|
389
|
+
export function emitCustomEvent(
|
|
390
|
+
ph: PostHogClient,
|
|
391
|
+
eventName: string,
|
|
392
|
+
properties?: Record<string, unknown>,
|
|
393
|
+
): void {
|
|
394
|
+
try {
|
|
395
|
+
ph.capture({
|
|
396
|
+
distinctId: readOrCreateAnonymousId(),
|
|
397
|
+
event: eventName,
|
|
398
|
+
properties: properties ?? {},
|
|
399
|
+
});
|
|
400
|
+
} catch {
|
|
401
|
+
// Fail silently.
|
|
402
|
+
}
|
|
403
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
const DEFAULT_HOST = "https://us.i.posthog.com";
|
|
2
|
+
const FLUSH_INTERVAL_MS = 15_000;
|
|
3
|
+
const FLUSH_AT = 10;
|
|
4
|
+
|
|
5
|
+
export interface CaptureEvent {
|
|
6
|
+
distinctId: string;
|
|
7
|
+
event: string;
|
|
8
|
+
properties?: Record<string, unknown>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Minimal PostHog client using the HTTP capture API directly.
|
|
13
|
+
* Zero npm dependencies -- uses built-in fetch (Node 18+).
|
|
14
|
+
*/
|
|
15
|
+
export class PostHogClient {
|
|
16
|
+
private apiKey: string;
|
|
17
|
+
private host: string;
|
|
18
|
+
private globalProperties: Record<string, unknown>;
|
|
19
|
+
private queue: Array<Record<string, unknown>> = [];
|
|
20
|
+
private timer: ReturnType<typeof setInterval> | null = null;
|
|
21
|
+
|
|
22
|
+
constructor(apiKey: string, host?: string, globalProperties?: Record<string, unknown>) {
|
|
23
|
+
this.apiKey = apiKey;
|
|
24
|
+
this.host = (host || DEFAULT_HOST).replace(/\/$/, "");
|
|
25
|
+
this.globalProperties = globalProperties ?? {};
|
|
26
|
+
this.timer = setInterval(() => this.flush(), FLUSH_INTERVAL_MS);
|
|
27
|
+
if (this.timer.unref) this.timer.unref();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
capture(event: CaptureEvent): void {
|
|
31
|
+
this.queue.push({
|
|
32
|
+
event: event.event,
|
|
33
|
+
distinct_id: event.distinctId,
|
|
34
|
+
properties: {
|
|
35
|
+
...this.globalProperties,
|
|
36
|
+
...event.properties,
|
|
37
|
+
$lib: "denchclaw-posthog-plugin",
|
|
38
|
+
},
|
|
39
|
+
timestamp: new Date().toISOString(),
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
if (this.queue.length >= FLUSH_AT) {
|
|
43
|
+
this.flush();
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
flush(): void {
|
|
48
|
+
if (this.queue.length === 0) return;
|
|
49
|
+
|
|
50
|
+
const batch = this.queue.splice(0);
|
|
51
|
+
const body = JSON.stringify({
|
|
52
|
+
api_key: this.apiKey,
|
|
53
|
+
batch,
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
fetch(`${this.host}/batch/`, {
|
|
57
|
+
method: "POST",
|
|
58
|
+
headers: { "Content-Type": "application/json" },
|
|
59
|
+
body,
|
|
60
|
+
}).catch(() => {
|
|
61
|
+
// Fail silently -- telemetry should never block the gateway.
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
identify(distinctId: string, properties: Record<string, unknown>): void {
|
|
66
|
+
this.queue.push({
|
|
67
|
+
event: "$identify",
|
|
68
|
+
distinct_id: distinctId,
|
|
69
|
+
properties: {
|
|
70
|
+
...this.globalProperties,
|
|
71
|
+
$set: properties,
|
|
72
|
+
$lib: "denchclaw-posthog-plugin",
|
|
73
|
+
},
|
|
74
|
+
timestamp: new Date().toISOString(),
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
if (this.queue.length >= FLUSH_AT) {
|
|
78
|
+
this.flush();
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
async shutdown(): Promise<void> {
|
|
83
|
+
if (this.timer) {
|
|
84
|
+
clearInterval(this.timer);
|
|
85
|
+
this.timer = null;
|
|
86
|
+
}
|
|
87
|
+
this.flush();
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function createPostHogClient(
|
|
92
|
+
apiKey: string,
|
|
93
|
+
host?: string,
|
|
94
|
+
globalProperties?: Record<string, unknown>,
|
|
95
|
+
): PostHogClient {
|
|
96
|
+
return new PostHogClient(apiKey, host, globalProperties);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export async function shutdownPostHogClient(client: PostHogClient): Promise<void> {
|
|
100
|
+
try {
|
|
101
|
+
await client.shutdown();
|
|
102
|
+
} catch {
|
|
103
|
+
// Non-fatal.
|
|
104
|
+
}
|
|
105
|
+
}
|