mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-28 19:14:53 +00:00
docs(site): publish the updated Terms of Use and the Refund Policy (#66126)
This commit is contained in:
parent
7b8a065e29
commit
2cd57b2f8b
13 changed files with 281 additions and 10 deletions
|
|
@ -20,6 +20,7 @@ const documents = {
|
|||
"packages/console/app/src/lib/legal/privacy-policy.ts",
|
||||
"packages/console/app/src/routes/legal/privacy-policy/index.tsx",
|
||||
],
|
||||
"/legal/refund-policy": ["services/site/src/lib/legal/refund-policy.ts"],
|
||||
"/legal/terms-of-service": [
|
||||
"services/site/src/lib/legal/terms-of-service.ts",
|
||||
"packages/console/app/src/lib/legal/terms-of-service.ts",
|
||||
|
|
|
|||
|
|
@ -177,6 +177,14 @@ const cards: Card[] = [
|
|||
shows: "the Privacy Policy document with its summary, at an angle",
|
||||
shot: angled(`${stills}/privacy-policy.jpg`, [290, 0, 1000, 900], 470),
|
||||
},
|
||||
// No still of its own: the legal page's, which lists it.
|
||||
{
|
||||
path: "/legal/refund-policy",
|
||||
title: "Refund Policy",
|
||||
description: "When OpenCode refunds Go subscriptions and Models credits.",
|
||||
shows: "the legal page listing the privacy policy, refund policy and terms, at an angle",
|
||||
shot: angled(`${stills}/legal.jpg`, [290, 40, 1000, 800], 470),
|
||||
},
|
||||
{
|
||||
path: "/legal/terms-of-service",
|
||||
title: "Terms of Use",
|
||||
|
|
|
|||
|
|
@ -874,6 +874,69 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Refund Policy",
|
||||
"path": "/legal/refund-policy",
|
||||
"description": "When you can get a refund for OpenCode Go subscriptions and OpenCode Models credits, how to ask for one, how to cancel and how refunds are paid.",
|
||||
"headings": [
|
||||
{
|
||||
"id": "requesting-a-refund",
|
||||
"title": "Requesting a refund",
|
||||
"body": " Email help@anoma.ly from the email address on the OpenCode account that made the payment. For a workspace, write from the workspace owner's email address. Include the invoice or receipt number, or the date of the charge, if you have it.",
|
||||
"path": "/legal/refund-policy",
|
||||
"document": "Refund Policy"
|
||||
},
|
||||
{
|
||||
"id": "opencode-go-and-go-plus",
|
||||
"title": "OpenCode Go and Go Plus",
|
||||
"body": " You can get a refund of your most recent Go or Go Plus payment if you ask within 14 days of the charge and have used almost none of that billing period's allowance. We refund the full charge, including tax. Your subscription ends when the refund is issued and won't renew. Go Teams charges and upgrades: the same rule applies to each Go charge, including a Go Teams member charge or an upgrade to Go Plus or Go Teams. You can get a refund of that charge if you ask within 14 days of it and have used almost none of what it paid for. Otherwise these charges aren't refunded, except where the law requ",
|
||||
"path": "/legal/refund-policy",
|
||||
"document": "Refund Policy"
|
||||
},
|
||||
{
|
||||
"id": "opencode-models-credits",
|
||||
"title": "OpenCode Models credits",
|
||||
"body": " You can get a refund of your most recent credit purchase, including one made by auto-recharge, if you ask within 14 days of the purchase and have used almost none of its credit. We refund the credit still in your balance, up to the amount you bought, plus the tax charged on it. The processing fee isn't refunded. A credit refund turns off auto-recharge.",
|
||||
"path": "/legal/refund-policy",
|
||||
"document": "Refund Policy"
|
||||
},
|
||||
{
|
||||
"id": "your-legal-rights",
|
||||
"title": "Your legal rights",
|
||||
"body": " These rules don't limit any rights you have under the law where you live. For example, if you're a consumer in the European Union or the United Kingdom, you can withdraw from a new Go or Go Plus subscription within 14 days of your first payment, without giving a reason, by emailing help@anoma.ly. If you do, we refund the share of the charge for the part of the billing period you haven't used. If you've already used the whole period's allowance, a refund isn't available. This doesn't apply to renewals or to business accounts.",
|
||||
"path": "/legal/refund-policy",
|
||||
"document": "Refund Policy"
|
||||
},
|
||||
{
|
||||
"id": "when-refunds-arent-available",
|
||||
"title": "When refunds aren't available",
|
||||
"body": " We don't refund payments or remaining credit for an account or workspace that we suspend or close because it violated our Terms of Use or Customer Agreement, or because it was used for fraudulent or abusive activity, except where the law requires a refund. If a payment is disputed or reversed, we may suspend the account and remove the credit or access that payment bought.",
|
||||
"path": "/legal/refund-policy",
|
||||
"document": "Refund Policy"
|
||||
},
|
||||
{
|
||||
"id": "cancelling",
|
||||
"title": "Cancelling",
|
||||
"body": " An owner or admin can cancel Go at any time on the Go page in the Console. Your plan stays active until the end of the period you paid for, and you won't be charged again. Cancelling doesn't refund the current period. To ask for a refund, see Requesting a refund. To stop auto-recharge, remove its rule in Settings › Billing.",
|
||||
"path": "/legal/refund-policy",
|
||||
"document": "Refund Policy"
|
||||
},
|
||||
{
|
||||
"id": "how-refunds-are-paid",
|
||||
"title": "How refunds are paid",
|
||||
"body": " We reply to refund requests within two business days and issue an approved refund at the same time. Refunds go back to the original payment method, in the currency you paid. Your bank or payment provider usually shows the refund within 5 to 10 business days.",
|
||||
"path": "/legal/refund-policy",
|
||||
"document": "Refund Policy"
|
||||
},
|
||||
{
|
||||
"id": "questions",
|
||||
"title": "Questions",
|
||||
"body": " Email help@anoma.ly with any questions. Our Terms of Use and Customer Agreement also apply.",
|
||||
"path": "/legal/refund-policy",
|
||||
"document": "Refund Policy"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Terms of Use",
|
||||
"path": "/legal/terms-of-service",
|
||||
|
|
@ -966,7 +1029,7 @@
|
|||
{
|
||||
"id": "paid-services",
|
||||
"title": "Paid Services",
|
||||
"body": " Certain of our Services, including OpenCode Models, may be subject to payments now or in the future (the \"Paid Services\"). Please see our Paid Services page https://opencode.ai/console/models for a description of the current Paid Services. Please note that any payment terms presented to you in the process of using or signing up for a Paid Service are deemed part of these Terms.",
|
||||
"body": " Certain of our Services, including OpenCode Models, may be subject to payments now or in the future (the \"Paid Services\"). Please see our Paid Services page https://opencode.ai/console/models for a description of the current Paid Services. Please note that any payment terms presented to you in the process of using or signing up for a Paid Service are deemed part of these Terms. Refunds are governed by our Refund Policy at opencode.ai/legal/refund-policy, which forms part of these Terms.",
|
||||
"path": "/legal/terms-of-service",
|
||||
"document": "Terms of Use"
|
||||
},
|
||||
|
|
@ -998,10 +1061,24 @@
|
|||
"path": "/legal/terms-of-service",
|
||||
"document": "Terms of Use"
|
||||
},
|
||||
{
|
||||
"id": "prepaid-credits",
|
||||
"title": "Prepaid Credits",
|
||||
"body": " We may offer the option to prepay for certain Paid Services by purchasing credits (\"Credits\"). Credits have no cash value and may be used only for the Services in the account for which they were purchased. All purchases of Credits are final and non-refundable, except as stated in our Refund Policy or as required by applicable law. Credits may not be sold, transferred, or shared, and any attempt to do so is a violation of these Terms.",
|
||||
"path": "/legal/terms-of-service",
|
||||
"document": "Terms of Use"
|
||||
},
|
||||
{
|
||||
"id": "usage-limits",
|
||||
"title": "Usage Limits",
|
||||
"body": " We may set and adjust limits on your use of the Services, including limits on account balances, purchase amounts, spending, and request rates, based on factors such as your account history. These limits are not guaranteed minimums and may change at any time.",
|
||||
"path": "/legal/terms-of-service",
|
||||
"document": "Terms of Use"
|
||||
},
|
||||
{
|
||||
"id": "what-if-i-want-to-stop",
|
||||
"title": "What if I want to stop using the Services?",
|
||||
"body": " You're free to do that at any time; please refer to our Privacy Policy https://opencode.ai/legal/privacy-policy, as well as the licenses above, to understand how we treat information you provide to us after you have stopped using our Services. OpenCode is also free to terminate (or suspend access to) your use of the Services for any reason in our discretion, including your breach of these Terms. OpenCode has the sole right to decide whether you are in violation of any of the restrictions set forth in these Terms. Provisions that, by their nature, should survive termination of these Terms shal",
|
||||
"body": " You're free to do that at any time; please refer to our Privacy Policy https://opencode.ai/legal/privacy-policy, as well as the licenses above, to understand how we treat information you provide to us after you have stopped using our Services. OpenCode is also free to terminate (or suspend access to) your use of the Services for any reason in our discretion, including your breach of these Terms. OpenCode has the sole right to decide whether you are in violation of any of the restrictions set forth in these Terms. If we suspend or terminate your access because you violated these Terms or engag",
|
||||
"path": "/legal/terms-of-service",
|
||||
"document": "Terms of Use"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -744,7 +744,7 @@ function printHref(href: string | undefined, children: LegalNode[]) {
|
|||
|
||||
/** The groups of the "grouped" legal list, by document path. */
|
||||
const legalGroups = [
|
||||
{ title: "Policies", paths: ["/legal/privacy-policy"] },
|
||||
{ title: "Policies", paths: ["/legal/privacy-policy", "/legal/refund-policy"] },
|
||||
{ title: "Agreements", paths: ["/legal/terms-of-service"] },
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,14 @@
|
|||
import { absoluteUrl, blocks, type MarkdownContext } from "~/lib/markdown"
|
||||
import { legalDate, legalDatesLine, legalHeadings, legalVersions, type LegalDocumentContent } from "~/lib/legal"
|
||||
import { privacyPolicy } from "~/lib/legal/privacy-policy"
|
||||
import { refundPolicy } from "~/lib/legal/refund-policy"
|
||||
import { termsOfService } from "~/lib/legal/terms-of-service"
|
||||
|
||||
// Every legal document at once, for the legal index, its Markdown, the feed and the sitemap. A
|
||||
// document's own page imports only its document, so it doesn't load the others.
|
||||
|
||||
/** The published legal documents, in the order the legal pages list them. */
|
||||
export const legalDocuments: LegalDocumentContent[] = [privacyPolicy, termsOfService]
|
||||
export const legalDocuments: LegalDocumentContent[] = [privacyPolicy, refundPolicy, termsOfService]
|
||||
|
||||
/**
|
||||
* Every document the legal pages list. Drafts pending legal review are kept outside the repository
|
||||
|
|
|
|||
|
|
@ -230,7 +230,54 @@ export const legalHistory = {
|
|||
diff: "https://github.com/anomalyco/opencode/commit/289b2b6a51c3a02b5263dbb10e8dc413c23867a4#diff-86623c1b761ddcf78790804023aeabaca6b33689a83d2402241105bf407fdc31",
|
||||
},
|
||||
],
|
||||
"/legal/refund-policy": [
|
||||
{
|
||||
sha: "ee0fdbff3edbaa38306a94fe40ce9b80c53a067e",
|
||||
date: "2026-11-24",
|
||||
subject: "docs(site): publish the updated Terms of Use and the Refund Policy",
|
||||
effective: "Nov 25, 2026",
|
||||
first: true,
|
||||
added: [],
|
||||
removed: [],
|
||||
addedCount: 40,
|
||||
removedCount: 0,
|
||||
source:
|
||||
"https://github.com/anomalyco/opencode/blob/ee0fdbff3edbaa38306a94fe40ce9b80c53a067e/services/site/src/lib/legal/refund-policy.ts",
|
||||
diff: "https://github.com/anomalyco/opencode/commit/ee0fdbff3edbaa38306a94fe40ce9b80c53a067e#diff-a07ae56f97260fc813325a594bea023d2a2832350927ec09512cea9826014d6d",
|
||||
},
|
||||
],
|
||||
"/legal/terms-of-service": [
|
||||
{
|
||||
sha: "ee0fdbff3edbaa38306a94fe40ce9b80c53a067e",
|
||||
date: "2026-11-24",
|
||||
subject: "docs(site): publish the updated Terms of Use and the Refund Policy",
|
||||
effective: "Nov 25, 2026",
|
||||
first: false,
|
||||
added: [
|
||||
"Effective date: Nov 25, 2026",
|
||||
"copies or stores any significant portion of the Content;",
|
||||
"decompiles, reverse engineers, or otherwise attempts to obtain the source code or underlying ideas or information of or relating to the Services; or",
|
||||
"resells, sublicenses, or otherwise makes the Services, or any account, API key, credentials, or Credits, available to any third party, except as expressly approved by OpenCode in writing.",
|
||||
"Refunds are governed by our Refund Policy at opencode.ai/legal/refund-policy, which forms part of these Terms.",
|
||||
"If a payment is disputed or reversed, we may suspend your account and remove Credits corresponding to the disputed amount.",
|
||||
"Prepaid Credits",
|
||||
'We may offer the option to prepay for certain Paid Services by purchasing credits ("Credits").',
|
||||
"Credits have no cash value and may be used only for the Services in the account for which they were purchased.",
|
||||
"All purchases of Credits are final and non-refundable, except as stated in our Refund Policy or as required by applicable law.",
|
||||
"Credits may not be sold, transferred, or shared, and any attempt to do so is a violation of these Terms.",
|
||||
"Usage Limits",
|
||||
],
|
||||
removed: [
|
||||
"Effective date: Nov 8, 2026",
|
||||
"copies or stores any significant portion of the Content; or",
|
||||
"decompiles, reverse engineers, or otherwise attempts to obtain the source code or underlying ideas or information of or relating to the Services.",
|
||||
],
|
||||
addedCount: 16,
|
||||
removedCount: 3,
|
||||
source:
|
||||
"https://github.com/anomalyco/opencode/blob/ee0fdbff3edbaa38306a94fe40ce9b80c53a067e/services/site/src/lib/legal/terms-of-service.ts",
|
||||
diff: "https://github.com/anomalyco/opencode/commit/ee0fdbff3edbaa38306a94fe40ce9b80c53a067e#diff-209b8f3fa7d4510762a9da362f1ccd8ea7c8754348118dec83377de38a818b32",
|
||||
},
|
||||
{
|
||||
sha: "9c7212c99a69b9d1c644fc30ad79068124aab1a7",
|
||||
date: "2026-11-08",
|
||||
|
|
|
|||
99
services/site/src/lib/legal/refund-policy.ts
Normal file
99
services/site/src/lib/legal/refund-policy.ts
Normal file
|
|
@ -0,0 +1,99 @@
|
|||
import type { LegalDocumentContent } from "~/lib/legal"
|
||||
|
||||
export const refundPolicy: LegalDocumentContent = {
|
||||
path: "/legal/refund-policy",
|
||||
title: "Refund Policy",
|
||||
metaTitle: "OpenCode | Refund Policy for Go and OpenCode Models",
|
||||
effective: "Effective date: Nov 25, 2026",
|
||||
description:
|
||||
"When you can get a refund for OpenCode Go subscriptions and OpenCode Models credits, how to ask for one, how to cancel and how refunds are paid.",
|
||||
body: [
|
||||
[
|
||||
"p",
|
||||
{},
|
||||
"This policy covers payments to Anomaly Innovations, Inc. for OpenCode Go subscriptions and OpenCode Models credits.",
|
||||
],
|
||||
["h2", { id: "requesting-a-refund" }, "Requesting a refund"],
|
||||
[
|
||||
"p",
|
||||
{},
|
||||
"Email ",
|
||||
["a", { href: "mailto:help@anoma.ly" }, "help@anoma.ly"],
|
||||
" from the email address on the OpenCode account that made the payment. For a workspace, write from the workspace owner's email address. Include the invoice or receipt number, or the date of the charge, if you have it.",
|
||||
],
|
||||
["h2", { id: "opencode-go-and-go-plus" }, "OpenCode Go and Go Plus"],
|
||||
[
|
||||
"p",
|
||||
{},
|
||||
"You can get a refund of your most recent Go or Go Plus payment if you ask within 14 days of the charge and have used almost none of that billing period's allowance.",
|
||||
],
|
||||
[
|
||||
"p",
|
||||
{},
|
||||
"We refund the full charge, including tax. Your subscription ends when the refund is issued and won't renew.",
|
||||
],
|
||||
[
|
||||
"p",
|
||||
{},
|
||||
"Go Teams charges and upgrades: the same rule applies to each Go charge, including a Go Teams member charge or an upgrade to Go Plus or Go Teams. You can get a refund of that charge if you ask within 14 days of it and have used almost none of what it paid for. Otherwise these charges aren't refunded, except where the law requires a refund (see ",
|
||||
["a", { href: "#your-legal-rights" }, "Your legal rights"],
|
||||
").",
|
||||
],
|
||||
["h2", { id: "opencode-models-credits" }, "OpenCode Models credits"],
|
||||
[
|
||||
"p",
|
||||
{},
|
||||
"You can get a refund of your most recent credit purchase, including one made by auto-recharge, if you ask within 14 days of the purchase and have used almost none of its credit.",
|
||||
],
|
||||
[
|
||||
"p",
|
||||
{},
|
||||
"We refund the credit still in your balance, up to the amount you bought, plus the tax charged on it. The processing fee isn't refunded. A credit refund turns off auto-recharge.",
|
||||
],
|
||||
["h2", { id: "your-legal-rights" }, "Your legal rights"],
|
||||
[
|
||||
"p",
|
||||
{},
|
||||
"These rules don't limit any rights you have under the law where you live. For example, if you're a consumer in the European Union or the United Kingdom, you can withdraw from a new Go or Go Plus subscription within 14 days of your first payment, without giving a reason, by emailing ",
|
||||
["a", { href: "mailto:help@anoma.ly" }, "help@anoma.ly"],
|
||||
". If you do, we refund the share of the charge for the part of the billing period you haven't used. If you've already used the whole period's allowance, a refund isn't available. This doesn't apply to renewals or to business accounts.",
|
||||
],
|
||||
["h2", { id: "when-refunds-arent-available" }, "When refunds aren't available"],
|
||||
[
|
||||
"p",
|
||||
{},
|
||||
"We don't refund payments or remaining credit for an account or workspace that we suspend or close because it violated our ",
|
||||
["a", { href: "/legal/terms-of-service" }, "Terms of Use"],
|
||||
" or ",
|
||||
["a", { href: "https://opencode.ai/console/legal/opencode-customer-agreement.pdf" }, "Customer Agreement"],
|
||||
", or because it was used for fraudulent or abusive activity, except where the law requires a refund. If a payment is disputed or reversed, we may suspend the account and remove the credit or access that payment bought.",
|
||||
],
|
||||
["h2", { id: "cancelling" }, "Cancelling"],
|
||||
[
|
||||
"p",
|
||||
{},
|
||||
"An owner or admin can cancel Go at any time on the Go page in the Console. Your plan stays active until the end of the period you paid for, and you won't be charged again. Cancelling doesn't refund the current period. To ask for a refund, see ",
|
||||
["a", { href: "#requesting-a-refund" }, "Requesting a refund"],
|
||||
".",
|
||||
],
|
||||
["p", {}, "To stop auto-recharge, remove its rule in Settings › Billing."],
|
||||
["h2", { id: "how-refunds-are-paid" }, "How refunds are paid"],
|
||||
[
|
||||
"p",
|
||||
{},
|
||||
"We reply to refund requests within two business days and issue an approved refund at the same time. Refunds go back to the original payment method, in the currency you paid. Your bank or payment provider usually shows the refund within 5 to 10 business days.",
|
||||
],
|
||||
["h2", { id: "questions" }, "Questions"],
|
||||
[
|
||||
"p",
|
||||
{},
|
||||
"Email ",
|
||||
["a", { href: "mailto:help@anoma.ly" }, "help@anoma.ly"],
|
||||
" with any questions. Our ",
|
||||
["a", { href: "/legal/terms-of-service" }, "Terms of Use"],
|
||||
" and ",
|
||||
["a", { href: "https://opencode.ai/console/legal/opencode-customer-agreement.pdf" }, "Customer Agreement"],
|
||||
" also apply.",
|
||||
],
|
||||
],
|
||||
}
|
||||
|
|
@ -4,7 +4,7 @@ export const termsOfService: LegalDocumentContent = {
|
|||
path: "/legal/terms-of-service",
|
||||
title: "Terms of Use",
|
||||
metaTitle: "OpenCode | Terms of Use for the website and hosted services",
|
||||
effective: "Effective date: Nov 8, 2026",
|
||||
effective: "Effective date: Nov 25, 2026",
|
||||
description:
|
||||
"The rules that govern your use of the OpenCode website, inference product and hosted software, including your account, payments and acceptable use.",
|
||||
body: [
|
||||
|
|
@ -162,11 +162,16 @@ export const termsOfService: LegalDocumentContent = {
|
|||
{},
|
||||
'"crawls," "scrapes," or "spiders" any page, data, or portion of or relating to the Services or Content (through use of manual or automated means);',
|
||||
],
|
||||
["li", {}, "copies or stores any significant portion of the Content; or"],
|
||||
["li", {}, "copies or stores any significant portion of the Content;"],
|
||||
[
|
||||
"li",
|
||||
{},
|
||||
"decompiles, reverse engineers, or otherwise attempts to obtain the source code or underlying ideas or information of or relating to the Services.",
|
||||
"decompiles, reverse engineers, or otherwise attempts to obtain the source code or underlying ideas or information of or relating to the Services; or",
|
||||
],
|
||||
[
|
||||
"li",
|
||||
{},
|
||||
"resells, sublicenses, or otherwise makes the Services, or any account, API key, credentials, or Credits, available to any third party, except as expressly approved by OpenCode in writing.",
|
||||
],
|
||||
],
|
||||
[
|
||||
|
|
@ -236,7 +241,9 @@ export const termsOfService: LegalDocumentContent = {
|
|||
{},
|
||||
'Certain of our Services, including OpenCode Models, may be subject to payments now or in the future (the "Paid Services"). Please see our Paid Services page ',
|
||||
["a", { href: "https://opencode.ai/console/models" }, "https://opencode.ai/console/models"],
|
||||
" for a description of the current Paid Services. Please note that any payment terms presented to you in the process of using or signing up for a Paid Service are deemed part of these Terms.",
|
||||
" for a description of the current Paid Services. Please note that any payment terms presented to you in the process of using or signing up for a Paid Service are deemed part of these Terms. Refunds are governed by our Refund Policy at ",
|
||||
["a", { href: "/legal/refund-policy" }, "opencode.ai/legal/refund-policy"],
|
||||
", which forms part of these Terms.",
|
||||
],
|
||||
["h3", { id: "billing" }, "Billing"],
|
||||
[
|
||||
|
|
@ -246,7 +253,7 @@ export const termsOfService: LegalDocumentContent = {
|
|||
["a", { href: "https://stripe.com/us/checkout/legal" }, "https://stripe.com/us/checkout/legal"],
|
||||
" and their Privacy Policy at ",
|
||||
["a", { href: "https://stripe.com/us/privacy" }, "https://stripe.com/us/privacy"],
|
||||
'. We are not responsible for any error by, or other acts or omissions of, the Payment Processor. By choosing to use Paid Services, you agree to pay us, through the Payment Processor, all charges at the prices then in effect for any use of such Paid Services in accordance with the applicable payment terms, and you authorize us, through the Payment Processor, to charge your chosen payment provider (your "Payment Method"). You agree to make payment using that selected Payment Method. We reserve the right to correct any errors or mistakes that the Payment Processor makes even if it has already requested or received payment.',
|
||||
'. We are not responsible for any error by, or other acts or omissions of, the Payment Processor. By choosing to use Paid Services, you agree to pay us, through the Payment Processor, all charges at the prices then in effect for any use of such Paid Services in accordance with the applicable payment terms, and you authorize us, through the Payment Processor, to charge your chosen payment provider (your "Payment Method"). You agree to make payment using that selected Payment Method. We reserve the right to correct any errors or mistakes that the Payment Processor makes even if it has already requested or received payment. If a payment is disputed or reversed, we may suspend your account and remove Credits corresponding to the disputed amount.',
|
||||
],
|
||||
["h3", { id: "payment-method" }, "Payment Method"],
|
||||
[
|
||||
|
|
@ -270,6 +277,20 @@ export const termsOfService: LegalDocumentContent = {
|
|||
["a", { href: "mailto:help@anoma.ly" }, "help@anoma.ly"],
|
||||
".",
|
||||
],
|
||||
["h3", { id: "prepaid-credits" }, "Prepaid Credits"],
|
||||
[
|
||||
"p",
|
||||
{},
|
||||
'We may offer the option to prepay for certain Paid Services by purchasing credits ("Credits"). Credits have no cash value and may be used only for the Services in the account for which they were purchased. All purchases of Credits are final and non-refundable, except as stated in our ',
|
||||
["a", { href: "/legal/refund-policy" }, "Refund Policy"],
|
||||
" or as required by applicable law. Credits may not be sold, transferred, or shared, and any attempt to do so is a violation of these Terms.",
|
||||
],
|
||||
["h3", { id: "usage-limits" }, "Usage Limits"],
|
||||
[
|
||||
"p",
|
||||
{},
|
||||
"We may set and adjust limits on your use of the Services, including limits on account balances, purchase amounts, spending, and request rates, based on factors such as your account history. These limits are not guaranteed minimums and may change at any time.",
|
||||
],
|
||||
["h2", { id: "what-if-i-want-to-stop" }, "What if I want to stop using the Services?"],
|
||||
[
|
||||
"p",
|
||||
|
|
@ -281,7 +302,7 @@ export const termsOfService: LegalDocumentContent = {
|
|||
[
|
||||
"p",
|
||||
{},
|
||||
"OpenCode is also free to terminate (or suspend access to) your use of the Services for any reason in our discretion, including your breach of these Terms. OpenCode has the sole right to decide whether you are in violation of any of the restrictions set forth in these Terms.",
|
||||
"OpenCode is also free to terminate (or suspend access to) your use of the Services for any reason in our discretion, including your breach of these Terms. OpenCode has the sole right to decide whether you are in violation of any of the restrictions set forth in these Terms. If we suspend or terminate your access because you violated these Terms or engaged in fraudulent or abusive activity, we may cancel any remaining Credit balance, and you will not be entitled to a refund, except where required by applicable law. If we terminate your access for any other reason, we will refund any unused Credit balance.",
|
||||
],
|
||||
[
|
||||
"p",
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@ export async function llmsText(locale: Locale) {
|
|||
page("/press"),
|
||||
page("/brand"),
|
||||
page("/legal/privacy-policy"),
|
||||
page("/legal/refund-policy"),
|
||||
page("/legal/terms-of-service"),
|
||||
`- ${link("Full site", context.route("/llms-full.txt"))}: the site's own pages in one Markdown file, without the docs or Console`,
|
||||
`- ${link("Discord", config.social.discord)}: the community`,
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ import { route, type Locale } from "~/lib/language"
|
|||
import { legalMarkdown } from "~/lib/legal"
|
||||
import { legalHubMarkdown } from "~/lib/legal-documents"
|
||||
import { privacyPolicy } from "~/lib/legal/privacy-policy"
|
||||
import { refundPolicy } from "~/lib/legal/refund-policy"
|
||||
import { termsOfService } from "~/lib/legal/terms-of-service"
|
||||
import { markdownDocument, type MarkdownContext } from "~/lib/markdown"
|
||||
import { pressMarkdown } from "~/lib/press-content"
|
||||
|
|
@ -97,6 +98,12 @@ export const pageMarkdown: Record<string, PageMarkdown> = {
|
|||
markdown: (context) => legalMarkdown(privacyPolicy, context),
|
||||
englishOnly: true,
|
||||
},
|
||||
[refundPolicy.path]: {
|
||||
title: refundPolicy.title,
|
||||
description: "When OpenCode refunds Go subscriptions and Models credits",
|
||||
markdown: (context) => legalMarkdown(refundPolicy, context),
|
||||
englishOnly: true,
|
||||
},
|
||||
[termsOfService.path]: {
|
||||
title: termsOfService.title,
|
||||
description: "The terms that govern the OpenCode website and hosted services",
|
||||
|
|
|
|||
7
services/site/src/routes/legal/refund-policy/index.tsx
Normal file
7
services/site/src/routes/legal/refund-policy/index.tsx
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import "../legal.css"
|
||||
import { LegalDocument } from "~/component/site/legal"
|
||||
import { refundPolicy } from "~/lib/legal/refund-policy"
|
||||
|
||||
export default function RefundPolicy() {
|
||||
return <LegalDocument document={refundPolicy} />
|
||||
}
|
||||
|
|
@ -16,6 +16,7 @@ export const staticPaths = [
|
|||
"/mini",
|
||||
"/legal",
|
||||
"/legal/privacy-policy",
|
||||
"/legal/refund-policy",
|
||||
"/legal/terms-of-service",
|
||||
"/brand",
|
||||
"/press",
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ const surfaces: Record<string, string | undefined> = {
|
|||
"/font": "www-font",
|
||||
"/legal": "www-legal",
|
||||
"/legal/privacy-policy": "www-legal",
|
||||
"/legal/refund-policy": "www-legal",
|
||||
"/legal/terms-of-service": "www-legal",
|
||||
"/mini": "www-mini",
|
||||
"/mobile": "www-mobile",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue