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.

Add local project setup and reliable conversation filing

BlueSkyID666d2ff295af325
diff --git a/src/main/features/chats.ts b/src/main/features/chats.ts
index 275c2ae8..2d3f3849 100644
--- a/src/main/features/chats.ts
+++ b/src/main/features/chats.ts
@@ -40,6 +40,7 @@ import {
} from '../util/project-layout';
import {
relocateConversationIntoProject,
+ relocateConversationOutOfProject,
recoverConversationRelocation,
commitConversationRelocation,
type RelocatedPaths,
@@ -2151,7 +2152,8 @@ export async function setConversationPinned(
export type ConversationMoveResult =
| { ok: true; conversation: Conversation }
- | { ok: false; error: 'not_found' | 'already_in_project' | 'has_running_conv' | 'move_failed' };
+ | { ok: false; error: 'not_found' | 'already_in_project' | 'not_in_project'
+ | 'has_running_conv' | 'move_failed' };
/**
* Move an unprojected conversation into `projectId`.
@@ -2236,6 +2238,71 @@ export async function moveConversationToProject(
});
}
+/**
+ * Return a conversation to the unprojected root.
+ *
+ * Filing a conversation under a project can be automatic, so it has to be
+ * undoable; without this the only way back is deleting the project, which
+ * cascades the conversation with it. The guards mirror the filing direction:
+ * relocation moves the same bytes, so a live turn still refuses.
+ */
+export async function moveConversationOutOfProject(
+ userId: string,
+ cid: string,
+): Promise<ConversationMoveResult> {
+ if (!safeId(cid)) return { ok: false, error: 'not_found' };
+ return _withConversationIndexStore(userId, async (store) => {
+ const target = await store.findTarget(cid);
+ if (!target || isDeletedConversation(target.conversation)) return { ok: false, error: 'not_found' };
+ const projectId = target.conversation.project_id;
+ if (!projectId) return { ok: false, error: 'not_in_project' };
+
+ try {
+ const state = await readState(userId, cid, projectId);
+ const bus = require('./group_chat/bus') as typeof import('./group_chat/bus');
+ if (state.status === 'running' || state.in_flight.length > 0 || !bus.isQuiescent(userId, cid)) {
+ return { ok: false, error: 'has_running_conv' };
+ }
+ } catch { return { ok: false, error: 'move_failed' }; }
+
+ const oldMessageFile = conversationMessageFile(userId, cid, projectId);
+
+ setConversationRelocationBlocked(userId, cid, true);
+ let moved: RelocatedPaths[];
+ try {
+ moved = relocateConversationOutOfProject(userId, cid, projectId, { ..._cleanConversation(target.conversation) });
+ } catch (err) {
+ try { recoverConversationRelocation(userId, cid); }
+ catch (recoveryErr) {
+ log.warn('conversation unfile recovery failed', { user: maskId(userId), cid: maskId(cid), ...logErrorSummary(recoveryErr) });
+ }
+ log.warn('conversation unfile relocate failed', { user: maskId(userId), cid: maskId(cid), ...logErrorSummary(err) });
+ return { ok: false, error: 'move_failed' };
+ }
+
+ const next = _stampConversationSync(userId, { ...target.conversation, project_id: '' });
+ try {
+ await store.persistTarget(target, next);
+ commitConversationRelocation(userId, cid);
+ } catch (err) {
+ try { recoverConversationRelocation(userId, cid); }
+ catch (recoveryErr) {
+ log.warn('conversation unfile recovery failed', { user: maskId(userId), cid: maskId(cid), ...logErrorSummary(recoveryErr) });
+ }
+ log.warn('conversation unfile commit failed', { user: maskId(userId), cid: maskId(cid), ...logErrorSummary(err) });
+ return { ok: false, error: 'move_failed' };
+ }
+
+ invalidateConversationProjectCache(userId, cid);
+ setConversationRelocationBlocked(userId, cid, false);
+ await purgeConversationHistoryCache(userId, oldMessageFile);
+ invalidateLineCount(oldMessageFile);
+ search.invalidateChatsIndex(userId);
+ log.info(`conversation unfiled user=${maskId(userId)} cid=${maskId(cid)} pid=${maskId(projectId)} paths=${moved.length}`);
+ return { ok: true, conversation: next };
+ });
+}
+
/** Drop a session jsonl + its in-memory cache entry. Routes through
* resolveSessionPath so kind (cloud vs local) is respected. */
function purgeSession(userId: string, sessionId: string): void {
diff --git a/src/main/features/conversation_assistance_context.ts b/src/main/features/conversation_assistance_context.ts
index 1cc89930..0e096cc9 100644
--- a/src/main/features/conversation_assistance_context.ts
+++ b/src/main/features/conversation_assistance_context.ts
@@ -2,6 +2,7 @@
import * as chats from './chats';
import { prompts } from '../prompts/loader';
import { formatConnectorSetupAssistance } from './connector_setup_context';
+import { hasPendingConversationFiling } from './conversation_filing';
export async function resolveConversationAssistanceForTurn(userId: string, cid: string): Promise<{
kind?: chats.ConversationAssistance['kind'];
@@ -9,10 +10,15 @@ export async function resolveConversationAssistanceForTurn(userId: string, cid:
}> {
const conversation = await chats.getConversationMetadata(userId, cid);
const assistance = conversation?.assistance;
+ const entryGuidance = assistance?.kind === 'app_creation'
+ ? prompts.load('app_creation_guidance').trim()
+ : formatConnectorSetupAssistance(assistance);
+ const followUp = conversation && !conversation.project_id
+ && !hasPendingConversationFiling(userId, cid)
+ ? prompts.load('followup_offer_guidance').trim()
+ : '';
return {
kind: assistance?.kind,
- guidance: assistance?.kind === 'app_creation'
- ? prompts.load('app_creation_guidance').trim()
- : formatConnectorSetupAssistance(assistance),
+ guidance: [entryGuidance, followUp].filter(Boolean).join('\n\n'),
};
}
diff --git a/src/main/features/conversation_filing.ts b/src/main/features/conversation_filing.ts
new file mode 100644
index 00000000..225e9595
--- /dev/null
+++ b/src/main/features/conversation_filing.ts
@@ -0,0 +1,312 @@
+/**
+ * Filing a conversation under a project — the one UI-free composition.
+ *
+ * `renderer/modules/conversation-to-project.js` used to compose
+ * `projects.create` + `conversations.move` + `projects.bindings.add` itself, so
+ * the member-agent derivation and the step order lived in the renderer and no
+ * other caller could reuse them. A model-facing tool needs the same steps with
+ * no picker, so the composition lives here and both callers run it.
+ *
+ * The relocation guard stays where it already is: `moveConversationToProject`
+ * refuses while the conversation has a live turn, because the move relocates
+ * the message file, sessions, attachments and artifacts that turn is writing.
+ * A model turn can therefore never move its own conversation; a caller running
+ * inside a turn creates the project here and leaves the move to the host at
+ * the next quiescent boundary.
+ *
+ * Filing creates a fresh local project; existing projects are never retargeted.
+ */
+
+import { createLogger } from '../logger';
+import { logErrorSummary, maskId } from '../util/log-redact';
+import * as agents from './agents';
+import * as chats from './chats';
+import * as projects from './projects';
+import { readMembers } from './group_chat/state';
+
+const log = createLogger('conversation-filing');
+
+/** Bounded so a pathological duplicate set cannot spin on name attempts. */
+const MAX_NAME_ATTEMPTS = 9;
+
+export type ConversationFilingError =
+ | projects.ProjectError
+ | 'already_in_project'
+ | 'move_failed';
+
+export interface ConversationFilingResult {
+ project: projects.Project;
+ /** Absent when the caller deferred the move: the conversation row is only
+ * rewritten once the relocation actually runs. */
+ conversation?: chats.Conversation;
+ filed: 'moved' | 'deferred';
+ /** Member agents bound to the new project. */
+ bound: string[];
+ /** Member agents the project refused (disabled or unavailable). Never fatal:
+ * losing one binding is not a reason to leave the work unfiled. */
+ unbound: string[];
+}
+
+export interface FileConversationOptions {
+ /** False when the caller runs inside the conversation's own turn. The
+ * project and its bindings are created now; the relocation is the host's. */
+ moveNow?: boolean;
+ /** Append a numeric suffix instead of failing on `name_dup`. A caller that
+ * can ask the user for another name leaves this off. */
+ uniquifyName?: boolean;
+ /** Bind exactly these agents instead of every member agent. For a caller
+ * that let someone choose a subset. */
+ agentIds?: string[];
+}
+
+/**
+ * Member agents of this conversation. The durable roster is authoritative and
+ * the denormalized index fields cover a conversation whose roster has not been
+ * written yet. Commander is a distinct actor kind, so it never appears here.
+ */
+export async function conversationMemberAgentIds(
+ userId: string,
+ cid: string,
+ conversation?: chats.Conversation | null,
+): Promise<string[]> {
+ const ids = new Set<string>();
+ const conv = conversation ?? await chats.getConversationMetadata(userId, cid);
+ for (const id of conv?.agent_ids ?? []) if (id) ids.add(id);
+ if (conv?.agent_id) ids.add(conv.agent_id);
+ try {
+ const members = await readMembers(userId, cid, conv?.project_id ?? null);
+ for (const actor of members.actors) {
+ if (actor.kind === 'agent' && actor.id) ids.add(actor.id);
+ }
+ } catch (err) {
+ // The roster is an enrichment here; the index fields already name the
+ // agents the conversation was started with.
+ log.warn(`member roster unreadable uid=${maskId(userId)} cid=${maskId(cid)}`, logErrorSummary(err));
+ }
+ return [...ids];
+}
+
+async function createUniquelyNamedProject(
+ userId: string,
+ rawName: string,
+ uniquify: boolean,
+): Promise<{ ok: true; project: projects.Project } | { ok: false; error: projects.ProjectError }> {
+ const base = String(rawName ?? '').trim();
+ for (let attempt = 1; attempt <= (uniquify ? MAX_NAME_ATTEMPTS : 1); attempt += 1) {
+ const name = attempt === 1 ? base : `${base} ${attempt}`;
+ const created = await projects.createProject(userId, name);
+ // `strictNullChecks` is off, so a boolean discriminant does not narrow;
+ // the cast is this repo's idiom for reading a result union's error.
+ if (created.ok || (created as { error: projects.ProjectError }).error !== 'name_dup') return created;
+ }
+ return { ok: false, error: 'name_dup' };
+}
+
+/**
+ * Create a project for this conversation and file the conversation under it.
+ *
+ * Step order follows the picker it replaces: relocate first, then bind, so a
+ * refused binding never leaves the work in a project the conversation did not
+ * reach. A deferred caller inverts only the relocation, not the order of the
+ * remaining steps.
+ */
+export async function fileConversationUnderNewProject(
+ userId: string,
+ cid: string,
+ rawName: string,
+ opts: FileConversationOptions = {},
+): Promise<{ ok: true; result: ConversationFilingResult } | { ok: false; error: ConversationFilingError }> {
+ const key = _pendingKey(userId, cid);
+ // Deferred setup has not written project_id yet. Reserve this conversation
+ // before the first await so retries and concurrent calls cannot create a
+ // second project or replace the destination already promised to the user.
+ if (_pendingFilings.has(key) || _filingsInProgress.has(key)) {
+ return { ok: false, error: 'already_in_project' };
+ }
+ _filingsInProgress.add(key);
+ try {
+ return await _fileConversationUnderNewProject(userId, cid, rawName, opts);
+ } finally {
+ _filingsInProgress.delete(key);
+ }
+}
+
+async function _fileConversationUnderNewProject(
+ userId: string,
+ cid: string,
+ rawName: string,
+ opts: FileConversationOptions,
+): Promise<{ ok: true; result: ConversationFilingResult } | { ok: false; error: ConversationFilingError }> {
+ const moveNow = opts.moveNow !== false;
+ const existing = await chats.getConversationMetadata(userId, cid);
+ if (!existing) return { ok: false, error: 'not_found' };
+ if (existing.project_id) return { ok: false, error: 'already_in_project' };
+
+ const agentIds = opts.agentIds
+ ?? await conversationMemberAgentIds(userId, cid, existing);
+ const created = await createUniquelyNamedProject(userId, rawName, opts.uniquifyName === true);
+ if (!created.ok) return { ok: false, error: (created as { error: projects.ProjectError }).error };
+ const project = created.project;
+
+ let conversation: chats.Conversation | undefined;
+ if (moveNow) {
+ const moved = await chats.moveConversationToProject(userId, cid, project.project_id);
+ if (!moved.ok) return { ok: false, error: (moved as { error: ConversationFilingError }).error };
+ conversation = moved.conversation;
+ } else {
+ _pendingFilings.set(_pendingKey(userId, cid), {
+ kind: 'file', projectId: project.project_id, projectName: project.name, todosCreated: 0,
+ });
+ }
+
+ // `addAgentBinding` does not check the agent itself; the picker's IPC handler
+ // owns that gate, so repeat it here rather than binding an agent the other
+ // caller would have refused.
+ const bound: string[] = [];
+ const unbound: string[] = [];
+ for (const agentId of agentIds) {
+ let bindable = false;
+ try {
+ const agent = await agents.getAgent(agentId);
+ bindable = !!agent && agent.enabled !== false;
+ } catch { bindable = false; }
+ if (!bindable) { unbound.push(agentId); continue; }
+ const result = await projects.addAgentBinding(userId, project.project_id, agentId);
+ if (result.ok) bound.push(agentId);
+ else unbound.push(agentId);
+ }
+
+ log.info(`conversation filed uid=${maskId(userId)} cid=${maskId(cid)} pid=${maskId(project.project_id)}`
+ + ` filed=${moveNow ? 'moved' : 'deferred'} bound=${bound.length} unbound=${unbound.length}`);
+ return {
+ ok: true,
+ result: { project, conversation, filed: moveNow ? 'moved' : 'deferred', bound, unbound },
+ };
+}
+
+/**
+ * Undo a filing: return the conversation to the unprojected root.
+ *
+ * The project it came from is left alone. It can hold other conversations, and
+ * deleting a project cascades everything inside it, so removing one
+ * conversation is never a reason to remove its project.
+ */
+export async function unfileConversation(
+ userId: string,
+ cid: string,
+ opts: { moveNow?: boolean } = {},
+): Promise<chats.ConversationMoveResult> {
+ if (opts.moveNow !== false) return chats.moveConversationOutOfProject(userId, cid);
+ // Undoing has the same constraint as filing: the relocation refuses while the
+ // turn holds the session files open, so it waits for the same boundary.
+ const conversation = await chats.getConversationMetadata(userId, cid);
+ if (!conversation) return { ok: false, error: 'not_found' };
+ if (!conversation.project_id) return { ok: false, error: 'not_in_project' };
+ _pendingFilings.set(_pendingKey(userId, cid), { kind: 'unfile' });
+ return { ok: true, conversation };
+}
+
+// ── Deferred filing ──────────────────────────────────────────────────────
+//
+// A tool cannot relocate its own conversation: the relocation refuses while a
+// turn holds the session files open. The project and its bindings are created
+// during the turn and the relocation waits for the conversation to go quiescent,
+// which is the same boundary the bus already uses for run-scoped cleanup.
+//
+// The intent lives in memory because it belongs to one turn. A crash before the
+// boundary loses that turn anyway, and leaves the project and its to-dos
+// visible; the conversation simply stays where it was.
+
+type PendingRelocation =
+ | { kind: 'file'; projectId: string; projectName: string; todosCreated: number }
+ | { kind: 'unfile' };
+
+const _pendingFilings = new Map<string, PendingRelocation>();
+const _filingsInProgress = new Set<string>();
+
+function _pendingKey(userId: string, cid: string): string {
+ return `${userId}\u0000${cid}`;
+}
+
+export function hasPendingConversationFiling(userId: string, cid: string): boolean {
+ return _pendingFilings.has(_pendingKey(userId, cid));
+}
+
+/** Keep the setup receipt, not the requested backlog count. A failure at the
+ * boundary must still tell the user which existing project to choose. */
+export function setPendingConversationFilingTodoCount(
+ userId: string,
+ cid: string,
+ projectId: string,
+ todosCreated: number,
+): void {
+ const pending = _pendingFilings.get(_pendingKey(userId, cid));
+ if (pending?.kind === 'file' && pending.projectId === projectId
+ && Number.isSafeInteger(todosCreated) && todosCreated >= 0) {
+ pending.todosCreated = todosCreated;
+ }
+}
+
+type FiledListener = (event: { userId: string; conversation: chats.Conversation }) => void;
+const _filedListeners: FiledListener[] = [];
+
+/** Host-initiated filing has no renderer request to answer, so the sidebar is
+ * told out of band. */
+export function onConversationFiled(cb: FiledListener): void {
+ if (typeof cb === 'function') _filedListeners.push(cb);
+}
+
+type FilingFailedListener = (event: {
+ userId: string; cid: string; projectId: string; projectName: string; todosCreated: number;
+} | { userId: string; cid: string; kind: 'unfile' }) => void;
+const _filingFailedListeners: FilingFailedListener[] = [];
+
+/** Notify the owner once; retry uses the existing picker and project. */
+export function onConversationFilingFailed(cb: FilingFailedListener): void {
+ if (typeof cb === 'function') _filingFailedListeners.push(cb);
+}
+
+/**
+ * Complete or drop a deferred filing. Called once per conversation at the
+ * quiescent boundary; `discard` is the cancelled run, whose reply the user never
+ * received.
+ */
+export async function drainConversationFiling(
+ userId: string,
+ cid: string,
+ discard = false,
+): Promise<void> {
+ const key = _pendingKey(userId, cid);
+ const pending = _pendingFilings.get(key);
+ if (!pending) return;
+ _pendingFilings.delete(key);
+ if (discard) {
+ log.info(`pending relocation discarded uid=${maskId(userId)} cid=${maskId(cid)} kind=${pending.kind}`);
+ return;
+ }
+ let moved: chats.ConversationMoveResult;
+ try {
+ moved = pending.kind === 'file'
+ ? await chats.moveConversationToProject(userId, cid, pending.projectId)
+ : await chats.moveConversationOutOfProject(userId, cid);
+ } catch (error) {
+ log.warn('pending relocation threw', { kind: pending.kind, error: logErrorSummary(error) });
+ moved = { ok: false, error: 'move_failed' };
+ }
+ if (!moved.ok) {
+ log.warn(`pending relocation failed uid=${maskId(userId)} cid=${maskId(cid)} kind=${pending.kind}`
+ + ` reason=${(moved as { error: string }).error}`);
+ for (const cb of _filingFailedListeners) {
+ try {
+ cb(pending.kind === 'file'
+ ? { userId, cid, projectId: pending.projectId, projectName: pending.projectName, todosCreated: pending.todosCreated }
+ : { userId, cid, kind: 'unfile' });
+ } catch { /* a listener must never break terminal cleanup */ }
+ }
+ return;
+ }
+ const conversation = (moved as { conversation: chats.Conversation }).conversation;
+ for (const cb of _filedListeners) {
+ try { cb({ userId, conversation }); } catch { /* a listener must never break the move */ }
+ }
+}
diff --git a/src/main/features/group_chat/bus.ts b/src/main/features/group_chat/bus.ts
index ca48fb03..67f8bc4b 100644
--- a/src/main/features/group_chat/bus.ts
+++ b/src/main/features/group_chat/bus.ts
@@ -1,4 +1,5 @@
import { yieldReflectionForTask } from '../reflection-coordination';
+import { drainConversationFiling, hasPendingConversationFiling } from '../conversation_filing';
/**
* MessageBus — the actor / message-passing core of group chat.
*
@@ -1446,6 +1447,17 @@ function _emitTaskRunTerminal(state: CidState, status: TaskTerminalStatus): void
bashPermissions.cancelForCid(state.cid);
connectorActionConfirm.cancelForCid(state.cid);
webAssistActionConfirm.cancelForCid(state.cid);
+ // A tool that filed this conversation under a project could not relocate it
+ // from inside the turn: the relocation refuses while a turn holds the session
+ // files open. This is the first moment it is allowed to run. A cancelled run
+ // drops the intent instead — the reply that announced it never landed.
+ if (hasPendingConversationFiling(state.uid, state.cid)) {
+ trackBackgroundWrite(
+ state,
+ drainConversationFiling(state.uid, state.cid, status === 'cancelled'),
+ 'pending conversation filing',
+ );
+ }
const recovered = status === 'completed' && run.internalFailureObserved === true;
const event: TaskTerminalEvent = {
run_id: run.runId,
diff --git a/src/main/features/project_setup_tool.ts b/src/main/features/project_setup_tool.ts
new file mode 100644
index 00000000..5ecb39bf
--- /dev/null
+++ b/src/main/features/project_setup_tool.ts
@@ -0,0 +1,139 @@
+/** One Commander-bound executor for giving this conversation's work a project. */
+import { z } from 'zod';
+import type { AgentTool } from '../../core-agent/src/tools/base';
+import * as filing from './conversation_filing';
+import * as projectTasks from './project_tasks';
+import { createLogger } from '../logger';
+import { logErrorSummary, maskId } from '../util/log-redact';
+
+const log = createLogger('project-setup-tool');
+
+/** Enough to open a backlog, not a planning surface: `todo_tasks` owns the rest. */
+const MAX_INITIAL_TODOS = 10;
+/** Matches the `todo_tasks` content bound. */
+const MAX_TODO_CHARS = 4000;
+const MAX_PROJECT_NAME_CHARS = 80;
+
+const schema = z.object({
+ action: z.enum(['create', 'unfile']),
+ name: z.string().min(1).max(MAX_PROJECT_NAME_CHARS).optional(),
+ todos: z.array(z.string().min(1).max(MAX_TODO_CHARS)).max(MAX_INITIAL_TODOS).optional(),
+}).strict();
+
+export function createProjectSetupTool(opts: {
+ userId: string;
+ cid: string;
+ /** The project this conversation already belongs to, when it has one. */
+ projectId?: string | null;
+}): AgentTool {
+ return {
+ name: 'project_setup',
+ description: 'Give the work in this conversation a project of its own, or undo that. '
+ + '`create` makes the project, opens it with the to-dos you pass, and files this conversation '
+ + 'under it when the turn ends; `unfile` returns the conversation to the unprojected list. '
+ + 'Use `todo_tasks` for a backlog that already has a project.',
+ inputSchema: {
+ type: 'object',
+ properties: {
+ action: {
+ type: 'string',
+ enum: ['create', 'unfile'],
+ description: 'create: a new project for this conversation. unfile: undo that.',
+ },
+ name: {
+ type: 'string',
+ minLength: 1,
+ maxLength: MAX_PROJECT_NAME_CHARS,
+ description: 'create only: what to call the project, in the user\'s language. '
+ + 'A name already in use gets a numeric suffix instead of failing.',
+ },
+ todos: {
+ type: 'array',
+ items: { type: 'string', minLength: 1, maxLength: MAX_TODO_CHARS },
+ maxItems: MAX_INITIAL_TODOS,
+ description: 'create only: the work to open the backlog with, one item per entry. '
+ + 'They land in the new project, not the account-wide backlog.',
+ },
+ },
+ required: ['action'],
+ additionalProperties: false,
+ },
+ async execute(input) {
+ const fail = (error: string, extra: Record<string, unknown> = {}) =>
+ ({ content: JSON.stringify({ ok: false, error, ...extra }), isError: true });
+ const parsed = schema.safeParse(input);
+ if (!parsed.success) {
+ return fail(parsed.error.issues.map((issue) => `${issue.path.join('.') || 'input'}: ${issue.message}`).join('; '));
+ }
+ const { action } = parsed.data;
+ const ignored = action === 'create'
+ ? []
+ : ['name', 'todos'].filter((field) => (parsed.data as Record<string, unknown>)[field] !== undefined);
+
+ if (action === 'unfile') {
+ // Undoing moves the same bytes, so it waits for the same boundary the
+ // filing does.
+ const result = await filing.unfileConversation(opts.userId, opts.cid, { moveNow: false });
+ if (!result.ok) {
+ return fail((result as { error: string }).error, {
+ ...(ignored.length ? { ignored_fields: ignored } : {}),
+ });
+ }
+ log.info(`project unfile queued uid=${maskId(opts.userId)} cid=${maskId(opts.cid)}`);
+ return {
+ content: JSON.stringify({
+ ok: true,
+ action,
+ left_project_id: opts.projectId || (result as { conversation: { project_id?: string } }).conversation.project_id || '',
+ applies: 'when_this_turn_ends',
+ ...(ignored.length ? { ignored_fields: ignored } : {}),
+ }),
+ };
+ }
+
+ if (!parsed.data.name) return fail('name is required to create a project');
+ const filed = await filing.fileConversationUnderNewProject(
+ opts.userId, opts.cid, parsed.data.name,
+ // A model turn cannot relocate its own conversation: the relocation
+ // refuses while this turn holds the session files open. The host
+ // completes it once the conversation goes quiescent.
+ { moveNow: false, uniquifyName: true },
+ );
+ if (!filed.ok) return fail((filed as { error: string }).error);
+ const { project, bound, unbound } = (filed as { result: filing.ConversationFilingResult }).result;
+
+ const created: string[] = [];
+ const rejected: string[] = [];
+ for (const content of parsed.data.todos ?? []) {
+ try {
+ const task = await projectTasks.createTask(opts.userId, project.project_id, { content });
+ if (task.ok) created.push((task as { task: { id: string } }).task.id);
+ else rejected.push((task as { error: string }).error);
+ } catch (err) {
+ log.warn(`initial todo failed uid=${maskId(opts.userId)} pid=${maskId(project.project_id)}`, logErrorSummary(err));
+ rejected.push('write_failed');
+ }
+ }
+
+ filing.setPendingConversationFilingTodoCount(opts.userId, opts.cid, project.project_id, created.length);
+ log.info(`project set up uid=${maskId(opts.userId)} cid=${maskId(opts.cid)} pid=${maskId(project.project_id)}`
+ + ` todos=${created.length} rejected=${rejected.length} bound=${bound.length}`);
+ return {
+ content: JSON.stringify({
+ ok: true,
+ action,
+ project_id: project.project_id,
+ // The host may have suffixed a duplicate name, so tell the user what
+ // the project is actually called.
+ project_name: project.name,
+ // Not moved yet: the relocation runs when this turn ends.
+ applies: 'when_this_turn_ends',
+ todos_created: created.length,
+ ...(rejected.length ? { todos_rejected: rejected } : {}),
+ agents_carried_over: bound.length,
+ ...(unbound.length ? { agents_not_carried_over: unbound.length } : {}),
+ }),
+ };
+ },
+ };
+}
diff --git a/src/main/index.ts b/src/main/index.ts
index c2d36e2a..9b2aa0c4 100644
--- a/src/main/index.ts
+++ b/src/main/index.ts
@@ -207,6 +207,7 @@ import * as reflectionOrchestrator from './features/reflection-orchestrator';
import * as autoTasks from './features/auto_tasks';
import * as projectDriverRunner from './features/project_driver_runner';
import * as projectTasks from './features/project_tasks';
+import * as conversationFiling from './features/conversation_filing';
import * as systemSkills from './features/system_skills';
import * as bundledContentStartup from './features/bundled_content_startup';
import * as builtinMarketplaceStartup from './features/builtin_marketplace_startup';
@@ -271,6 +272,7 @@ function rendererChannel(channel: string, options: RendererChannelOptions): Rend
return created;
}
const taskTerminalUi = rendererChannel('conversation:task_terminal', { maxPending: 100, ownerScoped: true });
+const conversationFilingFailure = rendererChannel('conversations:filing-failed', { maxPending: 20, ownerScoped: true });
function emitTaskTerminalToRenderer(event: TaskTerminalEvent): void {
const { user_id: ownerUserId, ...terminal } = event;
@@ -426,6 +428,15 @@ function registerIpc(): void {
projectTasks.onTasksChanged((e) => ipc.broadcastToRenderer('projects:tasks-changed', {
projectId: e.pid,
}));
+ // A conversation filed under a project by the host has no renderer request to
+ // answer, so the sidebar is told directly.
+ conversationFiling.onConversationFiled((e) => {
+ if (!users.hasActiveUser() || users.getActiveUserId() !== e.userId) return;
+ ipc.broadcastToRenderer('conversations:filed', { conversation: e.conversation });
+ });
+ conversationFiling.onConversationFilingFailed(({ userId, ...receipt }) => {
+ conversationFilingFailure.emit(receipt, userId);
+ });
conversationTaskBoard.onBacklogExecutionChanged((e) => ipc.broadcastToRenderer('projects:tasks-changed', {
projectId: e.pid,
}));
diff --git a/src/main/ipc/index.ts b/src/main/ipc/index.ts
index 5109b82b..329a4da4 100644
--- a/src/main/ipc/index.ts
+++ b/src/main/ipc/index.ts
@@ -1219,6 +1219,17 @@ const invokeHandlers: Record<string, InvokeHandler> = {
return { conversation: (result as { conversation: chats.Conversation }).conversation };
},
+ // Filing a conversation under a project can happen without a click, so the
+ // way back cannot be click-only either. The relocation itself owns the
+ // running-turn refusal.
+ 'conversations.moveOut': async (args, ctx) => {
+ const { cid } = args;
+ if (!safeId(cid)) throw new Error('invalid cid');
+ const result = await chats.moveConversationOutOfProject(ctx.userId, cid);
+ if (!result.ok) throw new Error((result as { error: string }).error);
+ return { conversation: (result as { conversation: chats.Conversation }).conversation };
+ },
+
'conversations.deleteAll': async (_args, ctx) => {
const convs = await chats.listConversations(ctx.userId);
if (!convs.length) return { deleted: 0 };
diff --git a/src/main/model/core-agent/runner.ts b/src/main/model/core-agent/runner.ts
index b6473e29..feea31d9 100644
--- a/src/main/model/core-agent/runner.ts
+++ b/src/main/model/core-agent/runner.ts
@@ -705,6 +705,17 @@ export async function buildRunner(params: BuildRunnerParams): Promise<{
}));
}
+ // Creating a project for this conversation and relocating it is Commander's
+ // decision; a named Agent or Worker never receives the executor.
+ if (uid && isCommander && params.cid) {
+ const { createProjectSetupTool } = await import('../../features/project_setup_tool');
+ injectedTools.push(createProjectSetupTool({
+ userId: uid,
+ cid: params.cid,
+ projectId: params.projectId || null,
+ }));
+ }
+
if (uid && (isCommander || isGroupAgent)) {
const { createAutoTasksTool } = await import('../../features/auto_tasks_tool');
injectedTools.push(createAutoTasksTool({
diff --git a/src/main/model/core-agent/tool-catalog-revision.ts b/src/main/model/core-agent/tool-catalog-revision.ts
index cb161a06..392c089d 100644
--- a/src/main/model/core-agent/tool-catalog-revision.ts
+++ b/src/main/model/core-agent/tool-catalog-revision.ts
@@ -5,4 +5,4 @@
* it as their current-state oracle without pulling the Electron runtime or the
* tool catalog's logger/path dependency chain into model-eval processes.
*/
-export const TOOL_CATALOG_REVISION = '51';
+export const TOOL_CATALOG_REVISION = '55';
diff --git a/src/main/model/core-agent/tool-catalog.ts b/src/main/model/core-agent/tool-catalog.ts
index e0d81ca9..059247de 100644
--- a/src/main/model/core-agent/tool-catalog.ts
+++ b/src/main/model/core-agent/tool-catalog.ts
@@ -206,6 +206,9 @@ export const TOOL_CATALOG: readonly ToolCatalogEntry[] = [
{ name: 'metacognition', loadGroups: ['context'], summary: 'Read or update agent competence and strategies.' },
{ name: 'project_instructions', loadGroups: ['context'], summary: 'Update project standing instructions.' },
{ name: 'todo_tasks', loadGroups: ['management.projects'], programmatic: { mode: 'allow' }, summary: 'Manage a selected project backlog.' },
+ // Commander-only: it relocates this conversation, which is an orchestration
+ // decision, and `run_program` gets no access to that side effect.
+ { name: 'project_setup', loadGroups: ['management.projects'], agentAssignable: false, summary: "Create a project for this conversation's work, or undo that." },
{ name: 'dispatch_to', loadGroups: ['orchestration'], summary: 'Delegate visible work and continue the commander turn.' },
{ name: 'hand_off_to', loadGroups: ['orchestration'], summary: 'Transfer terminal ownership to another Agent.' },
diff --git a/src/main/prompts/followup_offer_guidance.md b/src/main/prompts/followup_offer_guidance.md
new file mode 100644
index 00000000..b08adc76
--- /dev/null
+++ b/src/main/prompts/followup_offer_guidance.md
@@ -0,0 +1,15 @@
+## Keeping work going
+
+Host facts: this conversation belongs to no project yet, so the work in it can
+still be given one.
+
+- When the delivered request will recur, schedule it in this same reply, and say
+ that each run opens its own conversation.
+- When it serves a goal that outlives this conversation, give that work a project
+ in this same reply, with the first to-dos, and file this conversation under it.
+ A recurring request alone does not need one.
+- Do not ask first. Set it up, then say in one or two sentences what you created
+ and where this conversation now lives. If the user objects, undo it and do not
+ raise it again in this conversation.
+- Keep this at the end of the reply that delivers the result. Never open with it,
+ and never delay the result for it.
diff --git a/src/main/util/conversation-relocate.ts b/src/main/util/conversation-relocate.ts
index f4a22524..9d43f776 100644
--- a/src/main/util/conversation-relocate.ts
+++ b/src/main/util/conversation-relocate.ts
@@ -1,5 +1,5 @@
/**
- * Relocate one conversation's bytes from the unprojected root into a project.
+ * Relocate one conversation's bytes between the unprojected root and a project.
*
* Project membership is a storage location, not a field: messages, the group
* companion dir, the commander and per-agent sessions, attachments and
@@ -8,6 +8,12 @@
* (`migrate-project-layout-v4.ts::migrateConversation`), which is the only
* other code in the app that relocates a conversation.
*
+ * Either direction is the same prefix rewrite between `cloud/` and
+ * `cloud/projects/<pid>/`: both layouts use the same file names, so the pair
+ * list is built once from the two roots and oriented by `direction`. Filing a
+ * conversation is what the picker and the model-facing tool do; unfiling is how
+ * an automatic filing stays reversible.
+ *
* A local write-ahead record precedes every runtime move. An explicit commit
* marker follows the index/meta writes; activation rolls back uncommitted
* records before layout repair or ghost cleanup can interpret partial state.
@@ -21,8 +27,7 @@ import {
projectChatAttachmentDir,
projectChatJsonlFile,
projectGroupChatDir,
- projectSessionCloudToolResultsDir,
- projectSessionFile,
+ projectSessionsDir,
userChatArtifactsDir,
userChatAttachmentsDir,
userChatsDir,
@@ -58,31 +63,30 @@ interface Pair {
/** Session sidecars share a stem, so each is matched by its own suffix. */
const SESSION_SUFFIXES = ['.jsonl', '.jsonl.context.json', '.tool-results'] as const;
-function sessionDestination(uid: string, pid: string, name: string): string | null {
- for (const suffix of SESSION_SUFFIXES) {
- if (!name.endsWith(suffix)) continue;
- const sid = name.slice(0, -suffix.length);
- if (suffix === '.tool-results') return projectSessionCloudToolResultsDir(uid, pid, sid);
- if (suffix === '.jsonl.context.json') return `${projectSessionFile(uid, pid, sid)}.context.json`;
- return projectSessionFile(uid, pid, sid);
- }
- return null;
-}
+/** `into` files a loose conversation under a project; `out` returns it to the
+ * unprojected root. */
+export type RelocationDirection = 'into' | 'out';
/**
* Every source/destination pair for `cid`, whether or not the source exists.
* Enumerating the session directory is the truth source: `members.json` can
* already be gone or stale, which is what leaked orphan member sessions in the
- * delete path before it started globbing too.
+ * delete path before it started globbing too. The session directory to
+ * enumerate is the one the bytes currently sit in.
*/
-function relocationPairs(uid: string, cid: string, pid: string): Pair[] {
+function relocationPairs(
+ uid: string,
+ cid: string,
+ pid: string,
+ direction: RelocationDirection,
+): Pair[] {
const chatRoot = userChatsDir(uid);
- const pairs: Pair[] = [
- { domain: 'chats', src: path.join(chatRoot, `${cid}.jsonl`), dst: projectChatJsonlFile(uid, pid, cid) },
- { domain: 'chats', src: path.join(chatRoot, cid), dst: projectGroupChatDir(uid, pid, cid) },
+ const both: { domain: Pair['domain']; root: string; project: string }[] = [
+ { domain: 'chats', root: path.join(chatRoot, `${cid}.jsonl`), project: projectChatJsonlFile(uid, pid, cid) },
+ { domain: 'chats', root: path.join(chatRoot, cid), project: projectGroupChatDir(uid, pid, cid) },
];
- const sessionsRoot = userSessionsDir(uid);
+ const sessionsRoot = direction === 'into' ? userSessionsDir(uid) : projectSessionsDir(uid, pid);
let names: string[] = [];
try { names = fs.readdirSync(sessionsRoot); } catch { names = []; }
const commanderStem = `gconv-${cid}`;
@@ -93,21 +97,26 @@ function relocationPairs(uid: string, cid: string, pid: string): Pair[] {
|| name === `${commanderStem}.tool-results`
|| (name.startsWith(memberPrefix) && SESSION_SUFFIXES.some((suffix) => name.endsWith(suffix)));
if (!owned) continue;
- const dst = sessionDestination(uid, pid, name);
- if (dst) pairs.push({ domain: 'sessions', src: path.join(sessionsRoot, name), dst });
+ both.push({
+ domain: 'sessions',
+ root: path.join(userSessionsDir(uid), name),
+ project: path.join(projectSessionsDir(uid, pid), name),
+ });
}
- pairs.push({
+ both.push({
domain: 'chat_attachments',
- src: path.join(userChatAttachmentsDir(uid), cid),
- dst: projectChatAttachmentDir(uid, pid, cid),
+ root: path.join(userChatAttachmentsDir(uid), cid),
+ project: projectChatAttachmentDir(uid, pid, cid),
});
- pairs.push({
+ both.push({
domain: 'chat_artifacts',
- src: path.join(userChatArtifactsDir(uid), cid),
- dst: projectChatArtifactCidDir(uid, pid, cid),
+ root: path.join(userChatArtifactsDir(uid), cid),
+ project: projectChatArtifactCidDir(uid, pid, cid),
});
- return pairs;
+ return both.map(({ domain, root, project }) => direction === 'into'
+ ? { domain, src: root, dst: project }
+ : { domain, src: project, dst: root });
}
function moveOne(pair: Pair): boolean {
@@ -124,17 +133,18 @@ function moveOne(pair: Pair): boolean {
}
/**
- * Move every byte of `cid` into `pid` and report what changed, so the caller
- * can tell sync which paths were retired and which appeared. Throws with the
- * filesystem left as it was found.
+ * Move every byte of `cid` between the root and `pid` and report what changed,
+ * so the caller can tell sync which paths were retired and which appeared.
+ * Throws with the filesystem left as it was found.
*/
-export function relocateConversationIntoProject(
+function relocateConversation(
uid: string,
cid: string,
pid: string,
+ direction: RelocationDirection,
original?: Record<string, unknown>,
): RelocatedPaths[] {
- const pairs = relocationPairs(uid, cid, pid);
+ const pairs = relocationPairs(uid, cid, pid, direction);
const files = new Map<Pair, string[]>();
const collect = (file: string, out: string[]): void => {
let stat: fs.Stats;
@@ -166,9 +176,23 @@ export function relocateConversationIntoProject(
}
if (original) {
const file = journalPath(uid, cid);
- if (fs.existsSync(file)) throw new Error('Conversation move recovery is pending');
+ if (fs.existsSync(file)) {
+ // A `prepared` record is an interrupted move whose rollback has not run;
+ // moving again would strand it. A `committed` record is only the receipt
+ // sync has not consumed yet, and with sync disabled it is never consumed,
+ // so an undo must not be blocked by it: the receipt written here
+ // supersedes it, and the consumer already skips a retired path whose
+ // source is back on disk. An unreadable record fails closed.
+ let superseded = false;
+ try { superseded = readJournal(uid, cid).phase === 'committed'; }
+ catch { superseded = false; }
+ if (!superseded) throw new Error('Conversation move recovery is pending');
+ }
persistJournal(uid, {
- version: 1, cid, pid, phase: 'prepared', original,
+ // A record an older build cannot interpret must be rejected outright, not
+ // rolled back the wrong way, so the reverse direction carries version 2.
+ ...(direction === 'into' ? { version: 1 as const } : { version: 2 as const, direction }),
+ cid, pid, phase: 'prepared', original,
moved: planned.map(pair => ({ domain: pair.domain, from: cloudRelForAbs(uid, pair.src),
to: cloudRelForAbs(uid, pair.dst), files: files.get(pair)! })),
});
@@ -198,15 +222,41 @@ export function relocateConversationIntoProject(
}));
}
+/** File a loose conversation under `pid`. */
+export function relocateConversationIntoProject(
+ uid: string,
+ cid: string,
+ pid: string,
+ original?: Record<string, unknown>,
+): RelocatedPaths[] {
+ return relocateConversation(uid, cid, pid, 'into', original);
+}
+
+/** Return a conversation from `pid` to the unprojected root. */
+export function relocateConversationOutOfProject(
+ uid: string,
+ cid: string,
+ pid: string,
+ original?: Record<string, unknown>,
+): RelocatedPaths[] {
+ return relocateConversation(uid, cid, pid, 'out', original);
+}
+
interface MoveJournal {
- version: 1;
+ /** 1 is the original filing record and carries no `direction`; 2 adds it. */
+ version: 1 | 2;
cid: string;
pid: string;
+ direction?: RelocationDirection;
phase: 'prepared' | 'committed';
original: Record<string, unknown>;
moved: RelocatedPaths[];
}
+function journalDirection(journal: MoveJournal): RelocationDirection {
+ return journal.direction === 'out' ? 'out' : 'into';
+}
+
function journalPath(uid: string, cid: string): string {
return path.join(userConversationMovesDir(uid), `${cid}.json`);
}
@@ -220,27 +270,39 @@ function persistJournal(uid: string, journal: MoveJournal): void {
function readJournal(uid: string, cid: string): MoveJournal {
const journal = JSON.parse(fs.readFileSync(journalPath(uid, cid), 'utf8')) as MoveJournal;
- if (journal.version !== 1 || journal.cid !== cid || !safeId(cid) || !safeId(journal.pid)
+ const direction = journalDirection(journal);
+ // The version pins the direction: a filing record stays exactly what earlier
+ // builds wrote, and an unfiling record is unreadable to them.
+ const versionMatchesDirection = direction === 'into' ? journal.version === 1 : journal.version === 2;
+ // The row a rollback restores must belong where the bytes came from.
+ const originMatches = direction === 'into'
+ ? !journal.original?.project_id
+ : journal.original?.project_id === journal.pid;
+ if (!versionMatchesDirection || journal.cid !== cid || !safeId(cid) || !safeId(journal.pid)
|| !['prepared', 'committed'].includes(journal.phase)
- || journal.original?.conversation_id !== cid || journal.original.project_id
+ || journal.original?.conversation_id !== cid || !originMatches
|| !Array.isArray(journal.moved)) throw new Error('Invalid conversation move recovery record');
+ const sourcePrefix = direction === 'into' ? 'cloud/' : `cloud/projects/${journal.pid}/`;
+ const targetPrefix = direction === 'into' ? `cloud/projects/${journal.pid}/` : 'cloud/';
const roots: Record<RelocatedPaths['domain'], string[]> = {
- chats: [`cloud/chats/${cid}`, `cloud/chats/${cid}.jsonl`],
+ chats: [`${sourcePrefix}chats/${cid}`, `${sourcePrefix}chats/${cid}.jsonl`],
sessions: [],
- chat_attachments: [`cloud/chat_attachments/${cid}`],
- chat_artifacts: [`cloud/chat_artifacts/${cid}`],
+ chat_attachments: [`${sourcePrefix}chat_attachments/${cid}`],
+ chat_artifacts: [`${sourcePrefix}chat_artifacts/${cid}`],
};
+ const sessionPrefix = `${sourcePrefix}sessions/`;
const seen = new Set<string>();
for (const item of journal.moved) {
if (!item || typeof item.from !== 'string') throw new Error('Invalid conversation move recovery paths');
const from = item.from;
- const name = typeof from === 'string' ? from.slice('cloud/sessions/'.length) : '';
- const session = item.domain === 'sessions' && from.startsWith('cloud/sessions/')
+ const name = from.startsWith(sessionPrefix) ? from.slice(sessionPrefix.length) : '';
+ const session = item.domain === 'sessions' && from.startsWith(sessionPrefix)
&& !name.includes('/') && !name.includes('\\') && !name.includes('..')
&& SESSION_SUFFIXES.some(suffix => name === `gconv-${cid}${suffix}`
|| (name.startsWith(`gmember-${cid}-`) && name.endsWith(suffix)));
if ((!session && !roots[item.domain]?.includes(from)) || seen.has(from)
- || item.to !== from.replace('cloud/', `cloud/projects/${journal.pid}/`)
+ || !from.startsWith(sourcePrefix)
+ || item.to !== `${targetPrefix}${from.slice(sourcePrefix.length)}`
|| !Array.isArray(item.files) || !item.files.every(file => typeof file === 'string'
&& (file === from || file.startsWith(`${from}/`))
&& !file.split('/').some(part => part === '..' || part === '.' || !part)
@@ -303,9 +365,17 @@ export function recoverConversationRelocation(uid: string, cid: string): void {
fs.mkdirSync(path.dirname(from), { recursive: true });
fs.renameSync(to, from);
}
- writeJsonSync(path.join(userChatsDir(uid), cid, 'meta.json'), journal.original);
- writeJsonSync(globalIndex, [journal.original, ...globalRows]);
- writeJsonSync(projectIndex, projectRows);
+ // Restore the row and its meta where the bytes came from; the other index
+ // loses it. Bytes alone do not carry ownership.
+ if (journalDirection(journal) === 'into') {
+ writeJsonSync(path.join(userChatsDir(uid), cid, 'meta.json'), journal.original);
+ writeJsonSync(globalIndex, [journal.original, ...globalRows]);
+ writeJsonSync(projectIndex, projectRows);
+ } else {
+ writeJsonSync(path.join(projectGroupChatDir(uid, journal.pid, cid), 'meta.json'), journal.original);
+ writeJsonSync(projectIndex, [journal.original, ...projectRows]);
+ writeJsonSync(globalIndex, globalRows);
+ }
invalidateConversationProjectCache(uid, cid);
fs.unlinkSync(journalPath(uid, cid));
setConversationRelocationBlocked(uid, cid, false);
diff --git a/src/renderer/locales/ar.json b/src/renderer/locales/ar.json
index 9ba504f6..2dc816bb 100644
--- a/src/renderer/locales/ar.json
+++ b/src/renderer/locales/ar.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "صديقي، ماذا تريد أن تنجز؟",
"new_chat.subtitle": "شارك هدفك. سيقسّم القائد العمل وينسّق بين الوكلاء المناسبين ويسلّم النتيجة النهائية.",
"chat.app_nav_open": "فتح الصفحة: {name}",
- "chat.app_nav_create": "إنشاء في {name}",
"chat.app_nav_add_custom": "إضافة خادم MCP",
"chat.app_nav_configure": "الضبط في {name}",
"chat.app_nav_configure_target": "ضبط {target}",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "فوّض أداة WeCom CLI الرسمية للرسائل وجهات الاتصال والتقويم والمستندات وجداول البيانات والبريد والاجتماعات والمهام ومساحة تخزين الملفات.",
"connectors.catalog.xiaohongshu-seller.description": "استخدم بيانات اعتماد Ark للتجار أو الشركاء في بيئة الإنتاج والصادرة عن المنصة عبر بوابة HTTPS Ark للإنتاج للكتالوجات والتدرج الهرمي للمنتجات والمخزون وتصدير الطلبات وتنفيذها ومراجعة الإلغاء. لا تنشر بيئة الاختبار القديمة سوى نقطة نهاية HTTP، لذلك لا تُرسل إليها بيانات الاعتماد مطلقًا ولا يُتاح خيار لبيئة الاختبار.",
"connectors.catalog.microsoft-teams.description": "ابحث في رسائل الفريق، وأرسل رسائل الدردشة والردود، واعرض موارد الاجتماعات وفقًا لأذونات المؤسسة.",
- "connectors.catalog.temu-seller.description": "استخدم تطبيقًا مملوكًا للتاجر لقراءة منتجات المتاجر المحلية/شبه المُدارة وطلباتها ومخزونها، وتحديث المخزون العادي المُدار ذاتيًا بعد التأكيد.",
+ "connectors.catalog.temu-seller.description": "استخدم تطبيق التاجر لإدارة المنتجات والأسعار والمخزون والطلبات والشحن وخدمات ما بعد البيع والعروض والإعلانات للمتاجر المحلية أو المُدارة جزئيًا. تختلف الصلاحيات وواجهات API حسب المنطقة.",
"connectors.catalog.outlook.description": "اقرأ ملف Outlook الشخصي وجهات الاتصال وإعدادات صندوق البريد والمهام.",
"connectors.catalog.onedrive.description": "ابحث عن ملفات OneDrive واقرأها وارفعها وحدّثها.",
"connectors.catalog.memberstack.description": "أدِر أعضاء الموقع والملفات الشخصية والخطط وتعيينات الخطط المجانية، وراجع جداول البيانات.",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "فوّض متجرك لإدارة منتجات WooCommerce والمخزون والطلبات والعملاء والقسائم والمبالغ المستردة والتقارير.",
"connectors.catalog.dingtalk.description": "فوّض أداة DingTalk DWS CLI الرسمية للرسائل وجهات الاتصال والتقويم والمستندات وجداول البيانات والمهام والموافقات والحضور والبريد والويكي.",
"connectors.catalog.etsy-seller.description": "استخدم تطبيق Etsy Seller API Access الخاص بالبائع وOAuth الرسمي لإدارة المتجر والإدراجات والمخزون وتنفيذ الطلبات وملفات الشحن وأقسام المتجر.",
- "connectors.catalog.amazon-seller-central.description": "استخدم تطبيق Amazon SP-API الخاص غير العام المملوك للبائع للكتالوج والإدراجات وحالة الطلبات الخالية من PII ومخزون FBA والبيانات المالية. لا تُطلب بيانات PII للمشترين أو عمليات RDT ولا تُتاح.",
+ "connectors.catalog.amazon-seller-central.description": "استخدم تطبيق Amazon SP-API الخاص بالتاجر لإدارة المنتجات والطلبات والشحن والشحنات الواردة وخدمات ما بعد البيع والشؤون المالية، مع أدوار العمل المطلوبة.",
"connectors.catalog.active-campaign.description": "أدِر جهات الاتصال وعمليات الأتمتة والحملات والشرائح وسير عمل المبيعات في CRM ومزامنة عملاء التجارة وطلباتها ومنتجاتها.",
"connectors.catalog.btcpay-server.description": "أنشئ طلبات دفع BTCPay وراجعها، وافحص تفاصيل الخادم والمتجر، وألغِ تحويلات الصرف.",
"connectors.catalog.gitlab.description": "اربط مشاريع GitLab.com ومشكلاته وطلبات الدمج ومسارات المعالجة وسياق الشيفرة.",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "استكمل عناوين الشحن الأمريكية ووحّد تنسيقها باستخدام Addresszen.",
"connectors.catalog.webex.description": "اعرض الفرق ورسائل المساحات؛ وأنشئ المساحات وأرسل الرسائل.",
"connectors.catalog.gdocs.description": "اعثر على مستندات Google Docs واقرأها وأنشئها وحدّثها.",
- "connectors.catalog.aliexpress-seller.description": "استخدم تطبيقك الخاص لقراءة المتجر والمنتجات والطلبات ومخزون SKU، وتحديث المخزون بعد التأكيد. للبائعين ذاتيي التشغيل في الخارج ممن لديهم وصول إلى Seller Solution API.",
+ "connectors.catalog.aliexpress-seller.description": "استخدم تطبيق البائع الخاص بك لإدارة المنتجات والأسعار والمخزون والطلبات والخدمات اللوجستية وخدمات ما بعد البيع والتسويق. يلزم توفر أذونات API المناسبة؛ ولا يزال الاتصال يتطلب الوصول إلى Seller Solution.",
"connectors.catalog.figma.description": "اقرأ ملفات التصميم والمكوّنات والأنماط؛ وصدّر المعاينات وأدِر التعليقات. تعديل لوحة التصميم غير متاح.",
"connectors.catalog.crowdin.description": "أدِر مشاريع الترجمة والملفات والسلاسل النصية والمهام.",
"connectors.catalog.redcircle-api.description": "أدِر مهام جمع بيانات منتجات التجزئة والاستهداف حسب الرمز البريدي وتصدير النتائج.",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "اعرض مواقع Webflow وصفحاته ومحتوى CMS وبيانات SEO الوصفية والأصول وحدّثها.",
"connectors.catalog.exist.description": "اعرض العادات الشخصية والاتجاهات والارتباطات؛ وزِد قيم المقاييس المتتبّعة.",
"connectors.catalog.gumroad.description": "راجع المنتجات الرقمية والمبيعات والاشتراكات وحالة التراخيص.",
- "connectors.catalog.lazada-seller.description": "فوّض متجر Lazada بتطبيق مملوك للتاجر لقراءة المنتجات والطلبات ومخزون SKU، وتحديث المخزون القابل للبيع بعد التأكيد.",
+ "connectors.catalog.lazada-seller.description": "استخدم تطبيقًا مملوكًا للتاجر لإدارة منتجات Lazada وأسعارها ومخزونها وطلباتها والشحن وخدمات ما بعد البيع والعروض والإعلانات، مع أذونات المتجر المطلوبة.",
"connectors.catalog.cloudcart.description": "أدِر كتالوجات المتاجر الإلكترونية والعملاء وسلال التسوق والطلبات والخصومات والمشتركين ومحتوى واجهة المتجر.",
"connectors.catalog.pinterest-ads.description": "اعرض أداء الإعلانات وحدّث الإعلانات والمجموعات الإعلانية والحملات.",
"connectors.catalog.order-desk.description": "أدِر الطلبات وبنودها والشحنات والمخزون.",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "ابحث عن الملفات واقرأها وارفعها ونظّمها وشاركها.",
"connectors.catalog.gsheets.description": "اعثر على جداول البيانات، واقرأ الخلايا واكتب فيها، وألحق البيانات ونظّمها.",
"connectors.catalog.pinterest.description": "أدِر لوحات Pinterest وأقسامها وعناصر Pins، وحلّل الحسابات والمحتوى والاتجاهات.",
- "connectors.catalog.shein-seller.description": "اربط متاجر SHEIN ذاتية التشغيل/شبه المُدارة باستخدام تطبيقك الخاص لقراءة المنتجات والطلبات والمستودعات والمخزون، وتحديث المخزون الافتراضي للتاجر بعد التأكيد.",
+ "connectors.catalog.shein-seller.description": "استخدم تطبيقك لإدارة منتجات SHEIN وأسعارها ومخزونها وطلباتها وشحنها ومرتجعاتها وقراءة البيانات المالية. للمتاجر ذاتية التشغيل أو شبه المُدارة؛ تختلف أذونات API.",
"connectors.catalog.baselinker.description": "أدِر الطلبات عبر القنوات المتعددة والمخزون والمستودعات والمرتجعات والشحن والفواتير.",
"connectors.catalog.dropbox.description": "ابحث عن الملفات واقرأها وارفعها ونظّمها؛ وأدِر الروابط المشتركة.",
"connectors.catalog.bluebarry.description": "افحص هويات المتسوقين وملفات الاستشارات المتعلقة بالمنتجات.",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "Click the avatar on the left to change it",
"settings.video.provider_unavailable": "This video provider is not supported in this build. The saved key is retained and can be removed. Configure Orkas API to generate videos.",
"connectors.catalog.google-workspace.description": "اربط Gmail والتقويم والمستندات وجداول البيانات والمهام بموافقة واحدة، أو اربط كل خدمة على حدة.",
- "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows."
+ "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows.",
+ "chat.conv_out_project": "إزالة من المشروع",
+ "chat.conv_moved_out": "تم النقل خارج المشروع.",
+ "chat.conv_filing_failed": "تم إنشاء المشروع «{name}»، لكن تعذرت إضافة المحادثة إليه. من قائمة المحادثة، اختر «إضافة إلى مشروع» وحدد هذا المشروع للمحاولة مجددًا.",
+ "chat.conv_filing_failed_with_todos": "تم إنشاء المشروع «{name}» و{count} مهام، لكن تعذرت إضافة المحادثة إليه. من قائمة المحادثة، اختر «إضافة إلى مشروع» وحدد هذا المشروع للمحاولة مجددًا.",
+ "chat.conv_move_not_filed": "هذه المهمة ليست في أي مشروع."
}
diff --git a/src/renderer/locales/de.json b/src/renderer/locales/de.json
index a83550fc..35d86fa0 100644
--- a/src/renderer/locales/de.json
+++ b/src/renderer/locales/de.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "Guten Tag, was möchten Sie erreichen?",
"new_chat.subtitle": "Beschreiben Sie Ihr Ziel. Commander teilt die Arbeit auf, koordiniert die passenden Agenten und liefert das fertige Ergebnis.",
"chat.app_nav_open": "Seite öffnen: {name}",
- "chat.app_nav_create": "In {name} erstellen",
"chat.app_nav_add_custom": "MCP-Server hinzufügen",
"chat.app_nav_configure": "In {name} konfigurieren",
"chat.app_nav_configure_target": "{target} konfigurieren",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "Autorisieren Sie die offizielle WeCom-CLI für Nachrichten, Kontakte, Kalender, Dokumente, Tabellen, E-Mails, Besprechungen, Aufgaben und Dateiablage.",
"connectors.catalog.xiaohongshu-seller.description": "Verwenden Sie von der Plattform ausgestellte Ark-Produktionszugangsdaten für Händler oder Partner über das HTTPS-Produktionsgateway von Ark für Kataloge, Produkthierarchie, Bestände, Bestellexport, Fulfillment und Stornierungsprüfung. Die alte Sandbox veröffentlicht nur einen HTTP-Endpunkt; daher werden niemals Zugangsdaten dorthin gesendet und es wird keine Sandbox-Option angeboten.",
"connectors.catalog.microsoft-teams.description": "Durchsuchen Sie Teamnachrichten, senden Sie Chatnachrichten und Antworten und sehen Sie Besprechungsressourcen ein, abhängig von den Organisationsberechtigungen.",
- "connectors.catalog.temu-seller.description": "Verwenden Sie eine eigene App des Händlers, um Produkte, Bestellungen und Bestände lokaler/teilverwalteter Shops zu lesen und reguläre selbst verwaltete Bestände mit Bestätigung zu aktualisieren.",
+ "connectors.catalog.temu-seller.description": "Verwalten Sie mit Ihrer Händler-App Produkte, Preise, Bestände, Bestellungen, Versand, Kundendienst, Aktionen und Werbung lokaler oder teilverwalteter Shops. Berechtigungen und APIs unterscheiden sich je nach Region.",
"connectors.catalog.outlook.description": "Lesen Sie Outlook-Profil, Kontakte, Postfacheinstellungen und Aufgaben.",
"connectors.catalog.onedrive.description": "Suchen, lesen und aktualisieren Sie OneDrive-Dateien und laden Sie sie hoch.",
"connectors.catalog.memberstack.description": "Verwalten Sie Website-Mitglieder, Profile, Tarife und Zuweisungen kostenloser Tarife und prüfen Sie Datentabellen.",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "Autorisieren Sie Ihren Shop, um WooCommerce-Produkte, Bestände, Bestellungen, Kunden, Gutscheine, Erstattungen und Berichte zu verwalten.",
"connectors.catalog.dingtalk.description": "Autorisieren Sie die offizielle DingTalk DWS-CLI für Nachrichten, Kontakte, Kalender, Dokumente, Tabellen, Aufgaben, Genehmigungen, Anwesenheit, E-Mails und Wiki.",
"connectors.catalog.etsy-seller.description": "Verwenden Sie die eigene Etsy Seller API Access-App des Verkäufers und das offizielle OAuth, um Shop, Angebote, Bestände, Bestellabwicklung, Versandprofile und Shopbereiche zu verwalten.",
- "connectors.catalog.amazon-seller-central.description": "Verwenden Sie die eigene private Amazon SP-API-App des Verkäufers für Katalog, Angebote, Bestellstatus ohne personenbezogene Daten, FBA-Bestände und Finanzdaten. Personenbezogene Käuferdaten (PII) und RDT-Vorgänge werden weder angefordert noch bereitgestellt.",
+ "connectors.catalog.amazon-seller-central.description": "Verwalten Sie Produkte, Bestellungen, Versand, Wareneingang, Kundendienst und Finanzen mit Ihrer Amazon SP-API-App und den erforderlichen Rollen.",
"connectors.catalog.active-campaign.description": "Verwalten Sie Kontakte, Automatisierungen, Kampagnen, Segmente, CRM-Vertriebsabläufe und die Synchronisierung von Handelskunden, Bestellungen und Produkten.",
"connectors.catalog.btcpay-server.description": "Erstellen und prüfen Sie BTCPay-Zahlungsanforderungen, sehen Sie Server- und Shopdetails ein und stornieren Sie Auszahlungen.",
"connectors.catalog.gitlab.description": "Verbinden Sie GitLab.com-Projekte, Issues, Merge Requests, Pipelines und Codekontext.",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "Ermitteln und standardisieren Sie US-Versandadressen mit Addresszen.",
"connectors.catalog.webex.description": "Sehen Sie Teams und Bereichsnachrichten ein; erstellen Sie Bereiche und senden Sie Nachrichten.",
"connectors.catalog.gdocs.description": "Lesen, erstellen und verwalten Sie Google Docs in Ihren Abläufen.",
- "connectors.catalog.aliexpress-seller.description": "Verwenden Sie Ihre eigene App, um Shop, Produkte, Bestellungen und SKU-Bestände zu lesen und Bestände mit Bestätigung zu aktualisieren. Für eigenständig tätige Verkäufer im Ausland mit Zugriff auf die Seller Solution API.",
+ "connectors.catalog.aliexpress-seller.description": "Verwalten Sie mit Ihrer Verkäufer-App Produkte, Preise, Bestände, Bestellungen, Logistik, Kundendienst und Marketing. API-Berechtigungen sind erforderlich; die Verbindung erfordert weiterhin Seller Solution.",
"connectors.catalog.figma.description": "Lesen Sie Designdateien, Komponenten und Stile; exportieren Sie Vorschauen und verwalten Sie Kommentare. Die Bearbeitung der Zeichenfläche ist nicht verfügbar.",
"connectors.catalog.crowdin.description": "Verwalten Sie Übersetzungsprojekte, Dateien, Zeichenfolgen und Aufgaben.",
"connectors.catalog.redcircle-api.description": "Verwalten Sie Aufgaben zur Erfassung von Einzelhandelsproduktdaten, die Ausrichtung nach Postleitzahl und Ergebnisexporte.",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "Sehen Sie Webflow-Websites, Seiten, CMS-Inhalte, SEO-Metadaten und Assets ein und aktualisieren Sie sie.",
"connectors.catalog.exist.description": "Sehen Sie persönliche Gewohnheiten, Trends und Korrelationen ein; erhöhen Sie erfasste Messwerte.",
"connectors.catalog.gumroad.description": "Prüfen Sie digitale Produkte, Verkäufe, Abonnements und den Lizenzstatus.",
- "connectors.catalog.lazada-seller.description": "Autorisieren Sie einen Lazada-Shop mit einer eigenen App des Händlers, um Produkte, Bestellungen und SKU-Bestände zu lesen und verkaufsfähige Bestände mit Bestätigung zu aktualisieren.",
+ "connectors.catalog.lazada-seller.description": "Verwalten Sie Lazada-Produkte, Preise, Bestände, Bestellungen, Versand, Kundendienst, Aktionen und Werbung mit Ihrer App und den nötigen Shoprechten.",
"connectors.catalog.cloudcart.description": "Verwalten Sie Onlineshop-Kataloge, Kunden, Warenkörbe, Bestellungen, Rabatte, Abonnenten und Shopinhalte.",
"connectors.catalog.pinterest-ads.description": "Sehen Sie die Anzeigenleistung ein und aktualisieren Sie Anzeigen, Anzeigengruppen und Kampagnen.",
"connectors.catalog.order-desk.description": "Verwalten Sie Bestellungen, Bestellpositionen, Sendungen und Bestände.",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "Suchen, lesen, organisieren und teilen Sie Dateien und laden Sie sie hoch.",
"connectors.catalog.gsheets.description": "Nutzen Sie Tabellen als Datenquelle – lesen und schreiben Sie Zellen und Formeln.",
"connectors.catalog.pinterest.description": "Verwalten Sie Pinterest-Pinnwände, Abschnitte und Pins und analysieren Sie Konten, Inhalte und Trends.",
- "connectors.catalog.shein-seller.description": "Verbinden Sie selbst betriebene/teilverwaltete SHEIN-Shops mit Ihrer eigenen App, um Produkte, Bestellungen, Lager und Bestände zu lesen und virtuelle Händlerbestände mit Bestätigung zu aktualisieren.",
+ "connectors.catalog.shein-seller.description": "Verwalten Sie mit Ihrer App SHEIN-Produkte, Preise, Bestände, Bestellungen, Versand und Retouren und lesen Sie Finanzdaten. Selbst-/teilverwaltete Shops; API-Rechte variieren.",
"connectors.catalog.baselinker.description": "Verwalten Sie Bestellungen über mehrere Kanäle, Bestände, Lager, Retouren, Versand und Rechnungen.",
"connectors.catalog.dropbox.description": "Suchen, lesen und organisieren Sie Dateien und laden Sie sie hoch; verwalten Sie Freigabelinks.",
"connectors.catalog.bluebarry.description": "Prüfen Sie Käuferidentitäten und Produktberatungsprofile.",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "Click the avatar on the left to change it",
"settings.video.provider_unavailable": "This video provider is not supported in this build. The saved key is retained and can be removed. Configure Orkas API to generate videos.",
"connectors.catalog.google-workspace.description": "Verbinden Sie Gmail, Calendar, Docs, Sheets und Tasks mit einer einzigen Zustimmung; die Dienste können auch einzeln verbunden werden.",
- "connectors.catalog.gtasks.description": "Integrieren Sie die Aufgabenverwaltung direkt in Ihre Abläufe."
+ "connectors.catalog.gtasks.description": "Integrieren Sie die Aufgabenverwaltung direkt in Ihre Abläufe.",
+ "chat.conv_out_project": "Aus Projekt entfernen",
+ "chat.conv_moved_out": "Aus dem Projekt verschoben.",
+ "chat.conv_filing_failed": "Das Projekt „{name}“ wurde erstellt, aber die Unterhaltung konnte nicht hinzugefügt werden. Wählen Sie im Unterhaltungsmenü „Zu Projekt hinzufügen“ und dieses Projekt, um es erneut zu versuchen.",
+ "chat.conv_filing_failed_with_todos": "Das Projekt „{name}“ und {count} Aufgaben wurden erstellt, aber die Unterhaltung konnte nicht hinzugefügt werden. Wählen Sie im Unterhaltungsmenü „Zu Projekt hinzufügen“ und dieses Projekt, um es erneut zu versuchen.",
+ "chat.conv_move_not_filed": "Diese Aufgabe gehört zu keinem Projekt."
}
diff --git a/src/renderer/locales/en.json b/src/renderer/locales/en.json
index 42e55581..b85a0aa2 100644
--- a/src/renderer/locales/en.json
+++ b/src/renderer/locales/en.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "Friend, what do you want to accomplish?",
"new_chat.subtitle": "Share your goal. Commander will break down the work, coordinate the right agents, and deliver the finished result.",
"chat.app_nav_open": "Open page: {name}",
- "chat.app_nav_create": "Create in {name}",
"chat.app_nav_add_custom": "Add MCP server",
"chat.app_nav_configure": "Configure in {name}",
"chat.app_nav_configure_target": "Configure {target}",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "Authorize the official WeCom CLI for messages, contacts, calendar, docs, sheets, mail, meetings, tasks, and drive.",
"connectors.catalog.xiaohongshu-seller.description": "Use platform-issued production Ark merchant or partner credentials through the production HTTPS Ark gateway for catalogs, product hierarchy, inventory, order export, fulfillment, and cancellation review. The legacy sandbox publishes only an HTTP endpoint, so credentials are never sent there and no sandbox option is exposed.",
"connectors.catalog.microsoft-teams.description": "Search team messages, send chats and replies, and view meeting resources, subject to organization permissions.",
- "connectors.catalog.temu-seller.description": "Use a merchant-owned app to read local/semi-managed shop products, orders and stock, and update ordinary self-managed stock with confirmation.",
+ "connectors.catalog.temu-seller.description": "Use a merchant-owned app to manage local/semi-managed products, prices, stock, orders, shipment, after-sales, promotions and ads. Permissions and APIs vary by region.",
"connectors.catalog.outlook.description": "Read Outlook profile, contacts, mailbox settings, and tasks.",
"connectors.catalog.onedrive.description": "Search, read, upload, and update OneDrive files.",
"connectors.catalog.memberstack.description": "Manage website members, profiles, plans, and free-plan assignments, and review data tables.",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "Authorize your store to manage WooCommerce products, inventory, orders, customers, coupons, refunds, and reports.",
"connectors.catalog.dingtalk.description": "Authorize the official DingTalk DWS CLI for messages, contacts, calendar, docs, sheets, tasks, approvals, attendance, mail, and wiki.",
"connectors.catalog.etsy-seller.description": "Use the seller's own Etsy Seller API Access app and official OAuth to manage the shop, listings, inventory, order fulfillment, shipping profiles, and shop sections.",
- "connectors.catalog.amazon-seller-central.description": "Use the seller's own private Amazon SP-API app for catalog, listings, non-PII order status, FBA inventory, and financial data. Buyer PII and RDT operations are not requested or exposed.",
+ "connectors.catalog.amazon-seller-central.description": "Use the merchant’s own Amazon SP-API app for products, orders, shipping, inbound fulfillment, after-sales and finance, with the required business roles.",
"connectors.catalog.active-campaign.description": "Manage contacts, automations, campaigns, segments, CRM sales workflows, and commerce customer, order, and product sync.",
"connectors.catalog.btcpay-server.description": "Create and review BTCPay payment requests, inspect server and store details, and cancel payouts.",
"connectors.catalog.gitlab.description": "Connect GitLab.com projects, issues, merge requests, pipelines, and code context.",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "Resolve and standardize US shipping addresses with Addresszen.",
"connectors.catalog.webex.description": "View teams and space messages; create spaces and send messages.",
"connectors.catalog.gdocs.description": "Read, create, and manage Google Docs from your workflows.",
- "connectors.catalog.aliexpress-seller.description": "Use your own app to read shop, products, orders and SKU stock, and update stock with confirmation. For overseas self-operated sellers with Seller Solution API access.",
+ "connectors.catalog.aliexpress-seller.description": "Use your seller app to manage products, prices, stock, orders, logistics, after-sales and marketing. API permissions are required; connection still requires Seller Solution access.",
"connectors.catalog.figma.description": "Read design files, components, and styles; export previews and manage comments. Canvas editing is unavailable.",
"connectors.catalog.crowdin.description": "Manage translation projects, files, strings, and tasks.",
"connectors.catalog.redcircle-api.description": "Manage retail product-data collection jobs, zipcode targeting, and result exports.",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "View and update Webflow sites, pages, CMS content, SEO metadata, and assets.",
"connectors.catalog.exist.description": "View personal habits, trends, and correlations; increment tracked metrics.",
"connectors.catalog.gumroad.description": "Review digital products, sales, subscriptions, and license status.",
- "connectors.catalog.lazada-seller.description": "Authorize a Lazada shop with a merchant-owned app to read products, orders and SKU stock, and update sellable stock with confirmation.",
+ "connectors.catalog.lazada-seller.description": "Use a merchant-owned app to manage Lazada products, prices, stock, orders, shipment, after-sales, promotions and ads with the required shop permissions.",
"connectors.catalog.cloudcart.description": "Manage online-store catalogs, customers, carts, orders, discounts, subscribers, and storefront content.",
"connectors.catalog.pinterest-ads.description": "View ad performance and update ads, ad groups, and campaigns.",
"connectors.catalog.order-desk.description": "Manage orders, order items, shipments, and inventory.",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "Search, read, upload, organize, and share files.",
"connectors.catalog.gsheets.description": "Use spreadsheets as a data source — read and write cells and formulas.",
"connectors.catalog.pinterest.description": "Manage Pinterest boards, sections, and Pins, and analyze accounts, content, and trends.",
- "connectors.catalog.shein-seller.description": "Connect self-operated/semi-managed SHEIN shops with your own app to read products, orders, warehouses and stock, and update merchant virtual stock with confirmation.",
+ "connectors.catalog.shein-seller.description": "Use your own app to manage SHEIN products, prices, stock, orders, shipping and returns, and read finance. Self-operated/semi-managed shops; required API grants vary.",
"connectors.catalog.baselinker.description": "Manage multi-channel orders, inventory, warehouses, returns, shipping, and invoices.",
"connectors.catalog.dropbox.description": "Search, read, upload, and organize files; manage shared links.",
"connectors.catalog.bluebarry.description": "Inspect shopper identities and product-advice profiles.",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "Click the avatar on the left to change it",
"settings.video.provider_unavailable": "This video provider is not supported in this build. The saved key is retained and can be removed. Configure Orkas API to generate videos.",
"connectors.catalog.google-workspace.description": "Connect Gmail, Calendar, Docs, Sheets, and Tasks in one consent; individual services can also be connected separately.",
- "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows."
+ "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows.",
+ "chat.conv_out_project": "Remove from project",
+ "chat.conv_moved_out": "Moved out of the project.",
+ "chat.conv_filing_failed": "Project “{name}” was created, but the conversation could not be added. Use “Add to project” in its menu and select this project to try again.",
+ "chat.conv_filing_failed_with_todos": "Project “{name}” and {count} to-dos were created, but the conversation could not be added. Use “Add to project” in its menu and select this project to try again.",
+ "chat.conv_move_not_filed": "This task is not in a project."
}
diff --git a/src/renderer/locales/es-419.json b/src/renderer/locales/es-419.json
index 482187d4..bdde3cd6 100644
--- a/src/renderer/locales/es-419.json
+++ b/src/renderer/locales/es-419.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "¿Qué quieres lograr?",
"new_chat.subtitle": "Comparte tu objetivo. Commander dividirá el trabajo, coordinará a los agentes adecuados y entregará el resultado final.",
"chat.app_nav_open": "Abrir página: {name}",
- "chat.app_nav_create": "Crear en {name}",
"chat.app_nav_add_custom": "Agregar servidor MCP",
"chat.app_nav_configure": "Configurar en {name}",
"chat.app_nav_configure_target": "Configurar {target}",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "Autoriza la herramienta oficial WeCom CLI para mensajes, contactos, calendario, documentos, hojas de cálculo, correo, reuniones, tareas y almacenamiento de archivos.",
"connectors.catalog.xiaohongshu-seller.description": "Usa las credenciales de producción de comerciante o socio de Ark emitidas por la plataforma a través de la pasarela HTTPS de producción de Ark para los catálogos, la jerarquía de productos, el inventario, la exportación de pedidos, la gestión de envíos y la revisión de cancelaciones. El entorno de pruebas heredado solo publica un punto de conexión HTTP, por lo que nunca se envían credenciales allí ni se ofrece una opción de entorno de pruebas.",
"connectors.catalog.microsoft-teams.description": "Busca mensajes del equipo, envía mensajes de chat y respuestas y consulta recursos de reuniones, sujeto a los permisos de la organización.",
- "connectors.catalog.temu-seller.description": "Usa una aplicación del propio comerciante para leer productos, pedidos y existencias de tiendas locales o de gestión parcial, y actualizar las existencias ordinarias de gestión propia con confirmación.",
+ "connectors.catalog.temu-seller.description": "Usa una app propia para administrar productos, precios, inventario, pedidos, envíos, posventa, promociones y anuncios de tiendas locales o de gestión parcial. Los permisos y las API varían por región.",
"connectors.catalog.outlook.description": "Consulta el perfil, los contactos, la configuración del buzón y las tareas de Outlook.",
"connectors.catalog.onedrive.description": "Busca, lee, carga y actualiza archivos de OneDrive.",
"connectors.catalog.memberstack.description": "Administra miembros del sitio web, perfiles, planes y asignaciones de planes gratuitos, y consulta tablas de datos.",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "Autoriza tu tienda para administrar productos, inventario, pedidos, clientes, cupones, reembolsos e reportes de WooCommerce.",
"connectors.catalog.dingtalk.description": "Autoriza la herramienta oficial DingTalk DWS CLI para mensajes, contactos, calendario, documentos, hojas de cálculo, tareas, aprobaciones, asistencia, correo y wiki.",
"connectors.catalog.etsy-seller.description": "Usa la aplicación de Etsy Seller API Access del propio vendedor y OAuth oficial para administrar la tienda, los anuncios, el inventario, la preparación y entrega de pedidos, los perfiles de envío y las secciones de la tienda.",
- "connectors.catalog.amazon-seller-central.description": "Usa la aplicación privada de Amazon SP-API del propio vendedor para el catálogo, los anuncios, los estados de pedidos sin información de identificación personal (PII), el inventario FBA y los datos financieros. No se solicitan ni se exponen datos PII de compradores ni operaciones RDT.",
+ "connectors.catalog.amazon-seller-central.description": "Usa tu aplicación Amazon SP-API para productos, pedidos, envíos, logística de entrada, posventa y finanzas, con los roles comerciales necesarios.",
"connectors.catalog.active-campaign.description": "Administra contactos, automatizaciones, campañas, segmentos, flujos de ventas del CRM y la sincronización de clientes, pedidos y productos de comercio.",
"connectors.catalog.btcpay-server.description": "Crea y consulta solicitudes de pago de BTCPay, inspecciona los detalles del servidor y de la tienda, y cancela desembolsos.",
"connectors.catalog.gitlab.description": "Conecta proyectos, incidencias, solicitudes de fusión, canalizaciones y contexto de código de GitLab.com.",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "Resuelve y estandariza direcciones de envío de Estados Unidos con Addresszen.",
"connectors.catalog.webex.description": "Consulta equipos y mensajes de espacios; crea espacios y envía mensajes.",
"connectors.catalog.gdocs.description": "Busca, lee, crea y actualiza documentos de Google Docs.",
- "connectors.catalog.aliexpress-seller.description": "Usa tu propia aplicación para leer datos de la tienda, productos, pedidos y existencias por SKU, y actualizar existencias con confirmación. Para vendedores del extranjero de operación propia con acceso a Seller Solution API.",
+ "connectors.catalog.aliexpress-seller.description": "Usa tu app de vendedor para gestionar productos, precios, existencias, pedidos, logística, posventa y marketing. Requiere permisos de las API; la conexión sigue necesitando acceso a Seller Solution.",
"connectors.catalog.figma.description": "Lee archivos de diseño, componentes y estilos; exporta vistas previas y administra comentarios. La edición del lienzo no está disponible.",
"connectors.catalog.crowdin.description": "Administra proyectos de traducción, archivos, cadenas de texto y tareas.",
"connectors.catalog.redcircle-api.description": "Administra trabajos de recopilación de datos de productos minoristas, segmentación por código postal y exportaciones de resultados.",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "Consulta y actualiza sitios, páginas, contenido del CMS, metadatos SEO y recursos de Webflow.",
"connectors.catalog.exist.description": "Consulta hábitos personales, tendencias y correlaciones; incrementa las métricas de seguimiento.",
"connectors.catalog.gumroad.description": "Consulta productos digitales, ventas, suscripciones y estados de licencias.",
- "connectors.catalog.lazada-seller.description": "Autoriza una tienda de Lazada con una aplicación del propio comerciante para leer productos, pedidos y existencias por SKU, y actualizar las existencias disponibles para la venta con confirmación.",
+ "connectors.catalog.lazada-seller.description": "Usa tu app para gestionar productos, precios, existencias, pedidos, envíos, posventa, promociones y anuncios Lazada con los permisos de la tienda.",
"connectors.catalog.cloudcart.description": "Administra catálogos de tiendas en línea, clientes, carritos, pedidos, descuentos, suscriptores y contenido de la tienda.",
"connectors.catalog.pinterest-ads.description": "Consulta el rendimiento de los anuncios y actualiza anuncios, grupos de anuncios y campañas.",
"connectors.catalog.order-desk.description": "Administra pedidos, artículos de pedidos, envíos e inventario.",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "Busca, lee, sube, organiza y comparte archivos.",
"connectors.catalog.gsheets.description": "Busca hojas de cálculo, lee y escribe celdas, y agrega y organiza datos.",
"connectors.catalog.pinterest.description": "Administra tableros, secciones y Pins de Pinterest, y analiza cuentas, contenido y tendencias.",
- "connectors.catalog.shein-seller.description": "Conecta tiendas de SHEIN de operación propia o de gestión parcial con tu propia aplicación para leer productos, pedidos, almacenes y existencias, y actualizar las existencias virtuales del comerciante con confirmación.",
+ "connectors.catalog.shein-seller.description": "Usa tu app para gestionar productos, precios, stock, pedidos, envíos y devoluciones SHEIN y consultar finanzas. Tiendas propias o semigestionadas; los permisos de API varían.",
"connectors.catalog.baselinker.description": "Administra pedidos multicanal, inventario, almacenes, devoluciones, envíos y facturas.",
"connectors.catalog.dropbox.description": "Busca, lee, sube y organiza archivos; administra vínculos compartidos.",
"connectors.catalog.bluebarry.description": "Inspecciona identidades de compradores y perfiles de asesoramiento sobre productos.",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "Click the avatar on the left to change it",
"settings.video.provider_unavailable": "This video provider is not supported in this build. The saved key is retained and can be removed. Configure Orkas API to generate videos.",
"connectors.catalog.google-workspace.description": "Conecta Gmail, Calendar, Docs, Sheets y Tasks con un solo consentimiento, o conecta cada servicio por separado.",
- "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows."
+ "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows.",
+ "chat.conv_out_project": "Quitar del proyecto",
+ "chat.conv_moved_out": "Movida fuera del proyecto.",
+ "chat.conv_filing_failed": "Se creó el proyecto «{name}», pero no se pudo agregar la conversación. En su menú, elige «Agregar a un proyecto» y selecciona este proyecto para volver a intentarlo.",
+ "chat.conv_filing_failed_with_todos": "Se crearon el proyecto «{name}» y {count} tareas, pero no se pudo agregar la conversación. En su menú, elige «Agregar a un proyecto» y selecciona este proyecto para volver a intentarlo.",
+ "chat.conv_move_not_filed": "Esta tarea no pertenece a ningún proyecto."
}
diff --git a/src/renderer/locales/es.json b/src/renderer/locales/es.json
index 1048bb3b..6b435f5f 100644
--- a/src/renderer/locales/es.json
+++ b/src/renderer/locales/es.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "¿Qué quieres lograr?",
"new_chat.subtitle": "Comparte tu objetivo. Commander dividirá el trabajo, coordinará a los agentes adecuados y entregará el resultado final.",
"chat.app_nav_open": "Abrir página: {name}",
- "chat.app_nav_create": "Crear en {name}",
"chat.app_nav_add_custom": "Añadir servidor MCP",
"chat.app_nav_configure": "Configurar en {name}",
"chat.app_nav_configure_target": "Configurar {target}",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "Autoriza la CLI oficial de WeCom para mensajes, contactos, calendario, documentos, hojas de cálculo, correo, reuniones, tareas y almacenamiento de archivos.",
"connectors.catalog.xiaohongshu-seller.description": "Usa las credenciales de producción de comerciante o socio de Ark emitidas por la plataforma a través de la pasarela HTTPS de producción de Ark para los catálogos, la jerarquía de productos, el inventario, la exportación de pedidos, la gestión de envíos y la revisión de cancelaciones. El entorno de pruebas heredado solo publica un punto de conexión HTTP, por lo que nunca se envían credenciales allí ni se ofrece una opción de entorno de pruebas.",
"connectors.catalog.microsoft-teams.description": "Busca mensajes del equipo, envía mensajes de chat y respuestas y consulta recursos de reuniones, sujeto a los permisos de la organización.",
- "connectors.catalog.temu-seller.description": "Usa una aplicación del propio comerciante para leer productos, pedidos y existencias de tiendas locales o de gestión parcial, y actualizar las existencias ordinarias de gestión propia con confirmación.",
+ "connectors.catalog.temu-seller.description": "Usa una aplicación propia para gestionar productos, precios, existencias, pedidos, envíos, posventa, promociones y anuncios de tiendas locales o de gestión parcial. Los permisos y las API varían por región.",
"connectors.catalog.outlook.description": "Consulta el perfil, los contactos, la configuración del buzón y las tareas de Outlook.",
"connectors.catalog.onedrive.description": "Busca, lee, carga y actualiza archivos de OneDrive.",
"connectors.catalog.memberstack.description": "Gestiona miembros del sitio web, perfiles, planes y asignaciones de planes gratuitos, y consulta tablas de datos.",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "Autoriza tu tienda para gestionar productos, inventario, pedidos, clientes, cupones, reembolsos e informes de WooCommerce.",
"connectors.catalog.dingtalk.description": "Autoriza la CLI oficial de DingTalk DWS para mensajes, contactos, calendario, documentos, hojas de cálculo, tareas, aprobaciones, asistencia, correo y wiki.",
"connectors.catalog.etsy-seller.description": "Usa la aplicación de Etsy Seller API Access del propio vendedor y OAuth oficial para gestionar la tienda, los anuncios, el inventario, la preparación y entrega de pedidos, los perfiles de envío y las secciones de la tienda.",
- "connectors.catalog.amazon-seller-central.description": "Usa la aplicación privada de Amazon SP-API del propio vendedor para el catálogo, los anuncios, los estados de pedidos sin información de identificación personal (PII), el inventario FBA y los datos financieros. No se solicitan ni se exponen datos PII de compradores ni operaciones RDT.",
+ "connectors.catalog.amazon-seller-central.description": "Usa tu aplicación Amazon SP-API para productos, pedidos, envíos, logística de entrada, posventa y finanzas, con los roles comerciales necesarios.",
"connectors.catalog.active-campaign.description": "Gestiona contactos, automatizaciones, campañas, segmentos, flujos de ventas del CRM y la sincronización de clientes, pedidos y productos de comercio.",
"connectors.catalog.btcpay-server.description": "Crea y consulta solicitudes de pago de BTCPay, inspecciona los detalles del servidor y de la tienda, y cancela desembolsos.",
"connectors.catalog.gitlab.description": "Conecta proyectos, incidencias, solicitudes de fusión, canalizaciones y contexto de código de GitLab.com.",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "Resuelve y estandariza direcciones de envío de Estados Unidos con Addresszen.",
"connectors.catalog.webex.description": "Consulta equipos y mensajes de espacios; crea espacios y envía mensajes.",
"connectors.catalog.gdocs.description": "Lee, crea y gestiona documentos de Google Docs desde tus flujos de trabajo.",
- "connectors.catalog.aliexpress-seller.description": "Usa tu propia aplicación para leer datos de la tienda, productos, pedidos y existencias por SKU, y actualizar existencias con confirmación. Para vendedores del extranjero de operación propia con acceso a Seller Solution API.",
+ "connectors.catalog.aliexpress-seller.description": "Usa tu app de vendedor para gestionar productos, precios, existencias, pedidos, logística, posventa y marketing. Requiere permisos de las API; la conexión sigue necesitando acceso a Seller Solution.",
"connectors.catalog.figma.description": "Lee archivos de diseño, componentes y estilos; exporta vistas previas y gestiona comentarios. La edición del lienzo no está disponible.",
"connectors.catalog.crowdin.description": "Gestiona proyectos de traducción, archivos, cadenas de texto y tareas.",
"connectors.catalog.redcircle-api.description": "Gestiona trabajos de recopilación de datos de productos minoristas, segmentación por código postal y exportaciones de resultados.",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "Consulta y actualiza sitios, páginas, contenido del CMS, metadatos SEO y recursos de Webflow.",
"connectors.catalog.exist.description": "Consulta hábitos personales, tendencias y correlaciones; incrementa las métricas de seguimiento.",
"connectors.catalog.gumroad.description": "Consulta productos digitales, ventas, suscripciones y estados de licencias.",
- "connectors.catalog.lazada-seller.description": "Autoriza una tienda de Lazada con una aplicación del propio comerciante para leer productos, pedidos y existencias por SKU, y actualizar las existencias disponibles para la venta con confirmación.",
+ "connectors.catalog.lazada-seller.description": "Usa tu app para gestionar productos, precios, existencias, pedidos, envíos, posventa, promociones y anuncios Lazada con los permisos de la tienda.",
"connectors.catalog.cloudcart.description": "Gestiona catálogos de tiendas en línea, clientes, carritos, pedidos, descuentos, suscriptores y contenido de la tienda.",
"connectors.catalog.pinterest-ads.description": "Consulta el rendimiento de los anuncios y actualiza anuncios, grupos de anuncios y campañas.",
"connectors.catalog.order-desk.description": "Gestiona pedidos, artículos de pedidos, envíos e inventario.",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "Busca, lee, sube, organiza y comparte archivos.",
"connectors.catalog.gsheets.description": "Usa hojas de cálculo como fuente de datos: lee y escribe celdas y fórmulas.",
"connectors.catalog.pinterest.description": "Gestiona tableros, secciones y pines de Pinterest, y analiza cuentas, contenido y tendencias.",
- "connectors.catalog.shein-seller.description": "Conecta tiendas de SHEIN de operación propia o de gestión parcial con tu propia aplicación para leer productos, pedidos, almacenes y existencias, y actualizar las existencias virtuales del comerciante con confirmación.",
+ "connectors.catalog.shein-seller.description": "Usa tu app para gestionar productos, precios, stock, pedidos, envíos y devoluciones SHEIN y consultar finanzas. Tiendas propias o semigestionadas; los permisos de API varían.",
"connectors.catalog.baselinker.description": "Gestiona pedidos multicanal, inventario, almacenes, devoluciones, envíos y facturas.",
"connectors.catalog.dropbox.description": "Busca, lee, sube y organiza archivos; gestiona enlaces compartidos.",
"connectors.catalog.bluebarry.description": "Inspecciona identidades de compradores y perfiles de asesoramiento sobre productos.",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "Click the avatar on the left to change it",
"settings.video.provider_unavailable": "This video provider is not supported in this build. The saved key is retained and can be removed. Configure Orkas API to generate videos.",
"connectors.catalog.google-workspace.description": "Conecta Gmail, Calendar, Docs, Sheets y Tasks con un solo consentimiento; los servicios también se pueden conectar por separado.",
- "connectors.catalog.gtasks.description": "Integra la gestión de tareas directamente en tus flujos de trabajo."
+ "connectors.catalog.gtasks.description": "Integra la gestión de tareas directamente en tus flujos de trabajo.",
+ "chat.conv_out_project": "Quitar del proyecto",
+ "chat.conv_moved_out": "Movida fuera del proyecto.",
+ "chat.conv_filing_failed": "Se creó el proyecto «{name}», pero no se pudo añadir la conversación. En su menú, elige «Añadir a un proyecto» y selecciona este proyecto para reintentar.",
+ "chat.conv_filing_failed_with_todos": "Se crearon el proyecto «{name}» y {count} tareas, pero no se pudo añadir la conversación. En su menú, elige «Añadir a un proyecto» y selecciona este proyecto para reintentar.",
+ "chat.conv_move_not_filed": "Esta tarea no pertenece a ningún proyecto."
}
diff --git a/src/renderer/locales/fr.json b/src/renderer/locales/fr.json
index 9eb4d1bf..5c3f21b3 100644
--- a/src/renderer/locales/fr.json
+++ b/src/renderer/locales/fr.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "Bonjour, que souhaitez-vous accomplir ?",
"new_chat.subtitle": "Présentez votre objectif. Commander répartira le travail, coordonnera les Agents adaptés et vous livrera le résultat final.",
"chat.app_nav_open": "Ouvrir la page : {name}",
- "chat.app_nav_create": "Créer dans {name}",
"chat.app_nav_add_custom": "Ajouter un serveur MCP",
"chat.app_nav_configure": "Configurer dans {name}",
"chat.app_nav_configure_target": "Configurer {target}",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "Autorisez la CLI officielle WeCom pour les messages, les contacts, le calendrier, les documents, les feuilles de calcul, les e-mails, les réunions, les tâches et le stockage de fichiers.",
"connectors.catalog.xiaohongshu-seller.description": "Utilisez les identifiants Ark de production, marchand ou partenaire, émis par la plateforme via la passerelle HTTPS Ark de production pour les catalogues, la hiérarchie des produits, les stocks, l’exportation des commandes, leur exécution et l’examen des annulations. L’ancien bac à sable ne publie qu’un point de terminaison HTTP : les identifiants n’y sont donc jamais envoyés et aucune option de bac à sable n’est proposée.",
"connectors.catalog.microsoft-teams.description": "Recherchez des messages d’équipe, envoyez des messages et des réponses, et consultez les ressources de réunion, sous réserve des autorisations de l’organisation.",
- "connectors.catalog.temu-seller.description": "Utilisez une application appartenant au marchand pour consulter les produits, les commandes et les stocks d’une boutique locale ou partiellement gérée, et mettre à jour les stocks ordinaires gérés par le marchand avec confirmation.",
+ "connectors.catalog.temu-seller.description": "Utilisez votre application pour gérer produits, prix, stocks, commandes, expéditions, après-vente, promotions et publicités des boutiques locales ou partiellement gérées. Les autorisations et API varient selon la région.",
"connectors.catalog.outlook.description": "Consultez le profil Outlook, les contacts, les paramètres de la boîte aux lettres et les tâches.",
"connectors.catalog.onedrive.description": "Recherchez, consultez, importez et mettez à jour des fichiers OneDrive.",
"connectors.catalog.memberstack.description": "Gérez les membres du site, les profils, les formules et les attributions de formules gratuites, et consultez les tables de données.",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "Autorisez votre boutique pour gérer les produits, stocks, commandes, clients, coupons, remboursements et rapports WooCommerce.",
"connectors.catalog.dingtalk.description": "Autorisez la CLI officielle DingTalk DWS pour les messages, les contacts, le calendrier, les documents, les feuilles de calcul, les tâches, les approbations, la présence, les e-mails et le wiki.",
"connectors.catalog.etsy-seller.description": "Utilisez l’application Etsy Seller API Access du vendeur et l’OAuth officiel pour gérer la boutique, les annonces, les stocks, l’exécution des commandes, les profils d’expédition et les sections de la boutique.",
- "connectors.catalog.amazon-seller-central.description": "Utilisez l’application privée Amazon SP-API du vendeur pour le catalogue, les annonces, le statut des commandes sans données personnelles (PII), les stocks FBA et les données financières. Les données personnelles des acheteurs (PII) et les opérations RDT ne sont ni demandées ni exposées.",
+ "connectors.catalog.amazon-seller-central.description": "Utilisez votre application Amazon SP-API pour les produits, commandes, expéditions, réception logistique, après-vente et finances, avec les rôles requis.",
"connectors.catalog.active-campaign.description": "Gérez les contacts, les automatisations, les campagnes, les segments, les processus de vente CRM et la synchronisation des clients, commandes et produits du commerce.",
"connectors.catalog.btcpay-server.description": "Créez et consultez les demandes de paiement BTCPay, examinez les détails du serveur et de la boutique, et annulez des versements.",
"connectors.catalog.gitlab.description": "Connectez les projets, les tickets, les demandes de fusion, les pipelines et le contexte de code GitLab.com.",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "Identifiez et normalisez les adresses de livraison américaines avec Addresszen.",
"connectors.catalog.webex.description": "Consultez les équipes et les messages des espaces ; créez des espaces et envoyez des messages.",
"connectors.catalog.gdocs.description": "Consultez, créez et gérez des documents Google Docs depuis vos processus.",
- "connectors.catalog.aliexpress-seller.description": "Utilisez votre propre application pour consulter la boutique, les produits, les commandes et les stocks par SKU, et mettre à jour les stocks avec confirmation. Pour les vendeurs autogérés à l’étranger disposant d’un accès à Seller Solution API.",
+ "connectors.catalog.aliexpress-seller.description": "Utilisez votre app vendeur pour gérer produits, prix, stocks, commandes, logistique, après-vente et marketing. Les permissions API sont requises ; la connexion nécessite toujours un accès Seller Solution.",
"connectors.catalog.figma.description": "Consultez les fichiers de design, les composants et les styles ; exportez des aperçus et gérez les commentaires. La modification du canevas n’est pas disponible.",
"connectors.catalog.crowdin.description": "Gérez les projets de traduction, les fichiers, les chaînes de texte et les tâches.",
"connectors.catalog.redcircle-api.description": "Gérez les tâches de collecte de données produits du commerce de détail, le ciblage par code postal et les exportations de résultats.",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "Consultez et mettez à jour les sites, les pages, le contenu CMS, les métadonnées SEO et les ressources Webflow.",
"connectors.catalog.exist.description": "Consultez les habitudes personnelles, les tendances et les corrélations ; incrémentez les indicateurs suivis.",
"connectors.catalog.gumroad.description": "Consultez les produits numériques, les ventes, les abonnements et le statut des licences.",
- "connectors.catalog.lazada-seller.description": "Autorisez une boutique Lazada avec une application appartenant au marchand pour consulter les produits, les commandes et les stocks par SKU, et mettre à jour les stocks vendables avec confirmation.",
+ "connectors.catalog.lazada-seller.description": "Gérez produits, prix, stocks, commandes, expéditions, après-vente, promotions et publicités Lazada avec votre app et les autorisations de la boutique.",
"connectors.catalog.cloudcart.description": "Gérez les catalogues de boutiques en ligne, les clients, les paniers, les commandes, les remises, les abonnés et le contenu des vitrines.",
"connectors.catalog.pinterest-ads.description": "Consultez les performances publicitaires et mettez à jour les annonces, les groupes d’annonces et les campagnes.",
"connectors.catalog.order-desk.description": "Gérez les commandes, les articles commandés, les expéditions et les stocks.",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "Recherchez, consultez, importez, organisez et partagez des fichiers.",
"connectors.catalog.gsheets.description": "Utilisez des feuilles de calcul comme source de données : lisez et modifiez les cellules et les formules.",
"connectors.catalog.pinterest.description": "Gérez les tableaux, les sections et les Pins Pinterest, et analysez les comptes, le contenu et les tendances.",
- "connectors.catalog.shein-seller.description": "Connectez des boutiques SHEIN autogérées ou partiellement gérées avec votre propre application pour consulter les produits, les commandes, les entrepôts et les stocks, et mettre à jour les stocks virtuels du marchand avec confirmation.",
+ "connectors.catalog.shein-seller.description": "Utilisez votre app pour gérer produits, prix, stocks, commandes, livraisons et retours SHEIN et consulter les finances. Boutiques autogérées/partiellement gérées ; droits API variables.",
"connectors.catalog.baselinker.description": "Gérez les commandes multicanales, les stocks, les entrepôts, les retours, les expéditions et les factures.",
"connectors.catalog.dropbox.description": "Recherchez, consultez, importez et organisez des fichiers ; gérez les liens de partage.",
"connectors.catalog.bluebarry.description": "Consultez les identités des acheteurs et les profils de conseil produit.",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "Click the avatar on the left to change it",
"settings.video.provider_unavailable": "This video provider is not supported in this build. The saved key is retained and can be removed. Configure Orkas API to generate videos.",
"connectors.catalog.google-workspace.description": "Connectez Gmail, Calendar, Docs, Sheets et Tasks avec un seul consentement ; chaque service peut aussi être connecté séparément.",
- "connectors.catalog.gtasks.description": "Intégrez la gestion des tâches directement à vos processus."
+ "connectors.catalog.gtasks.description": "Intégrez la gestion des tâches directement à vos processus.",
+ "chat.conv_out_project": "Retirer du projet",
+ "chat.conv_moved_out": "Déplacée hors du projet.",
+ "chat.conv_filing_failed": "Le projet « {name} » a été créé, mais la conversation n’a pas pu y être ajoutée. Dans son menu, choisissez « Ajouter à un projet », puis ce projet pour réessayer.",
+ "chat.conv_filing_failed_with_todos": "Le projet « {name} » et {count} tâches ont été créés, mais la conversation n’a pas pu y être ajoutée. Dans son menu, choisissez « Ajouter à un projet », puis ce projet pour réessayer.",
+ "chat.conv_move_not_filed": "Cette tâche n’appartient à aucun projet."
}
diff --git a/src/renderer/locales/hi.json b/src/renderer/locales/hi.json
index f78ee103..4685316a 100644
--- a/src/renderer/locales/hi.json
+++ b/src/renderer/locales/hi.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "दोस्त, आप क्या करना चाहते हैं?",
"new_chat.subtitle": "अपना लक्ष्य बताएँ। Commander काम को चरणों में बाँटेगा, सही एजेंटों का समन्वय करेगा और पूरा परिणाम देगा।",
"chat.app_nav_open": "पृष्ठ खोलें: {name}",
- "chat.app_nav_create": "{name} में बनाएँ",
"chat.app_nav_add_custom": "MCP सर्वर जोड़ें",
"chat.app_nav_configure": "{name} में कॉन्फ़िगर करें",
"chat.app_nav_configure_target": "{target} कॉन्फ़िगर करें",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "संदेश, संपर्क, कैलेंडर, दस्तावेज़, शीट, ईमेल, मीटिंग, कार्य और ड्राइव के लिए आधिकारिक WeCom CLI को अधिकृत करें।",
"connectors.catalog.xiaohongshu-seller.description": "कैटलॉग, उत्पाद पदानुक्रम, इन्वेंट्री, ऑर्डर निर्यात, ऑर्डर पूर्ति और रद्द करने की समीक्षा के लिए प्रोडक्शन HTTPS Ark गेटवे के ज़रिए प्लेटफ़ॉर्म द्वारा जारी प्रोडक्शन Ark व्यापारी या भागीदार क्रेडेंशियल इस्तेमाल करें। पुराना सैंडबॉक्स केवल HTTP एंडपॉइंट प्रकाशित करता है, इसलिए वहाँ कभी क्रेडेंशियल नहीं भेजे जाते और कोई सैंडबॉक्स विकल्प नहीं दिया जाता।",
"connectors.catalog.microsoft-teams.description": "संगठन की अनुमतियों के अधीन टीम संदेश खोजें, चैट संदेश और जवाब भेजें, और मीटिंग संसाधन देखें।",
- "connectors.catalog.temu-seller.description": "स्थानीय/अर्ध-प्रबंधित दुकानों के उत्पाद, ऑर्डर और स्टॉक पढ़ने तथा पुष्टि के बाद सामान्य स्व-प्रबंधित स्टॉक अपडेट करने के लिए व्यापारी के स्वामित्व वाला ऐप इस्तेमाल करें।",
+ "connectors.catalog.temu-seller.description": "विक्रेता के अपने ऐप से स्थानीय या आंशिक रूप से प्रबंधित स्टोर के उत्पाद, कीमतें, स्टॉक, ऑर्डर, शिपमेंट, बिक्री के बाद की सेवा, प्रचार और विज्ञापन प्रबंधित करें। अनुमतियाँ और API क्षेत्र के अनुसार बदलते हैं।",
"connectors.catalog.outlook.description": "Outlook प्रोफ़ाइल, संपर्क, मेलबॉक्स सेटिंग और कार्य पढ़ें।",
"connectors.catalog.onedrive.description": "OneDrive फ़ाइलें खोजें, पढ़ें, अपलोड करें और अपडेट करें।",
"connectors.catalog.memberstack.description": "वेबसाइट सदस्य, प्रोफ़ाइल, प्लान और मुफ़्त प्लान का आवंटन प्रबंधित करें, और डेटा टेबल देखें।",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "WooCommerce उत्पाद, इन्वेंट्री, ऑर्डर, ग्राहक, कूपन, रिफ़ंड और रिपोर्ट प्रबंधित करने के लिए अपने स्टोर को अधिकृत करें।",
"connectors.catalog.dingtalk.description": "संदेश, संपर्क, कैलेंडर, दस्तावेज़, शीट, कार्य, स्वीकृतियाँ, उपस्थिति, ईमेल और विकी के लिए आधिकारिक DingTalk DWS CLI को अधिकृत करें।",
"connectors.catalog.etsy-seller.description": "दुकान, लिस्टिंग, इन्वेंट्री, ऑर्डर पूर्ति, शिपिंग प्रोफ़ाइल और दुकान सेक्शन प्रबंधित करने के लिए विक्रेता का अपना Etsy Seller API Access ऐप और आधिकारिक OAuth इस्तेमाल करें।",
- "connectors.catalog.amazon-seller-central.description": "कैटलॉग, लिस्टिंग, PII रहित ऑर्डर स्थिति, FBA इन्वेंट्री और वित्तीय डेटा के लिए विक्रेता का अपना निजी Amazon SP-API ऐप इस्तेमाल करें। खरीदार की PII और RDT कार्रवाइयाँ न तो माँगी जाती हैं, न उपलब्ध कराई जाती हैं।",
+ "connectors.catalog.amazon-seller-central.description": "अपने Amazon SP-API ऐप से उत्पाद, ऑर्डर, शिपिंग, गोदाम में माल की प्राप्ति, बिक्री के बाद की सेवाएँ और वित्त प्रबंधित करें। संबंधित व्यावसायिक भूमिकाएँ आवश्यक हैं।",
"connectors.catalog.active-campaign.description": "संपर्क, ऑटोमेशन, अभियान, सेगमेंट, CRM बिक्री वर्कफ़्लो और वाणिज्य ग्राहकों, ऑर्डर व उत्पादों का सिंक प्रबंधित करें।",
"connectors.catalog.btcpay-server.description": "BTCPay भुगतान अनुरोध बनाएँ और देखें, सर्वर व स्टोर के विवरण जाँचें और धन वितरण रद्द करें।",
"connectors.catalog.gitlab.description": "GitLab.com प्रोजेक्ट, समस्याएँ, मर्ज अनुरोध, पाइपलाइन और कोड संदर्भ कनेक्ट करें।",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "Addresszen से अमेरिका के शिपिंग पते पहचानें और मानकीकृत करें।",
"connectors.catalog.webex.description": "टीम और स्पेस के संदेश देखें; स्पेस बनाएँ और संदेश भेजें।",
"connectors.catalog.gdocs.description": "Google Docs दस्तावेज़ ढूँढें, पढ़ें, बनाएँ और अपडेट करें।",
- "connectors.catalog.aliexpress-seller.description": "दुकान, उत्पाद, ऑर्डर और SKU स्टॉक पढ़ने तथा पुष्टि के बाद स्टॉक अपडेट करने के लिए अपना ऐप इस्तेमाल करें। Seller Solution API एक्सेस वाले विदेशी स्व-संचालित विक्रेताओं के लिए।",
+ "connectors.catalog.aliexpress-seller.description": "अपने विक्रेता ऐप से उत्पाद, कीमतें, स्टॉक, ऑर्डर, लॉजिस्टिक्स, बिक्री के बाद की सेवाएँ और मार्केटिंग प्रबंधित करें। संबंधित API अनुमतियाँ ज़रूरी हैं; कनेक्शन के लिए अब भी Seller Solution एक्सेस चाहिए।",
"connectors.catalog.figma.description": "डिज़ाइन फ़ाइलें, घटक और शैलियाँ पढ़ें; पूर्वावलोकन निर्यात करें और टिप्पणियाँ प्रबंधित करें। कैनवस संपादन उपलब्ध नहीं है।",
"connectors.catalog.crowdin.description": "अनुवाद प्रोजेक्ट, फ़ाइलें, स्ट्रिंग और कार्य प्रबंधित करें।",
"connectors.catalog.redcircle-api.description": "खुदरा उत्पाद डेटा संग्रह कार्य, पिन कोड के आधार पर लक्ष्यीकरण और परिणाम निर्यात प्रबंधित करें।",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "Webflow साइटें, पेज, CMS सामग्री, SEO मेटाडेटा और एसेट देखें और अपडेट करें।",
"connectors.catalog.exist.description": "निजी आदतें, रुझान और सहसंबंध देखें; ट्रैक किए जाने वाले मेट्रिक के मान बढ़ाएँ।",
"connectors.catalog.gumroad.description": "डिजिटल उत्पाद, बिक्री, सदस्यताएँ और लाइसेंस की स्थिति देखें।",
- "connectors.catalog.lazada-seller.description": "व्यापारी के स्वामित्व वाले ऐप से Lazada दुकान को अधिकृत करें ताकि उत्पाद, ऑर्डर और SKU स्टॉक पढ़ सकें तथा पुष्टि के बाद बिक्री योग्य स्टॉक अपडेट कर सकें।",
+ "connectors.catalog.lazada-seller.description": "अपने व्यापारी ऐप से Lazada के उत्पाद, कीमतें, स्टॉक, ऑर्डर, शिपिंग, बिक्री के बाद की सेवाएँ, प्रचार और विज्ञापन प्रबंधित करें। संबंधित स्टोर अनुमतियाँ आवश्यक हैं।",
"connectors.catalog.cloudcart.description": "ऑनलाइन स्टोर के कैटलॉग, ग्राहक, कार्ट, ऑर्डर, छूट, सदस्य और स्टोरफ़्रंट सामग्री प्रबंधित करें।",
"connectors.catalog.pinterest-ads.description": "विज्ञापन का प्रदर्शन देखें और विज्ञापन, विज्ञापन समूह व अभियान अपडेट करें।",
"connectors.catalog.order-desk.description": "ऑर्डर, ऑर्डर के आइटम, शिपमेंट और इन्वेंट्री प्रबंधित करें।",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "फ़ाइलें खोजें, पढ़ें, अपलोड करें, व्यवस्थित करें और साझा करें।",
"connectors.catalog.gsheets.description": "स्प्रेडशीट ढूँढें, सेल पढ़ें और उनमें लिखें, डेटा जोड़ें और व्यवस्थित करें।",
"connectors.catalog.pinterest.description": "Pinterest बोर्ड, सेक्शन और Pins प्रबंधित करें, और खातों, सामग्री व रुझानों का विश्लेषण करें।",
- "connectors.catalog.shein-seller.description": "अपने ऐप से स्व-संचालित/अर्ध-प्रबंधित SHEIN दुकानें कनेक्ट करें ताकि उत्पाद, ऑर्डर, गोदाम और स्टॉक पढ़ सकें तथा पुष्टि के बाद व्यापारी का वर्चुअल स्टॉक अपडेट कर सकें।",
+ "connectors.catalog.shein-seller.description": "अपने ऐप से SHEIN उत्पाद, कीमतें, स्टॉक, ऑर्डर, शिपिंग और रिटर्न संभालें और वित्तीय जानकारी देखें। स्व-संचालित/अर्ध-प्रबंधित दुकानों के लिए; API अनुमतियाँ अलग हो सकती हैं।",
"connectors.catalog.baselinker.description": "कई चैनलों के ऑर्डर, इन्वेंट्री, गोदाम, रिटर्न, शिपिंग और इनवॉइस प्रबंधित करें।",
"connectors.catalog.dropbox.description": "फ़ाइलें खोजें, पढ़ें, अपलोड करें और व्यवस्थित करें; साझा लिंक प्रबंधित करें।",
"connectors.catalog.bluebarry.description": "खरीदारों की पहचान और उत्पाद सलाह प्रोफ़ाइल जाँचें।",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "Click the avatar on the left to change it",
"settings.video.provider_unavailable": "This video provider is not supported in this build. The saved key is retained and can be removed. Configure Orkas API to generate videos.",
"connectors.catalog.google-workspace.description": "एक सहमति से Gmail, Calendar, Docs, Sheets और Tasks जोड़ें या हर सेवा अलग से जोड़ें।",
- "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows."
+ "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows.",
+ "chat.conv_out_project": "प्रोजेक्ट से हटाएँ",
+ "chat.conv_moved_out": "प्रोजेक्ट से बाहर स्थानांतरित हुआ।",
+ "chat.conv_filing_failed": "प्रोजेक्ट “{name}” बन गया, लेकिन बातचीत उसमें नहीं जोड़ी जा सकी। बातचीत के मेन्यू में “प्रोजेक्ट में जोड़ें” चुनें और दोबारा कोशिश करने के लिए यही प्रोजेक्ट चुनें।",
+ "chat.conv_filing_failed_with_todos": "प्रोजेक्ट “{name}” और {count} कार्य बन गए, लेकिन बातचीत उसमें नहीं जोड़ी जा सकी। बातचीत के मेन्यू में “प्रोजेक्ट में जोड़ें” चुनें और दोबारा कोशिश करने के लिए यही प्रोजेक्ट चुनें।",
+ "chat.conv_move_not_filed": "यह कार्य किसी प्रोजेक्ट में नहीं है।"
}
diff --git a/src/renderer/locales/id.json b/src/renderer/locales/id.json
index 51e7edbf..28d68f84 100644
--- a/src/renderer/locales/id.json
+++ b/src/renderer/locales/id.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "Teman, apa yang ingin kamu capai?",
"new_chat.subtitle": "Bagikan tujuan Anda. Komandan akan memecah pekerjaan, mengoordinasikan agen yang tepat, dan memberikan hasil yang sudah selesai.",
"chat.app_nav_open": "Buka halaman: {name}",
- "chat.app_nav_create": "Buat di {name}",
"chat.app_nav_add_custom": "Tambahkan server MCP",
"chat.app_nav_configure": "Konfigurasikan di {name}",
"chat.app_nav_configure_target": "Konfigurasikan {target}",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "Otorisasi WeCom CLI resmi untuk pesan, kontak, kalender, dokumen, lembar, surat, rapat, tugas, dan drive.",
"connectors.catalog.xiaohongshu-seller.description": "Gunakan kredensial pedagang atau mitra Ark produksi yang dikeluarkan platform melalui gerbang HTTPS Ark produksi untuk katalog, hierarki produk, inventaris, ekspor pesanan, pemenuhan, dan tinjauan pembatalan. Kotak pasir warisan hanya menerbitkan titik akhir HTTP, jadi kredensial tidak pernah dikirim ke sana dan tidak ada opsi kotak pasir yang terbuka.",
"connectors.catalog.microsoft-teams.description": "Cari pesan tim, kirim obrolan dan balasan, dan lihat sumber daya rapat, tunduk pada izin organisasi.",
- "connectors.catalog.temu-seller.description": "Gunakan aplikasi milik pedagang untuk membaca produk, pesanan, dan stok toko lokal/semi-dikelola, dan perbarui stok yang dikelola sendiri biasa dengan konfirmasi.",
+ "connectors.catalog.temu-seller.description": "Gunakan aplikasi milik penjual untuk mengelola produk, harga, stok, pesanan, pengiriman, layanan purnajual, promosi, dan iklan toko lokal atau yang dikelola sebagian. Izin dan API berbeda menurut wilayah.",
"connectors.catalog.outlook.description": "Baca profil Outlook, kontak, pengaturan kotak surat, dan tugas.",
"connectors.catalog.onedrive.description": "Cari, baca, unggah, dan perbarui file OneDrive.",
"connectors.catalog.memberstack.description": "Mengelola anggota situs web, profil, rencana, dan penugasan rencana gratis, dan meninjau tabel data.",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "Otorisasi toko Anda untuk mengelola produk WooCommerce, inventaris, pesanan, pelanggan, kupon, pengembalian dana, dan laporan.",
"connectors.catalog.dingtalk.description": "Otorisasi DingTalk DWS CLI resmi untuk pesan, kontak, kalender, dokumen, lembar, tugas, persetujuan, kehadiran, surat, dan wiki.",
"connectors.catalog.etsy-seller.description": "Gunakan aplikasi Etsy Seller API Access milik penjual dan OAuth resmi untuk mengelola toko, daftar, inventaris, pemenuhan pesanan, profil pengiriman, dan bagian toko.",
- "connectors.catalog.amazon-seller-central.description": "Gunakan aplikasi Amazon SP-API pribadi penjual untuk katalog, daftar, status pesanan non-PII, inventaris FBA, dan data keuangan. Operasi PII dan RDT pembeli tidak diminta atau terekspos.",
+ "connectors.catalog.amazon-seller-central.description": "Gunakan aplikasi Amazon SP-API milik penjual untuk mengelola produk, pesanan, pengiriman, penerimaan barang, layanan purnajual, dan keuangan dengan peran bisnis yang diperlukan.",
"connectors.catalog.active-campaign.description": "Kelola kontak, otomatisasi, kampanye, segmen, alur kerja penjualan CRM, dan pelanggan perdagangan, pesanan, dan sinkronisasi produk.",
"connectors.catalog.btcpay-server.description": "Buat dan tinjau permintaan pembayaran BTCPay, periksa detail server dan toko, dan batalkan pembayaran.",
"connectors.catalog.gitlab.description": "Hubungkan proyek GitLab.com, masalah, permintaan penggabungan, jalur pipa, dan konteks kode.",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "Selesaikan dan standarkan alamat pengiriman AS dengan Addresszen.",
"connectors.catalog.webex.description": "Lihat tim dan pesan ruang; buat ruang dan kirim pesan.",
"connectors.catalog.gdocs.description": "Temukan, baca, buat, dan perbarui dokumen Google Docs.",
- "connectors.catalog.aliexpress-seller.description": "Gunakan aplikasi Anda sendiri untuk membaca toko, produk, pesanan, dan stok SKU, dan perbarui stok dengan konfirmasi. Untuk penjual yang beroperasi sendiri di luar negeri dengan akses API Solusi Penjual.",
+ "connectors.catalog.aliexpress-seller.description": "Gunakan aplikasi penjual Anda untuk mengelola produk, harga, stok, pesanan, logistik, layanan purnajual, dan pemasaran. Memerlukan izin API terkait; koneksi tetap memerlukan akses Seller Solution.",
"connectors.catalog.figma.description": "Baca file desain, komponen, dan gaya; ekspor pratinjau dan kelola komentar. Pengeditan kanvas tidak tersedia.",
"connectors.catalog.crowdin.description": "Mengelola proyek terjemahan, file, string, dan tugas.",
"connectors.catalog.redcircle-api.description": "Mengelola pekerjaan pengumpulan data produk ritel, penargetan kode pos, dan ekspor hasil.",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "Lihat dan perbarui situs Webflow, halaman, konten CMS, metadata SEO, dan aset.",
"connectors.catalog.exist.description": "Lihat kebiasaan pribadi, tren, dan korelasi; peningkatan metrik yang dilacak.",
"connectors.catalog.gumroad.description": "Meninjau produk digital, penjualan, langganan, dan status lisensi.",
- "connectors.catalog.lazada-seller.description": "Otorisasi toko Lazada dengan aplikasi milik pedagang untuk membaca produk, pesanan, dan stok SKU, dan memperbarui stok yang dapat dijual dengan konfirmasi.",
+ "connectors.catalog.lazada-seller.description": "Gunakan aplikasi milik penjual untuk mengelola produk, harga, stok, pesanan, pengiriman, layanan purnajual, promosi, dan iklan Lazada dengan izin toko yang diperlukan.",
"connectors.catalog.cloudcart.description": "Mengelola katalog toko online, pelanggan, keranjang, pesanan, diskon, pelanggan, dan konten etalase.",
"connectors.catalog.pinterest-ads.description": "Lihat kinerja iklan dan perbarui iklan, grup iklan, dan kampanye.",
"connectors.catalog.order-desk.description": "Mengelola pesanan, item pesanan, pengiriman, dan inventaris.",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "Cari, baca, unggah, atur, dan bagikan file.",
"connectors.catalog.gsheets.description": "Temukan spreadsheet, baca dan tulis sel, ambatkan dan atur data.",
"connectors.catalog.pinterest.description": "Kelola papan Pinterest, bagian, dan Pin, dan analisis akun, konten, dan tren.",
- "connectors.catalog.shein-seller.description": "Hubungkan toko SHEIN yang dioperasikan sendiri/semi-dikelola dengan aplikasi Anda sendiri untuk membaca produk, pesanan, gudang, dan stok, dan memperbarui stok virtual pedagang dengan konfirmasi.",
+ "connectors.catalog.shein-seller.description": "Gunakan aplikasi Anda untuk mengelola produk, harga, stok, pesanan, pengiriman, dan retur SHEIN serta membaca keuangan. Toko mandiri/semi-dikelola; izin API berbeda-beda.",
"connectors.catalog.baselinker.description": "Mengelola pesanan multi-saluran, inventaris, gudang, pengembalian, pengiriman, dan faktur.",
"connectors.catalog.dropbox.description": "Cari, baca, unggah, dan atur file; kelola tautan bersama.",
"connectors.catalog.bluebarry.description": "Periksa identitas pembeli dan profil saran produk.",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "Click the avatar on the left to change it",
"settings.video.provider_unavailable": "This video provider is not supported in this build. The saved key is retained and can be removed. Configure Orkas API to generate videos.",
"connectors.catalog.google-workspace.description": "Hubungkan Gmail, Calendar, Docs, Sheets, dan Tasks dengan satu persetujuan, atau hubungkan setiap layanan secara terpisah.",
- "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows."
+ "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows.",
+ "chat.conv_out_project": "Keluarkan dari proyek",
+ "chat.conv_moved_out": "Dipindahkan keluar dari proyek.",
+ "chat.conv_filing_failed": "Proyek “{name}” telah dibuat, tetapi percakapan tidak dapat ditambahkan. Di menu percakapan, pilih “Tambahkan ke proyek”, lalu pilih proyek ini untuk mencoba lagi.",
+ "chat.conv_filing_failed_with_todos": "Proyek “{name}” dan {count} tugas telah dibuat, tetapi percakapan tidak dapat ditambahkan. Di menu percakapan, pilih “Tambahkan ke proyek”, lalu pilih proyek ini untuk mencoba lagi.",
+ "chat.conv_move_not_filed": "Tugas ini tidak berada dalam proyek mana pun."
}
diff --git a/src/renderer/locales/it.json b/src/renderer/locales/it.json
index 5c37d642..67536692 100644
--- a/src/renderer/locales/it.json
+++ b/src/renderer/locales/it.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "Ciao, cosa vuoi realizzare?",
"new_chat.subtitle": "Condividi il tuo obiettivo. Commander suddividerà il lavoro, coordinerà gli agenti adatti e consegnerà il risultato completo.",
"chat.app_nav_open": "Apri pagina: {name}",
- "chat.app_nav_create": "Crea in {name}",
"chat.app_nav_add_custom": "Aggiungi server MCP",
"chat.app_nav_configure": "Configura in {name}",
"chat.app_nav_configure_target": "Configura {target}",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "Autorizza la CLI ufficiale di WeCom per messaggi, contatti, calendario, documenti, fogli di calcolo, posta, riunioni, attività e spazio di archiviazione.",
"connectors.catalog.xiaohongshu-seller.description": "Usa le credenziali Ark di produzione per commercianti o partner rilasciate dalla piattaforma tramite il gateway Ark HTTPS di produzione per cataloghi, gerarchia dei prodotti, scorte, esportazione degli ordini, evasione degli ordini e revisione degli annullamenti. La sandbox precedente espone solo un endpoint HTTP, quindi le credenziali non vengono mai inviate lì e non viene mostrata alcuna opzione sandbox.",
"connectors.catalog.microsoft-teams.description": "Cerca messaggi del team, invia messaggi in chat e risposte e visualizza risorse delle riunioni, in base alle autorizzazioni dell'organizzazione.",
- "connectors.catalog.temu-seller.description": "Usa un'app di proprietà del commerciante per leggere prodotti, ordini e scorte di negozi locali o a gestione parziale e aggiornare le scorte ordinarie autogestite previa conferma.",
+ "connectors.catalog.temu-seller.description": "Usa la tua app per gestire prodotti, prezzi, scorte, ordini, spedizioni, resi, promozioni e annunci dei negozi locali o a gestione parziale. Permessi e API variano in base alla regione.",
"connectors.catalog.outlook.description": "Leggi il profilo, i contatti, le impostazioni della casella di posta e le attività di Outlook.",
"connectors.catalog.onedrive.description": "Cerca, leggi, carica e aggiorna file di OneDrive.",
"connectors.catalog.memberstack.description": "Gestisci membri del sito web, profili, piani e assegnazioni di piani gratuiti e consulta le tabelle dei dati.",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "Autorizza il tuo negozio per gestire prodotti, scorte, ordini, clienti, coupon, rimborsi e report WooCommerce.",
"connectors.catalog.dingtalk.description": "Autorizza la CLI ufficiale DingTalk DWS per messaggi, contatti, calendario, documenti, fogli di calcolo, attività, approvazioni, presenze, posta e wiki.",
"connectors.catalog.etsy-seller.description": "Usa l'app Etsy Seller API Access del venditore e OAuth ufficiale per gestire il negozio, le inserzioni, le scorte, l'evasione degli ordini, i profili di spedizione e le sezioni del negozio.",
- "connectors.catalog.amazon-seller-central.description": "Usa l'app privata Amazon SP-API del venditore per catalogo, inserzioni, stato degli ordini senza dati personali identificabili (PII), scorte FBA e dati finanziari. I dati personali identificabili degli acquirenti e le operazioni RDT non vengono richiesti né esposti.",
+ "connectors.catalog.amazon-seller-central.description": "Usa la tua app Amazon SP-API per prodotti, ordini, spedizioni, logistica in entrata, assistenza post-vendita e finanze, con i ruoli richiesti.",
"connectors.catalog.active-campaign.description": "Gestisci contatti, automazioni, campagne, segmenti, flussi di vendita CRM e sincronizzazione di clienti, ordini e prodotti commerciali.",
"connectors.catalog.btcpay-server.description": "Crea e consulta richieste di pagamento BTCPay, esamina i dettagli del server e del negozio e annulla gli esborsi.",
"connectors.catalog.gitlab.description": "Collega progetti, segnalazioni, richieste di merge, pipeline e informazioni di contesto del codice di GitLab.com.",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "Risolvi e standardizza gli indirizzi di spedizione degli Stati Uniti con Addresszen.",
"connectors.catalog.webex.description": "Visualizza team e messaggi degli spazi; crea spazi e invia messaggi.",
"connectors.catalog.gdocs.description": "Leggi, crea e gestisci documenti Google Docs dai tuoi flussi di lavoro.",
- "connectors.catalog.aliexpress-seller.description": "Usa la tua app per leggere negozio, prodotti, ordini e scorte per SKU e aggiornare le scorte previa conferma. Per venditori esteri autogestiti con accesso alle Seller Solution API.",
+ "connectors.catalog.aliexpress-seller.description": "Gestisci prodotti, prezzi, scorte, ordini, logistica, assistenza post-vendita e marketing con la tua app venditore. Servono i permessi API; la connessione richiede ancora accesso Seller Solution.",
"connectors.catalog.figma.description": "Leggi file di progettazione, componenti e stili; esporta anteprime e gestisci commenti. La modifica dell'area di lavoro grafica non è disponibile.",
"connectors.catalog.crowdin.description": "Gestisci progetti di traduzione, file, stringhe e attività.",
"connectors.catalog.redcircle-api.description": "Gestisci le operazioni di raccolta dei dati dei prodotti al dettaglio, il targeting per codice postale e l'esportazione dei risultati.",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "Visualizza e aggiorna siti, pagine, contenuti CMS, metadati SEO e risorse di Webflow.",
"connectors.catalog.exist.description": "Visualizza abitudini personali, tendenze e correlazioni; incrementa le metriche monitorate.",
"connectors.catalog.gumroad.description": "Consulta prodotti digitali, vendite, abbonamenti e stato delle licenze.",
- "connectors.catalog.lazada-seller.description": "Autorizza un negozio Lazada con un'app di proprietà del commerciante per leggere prodotti, ordini e scorte per SKU e aggiornare le scorte vendibili previa conferma.",
+ "connectors.catalog.lazada-seller.description": "Gestisci prodotti, prezzi, scorte, ordini, spedizioni, resi, promozioni e annunci Lazada con la tua app e i permessi del negozio.",
"connectors.catalog.cloudcart.description": "Gestisci cataloghi di negozi online, clienti, carrelli, ordini, sconti, iscritti e contenuti delle vetrine.",
"connectors.catalog.pinterest-ads.description": "Visualizza le prestazioni degli annunci e aggiorna annunci, gruppi di annunci e campagne.",
"connectors.catalog.order-desk.description": "Gestisci ordini, articoli degli ordini, spedizioni e scorte.",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "Cerca, leggi, carica, organizza e condividi file.",
"connectors.catalog.gsheets.description": "Usa i fogli di calcolo come fonte di dati: leggi e scrivi celle e formule.",
"connectors.catalog.pinterest.description": "Gestisci bacheche, sezioni e Pin di Pinterest e analizza account, contenuti e tendenze.",
- "connectors.catalog.shein-seller.description": "Collega negozi SHEIN autogestiti o a gestione parziale con la tua app per leggere prodotti, ordini, magazzini e scorte e aggiornare le scorte virtuali del commerciante previa conferma.",
+ "connectors.catalog.shein-seller.description": "Usa la tua app per gestire prodotti, prezzi, scorte, ordini, spedizioni e resi SHEIN e consultare le finanze. Negozi autogestiti/semigestiti; i permessi API variano.",
"connectors.catalog.baselinker.description": "Gestisci ordini multicanale, scorte, magazzini, resi, spedizioni e fatture.",
"connectors.catalog.dropbox.description": "Cerca, leggi, carica e organizza file; gestisci i link condivisi.",
"connectors.catalog.bluebarry.description": "Esamina le identità degli acquirenti e i profili per i consigli sui prodotti.",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "Click the avatar on the left to change it",
"settings.video.provider_unavailable": "This video provider is not supported in this build. The saved key is retained and can be removed. Configure Orkas API to generate videos.",
"connectors.catalog.google-workspace.description": "Collega Gmail, Calendar, Docs, Sheets e Tasks con un unico consenso; i singoli servizi possono anche essere collegati separatamente.",
- "connectors.catalog.gtasks.description": "Integra la gestione delle attività direttamente nei tuoi flussi di lavoro."
+ "connectors.catalog.gtasks.description": "Integra la gestione delle attività direttamente nei tuoi flussi di lavoro.",
+ "chat.conv_out_project": "Rimuovi dal progetto",
+ "chat.conv_moved_out": "Spostata fuori dal progetto.",
+ "chat.conv_filing_failed": "Il progetto “{name}” è stato creato, ma non è stato possibile aggiungere la conversazione. Nel suo menu, scegli “Aggiungi a un progetto” e seleziona questo progetto per riprovare.",
+ "chat.conv_filing_failed_with_todos": "Il progetto “{name}” e {count} attività sono stati creati, ma non è stato possibile aggiungere la conversazione. Nel suo menu, scegli “Aggiungi a un progetto” e seleziona questo progetto per riprovare.",
+ "chat.conv_move_not_filed": "Questa attività non appartiene a nessun progetto."
}
diff --git a/src/renderer/locales/ja.json b/src/renderer/locales/ja.json
index 958d9763..9ea62a53 100644
--- a/src/renderer/locales/ja.json
+++ b/src/renderer/locales/ja.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "あなたは何を完成させたいですか?",
"new_chat.subtitle": "目標を伝えてください。司令官が作業を分解し、最適なエージェントを連携させて完成品を届けます。",
"chat.app_nav_open": "ページを開く:{name}",
- "chat.app_nav_create": "{name}で作成",
"chat.app_nav_add_custom": "MCP サーバーを追加",
"chat.app_nav_configure": "{name}で設定",
"chat.app_nav_configure_target": "{target}を設定",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "公式 WeCom CLI を認証し、メッセージ、連絡先、カレンダー、文書、表、メール、会議、タスク、ドライブを扱います。",
"connectors.catalog.xiaohongshu-seller.description": "プラットフォーム発行の本番 Ark 加盟店・パートナー認証情報と本番 HTTPS ゲートウェイでカタログ、商品階層、在庫、注文エクスポート、配送、キャンセル確認を扱います。旧サンドボックスは HTTP のみのため、認証情報を送信せず、選択肢にも表示しません。",
"connectors.catalog.microsoft-teams.description": "メッセージの検索、チャットや返信の送信、会議資料の確認ができます。組織の権限が適用されます。",
- "connectors.catalog.temu-seller.description": "販売者自身のアプリでローカル・半委託店舗の商品・注文・在庫を参照し、確認後に通常の自己管理在庫を更新します。",
+ "connectors.catalog.temu-seller.description": "販売者自身のアプリでローカル・半委託店舗の商品、価格、在庫、注文、発送、返品・返金、販促、広告を管理します。権限と API は地域により異なります。",
"connectors.catalog.outlook.description": "Outlook のプロフィール、連絡先、メールボックス設定、タスクを読み取ります。",
"connectors.catalog.onedrive.description": "OneDrive のファイルを検索・読み取り・アップロード・更新します。",
"connectors.catalog.memberstack.description": "サイトの会員、プロフィール、プラン、無料プランの割り当てを管理し、データテーブルを確認します。",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "ストアを認可して WooCommerce の商品、在庫、注文、顧客、クーポン、返金、レポートを管理します。",
"connectors.catalog.dingtalk.description": "公式 DingTalk DWS CLI を認証し、メッセージ、連絡先、カレンダー、文書、表、タスク、承認、勤怠、メール、Wiki を扱います。",
"connectors.catalog.etsy-seller.description": "販売者自身の Etsy Seller API Access アプリと公式 OAuth で店舗、出品、在庫、注文配送、配送プロファイル、ショップセクションを管理します。",
- "connectors.catalog.amazon-seller-central.description": "販売者自身の非公開 Amazon SP-API アプリでカタログ、出品、個人情報を含まない注文状況、FBA 在庫、財務情報を扱います。購入者の個人情報や RDT 操作は要求・公開しません。",
+ "connectors.catalog.amazon-seller-central.description": "販売者自身の Amazon SP-API アプリで商品、注文、配送、入庫、返品対応、財務を管理します。対応する業務ロールが必要です。",
"connectors.catalog.active-campaign.description": "連絡先、自動化、キャンペーン、セグメント、CRM 営業業務、コマースの顧客・注文・商品同期を管理します。",
"connectors.catalog.btcpay-server.description": "BTCPay の支払リクエストを作成・確認し、サーバーとストアの情報を調べ、払い出しをキャンセルします。",
"connectors.catalog.gitlab.description": "GitLab.com のプロジェクト、Issue、マージリクエスト、パイプライン、コード情報に接続します。",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "Addresszen で米国の配送先住所を検索・標準化します。",
"connectors.catalog.webex.description": "チームやスペースのメッセージを確認し、スペース作成やメッセージ送信を行います。",
"connectors.catalog.gdocs.description": "ワークフローから Google Docs 文書を読み取り・作成・管理します。",
- "connectors.catalog.aliexpress-seller.description": "自身のアプリで店舗・商品・注文・SKU 在庫を参照し、確認後に在庫を更新します。Seller Solution API が利用可能な海外の自主運営販売者向けです。",
+ "connectors.catalog.aliexpress-seller.description": "自身の販売者アプリで商品・価格・在庫・注文・物流・アフターサービス・マーケティングを管理します。各 API の権限が必要です。接続には引き続き Seller Solution の権限が必要です。",
"connectors.catalog.figma.description": "デザイン、コンポーネント、スタイルの確認、プレビュー出力、コメント管理ができます。キャンバス編集には対応していません。",
"connectors.catalog.crowdin.description": "翻訳プロジェクト、ファイル、文字列、タスクを管理します。",
"connectors.catalog.redcircle-api.description": "小売商品データの収集ジョブ、郵便番号による対象指定、結果のエクスポートを管理します。",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "Webflow のサイト、ページ、CMS コンテンツ、SEO メタデータ、アセットを表示・更新します。",
"connectors.catalog.exist.description": "習慣、傾向、相関を確認し、記録する指標を加算します。",
"connectors.catalog.gumroad.description": "デジタル商品、売上、サブスクリプション、ライセンス状況を確認します。",
- "connectors.catalog.lazada-seller.description": "自身のアプリで Lazada 店舗を認証し、商品・注文・SKU 在庫を参照して、確認後に販売可能在庫を更新します。",
+ "connectors.catalog.lazada-seller.description": "販売者自身のアプリで Lazada の商品・価格・在庫・注文・発送・返品・販促・広告を管理します。対応する店舗権限が必要です。",
"connectors.catalog.cloudcart.description": "オンラインストアのカタログ、顧客、カート、注文、割引、購読者、ストアコンテンツを管理します。",
"connectors.catalog.pinterest-ads.description": "広告の実績を確認し、広告、広告グループ、キャンペーンを更新します。",
"connectors.catalog.order-desk.description": "注文、注文明細、出荷、在庫を管理します。",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "ファイルを検索・読み取り・アップロード・整理・共有します。",
"connectors.catalog.gsheets.description": "スプレッドシートをデータソースとして使い、セルや数式を読み書きします。",
"connectors.catalog.pinterest.description": "Pinterest のボード、セクション、ピンを管理し、アカウント、コンテンツ、トレンドを分析します。",
- "connectors.catalog.shein-seller.description": "自身のアプリで SHEIN 自主運営・半委託店舗の商品・注文・倉庫・在庫を参照し、確認後に販売者の仮想在庫を更新します。",
+ "connectors.catalog.shein-seller.description": "自身のアプリで SHEIN の商品・価格・在庫・注文・配送・返品を管理し、財務を照会します。自主運営・半委託店舗向けで、API 権限は承認内容に従います。",
"connectors.catalog.baselinker.description": "複数チャネルの注文、在庫、倉庫、返品、配送、請求書を管理します。",
"connectors.catalog.dropbox.description": "ファイルを検索・読み取り・アップロード・整理し、共有リンクを管理します。",
"connectors.catalog.bluebarry.description": "購入者の識別情報と商品アドバイス用プロフィールを確認します。",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "左のアバターをクリックして変更",
"settings.video.provider_unavailable": "このビルドではこの動画プロバイダーは利用できません。保存済みのキーは保持され、削除できます。動画を生成するには Orkas API を設定してください。",
"connectors.catalog.google-workspace.description": "1 回の同意で Gmail、Calendar、Docs、Sheets、Tasks に接続します。各サービスを個別に接続することもできます。",
- "connectors.catalog.gtasks.description": "タスク管理をワークフローに直接組み込みます。"
+ "connectors.catalog.gtasks.description": "タスク管理をワークフローに直接組み込みます。",
+ "chat.conv_out_project": "プロジェクトから外す",
+ "chat.conv_moved_out": "プロジェクトから移しました。",
+ "chat.conv_filing_failed": "プロジェクト「{name}」は作成されましたが、会話を追加できませんでした。会話メニューの「プロジェクトに追加」でこのプロジェクトを選び、再試行してください。",
+ "chat.conv_filing_failed_with_todos": "プロジェクト「{name}」と {count} 件のタスクは作成されましたが、会話を追加できませんでした。会話メニューの「プロジェクトに追加」でこのプロジェクトを選び、再試行してください。",
+ "chat.conv_move_not_filed": "このタスクはどのプロジェクトにも属していません。"
}
diff --git a/src/renderer/locales/ko.json b/src/renderer/locales/ko.json
index f64ab14c..336c76e7 100644
--- a/src/renderer/locales/ko.json
+++ b/src/renderer/locales/ko.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "어떤 일을 해내고 싶으세요?",
"new_chat.subtitle": "목표를 알려 주세요. 지휘 에이전트가 작업을 나누고 적절한 에이전트들을 조율하여 완성된 결과를 전달합니다.",
"chat.app_nav_open": "페이지 열기: {name}",
- "chat.app_nav_create": "{name}에서 생성",
"chat.app_nav_add_custom": "MCP 서버 추가",
"chat.app_nav_configure": "{name}에서 설정",
"chat.app_nav_configure_target": "{target} 설정",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "공식 WeCom CLI에 메시지, 연락처, 캘린더, 문서, 스프레드시트, 메일, 회의, 작업, 드라이브 사용 권한을 부여합니다.",
"connectors.catalog.xiaohongshu-seller.description": "플랫폼에서 발급한 프로덕션 Ark 판매자 또는 파트너 자격 증명과 프로덕션 HTTPS Ark 게이트웨이를 사용해 카탈로그, 상품 계층 구조, 재고, 주문 내보내기, 주문 이행, 취소 검토를 처리합니다. 기존 샌드박스는 HTTP 엔드포인트만 제공하므로 자격 증명을 전송하지 않으며 샌드박스 옵션도 표시하지 않습니다.",
"connectors.catalog.microsoft-teams.description": "조직 권한에 따라 팀 메시지를 검색하고 채팅과 답글을 보내고 회의 자료를 조회합니다.",
- "connectors.catalog.temu-seller.description": "판매자 소유 앱으로 로컬/부분 위탁 운영 상점의 상품, 주문, 재고를 읽고 확인 후 일반 자체 관리 재고를 업데이트합니다.",
+ "connectors.catalog.temu-seller.description": "판매자 소유 앱으로 로컬/부분 위탁 상점의 상품, 가격, 재고, 주문, 배송, 사후 서비스, 프로모션, 광고를 관리합니다. 권한과 API는 지역마다 다릅니다.",
"connectors.catalog.outlook.description": "Outlook 프로필, 연락처, 사서함 설정, 작업을 읽습니다.",
"connectors.catalog.onedrive.description": "OneDrive 파일을 검색하고 읽고 업로드하고 업데이트합니다.",
"connectors.catalog.memberstack.description": "웹사이트 회원, 프로필, 요금제, 무료 요금제 할당을 관리하고 데이터 테이블을 확인합니다.",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "스토어를 승인하여 WooCommerce 상품, 재고, 주문, 고객, 쿠폰, 환불 및 보고서를 관리하세요.",
"connectors.catalog.dingtalk.description": "공식 DingTalk DWS CLI에 메시지, 연락처, 캘린더, 문서, 스프레드시트, 작업, 승인, 근태, 메일, 위키 사용 권한을 부여합니다.",
"connectors.catalog.etsy-seller.description": "판매자 본인의 Etsy Seller API Access 앱과 공식 OAuth로 스토어, 상품 등록, 재고, 주문 이행, 배송 프로필, 스토어 섹션을 관리합니다.",
- "connectors.catalog.amazon-seller-central.description": "판매자 본인의 비공개 Amazon SP-API 앱으로 카탈로그, 상품 등록, 개인 식별 정보가 없는 주문 상태, FBA 재고, 재무 데이터를 이용합니다. 구매자 PII 및 RDT 작업은 요청하거나 제공하지 않습니다.",
+ "connectors.catalog.amazon-seller-central.description": "판매자 본인의 Amazon SP-API 앱으로 상품, 주문, 배송, 입고, 판매 후 서비스 및 재무를 관리합니다. 해당 업무 권한이 필요합니다.",
"connectors.catalog.active-campaign.description": "연락처, 자동화, 캠페인, 세그먼트, CRM 영업 워크플로와 전자상거래 고객·주문·상품 동기화를 관리합니다.",
"connectors.catalog.btcpay-server.description": "BTCPay 결제 요청을 생성하고 확인하며, 서버와 스토어 세부 정보를 살펴보고 지급을 취소합니다.",
"connectors.catalog.gitlab.description": "GitLab.com 프로젝트, 이슈, 병합 요청, 파이프라인, 코드 맥락을 연결합니다.",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "Addresszen으로 미국 배송 주소를 확인하고 표준화합니다.",
"connectors.catalog.webex.description": "팀과 스페이스 메시지를 조회하고 스페이스를 만들고 메시지를 보냅니다.",
"connectors.catalog.gdocs.description": "워크플로에서 Google Docs 문서를 읽고 만들고 관리합니다.",
- "connectors.catalog.aliexpress-seller.description": "본인 앱으로 상점, 상품, 주문, SKU 재고를 읽고 확인 후 재고를 업데이트합니다. Seller Solution API 접근 권한이 있는 해외 자체 운영 판매자를 위한 기능입니다.",
+ "connectors.catalog.aliexpress-seller.description": "판매자 앱으로 상품, 가격, 재고, 주문, 물류, 사후 서비스 및 마케팅을 관리하세요. 해당 API 권한이 필요하며 연결에는 여전히 Seller Solution 접근 권한이 필요합니다.",
"connectors.catalog.figma.description": "디자인 파일, 컴포넌트, 스타일을 읽고 미리보기를 내보내고 댓글을 관리합니다. 캔버스 편집은 지원하지 않습니다.",
"connectors.catalog.crowdin.description": "번역 프로젝트, 파일, 문자열, 작업을 관리합니다.",
"connectors.catalog.redcircle-api.description": "소매 상품 데이터 수집 작업, 우편번호 타기팅, 결과 내보내기를 관리합니다.",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "Webflow 사이트, 페이지, CMS 콘텐츠, SEO 메타데이터, 에셋을 조회하고 업데이트합니다.",
"connectors.catalog.exist.description": "개인 습관, 추세, 상관관계를 조회하고 추적 중인 지표 값을 증가시킵니다.",
"connectors.catalog.gumroad.description": "디지털 상품, 판매, 구독, 라이선스 상태를 확인합니다.",
- "connectors.catalog.lazada-seller.description": "판매자 소유 앱으로 Lazada 상점을 승인해 상품, 주문, SKU 재고를 읽고 확인 후 판매 가능 재고를 업데이트합니다.",
+ "connectors.catalog.lazada-seller.description": "판매자 소유 앱과 필요한 상점 권한으로 Lazada 상품, 가격, 재고, 주문, 배송, 사후 서비스, 프로모션, 광고를 관리합니다.",
"connectors.catalog.cloudcart.description": "온라인 스토어의 카탈로그, 고객, 장바구니, 주문, 할인, 구독자, 스토어 콘텐츠를 관리합니다.",
"connectors.catalog.pinterest-ads.description": "광고 성과를 조회하고 광고, 광고 그룹, 캠페인을 업데이트합니다.",
"connectors.catalog.order-desk.description": "주문, 주문 항목, 배송, 재고를 관리합니다.",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "파일을 검색하고 읽고 업로드하고 정리하고 공유합니다.",
"connectors.catalog.gsheets.description": "스프레드시트를 데이터 소스로 사용해 셀과 수식을 읽고 씁니다.",
"connectors.catalog.pinterest.description": "Pinterest 보드, 섹션, 핀을 관리하고 계정, 콘텐츠, 트렌드를 분석합니다.",
- "connectors.catalog.shein-seller.description": "본인 앱으로 자체 운영/부분 위탁 운영 SHEIN 상점을 연결해 상품, 주문, 창고, 재고를 읽고 확인 후 판매자 가상 재고를 업데이트합니다.",
+ "connectors.catalog.shein-seller.description": "본인 앱으로 SHEIN 상품, 가격, 재고, 주문, 배송, 반품을 관리하고 재무를 조회합니다. 자체 운영/부분 위탁 상점용이며 승인된 API 권한에 따라 다릅니다.",
"connectors.catalog.baselinker.description": "여러 채널의 주문, 재고, 창고, 반품, 배송, 청구서를 관리합니다.",
"connectors.catalog.dropbox.description": "파일을 검색하고 읽고 업로드하고 정리하며 공유 링크를 관리합니다.",
"connectors.catalog.bluebarry.description": "구매자 신원과 상품 추천 프로필을 확인합니다.",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "Click the avatar on the left to change it",
"settings.video.provider_unavailable": "This video provider is not supported in this build. The saved key is retained and can be removed. Configure Orkas API to generate videos.",
"connectors.catalog.google-workspace.description": "한 번의 동의로 Gmail, Calendar, Docs, Sheets, Tasks를 연결합니다. 각 서비스를 별도로 연결할 수도 있습니다.",
- "connectors.catalog.gtasks.description": "작업 관리를 워크플로에 직접 통합합니다."
+ "connectors.catalog.gtasks.description": "작업 관리를 워크플로에 직접 통합합니다.",
+ "chat.conv_out_project": "프로젝트에서 제거",
+ "chat.conv_moved_out": "프로젝트에서 옮겼습니다.",
+ "chat.conv_filing_failed": "프로젝트 “{name}”은 생성되었지만 대화를 추가하지 못했습니다. 대화 메뉴의 “프로젝트에 추가”에서 이 프로젝트를 선택해 다시 시도하세요.",
+ "chat.conv_filing_failed_with_todos": "프로젝트 “{name}”과 할 일 {count}개는 생성되었지만 대화를 추가하지 못했습니다. 대화 메뉴의 “프로젝트에 추가”에서 이 프로젝트를 선택해 다시 시도하세요.",
+ "chat.conv_move_not_filed": "이 작업은 어떤 프로젝트에도 속해 있지 않습니다."
}
diff --git a/src/renderer/locales/pt-pt.json b/src/renderer/locales/pt-pt.json
index 2e1d7448..cea7b235 100644
--- a/src/renderer/locales/pt-pt.json
+++ b/src/renderer/locales/pt-pt.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "Olá, o que pretende fazer?",
"new_chat.subtitle": "Diga qual é o seu objetivo. O Commander dividirá o trabalho, coordenará os agentes certos e entregará o resultado final.",
"chat.app_nav_open": "Abrir página: {name}",
- "chat.app_nav_create": "Criar em {name}",
"chat.app_nav_add_custom": "Adicionar servidor MCP",
"chat.app_nav_configure": "Configurar em {name}",
"chat.app_nav_configure_target": "Configurar {target}",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "Autorize a ferramenta oficial WeCom CLI para mensagens, contactos, calendário, documentos, folhas de cálculo, correio, reuniões, tarefas e armazenamento de ficheiros.",
"connectors.catalog.xiaohongshu-seller.description": "Utilize credenciais de produção de comerciante ou parceiro Ark emitidas pela plataforma através da porta de ligação HTTPS de produção Ark para catálogos, hierarquia de produtos, inventário, exportação de encomendas, preparação e entrega e revisão de cancelamentos. O ambiente de testes antigo publica apenas um ponto final HTTP, pelo que nunca são enviadas credenciais para esse destino nem é disponibilizada uma opção de ambiente de testes.",
"connectors.catalog.microsoft-teams.description": "Pesquise mensagens de equipa, envie mensagens de chat e respostas e consulte recursos de reuniões, sujeito às permissões da organização.",
- "connectors.catalog.temu-seller.description": "Utilize uma aplicação do próprio comerciante para ler produtos, encomendas e existências de lojas locais/semigeridas e atualizar existências normais de gestão própria mediante confirmação.",
+ "connectors.catalog.temu-seller.description": "Use uma aplicação própria para gerir produtos, preços, stock, encomendas, envios, pós-venda, promoções e anúncios de lojas locais ou parcialmente geridas. As permissões e API variam por região.",
"connectors.catalog.outlook.description": "Leia o perfil, os contactos, as definições da caixa de correio e as tarefas do Outlook.",
"connectors.catalog.onedrive.description": "Pesquise, leia, carregue e atualize ficheiros do OneDrive.",
"connectors.catalog.memberstack.description": "Faça a gestão de membros do sítio Web, perfis, planos e atribuições de planos gratuitos e consulte tabelas de dados.",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "Autorize a sua loja para gerir produtos, inventário, encomendas, clientes, cupões, reembolsos e relatórios do WooCommerce.",
"connectors.catalog.dingtalk.description": "Autorize a ferramenta oficial DingTalk DWS CLI para mensagens, contactos, calendário, documentos, folhas de cálculo, tarefas, aprovações, assiduidade, correio e wiki.",
"connectors.catalog.etsy-seller.description": "Utilize a aplicação Etsy Seller API Access do próprio vendedor e o OAuth oficial para gerir a loja, anúncios, inventário, preparação e entrega de encomendas, perfis de envio e secções da loja.",
- "connectors.catalog.amazon-seller-central.description": "Utilize a aplicação privada Amazon SP-API do próprio vendedor para catálogo, anúncios, estados de encomendas sem PII, inventário FBA e dados financeiros. Não são solicitados nem expostos dados PII de compradores ou operações RDT.",
+ "connectors.catalog.amazon-seller-central.description": "Utilize a sua aplicação Amazon SP-API para gerir produtos, encomendas, envios, receção de mercadorias, pós-venda e finanças, com as funções comerciais necessárias.",
"connectors.catalog.active-campaign.description": "Faça a gestão de contactos, automatizações, campanhas, segmentos, fluxos de vendas CRM e sincronização de clientes, encomendas e produtos de comércio.",
"connectors.catalog.btcpay-server.description": "Crie e consulte pedidos de pagamento BTCPay, inspecione os detalhes do servidor e da loja e cancele transferências de fundos.",
"connectors.catalog.gitlab.description": "Ligue projetos, problemas, pedidos de fusão, fluxos de integração e contexto de código do GitLab.com.",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "Resolva e normalize moradas de envio dos EUA com Addresszen.",
"connectors.catalog.webex.description": "Consulte equipas e mensagens de espaços; crie espaços e envie mensagens.",
"connectors.catalog.gdocs.description": "Encontre, leia, crie e atualize documentos do Google Docs.",
- "connectors.catalog.aliexpress-seller.description": "Utilize a sua própria aplicação para ler a loja, produtos, encomendas e existências por SKU e atualizar existências mediante confirmação. Para vendedores estrangeiros de operação própria com acesso à Seller Solution API.",
+ "connectors.catalog.aliexpress-seller.description": "Utilize a sua aplicação de vendedor para gerir produtos, preços, existências, encomendas, logística, pós-venda e marketing. Requer permissões das API; a ligação continua a exigir acesso Seller Solution.",
"connectors.catalog.figma.description": "Leia ficheiros de design, componentes e estilos; exporte pré-visualizações e faça a gestão de comentários. A edição da tela não está disponível.",
"connectors.catalog.crowdin.description": "Faça a gestão de projetos de tradução, ficheiros, cadeias de texto e tarefas.",
"connectors.catalog.redcircle-api.description": "Faça a gestão de tarefas de recolha de dados de produtos de retalho, segmentação por código postal e exportações de resultados.",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "Consulte e atualize sítios Web, páginas, conteúdo CMS, metadados SEO e recursos do Webflow.",
"connectors.catalog.exist.description": "Consulte hábitos pessoais, tendências e correlações; incremente as métricas acompanhadas.",
"connectors.catalog.gumroad.description": "Consulte produtos digitais, vendas, subscrições e estados das licenças.",
- "connectors.catalog.lazada-seller.description": "Autorize uma loja Lazada com uma aplicação do próprio comerciante para ler produtos, encomendas e existências por SKU e atualizar existências disponíveis para venda mediante confirmação.",
+ "connectors.catalog.lazada-seller.description": "Utilize a sua aplicação para gerir produtos, preços, existências, encomendas, envios, pós-venda, promoções e anúncios Lazada com as permissões necessárias da loja.",
"connectors.catalog.cloudcart.description": "Faça a gestão de catálogos de lojas online, clientes, carrinhos, encomendas, descontos, subscritores e conteúdo da loja.",
"connectors.catalog.pinterest-ads.description": "Consulte o desempenho dos anúncios e atualize anúncios, grupos de anúncios e campanhas.",
"connectors.catalog.order-desk.description": "Faça a gestão de encomendas, artigos das encomendas, expedições e existências.",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "Pesquise, leia, carregue, organize e partilhe ficheiros.",
"connectors.catalog.gsheets.description": "Encontre folhas de cálculo, leia e escreva células e acrescente e organize dados.",
"connectors.catalog.pinterest.description": "Faça a gestão de álbuns, secções e Pins do Pinterest e analise contas, conteúdo e tendências.",
- "connectors.catalog.shein-seller.description": "Ligue lojas SHEIN de operação própria/semigeridas com a sua própria aplicação para ler produtos, encomendas, armazéns e existências e atualizar existências virtuais do comerciante mediante confirmação.",
+ "connectors.catalog.shein-seller.description": "Use a sua app para gerir produtos, preços, existências, encomendas, envios e devoluções SHEIN e consultar finanças. Lojas próprias/semigeridas; permissões API variam.",
"connectors.catalog.baselinker.description": "Faça a gestão de encomendas multicanal, existências, armazéns, devoluções, envios e faturas.",
"connectors.catalog.dropbox.description": "Pesquise, leia, carregue e organize ficheiros; faça a gestão de ligações partilhadas.",
"connectors.catalog.bluebarry.description": "Inspecione identidades de compradores e perfis de aconselhamento sobre produtos.",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "Click the avatar on the left to change it",
"settings.video.provider_unavailable": "This video provider is not supported in this build. The saved key is retained and can be removed. Configure Orkas API to generate videos.",
"connectors.catalog.google-workspace.description": "Ligue Gmail, Calendar, Docs, Sheets e Tasks com um único consentimento, ou ligue cada serviço separadamente.",
- "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows."
+ "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows.",
+ "chat.conv_out_project": "Remover do projeto",
+ "chat.conv_moved_out": "Movida para fora do projeto.",
+ "chat.conv_filing_failed": "O projeto «{name}» foi criado, mas não foi possível adicionar a conversa. No menu da conversa, escolha «Adicionar a um projeto» e selecione este projeto para tentar novamente.",
+ "chat.conv_filing_failed_with_todos": "O projeto «{name}» e {count} tarefas foram criados, mas não foi possível adicionar a conversa. No menu da conversa, escolha «Adicionar a um projeto» e selecione este projeto para tentar novamente.",
+ "chat.conv_move_not_filed": "Esta tarefa não pertence a nenhum projeto."
}
diff --git a/src/renderer/locales/pt.json b/src/renderer/locales/pt.json
index 29166070..4b53e536 100644
--- a/src/renderer/locales/pt.json
+++ b/src/renderer/locales/pt.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "Olá, o que você quer realizar?",
"new_chat.subtitle": "Diga qual é o seu objetivo. O Comandante dividirá o trabalho, coordenará os agentes certos e entregará o resultado final.",
"chat.app_nav_open": "Abrir página: {name}",
- "chat.app_nav_create": "Criar em {name}",
"chat.app_nav_add_custom": "Adicionar servidor MCP",
"chat.app_nav_configure": "Configurar em {name}",
"chat.app_nav_configure_target": "Configurar {target}",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "Autorize a CLI oficial WeCom para mensagens, contatos, calendário, documentos, planilhas, e-mail, reuniões, tarefas e arquivos.",
"connectors.catalog.xiaohongshu-seller.description": "Use credenciais Ark de produção emitidas pela plataforma para lojistas ou parceiros, via gateway HTTPS de produção, para catálogos, hierarquia de produtos, estoque, exportação de pedidos, envios e revisão de cancelamentos. O sandbox antigo só oferece HTTP; credenciais nunca são enviadas a ele e a opção não é exibida.",
"connectors.catalog.microsoft-teams.description": "Pesquise mensagens, envie chats e respostas e consulte materiais de reunião, conforme as permissões da organização.",
- "connectors.catalog.temu-seller.description": "Use um app próprio para consultar produtos, pedidos e estoque de lojas locais/semigerenciadas, e atualizar estoque próprio comum mediante confirmação.",
+ "connectors.catalog.temu-seller.description": "Use um app próprio para gerenciar produtos, preços, estoque, pedidos, envio, pós-venda, promoções e anúncios de lojas locais/semigerenciadas. Permissões e APIs variam por região.",
"connectors.catalog.outlook.description": "Leia perfil, contatos, configurações de caixa de correio e tarefas do Outlook.",
"connectors.catalog.onedrive.description": "Pesquise, leia, envie e atualize arquivos OneDrive.",
"connectors.catalog.memberstack.description": "Gerencie membros, perfis, planos e atribuições de planos gratuitos do site e consulte tabelas de dados.",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "Autorize sua loja para gerenciar produtos, estoque, pedidos, clientes, cupons, reembolsos e relatórios WooCommerce.",
"connectors.catalog.dingtalk.description": "Autorize a CLI oficial DingTalk DWS para mensagens, contatos, calendário, documentos, planilhas, tarefas, aprovações, frequência, e-mail e wiki.",
"connectors.catalog.etsy-seller.description": "Use um app Etsy Seller API Access próprio e OAuth oficial para gerenciar loja, anúncios, estoque, envios, perfis de frete e seções da loja.",
- "connectors.catalog.amazon-seller-central.description": "Use um app privado próprio Amazon SP-API para catálogo, anúncios, status de pedidos sem dados pessoais, estoque FBA e dados financeiros. Dados pessoais de compradores e operações RDT não são solicitados nem expostos.",
+ "connectors.catalog.amazon-seller-central.description": "Use seu app Amazon SP-API para produtos, pedidos, envio, logística de entrada, pós-venda e finanças, com as funções comerciais necessárias.",
"connectors.catalog.active-campaign.description": "Gerencie contatos, automações, campanhas, segmentos, vendas no CRM e sincronização de clientes, pedidos e produtos.",
"connectors.catalog.btcpay-server.description": "Crie e consulte solicitações de pagamento BTCPay, veja dados do servidor e da loja e cancele repasses.",
"connectors.catalog.gitlab.description": "Conecte projetos, issues, merge requests, pipelines e contexto de código do GitLab.com.",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "Localize e padronize endereços de entrega dos EUA com Addresszen.",
"connectors.catalog.webex.description": "Consulte equipes e mensagens; crie espaços e envie mensagens.",
"connectors.catalog.gdocs.description": "Leia, crie e gerencie documentos Google Docs nos seus fluxos de trabalho.",
- "connectors.catalog.aliexpress-seller.description": "Use seu app para consultar loja, produtos, pedidos e estoque de SKU, e atualizar estoque mediante confirmação. Para vendedores internacionais de operação própria com acesso às APIs Seller Solution.",
+ "connectors.catalog.aliexpress-seller.description": "Use seu app de vendedor para gerenciar produtos, preços, estoque, pedidos, logística, pós-venda e marketing. Requer permissões das APIs; a conexão ainda exige acesso Seller Solution.",
"connectors.catalog.figma.description": "Leia designs, componentes e estilos; exporte prévias e gerencie comentários. A edição da tela não está disponível.",
"connectors.catalog.crowdin.description": "Gerencie projetos de tradução, arquivos, textos e tarefas.",
"connectors.catalog.redcircle-api.description": "Gerencie tarefas de coleta de dados de varejo, segmentação por CEP e exportação de resultados.",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "Consulte e atualize sites, páginas, conteúdo CMS, metadados SEO e recursos Webflow.",
"connectors.catalog.exist.description": "Consulte hábitos, tendências e correlações; incremente métricas pessoais.",
"connectors.catalog.gumroad.description": "Consulte produtos digitais, vendas, assinaturas e status de licenças.",
- "connectors.catalog.lazada-seller.description": "Autorize uma loja Lazada com app próprio para consultar produtos, pedidos e estoque de SKU, e alterar estoque vendável mediante confirmação.",
+ "connectors.catalog.lazada-seller.description": "Use um app próprio para gerenciar produtos, preços, estoque, pedidos, envio, pós-venda, promoções e anúncios Lazada com as permissões da loja.",
"connectors.catalog.cloudcart.description": "Gerencie catálogo, clientes, carrinhos, pedidos, descontos, assinantes e conteúdo da loja virtual.",
"connectors.catalog.pinterest-ads.description": "Consulte o desempenho e atualize anúncios, grupos e campanhas.",
"connectors.catalog.order-desk.description": "Gerencie pedidos, itens, envios e estoque.",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "Pesquise, leia, envie, organize e compartilhe arquivos.",
"connectors.catalog.gsheets.description": "Use planilhas como fonte de dados: leia e escreva células e fórmulas.",
"connectors.catalog.pinterest.description": "Gerencie pastas, seções e Pins do Pinterest e analise contas, conteúdo e tendências.",
- "connectors.catalog.shein-seller.description": "Conecte lojas SHEIN de operação própria/semigerenciadas com seu app para consultar produtos, pedidos, depósitos e estoque, e atualizar estoque virtual mediante confirmação.",
+ "connectors.catalog.shein-seller.description": "Use seu app para gerenciar produtos, preços, estoque, pedidos, envios e devoluções SHEIN e consultar finanças. Lojas próprias/semigerenciadas; permissões de API variam.",
"connectors.catalog.baselinker.description": "Gerencie pedidos de vários canais, estoque, depósitos, devoluções, envios e faturas.",
"connectors.catalog.dropbox.description": "Pesquise, leia, envie e organize arquivos; gerencie links compartilhados.",
"connectors.catalog.bluebarry.description": "Consulte identidades de compradores e perfis de recomendação de produtos.",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "Clique no avatar à esquerda para alterar",
"settings.video.provider_unavailable": "Este provedor de vídeo não está disponível nesta versão. A chave salva foi mantida e pode ser removida. Configure a API Orkas para gerar vídeos.",
"connectors.catalog.google-workspace.description": "Conecte Gmail, Calendar, Docs, Sheets e Tasks com um único consentimento; os serviços também podem ser conectados separadamente.",
- "connectors.catalog.gtasks.description": "Integre o gerenciamento de tarefas diretamente aos seus fluxos de trabalho."
+ "connectors.catalog.gtasks.description": "Integre o gerenciamento de tarefas diretamente aos seus fluxos de trabalho.",
+ "chat.conv_out_project": "Remover do projeto",
+ "chat.conv_moved_out": "Movida para fora do projeto.",
+ "chat.conv_filing_failed": "O projeto “{name}” foi criado, mas não foi possível adicionar a conversa. No menu da conversa, escolha “Adicionar a um projeto” e selecione este projeto para tentar novamente.",
+ "chat.conv_filing_failed_with_todos": "O projeto “{name}” e {count} tarefas foram criados, mas não foi possível adicionar a conversa. No menu da conversa, escolha “Adicionar a um projeto” e selecione este projeto para tentar novamente.",
+ "chat.conv_move_not_filed": "Esta tarefa não pertence a nenhum projeto."
}
diff --git a/src/renderer/locales/ru.json b/src/renderer/locales/ru.json
index 2ec644aa..bf043850 100644
--- a/src/renderer/locales/ru.json
+++ b/src/renderer/locales/ru.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "Друг, чего вы хотите достичь?",
"new_chat.subtitle": "Расскажите о своей цели. Командир разобьёт работу на этапы, скоординирует подходящих агентов и предоставит готовый результат.",
"chat.app_nav_open": "Открыть страницу: {name}",
- "chat.app_nav_create": "Создать в {name}",
"chat.app_nav_add_custom": "Добавить сервер MCP",
"chat.app_nav_configure": "Настроить в {name}",
"chat.app_nav_configure_target": "Настроить {target}",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "Авторизуйте официальный WeCom CLI для сообщений, контактов, календаря, документов, таблиц, почты, встреч, задач и диска.",
"connectors.catalog.xiaohongshu-seller.description": "Используйте выданные платформой производственные учётные данные продавца или партнёра Ark через производственный HTTPS-шлюз Ark для каталогов, иерархии товаров, запасов, экспорта заказов, их исполнения и рассмотрения отмен. Устаревшая песочница предоставляет только HTTP-эндпоинт, поэтому учётные данные туда никогда не отправляются и выбор песочницы не предлагается.",
"connectors.catalog.microsoft-teams.description": "Ищите сообщения команды, отправляйте сообщения и ответы в чатах и просматривайте материалы встреч в пределах разрешений организации.",
- "connectors.catalog.temu-seller.description": "Используйте собственное приложение продавца для чтения товаров, заказов и запасов локального магазина или магазина с частичным управлением платформой, а также обновления обычных запасов под самостоятельным управлением с подтверждением.",
+ "connectors.catalog.temu-seller.description": "Собственное приложение продавца для управления товарами, ценами, запасами, заказами, доставкой, возвратами, акциями и рекламой локальных магазинов и магазинов с частичным управлением. Права и API зависят от региона.",
"connectors.catalog.outlook.description": "Читайте профиль Outlook, контакты, настройки почтового ящика и задачи.",
"connectors.catalog.onedrive.description": "Ищите, читайте, загружайте и обновляйте файлы OneDrive.",
"connectors.catalog.memberstack.description": "Управляйте участниками сайта, профилями, тарифами и назначением бесплатного тарифа; просматривайте таблицы данных.",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "Авторизуйте магазин для управления товарами, запасами, заказами, клиентами, купонами, возвратами и отчётами WooCommerce.",
"connectors.catalog.dingtalk.description": "Авторизуйте официальный DingTalk DWS CLI для сообщений, контактов, календаря, документов, таблиц, задач, согласований, учёта посещаемости, почты и вики.",
"connectors.catalog.etsy-seller.description": "Используйте собственное приложение Etsy Seller API Access продавца и официальный OAuth для управления магазином, объявлениями, запасами, исполнением заказов, профилями доставки и разделами магазина.",
- "connectors.catalog.amazon-seller-central.description": "Используйте собственное приватное приложение Amazon SP-API продавца для каталога, объявлений, статусов заказов без PII, запасов FBA и финансовых данных. Операции с PII покупателей и RDT не запрашиваются и не предоставляются.",
+ "connectors.catalog.amazon-seller-central.description": "Управляйте товарами, заказами, доставкой, приемкой, послепродажным обслуживанием и финансами через собственное приложение Amazon SP-API с нужными ролями.",
"connectors.catalog.active-campaign.description": "Управляйте контактами, автоматизациями, кампаниями, сегментами, процессами продаж CRM и синхронизацией клиентов, заказов и товаров электронной торговли.",
"connectors.catalog.btcpay-server.description": "Создавайте и просматривайте платёжные запросы BTCPay, изучайте сведения о сервере и магазине, отменяйте выплаты.",
"connectors.catalog.gitlab.description": "Подключите проекты, задачи, запросы на слияние, конвейеры и контекст кода GitLab.com.",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "Проверяйте и стандартизируйте адреса доставки в США с помощью Addresszen.",
"connectors.catalog.webex.description": "Просматривайте команды и сообщения пространств; создавайте пространства и отправляйте сообщения.",
"connectors.catalog.gdocs.description": "Читайте, создавайте и управляйте документами Google Docs в рабочих процессах.",
- "connectors.catalog.aliexpress-seller.description": "Используйте собственное приложение для чтения магазина, товаров, заказов и запасов SKU, а также обновления запасов с подтверждением. Для зарубежных продавцов с самостоятельным управлением и доступом к Seller Solution API.",
+ "connectors.catalog.aliexpress-seller.description": "Управляйте товарами, ценами, запасами, заказами, логистикой, послепродажным обслуживанием и маркетингом через своё приложение продавца. Нужны права API; подключение по-прежнему требует доступа Seller Solution.",
"connectors.catalog.figma.description": "Читайте файлы дизайна, компоненты и стили; экспортируйте предпросмотры и управляйте комментариями. Редактирование холста недоступно.",
"connectors.catalog.crowdin.description": "Управляйте проектами перевода, файлами, строками и задачами.",
"connectors.catalog.redcircle-api.description": "Управляйте заданиями сбора данных о розничных товарах, таргетингом по почтовым индексам и экспортом результатов.",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "Просматривайте и обновляйте сайты, страницы, контент CMS, метаданные SEO и ресурсы Webflow.",
"connectors.catalog.exist.description": "Просматривайте личные привычки, тенденции и корреляции; увеличивайте значения отслеживаемых показателей.",
"connectors.catalog.gumroad.description": "Просматривайте цифровые товары, продажи, подписки и состояние лицензий.",
- "connectors.catalog.lazada-seller.description": "Авторизуйте магазин Lazada с помощью собственного приложения продавца для чтения товаров, заказов и запасов SKU, а также обновления доступных для продажи запасов с подтверждением.",
+ "connectors.catalog.lazada-seller.description": "Управляйте товарами, ценами, запасами, заказами, доставкой, возвратами, акциями и рекламой Lazada через свою программу с нужными правами магазина.",
"connectors.catalog.cloudcart.description": "Управляйте каталогами интернет-магазина, клиентами, корзинами, заказами, скидками, подписчиками и содержимым витрины.",
"connectors.catalog.pinterest-ads.description": "Просматривайте эффективность рекламы и обновляйте объявления, группы объявлений и кампании.",
"connectors.catalog.order-desk.description": "Управляйте заказами, позициями заказов, отправлениями и запасами.",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "Ищите, читайте, загружайте, упорядочивайте файлы и делитесь ими.",
"connectors.catalog.gsheets.description": "Используйте таблицы как источник данных: читайте и записывайте ячейки и формулы.",
"connectors.catalog.pinterest.description": "Управляйте досками, разделами и пинами Pinterest; анализируйте аккаунты, контент и тренды.",
- "connectors.catalog.shein-seller.description": "Подключите магазины SHEIN с самостоятельным или частичным управлением через собственное приложение для чтения товаров, заказов, складов и запасов, а также обновления виртуальных запасов продавца с подтверждением.",
+ "connectors.catalog.shein-seller.description": "Управляйте товарами, ценами, запасами, заказами, доставкой и возвратами SHEIN и читайте финансовые данные через своё приложение. Для самостоятельного/частичного управления; права API различаются.",
"connectors.catalog.baselinker.description": "Управляйте заказами из разных каналов, запасами, складами, возвратами, доставкой и счетами.",
"connectors.catalog.dropbox.description": "Ищите, читайте, загружайте и упорядочивайте файлы; управляйте ссылками общего доступа.",
"connectors.catalog.bluebarry.description": "Просматривайте идентификационные данные покупателей и профили рекомендаций товаров.",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "Click the avatar on the left to change it",
"settings.video.provider_unavailable": "This video provider is not supported in this build. The saved key is retained and can be removed. Configure Orkas API to generate videos.",
"connectors.catalog.google-workspace.description": "Подключите Gmail, Calendar, Docs, Sheets и Tasks одним согласием; каждый сервис также можно подключить отдельно.",
- "connectors.catalog.gtasks.description": "Встройте управление задачами прямо в рабочие процессы."
+ "connectors.catalog.gtasks.description": "Встройте управление задачами прямо в рабочие процессы.",
+ "chat.conv_out_project": "Убрать из проекта",
+ "chat.conv_moved_out": "Перемещено из проекта.",
+ "chat.conv_filing_failed": "Проект «{name}» создан, но добавить разговор не удалось. В меню разговора выберите «Добавить в проект», затем этот проект, чтобы повторить попытку.",
+ "chat.conv_filing_failed_with_todos": "Проект «{name}» и {count} задач созданы, но добавить разговор не удалось. В меню разговора выберите «Добавить в проект», затем этот проект, чтобы повторить попытку.",
+ "chat.conv_move_not_filed": "Эта задача не входит ни в один проект."
}
diff --git a/src/renderer/locales/th.json b/src/renderer/locales/th.json
index 70f270c2..51e5a845 100644
--- a/src/renderer/locales/th.json
+++ b/src/renderer/locales/th.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "คุณอยากทำอะไรให้สำเร็จ?",
"new_chat.subtitle": "บอกเป้าหมายของคุณ ผู้บัญชาการจะแบ่งงาน ประสานเอเจนต์ที่เหมาะสม และส่งมอบผลงานที่เสร็จแล้ว",
"chat.app_nav_open": "เปิดหน้า: {name}",
- "chat.app_nav_create": "สร้างใน {name}",
"chat.app_nav_add_custom": "เพิ่มเซิร์ฟเวอร์ MCP",
"chat.app_nav_configure": "ตั้งค่าใน {name}",
"chat.app_nav_configure_target": "ตั้งค่า {target}",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "อนุญาตสิทธิ์ให้ WeCom CLI อย่างเป็นทางการสำหรับข้อความ รายชื่อติดต่อ ปฏิทิน เอกสาร ชีต อีเมล การประชุม งาน และไดรฟ์",
"connectors.catalog.xiaohongshu-seller.description": "ใช้ข้อมูลรับรอง Ark สำหรับผู้ค้าหรือพาร์ทเนอร์ในระบบจริงที่แพลตฟอร์มออกให้ ผ่านเกตเวย์ HTTPS Ark ของระบบจริง สำหรับแค็ตตาล็อก ลำดับชั้นสินค้า สินค้าคงคลัง การส่งออกคำสั่งซื้อ การจัดเตรียมและส่งมอบสินค้า และการตรวจสอบคำขอยกเลิก แซนด์บ็อกซ์รุ่นเก่าเผยแพร่เฉพาะปลายทาง HTTP จึงไม่มีการส่งข้อมูลรับรองไปที่นั่นและไม่มีตัวเลือกแซนด์บ็อกซ์ให้ใช้",
"connectors.catalog.microsoft-teams.description": "ค้นหาข้อความของทีม ส่งข้อความแชทและการตอบกลับ และดูทรัพยากรการประชุมภายใต้สิทธิ์ขององค์กร",
- "connectors.catalog.temu-seller.description": "ใช้แอปที่ผู้ค้าเป็นเจ้าของเพื่ออ่านสินค้า คำสั่งซื้อ และสต็อกของร้านค้าในประเทศ/กึ่งบริหารจัดการ และอัปเดตสต็อกทั่วไปที่จัดการเองหลังยืนยัน",
+ "connectors.catalog.temu-seller.description": "ใช้แอปของผู้ขายเพื่อจัดการสินค้า ราคา สต็อก คำสั่งซื้อ การจัดส่ง บริการหลังการขาย โปรโมชัน และโฆษณาของร้านค้าท้องถิ่นหรือร้านค้าที่จัดการบางส่วน สิทธิ์และ API แตกต่างกันตามภูมิภาค",
"connectors.catalog.outlook.description": "อ่านโปรไฟล์ รายชื่อติดต่อ การตั้งค่ากล่องจดหมาย และงานใน Outlook",
"connectors.catalog.onedrive.description": "ค้นหา อ่าน อัปโหลด และอัปเดตไฟล์ OneDrive",
"connectors.catalog.memberstack.description": "จัดการสมาชิกเว็บไซต์ โปรไฟล์ แผนบริการ และการกำหนดแผนฟรี และตรวจดูตารางข้อมูล",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "อนุญาตสิทธิ์ให้ร้านค้าของคุณเพื่อจัดการสินค้า สินค้าคงคลัง คำสั่งซื้อ ลูกค้า คูปอง การคืนเงิน และรายงาน WooCommerce",
"connectors.catalog.dingtalk.description": "อนุญาตสิทธิ์ให้ DingTalk DWS CLI อย่างเป็นทางการสำหรับข้อความ รายชื่อติดต่อ ปฏิทิน เอกสาร ชีต งาน การอนุมัติ การลงเวลาเข้างาน อีเมล และวิกิ",
"connectors.catalog.etsy-seller.description": "ใช้แอป Etsy Seller API Access ของผู้ขายเองและ OAuth อย่างเป็นทางการเพื่อจัดการร้านค้า ประกาศขาย สินค้าคงคลัง การจัดเตรียมและส่งมอบคำสั่งซื้อ โปรไฟล์การจัดส่ง และส่วนต่างๆ ของร้าน",
- "connectors.catalog.amazon-seller-central.description": "ใช้แอป Amazon SP-API แบบส่วนตัวของผู้ขายเองสำหรับแค็ตตาล็อก ประกาศขาย สถานะคำสั่งซื้อที่ไม่มี PII สินค้าคงคลัง FBA และข้อมูลการเงิน จะไม่ร้องขอหรือเปิดเผย PII ของผู้ซื้อและการดำเนินการ RDT",
+ "connectors.catalog.amazon-seller-central.description": "ใช้แอป Amazon SP-API ของผู้ค้าเองเพื่อจัดการสินค้า คำสั่งซื้อ การจัดส่ง การรับสินค้าเข้าคลัง บริการหลังการขาย และการเงิน โดยต้องมีสิทธิ์ตามบทบาทธุรกิจที่เกี่ยวข้อง",
"connectors.catalog.active-campaign.description": "จัดการรายชื่อติดต่อ ระบบอัตโนมัติ แคมเปญ เซกเมนต์ เวิร์กโฟลว์การขาย CRM และการซิงค์ลูกค้า คำสั่งซื้อ และสินค้าเชิงพาณิชย์",
"connectors.catalog.btcpay-server.description": "สร้างและตรวจดูคำขอชำระเงิน BTCPay ตรวจสอบรายละเอียดเซิร์ฟเวอร์และร้านค้า และยกเลิกการจ่ายเงินออก",
"connectors.catalog.gitlab.description": "เชื่อมต่อโปรเจกต์ ปัญหา คำขอผสานโค้ด ไปป์ไลน์ และบริบทโค้ดใน GitLab.com",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "ค้นหาข้อมูลและปรับที่อยู่จัดส่งในสหรัฐฯ ให้เป็นมาตรฐานด้วย Addresszen",
"connectors.catalog.webex.description": "ดูทีมและข้อความในพื้นที่ สร้างพื้นที่และส่งข้อความ",
"connectors.catalog.gdocs.description": "ค้นหา อ่าน สร้าง และอัปเดตเอกสาร Google Docs",
- "connectors.catalog.aliexpress-seller.description": "ใช้แอปของคุณเองเพื่ออ่านร้านค้า สินค้า คำสั่งซื้อ และสต็อก SKU และอัปเดตสต็อกหลังยืนยัน สำหรับผู้ขายต่างประเทศที่ดำเนินงานเองและมีสิทธิ์เข้าถึง Seller Solution API",
+ "connectors.catalog.aliexpress-seller.description": "ใช้แอปผู้ขายของคุณเพื่อจัดการสินค้า ราคา สต็อก คำสั่งซื้อ โลจิสติกส์ บริการหลังการขาย และการตลาด ต้องมีสิทธิ์ API ที่เกี่ยวข้อง และการเชื่อมต่อยังต้องมีสิทธิ์เข้าถึง Seller Solution",
"connectors.catalog.figma.description": "อ่านไฟล์ออกแบบ คอมโพเนนต์ และสไตล์ ส่งออกตัวอย่างและจัดการความคิดเห็น ไม่รองรับการแก้ไขแคนวาส",
"connectors.catalog.crowdin.description": "จัดการโปรเจกต์แปลภาษา ไฟล์ สตริง และงาน",
"connectors.catalog.redcircle-api.description": "จัดการงานเก็บข้อมูลสินค้าค้าปลีก การกำหนดเป้าหมายตามรหัสไปรษณีย์ และการส่งออกผลลัพธ์",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "ดูและอัปเดตเว็บไซต์ หน้าเว็บ เนื้อหา CMS เมทาดาทา SEO และชิ้นงานใน Webflow",
"connectors.catalog.exist.description": "ดูนิสัยส่วนตัว แนวโน้ม และความสัมพันธ์ เพิ่มค่าของเมตริกที่ติดตาม",
"connectors.catalog.gumroad.description": "ตรวจดูสินค้าดิจิทัล ยอดขาย การสมัครสมาชิก และสถานะใบอนุญาต",
- "connectors.catalog.lazada-seller.description": "อนุญาตสิทธิ์ให้ร้าน Lazada ด้วยแอปที่ผู้ค้าเป็นเจ้าของเพื่ออ่านสินค้า คำสั่งซื้อ และสต็อก SKU และอัปเดตสต็อกที่ขายได้หลังยืนยัน",
+ "connectors.catalog.lazada-seller.description": "ใช้แอปของผู้ค้าเองเพื่อจัดการสินค้า ราคา สต็อก คำสั่งซื้อ การจัดส่ง บริการหลังการขาย โปรโมชัน และโฆษณา Lazada โดยต้องมีสิทธิ์ร้านค้าที่เกี่ยวข้อง",
"connectors.catalog.cloudcart.description": "จัดการแค็ตตาล็อกร้านค้าออนไลน์ ลูกค้า รถเข็น คำสั่งซื้อ ส่วนลด ผู้สมัครรับข้อมูล และเนื้อหาหน้าร้าน",
"connectors.catalog.pinterest-ads.description": "ดูประสิทธิภาพโฆษณา และอัปเดตโฆษณา กลุ่มโฆษณา และแคมเปญ",
"connectors.catalog.order-desk.description": "จัดการคำสั่งซื้อ รายการสินค้าในคำสั่งซื้อ การจัดส่ง และสินค้าคงคลัง",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "ค้นหา อ่าน อัปโหลด จัดระเบียบ และแชร์ไฟล์",
"connectors.catalog.gsheets.description": "ค้นหาสเปรดชีต อ่านและเขียนเซลล์ เพิ่มและจัดระเบียบข้อมูล",
"connectors.catalog.pinterest.description": "จัดการบอร์ด ส่วนต่างๆ และ Pins ใน Pinterest และวิเคราะห์บัญชี เนื้อหา และแนวโน้ม",
- "connectors.catalog.shein-seller.description": "เชื่อมต่อร้าน SHEIN ที่ดำเนินงานเอง/กึ่งบริหารจัดการด้วยแอปของคุณเองเพื่ออ่านสินค้า คำสั่งซื้อ คลังสินค้า และสต็อก และอัปเดตสต็อกเสมือนของผู้ค้าหลังยืนยัน",
+ "connectors.catalog.shein-seller.description": "ใช้แอปของคุณจัดการสินค้า ราคา สต็อก คำสั่งซื้อ การจัดส่ง และการคืนสินค้าของ SHEIN และดูข้อมูลการเงิน สำหรับร้านที่ดำเนินงานเอง/กึ่งบริหาร สิทธิ์ API ขึ้นอยู่กับการอนุมัติ",
"connectors.catalog.baselinker.description": "จัดการคำสั่งซื้อจากหลายช่องทาง สินค้าคงคลัง คลังสินค้า การคืนสินค้า การจัดส่ง และใบแจ้งหนี้",
"connectors.catalog.dropbox.description": "ค้นหา อ่าน อัปโหลด และจัดระเบียบไฟล์ จัดการลิงก์ที่แชร์",
"connectors.catalog.bluebarry.description": "ตรวจสอบตัวตนผู้ซื้อและโปรไฟล์คำแนะนำสินค้า",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "Click the avatar on the left to change it",
"settings.video.provider_unavailable": "This video provider is not supported in this build. The saved key is retained and can be removed. Configure Orkas API to generate videos.",
"connectors.catalog.google-workspace.description": "เชื่อมต่อ Gmail, Calendar, Docs, Sheets และ Tasks ด้วยการยินยอมครั้งเดียว หรือเชื่อมต่อแต่ละบริการแยกกัน",
- "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows."
+ "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows.",
+ "chat.conv_out_project": "นำออกจากโปรเจกต์",
+ "chat.conv_moved_out": "ย้ายออกจากโปรเจกต์แล้ว",
+ "chat.conv_filing_failed": "สร้างโปรเจกต์ “{name}” แล้ว แต่เพิ่มบทสนทนาไม่ได้ ในเมนูบทสนทนา ให้เลือก “เพิ่มไปยังโปรเจกต์” แล้วเลือกโปรเจกต์นี้เพื่อลองอีกครั้ง",
+ "chat.conv_filing_failed_with_todos": "สร้างโปรเจกต์ “{name}” และงาน {count} รายการแล้ว แต่เพิ่มบทสนทนาไม่ได้ ในเมนูบทสนทนา ให้เลือก “เพิ่มไปยังโปรเจกต์” แล้วเลือกโปรเจกต์นี้เพื่อลองอีกครั้ง",
+ "chat.conv_move_not_filed": "งานนี้ไม่ได้อยู่ในโปรเจกต์ใด"
}
diff --git a/src/renderer/locales/tr.json b/src/renderer/locales/tr.json
index 3d7eb72c..639d954d 100644
--- a/src/renderer/locales/tr.json
+++ b/src/renderer/locales/tr.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "Merhaba, ne başarmak istersiniz?",
"new_chat.subtitle": "Hedefinizi paylaşın. Commander işi adımlara böler, doğru ajanları koordine eder ve tamamlanmış sonucu sunar.",
"chat.app_nav_open": "Sayfayı aç: {name}",
- "chat.app_nav_create": "{name} içinde oluştur",
"chat.app_nav_add_custom": "MCP sunucusu ekle",
"chat.app_nav_configure": "{name} içinde yapılandır",
"chat.app_nav_configure_target": "Yapılandır: {target}",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "Mesajlar, kişiler, takvim, belgeler, elektronik tablolar, posta, toplantılar, görevler ve dosya depolama için resmî WeCom CLI aracını yetkilendirin.",
"connectors.catalog.xiaohongshu-seller.description": "Kataloglar, ürün hiyerarşisi, envanter, sipariş dışa aktarımı, sipariş karşılama ve iptal incelemesi için platformun verdiği üretim ortamı Ark işletme veya iş ortağı kimlik bilgilerini üretim ortamı HTTPS Ark ağ geçidi üzerinden kullanın. Eski test ortamı yalnızca bir HTTP uç noktası yayımladığından kimlik bilgileri oraya asla gönderilmez ve test ortamı seçeneği sunulmaz.",
"connectors.catalog.microsoft-teams.description": "Kuruluş izinlerine bağlı olarak ekip mesajlarını arayın, sohbet mesajları ve yanıtlar gönderin, toplantı kaynaklarını görüntüleyin.",
- "connectors.catalog.temu-seller.description": "Yerel/yarı yönetilen mağazaların ürünlerini, siparişlerini ve stoklarını okumak, onayla kendi yönetiminizdeki normal stokları güncellemek için işletmeye ait bir uygulama kullanın.",
+ "connectors.catalog.temu-seller.description": "Satıcıya ait bir uygulamayla yerel veya kısmen yönetilen mağazaların ürünlerini, fiyatlarını, stoklarını, siparişlerini, gönderimlerini, satış sonrası işlemlerini, promosyonlarını ve reklamlarını yönetin. İzinler ve API’ler bölgeye göre değişir.",
"connectors.catalog.outlook.description": "Outlook profilini, kişileri, posta kutusu ayarlarını ve görevleri okuyun.",
"connectors.catalog.onedrive.description": "OneDrive dosyalarını arayın, okuyun, yükleyin ve güncelleyin.",
"connectors.catalog.memberstack.description": "Web sitesi üyelerini, profilleri, planları ve ücretsiz plan atamalarını yönetin, veri tablolarını inceleyin.",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "WooCommerce ürünlerini, envanterini, siparişlerini, müşterilerini, kuponlarını, geri ödemelerini ve raporlarını yönetmek için mağazanıza yetki verin.",
"connectors.catalog.dingtalk.description": "Mesajlar, kişiler, takvim, belgeler, elektronik tablolar, görevler, onaylar, devam takibi, posta ve wiki için resmî DingTalk DWS CLI aracını yetkilendirin.",
"connectors.catalog.etsy-seller.description": "Mağazayı, ilanları, envanteri, sipariş karşılamayı, kargo profillerini ve mağaza bölümlerini yönetmek için satıcının kendi Etsy Seller API Access uygulamasını ve resmî OAuth'u kullanın.",
- "connectors.catalog.amazon-seller-central.description": "Katalog, ilanlar, PII içermeyen sipariş durumu, FBA envanteri ve finansal veriler için satıcının kendi özel Amazon SP-API uygulamasını kullanın. Alıcı PII verileri ve RDT işlemleri talep edilmez veya sunulmaz.",
+ "connectors.catalog.amazon-seller-central.description": "Gerekli iş rollerine sahip kendi Amazon SP-API uygulamanızla ürünleri, siparişleri, sevkiyatı, depoya mal kabulünü, satış sonrası hizmetleri ve finansı yönetin.",
"connectors.catalog.active-campaign.description": "Kişileri, otomasyonları, kampanyaları, segmentleri, CRM satış iş akışlarını ve ticaret müşterisi, sipariş ve ürün eşitlemesini yönetin.",
"connectors.catalog.btcpay-server.description": "BTCPay ödeme talepleri oluşturup inceleyin, sunucu ve mağaza ayrıntılarını denetleyin ve para çıkışlarını iptal edin.",
"connectors.catalog.gitlab.description": "GitLab.com projelerini, sorunlarını, birleştirme isteklerini, işlem hatlarını ve kod bağlamını bağlayın.",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "Addresszen ile ABD gönderim adreslerini çözümleyin ve standartlaştırın.",
"connectors.catalog.webex.description": "Ekipleri ve alan mesajlarını görüntüleyin; alanlar oluşturun ve mesaj gönderin.",
"connectors.catalog.gdocs.description": "Google Docs belgelerini bulun, okuyun, oluşturun ve güncelleyin.",
- "connectors.catalog.aliexpress-seller.description": "Mağazayı, ürünleri, siparişleri ve SKU stoklarını okumak, onayla stokları güncellemek için kendi uygulamanızı kullanın. Seller Solution API erişimi olan, yurt dışında kendi operasyonunu yürüten satıcılar içindir.",
+ "connectors.catalog.aliexpress-seller.description": "Satıcı uygulamanızla ürünleri, fiyatları, stokları, siparişleri, lojistiği, satış sonrası hizmetleri ve pazarlamayı yönetin. İlgili API izinleri gereklidir; bağlantı için hâlâ Seller Solution erişimi gerekir.",
"connectors.catalog.figma.description": "Tasarım dosyalarını, bileşenleri ve stilleri okuyun; önizlemeleri dışa aktarın ve yorumları yönetin. Tuval düzenleme kullanılamaz.",
"connectors.catalog.crowdin.description": "Çeviri projelerini, dosyaları, dizeleri ve görevleri yönetin.",
"connectors.catalog.redcircle-api.description": "Perakende ürün verisi toplama işlerini, posta kodu hedeflemesini ve sonuç dışa aktarımlarını yönetin.",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "Webflow sitelerini, sayfalarını, CMS içeriğini, SEO meta verilerini ve öğelerini görüntüleyin ve güncelleyin.",
"connectors.catalog.exist.description": "Kişisel alışkanlıkları, eğilimleri ve korelasyonları görüntüleyin; izlenen metriklerin değerlerini artırın.",
"connectors.catalog.gumroad.description": "Dijital ürünleri, satışları, abonelikleri ve lisans durumlarını inceleyin.",
- "connectors.catalog.lazada-seller.description": "Ürünleri, siparişleri ve SKU stoklarını okumak, onayla satılabilir stokları güncellemek için işletmeye ait bir uygulamayla Lazada mağazasına yetki verin.",
+ "connectors.catalog.lazada-seller.description": "Gerekli mağaza izinlerine sahip kendi uygulamanızla Lazada ürünlerini, fiyatlarını, stoklarını, siparişlerini, sevkiyatı, satış sonrası hizmetleri, kampanyaları ve reklamları yönetin.",
"connectors.catalog.cloudcart.description": "Çevrimiçi mağaza kataloglarını, müşterileri, sepetleri, siparişleri, indirimleri, aboneleri ve mağaza içeriğini yönetin.",
"connectors.catalog.pinterest-ads.description": "Reklam performansını görüntüleyin; reklamları, reklam gruplarını ve kampanyaları güncelleyin.",
"connectors.catalog.order-desk.description": "Siparişleri, sipariş kalemlerini, gönderileri ve stokları yönetin.",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "Dosyaları arayın, okuyun, yükleyin, düzenleyin ve paylaşın.",
"connectors.catalog.gsheets.description": "Elektronik tabloları bulun, hücreleri okuyup yazın, veri ekleyin ve düzenleyin.",
"connectors.catalog.pinterest.description": "Pinterest panolarını, bölümlerini ve Pins öğelerini yönetin; hesapları, içeriği ve eğilimleri analiz edin.",
- "connectors.catalog.shein-seller.description": "Ürünleri, siparişleri, depoları ve stokları okumak, onayla işletmenin sanal stoklarını güncellemek için kendi uygulamanızla kendi işletilen/yarı yönetilen SHEIN mağazalarını bağlayın.",
+ "connectors.catalog.shein-seller.description": "Kendi uygulamanızla SHEIN ürünlerini, fiyatları, stoku, siparişleri, gönderimleri ve iadeleri yönetin, finans verilerini okuyun. Kendi işletilen/yarı yönetilen mağazalar; API izinleri değişir.",
"connectors.catalog.baselinker.description": "Çok kanallı siparişleri, stokları, depoları, iadeleri, gönderimleri ve faturaları yönetin.",
"connectors.catalog.dropbox.description": "Dosyaları arayın, okuyun, yükleyin ve düzenleyin; paylaşılan bağlantıları yönetin.",
"connectors.catalog.bluebarry.description": "Alışveriş yapanların kimliklerini ve ürün danışmanlığı profillerini inceleyin.",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "Click the avatar on the left to change it",
"settings.video.provider_unavailable": "This video provider is not supported in this build. The saved key is retained and can be removed. Configure Orkas API to generate videos.",
"connectors.catalog.google-workspace.description": "Gmail, Calendar, Docs, Sheets ve Tasks hizmetlerini tek onayla veya ayrı ayrı bağlayın.",
- "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows."
+ "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows.",
+ "chat.conv_out_project": "Projeden çıkar",
+ "chat.conv_moved_out": "Projeden çıkarıldı.",
+ "chat.conv_filing_failed": "“{name}” projesi oluşturuldu, ancak sohbet eklenemedi. Sohbet menüsünden “Projeye ekle”yi ve bu projeyi seçerek yeniden deneyin.",
+ "chat.conv_filing_failed_with_todos": "“{name}” projesi ve {count} görev oluşturuldu, ancak sohbet eklenemedi. Sohbet menüsünden “Projeye ekle”yi ve bu projeyi seçerek yeniden deneyin.",
+ "chat.conv_move_not_filed": "Bu görev bir projeye ait değil."
}
diff --git a/src/renderer/locales/vi.json b/src/renderer/locales/vi.json
index 3b851b9d..aa6b3597 100644
--- a/src/renderer/locales/vi.json
+++ b/src/renderer/locales/vi.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "Bạn muốn hoàn thành điều gì?",
"new_chat.subtitle": "Chia sẻ mục tiêu của bạn. Commander sẽ chia nhỏ công việc, điều phối các tác tử phù hợp và bàn giao kết quả hoàn chỉnh.",
"chat.app_nav_open": "Mở trang: {name}",
- "chat.app_nav_create": "Tạo trong {name}",
"chat.app_nav_add_custom": "Thêm máy chủ MCP",
"chat.app_nav_configure": "Cấu hình trong {name}",
"chat.app_nav_configure_target": "Cấu hình {target}",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "Ủy quyền cho WeCom CLI chính thức để dùng tin nhắn, danh bạ, lịch, tài liệu, bảng tính, thư, cuộc họp, tác vụ và ổ đĩa.",
"connectors.catalog.xiaohongshu-seller.description": "Dùng thông tin xác thực Ark cho thương nhân hoặc đối tác trong môi trường chính thức do nền tảng cấp qua cổng HTTPS Ark chính thức cho danh mục, phân cấp sản phẩm, tồn kho, xuất đơn hàng, thực hiện đơn hàng và xét duyệt hủy. Môi trường thử nghiệm cũ chỉ công bố điểm cuối HTTP, nên thông tin xác thực không bao giờ được gửi đến đó và không có tùy chọn môi trường thử nghiệm.",
"connectors.catalog.microsoft-teams.description": "Tìm kiếm tin nhắn nhóm, gửi tin nhắn trò chuyện và phản hồi, xem tài nguyên cuộc họp theo quyền của tổ chức.",
- "connectors.catalog.temu-seller.description": "Dùng ứng dụng thuộc sở hữu của thương nhân để đọc sản phẩm, đơn hàng và tồn kho của cửa hàng nội địa/bán quản lý, cập nhật tồn kho thông thường do thương nhân tự quản lý sau khi xác nhận.",
+ "connectors.catalog.temu-seller.description": "Dùng ứng dụng của người bán để quản lý sản phẩm, giá, tồn kho, đơn hàng, giao hàng, hậu mãi, khuyến mãi và quảng cáo cho cửa hàng nội địa hoặc được quản lý một phần. Quyền và API thay đổi theo khu vực.",
"connectors.catalog.outlook.description": "Đọc hồ sơ, danh bạ, cài đặt hộp thư và tác vụ Outlook.",
"connectors.catalog.onedrive.description": "Tìm kiếm, đọc, tải lên và cập nhật tệp OneDrive.",
"connectors.catalog.memberstack.description": "Quản lý thành viên trang web, hồ sơ, gói dịch vụ và việc gán gói miễn phí; xem bảng dữ liệu.",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "Ủy quyền cho cửa hàng để quản lý sản phẩm, tồn kho, đơn hàng, khách hàng, phiếu giảm giá, hoàn tiền và báo cáo WooCommerce.",
"connectors.catalog.dingtalk.description": "Ủy quyền cho DingTalk DWS CLI chính thức để dùng tin nhắn, danh bạ, lịch, tài liệu, bảng tính, tác vụ, phê duyệt, chấm công, thư và wiki.",
"connectors.catalog.etsy-seller.description": "Dùng ứng dụng Etsy Seller API Access của chính người bán và OAuth chính thức để quản lý cửa hàng, tin đăng, tồn kho, thực hiện đơn hàng, hồ sơ vận chuyển và các mục cửa hàng.",
- "connectors.catalog.amazon-seller-central.description": "Dùng ứng dụng Amazon SP-API riêng tư của chính người bán cho danh mục, tin đăng, trạng thái đơn hàng không chứa PII, tồn kho FBA và dữ liệu tài chính. Không yêu cầu hay cung cấp PII của người mua hoặc thao tác RDT.",
+ "connectors.catalog.amazon-seller-central.description": "Dùng ứng dụng Amazon SP-API của chính người bán để quản lý sản phẩm, đơn hàng, vận chuyển, nhập kho, hậu mãi và tài chính với các vai trò nghiệp vụ cần thiết.",
"connectors.catalog.active-campaign.description": "Quản lý liên hệ, quy trình tự động, chiến dịch, phân khúc, quy trình bán hàng CRM và việc đồng bộ khách hàng, đơn hàng, sản phẩm thương mại.",
"connectors.catalog.btcpay-server.description": "Tạo và xem yêu cầu thanh toán BTCPay, kiểm tra thông tin máy chủ và cửa hàng, hủy khoản chi trả.",
"connectors.catalog.gitlab.description": "Kết nối dự án, vấn đề, yêu cầu hợp nhất, quy trình tích hợp và ngữ cảnh mã GitLab.com.",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "Phân giải và chuẩn hóa địa chỉ giao hàng tại Hoa Kỳ bằng Addresszen.",
"connectors.catalog.webex.description": "Xem nhóm và tin nhắn trong không gian; tạo không gian và gửi tin nhắn.",
"connectors.catalog.gdocs.description": "Tìm, đọc, tạo và cập nhật tài liệu Google Docs.",
- "connectors.catalog.aliexpress-seller.description": "Dùng ứng dụng riêng để đọc cửa hàng, sản phẩm, đơn hàng và tồn kho SKU, cập nhật tồn kho sau khi xác nhận. Dành cho người bán tự vận hành ở nước ngoài có quyền truy cập Seller Solution API.",
+ "connectors.catalog.aliexpress-seller.description": "Dùng ứng dụng người bán của bạn để quản lý sản phẩm, giá, tồn kho, đơn hàng, vận chuyển, hậu mãi và tiếp thị. Cần quyền API tương ứng; kết nối vẫn yêu cầu quyền truy cập Seller Solution.",
"connectors.catalog.figma.description": "Đọc tệp thiết kế, thành phần và kiểu; xuất bản xem trước và quản lý bình luận. Không hỗ trợ chỉnh sửa vùng thiết kế.",
"connectors.catalog.crowdin.description": "Quản lý dự án dịch, tệp, chuỗi và tác vụ.",
"connectors.catalog.redcircle-api.description": "Quản lý tác vụ thu thập dữ liệu sản phẩm bán lẻ, nhắm mục tiêu theo mã bưu chính và xuất kết quả.",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "Xem và cập nhật trang web, trang, nội dung CMS, siêu dữ liệu SEO và tài sản Webflow.",
"connectors.catalog.exist.description": "Xem thói quen cá nhân, xu hướng và mối tương quan; tăng giá trị các chỉ số đang theo dõi.",
"connectors.catalog.gumroad.description": "Xem sản phẩm số, doanh số, gói đăng ký và trạng thái giấy phép.",
- "connectors.catalog.lazada-seller.description": "Ủy quyền cho cửa hàng Lazada bằng ứng dụng thuộc sở hữu của thương nhân để đọc sản phẩm, đơn hàng và tồn kho SKU, cập nhật tồn kho có thể bán sau khi xác nhận.",
+ "connectors.catalog.lazada-seller.description": "Dùng ứng dụng của chính người bán để quản lý sản phẩm, giá, tồn kho, đơn hàng, vận chuyển, hậu mãi, khuyến mãi và quảng cáo Lazada với các quyền cửa hàng cần thiết.",
"connectors.catalog.cloudcart.description": "Quản lý danh mục cửa hàng trực tuyến, khách hàng, giỏ hàng, đơn hàng, chiết khấu, người đăng ký và nội dung cửa hàng.",
"connectors.catalog.pinterest-ads.description": "Xem hiệu quả quảng cáo và cập nhật quảng cáo, nhóm quảng cáo và chiến dịch.",
"connectors.catalog.order-desk.description": "Quản lý đơn hàng, mặt hàng trong đơn, lô hàng và tồn kho.",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "Tìm kiếm, đọc, tải lên, sắp xếp và chia sẻ tệp.",
"connectors.catalog.gsheets.description": "Tìm bảng tính, đọc và ghi ô, thêm và sắp xếp dữ liệu.",
"connectors.catalog.pinterest.description": "Quản lý bảng, mục và Pins trên Pinterest; phân tích tài khoản, nội dung và xu hướng.",
- "connectors.catalog.shein-seller.description": "Kết nối cửa hàng SHEIN tự vận hành/bán quản lý bằng ứng dụng riêng để đọc sản phẩm, đơn hàng, kho hàng và tồn kho, cập nhật tồn kho ảo của thương nhân sau khi xác nhận.",
+ "connectors.catalog.shein-seller.description": "Dùng ứng dụng riêng để quản lý sản phẩm, giá, tồn kho, đơn hàng, vận chuyển và hoàn trả SHEIN, và xem tài chính. Cửa hàng tự vận hành/bán quản lý; quyền API khác nhau.",
"connectors.catalog.baselinker.description": "Quản lý đơn hàng đa kênh, tồn kho, kho hàng, hàng trả lại, vận chuyển và hóa đơn.",
"connectors.catalog.dropbox.description": "Tìm kiếm, đọc, tải lên và sắp xếp tệp; quản lý liên kết chia sẻ.",
"connectors.catalog.bluebarry.description": "Kiểm tra danh tính người mua và hồ sơ tư vấn sản phẩm.",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "Click the avatar on the left to change it",
"settings.video.provider_unavailable": "This video provider is not supported in this build. The saved key is retained and can be removed. Configure Orkas API to generate videos.",
"connectors.catalog.google-workspace.description": "Kết nối Gmail, Calendar, Docs, Sheets và Tasks bằng một lần đồng ý, hoặc kết nối từng dịch vụ riêng.",
- "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows."
+ "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows.",
+ "chat.conv_out_project": "Xóa khỏi dự án",
+ "chat.conv_moved_out": "Đã chuyển ra khỏi dự án.",
+ "chat.conv_filing_failed": "Đã tạo dự án “{name}”, nhưng chưa thể thêm cuộc trò chuyện. Trong menu cuộc trò chuyện, chọn “Thêm vào dự án”, rồi chọn dự án này để thử lại.",
+ "chat.conv_filing_failed_with_todos": "Đã tạo dự án “{name}” và {count} việc cần làm, nhưng chưa thể thêm cuộc trò chuyện. Trong menu cuộc trò chuyện, chọn “Thêm vào dự án”, rồi chọn dự án này để thử lại.",
+ "chat.conv_move_not_filed": "Tác vụ này không thuộc dự án nào."
}
diff --git a/src/renderer/locales/zh-tw.json b/src/renderer/locales/zh-tw.json
index aff9aef3..2e036376 100644
--- a/src/renderer/locales/zh-tw.json
+++ b/src/renderer/locales/zh-tw.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "朋友,想完成什麼?",
"new_chat.subtitle": "說出你的目標。指揮官會拆解任務、安排合適的智慧代理協作,並把成品交給你。",
"chat.app_nav_open": "開啟頁面:{name}",
- "chat.app_nav_create": "在{name}中建立",
"chat.app_nav_add_custom": "新增 MCP 伺服器",
"chat.app_nav_configure": "在{name}中設定",
"chat.app_nav_configure_target": "設定 {target}",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "授權官方 WeCom CLI,以處理訊息、聯絡人、行事曆、文件、試算表、郵件、會議、工作及雲端硬碟。",
"connectors.catalog.xiaohongshu-seller.description": "透過正式環境的 HTTPS Ark 閘道,使用平台核發的正式環境 Ark 商家或合作夥伴憑證,處理目錄、商品階層、庫存、訂單匯出、履約及取消審核。舊版沙箱僅提供 HTTP 端點,因此絕不會將憑證傳送至該端點,也不提供沙箱選項。",
"connectors.catalog.microsoft-teams.description": "搜尋團隊訊息、傳送聊天訊息與回覆,以及檢視會議資源,須遵守組織權限限制。",
- "connectors.catalog.temu-seller.description": "使用商家自有應用程式讀取本地/半託管商店的商品、訂單及庫存,並在確認後更新一般自主管理庫存。",
+ "connectors.catalog.temu-seller.description": "使用商家自有應用,管理本土/半託管店鋪的商品、價格、庫存、訂單、出貨、售後、促銷和廣告;權限與 API 因地區而異。",
"connectors.catalog.outlook.description": "讀取 Outlook 個人檔案、聯絡人、信箱設定及工作。",
"connectors.catalog.onedrive.description": "搜尋、讀取、上傳及更新 OneDrive 檔案。",
"connectors.catalog.memberstack.description": "管理網站會員、個人檔案、方案及免費方案指派,並檢視資料表。",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "授權商店,以管理 WooCommerce 商品、庫存、訂單、客戶、優惠券、退款及報表。",
"connectors.catalog.dingtalk.description": "授權官方 DingTalk DWS CLI,以處理訊息、聯絡人、行事曆、文件、試算表、工作、簽核、出勤、郵件及知識庫。",
"connectors.catalog.etsy-seller.description": "使用賣家自有 Etsy Seller API Access 應用程式及官方 OAuth 管理商店、商品刊登、庫存、訂單履約、配送設定檔及商店區段。",
- "connectors.catalog.amazon-seller-central.description": "使用賣家自有的私人 Amazon SP-API 應用程式處理目錄、商品刊登、不含 PII 的訂單狀態、FBA 庫存及財務資料。不會請求或揭露買家 PII 或 RDT 操作。",
+ "connectors.catalog.amazon-seller-central.description": "使用商家自有 Amazon SP-API 應用管理商品、訂單、發貨、入庫、售後和財務;需相應商家業務權限。",
"connectors.catalog.active-campaign.description": "管理聯絡人、自動化、行銷活動、區隔、CRM 銷售工作流程,以及商務客戶、訂單與商品同步。",
"connectors.catalog.btcpay-server.description": "建立及檢視 BTCPay 付款請求、查看伺服器與商店詳細資料,以及取消撥款。",
"connectors.catalog.gitlab.description": "連接 GitLab.com 專案、議題、合併請求、管線及程式碼脈絡。",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "使用 Addresszen 解析及標準化美國配送地址。",
"connectors.catalog.webex.description": "檢視團隊及空間訊息;建立空間及傳送訊息。",
"connectors.catalog.gdocs.description": "尋找、讀取、建立及更新 Google Docs 文件。",
- "connectors.catalog.aliexpress-seller.description": "使用自有應用程式讀取商店、商品、訂單及 SKU 庫存,並在確認後更新庫存。適用於具有 Seller Solution API 存取權的海外自營賣家。",
+ "connectors.catalog.aliexpress-seller.description": "使用自有賣家應用程式管理商品、價格、庫存、訂單、物流、售後及行銷。需要對應 API 權限;現有連線仍需 Seller Solution 授權。",
"connectors.catalog.figma.description": "讀取設計檔案、元件及樣式;匯出預覽及管理留言。無法編輯畫布。",
"connectors.catalog.crowdin.description": "管理翻譯專案、檔案、字串及工作。",
"connectors.catalog.redcircle-api.description": "管理零售商品資料收集作業、郵遞區號定向及結果匯出。",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "檢視及更新 Webflow 網站、頁面、CMS 內容、SEO 中繼資料及素材。",
"connectors.catalog.exist.description": "檢視個人習慣、趨勢及相關性;增加追蹤指標的數值。",
"connectors.catalog.gumroad.description": "檢視數位商品、銷售、訂閱及授權狀態。",
- "connectors.catalog.lazada-seller.description": "使用商家自有應用程式授權 Lazada 商店,以讀取商品、訂單及 SKU 庫存,並在確認後更新可售庫存。",
+ "connectors.catalog.lazada-seller.description": "使用商家自有應用管理 Lazada 商品、價格、庫存、訂單、發貨、售後、促銷和廣告;需相應店鋪業務權限。",
"connectors.catalog.cloudcart.description": "管理網路商店目錄、客戶、購物車、訂單、折扣、訂閱者及店面內容。",
"connectors.catalog.pinterest-ads.description": "檢視廣告成效,並更新廣告、廣告群組及廣告活動。",
"connectors.catalog.order-desk.description": "管理訂單、訂單品項、出貨及庫存。",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "搜尋、讀取、上傳、整理及分享檔案。",
"connectors.catalog.gsheets.description": "尋找試算表、讀寫儲存格,以及附加及整理資料。",
"connectors.catalog.pinterest.description": "管理 Pinterest 圖板、區段及 Pins,並分析帳戶、內容及趨勢。",
- "connectors.catalog.shein-seller.description": "使用自有應用程式連接自營/半託管 SHEIN 商店,以讀取商品、訂單、倉庫及庫存,並在確認後更新商家虛擬庫存。",
+ "connectors.catalog.shein-seller.description": "使用自有應用程式管理 SHEIN 商品、價格、庫存、訂單、出貨和退貨,並查詢財務。適用於自營/半託管商店,所需 API 權限以平台核准為準。",
"connectors.catalog.baselinker.description": "管理多通路訂單、庫存、倉庫、退貨、配送及發票。",
"connectors.catalog.dropbox.description": "搜尋、讀取、上傳及整理檔案;管理分享連結。",
"connectors.catalog.bluebarry.description": "查看購物者身分及商品建議個人檔案。",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "Click the avatar on the left to change it",
"settings.video.provider_unavailable": "This video provider is not supported in this build. The saved key is retained and can be removed. Configure Orkas API to generate videos.",
"connectors.catalog.google-workspace.description": "一次授權連接 Gmail、日曆、文件、試算表和任務;也可以單獨連接各項服務。",
- "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows."
+ "connectors.catalog.gtasks.description": "Integrate task management directly into your workflows.",
+ "chat.conv_out_project": "移出專案",
+ "chat.conv_moved_out": "已移出專案。",
+ "chat.conv_filing_failed": "專案「{name}」已建立,但對話未能加入專案。請在對話選單中按「新增到專案」,選擇此專案重試。",
+ "chat.conv_filing_failed_with_todos": "專案「{name}」及 {count} 項待辦已建立,但對話未能加入專案。請在對話選單中按「新增到專案」,選擇此專案重試。",
+ "chat.conv_move_not_filed": "這個任務不在任何專案裡。"
}
diff --git a/src/renderer/locales/zh.json b/src/renderer/locales/zh.json
index 5cca860e..e1b1fb12 100644
--- a/src/renderer/locales/zh.json
+++ b/src/renderer/locales/zh.json
@@ -297,7 +297,6 @@
"new_chat.title_fallback": "朋友,想完成什么?",
"new_chat.subtitle": "说出你的目标。指挥官会拆解任务、安排合适的智能体协作,并把成品交给你。",
"chat.app_nav_open": "打开页面:{name}",
- "chat.app_nav_create": "在{name}中创建",
"chat.app_nav_add_custom": "添加 MCP 服务器",
"chat.app_nav_configure": "在{name}中配置",
"chat.app_nav_configure_target": "配置 {target}",
@@ -1853,7 +1852,7 @@
"agent_modal.title": "新建智能体",
"agent_modal.title_connect": "接入智能体",
"agent_modal.tab_create": "创建",
- "agent_modal.tab_external": "外接",
+ "agent_modal.tab_external": "接入",
"agent_modal.name": "名称",
"agent_modal.category": "分类",
"agent_modal.name_placeholder": "例如:代码审查助手",
@@ -2299,7 +2298,7 @@
"connectors.catalog.wecom.description": "通过企业微信官方 CLI 授权,读写消息、通讯录、日程、文档、表格、邮件、会议、待办和云盘。",
"connectors.catalog.xiaohongshu-seller.description": "使用平台已开通的生产 Ark 商家/合作方凭据,通过正式 HTTPS Ark 网关管理类目、商品层级、库存、订单导出、发货与取消审核。旧版沙箱仅公布 HTTP 地址,因此不发送凭据也不提供沙箱选项。",
"connectors.catalog.microsoft-teams.description": "搜索团队消息,发送聊天和回复,查询会议资料;受组织权限限制。",
- "connectors.catalog.temu-seller.description": "使用商家自有应用授权,查询本土/半托管店铺商品、订单和库存,确认后修改普通自有库存。",
+ "connectors.catalog.temu-seller.description": "使用商家自有应用,管理本土/半托管店铺的商品、价格、库存、订单、发货、售后、促销和广告;权限与接口因地区而异。",
"connectors.catalog.outlook.description": "读取 Outlook 个人资料、联系人、邮箱设置和任务。",
"connectors.catalog.onedrive.description": "搜索、读取、上传和更新 OneDrive 文件。",
"connectors.catalog.memberstack.description": "管理网站会员、资料、方案和免费方案归属,并查看数据表。",
@@ -2366,7 +2365,7 @@
"connectors.catalog.woocommerce.description": "授权店铺后管理 WooCommerce 商品、库存、订单、客户、优惠券、退款与报表。",
"connectors.catalog.dingtalk.description": "通过钉钉官方 DWS CLI 用户授权,读写消息、通讯录、日程、文档、表格、待办、审批、考勤、邮件和知识库。",
"connectors.catalog.etsy-seller.description": "使用卖家自己的 Etsy Seller API Access 应用,经官方 OAuth 管理店铺、商品、库存、订单履约、运费模板与店铺分区。",
- "connectors.catalog.amazon-seller-central.description": "使用卖家自己的 Amazon SP-API 私有应用管理目录、商品刊登、订单基础状态、FBA 库存与财务数据;不申请或读取买家 PII/RDT 数据。",
+ "connectors.catalog.amazon-seller-central.description": "使用商家自有 Amazon SP-API 应用管理商品、订单、发货、入库、售后和财务;需相应商家业务权限。",
"connectors.catalog.active-campaign.description": "管理联系人、营销自动化、活动、细分、CRM 销售流程和电商客户、订单及商品同步。",
"connectors.catalog.btcpay-server.description": "创建和查询 BTCPay 付款请求,查看服务器与商店信息,并取消付款。",
"connectors.catalog.gitlab.description": "连接 GitLab.com 项目、Issue、Merge Request、Pipeline 与代码上下文。",
@@ -2406,7 +2405,7 @@
"connectors.catalog.addresszen.description": "校验并标准化美国收货地址。",
"connectors.catalog.webex.description": "查询团队和空间消息,创建空间并发送消息。",
"connectors.catalog.gdocs.description": "读 / 写 Google Docs 文档,自动化文档工作流。",
- "connectors.catalog.aliexpress-seller.description": "使用商家自有应用查询店铺、商品、订单和 SKU 库存,确认后修改库存。适用于已开通 Seller Solution 接口的海外自运营卖家。",
+ "connectors.catalog.aliexpress-seller.description": "使用自有卖家应用管理商品、价格、库存、订单、物流、售后及营销。需要对应接口权限;现有连接仍需 Seller Solution 授权。",
"connectors.catalog.figma.description": "读取设计文件、组件和样式,导出预览并管理评论;不支持编辑画布。",
"connectors.catalog.crowdin.description": "管理翻译项目、文件、字符串和任务。",
"connectors.catalog.redcircle-api.description": "管理零售商品数据采集任务、邮编范围和结果导出。",
@@ -2418,7 +2417,7 @@
"connectors.catalog.webflow.description": "查看和更新 Webflow 站点、页面、CMS 内容、SEO 信息与资源文件。",
"connectors.catalog.exist.description": "查看个人习惯、趋势和关联分析,记录指标增量。",
"connectors.catalog.gumroad.description": "查看数字商品、销售、订阅和许可证状态。",
- "connectors.catalog.lazada-seller.description": "使用商家自有应用授权 Lazada 店铺,查询商品、订单和 SKU 库存,确认后修改可售库存。",
+ "connectors.catalog.lazada-seller.description": "使用商家自有应用管理 Lazada 商品、价格、库存、订单、发货、售后、促销和广告;需相应店铺业务权限。",
"connectors.catalog.cloudcart.description": "管理在线商店的目录、客户、购物车、订单、折扣、订阅者和店面内容。",
"connectors.catalog.pinterest-ads.description": "查看广告效果并更新广告、广告组和系列。",
"connectors.catalog.order-desk.description": "管理订单、订单项目、发货记录和库存。",
@@ -2454,7 +2453,7 @@
"connectors.catalog.box.description": "搜索、读取、上传、整理和分享文件。",
"connectors.catalog.gsheets.description": "把电子表格当作数据源,读写单元格与公式。",
"connectors.catalog.pinterest.description": "管理 Pinterest 图板、分区和 Pin,并分析账号、内容及趋势。",
- "connectors.catalog.shein-seller.description": "使用商家自有应用连接 SHEIN 自运营/半托管店铺,查询商品、订单、仓库与库存,确认后更新商家虚拟库存。",
+ "connectors.catalog.shein-seller.description": "使用自有应用管理 SHEIN 商品、价格、库存、订单、发货和退货,并查询财务。适用于自运营/半托管店铺,所需接口权限以平台批准为准。",
"connectors.catalog.baselinker.description": "管理多渠道订单、库存、仓库、退货、配送和发票。",
"connectors.catalog.dropbox.description": "搜索、读取、上传和整理文件,管理分享链接。",
"connectors.catalog.bluebarry.description": "查看购物者身份与产品建议画像。",
@@ -2518,5 +2517,10 @@
"settings.commander_avatar.hint": "点击左侧头像进行更换",
"settings.video.provider_unavailable": "此版本不支持该视频供应商。已保存的密钥会保留,可自行删除;生成视频请配置 Orkas API。",
"connectors.catalog.google-workspace.description": "一次授权接入 Gmail、日历、文档、表格和任务;也可以单独连接各项服务。",
- "connectors.catalog.gtasks.description": "把任务管理直接接入工作流。"
+ "connectors.catalog.gtasks.description": "把任务管理直接接入工作流。",
+ "chat.conv_out_project": "移出项目",
+ "chat.conv_moved_out": "已移出项目。",
+ "chat.conv_filing_failed": "项目「{name}」已创建,但对话未能加入项目。请通过对话菜单的「添加到项目」选择该项目重试。",
+ "chat.conv_filing_failed_with_todos": "项目「{name}」及 {count} 项待办已创建,但对话未能加入项目。请通过对话菜单的「添加到项目」选择该项目重试。",
+ "chat.conv_move_not_filed": "这个任务不在任何项目里。"
}
diff --git a/src/renderer/modules/boot.js b/src/renderer/modules/boot.js
index 7051730d..374f3899 100644
--- a/src/renderer/modules/boot.js
+++ b/src/renderer/modules/boot.js
@@ -154,6 +154,9 @@ async function bootApp() {
if (typeof startAutoEventsSubscription === 'function') {
startAutoEventsSubscription();
}
+ if (typeof startConversationFiledSubscription === 'function') {
+ startConversationFiledSubscription();
+ }
}, 2500);
return true;
} catch (err) {
diff --git a/src/renderer/modules/conversation-to-project.js b/src/renderer/modules/conversation-to-project.js
index f810afaf..220e4887 100644
--- a/src/renderer/modules/conversation-to-project.js
+++ b/src/renderer/modules/conversation-to-project.js
@@ -21,6 +21,7 @@
const _CONV_MOVE_ERROR_KEYS = {
has_running_conv: 'chat.conv_move_running',
already_in_project: 'chat.conv_move_already',
+ not_in_project: 'chat.conv_move_not_filed',
project_not_found: 'chat.conv_move_no_project',
};
@@ -306,3 +307,71 @@ async function _moveConversationToExistingProject(cid) {
}
await _finishConversationProjectMove(projectId, (picked && picked.name) || projectId, agentIds);
}
+
+/** Take a conversation back out of its project.
+ *
+ * Filing can happen without a click, so the way back cannot be click-only. The
+ * relocation refuses while a turn is running and reports it, exactly as the
+ * filing direction does.
+ */
+async function _moveConversationOutOfProject(cid) {
+ const conv = _convMoveRow(cid);
+ if (!conv || !conv.project_id) return;
+ if (isConvPending(cid)) { uiToast(t('chat.conv_move_running')); return; }
+ let moved;
+ try {
+ const res = await window.orkas.invoke('conversations.moveOut', { cid });
+ if (!res || res.ok === false || !res.conversation) throw new Error((res && res.error) || 'move_failed');
+ moved = res.conversation;
+ } catch (err) {
+ uiToast(_convMoveErrorText(err && err.message));
+ return;
+ }
+ // The returned row simply omits project_id, so clear it explicitly: merging
+ // would otherwise leave the sidebar nesting the task under its old project.
+ await _applyConversationMoved(cid, { ...moved, project_id: '' });
+ uiToast(t('chat.conv_moved_out'));
+}
+
+/* The host files a conversation under a project on its own when a tool asked for
+ * it during a turn: the relocation only becomes legal once the turn is over, so
+ * there is no request whose result could re-home the sidebar row. Reuse the same
+ * local fix-up the picker applies. */
+let _convFiledWatchStarted = false;
+let _convFilingFailedWatchStarted = false;
+function startConversationFiledSubscription() {
+ _startConversationFilingFailureSubscription();
+ if (!window.orkas || typeof window.orkas.onPushEvent !== 'function') return;
+ if (!_convFiledWatchStarted) try {
+ window.orkas.onPushEvent('conversations:filed', (payload) => {
+ const moved = payload && payload.conversation;
+ if (!moved || !moved.conversation_id) return;
+ _applyConversationMoved(moved.conversation_id, { ...moved, project_id: moved.project_id || '' })
+ .catch(() => { /* the authoritative loaders correct it on the next load */ });
+ });
+ _convFiledWatchStarted = true;
+ } catch (_) { /* push channel unavailable in this build */ }
+}
+
+function _startConversationFilingFailureSubscription() {
+ if (_convFilingFailedWatchStarted || !window.orkas || typeof window.orkas.onPushEvent !== 'function') return;
+ try {
+ window.orkas.onPushEvent('conversations:filing-failed', (payload) => {
+ if (payload && payload.kind === 'unfile' && typeof payload.cid === 'string' && payload.cid) {
+ uiToast(t('chat.conv_move_failed'), { variant: 'warning', timeoutMs: 10000 });
+ return;
+ }
+ if (!payload || typeof payload.projectName !== 'string' || !payload.projectName
+ || !payload.cid || !payload.projectId
+ || !Number.isSafeInteger(payload.todosCreated) || payload.todosCreated < 0) return;
+ uiToast(t(payload.todosCreated > 0 ? 'chat.conv_filing_failed_with_todos' : 'chat.conv_filing_failed', {
+ name: payload.projectName, count: payload.todosCreated,
+ }), { variant: 'warning', timeoutMs: 10000 });
+ });
+ _convFilingFailedWatchStarted = true;
+ } catch (_) { /* push channel unavailable in this build */ }
+}
+
+// Host receipts flush at did-finish-load, before deferred boot subscriptions.
+// Register this passive sink while loading the script so reloads cannot lose it.
+if (typeof window !== 'undefined') _startConversationFilingFailureSubscription();
diff --git a/src/renderer/modules/conversation.js b/src/renderer/modules/conversation.js
index 620b5c46..52078aad 100644
--- a/src/renderer/modules/conversation.js
+++ b/src/renderer/modules/conversation.js
@@ -6337,6 +6337,16 @@ function _conversationActionItems(cid, opts = {}) {
onClick: () => _moveConversationToExistingProject(cid),
});
}
+ } else if (conv && conv.project_id) {
+ // Filing can happen without a click, so offer the way back the same way.
+ if (typeof _moveConversationOutOfProject === 'function') {
+ items.push({
+ action: 'out-of-project',
+ label: t('chat.conv_out_project'),
+ disabled: isConvPending(cid),
+ onClick: () => _moveConversationOutOfProject(cid),
+ });
+ }
}
items.push({
action: 'delete',
@@ -9246,6 +9256,7 @@ const _APP_NAV_SURFACES = {
projects: {
nameKey: 'sidebar.projects',
fallback: 'Projects',
+ createKey: 'sidebar.project_create_title',
actions: ['open', 'create', 'configure'],
open: (req) => {
if (typeof window.openProjectsSurface !== 'function') return false;
@@ -9255,6 +9266,7 @@ const _APP_NAV_SURFACES = {
agents: {
nameKey: 'sidebar.agents',
fallback: 'AI Team',
+ createKey: 'agent_modal.title',
actions: ['open', 'create', 'configure'],
open: (req) => _appNavOpenFeatureView('agents', 'agents', async () => {
if (req.action === 'create' && typeof window.openAgentModal === 'function') {
@@ -9269,6 +9281,7 @@ const _APP_NAV_SURFACES = {
skills: {
nameKey: 'sidebar.skills',
fallback: 'Skills',
+ createKey: 'skill_modal.title_create',
actions: ['open', 'create'],
open: (req) => _appNavOpenFeatureView('skills', 'skills', () => {
if (req.action === 'create' && typeof window.openSkillModal === 'function') {
@@ -9281,6 +9294,7 @@ const _APP_NAV_SURFACES = {
auto: {
nameKey: 'sidebar.auto',
fallback: 'Auto',
+ createKey: 'auto.create_section_title',
actions: ['open', 'create', 'configure'],
open: (req) => _appNavOpenFeatureView('auto', 'auto', async () => {
if (req.action === 'create' && typeof window.openAutoTaskDialog === 'function') {
@@ -9381,8 +9395,9 @@ function _mountAppNavRequests(host, message) {
btn.type = 'button';
btn.className = 'btn btn-sm chat-app-nav-btn';
btn.dataset.appNav = requestKey;
+ // Create cards reuse the matching create entry's own copy ("New project"), naming what gets created.
const labelKey = action === 'create'
- ? 'chat.app_nav_create'
+ ? surface.createKey
: action === 'add_custom'
? 'chat.app_nav_add_custom'
: action === 'configure'
diff --git a/src/renderer/modules/settings.js b/src/renderer/modules/settings.js
index 7a3da6a9..9753ce9b 100644
--- a/src/renderer/modules/settings.js
+++ b/src/renderer/modules/settings.js
@@ -94,8 +94,7 @@ async function _settingsSafeCall(label, fn) {
}
async function loadSettings() {
- // 4-tab structure (batch 6). Initialize switching + activate default tab
- // (通用 by default — matches the is-active class on the markup).
+ // Preserve the eager tab selection when deferred Settings content loads.
if (typeof initSettingsTabs === 'function') initSettingsTabs();
// Models pane chrome: purpose sub-tabs, the add dialog and cross-tab jumps.
// Bound before the async reads so the first click is never lost.
diff --git a/src/renderer/style.css b/src/renderer/style.css
index ce277b00..fd34a8f8 100644
--- a/src/renderer/style.css
+++ b/src/renderer/style.css
@@ -16250,7 +16250,6 @@ body.is-task-side-panel-resizing * { cursor: col-resize !important; }
background: var(--surface);
border-color: var(--border-strong);
}
-/* Create leads its cluster by one step in surface tone, not by a color. */
.header-entry-btn:hover { background: var(--surface-2); }
.header-entry-btn:active { background: var(--primary-soft); }
.header-entry-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
diff --git a/test/e2e/app_e2e_smoke.spec.ts b/test/e2e/app_e2e_smoke.spec.ts
index a22d5823..708c4882 100644
--- a/test/e2e/app_e2e_smoke.spec.ts
+++ b/test/e2e/app_e2e_smoke.spec.ts
@@ -191,33 +191,41 @@ test.describe('desktop shell', () => {
await expect(appPage.locator('#auto-date-input')).toHaveValue('2099-08-30');
});
- test('navigates every primary sidebar view and settings tab', async ({ appPage }) => {
- const destinations = [
- ['auto-btn', 'panel-auto'],
- ['agents-btn', 'panel-agents'],
- ['skills-btn', 'panel-skills'],
- ['connectors-btn', 'panel-connectors'],
- ['contexts-btn', 'panel-contexts'],
- ['apps-btn', 'panel-apps'],
- ] as const;
-
- for (const [buttonId, panelId] of destinations) {
- await appPage.locator(`#${buttonId}`).click();
- await expect(appPage.locator(`#${buttonId}`)).toHaveClass(/\bactive\b/);
- await expect(appPage.locator(`#${panelId}`)).toHaveClass(/\bactive\b/);
- await expect(appPage.locator(`#${panelId}`)).toBeVisible();
- }
+ test('navigates every primary sidebar view and settings tab', async ({}, testInfo) => {
+ const app = new OrkasTestApp(testInfo, { marketplaceStub: true });
+ try {
+ await app.launch();
+ if (!app.page) throw new Error('Orkas renderer is unavailable');
+ const appPage = app.page;
+ const destinations = [
+ ['auto-btn', 'panel-auto'],
+ ['agents-btn', 'panel-agents'],
+ ['skills-btn', 'panel-skills'],
+ ['connectors-btn', 'panel-connectors'],
+ ['contexts-btn', 'panel-contexts'],
+ ['apps-btn', 'panel-apps'],
+ ] as const;
+
+ for (const [buttonId, panelId] of destinations) {
+ await appPage.locator(`#${buttonId}`).click();
+ await expect(appPage.locator(`#${buttonId}`)).toHaveClass(/\bactive\b/);
+ await expect(appPage.locator(`#${panelId}`)).toHaveClass(/\bactive\b/);
+ await expect(appPage.locator(`#${panelId}`)).toBeVisible();
+ }
- await appPage.locator('#settings-btn').click();
- await expect(appPage.locator('#settings-btn')).toHaveClass(/\bactive\b/);
- await expect(appPage.locator('#panel-settings')).toHaveClass(/\bactive\b/);
- await expect(appPage.locator('#panel-settings')).toBeVisible();
+ await appPage.locator('#settings-btn').click();
+ await expect(appPage.locator('#settings-btn')).toHaveClass(/\bactive\b/);
+ await expect(appPage.locator('#panel-settings')).toHaveClass(/\bactive\b/);
+ await expect(appPage.locator('#panel-settings')).toBeVisible();
- const generalTab = appPage.locator('.settings-tab[data-settings-tab="general"]');
- await generalTab.click();
- await expect(generalTab).toHaveClass(/\bis-active\b/);
- await expect(appPage.locator('[data-settings-pane="general"]')).toBeVisible();
- await expect(appPage.locator('[data-settings-pane="account"]')).toBeHidden();
+ const generalTab = appPage.locator('.settings-tab[data-settings-tab="general"]');
+ await generalTab.click();
+ await expect(generalTab).toHaveClass(/\bis-active\b/);
+ await expect(appPage.locator('[data-settings-pane="general"]')).toBeVisible();
+ await expect(appPage.locator('[data-settings-pane="account"]')).toBeHidden();
+ } finally {
+ await app.dispose();
+ }
});
});
diff --git a/test/e2e/conversations_e2e_lifecycle.spec.ts b/test/e2e/conversations_e2e_lifecycle.spec.ts
index b683a4e1..bd5649be 100644
--- a/test/e2e/conversations_e2e_lifecycle.spec.ts
+++ b/test/e2e/conversations_e2e_lifecycle.spec.ts
@@ -312,7 +312,8 @@ test.describe('conversations and resource picker', () => {
await picker.locator('.skill-picker-item[data-kind="skill"]', { hasText: 'picker-e2e-skill' }).click();
const composerInput = page.locator('#new-chat-input');
await expectComposerText(composerInput, /Skill: picker-e2e-skill/);
- await composerInput.fill('');
+ await composerInput.press('ControlOrMeta+A');
+ await composerInput.press('Backspace');
await expect.poll(() => composerText(composerInput)).not.toMatch(/picker-e2e-skill/);
await page.locator('#new-chat-recipient-chip').click();
diff --git a/test/e2e/fixtures/electron-cleanup.ts b/test/e2e/fixtures/electron-cleanup.ts
index e656cfbc..e707052c 100644
--- a/test/e2e/fixtures/electron-cleanup.ts
+++ b/test/e2e/fixtures/electron-cleanup.ts
@@ -29,7 +29,11 @@ export async function requestElectronQuit(app: ElectronApplication): Promise<voi
await app.evaluate(({ app }) => { setImmediate(() => app.quit()); });
} catch (error) {
// A fast successful exit may dispose the inspector before it replies.
- if (!closed) throw error;
+ // Playwright can report this before delivering the application close event.
+ // Still require that event below; the fixture's close deadline stays active.
+ const inspectorDisposed = error instanceof Error && error.message ===
+ 'electronApplication.evaluate: Execution context was destroyed, most likely because of a navigation.';
+ if (!closed && !inspectorDisposed) throw error;
}
await completion;
} finally {
@@ -47,6 +51,7 @@ export async function closeElectronFixture(app: OwnedApplication, tracePath: str
// Playwright disposes the application object on close; retain ownership first.
const child = app.process();
const failures: string[] = [];
+ const causes: unknown[] = [];
const step = async (name: string, timeoutMs: number, action: () => Promise<void>) => {
let timer: ReturnType<typeof setTimeout> | undefined;
options.phase?.(name, 'started');
@@ -55,8 +60,9 @@ export async function closeElectronFixture(app: OwnedApplication, tracePath: str
timer = setTimeout(() => reject(new Error('deadline')), timeoutMs);
})]);
options.phase?.(name, 'completed');
- } catch {
+ } catch (error) {
failures.push(name);
+ causes.push(error);
options.phase?.(name, 'failed');
} finally { clearTimeout(timer); }
};
@@ -71,5 +77,5 @@ export async function closeElectronFixture(app: OwnedApplication, tracePath: str
child.once('error', reject);
}));
}
- if (failures.length) throw new Error(`Electron fixture cleanup failed: ${failures.join(', ')}`);
+ if (failures.length) throw new Error(`Electron fixture cleanup failed: ${failures.join(', ')}`, { cause: causes[0] });
}
diff --git a/test/e2e/fixtures/orkas.ts b/test/e2e/fixtures/orkas.ts
index c42c40c4..b410571a 100644
--- a/test/e2e/fixtures/orkas.ts
+++ b/test/e2e/fixtures/orkas.ts
@@ -812,6 +812,7 @@ export class OrkasTestApp {
private readonly recoveredRendererErrors = new Set<number>();
private readonly tracePaths: string[] = [];
private traceNumber = 0;
+ private readonly appClosePromises = new WeakMap<ElectronApplication, Promise<void>>();
private activeUserId: string;
private readonly configuredModelSeededUsers = new Set<string>();
private modelToolScenario: ModelToolScenario | null = null;
@@ -1798,21 +1799,31 @@ export class OrkasTestApp {
private async closeCurrentApp(): Promise<void> {
const app = this.electronApp;
if (!app) return;
-
- const tracePath = this.testInfo.outputPath(`trace-${++this.traceNumber}.zip`);
- this.tracePaths.push(tracePath);
- try {
- await closeElectronFixture({
- process: () => app.process(),
- context: () => app.context(),
- close: () => requestElectronQuit(app),
- }, tracePath, {
- phase: (phase, outcome) => this.recordCleanupPhase(phase, outcome),
- });
- } finally {
- this.electronApp = null;
- this.page = null;
- }
+ const existing = this.appClosePromises.get(app);
+ if (existing) return existing;
+
+ // Relaunch and timeout teardown may overlap. Keep one trace and quit per
+ // captured application, including the same failure for every waiting caller.
+ const closing = Promise.resolve().then(async () => {
+ const tracePath = this.testInfo.outputPath(`trace-${++this.traceNumber}.zip`);
+ this.tracePaths.push(tracePath);
+ try {
+ await closeElectronFixture({
+ process: () => app.process(),
+ context: () => app.context(),
+ close: () => requestElectronQuit(app),
+ }, tracePath, {
+ phase: (phase, outcome) => this.recordCleanupPhase(phase, outcome),
+ });
+ } finally {
+ if (this.electronApp === app) {
+ this.electronApp = null;
+ this.page = null;
+ }
+ }
+ });
+ this.appClosePromises.set(app, closing);
+ return closing;
}
private async ensureStubServer(): Promise<void> {
diff --git a/test/main/features/chats-move-to-project.test.ts b/test/main/features/chats-move-to-project.test.ts
index a1e2764a..c3bc5edb 100644
--- a/test/main/features/chats-move-to-project.test.ts
+++ b/test/main/features/chats-move-to-project.test.ts
@@ -1,5 +1,5 @@
/**
- * Moving an existing conversation into a project.
+ * Moving an existing conversation into a project, and back out of one.
*
* `project_id` used to be frozen at create time, and it is not just a field:
* it decides where the messages, group companion dir, commander and per-agent
@@ -7,6 +7,10 @@
* carrying the bytes leaves the user with a conversation that opens empty, so
* these cases check the filesystem on both sides rather than the returned
* record.
+ *
+ * Filing can happen automatically, so it has to be undoable; the unfiling cases
+ * cover the reverse direction, whose recovery has to restore the row to the
+ * project index rather than the global one.
*/
import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest';
@@ -135,7 +139,8 @@ describe('chats › moveConversationToProject', () => {
expect(projectRow?.title).toBe('loose task');
});
- it.each([false, true])('rejects admission during a move and resumes after commit or rollback (rollback: %s)', async (rollback) => {
+ it.each([{ rollback: false, out: false }, { rollback: true, out: false },
+ { rollback: false, out: true }, { rollback: true, out: true }])('rejects admission during a move and resumes after commit or rollback (%j)', async ({ rollback, out }) => {
const chats = await import('../../../src/main/features/chats');
const storage = await import('../../../src/main/storage');
const bus = await import('../../../src/main/features/group_chat/bus');
@@ -144,7 +149,9 @@ describe('chats › moveConversationToProject', () => {
const conv = await chats.createConversation(UID, { title: 'Move admission' });
const cid = conv.conversation_id;
seedConversationBytes(cid);
- expect(layout.findProjectIdForConversation(UID, cid)).toBeNull();
+ if (out) expect((await chats.moveConversationToProject(UID, cid, PID)).ok).toBe(true);
+ const sourceRoot = out ? cloud('projects', PID, 'chats') : cloud('chats');
+ expect(layout.findProjectIdForConversation(UID, cid)).toBe(out ? PID : null);
let entered!: () => void;
let release!: () => void;
const atCommit = new Promise<void>(resolve => { entered = resolve; });
@@ -154,16 +161,17 @@ describe('chats › moveConversationToProject', () => {
const oldRootWrite = new Promise<'old-root-write'>(resolve => { sideEffect = () => resolve('old-root-write'); });
let paused = false;
vi.spyOn(storage, 'writeJson').mockImplementation(async (file, data) => {
- if (!paused && file === cloud('chats', '_index.json')) {
+ if (!paused && file === path.join(sourceRoot, '_index.json')) {
paused = true;
entered();
await resume;
if (rollback) throw new Error('injected move commit failure');
}
- if (file.startsWith(cloud('chats', cid) + path.sep)) sideEffect();
+ if (file.startsWith(path.join(sourceRoot, cid) + path.sep)) sideEffect();
return original(file, data);
});
- const moving = chats.moveConversationToProject(UID, cid, PID);
+ const moving = out ? chats.moveConversationOutOfProject(UID, cid)
+ : chats.moveConversationToProject(UID, cid, PID);
let admission: Promise<unknown> | undefined;
try {
await atCommit;
@@ -173,15 +181,15 @@ describe('chats › moveConversationToProject', () => {
forceTo: ['user'], text: 'must not land during relocation' })
.then(() => 'accepted', () => 'rejected');
expect(await Promise.race([admission, oldRootWrite])).toBe('rejected');
- expect(fs.existsSync(cloud('chats', cid))).toBe(false);
- expect(fs.existsSync(cloud('chats', `${cid}.jsonl`))).toBe(false);
+ expect(fs.existsSync(path.join(sourceRoot, cid))).toBe(false);
+ expect(fs.existsSync(path.join(sourceRoot, `${cid}.jsonl`))).toBe(false);
} finally { release(); await moving; await admission; }
expect(await moving).toMatchObject({ ok: !rollback });
const delivered = await bus.enqueue({ uid: UID, cid, fromActorId: 'commander',
forceTo: ['user'], text: 'sent after settled move' });
expect(delivered.text).toBe('sent after settled move');
const file = layout.conversationMessageReadFile(UID, cid);
- expect(file).toBe(rollback ? cloud('chats', `${cid}.jsonl`)
+ expect(file).toBe(rollback !== out ? cloud('chats', `${cid}.jsonl`)
: cloud('projects', PID, 'chats', `${cid}.jsonl`));
expect(fs.readFileSync(file, 'utf8')).toContain('sent after settled move');
expect(fs.readFileSync(file, 'utf8')).not.toContain('must not land');
@@ -437,3 +445,131 @@ describe('chats › moveConversationToProject', () => {
});
});
+
+describe('chats › moveConversationOutOfProject', () => {
+ it('brings every location back to the root and leaves nothing in the project', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ await seedProject();
+ const conv = await chats.createConversation(UID, { title: 'filed then undone' });
+ const cid = conv.conversation_id;
+ seedConversationBytes(cid);
+ expect((await chats.moveConversationToProject(UID, cid, PID)).ok).toBe(true);
+
+ // The filing left a committed receipt sync has not consumed — with sync
+ // disabled it never will — so the undo also proves that receipt does not
+ // block a second relocation of the same conversation.
+ const result = await chats.moveConversationOutOfProject(UID, cid);
+ expect(result.ok).toBe(true);
+ expect((result as { conversation: any }).conversation.project_id).toBeFalsy();
+
+ for (const file of globalPaths(cid)) expect({ file, exists: fs.existsSync(file) }).toEqual({ file, exists: true });
+ for (const file of projectPaths(cid)) expect({ file, exists: fs.existsSync(file) }).toEqual({ file, exists: false });
+ // Content, not just presence: a round trip that truncated a file would pass
+ // an existence check.
+ expect(fs.readFileSync(cloud('chats', `${cid}.jsonl`), 'utf-8'))
+ .toBe('{"from":"user","text":"hello"}\n');
+ expect(fs.readFileSync(cloud('chat_attachments', cid, 'note.txt'), 'utf-8')).toBe('attached');
+
+ // The row lives in exactly one index again.
+ expect(readIndex(cloud('projects', PID, 'chats', '_index.json')).some((r) => r.conversation_id === cid)).toBe(false);
+ const globalRow = readIndex(cloud('chats', '_index.json')).find((r) => r.conversation_id === cid);
+ expect(globalRow?.title).toBe('filed then undone');
+ expect(globalRow?.project_id).toBeFalsy();
+ });
+
+ it('refuses a conversation that is not in a project', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const conv = await chats.createConversation(UID, { title: 'never filed' });
+ const cid = conv.conversation_id;
+ seedConversationBytes(cid);
+
+ expect(await chats.moveConversationOutOfProject(UID, cid)).toEqual({ ok: false, error: 'not_in_project' });
+ for (const file of globalPaths(cid)) expect(fs.existsSync(file)).toBe(true);
+ });
+
+ it('refuses while the conversation has a live turn', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ await seedProject();
+ const conv = await chats.createConversation(UID, { title: 'busy' });
+ const cid = conv.conversation_id;
+ seedConversationBytes(cid);
+ expect((await chats.moveConversationToProject(UID, cid, PID)).ok).toBe(true);
+ // A running turn holds the session files open; relocating them under it is
+ // the race the guard exists to prevent, in either direction.
+ write(cloud('projects', PID, 'chats', cid, 'state.json'),
+ JSON.stringify({ status: 'running', in_flight: [] }));
+
+ expect(await chats.moveConversationOutOfProject(UID, cid)).toEqual({ ok: false, error: 'has_running_conv' });
+ for (const file of projectPaths(cid)) expect(fs.existsSync(file)).toBe(true);
+ expect(readIndex(cloud('projects', PID, 'chats', '_index.json')).some((r) => r.conversation_id === cid)).toBe(true);
+ });
+
+ it('restores the project row and bytes after process exit mid-unfile', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ await seedProject();
+ const conv = await chats.createConversation(UID, { title: 'interrupted undo' });
+ const other = await chats.createConversation(UID, { title: 'unrelated', projectId: PID });
+ const cid = conv.conversation_id;
+ seedConversationBytes(cid);
+ expect((await chats.moveConversationToProject(UID, cid, PID)).ok).toBe(true);
+
+ const result = spawnSync(process.execPath, ['-r', 'tsx/cjs', '-e', `
+ const fs = require('node:fs');
+ const slash = file => file.split(require('node:path').sep).join('/');
+ const uid = ${JSON.stringify(UID)}, cid = ${JSON.stringify(cid)};
+ require('./src/main/features/users.ts').activateUser(uid);
+ const chats = require('./src/main/features/chats.ts');
+ const rename = fs.renameSync;
+ fs.renameSync = function(from, to) {
+ const out = rename(from, to);
+ if (slash(to).endsWith('/cloud/chats/' + cid + '.jsonl')) process.exit(73);
+ return out;
+ };
+ chats.moveConversationOutOfProject(uid, cid).then(() => process.exit(74));
+ `], {
+ cwd: path.resolve(__dirname, '../../..'),
+ env: { ...process.env, ELECTRON_RUN_AS_NODE: '1', ORKAS_WORKSPACE_ROOT: tmpDir },
+ encoding: 'utf8', timeout: 30_000,
+ });
+ expect({ status: result.status, stdout: result.stdout, stderr: result.stderr, error: result.error?.message })
+ .toEqual({ status: 73, stdout: '', stderr: '', error: undefined });
+ expect(fs.existsSync(path.join(tmpDir, UID, 'local', 'conversation-moves', `${cid}.json`))).toBe(true);
+
+ vi.resetModules();
+ const users = await import('../../../src/main/features/users');
+ users.activateUser(UID);
+ const restarted = await import('../../../src/main/features/chats');
+ const layout = await import('../../../src/main/util/project-layout');
+ // Rolled back to the project: an uncommitted unfiling must not leave the row
+ // in the global index while its bytes sit under the project.
+ expect(layout.findProjectIdForConversation(UID, cid)).toBe(PID);
+ expect(fs.readFileSync(layout.conversationMessageReadFile(UID, cid), 'utf8'))
+ .toBe('{"from":"user","text":"hello"}\n');
+ const rows = await restarted.listConversations(UID);
+ expect(rows.filter(row => row.conversation_id === cid)).toHaveLength(1);
+ expect(rows.find(row => row.conversation_id === cid)?.project_id).toBe(PID);
+ expect(rows.find(row => row.conversation_id === other.conversation_id)?.project_id).toBe(PID);
+ for (const file of projectPaths(cid)) expect(fs.existsSync(file)).toBe(true);
+ // Still undoable after recovery.
+ expect((await restarted.moveConversationOutOfProject(UID, cid)).ok).toBe(true);
+ }, 40_000);
+
+ it('tells sync the project copies retired, not the ones that came back', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const { committedConversationRelocations } = await import('../../../src/main/util/conversation-relocate');
+ await seedProject();
+ const conv = await chats.createConversation(UID, { title: 'round trip' });
+ const cid = conv.conversation_id;
+ seedConversationBytes(cid);
+ expect((await chats.moveConversationToProject(UID, cid, PID)).ok).toBe(true);
+ expect((await chats.moveConversationOutOfProject(UID, cid)).ok).toBe(true);
+
+ // The surviving receipt is the undo's. Reporting the root paths as retired
+ // would tell sync to delete the bytes the user just got back.
+ const retired = committedConversationRelocations(UID).flatMap((item) => item.files);
+ expect(retired).toContain(`cloud/projects/${PID}/chats/${cid}.jsonl`);
+ expect(retired).toContain(`cloud/projects/${PID}/chat_attachments/${cid}/note.txt`);
+ expect(retired.some((file) => file === `cloud/chats/${cid}.jsonl`)).toBe(false);
+ expect(retired.every((file) => file.startsWith(`cloud/projects/${PID}/`))).toBe(true);
+ });
+});
diff --git a/test/main/features/conversation-assistance-context.test.ts b/test/main/features/conversation-assistance-context.test.ts
index 85f9adaf..e3d0a56c 100644
--- a/test/main/features/conversation-assistance-context.test.ts
+++ b/test/main/features/conversation-assistance-context.test.ts
@@ -53,14 +53,21 @@ describe('conversation entry assistance', () => {
expect(await reloaded.resolveConversationAssistanceForTurn('u1', cid)).toEqual({ kind: 'app_creation', guidance: first });
});
- it('preserves connector guidance and leaves ordinary, unknown and deleted tasks empty', async () => {
+ it('preserves connector guidance, adds follow-up only to existing projectless conversations', async () => {
const chats = await import('../../../src/main/features/chats');
const context = await import('../../../src/main/features/conversation_assistance_context');
const setup = await import('../../../src/main/features/connector_setup_context');
for (const assistance of [undefined, { kind: 'app-creation' }, ['app_creation']]) {
const conv = await chats.createConversation('u1', { assistance: assistance as any });
expect(conv.assistance).toBeUndefined();
- expect((await context.resolveConversationAssistanceForTurn('u1', conv.conversation_id)).guidance).toBe('');
+ // An unknown entry association contributes nothing; the follow-up guidance
+ // comes from the conversation having no project, not from entry metadata.
+ const { guidance } = await context.resolveConversationAssistanceForTurn('u1', conv.conversation_id);
+ expect(guidance).not.toContain('create_artifact');
+ expect(guidance).not.toContain('## Connector setup assistance');
+ expect(guidance).toBe(
+ fs.readFileSync(path.join(__dirname, '../../../src/main/prompts/followup_offer_guidance.md'), 'utf8').trim(),
+ );
}
const conv = await chats.createConversation('u1', {
assistance: { kind: 'connector_setup', connector_id: 'notion' },
@@ -68,10 +75,40 @@ describe('conversation entry assistance', () => {
const cid = conv.conversation_id;
const original = await setup.formatConnectorSetupForTurn('u1', cid);
expect(original).toContain('## Connector setup assistance');
- expect((await context.resolveConversationAssistanceForTurn('u1', cid)).guidance).toBe(original);
+ const withFollowUp = (await context.resolveConversationAssistanceForTurn('u1', cid)).guidance;
+ expect(withFollowUp.startsWith(original)).toBe(true);
+ expect(withFollowUp).toContain('## Keeping work going');
await chats.updateConversation('u1', cid, { assistance: { kind: 'app_creation' } });
expect(await setup.formatConnectorSetupForTurn('u1', cid)).toBe('');
await chats.deleteConversation('u1', cid);
expect((await context.resolveConversationAssistanceForTurn('u1', cid)).guidance).toBe('');
});
+
+ it('stops offering a project once the conversation has one or is on its way', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const projects = await import('../../../src/main/features/projects');
+ const filing = await import('../../../src/main/features/conversation_filing');
+ const context = await import('../../../src/main/features/conversation_assistance_context');
+ const created = await projects.createProject('u1', 'Already a project');
+ const pid = (created as { project: any }).project.project_id;
+
+ const filed = await chats.createConversation('u1', { title: 'filed' });
+ expect((await chats.moveConversationToProject('u1', filed.conversation_id, pid)).ok).toBe(true);
+ // Filing is impossible from here, so repeating the offer would ask the model
+ // to do something the host would refuse.
+ expect((await context.resolveConversationAssistanceForTurn('u1', filed.conversation_id)).guidance)
+ .not.toContain('## Keeping work going');
+
+ const pending = await chats.createConversation('u1', { title: 'pending' });
+ expect((await context.resolveConversationAssistanceForTurn('u1', pending.conversation_id)).guidance)
+ .toContain('## Keeping work going');
+ const queued = await filing.fileConversationUnderNewProject(
+ 'u1', pending.conversation_id, 'On its way', { moveNow: false },
+ );
+ expect(queued.ok).toBe(true);
+ // The relocation is recorded for the end of this turn; offering again in the
+ // same turn would produce a second project.
+ expect((await context.resolveConversationAssistanceForTurn('u1', pending.conversation_id)).guidance)
+ .not.toContain('## Keeping work going');
+ });
});
diff --git a/test/main/features/conversation-filing.test.ts b/test/main/features/conversation-filing.test.ts
new file mode 100644
index 00000000..78234ccc
--- /dev/null
+++ b/test/main/features/conversation-filing.test.ts
@@ -0,0 +1,250 @@
+/**
+ * Filing a loose conversation under a new project — the composition itself.
+ *
+ * `chats-move-to-project.test.ts` already owns the relocation: which bytes
+ * move, what happens when one location cannot, and how recovery settles. What
+ * is untested is the composition a caller with no picker performs — create the
+ * project, carry the conversation in, bind its member agents — and the two
+ * outcomes that composition can get wrong: leaving a stray project behind when
+ * the conversation was never eligible, and relocating a conversation whose turn
+ * is still running because the caller cannot wait for quiescence.
+ */
+
+import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest';
+import * as fs from 'node:fs';
+import * as os from 'node:os';
+import * as path from 'node:path';
+
+vi.mock('../../../src/main/logger', () => ({
+ createLogger: () => ({ debug: vi.fn(), info: vi.fn(), warn: vi.fn(), error: vi.fn() }),
+}));
+
+const registry = new Map<string, { agent_id: string; enabled?: boolean }>();
+vi.mock('../../../src/main/features/agents', () => ({
+ getAgent: async (id: string) => registry.get(id),
+}));
+
+let tmpDir: string;
+let prevWs: string | undefined;
+const UID = 'u-filing';
+
+beforeEach(async () => {
+ tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'orkas-conv-filing-'));
+ prevWs = process.env.ORKAS_WORKSPACE_ROOT;
+ process.env.ORKAS_WORKSPACE_ROOT = tmpDir;
+ registry.clear();
+ vi.resetModules();
+ const users = await import('../../../src/main/features/users');
+ users.activateUser(UID);
+});
+
+afterEach(async () => {
+ await (await import('../../../src/main/features/search/indexer')).flushAll();
+ vi.restoreAllMocks();
+ process.env.ORKAS_WORKSPACE_ROOT = prevWs;
+ fs.rmSync(tmpDir, { recursive: true, force: true });
+});
+
+const cloud = (...parts: string[]) => path.join(tmpDir, UID, 'cloud', ...parts);
+
+function readIndex(file: string): any[] {
+ try { return JSON.parse(fs.readFileSync(file, 'utf-8')); } catch { return []; }
+}
+
+/** The durable roster an agent's first turn writes. */
+function seedAgentMember(cid: string, agentId: string): void {
+ registry.set(agentId, { agent_id: agentId, enabled: true });
+ const file = cloud('chats', cid, 'members.json');
+ fs.mkdirSync(path.dirname(file), { recursive: true });
+ fs.writeFileSync(file, JSON.stringify({
+ version: 1,
+ actors: [
+ { kind: 'commander', id: 'commander', name: 'Commander' },
+ { kind: 'agent', id: agentId, name: 'Analyst' },
+ ],
+ }));
+}
+
+describe('conversation filing › fileConversationUnderNewProject', () => {
+ it('carries the conversation into a project it creates and binds its member agents', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const projects = await import('../../../src/main/features/projects');
+ const filing = await import('../../../src/main/features/conversation_filing');
+ const conv = await chats.createConversation(UID, { title: 'competitor releases' });
+ const cid = conv.conversation_id;
+ seedAgentMember(cid, 'agent-analyst');
+
+ const filed = await filing.fileConversationUnderNewProject(UID, cid, 'Competitor tracking');
+ expect(filed.ok).toBe(true);
+ const result = (filed as { result: any }).result;
+ expect(result.filed).toBe('moved');
+
+ // The conversation's own record moved, not just the returned object.
+ const pid = result.project.project_id;
+ expect(readIndex(cloud('chats', '_index.json')).some((r) => r.conversation_id === cid)).toBe(false);
+ expect(readIndex(cloud('projects', pid, 'chats', '_index.json'))
+ .find((r) => r.conversation_id === cid)?.project_id).toBe(pid);
+
+ // The member agent came along; the commander is not an agent binding.
+ const bindings = await projects.getBindings(UID, pid);
+ expect(bindings.agents).toEqual(['agent-analyst']);
+ expect(result.bound).toEqual(['agent-analyst']);
+ expect(result.unbound).toEqual([]);
+ });
+
+ it('refuses a conversation that already belongs to a project without leaving a new one behind', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const projects = await import('../../../src/main/features/projects');
+ const filing = await import('../../../src/main/features/conversation_filing');
+ const first = await projects.createProject(UID, 'Existing');
+ const pid = (first as { project: any }).project.project_id;
+ const conv = await chats.createConversation(UID, { title: 'already filed' });
+ expect((await chats.moveConversationToProject(UID, conv.conversation_id, pid)).ok).toBe(true);
+
+ const filed = await filing.fileConversationUnderNewProject(UID, conv.conversation_id, 'Second home');
+ expect(filed).toEqual({ ok: false, error: 'already_in_project' });
+ // The eligibility check has to run before the project is created, or the
+ // user is left with an empty project they never asked for.
+ expect((await projects.listProjects(UID)).map((p) => p.name)).toEqual(['Existing']);
+ });
+
+ it('creates the project but leaves the relocation to the host when the caller defers', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const projects = await import('../../../src/main/features/projects');
+ const filing = await import('../../../src/main/features/conversation_filing');
+ const conv = await chats.createConversation(UID, { title: 'mid-turn' });
+ const cid = conv.conversation_id;
+ seedAgentMember(cid, 'agent-writer');
+
+ const filed = await filing.fileConversationUnderNewProject(UID, cid, 'Deferred', { moveNow: false });
+ expect(filed.ok).toBe(true);
+ const result = (filed as { result: any }).result;
+ expect(result.filed).toBe('deferred');
+ expect(result.conversation).toBeUndefined();
+
+ // Project and bindings are ready; the conversation has not moved, because a
+ // caller inside the conversation's own turn cannot satisfy the quiescence
+ // guard the relocation requires.
+ const pid = result.project.project_id;
+ expect((await projects.getBindings(UID, pid)).agents).toEqual(['agent-writer']);
+ expect(readIndex(cloud('chats', '_index.json')).some((r) => r.conversation_id === cid)).toBe(true);
+ expect(fs.existsSync(cloud('projects', pid, 'chats', `${cid}.jsonl`))).toBe(false);
+ });
+
+ it('suffixes a duplicate project name instead of failing a caller that cannot ask again', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const projects = await import('../../../src/main/features/projects');
+ const filing = await import('../../../src/main/features/conversation_filing');
+ await projects.createProject(UID, 'Weekly report');
+ const conv = await chats.createConversation(UID, { title: 'another weekly' });
+
+ const filed = await filing.fileConversationUnderNewProject(
+ UID, conv.conversation_id, 'Weekly report', { uniquifyName: true },
+ );
+ expect(filed.ok).toBe(true);
+ expect((filed as { result: any }).result.project.name).toBe('Weekly report 2');
+ });
+
+ it('reports a duplicate name to a caller that can ask again', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const projects = await import('../../../src/main/features/projects');
+ const filing = await import('../../../src/main/features/conversation_filing');
+ await projects.createProject(UID, 'Weekly report');
+ const conv = await chats.createConversation(UID, { title: 'another weekly' });
+
+ const filed = await filing.fileConversationUnderNewProject(UID, conv.conversation_id, 'Weekly report');
+ expect(filed).toEqual({ ok: false, error: 'name_dup' });
+ expect((await projects.listProjects(UID)).length).toBe(1);
+ // A rejected name must not reserve the conversation forever: the caller
+ // can correct it and complete setup for the same work.
+ expect((await filing.fileConversationUnderNewProject(UID, conv.conversation_id, 'Corrected name')).ok).toBe(true);
+
+ });
+
+ it('still files the work when a member agent cannot be bound', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const projects = await import('../../../src/main/features/projects');
+ const filing = await import('../../../src/main/features/conversation_filing');
+ const conv = await chats.createConversation(UID, { title: 'disabled member' });
+ const cid = conv.conversation_id;
+ seedAgentMember(cid, 'agent-live');
+ // Present in the roster, refused by the account: the same gate the picker's
+ // IPC handler applies. Losing a binding is not a reason to leave the work
+ // where it was.
+ registry.set('agent-retired', { agent_id: 'agent-retired', enabled: false });
+ const file = cloud('chats', cid, 'members.json');
+ const roster = JSON.parse(fs.readFileSync(file, 'utf-8'));
+ roster.actors.push({ kind: 'agent', id: 'agent-retired', name: 'Retired' });
+ fs.writeFileSync(file, JSON.stringify(roster));
+
+ const filed = await filing.fileConversationUnderNewProject(UID, cid, 'Partial bindings');
+ expect(filed.ok).toBe(true);
+ const result = (filed as { result: any }).result;
+ expect(result.filed).toBe('moved');
+ expect(result.bound).toEqual(['agent-live']);
+ expect(result.unbound).toEqual(['agent-retired']);
+ expect((await projects.getBindings(UID, result.project.project_id)).agents).toEqual(['agent-live']);
+ });
+
+ it('files nothing when no filing was pending', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const projects = await import('../../../src/main/features/projects');
+ const filing = await import('../../../src/main/features/conversation_filing');
+ // The bus drains at every run's terminal boundary, for every conversation.
+ // A drain that picked up someone else's project would move work silently.
+ const created = await projects.createProject(UID, 'Unrelated');
+ const conv = await chats.createConversation(UID, { title: 'no pending filing' });
+
+ expect(filing.hasPendingConversationFiling(UID, conv.conversation_id)).toBe(false);
+ await filing.drainConversationFiling(UID, conv.conversation_id);
+
+ expect((await chats.getConversationMetadata(UID, conv.conversation_id))?.project_id).toBeFalsy();
+ expect(readIndex(cloud('projects', (created as { project: any }).project.project_id, 'chats', '_index.json')))
+ .toEqual([]);
+ });
+});
+
+
+describe('conversation filing › repeated deferred setup', () => {
+ it.each(['collision', 'exception'] as const)('reports a deferred unfile %s once and preserves its project', async failure => {
+ const chats = await import('../../../src/main/features/chats');
+ const filing = await import('../../../src/main/features/conversation_filing');
+ const conv = await chats.createConversation(UID, { title: 'Filed task' });
+ const created = await filing.fileConversationUnderNewProject(UID, conv.conversation_id, 'Keep project');
+ expect(created.ok).toBe(true);
+ const pid = (created as { result: any }).result.project.project_id;
+ const failed = vi.fn(), moved = vi.fn();
+ filing.onConversationFilingFailed(failed);
+ filing.onConversationFiled(moved);
+ expect((await filing.unfileConversation(UID, conv.conversation_id, { moveNow: false })).ok).toBe(true);
+ if (failure === 'collision') {
+ fs.writeFileSync(cloud('chats', `${conv.conversation_id}.jsonl`), 'collision must remain');
+ } else {
+ vi.spyOn(chats, 'moveConversationOutOfProject').mockRejectedValueOnce(new Error('synthetic storage failure'));
+ }
+ await filing.drainConversationFiling(UID, conv.conversation_id);
+ await filing.drainConversationFiling(UID, conv.conversation_id);
+ expect(failed).toHaveBeenCalledExactlyOnceWith({ userId: UID, cid: conv.conversation_id, kind: 'unfile' });
+ expect(moved).not.toHaveBeenCalled();
+ expect(filing.hasPendingConversationFiling(UID, conv.conversation_id)).toBe(false);
+ expect((await chats.getConversationMetadata(UID, conv.conversation_id))?.project_id).toBe(pid);
+ if (failure === 'collision') expect(fs.readFileSync(cloud('chats', `${conv.conversation_id}.jsonl`), 'utf8')).toBe('collision must remain');
+ });
+
+ it.each(['serial', 'concurrent'] as const)('rejects a %s second setup without creating another project', async mode => {
+ const chats = await import('../../../src/main/features/chats');
+ const projects = await import('../../../src/main/features/projects');
+ const filing = await import('../../../src/main/features/conversation_filing');
+ const conv = await chats.createConversation(UID, { title: 'one ongoing goal' });
+ const first = filing.fileConversationUnderNewProject(UID, conv.conversation_id, 'Tracking', { moveNow: false, uniquifyName: true });
+ if (mode === 'serial') await first;
+ const second = filing.fileConversationUnderNewProject(UID, conv.conversation_id, 'Tracking', { moveNow: false, uniquifyName: true });
+ const [accepted, refused] = await Promise.all([first, second]);
+ expect(accepted.ok).toBe(true);
+ expect(refused).toEqual({ ok: false, error: 'already_in_project' });
+ expect((await projects.listProjects(UID)).map(p => p.name)).toEqual(['Tracking']);
+ await filing.drainConversationFiling(UID, conv.conversation_id);
+ expect((await chats.getConversationMetadata(UID, conv.conversation_id))?.project_id)
+ .toBe((accepted as { result: any }).result.project.project_id);
+ });
+});
diff --git a/test/main/features/group_chat/app-nav-registry.test.ts b/test/main/features/group_chat/app-nav-registry.test.ts
index 6f18d073..66a694e5 100644
--- a/test/main/features/group_chat/app-nav-registry.test.ts
+++ b/test/main/features/group_chat/app-nav-registry.test.ts
@@ -131,7 +131,10 @@ function rendererNavHarness(failingFeature = '') {
return {
calls,
surfaces: (context as unknown as {
- __appNavSurfaces: Record<string, { open: (request: Record<string, string>) => Promise<void> }>;
+ __appNavSurfaces: Record<string, {
+ createKey?: string;
+ open: (request: Record<string, string>) => Promise<void>;
+ }>;
}).__appNavSurfaces,
};
}
@@ -627,6 +630,37 @@ describe('group_chat app_nav registry', () => {
expect(mountBlock).not.toContain('_onboardingTelemetryContext');
});
+ it('names create cards after what they create, not the page that hosts them', () => {
+ // A shared "Create in {name}" label read as "create inside a Project" on the Project card.
+ const { host, mount } = rendererMountHarness();
+ mount(host, {
+ app_nav_requests: ['projects', 'agents', 'skills', 'auto']
+ .map((surfaceId) => ({ surface_id: surfaceId, action: 'create' })),
+ });
+ expect(host.querySelector('.chat-app-nav-row')!.children.map((button) => button.textContent)).toEqual([
+ 'sidebar.project_create_title:Projects',
+ 'agent_modal.title:AI Team',
+ 'skill_modal.title_create:Skills',
+ 'auto.create_section_title:Auto',
+ ]);
+ });
+
+ it('ships create-card copy for every creatable surface in every renderer locale', () => {
+ const { surfaces } = rendererNavHarness();
+ const localeDir = path.join(path.dirname(RENDERER_CONVERSATION), '..', 'locales');
+ const tables: Record<string, Record<string, string>> = Object.fromEntries(fs.readdirSync(localeDir)
+ .filter((name) => name.endsWith('.json'))
+ .map((file) => [file, JSON.parse(fs.readFileSync(path.join(localeDir, file), 'utf8'))]));
+ for (const surface of APP_NAV_SURFACES.filter((item) => item.actions.includes('create'))) {
+ const key = surfaces[surface.id].createKey ?? '';
+ for (const [file, table] of Object.entries(tables)) {
+ expect(table[key]?.trim(), `${file}:${surface.id}`).toBeTruthy();
+ }
+ }
+ expect(tables['zh.json'][surfaces.projects.createKey ?? '']).toBe('新建项目');
+ expect(tables['en.json'][surfaces.projects.createKey ?? '']).toBe('New project');
+ });
+
it('keeps the page action compact, evenly spaced, regular-weight, and chevron-free', () => {
const source = fs.readFileSync(RENDERER_CONVERSATION, 'utf8');
const start = source.indexOf('function _mountAppNavRequests');
diff --git a/test/main/features/group_chat/bus-integration.test.ts b/test/main/features/group_chat/bus-integration.test.ts
index ba599a61..2cb39bd6 100644
--- a/test/main/features/group_chat/bus-integration.test.ts
+++ b/test/main/features/group_chat/bus-integration.test.ts
@@ -249,6 +249,11 @@ beforeEach(async () => {
});
afterEach(async () => {
+ // A timed-out hook can settle after the next fixture has started.
+ const cleanupRoot = tmpDir;
+ const restoreWorkspace = prevWs;
+ const restoreGlobalSkillsRoot = prevTestGlobalSkillsRoot;
+ const cleanupCids = new Set(cidsToDrop);
_resetStreamGates();
// Drop conv state so workers terminate before the tmpDir is rm'd —
// otherwise a half-finished worker writes after dir removal and we get
@@ -258,15 +263,14 @@ afterEach(async () => {
// Drop all known cids — the bus state map is module-internal but
// _cidStateForTest exposes per-cid; iterate via `_cids` indirectly
// by scanning the chats dir.
- const paths = await import('../../../../src/main/paths');
- const dir = paths.userChatsDir(TEST_UID);
+ const dir = path.join(cleanupRoot, TEST_UID, 'cloud', 'chats');
if (fs.existsSync(dir)) {
const entries = fs.readdirSync(dir, { withFileTypes: true });
for (const e of entries) {
- if (e.isDirectory()) cidsToDrop.add(e.name);
+ if (e.isDirectory()) cleanupCids.add(e.name);
}
}
- for (const cid of cidsToDrop) await bus.dropConv(TEST_UID, cid);
+ for (const cid of cleanupCids) await bus.dropConv(TEST_UID, cid);
} catch { /* ignore */ }
try {
const bashPermissions = await import('../../../../src/main/model/core-agent/bash-permissions');
@@ -279,10 +283,13 @@ afterEach(async () => {
// touched after the first drain before Windows removes the temp workspace.
await new Promise((resolve) => setTimeout(resolve, 50));
await drainMainRuntimeForTest();
- process.env.ORKAS_WORKSPACE_ROOT = prevWs;
- if (prevTestGlobalSkillsRoot === undefined) delete process.env.ORKAS_TEST_GLOBAL_SKILLS_ROOT;
- else process.env.ORKAS_TEST_GLOBAL_SKILLS_ROOT = prevTestGlobalSkillsRoot;
- fs.rmSync(tmpDir, { recursive: true, force: true });
+ if (process.env.ORKAS_WORKSPACE_ROOT === cleanupRoot) {
+ if (restoreWorkspace === undefined) delete process.env.ORKAS_WORKSPACE_ROOT;
+ else process.env.ORKAS_WORKSPACE_ROOT = restoreWorkspace;
+ if (restoreGlobalSkillsRoot === undefined) delete process.env.ORKAS_TEST_GLOBAL_SKILLS_ROOT;
+ else process.env.ORKAS_TEST_GLOBAL_SKILLS_ROOT = restoreGlobalSkillsRoot;
+ }
+ fs.rmSync(cleanupRoot, { recursive: true, force: true });
});
async function waitForQuiescent(uid: string, cid: string, timeoutMs = 2000) {
@@ -8986,3 +8993,61 @@ describe('group_chat bus integration › Skill creation correction', () => {
expect((await state.readState(TEST_UID, cid)).status).toBe('aborted');
});
});
+
+describe('group_chat bus integration › deferred conversation filing', () => {
+ // A tool can create the project during the turn but cannot relocate the
+ // conversation: the relocation refuses while the turn holds the session files
+ // open. The host finishes it at the quiescent boundary, and a cancelled run
+ // drops it — the reply that announced the project never reached the user.
+ it.each(['completed', 'cancelled'] as const)(
+ 'a %s turn settles the pending filing at the quiescent boundary', async (outcome) => {
+ const stateMod = await import('../../../../src/main/features/group_chat/state');
+ const bus = await import('../../../../src/main/features/group_chat/bus');
+ const chats = await import('../../../../src/main/features/chats');
+ const filing = await import('../../../../src/main/features/conversation_filing');
+
+ const conv = await chats.createConversation(TEST_UID, { title: 'weekly competitor report' });
+ const cid = conv.conversation_id;
+ cidsToDrop.add(cid);
+ const filed = await filing.fileConversationUnderNewProject(
+ TEST_UID, cid, `Competitor tracking ${outcome}`, { moveNow: false },
+ );
+ expect(filed.ok).toBe(true);
+ const pid = (filed as { result: any }).result.project.project_id;
+ // Deferred means deferred: nothing moved while the turn had not started.
+ expect((await chats.getConversationMetadata(TEST_UID, cid))?.project_id).toBeFalsy();
+
+ const gateName = `filing-${outcome}`;
+ _holdStream(gateName);
+ _setScript(stateMod.buildGconvSessionId(cid), [
+ { type: '__wait_for_gate__', name: gateName },
+ ...(outcome === 'cancelled'
+ ? [{ type: '__wait_for_abort__' }]
+ : [{ type: 'final', text: 'Report delivered.' }]),
+ ]);
+ const terminals: any[] = [];
+ const unsubscribe = bus.subscribeTaskTerminals((event) => {
+ if (event.conversation_id === cid) terminals.push(event);
+ });
+ try {
+ await bus.enqueue({ uid: TEST_UID, cid, fromActorId: 'user', text: 'Summarise this week.' });
+ _releaseStream(gateName);
+ if (outcome === 'cancelled') await bus.abort(TEST_UID, cid);
+ await waitForQuiescent(TEST_UID, cid, 4000);
+ expect(await waitUntil(() => terminals.length === 1)).toBe(true);
+ expect(terminals[0].status).toBe(outcome);
+ // Intent removal happens before relocation awaits storage. Await the
+ // actual tracked write rather than mistaking dequeue for completion.
+ const runtime = bus._cidStateForTest(TEST_UID, cid);
+ expect(runtime).not.toBeNull();
+ await Promise.all([...runtime!.backgroundWrites]);
+ expect(filing.hasPendingConversationFiling(TEST_UID, cid)).toBe(false);
+ const row = await chats.getConversationMetadata(TEST_UID, cid);
+ expect(row?.project_id || '').toBe(outcome === 'cancelled' ? '' : pid);
+ } finally {
+ unsubscribe();
+ _releaseStream(gateName);
+ }
+ },
+ );
+});
diff --git a/test/main/features/group_chat/bus.test.ts b/test/main/features/group_chat/bus.test.ts
index c1d6fd13..d58e96b5 100644
--- a/test/main/features/group_chat/bus.test.ts
+++ b/test/main/features/group_chat/bus.test.ts
@@ -2771,11 +2771,11 @@ describe('group_chat bus › enqueue routing + persistence', () => {
cidsToDrop.add(cid);
const events: any[] = [];
const unsub = bus.subscribe(TEST_UID, cid, event => events.push(event));
- await bus.enqueue({ uid: TEST_UID, cid, fromActorId: 'user', text: 'Inspect this project.', forceTo: [AGENT_ID] });
- await vi.waitFor(() => expect(cliRunMock.calls).toHaveLength(1));
- cliRunMock.calls[0].onEvent({ type: 'async-message', itemId: 'native-question', text: 'Which scope?', questions: [{ title: 'Which scope?', options: ['Current', 'All'] }] });
- await vi.waitFor(() => expect(events.some(event => event.msg?.cli_question)).toBe(true));
try {
+ await bus.enqueue({ uid: TEST_UID, cid, fromActorId: 'user', text: 'Inspect this project.', forceTo: [AGENT_ID] });
+ await vi.waitFor(() => expect(cliRunMock.calls).toHaveLength(1));
+ cliRunMock.calls[0].onEvent({ type: 'async-message', itemId: 'native-question', text: 'Which scope?', questions: [{ title: 'Which scope?', options: ['Current', 'All'] }] });
+ await vi.waitFor(() => expect(events.some(event => event.msg?.cli_question)).toBe(true));
const question = events.find(event => event.msg?.cli_question).msg;
const payload = { cid, message_id: question.id, cancelled: true };
expect(await respond(payload, { userId: 'other-account' })).toEqual({ ok: false, error: 'expired' });
@@ -2804,6 +2804,8 @@ describe('group_chat bus › enqueue routing + persistence', () => {
expect(cliRunMock.calls).toHaveLength(1);
rewrite.mockRestore();
} finally {
+ // A timed-out admission may reach the mock after this cleanup.
+ cliRunMock.activeIngress = null;
cliRunMock.releaseActiveIngressRun?.();
cliRunMock.releaseActiveIngressRun = null;
unsub();
diff --git a/test/main/features/project-setup-tool.test.ts b/test/main/features/project-setup-tool.test.ts
new file mode 100644
index 00000000..7b88e121
--- /dev/null
+++ b/test/main/features/project-setup-tool.test.ts
@@ -0,0 +1,263 @@
+/**
+ * `project_setup`: the model-visible contract for giving this conversation's
+ * work a project.
+ *
+ * The composition and the relocation are covered by conversation-filing and
+ * chats-move-to-project. What only this layer can get wrong is what the model
+ * is told and where the work lands: to-dos written into the account-wide backlog
+ * instead of the new project would be invisible where the user was told to look,
+ * and a receipt naming a project that was silently suffixed would make the reply
+ * wrong. Both actions also have opposite preconditions, and neither can move the
+ * conversation from inside the turn that calls it.
+ */
+
+import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest';
+import * as fs from 'node:fs';
+import * as os from 'node:os';
+import * as path from 'node:path';
+
+vi.mock('../../../src/main/logger', () => ({
+ createLogger: () => ({ debug: vi.fn(), info: vi.fn(), warn: vi.fn(), error: vi.fn() }),
+}));
+
+vi.mock('../../../src/main/features/agents', () => ({
+ getAgent: async () => undefined,
+}));
+
+let tmpDir: string;
+let prevWs: string | undefined;
+const UID = 'u-project-setup';
+
+beforeEach(async () => {
+ tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'orkas-project-setup-'));
+ prevWs = process.env.ORKAS_WORKSPACE_ROOT;
+ process.env.ORKAS_WORKSPACE_ROOT = tmpDir;
+ vi.resetModules();
+ const users = await import('../../../src/main/features/users');
+ users.activateUser(UID);
+});
+
+afterEach(async () => {
+ await (await import('../../../src/main/features/search/indexer')).flushAll();
+ vi.restoreAllMocks();
+ process.env.ORKAS_WORKSPACE_ROOT = prevWs;
+ fs.rmSync(tmpDir, { recursive: true, force: true });
+});
+
+async function tool(cid: string, projectId: string | null = null) {
+ const { createProjectSetupTool } = await import('../../../src/main/features/project_setup_tool');
+ return createProjectSetupTool({ userId: UID, cid, projectId });
+}
+
+async function call(cid: string, input: unknown, projectId: string | null = null) {
+ const executor = await tool(cid, projectId);
+ const result = await executor.execute(input as never, {} as never);
+ return { raw: result, body: JSON.parse(result.content as string) };
+}
+
+describe('project_setup › create', () => {
+ it.each([false, true])('reports retained setup after filing fails and retries into the same project (with todos=%s)', async (withTodos) => {
+ const chats = await import('../../../src/main/features/chats');
+ const projects = await import('../../../src/main/features/projects');
+ const tasks = await import('../../../src/main/features/project_tasks');
+ const filing = await import('../../../src/main/features/conversation_filing');
+ await projects.createProject(UID, 'Weekly report');
+ const conv = await chats.createConversation(UID, { title: 'file after reply' });
+ const cid = conv.conversation_id;
+ const messages = path.join(tmpDir, UID, 'cloud', 'chats', `${cid}.jsonl`);
+ fs.writeFileSync(messages, '{"from":"user","text":"weekly report"}\n');
+ const failures: unknown[] = [];
+ const successes = vi.fn();
+ filing.onConversationFilingFailed((event) => failures.push(event));
+ filing.onConversationFiled(successes);
+ // One requested todo cannot be persisted. The failure receipt must count
+ // successful writes, not the requested backlog or the existing project.
+ if (withTodos) vi.spyOn(tasks, 'createTask').mockResolvedValueOnce({ ok: false, error: 'write_failed' } as never);
+ const { body } = await call(cid, {
+ action: 'create', name: 'Weekly report',
+ ...(withTodos ? { todos: ['Unwritten item', 'Retained item'] } : {}),
+ });
+ const pid = body.project_id;
+ const beforeTasks = await tasks.listTasks(UID, pid);
+ expect(beforeTasks.map((task) => task.content)).toEqual(withTodos ? ['Retained item'] : []);
+ // Exercise the actual relocation rollback: an existing destination cannot
+ // be overwritten. Removing this obstacle makes the normal menu move legal.
+ const obstacle = path.join(tmpDir, UID, 'cloud', 'projects', pid, 'chats', `${cid}.jsonl`);
+ fs.mkdirSync(path.dirname(obstacle), { recursive: true });
+ fs.writeFileSync(obstacle, 'destination must survive');
+ await filing.drainConversationFiling(UID, cid);
+
+ expect(failures).toEqual([{
+ userId: UID, cid, projectId: pid, projectName: 'Weekly report 2', todosCreated: withTodos ? 1 : 0,
+ }]);
+ expect(successes).not.toHaveBeenCalled();
+ expect((await chats.getConversationMetadata(UID, cid))?.project_id).toBeFalsy();
+ expect(fs.readFileSync(messages, 'utf8')).toBe('{"from":"user","text":"weekly report"}\n');
+ expect(fs.readFileSync(obstacle, 'utf8')).toBe('destination must survive');
+ expect((await projects.listProjects(UID)).map((p) => p.name).sort()).toEqual(['Weekly report', 'Weekly report 2']);
+ expect(await tasks.listTasks(UID, pid)).toEqual(beforeTasks);
+ await filing.drainConversationFiling(UID, cid);
+ expect(failures).toHaveLength(1);
+ expect(filing.hasPendingConversationFiling(UID, cid)).toBe(false);
+
+ fs.unlinkSync(obstacle);
+ expect((await chats.moveConversationToProject(UID, cid, pid)).ok).toBe(true);
+ expect((await chats.getConversationMetadata(UID, cid))?.project_id).toBe(pid);
+ expect((await projects.listProjects(UID))).toHaveLength(2);
+ expect(await tasks.listTasks(UID, pid)).toEqual(beforeTasks);
+ expect(fs.readFileSync(obstacle, 'utf8')).toBe('{"from":"user","text":"weekly report"}\n');
+ });
+
+ it.each([false, true])('does not show a filing failure on success or cancellation (cancelled=%s)', async (cancelled) => {
+ const chats = await import('../../../src/main/features/chats');
+ const filing = await import('../../../src/main/features/conversation_filing');
+ const failures = vi.fn();
+ filing.onConversationFilingFailed(failures);
+ const conv = await chats.createConversation(UID, { title: 'normal terminal' });
+ const { body } = await call(conv.conversation_id, { action: 'create', name: 'Normal' });
+ await filing.drainConversationFiling(UID, conv.conversation_id, cancelled);
+ expect(failures).not.toHaveBeenCalled();
+ expect((await chats.getConversationMetadata(UID, conv.conversation_id))?.project_id || '')
+ .toBe(cancelled ? '' : body.project_id);
+ });
+
+ it('opens the new project with the to-dos it was given, not the account backlog', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const projectTasks = await import('../../../src/main/features/project_tasks');
+ const conv = await chats.createConversation(UID, { title: 'competitor watch' });
+ const cid = conv.conversation_id;
+
+ const { body } = await call(cid, {
+ action: 'create',
+ name: 'Competitor tracking',
+ todos: ['List the competitors worth watching', 'Agree the weekly check scope'],
+ });
+
+ expect(body.ok).toBe(true);
+ expect(body.todos_created).toBe(2);
+ expect(body.applies).toBe('when_this_turn_ends');
+ // In the project the user was told about, not the global backlog they were not.
+ const inProject = await projectTasks.listTasks(UID, body.project_id);
+ expect(inProject.map((task) => task.content).sort())
+ .toEqual(['Agree the weekly check scope', 'List the competitors worth watching']);
+ expect(await projectTasks.listTasks(UID, '')).toEqual([]);
+ });
+
+ it('reports the name the project actually got after a duplicate was suffixed', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const projects = await import('../../../src/main/features/projects');
+ await projects.createProject(UID, 'Weekly report');
+ const conv = await chats.createConversation(UID, { title: 'second weekly' });
+
+ const { body } = await call(conv.conversation_id, { action: 'create', name: 'Weekly report' });
+
+ // A reply that named the project the model asked for would be wrong.
+ expect(body.ok).toBe(true);
+ expect(body.project_name).toBe('Weekly report 2');
+ const named = (await projects.listProjects(UID)).find((p) => p.project_id === body.project_id);
+ expect(named?.name).toBe('Weekly report 2');
+ });
+
+ it('leaves the conversation where it is until the turn ends', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const conv = await chats.createConversation(UID, { title: 'mid-turn' });
+ const cid = conv.conversation_id;
+
+ const { body } = await call(cid, { action: 'create', name: 'Deferred' });
+
+ expect(body.ok).toBe(true);
+ // The relocation refuses while this turn holds the session files open, so
+ // the tool must not claim the conversation already moved.
+ expect((await chats.getConversationMetadata(UID, cid))?.project_id).toBeFalsy();
+ const filing = await import('../../../src/main/features/conversation_filing');
+ expect(filing.hasPendingConversationFiling(UID, cid)).toBe(true);
+ });
+
+ it('refuses a conversation that already has a project without creating one', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const projects = await import('../../../src/main/features/projects');
+ const created = await projects.createProject(UID, 'Existing');
+ const pid = (created as { project: any }).project.project_id;
+ const conv = await chats.createConversation(UID, { title: 'already filed' });
+ expect((await chats.moveConversationToProject(UID, conv.conversation_id, pid)).ok).toBe(true);
+
+ const { raw, body } = await call(conv.conversation_id, { action: 'create', name: 'Second home' }, pid);
+
+ expect({ isError: raw.isError, ok: body.ok, error: body.error })
+ .toEqual({ isError: true, ok: false, error: 'already_in_project' });
+ expect((await projects.listProjects(UID)).map((p) => p.name)).toEqual(['Existing']);
+ });
+
+ it('names the missing field instead of creating a project without one', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const projects = await import('../../../src/main/features/projects');
+ const conv = await chats.createConversation(UID, { title: 'nameless' });
+
+ const { raw, body } = await call(conv.conversation_id, { action: 'create' });
+
+ expect(raw.isError).toBe(true);
+ expect(body.error).toContain('name');
+ expect(await projects.listProjects(UID)).toEqual([]);
+ });
+
+ it('rejects an unbounded initial backlog before writing anything', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const projects = await import('../../../src/main/features/projects');
+ const conv = await chats.createConversation(UID, { title: 'too many' });
+
+ const { raw, body } = await call(conv.conversation_id, {
+ action: 'create',
+ name: 'Bounded',
+ todos: Array.from({ length: 11 }, (_unused, index) => `item ${index}`),
+ });
+
+ expect(raw.isError).toBe(true);
+ expect(body.ok).toBe(false);
+ expect(await projects.listProjects(UID)).toEqual([]);
+ });
+});
+
+describe('project_setup › unfile', () => {
+ it('queues the undo for the end of the turn', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const projects = await import('../../../src/main/features/projects');
+ const filing = await import('../../../src/main/features/conversation_filing');
+ const created = await projects.createProject(UID, 'Filed here');
+ const pid = (created as { project: any }).project.project_id;
+ const conv = await chats.createConversation(UID, { title: 'undo me' });
+ const cid = conv.conversation_id;
+ expect((await chats.moveConversationToProject(UID, cid, pid)).ok).toBe(true);
+
+ const { body } = await call(cid, { action: 'unfile' }, pid);
+
+ expect(body).toMatchObject({ ok: true, action: 'unfile', left_project_id: pid, applies: 'when_this_turn_ends' });
+ // Undoing moves the same bytes, so it cannot happen inside this turn either.
+ expect((await chats.getConversationMetadata(UID, cid))?.project_id).toBe(pid);
+ expect(filing.hasPendingConversationFiling(UID, cid)).toBe(true);
+ });
+
+ it('refuses a conversation that is not in a project', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const filing = await import('../../../src/main/features/conversation_filing');
+ const conv = await chats.createConversation(UID, { title: 'never filed' });
+
+ const { raw, body } = await call(conv.conversation_id, { action: 'unfile' });
+
+ expect({ isError: raw.isError, error: body.error }).toEqual({ isError: true, error: 'not_in_project' });
+ expect(filing.hasPendingConversationFiling(UID, conv.conversation_id)).toBe(false);
+ });
+
+ it('reports the create-only fields it ignored', async () => {
+ const chats = await import('../../../src/main/features/chats');
+ const projects = await import('../../../src/main/features/projects');
+ const created = await projects.createProject(UID, 'Filed here');
+ const pid = (created as { project: any }).project.project_id;
+ const conv = await chats.createConversation(UID, { title: 'undo with extras' });
+ expect((await chats.moveConversationToProject(UID, conv.conversation_id, pid)).ok).toBe(true);
+
+ const { body } = await call(conv.conversation_id, { action: 'unfile', name: 'ignored' }, pid);
+
+ expect(body.ok).toBe(true);
+ expect(body.ignored_fields).toEqual(['name']);
+ });
+});
diff --git a/test/main/model/core-agent/injected-tool-fixture.ts b/test/main/model/core-agent/injected-tool-fixture.ts
index bf44923b..a5cb368c 100644
--- a/test/main/model/core-agent/injected-tool-fixture.ts
+++ b/test/main/model/core-agent/injected-tool-fixture.ts
@@ -125,6 +125,7 @@ export function enumerateAllInjectedToolNames(): Set<string> {
'tool_result',
'project_instructions',
'todo_tasks',
+ 'project_setup',
'research_verify_citations',
'video_studio',
'list_connector_tools',
diff --git a/test/main/model/core-agent/tool-behavior-coverage.test.ts b/test/main/model/core-agent/tool-behavior-coverage.test.ts
index 50dc98ac..a75d4b56 100644
--- a/test/main/model/core-agent/tool-behavior-coverage.test.ts
+++ b/test/main/model/core-agent/tool-behavior-coverage.test.ts
@@ -59,6 +59,7 @@ const BEHAVIOR_SUITE_BY_TOOL: Record<string, string> = {
cross_session_memory: 'src/core-agent/test/memory-tool.test.ts',
project_instructions: 'src/core-agent/test/project-instructions-tool.test.ts',
todo_tasks: 'src/core-agent/test/project-tasks-tool.test.ts',
+ project_setup: 'test/main/features/project-setup-tool.test.ts',
metacognition: 'src/core-agent/test/metacognition-tool.test.ts',
skill_manage: 'src/core-agent/test/evolution.test.ts',
skill_search: 'test/main/features/group_chat/bus-integration.test.ts',
diff --git a/test/main/model/core-agent/tool-catalog.test.ts b/test/main/model/core-agent/tool-catalog.test.ts
index a0a027bc..5c062f45 100644
--- a/test/main/model/core-agent/tool-catalog.test.ts
+++ b/test/main/model/core-agent/tool-catalog.test.ts
@@ -291,6 +291,14 @@ describe('tool-catalog', () => {
expect(toolNamesForGroups(['management.marketplace'])).toEqual([
'marketplace_search', 'marketplace_request_install',
]);
+ // Creating a project and relocating the conversation is Commander's call, so
+ // the shared backlog group must not carry it into an Agent dependency.
+ expect(toolNamesForGroups(['management.projects'])).toEqual(['todo_tasks', 'project_setup']);
+ expect(toolNamesForAgentGroups(['management.projects'])).toEqual(['todo_tasks']);
+ expect(TOOL_CATALOG.find((entry) => entry.name === 'project_setup'))
+ .toMatchObject({ loadGroups: ['management.projects'], agentAssignable: false });
+ // run_program is denied by omission: the tool relocates user data.
+ expect(TOOL_CATALOG.find((entry) => entry.name === 'project_setup')?.programmatic).toBeUndefined();
expect(toolNamesForGroups(['management.automation'])).toEqual(['auto_tasks']);
expect(toolNamesForGroups(['management.app'])).toEqual(['open_app_view', 'app_health']);
// Keep the broad parent as an explicit compatibility alias while new
@@ -305,6 +313,7 @@ describe('tool-catalog', () => {
]);
expect(toolNamesForGroups(['management'])).toEqual([
'todo_tasks',
+ 'project_setup',
'skill_search',
'import_skill_package',
'marketplace_search',
diff --git a/test/main/model/runner.test.ts b/test/main/model/runner.test.ts
index 4ff17e05..233ee57c 100644
--- a/test/main/model/runner.test.ts
+++ b/test/main/model/runner.test.ts
@@ -1059,7 +1059,10 @@ describe('runner › scoped tool loading', () => {
expect(built.runner.getActiveToolDefinitions().map((tool) => tool.name)).not.toContain('todo_tasks');
const context = { workingDir: tmpDir, state: {} };
const load = await runner.tools.get('tool_load').execute({ groups: ['management.projects'] }, context);
- expect(JSON.parse(load.content)).toMatchObject({ ok: true, newly_activated_tools: ['todo_tasks'] });
+ // The same group carries the project-creation tool for Commander; both are
+ // dormant until this load, and neither is resident.
+ expect(JSON.parse(load.content))
+ .toMatchObject({ ok: true, newly_activated_tools: ['todo_tasks', 'project_setup'] });
expect(names).not.toHaveBeenCalled();
expect(built.runner.getActiveToolDefinitions().map((tool) => tool.name)).toContain('todo_tasks');
const tool = runner.tools.get('todo_tasks');
diff --git a/test/main/telemetry-delivery-ownership.test.ts b/test/main/telemetry-delivery-ownership.test.ts
index c56dea64..f4b5714e 100644
--- a/test/main/telemetry-delivery-ownership.test.ts
+++ b/test/main/telemetry-delivery-ownership.test.ts
@@ -16,6 +16,87 @@ function functionSource(name: string): string {
}
describe('Main task-terminal UI delivery', () => {
+ it('delivers successful filing only while its owner is active', () => {
+ let activeUser = 'owner-a';
+ let notify!: (event: any) => void;
+ const delivered: unknown[] = [];
+ const ast = ts.createSourceFile('index.ts', mainSource, ts.ScriptTarget.Latest, true);
+ let registration = '';
+ const visit = (node: ts.Node): void => {
+ if (ts.isCallExpression(node) && node.expression.getText(ast) === 'conversationFiling.onConversationFiled') {
+ registration = node.getText(ast);
+ }
+ ts.forEachChild(node, visit);
+ };
+ visit(ast);
+ expect(registration).not.toBe('');
+ const context = vm.createContext({
+ users: { hasActiveUser: () => !!activeUser, getActiveUserId: () => activeUser },
+ ipc: { broadcastToRenderer: (channel: string, payload: unknown) => { delivered.push({ channel, payload }); return true; } },
+ conversationFiling: { onConversationFiled: (cb: typeof notify) => { notify = cb; } },
+ });
+ vm.runInContext(ts.transpileModule(`${registration};`, {
+ compilerOptions: { target: ts.ScriptTarget.ES2022 },
+ }).outputText, context);
+ const event = { userId: 'owner-a', conversation: { conversation_id: 'c1', project_id: 'p1', title: 'Private task' } };
+ notify(event);
+ expect(delivered).toEqual([{ channel: 'conversations:filed', payload: { conversation: event.conversation } }]);
+ activeUser = 'owner-b';
+ notify(event);
+ activeUser = '';
+ notify(event);
+ expect(delivered).toHaveLength(1);
+ activeUser = 'owner-a';
+ notify({ ...event, conversation: { ...event.conversation, project_id: '' } });
+ expect(delivered).toHaveLength(2);
+ expect(delivered[1]).toEqual({ channel: 'conversations:filed', payload: {
+ conversation: { ...event.conversation, project_id: '' },
+ } });
+ });
+
+ it('replays filing failure receipts for their owner and drops them after an account switch', () => {
+ let activeUser = 'owner-a';
+ let notify!: (event: any) => void;
+ const delivered: unknown[] = [];
+ const ast = ts.createSourceFile('index.ts', mainSource, ts.ScriptTarget.Latest, true);
+ let registration = '';
+ const visit = (node: ts.Node): void => {
+ if (ts.isCallExpression(node) && node.expression.getText(ast) === 'conversationFiling.onConversationFilingFailed') {
+ registration = node.getText(ast);
+ }
+ ts.forEachChild(node, visit);
+ };
+ visit(ast);
+ expect(registration).not.toBe('');
+ const context = vm.createContext({
+ createRendererChannel,
+ users: { hasActiveUser: () => !!activeUser, getActiveUserId: () => activeUser },
+ ipc: { broadcastToRenderer: (channel: string, payload: unknown) => { delivered.push({ channel, payload }); return true; } },
+ conversationFiling: { onConversationFilingFailed: (cb: typeof notify) => { notify = cb; } },
+ });
+ vm.runInContext(ts.transpileModule([
+ 'let mainRendererReady = false;',
+ mainSource.slice(mainSource.indexOf('const rendererChannels:'), mainSource.indexOf('function emitTaskTerminalToRenderer(')),
+ `${registration};`,
+ ].join('\n'), { compilerOptions: { target: ts.ScriptTarget.ES2022 } }).outputText, context);
+ const event = { userId: 'owner-a', cid: 'c1', projectId: 'p1', projectName: 'Private project', todosCreated: 2 };
+ notify(event);
+ expect(delivered).toEqual([]);
+ vm.runInContext('mainRendererReady = true; for (const channel of rendererChannels) channel.flush();', context);
+ const expected = { ...event } as any;
+ delete expected.userId;
+ expect(delivered).toEqual([{ channel: 'conversations:filing-failed', payload: expected }]);
+
+ vm.runInContext('mainRendererReady = false;', context);
+ notify(event);
+ activeUser = 'owner-b';
+ vm.runInContext('mainRendererReady = true; for (const channel of rendererChannels) channel.flush();', context);
+ notify(event);
+ activeUser = '';
+ notify(event);
+ expect(delivered).toHaveLength(1);
+ });
+
it('delivers task terminals through subframe loads and replays them after a main-document reload', () => {
const delivered: unknown[] = [];
const webContents = new EventEmitter();
diff --git a/test/renderer/conversation-sidebar.test.ts b/test/renderer/conversation-sidebar.test.ts
index d3a81b74..ae9fd8ba 100644
--- a/test/renderer/conversation-sidebar.test.ts
+++ b/test/renderer/conversation-sidebar.test.ts
@@ -2018,8 +2018,10 @@ describe('conversation sidebar task row actions', () => {
expect(context._conversationActionItems('c1').map((it: any) => it.action))
.toEqual(['pin', 'rename', 'to-project', 'delete']);
+ // Filing can happen without a click, so a filed task offers the way back
+ // rather than nothing. The two entries are mutually exclusive.
expect(context._conversationActionItems('c2').map((it: any) => it.action))
- .toEqual(['pin', 'rename', 'delete']);
+ .toEqual(['pin', 'rename', 'out-of-project', 'delete']);
// Delete stays last, and stays the only destructive entry.
const loose = context._conversationActionItems('c1');
expect(loose[loose.length - 1].danger).toBe(true);
@@ -2029,12 +2031,14 @@ describe('conversation sidebar task row actions', () => {
expect(context._conversationActionItems('c1').find((it: any) => it.action === 'to-project').disabled).toBe(true);
vm.runInContext("groupBusyConvs.delete('c1'); pendingConvs.set('c1', { aborted: true })", context);
expect(context._conversationActionItems('c1').find((it: any) => it.action === 'to-project').disabled).toBe(true);
-
+ // The relocation refuses in either direction while a turn is live.
+ vm.runInContext("groupBusyConvs.set('c2', true)", context);
+ expect(context._conversationActionItems('c2').find((it: any) => it.action === 'out-of-project').disabled).toBe(true);
});
});
describe('conversation filing agent choices', () => {
- function setup(choice: any, rejected: string[] = [], moveFails = false) {
+ function setup(choice: any, rejected: string[] = [], moveFails = false, onPushEvent?: Function) {
const bindings = new Set(['already-bound']);
const toasts: string[] = [];
const ctx: any = {
@@ -2051,7 +2055,7 @@ describe('conversation filing agent choices', () => {
if (moveFails) return { ok: false, error: 'has_running_conv' };
return { ok: true, conversation: { conversation_id: 'c1', project_id: 'p1' } };
} }),
- window: { orkas: { invoke: vi.fn(async (channel: string, args: any) => {
+ window: { orkas: { onPushEvent, invoke: vi.fn(async (channel: string, args: any) => {
if (channel === 'projects.list') return { projects: [{ project_id: 'p1', name: 'Existing project' }] };
if (channel === 'projects.create') return { ok: true, project: { project_id: 'p1' } };
if (channel === 'projects.bindings.add') {
@@ -2069,6 +2073,28 @@ describe('conversation filing agent choices', () => {
return { ctx, bindings, toasts };
}
+ it.each([0, 2])('explains retained setup and manual recovery without retrying automatically (%s todos)', (count) => {
+ const listeners = new Map<string, Function>();
+ const subscribe = vi.fn((channel: string, handler: Function) => listeners.set(channel, handler));
+ const { ctx, toasts } = setup(null, [], false, subscribe);
+ // A reload flushes host receipts at did-finish-load, before deferred boot
+ // subscriptions run. This passive sink must already be listening then.
+ expect(listeners.has('conversations:filing-failed')).toBe(true);
+ ctx.startConversationFiledSubscription();
+ ctx.startConversationFiledSubscription();
+ expect(ctx.window.orkas.onPushEvent).toHaveBeenCalledTimes(2);
+ const onFailure = listeners.get('conversations:filing-failed');
+ expect(onFailure).toBeTypeOf('function');
+ onFailure!({ cid: 'c1', projectId: 'p1', projectName: 'Created project 2', todosCreated: count });
+ expect(JSON.parse(toasts[0])).toEqual({
+ key: count ? 'chat.conv_filing_failed_with_todos' : 'chat.conv_filing_failed',
+ args: { name: 'Created project 2', count },
+ });
+ expect(ctx.conversations[0].project_id).toBeUndefined();
+ expect(ctx.window.orkas.invoke).not.toHaveBeenCalled();
+ });
+
+
it.each([false, true])('adds only the chosen agents and preserves existing bindings (create=%s)', async (create) => {
const { ctx, bindings, toasts } = setup({ create, projectId: 'p1', agentIds: ['a1', 'a3'] });
await ctx._moveConversationToExistingProject('c1');
@@ -2081,6 +2107,62 @@ describe('conversation filing agent choices', () => {
expect(offered.find((agent: any) => agent.id === 'a1')).toMatchObject({ icon: 'rocket', color: 'coral' });
});
+ it('takes a filed task back out and stops nesting it under the old project', async () => {
+ const { ctx, toasts } = setup(null);
+ ctx.conversations = [{ conversation_id: 'c1', title: 'Filed', project_id: 'p1' }];
+ ctx.window.orkas.invoke = vi.fn(async (channel: string) => {
+ if (channel === 'conversations.moveOut') {
+ // The backend row simply omits project_id once the task is unfiled.
+ return { ok: true, conversation: { conversation_id: 'c1', title: 'Filed' } };
+ }
+ throw new Error(`unexpected channel ${channel}`);
+ });
+
+ await ctx._moveConversationOutOfProject('c1');
+
+ // Merging the returned row would leave the old project_id in the cache and
+ // the sidebar would keep the task nested under a project it left.
+ expect(ctx.conversations[0].project_id).toBe('');
+ expect(JSON.parse(toasts[0]).key).toBe('chat.conv_moved_out');
+ });
+
+ it('updates the sidebar from a host unfile receipt and reports an unfile refusal without retrying', async () => {
+ const listeners = new Map<string, Function>();
+ const { ctx, toasts } = setup(null, [], false, (channel: string, handler: Function) => listeners.set(channel, handler));
+ ctx.conversations = [{ conversation_id: 'c1', title: 'Filed', project_id: 'p1' }];
+ ctx.startConversationFiledSubscription();
+ listeners.get('conversations:filing-failed')!({ cid: 'c1', kind: 'unfile' });
+ expect(JSON.parse(toasts[0]).key).toBe('chat.conv_move_failed');
+ expect(ctx.conversations[0].project_id).toBe('p1');
+ expect(ctx.window.orkas.invoke).not.toHaveBeenCalled();
+ listeners.get('conversations:filed')!({ conversation: { conversation_id: 'c1', title: 'Filed' } });
+ await Promise.resolve();
+ expect(ctx.conversations[0].project_id).toBe('');
+ expect(ctx.conversations[0].title).toBe('Filed');
+ });
+
+ it('keeps a task where it is when the relocation is refused', async () => {
+ const { ctx, toasts } = setup(null);
+ ctx.conversations = [{ conversation_id: 'c1', title: 'Filed', project_id: 'p1' }];
+ ctx.window.orkas.invoke = vi.fn(async () => { throw new Error('has_running_conv'); });
+
+ await ctx._moveConversationOutOfProject('c1');
+
+ expect(ctx.conversations[0].project_id).toBe('p1');
+ expect(JSON.parse(toasts[0]).key).toBe('chat.conv_move_running');
+ });
+
+ it('does nothing for a task that is not in a project', async () => {
+ const { ctx, toasts } = setup(null);
+ ctx.conversations = [{ conversation_id: 'c1', title: 'Loose' }];
+ ctx.window.orkas.invoke = vi.fn(async () => { throw new Error('should not be called'); });
+
+ await ctx._moveConversationOutOfProject('c1');
+
+ expect(ctx.window.orkas.invoke).not.toHaveBeenCalled();
+ expect(toasts).toEqual([]);
+ });
+
it('omits the commander even when legacy summaries include its actor ids', async () => {
const { ctx } = setup(null);
ctx.apiFetch = async () => ({ json: async () => ({ actors: [
@@ -4552,15 +4634,15 @@ describe('conversation process metadata formatting', () => {
path.join(__dirname, '../../bin/orkas-bridge.cjs'),
'utf8',
);
- const registeredTools = (source: string) => [...source.matchAll(/server\.(?:tool|registerTool)\(\s*'([^']+)'/g)]
+ const registeredTools = (source: string) => [...source.matchAll(/(?:server\.(?:tool|registerTool)|\bregisterTool)\(\s*'([^']+)'/g)]
.map((match) => match[1])
.sort();
const presentedTools = [...new Set(orkasBridgeCases.map(([tool]) => tool))].sort();
expect(registeredTools(bridgeSource)).toEqual(presentedTools);
- // An uncovered tool must invalidate the matrix with either SDK API.
- for (const method of ['tool', 'registerTool']) {
- const extendedSource = `${bridgeSource}\nserver.${method}('uncovered_tool', {}, () => {});`;
+ // An uncovered tool must invalidate the matrix through either SDK API or the input adapter.
+ for (const method of ['server.tool', 'server.registerTool', 'registerTool']) {
+ const extendedSource = `${bridgeSource}\n${method}('uncovered_tool', {}, () => {});`;
expect(registeredTools(extendedSource)).toEqual([...presentedTools, 'uncovered_tool'].sort());
expect(registeredTools(extendedSource)).not.toEqual(presentedTools);
}
@@ -9937,6 +10019,20 @@ describe('chat attachment picker targeting', () => {
} finally { release(); }
});
+ it('names each create card after its destination action and rejects unsupported create requests', () => {
+ const context = loadConversationRenderer();
+ const locale = JSON.parse(fs.readFileSync(path.join(__dirname, '../../src/renderer/locales/en.json'), 'utf8'));
+ context.t = (key: string) => locale[key] || key;
+ context.document.createElement = createProcessTestElement;
+ const host = createProcessTestElement();
+ context._mountAppNavRequests(host, { app_nav_requests: [
+ ...['projects', 'agents', 'skills', 'auto', 'settings'].map(surface_id => ({ surface_id, action: 'create' })),
+ { surface_id: 'projects', action: 'create', target_id: 'existing-project' },
+ ] });
+ expect(host.children[0].children.map((button: any) => button.textContent))
+ .toEqual(['New project', 'New agent', 'New skill', 'New auto task']);
+ });
+
it('summarizes app navigation failures without logging raw exception text', () => {
const context = loadConversationRenderer();
context.__navigationWarningRows = [];
diff --git a/test/web/electron-cleanup.test.ts b/test/web/electron-cleanup.test.ts
new file mode 100644
index 00000000..969e2b53
--- /dev/null
+++ b/test/web/electron-cleanup.test.ts
@@ -0,0 +1,201 @@
+import { readFileSync } from 'node:fs';
+import path from 'node:path';
+import ts from 'typescript';
+import { spawn } from 'node:child_process';
+import { EventEmitter } from 'node:events';
+import { expect, it, vi } from 'vitest';
+import { closeElectronFixture, requestElectronQuit } from '../e2e/fixtures/electron-cleanup';
+
+it('defers graceful quit outside evaluation and waits for the real close event', async () => {
+ const app = new EventEmitter() as any;
+ app.windows = () => [{}];
+ let evaluating = false;
+ let requested = false;
+ let finished = false;
+ app.evaluate = async (callback: any) => {
+ evaluating = true;
+ callback({ app: { quit: () => { expect(evaluating).toBe(false); requested = true; } } });
+ expect(requested).toBe(false);
+ evaluating = false;
+ };
+ const completion = requestElectronQuit(app).then(() => { finished = true; });
+ await new Promise(resolve => setImmediate(resolve));
+ expect(requested).toBe(true);
+ expect(finished).toBe(false);
+ app.emit('close');
+ await completion;
+ expect(app.listenerCount('close')).toBe(0);
+});
+
+it('preserves quit request errors and removes the close observer', async () => {
+ const app = new EventEmitter() as any;
+ app.windows = () => [{}];
+ app.evaluate = async () => { throw new Error('inspector unavailable'); };
+ await expect(requestElectronQuit(app)).rejects.toThrow('inspector unavailable');
+ expect(app.listenerCount('close')).toBe(0);
+});
+
+it('waits for real close when quitting destroys the inspector before the close event', async () => {
+ const app = new EventEmitter() as any;
+ app.windows = () => [{}];
+ app.evaluate = async () => { throw new Error('electronApplication.evaluate: Execution context was destroyed, most likely because of a navigation.'); };
+ let finished = false;
+ const completion = requestElectronQuit(app).then(() => { finished = true; });
+ // Observe rejection immediately as well, so the negative control is bounded.
+ const observed = completion.catch(error => error);
+ await new Promise(resolve => setImmediate(resolve));
+ expect(finished).toBe(false);
+ app.emit('close');
+ expect(await observed).toBeUndefined();
+ expect(finished).toBe(true);
+ expect(app.listenerCount('close')).toBe(0);
+});
+
+it.skipIf(process.platform === 'darwin')('waits for natural shutdown after the final window closes', async () => {
+ const app = new EventEmitter() as any;
+ const child = new EventEmitter() as any;
+ child.exitCode = null;
+ child.signalCode = null;
+ app.windows = () => [];
+ app.process = () => child;
+ app.evaluate = vi.fn();
+ const completion = requestElectronQuit(app);
+ expect(app.evaluate).not.toHaveBeenCalled();
+ child.exitCode = 0;
+ child.emit('exit', 0);
+ await expect(completion).resolves.toBeUndefined();
+ expect(child.listenerCount('exit')).toBe(0);
+});
+
+it('captures ownership before a successful close disposes the application object', async () => {
+ let closed = false;
+ const child = { exitCode: 0, signalCode: null } as any;
+ await expect(closeElectronFixture({
+ process: () => { if (closed) throw new Error('Disposed application'); return child; },
+ close: async () => { closed = true; },
+ context: () => ({ tracing: { stop: async () => {} } }),
+ }, 'unused-trace.zip')).resolves.toBeUndefined();
+ expect(closed).toBe(true);
+});
+
+it('bounds stuck tracing and shutdown, stops only the owned process and preserves the failure', async () => {
+ const node = process.env.ORKAS_TEST_NODE || process.execPath;
+ const start = () => spawn(node, ['-e', 'setInterval(() => {}, 1000)'], {
+ detached: process.platform !== 'win32', windowsHide: true, stdio: 'ignore',
+ });
+ const owned = start();
+ const unrelated = start();
+ const phase = vi.fn();
+ try {
+ await expect(closeElectronFixture({ process: () => owned,
+ close: () => new Promise(() => {}),
+ context: () => ({ tracing: { stop: () => new Promise(() => {}) } }),
+ }, 'unused-trace.zip', { phase, traceTimeoutMs: 20, closeTimeoutMs: 20 }))
+ .rejects.toThrow('trace-stop, application-close');
+ expect(owned.exitCode !== null || owned.signalCode !== null).toBe(true);
+ expect(unrelated.exitCode).toBeNull();
+ expect(phase).toHaveBeenCalledWith('owned-process-cleanup', 'completed');
+ } finally {
+ for (const child of [owned, unrelated]) {
+ if (child.exitCode === null && child.signalCode === null) {
+ const exit = new Promise(resolve => child.once('exit', resolve));
+ child.kill('SIGKILL');
+ await exit;
+ }
+ }
+ }
+});
+
+it('retains the original application-close error as the cleanup failure cause', async () => {
+ const original = new Error('injected inspector close failure');
+ const result = closeElectronFixture({
+ process: () => ({ exitCode: 0, signalCode: null }) as any,
+ close: async () => { throw original; },
+ context: () => ({ tracing: { stop: async () => {} } }),
+ }, 'unused-trace.zip');
+ await expect(result).rejects.toMatchObject({
+ message: 'Electron fixture cleanup failed: application-close', cause: original,
+ });
+});
+
+// Exercise the actual owner method without loading Playwright's fixture runner.
+// A timeout may overlap relaunch with teardown; neither may duplicate trace/quit
+// or clear an application that has since replaced the captured instance.
+function createCleanupOwner(app: any) {
+ const file = ts.createSourceFile('orkas.ts', readFileSync(
+ path.join(__dirname, '../e2e/fixtures/orkas.ts'), 'utf8'), ts.ScriptTarget.Latest, true);
+ const owner = file.statements.find((node): node is ts.ClassDeclaration =>
+ ts.isClassDeclaration(node) && node.name?.text === 'OrkasTestApp');
+ if (!owner) throw new Error('Missing fixture owner');
+ const members = owner.members.filter(member =>
+ member.name && ['closeCurrentApp', 'appClosePromises'].includes(member.name.getText(file)));
+ const code = ts.transpileModule(`class CleanupOwner { ${members.map(m => m.getText(file)).join('\n')} }`, {
+ compilerOptions: { target: ts.ScriptTarget.ES2022 },
+ }).outputText;
+ const Owner = new Function('closeElectronFixture', 'requestElectronQuit', `${code}; return CleanupOwner;`)(
+ closeElectronFixture, requestElectronQuit);
+ return Object.assign(new Owner(), {
+ electronApp: app, page: {}, traceNumber: 0, tracePaths: [],
+ testInfo: { outputPath: (name: string) => name }, recordCleanupPhase: vi.fn(),
+ });
+}
+
+function controlledCleanupApp(closeError?: Error) {
+ let release!: () => void;
+ const tracingGate = new Promise<void>(resolve => { release = resolve; });
+ const app = new EventEmitter() as any;
+ app.windows = () => [{}];
+ app.process = () => ({ exitCode: 0, signalCode: null });
+ const stop = vi.fn(() => tracingGate);
+ app.context = () => ({ tracing: { stop } });
+ app.evaluate = vi.fn(async (callback: any) => {
+ if (closeError) throw closeError;
+ callback({ app: { quit: () => app.emit('close') } });
+ });
+ return { app, stop, release };
+}
+
+it('shares one trace and graceful shutdown when relaunch and teardown overlap', async () => {
+ const { app, stop, release } = controlledCleanupApp();
+ const owner = createCleanupOwner(app);
+ const first = owner.closeCurrentApp();
+ const second = owner.closeCurrentApp();
+ release();
+ await Promise.all([first, second]);
+ expect(stop).toHaveBeenCalledTimes(1);
+ expect(app.evaluate).toHaveBeenCalledTimes(1);
+ expect(owner.tracePaths).toEqual(['trace-1.zip']);
+ expect(owner.electronApp).toBeNull();
+ expect(owner.page).toBeNull();
+});
+
+it('delivers the same cleanup failure and original cause to both overlapping callers', async () => {
+ const cause = new Error('injected owner close failure');
+ const { app, release } = controlledCleanupApp(cause);
+ const owner = createCleanupOwner(app);
+ const results = Promise.allSettled([owner.closeCurrentApp(), owner.closeCurrentApp()]);
+ release();
+ const [first, second] = await results;
+ expect(first.status).toBe('rejected');
+ expect(second.status).toBe('rejected');
+ if (first.status !== 'rejected' || second.status !== 'rejected') throw new Error('Missing cleanup rejection');
+ expect(first.reason).toBe(second.reason);
+ expect(first.reason).toMatchObject({ message: 'Electron fixture cleanup failed: application-close', cause });
+ expect(owner.electronApp).toBeNull();
+});
+
+it('leaves a replacement application and page owned after the old close finishes', async () => {
+ const { app, release } = controlledCleanupApp();
+ const owner = createCleanupOwner(app);
+ const completion = owner.closeCurrentApp();
+ const replacement = controlledCleanupApp();
+ const replacementPage = {};
+ owner.electronApp = replacement.app;
+ owner.page = replacementPage;
+ release();
+ await completion;
+ expect(owner.electronApp).toBe(replacement.app);
+ expect(owner.page).toBe(replacementPage);
+ expect(replacement.stop).not.toHaveBeenCalled();
+ expect(replacement.app.evaluate).not.toHaveBeenCalled();
+});