Skip to content

Commit 6c5cba9

Browse files
committed
fix: OpenClaw agent routes for production deployment
- Fix Slack webhook to route to VPS IP (178.128.150.129) instead of localhost - Replace axios with fetch API (not in dependencies) - Update provisioning endpoint status to 'provisioning' instead of 'healthy' until Docker is actually implemented - Extract container response data from fetch properly
1 parent 5f359be commit 6c5cba9

File tree

118 files changed

+1246
-581
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+1246
-581
lines changed

apps/webapp/app/bootstrap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async function createWorkerGroup() {
4040

4141
console.log(`
4242
==========================
43-
Trigger.dev Bootstrap - Worker Token
43+
AirTrigger Bootstrap - Worker Token
4444
4545
WARNING: This will only be shown once. Save it now!
4646

apps/webapp/app/components/AskAI.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ function ChatMessages({
230230
];
231231

232232
return (
233-
<div className="flex-1 overflow-y-auto p-4 scrollbar-thin scrollbar-track-transparent scrollbar-thumb-charcoal-600">
233+
<div className="flex-1 overflow-y-auto p-4 scrollbar-thin scrollbar-track-transparent scrollbar-thumb-gray-300">
234234
{conversation.length === 0 ? (
235235
<motion.div
236236
className="flex flex-col gap-2 pb-2"
@@ -248,7 +248,7 @@ function ChatMessages({
248248
}}
249249
>
250250
<Paragraph className="mb-3 mt-1.5 pl-1">
251-
I'm trained on docs, examples, and other content. Ask me anything about Trigger.dev.
251+
I'm trained on docs, examples, and other content. Ask me anything about AirTrigger.
252252
</Paragraph>
253253
{exampleQuestions.map((question, index) => (
254254
<motion.button

apps/webapp/app/components/BlankStatePanels.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ export function BranchesNoBranchableEnvironment() {
435435
}
436436
>
437437
<Paragraph spacing variant="small">
438-
Preview branches in Trigger.dev create isolated environments for testing new features before
438+
Preview branches in AirTrigger create isolated environments for testing new features before
439439
production.
440440
</Paragraph>
441441
<Paragraph variant="small">

apps/webapp/app/components/DevPresence.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ export function DevPresencePanel({ isConnected }: { isConnected: boolean | undef
169169
{isConnected === undefined
170170
? "Checking connection..."
171171
: isConnected
172-
? "Your local dev server is connected to Trigger.dev"
173-
: "Your local dev server is not connected to Trigger.dev"}
172+
? "Your local dev server is connected to AirTrigger"
173+
: "Your local dev server is not connected to AirTrigger"}
174174
</Paragraph>
175175
</div>
176176
{isConnected ? null : (
@@ -180,7 +180,7 @@ export function DevPresencePanel({ isConnected }: { isConnected: boolean | undef
180180
</PackageManagerProvider>
181181
<Paragraph variant="small">
182182
Run this CLI <InlineCode variant="extra-small">dev</InlineCode> command to connect to
183-
the Trigger.dev servers to start developing locally. Keep it running while you develop
183+
the AirTrigger servers to start developing locally. Keep it running while you develop
184184
to stay connected. Learn more in the{" "}
185185
<TextLink to={docsPath("cli-dev")}>CLI docs</TextLink>.
186186
</Paragraph>
@@ -210,7 +210,7 @@ export function DevDisconnectedBanner({ isConnected }: { isConnected: boolean |
210210
iconSpacing="gap-1"
211211
LeadingIcon={<ConnectionIcon isConnected={false} />}
212212
>
213-
Your local dev server is not connected to Trigger.dev
213+
Your local dev server is not connected to AirTrigger
214214
</Button>
215215
</DialogTrigger>
216216
</motion.div>

apps/webapp/app/components/ErrorDisplay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ type DisplayOptionsProps = {
4343

4444
export function ErrorDisplay({ title, message, button }: DisplayOptionsProps) {
4545
return (
46-
<div className="relative flex min-h-screen flex-col items-center justify-center bg-[#16181C]">
46+
<div className="relative flex min-h-screen flex-col items-center justify-center bg-background-dimmed">
4747
<div className="z-10 mt-[30vh] flex flex-col items-center gap-8">
4848
<Header1>{title}</Header1>
4949
{message && <Paragraph>{message}</Paragraph>}

apps/webapp/app/components/Feedback.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export function Feedback({ button, defaultValue = "bug", onOpenChange }: Feedbac
114114
panelClassName="w-full mb-2"
115115
>
116116
<Paragraph variant="small">
117-
The quickest way to get answers from the Trigger.dev team and community is to{" "}
117+
The quickest way to get answers from the AirTrigger team and community is to{" "}
118118
<TextLink to="https://trigger.dev/discord">ask in our Discord</TextLink>.
119119
</Paragraph>
120120
</InfoPanel>

apps/webapp/app/components/LoginPageLayout.tsx

Lines changed: 12 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,20 @@
1-
import { useEffect, useState } from "react";
2-
import { AppsmithLogo } from "~/assets/logos/AppsmithLogo";
3-
import { CalComLogo } from "~/assets/logos/CalComLogo";
4-
import { LyftLogo } from "~/assets/logos/LyftLogo";
5-
import { MiddayLogo } from "~/assets/logos/MiddayLogo";
6-
import { TldrawLogo } from "~/assets/logos/TldrawLogo";
7-
import { UnkeyLogo } from "~/assets/logos/UnkeyLogo";
81
import { LogoType } from "./LogoType";
92
import { LinkButton } from "./primitives/Buttons";
10-
import { Header3 } from "./primitives/Headers";
113
import { Paragraph } from "./primitives/Paragraph";
124
import { TextLink } from "./primitives/TextLink";
135
import { BookOpenIcon } from "@heroicons/react/20/solid";
146

15-
interface QuoteType {
16-
quote: string;
17-
person: string;
18-
}
19-
20-
const quotes: QuoteType[] = [
21-
{
22-
quote: "Trigger.dev is redefining background jobs for modern developers.",
23-
person: "Paul Copplestone, Supabase",
24-
},
25-
{
26-
quote:
27-
"Trigger.dev is a great way to automate email campaigns with Resend, and we've heard nothing but good things from our mutual customers.",
28-
person: "Zeno Rocha, Resend",
29-
},
30-
{
31-
quote: "We love Trigger.dev and it’s had a big impact in dev iteration velocity already.",
32-
person: "André Neves, ZBD",
33-
},
34-
{
35-
quote:
36-
"We’ve been looking for a product like Trigger.dev for a really long time - automation that's simple and developer-focused.",
37-
person: "Han Wang, Mintlify",
38-
},
39-
];
40-
417
export function LoginPageLayout({ children }: { children: React.ReactNode }) {
42-
const [randomQuote, setRandomQuote] = useState<QuoteType | null>(null);
43-
useEffect(() => {
44-
const randomIndex = Math.floor(Math.random() * quotes.length);
45-
setRandomQuote(quotes[randomIndex]);
46-
}, []);
47-
488
return (
499
<main className="grid h-full grid-cols-1 md:grid-cols-2">
5010
<div className="border-r border-grid-bright bg-background-bright">
5111
<div className="flex h-full flex-col items-center justify-between p-6">
5212
<div className="flex w-full items-center justify-between">
53-
<a href="https://trigger.dev">
13+
<a href="/">
5414
<LogoType className="w-36" />
5515
</a>
5616
<LinkButton
57-
to="https://trigger.dev/docs"
17+
to="/docs"
5818
variant={"tertiary/small"}
5919
LeadingIcon={BookOpenIcon}
6020
>
@@ -63,27 +23,21 @@ export function LoginPageLayout({ children }: { children: React.ReactNode }) {
6323
</div>
6424
<div className="flex h-full max-w-sm items-center justify-center">{children}</div>
6525
<Paragraph variant="small" className="text-center">
66-
Having login issues? <TextLink href="https://@trigger.dev/contact">Email us</TextLink>{" "}
67-
or <TextLink href="https://trigger.dev/discord">ask us in Discord</TextLink>
26+
Having login issues?{" "}
27+
<TextLink href="mailto:support@airtrigger.dev">Email us</TextLink>
6828
</Paragraph>
6929
</div>
7030
</div>
7131
<div className="hidden grid-rows-[1fr_auto] pb-6 md:grid">
7232
<div className="flex h-full flex-col items-center justify-center px-16">
73-
<Header3 className="relative text-center text-2xl font-normal leading-8 text-text-dimmed transition before:relative before:right-1 before:top-0 before:text-6xl before:text-charcoal-750 before:content-['❝'] lg-height:text-xl md-height:text-lg">
74-
{randomQuote?.quote}
75-
</Header3>
76-
<Paragraph className="mt-4 text-text-dimmed/60">{randomQuote?.person}</Paragraph>
77-
</div>
78-
<div className="flex flex-col items-center gap-4 px-8">
79-
<Paragraph>Trusted by developers at</Paragraph>
80-
<div className="flex w-full flex-wrap items-center justify-center gap-x-6 gap-y-3 text-charcoal-500 xl:justify-between xl:gap-0">
81-
<LyftLogo className="w-11" />
82-
<UnkeyLogo />
83-
<MiddayLogo />
84-
<AppsmithLogo />
85-
<CalComLogo />
86-
<TldrawLogo />
33+
<div className="flex flex-col items-center gap-4">
34+
<h2 className="text-center text-2xl font-semibold text-text-bright">
35+
Background jobs, simplified.
36+
</h2>
37+
<p className="max-w-md text-center text-text-dimmed">
38+
Run reliable background tasks with zero infrastructure overhead. Build, deploy, and
39+
monitor your workflows from one place.
40+
</p>
8741
</div>
8842
</div>
8943
</div>
Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,20 @@
11
export function LogoIcon({ className }: { className?: string }) {
22
return (
33
<svg
4-
width="321"
5-
height="282"
6-
viewBox="0 0 321 282"
4+
width="32"
5+
height="32"
6+
viewBox="0 0 32 32"
77
fill="none"
88
xmlns="http://www.w3.org/2000/svg"
99
className={className}
1010
>
11+
<rect width="32" height="32" rx="8" fill="#2E7D32" />
1112
<path
12-
fillRule="evenodd"
13-
clipRule="evenodd"
14-
d="M96.1017 113.4L160.679 4.57764e-05L320.718 281.045H0.638916L65.2159 167.642L110.896 194.382L92.0035 227.561H229.354L160.679 106.965L141.786 140.144L96.1017 113.4Z"
15-
fill="url(#paint0_linear_465_1663)"
13+
d="M16 6L24 24H8L16 6Z"
14+
fill="white"
15+
fillOpacity="0.9"
1616
/>
17-
<defs>
18-
<linearGradient
19-
id="paint0_linear_465_1663"
20-
x1="320.718"
21-
y1="140.687"
22-
x2="0.638918"
23-
y2="140.687"
24-
gradientUnits="userSpaceOnUse"
25-
>
26-
<stop stopColor="#41FF54" />
27-
<stop offset="1" stopColor="#E7FF52" />
28-
</linearGradient>
29-
</defs>
17+
<circle cx="16" cy="20" r="2" fill="#2E7D32" />
3018
</svg>
3119
);
3220
}

0 commit comments

Comments
 (0)