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.
JavaScript agent-collaborationagent-harnessagent-orchestrationagent-teamagent-workflowai-assistantai-automationai-employeeai-productivityai-teamai-workflowautonomous-agentsclaude-code-guiclaude-coworkdesktop-agentlocal-firstmulti-agentmulti-agent-systemself-evolving-agentstask-automation
chore: translate marketplace + saved_apps file header comments to English
wyt45052eb04bd1
diff --git a/src/main/features/agents.ts b/src/main/features/agents.tsindex d75b5ac5..fcbad791 100644--- a/src/main/features/agents.ts+++ b/src/main/features/agents.ts@@ -141,9 +141,10 @@ export interface Agent {* field back to disk. */enabled: boolean;/** Author uid for `source==='builtin'` (marketplace-installed) agents — read from the- * install dir's `_install.json`. `"0"` = "官方制作"; non-zero = community uploader. Empty- * string for `source==='custom'` (no marketplace install meta). Renderer uses this to show- * the "官方/作者" badge instead of a "内置" chip on the detail / card. */+ * install dir's `_install.json`. `"0"` = official-platform marker; non-zero = community+ * uploader. Empty string for `source==='custom'` (no marketplace install meta). Renderer+ * uses this to show the author badge (label `marketplace.author_platform` / `_user`)+ * instead of a generic platform chip on the detail / card. */create_uid?: string;/** Marketplace install version for `source==='builtin'`. Read from `_install.json` so the* agents-tab card can render a `v1.0.0` chip alongside the category. Custom agents leave@@ -577,7 +578,7 @@ export async function listAgents(): Promise<Agent[]> {}seen.add(norm.agent_id);// Marketplace-installed agents carry an `_install.json` sidecar with `create_uid` +- // `version`. Read it lazily here so the UI can show "官方/作者" badges and the version+ // `version`. Read it lazily here so the UI can show the author badge and the version// chip without an extra IPC round-trip. Custom agents skip — they have no install meta.if (source === 'builtin') {try {diff --git a/src/main/features/marketplace.ts b/src/main/features/marketplace.tsindex 1ebffe7d..30fa7e6f 100644--- a/src/main/features/marketplace.ts+++ b/src/main/features/marketplace.ts@@ -119,9 +119,9 @@ export interface MarketplaceAgent {icon: string;color: string;version: string;- /** Author uid. `"0"` is the "官方制作 / Platform" marker; everything else is a community- * uploader. Dedup is on (name, create_uid), so same name from different authors yields- * distinct rows — the UI shows the author badge so users can tell them apart. */+ /** Author uid. `"0"` is the official-platform marker (UI label `marketplace.author_platform`);+ * everything else is a community uploader. Dedup is on (name, create_uid), so same name from+ * different authors yields distinct rows — the UI shows the author badge to tell them apart. */create_uid: string;download_count: number;published_at: number;@@ -153,7 +153,7 @@ export interface AgentDetail {* via the detail endpoint when missing. */agent_json_url: string;/** Author uid from the server row. Recorded in `_install.json` so the in-app detail can- * render an "官方/作者" badge without a marketplace round-trip. May be `''` on cache-hit. */+ * render the author badge without a marketplace round-trip. May be `''` on cache-hit. */create_uid: string;}@@ -326,8 +326,8 @@ export async function installMarketplaceAgent(await fsp.mkdir(target, { recursive: true });await fsp.writeFile(path.join(target, 'agent.json'), JSON.stringify(detail.agent_json, null, 2), 'utf8');// `_install.json` stores everything the in-app UI needs without re-hitting the network:- // version/published_at for reconcile freshness; create_uid for the "官方/作者" badge on- // the agent detail page.+ // version/published_at for reconcile freshness; create_uid for the author badge on the+ // agent detail page.await fsp.writeFile(path.join(target, '_install.json'),JSON.stringify({version: detail.version,@@ -477,7 +477,7 @@ export async function ensureDefaultInstalls(uid: string): Promise<{ seeded_agent// ── one-time backfill for older install records ──────────────────────────// Earlier install paths (predating the create_uid + version persistence) wrote manifest-// rows + `_install.json` files without those fields. The UI surfaces "官方/作者" badges ++// rows + `_install.json` files without those fields. The UI surfaces the author badge +// version chip from `_install.json`, so older records render blank chips. Backfill is a// startup pass: for every manifest row missing `create_uid`, look it up in the catalog and// rewrite both the manifest entry and the per-machine `_install.json`. Idempotent — oncediff --git a/src/main/features/marketplace_installs.ts b/src/main/features/marketplace_installs.tsindex 6614b7ce..cac7c6b8 100644--- a/src/main/features/marketplace_installs.ts+++ b/src/main/features/marketplace_installs.ts@@ -68,8 +68,9 @@ export interface AgentInstall {published_at: number;agent_json_url: string;installed_at: number;- /** Author uid as recorded on the server. `"0"` = "官方"; everything else = community- * uploader. Optional in the type so old manifest rows (pre-2026-05-13) still parse —+ /** Author uid as recorded on the server. `"0"` is the official-platform marker (label+ * `marketplace.author_platform`); everything else is a community uploader. Optional+ * in the type so old manifest rows (pre-2026-05-13) still parse —* reconcile fills it in next time the row is re-pulled. UI uses this to render the* author badge on the agent detail page. */create_uid?: string;diff --git a/src/main/features/skills.ts b/src/main/features/skills.tsindex 15550253..11837d1c 100644--- a/src/main/features/skills.ts+++ b/src/main/features/skills.ts@@ -89,8 +89,8 @@ export interface SkillListing {* explicitly disabled the skill. */enabled: boolean;/** Author uid for `source==='builtin'` (marketplace-installed) skills — read from- * `_install.json`. `"0"` = "官方"; empty for `source==='custom'`. Renderer uses this to- * show the "官方/作者" badge instead of an "内置" chip. */+ * `_install.json`. `"0"` = official-platform marker; empty for `source==='custom'`. Renderer+ * uses this to show the author badge (label `marketplace.author_platform` / `_user`). */create_uid?: string;/** Marketplace install version for `source==='builtin'`. Read from `_install.json` so the* skills-tab card can render a `v1.0.0` chip. Undefined for custom skills. */@@ -340,7 +340,7 @@ export async function listSkills(): Promise<SkillListing[]> {} catch { /* ignore */ }}// Marketplace-installed skills carry `_install.json` with `create_uid` + `version` —- // read it so the UI can show "官方/作者" + version chips without an extra IPC. Custom skills skip.+ // read it so the UI can show the author badge + version chips without an extra IPC. Custom skills skip.if (source === 'builtin') {try {const metaFile = path.join(baseDir, name, '_install.json');@@ -454,7 +454,7 @@ export function validateSkillName(name: string): string {// server-assigned id for marketplace-installed skills (which can begin with a digit).// Without the hex branch, dev uploading a platform-installed skill whose id starts with a// digit (e.g. `9720e1e263fd` Word/DOCX) bounced as "invalid skill id" — root cause of the-// "上传 skill 报错" event seen in main log.+// "skill upload error" event seen in main log.const SKILL_HEX_ID_RE = /^[a-f0-9]{12}$/;export function isValidSkillId(id: unknown): boolean {if (typeof id !== 'string' || !id) return false;