Skip to content

Commit fab2133

Browse files
chore: configure trust center domain (anomalyco#36910)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
1 parent 901c9e7 commit fab2133

3 files changed

Lines changed: 29 additions & 0 deletions

File tree

infra/stage.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,25 @@ export const zoneID = "430ba34c138cfb5360826c4909f99be8"
88
export const awsStage = $app.stage === "production" ? "production" : "dev"
99
export const deployAws = $app.stage === awsStage
1010

11+
if ($app.stage === "production") {
12+
new cloudflare.DnsRecord("TrustCenter", {
13+
zoneId: zoneID,
14+
name: "trust.opencode.ai",
15+
type: "CNAME",
16+
content: "3a69a5bb27875189.vercel-dns-016.com",
17+
proxied: false,
18+
ttl: 60,
19+
})
20+
21+
new cloudflare.DnsRecord("TrustCenterVerification", {
22+
zoneId: zoneID,
23+
name: "opencode.ai",
24+
type: "TXT",
25+
content: "compai-domain-verification=org_6993a99c6200a2d642bb115d",
26+
ttl: 60,
27+
})
28+
}
29+
1130
new cloudflare.RegionalHostname("RegionalHostname", {
1231
hostname: domain,
1332
regionKey: "us",

packages/console/app/src/i18n/en.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,10 @@ export const dict = {
777777
"enterprise.faq.q4": "Is my data secure with OpenCode Enterprise?",
778778
"enterprise.faq.a4":
779779
"Yes. OpenCode does not store your code or context data. All processing happens locally or through direct API calls to your AI provider. With central config and SSO integration, your data remains secure within your organization's infrastructure.",
780+
"enterprise.faq.q5": "Where can I find your security and compliance documentation?",
781+
"enterprise.faq.a5.before":
782+
"Our Trust Center has everything: SOC 2 Type 2 report, security policies, subprocessor list, and answers to common security questions. Visit",
783+
"enterprise.faq.a5.after": "to review or request documents under NDA.",
780784

781785
"brand.title": "OpenCode | Brand",
782786
"brand.meta.description": "OpenCode brand guidelines",

packages/console/app/src/routes/enterprise/index.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,12 @@ export default function Enterprise() {
273273
<li>
274274
<Faq question={i18n.t("enterprise.faq.q4")}>{i18n.t("enterprise.faq.a4")}</Faq>
275275
</li>
276+
<li>
277+
<Faq question={i18n.t("enterprise.faq.q5")}>
278+
{i18n.t("enterprise.faq.a5.before")} <a href="https://trust.opencode.ai">trust.opencode.ai</a>{" "}
279+
{i18n.t("enterprise.faq.a5.after")}
280+
</Faq>
281+
</li>
276282
</ul>
277283
</section>
278284
</div>

0 commit comments

Comments
 (0)