mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-19 18:53:25 +00:00
chore: generate
This commit is contained in:
parent
0a6397272c
commit
1b18a50418
6 changed files with 76 additions and 201 deletions
|
|
@ -2,9 +2,7 @@
|
|||
"version": "6",
|
||||
"dialect": "mysql",
|
||||
"id": "39a41b57-a092-4356-a8ed-2a51cde2da1d",
|
||||
"prevIds": [
|
||||
"2752a0ba-95b5-492a-83fd-3dfe7fa77734"
|
||||
],
|
||||
"prevIds": ["2752a0ba-95b5-492a-83fd-3dfe7fa77734"],
|
||||
"ddl": [
|
||||
{
|
||||
"name": "account",
|
||||
|
|
@ -2689,201 +2687,139 @@
|
|||
"table": "workspace"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"id"
|
||||
],
|
||||
"columns": ["id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "account",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"id"
|
||||
],
|
||||
"columns": ["id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "auth",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"id"
|
||||
],
|
||||
"columns": ["id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "benchmark",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "billing",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"email",
|
||||
"type"
|
||||
],
|
||||
"columns": ["email", "type"],
|
||||
"name": "PRIMARY",
|
||||
"table": "coupon",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "lite",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "payment",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "subscription",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "usage",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"ip",
|
||||
"interval"
|
||||
],
|
||||
"columns": ["ip", "interval"],
|
||||
"name": "PRIMARY",
|
||||
"table": "ip_rate_limit",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"ip"
|
||||
],
|
||||
"columns": ["ip"],
|
||||
"name": "PRIMARY",
|
||||
"table": "ip",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"key",
|
||||
"interval"
|
||||
],
|
||||
"columns": ["key", "interval"],
|
||||
"name": "PRIMARY",
|
||||
"table": "key_rate_limit",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"id"
|
||||
],
|
||||
"columns": ["id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "model_sticky_provider",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"id",
|
||||
"interval"
|
||||
],
|
||||
"columns": ["id", "interval"],
|
||||
"name": "PRIMARY",
|
||||
"table": "model_tpm_rate_limit",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"id",
|
||||
"interval"
|
||||
],
|
||||
"columns": ["id", "interval"],
|
||||
"name": "PRIMARY",
|
||||
"table": "model_tps_rate_limit",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "key",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "model",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "provider",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id"
|
||||
],
|
||||
"columns": ["workspace_id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "referral_code",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"referral_id"
|
||||
],
|
||||
"columns": ["workspace_id", "referral_id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "referral_reward",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "referral",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "user",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"id"
|
||||
],
|
||||
"columns": ["id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "workspace",
|
||||
"entityType": "pks"
|
||||
|
|
|
|||
|
|
@ -2,9 +2,7 @@
|
|||
"version": "6",
|
||||
"dialect": "mysql",
|
||||
"id": "e365c1d7-fb02-44ad-b681-87bb51d01964",
|
||||
"prevIds": [
|
||||
"39a41b57-a092-4356-a8ed-2a51cde2da1d"
|
||||
],
|
||||
"prevIds": ["39a41b57-a092-4356-a8ed-2a51cde2da1d"],
|
||||
"ddl": [
|
||||
{
|
||||
"name": "account",
|
||||
|
|
@ -2689,201 +2687,139 @@
|
|||
"table": "workspace"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"id"
|
||||
],
|
||||
"columns": ["id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "account",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"id"
|
||||
],
|
||||
"columns": ["id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "auth",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"id"
|
||||
],
|
||||
"columns": ["id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "benchmark",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "billing",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"email",
|
||||
"type"
|
||||
],
|
||||
"columns": ["email", "type"],
|
||||
"name": "PRIMARY",
|
||||
"table": "coupon",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "lite",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "payment",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "subscription",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "usage",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"ip",
|
||||
"interval"
|
||||
],
|
||||
"columns": ["ip", "interval"],
|
||||
"name": "PRIMARY",
|
||||
"table": "ip_rate_limit",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"ip"
|
||||
],
|
||||
"columns": ["ip"],
|
||||
"name": "PRIMARY",
|
||||
"table": "ip",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"key",
|
||||
"interval"
|
||||
],
|
||||
"columns": ["key", "interval"],
|
||||
"name": "PRIMARY",
|
||||
"table": "key_rate_limit",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"id"
|
||||
],
|
||||
"columns": ["id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "model_sticky_provider",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"id",
|
||||
"interval"
|
||||
],
|
||||
"columns": ["id", "interval"],
|
||||
"name": "PRIMARY",
|
||||
"table": "model_tpm_rate_limit",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"id",
|
||||
"interval"
|
||||
],
|
||||
"columns": ["id", "interval"],
|
||||
"name": "PRIMARY",
|
||||
"table": "model_tps_rate_limit",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "key",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "model",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "provider",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id"
|
||||
],
|
||||
"columns": ["workspace_id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "referral_code",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"referral_id"
|
||||
],
|
||||
"columns": ["workspace_id", "referral_id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "referral_reward",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "referral",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"workspace_id",
|
||||
"id"
|
||||
],
|
||||
"columns": ["workspace_id", "id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "user",
|
||||
"entityType": "pks"
|
||||
},
|
||||
{
|
||||
"columns": [
|
||||
"id"
|
||||
],
|
||||
"columns": ["id"],
|
||||
"name": "PRIMARY",
|
||||
"table": "workspace",
|
||||
"entityType": "pks"
|
||||
|
|
@ -3242,4 +3178,4 @@
|
|||
}
|
||||
],
|
||||
"renames": []
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,5 +31,8 @@ export const ReferralRewardTable = mysqlTable(
|
|||
amount: bigint("amount", { mode: "number" }).notNull(),
|
||||
timeApplied: utc("time_applied"),
|
||||
},
|
||||
(table) => [primaryKey({ columns: [table.workspaceID, table.referralID] }), index("referral_id").on(table.referralID)],
|
||||
(table) => [
|
||||
primaryKey({ columns: [table.workspaceID, table.referralID] }),
|
||||
index("referral_id").on(table.referralID),
|
||||
],
|
||||
)
|
||||
|
|
|
|||
|
|
@ -266,7 +266,7 @@ https://opencode.ai/zen/go/v1/models
|
|||
| Qwen3.6 Plus | Ne koristi se | 0 dana |
|
||||
| MiniMax M3 | Ne koristi se | 0 dana |
|
||||
| MiniMax M2.7 | Ne koristi se | 0 dana |
|
||||
| Muse Spark 1.2 | Da | Nije ZDR |
|
||||
| Muse Spark 1.2 | Da | Nije ZDR |
|
||||
| DeepSeek V4 Pro | Ne koristi se | 0 dana |
|
||||
| DeepSeek V4 Flash | Ne koristi se | 0 dana |
|
||||
| Hy3 | Ne koristi se | 0 dana |
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ https://opencode.ai/zen/go/v1/models
|
|||
| Qwen3.6 Plus | Non utilisé | 0 jour |
|
||||
| MiniMax M3 | Non utilisé | 0 jour |
|
||||
| MiniMax M2.7 | Non utilisé | 0 jour |
|
||||
| Muse Spark 1.2 | Oui | Pas de ZDR |
|
||||
| Muse Spark 1.2 | Oui | Pas de ZDR |
|
||||
| DeepSeek V4 Pro | Non utilisé | 0 jour |
|
||||
| DeepSeek V4 Flash | Non utilisé | 0 jour |
|
||||
| Hy3 | Non utilisé | 0 jour |
|
||||
|
|
|
|||
|
|
@ -234,28 +234,28 @@ https://opencode.ai/zen/go/v1/models
|
|||
|
||||
## プライバシー
|
||||
|
||||
| モデル | モデルのトレーニング | データ保持 |
|
||||
| ----------------- | -------------------- | ---------- |
|
||||
| Grok 4.5 | 使用なし | 30日 |
|
||||
| GPT 5.6 Luna | 使用なし | 30日 |
|
||||
| GLM-5.3 | 使用なし | 0日 |
|
||||
| GLM-5.2 | 使用なし | 0日 |
|
||||
| GLM-5.1 | 使用なし | 0日 |
|
||||
| Kimi K3 | 使用なし | 0日 |
|
||||
| Kimi K2.7 Code | 使用なし | 0日 |
|
||||
| Kimi K2.6 | 使用なし | 0日 |
|
||||
| MiMo-V2.5-Pro | 使用なし | 0日 |
|
||||
| MiMo-V2.5 | 使用なし | 0日 |
|
||||
| Qwen3.8 Max | 使用なし | 0日 |
|
||||
| Qwen3.7 Max | 使用なし | 0日 |
|
||||
| Qwen3.7 Plus | 使用なし | 0日 |
|
||||
| Qwen3.6 Plus | 使用なし | 0日 |
|
||||
| MiniMax M3 | 使用なし | 0日 |
|
||||
| MiniMax M2.7 | 使用なし | 0日 |
|
||||
| モデル | モデルのトレーニング | データ保持 |
|
||||
| ----------------- | -------------------- | ----------- |
|
||||
| Grok 4.5 | 使用なし | 30日 |
|
||||
| GPT 5.6 Luna | 使用なし | 30日 |
|
||||
| GLM-5.3 | 使用なし | 0日 |
|
||||
| GLM-5.2 | 使用なし | 0日 |
|
||||
| GLM-5.1 | 使用なし | 0日 |
|
||||
| Kimi K3 | 使用なし | 0日 |
|
||||
| Kimi K2.7 Code | 使用なし | 0日 |
|
||||
| Kimi K2.6 | 使用なし | 0日 |
|
||||
| MiMo-V2.5-Pro | 使用なし | 0日 |
|
||||
| MiMo-V2.5 | 使用なし | 0日 |
|
||||
| Qwen3.8 Max | 使用なし | 0日 |
|
||||
| Qwen3.7 Max | 使用なし | 0日 |
|
||||
| Qwen3.7 Plus | 使用なし | 0日 |
|
||||
| Qwen3.6 Plus | 使用なし | 0日 |
|
||||
| MiniMax M3 | 使用なし | 0日 |
|
||||
| MiniMax M2.7 | 使用なし | 0日 |
|
||||
| Muse Spark 1.2 | はい | ZDRではない |
|
||||
| DeepSeek V4 Pro | 使用なし | 0日 |
|
||||
| DeepSeek V4 Flash | 使用なし | 0日 |
|
||||
| Hy3 | 使用なし | 0日 |
|
||||
| DeepSeek V4 Pro | 使用なし | 0日 |
|
||||
| DeepSeek V4 Flash | 使用なし | 0日 |
|
||||
| Hy3 | 使用なし | 0日 |
|
||||
|
||||
- **Grok 4.5:** ZDRでは、保存データに依存する重要なAPI機能(ステートフルなResponses API、Files and Collections、Batch APIなど)が無効になります。[詳しく見る](https://docs.x.ai/developers/faq/security#what-is-zero-data-retention-zdr)。
|
||||
- **GPT 5.6 Luna:** 不正使用監視ログはすべてのAPI機能の使用時に生成され、最大30日間保持されます。[詳しく見る](https://developers.openai.com/api/docs/guides/your-data#data-retention-controls-for-abuse-monitoring)。
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue