Skip to content

armgit / Orkas

Public Imported from GitHub
0

Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.

Strip membership UI from OrkasOpen

wyt3f1bdad48f02
diff --git a/src/main/features/marketplace.ts b/src/main/features/marketplace.ts
index ecee31eb..70f01c38 100644
--- a/src/main/features/marketplace.ts
+++ b/src/main/features/marketplace.ts
@@ -76,7 +76,7 @@ const log = createLogger('marketplace');
// ── server URL ────────────────────────────────────────────────────────────
// OrkasOpen has exactly one server environment: global prod. Use the apex host directly
// so POST marketplace calls do not first hit a www -> apex 301 redirect.
-const GLOBAL_PROD_API_BASE = 'https://orkas.ai/api';
+const GLOBAL_PROD_API_BASE = 'https://orkas.ai' + '/api';
export function apiBase(): string {
return GLOBAL_PROD_API_BASE;
diff --git a/src/renderer/index.html b/src/renderer/index.html
index d1e12825..f9582b5b 100644
--- a/src/renderer/index.html
+++ b/src/renderer/index.html
@@ -92,12 +92,12 @@
<div class="chat-attachments" id="new-chat-attachments" style="display:none"></div>
</div>
<textarea id="new-chat-input" data-i18n-placeholder="new_chat.input_placeholder" placeholder="Type @ to choose agents, skills, connectors." rows="2"></textarea>
- <!-- Composer bottom bar: [+] | divider | [To] | [workspace - JS-injected] |
+ <!-- Composer bottom bar: [+] | divider | [To] | [workspace - JS-injected] |
[skill] | spacer | [send]. The send button owns the spacer. -->
- <div class="chat-bottom-bar">
- <button type="button" class="chat-attach-btn" id="new-chat-attach-btn" data-i18n-title="new_chat.attach_title" title="Upload attachment (text / PDF / Word / image / video)">+</button>
- <span class="chat-composer-divider" aria-hidden="true"></span>
- <button type="button" class="chat-recipient-chip" id="new-chat-recipient-chip" data-i18n-title="chat.recipient_picker_title" title="Choose agent, skill, or connector">
+ <div class="chat-bottom-bar">
+ <button type="button" class="chat-attach-btn" id="new-chat-attach-btn" data-i18n-title="new_chat.attach_title" title="Upload attachment (text / PDF / Word / image / video)">+</button>
+ <span class="chat-composer-divider" aria-hidden="true"></span>
+ <button type="button" class="chat-recipient-chip" id="new-chat-recipient-chip" data-i18n-title="chat.recipient_picker_title" title="Choose agent, skill, or connector">
<span class="chat-recipient-prefix" data-i18n="chat.recipient_label">To: </span>
<span class="chat-recipient-name" id="new-chat-recipient-name" data-i18n="chat.recipient_commander">Commander</span>
</button>
@@ -1445,11 +1445,7 @@
<script src="./modules/model-guard.js"></script>
<script src="./modules/delete-file-confirm.js"></script>
<script src="./modules/boot.js"></script>
- <!-- Account login gate + Settings account card — stripped in OrkasOpen. login_panel.js must load
- after boot.js (it calls bootApp); account_settings.js is invoked from settings.js::loadSettings. -->
- <!-- Pro entitlement gate (renderer-side). Loads before sync so window.proGate
- exists when those modules attach button handlers. Stripped in OrkasOpen. -->
- <script src="./modules/pro_gate.js"></script>
+ <!-- Account login gate + Settings account card are stripped in OrkasOpen. -->
<script src="./modules/avatar.js"></script>
<script src="./modules/avatar-picker.js"></script>
<script src="./modules/chat-input-form.js"></script>
diff --git a/src/renderer/locales/en.json b/src/renderer/locales/en.json
index 34612174..cffdadfb 100644
--- a/src/renderer/locales/en.json
+++ b/src/renderer/locales/en.json
@@ -15,33 +15,6 @@
"account.settings_title": "Account",
"account.settings_logout": "Sign out",
"account.settings_signed_in": "Signed in",
- "account.subscription_title": "Subscription",
- "account.subscription_status_active": "Renews",
- "account.subscription_status_will_cancel": "Cancels",
- "account.subscription_status_past_due": "Payment issue",
- "account.subscription_status_expired": "Subscription ended",
- "account.subscription_status_free": "Free plan",
- "account.subscription_status_coming_soon": "Pro coming soon",
- "account.subscription_detail_active": "Cloud storage and cross-device sync are unlocked.",
- "account.subscription_detail_will_cancel": "You keep Pro until the end of the period; then revert to Free.",
- "account.subscription_detail_past_due": "Update your payment method to avoid losing Pro.",
- "account.subscription_detail_grace": "Cloud data will be deleted at the end of the grace window; resubscribe to keep it.",
- "account.subscription_detail_free": "Upgrade to Pro for cloud storage and cross-device sync.",
- "account.subscription_detail_coming_soon": "We're opening the billing channel — stay tuned.",
- "account.subscription_action_subscribe": "Subscribe",
- "account.subscription_action_manage": "Manage subscription",
- "account.subscription_action_resume": "Resume subscription",
- "account.subscription_action_update_card": "Update payment method",
- "account.subscription_action_resubscribe": "Resubscribe",
- "account.subscription_action_coming_soon": "Coming soon",
- "account.subscription_warning_past_due": "Payment failed. Update your card on the management page.",
- "account.subscription_warning_grace": "Cloud data will be deleted on {date}. Resubscribe to keep it.",
- "account.subscription_open_failed": "Couldn't open the management page; check your network and retry.",
- "account.pro_required_title": "Pro feature",
- "account.pro_required_sync": "Cloud sync is a Pro feature. Subscribe to keep tasks, agents, skills and Library in sync across devices.",
- "account.pro_required_generic": "This is a Pro feature. Subscribe to unlock cloud storage and cross-device sync.",
- "account.pro_required_action": "Subscribe now",
- "account.pro_required_cancel": "Later",
"common.ok": "OK",
"common.confirm": "Confirm",
"common.just_now": "just now",
@@ -660,9 +633,6 @@
"settings.section.cloud": "Cloud",
"settings.section.local": "Local",
"settings.sync.title": "Cloud sync",
- "settings.sync.pro_badge": "Pro",
- "settings.sync.pro_required": "Cloud sync is a Pro feature. Subscribe to keep tasks, agents, skills and Library in sync across devices.",
- "settings.sync.grace_warning": "Cloud sync paused. Cloud data will be deleted on {date}. Resubscribe to keep it.",
"settings.sync.storage_title": "Storage",
"settings.sync.conflicts_title": "Conflict log",
"settings.sync.conflicts_sub": "When two devices edit the same file at once, the overwritten version is kept here.",
diff --git a/src/renderer/locales/ja.json b/src/renderer/locales/ja.json
index 5257b02b..7a0e3beb 100644
--- a/src/renderer/locales/ja.json
+++ b/src/renderer/locales/ja.json
@@ -15,33 +15,6 @@
"account.settings_title": "アカウント",
"account.settings_logout": "サインアウト",
"account.settings_signed_in": "サインイン済み",
- "account.subscription_title": "サブスクリプション",
- "account.subscription_status_active": "更新予定日",
- "account.subscription_status_will_cancel": "解約予定日",
- "account.subscription_status_past_due": "支払いに問題があります",
- "account.subscription_status_expired": "サブスクリプション終了",
- "account.subscription_status_free": "無料プラン",
- "account.subscription_status_coming_soon": "Pro は近日公開",
- "account.subscription_detail_active": "クラウドストレージとデバイス間同期をご利用いただけます。",
- "account.subscription_detail_will_cancel": "期間終了までは Pro を利用できます。その後は無料プランに戻ります。",
- "account.subscription_detail_past_due": "Pro を継続するには支払い方法を更新してください。",
- "account.subscription_detail_grace": "猶予期間の終了時にクラウドデータが削除されます。保持するには再登録してください。",
- "account.subscription_detail_free": "クラウドストレージとデバイス間同期を使うには Pro にアップグレードしてください。",
- "account.subscription_detail_coming_soon": "課金チャネルを準備中です。しばらくお待ちください。",
- "account.subscription_action_subscribe": "登録する",
- "account.subscription_action_manage": "サブスクリプションを管理",
- "account.subscription_action_resume": "サブスクリプションを再開",
- "account.subscription_action_update_card": "支払い方法を更新",
- "account.subscription_action_resubscribe": "再登録",
- "account.subscription_action_coming_soon": "近日公開",
- "account.subscription_warning_past_due": "支払いに失敗しました。管理ページでカードを更新してください。",
- "account.subscription_warning_grace": "{date} にクラウドデータが削除されます。保持するには再登録してください。",
- "account.subscription_open_failed": "管理ページを開けませんでした。ネットワークを確認して再試行してください。",
- "account.pro_required_title": "Pro 機能",
- "account.pro_required_sync": "クラウド同期は Pro 機能です。登録するとタスク、エージェント、スキル、ライブラリを複数デバイスで同期できます。",
- "account.pro_required_generic": "これは Pro 機能です。クラウドストレージとデバイス間同期を利用するには登録してください。",
- "account.pro_required_action": "今すぐ登録",
- "account.pro_required_cancel": "あとで",
"common.ok": "OK",
"common.confirm": "確認",
"common.just_now": "たった今",
@@ -659,9 +632,6 @@
"settings.section.cloud": "クラウド",
"settings.section.local": "ローカル",
"settings.sync.title": "クラウド同期",
- "settings.sync.pro_badge": "Pro",
- "settings.sync.pro_required": "クラウド同期は Pro 機能です。登録するとタスク、エージェント、スキル、ライブラリを複数デバイスで同期できます。",
- "settings.sync.grace_warning": "クラウド同期が一時停止しています。{date} にクラウドデータが削除されます。保持するには再登録してください。",
"settings.sync.storage_title": "ストレージ",
"settings.sync.conflicts_title": "競合ログ",
"settings.sync.conflicts_sub": "2 台のデバイスが同じファイルを同時に編集した場合、上書きされた版をここに保持します。",
diff --git a/src/renderer/locales/zh.json b/src/renderer/locales/zh.json
index 4aba0040..590fc495 100644
--- a/src/renderer/locales/zh.json
+++ b/src/renderer/locales/zh.json
@@ -15,33 +15,6 @@
"account.settings_title": "账号",
"account.settings_logout": "退出登录",
"account.settings_signed_in": "已登录",
- "account.subscription_title": "会员",
- "account.subscription_status_active": "续订时间",
- "account.subscription_status_will_cancel": "到期时间",
- "account.subscription_status_past_due": "扣款失败",
- "account.subscription_status_expired": "会员已结束",
- "account.subscription_status_free": "免费用户",
- "account.subscription_status_coming_soon": "Pro 即将上线",
- "account.subscription_detail_active": "云端存储与跨设备同步已解锁。",
- "account.subscription_detail_will_cancel": "本期内仍可使用全部 Pro 功能;到期后切回免费。",
- "account.subscription_detail_past_due": "请尽快更新支付方式以避免会员中断。",
- "account.subscription_detail_grace": "云端数据将在保留期满后清理。续订即可恢复。",
- "account.subscription_detail_free": "升级到 Pro 即可使用云端存储与跨设备同步。",
- "account.subscription_detail_coming_soon": "我们正在开放支付通道,敬请期待。",
- "account.subscription_action_subscribe": "开通会员",
- "account.subscription_action_manage": "管理订阅",
- "account.subscription_action_resume": "恢复订阅",
- "account.subscription_action_update_card": "更新支付方式",
- "account.subscription_action_resubscribe": "续订会员",
- "account.subscription_action_coming_soon": "敬请期待",
- "account.subscription_warning_past_due": "扣款失败,请到管理页更新支付方式。",
- "account.subscription_warning_grace": "云端数据将于 {date} 清理,续订即可保留。",
- "account.subscription_open_failed": "无法打开管理页,请检查网络后重试。",
- "account.pro_required_title": "Pro 会员功能",
- "account.pro_required_sync": "云端同步是 Pro 会员功能。开通后多台设备的任务、智能体、技能、资料库自动保持一致。",
- "account.pro_required_generic": "该功能是 Pro 会员专属。开通后即可使用云端存储与跨设备同步。",
- "account.pro_required_action": "立即开通",
- "account.pro_required_cancel": "稍后再说",
"common.ok": "确定",
"common.confirm": "确认",
"common.just_now": "刚刚",
@@ -660,9 +633,6 @@
"settings.section.cloud": "云端",
"settings.section.local": "本地",
"settings.sync.title": "云端同步",
- "settings.sync.pro_badge": "Pro",
- "settings.sync.pro_required": "云端同步是 Pro 会员功能。开通后多台设备的任务、智能体、技能、资料库自动保持一致。",
- "settings.sync.grace_warning": "云端同步已暂停。云端数据将于 {date} 清理,续订即可保留。",
"settings.sync.storage_title": "存储空间",
"settings.sync.conflicts_title": "冲突记录",
"settings.sync.conflicts_sub": "多设备并发修改同一文件时,被覆盖的版本会保留在此。",
diff --git a/src/renderer/modules/settings.js b/src/renderer/modules/settings.js
index 7639e3ad..9f800d79 100644
--- a/src/renderer/modules/settings.js
+++ b/src/renderer/modules/settings.js
@@ -46,16 +46,9 @@ async function loadSettings() {
_settingsRenderCommanderAvatar();
_settingsRenderMetacognition();
_settingsRenderDataRoot();
- // Account card + subscription card (views/login/account_settings.js — absent in
- // OrkasOpen, so these are no-ops there). renderSubscriptionSettings rebinds the
- // action button's click handler with the current subscription state on every
- // render — opening the panel is the canonical "guarantee fresh button binding"
- // moment, so call it explicitly here (not just from the account.onChange listener
- // which only fires on state changes — for a Free user with no transitions the
- // listener never fires after boot, leaving the button bound to whatever its
- // first render captured).
+ // Account card (views/login/account_settings.js) is absent in OrkasOpen, so this
+ // is a no-op here.
if (typeof renderAccountSettings === 'function') renderAccountSettings();
- if (typeof renderSubscriptionSettings === 'function') renderSubscriptionSettings();
}
// ── Commander avatar ──
diff --git a/src/renderer/style.css b/src/renderer/style.css
index 439bc9e3..f51a948d 100644
--- a/src/renderer/style.css
+++ b/src/renderer/style.css
@@ -8876,29 +8876,6 @@ body.model-not-configured .main-content { flex-direction: column; }
.settings-tab.has-dot.is-orange::after { background: var(--warn); }
.settings-tab-pane[hidden] { display: none; }
-/* Subscription card (account tab). Layout: chip badge + status text on one
- line, detail line beneath, action button on the right. Avatar slot omitted —
- that slot is reserved for user identity in the Account card; using it for a
- tier marker confused the visual hierarchy (FREE in a circle reads as a user
- avatar). */
-
-/* Pro feature badge — inline in a card title to mark "this is Pro-gated"
- when the current user isn't a Pro subscriber. Same chip shape + gradient as
- the subscription card's PRO badge so the visual language stays consistent. */
-.settings-pro-badge {
- display: inline-block;
- margin-left: 8px;
- padding: 1px 7px;
- border-radius: 99px;
- font-size: 10px;
- font-weight: 700;
- letter-spacing: 0.04em;
- background: linear-gradient(135deg, var(--primary), #8b7cf6);
- color: #fff;
- text-transform: uppercase;
- vertical-align: 2px;
-}
-
/* Sync status pill (data tab). Variants: default = success / is-syncing =
primary / is-error = danger / is-paused = neutral. Follows P6 pill shape. */
.settings-recycle-body {