Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
MUL-8142: docs(runtimes): step-by-step Qoder Cloud Agent setup and correct entry path (#9408)
Jiayuan Zhangc9b6de8567d7
diff --git a/apps/docs/content/docs/daemon-runtimes.fr.mdx b/apps/docs/content/docs/daemon-runtimes.fr.mdxindex 08f77b330b..f7fa485d51 100644--- a/apps/docs/content/docs/daemon-runtimes.fr.mdx+++ b/apps/docs/content/docs/daemon-runtimes.fr.mdx@@ -7,6 +7,41 @@ import { Callout } from "fumadocs-ui/components/callout";Multica enregistre et coordonne le travail ; ce sont les ordinateurs connectés qui l'exécutent. Le **daemon** d'un ordinateur prend en charge les exécutions et invoque les outils de codage IA installés sur cette machine.+## Runtime distant Qoder Cloud Agent++Qoder Cloud Agent exécute les tickets assignés dans des sessions QCA distantes. Le serveur Multica supervise un pont qui utilise le protocole de tâches existant du daemon ; aucun daemon local n'est nécessaire pour ce runtime.++### Avant de commencer++- Vous devez être administrateur de l'espace de travail. Chaque espace de travail a une seule connexion Qoder.+- Dans Qoder, créez un jeton d'accès personnel (PAT), au moins un environnement et les agents QCA à utiliser. Les modèles, outils et skills se configurent sur l'agent QCA dans Qoder, pas dans Multica.+- Les installations auto-hébergées doivent définir `MULTICA_VCS_SECRET_KEY` sur le serveur : une clé de 32 octets encodée en base64, identique d'un redémarrage à l'autre. Sans elle, Qoder Cloud Agent n'apparaît pas dans le menu **Ajouter**.++### Connecter Qoder++1. Sur la page **Runtimes**, cliquez sur **Ajouter** et choisissez **Qoder Cloud Agent** sous **Services cloud**.+2. Sous **Région**, choisissez le site qui a émis votre PAT : **International (qoder.com)** ou **Chine (qoder.com.cn)**. Un PAT ne fonctionne que dans sa propre région ; s'il est refusé, utilisez le bouton qui réessaie sur l'autre site.+3. Collez le PAT dans **Jeton d'accès personnel**. Une fois vérifié, la liste **Environnement** est chargée depuis Qoder. Un environnement unique est sélectionné automatiquement ; sinon, choisissez-en un.+4. Facultatif : ouvrez **Autorisation GitHub** et ajoutez l'URL et un jeton pour chaque dépôt que les agents peuvent cloner. Les agents ne peuvent cloner que les dépôts autorisés ici.+5. Facultatif : ouvrez **Exécution** pour régler le nombre d'exécutions simultanées (3 par défaut, 10 au maximum) et le délai d'expiration (60 minutes par défaut, de 5 à 240).+6. Cliquez sur **Connecter**. Qoder Cloud Agent apparaît dans la section cloud de la page Runtimes et passe en ligne en quelques secondes.++### Ajouter un agent++Ouvrez Qoder Cloud Agent depuis la page Runtimes et cliquez sur **Créer un agent avec**, ou créez un agent comme d'habitude en choisissant le runtime Qoder. Dans le formulaire de l'agent, sélectionnez l'agent distant sous **Agent QCA**. Pour un agent existant, modifiez l'agent QCA ou son dépôt par défaut dans l'onglet **Routage**. Plusieurs agents Multica peuvent partager une connexion, chacun lié à un agent QCA différent.++Les identifiants de connexion sont chiffrés et partagés dans l'espace de travail. Les administrateurs gèrent la connexion ; les membres peuvent sélectionner les agents QCA accessibles. Les projets choisissent le dépôt et la branche de départ ; le jeton du dépôt est transmis à QCA à la création d'une session de code. Les PAT ne sont jamais renvoyés au navigateur après l'enregistrement.++Sur la page Qoder Cloud Agent, les administrateurs peuvent modifier la connexion et les dépôts, **Mettre en pause** pour ne plus envoyer de nouvelles tâches en conservant identifiants et agents, ou **Déconnecter** pour supprimer les jetons enregistrés, retirer le runtime et délier ses agents.++### Fonctionnement des exécutions++Au-delà de la limite de simultanéité, les exécutions attendent dans la file. Une relance sur le même ticket reprend la session Qoder précédente de l'agent si elle est inactive. Un agent peut définir un dépôt par défaut, utilisé quand le projet du ticket n'en a pas. L'agent est invité à pousser une branche nommée d'après l'identifiant du ticket et à préfixer le titre de la pull request avec cet identifiant, afin que la pull request soit liée au ticket.++Cette première version prend en charge l'exécution des tickets, le suivi de progression, l'annulation et la reprise à partir d'un journal d'exécution persistant. Le chat interactif, les répertoires locaux, les pièces jointes et la création d'agents QCA distants depuis Multica ne sont pas pris en charge. La page Runtimes sépare les runtimes distants des ordinateurs connectés.++Pour le déploiement du pont autonome et ses limites opérationnelles, consultez le [README du runtime Qoder](https://github.com/multica-ai/multica/blob/main/server/cmd/qoder-runtime/README.md).+## Daemon et runtime- Le **daemon** est le processus d'arrière-plan de Multica qui tourne sur un ordinateur. Il se connecte au serveur, détecte les outils locaux, prend en charge les exécutions et renvoie les résultats.diff --git a/apps/docs/content/docs/daemon-runtimes.ja.mdx b/apps/docs/content/docs/daemon-runtimes.ja.mdxindex 660c453745..40089840aa 100644--- a/apps/docs/content/docs/daemon-runtimes.ja.mdx+++ b/apps/docs/content/docs/daemon-runtimes.ja.mdx@@ -11,9 +11,32 @@ Multica は作業の記録と調整を担い、接続されたコンピュータQoder Cloud Agent は割り当てられたタスクをリモートセッションで実行します。Multica サーバーが既存のデーモンプロトコルを使うブリッジを管理するため、ユーザーがローカルデーモンを起動する必要はありません。-セルフホスト環境では `MULTICA_VCS_SECRET_KEY` を設定してください。ランタイム画面で Qoder Cloud Agent を追加し、QCA PAT を設定すると、利用可能な環境が読み込まれます。接続を保存して起動した後、既存の QCA Agent に紐づく Multica エージェントを追加します。認証情報は暗号化され、ワークスペース内で共有されます。GitHub 認証情報はリポジトリごとに設定し、QCA のセッション作成時に送信されます。+### 事前準備-各接続はデフォルトで最大 3 件のタスクを同時に実行します(1〜10 の範囲で変更でき、実行ごとのタイムアウトも設定できます)。それ以上はキューで待機します。同じタスクの後続の実行は、前回のセッションがアイドルであればその Qoder セッションを引き継ぎます。エージェントにはデフォルトのリポジトリを設定でき、タスクのプロジェクトにリポジトリがない場合に使われます。エージェントにはタスク ID を含むブランチ名と、タスク ID で始まる PR タイトルを使うよう指示するため、PR はタスクに自動で紐づきます。+- ワークスペース管理者の権限が必要です。Qoder 接続はワークスペースごとに 1 つです。+- Qoder で個人アクセストークン(PAT)、1 つ以上の実行環境、使用する QCA エージェントを作成します。モデル、ツール、スキルは Multica ではなく Qoder の QCA エージェントで設定します。+- セルフホスト環境では、サーバーに `MULTICA_VCS_SECRET_KEY`(base64 エンコードされた 32 バイトの鍵。再起動後も同じ値を使用)を設定してください。未設定の場合、**追加**メニューに Qoder Cloud Agent は表示されません。++### Qoder を接続する++1. **ランタイム**ページで**追加**をクリックし、**クラウドサービス**の **Qoder Cloud Agent** を選びます。+2. **リージョン**で PAT を発行したサイトを選びます:**グローバル**(qoder.com)または**中国**(qoder.com.cn)。PAT は発行元のサイトでのみ有効です。拒否された場合は、もう一方のサイトで再試行するボタンを使います。+3. **個人アクセストークン**に PAT を貼り付けます。検証されると Qoder から**実行環境**の一覧が読み込まれます。環境が 1 つだけなら自動で選択され、複数ある場合は選択します。+4. 任意:**GitHub authorization** を開き、エージェントがクローンするリポジトリごとに URL とトークンを追加します。エージェントはここで許可したリポジトリのみクローンできます。+5. 任意:**実行設定**を開き、同時実行数(デフォルト 3、最大 10)と実行タイムアウト(デフォルト 60 分、5〜240 分)を設定します。+6. **接続**をクリックします。Qoder Cloud Agent がランタイムページのクラウドの区分に表示され、数秒でオンラインになります。++### エージェントを追加する++ランタイムページで Qoder Cloud Agent を開き、**これでエージェントを作成**をクリックします。通常どおりエージェントを作成して Qoder ランタイムを選ぶこともできます。エージェントのフォームで **QCA エージェント**からリモートのエージェントを選びます。既存のエージェントは**ルーティング**タブで QCA エージェントやデフォルトのリポジトリを変更できます。複数の Multica エージェントが 1 つの接続を共有し、それぞれ別の QCA エージェントに紐づけられます。++認証情報は暗号化され、ワークスペース内で共有されます。管理者が接続を管理し、メンバーはアクセス可能な QCA エージェントを選択できます。リポジトリと開始ブランチはプロジェクトで選び、そのリポジトリのトークンは QCA のセッション作成時に送信されます。保存した PAT がブラウザーに返されることはありません。++管理者は Qoder Cloud Agent のページで接続とリポジトリを編集できます。**一時停止**すると認証情報とエージェントを残したまま新しいタスクの送信を止め、**接続を解除**すると保存済みのトークンを削除してランタイムを外し、エージェントの紐づけを解除します。++### 実行の仕組み++同時実行数の上限を超えたタスクはキューで待機します。同じタスクの後続の実行は、前回のセッションがアイドルであればその Qoder セッションを引き継ぎます。エージェントにはデフォルトのリポジトリを設定でき、タスクのプロジェクトにリポジトリがない場合に使われます。エージェントにはタスク ID を含むブランチ名と、タスク ID で始まる PR タイトルを使うよう指示するため、PR はタスクに自動で紐づきます。初期版はタスク実行、進捗同期、キャンセル、永続化された実行記録からの復旧に対応します。チャット、ローカルディレクトリ、添付ファイル、リモート QCA Agent の新規作成は未対応です。詳細は [README](https://github.com/multica-ai/multica/blob/main/server/cmd/qoder-runtime/README.md) を参照してください。diff --git a/apps/docs/content/docs/daemon-runtimes.ko.mdx b/apps/docs/content/docs/daemon-runtimes.ko.mdxindex 40ef2cabb3..2a7180c875 100644--- a/apps/docs/content/docs/daemon-runtimes.ko.mdx+++ b/apps/docs/content/docs/daemon-runtimes.ko.mdx@@ -11,9 +11,32 @@ Multica는 실행을 기록하고 조율하며 연결된 컴퓨터가 실행을Qoder Cloud Agent는 할당된 태스크를 원격 세션으로 실행합니다. Multica 서버가 기존 데몬 프로토콜을 사용하는 브리지를 관리하므로 사용자가 로컬 데몬을 실행할 필요가 없습니다.-셀프 호스팅에서는 `MULTICA_VCS_SECRET_KEY`를 설정하세요. 런타임 화면에서 Qoder Cloud Agent를 추가하고 QCA PAT를 입력하면 사용 가능한 환경을 불러옵니다. 연결을 저장하고 시작한 뒤 기존 QCA Agent에 연결된 Multica 에이전트를 추가하세요. 자격 증명은 암호화되어 워크스페이스 내에서 공유됩니다. GitHub 자격 증명은 저장소별로 설정하며 QCA 세션 생성 시 전달됩니다.+### 시작하기 전에-각 연결은 기본적으로 최대 3개의 태스크를 동시에 실행합니다(1~10 범위에서 변경 가능하며 실행별 제한 시간도 설정할 수 있습니다). 나머지는 대기열에서 기다립니다. 같은 태스크의 후속 실행은 이전 세션이 유휴 상태이면 해당 Qoder 세션을 이어서 사용합니다. 에이전트에 기본 저장소를 설정할 수 있으며, 태스크의 프로젝트에 저장소가 없을 때 사용됩니다. 에이전트는 태스크 식별자가 포함된 브랜치 이름과 식별자로 시작하는 PR 제목을 사용하도록 안내받으므로 PR이 태스크에 자동으로 연결됩니다.+- 워크스페이스 관리자 권한이 필요합니다. Qoder 연결은 워크스페이스마다 하나입니다.+- Qoder에서 개인 액세스 토큰(PAT), 하나 이상의 실행 환경, 사용할 QCA 에이전트를 만드세요. 모델, 도구, 스킬은 Multica가 아니라 Qoder의 QCA 에이전트에서 설정합니다.+- 셀프 호스팅에서는 서버에 `MULTICA_VCS_SECRET_KEY`(base64로 인코딩한 32바이트 키, 재시작해도 같은 값 유지)를 설정해야 합니다. 설정하지 않으면 **추가** 메뉴에 Qoder Cloud Agent가 나타나지 않습니다.++### Qoder 연결하기++1. **런타임** 페이지에서 **추가**를 클릭하고 **클라우드 서비스** 아래의 **Qoder Cloud Agent**를 선택합니다.+2. **리전**에서 PAT를 발급한 사이트를 고릅니다: **글로벌(qoder.com)** 또는 **중국(qoder.com.cn)**. PAT는 발급한 사이트에서만 동작합니다. 거부되면 다른 사이트로 다시 시도하는 버튼을 사용하세요.+3. **개인 액세스 토큰**에 PAT를 붙여 넣습니다. 확인이 끝나면 Qoder에서 **실행 환경** 목록을 불러옵니다. 환경이 하나뿐이면 자동으로 선택되고, 여러 개면 직접 선택합니다.+4. 선택 사항: **GitHub authorization**을 열고 에이전트가 클론할 저장소마다 URL과 토큰을 추가합니다. 에이전트는 여기서 승인한 저장소만 클론할 수 있습니다.+5. 선택 사항: **실행 설정**을 열어 동시 실행 수(기본 3, 최대 10)와 실행 제한 시간(기본 60분, 5~240분)을 설정합니다.+6. **연결**을 클릭합니다. Qoder Cloud Agent가 런타임 페이지의 클라우드 영역에 나타나고 몇 초 안에 온라인이 됩니다.++### 에이전트 추가하기++런타임 페이지에서 Qoder Cloud Agent를 열고 **이것으로 에이전트 만들기**를 클릭합니다. 평소처럼 에이전트를 만들면서 Qoder 런타임을 선택해도 됩니다. 에이전트 양식의 **QCA 에이전트**에서 원격 에이전트를 선택하세요. 기존 에이전트는 **라우팅** 탭에서 QCA 에이전트나 기본 저장소를 바꿀 수 있습니다. 여러 Multica 에이전트가 하나의 연결을 공유하면서 각각 다른 QCA 에이전트에 연결될 수 있습니다.++자격 증명은 암호화되어 워크스페이스 내에서 공유됩니다. 관리자가 연결을 관리하고, 멤버는 접근 가능한 QCA 에이전트를 선택할 수 있습니다. 저장소와 시작 브랜치는 프로젝트에서 선택하며, 해당 저장소의 토큰은 QCA 세션 생성 시 전달됩니다. 저장된 PAT는 브라우저로 다시 반환되지 않습니다.++관리자는 Qoder Cloud Agent 페이지에서 연결과 저장소를 편집할 수 있습니다. **일시 중지**는 자격 증명과 에이전트를 유지한 채 새 태스크 전송을 멈추고, **연결 해제**는 저장된 토큰을 삭제하고 런타임을 제거하며 에이전트 연결을 해제합니다.++### 실행 방식++동시 실행 한도를 넘는 태스크는 대기열에서 기다립니다. 같은 태스크의 후속 실행은 이전 세션이 유휴 상태이면 해당 Qoder 세션을 이어서 사용합니다. 에이전트에 기본 저장소를 설정할 수 있으며, 태스크의 프로젝트에 저장소가 없을 때 사용됩니다. 에이전트는 태스크 식별자가 포함된 브랜치 이름과 식별자로 시작하는 PR 제목을 사용하도록 안내받으므로 PR이 태스크에 자동으로 연결됩니다.초기 버전은 태스크 실행, 진행 상황 동기화, 취소, 영구 실행 기록을 통한 복구를 지원합니다. 채팅, 로컬 디렉터리, 첨부 파일, 원격 QCA Agent 생성은 지원하지 않습니다. 자세한 내용은 [README](https://github.com/multica-ai/multica/blob/main/server/cmd/qoder-runtime/README.md)를 참고하세요.diff --git a/apps/docs/content/docs/daemon-runtimes.mdx b/apps/docs/content/docs/daemon-runtimes.mdxindex acf106d784..47ecb5a675 100644--- a/apps/docs/content/docs/daemon-runtimes.mdx+++ b/apps/docs/content/docs/daemon-runtimes.mdx@@ -11,11 +11,32 @@ Multica records and coordinates the work; connected computers execute it. The **Qoder Cloud Agent runs assigned issues through remote QCA sessions. The Multica server supervises a bridge that uses the existing daemon task protocol; no user-operated local daemon is needed for this runtime.-For self-hosted installations, set `MULTICA_VCS_SECRET_KEY` on the server. In **Runtimes → Add remote runtime**, choose Qoder Cloud Agent and configure a QCA PAT. Available environments are loaded from Qoder; a single environment is selected automatically. Save and start the connection, then add a Multica agent linked to an existing QCA Agent.+### Before you start-Connection credentials are encrypted and shared within the workspace. Administrators manage the connection; members can select accessible QCA agents. GitHub credentials are bound to repository URLs, while projects choose the repository and starting branch. Repository credentials are passed to QCA when creating a coding session. PAT values are never returned to the browser after saving.+- You need to be a workspace administrator. Each workspace has one Qoder connection.+- In Qoder, create a personal access token (PAT), at least one environment, and the QCA Agents you want to use. Models, tools, and skills are configured on the QCA Agent in Qoder, not in Multica.+- Self-hosted installations must set `MULTICA_VCS_SECRET_KEY` on the server: a base64-encoded 32-byte key that stays the same across restarts. Without it, Qoder Cloud Agent does not appear in the **Add** menu.-Each connection runs up to three issues at once by default (configurable from 1 to 10, with a per-run timeout); further runs wait in the queue. A follow-up on the same issue continues the agent's previous Qoder session when it is idle. An agent can set a default repository, used when the issue's project has none. The agent is asked to push a branch named after the issue identifier and to prefix the pull request title with it, so the pull request is linked to the issue.+### Connect Qoder++1. On the **Runtimes** page, click **Add** and choose **Qoder Cloud Agent** under **Cloud services**.+2. Under **Region**, pick the site that issued your PAT: **Global (qoder.com)** or **China (qoder.com.cn)**. A PAT only works in its own region; if it is rejected, use the button that retries on the other site.+3. Paste the PAT into **Personal access token**. Once it is verified, the **Environment** list loads from Qoder. A single environment is selected automatically; otherwise choose one.+4. Optional: open **GitHub authorization** and add a repository URL and token for each repository agents may clone. Agents can only clone repositories authorized here.+5. Optional: open **Execution** to set concurrent runs (default 3, up to 10) and the run timeout (default 60 minutes, from 5 to 240).+6. Click **Connect**. Qoder Cloud Agent appears in the cloud section of the Runtimes page and comes online within a few seconds.++### Add an agent++Open Qoder Cloud Agent from the Runtimes page and click **Create an agent with it**, or create an agent as usual and choose the Qoder runtime. In the agent form, select the remote agent under **QCA Agent**. For an existing agent, change the QCA Agent or its default repository in the agent's **Routing** tab. Several Multica agents can share one connection, each linked to a different QCA Agent.++Connection credentials are encrypted and shared within the workspace. Administrators manage the connection; members can select accessible QCA agents. Projects choose the repository and starting branch; the repository's token is passed to QCA when a coding session is created. PAT values are never returned to the browser after saving.++On the Qoder Cloud Agent page, administrators can edit the connection and repositories, **Pause** to stop sending new tasks while keeping credentials and agents, or **Disconnect** to delete the saved tokens, remove the runtime, and unbind its agents.++### How runs work++Runs beyond the concurrency limit wait in the queue. A follow-up on the same issue continues the agent's previous Qoder session when it is idle. An agent can set a default repository, used when the issue's project has none. The agent is asked to push a branch named after the issue identifier and to prefix the pull request title with it, so the pull request is linked to the issue.This first version supports issue runs, progress reporting, cancellation, and recovery from a persisted run journal. Configure models, tools, and skills in Qoder. Interactive chat, local directories, attachments, and creating remote QCA agents from Multica are not supported. The Runtimes page separates remote runtimes from connected computers.diff --git a/apps/docs/content/docs/daemon-runtimes.zh.mdx b/apps/docs/content/docs/daemon-runtimes.zh.mdxindex 3a0c8da47c..a8aa49f031 100644--- a/apps/docs/content/docs/daemon-runtimes.zh.mdx+++ b/apps/docs/content/docs/daemon-runtimes.zh.mdx@@ -11,11 +11,32 @@ Multica 负责记录和协调工作,连接的电脑负责执行。电脑上的Qoder Cloud Agent 通过远端会话执行分配的任务。Multica 服务端管理桥接进程,复用现有守护进程任务协议,无需用户启动本地守护进程。-自托管部署需在服务端设置 `MULTICA_VCS_SECRET_KEY`。进入**运行时 → 添加远端运行时**,选择 Qoder Cloud Agent 并配置 QCA PAT。页面自动加载可用环境,只有一个时默认选中。保存并启动后,添加关联已有 QCA Agent 的 Multica 智能体。+### 准备工作-连接凭证加密保存,在工作区内共享。管理员管理连接,成员可以选择可访问的 QCA 智能体。GitHub 凭证按仓库 URL 绑定,项目选择仓库和起始分支;创建编码会话时,仓库凭证会传给 QCA。保存后的 PAT 不会返回浏览器。+- 需要工作区管理员权限。每个工作区只有一个 Qoder 连接。+- 在 Qoder 中创建个人访问令牌(PAT)、至少一个运行环境,以及要使用的 QCA 智能体。模型、工具和 skill 都在 Qoder 的 QCA 智能体上配置,不在 Multica 中配置。+- 自托管部署需在服务端设置 `MULTICA_VCS_SECRET_KEY`:一个 base64 编码的 32 字节密钥,重启前后必须保持不变。未设置时,**添加**菜单中不会出现 Qoder Cloud Agent。-每个连接默认最多同时运行 3 个任务(可在 1 到 10 之间调整,并可设置单次运行超时),其余任务排队等待。同一任务的后续运行会在上一会话空闲时继续使用该 Qoder 会话。智能体可以设置默认仓库,在任务所属项目未绑定仓库时使用。智能体会被要求以任务标识命名分支,并在 PR 标题前加上任务标识,以便 PR 自动关联到任务。+### 连接 Qoder++1. 在**运行时**页面点击**添加**,在**云服务**下选择 **Qoder Cloud Agent**。+2. 在**服务区域**中选择签发 PAT 的站点:**国际站**(qoder.com)或**中国站**(qoder.com.cn)。PAT 只在签发它的站点有效;如果被拒绝,可点击按钮改用另一站点重试。+3. 将 PAT 粘贴到**个人访问令牌**。验证通过后会从 Qoder 加载**运行环境**列表;只有一个环境时自动选中,否则手动选择。+4. 可选:展开 **GitHub 仓库授权**,为智能体需要克隆的每个仓库填写仓库 URL 和令牌。智能体只能克隆这里授权过的仓库。+5. 可选:展开**执行设置**,设置并发运行数(默认 3,最多 10)和运行超时(默认 60 分钟,可设 5 到 240 分钟)。+6. 点击**连接**。Qoder Cloud Agent 会出现在运行时页面的云服务分组中,几秒内上线。++### 添加智能体++在运行时页面打开 Qoder Cloud Agent,点击**用它创建智能体**;也可以照常创建智能体并选择 Qoder 运行时。在智能体表单的 **QCA 智能体**中选择远端智能体。已有智能体可在**路由**标签页中修改关联的 QCA 智能体或默认仓库。多个 Multica 智能体可以共用同一个连接,各自关联不同的 QCA 智能体。++连接凭证加密保存,在工作区内共享。管理员管理连接,成员可以选择可访问的 QCA 智能体。项目选择仓库和起始分支;创建编码会话时,对应仓库的令牌会传给 QCA。保存后的 PAT 不会返回浏览器。++管理员可以在 Qoder Cloud Agent 页面编辑连接和仓库;点击**暂停**停止下发新任务,凭证和智能体保留;点击**断开连接**删除已保存的令牌、移除该运行时并解绑其智能体。++### 运行方式++超出并发上限的任务会排队等待。同一任务的后续运行会在上一会话空闲时继续使用该 Qoder 会话。智能体可以设置默认仓库,在任务所属项目未绑定仓库时使用。智能体会被要求以任务标识命名分支,并在 PR 标题前加上任务标识,以便 PR 自动关联到任务。首版支持任务运行、进度同步、取消和基于持久化记录的恢复。模型、工具和 skill 在 Qoder 中配置;暂不支持交互聊天、本地目录、附件,也不支持从 Multica 创建远端 QCA 智能体。运行时页面分别展示远端运行时和电脑。diff --git a/server/cmd/qoder-runtime/README.md b/server/cmd/qoder-runtime/README.mdindex 8a14ce90f8..ef00759b52 100644--- a/server/cmd/qoder-runtime/README.md+++ b/server/cmd/qoder-runtime/README.md@@ -80,8 +80,9 @@ for the task. The bridge reads it immediately before session creation and injectit into an ephemeral request copy. Neither the token nor its file path enters therun journal or prompt. Restart/resume reads the current file, allowing rotation.Missing credentials fail the task without creating a Qoder session. No workspace-wide fallback credential is used. This is bridge-hosted configuration; Multica's-web UI does not yet manage GitHub credentials for this runtime.+wide fallback credential is used. This is the standalone bridge's configuration;+managed connections set repository tokens in the web and desktop apps instead+(see below).A project may bind one HTTPS GitHub repository and an optional branch ref.Without one, the agent's default repository (`runtime_config.repository`) is@@ -185,9 +186,10 @@ the administrator chooses **Update credentials**. The quick-add dialog creates aMultica agent linked to an existing QCA Agent and uses the configured environment.-Workspace administrators can open **Runtimes → Add remote runtime → Qoder Cloud Agent** to configure one+Workspace administrators can open **Runtimes → Add → Cloud services → Qoder Cloud Agent** to configure onemanaged QCA connection per workspace, load environments from the PAT and check environment access, bind GitHub-repository tokens, save/start, or stop an idle runtime. The existing project+repository tokens, and **Connect**. The Qoder Cloud Agent page can later **Pause** an idle runtime, resume it, or+**Disconnect** it. The menu entry only appears when the server has `MULTICA_VCS_SECRET_KEY` set. The existing projectresource picker selects the repository and starting branch. The managed formoffers Qoder's official regions, `https://api.qoder.com/api/v1/cloud` (Global) and`https://api.qoder.com.cn/api/v1/cloud` (China); a PAT works only in the regiondiff --git a/server/internal/service/builtin_skills/multica-platform/references/runtimes.md b/server/internal/service/builtin_skills/multica-platform/references/runtimes.mdindex 3ec4b80f84..f33da171b2 100644--- a/server/internal/service/builtin_skills/multica-platform/references/runtimes.md+++ b/server/internal/service/builtin_skills/multica-platform/references/runtimes.md@@ -207,7 +207,7 @@ append-only behavior. The Qoder bridge uses its remote event IDs as these keys.Qoder Cloud bridge repository runs require `github_token_files` in its private JSON configuration, mapping each GitHub repository URL to a 0600 token file. Credentials are injected only into session creation requests, never into prompts or recovery state. Managed connections also support repository credential configuration in the runtime dialog.Workspace admins may also configure one managed QCA connection in **Runtimes →-Add remote runtime → Qoder Cloud Agent** (web and desktop). The server prerequisite is+Add → Cloud services → Qoder Cloud Agent** (web and desktop). The server prerequisite is`MULTICA_VCS_SECRET_KEY`. The serversupervises the bridge, encrypts credentials in the database, and supports idlestop/restart. Active tasks must finish or be cancelled before configuration