Home
grim
/
tripwire
public
Overview
Code
History
Branches
Pull requests
Issues
Insights
Home
Overview
Code
PRs
Issues
More
init
4 months ago
bb934e7
Authored
grim
5/16/2026, 8:03:23 AM
Parent
ba6a4fc
273 files changed
.gitignore
+4
−0
AGENTS.md
+53
−0
CLAUDE.md
+39
−0
README.md
+87
−2
RULES.md
+16
−0
apps/web/.turbo/turbo-typecheck.log
+45
−0
apps/web/@useautumn-sdk.d.ts
+21
−0
apps/web/autumn.config.ts
+123
−0
apps/web/biome.json
+35
−0
apps/web/components.json
+24
−0
apps/web/drizzle.config.ts
+14
−0
apps/web/drizzle/0000_mushy_newton_destine.sql
+239
−0
apps/web/nitro.config.ts
+39
−0
apps/web/package.json
+116
−0
apps/web/public/favicon.png
—
—
apps/web/public/favicon.svg
+7
−0
apps/web/public/fonts/Geist-Medium.woff2
—
—
apps/web/public/fonts/Geist-Variable.woff2
—
—
apps/web/public/robots.txt
+3
−0
apps/web/server/plugins/evlog-drain.ts
+12
−0
apps/web/server/plugins/otel.ts
+11
−0
apps/web/src/components/ask/chat-thread.tsx
+757
−0
apps/web/src/components/chat/chat-context.tsx
+348
−0
apps/web/src/components/chat/use-persisted-chat.ts
+124
−0
apps/web/src/components/home/event-group-card.tsx
+186
−0
apps/web/src/components/icons/automations-icon.tsx
+22
−0
apps/web/src/components/icons/chevron-down.tsx
+21
−0
apps/web/src/components/icons/chevron-sort.tsx
+21
−0
apps/web/src/components/icons/close-icon.tsx
+19
−0
apps/web/src/components/icons/events-icon.tsx
+35
−0
apps/web/src/components/icons/file-01-icon.tsx
+26
−0
apps/web/src/components/icons/github.tsx
+21
−0
apps/web/src/components/icons/home-icon.tsx
+27
−0
apps/web/src/components/icons/insights-icon.tsx
+21
−0
apps/web/src/components/icons/integrations-icon.tsx
+24
−0
apps/web/src/components/icons/menu-icon.tsx
+17
−0
apps/web/src/components/icons/nav-icons.tsx
+156
−0
apps/web/src/components/icons/rules-icon.tsx
+18
−0
apps/web/src/components/icons/search-icon.tsx
+19
−0
apps/web/src/components/icons/slash-divider.tsx
+25
−0
apps/web/src/components/icons/trend-arrow.tsx
+22
−0
apps/web/src/components/icons/tripwire-logo.tsx
+18
−0
apps/web/src/components/insights/blacklist-trend-chart.tsx
+84
−0
apps/web/src/components/insights/hero-stat.tsx
+46
−0
apps/web/src/components/insights/spam-trend-chart.tsx
+68
−0
apps/web/src/components/insights/stat-card.tsx
+35
−0
apps/web/src/components/landing/evil-eye.tsx
+275
−0
apps/web/src/components/landing/faulty-terminal.tsx
+456
−0
apps/web/src/components/landing/header.tsx
+63
−0
apps/web/src/components/landing/tripwire-eye.tsx
+134
−0
apps/web/src/components/landing/tripwire-features.tsx
+777
−0
apps/web/src/components/landing/visuals.tsx
+352
−0
apps/web/src/components/landing/waitlist-form.tsx
+73
−0
apps/web/src/components/layout/app-header.tsx
+53
−0
apps/web/src/components/layout/app-shell.tsx
+390
−0
apps/web/src/components/layout/empty-state.tsx
+34
−0
apps/web/src/components/layout/org-repo-switcher.tsx
+128
−0
apps/web/src/components/layout/sidebar.tsx
+178
−0
apps/web/src/components/layout/top-nav.tsx
+227
−0
apps/web/src/components/layout/workspace-redirect.tsx
+29
−0
apps/web/src/components/profile/community-signals.tsx
+179
−0
apps/web/src/components/profile/contributions-heatmap.tsx
+252
−0
apps/web/src/components/profile/pinned-repos.tsx
+65
−0
apps/web/src/components/rules/file-content-editor.tsx
+43
−0
apps/web/src/components/rules/people-tab.tsx
+435
−0
apps/web/src/components/rules/repo-files-tree.tsx
+471
−0
apps/web/src/components/rules/rule-card-grid.tsx
+474
−0
apps/web/src/components/rules/rule-card.tsx
+38
−0
apps/web/src/components/rules/rule-dropdown.tsx
+76
−0
apps/web/src/components/rules/rules-save-bar.tsx
+306
−0
apps/web/src/components/rules/user-list.tsx
+101
−0
apps/web/src/components/rules/user-pill.tsx
+32
−0
apps/web/src/components/ui/button.tsx
+119
−0
apps/web/src/components/ui/checkbox.tsx
+39
−0
apps/web/src/components/ui/dialog.tsx
+220
−0
apps/web/src/components/ui/menu.tsx
+325
−0
apps/web/src/components/ui/scroll-area.tsx
+64
−0
apps/web/src/components/ui/skeleton.tsx
+15
−0
apps/web/src/components/ui/spinner.tsx
+17
−0
apps/web/src/components/ui/toast.tsx
+280
−0
apps/web/src/components/ui/unicode-spinner.tsx
+139
−0
apps/web/src/hooks/use-github-user.ts
+75
−0
apps/web/src/hooks/use-haptics.ts
+12
−0
apps/web/src/instrumentation.ts
+94
−0
apps/web/src/integrations/tanstack-query/devtools.tsx
+6
−0
apps/web/src/integrations/tanstack-query/root-provider.tsx
+63
−0
apps/web/src/integrations/trpc/error.ts
+61
−0
apps/web/src/integrations/trpc/init.ts
+99
−0
apps/web/src/integrations/trpc/react.ts
+4
−0
apps/web/src/integrations/trpc/router.ts
+29
−0
apps/web/src/integrations/trpc/routers/api-keys.ts
+87
−0
apps/web/src/integrations/trpc/routers/chats.ts
+183
−0
apps/web/src/integrations/trpc/routers/events.ts
+431
−0
apps/web/src/integrations/trpc/routers/fake-bounties.ts
+160
−0
apps/web/src/integrations/trpc/routers/lists.ts
+295
−0
apps/web/src/integrations/trpc/routers/orgs.ts
+140
−0
apps/web/src/integrations/trpc/routers/reputation.ts
+241
−0
apps/web/src/integrations/trpc/routers/requests.ts
+295
−0
apps/web/src/integrations/trpc/routers/rules.ts
+345
−0
apps/web/src/integrations/trpc/routers/vouches.ts
+292
−0
apps/web/src/integrations/trpc/routers/waitlist.ts
+41
−0
apps/web/src/lib/github-badges.ts
+131
−0
apps/web/src/lib/routes.ts
+33
−0
apps/web/src/lib/seo.ts
+52
−0
apps/web/src/lib/sidebar-context.tsx
+32
−0
apps/web/src/lib/toast-error.ts
+36
−0
apps/web/src/lib/use-events-unread.ts
+59
−0
apps/web/src/lib/use-request-notifications.ts
+80
−0
apps/web/src/lib/workspace-context.tsx
+216
−0
apps/web/src/routeTree.gen.ts
+1011
−0
apps/web/src/router.tsx
+27
−0
apps/web/src/routes/[.well-known].oauth-authorization-server.$.ts
+15
−0
apps/web/src/routes/[.well-known].oauth-authorization-server.ts
+13
−0
apps/web/src/routes/[.well-known].oauth-protected-resource.$.ts
+15
−0
apps/web/src/routes/[.well-known].oauth-protected-resource.ts
+13
−0
apps/web/src/routes/__root.tsx
+63
−0
apps/web/src/routes/_app.tsx
+6
−0
apps/web/src/routes/_app/$orgHandle.automations.tsx
+12
−0
apps/web/src/routes/_app/$orgHandle.events.$eventId.tsx
+979
−0
apps/web/src/routes/_app/$orgHandle.events.index.tsx
+549
−0
apps/web/src/routes/_app/$orgHandle.home.tsx
+488
−0
apps/web/src/routes/_app/$orgHandle.insights.tsx
+235
−0
apps/web/src/routes/_app/$orgHandle.integrations.tsx
+94
−0
apps/web/src/routes/_app/$orgHandle.rules.tsx
+1117
−0
apps/web/src/routes/_app/$orgHandle.tsx
+5
−0
apps/web/src/routes/_app/automations.tsx
+18
−0
apps/web/src/routes/_app/chat.$chatId.tsx
+178
−0
apps/web/src/routes/_app/events.$eventId.tsx
+19
−0
apps/web/src/routes/_app/events.index.tsx
+18
−0
apps/web/src/routes/_app/home.tsx
+18
−0
apps/web/src/routes/_app/insights.tsx
+18
−0
apps/web/src/routes/_app/integrations.tsx
+18
−0
apps/web/src/routes/_app/rules.tsx
+18
−0
apps/web/src/routes/_app/search.tsx
+12
−0
apps/web/src/routes/_app/settings.tsx
+67
−0
apps/web/src/routes/_app/settings/account.tsx
+301
−0
apps/web/src/routes/_app/settings/billing.tsx
+246
−0
apps/web/src/routes/_app/settings/developers.tsx
+218
−0
apps/web/src/routes/_app/settings/general.tsx
+201
−0
apps/web/src/routes/_app/users.$username.tsx
+322
−0
apps/web/src/routes/api.chat.ts
+676
−0
apps/web/src/routes/api.github.callback.ts
+313
−0
apps/web/src/routes/api.github.install.ts
+63
−0
apps/web/src/routes/api.github.webhook.ts
+378
−0
apps/web/src/routes/api.mcp.ts
+35
−0
apps/web/src/routes/api.oauth.app-info.ts
+44
−0
apps/web/src/routes/api.tools.run.ts
+121
−0
apps/web/src/routes/api.trpc.$.tsx
+22
−0
apps/web/src/routes/api.v1.vouched.ts
+99
−0
apps/web/src/routes/api/auth/$.ts
+11
−0
apps/web/src/routes/index.tsx
+100
−0
apps/web/src/routes/login.tsx
+50
−0
apps/web/src/routes/oauth.consent.tsx
+227
−0
apps/web/src/routes/request.$owner.$repo.tsx
+208
−0
apps/web/src/routes/vouched.tsx
+282
−0
apps/web/src/styles.css
+267
−0
apps/web/src/types/chat/index.ts
+32
−0
apps/web/src/types/github/index.ts
+94
−0
apps/web/src/types/home/index.ts
+32
−0
apps/web/src/utils/chat/index.tsx
+248
−0
apps/web/src/utils/github/index.ts
+89
−0
apps/web/src/utils/github/profile-score.ts
+182
−0
apps/web/src/utils/home/index.ts
+15
−0
apps/web/tsconfig.json
+13
−0
apps/web/vite.config.ts
+39
−0
docs/CLI_PLAN.md
+229
−0
docs/MONOREPO_EXTRACTION_PLAN.md
+240
−0
package.json
+27
−0
packages/ai/.turbo/turbo-typecheck.log
+9
−0
packages/ai/package.json
+32
−0
packages/ai/src/approval-token.ts
+157
−0
packages/ai/src/components/index.ts
+7
−0
packages/ai/src/components/thinking-phrases.ts
+28
−0
packages/ai/src/credit-middleware.ts
+118
−0
packages/ai/src/credit-schema.ts
+110
−0
packages/ai/src/index.ts
+13
−0
packages/ai/src/prompt.ts
+150
−0
packages/ai/tsconfig.json
+8
−0
packages/auth/.turbo/turbo-typecheck.log
+5
−0
packages/auth/package.json
+31
−0
packages/auth/src/autumn.ts
+10
−0
packages/auth/src/client/index.ts
+9
−0
packages/auth/src/components/auth-context.tsx
+49
−0
packages/auth/src/components/index.ts
+1
−0
packages/auth/src/index.ts
+205
−0
packages/auth/tsconfig.json
+8
−0
packages/core/.turbo/turbo-typecheck.log
+5
−0
packages/core/package.json
+32
−0
packages/core/src/api-keys.ts
+72
−0
packages/core/src/assertions.ts
+85
−0
packages/core/src/contributor-score.ts
+384
−0
packages/core/src/events.ts
+153
−0
packages/core/src/fake-bounty.ts
+347
−0
packages/core/src/filter-pipeline.test.ts
+168
−0
packages/core/src/filter-pipeline.ts
+1426
−0
packages/core/src/index.ts
+19
−0
packages/core/src/language-detection.test.ts
+111
−0
packages/core/src/language-detection.ts
+88
−0
packages/core/src/reputation.ts
+120
−0
packages/core/src/rules/config-draft.ts
+616
−0
packages/core/src/rules/config-schema.ts
+69
−0
packages/core/tsconfig.json
+8
−0
packages/db/.turbo/turbo-typecheck.log
+4
−0
packages/db/package.json
+25
−0
packages/db/src/connection.ts
+11
−0
packages/db/src/index.ts
+9
−0
packages/db/src/schema/api-keys.ts
+44
−0
packages/db/src/schema/auth.ts
+67
−0
packages/db/src/schema/conversations.ts
+35
−0
packages/db/src/schema/events.ts
+87
−0
packages/db/src/schema/fake-bounties.ts
+104
−0
packages/db/src/schema/index.ts
+19
−0
packages/db/src/schema/installations.ts
+62
−0
packages/db/src/schema/lists.ts
+62
−0
packages/db/src/schema/oauth.ts
+48
−0
packages/db/src/schema/orgs.ts
+39
−0
packages/db/src/schema/reputation.ts
+87
−0
packages/db/src/schema/requests.ts
+51
−0
packages/db/src/schema/rules.ts
+134
−0
packages/db/src/schema/vouch-requests.ts
+45
−0
packages/db/src/schema/vouches.ts
+50
−0
packages/db/src/schema/waitlist.ts
+10
−0
packages/db/tsconfig.json
+8
−0
packages/env/.turbo/turbo-typecheck.log
+4
−0
packages/env/package.json
+24
−0
packages/env/src/client.ts
+20
−0
packages/env/src/server.ts
+88
−0
packages/env/tsconfig.json
+8
−0
packages/github/.turbo/turbo-typecheck.log
+4
−0
packages/github/package.json
+29
−0
packages/github/src/app.ts
+330
−0
packages/github/src/github-api.test.ts
+173
−0
packages/github/src/github-api.ts
+2
−0
packages/github/src/index.ts
+8
−0
packages/github/src/install-state.ts
+124
−0
packages/github/src/repo-files.ts
+297
−0
packages/github/src/user.ts
+378
−0
packages/github/src/verify-webhook.ts
+31
−0
packages/github/tsconfig.json
+8
−0
packages/mcp/.turbo/turbo-typecheck.log
+5
−0
packages/mcp/package.json
+21
−0
packages/mcp/src/adapter.ts
+68
−0
packages/mcp/src/index.ts
+8
−0
packages/mcp/tsconfig.json
+8
−0
packages/ratelimit/package.json
+21
−0
packages/ratelimit/src/index.ts
+98
−0
packages/ratelimit/tsconfig.json
+8
−0
packages/tools/.turbo/turbo-typecheck.log
+5
−0
packages/tools/package.json
+29
−0
packages/tools/src/chat-adapter.ts
+105
−0
packages/tools/src/definitions/guides.ts
+22
−0
packages/tools/src/definitions/lists.ts
+613
−0
packages/tools/src/definitions/reads.ts
+527
−0
packages/tools/src/definitions/rules.ts
+439
−0
packages/tools/src/guides-content.ts
+242
−0
packages/tools/src/helpers.ts
+138
−0
packages/tools/src/index.ts
+28
−0
packages/tools/src/registry.ts
+149
−0
packages/tools/tsconfig.json
+8
−0
packages/ui/package.json
+27
−0
packages/ui/src/catalog.ts
+226
−0
packages/ui/src/index.ts
+11
−0
packages/ui/src/registry.tsx
+643
−0
packages/ui/src/types.ts
+4
−0
packages/ui/src/utils.ts
+7
−0
packages/ui/tsconfig.json
+8
−0
pnpm-lock.yaml
+12328
−0
pnpm-workspace.yaml
+7
−0
scripts/fix-nitro-windows-paths.mjs
+40
−0
skills-lock.json
+39
−0
tsconfig.base.json
+23
−0
turbo.json
+91
−0
vercel.json
+5
−0