🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
✨ feat(environment): simplify environments and copies (#20876)
Rdmclin2dd0470c498fb
diff --git a/apps/server/src/routers/lambda/__tests__/environmentDirectorySlug.test.ts b/apps/server/src/routers/lambda/__tests__/environmentDirectorySlug.test.tsindex a260ff212d8..69177d4ea73 100644--- a/apps/server/src/routers/lambda/__tests__/environmentDirectorySlug.test.ts+++ b/apps/server/src/routers/lambda/__tests__/environmentDirectorySlug.test.ts@@ -1,8 +1,7 @@import { isSafeSandboxCwd } from '@lobechat/builtin-tool-cloud-sandbox';+import { environmentDirectorySlug } from '@lobechat/utils/environmentInstance';import { describe, expect, it } from 'vitest';-import { environmentDirectorySlug } from '../sandboxStorage';-describe('environmentDirectorySlug', () => {it('keeps letters of any script, because a Chinese name must not become dashes', () => {expect(environmentDirectorySlug('Python 数据分析')).toBe('python-数据分析');diff --git a/apps/server/src/routers/lambda/__tests__/sandboxStorage.defaultInstance.test.ts b/apps/server/src/routers/lambda/__tests__/sandboxStorage.defaultInstance.test.tsnew file mode 100644index 00000000000..ae91be40e13--- /dev/null+++ b/apps/server/src/routers/lambda/__tests__/sandboxStorage.defaultInstance.test.ts@@ -0,0 +1,325 @@+// @vitest-environment node+import { getTestDB } from '@lobechat/database/test-utils';+import { pickDefaultInstance } from '@lobechat/utils/environmentInstance';+import { eq } from 'drizzle-orm';+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';++import {+ agents,+ environmentInstances,+ environments,+ projectEnvironments,+ projects,+ users,+} from '@/database/schemas';+import { SandboxStorageFilesError } from '@/server/services/sandbox/storageFiles';++import { sandboxStorageRouter } from '../sandboxStorage';++/**+ * The default-instance rules against a real database: what the router writes,+ * what it refuses, and what a refusal leaves behind. Only the execution plane+ * and the entitlement are stubbed; every row is read back from Postgres.+ */+const serverDB = await getTestDB();+const userId = 'sandbox-default-instance-user';++const plane = vi.hoisted(() => ({+ copyInstance: vi.fn(),+ deleteInstance: vi.fn(),+ readOccupancy: vi.fn(),+}));++vi.mock('@/business/server/trpc-middlewares/workspaceAuth', async () => {+ const mod = await vi.importActual<{ trpc: any }>('@/libs/trpc/lambda/init');+ return { wsCompatProcedure: mod.trpc.procedure };+});++vi.mock('@/libs/trpc/lambda/middleware', () => ({+ serverDatabase: async (opts: any) => opts.next({ ctx: { ...opts.ctx, serverDB } }),+}));++vi.mock('@/server/services/sandbox', () => ({+ resolveSandboxSessionConfig: vi.fn(),+ resolveSandboxStorageClaim: vi.fn(async () => ({ key: 'default-instance-ws', quotaBytes: 1 })),+}));++vi.mock('@/server/services/market', () => ({+ MarketService: vi.fn(function () {+ return { getSandboxStorageClient: () => plane };+ }),+}));++const caller = () => sandboxStorageRouter.createCaller({ serverDB, userId } as any);++type CreateEnvironmentInput = Parameters<ReturnType<typeof caller>['createEnvironment']>[0];++/** As the current client calls it: asking for the default instance. */+const createEnvironment = async (input: CreateEnvironmentInput) => {+ const { defaultInstance, ...environment } = await caller().createEnvironment({+ ...input,+ withDefaultInstance: true,+ });++ return { ...environment, defaultInstance: defaultInstance! };+};++const instancesOf = (environmentId: string) =>+ serverDB+ .select()+ .from(environmentInstances)+ .where(eq(environmentInstances.environmentId, environmentId));++const environmentExists = async (id: string) =>+ (await serverDB.select().from(environments).where(eq(environments.id, id))).length === 1;++const reset = async () => {+ await serverDB.delete(projectEnvironments);+ await serverDB.delete(projects);+ await serverDB.delete(agents);+ await serverDB.delete(environmentInstances);+ await serverDB.delete(environments);+ await serverDB.delete(users).where(eq(users.id, userId));+};++beforeEach(async () => {+ await reset();+ await serverDB.insert(users).values({ id: userId });+ plane.copyInstance.mockReset().mockResolvedValue(undefined);+ plane.deleteInstance.mockReset().mockResolvedValue(undefined);+ plane.readOccupancy.mockReset().mockResolvedValue({ held: [], unavailable: false });+});++afterEach(reset);++describe('createEnvironment', () => {+ it('persists exactly one instance with the environment, and returns it as the default', async () => {+ const created = await createEnvironment({+ configuration: { bootstrapCommand: 'pip install pandas' },+ name: 'Python 数据分析',+ });++ const rows = await instancesOf(created.id);+ expect(rows).toHaveLength(1);+ expect(created.defaultInstance).toMatchObject({+ environmentId: created.id,+ id: rows[0].id,+ kind: 'sandbox',+ name: 'python-数据分析',+ providerScope: 'default-instance-ws',+ status: 'pending',+ workingDirectory: 'python-数据分析',+ });+ expect(pickDefaultInstance(rows)?.id).toBe(created.defaultInstance.id);+ // Building is a sandbox cold start, left for the client's next call.+ expect(plane.readOccupancy).not.toHaveBeenCalled();+ });++ it('stores a default instance with nothing to build as ready', async () => {+ // No build will ever run for it, and a files environment offers no rebuild:+ // a row left `pending` here could only be cleared by deleting the environment.+ const created = await createEnvironment({+ configuration: { kind: 'files' },+ name: 'Quarterly reports',+ });++ expect(created.defaultInstance.status).toBe('ready');+ expect((await instancesOf(created.id))[0].status).toBe('ready');+ });++ it('stores a later copy with nothing to build as ready too', async () => {+ const created = await createEnvironment({+ configuration: { kind: 'files' },+ name: 'Quarterly reports',+ });++ const copy = await caller().createInstanceForEnvironment({ environmentId: created.id });++ expect(copy.status).toBe('ready');+ const rows = await instancesOf(created.id);+ expect(rows.find((row) => row.id === copy.id)?.status).toBe('ready');+ });++ it('creates the environment alone for a client that does not ask for a default instance', async () => {+ // A client from before default instances opens its own create-instance+ // dialog next; one made here too would leave it with two.+ const created = await caller().createEnvironment({ name: 'Legacy client' });++ expect(created.defaultInstance).toBeUndefined();+ expect(await instancesOf(created.id)).toHaveLength(0);+ expect(await environmentExists(created.id)).toBe(true);+ });++ it('derives the next directory when the slug is already taken in the workspace', async () => {+ const first = await createEnvironment({ name: 'Atlas' });+ const second = await createEnvironment({ name: 'atlas!' });++ expect(first.defaultInstance.workingDirectory).toBe('atlas');+ expect(second.defaultInstance.workingDirectory).toBe('atlas-2');+ });++ it('leaves nothing behind when the environment name is taken', async () => {+ await createEnvironment({ name: 'Taken' });++ await expect(createEnvironment({ name: 'Taken' })).rejects.toMatchObject({+ message: 'DUPLICATE_ENVIRONMENT_NAME',+ });+ expect(await serverDB.select().from(environmentInstances)).toHaveLength(1);+ });+});++describe('removeInstance', () => {+ it('refuses the default instance and keeps its row', async () => {+ const created = await createEnvironment({ name: 'Keep default' });++ await expect(caller().removeInstance({ id: created.defaultInstance.id })).rejects.toMatchObject(+ { code: 'FORBIDDEN', message: 'DEFAULT_INSTANCE' },+ );++ expect(plane.deleteInstance).not.toHaveBeenCalled();+ expect((await instancesOf(created.id)).map((row) => row.id)).toEqual([+ created.defaultInstance.id,+ ]);+ });++ it('removes a later copy and leaves the default in place', async () => {+ const created = await createEnvironment({ name: 'Two copies' });+ const copy = await caller().createInstanceForEnvironment({ environmentId: created.id });++ await caller().removeInstance({ id: copy.id });++ expect(plane.deleteInstance).toHaveBeenCalledWith({ name: copy.id, topicId: undefined });+ expect((await instancesOf(created.id)).map((row) => row.id)).toEqual([+ created.defaultInstance.id,+ ]);+ });++ it('treats the lower id as the default when two instances share a creation time', async () => {+ const created = await createEnvironment({ name: 'Tied' });+ const copy = await caller().createInstanceForEnvironment({ environmentId: created.id });+ await serverDB+ .update(environmentInstances)+ .set({ createdAt: new Date('2026-01-01T00:00:00Z') })+ .where(eq(environmentInstances.environmentId, created.id));+ const [lower, higher] = [created.defaultInstance.id, copy.id].sort();++ await expect(caller().removeInstance({ id: lower })).rejects.toMatchObject({+ message: 'DEFAULT_INSTANCE',+ });+ await caller().removeInstance({ id: higher });++ expect((await instancesOf(created.id)).map((row) => row.id)).toEqual([lower]);+ });+});++describe('copyInstance', () => {+ it('refuses a held source without writing a row', async () => {+ const created = await createEnvironment({ name: 'Held' });+ plane.readOccupancy.mockResolvedValue({+ held: [{ id: created.defaultInstance.id, own: false }],+ unavailable: false,+ });++ await expect(+ caller().copyInstance({+ id: created.defaultInstance.id,+ name: 'copy',+ workingDirectory: 'c',+ }),+ ).rejects.toMatchObject({ code: 'CONFLICT', message: 'INSTANCE_IN_USE' });++ expect(plane.copyInstance).not.toHaveBeenCalled();+ expect(await instancesOf(created.id)).toHaveLength(1);+ });++ it('refuses when occupancy cannot be read, rather than treating the source as free', async () => {+ const created = await createEnvironment({ name: 'Unknown' });+ plane.readOccupancy.mockRejectedValue(new Error('lease store down'));++ await expect(+ caller().copyInstance({+ id: created.defaultInstance.id,+ name: 'copy',+ workingDirectory: 'c',+ }),+ ).rejects.toMatchObject({ code: 'CONFLICT', message: 'INSTANCE_IN_USE' });++ expect(plane.copyInstance).not.toHaveBeenCalled();+ expect(await instancesOf(created.id)).toHaveLength(1);+ });++ it('copies an idle source into a ready instance', async () => {+ const created = await createEnvironment({ name: 'Idle' });++ const copy = await caller().copyInstance({+ id: created.defaultInstance.id,+ name: 'copy',+ workingDirectory: 'idle-copy',+ });++ expect(copy.status).toBe('ready');+ expect(await instancesOf(created.id)).toHaveLength(2);+ });+});++describe('removeEnvironment', () => {+ it('takes the default instance with it', async () => {+ const created = await createEnvironment({ name: 'Gone' });++ await caller().removeEnvironment({ id: created.id });++ expect(plane.deleteInstance).toHaveBeenCalledWith({+ name: created.defaultInstance.id,+ topicId: undefined,+ });+ expect(await environmentExists(created.id)).toBe(false);+ expect(await instancesOf(created.id)).toHaveLength(0);+ });++ it('rolls everything back when a run still holds the default instance', async () => {+ const created = await createEnvironment({ name: 'Held env' });+ plane.deleteInstance.mockRejectedValue(new SandboxStorageFilesError('in use', 409));++ await expect(caller().removeEnvironment({ id: created.id })).rejects.toMatchObject({+ code: 'CONFLICT',+ });++ expect(await environmentExists(created.id)).toBe(true);+ expect(await instancesOf(created.id)).toHaveLength(1);+ });++ it('refuses an environment a project still uses before touching the snapshot', async () => {+ const created = await createEnvironment({ name: 'Bound' });+ const [agent] = await serverDB.insert(agents).values({ userId }).returning();+ const [project] = await serverDB+ .insert(projects)+ .values({ coordinatorAgentId: agent.id, identifier: 'BND', name: 'Bound', userId })+ .returning();+ await serverDB+ .insert(projectEnvironments)+ .values({ environmentId: created.id, projectId: project.id });++ await expect(caller().removeEnvironment({ id: created.id })).rejects.toMatchObject({+ code: 'CONFLICT',+ message: 'ENVIRONMENT_HAS_INSTANCES',+ });++ expect(plane.deleteInstance).not.toHaveBeenCalled();+ expect(await environmentExists(created.id)).toBe(true);+ expect((await instancesOf(created.id)).map((row) => row.id)).toEqual([+ created.defaultInstance.id,+ ]);+ });++ it('refuses while a copy besides the default remains', async () => {+ const created = await createEnvironment({ name: 'Crowded' });+ await caller().createInstanceForEnvironment({ environmentId: created.id });++ await expect(caller().removeEnvironment({ id: created.id })).rejects.toMatchObject({+ message: 'ENVIRONMENT_HAS_INSTANCES',+ });++ expect(plane.deleteInstance).not.toHaveBeenCalled();+ expect(await instancesOf(created.id)).toHaveLength(2);+ });+});diff --git a/apps/server/src/routers/lambda/__tests__/sandboxStorage.test.ts b/apps/server/src/routers/lambda/__tests__/sandboxStorage.test.tsindex 10db3bcbdb9..aec6294cf29 100644--- a/apps/server/src/routers/lambda/__tests__/sandboxStorage.test.ts+++ b/apps/server/src/routers/lambda/__tests__/sandboxStorage.test.ts@@ -2,10 +2,16 @@import { beforeEach, describe, expect, it, vi } from 'vitest';// serverDatabase middleware calls getServerDB(); stub it (the model mock-// ignores the db handle anyway).+// ignores the db handle anyway). A transaction just runs its body: rollback is+// covered against a real database in sandboxStorage.defaultInstance.test.ts.+const { mockServerDB, mockTransaction } = vi.hoisted(() => {+ const mockTransaction = vi.fn(async (fn: (tx: unknown) => Promise<unknown>) => fn({}));+ return { mockServerDB: { transaction: mockTransaction }, mockTransaction };+});+vi.mock('@/database/core/db-adaptor', () => ({getServerDB: vi.fn(function () {- return {};+ return mockServerDB;}),}));@@ -16,12 +22,13 @@ const mockFindById = vi.fn();// path that is supposed to demand ownership.const mockFindOwnedById = vi.fn();const mockUpdate = vi.fn();+const mockDelete = vi.fn();vi.mock('@/database/models/environment', () => ({EnvironmentModel: vi.fn(function () {return {create: mockCreate,- delete: vi.fn(),+ delete: mockDelete,findById: mockFindById,findOwnedById: mockFindOwnedById,query: vi.fn(),@@ -137,12 +144,13 @@ const environmentId = '3f2504e0-4f89-11d3-9a0c-0305e82c3301';const buildInstanceId = '7b1e9c2a-5d43-4f8a-9c21-8f0e6a3b1d77';describe('sandboxStorageRouter', () => {- const ctx: any = { serverDB: {}, userId: 'user-1', workspaceId: 'ws-1' };+ const ctx: any = { serverDB: mockServerDB, userId: 'user-1', workspaceId: 'ws-1' };beforeEach(() => {vi.clearAllMocks();mockResolveClaim.mockResolvedValue({ key: 'ws-org-1', quotaBytes: 1024 });mockInstanceRecordBuildResult.mockResolvedValue(undefined);+ mockReadOccupancy.mockResolvedValue({ held: [], unavailable: false });});describe('createInstance', () => {@@ -194,9 +202,60 @@ describe('sandboxStorageRouter', () => {describe('removeInstance', () => {const instanceId = '0726286c-f1a1-4c9e-980d-80a8e837321d';+ const defaultId = '00000000-0000-4000-8000-000000000001';+ const created = new Date('2026-01-01T00:00:00Z');beforeEach(() => {- mockInstanceFindOwnedById.mockResolvedValue({ id: instanceId });+ mockInstanceFindOwnedById.mockResolvedValue({ environmentId, id: instanceId });+ // An older sibling is the default, so the instance under test is a copy.+ mockInstanceQuery.mockResolvedValue([+ { createdAt: created, id: defaultId },+ { createdAt: new Date('2026-02-01T00:00:00Z'), id: instanceId },+ ]);+ });++ it('refuses the default instance before reaching the execution plane', async () => {+ // The default is what the environment is: it goes with the environment,+ // and a broken one is rebuilt rather than deleted on its own.+ mockInstanceFindOwnedById.mockResolvedValue({ environmentId, id: defaultId });++ await expect(+ sandboxStorageRouter.createCaller(ctx).removeInstance({ id: defaultId }),+ ).rejects.toMatchObject({ code: 'FORBIDDEN', message: 'DEFAULT_INSTANCE' });++ expect(mockInstanceQuery).toHaveBeenCalledWith({ environmentId });+ expect(mockDeleteEnvironment).not.toHaveBeenCalled();+ expect(mockInstanceDelete).not.toHaveBeenCalled();+ });++ it("refuses an environment's only instance, which is its default", async () => {+ mockInstanceQuery.mockResolvedValue([{ createdAt: created, id: instanceId }]);++ await expect(+ sandboxStorageRouter.createCaller(ctx).removeInstance({ id: instanceId }),+ ).rejects.toMatchObject({ message: 'DEFAULT_INSTANCE' });+ expect(mockDeleteEnvironment).not.toHaveBeenCalled();+ });++ it('decides a tie on creation time by id: the lower id is the default', async () => {+ const lower = '10000000-0000-4000-8000-000000000000';+ const higher = '90000000-0000-4000-8000-000000000000';+ mockInstanceQuery.mockResolvedValue([+ { createdAt: created, id: higher },+ { createdAt: created, id: lower },+ ]);+ mockDeleteEnvironment.mockResolvedValue(undefined);+ const caller = sandboxStorageRouter.createCaller(ctx);++ mockInstanceFindOwnedById.mockResolvedValue({ environmentId, id: lower });+ await expect(caller.removeInstance({ id: lower })).rejects.toMatchObject({+ message: 'DEFAULT_INSTANCE',+ });++ mockInstanceFindOwnedById.mockResolvedValue({ environmentId, id: higher });+ await caller.removeInstance({ id: higher });+ expect(mockInstanceDelete).toHaveBeenCalledWith(higher);+ expect(mockInstanceDelete).not.toHaveBeenCalledWith(lower);});it('deletes the row when the execution plane has no snapshot for it', async () => {@@ -413,6 +472,235 @@ describe('sandboxStorageRouter', () => {expect(mockInstanceUpdate).toHaveBeenCalledWith('copy-1', { status: 'ready' });expect(result.status).toBe('ready');});++ describe('while the source is held', () => {+ beforeEach(() => {+ mockInstanceFindOwnedById.mockResolvedValue({+ environmentId,+ id: buildInstanceId,+ workingDirectory: 'src',+ });+ });++ it('refuses a source a conversation is holding, before any row exists', async () => {+ // A held instance is mid-write; a copy would capture a half-changed tree.+ mockReadOccupancy.mockResolvedValue({+ held: [{ id: buildInstanceId, own: false }],+ unavailable: false,+ });++ await expect(+ sandboxStorageRouter+ .createCaller(ctx)+ .copyInstance({ id: buildInstanceId, name: 'copy', workingDirectory: 'copy' }),+ ).rejects.toMatchObject({ code: 'CONFLICT', message: 'INSTANCE_IN_USE' });++ expect(mockReadOccupancy).toHaveBeenCalledWith({ names: [buildInstanceId] });+ expect(mockInstanceCreate).not.toHaveBeenCalled();+ expect(mockCopyEnvironment).not.toHaveBeenCalled();+ });++ it('refuses when the lease store cannot answer, rather than reading it as free', async () => {+ mockReadOccupancy.mockRejectedValue(new Error('redis down'));++ await expect(+ sandboxStorageRouter+ .createCaller(ctx)+ .copyInstance({ id: buildInstanceId, name: 'copy', workingDirectory: 'copy' }),+ ).rejects.toMatchObject({ code: 'CONFLICT', message: 'INSTANCE_IN_USE' });++ expect(mockInstanceCreate).not.toHaveBeenCalled();+ expect(mockCopyEnvironment).not.toHaveBeenCalled();+ });++ it('refuses when the lease store reports itself unavailable', async () => {+ mockReadOccupancy.mockResolvedValue({ held: [], unavailable: true });++ await expect(+ sandboxStorageRouter+ .createCaller(ctx)+ .copyInstance({ id: buildInstanceId, name: 'copy', workingDirectory: 'copy' }),+ ).rejects.toMatchObject({ message: 'INSTANCE_IN_USE' });++ expect(mockInstanceCreate).not.toHaveBeenCalled();+ });+ });+ });++ describe('createEnvironment', () => {+ const created = { id: environmentId, name: 'Python 数据分析' };++ it('creates the default instance in the same call and returns it unbuilt', async () => {+ // The build is a sandbox cold start, so it stays the client's next call.+ mockCreate.mockResolvedValue(created);+ mockInstanceCreate.mockResolvedValue({+ configurationSnapshot: { bootstrapCommand: 'pip install pandas' },+ id: 'default-1',+ status: 'pending',+ workingDirectory: 'python-数据分析',+ });++ const result = await sandboxStorageRouter.createCaller(ctx).createEnvironment({+ configuration: { bootstrapCommand: 'pip install pandas' },+ name: 'Python 数据分析',+ withDefaultInstance: true,+ });++ expect(mockInstanceCreate).toHaveBeenCalledWith(+ expect.objectContaining({+ environmentId,+ kind: 'sandbox',+ name: 'python-数据分析',+ providerScope: 'ws-org-1',+ workingDirectory: 'python-数据分析',+ }),+ );+ expect(result).toMatchObject({+ defaultInstance: { id: 'default-1', status: 'pending' },+ id: environmentId,+ });+ expect(mockTransaction).toHaveBeenCalledTimes(1);+ expect(mockBuildInstance).not.toHaveBeenCalled();+ expect(mockInstanceUpdate).not.toHaveBeenCalled();+ });++ it('settles a default instance with nothing to build as ready, without waiting for the client', async () => {+ // The client's follow-up build call may never arrive — a closed tab is+ // enough — and nothing else would ever move the row out of `pending`.+ mockCreate.mockResolvedValue(created);+ mockInstanceCreate.mockResolvedValue({+ configurationSnapshot: { kind: 'files' },+ id: 'default-1',+ status: 'pending',+ workingDirectory: 'python-数据分析',+ });++ const result = await sandboxStorageRouter.createCaller(ctx).createEnvironment({+ configuration: { kind: 'files' },+ name: 'Python 数据分析',+ withDefaultInstance: true,+ });++ expect(mockInstanceUpdate).toHaveBeenCalledWith('default-1', { status: 'ready' });+ expect(result.defaultInstance).toMatchObject({ id: 'default-1', status: 'ready' });+ expect(mockBuildInstance).not.toHaveBeenCalled();+ });++ it('creates no instance for a client that does not ask for one', async () => {+ // A client from before default instances follows with its own+ // create-instance dialog; an instance made here too would be a second.+ mockCreate.mockResolvedValue(created);++ const result = await sandboxStorageRouter+ .createCaller(ctx)+ .createEnvironment({ name: 'Python 数据分析' });++ expect(mockCreate).toHaveBeenCalledWith({ name: 'Python 数据分析' });+ expect(mockInstanceCreate).not.toHaveBeenCalled();+ expect(result).toMatchObject({ id: environmentId });+ expect(result.defaultInstance).toBeUndefined();+ });++ it('derives the next free directory when the first is taken', async () => {+ mockCreate.mockResolvedValue(created);+ mockInstanceCreate+ .mockRejectedValueOnce(uniqueViolation('environment_instances_provider_path_unique'))+ .mockResolvedValueOnce({ id: 'default-1', workingDirectory: 'python-数据分析-2' });++ const result = await sandboxStorageRouter+ .createCaller(ctx)+ .createEnvironment({ name: 'Python 数据分析', withDefaultInstance: true });++ expect(mockInstanceCreate).toHaveBeenLastCalledWith(+ expect.objectContaining({ workingDirectory: 'python-数据分析-2' }),+ );+ expect(result.defaultInstance?.workingDirectory).toBe('python-数据分析-2');+ });++ it('fails the whole transaction when its default instance cannot be created', async () => {+ // No compensating delete: the environment insert is rolled back with it.+ mockCreate.mockResolvedValue(created);+ mockInstanceCreate.mockRejectedValueOnce(new Error('db down'));++ await expect(+ sandboxStorageRouter+ .createCaller(ctx)+ .createEnvironment({ name: 'Python 数据分析', withDefaultInstance: true }),+ ).rejects.toThrow('db down');+ expect(mockTransaction).toHaveBeenCalledTimes(1);+ expect(mockDelete).not.toHaveBeenCalled();+ });+ });++ describe('removeEnvironment', () => {+ const onlyInstance = { id: '0726286c-f1a1-4c9e-980d-80a8e837321d', kind: 'sandbox' };++ beforeEach(() => {+ mockFindOwnedById.mockResolvedValue({ id: environmentId });+ mockDelete.mockResolvedValue({ id: environmentId });+ mockInstanceDelete.mockResolvedValue(onlyInstance);+ });++ it('takes the default instance with it, rows first and the snapshot last', async () => {+ // The snapshot goes only once both deletes have gone through, inside the+ // transaction: anything that refuses earlier leaves it untouched.+ mockInstanceQuery.mockResolvedValue([onlyInstance]);+ mockDeleteEnvironment.mockRejectedValue(new SandboxStorageFilesError('gone', 404));++ await sandboxStorageRouter.createCaller(ctx).removeEnvironment({ id: environmentId });++ expect(mockTransaction).toHaveBeenCalledTimes(1);+ expect(mockInstanceDelete).toHaveBeenCalledWith(onlyInstance.id);+ expect(mockDelete).toHaveBeenCalledWith(environmentId);+ expect(mockDeleteEnvironment).toHaveBeenCalledWith({ name: onlyInstance.id });+ expect(mockDelete.mock.invocationCallOrder[0]).toBeLessThan(+ mockDeleteEnvironment.mock.invocationCallOrder[0],+ );+ });++ it('never drops the snapshot when the environment delete is refused', async () => {+ // A project still bound to the environment: its restrict reference fails+ // the delete, the transaction rolls the instance row back, and the built+ // state has not been touched.+ mockInstanceQuery.mockResolvedValue([onlyInstance]);+ const restricted = new Error('violates foreign key constraint');+ (restricted as any).cause = { code: '23503' };+ mockDelete.mockRejectedValueOnce(restricted);++ await expect(+ sandboxStorageRouter.createCaller(ctx).removeEnvironment({ id: environmentId }),+ ).rejects.toMatchObject({ code: 'CONFLICT', message: 'ENVIRONMENT_HAS_INSTANCES' });+ expect(mockDeleteEnvironment).not.toHaveBeenCalled();+ });++ it('fails the transaction when a run still holds the default instance', async () => {+ mockInstanceQuery.mockResolvedValue([onlyInstance]);+ mockDeleteEnvironment.mockRejectedValueOnce(new SandboxStorageFilesError('in use', 409));++ await expect(+ sandboxStorageRouter.createCaller(ctx).removeEnvironment({ id: environmentId }),+ ).rejects.toMatchObject({ code: 'CONFLICT' });+ });++ it('refuses while copies other than the default remain', async () => {+ mockInstanceQuery.mockResolvedValue([onlyInstance, { id: 'copy', kind: 'sandbox' }]);++ await expect(+ sandboxStorageRouter.createCaller(ctx).removeEnvironment({ id: environmentId }),+ ).rejects.toMatchObject({ code: 'CONFLICT', message: 'ENVIRONMENT_HAS_INSTANCES' });+ expect(mockDeleteEnvironment).not.toHaveBeenCalled();+ expect(mockDelete).not.toHaveBeenCalled();+ });++ it('refuses an environment the caller does not own, before reaching the execution plane', async () => {+ mockFindOwnedById.mockResolvedValue(undefined);++ await expect(+ sandboxStorageRouter.createCaller(ctx).removeEnvironment({ id: environmentId }),+ ).rejects.toMatchObject({ code: 'NOT_FOUND' });+ expect(mockInstanceQuery).not.toHaveBeenCalled();+ expect(mockDeleteEnvironment).not.toHaveBeenCalled();+ });});describe('startInstanceBuild', () => {@@ -451,6 +739,56 @@ describe('sandboxStorageRouter', () => {expect(mockInstanceUpdate).toHaveBeenLastCalledWith(buildInstanceId, { buildId: 'b-1' });});+ // The execution plane digests the specification it is sent to decide which+ // build a snapshot belongs to. `kind` only picks the form the product+ // shows, so an instance created after its environment gained one must be+ // sent exactly what it would have been sent before.+ it('sends the same specification whether or not the definition carries a kind', async () => {+ mockBuildInstance.mockResolvedValue({ buildId: 'b-1' });++ mockInstanceFindOwnedById.mockResolvedValue({+ configurationSnapshot: spec,+ id: buildInstanceId,+ workingDirectory: 'atlas',+ });+ await sandboxStorageRouter+ .createCaller(ctx)+ .startInstanceBuild({ id: buildInstanceId, topicId: 'tpc-1' });+ const before = mockBuildInstance.mock.lastCall?.[0].specification;++ mockInstanceFindOwnedById.mockResolvedValue({+ configurationSnapshot: { ...spec, kind: 'code' },+ id: buildInstanceId,+ workingDirectory: 'atlas',+ });+ await sandboxStorageRouter+ .createCaller(ctx)+ .startInstanceBuild({ id: buildInstanceId, topicId: 'tpc-1' });+ const after = mockBuildInstance.mock.lastCall?.[0].specification;++ expect(after).toEqual(before);+ expect(after).toEqual(spec);+ expect(after).not.toHaveProperty('kind');+ });++ // A files environment clones nothing and installs nothing, so its instance+ // is ready the moment it exists rather than waiting on a sandbox.+ it('settles a files environment ready without starting a build', async () => {+ mockInstanceFindOwnedById.mockResolvedValue({+ configurationSnapshot: { kind: 'files' },+ id: buildInstanceId,+ workingDirectory: 'notes',+ });++ const result = await sandboxStorageRouter+ .createCaller(ctx)+ .startInstanceBuild({ id: buildInstanceId, topicId: 'tpc-1' });++ expect(result).toEqual({ buildId: null });+ expect(mockBuildInstance).not.toHaveBeenCalled();+ expect(mockInstanceUpdate).toHaveBeenCalledWith(buildInstanceId, { status: 'ready' });+ });+it('carries the App installation credential when one could be minted', async () => {// Resolved on this side because the App's private key lives here; the// execution plane is handed the result and never the inputs.@@ -767,6 +1105,30 @@ describe('sandboxStorageRouter', () => {});});+ describe('environment kind', () => {+ // Stored with the rest of the definition, in the same jsonb column: no+ // migration and no backfill, so the parse must keep it rather than strip it+ // as an unknown key.+ it('stores the kind chosen at creation and refuses any other value', async () => {+ const caller = sandboxStorageRouter.createCaller(ctx);+ mockCreate.mockResolvedValue({ id: 'env-files', name: 'Notes' });++ await caller.createEnvironment({ configuration: { kind: 'files' }, name: 'Notes' });+ expect(mockCreate).toHaveBeenCalledWith(+ expect.objectContaining({ configuration: { kind: 'files' } }),+ );++ mockCreate.mockClear();+ await expect(+ caller.createEnvironment({+ configuration: { kind: 'cluster' as never },+ name: 'Refused',+ }),+ ).rejects.toThrow();+ expect(mockCreate).not.toHaveBeenCalled();+ });+ });+describe('environment source urls', () => {it('stores a github checkout and refuses any other host', async () => {// The picker only ever produces a github.com URL, but this is an RPC: a@@ -774,6 +1136,7 @@ describe('sandboxStorageRouter', () => {// and have the build make the execution plane fetch it.const caller = sandboxStorageRouter.createCaller(ctx);mockCreate.mockResolvedValue({ id: 'env-allowed', name: 'Allowed' });+ mockInstanceCreate.mockResolvedValue({ id: 'default-allowed' });await caller.createEnvironment({configuration: { sources: [{ kind: 'git', url: 'https://github.com/lobehub/lobehub' }] },diff --git a/apps/server/src/routers/lambda/sandboxStorage.ts b/apps/server/src/routers/lambda/sandboxStorage.tsindex 28c216ca707..f11526d4d8d 100644--- a/apps/server/src/routers/lambda/sandboxStorage.ts+++ b/apps/server/src/routers/lambda/sandboxStorage.ts@@ -1,6 +1,13 @@import { isSafeSandboxCwd } from '@lobechat/builtin-tool-cloud-sandbox';import { ConnectorDataError } from '@lobechat/connector-data';import { MAX_REPOSITORY_BRANCHES } from '@lobechat/connector-data/github';+import { type LobeChatDatabase } from '@lobechat/database';+import { toExecutionConfiguration } from '@lobechat/types';+import {+ derivedInstanceDirectory,+ isDefaultInstance,+ MAX_DERIVED_DIRECTORY_ATTEMPTS,+} from '@lobechat/utils/environmentInstance';import { TRPCError } from '@trpc/server';import pMap from 'p-map';import { z } from 'zod';@@ -271,6 +278,9 @@ const configurationSchema = z.object({env: environmentEnvSchema.optional(),excludePaths: z.array(relativePathSchema).max(64).optional(),internetAccess: z.boolean().optional(),+ // Which form the product shows. Accepted here so it is stored rather than+ // stripped by the parse; it never travels on to the execution plane.+ kind: z.enum(['files', 'code']).optional(),maintenanceCommand: z.string().max(8000).optional(),// One repository per environment. The wire format stays a list because the// execution plane checks out an array of sources, but an environment that@@ -339,40 +349,6 @@ const rethrowDuplicateInstanceDirectory = (error: unknown): never => {throw error;};-/**- * How many derived directories to try before giving up.- *- * A bound rather than a loop until success: the only way to exhaust it is a- * member who already holds fifty directories under one name, and at that point- * the honest answer is to say so rather than keep probing the index.- */-const MAX_DERIVED_DIRECTORY_ATTEMPTS = 50;--/**- * A directory name derived from an environment's name.- *- * Letters and digits of any script survive — a Chinese environment name should- * not become a row of dashes — while everything else collapses to `-`, because- * this name is handed to a shell as a path. Interior spaces are legal in a- * workspace path and still not worth minting: every command the agent writes- * would need to quote them.- *- * Leading dots are stripped rather than escaped, which also puts `.sandbox`- * (the reserved platform directory) out of reach without naming it here.- */-export const environmentDirectorySlug = (name: string): string => {- const slug = name- .normalize('NFKC')- .toLowerCase()- .replaceAll(/[^\p{L}\p{N}._-]+/gu, '-')- .slice(0, 48)- .replaceAll(/^[.-]+|[.-]+$/g, '');-- // Every character was punctuation, or the name was dots. Nothing is derivable- // from it, so fall back to a word rather than to an empty path.- return slug || 'environment';-};-/*** An environment with instances still on it. The reference is `restrict`* on purpose — deleting the specification out from under them would leave@@ -441,6 +417,100 @@ const instanceProcedure = environmentProcedure.use(async (opts) => {});});+type SandboxStorageClient = ReturnType<MarketService['getSandboxStorageClient']>;++/**+ * Run `fn` with the environment and instance models bound to one transaction,+ * for the calls that must change both tables or neither.+ */+const inEnvironmentTransaction = <T>(+ ctx: { serverDB: LobeChatDatabase; userId: string; workspaceId?: string | null },+ fn: (models: {+ environmentModel: EnvironmentModel;+ instanceModel: EnvironmentInstanceModel;+ }) => Promise<T>,+): Promise<T> =>+ ctx.serverDB.transaction(async (tx) => {+ const db = tx as unknown as LobeChatDatabase;+ const workspaceId = ctx.workspaceId ?? undefined;++ return fn({+ environmentModel: new EnvironmentModel(db, ctx.userId, workspaceId),+ instanceModel: new EnvironmentInstanceModel(db, ctx.userId, workspaceId),+ });+ });++/**+ * A new sandbox instance of an environment the caller owns, with its directory+ * derived from the environment's name rather than asked for.+ *+ * The directory is searched rather than computed in one shot: the unique+ * index spans the whole workspace, not one environment, so a name that is+ * free inside this environment can still be taken outside it. The index stays+ * the authority — the pre-check only keeps the common case out of the error+ * path, and a lost race falls through to the next suffix.+ */+const createDerivedInstance = async (+ instanceModel: EnvironmentInstanceModel,+ workspaceKey: string,+ environment: { id: string; name: string },+) => {+ for (let attempt = 1; attempt <= MAX_DERIVED_DIRECTORY_ATTEMPTS; attempt += 1) {+ const workingDirectory = derivedInstanceDirectory(environment.name, attempt);++ if (await instanceModel.findByWorkingDirectory(workingDirectory)) continue;++ const created = await instanceModel+ .create({+ ...sandboxBinding(workspaceKey),+ environmentId: environment.id,+ // The directory is the only thing that distinguishes this instance+ // from its siblings right now, so it is also the only honest label+ // until the person renames it.+ name: workingDirectory,+ workingDirectory,+ })+ .catch((error: unknown) => {+ // Someone else took this directory between the check and the+ // insert, or it nests with another instance's. Not a conflict the+ // caller can act on — try the next one.+ if (isDuplicateInstanceDirectory(error)) return undefined;+ if (error instanceof InstanceDirectoryOverlapError) return undefined;+ throw error;+ });++ if (!created) continue;++ // Nothing to clone and nothing to install means nothing will ever build+ // this instance, so it is ready as it is written. Left to the client's+ // follow-up build call, a tab closed in between would strand it in+ // `pending` — and a files environment offers no rebuild to get out of it.+ if (isBuildable(created.configurationSnapshot)) return created;++ await instanceModel.update(created.id, { status: 'ready' });++ return { ...created, status: 'ready' as const };+ }++ throw new TRPCError({ code: 'CONFLICT', message: 'DUPLICATE_INSTANCE_DIRECTORY' });+};++/**+ * Drop an instance's built state on the execution plane, ahead of its row.+ *+ * No snapshot there is the state this call exists to reach, so a 404 is this+ * step succeeding, not failing. An instance nothing has ever run in has+ * nothing on the execution plane — and treating that as an error strands the+ * row permanently, because the environment holding it cannot be deleted+ * either while an instance references it.+ */+const deleteInstanceSnapshot = (client: SandboxStorageClient, id: string, topicId?: string) =>+ client.deleteInstance({ name: id, topicId }).catch((error: unknown) => {+ if (error instanceof SandboxStorageFilesError && error.status === 404) return;++ return mapStorageError(error);+ });+/*** The directory a file route may touch, as a path relative to the workspace* root; `''` is the whole root.@@ -580,6 +650,20 @@ export const sandboxStorageRouter = router({const source = await ctx.instanceModel.findOwnedById(input.id);if (!source) throw new TRPCError({ code: 'NOT_FOUND', message: 'Instance not found' });+ // A held instance is mid-write, so a copy would capture a tree halfway+ // through a change. The execution plane refuses it too; asking first+ // keeps the refusal ahead of the row insert and gives it the same code+ // the rest of the client already turns into a sentence. A lease store+ // that did not answer is not read as "free" — here that means refusing,+ // because unlike a rebuild there is no runtime lease standing behind a+ // copy to catch the second writer.+ const occupancy = await ctx.client+ .readOccupancy({ names: [source.id] })+ .catch(() => ({ held: [], unavailable: true }));+ if (occupancy.unavailable || occupancy.held.some((entry) => entry.id === source.id)) {+ throw new TRPCError({ code: 'CONFLICT', message: 'INSTANCE_IN_USE' });+ }+// Row first: a copy whose snapshot succeeded but whose row is missing// would be captured state nobody can name, and therefore nobody can// delete. The reverse — a row whose snapshot never arrived — is the same@@ -631,12 +715,6 @@ export const sandboxStorageRouter = router({* snapshot, so this directory holds the outputs worth keeping — which is* rarely something anyone has an opinion about before the work exists. Asking* would make them invent an answer to start a conversation.- *- * The directory is searched rather than computed in one shot: the unique- * index spans the whole workspace, not one environment, so a name that is- * free inside this environment can still be taken outside it. The index stays- * the authority — the pre-check only keeps the common case out of the error- * path, and a lost race falls through to the next suffix.*/createInstanceForEnvironment: instanceProcedure.input(z.object({ environmentId: idSchema }))@@ -647,39 +725,7 @@ export const sandboxStorageRouter = router({if (!environment)throw new TRPCError({ code: 'NOT_FOUND', message: 'Environment not found' });- const base = environmentDirectorySlug(environment.name);-- for (let attempt = 1; attempt <= MAX_DERIVED_DIRECTORY_ATTEMPTS; attempt += 1) {- const workingDirectory = attempt === 1 ? base : `${base}-${attempt}`;-- if (await ctx.instanceModel.findByWorkingDirectory(workingDirectory)) continue;-- const created = await ctx.instanceModel- .create({- ...sandboxBinding(ctx.claim.key),- environmentId: environment.id,- // The directory is the only thing that distinguishes this instance- // from its siblings right now, so it is also the only honest label- // until the person renames it.- name: workingDirectory,- workingDirectory,- })- .catch((error: unknown) => {- // Someone else took this directory between the check and the- // insert, or it nests with another instance's. Not a conflict the- // caller can act on — try the next one.- if (isDuplicateInstanceDirectory(error)) return undefined;- if (error instanceof InstanceDirectoryOverlapError) return undefined;- throw error;- });-- if (created) return created;- }-- throw new TRPCError({- code: 'CONFLICT',- message: 'DUPLICATE_INSTANCE_DIRECTORY',- });+ return createDerivedInstance(ctx.instanceModel, ctx.claim.key, environment);}),/**@@ -782,7 +828,10 @@ export const sandboxStorageRouter = router({// which is what its file browser opens.instanceDir: instance.workingDirectory,name: input.id,- specification,+ // Without the product's own fields: the execution plane digests+ // what it is sent, and an instance created before `kind` existed+ // must keep matching the build it already has.+ specification: toExecutionConfiguration(specification),topicId: input.topicId,});await ctx.instanceModel.update(input.id, { buildId });@@ -859,17 +908,52 @@ export const sandboxStorageRouter = router({return { chunk: status.chunk, logOffset: status.logOffset, state: status.state };}),- createEnvironment: environmentProcedure+ /**+ * An environment, together with its default instance.+ *+ * The person creating an environment has not started any work yet, so there+ * is nothing to ask them about where it should happen: the instance is+ * created here, with the same derived directory a new copy gets, and every+ * creation path ends with one. It is returned unbuilt — building it+ * cold-starts a sandbox, so the client fires `startInstanceBuild` next, the+ * same split as for any other new instance.+ *+ * Both rows are written in one transaction, so a failure to create the+ * instance leaves no environment behind either: the caller sees the failure+ * and retries, instead of holding an environment that silently skipped the+ * step.+ *+ * Asked for, not assumed. A client from before this follows the call with+ * its own create-instance dialog, and an instance made here as well would+ * leave it with two — the unasked one being the default, which cannot be+ * removed on its own. Such a client gets the environment alone, as it always+ * did, and its first instance becomes the default.+ */+ createEnvironment: instanceProcedure.input(z.object({configuration: configurationSchema.optional(),description: z.string().max(2000).optional(),name: nameSchema,visibility: visibilitySchema.optional(),+ withDefaultInstance: z.boolean().optional(),}),)- .mutation(async ({ ctx, input }) =>- ctx.environmentModel.create(input).catch(rethrowDuplicateEnvironmentName),+ .mutation(async ({ ctx, input: { withDefaultInstance, ...input } }) =>+ inEnvironmentTransaction(ctx, async ({ environmentModel, instanceModel }) => {+ const environment = await environmentModel+ .create(input)+ .catch(rethrowDuplicateEnvironmentName);+ if (!withDefaultInstance) return { ...environment, defaultInstance: undefined };++ const defaultInstance = await createDerivedInstance(+ instanceModel,+ ctx.claim.key,+ environment,+ );++ return { ...environment, defaultInstance };+ }),),/**@@ -1164,38 +1248,79 @@ export const sandboxStorageRouter = router({return ctx.client.writeFile(input).catch(mapStorageError);}),- /** Refused while instances still reference it — those go first. */- removeEnvironment: environmentProcedure+ /**+ * Refused while copies other than the default still reference it — those go+ * first.+ *+ * The default instance goes with the environment: it cannot be removed on+ * its own, so for an environment with only that one left, deleting the+ * environment is how it is deleted.+ *+ * Both rows go in one transaction, and the snapshot is dropped last, inside+ * it. Anything that refuses — a project still bound to the environment, an+ * instance created meanwhile, a run still holding the snapshot — rolls the+ * rows back with the snapshot untouched, so a refused delete costs nothing.+ * The one gap left is a commit that fails after the snapshot is gone, which+ * leaves rows with nothing built behind them. What was lost is what this+ * call was asked to delete, and the call reports its failure, so deleting+ * again finishes the job. The other order is the one with no way back: rows+ * gone and a snapshot nobody can see, name, or reclaim.+ */+ removeEnvironment: instanceProcedure.input(z.object({ id: idSchema })).mutation(async ({ ctx, input }) => {- const removed = await ctx.environmentModel.delete(input.id).catch(rethrowEnvironmentInUse);- if (!removed) throw new TRPCError({ code: 'NOT_FOUND', message: 'Environment not found' });+ // Ownership before anything reaches the execution plane: a member who+ // can see a published environment must not get its snapshot deleted on+ // the way to being refused the row.+ const environment = await ctx.environmentModel.findOwnedById(input.id);+ if (!environment)+ throw new TRPCError({ code: 'NOT_FOUND', message: 'Environment not found' });++ const instances = await ctx.instanceModel.query({ environmentId: environment.id });+ if (instances.length > 1) {+ throw new TRPCError({ code: 'CONFLICT', message: 'ENVIRONMENT_HAS_INSTANCES' });+ }++ const [onlyInstance] = instances;+ // Only a sandbox instance has a snapshot this router can drop; any other+ // kind keeps referencing the environment and the delete below says so.+ const defaultInstance = onlyInstance?.kind === 'sandbox' ? onlyInstance : undefined;++ return inEnvironmentTransaction(ctx, async ({ environmentModel, instanceModel }) => {+ if (defaultInstance) {+ await instanceModel.delete(defaultInstance.id).catch(rethrowEnvironmentInUse);+ }++ const removed = await environmentModel.delete(input.id).catch(rethrowEnvironmentInUse);+ if (!removed) throw new TRPCError({ code: 'NOT_FOUND', message: 'Environment not found' });++ if (defaultInstance) await deleteInstanceSnapshot(ctx.client, defaultInstance.id);- return removed;+ return removed;+ });}),+ /**+ * Remove one copy of an environment. The default instance is refused: it is+ * what the environment is, so it goes when the environment does, and a+ * broken one is rebuilt rather than deleted.+ */removeInstance: instanceProcedure.input(z.object({ id: idSchema, topicId: topicIdSchema })).mutation(async ({ ctx, input }) => {const instance = await ctx.instanceModel.findOwnedById(input.id);if (!instance) throw new TRPCError({ code: 'NOT_FOUND', message: 'Instance not found' });+ const siblings = await ctx.instanceModel.query({ environmentId: instance.environmentId });+ if (isDefaultInstance(instance, siblings)) {+ throw new TRPCError({ code: 'FORBIDDEN', message: 'DEFAULT_INSTANCE' });+ }+// Snapshot first, and only drop the row once it is gone: a row removed// while the snapshot survives leaves storage nobody can see, name, or// reclaim. The execution plane refuses while a session is using it, and// that refusal is the one the user needs to see.- await ctx.client- .deleteInstance({ name: instance.id, topicId: input.topicId })- .catch((error: unknown) => {- // No snapshot there is the state this call exists to reach, so a 404- // is this step succeeding, not failing. An instance nothing has ever- // run in has nothing on the execution plane — and treating that as an- // error strands the row permanently, because the environment holding- // it cannot be deleted either while an instance references it.- if (error instanceof SandboxStorageFilesError && error.status === 404) return;-- return mapStorageError(error);- });+ await deleteInstanceSnapshot(ctx.client, instance.id, input.topicId);return ctx.instanceModel.delete(input.id);}),diff --git a/apps/server/src/services/sandbox/__tests__/session.test.ts b/apps/server/src/services/sandbox/__tests__/session.test.tsindex 13a86edcd07..3a74162eb22 100644--- a/apps/server/src/services/sandbox/__tests__/session.test.ts+++ b/apps/server/src/services/sandbox/__tests__/session.test.ts@@ -148,6 +148,37 @@ describe('resolveSandboxSessionConfig', () => {expect(specification).toEqual({ env: { NODE_ENV: 'production' } });});+ // `kind` is the product's own: an instance whose environment gained one must+ // send exactly what it sent before, or the execution plane would read every+ // such session as running a different specification from its build.+ it('sends the same specification whether or not the definition carries a kind', async () => {+ const definition = {+ bootstrapCommand: 'pnpm install',+ env: { NODE_ENV: 'production' },+ excludePaths: ['node_modules'],+ internetAccess: false,+ maintenanceCommand: 'git pull --ff-only',+ sources: [{ kind: 'git', url: 'https://github.com/a/b' }],+ };++ findInstanceById.mockResolvedValue({+ configurationSnapshot: definition,+ id: INSTANCE_ID,+ workingDirectory: 'projects/atlas',+ });+ const { specification: before } = await resolve();++ findInstanceById.mockResolvedValue({+ configurationSnapshot: { ...definition, kind: 'code' },+ id: INSTANCE_ID,+ workingDirectory: 'projects/atlas',+ });+ const { specification: after } = await resolve();++ expect(after).toEqual(before);+ expect(after).not.toHaveProperty('kind');+ });+// An empty pick is not an empty object: the runtime adopts whatever it is// handed, so a definition with nothing to say must send nothing and leave// the session's own defaults alone.@@ -155,6 +186,7 @@ describe('resolveSandboxSessionConfig', () => {['no definition at all', undefined],['a definition with nothing this session acts on', { requirements: { cpu: 2 } }],['an empty variable map', { env: {} }],+ ['a files environment with nothing but its kind', { kind: 'files' }],])('sends no specification for %s', async (_, configurationSnapshot) => {findInstanceById.mockResolvedValue({configurationSnapshot,diff --git a/apps/server/src/services/sandbox/session.ts b/apps/server/src/services/sandbox/session.tsindex 9d83f0ebcd1..8e143fb38ff 100644--- a/apps/server/src/services/sandbox/session.ts+++ b/apps/server/src/services/sandbox/session.ts@@ -76,6 +76,10 @@ export interface SandboxSessionConfig {* {@link SandboxSessionSpecification}. Absent when the pick is empty, so a* definition that says nothing sends nothing rather than an empty object the* runtime would still adopt.+ *+ * `kind` is the clearest case of the first: it only picks which form the+ * product shows, and an execution plane that saw it would digest it into every+ * session of every environment that gained one.*/const toSessionSpecification = (configuration: EnvironmentConfiguration | null | undefined,diff --git a/locales/ar/chat.json b/locales/ar/chat.jsonindex c1395a0329d..cfbfb8419d6 100644--- a/locales/ar/chat.json+++ b/locales/ar/chat.json@@ -1903,29 +1903,41 @@"runtimeEnv.mode.noneDesc": "تعطيل بيئة التشغيل","runtimeEnv.selectMode": "اختر بيئة التشغيل","runtimeEnv.title": "بيئة التشغيل",+ "sandboxStorage.allCopiesBusy": "كل النسخ قيد الاستخدام","sandboxStorage.buildFailed": "لم يتم البناء","sandboxStorage.building": "جاري البناء",+ "sandboxStorage.copies": "نسخ",+ "sandboxStorage.copyCount_one": "{{count}} نسخة",+ "sandboxStorage.copyCount_other": "{{count}} نسخ",+ "sandboxStorage.createCopyFailed": "لم يتم تجهيز هذه البيئة",+ "sandboxStorage.defaultCopy": "الافتراضي","sandboxStorage.environmentsUnavailable": "تعذر تحميل البيئات","sandboxStorage.ephemeral": "دليل عمل مؤقت","sandboxStorage.ephemeralDesc": "يتم تنظيفه عند إعادة تدوير الصندوق","sandboxStorage.instanceBusy": "{{name}} يعمل في محادثة أخرى. يحتفظ هذا به، ويلتقطه عند انتهاء التشغيل.",+ "sandboxStorage.kind.code": "كود",+ "sandboxStorage.kind.files": "ملفات","sandboxStorage.manage": "إدارة",- "sandboxStorage.noInstances": "إنشاء نسخة",- "sandboxStorage.noInstancesDesc": "لا تحتوي بيئاتك على نسخة عمل حتى الآن",+ "sandboxStorage.noCopyColleagueDesc": "لم يقم منشئها بإعدادها بعد",+ "sandboxStorage.noCopyYetDesc": "يتم إنشاء نسخة عند اختيارها لأول مرة","sandboxStorage.persistentUpsell": "دليل عمل دائم","sandboxStorage.persistentUpsellDesc": "احتفظ بالملفات عبر التشغيلات والمواضيع",- "sandboxStorage.pickerInfoTooltip": "تصف البيئة ما يحتاجه التشغيل حوله — المستودعات، الإعداد، المتغيرات. النسخة هي نسخة عمل واحدة منها، مع مجلدها الخاص وحزمها المثبتة الخاصة؛ تعمل المحادثات داخل نسخة وتحتفظ بما تتركه هناك.",- "sandboxStorage.pickerTitle": "نسخة البيئة",+ "sandboxStorage.pickerInfoTooltip": "تصف البيئة ما يحتاجه التشغيل حولها — ملفات أو مستودعات، إعدادات ومتغيرات. المحادثات تعمل داخل إحدى نسخها وتحتفظ بما تتركه هناك؛ تظهر نسخة ثانية فقط عندما تحتاج محادثتان إلى نفس البيئة في وقت واحد.",+ "sandboxStorage.pickerTitle": "البيئة","sandboxStorage.privateGroup": "البيئات الخاصة","sandboxStorage.privateInstanceBlocked": "“{{name}}” موجود في بيئة خاصة، والتي لا يمكن لوكيل عام استخدامها. يتم تشغيل هذا الموضوع في دليل عمل مؤقت بدلاً من ذلك.","sandboxStorage.publicAgentHint_one": "{{count}} بيئة خاصة مخفية — يمكن للوكيل العام استخدام بيئات مساحة العمل فقط. انشرها لاستخدامها هنا.","sandboxStorage.publicAgentHint_other": "{{count}} بيئات خاصة مخفية — يمكن للوكيل العام استخدام بيئات مساحة العمل فقط. انشر واحدة لاستخدامها هنا.",+ "sandboxStorage.reopenCopy": "افتح نسخة أخرى",+ "sandboxStorage.reopenCopyDesc": "تمت إعادة البناء من تكوين البيئة",+ "sandboxStorage.reopenCopyFailed": "تعذر فتح نسخة أخرى","sandboxStorage.running": "قيد التشغيل",- "sandboxStorage.runningHint": "لا يزال هناك شيء آخر يعمل في هذه النسخة، لذلك لا يمكن اختيارها هنا. يتم تحريرها تلقائيًا بعد حوالي 15 دقيقة من هدوء التشغيل.",- "sandboxStorage.runningHintStoppable": "لا يزال هناك شيء آخر يعمل في هذه النسخة، لذلك لا يمكن اختيارها هنا. يتم تحريرها تلقائيًا بعد حوالي 15 دقيقة من هدوء التشغيل، أو يمكنك إيقافه الآن.",+ "sandboxStorage.runningHint": "لا يزال هناك شيء آخر يعمل في هذه النسخة، لذا لا يمكن اختيارها هنا. يتم تحريرها تلقائيًا بعد حوالي 15 دقيقة من هدوء التشغيل.",+ "sandboxStorage.runningHintStoppable": "لا يزال هناك شيء آخر يعمل في هذه النسخة، لذا لا يمكن اختيارها هنا. يتم تحريرها تلقائيًا بعد حوالي 15 دقيقة من هدوء التشغيل، أو يمكنك إيقافه الآن.","sandboxStorage.runningOwnHint": "تشغيل هذه المحادثة يستخدم هذه النسخة.","sandboxStorage.setUpEnvironment": "إعداد بيئة","sandboxStorage.setUpEnvironmentDesc": "يعيش دليل دائم في بيئة",+ "sandboxStorage.showCopies": "عرض النسخ","sandboxStorage.stop": "إيقاف","sandboxStorage.workspaceGroup": "بيئات مساحة العمل","search.grounding.imageSearchQueries": "كلمات البحث عن الصور",diff --git a/locales/ar/common.json b/locales/ar/common.jsonindex 380ae855f55..5befc7c8e1c 100644--- a/locales/ar/common.json+++ b/locales/ar/common.json@@ -521,7 +521,7 @@"visibilityConfirm.makePrivate.itemLibrary": "يبقى في المكتبة التي قمت بتقديمه فيها — فقط يتوقف الأعضاء الآخرون عن رؤيته هناك","visibilityConfirm.makePrivate.itemLoaded": "المحتوى الذي قام الآخرون بتحميله بالفعل لا يمكن استرجاعه","visibilityConfirm.makePrivate.itemReferences": "المرفقات والمرجعيات الموجودة في الرسائل ستظهر كغير متاحة",- "visibilityConfirm.publish.itemCapturedState": "يمكن للأعضاء تشغيل مثيلاته والوصول إلى كل ما قام بالتقاطه — الملفات، تسجيلات الدخول إلى CLI، هويتك المسجلة",+ "visibilityConfirm.publish.itemCapturedState": "يمكن للأعضاء تشغيل نسخه والوصول إلى كل ما قام بالتقاطه - الملفات، تسجيلات الدخول إلى CLI، هويتك المسجلة","visibilityConfirm.publish.itemLoaded": "بعد التبديل مرة أخرى، لا يمكن استرجاع المحتوى الذي قام الآخرون بتحميله بالفعل","visibilityConfirm.publish.itemReversible": "يمكنك التبديل مرة أخرى إلى الوضع الخاص لاحقًا من نفس القائمة","visibilityConfirm.publish.itemVisible": "سيتمكن جميع أعضاء مساحة العمل من رؤية هذا فورًا",diff --git a/locales/ar/setting.json b/locales/ar/setting.jsonindex c1f2e6a5d21..34101bf8e62 100644--- a/locales/ar/setting.json+++ b/locales/ar/setting.json@@ -564,8 +564,9 @@"environments.cancel": "إلغاء","environments.create": "بيئة جديدة","environments.createFailed": "تعذر إنشاء البيئة",- "environments.desc": "ما يحتاجه تشغيل الصندوق الرمل: مستودع، إعداده، متغيراته. يحتفظ كل مثيل مبني من واحد بملفاته الخاصة بين الجلسات.",+ "environments.desc": "ما يحتاجه تشغيل صندوق الرمل حوله: مستودع، إعداده، متغيراته. كل نسخة يتم إنشاؤها من واحدة تحتفظ بملفاتها الخاصة بين الجلسات.","environments.detail.close": "إغلاق",+ "environments.detail.tabs.overview": "نظرة عامة","environments.detail.tabs.settings": "الإعدادات","environments.duplicateName": "لديك بالفعل بيئة بهذا الاسم","environments.empty": "لا توجد بيئات حتى الآن",@@ -574,22 +575,22 @@"environments.files.binary": "ليس ملف نصي، لذا لا يمكن عرضه هنا.","environments.files.browse": "تصفح الملفات","environments.files.empty": "هذا الدليل فارغ",- "environments.files.invalidPath": "يجب أن يبقى الاسم داخل دليل هذا المثيل",+ "environments.files.invalidPath": "يجب أن يبقى الاسم داخل دليل هذه النسخة","environments.files.listFailed": "تعذر سرد هذا الدليل","environments.files.openHint": "انقر نقرًا مزدوجًا لفتح مجلد، أو ملف لعرضه","environments.files.readOnlyHint": "للقراءة فقط: يتم الاحتفاظ بالمزامنة بواسطة الصندوق الرمل. لا يتم عرض التبعيات مثل node_modules.","environments.files.truncated": "يتم عرض الإدخالات الأولى فقط","environments.files.unreadable": "تعذر قراءة هذا الملف",- "environments.files.unusedInstance": "لا يوجد شيء هنا حتى الآن. يظهر الكود بمجرد بناء المثيل أو تشغيل محادثة فيه.",+ "environments.files.unusedInstance": "لا يوجد شيء هنا حتى الآن. يظهر الكود بمجرد إنشاء النسخة أو تشغيل محادثة فيها.","environments.files.up": "مستوى واحد لأعلى","environments.form.addEnv": "متغير جديد","environments.form.addSource": "إضافة مستودع",- "environments.form.appliesOnBuild": "يتم تطبيقه عند إنشاء المثيل. يحتفظ المثيلات الحالية بالتعريف الذي تم إنشاؤه به — إعادة البناء تعيد تشغيل ذلك، لذا استخدم مثيلًا جديدًا لالتقاط هذا.",+ "environments.form.appliesOnBuild": "يتم تطبيقه عند إنشاء نسخة. تحتفظ النسخ الحالية بالتعريف الذي تم إنشاؤها به — إعادة البناء تعيد تشغيل ذلك التعريف، لذا استخدم نسخة جديدة لتطبيق هذا.","environments.form.basics": "الأساسيات","environments.form.bootstrap": "أمر الإعداد","environments.form.bootstrapHint": "يعمل مرة واحدة في التحقق، مع الوصول إلى الشبكة، قبل بدء المحادثة.","environments.form.changeRepository": "تغيير المستودع",- "environments.form.desc": "ما يتم بناء المثيل منه — من أين يأتي الكود وما يجعله قابلاً للاستخدام.",+ "environments.form.desc": "ما يتم بناء النسخة منه — من أين يأتي الكود وما يجعله قابلاً للاستخدام.","environments.form.description": "الوصف","environments.form.descriptionPlaceholder": "ما هذه البيئة من أجله","environments.form.disconnect": "قطع الاتصال",@@ -599,13 +600,14 @@"environments.form.envCount_other": "{{count}} متغيرات","environments.form.envEmpty": "لا توجد متغيرات حتى الآن","environments.form.envEmptyHint": "أضف واحدًا، أو الصق ملف .env كامل في",- "environments.form.envHint": "قيم غير سرية فقط — يتم تخزينها كنص عادي ويتم نسخها إلى كل مثيل.",+ "environments.form.envHint": "قيم غير سرية فقط — يتم تخزينها كنص عادي ويتم نسخها إلى كل نسخة من هذا البيئة.","environments.form.exclude": "مسارات قابلة للتجديد","environments.form.excludeHint": "واحد لكل سطر، بالنسبة إلى النسخة. يشير سرد مسار إلى أنه يمكن إعادة بنائه، لذا يتم الاحتفاظ به بعيدًا عن عملك وقد يتم التخلص منه لاستعادة المساحة. أي شيء يتم تسميته هنا ولا يمكن إعادة بنائه هو عمل يمكنك فقدانه.",+ "environments.form.filesDesc": "ما يسمى هذا المجلد وما يحتويه للوكيل.","environments.form.internetAccess": "وصول الوكيل إلى الإنترنت","environments.form.internetAccessHint": "الإعداد دائمًا لديه وصول إلى الشبكة. يتحكم هذا في المحادثة نفسها.","environments.form.maintenance": "أمر الصيانة",- "environments.form.maintenanceHint": "يعمل في كل مرة يتم استئناف العمل في المثيل — تحديث التحقق، إعادة تطبيق الترحيل. ليس أمر الإعداد مرة أخرى: هذا مكلف ويُقصد تشغيله مرة واحدة.",+ "environments.form.maintenanceHint": "يتم تشغيله في كل مرة يتم استئناف العمل في نسخة — تحديث عملية التحقق، إعادة تطبيق الترحيل. ليس أمر الإعداد مرة أخرى: هذا مكلف ويُقصد تشغيله مرة واحدة.","environments.form.path": "المجلد","environments.form.rawEditor": "محرر خام","environments.form.rawEditorHint": "واحد KEY=value لكل سطر، بالطريقة التي يقرأ بها ملف .env. يتم تجاهل الأسطر الفارغة وتعليقات #؛ الحفظ يستبدل كل متغير.",@@ -630,62 +632,75 @@"environments.github.repositoryPending": "اختر منظمة أولاً","environments.github.repositoryPlaceholder": "بحث عن المستودعات","environments.github.reviewAccess": "مراجعة الوصول",- "environments.hasInstances": "قم بإزالة مثيلاتها أولاً",- "environments.instances.add": "مثيل جديد",+ "environments.hasInstances": "قم بإزالة النسخ الأخرى أولاً",+ "environments.instances.add": "نسخة جديدة","environments.instances.build": "بناء",- "environments.instances.buildConfirmTitle": "بناء المثيل {{name}}؟",+ "environments.instances.buildConfirmTitle": "إنشاء نسخة {{name}}؟","environments.instances.buildFailed": "فشل البناء","environments.instances.buildStartFailed": "تعذر بدء البناء","environments.instances.buildStatusUnknown": "فقدنا تتبع هذا البناء","environments.instances.building": "جارٍ البناء — الاستنساخ والتثبيت","environments.instances.confirm": "إنشاء",- "environments.instances.count_one": "{{count}} مثيل",- "environments.instances.count_other": "{{count}} مثيلات",- "environments.instances.create": "مثيل جديد",- "environments.instances.createFailed": "تعذر إنشاء المثيل",- "environments.instances.desc": "المثيل هو نسخة عمل من هذه البيئة، مع مجلدها الخاص وحزمها المثبتة الخاصة. يتم تشغيل المحادثات داخل المثيل، ويمكن تشغيل عدة محادثات جنبًا إلى جنب دون التأثير على بعضها البعض.",+ "environments.instances.copy": "نسخ النسخة",+ "environments.instances.copyBuilding": "يتم إنشاء هذه النسخة، لذا لا يمكن نسخها حتى ينتهي الإنشاء",+ "environments.instances.copyFailed": "تعذر نسخ هذه النسخة",+ "environments.instances.copyInUse": "تستخدم محادثة هذه النسخة، لذا لا يمكن نسخها الآن — قم بنسخها بمجرد انتهاء التشغيل، أو أوقف التشغيل أولاً",+ "environments.instances.copyOccupancyUnknown": "تعذر التحقق مما إذا كانت هذه النسخة قيد الاستخدام، لذا لا يمكن نسخها الآن",+ "environments.instances.copyTitle": "نسخ {{name}}",+ "environments.instances.count_one": "{{count}} نسخة",+ "environments.instances.count_other": "{{count}} نسخ",+ "environments.instances.create": "نسخة جديدة",+ "environments.instances.createFailed": "تعذر إنشاء النسخة",+ "environments.instances.defaultUndeletable": "هذه هي النسخة الافتراضية للبيئة ولا يمكن حذفها بمفردها — قم بإعادة بنائها أو حذف البيئة",+ "environments.instances.desc": "النسخة هي نسخة عمل من هذه البيئة، مع مجلدها الخاص وحزمها المثبتة الخاصة. يتم تشغيل المحادثات داخل نسخة، ويمكن تشغيل عدة محادثات جنبًا إلى جنب دون التأثير على بعضها البعض.","environments.instances.directoryHint": "مسار المجلد. لا يمكن تغييره بمجرد إنشائه.","environments.instances.directoryLabel": "الدليل",- "environments.instances.directoryLocked": "لا يمكن تغيير المجلد بعد بناء المثيل — قم بحذفه وإنشاء آخر لنقله.",- "environments.instances.duplicateDirectory": "مثيل آخر يستخدم هذا المجلد بالفعل",- "environments.instances.empty": "لا توجد مثيلات حتى الآن",+ "environments.instances.directoryLocked": "لا يمكن تغيير المجلد بعد إنشاء النسخة — قم بحذفها وإنشاء أخرى لنقلها.",+ "environments.instances.duplicateDirectory": "تستخدم نسخة أخرى هذا المجلد بالفعل",+ "environments.instances.empty": "لا توجد نسخ حتى الآن","environments.instances.emptyHint": "قم بإنشاء واحد، ثم اختره تحت \"دليل العمل\" في إدخال الدردشة.",- "environments.instances.emptyReadonly": "لم يقم أحد بإنشاء مثيل لهذه البيئة حتى الآن. يمكن فقط لمالكها إضافة واحد.",+ "environments.instances.emptyReadonly": "لم يقم أحد بإنشاء نسخة من هذه البيئة حتى الآن. يمكن لمالكها فقط إضافة واحدة.","environments.instances.hideLog": "إخفاء السجل",- "environments.instances.inUse": "تستخدم محادثة هذا المثيل — حاول مرة أخرى بمجرد انتهاء تلك الجلسة",- "environments.instances.namePlaceholder": "اسم المثيل",+ "environments.instances.inUse": "تستخدم محادثة هذه النسخة — حاول مرة أخرى بمجرد انتهاء التشغيل",+ "environments.instances.namePlaceholder": "اسم النسخة","environments.instances.notBuilt": "لم يتم بناؤه بعد — لم يتم استنساخ أي شيء أو تثبيته",- "environments.instances.occupancyUnavailable": "تعذر قراءة أي المثيلات تعمل الآن",- "environments.instances.overlappingDirectory": "هذا المجلد داخل مجلد مثيل آخر، أو يحتوي على واحد",+ "environments.instances.occupancyUnavailable": "تعذر قراءة النسخ التي تعمل الآن",+ "environments.instances.overlappingDirectory": "هذا المجلد داخل مجلد نسخة أخرى، أو يحتوي على واحدة","environments.instances.rebuild": "إعادة البناء",- "environments.instances.rebuildConfirmContent": "هذا يمسح مجلد المثيل، ثم يستنسخ الكود مرة أخرى ويشغل نص الإعداد. كل شيء فيه الآن — التغييرات التي تم إجراؤها في المحادثات، الحزم المثبتة، التقارير، البيانات — سيتم فقدانه. لا يمكن التراجع عن هذا.",- "environments.instances.rebuildConfirmTitle": "إعادة بناء المثيل {{name}}؟",- "environments.instances.remove": "حذف المثيل",+ "environments.instances.rebuildConfirmContent": "هذا يمسح مجلد النسخة، ثم يعيد نسخ الكود مرة أخرى ويشغل نص الإعداد. كل شيء فيها الآن — التغييرات التي تم إجراؤها في المحادثات، الحزم المثبتة، التقارير، البيانات — سيتم فقدانه. لا يمكن التراجع عن ذلك.",+ "environments.instances.rebuildConfirmTitle": "إعادة بناء النسخة {{name}}؟",+ "environments.instances.remove": "حذف النسخة","environments.instances.removeConfirmContent": "سيتم حذف مجلده وكل ما يحتفظ به — الحزم المثبتة، التقارير، البيانات. لا يمكن التراجع عن هذا.",- "environments.instances.removeConfirmTitle": "حذف المثيل {{name}}؟",- "environments.instances.removeFailed": "تعذر حذف هذا المثيل",+ "environments.instances.removeConfirmTitle": "حذف النسخة {{name}}؟",+ "environments.instances.removeFailed": "تعذر حذف هذه النسخة","environments.instances.removing": "جارٍ الحذف — إزالة مجلده وكل ما فيه",- "environments.instances.rename": "إعادة تسمية المثيل",- "environments.instances.renameFailed": "تعذر إعادة تسمية هذا المثيل",+ "environments.instances.rename": "إعادة تسمية النسخة",+ "environments.instances.renameFailed": "تعذر إعادة تسمية هذه النسخة","environments.instances.retryStatus": "تحقق مرة أخرى","environments.instances.running": "قيد التشغيل",- "environments.instances.runningHint": "لا يزال تشغيل يستخدم هذا المثيل — محادثة، بناء، أو مستعرض الملفات. يتم تحريره تلقائيًا بعد حوالي 15 دقيقة من هدوء ذلك التشغيل؛ يظهر سجل التشغيل أي تشغيل يحتفظ به.",- "environments.instances.runningHintStoppable": "لا يزال تشغيل يستخدم هذا المثيل — محادثة، بناء، أو مستعرض الملفات. يتم تحريره تلقائيًا بعد حوالي 15 دقيقة من هدوء ذلك التشغيل، أو يمكنك إيقافه الآن؛ يظهر سجل التشغيل أي تشغيل يحتفظ به.",+ "environments.instances.runningHint": "لا يزال تشغيل يستخدم هذه النسخة — محادثة، إنشاء، أو مستعرض الملفات. يتم تحريرها تلقائيًا بعد حوالي 15 دقيقة من هدوء التشغيل؛ يظهر سجل التشغيل أي تشغيل يحتجزها.",+ "environments.instances.runningHintStoppable": "لا يزال تشغيل يستخدم هذه النسخة — محادثة، إنشاء، أو مستعرض الملفات. يتم تحريرها تلقائيًا بعد حوالي 15 دقيقة من هدوء التشغيل، أو يمكنك إيقافه الآن؛ يظهر سجل التشغيل أي تشغيل يحتجزها.","environments.instances.save": "حفظ","environments.instances.showLog": "عرض السجل","environments.instances.stop": "إيقاف",- "environments.instances.stopBuilding": "يتم بناء هذا المثيل. يتم تحريره عند انتهاء البناء",- "environments.instances.stopBusy": "يتم نسخ أو حذف هذا المثيل — حاول مرة أخرى بعد قليل",- "environments.instances.stopConfirmContent": "يتم إيقاف التشغيل الذي يحتفظ بهذا المثيل الآن بدلاً من عندما يهدأ. يتم حفظ ما تم تثبيته وكتابته أولاً. يتم قطع خطوة في منتصفها في محادثة، وتستأنف من الحالة المحفوظة مع رسالتها التالية.",+ "environments.instances.stopBuilding": "يتم إنشاء هذه النسخة. يتم تحريرها عند انتهاء الإنشاء",+ "environments.instances.stopBusy": "يتم نسخ أو حذف هذه النسخة — حاول مرة أخرى بعد لحظة",+ "environments.instances.stopConfirmContent": "يتم إيقاف التشغيل الذي يحتجز هذه النسخة الآن بدلاً من عندما يهدأ. يتم حفظ ما تم تثبيته وكتابته أولاً. يتم قطع خطوة في منتصفها في محادثة، وتستأنف من الحالة المحفوظة مع رسالتها التالية.","environments.instances.stopConfirmTitle": "إيقاف التشغيل في \"{{name}}\"؟","environments.instances.stopFailed": "تعذر إيقاف التشغيل","environments.instances.stopNothing": "لا شيء يعمل في \"{{name}}\" بعد الآن","environments.instances.stopRefused": "تعذر إيقاف التشغيل — حاول مرة أخرى","environments.instances.stopSnapshotPending": "لا يزال التشغيل يحفظ عمله، لذا تم تركه قيد التشغيل — حاول مرة أخرى بعد قليل",- "environments.instances.stopStarting": "بدأ تشغيل للتو في هذا المثيل — حاول مرة أخرى بعد قليل",+ "environments.instances.stopStarting": "يبدأ تشغيل للتو في هذه النسخة — حاول مرة أخرى بعد لحظة","environments.instances.stopped": "تم الإيقاف. \"{{name}}\" جاهز للاستخدام","environments.instances.stopping": "جارٍ الإيقاف — حفظ التشغيل أولاً…",- "environments.instances.title": "المثيلات",+ "environments.instances.title": "النسخ",+ "environments.kind.code": "كود",+ "environments.kind.codeDesc": "استنساخ مستودع، تعيين المتغيرات وتشغيل الإعداد قبل بدء الوكيل.",+ "environments.kind.files": "ملفات",+ "environments.kind.filesDesc": "تحميل الملفات ليعمل عليها الوكيل. جاهز بمجرد إنشائه.",+ "environments.kind.filesHint": "مجلد تقوم بتحميل الملفات إليه ليعمل عليها الوكيل. لا يتم استنساخ أو تثبيت أي شيء، لذلك لا يوجد بناء — إنه جاهز بمجرد إنشائه.",+ "environments.kind.label": "النوع","environments.loadFailed.desc": "تعذر الوصول إلى الخدمة التي تقول ما إذا كان لهذا الحساب مساحة عمل دائمة. لا يوجد خطأ في بيئاتك.","environments.loadFailed.retry": "حاول مرة أخرى","environments.loadFailed.title": "تعذر التحقق من خطتك",@@ -698,15 +713,15 @@"environments.namePlaceholder": "اسم البيئة","environments.refresh": "تحديث","environments.remove": "حذف البيئة",- "environments.removeConfirmContent": "تذهب مواصفاتها، متغيراتها واللقطة المحفوظة معها، ولا يمكن استردادها.",+ "environments.removeConfirmContent": "يذهب تعريفها، متغيراتها، مجلد نسختها واللقطة المحفوظة معها، ولا يمكن استردادها.","environments.removeConfirmTitle": "حذف البيئة {{name}}؟","environments.removeFailed": "تعذر حذف هذه البيئة","environments.saveFailed": "تعذر حفظ هذا التغيير","environments.sessions.activeBuild": "{{instance}} يتم بناؤه الآن","environments.sessions.activeSession": "يعمل صندوق الرمل في {{instance}} الآن",- "environments.sessions.desc": "الجلسات الأخيرة التي تم تشغيلها في هذه المثيلات وبنائها، الأحدث أولاً، مع كيفية انتهائها وما إذا كان ما تم تثبيته قد تم حفظه.",+ "environments.sessions.desc": "الجلسات الأخيرة التي تم تشغيلها في هذه النسخ وإنشائها، الأحدث أولاً، مع كيفية انتهاء كل منها وما إذا كان ما تم تثبيته قد تم حفظه.","environments.sessions.empty": "لم يتم تشغيل أي شيء هنا بعد",- "environments.sessions.emptyHint": "كل محادثة وبناء في أحد مثيلاتها ستظهر هنا.",+ "environments.sessions.emptyHint": "كل محادثة وإنشاء في هذه البيئة ستظهر هنا.","environments.sessions.history": "التاريخ","environments.sessions.historyEmpty": "لا توجد تشغيلات منتهية بعد","environments.sessions.kind.build": "بناء",@@ -727,7 +742,7 @@"environments.sessions.snapshotSaved": "تم الحفظ {{size}}","environments.sessions.stale": "لم يتم تسجيل النهاية","environments.sessions.title": "سجل التشغيل",- "environments.sessions.unavailable": "تعذر قراءة جزء من السجل — بعض المثيلات مفقودة من هذه القائمة",+ "environments.sessions.unavailable": "تعذر قراءة جزء من السجل — بعض النسخ مفقودة من هذه القائمة","environments.storage.measuredAt": "تم القياس {{time}}. قم بالتحديث للقياس مرة أخرى.","environments.storage.over": "تجاوز حد التخزين. يتم رفض حفظ ملف حتى تحذف شيئًا.","environments.storage.unmeasured": "لم يتم قياس التخزين بعد · {{total}} متاح",@@ -736,12 +751,12 @@"environments.unavailable.title": "الصندوق الرمل الدائم غير متاح هنا","environments.upgrade.benefits.environments.desc": "المستودعات، أمر الإعداد والمتغيرات تعيش في البيئة؛ يبدأ كل صندوق الرمل المبني منها جاهزًا.","environments.upgrade.benefits.environments.title": "إعداد الصندوق الرمل مكتوب مرة واحدة",- "environments.upgrade.benefits.instances.desc": "تعمل المحادثات المتوازية كل منها في مثيلها الخاص من البيئة، لذا لا شيء يكتب فوق شيء آخر.",- "environments.upgrade.benefits.instances.title": "مثيل واحد لكل مهمة",+ "environments.upgrade.benefits.instances.desc": "تعمل المحادثات المتوازية كل منها في نسختها الخاصة من البيئة، لذا لا يكتب أي شيء فوق أي شيء آخر.",+ "environments.upgrade.benefits.instances.title": "نسخة واحدة لكل مهمة","environments.upgrade.benefits.persist.desc": "يتم الاحتفاظ بدليل العمل عند إعادة تدوير الصندوق الرمل؛ يستمر التشغيل التالي من حيث توقف الأخير.","environments.upgrade.benefits.persist.title": "الملفات تبقى بعد الصندوق الرمل","environments.upgrade.cta": "الترقية إلى Pro",- "environments.upgrade.desc": "امنح تشغيلات الصندوق الرمل السحابية دليل عمل دائم. تصف البيئة ما يحتاجه الصندوق الرمل — المستودعات، الإعداد، المتغيرات — وتحتفظ مثيلاتها بكل شيء بين الجلسات.",+ "environments.upgrade.desc": "امنح تشغيلات صندوق الرمل السحابية دليل عمل دائم. تصف البيئة ما يحتاجه صندوق الرمل — المستودعات، الإعداد، المتغيرات — وتحافظ نسخها على كل شيء بين الجلسات.","environments.upgrade.title": "قم بالترقية إلى Pro لفتح بيئات الصندوق الرمل","environments.visibility.changeFailed": "تعذر تغيير رؤية هذه البيئة","environments.visibility.createPublishedConfirmTitle": "إنشاء هذه البيئة في مساحة العمل؟",diff --git a/locales/bg-BG/chat.json b/locales/bg-BG/chat.jsonindex e4ff31e883d..0c491bde8f2 100644--- a/locales/bg-BG/chat.json+++ b/locales/bg-BG/chat.json@@ -1903,29 +1903,41 @@"runtimeEnv.mode.noneDesc": "Деактивиране на средата за изпълнение","runtimeEnv.selectMode": "Изберете среда за изпълнение","runtimeEnv.title": "Среда за изпълнение",+ "sandboxStorage.allCopiesBusy": "Всички копия са в употреба","sandboxStorage.buildFailed": "Не е изградено","sandboxStorage.building": "Изграждане",+ "sandboxStorage.copies": "Копия",+ "sandboxStorage.copyCount_one": "{{count}} копие",+ "sandboxStorage.copyCount_other": "{{count}} копия",+ "sandboxStorage.createCopyFailed": "Тази среда не можа да бъде подготвена",+ "sandboxStorage.defaultCopy": "По подразбиране","sandboxStorage.environmentsUnavailable": "Средите не можаха да бъдат заредени","sandboxStorage.ephemeral": "Временна работна директория","sandboxStorage.ephemeralDesc": "Изчиства се, когато пясъчникът се рециклира","sandboxStorage.instanceBusy": "{{name}} работи в друг разговор. Този го запазва и го поема, когато това изпълнение приключи.",+ "sandboxStorage.kind.code": "Код",+ "sandboxStorage.kind.files": "Файлове","sandboxStorage.manage": "Управлявай",- "sandboxStorage.noInstances": "Създайте инстанция",- "sandboxStorage.noInstancesDesc": "Вашите среди все още нямат работно копие",+ "sandboxStorage.noCopyColleagueDesc": "Създателят му все още не го е настроил",+ "sandboxStorage.noCopyYetDesc": "Копие се създава при първото му избиране","sandboxStorage.persistentUpsell": "Постоянна работна директория","sandboxStorage.persistentUpsellDesc": "Запазете файловете между изпълнения и теми",- "sandboxStorage.pickerInfoTooltip": "Средата описва какво е необходимо за изпълнение — хранилища, настройки, променливи. Инстанцията е едно работно копие на нея, със собствена папка и инсталирани пакети; разговорите се изпълняват в инстанция и запазват това, което оставят там.",- "sandboxStorage.pickerTitle": "Инстанция на среда",+ "sandboxStorage.pickerInfoTooltip": "Средата описва какво е необходимо за изпълнение — файлове, или хранилища, настройки и променливи. Разговорите се изпълняват в едно от нейните копия и запазват това, което оставят там; второ копие се появява само когато два разговора се нуждаят от една и съща среда едновременно.",+ "sandboxStorage.pickerTitle": "Среда","sandboxStorage.privateGroup": "Частни среди","sandboxStorage.privateInstanceBlocked": "„{{name}}“ е в частна среда, която публичен агент не може да използва. Тази тема се изпълнява във временна работна директория вместо това.","sandboxStorage.publicAgentHint_one": "{{count}} частна среда е скрита — публичен агент може да използва само среди на работното пространство. Публикувайте я, за да я използвате тук.","sandboxStorage.publicAgentHint_other": "{{count}} частни среди са скрити — публичен агент може да използва само среди на работното пространство. Публикувайте една, за да я използвате тук.",+ "sandboxStorage.reopenCopy": "Отворете друго копие",+ "sandboxStorage.reopenCopyDesc": "Възстановено от конфигурацията на средата",+ "sandboxStorage.reopenCopyFailed": "Друго копие не можа да бъде отворено","sandboxStorage.running": "Работи",- "sandboxStorage.runningHint": "Нещо друго все още работи в тази инстанция, така че тя не може да бъде избрана тук. Тя се освобождава автоматично приблизително 15 минути след като това изпълнение затихне.",- "sandboxStorage.runningHintStoppable": "Нещо друго все още работи в тази инстанция, така че тя не може да бъде избрана тук. Тя се освобождава автоматично приблизително 15 минути след като това изпълнение затихне, или можете да я спрете сега.",- "sandboxStorage.runningOwnHint": "Собственото изпълнение на този разговор използва тази инстанция.",+ "sandboxStorage.runningHint": "Нещо друго все още работи в това копие, така че не може да бъде избрано тук. То се освобождава автоматично приблизително 15 минути след като изпълнението приключи.",+ "sandboxStorage.runningHintStoppable": "Нещо друго все още работи в това копие, така че не може да бъде избрано тук. То се освобождава автоматично приблизително 15 минути след като изпълнението приключи, или можете да го спрете сега.",+ "sandboxStorage.runningOwnHint": "Собственото изпълнение на този разговор използва това копие.","sandboxStorage.setUpEnvironment": "Настройте среда","sandboxStorage.setUpEnvironmentDesc": "Постоянната директория живее в среда",+ "sandboxStorage.showCopies": "Показване на копия","sandboxStorage.stop": "Спри","sandboxStorage.workspaceGroup": "Среди на работното пространство","search.grounding.imageSearchQueries": "Ключови думи за търсене на изображения",diff --git a/locales/bg-BG/common.json b/locales/bg-BG/common.jsonindex 7e2e7542be0..c62bc7a2b02 100644--- a/locales/bg-BG/common.json+++ b/locales/bg-BG/common.json@@ -521,7 +521,7 @@"visibilityConfirm.makePrivate.itemLibrary": "Остава в библиотеката, в която сте го подредили — другите членове просто спират да го виждат там","visibilityConfirm.makePrivate.itemLoaded": "Съдържанието, което другите вече са заредили, не може да бъде върнато","visibilityConfirm.makePrivate.itemReferences": "Съществуващите прикачени файлове и препратки в съобщенията ще се показват като недостъпни",- "visibilityConfirm.publish.itemCapturedState": "Членовете могат да стартират неговите инстанции и да имат достъп до всичко, което е заснел — файлове, CLI влизания, вашата влязла идентичност",+ "visibilityConfirm.publish.itemCapturedState": "Членовете могат да стартират неговите копия и да имат достъп до всичко, което е заснел — файлове, CLI влизания, вашата влязла идентичност","visibilityConfirm.publish.itemLoaded": "След превключване обратно, съдържанието, което другите вече са заредили, не може да бъде върнато","visibilityConfirm.publish.itemReversible": "Можете да го превключите обратно на частно по-късно от същото меню","visibilityConfirm.publish.itemVisible": "Всички членове на работното пространство ще го видят незабавно",diff --git a/locales/bg-BG/setting.json b/locales/bg-BG/setting.jsonindex 5d14d35ecb2..85577793d22 100644--- a/locales/bg-BG/setting.json+++ b/locales/bg-BG/setting.json@@ -564,8 +564,9 @@"environments.cancel": "Отказ","environments.create": "Нова среда","environments.createFailed": "Не може да се създаде средата",- "environments.desc": "Какво е необходимо за изпълнение на пясъчната среда: хранилище, настройка, променливи. Всяка инстанция, създадена от една, запазва собствените си файлове между сесиите.",+ "environments.desc": "Какво е необходимо за изпълнение на пясъчник: хранилище, неговата настройка, неговите променливи. Всяко копие, създадено от едно, запазва собствените си файлове между сесиите.","environments.detail.close": "Затвори",+ "environments.detail.tabs.overview": "Преглед","environments.detail.tabs.settings": "Настройки","environments.duplicateName": "Вече имате среда с това име","environments.empty": "Все още няма среди",@@ -574,22 +575,22 @@"environments.files.binary": "Не е текстов файл, така че не може да бъде показан тук.","environments.files.browse": "Преглед на файлове","environments.files.empty": "Тази директория е празна",- "environments.files.invalidPath": "Името трябва да остане в директорията на тази инстанция",+ "environments.files.invalidPath": "Името трябва да остане в директорията на това копие","environments.files.listFailed": "Тази директория не може да бъде изброена","environments.files.openHint": "Двойно кликнете върху папка, за да я отворите, или върху файл, за да го прегледате","environments.files.readOnlyHint": "Само за четене: синхронизира се от пясъчната среда. Зависимости като node_modules не се показват.","environments.files.truncated": "Показани са само първите записи","environments.files.unreadable": "Този файл не може да бъде прочетен",- "environments.files.unusedInstance": "Тук все още няма нищо. Кодът ще се появи, когато инстанцията бъде изградена или в нея се стартира разговор.",+ "environments.files.unusedInstance": "Тук все още няма нищо. Кодът ще се появи, след като копието бъде създадено или когато в него се стартира разговор.","environments.files.up": "Едно ниво нагоре","environments.form.addEnv": "Нова променлива","environments.form.addSource": "Добавяне на хранилище",- "environments.form.appliesOnBuild": "Прилага се при създаване на инстанция. Съществуващите инстанции запазват дефиницията, с която са създадени — повторното изграждане възпроизвежда тази дефиниция, така че използвайте нова инстанция, за да приложите това.",+ "environments.form.appliesOnBuild": "Прилага се, когато се създава копие. Съществуващите копия запазват дефиницията, с която са създадени — повторното изграждане възпроизвежда същата, така че използвайте ново копие, за да приложите това.","environments.form.basics": "Основи","environments.form.bootstrap": "Команда за настройка","environments.form.bootstrapHint": "Стартира се веднъж в клонираното хранилище, с достъп до мрежата, преди да започне разговорът.","environments.form.changeRepository": "Промяна на хранилище",- "environments.form.desc": "От какво се изгражда инстанцията — откъде идва кодът и какво я прави използваема.",+ "environments.form.desc": "От какво е създадено копието — откъде идва кодът и какво го прави използваемо.","environments.form.description": "Описание","environments.form.descriptionPlaceholder": "За какво е тази среда","environments.form.disconnect": "Прекъсване на връзката",@@ -599,13 +600,14 @@"environments.form.envCount_other": "{{count}} променливи","environments.form.envEmpty": "Все още няма променливи","environments.form.envEmptyHint": "Добавете една, или поставете цял .env файл в",- "environments.form.envHint": "Само незащитени стойности — те се съхраняват като обикновен текст и се копират във всяка инстанция.",+ "environments.form.envHint": "Само незащитени стойности — те се съхраняват като обикновен текст и се копират във всяко копие на тази среда.","environments.form.exclude": "Пътища за възстановяване","environments.form.excludeHint": "Един на ред, относително към копието. Изброяването на път показва, че може да бъде възстановен, така че се държи отделно от вашата работа и може да бъде изтрит, за да се освободи място. Всичко, което е посочено тук и не може да бъде възстановено, е работа, която може да загубите.",+ "environments.form.filesDesc": "Как се нарича тази папка и какво съдържа за агента.","environments.form.internetAccess": "Достъп до интернет за агента","environments.form.internetAccessHint": "Настройката винаги има достъп до мрежата. Това контролира самия разговор.","environments.form.maintenance": "Команда за поддръжка",- "environments.form.maintenanceHint": "Стартира се всеки път, когато работата в инстанцията се възобнови — обновяване на клонираното хранилище, повторно прилагане на миграция. Не е същата като командата за настройка: тя е скъпа и е предназначена да се стартира веднъж.",+ "environments.form.maintenanceHint": "Изпълнява се всеки път, когато работата се възобновява в копие — обновяване на изтегляне, повторно прилагане на миграция. Не е отново командата за настройка: тя е скъпа и е предназначена да се изпълнява само веднъж.","environments.form.path": "Папка","environments.form.rawEditor": "Редактор на сурови данни","environments.form.rawEditorHint": "Един KEY=value на ред, както се чете .env файл. Празните редове и коментарите с # се игнорират; запазването замества всяка променлива.",@@ -630,62 +632,75 @@"environments.github.repositoryPending": "Първо изберете организация","environments.github.repositoryPlaceholder": "Търсене на хранилища","environments.github.reviewAccess": "Преглед на достъпа",- "environments.hasInstances": "Първо премахнете нейните инстанции",- "environments.instances.add": "Нова инстанция",+ "environments.hasInstances": "Първо премахнете другите му копия",+ "environments.instances.add": "Ново копие","environments.instances.build": "Изграждане",- "environments.instances.buildConfirmTitle": "Изграждане на инстанция {{name}}?",+ "environments.instances.buildConfirmTitle": "Да се изгради копие {{name}}?","environments.instances.buildFailed": "Изграждането не успя","environments.instances.buildStartFailed": "Не може да се стартира изграждането","environments.instances.buildStatusUnknown": "Изгубена връзка с това изграждане","environments.instances.building": "Изграждане — клониране и инсталиране","environments.instances.confirm": "Създаване",- "environments.instances.count_one": "{{count}} инстанция",- "environments.instances.count_other": "{{count}} инстанции",- "environments.instances.create": "Нова инстанция",- "environments.instances.createFailed": "Не може да се създаде инстанцията",- "environments.instances.desc": "Инстанцията е работно копие на тази среда, със собствена папка и собствени инсталирани пакети. Разговорите се изпълняват вътре в инстанция, и няколко могат да се изпълняват едновременно, без да се засягат един друг.",+ "environments.instances.copy": "Дублиране на копие",+ "environments.instances.copyBuilding": "Това копие се изгражда, така че не може да бъде дублирано, докато изграждането не приключи",+ "environments.instances.copyFailed": "Неуспешно дублиране на това копие",+ "environments.instances.copyInUse": "Разговор използва това копие, така че не може да бъде дублирано сега — дублирайте го, след като този процес приключи, или спрете процеса първо",+ "environments.instances.copyOccupancyUnknown": "Не може да се провери дали това копие се използва, така че не може да бъде дублирано в момента",+ "environments.instances.copyTitle": "Дублиране на {{name}}",+ "environments.instances.count_one": "{{count}} копие",+ "environments.instances.count_other": "{{count}} копия",+ "environments.instances.create": "Ново копие",+ "environments.instances.createFailed": "Неуспешно създаване на копието",+ "environments.instances.defaultUndeletable": "Това е основното копие на средата и не може да бъде изтрито самостоятелно — възстановете го или изтрийте средата",+ "environments.instances.desc": "Копието е работно копие на тази среда, със собствена папка и инсталирани пакети. Разговорите се изпълняват в копие и няколко могат да се изпълняват едновременно, без да се засягат едно друго.","environments.instances.directoryHint": "Път на папката. Не може да бъде променен след създаването.","environments.instances.directoryLabel": "Директория",- "environments.instances.directoryLocked": "Папката не може да бъде променена след изграждането на инстанцията — изтрийте я и създайте друга, за да я преместите.",- "environments.instances.duplicateDirectory": "Друга инстанция вече използва тази папка",- "environments.instances.empty": "Все още няма инстанции",+ "environments.instances.directoryLocked": "Папката не може да бъде променена след създаването на копието — изтрийте го и създайте друго, за да го преместите.",+ "environments.instances.duplicateDirectory": "Друго копие вече използва тази папка",+ "environments.instances.empty": "Все още няма копия","environments.instances.emptyHint": "Създайте една, след това я изберете под \"Работна директория\" в полето за чат.",- "environments.instances.emptyReadonly": "Никой все още не е създал инстанция на тази среда. Само нейният собственик може да добави такава.",+ "environments.instances.emptyReadonly": "Никой все още не е създал копие на тази среда. Само нейният собственик може да добави такова.","environments.instances.hideLog": "Скриване на дневника",- "environments.instances.inUse": "Разговор използва тази инстанция — опитайте отново, когато този процес приключи",- "environments.instances.namePlaceholder": "Име на инстанция",+ "environments.instances.inUse": "Разговор използва това копие — опитайте отново, след като този процес приключи",+ "environments.instances.namePlaceholder": "Име на копието","environments.instances.notBuilt": "Все още не е изградена — нищо не е клонирано или инсталирано",- "environments.instances.occupancyUnavailable": "Не може да се прочете кои инстанции работят в момента",- "environments.instances.overlappingDirectory": "Тази папка е вътре в друга инстанция или съдържа такава",+ "environments.instances.occupancyUnavailable": "Не може да се прочете кои копия се изпълняват в момента",+ "environments.instances.overlappingDirectory": "Тази папка е вътре в друга папка на копие или съдържа такава","environments.instances.rebuild": "Повторно изграждане",- "environments.instances.rebuildConfirmContent": "Това изчиства папката на инстанцията, след това клонира кода отново и стартира скрипта за настройка. Всичко в нея сега — промени, направени в разговори, инсталирани пакети, отчети, данни — ще бъде загубено. Това не може да бъде отменено.",- "environments.instances.rebuildConfirmTitle": "Повторно изграждане на инстанция {{name}}?",- "environments.instances.remove": "Изтриване на инстанция",+ "environments.instances.rebuildConfirmContent": "Това ще изчисти папката на копието, след което ще клонира кода отново и ще изпълни скрипта за настройка. Всичко в него сега — промените, направени в разговори, инсталираните пакети, отчетите, данните — ще бъде загубено. Това не може да бъде отменено.",+ "environments.instances.rebuildConfirmTitle": "Да се изгради отново копие {{name}}?",+ "environments.instances.remove": "Изтриване на копие","environments.instances.removeConfirmContent": "Нейната папка и всичко, което съдържа — инсталирани пакети, отчети, данни — ще бъдат изтрити. Това не може да бъде отменено.",- "environments.instances.removeConfirmTitle": "Изтриване на инстанция {{name}}?",- "environments.instances.removeFailed": "Не може да се изтрие тази инстанция",+ "environments.instances.removeConfirmTitle": "Да се изтрие копие {{name}}?",+ "environments.instances.removeFailed": "Неуспешно изтриване на това копие","environments.instances.removing": "Изтриване — премахване на папката и всичко в нея",- "environments.instances.rename": "Преименуване на инстанция",- "environments.instances.renameFailed": "Не може да се преименува тази инстанция",+ "environments.instances.rename": "Преименуване на копие",+ "environments.instances.renameFailed": "Неуспешно преименуване на това копие","environments.instances.retryStatus": "Проверете отново","environments.instances.running": "Работи",- "environments.instances.runningHint": "Процес все още използва тази инстанция — разговор, изграждане или файлов браузър. Тя се освобождава автоматично около 15 минути след като процесът стане неактивен; История на изпълненията показва кой процес я държи.",- "environments.instances.runningHintStoppable": "Процес все още използва тази инстанция — разговор, изграждане или файлов браузър. Тя се освобождава автоматично около 15 минути след като процесът стане неактивен, или можете да го спрете сега; История на изпълненията показва кой процес я държи.",+ "environments.instances.runningHint": "Процес все още използва това копие — разговор, изграждане или файлов браузър. То ще бъде освободено автоматично приблизително 15 минути след като процесът приключи; Историята на процесите показва кой го използва.",+ "environments.instances.runningHintStoppable": "Процес все още използва това копие — разговор, изграждане или файлов браузър. То ще бъде освободено автоматично приблизително 15 минути след като процесът приключи, или можете да го спрете сега; Историята на процесите показва кой го използва.","environments.instances.save": "Запазване","environments.instances.showLog": "Показване на дневника","environments.instances.stop": "Спиране",- "environments.instances.stopBuilding": "Тази инстанция се изгражда. Тя ще бъде освободена, когато изграждането приключи",- "environments.instances.stopBusy": "Тази инстанция се копира или изтрива — опитайте отново след малко",- "environments.instances.stopConfirmContent": "Процесът, който държи тази инстанция, се спира сега, вместо когато стане неактивен. Това, което е инсталирано и записано, се запазва първо. Разговор в средата на стъпка ще прекъсне тази стъпка и ще продължи от запазеното състояние със следващото си съобщение.",+ "environments.instances.stopBuilding": "Това копие се изгражда. То ще бъде освободено, когато изграждането приключи",+ "environments.instances.stopBusy": "Това копие се дублира или изтрива — опитайте отново след малко",+ "environments.instances.stopConfirmContent": "Процесът, който използва това копие, ще бъде спрян сега, вместо да изчака да приключи. Това, което е инсталирано и записано, ще бъде запазено първо. Разговор в средата на стъпка ще прекъсне тази стъпка и ще продължи от запазеното състояние със следващото си съобщение.","environments.instances.stopConfirmTitle": "Спиране на процеса в \"{{name}}\"?","environments.instances.stopFailed": "Не може да се спре процесът","environments.instances.stopNothing": "Нищо вече не работи в \"{{name}}\"","environments.instances.stopRefused": "Процесът не може да бъде спрян — опитайте отново","environments.instances.stopSnapshotPending": "Процесът все още запазва работата си, така че беше оставен да работи — опитайте отново след малко",- "environments.instances.stopStarting": "Процесът току-що започва в тази инстанция — опитайте отново след малко",+ "environments.instances.stopStarting": "Процес току-що започва в това копие — опитайте отново след малко","environments.instances.stopped": "Спряно. \"{{name}}\" е свободен за използване","environments.instances.stopping": "Спиране — първо запазване на процеса…",- "environments.instances.title": "Инстанции",+ "environments.instances.title": "Копия",+ "environments.kind.code": "Код",+ "environments.kind.codeDesc": "Клонирайте хранилище, задайте променливи и изпълнете настройка преди агентът да стартира.",+ "environments.kind.files": "Файлове",+ "environments.kind.filesDesc": "Качете файлове, върху които агентът да работи. Готово веднага след създаването.",+ "environments.kind.filesHint": "Папка, в която качвате файлове, върху които агентът да работи. Нищо не се клонира или инсталира, така че няма компилация — готово е в момента на създаване.",+ "environments.kind.label": "Тип","environments.loadFailed.desc": "Не можахме да достигнем услугата, която казва дали този акаунт има постоянен работен простор. Няма нищо нередно с вашите среди.","environments.loadFailed.retry": "Опитайте отново","environments.loadFailed.title": "Не може да се провери вашият план",@@ -698,15 +713,15 @@"environments.namePlaceholder": "Име на среда","environments.refresh": "Обновяване","environments.remove": "Изтриване на среда",- "environments.removeConfirmContent": "Нейната спецификация, променливи и запазен момент ще бъдат изтрити и не могат да бъдат възстановени.",+ "environments.removeConfirmContent": "Неговата спецификация, променливи, папката на копието и запазената снимка ще бъдат изтрити и не могат да бъдат възстановени.","environments.removeConfirmTitle": "Изтриване на среда {{name}}?","environments.removeFailed": "Не може да се изтрие тази среда","environments.saveFailed": "Не може да се запази тази промяна","environments.sessions.activeBuild": "{{instance}} се изгражда в момента","environments.sessions.activeSession": "Пясъчна среда работи в {{instance}} в момента",- "environments.sessions.desc": "Най-новите сесии, които са работили в тези инстанции и техните изграждания, най-новите първи, с какъв край са завършили и дали това, което е инсталирано, е запазено.",+ "environments.sessions.desc": "Най-скорошните сесии, които са се изпълнявали в тези копия и техните изграждания, подредени от най-новите, с информация за това как са завършили и дали това, което е било инсталирано, е запазено.","environments.sessions.empty": "Тук все още нищо не е работило",- "environments.sessions.emptyHint": "Всеки разговор и изграждане в една от нейните инстанции ще се покаже тук.",+ "environments.sessions.emptyHint": "Всеки разговор и изграждане в тази среда ще се появи тук.","environments.sessions.history": "История","environments.sessions.historyEmpty": "Все още няма завършени изпълнения","environments.sessions.kind.build": "Изграждане",@@ -727,7 +742,7 @@"environments.sessions.snapshotSaved": "Запазено {{size}}","environments.sessions.stale": "Няма записан край","environments.sessions.title": "История на изпълненията",- "environments.sessions.unavailable": "Част от историята не може да бъде прочетена — някои инстанции липсват в този списък",+ "environments.sessions.unavailable": "Част от историята не може да бъде прочетена — някои копия липсват в този списък","environments.storage.measuredAt": "Измерено {{time}}. Обновете, за да измерите отново.","environments.storage.over": "Над лимита за съхранение. Запазването на файл е отказано, докато не изтриете нещо.","environments.storage.unmeasured": "Съхранението все още не е измерено · {{total}} налично",@@ -736,12 +751,12 @@"environments.unavailable.title": "Постоянната пясъчна среда не е налична тук","environments.upgrade.benefits.environments.desc": "Хранилища, команда за настройка и променливи живеят в средата; всяка пясъчна среда, изградена от нея, започва готова.","environments.upgrade.benefits.environments.title": "Настройка на пясъчната среда, написана веднъж",- "environments.upgrade.benefits.instances.desc": "Паралелните разговори се изпълняват в собствена инстанция на средата, така че нищо не презаписва нищо друго.",- "environments.upgrade.benefits.instances.title": "Една инстанция на задача",+ "environments.upgrade.benefits.instances.desc": "Паралелните разговори се изпълняват във всяко свое копие на средата, така че нищо не презаписва нищо друго.",+ "environments.upgrade.benefits.instances.title": "Едно копие на задача","environments.upgrade.benefits.persist.desc": "Работната директория се запазва, когато пясъчната среда се рециклира; следващото изпълнение продължава от мястото, където последното е спряло.","environments.upgrade.benefits.persist.title": "Файловете оцеляват в пясъчната среда","environments.upgrade.cta": "Надстройте до Pro",- "environments.upgrade.desc": "Дайте на изпълненията в облачната пясъчна среда постоянна работна директория. Средата описва какво е необходимо на пясъчната среда — хранилища, настройка, променливи — и нейните инстанции запазват всичко между сесиите.",+ "environments.upgrade.desc": "Дайте на облачните пясъчни среди постоянна работна директория. Средата описва какво е необходимо за пясъчника — хранилища, настройки, променливи — и нейните копия запазват всичко между сесиите.","environments.upgrade.title": "Надстройте до Pro, за да отключите среди за пясъчни среди","environments.visibility.changeFailed": "Не може да се промени видимостта на тази среда","environments.visibility.createPublishedConfirmTitle": "Създаване на тази среда в работния простор?",diff --git a/locales/de-DE/chat.json b/locales/de-DE/chat.jsonindex 8be6fe4ce76..8e204f190f7 100644--- a/locales/de-DE/chat.json+++ b/locales/de-DE/chat.json@@ -1903,29 +1903,41 @@"runtimeEnv.mode.noneDesc": "Laufzeitumgebung deaktivieren","runtimeEnv.selectMode": "Laufzeitumgebung auswählen","runtimeEnv.title": "Laufzeitumgebung",+ "sandboxStorage.allCopiesBusy": "Jede Kopie ist in Gebrauch","sandboxStorage.buildFailed": "Nicht gebaut","sandboxStorage.building": "Wird gebaut",+ "sandboxStorage.copies": "Kopien",+ "sandboxStorage.copyCount_one": "{{count}} Kopie",+ "sandboxStorage.copyCount_other": "{{count}} Kopien",+ "sandboxStorage.createCopyFailed": "Diese Umgebung konnte nicht vorbereitet werden",+ "sandboxStorage.defaultCopy": "Standard","sandboxStorage.environmentsUnavailable": "Umgebungen konnten nicht geladen werden","sandboxStorage.ephemeral": "Temporäres Arbeitsverzeichnis","sandboxStorage.ephemeralDesc": "Wird bereinigt, wenn die Sandbox recycelt wird","sandboxStorage.instanceBusy": "{{name}} wird in einem anderen Gespräch ausgeführt. Dieses behält es und übernimmt es, wenn dieser Lauf endet.",+ "sandboxStorage.kind.code": "Code",+ "sandboxStorage.kind.files": "Dateien","sandboxStorage.manage": "Verwalten",- "sandboxStorage.noInstances": "Eine Instanz erstellen",- "sandboxStorage.noInstancesDesc": "Ihre Umgebungen haben noch keine Arbeitskopie",+ "sandboxStorage.noCopyColleagueDesc": "Der Ersteller hat sie noch nicht eingerichtet",+ "sandboxStorage.noCopyYetDesc": "Eine Kopie wird erstellt, sobald Sie sie das erste Mal auswählen","sandboxStorage.persistentUpsell": "Persistentes Arbeitsverzeichnis","sandboxStorage.persistentUpsellDesc": "Dateien über Läufe und Themen hinweg behalten",- "sandboxStorage.pickerInfoTooltip": "Eine Umgebung beschreibt, was ein Lauf um sich herum benötigt — Repositories, Einrichtung, Variablen. Eine Instanz ist eine Arbeitskopie davon, mit eigenem Ordner und installierten Paketen; Gespräche laufen innerhalb einer Instanz und behalten, was sie dort hinterlassen.",- "sandboxStorage.pickerTitle": "Umgebungsinstanz",+ "sandboxStorage.pickerInfoTooltip": "Eine Umgebung beschreibt, was ein Lauf benötigt — Dateien, Repositories, Einrichtung und Variablen. Unterhaltungen laufen in einer ihrer Kopien und behalten, was sie dort hinterlassen; eine zweite Kopie erscheint nur, wenn zwei Unterhaltungen gleichzeitig dieselbe Umgebung benötigen.",+ "sandboxStorage.pickerTitle": "Umgebung","sandboxStorage.privateGroup": "Private Umgebungen","sandboxStorage.privateInstanceBlocked": "„{{name}}“ befindet sich in einer privaten Umgebung, die ein öffentlicher Agent nicht verwenden kann. Dieses Thema läuft stattdessen in einem temporären Arbeitsverzeichnis.","sandboxStorage.publicAgentHint_one": "{{count}} private Umgebung ist ausgeblendet — ein öffentlicher Agent kann nur Arbeitsbereichsumgebungen verwenden. Veröffentlichen Sie sie, um sie hier zu verwenden.","sandboxStorage.publicAgentHint_other": "{{count}} private Umgebungen sind ausgeblendet — ein öffentlicher Agent kann nur Arbeitsbereichsumgebungen verwenden. Veröffentlichen Sie eine, um sie hier zu verwenden.",+ "sandboxStorage.reopenCopy": "Eine weitere Kopie öffnen",+ "sandboxStorage.reopenCopyDesc": "Neu erstellt aus der Umgebungskonfiguration",+ "sandboxStorage.reopenCopyFailed": "Eine weitere Kopie konnte nicht geöffnet werden","sandboxStorage.running": "Wird ausgeführt",- "sandboxStorage.runningHint": "Etwas anderes läuft noch in dieser Instanz, daher kann sie hier nicht ausgewählt werden. Sie wird automatisch etwa 15 Minuten nach dem Ende dieses Laufs freigegeben.",- "sandboxStorage.runningHintStoppable": "Etwas anderes läuft noch in dieser Instanz, daher kann sie hier nicht ausgewählt werden. Sie wird automatisch etwa 15 Minuten nach dem Ende dieses Laufs freigegeben, oder Sie können sie jetzt stoppen.",- "sandboxStorage.runningOwnHint": "Der eigene Lauf dieses Gesprächs verwendet diese Instanz.",+ "sandboxStorage.runningHint": "Etwas anderes läuft noch in dieser Kopie, daher kann sie hier nicht ausgewählt werden. Sie wird automatisch etwa 15 Minuten nach dem Ende des Laufs freigegeben.",+ "sandboxStorage.runningHintStoppable": "Etwas anderes läuft noch in dieser Kopie, daher kann sie hier nicht ausgewählt werden. Sie wird automatisch etwa 15 Minuten nach dem Ende des Laufs freigegeben, oder Sie können sie jetzt stoppen.",+ "sandboxStorage.runningOwnHint": "Der Lauf dieser Unterhaltung verwendet diese Kopie.","sandboxStorage.setUpEnvironment": "Eine Umgebung einrichten","sandboxStorage.setUpEnvironmentDesc": "Ein persistentes Verzeichnis lebt in einer Umgebung",+ "sandboxStorage.showCopies": "Kopien anzeigen","sandboxStorage.stop": "Stoppen","sandboxStorage.workspaceGroup": "Arbeitsbereichsumgebungen","search.grounding.imageSearchQueries": "Bildsuchbegriffe",diff --git a/locales/de-DE/common.json b/locales/de-DE/common.jsonindex 7c5f68d586b..0444143c28d 100644--- a/locales/de-DE/common.json+++ b/locales/de-DE/common.json@@ -521,7 +521,7 @@"visibilityConfirm.makePrivate.itemLibrary": "Es bleibt in der Bibliothek, in der Sie es abgelegt haben – andere Mitglieder sehen es dort einfach nicht mehr.","visibilityConfirm.makePrivate.itemLoaded": "Inhalte, die andere bereits geladen haben, können nicht zurückgezogen werden","visibilityConfirm.makePrivate.itemReferences": "Vorhandene Nachrichtenanhänge und Verweise werden als nicht verfügbar angezeigt",- "visibilityConfirm.publish.itemCapturedState": "Mitglieder können seine Instanzen ausführen und auf alles zugreifen, was es erfasst hat – Dateien, CLI-Anmeldungen, Ihre angemeldete Identität",+ "visibilityConfirm.publish.itemCapturedState": "Mitglieder können seine Kopien ausführen und auf alles zugreifen, was es erfasst hat – Dateien, CLI-Anmeldungen, Ihre angemeldete Identität","visibilityConfirm.publish.itemLoaded": "Nach dem Wechsel können Inhalte, die andere bereits geladen haben, nicht zurückgezogen werden","visibilityConfirm.publish.itemReversible": "Sie können es später im selben Menü wieder privat machen","visibilityConfirm.publish.itemVisible": "Alle Mitglieder des Arbeitsbereichs sehen dies sofort",diff --git a/locales/de-DE/setting.json b/locales/de-DE/setting.jsonindex 15b0fafd89c..1c112f1960a 100644--- a/locales/de-DE/setting.json+++ b/locales/de-DE/setting.json@@ -564,8 +564,9 @@"environments.cancel": "Abbrechen","environments.create": "Neue Umgebung","environments.createFailed": "Die Umgebung konnte nicht erstellt werden",- "environments.desc": "Was eine Sandbox-Ausführung benötigt: ein Repository, dessen Einrichtung, dessen Variablen. Jede Instanz, die daraus erstellt wird, behält ihre eigenen Dateien zwischen den Sitzungen.",+ "environments.desc": "Was ein Sandbox-Lauf benötigt: ein Repository, dessen Einrichtung, dessen Variablen. Jede Kopie, die daraus erstellt wird, behält ihre eigenen Dateien zwischen den Sitzungen.","environments.detail.close": "Schließen",+ "environments.detail.tabs.overview": "Übersicht","environments.detail.tabs.settings": "Einstellungen","environments.duplicateName": "Sie haben bereits eine Umgebung mit diesem Namen","environments.empty": "Noch keine Umgebungen",@@ -574,22 +575,22 @@"environments.files.binary": "Keine Textdatei, daher kann sie hier nicht angezeigt werden.","environments.files.browse": "Dateien durchsuchen","environments.files.empty": "Dieses Verzeichnis ist leer",- "environments.files.invalidPath": "Der Name muss innerhalb des Verzeichnisses dieser Instanz bleiben",+ "environments.files.invalidPath": "Der Name muss im Verzeichnis dieser Kopie bleiben","environments.files.listFailed": "Dieses Verzeichnis konnte nicht aufgelistet werden","environments.files.openHint": "Doppelklicken Sie auf einen Ordner, um ihn zu öffnen, oder auf eine Datei, um sie anzuzeigen","environments.files.readOnlyHint": "Schreibgeschützt: wird von der Sandbox synchronisiert. Abhängigkeiten wie node_modules werden nicht angezeigt.","environments.files.truncated": "Nur die ersten Einträge werden angezeigt","environments.files.unreadable": "Diese Datei konnte nicht gelesen werden",- "environments.files.unusedInstance": "Hier ist noch nichts. Der Code erscheint, sobald die Instanz erstellt oder ein Gespräch darin gestartet wird.",+ "environments.files.unusedInstance": "Hier ist noch nichts. Der Code erscheint, sobald die Kopie erstellt oder ein Gespräch darin gestartet wird.","environments.files.up": "Eine Ebene nach oben","environments.form.addEnv": "Neue Variable","environments.form.addSource": "Repository hinzufügen",- "environments.form.appliesOnBuild": "Wird angewendet, wenn eine Instanz erstellt wird. Bestehende Instanzen behalten die Definition, mit der sie erstellt wurden — ein Neuaufbau spielt diese erneut ab, daher verwenden Sie eine neue Instanz, um dies zu übernehmen.",+ "environments.form.appliesOnBuild": "Wird angewendet, wenn eine Kopie erstellt wird. Bestehende Kopien behalten die Definition, mit der sie erstellt wurden — ein Neuaufbau wiederholt diese, daher verwenden Sie eine neue Kopie, um dies zu übernehmen.","environments.form.basics": "Grundlagen","environments.form.bootstrap": "Einrichtungsbefehl","environments.form.bootstrapHint": "Wird einmal im Checkout ausgeführt, mit Netzwerkzugang, bevor das Gespräch beginnt.","environments.form.changeRepository": "Repository ändern",- "environments.form.desc": "Woraus eine Instanz erstellt wird — woher der Code kommt und was ihn nutzbar macht.",+ "environments.form.desc": "Woraus eine Kopie erstellt wird — woher der Code kommt und was sie nutzbar macht.","environments.form.description": "Beschreibung","environments.form.descriptionPlaceholder": "Wofür diese Umgebung gedacht ist","environments.form.disconnect": "Trennen",@@ -599,13 +600,14 @@"environments.form.envCount_other": "{{count}} Variablen","environments.form.envEmpty": "Noch keine Variablen","environments.form.envEmptyHint": "Fügen Sie eine hinzu oder fügen Sie eine ganze .env-Datei ein in die",- "environments.form.envHint": "Nur nicht geheime Werte — diese werden als Klartext gespeichert und in jede Instanz kopiert.",+ "environments.form.envHint": "Nur nicht-geheime Werte — diese werden als Klartext gespeichert und in jede Kopie dieser Umgebung kopiert.","environments.form.exclude": "Regenerierbare Pfade","environments.form.excludeHint": "Einer pro Zeile, relativ zur Kopie. Das Auflisten eines Pfades bedeutet, dass er neu erstellt werden kann, daher wird er von Ihrer Arbeit getrennt und kann gelöscht werden, um Platz freizugeben. Alles, was hier aufgeführt ist und nicht neu erstellt werden kann, ist Arbeit, die Sie verlieren können.",+ "environments.form.filesDesc": "Wie dieser Ordner genannt wird und was er für den Agenten enthält.","environments.form.internetAccess": "Agent-Internetzugang","environments.form.internetAccessHint": "Die Einrichtung hat immer Netzwerkzugang. Dies steuert das Gespräch selbst.","environments.form.maintenance": "Wartungsbefehl",- "environments.form.maintenanceHint": "Wird jedes Mal ausgeführt, wenn die Arbeit in einer Instanz wieder aufgenommen wird — ein Checkout wird aktualisiert, eine Migration erneut angewendet. Nicht erneut der Einrichtungsbefehl: dieser ist teuer und soll nur einmal ausgeführt werden.",+ "environments.form.maintenanceHint": "Wird jedes Mal ausgeführt, wenn die Arbeit in einer Kopie wieder aufgenommen wird — ein Checkout aktualisieren, eine Migration erneut anwenden. Nicht der Einrichtungskommando erneut: Dieser ist teuer und soll nur einmal ausgeführt werden.","environments.form.path": "Ordner","environments.form.rawEditor": "Roh-Editor","environments.form.rawEditorHint": "Eine KEY=Wert pro Zeile, wie eine .env-Datei gelesen wird. Leere Zeilen und # Kommentare werden ignoriert; das Speichern ersetzt jede Variable.",@@ -630,62 +632,75 @@"environments.github.repositoryPending": "Wählen Sie zuerst eine Organisation","environments.github.repositoryPlaceholder": "Repositories durchsuchen","environments.github.reviewAccess": "Zugriff überprüfen",- "environments.hasInstances": "Entfernen Sie zuerst die Instanzen",- "environments.instances.add": "Neue Instanz",+ "environments.hasInstances": "Entfernen Sie zuerst die anderen Kopien",+ "environments.instances.add": "Neue Kopie","environments.instances.build": "Erstellen",- "environments.instances.buildConfirmTitle": "Instanz {{name}} erstellen?",+ "environments.instances.buildConfirmTitle": "Kopie {{name}} erstellen?","environments.instances.buildFailed": "Erstellung fehlgeschlagen","environments.instances.buildStartFailed": "Der Build konnte nicht gestartet werden","environments.instances.buildStatusUnknown": "Der Status dieses Builds ist unbekannt","environments.instances.building": "Wird erstellt — klonen und installieren","environments.instances.confirm": "Erstellen",- "environments.instances.count_one": "{{count}} Instanz",- "environments.instances.count_other": "{{count}} Instanzen",- "environments.instances.create": "Neue Instanz",- "environments.instances.createFailed": "Die Instanz konnte nicht erstellt werden",- "environments.instances.desc": "Eine Instanz ist eine Arbeitskopie dieser Umgebung mit eigenem Ordner und eigenen installierten Paketen. Gespräche laufen innerhalb einer Instanz, und mehrere können nebeneinander laufen, ohne sich gegenseitig zu beeinflussen.",+ "environments.instances.copy": "Kopie duplizieren",+ "environments.instances.copyBuilding": "Diese Kopie wird gerade erstellt und kann erst dupliziert werden, wenn der Aufbau abgeschlossen ist",+ "environments.instances.copyFailed": "Diese Kopie konnte nicht dupliziert werden",+ "environments.instances.copyInUse": "Ein Gespräch verwendet diese Kopie, daher kann sie momentan nicht dupliziert werden — duplizieren Sie sie, sobald dieser Lauf endet, oder beenden Sie den Lauf zuerst",+ "environments.instances.copyOccupancyUnknown": "Es konnte nicht überprüft werden, ob diese Kopie verwendet wird, daher kann sie momentan nicht dupliziert werden",+ "environments.instances.copyTitle": "Dupliziere {{name}}",+ "environments.instances.count_one": "{{count}} Kopie",+ "environments.instances.count_other": "{{count}} Kopien",+ "environments.instances.create": "Neue Kopie",+ "environments.instances.createFailed": "Die Kopie konnte nicht erstellt werden",+ "environments.instances.defaultUndeletable": "Dies ist die Standardkopie der Umgebung und kann nicht eigenständig gelöscht werden — bauen Sie sie neu auf oder löschen Sie die Umgebung.",+ "environments.instances.desc": "Eine Kopie ist eine Arbeitskopie dieser Umgebung mit eigenem Ordner und eigenen installierten Paketen. Gespräche laufen innerhalb einer Kopie, und mehrere können nebeneinander laufen, ohne sich gegenseitig zu beeinflussen.","environments.instances.directoryHint": "Ordnerpfad. Kann nach der Erstellung nicht mehr geändert werden.","environments.instances.directoryLabel": "Verzeichnis",- "environments.instances.directoryLocked": "Der Ordner kann nach dem Erstellen der Instanz nicht mehr geändert werden — löschen Sie ihn und erstellen Sie eine neue, um ihn zu verschieben.",- "environments.instances.duplicateDirectory": "Eine andere Instanz verwendet bereits diesen Ordner",- "environments.instances.empty": "Noch keine Instanzen",+ "environments.instances.directoryLocked": "Der Ordner kann nach dem Erstellen der Kopie nicht mehr geändert werden — löschen Sie ihn und erstellen Sie eine neue Kopie, um ihn zu verschieben.",+ "environments.instances.duplicateDirectory": "Ein anderer Kopie verwendet bereits diesen Ordner",+ "environments.instances.empty": "Noch keine Kopien","environments.instances.emptyHint": "Erstellen Sie eine, und wählen Sie sie dann unter \"Arbeitsverzeichnis\" im Chat-Eingabefeld aus.",- "environments.instances.emptyReadonly": "Niemand hat bisher eine Instanz dieser Umgebung erstellt. Nur der Besitzer kann eine hinzufügen.",+ "environments.instances.emptyReadonly": "Niemand hat bisher eine Kopie dieser Umgebung erstellt. Nur der Besitzer kann eine hinzufügen.","environments.instances.hideLog": "Protokoll ausblenden",- "environments.instances.inUse": "Ein Gespräch verwendet diese Instanz — versuchen Sie es erneut, sobald dieser Lauf endet",- "environments.instances.namePlaceholder": "Instanzname",+ "environments.instances.inUse": "Ein Gespräch verwendet diese Kopie — versuchen Sie es erneut, sobald dieser Lauf endet",+ "environments.instances.namePlaceholder": "Kopiename","environments.instances.notBuilt": "Noch nicht erstellt — nichts wurde geklont oder installiert",- "environments.instances.occupancyUnavailable": "Es konnte nicht gelesen werden, welche Instanzen gerade laufen",- "environments.instances.overlappingDirectory": "Dieser Ordner befindet sich innerhalb des Ordners einer anderen Instanz oder enthält einen solchen",+ "environments.instances.occupancyUnavailable": "Es konnte nicht ermittelt werden, welche Kopien gerade laufen",+ "environments.instances.overlappingDirectory": "Dieser Ordner befindet sich in einem anderen Kopienordner oder enthält einen","environments.instances.rebuild": "Neu erstellen",- "environments.instances.rebuildConfirmContent": "Dies löscht den Ordner der Instanz, klont den Code erneut und führt das Einrichtungs-Skript aus. Alles, was sich jetzt darin befindet — Änderungen aus Gesprächen, installierte Pakete, Berichte, Daten — wird verloren gehen. Dies kann nicht rückgängig gemacht werden.",- "environments.instances.rebuildConfirmTitle": "Instanz {{name}} neu erstellen?",- "environments.instances.remove": "Instanz löschen",+ "environments.instances.rebuildConfirmContent": "Dies löscht den Ordner der Kopie, klont den Code erneut und führt das Einrichtungsskript aus. Alles, was sich derzeit darin befindet — Änderungen aus Gesprächen, installierte Pakete, Berichte, Daten — wird verloren gehen. Dies kann nicht rückgängig gemacht werden.",+ "environments.instances.rebuildConfirmTitle": "Kopie {{name}} neu erstellen?",+ "environments.instances.remove": "Kopie löschen","environments.instances.removeConfirmContent": "Ihr Ordner und alles, was sie enthielt — installierte Pakete, Berichte, Daten — werden gelöscht. Dies kann nicht rückgängig gemacht werden.",- "environments.instances.removeConfirmTitle": "Instanz {{name}} löschen?",- "environments.instances.removeFailed": "Diese Instanz konnte nicht gelöscht werden",+ "environments.instances.removeConfirmTitle": "Kopie {{name}} löschen?",+ "environments.instances.removeFailed": "Diese Kopie konnte nicht gelöscht werden","environments.instances.removing": "Wird gelöscht — Ordner und alles darin werden entfernt",- "environments.instances.rename": "Instanz umbenennen",- "environments.instances.renameFailed": "Diese Instanz konnte nicht umbenannt werden",+ "environments.instances.rename": "Kopie umbenennen",+ "environments.instances.renameFailed": "Diese Kopie konnte nicht umbenannt werden","environments.instances.retryStatus": "Erneut überprüfen","environments.instances.running": "Läuft",- "environments.instances.runningHint": "Ein Lauf verwendet diese Instanz noch — ein Gespräch, ein Build oder der Dateibrowser. Sie wird etwa 15 Minuten nach dem Stillstand des Laufs automatisch freigegeben; der Verlauf zeigt, welcher Lauf sie hält.",- "environments.instances.runningHintStoppable": "Ein Lauf verwendet diese Instanz noch — ein Gespräch, ein Build oder der Dateibrowser. Sie wird etwa 15 Minuten nach dem Stillstand des Laufs automatisch freigegeben, oder Sie können sie jetzt stoppen; der Verlauf zeigt, welcher Lauf sie hält.",+ "environments.instances.runningHint": "Ein Lauf verwendet diese Kopie noch — ein Gespräch, ein Aufbau oder der Dateibrowser. Sie wird etwa 15 Minuten nach dem Ende des Laufs automatisch freigegeben; der Verlauf zeigt, welcher Lauf sie hält.",+ "environments.instances.runningHintStoppable": "Ein Lauf verwendet diese Kopie noch — ein Gespräch, ein Aufbau oder der Dateibrowser. Sie wird etwa 15 Minuten nach dem Ende des Laufs automatisch freigegeben, oder Sie können sie jetzt stoppen; der Verlauf zeigt, welcher Lauf sie hält.","environments.instances.save": "Speichern","environments.instances.showLog": "Protokoll anzeigen","environments.instances.stop": "Stoppen",- "environments.instances.stopBuilding": "Diese Instanz wird gerade erstellt. Sie wird freigegeben, wenn der Build abgeschlossen ist",- "environments.instances.stopBusy": "Diese Instanz wird gerade kopiert oder gelöscht — versuchen Sie es in einem Moment erneut",- "environments.instances.stopConfirmContent": "Der Lauf, der diese Instanz hält, wird jetzt gestoppt, anstatt zu warten, bis er still wird. Was er installiert und geschrieben hat, wird zuerst gespeichert. Ein Gespräch mitten in einem Schritt bricht diesen Schritt ab und setzt mit der nächsten Nachricht aus dem gespeicherten Zustand fort.",+ "environments.instances.stopBuilding": "Diese Kopie wird gerade erstellt. Sie wird freigegeben, wenn der Aufbau abgeschlossen ist",+ "environments.instances.stopBusy": "Diese Kopie wird gerade dupliziert oder gelöscht — versuchen Sie es in einem Moment erneut",+ "environments.instances.stopConfirmContent": "Der Lauf, der diese Kopie hält, wird jetzt gestoppt, anstatt zu warten, bis er von selbst endet. Was er installiert und geschrieben hat, wird zuerst gespeichert. Ein Gespräch mitten in einem Schritt wird unterbrochen und setzt mit der nächsten Nachricht aus dem gespeicherten Zustand fort.","environments.instances.stopConfirmTitle": "Den Lauf in \"{{name}}\" stoppen?","environments.instances.stopFailed": "Der Lauf konnte nicht gestoppt werden","environments.instances.stopNothing": "In \"{{name}}\" läuft nichts mehr","environments.instances.stopRefused": "Der Lauf konnte nicht gestoppt werden — versuchen Sie es erneut","environments.instances.stopSnapshotPending": "Der Lauf speichert seine Arbeit noch, daher wurde er nicht gestoppt — versuchen Sie es in einem Moment erneut",- "environments.instances.stopStarting": "Ein Lauf startet gerade in dieser Instanz — versuchen Sie es in einem Moment erneut",+ "environments.instances.stopStarting": "Ein Lauf startet gerade in dieser Kopie — versuchen Sie es in einem Moment erneut","environments.instances.stopped": "Gestoppt. \"{{name}}\" ist frei zur Nutzung","environments.instances.stopping": "Wird gestoppt — der Lauf wird zuerst gespeichert…",- "environments.instances.title": "Instanzen",+ "environments.instances.title": "Kopien",+ "environments.kind.code": "Code",+ "environments.kind.codeDesc": "Ein Repository klonen, Variablen setzen und Setup ausführen, bevor der Agent startet.",+ "environments.kind.files": "Dateien",+ "environments.kind.filesDesc": "Dateien hochladen, an denen ein Agent arbeiten soll. Bereit, sobald es erstellt ist.",+ "environments.kind.filesHint": "Ein Ordner, in den Sie Dateien hochladen, damit ein Agent daran arbeiten kann. Es wird nichts geklont oder installiert, daher gibt es keinen Build — es ist bereit, sobald es erstellt ist.",+ "environments.kind.label": "Typ","environments.loadFailed.desc": "Wir konnten den Dienst nicht erreichen, der angibt, ob dieses Konto über einen persistenten Arbeitsbereich verfügt. Mit Ihren Umgebungen ist nichts falsch.","environments.loadFailed.retry": "Erneut versuchen","environments.loadFailed.title": "Ihr Plan konnte nicht überprüft werden",@@ -698,15 +713,15 @@"environments.namePlaceholder": "Umgebungsname","environments.refresh": "Aktualisieren","environments.remove": "Umgebung löschen",- "environments.removeConfirmContent": "Ihre Spezifikation, Variablen und gespeicherte Momentaufnahme werden mit ihr gelöscht und können nicht wiederhergestellt werden.",+ "environments.removeConfirmContent": "Seine Spezifikation, Variablen, der Ordner der Kopie und der gespeicherte Snapshot werden mit entfernt und können nicht wiederhergestellt werden.","environments.removeConfirmTitle": "Umgebung {{name}} löschen?","environments.removeFailed": "Diese Umgebung konnte nicht gelöscht werden","environments.saveFailed": "Diese Änderung konnte nicht gespeichert werden","environments.sessions.activeBuild": "{{instance}} wird gerade erstellt","environments.sessions.activeSession": "Eine Sandbox läuft gerade in {{instance}}",- "environments.sessions.desc": "Die neuesten Sitzungen, die in diesen Instanzen und deren Builds ausgeführt wurden, von den neuesten bis zu den ältesten, mit dem Ergebnis und ob das, was installiert wurde, gespeichert wurde.",+ "environments.sessions.desc": "Die neuesten Sitzungen, die in diesen Kopien und deren Aufbauten ausgeführt wurden, von den neuesten bis zu den ältesten, mit dem jeweiligen Ende und ob das Installierte gespeichert wurde.","environments.sessions.empty": "Hier wurde noch nichts ausgeführt",- "environments.sessions.emptyHint": "Jedes Gespräch und jeder Build in einer ihrer Instanzen wird hier angezeigt.",+ "environments.sessions.emptyHint": "Jedes Gespräch und jeder Aufbau in dieser Umgebung wird hier angezeigt.","environments.sessions.history": "Verlauf","environments.sessions.historyEmpty": "Noch keine abgeschlossenen Läufe","environments.sessions.kind.build": "Build",@@ -727,7 +742,7 @@"environments.sessions.snapshotSaved": "{{size}} gespeichert","environments.sessions.stale": "Kein Ende aufgezeichnet","environments.sessions.title": "Laufverlauf",- "environments.sessions.unavailable": "Ein Teil des Verlaufs konnte nicht gelesen werden — einige Instanzen fehlen in dieser Liste",+ "environments.sessions.unavailable": "Ein Teil der Historie konnte nicht gelesen werden — einige Kopien fehlen in dieser Liste","environments.storage.measuredAt": "Gemessen {{time}}. Aktualisieren, um erneut zu messen.","environments.storage.over": "Über dem Speicherlimit. Das Speichern einer Datei wird verweigert, bis Sie etwas löschen.","environments.storage.unmeasured": "Speicher noch nicht gemessen · {{total}} verfügbar",@@ -736,12 +751,12 @@"environments.unavailable.title": "Persistente Sandbox ist hier nicht verfügbar","environments.upgrade.benefits.environments.desc": "Repositories, Einrichtungsbefehl und Variablen leben in der Umgebung; jede Sandbox, die daraus erstellt wird, startet einsatzbereit.","environments.upgrade.benefits.environments.title": "Sandbox-Einrichtung einmal geschrieben",- "environments.upgrade.benefits.instances.desc": "Parallele Gespräche laufen jeweils in ihrer eigenen Instanz der Umgebung, sodass nichts anderes überschrieben wird.",- "environments.upgrade.benefits.instances.title": "Eine Instanz pro Aufgabe",+ "environments.upgrade.benefits.instances.desc": "Parallele Gespräche laufen jeweils in ihrer eigenen Kopie der Umgebung, sodass nichts überschrieben wird.",+ "environments.upgrade.benefits.instances.title": "Eine Kopie pro Aufgabe","environments.upgrade.benefits.persist.desc": "Das Arbeitsverzeichnis bleibt erhalten, wenn die Sandbox recycelt wird; der nächste Lauf setzt dort fort, wo der letzte aufgehört hat.","environments.upgrade.benefits.persist.title": "Dateien überleben die Sandbox","environments.upgrade.cta": "Auf Pro upgraden",- "environments.upgrade.desc": "Geben Sie Cloud-Sandbox-Läufen ein persistentes Arbeitsverzeichnis. Eine Umgebung beschreibt, was die Sandbox benötigt — Repositories, Einrichtung, Variablen — und ihre Instanzen behalten alles zwischen den Sitzungen.",+ "environments.upgrade.desc": "Geben Sie Cloud-Sandbox-Läufen ein persistentes Arbeitsverzeichnis. Eine Umgebung beschreibt, was die Sandbox benötigt — Repositories, Einrichtung, Variablen — und ihre Kopien behalten alles zwischen den Sitzungen.","environments.upgrade.title": "Auf Pro upgraden, um Sandbox-Umgebungen freizuschalten","environments.visibility.changeFailed": "Die Sichtbarkeit dieser Umgebung konnte nicht geändert werden","environments.visibility.createPublishedConfirmTitle": "Diese Umgebung im Arbeitsbereich erstellen?",diff --git a/locales/en-US/chat.json b/locales/en-US/chat.jsonindex d3227ad662b..0299601cbce 100644--- a/locales/en-US/chat.json+++ b/locales/en-US/chat.json@@ -1903,29 +1903,41 @@"runtimeEnv.mode.noneDesc": "Disable runtime environment","runtimeEnv.selectMode": "Select Runtime Environment","runtimeEnv.title": "Runtime Environment",+ "sandboxStorage.allCopiesBusy": "Every copy is in use","sandboxStorage.buildFailed": "Not built","sandboxStorage.building": "Building",+ "sandboxStorage.copies": "Copies",+ "sandboxStorage.copyCount_one": "{{count}} copy",+ "sandboxStorage.copyCount_other": "{{count}} copies",+ "sandboxStorage.createCopyFailed": "This environment could not be prepared",+ "sandboxStorage.defaultCopy": "Default","sandboxStorage.environmentsUnavailable": "Environments could not be loaded","sandboxStorage.ephemeral": "Temporary working directory","sandboxStorage.ephemeralDesc": "Cleaned up when the sandbox is recycled","sandboxStorage.instanceBusy": "{{name}} is running in another conversation. This one keeps it, and picks it up when that run ends.",+ "sandboxStorage.kind.code": "Code",+ "sandboxStorage.kind.files": "Files","sandboxStorage.manage": "Manage",- "sandboxStorage.noInstances": "Create an instance",- "sandboxStorage.noInstancesDesc": "Your environments have no working copy yet",+ "sandboxStorage.noCopyColleagueDesc": "Its creator has not set it up yet",+ "sandboxStorage.noCopyYetDesc": "A copy is created the first time you pick it","sandboxStorage.persistentUpsell": "Persistent working directory","sandboxStorage.persistentUpsellDesc": "Keep files across runs and topics",- "sandboxStorage.pickerInfoTooltip": "An environment describes what a run needs around it — repositories, setup, variables. An instance is one working copy of it, with its own folder and its own installed packages; conversations run inside an instance and keep what they leave there.",- "sandboxStorage.pickerTitle": "Environment Instance",+ "sandboxStorage.pickerInfoTooltip": "An environment describes what a run needs around it — files, or repositories, setup and variables. Conversations run inside one of its copies and keep what they leave there; a second copy only appears when two conversations need the same environment at once.",+ "sandboxStorage.pickerTitle": "Environment","sandboxStorage.privateGroup": "Private Environments","sandboxStorage.privateInstanceBlocked": "“{{name}}” is in a private environment, which a public agent cannot use. This topic runs in a temporary working directory instead.","sandboxStorage.publicAgentHint_one": "{{count}} private environment is hidden — a public agent can only use workspace environments. Publish it to use it here.","sandboxStorage.publicAgentHint_other": "{{count}} private environments are hidden — a public agent can only use workspace environments. Publish one to use it here.",+ "sandboxStorage.reopenCopy": "Open another copy",+ "sandboxStorage.reopenCopyDesc": "Rebuilt from the environment configuration",+ "sandboxStorage.reopenCopyFailed": "Another copy could not be opened","sandboxStorage.running": "Running",- "sandboxStorage.runningHint": "Something else is still running in this instance, so it cannot be picked here. It is released on its own roughly 15 minutes after that run goes quiet.",- "sandboxStorage.runningHintStoppable": "Something else is still running in this instance, so it cannot be picked here. It is released on its own roughly 15 minutes after that run goes quiet, or you can stop it now.",- "sandboxStorage.runningOwnHint": "This conversation's own run is using this instance.",+ "sandboxStorage.runningHint": "Something else is still running in this copy, so it cannot be picked here. It is released on its own roughly 15 minutes after that run goes quiet.",+ "sandboxStorage.runningHintStoppable": "Something else is still running in this copy, so it cannot be picked here. It is released on its own roughly 15 minutes after that run goes quiet, or you can stop it now.",+ "sandboxStorage.runningOwnHint": "This conversation's own run is using this copy.","sandboxStorage.setUpEnvironment": "Set up an environment","sandboxStorage.setUpEnvironmentDesc": "A persistent directory lives in an environment",+ "sandboxStorage.showCopies": "Show copies","sandboxStorage.stop": "Stop","sandboxStorage.workspaceGroup": "Workspace Environments","search.grounding.imageSearchQueries": "Image Search Keywords",diff --git a/locales/en-US/common.json b/locales/en-US/common.jsonindex ba5173eff6a..72fdd1d105c 100644--- a/locales/en-US/common.json+++ b/locales/en-US/common.json@@ -521,7 +521,7 @@"visibilityConfirm.makePrivate.itemLibrary": "It stays in the library you filed it in — other members just stop seeing it there","visibilityConfirm.makePrivate.itemLoaded": "Content others have already loaded can’t be pulled back","visibilityConfirm.makePrivate.itemReferences": "Existing message attachments and references will show as unavailable",- "visibilityConfirm.publish.itemCapturedState": "Members can run its instances and reach everything it has captured — files, CLI logins, your signed-in identity",+ "visibilityConfirm.publish.itemCapturedState": "Members can run its copies and reach everything it has captured — files, CLI logins, your signed-in identity","visibilityConfirm.publish.itemLoaded": "After switching back, content others have already loaded can’t be pulled back","visibilityConfirm.publish.itemReversible": "You can switch it back to private later from the same menu","visibilityConfirm.publish.itemVisible": "All workspace members will see this immediately",diff --git a/locales/en-US/setting.json b/locales/en-US/setting.jsonindex 86d93978c63..54ea1fb138d 100644--- a/locales/en-US/setting.json+++ b/locales/en-US/setting.json@@ -564,8 +564,9 @@"environments.cancel": "Cancel","environments.create": "New environment","environments.createFailed": "Could not create the environment",- "environments.desc": "What a sandbox run needs around it: a repository, its setup, its variables. Each instance built from one keeps its own files between sessions.",+ "environments.desc": "What a sandbox run needs around it: a repository, its setup, its variables. Each copy built from one keeps its own files between sessions.","environments.detail.close": "Close",+ "environments.detail.tabs.overview": "Overview","environments.detail.tabs.settings": "Settings","environments.duplicateName": "You already have an environment with this name","environments.empty": "No environments yet",@@ -574,22 +575,22 @@"environments.files.binary": "Not a text file, so it cannot be shown here.","environments.files.browse": "Browse files","environments.files.empty": "This directory is empty",- "environments.files.invalidPath": "The name has to stay inside this instance's directory",+ "environments.files.invalidPath": "The name has to stay inside this copy's directory","environments.files.listFailed": "This directory could not be listed","environments.files.openHint": "Double-click a folder to open it, or a file to view it","environments.files.readOnlyHint": "Read-only: kept in sync by the sandbox. Dependencies such as node_modules are not shown.","environments.files.truncated": "Only the first entries are shown","environments.files.unreadable": "This file could not be read",- "environments.files.unusedInstance": "Nothing here yet. The code appears once the instance is built or a conversation runs in it.",+ "environments.files.unusedInstance": "Nothing here yet. The code appears once the copy is built or a conversation runs in it.","environments.files.up": "Up one level","environments.form.addEnv": "New variable","environments.form.addSource": "Add repository",- "environments.form.appliesOnBuild": "Applied when an instance is created. Existing instances keep the definition they were made with — a rebuild replays that one, so use a new instance to pick this up.",+ "environments.form.appliesOnBuild": "Applied when a copy is created. Existing copies keep the definition they were made with — a rebuild replays that one, so use a new copy to pick this up.","environments.form.basics": "Basics","environments.form.bootstrap": "Setup command","environments.form.bootstrapHint": "Runs once in the checkout, with network access, before the conversation starts.","environments.form.changeRepository": "Change repository",- "environments.form.desc": "What an instance is built from — where the code comes from and what makes it usable.",+ "environments.form.desc": "What a copy is built from — where the code comes from and what makes it usable.","environments.form.description": "Description","environments.form.descriptionPlaceholder": "What this environment is for","environments.form.disconnect": "Disconnect",@@ -599,13 +600,14 @@"environments.form.envCount_other": "{{count}} variables","environments.form.envEmpty": "No variables yet","environments.form.envEmptyHint": "Add one, or paste a whole .env file in the",- "environments.form.envHint": "Non-secret values only — these are stored as plain text and copied into every instance.",+ "environments.form.envHint": "Non-secret values only — these are stored as plain text and copied into every copy of this environment.","environments.form.exclude": "Regenerable paths","environments.form.excludeHint": "One per line, relative to the copy. Listing a path says it can be rebuilt, so it is kept apart from your work and may be discarded to reclaim space. Anything named here that cannot be rebuilt is work you can lose.",+ "environments.form.filesDesc": "What this folder is called and what it holds for the agent.","environments.form.internetAccess": "Agent internet access","environments.form.internetAccessHint": "Setup always has network access. This controls the conversation itself.","environments.form.maintenance": "Maintenance command",- "environments.form.maintenanceHint": "Runs each time work resumes in an instance — refreshing a checkout, reapplying a migration. Not the setup command again: that one is expensive and is meant to run once.",+ "environments.form.maintenanceHint": "Runs each time work resumes in a copy — refreshing a checkout, reapplying a migration. Not the setup command again: that one is expensive and is meant to run once.","environments.form.path": "Folder","environments.form.rawEditor": "Raw editor","environments.form.rawEditorHint": "One KEY=value per line, the way a .env file reads. Blank lines and # comments are ignored; saving replaces every variable.",@@ -630,62 +632,75 @@"environments.github.repositoryPending": "Choose an organization first","environments.github.repositoryPlaceholder": "Search repositories","environments.github.reviewAccess": "Review access",- "environments.hasInstances": "Remove its instances first",- "environments.instances.add": "New instance",+ "environments.hasInstances": "Remove its other copies first",+ "environments.instances.add": "New copy","environments.instances.build": "Build",- "environments.instances.buildConfirmTitle": "Build instance {{name}}?",+ "environments.instances.buildConfirmTitle": "Build copy {{name}}?","environments.instances.buildFailed": "Build failed","environments.instances.buildStartFailed": "Could not start the build","environments.instances.buildStatusUnknown": "Lost track of this build","environments.instances.building": "Building — cloning and installing","environments.instances.confirm": "Create",- "environments.instances.count_one": "{{count}} instance",- "environments.instances.count_other": "{{count}} instances",- "environments.instances.create": "New instance",- "environments.instances.createFailed": "Could not create the instance",- "environments.instances.desc": "An instance is a working copy of this environment, with its own folder and its own installed packages. Conversations run inside an instance, and several can run side by side without touching each other.",+ "environments.instances.copy": "Duplicate copy",+ "environments.instances.copyBuilding": "This copy is being built, so it cannot be duplicated until the build finishes",+ "environments.instances.copyFailed": "Could not duplicate this copy",+ "environments.instances.copyInUse": "A conversation is using this copy, so it cannot be duplicated now — duplicate it once that run ends, or stop the run first",+ "environments.instances.copyOccupancyUnknown": "Could not check whether this copy is in use, so it cannot be duplicated right now",+ "environments.instances.copyTitle": "Duplicate {{name}}",+ "environments.instances.count_one": "{{count}} copy",+ "environments.instances.count_other": "{{count}} copies",+ "environments.instances.create": "New copy",+ "environments.instances.createFailed": "Could not create the copy",+ "environments.instances.defaultUndeletable": "This is the environment's default copy and can't be deleted on its own — rebuild it, or delete the environment",+ "environments.instances.desc": "A copy is a working copy of this environment, with its own folder and its own installed packages. Conversations run inside a copy, and several can run side by side without touching each other.","environments.instances.directoryHint": "Folder path. Cannot be changed once created.","environments.instances.directoryLabel": "Directory",- "environments.instances.directoryLocked": "The folder cannot be changed after the instance is built — delete it and create another to move it.",- "environments.instances.duplicateDirectory": "Another instance already uses this folder",- "environments.instances.empty": "No instances yet",+ "environments.instances.directoryLocked": "The folder cannot be changed after the copy is built — delete it and create another to move it.",+ "environments.instances.duplicateDirectory": "Another copy already uses this folder",+ "environments.instances.empty": "No copies yet","environments.instances.emptyHint": "Create one, then pick it under \"Working Directory\" in the chat input.",- "environments.instances.emptyReadonly": "Nobody has created an instance of this environment yet. Only its owner can add one.",+ "environments.instances.emptyReadonly": "Nobody has created a copy of this environment yet. Only its owner can add one.","environments.instances.hideLog": "Hide log",- "environments.instances.inUse": "A conversation is using this instance — try again once that run ends",- "environments.instances.namePlaceholder": "Instance name",+ "environments.instances.inUse": "A conversation is using this copy — try again once that run ends",+ "environments.instances.namePlaceholder": "Copy name","environments.instances.notBuilt": "Not built yet — nothing has been cloned or installed",- "environments.instances.occupancyUnavailable": "Could not read which instances are running right now",- "environments.instances.overlappingDirectory": "This folder is inside another instance's folder, or contains one",+ "environments.instances.occupancyUnavailable": "Could not read which copies are running right now",+ "environments.instances.overlappingDirectory": "This folder is inside another copy's folder, or contains one","environments.instances.rebuild": "Rebuild",- "environments.instances.rebuildConfirmContent": "This clears the instance's folder, then clones the code again and runs the setup script. Everything in it now — changes made in conversations, installed packages, reports, data — will be lost. This cannot be undone.",- "environments.instances.rebuildConfirmTitle": "Rebuild instance {{name}}?",- "environments.instances.remove": "Delete instance",+ "environments.instances.rebuildConfirmContent": "This clears the copy's folder, then clones the code again and runs the setup script. Everything in it now — changes made in conversations, installed packages, reports, data — will be lost. This cannot be undone.",+ "environments.instances.rebuildConfirmTitle": "Rebuild copy {{name}}?",+ "environments.instances.remove": "Delete copy","environments.instances.removeConfirmContent": "Its folder and everything it kept — installed packages, reports, data — will be deleted. This cannot be undone.",- "environments.instances.removeConfirmTitle": "Delete instance {{name}}?",- "environments.instances.removeFailed": "Could not delete this instance",+ "environments.instances.removeConfirmTitle": "Delete copy {{name}}?",+ "environments.instances.removeFailed": "Could not delete this copy","environments.instances.removing": "Deleting — removing its folder and everything in it",- "environments.instances.rename": "Rename instance",- "environments.instances.renameFailed": "Could not rename this instance",+ "environments.instances.rename": "Rename copy",+ "environments.instances.renameFailed": "Could not rename this copy","environments.instances.retryStatus": "Check again","environments.instances.running": "Running",- "environments.instances.runningHint": "A run is still using this instance — a conversation, a build, or the file browser. It is released on its own roughly 15 minutes after that run goes quiet; Run history shows which one is holding it.",- "environments.instances.runningHintStoppable": "A run is still using this instance — a conversation, a build, or the file browser. It is released on its own roughly 15 minutes after that run goes quiet, or you can stop it now; Run history shows which one is holding it.",+ "environments.instances.runningHint": "A run is still using this copy — a conversation, a build, or the file browser. It is released on its own roughly 15 minutes after that run goes quiet; Run history shows which one is holding it.",+ "environments.instances.runningHintStoppable": "A run is still using this copy — a conversation, a build, or the file browser. It is released on its own roughly 15 minutes after that run goes quiet, or you can stop it now; Run history shows which one is holding it.","environments.instances.save": "Save","environments.instances.showLog": "Show log","environments.instances.stop": "Stop",- "environments.instances.stopBuilding": "This instance is being built. It is released when the build finishes",- "environments.instances.stopBusy": "This instance is being copied or deleted — try again in a moment",- "environments.instances.stopConfirmContent": "The run holding this instance is stopped now instead of when it goes quiet. What it installed and wrote is saved first. A conversation in the middle of a step has that step cut off, and picks up from the saved state with its next message.",+ "environments.instances.stopBuilding": "This copy is being built. It is released when the build finishes",+ "environments.instances.stopBusy": "This copy is being duplicated or deleted — try again in a moment",+ "environments.instances.stopConfirmContent": "The run holding this copy is stopped now instead of when it goes quiet. What it installed and wrote is saved first. A conversation in the middle of a step has that step cut off, and picks up from the saved state with its next message.","environments.instances.stopConfirmTitle": "Stop the run in \"{{name}}\"?","environments.instances.stopFailed": "Could not stop the run","environments.instances.stopNothing": "Nothing is running in \"{{name}}\" any more","environments.instances.stopRefused": "The run could not be stopped — try again","environments.instances.stopSnapshotPending": "The run is still saving its work, so it was left running — try again in a moment",- "environments.instances.stopStarting": "A run is just starting in this instance — try again in a moment",+ "environments.instances.stopStarting": "A run is just starting in this copy — try again in a moment","environments.instances.stopped": "Stopped. \"{{name}}\" is free to use","environments.instances.stopping": "Stopping — saving the run first…",- "environments.instances.title": "Instances",+ "environments.instances.title": "Copies",+ "environments.kind.code": "Code",+ "environments.kind.codeDesc": "Clone a repository, set variables and run setup before the agent starts.",+ "environments.kind.files": "Files",+ "environments.kind.filesDesc": "Upload files for an agent to work on. Ready as soon as it is created.",+ "environments.kind.filesHint": "A folder you upload files to for an agent to work on. Nothing is cloned or installed, so there is no build — it is ready the moment it is created.",+ "environments.kind.label": "Type","environments.loadFailed.desc": "We could not reach the service that says whether this account has a persistent workspace. Nothing is wrong with your environments.","environments.loadFailed.retry": "Try again","environments.loadFailed.title": "Could not check your plan",@@ -698,15 +713,15 @@"environments.namePlaceholder": "Environment name","environments.refresh": "Refresh","environments.remove": "Delete environment",- "environments.removeConfirmContent": "Its specification, variables and saved snapshot go with it, and cannot be recovered.",+ "environments.removeConfirmContent": "Its specification, variables, its copy's folder and the saved snapshot go with it, and cannot be recovered.","environments.removeConfirmTitle": "Delete environment {{name}}?","environments.removeFailed": "Could not delete this environment","environments.saveFailed": "Could not save this change","environments.sessions.activeBuild": "{{instance}} is being built right now","environments.sessions.activeSession": "A sandbox is running in {{instance}} right now",- "environments.sessions.desc": "The most recent sessions that ran in these instances and the builds of them, newest first, with how each ended and whether what it installed was saved.",+ "environments.sessions.desc": "The most recent sessions that ran in these copies and the builds of them, newest first, with how each ended and whether what it installed was saved.","environments.sessions.empty": "Nothing has run here yet",- "environments.sessions.emptyHint": "Every conversation and build in one of its instances will show up here.",+ "environments.sessions.emptyHint": "Every conversation and build in this environment will show up here.","environments.sessions.history": "History","environments.sessions.historyEmpty": "No finished runs yet","environments.sessions.kind.build": "Build",@@ -727,7 +742,7 @@"environments.sessions.snapshotSaved": "Saved {{size}}","environments.sessions.stale": "No end recorded","environments.sessions.title": "Run history",- "environments.sessions.unavailable": "Part of the history could not be read — some instances are missing from this list",+ "environments.sessions.unavailable": "Part of the history could not be read — some copies are missing from this list","environments.storage.measuredAt": "Measured {{time}}. Refresh to measure again.","environments.storage.over": "Over the storage limit. Saving a file is refused until you delete something.","environments.storage.unmeasured": "Storage not measured yet · {{total}} available",@@ -736,12 +751,12 @@"environments.unavailable.title": "Persistent sandbox is not available here","environments.upgrade.benefits.environments.desc": "Repositories, setup command and variables live in the environment; every sandbox built from it starts ready.","environments.upgrade.benefits.environments.title": "Sandbox setup written once",- "environments.upgrade.benefits.instances.desc": "Parallel conversations each run in their own instance of the environment, so nothing overwrites anything else.",- "environments.upgrade.benefits.instances.title": "One instance per task",+ "environments.upgrade.benefits.instances.desc": "Parallel conversations each run in their own copy of the environment, so nothing overwrites anything else.",+ "environments.upgrade.benefits.instances.title": "One copy per task","environments.upgrade.benefits.persist.desc": "The working directory is kept when the sandbox is recycled; the next run continues where the last stopped.","environments.upgrade.benefits.persist.title": "Files survive the sandbox","environments.upgrade.cta": "Upgrade to Pro",- "environments.upgrade.desc": "Give cloud-sandbox runs a persistent working directory. An environment describes what the sandbox needs — repositories, setup, variables — and its instances keep everything between sessions.",+ "environments.upgrade.desc": "Give cloud-sandbox runs a persistent working directory. An environment describes what the sandbox needs — repositories, setup, variables — and its copies keep everything between sessions.","environments.upgrade.title": "Upgrade to Pro to unlock sandbox environments","environments.visibility.changeFailed": "Could not change this environment's visibility","environments.visibility.createPublishedConfirmTitle": "Create this environment in the workspace?",diff --git a/locales/es-ES/chat.json b/locales/es-ES/chat.jsonindex a7405afa75a..2ddd16b8b6f 100644--- a/locales/es-ES/chat.json+++ b/locales/es-ES/chat.json@@ -1903,29 +1903,41 @@"runtimeEnv.mode.noneDesc": "Deshabilitar el entorno de ejecución","runtimeEnv.selectMode": "Seleccionar entorno de ejecución","runtimeEnv.title": "Entorno de ejecución",+ "sandboxStorage.allCopiesBusy": "Cada copia está en uso","sandboxStorage.buildFailed": "No construido","sandboxStorage.building": "Construyendo",+ "sandboxStorage.copies": "Copias",+ "sandboxStorage.copyCount_one": "{{count}} copia",+ "sandboxStorage.copyCount_other": "{{count}} copias",+ "sandboxStorage.createCopyFailed": "Este entorno no pudo ser preparado",+ "sandboxStorage.defaultCopy": "Predeterminado","sandboxStorage.environmentsUnavailable": "No se pudieron cargar los entornos","sandboxStorage.ephemeral": "Directorio de trabajo temporal","sandboxStorage.ephemeralDesc": "Se limpia cuando se recicla el sandbox","sandboxStorage.instanceBusy": "{{name}} está en ejecución en otra conversación. Esta lo mantiene y lo retoma cuando esa ejecución termina.",+ "sandboxStorage.kind.code": "Código",+ "sandboxStorage.kind.files": "Archivos","sandboxStorage.manage": "Gestionar",- "sandboxStorage.noInstances": "Crear una instancia",- "sandboxStorage.noInstancesDesc": "Tus entornos aún no tienen una copia de trabajo",+ "sandboxStorage.noCopyColleagueDesc": "Su creador aún no lo ha configurado",+ "sandboxStorage.noCopyYetDesc": "Se crea una copia la primera vez que la eliges","sandboxStorage.persistentUpsell": "Directorio de trabajo persistente","sandboxStorage.persistentUpsellDesc": "Mantén archivos entre ejecuciones y temas",- "sandboxStorage.pickerInfoTooltip": "Un entorno describe lo que una ejecución necesita a su alrededor: repositorios, configuración, variables. Una instancia es una copia de trabajo de este, con su propia carpeta y paquetes instalados; las conversaciones se ejecutan dentro de una instancia y mantienen lo que dejan allí.",- "sandboxStorage.pickerTitle": "Instancia de entorno",+ "sandboxStorage.pickerInfoTooltip": "Un entorno describe lo que necesita una ejecución a su alrededor: archivos, repositorios, configuración y variables. Las conversaciones se ejecutan dentro de una de sus copias y conservan lo que dejan allí; solo aparece una segunda copia cuando dos conversaciones necesitan el mismo entorno al mismo tiempo.",+ "sandboxStorage.pickerTitle": "Entorno","sandboxStorage.privateGroup": "Entornos privados","sandboxStorage.privateInstanceBlocked": "“{{name}}” está en un entorno privado, que un agente público no puede usar. Este tema se ejecuta en un directorio de trabajo temporal en su lugar.","sandboxStorage.publicAgentHint_one": "{{count}} entorno privado está oculto: un agente público solo puede usar entornos del espacio de trabajo. Publícalo para usarlo aquí.","sandboxStorage.publicAgentHint_other": "{{count}} entornos privados están ocultos: un agente público solo puede usar entornos del espacio de trabajo. Publica uno para usarlo aquí.",+ "sandboxStorage.reopenCopy": "Abrir otra copia",+ "sandboxStorage.reopenCopyDesc": "Reconstruido a partir de la configuración del entorno",+ "sandboxStorage.reopenCopyFailed": "No se pudo abrir otra copia","sandboxStorage.running": "En ejecución",- "sandboxStorage.runningHint": "Algo más sigue ejecutándose en esta instancia, por lo que no se puede seleccionar aquí. Se libera automáticamente aproximadamente 15 minutos después de que esa ejecución quede inactiva.",- "sandboxStorage.runningHintStoppable": "Algo más sigue ejecutándose en esta instancia, por lo que no se puede seleccionar aquí. Se libera automáticamente aproximadamente 15 minutos después de que esa ejecución quede inactiva, o puedes detenerla ahora.",- "sandboxStorage.runningOwnHint": "La ejecución de esta conversación está utilizando esta instancia.",+ "sandboxStorage.runningHint": "Algo más todavía está ejecutándose en esta copia, por lo que no puede ser seleccionada aquí. Se libera automáticamente aproximadamente 15 minutos después de que esa ejecución quede en silencio.",+ "sandboxStorage.runningHintStoppable": "Algo más todavía está ejecutándose en esta copia, por lo que no puede ser seleccionada aquí. Se libera automáticamente aproximadamente 15 minutos después de que esa ejecución quede en silencio, o puedes detenerla ahora.",+ "sandboxStorage.runningOwnHint": "La ejecución propia de esta conversación está utilizando esta copia.","sandboxStorage.setUpEnvironment": "Configurar un entorno","sandboxStorage.setUpEnvironmentDesc": "Un directorio persistente vive en un entorno",+ "sandboxStorage.showCopies": "Mostrar copias","sandboxStorage.stop": "Detener","sandboxStorage.workspaceGroup": "Entornos del espacio de trabajo","search.grounding.imageSearchQueries": "Palabras Clave de Búsqueda de Imágenes",diff --git a/locales/es-ES/common.json b/locales/es-ES/common.jsonindex 7543008e00c..e1d81e9bf3d 100644--- a/locales/es-ES/common.json+++ b/locales/es-ES/common.json@@ -521,7 +521,7 @@"visibilityConfirm.makePrivate.itemLibrary": "Permanece en la biblioteca en la que lo archivaste; los demás miembros simplemente dejan de verlo allí","visibilityConfirm.makePrivate.itemLoaded": "El contenido que otros ya han cargado no se puede recuperar","visibilityConfirm.makePrivate.itemReferences": "Los archivos adjuntos y referencias existentes en los mensajes aparecerán como no disponibles",- "visibilityConfirm.publish.itemCapturedState": "Los miembros pueden ejecutar sus instancias y acceder a todo lo que ha capturado: archivos, inicios de sesión de CLI, tu identidad iniciada en sesión",+ "visibilityConfirm.publish.itemCapturedState": "Los miembros pueden ejecutar sus copias y acceder a todo lo que ha capturado: archivos, inicios de sesión de CLI, tu identidad iniciada sesión","visibilityConfirm.publish.itemLoaded": "Después de cambiar, el contenido que otros ya han cargado no se puede recuperar","visibilityConfirm.publish.itemReversible": "Puedes cambiarlo a privado más tarde desde el mismo menú","visibilityConfirm.publish.itemVisible": "Todos los miembros del espacio de trabajo verán esto de inmediato",diff --git a/locales/es-ES/setting.json b/locales/es-ES/setting.jsonindex c277852f2fc..4c38a6b8f5b 100644--- a/locales/es-ES/setting.json+++ b/locales/es-ES/setting.json@@ -564,8 +564,9 @@"environments.cancel": "Cancelar","environments.create": "Nuevo entorno","environments.createFailed": "No se pudo crear el entorno",- "environments.desc": "Lo que necesita una ejecución de sandbox a su alrededor: un repositorio, su configuración, sus variables. Cada instancia creada a partir de uno mantiene sus propios archivos entre sesiones.",+ "environments.desc": "Lo que necesita una ejecución de sandbox a su alrededor: un repositorio, su configuración, sus variables. Cada copia creada a partir de uno mantiene sus propios archivos entre sesiones.","environments.detail.close": "Cerrar",+ "environments.detail.tabs.overview": "Resumen","environments.detail.tabs.settings": "Configuración","environments.duplicateName": "Ya tienes un entorno con este nombre","environments.empty": "Aún no hay entornos",@@ -574,22 +575,22 @@"environments.files.binary": "No es un archivo de texto, por lo que no se puede mostrar aquí.","environments.files.browse": "Explorar archivos","environments.files.empty": "Este directorio está vacío",- "environments.files.invalidPath": "El nombre debe permanecer dentro del directorio de esta instancia",+ "environments.files.invalidPath": "El nombre debe permanecer dentro del directorio de esta copia","environments.files.listFailed": "No se pudo listar este directorio","environments.files.openHint": "Haz doble clic en una carpeta para abrirla, o en un archivo para verlo","environments.files.readOnlyHint": "Solo lectura: sincronizado por el sandbox. No se muestran dependencias como node_modules.","environments.files.truncated": "Solo se muestran las primeras entradas","environments.files.unreadable": "No se pudo leer este archivo",- "environments.files.unusedInstance": "Aún no hay nada aquí. El código aparece una vez que se construye la instancia o se ejecuta una conversación en ella.",+ "environments.files.unusedInstance": "Aún no hay nada aquí. El código aparece una vez que se construye la copia o se ejecuta una conversación en ella.","environments.files.up": "Subir un nivel","environments.form.addEnv": "Nueva variable","environments.form.addSource": "Agregar repositorio",- "environments.form.appliesOnBuild": "Aplicado cuando se crea una instancia. Las instancias existentes mantienen la definición con la que fueron creadas — una reconstrucción reproduce esa definición, por lo que usa una nueva instancia para recoger esto.",+ "environments.form.appliesOnBuild": "Se aplica cuando se crea una copia. Las copias existentes mantienen la definición con la que fueron creadas — una reconstrucción reproduce esa definición, así que usa una nueva copia para aplicar esta.","environments.form.basics": "Básicos","environments.form.bootstrap": "Comando de configuración","environments.form.bootstrapHint": "Se ejecuta una vez en el checkout, con acceso a la red, antes de que comience la conversación.","environments.form.changeRepository": "Cambiar repositorio",- "environments.form.desc": "De qué se construye una instancia — de dónde proviene el código y qué lo hace utilizable.",+ "environments.form.desc": "De qué se construye una copia — de dónde proviene el código y qué lo hace utilizable.","environments.form.description": "Descripción","environments.form.descriptionPlaceholder": "Para qué es este entorno","environments.form.disconnect": "Desconectar",@@ -599,13 +600,14 @@"environments.form.envCount_other": "{{count}} variables","environments.form.envEmpty": "Aún no hay variables","environments.form.envEmptyHint": "Agrega una, o pega un archivo .env completo en el",- "environments.form.envHint": "Solo valores no secretos — estos se almacenan como texto plano y se copian en cada instancia.",+ "environments.form.envHint": "Solo valores no secretos — estos se almacenan como texto plano y se copian en cada copia de este entorno.","environments.form.exclude": "Rutas regenerables","environments.form.excludeHint": "Una por línea, relativa a la copia. Listar una ruta indica que se puede reconstruir, por lo que se mantiene separada de tu trabajo y puede descartarse para recuperar espacio. Cualquier cosa nombrada aquí que no pueda reconstruirse es trabajo que puedes perder.",+ "environments.form.filesDesc": "Cómo se llama esta carpeta y qué contiene para el agente.","environments.form.internetAccess": "Acceso a internet del agente","environments.form.internetAccessHint": "La configuración siempre tiene acceso a la red. Esto controla la conversación en sí.","environments.form.maintenance": "Comando de mantenimiento",- "environments.form.maintenanceHint": "Se ejecuta cada vez que se reanuda el trabajo en una instancia — actualizando un checkout, reaplicando una migración. No el comando de configuración nuevamente: ese es costoso y está destinado a ejecutarse una vez.",+ "environments.form.maintenanceHint": "Se ejecuta cada vez que se reanuda el trabajo en una copia — actualizando un checkout, reaplicando una migración. No es el comando de configuración nuevamente: ese es costoso y está destinado a ejecutarse una sola vez.","environments.form.path": "Carpeta","environments.form.rawEditor": "Editor sin formato","environments.form.rawEditorHint": "Una línea por KEY=value, como se lee un archivo .env. Las líneas en blanco y los comentarios con # se ignoran; guardar reemplaza cada variable.",@@ -630,62 +632,75 @@"environments.github.repositoryPending": "Elige una organización primero","environments.github.repositoryPlaceholder": "Buscar repositorios","environments.github.reviewAccess": "Revisar acceso",- "environments.hasInstances": "Elimina sus instancias primero",- "environments.instances.add": "Nueva instancia",+ "environments.hasInstances": "Elimina primero sus otras copias",+ "environments.instances.add": "Nueva copia","environments.instances.build": "Construir",- "environments.instances.buildConfirmTitle": "¿Construir instancia {{name}}?",+ "environments.instances.buildConfirmTitle": "¿Construir copia {{name}}?","environments.instances.buildFailed": "La construcción falló","environments.instances.buildStartFailed": "No se pudo iniciar la construcción","environments.instances.buildStatusUnknown": "Se perdió el seguimiento de esta construcción","environments.instances.building": "Construyendo — clonando e instalando","environments.instances.confirm": "Crear",- "environments.instances.count_one": "{{count}} instancia",- "environments.instances.count_other": "{{count}} instancias",- "environments.instances.create": "Nueva instancia",- "environments.instances.createFailed": "No se pudo crear la instancia",- "environments.instances.desc": "Una instancia es una copia de trabajo de este entorno, con su propia carpeta y sus propios paquetes instalados. Las conversaciones se ejecutan dentro de una instancia, y varias pueden ejecutarse en paralelo sin interferir entre sí.",+ "environments.instances.copy": "Duplicar copia",+ "environments.instances.copyBuilding": "Esta copia se está construyendo, por lo que no se puede duplicar hasta que finalice la construcción",+ "environments.instances.copyFailed": "No se pudo duplicar esta copia",+ "environments.instances.copyInUse": "Una conversación está utilizando esta copia, por lo que no se puede duplicar ahora — duplícala una vez que termine esa ejecución, o detén la ejecución primero",+ "environments.instances.copyOccupancyUnknown": "No se pudo verificar si esta copia está en uso, por lo que no se puede duplicar en este momento",+ "environments.instances.copyTitle": "Duplicar {{name}}",+ "environments.instances.count_one": "{{count}} copia",+ "environments.instances.count_other": "{{count}} copias",+ "environments.instances.create": "Nueva copia",+ "environments.instances.createFailed": "No se pudo crear la copia",+ "environments.instances.defaultUndeletable": "Esta es la copia predeterminada del entorno y no se puede eliminar por sí sola: reconstruirla o eliminar el entorno",+ "environments.instances.desc": "Una copia es una copia de trabajo de este entorno, con su propia carpeta y sus propios paquetes instalados. Las conversaciones se ejecutan dentro de una copia, y varias pueden ejecutarse en paralelo sin interferir entre sí.","environments.instances.directoryHint": "Ruta de la carpeta. No se puede cambiar una vez creada.","environments.instances.directoryLabel": "Directorio",- "environments.instances.directoryLocked": "La carpeta no se puede cambiar después de construir la instancia — elimínala y crea otra para moverla.",- "environments.instances.duplicateDirectory": "Otra instancia ya usa esta carpeta",- "environments.instances.empty": "Aún no hay instancias",+ "environments.instances.directoryLocked": "La carpeta no se puede cambiar después de que se construya la copia — elimínala y crea otra para moverla.",+ "environments.instances.duplicateDirectory": "Otra copia ya utiliza esta carpeta",+ "environments.instances.empty": "Aún no hay copias","environments.instances.emptyHint": "Crea una, luego selecciónala en \"Directorio de trabajo\" en la entrada del chat.",- "environments.instances.emptyReadonly": "Nadie ha creado una instancia de este entorno aún. Solo su propietario puede agregar una.",+ "environments.instances.emptyReadonly": "Nadie ha creado una copia de este entorno todavía. Solo su propietario puede agregar una.","environments.instances.hideLog": "Ocultar registro",- "environments.instances.inUse": "Una conversación está usando esta instancia — inténtalo nuevamente una vez que termine esa ejecución",- "environments.instances.namePlaceholder": "Nombre de la instancia",+ "environments.instances.inUse": "Una conversación está utilizando esta copia — inténtalo nuevamente una vez que termine esa ejecución",+ "environments.instances.namePlaceholder": "Nombre de la copia","environments.instances.notBuilt": "Aún no construido — no se ha clonado ni instalado nada",- "environments.instances.occupancyUnavailable": "No se pudo leer qué instancias están en ejecución en este momento",- "environments.instances.overlappingDirectory": "Esta carpeta está dentro de la carpeta de otra instancia, o contiene una",+ "environments.instances.occupancyUnavailable": "No se pudo leer qué copias están ejecutándose en este momento",+ "environments.instances.overlappingDirectory": "Esta carpeta está dentro de la carpeta de otra copia, o contiene una","environments.instances.rebuild": "Reconstruir",- "environments.instances.rebuildConfirmContent": "Esto borra la carpeta de la instancia, luego clona el código nuevamente y ejecuta el script de configuración. Todo lo que contiene ahora — cambios realizados en conversaciones, paquetes instalados, informes, datos — se perderá. Esto no se puede deshacer.",- "environments.instances.rebuildConfirmTitle": "¿Reconstruir instancia {{name}}?",- "environments.instances.remove": "Eliminar instancia",+ "environments.instances.rebuildConfirmContent": "Esto limpia la carpeta de la copia, luego clona el código nuevamente y ejecuta el script de configuración. Todo lo que hay en ella ahora — cambios realizados en conversaciones, paquetes instalados, informes, datos — se perderá. Esto no se puede deshacer.",+ "environments.instances.rebuildConfirmTitle": "¿Reconstruir copia {{name}}?",+ "environments.instances.remove": "Eliminar copia","environments.instances.removeConfirmContent": "Su carpeta y todo lo que contenía — paquetes instalados, informes, datos — serán eliminados. Esto no se puede deshacer.",- "environments.instances.removeConfirmTitle": "¿Eliminar instancia {{name}}?",- "environments.instances.removeFailed": "No se pudo eliminar esta instancia",+ "environments.instances.removeConfirmTitle": "¿Eliminar copia {{name}}?",+ "environments.instances.removeFailed": "No se pudo eliminar esta copia","environments.instances.removing": "Eliminando — eliminando su carpeta y todo lo que contiene",- "environments.instances.rename": "Renombrar instancia",- "environments.instances.renameFailed": "No se pudo renombrar esta instancia",+ "environments.instances.rename": "Renombrar copia",+ "environments.instances.renameFailed": "No se pudo renombrar esta copia","environments.instances.retryStatus": "Verificar nuevamente","environments.instances.running": "En ejecución",- "environments.instances.runningHint": "Una ejecución aún está usando esta instancia — una conversación, una construcción o el explorador de archivos. Se libera por sí sola aproximadamente 15 minutos después de que esa ejecución quede inactiva; el historial de ejecuciones muestra cuál la está reteniendo.",- "environments.instances.runningHintStoppable": "Una ejecución aún está usando esta instancia — una conversación, una construcción o el explorador de archivos. Se libera por sí sola aproximadamente 15 minutos después de que esa ejecución quede inactiva, o puedes detenerla ahora; el historial de ejecuciones muestra cuál la está reteniendo.",+ "environments.instances.runningHint": "Una ejecución todavía está utilizando esta copia — una conversación, una construcción o el explorador de archivos. Se libera por sí sola aproximadamente 15 minutos después de que esa ejecución se quede en silencio; el historial de ejecuciones muestra cuál la está reteniendo.",+ "environments.instances.runningHintStoppable": "Una ejecución todavía está utilizando esta copia — una conversación, una construcción o el explorador de archivos. Se libera por sí sola aproximadamente 15 minutos después de que esa ejecución se quede en silencio, o puedes detenerla ahora; el historial de ejecuciones muestra cuál la está reteniendo.","environments.instances.save": "Guardar","environments.instances.showLog": "Mostrar registro","environments.instances.stop": "Detener",- "environments.instances.stopBuilding": "Esta instancia se está construyendo. Se libera cuando la construcción termina",- "environments.instances.stopBusy": "Esta instancia se está copiando o eliminando — inténtalo nuevamente en un momento",- "environments.instances.stopConfirmContent": "La ejecución que está reteniendo esta instancia se detiene ahora en lugar de cuando quede inactiva. Lo que instaló y escribió se guarda primero. Una conversación en medio de un paso tiene ese paso interrumpido, y continúa desde el estado guardado con su próximo mensaje.",+ "environments.instances.stopBuilding": "Esta copia se está construyendo. Se libera cuando finaliza la construcción",+ "environments.instances.stopBusy": "Esta copia se está duplicando o eliminando — inténtalo nuevamente en un momento",+ "environments.instances.stopConfirmContent": "La ejecución que retiene esta copia se detiene ahora en lugar de cuando se quede en silencio. Lo que instaló y escribió se guarda primero. Una conversación en medio de un paso tiene ese paso interrumpido, y continúa desde el estado guardado con su próximo mensaje.","environments.instances.stopConfirmTitle": "¿Detener la ejecución en \"{{name}}\"?","environments.instances.stopFailed": "No se pudo detener la ejecución","environments.instances.stopNothing": "Ya no hay nada en ejecución en \"{{name}}\"","environments.instances.stopRefused": "No se pudo detener la ejecución — inténtalo nuevamente","environments.instances.stopSnapshotPending": "La ejecución aún está guardando su trabajo, por lo que se dejó en ejecución — inténtalo nuevamente en un momento",- "environments.instances.stopStarting": "Una ejecución está comenzando en esta instancia — inténtalo nuevamente en un momento",+ "environments.instances.stopStarting": "Una ejecución está comenzando en esta copia — inténtalo nuevamente en un momento","environments.instances.stopped": "Detenido. \"{{name}}\" está libre para usar","environments.instances.stopping": "Deteniendo — guardando la ejecución primero…",- "environments.instances.title": "Instancias",+ "environments.instances.title": "Copias",+ "environments.kind.code": "Código",+ "environments.kind.codeDesc": "Clona un repositorio, establece variables y ejecuta la configuración antes de que el agente comience.",+ "environments.kind.files": "Archivos",+ "environments.kind.filesDesc": "Sube archivos para que un agente trabaje en ellos. Listo tan pronto como se crea.",+ "environments.kind.filesHint": "Una carpeta a la que subes archivos para que un agente trabaje en ellos. No se clona ni instala nada, por lo que no hay compilación: está lista en el momento en que se crea.",+ "environments.kind.label": "Tipo","environments.loadFailed.desc": "No pudimos alcanzar el servicio que indica si esta cuenta tiene un espacio de trabajo persistente. No hay nada malo con tus entornos.","environments.loadFailed.retry": "Inténtalo nuevamente","environments.loadFailed.title": "No se pudo verificar tu plan",@@ -698,15 +713,15 @@"environments.namePlaceholder": "Nombre del entorno","environments.refresh": "Actualizar","environments.remove": "Eliminar entorno",- "environments.removeConfirmContent": "Su especificación, variables y snapshot guardado se eliminan con él, y no se pueden recuperar.",+ "environments.removeConfirmContent": "Su especificación, variables, la carpeta de su copia y la instantánea guardada se eliminan con ella, y no se pueden recuperar.","environments.removeConfirmTitle": "¿Eliminar entorno {{name}}?","environments.removeFailed": "No se pudo eliminar este entorno","environments.saveFailed": "No se pudo guardar este cambio","environments.sessions.activeBuild": "{{instance}} se está construyendo en este momento","environments.sessions.activeSession": "Un sandbox se está ejecutando en {{instance}} en este momento",- "environments.sessions.desc": "Las sesiones más recientes que se ejecutaron en estas instancias y sus construcciones, de las más nuevas a las más antiguas, con cómo terminó cada una y si lo que instaló fue guardado.",+ "environments.sessions.desc": "Las sesiones más recientes que se ejecutaron en estas copias y las construcciones de ellas, de más nuevas a más antiguas, con cómo terminó cada una y si lo que instaló fue guardado.","environments.sessions.empty": "Aún no se ha ejecutado nada aquí",- "environments.sessions.emptyHint": "Cada conversación y construcción en una de sus instancias aparecerá aquí.",+ "environments.sessions.emptyHint": "Cada conversación y construcción en este entorno aparecerá aquí.","environments.sessions.history": "Historial","environments.sessions.historyEmpty": "Aún no hay ejecuciones terminadas","environments.sessions.kind.build": "Construcción",@@ -727,7 +742,7 @@"environments.sessions.snapshotSaved": "Guardado {{size}}","environments.sessions.stale": "No se registró el final","environments.sessions.title": "Historial de ejecuciones",- "environments.sessions.unavailable": "Parte del historial no se pudo leer — algunas instancias faltan en esta lista",+ "environments.sessions.unavailable": "Parte del historial no se pudo leer — algunas copias faltan en esta lista","environments.storage.measuredAt": "Medido {{time}}. Actualiza para medir nuevamente.","environments.storage.over": "Por encima del límite de almacenamiento. Guardar un archivo está prohibido hasta que elimines algo.","environments.storage.unmeasured": "Almacenamiento no medido aún · {{total}} disponible",@@ -736,12 +751,12 @@"environments.unavailable.title": "El sandbox persistente no está disponible aquí","environments.upgrade.benefits.environments.desc": "Los repositorios, el comando de configuración y las variables viven en el entorno; cada sandbox construido a partir de él comienza listo.","environments.upgrade.benefits.environments.title": "Configuración del sandbox escrita una vez",- "environments.upgrade.benefits.instances.desc": "Las conversaciones paralelas se ejecutan cada una en su propia instancia del entorno, por lo que nada sobrescribe nada más.",- "environments.upgrade.benefits.instances.title": "Una instancia por tarea",+ "environments.upgrade.benefits.instances.desc": "Las conversaciones paralelas se ejecutan cada una en su propia copia del entorno, por lo que nada sobrescribe nada más.",+ "environments.upgrade.benefits.instances.title": "Una copia por tarea","environments.upgrade.benefits.persist.desc": "El directorio de trabajo se conserva cuando el sandbox se recicla; la próxima ejecución continúa donde la última se detuvo.","environments.upgrade.benefits.persist.title": "Los archivos sobreviven al sandbox","environments.upgrade.cta": "Actualizar a Pro",- "environments.upgrade.desc": "Dale a las ejecuciones de sandbox en la nube un directorio de trabajo persistente. Un entorno describe lo que necesita el sandbox — repositorios, configuración, variables — y sus instancias mantienen todo entre sesiones.",+ "environments.upgrade.desc": "Proporciona a las ejecuciones de sandbox en la nube un directorio de trabajo persistente. Un entorno describe lo que necesita el sandbox — repositorios, configuración, variables — y sus copias mantienen todo entre sesiones.","environments.upgrade.title": "Actualiza a Pro para desbloquear entornos de sandbox","environments.visibility.changeFailed": "No se pudo cambiar la visibilidad de este entorno","environments.visibility.createPublishedConfirmTitle": "¿Crear este entorno en el espacio de trabajo?",diff --git a/locales/fa-IR/chat.json b/locales/fa-IR/chat.jsonindex 9ec597eea38..9191e9bd412 100644--- a/locales/fa-IR/chat.json+++ b/locales/fa-IR/chat.json@@ -1903,29 +1903,41 @@"runtimeEnv.mode.noneDesc": "غیرفعال کردن محیط اجرایی","runtimeEnv.selectMode": "انتخاب محیط اجرایی","runtimeEnv.title": "محیط اجرایی",+ "sandboxStorage.allCopiesBusy": "همه نسخهها در حال استفاده هستند","sandboxStorage.buildFailed": "ساخته نشد","sandboxStorage.building": "در حال ساخت",+ "sandboxStorage.copies": "نسخهها",+ "sandboxStorage.copyCount_one": "{{count}} نسخه",+ "sandboxStorage.copyCount_other": "{{count}} نسخه",+ "sandboxStorage.createCopyFailed": "این محیط نمیتواند آماده شود",+ "sandboxStorage.defaultCopy": "پیشفرض","sandboxStorage.environmentsUnavailable": "محیطها بارگذاری نشدند","sandboxStorage.ephemeral": "دایرکتوری کاری موقت","sandboxStorage.ephemeralDesc": "هنگام بازیافت سندباکس پاک میشود","sandboxStorage.instanceBusy": "{{name}} در حال اجرا در مکالمه دیگری است. این یکی آن را نگه میدارد و وقتی آن اجرا به پایان رسید، آن را انتخاب میکند.",+ "sandboxStorage.kind.code": "کد",+ "sandboxStorage.kind.files": "فایلها","sandboxStorage.manage": "مدیریت",- "sandboxStorage.noInstances": "ایجاد یک نمونه",- "sandboxStorage.noInstancesDesc": "محیطهای شما هنوز هیچ نسخه کاری ندارند",+ "sandboxStorage.noCopyColleagueDesc": "سازنده آن هنوز آن را تنظیم نکرده است",+ "sandboxStorage.noCopyYetDesc": "یک نسخه اولین باری که آن را انتخاب میکنید ایجاد میشود","sandboxStorage.persistentUpsell": "دایرکتوری کاری پایدار","sandboxStorage.persistentUpsellDesc": "نگهداری فایلها در بین اجراها و موضوعات",- "sandboxStorage.pickerInfoTooltip": "یک محیط توصیف میکند که یک اجرا به چه چیزی در اطراف خود نیاز دارد — مخازن، تنظیمات، متغیرها. یک نمونه یک نسخه کاری از آن است، با پوشه و بستههای نصبشده خود؛ مکالمات در داخل یک نمونه اجرا میشوند و آنچه را که در آنجا باقی میگذارند نگه میدارند.",- "sandboxStorage.pickerTitle": "نمونه محیط",+ "sandboxStorage.pickerInfoTooltip": "یک محیط توصیف میکند که یک اجرا به چه چیزی در اطراف خود نیاز دارد — فایلها، یا مخازن، تنظیمات و متغیرها. مکالمات در یکی از نسخههای آن اجرا میشوند و آنچه را که در آنجا باقی میگذارند حفظ میکنند؛ یک نسخه دوم فقط زمانی ظاهر میشود که دو مکالمه به طور همزمان به یک محیط نیاز داشته باشند.",+ "sandboxStorage.pickerTitle": "محیط","sandboxStorage.privateGroup": "محیطهای خصوصی","sandboxStorage.privateInstanceBlocked": "«{{name}}» در یک محیط خصوصی است که یک اجنت عمومی نمیتواند از آن استفاده کند. این موضوع در یک دایرکتوری کاری موقت اجرا میشود.","sandboxStorage.publicAgentHint_one": "{{count}} محیط خصوصی پنهان است — یک اجنت عمومی فقط میتواند از محیطهای فضای کاری استفاده کند. آن را منتشر کنید تا اینجا استفاده شود.","sandboxStorage.publicAgentHint_other": "{{count}} محیط خصوصی پنهان هستند — یک اجنت عمومی فقط میتواند از محیطهای فضای کاری استفاده کند. یکی را منتشر کنید تا اینجا استفاده شود.",+ "sandboxStorage.reopenCopy": "باز کردن یک نسخه دیگر",+ "sandboxStorage.reopenCopyDesc": "بازسازی شده از پیکربندی محیط",+ "sandboxStorage.reopenCopyFailed": "نسخه دیگری نمیتواند باز شود","sandboxStorage.running": "در حال اجرا",- "sandboxStorage.runningHint": "چیزی دیگر هنوز در این نمونه در حال اجرا است، بنابراین نمیتوان آن را اینجا انتخاب کرد. تقریباً ۱۵ دقیقه پس از آرام شدن آن اجرا، بهطور خودکار آزاد میشود.",- "sandboxStorage.runningHintStoppable": "چیزی دیگر هنوز در این نمونه در حال اجرا است، بنابراین نمیتوان آن را اینجا انتخاب کرد. تقریباً ۱۵ دقیقه پس از آرام شدن آن اجرا، بهطور خودکار آزاد میشود، یا میتوانید اکنون آن را متوقف کنید.",- "sandboxStorage.runningOwnHint": "اجرای خود این مکالمه از این نمونه استفاده میکند.",+ "sandboxStorage.runningHint": "چیزی دیگر هنوز در این نسخه در حال اجرا است، بنابراین نمیتوان آن را اینجا انتخاب کرد. این نسخه به طور خودکار تقریباً ۱۵ دقیقه پس از آرام شدن آن اجرا آزاد میشود.",+ "sandboxStorage.runningHintStoppable": "چیزی دیگر هنوز در این نسخه در حال اجرا است، بنابراین نمیتوان آن را اینجا انتخاب کرد. این نسخه به طور خودکار تقریباً ۱۵ دقیقه پس از آرام شدن آن اجرا آزاد میشود، یا میتوانید اکنون آن را متوقف کنید.",+ "sandboxStorage.runningOwnHint": "اجرای این مکالمه خودش از این نسخه استفاده میکند.","sandboxStorage.setUpEnvironment": "راهاندازی یک محیط","sandboxStorage.setUpEnvironmentDesc": "یک دایرکتوری پایدار در یک محیط زندگی میکند",+ "sandboxStorage.showCopies": "نمایش نسخهها","sandboxStorage.stop": "توقف","sandboxStorage.workspaceGroup": "محیطهای فضای کاری","search.grounding.imageSearchQueries": "کلمات کلیدی جستجوی تصویر",diff --git a/locales/fa-IR/common.json b/locales/fa-IR/common.jsonindex 1812e3555fd..0866e0b1fb1 100644--- a/locales/fa-IR/common.json+++ b/locales/fa-IR/common.json@@ -521,7 +521,7 @@"visibilityConfirm.makePrivate.itemLibrary": "در کتابخانهای که آن را بایگانی کردهاید باقی میماند — فقط دیگر اعضا آن را در آنجا نمیبینند","visibilityConfirm.makePrivate.itemLoaded": "محتوایی که دیگران قبلاً بارگذاری کردهاند، قابل بازگرداندن نیست","visibilityConfirm.makePrivate.itemReferences": "پیوستها و ارجاعات پیامهای موجود بهعنوان غیرقابل دسترس نمایش داده میشوند",- "visibilityConfirm.publish.itemCapturedState": "اعضا میتوانند نمونههای آن را اجرا کنند و به هر چیزی که ضبط کرده است دسترسی داشته باشند — فایلها، ورودهای CLI، هویت وارد شده شما",+ "visibilityConfirm.publish.itemCapturedState": "اعضا میتوانند نسخههای آن را اجرا کنند و به هر چیزی که ضبط کرده است دسترسی داشته باشند — فایلها، ورودهای CLI، هویت وارد شده شما","visibilityConfirm.publish.itemLoaded": "پس از تغییر وضعیت، محتوایی که دیگران قبلاً بارگذاری کردهاند، قابل بازگرداندن نیست","visibilityConfirm.publish.itemReversible": "میتوانید بعداً از همان منو دوباره آن را به حالت خصوصی تغییر دهید","visibilityConfirm.publish.itemVisible": "تمام اعضای فضای کاری فوراً این را مشاهده خواهند کرد",diff --git a/locales/fa-IR/setting.json b/locales/fa-IR/setting.jsonindex aca199a88a8..78f9dcc5f16 100644--- a/locales/fa-IR/setting.json+++ b/locales/fa-IR/setting.json@@ -564,8 +564,9 @@"environments.cancel": "لغو","environments.create": "محیط جدید","environments.createFailed": "امکان ایجاد محیط وجود ندارد",- "environments.desc": "آنچه یک اجرای سندباکس به اطراف خود نیاز دارد: یک مخزن، تنظیمات آن، متغیرهای آن. هر نمونه ساخته شده از یک محیط، فایلهای خود را بین جلسات نگه میدارد.",+ "environments.desc": "آنچه یک اجرای سندباکس به آن نیاز دارد: یک مخزن، تنظیمات آن، متغیرهای آن. هر کپی ساخته شده از یکی، فایلهای خود را بین جلسات نگه میدارد.","environments.detail.close": "بستن",+ "environments.detail.tabs.overview": "نمای کلی","environments.detail.tabs.settings": "تنظیمات","environments.duplicateName": "شما قبلاً محیطی با این نام دارید","environments.empty": "هنوز هیچ محیطی وجود ندارد",@@ -574,22 +575,22 @@"environments.files.binary": "این یک فایل متنی نیست، بنابراین نمیتوان آن را اینجا نمایش داد.","environments.files.browse": "مرور فایلها","environments.files.empty": "این دایرکتوری خالی است",- "environments.files.invalidPath": "نام باید در دایرکتوری این نمونه باقی بماند",+ "environments.files.invalidPath": "نام باید در داخل دایرکتوری این کپی باقی بماند","environments.files.listFailed": "امکان لیست کردن این دایرکتوری وجود ندارد","environments.files.openHint": "برای باز کردن یک پوشه دوبار کلیک کنید، یا برای مشاهده یک فایل دوبار کلیک کنید","environments.files.readOnlyHint": "فقط خواندنی: توسط سندباکس همگامسازی شده است. وابستگیهایی مانند node_modules نمایش داده نمیشوند.","environments.files.truncated": "فقط اولین ورودیها نمایش داده میشوند","environments.files.unreadable": "امکان خواندن این فایل وجود ندارد",- "environments.files.unusedInstance": "هنوز چیزی اینجا نیست. کد زمانی ظاهر میشود که نمونه ساخته شود یا یک مکالمه در آن اجرا شود.",+ "environments.files.unusedInstance": "هنوز چیزی اینجا نیست. کد زمانی ظاهر میشود که کپی ساخته شود یا یک مکالمه در آن اجرا شود.","environments.files.up": "یک سطح بالاتر","environments.form.addEnv": "متغیر جدید","environments.form.addSource": "افزودن مخزن",- "environments.form.appliesOnBuild": "هنگام ایجاد یک نمونه اعمال میشود. نمونههای موجود تعریفی را که با آن ساخته شدهاند حفظ میکنند — بازسازی آن تعریف را دوباره اجرا میکند، بنابراین از یک نمونه جدید برای اعمال این تغییر استفاده کنید.",+ "environments.form.appliesOnBuild": "هنگام ایجاد یک کپی اعمال میشود. کپیهای موجود تعریفی را که با آن ساخته شدهاند حفظ میکنند — بازسازی همان تعریف را دوباره اجرا میکند، بنابراین برای اعمال این تغییر از یک کپی جدید استفاده کنید.","environments.form.basics": "مبانی","environments.form.bootstrap": "دستور تنظیم","environments.form.bootstrapHint": "یک بار در چکاوت اجرا میشود، با دسترسی به شبکه، قبل از شروع مکالمه.","environments.form.changeRepository": "تغییر مخزن",- "environments.form.desc": "آنچه یک نمونه از آن ساخته میشود — جایی که کد از آن میآید و آنچه آن را قابل استفاده میکند.",+ "environments.form.desc": "آنچه یک کپی از آن ساخته میشود — منبع کد و آنچه که آن را قابل استفاده میکند.","environments.form.description": "توضیحات","environments.form.descriptionPlaceholder": "این محیط برای چیست","environments.form.disconnect": "قطع ارتباط",@@ -599,13 +600,14 @@"environments.form.envCount_other": "{{count}} متغیر","environments.form.envEmpty": "هنوز هیچ متغیری وجود ندارد","environments.form.envEmptyHint": "یکی اضافه کنید، یا یک فایل .env کامل را در اینجا جایگذاری کنید",- "environments.form.envHint": "فقط مقادیر غیرمحرمانه — اینها به صورت متن ساده ذخیره میشوند و در هر نمونه کپی میشوند.",+ "environments.form.envHint": "فقط مقادیر غیرمحرمانه — این مقادیر به صورت متن ساده ذخیره میشوند و در هر کپی از این محیط کپی میشوند.","environments.form.exclude": "مسیرهای قابل بازسازی","environments.form.excludeHint": "هر خط یک مسیر، نسبت به کپی. لیست کردن یک مسیر میگوید که میتوان آن را بازسازی کرد، بنابراین از کار شما جدا نگه داشته میشود و ممکن است برای بازیابی فضا حذف شود. هر چیزی که اینجا نام برده شده و نمیتوان آن را بازسازی کرد، کاری است که ممکن است از دست بدهید.",+ "environments.form.filesDesc": "این پوشه چه نامیده میشود و چه چیزی برای عامل نگه میدارد.","environments.form.internetAccess": "دسترسی اینترنتی عامل","environments.form.internetAccessHint": "تنظیمات همیشه به شبکه دسترسی دارند. این کنترل مکالمه را انجام میدهد.","environments.form.maintenance": "دستور نگهداری",- "environments.form.maintenanceHint": "هر بار که کار در یک نمونه از سر گرفته میشود اجرا میشود — تازهسازی یک چکاوت، اعمال مجدد یک مهاجرت. نه دستور تنظیم مجدد: آن دستور گران است و برای یک بار اجرا طراحی شده است.",+ "environments.form.maintenanceHint": "هر بار که کار در یک کپی از سر گرفته میشود اجرا میشود — بهروزرسانی یک چکاوت، اعمال مجدد یک مهاجرت. نه دستور تنظیم مجدد: آن دستور گران است و قرار است فقط یک بار اجرا شود.","environments.form.path": "پوشه","environments.form.rawEditor": "ویرایشگر خام","environments.form.rawEditorHint": "یک KEY=value در هر خط، همانطور که یک فایل .env خوانده میشود. خطوط خالی و نظرات # نادیده گرفته میشوند؛ ذخیره کردن هر متغیر را جایگزین میکند.",@@ -630,62 +632,75 @@"environments.github.repositoryPending": "ابتدا یک سازمان را انتخاب کنید","environments.github.repositoryPlaceholder": "جستجوی مخازن","environments.github.reviewAccess": "بررسی دسترسی",- "environments.hasInstances": "ابتدا نمونههای آن را حذف کنید",- "environments.instances.add": "نمونه جدید",+ "environments.hasInstances": "ابتدا کپیهای دیگر آن را حذف کنید",+ "environments.instances.add": "کپی جدید","environments.instances.build": "ساخت",- "environments.instances.buildConfirmTitle": "نمونه {{name}} ساخته شود؟",+ "environments.instances.buildConfirmTitle": "کپی {{name}} ساخته شود؟","environments.instances.buildFailed": "ساخت ناموفق بود","environments.instances.buildStartFailed": "امکان شروع ساخت وجود ندارد","environments.instances.buildStatusUnknown": "پیگیری این ساخت از دست رفته است","environments.instances.building": "در حال ساخت — کلون کردن و نصب","environments.instances.confirm": "ایجاد",- "environments.instances.count_one": "{{count}} نمونه",- "environments.instances.count_other": "{{count}} نمونه",- "environments.instances.create": "نمونه جدید",- "environments.instances.createFailed": "امکان ایجاد نمونه وجود ندارد",- "environments.instances.desc": "یک نمونه یک کپی کاری از این محیط است، با پوشه و بستههای نصب شده خود. مکالمات در داخل یک نمونه اجرا میشوند و چندین نمونه میتوانند به صورت همزمان اجرا شوند بدون اینکه یکدیگر را تحت تأثیر قرار دهند.",+ "environments.instances.copy": "تکرار کپی",+ "environments.instances.copyBuilding": "این کپی در حال ساخت است، بنابراین تا زمانی که ساخت به پایان نرسد نمیتوان آن را تکرار کرد",+ "environments.instances.copyFailed": "نتوانست این کپی را تکرار کند",+ "environments.instances.copyInUse": "یک مکالمه در حال استفاده از این کپی است، بنابراین نمیتوان آن را اکنون تکرار کرد — پس از پایان آن اجرا، آن را تکرار کنید یا ابتدا اجرا را متوقف کنید",+ "environments.instances.copyOccupancyUnknown": "نتوانست بررسی کند که آیا این کپی در حال استفاده است، بنابراین نمیتوان آن را در حال حاضر تکرار کرد",+ "environments.instances.copyTitle": "تکرار {{name}}",+ "environments.instances.count_one": "{{count}} کپی",+ "environments.instances.count_other": "{{count}} کپی",+ "environments.instances.create": "کپی جدید",+ "environments.instances.createFailed": "نتوانست کپی را ایجاد کند",+ "environments.instances.defaultUndeletable": "این نسخه پیشفرض محیط است و نمیتوان آن را بهتنهایی حذف کرد — آن را بازسازی کنید یا محیط را حذف کنید",+ "environments.instances.desc": "یک کپی، یک کپی کاری از این محیط است، با پوشه و بستههای نصب شده خود. مکالمات در داخل یک کپی اجرا میشوند و چندین مکالمه میتوانند به صورت همزمان اجرا شوند بدون اینکه یکدیگر را تحت تأثیر قرار دهند.","environments.instances.directoryHint": "مسیر پوشه. پس از ایجاد نمیتوان آن را تغییر داد.","environments.instances.directoryLabel": "دایرکتوری",- "environments.instances.directoryLocked": "پوشه پس از ساخت نمونه قابل تغییر نیست — آن را حذف کنید و دیگری ایجاد کنید تا آن را جابجا کنید.",- "environments.instances.duplicateDirectory": "یک نمونه دیگر از این پوشه استفاده میکند",- "environments.instances.empty": "هنوز هیچ نمونهای وجود ندارد",+ "environments.instances.directoryLocked": "پوشه پس از ساخت کپی نمیتواند تغییر کند — آن را حذف کنید و دیگری ایجاد کنید تا آن را جابجا کنید.",+ "environments.instances.duplicateDirectory": "یک کپی دیگر از این پوشه استفاده میکند",+ "environments.instances.empty": "هنوز هیچ کپی وجود ندارد","environments.instances.emptyHint": "یکی ایجاد کنید، سپس آن را در \"دایرکتوری کاری\" در ورودی چت انتخاب کنید.",- "environments.instances.emptyReadonly": "هیچکس هنوز نمونهای از این محیط ایجاد نکرده است. فقط مالک آن میتواند یکی اضافه کند.",+ "environments.instances.emptyReadonly": "هیچکس هنوز کپیای از این محیط ایجاد نکرده است. فقط مالک آن میتواند یکی اضافه کند.","environments.instances.hideLog": "پنهان کردن گزارش",- "environments.instances.inUse": "یک مکالمه در حال استفاده از این نمونه است — پس از پایان آن اجرا دوباره تلاش کنید",- "environments.instances.namePlaceholder": "نام نمونه",+ "environments.instances.inUse": "یک مکالمه در حال استفاده از این کپی است — پس از پایان آن اجرا دوباره تلاش کنید",+ "environments.instances.namePlaceholder": "نام کپی","environments.instances.notBuilt": "هنوز ساخته نشده است — هیچ چیزی کلون یا نصب نشده است",- "environments.instances.occupancyUnavailable": "امکان خواندن اینکه کدام نمونهها در حال حاضر در حال اجرا هستند وجود ندارد",- "environments.instances.overlappingDirectory": "این پوشه در داخل پوشه نمونه دیگری است، یا یکی را شامل میشود",+ "environments.instances.occupancyUnavailable": "نتوانست بخواند که کدام کپیها در حال حاضر در حال اجرا هستند",+ "environments.instances.overlappingDirectory": "این پوشه در داخل پوشه یک کپی دیگر است یا یکی را شامل میشود","environments.instances.rebuild": "بازسازی",- "environments.instances.rebuildConfirmContent": "پوشه نمونه پاک میشود، سپس کد دوباره کلون میشود و اسکریپت تنظیم اجرا میشود. همه چیز در آن اکنون — تغییراتی که در مکالمات ایجاد شده، بستههای نصب شده، گزارشها، دادهها — از دست خواهد رفت. این قابل بازگشت نیست.",- "environments.instances.rebuildConfirmTitle": "نمونه {{name}} بازسازی شود؟",- "environments.instances.remove": "حذف نمونه",+ "environments.instances.rebuildConfirmContent": "این پوشه کپی را پاک میکند، سپس کد را دوباره کلون کرده و اسکریپت تنظیم را اجرا میکند. همه چیز در آن اکنون — تغییرات ایجاد شده در مکالمات، بستههای نصب شده، گزارشها، دادهها — از بین خواهد رفت. این قابل بازگشت نیست.",+ "environments.instances.rebuildConfirmTitle": "کپی {{name}} بازسازی شود؟",+ "environments.instances.remove": "حذف کپی","environments.instances.removeConfirmContent": "پوشه آن و همه چیزهایی که نگه داشته است — بستههای نصب شده، گزارشها، دادهها — حذف خواهند شد. این قابل بازگشت نیست.",- "environments.instances.removeConfirmTitle": "نمونه {{name}} حذف شود؟",- "environments.instances.removeFailed": "امکان حذف این نمونه وجود ندارد",+ "environments.instances.removeConfirmTitle": "کپی {{name}} حذف شود؟",+ "environments.instances.removeFailed": "نتوانست این کپی را حذف کند","environments.instances.removing": "در حال حذف — پوشه آن و همه چیز در آن حذف میشود",- "environments.instances.rename": "تغییر نام نمونه",- "environments.instances.renameFailed": "امکان تغییر نام این نمونه وجود ندارد",+ "environments.instances.rename": "تغییر نام کپی",+ "environments.instances.renameFailed": "نتوانست این کپی را تغییر نام دهد","environments.instances.retryStatus": "دوباره بررسی کنید","environments.instances.running": "در حال اجرا",- "environments.instances.runningHint": "یک اجرا هنوز از این نمونه استفاده میکند — یک مکالمه، یک ساخت، یا مرورگر فایل. به طور خودکار حدود ۱۵ دقیقه پس از آرام شدن آن اجرا آزاد میشود؛ تاریخچه اجرا نشان میدهد که کدام یک آن را نگه داشته است.",- "environments.instances.runningHintStoppable": "یک اجرا هنوز از این نمونه استفاده میکند — یک مکالمه، یک ساخت، یا مرورگر فایل. به طور خودکار حدود ۱۵ دقیقه پس از آرام شدن آن اجرا آزاد میشود، یا میتوانید اکنون آن را متوقف کنید؛ تاریخچه اجرا نشان میدهد که کدام یک آن را نگه داشته است.",+ "environments.instances.runningHint": "یک اجرا هنوز از این کپی استفاده میکند — یک مکالمه، یک ساخت، یا مرورگر فایل. این به طور خودکار حدود ۱۵ دقیقه پس از آرام شدن آن اجرا آزاد میشود؛ تاریخچه اجرا نشان میدهد که کدام یک آن را نگه داشته است.",+ "environments.instances.runningHintStoppable": "یک اجرا هنوز از این کپی استفاده میکند — یک مکالمه، یک ساخت، یا مرورگر فایل. این به طور خودکار حدود ۱۵ دقیقه پس از آرام شدن آن اجرا آزاد میشود، یا میتوانید اکنون آن را متوقف کنید؛ تاریخچه اجرا نشان میدهد که کدام یک آن را نگه داشته است.","environments.instances.save": "ذخیره","environments.instances.showLog": "نمایش گزارش","environments.instances.stop": "توقف",- "environments.instances.stopBuilding": "این نمونه در حال ساخت است. پس از اتمام ساخت آزاد میشود",- "environments.instances.stopBusy": "این نمونه در حال کپی یا حذف است — لحظهای دیگر دوباره تلاش کنید",- "environments.instances.stopConfirmContent": "اجرای نگهدارنده این نمونه اکنون متوقف میشود به جای اینکه منتظر آرام شدن آن بماند. آنچه نصب و نوشته شده است ابتدا ذخیره میشود. یک مکالمه در وسط یک مرحله آن مرحله را قطع میکند و با پیام بعدی خود از حالت ذخیره شده ادامه میدهد.",+ "environments.instances.stopBuilding": "این کپی در حال ساخت است. زمانی که ساخت به پایان برسد آزاد میشود",+ "environments.instances.stopBusy": "این کپی در حال تکرار یا حذف است — لحظهای دیگر دوباره تلاش کنید",+ "environments.instances.stopConfirmContent": "اجرای نگهدارنده این کپی اکنون متوقف میشود به جای زمانی که آرام شود. آنچه نصب و نوشته شده است ابتدا ذخیره میشود. یک مکالمه در وسط یک مرحله آن مرحله را قطع میکند و با پیام بعدی خود از حالت ذخیره شده ادامه میدهد.","environments.instances.stopConfirmTitle": "اجرای \"{{name}}\" متوقف شود؟","environments.instances.stopFailed": "امکان توقف اجرا وجود ندارد","environments.instances.stopNothing": "دیگر هیچ چیزی در \"{{name}}\" در حال اجرا نیست","environments.instances.stopRefused": "امکان توقف اجرا وجود ندارد — دوباره تلاش کنید","environments.instances.stopSnapshotPending": "اجرا هنوز در حال ذخیره کار خود است، بنابراین در حال اجرا باقی ماند — لحظهای دیگر دوباره تلاش کنید",- "environments.instances.stopStarting": "یک اجرا در حال شروع در این نمونه است — لحظهای دیگر دوباره تلاش کنید",+ "environments.instances.stopStarting": "یک اجرا در حال شروع در این کپی است — لحظهای دیگر دوباره تلاش کنید","environments.instances.stopped": "متوقف شد. \"{{name}}\" برای استفاده آزاد است","environments.instances.stopping": "در حال توقف — ابتدا ذخیره اجرای نگهدارنده...",- "environments.instances.title": "نمونهها",+ "environments.instances.title": "کپیها",+ "environments.kind.code": "کد",+ "environments.kind.codeDesc": "یک مخزن را کلون کنید، متغیرها را تنظیم کنید و قبل از شروع عامل، تنظیمات را اجرا کنید.",+ "environments.kind.files": "فایلها",+ "environments.kind.filesDesc": "فایلها را برای یک عامل آپلود کنید تا روی آن کار کند. به محض ایجاد آماده است.",+ "environments.kind.filesHint": "پوشهای که فایلها را برای یک عامل آپلود میکنید تا روی آن کار کند. هیچ چیزی کلون یا نصب نمیشود، بنابراین هیچ ساختی وجود ندارد — به محض ایجاد آماده است.",+ "environments.kind.label": "نوع","environments.loadFailed.desc": "ما نتوانستیم به سرویسی که میگوید آیا این حساب یک فضای کاری پایدار دارد دسترسی پیدا کنیم. هیچ مشکلی در محیطهای شما وجود ندارد.","environments.loadFailed.retry": "دوباره تلاش کنید","environments.loadFailed.title": "امکان بررسی طرح شما وجود ندارد",@@ -698,15 +713,15 @@"environments.namePlaceholder": "نام محیط","environments.refresh": "تازهسازی","environments.remove": "حذف محیط",- "environments.removeConfirmContent": "مشخصات، متغیرها و عکس ذخیره شده آن با آن حذف میشوند و قابل بازیابی نیستند.",+ "environments.removeConfirmContent": "مشخصات آن، متغیرها، پوشه کپی آن و اسنپشات ذخیره شده با آن حذف میشوند و قابل بازیابی نیستند.","environments.removeConfirmTitle": "محیط {{name}} حذف شود؟","environments.removeFailed": "امکان حذف این محیط وجود ندارد","environments.saveFailed": "امکان ذخیره این تغییر وجود ندارد","environments.sessions.activeBuild": "{{instance}} در حال ساخت است","environments.sessions.activeSession": "یک سندباکس در حال اجرا در {{instance}} است",- "environments.sessions.desc": "جدیدترین جلساتی که در این نمونهها اجرا شدهاند و ساختهای آنها، از جدیدترین به قدیمیترین، با نحوه پایان هر یک و اینکه آیا آنچه نصب شده ذخیره شده است یا خیر.",+ "environments.sessions.desc": "آخرین جلساتی که در این کپیها و ساختهای آنها اجرا شدهاند، از جدیدترین به قدیمیترین، با نحوه پایان هر یک و اینکه آیا آنچه نصب شده ذخیره شده است یا خیر.","environments.sessions.empty": "هنوز چیزی اینجا اجرا نشده است",- "environments.sessions.emptyHint": "هر مکالمه و ساخت در یکی از نمونههای آن در اینجا نمایش داده میشود.",+ "environments.sessions.emptyHint": "هر مکالمه و ساخت در این محیط اینجا نمایش داده خواهد شد.","environments.sessions.history": "تاریخچه","environments.sessions.historyEmpty": "هنوز هیچ اجرای تمام شدهای وجود ندارد","environments.sessions.kind.build": "ساخت",@@ -727,7 +742,7 @@"environments.sessions.snapshotSaved": "ذخیره شد {{size}}","environments.sessions.stale": "هیچ پایانی ثبت نشده","environments.sessions.title": "تاریخچه اجرا",- "environments.sessions.unavailable": "بخشی از تاریخچه قابل خواندن نیست — برخی نمونهها از این لیست گم شدهاند",+ "environments.sessions.unavailable": "بخشی از تاریخچه قابل خواندن نیست — برخی از کپیها در این لیست گم شدهاند","environments.storage.measuredAt": "اندازهگیری شده در {{time}}. برای اندازهگیری دوباره تازهسازی کنید.","environments.storage.over": "بیش از حد مجاز ذخیرهسازی. ذخیره یک فایل تا زمانی که چیزی حذف نکنید رد میشود.","environments.storage.unmeasured": "ذخیرهسازی هنوز اندازهگیری نشده است · {{total}} موجود",@@ -736,12 +751,12 @@"environments.unavailable.title": "سندباکس پایدار در اینجا موجود نیست","environments.upgrade.benefits.environments.desc": "مخازن، دستور تنظیم و متغیرها در محیط زندگی میکنند؛ هر سندباکسی که از آن ساخته شود آماده شروع است.","environments.upgrade.benefits.environments.title": "تنظیم سندباکس یک بار نوشته شده",- "environments.upgrade.benefits.instances.desc": "مکالمات موازی هر کدام در نمونه خود از محیط اجرا میشوند، بنابراین هیچ چیزی دیگری را بازنویسی نمیکند.",- "environments.upgrade.benefits.instances.title": "یک نمونه برای هر کار",+ "environments.upgrade.benefits.instances.desc": "مکالمات موازی هر کدام در کپی خود از محیط اجرا میشوند، بنابراین هیچ چیزی دیگری را بازنویسی نمیکند.",+ "environments.upgrade.benefits.instances.title": "یک کپی برای هر وظیفه","environments.upgrade.benefits.persist.desc": "دایرکتوری کاری زمانی که سندباکس بازیافت میشود نگه داشته میشود؛ اجرای بعدی از جایی که آخرین متوقف شد ادامه میدهد.","environments.upgrade.benefits.persist.title": "فایلها از سندباکس زنده میمانند","environments.upgrade.cta": "ارتقا به نسخه Pro",- "environments.upgrade.desc": "به اجرای سندباکس ابری یک دایرکتوری کاری پایدار بدهید. یک محیط توصیف میکند که سندباکس به چه چیزی نیاز دارد — مخازن، تنظیمات، متغیرها — و نمونههای آن همه چیز را بین جلسات نگه میدارند.",+ "environments.upgrade.desc": "به اجرای سندباکس ابری یک دایرکتوری کاری پایدار بدهید. یک محیط توصیف میکند که سندباکس به چه چیزی نیاز دارد — مخازن، تنظیمات، متغیرها — و کپیهای آن همه چیز را بین جلسات نگه میدارند.","environments.upgrade.title": "برای باز کردن محیطهای سندباکس به نسخه Pro ارتقا دهید","environments.visibility.changeFailed": "امکان تغییر قابلیت مشاهده این محیط وجود ندارد","environments.visibility.createPublishedConfirmTitle": "این محیط در فضای کاری ایجاد شود؟",diff --git a/locales/fr-FR/chat.json b/locales/fr-FR/chat.jsonindex be16106dd95..25f12a52743 100644--- a/locales/fr-FR/chat.json+++ b/locales/fr-FR/chat.json@@ -1903,29 +1903,41 @@"runtimeEnv.mode.noneDesc": "Désactiver l'environnement d'exécution","runtimeEnv.selectMode": "Sélectionner l'environnement d'exécution","runtimeEnv.title": "Environnement d'exécution",+ "sandboxStorage.allCopiesBusy": "Chaque copie est en cours d'utilisation","sandboxStorage.buildFailed": "Non construit","sandboxStorage.building": "Construction en cours",+ "sandboxStorage.copies": "Copies",+ "sandboxStorage.copyCount_one": "{{count}} copie",+ "sandboxStorage.copyCount_other": "{{count}} copies",+ "sandboxStorage.createCopyFailed": "Cet environnement n'a pas pu être préparé",+ "sandboxStorage.defaultCopy": "Par défaut","sandboxStorage.environmentsUnavailable": "Les environnements n'ont pas pu être chargés","sandboxStorage.ephemeral": "Répertoire de travail temporaire","sandboxStorage.ephemeralDesc": "Nettoyé lorsque le bac à sable est recyclé","sandboxStorage.instanceBusy": "{{name}} est en cours d'exécution dans une autre conversation. Celle-ci le conserve et le reprend lorsque cette exécution se termine.",+ "sandboxStorage.kind.code": "Code",+ "sandboxStorage.kind.files": "Fichiers","sandboxStorage.manage": "Gérer",- "sandboxStorage.noInstances": "Créer une instance",- "sandboxStorage.noInstancesDesc": "Vos environnements n'ont pas encore de copie de travail",+ "sandboxStorage.noCopyColleagueDesc": "Son créateur ne l'a pas encore configuré",+ "sandboxStorage.noCopyYetDesc": "Une copie est créée la première fois que vous la sélectionnez","sandboxStorage.persistentUpsell": "Répertoire de travail persistant","sandboxStorage.persistentUpsellDesc": "Conservez les fichiers entre les exécutions et les sujets",- "sandboxStorage.pickerInfoTooltip": "Un environnement décrit ce dont une exécution a besoin autour d'elle — dépôts, configuration, variables. Une instance est une copie de travail de cet environnement, avec son propre dossier et ses propres packages installés ; les conversations s'exécutent à l'intérieur d'une instance et conservent ce qu'elles y laissent.",- "sandboxStorage.pickerTitle": "Instance d'environnement",+ "sandboxStorage.pickerInfoTooltip": "Un environnement décrit ce dont une exécution a besoin autour d'elle — fichiers, ou dépôts, configuration et variables. Les conversations s'exécutent à l'intérieur d'une de ses copies et conservent ce qu'elles y laissent ; une deuxième copie n'apparaît que lorsque deux conversations ont besoin du même environnement en même temps.",+ "sandboxStorage.pickerTitle": "Environnement","sandboxStorage.privateGroup": "Environnements privés","sandboxStorage.privateInstanceBlocked": "« {{name}} » est dans un environnement privé, qu'un agent public ne peut pas utiliser. Ce sujet s'exécute dans un répertoire de travail temporaire à la place.","sandboxStorage.publicAgentHint_one": "{{count}} environnement privé est masqué — un agent public ne peut utiliser que les environnements de l'espace de travail. Publiez-le pour l'utiliser ici.","sandboxStorage.publicAgentHint_other": "{{count}} environnements privés sont masqués — un agent public ne peut utiliser que les environnements de l'espace de travail. Publiez-en un pour l'utiliser ici.",+ "sandboxStorage.reopenCopy": "Ouvrir une autre copie",+ "sandboxStorage.reopenCopyDesc": "Reconstruit à partir de la configuration de l'environnement",+ "sandboxStorage.reopenCopyFailed": "Une autre copie n'a pas pu être ouverte","sandboxStorage.running": "En cours d'exécution",- "sandboxStorage.runningHint": "Quelque chose d'autre est encore en cours d'exécution dans cette instance, elle ne peut donc pas être sélectionnée ici. Elle est libérée automatiquement environ 15 minutes après que cette exécution se soit calmée.",- "sandboxStorage.runningHintStoppable": "Quelque chose d'autre est encore en cours d'exécution dans cette instance, elle ne peut donc pas être sélectionnée ici. Elle est libérée automatiquement environ 15 minutes après que cette exécution se soit calmée, ou vous pouvez l'arrêter maintenant.",- "sandboxStorage.runningOwnHint": "L'exécution de cette conversation utilise cette instance.",+ "sandboxStorage.runningHint": "Quelque chose d'autre est encore en cours d'exécution dans cette copie, elle ne peut donc pas être sélectionnée ici. Elle est libérée d'elle-même environ 15 minutes après que cette exécution se soit arrêtée.",+ "sandboxStorage.runningHintStoppable": "Quelque chose d'autre est encore en cours d'exécution dans cette copie, elle ne peut donc pas être sélectionnée ici. Elle est libérée d'elle-même environ 15 minutes après que cette exécution se soit arrêtée, ou vous pouvez l'arrêter maintenant.",+ "sandboxStorage.runningOwnHint": "L'exécution de cette conversation utilise cette copie.","sandboxStorage.setUpEnvironment": "Configurer un environnement","sandboxStorage.setUpEnvironmentDesc": "Un répertoire persistant vit dans un environnement",+ "sandboxStorage.showCopies": "Afficher les copies","sandboxStorage.stop": "Arrêter","sandboxStorage.workspaceGroup": "Environnements de l'espace de travail","search.grounding.imageSearchQueries": "Mots-clés de recherche d'images",diff --git a/locales/fr-FR/common.json b/locales/fr-FR/common.jsonindex 66a8be3a3af..69139dd2a23 100644--- a/locales/fr-FR/common.json+++ b/locales/fr-FR/common.json@@ -521,7 +521,7 @@"visibilityConfirm.makePrivate.itemLibrary": "Il reste dans la bibliothèque où vous l'avez classé — les autres membres cessent simplement de le voir là-bas","visibilityConfirm.makePrivate.itemLoaded": "Le contenu déjà chargé par d'autres ne peut pas être récupéré","visibilityConfirm.makePrivate.itemReferences": "Les pièces jointes et références des messages existants apparaîtront comme indisponibles",- "visibilityConfirm.publish.itemCapturedState": "Les membres peuvent exécuter ses instances et accéder à tout ce qu'il a capturé — fichiers, connexions CLI, votre identité connectée",+ "visibilityConfirm.publish.itemCapturedState": "Les membres peuvent exécuter ses copies et accéder à tout ce qu'il a capturé — fichiers, connexions CLI, votre identité connectée","visibilityConfirm.publish.itemLoaded": "Après le changement, le contenu déjà chargé par d'autres ne peut pas être récupéré","visibilityConfirm.publish.itemReversible": "Vous pouvez le repasser en privé plus tard depuis le même menu","visibilityConfirm.publish.itemVisible": "Tous les membres de l'espace de travail verront ceci immédiatement",diff --git a/locales/fr-FR/setting.json b/locales/fr-FR/setting.jsonindex bd8d770fed7..fda7018fd78 100644--- a/locales/fr-FR/setting.json+++ b/locales/fr-FR/setting.json@@ -564,8 +564,9 @@"environments.cancel": "Annuler","environments.create": "Nouvel environnement","environments.createFailed": "Impossible de créer l'environnement",- "environments.desc": "Ce dont une exécution sandbox a besoin autour d'elle : un dépôt, sa configuration, ses variables. Chaque instance construite à partir d'un environnement conserve ses propres fichiers entre les sessions.",+ "environments.desc": "Ce dont une exécution en bac à sable a besoin autour d'elle : un dépôt, sa configuration, ses variables. Chaque copie créée à partir d'un modèle conserve ses propres fichiers entre les sessions.","environments.detail.close": "Fermer",+ "environments.detail.tabs.overview": "Aperçu","environments.detail.tabs.settings": "Paramètres","environments.duplicateName": "Vous avez déjà un environnement avec ce nom","environments.empty": "Aucun environnement pour le moment",@@ -574,22 +575,22 @@"environments.files.binary": "Ce n'est pas un fichier texte, il ne peut donc pas être affiché ici.","environments.files.browse": "Parcourir les fichiers","environments.files.empty": "Ce répertoire est vide",- "environments.files.invalidPath": "Le nom doit rester dans le répertoire de cette instance",+ "environments.files.invalidPath": "Le nom doit rester dans le répertoire de cette copie","environments.files.listFailed": "Ce répertoire n'a pas pu être listé","environments.files.openHint": "Double-cliquez sur un dossier pour l'ouvrir, ou sur un fichier pour le visualiser","environments.files.readOnlyHint": "Lecture seule : synchronisé par le sandbox. Les dépendances comme node_modules ne sont pas affichées.","environments.files.truncated": "Seules les premières entrées sont affichées","environments.files.unreadable": "Ce fichier n'a pas pu être lu",- "environments.files.unusedInstance": "Rien ici pour le moment. Le code apparaît une fois que l'instance est construite ou qu'une conversation y est lancée.",+ "environments.files.unusedInstance": "Rien ici pour l'instant. Le code apparaît une fois que la copie est construite ou qu'une conversation y est lancée.","environments.files.up": "Remonter d'un niveau","environments.form.addEnv": "Nouvelle variable","environments.form.addSource": "Ajouter un dépôt",- "environments.form.appliesOnBuild": "Appliqué lors de la création d'une instance. Les instances existantes conservent la définition avec laquelle elles ont été créées — une reconstruction rejoue celle-ci, donc utilisez une nouvelle instance pour en tenir compte.",+ "environments.form.appliesOnBuild": "Appliqué lors de la création d'une copie. Les copies existantes conservent la définition avec laquelle elles ont été créées — une reconstruction rejoue cette définition, donc utilisez une nouvelle copie pour appliquer celle-ci.","environments.form.basics": "Informations de base","environments.form.bootstrap": "Commande de configuration","environments.form.bootstrapHint": "S'exécute une fois dans le répertoire cloné, avec accès au réseau, avant que la conversation ne commence.","environments.form.changeRepository": "Changer de dépôt",- "environments.form.desc": "Ce à partir de quoi une instance est construite — d'où provient le code et ce qui le rend utilisable.",+ "environments.form.desc": "Ce à partir de quoi une copie est construite — d'où provient le code et ce qui le rend utilisable.","environments.form.description": "Description","environments.form.descriptionPlaceholder": "À quoi sert cet environnement","environments.form.disconnect": "Déconnecter",@@ -599,13 +600,14 @@"environments.form.envCount_other": "{{count}} variables","environments.form.envEmpty": "Aucune variable pour le moment","environments.form.envEmptyHint": "Ajoutez-en une, ou collez un fichier .env entier dans le",- "environments.form.envHint": "Valeurs non secrètes uniquement — elles sont stockées en texte clair et copiées dans chaque instance.",+ "environments.form.envHint": "Valeurs non secrètes uniquement — elles sont stockées en texte clair et copiées dans chaque copie de cet environnement.","environments.form.exclude": "Chemins régénérables","environments.form.excludeHint": "Un par ligne, relatif à la copie. Lister un chemin indique qu'il peut être reconstruit, il est donc séparé de votre travail et peut être supprimé pour libérer de l'espace. Tout ce qui est nommé ici et qui ne peut pas être reconstruit est un travail que vous pouvez perdre.",+ "environments.form.filesDesc": "Comment ce dossier est appelé et ce qu'il contient pour l'agent.","environments.form.internetAccess": "Accès Internet de l'agent","environments.form.internetAccessHint": "La configuration a toujours accès au réseau. Cela contrôle la conversation elle-même.","environments.form.maintenance": "Commande de maintenance",- "environments.form.maintenanceHint": "S'exécute chaque fois que le travail reprend dans une instance — actualisation d'un dépôt, réapplication d'une migration. Pas la commande de configuration à nouveau : celle-ci est coûteuse et est censée s'exécuter une seule fois.",+ "environments.form.maintenanceHint": "S'exécute chaque fois que le travail reprend dans une copie — actualisation d'un dépôt, réapplication d'une migration. Pas la commande de configuration à nouveau : celle-ci est coûteuse et est censée s'exécuter une seule fois.","environments.form.path": "Dossier","environments.form.rawEditor": "Éditeur brut","environments.form.rawEditorHint": "Une ligne par clé=valeur, comme un fichier .env. Les lignes vides et les commentaires # sont ignorés ; sauvegarder remplace chaque variable.",@@ -630,62 +632,75 @@"environments.github.repositoryPending": "Choisissez d'abord une organisation","environments.github.repositoryPlaceholder": "Rechercher des dépôts","environments.github.reviewAccess": "Vérifier l'accès",- "environments.hasInstances": "Supprimez d'abord ses instances",- "environments.instances.add": "Nouvelle instance",+ "environments.hasInstances": "Supprimez d'abord ses autres copies",+ "environments.instances.add": "Nouvelle copie","environments.instances.build": "Construire",- "environments.instances.buildConfirmTitle": "Construire l'instance {{name}} ?",+ "environments.instances.buildConfirmTitle": "Construire la copie {{name}} ?","environments.instances.buildFailed": "Échec de la construction","environments.instances.buildStartFailed": "Impossible de démarrer la construction","environments.instances.buildStatusUnknown": "Suivi de cette construction perdu","environments.instances.building": "Construction — clonage et installation","environments.instances.confirm": "Créer",- "environments.instances.count_one": "{{count}} instance",- "environments.instances.count_other": "{{count}} instances",- "environments.instances.create": "Nouvelle instance",- "environments.instances.createFailed": "Impossible de créer l'instance",- "environments.instances.desc": "Une instance est une copie de travail de cet environnement, avec son propre dossier et ses propres packages installés. Les conversations s'exécutent à l'intérieur d'une instance, et plusieurs peuvent s'exécuter côte à côte sans interférer.",+ "environments.instances.copy": "Dupliquer la copie",+ "environments.instances.copyBuilding": "Cette copie est en cours de construction, elle ne peut pas être dupliquée tant que la construction n'est pas terminée",+ "environments.instances.copyFailed": "Impossible de dupliquer cette copie",+ "environments.instances.copyInUse": "Une conversation utilise cette copie, elle ne peut donc pas être dupliquée maintenant — dupliquez-la une fois que cette exécution est terminée, ou arrêtez l'exécution d'abord",+ "environments.instances.copyOccupancyUnknown": "Impossible de vérifier si cette copie est utilisée, elle ne peut donc pas être dupliquée pour le moment",+ "environments.instances.copyTitle": "Dupliquer {{name}}",+ "environments.instances.count_one": "{{count}} copie",+ "environments.instances.count_other": "{{count}} copies",+ "environments.instances.create": "Nouvelle copie",+ "environments.instances.createFailed": "Impossible de créer la copie",+ "environments.instances.defaultUndeletable": "Ceci est la copie par défaut de l'environnement et ne peut pas être supprimée seule — reconstruisez-la ou supprimez l'environnement",+ "environments.instances.desc": "Une copie est une copie de travail de cet environnement, avec son propre dossier et ses propres packages installés. Les conversations s'exécutent à l'intérieur d'une copie, et plusieurs peuvent s'exécuter côte à côte sans interférer.","environments.instances.directoryHint": "Chemin du dossier. Ne peut pas être modifié une fois créé.","environments.instances.directoryLabel": "Répertoire",- "environments.instances.directoryLocked": "Le dossier ne peut pas être modifié après la construction de l'instance — supprimez-la et créez-en une autre pour la déplacer.",- "environments.instances.duplicateDirectory": "Une autre instance utilise déjà ce dossier",- "environments.instances.empty": "Aucune instance pour le moment",+ "environments.instances.directoryLocked": "Le dossier ne peut pas être modifié après la construction de la copie — supprimez-la et créez-en une autre pour la déplacer.",+ "environments.instances.duplicateDirectory": "Une autre copie utilise déjà ce dossier",+ "environments.instances.empty": "Aucune copie pour l'instant","environments.instances.emptyHint": "Créez-en une, puis sélectionnez-la sous \"Répertoire de travail\" dans l'entrée de chat.",- "environments.instances.emptyReadonly": "Personne n'a encore créé d'instance de cet environnement. Seul son propriétaire peut en ajouter une.",+ "environments.instances.emptyReadonly": "Personne n'a encore créé de copie de cet environnement. Seul son propriétaire peut en ajouter une.","environments.instances.hideLog": "Masquer le journal",- "environments.instances.inUse": "Une conversation utilise cette instance — réessayez une fois que cette exécution se termine",- "environments.instances.namePlaceholder": "Nom de l'instance",+ "environments.instances.inUse": "Une conversation utilise cette copie — réessayez une fois que cette exécution est terminée",+ "environments.instances.namePlaceholder": "Nom de la copie","environments.instances.notBuilt": "Pas encore construit — rien n'a été cloné ou installé",- "environments.instances.occupancyUnavailable": "Impossible de lire quelles instances sont en cours d'exécution pour le moment",- "environments.instances.overlappingDirectory": "Ce dossier est à l'intérieur du dossier d'une autre instance, ou en contient un",+ "environments.instances.occupancyUnavailable": "Impossible de lire quelles copies sont en cours d'exécution pour le moment",+ "environments.instances.overlappingDirectory": "Ce dossier est à l'intérieur du dossier d'une autre copie, ou en contient un","environments.instances.rebuild": "Reconstruire",- "environments.instances.rebuildConfirmContent": "Cela efface le dossier de l'instance, puis clone à nouveau le code et exécute le script de configuration. Tout ce qu'il contient actuellement — modifications effectuées dans les conversations, packages installés, rapports, données — sera perdu. Cela ne peut pas être annulé.",- "environments.instances.rebuildConfirmTitle": "Reconstruire l'instance {{name}} ?",- "environments.instances.remove": "Supprimer l'instance",+ "environments.instances.rebuildConfirmContent": "Cela efface le dossier de la copie, puis clone à nouveau le code et exécute le script de configuration. Tout ce qui s'y trouve actuellement — modifications effectuées dans les conversations, packages installés, rapports, données — sera perdu. Cela ne peut pas être annulé.",+ "environments.instances.rebuildConfirmTitle": "Reconstruire la copie {{name}} ?",+ "environments.instances.remove": "Supprimer la copie","environments.instances.removeConfirmContent": "Son dossier et tout ce qu'il contenait — packages installés, rapports, données — seront supprimés. Cela ne peut pas être annulé.",- "environments.instances.removeConfirmTitle": "Supprimer l'instance {{name}} ?",- "environments.instances.removeFailed": "Impossible de supprimer cette instance",+ "environments.instances.removeConfirmTitle": "Supprimer la copie {{name}} ?",+ "environments.instances.removeFailed": "Impossible de supprimer cette copie","environments.instances.removing": "Suppression — suppression de son dossier et de tout ce qu'il contient",- "environments.instances.rename": "Renommer l'instance",- "environments.instances.renameFailed": "Impossible de renommer cette instance",+ "environments.instances.rename": "Renommer la copie",+ "environments.instances.renameFailed": "Impossible de renommer cette copie","environments.instances.retryStatus": "Vérifier à nouveau","environments.instances.running": "En cours d'exécution",- "environments.instances.runningHint": "Une exécution utilise encore cette instance — une conversation, une construction ou le navigateur de fichiers. Elle est libérée automatiquement environ 15 minutes après que cette exécution se calme ; l'historique des exécutions montre laquelle la retient.",- "environments.instances.runningHintStoppable": "Une exécution utilise encore cette instance — une conversation, une construction ou le navigateur de fichiers. Elle est libérée automatiquement environ 15 minutes après que cette exécution se calme, ou vous pouvez l'arrêter maintenant ; l'historique des exécutions montre laquelle la retient.",+ "environments.instances.runningHint": "Une exécution utilise encore cette copie — une conversation, une construction ou l'explorateur de fichiers. Elle est libérée automatiquement environ 15 minutes après que cette exécution devient inactive ; l'historique des exécutions montre laquelle la retient.",+ "environments.instances.runningHintStoppable": "Une exécution utilise encore cette copie — une conversation, une construction ou l'explorateur de fichiers. Elle est libérée automatiquement environ 15 minutes après que cette exécution devient inactive, ou vous pouvez l'arrêter maintenant ; l'historique des exécutions montre laquelle la retient.","environments.instances.save": "Enregistrer","environments.instances.showLog": "Afficher le journal","environments.instances.stop": "Arrêter",- "environments.instances.stopBuilding": "Cette instance est en cours de construction. Elle est libérée lorsque la construction est terminée",- "environments.instances.stopBusy": "Cette instance est en cours de copie ou de suppression — réessayez dans un instant",- "environments.instances.stopConfirmContent": "L'exécution retenant cette instance est arrêtée maintenant au lieu d'attendre qu'elle se calme. Ce qu'elle a installé et écrit est d'abord sauvegardé. Une conversation au milieu d'une étape interrompt cette étape, et reprend à partir de l'état sauvegardé avec son prochain message.",+ "environments.instances.stopBuilding": "Cette copie est en cours de construction. Elle est libérée lorsque la construction est terminée",+ "environments.instances.stopBusy": "Cette copie est en cours de duplication ou de suppression — réessayez dans un instant",+ "environments.instances.stopConfirmContent": "L'exécution retenant cette copie est arrêtée maintenant au lieu d'attendre qu'elle devienne inactive. Ce qu'elle a installé et écrit est d'abord sauvegardé. Une conversation au milieu d'une étape interrompt cette étape, et reprend à partir de l'état sauvegardé avec son prochain message.","environments.instances.stopConfirmTitle": "Arrêter l'exécution dans \"{{name}}\" ?","environments.instances.stopFailed": "Impossible d'arrêter l'exécution","environments.instances.stopNothing": "Rien ne s'exécute plus dans \"{{name}}\"","environments.instances.stopRefused": "L'exécution n'a pas pu être arrêtée — réessayez","environments.instances.stopSnapshotPending": "L'exécution est encore en train de sauvegarder son travail, elle a donc été laissée en cours d'exécution — réessayez dans un instant",- "environments.instances.stopStarting": "Une exécution vient de démarrer dans cette instance — réessayez dans un instant",+ "environments.instances.stopStarting": "Une exécution vient de démarrer dans cette copie — réessayez dans un instant","environments.instances.stopped": "Arrêté. \"{{name}}\" est libre d'utilisation","environments.instances.stopping": "Arrêt en cours — sauvegarde de l'exécution d'abord…",- "environments.instances.title": "Instances",+ "environments.instances.title": "Copies",+ "environments.kind.code": "Code",+ "environments.kind.codeDesc": "Clonez un dépôt, définissez des variables et exécutez la configuration avant que l'agent ne démarre.",+ "environments.kind.files": "Fichiers",+ "environments.kind.filesDesc": "Téléchargez des fichiers pour qu'un agent puisse travailler dessus. Prêt dès qu'il est créé.",+ "environments.kind.filesHint": "Un dossier dans lequel vous téléchargez des fichiers pour qu'un agent puisse travailler dessus. Rien n'est cloné ou installé, donc il n'y a pas de construction — il est prêt dès qu'il est créé.",+ "environments.kind.label": "Type","environments.loadFailed.desc": "Nous n'avons pas pu atteindre le service qui indique si ce compte dispose d'un espace de travail persistant. Rien ne va pas avec vos environnements.","environments.loadFailed.retry": "Réessayer","environments.loadFailed.title": "Impossible de vérifier votre plan",@@ -698,15 +713,15 @@"environments.namePlaceholder": "Nom de l'environnement","environments.refresh": "Actualiser","environments.remove": "Supprimer l'environnement",- "environments.removeConfirmContent": "Sa spécification, ses variables et son instantané sauvegardé seront supprimés, et ne pourront pas être récupérés.",+ "environments.removeConfirmContent": "Sa spécification, ses variables, le dossier de sa copie et l'instantané sauvegardé partent avec, et ne peuvent pas être récupérés.","environments.removeConfirmTitle": "Supprimer l'environnement {{name}} ?","environments.removeFailed": "Impossible de supprimer cet environnement","environments.saveFailed": "Impossible d'enregistrer cette modification","environments.sessions.activeBuild": "{{instance}} est en cours de construction","environments.sessions.activeSession": "Un sandbox est en cours d'exécution dans {{instance}}",- "environments.sessions.desc": "Les sessions les plus récentes qui se sont exécutées dans ces instances et leurs constructions, des plus récentes aux plus anciennes, avec la façon dont chacune s'est terminée et si ce qu'elle a installé a été sauvegardé.",+ "environments.sessions.desc": "Les sessions les plus récentes qui se sont exécutées dans ces copies et leurs constructions, des plus récentes aux plus anciennes, avec comment chacune s'est terminée et si ce qu'elle a installé a été sauvegardé.","environments.sessions.empty": "Rien n'a encore été exécuté ici",- "environments.sessions.emptyHint": "Chaque conversation et construction dans l'une de ses instances apparaîtra ici.",+ "environments.sessions.emptyHint": "Chaque conversation et construction dans cet environnement apparaîtra ici.","environments.sessions.history": "Historique","environments.sessions.historyEmpty": "Aucune exécution terminée pour le moment","environments.sessions.kind.build": "Construction",@@ -727,7 +742,7 @@"environments.sessions.snapshotSaved": "Sauvegardé {{size}}","environments.sessions.stale": "Aucune fin enregistrée","environments.sessions.title": "Historique des exécutions",- "environments.sessions.unavailable": "Une partie de l'historique n'a pas pu être lue — certaines instances manquent dans cette liste",+ "environments.sessions.unavailable": "Une partie de l'historique n'a pas pu être lue — certaines copies manquent dans cette liste","environments.storage.measuredAt": "Mesuré {{time}}. Actualisez pour mesurer à nouveau.","environments.storage.over": "Au-delà de la limite de stockage. L'enregistrement d'un fichier est refusé jusqu'à ce que vous supprimiez quelque chose.","environments.storage.unmeasured": "Stockage non mesuré pour le moment · {{total}} disponible",@@ -736,12 +751,12 @@"environments.unavailable.title": "Sandbox persistant non disponible ici","environments.upgrade.benefits.environments.desc": "Les dépôts, la commande de configuration et les variables résident dans l'environnement ; chaque sandbox construit à partir de celui-ci démarre prêt.","environments.upgrade.benefits.environments.title": "Configuration du sandbox écrite une fois",- "environments.upgrade.benefits.instances.desc": "Les conversations parallèles s'exécutent chacune dans leur propre instance de l'environnement, donc rien ne remplace autre chose.",- "environments.upgrade.benefits.instances.title": "Une instance par tâche",+ "environments.upgrade.benefits.instances.desc": "Les conversations parallèles s'exécutent chacune dans leur propre copie de l'environnement, donc rien ne se chevauche.",+ "environments.upgrade.benefits.instances.title": "Une copie par tâche","environments.upgrade.benefits.persist.desc": "Le répertoire de travail est conservé lorsque le sandbox est recyclé ; la prochaine exécution reprend là où la dernière s'est arrêtée.","environments.upgrade.benefits.persist.title": "Les fichiers survivent au sandbox","environments.upgrade.cta": "Passer à Pro",- "environments.upgrade.desc": "Donnez aux exécutions sandbox cloud un répertoire de travail persistant. Un environnement décrit ce dont le sandbox a besoin — dépôts, configuration, variables — et ses instances conservent tout entre les sessions.",+ "environments.upgrade.desc": "Donnez aux exécutions en bac à sable dans le cloud un répertoire de travail persistant. Un environnement décrit ce dont le bac à sable a besoin — dépôts, configuration, variables — et ses copies conservent tout entre les sessions.","environments.upgrade.title": "Passez à Pro pour débloquer les environnements sandbox","environments.visibility.changeFailed": "Impossible de changer la visibilité de cet environnement","environments.visibility.createPublishedConfirmTitle": "Créer cet environnement dans l'espace de travail ?",diff --git a/locales/it-IT/chat.json b/locales/it-IT/chat.jsonindex 563fbe9dda3..263fc6c7276 100644--- a/locales/it-IT/chat.json+++ b/locales/it-IT/chat.json@@ -1903,29 +1903,41 @@"runtimeEnv.mode.noneDesc": "Disabilita l'ambiente di runtime","runtimeEnv.selectMode": "Seleziona Ambiente di Runtime","runtimeEnv.title": "Ambiente di Runtime",+ "sandboxStorage.allCopiesBusy": "Ogni copia è in uso","sandboxStorage.buildFailed": "Non costruito","sandboxStorage.building": "Costruzione in corso",+ "sandboxStorage.copies": "Copie",+ "sandboxStorage.copyCount_one": "{{count}} copia",+ "sandboxStorage.copyCount_other": "{{count}} copie",+ "sandboxStorage.createCopyFailed": "Questo ambiente non può essere preparato",+ "sandboxStorage.defaultCopy": "Predefinito","sandboxStorage.environmentsUnavailable": "Impossibile caricare gli ambienti","sandboxStorage.ephemeral": "Directory di lavoro temporanea","sandboxStorage.ephemeralDesc": "Pulita quando il sandbox viene riciclato","sandboxStorage.instanceBusy": "{{name}} è in esecuzione in un'altra conversazione. Questa la mantiene e la riprende quando quell'esecuzione termina.",+ "sandboxStorage.kind.code": "Codice",+ "sandboxStorage.kind.files": "File","sandboxStorage.manage": "Gestisci",- "sandboxStorage.noInstances": "Crea un'istanza",- "sandboxStorage.noInstancesDesc": "I tuoi ambienti non hanno ancora una copia di lavoro",+ "sandboxStorage.noCopyColleagueDesc": "Il suo creatore non l'ha ancora configurato",+ "sandboxStorage.noCopyYetDesc": "Una copia viene creata la prima volta che la selezioni","sandboxStorage.persistentUpsell": "Directory di lavoro persistente","sandboxStorage.persistentUpsellDesc": "Mantieni i file tra esecuzioni e argomenti",- "sandboxStorage.pickerInfoTooltip": "Un ambiente descrive ciò di cui un'esecuzione ha bisogno intorno a sé — repository, configurazioni, variabili. Un'istanza è una copia di lavoro di esso, con la propria cartella e i propri pacchetti installati; le conversazioni si svolgono all'interno di un'istanza e mantengono ciò che lasciano lì.",- "sandboxStorage.pickerTitle": "Istanza dell'ambiente",+ "sandboxStorage.pickerInfoTooltip": "Un ambiente descrive ciò di cui un'esecuzione ha bisogno intorno a sé — file, o repository, configurazione e variabili. Le conversazioni si svolgono all'interno di una delle sue copie e mantengono ciò che vi lasciano; una seconda copia appare solo quando due conversazioni necessitano dello stesso ambiente contemporaneamente.",+ "sandboxStorage.pickerTitle": "Ambiente","sandboxStorage.privateGroup": "Ambienti privati","sandboxStorage.privateInstanceBlocked": "“{{name}}” è in un ambiente privato, che un agente pubblico non può utilizzare. Questo argomento viene eseguito in una directory di lavoro temporanea.","sandboxStorage.publicAgentHint_one": "{{count}} ambiente privato è nascosto — un agente pubblico può utilizzare solo ambienti di lavoro. Pubblicalo per utilizzarlo qui.","sandboxStorage.publicAgentHint_other": "{{count}} ambienti privati sono nascosti — un agente pubblico può utilizzare solo ambienti di lavoro. Pubblicane uno per utilizzarlo qui.",+ "sandboxStorage.reopenCopy": "Apri un'altra copia",+ "sandboxStorage.reopenCopyDesc": "Ricostruito dalla configurazione dell'ambiente",+ "sandboxStorage.reopenCopyFailed": "Non è stato possibile aprire un'altra copia","sandboxStorage.running": "In esecuzione",- "sandboxStorage.runningHint": "Qualcos'altro è ancora in esecuzione in questa istanza, quindi non può essere selezionata qui. Viene rilasciata automaticamente circa 15 minuti dopo che quell'esecuzione si è fermata.",- "sandboxStorage.runningHintStoppable": "Qualcos'altro è ancora in esecuzione in questa istanza, quindi non può essere selezionata qui. Viene rilasciata automaticamente circa 15 minuti dopo che quell'esecuzione si è fermata, oppure puoi fermarla ora.",- "sandboxStorage.runningOwnHint": "L'esecuzione di questa conversazione sta utilizzando questa istanza.",+ "sandboxStorage.runningHint": "Qualcos'altro è ancora in esecuzione in questa copia, quindi non può essere selezionata qui. Viene rilasciata automaticamente circa 15 minuti dopo che quell'esecuzione si è fermata.",+ "sandboxStorage.runningHintStoppable": "Qualcos'altro è ancora in esecuzione in questa copia, quindi non può essere selezionata qui. Viene rilasciata automaticamente circa 15 minuti dopo che quell'esecuzione si è fermata, oppure puoi interromperla ora.",+ "sandboxStorage.runningOwnHint": "L'esecuzione di questa conversazione sta utilizzando questa copia.","sandboxStorage.setUpEnvironment": "Configura un ambiente","sandboxStorage.setUpEnvironmentDesc": "Una directory persistente vive in un ambiente",+ "sandboxStorage.showCopies": "Mostra copie","sandboxStorage.stop": "Ferma","sandboxStorage.workspaceGroup": "Ambienti di lavoro","search.grounding.imageSearchQueries": "Parole Chiave per la Ricerca Immagini",diff --git a/locales/it-IT/common.json b/locales/it-IT/common.jsonindex d6dde6b4ecc..3bed2aa67b3 100644--- a/locales/it-IT/common.json+++ b/locales/it-IT/common.json@@ -521,7 +521,7 @@"visibilityConfirm.makePrivate.itemLibrary": "Rimane nella libreria in cui lo hai archiviato — gli altri membri semplicemente smettono di vederlo lì","visibilityConfirm.makePrivate.itemLoaded": "Il contenuto già caricato da altri non può essere recuperato","visibilityConfirm.makePrivate.itemReferences": "Gli allegati e i riferimenti ai messaggi esistenti saranno mostrati come non disponibili",- "visibilityConfirm.publish.itemCapturedState": "I membri possono eseguire le sue istanze e accedere a tutto ciò che ha acquisito: file, accessi CLI, la tua identità connessa",+ "visibilityConfirm.publish.itemCapturedState": "I membri possono eseguire le sue copie e accedere a tutto ciò che ha acquisito: file, accessi CLI, la tua identità connessa","visibilityConfirm.publish.itemLoaded": "Dopo il cambio, il contenuto già caricato da altri non può essere recuperato","visibilityConfirm.publish.itemReversible": "Puoi tornare a renderlo privato più tardi dallo stesso menu","visibilityConfirm.publish.itemVisible": "Tutti i membri dello spazio di lavoro lo vedranno immediatamente",diff --git a/locales/it-IT/setting.json b/locales/it-IT/setting.jsonindex 7aef58bda86..93917ded27d 100644--- a/locales/it-IT/setting.json+++ b/locales/it-IT/setting.json@@ -564,8 +564,9 @@"environments.cancel": "Annulla","environments.create": "Nuovo ambiente","environments.createFailed": "Impossibile creare l'ambiente",- "environments.desc": "Ciò di cui un'esecuzione sandbox ha bisogno intorno a sé: un repository, la sua configurazione, le sue variabili. Ogni istanza creata da uno mantiene i propri file tra le sessioni.",+ "environments.desc": "Cosa serve a un'esecuzione sandbox: un repository, la sua configurazione, le sue variabili. Ogni copia creata da uno mantiene i propri file tra le sessioni.","environments.detail.close": "Chiudi",+ "environments.detail.tabs.overview": "Panoramica","environments.detail.tabs.settings": "Impostazioni","environments.duplicateName": "Hai già un ambiente con questo nome","environments.empty": "Nessun ambiente ancora",@@ -574,22 +575,22 @@"environments.files.binary": "Non è un file di testo, quindi non può essere mostrato qui.","environments.files.browse": "Sfoglia file","environments.files.empty": "Questa directory è vuota",- "environments.files.invalidPath": "Il nome deve rimanere all'interno della directory di questa istanza",+ "environments.files.invalidPath": "Il nome deve rimanere all'interno della directory di questa copia","environments.files.listFailed": "Impossibile elencare questa directory","environments.files.openHint": "Fai doppio clic su una cartella per aprirla, o su un file per visualizzarlo","environments.files.readOnlyHint": "Sola lettura: mantenuto sincronizzato dalla sandbox. Dipendenze come node_modules non sono mostrate.","environments.files.truncated": "Sono mostrati solo i primi elementi","environments.files.unreadable": "Impossibile leggere questo file",- "environments.files.unusedInstance": "Niente qui ancora. Il codice appare una volta che l'istanza è costruita o una conversazione è eseguita in essa.",+ "environments.files.unusedInstance": "Niente qui ancora. Il codice appare una volta che la copia è costruita o una conversazione è avviata in essa.","environments.files.up": "Un livello sopra","environments.form.addEnv": "Nuova variabile","environments.form.addSource": "Aggiungi repository",- "environments.form.appliesOnBuild": "Applicato quando un'istanza è creata. Le istanze esistenti mantengono la definizione con cui sono state create — una ricostruzione riproduce quella, quindi usa una nuova istanza per applicare questa.",+ "environments.form.appliesOnBuild": "Applicato quando viene creata una copia. Le copie esistenti mantengono la definizione con cui sono state create — una ricostruzione riproduce quella, quindi usa una nuova copia per applicare questa.","environments.form.basics": "Elementi di base","environments.form.bootstrap": "Comando di configurazione","environments.form.bootstrapHint": "Eseguito una volta nel checkout, con accesso alla rete, prima che inizi la conversazione.","environments.form.changeRepository": "Cambia repository",- "environments.form.desc": "Da cosa è costruita un'istanza — da dove proviene il codice e cosa lo rende utilizzabile.",+ "environments.form.desc": "Da cosa è costruita una copia — da dove proviene il codice e cosa la rende utilizzabile.","environments.form.description": "Descrizione","environments.form.descriptionPlaceholder": "A cosa serve questo ambiente","environments.form.disconnect": "Disconnetti",@@ -599,13 +600,14 @@"environments.form.envCount_other": "{{count}} variabili","environments.form.envEmpty": "Nessuna variabile ancora","environments.form.envEmptyHint": "Aggiungine una, o incolla un intero file .env nel",- "environments.form.envHint": "Solo valori non segreti — questi sono memorizzati come testo semplice e copiati in ogni istanza.",+ "environments.form.envHint": "Solo valori non segreti — questi sono memorizzati come testo semplice e copiati in ogni copia di questo ambiente.","environments.form.exclude": "Percorsi rigenerabili","environments.form.excludeHint": "Uno per riga, relativo alla copia. Elencare un percorso indica che può essere rigenerato, quindi è tenuto separato dal tuo lavoro e può essere eliminato per recuperare spazio. Qualsiasi cosa nominata qui che non può essere rigenerata è lavoro che puoi perdere.",+ "environments.form.filesDesc": "Come si chiama questa cartella e cosa contiene per l'agente.","environments.form.internetAccess": "Accesso a Internet dell'agente","environments.form.internetAccessHint": "La configurazione ha sempre accesso alla rete. Questo controlla la conversazione stessa.","environments.form.maintenance": "Comando di manutenzione",- "environments.form.maintenanceHint": "Eseguito ogni volta che il lavoro riprende in un'istanza — aggiornando un checkout, riapplicando una migrazione. Non il comando di configurazione di nuovo: quello è costoso ed è pensato per essere eseguito una volta.",+ "environments.form.maintenanceHint": "Eseguito ogni volta che il lavoro riprende in una copia — aggiornando un checkout, riapplicando una migrazione. Non il comando di configurazione: quello è costoso ed è pensato per essere eseguito una sola volta.","environments.form.path": "Cartella","environments.form.rawEditor": "Editor grezzo","environments.form.rawEditorHint": "Una riga per KEY=value, come legge un file .env. Le righe vuote e i commenti # sono ignorati; salvare sostituisce ogni variabile.",@@ -630,62 +632,75 @@"environments.github.repositoryPending": "Scegli prima un'organizzazione","environments.github.repositoryPlaceholder": "Cerca repository","environments.github.reviewAccess": "Rivedi accesso",- "environments.hasInstances": "Rimuovi prima le sue istanze",- "environments.instances.add": "Nuova istanza",+ "environments.hasInstances": "Rimuovi prima le altre copie",+ "environments.instances.add": "Nuova copia","environments.instances.build": "Costruisci",- "environments.instances.buildConfirmTitle": "Costruire l'istanza {{name}}?",+ "environments.instances.buildConfirmTitle": "Costruire la copia {{name}}?","environments.instances.buildFailed": "Costruzione fallita","environments.instances.buildStartFailed": "Impossibile avviare la costruzione","environments.instances.buildStatusUnknown": "Persa traccia di questa costruzione","environments.instances.building": "Costruzione in corso — clonazione e installazione","environments.instances.confirm": "Crea",- "environments.instances.count_one": "{{count}} istanza",- "environments.instances.count_other": "{{count}} istanze",- "environments.instances.create": "Nuova istanza",- "environments.instances.createFailed": "Impossibile creare l'istanza",- "environments.instances.desc": "Un'istanza è una copia di lavoro di questo ambiente, con la sua cartella e i suoi pacchetti installati. Le conversazioni si svolgono all'interno di un'istanza, e diverse possono essere eseguite contemporaneamente senza interferire tra loro.",+ "environments.instances.copy": "Duplica copia",+ "environments.instances.copyBuilding": "Questa copia è in fase di costruzione, quindi non può essere duplicata fino al termine della costruzione",+ "environments.instances.copyFailed": "Impossibile duplicare questa copia",+ "environments.instances.copyInUse": "Una conversazione sta utilizzando questa copia, quindi non può essere duplicata ora — duplicala una volta terminata l'esecuzione, o interrompi prima l'esecuzione",+ "environments.instances.copyOccupancyUnknown": "Impossibile verificare se questa copia è in uso, quindi non può essere duplicata in questo momento",+ "environments.instances.copyTitle": "Duplica {{name}}",+ "environments.instances.count_one": "{{count}} copia",+ "environments.instances.count_other": "{{count}} copie",+ "environments.instances.create": "Nuova copia",+ "environments.instances.createFailed": "Impossibile creare la copia",+ "environments.instances.defaultUndeletable": "Questa è la copia predefinita dell'ambiente e non può essere eliminata da sola — ricostruiscila o elimina l'ambiente",+ "environments.instances.desc": "Una copia è una copia di lavoro di questo ambiente, con la propria cartella e i propri pacchetti installati. Le conversazioni si svolgono all'interno di una copia, e diverse possono essere eseguite contemporaneamente senza interferire tra loro.","environments.instances.directoryHint": "Percorso della cartella. Non può essere modificato una volta creato.","environments.instances.directoryLabel": "Directory",- "environments.instances.directoryLocked": "La cartella non può essere modificata dopo che l'istanza è stata costruita — eliminala e creane un'altra per spostarla.",- "environments.instances.duplicateDirectory": "Un'altra istanza utilizza già questa cartella",- "environments.instances.empty": "Nessuna istanza ancora",+ "environments.instances.directoryLocked": "La cartella non può essere modificata dopo che la copia è stata costruita — eliminala e creane un'altra per spostarla.",+ "environments.instances.duplicateDirectory": "Un'altra copia utilizza già questa cartella",+ "environments.instances.empty": "Nessuna copia ancora","environments.instances.emptyHint": "Creane una, poi selezionala sotto \"Directory di lavoro\" nell'input della chat.",- "environments.instances.emptyReadonly": "Nessuno ha ancora creato un'istanza di questo ambiente. Solo il suo proprietario può aggiungerne una.",+ "environments.instances.emptyReadonly": "Nessuno ha ancora creato una copia di questo ambiente. Solo il proprietario può aggiungerne una.","environments.instances.hideLog": "Nascondi log",- "environments.instances.inUse": "Una conversazione sta utilizzando questa istanza — riprova una volta che quella esecuzione termina",- "environments.instances.namePlaceholder": "Nome dell'istanza",+ "environments.instances.inUse": "Una conversazione sta utilizzando questa copia — riprova una volta terminata l'esecuzione",+ "environments.instances.namePlaceholder": "Nome della copia","environments.instances.notBuilt": "Non ancora costruita — niente è stato clonato o installato",- "environments.instances.occupancyUnavailable": "Impossibile leggere quali istanze sono in esecuzione in questo momento",- "environments.instances.overlappingDirectory": "Questa cartella è all'interno della cartella di un'altra istanza, o ne contiene una",+ "environments.instances.occupancyUnavailable": "Impossibile leggere quali copie sono in esecuzione in questo momento",+ "environments.instances.overlappingDirectory": "Questa cartella è all'interno della cartella di un'altra copia, o ne contiene una","environments.instances.rebuild": "Ricostruisci",- "environments.instances.rebuildConfirmContent": "Questo cancella la cartella dell'istanza, quindi clona di nuovo il codice ed esegue lo script di configurazione. Tutto ciò che contiene ora — modifiche fatte nelle conversazioni, pacchetti installati, report, dati — sarà perso. Questo non può essere annullato.",- "environments.instances.rebuildConfirmTitle": "Ricostruire l'istanza {{name}}?",- "environments.instances.remove": "Elimina istanza",+ "environments.instances.rebuildConfirmContent": "Questo cancella la cartella della copia, quindi clona nuovamente il codice ed esegue lo script di configurazione. Tutto ciò che è attualmente presente — modifiche fatte nelle conversazioni, pacchetti installati, report, dati — andrà perso. Questo non può essere annullato.",+ "environments.instances.rebuildConfirmTitle": "Ricostruire la copia {{name}}?",+ "environments.instances.remove": "Elimina copia","environments.instances.removeConfirmContent": "La sua cartella e tutto ciò che conteneva — pacchetti installati, report, dati — saranno eliminati. Questo non può essere annullato.",- "environments.instances.removeConfirmTitle": "Eliminare l'istanza {{name}}?",- "environments.instances.removeFailed": "Impossibile eliminare questa istanza",+ "environments.instances.removeConfirmTitle": "Eliminare la copia {{name}}?",+ "environments.instances.removeFailed": "Impossibile eliminare questa copia","environments.instances.removing": "Eliminazione in corso — rimozione della sua cartella e di tutto ciò che contiene",- "environments.instances.rename": "Rinomina istanza",- "environments.instances.renameFailed": "Impossibile rinominare questa istanza",+ "environments.instances.rename": "Rinomina copia",+ "environments.instances.renameFailed": "Impossibile rinominare questa copia","environments.instances.retryStatus": "Controlla di nuovo","environments.instances.running": "In esecuzione",- "environments.instances.runningHint": "Un'esecuzione sta ancora utilizzando questa istanza — una conversazione, una costruzione o il file browser. Viene rilasciata automaticamente circa 15 minuti dopo che l'esecuzione si è fermata; la cronologia delle esecuzioni mostra quale la sta trattenendo.",- "environments.instances.runningHintStoppable": "Un'esecuzione sta ancora utilizzando questa istanza — una conversazione, una costruzione o il file browser. Viene rilasciata automaticamente circa 15 minuti dopo che l'esecuzione si è fermata, oppure puoi fermarla ora; la cronologia delle esecuzioni mostra quale la sta trattenendo.",+ "environments.instances.runningHint": "Un'esecuzione sta ancora utilizzando questa copia — una conversazione, una costruzione o il file browser. Viene rilasciata automaticamente circa 15 minuti dopo che l'esecuzione si calma; la cronologia delle esecuzioni mostra quale la sta trattenendo.",+ "environments.instances.runningHintStoppable": "Un'esecuzione sta ancora utilizzando questa copia — una conversazione, una costruzione o il file browser. Viene rilasciata automaticamente circa 15 minuti dopo che l'esecuzione si calma, oppure puoi interromperla ora; la cronologia delle esecuzioni mostra quale la sta trattenendo.","environments.instances.save": "Salva","environments.instances.showLog": "Mostra log","environments.instances.stop": "Ferma",- "environments.instances.stopBuilding": "Questa istanza è in costruzione. Viene rilasciata quando la costruzione termina",- "environments.instances.stopBusy": "Questa istanza è in fase di copia o eliminazione — riprova tra un momento",- "environments.instances.stopConfirmContent": "L'esecuzione che trattiene questa istanza viene fermata ora invece che quando si ferma da sola. Ciò che ha installato e scritto viene salvato prima. Una conversazione nel mezzo di un passaggio interrompe quel passaggio e riprende dallo stato salvato con il suo prossimo messaggio.",+ "environments.instances.stopBuilding": "Questa copia è in fase di costruzione. Viene rilasciata al termine della costruzione",+ "environments.instances.stopBusy": "Questa copia è in fase di duplicazione o eliminazione — riprova tra un momento",+ "environments.instances.stopConfirmContent": "L'esecuzione che trattiene questa copia viene interrotta ora invece di quando si calma. Ciò che ha installato e scritto viene salvato prima. Una conversazione nel mezzo di un passaggio interrompe quel passaggio e riprende dallo stato salvato con il messaggio successivo.","environments.instances.stopConfirmTitle": "Fermare l'esecuzione in \"{{name}}\"?","environments.instances.stopFailed": "Impossibile fermare l'esecuzione","environments.instances.stopNothing": "Niente è più in esecuzione in \"{{name}}\"","environments.instances.stopRefused": "L'esecuzione non può essere fermata — riprova","environments.instances.stopSnapshotPending": "L'esecuzione sta ancora salvando il suo lavoro, quindi è stata lasciata in esecuzione — riprova tra un momento",- "environments.instances.stopStarting": "Un'esecuzione sta appena iniziando in questa istanza — riprova tra un momento",+ "environments.instances.stopStarting": "Un'esecuzione sta appena iniziando in questa copia — riprova tra un momento","environments.instances.stopped": "Fermato. \"{{name}}\" è libero di essere utilizzato","environments.instances.stopping": "Arresto in corso — salvataggio dell'esecuzione prima…",- "environments.instances.title": "Istanze",+ "environments.instances.title": "Copie",+ "environments.kind.code": "Codice",+ "environments.kind.codeDesc": "Clona un repository, imposta le variabili ed esegui la configurazione prima che l'agente inizi.",+ "environments.kind.files": "File",+ "environments.kind.filesDesc": "Carica file su cui un agente può lavorare. Pronto non appena viene creato.",+ "environments.kind.filesHint": "Una cartella in cui carichi file per un agente su cui lavorare. Non viene clonato o installato nulla, quindi non c'è alcuna build: è pronto nel momento in cui viene creato.",+ "environments.kind.label": "Tipo","environments.loadFailed.desc": "Non siamo riusciti a raggiungere il servizio che indica se questo account ha uno spazio di lavoro persistente. Non c'è nulla di sbagliato nei tuoi ambienti.","environments.loadFailed.retry": "Riprova","environments.loadFailed.title": "Impossibile controllare il tuo piano",@@ -698,15 +713,15 @@"environments.namePlaceholder": "Nome dell'ambiente","environments.refresh": "Aggiorna","environments.remove": "Elimina ambiente",- "environments.removeConfirmContent": "La sua specifica, le variabili e l'istantanea salvata andranno con esso e non potranno essere recuperate.",+ "environments.removeConfirmContent": "La sua specifica, le variabili, la cartella della copia e lo snapshot salvato vanno con essa, e non possono essere recuperati.","environments.removeConfirmTitle": "Eliminare l'ambiente {{name}}?","environments.removeFailed": "Impossibile eliminare questo ambiente","environments.saveFailed": "Impossibile salvare questa modifica","environments.sessions.activeBuild": "{{instance}} è in costruzione in questo momento","environments.sessions.activeSession": "Una sandbox è in esecuzione in {{instance}} in questo momento",- "environments.sessions.desc": "Le sessioni più recenti eseguite in queste istanze e le loro costruzioni, dalla più recente, con come ciascuna è terminata e se ciò che ha installato è stato salvato.",+ "environments.sessions.desc": "Le sessioni più recenti eseguite in queste copie e le loro costruzioni, dalla più recente, con come ciascuna è terminata e se ciò che ha installato è stato salvato.","environments.sessions.empty": "Niente è stato eseguito qui ancora",- "environments.sessions.emptyHint": "Ogni conversazione e costruzione in una delle sue istanze apparirà qui.",+ "environments.sessions.emptyHint": "Ogni conversazione e costruzione in questo ambiente apparirà qui.","environments.sessions.history": "Cronologia","environments.sessions.historyEmpty": "Nessuna esecuzione completata ancora","environments.sessions.kind.build": "Costruzione",@@ -727,7 +742,7 @@"environments.sessions.snapshotSaved": "Salvato {{size}}","environments.sessions.stale": "Nessuna fine registrata","environments.sessions.title": "Cronologia delle esecuzioni",- "environments.sessions.unavailable": "Parte della cronologia non può essere letta — alcune istanze mancano in questo elenco",+ "environments.sessions.unavailable": "Parte della cronologia non può essere letta — alcune copie mancano da questo elenco","environments.storage.measuredAt": "Misurato il {{time}}. Aggiorna per misurare di nuovo.","environments.storage.over": "Superato il limite di archiviazione. Il salvataggio di un file è rifiutato fino a quando non elimini qualcosa.","environments.storage.unmeasured": "Archiviazione non ancora misurata · {{total}} disponibile",@@ -736,12 +751,12 @@"environments.unavailable.title": "Sandbox persistente non disponibile qui","environments.upgrade.benefits.environments.desc": "Repository, comando di configurazione e variabili vivono nell'ambiente; ogni sandbox costruita da esso inizia pronta.","environments.upgrade.benefits.environments.title": "Configurazione sandbox scritta una volta",- "environments.upgrade.benefits.instances.desc": "Conversazioni parallele eseguono ciascuna nella propria istanza dell'ambiente, quindi nulla sovrascrive qualcos'altro.",- "environments.upgrade.benefits.instances.title": "Un'istanza per compito",+ "environments.upgrade.benefits.instances.desc": "Le conversazioni parallele vengono eseguite ciascuna nella propria copia dell'ambiente, quindi nulla sovrascrive altro.",+ "environments.upgrade.benefits.instances.title": "Una copia per attività","environments.upgrade.benefits.persist.desc": "La directory di lavoro è mantenuta quando la sandbox viene riciclata; l'esecuzione successiva continua da dove si era fermata l'ultima.","environments.upgrade.benefits.persist.title": "I file sopravvivono alla sandbox","environments.upgrade.cta": "Passa a Pro",- "environments.upgrade.desc": "Dai alle esecuzioni della sandbox cloud una directory di lavoro persistente. Un ambiente descrive ciò di cui la sandbox ha bisogno — repository, configurazione, variabili — e le sue istanze mantengono tutto tra le sessioni.",+ "environments.upgrade.desc": "Dai alle esecuzioni sandbox nel cloud una directory di lavoro persistente. Un ambiente descrive ciò di cui la sandbox ha bisogno — repository, configurazione, variabili — e le sue copie mantengono tutto tra le sessioni.","environments.upgrade.title": "Passa a Pro per sbloccare gli ambienti sandbox","environments.visibility.changeFailed": "Impossibile cambiare la visibilità di questo ambiente","environments.visibility.createPublishedConfirmTitle": "Creare questo ambiente nello spazio di lavoro?",diff --git a/locales/ja-JP/chat.json b/locales/ja-JP/chat.jsonindex c025eb8a538..387b49cc28f 100644--- a/locales/ja-JP/chat.json+++ b/locales/ja-JP/chat.json@@ -1903,29 +1903,41 @@"runtimeEnv.mode.noneDesc": "ランタイム環境を無効化","runtimeEnv.selectMode": "ランタイム環境を選択","runtimeEnv.title": "ランタイム環境",+ "sandboxStorage.allCopiesBusy": "すべてのコピーが使用中です","sandboxStorage.buildFailed": "ビルド失敗","sandboxStorage.building": "ビルド中",+ "sandboxStorage.copies": "コピー",+ "sandboxStorage.copyCount_one": "{{count}} コピー",+ "sandboxStorage.copyCount_other": "{{count}} コピー",+ "sandboxStorage.createCopyFailed": "この環境を準備できませんでした",+ "sandboxStorage.defaultCopy": "デフォルト","sandboxStorage.environmentsUnavailable": "環境を読み込めませんでした","sandboxStorage.ephemeral": "一時的な作業ディレクトリ","sandboxStorage.ephemeralDesc": "サンドボックスが再利用されるとクリーンアップされます","sandboxStorage.instanceBusy": "{{name}} は別の会話で実行中です。この会話はそれを保持し、その実行が終了すると引き継ぎます。",+ "sandboxStorage.kind.code": "コード",+ "sandboxStorage.kind.files": "ファイル","sandboxStorage.manage": "管理",- "sandboxStorage.noInstances": "インスタンスを作成",- "sandboxStorage.noInstancesDesc": "環境にはまだ作業コピーがありません",+ "sandboxStorage.noCopyColleagueDesc": "作成者がまだ設定していません",+ "sandboxStorage.noCopyYetDesc": "最初に選択するとコピーが作成されます","sandboxStorage.persistentUpsell": "永続的な作業ディレクトリ","sandboxStorage.persistentUpsellDesc": "実行やトピックをまたいでファイルを保持",- "sandboxStorage.pickerInfoTooltip": "環境は実行に必要な周囲の設定を記述します — リポジトリ、セットアップ、変数など。インスタンスはその環境の1つの作業コピーであり、独自のフォルダとインストールされたパッケージを持ちます。会話はインスタンス内で実行され、そこに残されたものを保持します。",- "sandboxStorage.pickerTitle": "環境インスタンス",+ "sandboxStorage.pickerInfoTooltip": "環境は、実行に必要な周囲の要素(ファイル、リポジトリ、セットアップ、変数)を記述します。会話はそのコピーの1つの中で実行され、そこに残したものを保持します。同じ環境を2つの会話が同時に必要とする場合にのみ、2つ目のコピーが作成されます。",+ "sandboxStorage.pickerTitle": "環境","sandboxStorage.privateGroup": "プライベート環境","sandboxStorage.privateInstanceBlocked": "「{{name}}」はプライベート環境にあり、パブリックエージェントでは使用できません。このトピックは一時的な作業ディレクトリで実行されます。","sandboxStorage.publicAgentHint_one": "{{count}} 件のプライベート環境が非表示です — パブリックエージェントはワークスペース環境のみを使用できます。ここで使用するには公開してください。","sandboxStorage.publicAgentHint_other": "{{count}} 件のプライベート環境が非表示です — パブリックエージェントはワークスペース環境のみを使用できます。ここで使用するには1つを公開してください。",+ "sandboxStorage.reopenCopy": "別のコピーを開く",+ "sandboxStorage.reopenCopyDesc": "環境構成から再構築されました",+ "sandboxStorage.reopenCopyFailed": "別のコピーを開くことができませんでした","sandboxStorage.running": "実行中",- "sandboxStorage.runningHint": "このインスタンスでまだ何かが実行中のため、ここで選択できません。それはその実行が静かになると約15分後に自動的に解放されます。",- "sandboxStorage.runningHintStoppable": "このインスタンスでまだ何かが実行中のため、ここで選択できません。それはその実行が静かになると約15分後に自動的に解放されますが、今すぐ停止することもできます。",- "sandboxStorage.runningOwnHint": "この会話の実行がこのインスタンスを使用しています。",+ "sandboxStorage.runningHint": "このコピーでは他の何かがまだ実行中のため、ここでは選択できません。その実行が約15分間静止すると自動的に解放されます。",+ "sandboxStorage.runningHintStoppable": "このコピーでは他の何かがまだ実行中のため、ここでは選択できません。その実行が約15分間静止すると自動的に解放されますが、今すぐ停止することもできます。",+ "sandboxStorage.runningOwnHint": "この会話の実行がこのコピーを使用しています。","sandboxStorage.setUpEnvironment": "環境をセットアップ","sandboxStorage.setUpEnvironmentDesc": "永続的なディレクトリは環境内に存在します",+ "sandboxStorage.showCopies": "コピーを表示","sandboxStorage.stop": "停止","sandboxStorage.workspaceGroup": "ワークスペース環境","search.grounding.imageSearchQueries": "画像検索キーワード",diff --git a/locales/ja-JP/common.json b/locales/ja-JP/common.jsonindex 0ffad6c66f0..db99e37cde4 100644--- a/locales/ja-JP/common.json+++ b/locales/ja-JP/common.json@@ -521,7 +521,7 @@"visibilityConfirm.makePrivate.itemLibrary": "それはあなたがそれをファイルしたライブラリに残りますが、他のメンバーはそこにそれを見ることができなくなります","visibilityConfirm.makePrivate.itemLoaded": "他の人がすでに読み込んだコンテンツは取り戻せません","visibilityConfirm.makePrivate.itemReferences": "既存のメッセージ添付ファイルや参照は利用不可として表示されます",- "visibilityConfirm.publish.itemCapturedState": "メンバーはそのインスタンスを実行し、それがキャプチャしたすべてのものにアクセスできます — ファイル、CLIログイン、サインインしたアイデンティティ",+ "visibilityConfirm.publish.itemCapturedState": "メンバーはそのコピーを実行し、それがキャプチャしたすべてのものにアクセスできます — ファイル、CLIログイン、サインインしたID","visibilityConfirm.publish.itemLoaded": "切り替え後、他の人がすでに読み込んだコンテンツは取り戻せません","visibilityConfirm.publish.itemReversible": "同じメニューから後で非公開に戻すことができます","visibilityConfirm.publish.itemVisible": "すべてのワークスペースメンバーがすぐにこれを確認できます",diff --git a/locales/ja-JP/setting.json b/locales/ja-JP/setting.jsonindex 5686ba83ee0..c388b27d377 100644--- a/locales/ja-JP/setting.json+++ b/locales/ja-JP/setting.json@@ -564,8 +564,9 @@"environments.cancel": "キャンセル","environments.create": "新しい環境","environments.createFailed": "環境を作成できませんでした",- "environments.desc": "サンドボックス実行に必要なもの: リポジトリ、そのセットアップ、その変数。そこから構築された各インスタンスはセッション間で独自のファイルを保持します。",+ "environments.desc": "サンドボックス実行に必要なもの:リポジトリ、そのセットアップ、変数。それぞれのコピーはセッション間で独自のファイルを保持します。","environments.detail.close": "閉じる",+ "environments.detail.tabs.overview": "概要","environments.detail.tabs.settings": "設定","environments.duplicateName": "この名前の環境はすでに存在します","environments.empty": "まだ環境がありません",@@ -574,22 +575,22 @@"environments.files.binary": "テキストファイルではないため、ここでは表示できません。","environments.files.browse": "ファイルを閲覧","environments.files.empty": "このディレクトリは空です",- "environments.files.invalidPath": "名前はこのインスタンスのディレクトリ内に留まる必要があります",+ "environments.files.invalidPath": "名前はこのコピーのディレクトリ内に留める必要があります","environments.files.listFailed": "このディレクトリを一覧表示できませんでした","environments.files.openHint": "フォルダを開くにはダブルクリック、ファイルを表示するにはダブルクリックしてください","environments.files.readOnlyHint": "読み取り専用: サンドボックスによって同期されます。node_modulesなどの依存関係は表示されません。","environments.files.truncated": "最初のエントリのみが表示されます","environments.files.unreadable": "このファイルを読み取ることができませんでした",- "environments.files.unusedInstance": "まだ何もありません。インスタンスが構築されるか、会話が実行されるとコードが表示されます。",+ "environments.files.unusedInstance": "まだ何もありません。コードはコピーがビルドされるか、会話が実行されると表示されます。","environments.files.up": "1つ上のレベル","environments.form.addEnv": "新しい変数","environments.form.addSource": "リポジトリを追加",- "environments.form.appliesOnBuild": "インスタンスが作成されるときに適用されます。既存のインスタンスは作成時の定義を保持します — 再構築はその定義を再実行するため、新しいインスタンスを使用してこれを適用してください。",+ "environments.form.appliesOnBuild": "コピーが作成されるときに適用されます。既存のコピーは作成時の定義を保持します — 再ビルドはその定義を再実行するので、新しいコピーを作成してこれを適用してください。","environments.form.basics": "基本","environments.form.bootstrap": "セットアップコマンド","environments.form.bootstrapHint": "チェックアウト時にネットワークアクセスを伴い、会話が始まる前に1回実行されます。","environments.form.changeRepository": "リポジトリを変更",- "environments.form.desc": "インスタンスが構築される元 — コードの出所とそれを使えるようにするもの。",+ "environments.form.desc": "コピーがビルドされる元 — コードの出所と、それを使用可能にするもの。","environments.form.description": "説明","environments.form.descriptionPlaceholder": "この環境の目的","environments.form.disconnect": "切断",@@ -599,13 +600,14 @@"environments.form.envCount_other": "{{count}} 変数","environments.form.envEmpty": "まだ変数がありません","environments.form.envEmptyHint": "1つ追加するか、.envファイル全体を貼り付けてください",- "environments.form.envHint": "秘密ではない値のみ — これらはプレーンテキストとして保存され、すべてのインスタンスにコピーされます。",+ "environments.form.envHint": "秘密ではない値のみ — これらはプレーンテキストとして保存され、この環境のすべてのコピーにコピーされます。","environments.form.exclude": "再生成可能なパス","environments.form.excludeHint": "コピーに対して相対的に1行ずつ記載します。パスをリストすることで再生成可能であることを示し、作業から分離され、スペースを回復するために破棄される可能性があります。ここに記載された再生成できないものは失われる可能性があります。",+ "environments.form.filesDesc": "このフォルダーの名前と、エージェントのために何を保持しているか。","environments.form.internetAccess": "エージェントのインターネットアクセス","environments.form.internetAccessHint": "セットアップは常にネットワークアクセスを持ちます。これは会話自体を制御します。","environments.form.maintenance": "メンテナンスコマンド",- "environments.form.maintenanceHint": "インスタンスで作業が再開されるたびに実行されます — チェックアウトの更新、マイグレーションの再適用など。セットアップコマンドではありません: それは高コストであり、1回だけ実行されることを意図しています。",+ "environments.form.maintenanceHint": "コピーで作業が再開されるたびに実行されます — チェックアウトの更新やマイグレーションの再適用。ただし、セットアップコマンドではありません:それは高コストであり、一度だけ実行されることを意図しています。","environments.form.path": "フォルダ","environments.form.rawEditor": "生エディター","environments.form.rawEditorHint": ".envファイルの読み方のように、1行につき1つのKEY=value。空行と#コメントは無視されます; 保存するとすべての変数が置き換えられます。",@@ -630,62 +632,75 @@"environments.github.repositoryPending": "まず組織を選択してください","environments.github.repositoryPlaceholder": "リポジトリを検索","environments.github.reviewAccess": "アクセスを確認",- "environments.hasInstances": "まずそのインスタンスを削除してください",- "environments.instances.add": "新しいインスタンス",+ "environments.hasInstances": "他のコピーを先に削除してください",+ "environments.instances.add": "新しいコピー","environments.instances.build": "ビルド",- "environments.instances.buildConfirmTitle": "インスタンス {{name}} をビルドしますか?",+ "environments.instances.buildConfirmTitle": "コピー {{name}} をビルドしますか?","environments.instances.buildFailed": "ビルドに失敗しました","environments.instances.buildStartFailed": "ビルドを開始できませんでした","environments.instances.buildStatusUnknown": "このビルドの追跡を失いました","environments.instances.building": "ビルド中 — クローンとインストール","environments.instances.confirm": "作成",- "environments.instances.count_one": "{{count}} インスタンス",- "environments.instances.count_other": "{{count}} インスタンス",- "environments.instances.create": "新しいインスタンス",- "environments.instances.createFailed": "インスタンスを作成できませんでした",- "environments.instances.desc": "インスタンスはこの環境の作業コピーであり、独自のフォルダとインストールされたパッケージを持っています。会話はインスタンス内で実行され、複数が並行して実行されても互いに影響を与えません。",+ "environments.instances.copy": "コピーを複製",+ "environments.instances.copyBuilding": "このコピーは現在ビルド中のため、ビルドが完了するまで複製できません",+ "environments.instances.copyFailed": "このコピーを複製できませんでした",+ "environments.instances.copyInUse": "このコピーは会話で使用中のため、現在複製できません — 実行が終了した後に複製するか、先に実行を停止してください",+ "environments.instances.copyOccupancyUnknown": "このコピーが使用中かどうかを確認できなかったため、現在複製できません",+ "environments.instances.copyTitle": "{{name}} を複製",+ "environments.instances.count_one": "{{count}} コピー",+ "environments.instances.count_other": "{{count}} コピー",+ "environments.instances.create": "新しいコピー",+ "environments.instances.createFailed": "コピーを作成できませんでした",+ "environments.instances.defaultUndeletable": "これは環境のデフォルトコピーであり、単独で削除することはできません。再構築するか、環境を削除してください。",+ "environments.instances.desc": "コピーはこの環境の作業用コピーであり、独自のフォルダとインストールされたパッケージを持ちます。会話はコピー内で実行され、複数の会話が互いに干渉せずに並行して実行できます。","environments.instances.directoryHint": "フォルダパス。作成後は変更できません。","environments.instances.directoryLabel": "ディレクトリ",- "environments.instances.directoryLocked": "インスタンスがビルドされた後はフォルダを変更できません — 削除して別のものを作成して移動してください。",- "environments.instances.duplicateDirectory": "別のインスタンスがすでにこのフォルダを使用しています",- "environments.instances.empty": "まだインスタンスがありません",+ "environments.instances.directoryLocked": "コピーがビルドされた後はフォルダを変更できません — 削除して別のコピーを作成してください。",+ "environments.instances.duplicateDirectory": "別のコピーがすでにこのフォルダを使用しています",+ "environments.instances.empty": "まだコピーがありません","environments.instances.emptyHint": "1つ作成し、チャット入力の「作業ディレクトリ」で選択してください。",- "environments.instances.emptyReadonly": "この環境のインスタンスはまだ誰も作成していません。所有者のみが追加できます。",+ "environments.instances.emptyReadonly": "この環境のコピーはまだ誰も作成していません。所有者のみが追加できます。","environments.instances.hideLog": "ログを非表示",- "environments.instances.inUse": "会話がこのインスタンスを使用しています — その実行が終了した後に再試行してください",- "environments.instances.namePlaceholder": "インスタンス名",+ "environments.instances.inUse": "このコピーは会話で使用中です — 実行が終了した後に再試行してください",+ "environments.instances.namePlaceholder": "コピー名","environments.instances.notBuilt": "まだビルドされていません — 何もクローンされておらず、インストールされていません",- "environments.instances.occupancyUnavailable": "現在どのインスタンスが実行されているかを読み取ることができませんでした",- "environments.instances.overlappingDirectory": "このフォルダは別のインスタンスのフォルダ内にあるか、またはそのフォルダを含んでいます",+ "environments.instances.occupancyUnavailable": "現在どのコピーが実行中かを読み取れませんでした",+ "environments.instances.overlappingDirectory": "このフォルダは別のコピーのフォルダ内にあるか、またはそのフォルダを含んでいます","environments.instances.rebuild": "再構築",- "environments.instances.rebuildConfirmContent": "このインスタンスのフォルダをクリアし、コードを再度クローンしてセットアップスクリプトを実行します。現在の内容 — 会話で行われた変更、インストールされたパッケージ、レポート、データ — はすべて失われます。これは元に戻すことはできません。",- "environments.instances.rebuildConfirmTitle": "インスタンス {{name}} を再構築しますか?",- "environments.instances.remove": "インスタンスを削除",+ "environments.instances.rebuildConfirmContent": "このコピーのフォルダをクリアし、コードを再クローンしてセットアップスクリプトを実行します。現在の内容 — 会話で行われた変更、インストールされたパッケージ、レポート、データ — はすべて失われます。これは元に戻せません。",+ "environments.instances.rebuildConfirmTitle": "コピー {{name}} を再ビルドしますか?",+ "environments.instances.remove": "コピーを削除","environments.instances.removeConfirmContent": "そのフォルダと保持していたすべて — インストールされたパッケージ、レポート、データ — が削除されます。これは元に戻すことはできません。",- "environments.instances.removeConfirmTitle": "インスタンス {{name}} を削除しますか?",- "environments.instances.removeFailed": "このインスタンスを削除できませんでした",+ "environments.instances.removeConfirmTitle": "コピー {{name}} を削除しますか?",+ "environments.instances.removeFailed": "このコピーを削除できませんでした","environments.instances.removing": "削除中 — フォルダとその中のすべてを削除しています",- "environments.instances.rename": "インスタンス名を変更",- "environments.instances.renameFailed": "このインスタンスの名前を変更できませんでした",+ "environments.instances.rename": "コピーの名前を変更",+ "environments.instances.renameFailed": "このコピーの名前を変更できませんでした","environments.instances.retryStatus": "再確認","environments.instances.running": "実行中",- "environments.instances.runningHint": "実行がまだこのインスタンスを使用しています — 会話、ビルド、またはファイルブラウザ。実行が静かになってから約15分後に自動的に解放されます; 実行履歴にはどれが保持しているかが表示されます。",- "environments.instances.runningHintStoppable": "実行がまだこのインスタンスを使用しています — 会話、ビルド、またはファイルブラウザ。実行が静かになってから約15分後に自動的に解放されますが、今すぐ停止することもできます; 実行履歴にはどれが保持しているかが表示されます。",+ "environments.instances.runningHint": "このコピーはまだ実行中です — 会話、ビルド、またはファイルブラウザが使用しています。実行が静止してから約15分後に自動的に解放されます。実行履歴でどの実行が保持しているかを確認できます。",+ "environments.instances.runningHintStoppable": "このコピーはまだ実行中です — 会話、ビルド、またはファイルブラウザが使用しています。実行が静止してから約15分後に自動的に解放されますが、今すぐ停止することもできます。実行履歴でどの実行が保持しているかを確認できます。","environments.instances.save": "保存","environments.instances.showLog": "ログを表示","environments.instances.stop": "停止",- "environments.instances.stopBuilding": "このインスタンスはビルド中です。ビルドが終了すると解放されます",- "environments.instances.stopBusy": "このインスタンスはコピーまたは削除中です — 少し待ってから再試行してください",- "environments.instances.stopConfirmContent": "このインスタンスを保持している実行は静かになるのを待たずに今すぐ停止されます。インストールされたものと書き込まれたものは最初に保存されます。ステップの途中で会話が停止され、そのステップは中断されますが、次のメッセージで保存された状態から再開します。",+ "environments.instances.stopBuilding": "このコピーはビルド中です。ビルドが完了すると解放されます",+ "environments.instances.stopBusy": "このコピーは現在複製または削除中です — 少し待ってから再試行してください",+ "environments.instances.stopConfirmContent": "このコピーを保持している実行を、静止するのを待たずに今すぐ停止します。インストールおよび書き込まれた内容は最初に保存されます。会話がステップの途中である場合、そのステップは中断され、次のメッセージで保存された状態から再開します。","environments.instances.stopConfirmTitle": "「{{name}}」の実行を停止しますか?","environments.instances.stopFailed": "実行を停止できませんでした","environments.instances.stopNothing": "「{{name}}」ではもう何も実行されていません","environments.instances.stopRefused": "実行を停止できませんでした — 再試行してください","environments.instances.stopSnapshotPending": "実行がまだ作業を保存しているため、実行は継続されました — 少し待ってから再試行してください",- "environments.instances.stopStarting": "このインスタンスで実行が開始されたばかりです — 少し待ってから再試行してください",+ "environments.instances.stopStarting": "このコピーで実行が開始されたばかりです — 少し待ってから再試行してください","environments.instances.stopped": "停止しました。「{{name}}」は使用可能です","environments.instances.stopping": "停止中 — 実行を最初に保存しています…",- "environments.instances.title": "インスタンス",+ "environments.instances.title": "コピー",+ "environments.kind.code": "コード",+ "environments.kind.codeDesc": "リポジトリをクローンし、変数を設定し、エージェントが開始する前にセットアップを実行します。",+ "environments.kind.files": "ファイル",+ "environments.kind.filesDesc": "エージェントが作業するためのファイルをアップロードします。作成されるとすぐに準備が整います。",+ "environments.kind.filesHint": "エージェントが作業するためにファイルをアップロードするフォルダーです。クローンやインストールは行われないため、ビルドは不要で、作成された瞬間に準備が整います。",+ "environments.kind.label": "タイプ","environments.loadFailed.desc": "このアカウントに永続的なワークスペースがあるかどうかを示すサービスに到達できませんでした。環境には問題ありません。","environments.loadFailed.retry": "再試行","environments.loadFailed.title": "プランを確認できませんでした",@@ -698,15 +713,15 @@"environments.namePlaceholder": "環境名","environments.refresh": "更新","environments.remove": "環境を削除",- "environments.removeConfirmContent": "その仕様、変数、保存されたスナップショットも一緒に削除され、復元することはできません。",+ "environments.removeConfirmContent": "その仕様、変数、コピーのフォルダ、および保存されたスナップショットが一緒に削除され、復元できません。","environments.removeConfirmTitle": "環境 {{name}} を削除しますか?","environments.removeFailed": "この環境を削除できませんでした","environments.saveFailed": "この変更を保存できませんでした","environments.sessions.activeBuild": "{{instance}} が現在ビルド中です","environments.sessions.activeSession": "{{instance}} で現在サンドボックスが実行されています",- "environments.sessions.desc": "これらのインスタンスで実行された最新のセッションとそのビルド、最新のものから順に、それぞれの終了方法とインストールされたものが保存されたかどうか。",+ "environments.sessions.desc": "これらのコピーで実行された最新のセッションとそのビルドを、新しい順に表示します。各セッションの終了方法と、インストールされた内容が保存されたかどうかが含まれます。","environments.sessions.empty": "ここではまだ何も実行されていません",- "environments.sessions.emptyHint": "そのインスタンスでのすべての会話とビルドがここに表示されます。",+ "environments.sessions.emptyHint": "この環境でのすべての会話とビルドがここに表示されます。","environments.sessions.history": "履歴","environments.sessions.historyEmpty": "まだ終了した実行はありません","environments.sessions.kind.build": "ビルド",@@ -727,7 +742,7 @@"environments.sessions.snapshotSaved": "{{size}} を保存しました","environments.sessions.stale": "終了記録なし","environments.sessions.title": "実行履歴",- "environments.sessions.unavailable": "履歴の一部を読み取ることができませんでした — 一部のインスタンスがこのリストから欠落しています",+ "environments.sessions.unavailable": "履歴の一部を読み取れませんでした — 一部のコピーがこのリストから欠落しています","environments.storage.measuredAt": "{{time}} に測定されました。再測定するには更新してください。","environments.storage.over": "ストレージ制限を超えています。ファイルの保存は拒否されます。","environments.storage.unmeasured": "ストレージはまだ測定されていません · {{total}} 利用可能",@@ -736,12 +751,12 @@"environments.unavailable.title": "永続的なサンドボックスはここでは利用できません","environments.upgrade.benefits.environments.desc": "リポジトリ、セットアップコマンド、変数は環境に保存されます; そこから構築されたすべてのサンドボックスは準備が整った状態で開始されます。","environments.upgrade.benefits.environments.title": "サンドボックスセットアップを一度だけ記述",- "environments.upgrade.benefits.instances.desc": "並行する会話はそれぞれ環境の独自のインスタンスで実行されるため、何も上書きされません。",- "environments.upgrade.benefits.instances.title": "タスクごとに1つのインスタンス",+ "environments.upgrade.benefits.instances.desc": "並行する会話はそれぞれ独自の環境コピーで実行されるため、何も上書きされません。",+ "environments.upgrade.benefits.instances.title": "タスクごとに1つのコピー","environments.upgrade.benefits.persist.desc": "サンドボックスが再利用される際に作業ディレクトリが保持されます; 次の実行は前回停止したところから続行します。","environments.upgrade.benefits.persist.title": "ファイルがサンドボックスを超えて保持される","environments.upgrade.cta": "Proにアップグレード",- "environments.upgrade.desc": "クラウドサンドボックス実行に永続的な作業ディレクトリを提供します。環境はサンドボックスに必要なもの — リポジトリ、セットアップ、変数 — を記述し、そのインスタンスはセッション間ですべてを保持します。",+ "environments.upgrade.desc": "クラウドサンドボックス実行に永続的な作業ディレクトリを提供します。環境はサンドボックスに必要なもの — リポジトリ、セットアップ、変数 — を記述し、そのコピーはセッション間で全てを保持します。","environments.upgrade.title": "Proにアップグレードしてサンドボックス環境をアンロック","environments.visibility.changeFailed": "この環境の可視性を変更できませんでした","environments.visibility.createPublishedConfirmTitle": "この環境をワークスペースに作成しますか?",diff --git a/locales/ko-KR/chat.json b/locales/ko-KR/chat.jsonindex fe5f6174d3e..11ba47d60ec 100644--- a/locales/ko-KR/chat.json+++ b/locales/ko-KR/chat.json@@ -1903,29 +1903,41 @@"runtimeEnv.mode.noneDesc": "실행 환경 비활성화","runtimeEnv.selectMode": "실행 환경 선택","runtimeEnv.title": "실행 환경",+ "sandboxStorage.allCopiesBusy": "모든 복사본이 사용 중입니다","sandboxStorage.buildFailed": "빌드 실패","sandboxStorage.building": "빌드 중",+ "sandboxStorage.copies": "복사본",+ "sandboxStorage.copyCount_one": "{{count}}개의 복사본",+ "sandboxStorage.copyCount_other": "{{count}}개의 복사본",+ "sandboxStorage.createCopyFailed": "이 환경을 준비할 수 없습니다",+ "sandboxStorage.defaultCopy": "기본값","sandboxStorage.environmentsUnavailable": "환경을 불러올 수 없습니다","sandboxStorage.ephemeral": "임시 작업 디렉토리","sandboxStorage.ephemeralDesc": "샌드박스가 재활용될 때 정리됩니다","sandboxStorage.instanceBusy": "{{name}}이(가) 다른 대화에서 실행 중입니다. 이 대화는 이를 유지하며 해당 실행이 종료되면 이를 가져옵니다.",+ "sandboxStorage.kind.code": "코드",+ "sandboxStorage.kind.files": "파일","sandboxStorage.manage": "관리",- "sandboxStorage.noInstances": "인스턴스 생성",- "sandboxStorage.noInstancesDesc": "귀하의 환경에는 아직 작업 복사본이 없습니다",+ "sandboxStorage.noCopyColleagueDesc": "생성자가 아직 설정하지 않았습니다",+ "sandboxStorage.noCopyYetDesc": "처음 선택할 때 복사본이 생성됩니다","sandboxStorage.persistentUpsell": "영구 작업 디렉토리","sandboxStorage.persistentUpsellDesc": "실행 및 주제 간 파일 유지",- "sandboxStorage.pickerInfoTooltip": "환경은 실행에 필요한 주변 요소 — 리포지토리, 설정, 변수 등을 설명합니다. 인스턴스는 환경의 하나의 작업 복사본으로, 자체 폴더와 설치된 패키지를 가집니다. 대화는 인스턴스 내에서 실행되며 거기에 남긴 것을 유지합니다.",- "sandboxStorage.pickerTitle": "환경 인스턴스",+ "sandboxStorage.pickerInfoTooltip": "환경은 실행에 필요한 파일, 저장소, 설정 및 변수를 설명합니다. 대화는 환경의 복사본 중 하나에서 실행되며, 그곳에 남긴 것을 유지합니다. 두 개의 대화가 동시에 동일한 환경을 필요로 할 때만 두 번째 복사본이 생성됩니다.",+ "sandboxStorage.pickerTitle": "환경","sandboxStorage.privateGroup": "개인 환경","sandboxStorage.privateInstanceBlocked": "“{{name}}”은(는) 개인 환경에 있으며, 공개 에이전트는 이를 사용할 수 없습니다. 이 주제는 대신 임시 작업 디렉토리에서 실행됩니다.","sandboxStorage.publicAgentHint_one": "{{count}}개의 개인 환경이 숨겨져 있습니다 — 공개 에이전트는 작업 공간 환경만 사용할 수 있습니다. 이를 공개하여 여기서 사용하세요.","sandboxStorage.publicAgentHint_other": "{{count}}개의 개인 환경이 숨겨져 있습니다 — 공개 에이전트는 작업 공간 환경만 사용할 수 있습니다. 하나를 공개하여 여기서 사용하세요.",+ "sandboxStorage.reopenCopy": "다른 복사본 열기",+ "sandboxStorage.reopenCopyDesc": "환경 구성에서 다시 빌드됨",+ "sandboxStorage.reopenCopyFailed": "다른 복사본을 열 수 없습니다","sandboxStorage.running": "실행 중",- "sandboxStorage.runningHint": "이 인스턴스에서 다른 작업이 여전히 실행 중이므로 여기에서 선택할 수 없습니다. 해당 실행이 조용해진 후 약 15분 후에 자동으로 해제됩니다.",- "sandboxStorage.runningHintStoppable": "이 인스턴스에서 다른 작업이 여전히 실행 중이므로 여기에서 선택할 수 없습니다. 해당 실행이 조용해진 후 약 15분 후에 자동으로 해제되거나 지금 중지할 수 있습니다.",- "sandboxStorage.runningOwnHint": "이 대화의 실행이 이 인스턴스를 사용 중입니다.",+ "sandboxStorage.runningHint": "이 복사본에서 다른 작업이 여전히 실행 중이므로 여기에서 선택할 수 없습니다. 해당 실행이 조용해진 후 약 15분 후에 자동으로 해제됩니다.",+ "sandboxStorage.runningHintStoppable": "이 복사본에서 다른 작업이 여전히 실행 중이므로 여기에서 선택할 수 없습니다. 해당 실행이 조용해진 후 약 15분 후에 자동으로 해제되거나 지금 중지할 수 있습니다.",+ "sandboxStorage.runningOwnHint": "이 대화의 실행이 이 복사본을 사용 중입니다.","sandboxStorage.setUpEnvironment": "환경 설정","sandboxStorage.setUpEnvironmentDesc": "영구 디렉토리는 환경 내에 존재합니다",+ "sandboxStorage.showCopies": "복사본 보기","sandboxStorage.stop": "중지","sandboxStorage.workspaceGroup": "작업 공간 환경","search.grounding.imageSearchQueries": "이미지 검색 키워드",diff --git a/locales/ko-KR/common.json b/locales/ko-KR/common.jsonindex a6f51f9ea6b..a78a7170589 100644--- a/locales/ko-KR/common.json+++ b/locales/ko-KR/common.json@@ -521,7 +521,7 @@"visibilityConfirm.makePrivate.itemLibrary": "이 항목은 귀하가 저장한 라이브러리에 남아 있습니다. 단, 다른 멤버들은 더 이상 해당 라이브러리를 볼 수 없습니다.","visibilityConfirm.makePrivate.itemLoaded": "다른 사용자가 이미 로드한 콘텐츠는 되돌릴 수 없습니다","visibilityConfirm.makePrivate.itemReferences": "기존 메시지 첨부 파일과 참조는 사용할 수 없는 상태로 표시됩니다",- "visibilityConfirm.publish.itemCapturedState": "멤버는 인스턴스를 실행하고 캡처한 모든 항목 — 파일, CLI 로그인, 로그인된 신원을 확인할 수 있습니다.",+ "visibilityConfirm.publish.itemCapturedState": "멤버는 복사본을 실행하고 캡처한 모든 항목 — 파일, CLI 로그인, 로그인된 신원 — 에 접근할 수 있습니다.","visibilityConfirm.publish.itemLoaded": "다시 전환한 후에도 다른 사용자가 이미 로드한 콘텐츠는 되돌릴 수 없습니다","visibilityConfirm.publish.itemReversible": "같은 메뉴에서 나중에 다시 비공개로 전환할 수 있습니다","visibilityConfirm.publish.itemVisible": "모든 워크스페이스 멤버가 즉시 이를 볼 수 있습니다",diff --git a/locales/ko-KR/setting.json b/locales/ko-KR/setting.jsonindex af80df55f99..72068fe6a1e 100644--- a/locales/ko-KR/setting.json+++ b/locales/ko-KR/setting.json@@ -564,8 +564,9 @@"environments.cancel": "취소","environments.create": "새 환경","environments.createFailed": "환경을 생성할 수 없습니다",- "environments.desc": "샌드박스 실행에 필요한 것: 저장소, 설정, 변수. 하나에서 생성된 각 인스턴스는 세션 간에 자체 파일을 유지합니다.",+ "environments.desc": "샌드박스 실행에 필요한 것: 저장소, 설정, 변수. 여기서 생성된 각 복사본은 세션 간에 자체 파일을 유지합니다.","environments.detail.close": "닫기",+ "environments.detail.tabs.overview": "개요","environments.detail.tabs.settings": "설정","environments.duplicateName": "이 이름의 환경이 이미 있습니다","environments.empty": "아직 환경이 없습니다",@@ -574,22 +575,22 @@"environments.files.binary": "텍스트 파일이 아니므로 여기에서 표시할 수 없습니다.","environments.files.browse": "파일 탐색","environments.files.empty": "이 디렉토리는 비어 있습니다",- "environments.files.invalidPath": "이름은 이 인스턴스의 디렉토리 내에 있어야 합니다",+ "environments.files.invalidPath": "이름은 이 복사본의 디렉토리 내에 있어야 합니다","environments.files.listFailed": "이 디렉토리를 나열할 수 없습니다","environments.files.openHint": "폴더를 열려면 더블 클릭하고, 파일을 보려면 더블 클릭하세요","environments.files.readOnlyHint": "읽기 전용: 샌드박스에 의해 동기화됩니다. node_modules와 같은 종속성은 표시되지 않습니다.","environments.files.truncated": "첫 번째 항목만 표시됩니다","environments.files.unreadable": "이 파일을 읽을 수 없습니다",- "environments.files.unusedInstance": "아직 여기에 아무것도 없습니다. 인스턴스가 빌드되거나 대화가 실행되면 코드가 나타납니다.",+ "environments.files.unusedInstance": "아직 아무것도 없습니다. 복사본이 생성되거나 대화가 실행되면 코드가 나타납니다.","environments.files.up": "한 단계 위로","environments.form.addEnv": "새 변수","environments.form.addSource": "저장소 추가",- "environments.form.appliesOnBuild": "인스턴스가 생성될 때 적용됩니다. 기존 인스턴스는 생성 시 정의를 유지합니다 — 재빌드는 해당 정의를 재실행하므로, 이를 적용하려면 새 인스턴스를 사용하세요.",+ "environments.form.appliesOnBuild": "복사본이 생성될 때 적용됩니다. 기존 복사본은 생성 당시의 정의를 유지합니다 — 재구성은 해당 정의를 재실행하므로, 이를 적용하려면 새 복사본을 사용하세요.","environments.form.basics": "기본","environments.form.bootstrap": "설정 명령","environments.form.bootstrapHint": "체크아웃에서 한 번 실행되며, 네트워크 액세스가 가능하며 대화가 시작되기 전에 실행됩니다.","environments.form.changeRepository": "저장소 변경",- "environments.form.desc": "인스턴스가 빌드되는 기반 — 코드가 어디에서 오고 사용 가능하게 만드는 것.",+ "environments.form.desc": "복사본이 생성되는 기반 — 코드가 어디에서 오고, 무엇이 이를 사용 가능하게 만드는지.","environments.form.description": "설명","environments.form.descriptionPlaceholder": "이 환경의 용도","environments.form.disconnect": "연결 해제",@@ -599,13 +600,14 @@"environments.form.envCount_other": "{{count}} 변수","environments.form.envEmpty": "아직 변수가 없습니다","environments.form.envEmptyHint": "하나를 추가하거나 전체 .env 파일을 붙여넣으세요",- "environments.form.envHint": "비밀이 아닌 값만 — 평문으로 저장되며 모든 인스턴스에 복사됩니다.",+ "environments.form.envHint": "비밀이 아닌 값만 입력하세요 — 이 값들은 일반 텍스트로 저장되며 이 환경의 모든 복사본에 복사됩니다.","environments.form.exclude": "재생성 가능한 경로","environments.form.excludeHint": "복사본에 상대적인 한 줄씩. 경로를 나열하면 재생성 가능하다는 의미이며, 작업과 분리되어 공간을 확보하기 위해 삭제될 수 있습니다. 여기 나열된 재생성 불가능한 항목은 작업을 잃을 수 있습니다.",+ "environments.form.filesDesc": "이 폴더의 이름과 에이전트를 위해 무엇을 보유하고 있는지.","environments.form.internetAccess": "에이전트 인터넷 액세스","environments.form.internetAccessHint": "설정은 항상 네트워크 액세스가 가능합니다. 이는 대화 자체를 제어합니다.","environments.form.maintenance": "유지보수 명령",- "environments.form.maintenanceHint": "인스턴스에서 작업이 재개될 때마다 실행됩니다 — 체크아웃 새로 고침, 마이그레이션 재적용. 설정 명령이 다시 실행되지 않습니다: 이는 비용이 많이 들며 한 번 실행되도록 설계되었습니다.",+ "environments.form.maintenanceHint": "복사본에서 작업이 재개될 때마다 실행됩니다 — 체크아웃 새로 고침, 마이그레이션 재적용. 초기 설정 명령은 아닙니다: 이는 비용이 많이 들며 한 번만 실행되도록 설계되었습니다.","environments.form.path": "폴더","environments.form.rawEditor": "원시 편집기","environments.form.rawEditorHint": ".env 파일이 읽는 방식으로 한 줄에 하나의 KEY=value. 빈 줄과 # 주석은 무시됩니다; 저장하면 모든 변수를 대체합니다.",@@ -630,62 +632,75 @@"environments.github.repositoryPending": "먼저 조직을 선택하세요","environments.github.repositoryPlaceholder": "저장소 검색","environments.github.reviewAccess": "액세스 검토",- "environments.hasInstances": "먼저 인스턴스를 제거하세요",- "environments.instances.add": "새 인스턴스",+ "environments.hasInstances": "다른 복사본을 먼저 제거하세요",+ "environments.instances.add": "새 복사본","environments.instances.build": "빌드",- "environments.instances.buildConfirmTitle": "인스턴스 {{name}}을(를) 빌드하시겠습니까?",+ "environments.instances.buildConfirmTitle": "복사본 {{name}}을(를) 생성하시겠습니까?","environments.instances.buildFailed": "빌드 실패","environments.instances.buildStartFailed": "빌드를 시작할 수 없습니다","environments.instances.buildStatusUnknown": "이 빌드의 상태를 알 수 없습니다","environments.instances.building": "빌드 중 — 복제 및 설치 중","environments.instances.confirm": "생성",- "environments.instances.count_one": "{{count}} 인스턴스",- "environments.instances.count_other": "{{count}} 인스턴스",- "environments.instances.create": "새 인스턴스",- "environments.instances.createFailed": "인스턴스를 생성할 수 없습니다",- "environments.instances.desc": "인스턴스는 이 환경의 작업 복사본으로, 자체 폴더와 설치된 패키지를 가집니다. 대화는 인스턴스 내에서 실행되며, 여러 개가 서로 간섭 없이 동시에 실행될 수 있습니다.",+ "environments.instances.copy": "복사본 복제",+ "environments.instances.copyBuilding": "이 복사본은 생성 중이므로, 생성이 완료될 때까지 복제할 수 없습니다",+ "environments.instances.copyFailed": "이 복사본을 복제할 수 없습니다",+ "environments.instances.copyInUse": "대화가 이 복사본을 사용 중이므로 지금은 복제할 수 없습니다 — 실행이 끝난 후 복제하거나 실행을 먼저 중지하세요",+ "environments.instances.copyOccupancyUnknown": "이 복사본이 사용 중인지 확인할 수 없으므로 지금은 복제할 수 없습니다",+ "environments.instances.copyTitle": "{{name}} 복제",+ "environments.instances.count_one": "{{count}} 복사본",+ "environments.instances.count_other": "{{count}} 복사본",+ "environments.instances.create": "새 복사본",+ "environments.instances.createFailed": "복사본을 생성할 수 없습니다",+ "environments.instances.defaultUndeletable": "이것은 환경의 기본 사본이며 자체적으로 삭제할 수 없습니다. 다시 빌드하거나 환경을 삭제하세요.",+ "environments.instances.desc": "복사본은 이 환경의 작업 복사본으로, 자체 폴더와 설치된 패키지를 가집니다. 대화는 복사본 내에서 실행되며, 여러 개가 서로 간섭 없이 동시에 실행될 수 있습니다.","environments.instances.directoryHint": "폴더 경로. 생성 후에는 변경할 수 없습니다.","environments.instances.directoryLabel": "디렉토리",- "environments.instances.directoryLocked": "인스턴스가 빌드된 후에는 폴더를 변경할 수 없습니다 — 삭제하고 다른 폴더로 새로 생성하세요.",- "environments.instances.duplicateDirectory": "다른 인스턴스가 이미 이 폴더를 사용 중입니다",- "environments.instances.empty": "아직 인스턴스가 없습니다",+ "environments.instances.directoryLocked": "복사본이 생성된 후에는 폴더를 변경할 수 없습니다 — 삭제하고 새로 생성하여 이동하세요.",+ "environments.instances.duplicateDirectory": "다른 복사본이 이미 이 폴더를 사용 중입니다",+ "environments.instances.empty": "아직 복사본이 없습니다","environments.instances.emptyHint": "하나를 생성한 후, 채팅 입력의 \"작업 디렉토리\"에서 선택하세요.",- "environments.instances.emptyReadonly": "아직 이 환경의 인스턴스가 생성되지 않았습니다. 소유자만 추가할 수 있습니다.",+ "environments.instances.emptyReadonly": "아직 이 환경의 복사본이 생성되지 않았습니다. 소유자만 추가할 수 있습니다.","environments.instances.hideLog": "로그 숨기기",- "environments.instances.inUse": "대화가 이 인스턴스를 사용 중입니다 — 실행이 끝난 후 다시 시도하세요",- "environments.instances.namePlaceholder": "인스턴스 이름",+ "environments.instances.inUse": "대화가 이 복사본을 사용 중입니다 — 실행이 끝난 후 다시 시도하세요",+ "environments.instances.namePlaceholder": "복사본 이름","environments.instances.notBuilt": "아직 빌드되지 않음 — 아무것도 복제되거나 설치되지 않았습니다",- "environments.instances.occupancyUnavailable": "현재 실행 중인 인스턴스를 읽을 수 없습니다",- "environments.instances.overlappingDirectory": "이 폴더는 다른 인스턴스의 폴더 안에 있거나, 다른 인스턴스를 포함하고 있습니다",+ "environments.instances.occupancyUnavailable": "현재 실행 중인 복사본을 확인할 수 없습니다",+ "environments.instances.overlappingDirectory": "이 폴더는 다른 복사본의 폴더 안에 있거나, 다른 복사본의 폴더를 포함하고 있습니다","environments.instances.rebuild": "재빌드",- "environments.instances.rebuildConfirmContent": "인스턴스의 폴더를 지운 후 코드를 다시 복제하고 설정 스크립트를 실행합니다. 현재 폴더에 있는 모든 것 — 대화에서 변경된 내용, 설치된 패키지, 보고서, 데이터 — 이 손실됩니다. 이 작업은 되돌릴 수 없습니다.",- "environments.instances.rebuildConfirmTitle": "인스턴스 {{name}}을(를) 재빌드하시겠습니까?",- "environments.instances.remove": "인스턴스 삭제",+ "environments.instances.rebuildConfirmContent": "이 작업은 복사본의 폴더를 지운 후 코드를 다시 복제하고 설정 스크립트를 실행합니다. 현재 폴더에 있는 모든 것 — 대화에서 변경된 내용, 설치된 패키지, 보고서, 데이터 — 이 손실됩니다. 이 작업은 되돌릴 수 없습니다.",+ "environments.instances.rebuildConfirmTitle": "복사본 {{name}}을(를) 재구성하시겠습니까?",+ "environments.instances.remove": "복사본 삭제","environments.instances.removeConfirmContent": "폴더와 그 안에 보관된 모든 것 — 설치된 패키지, 보고서, 데이터 — 이 삭제됩니다. 이 작업은 되돌릴 수 없습니다.",- "environments.instances.removeConfirmTitle": "인스턴스 {{name}}을(를) 삭제하시겠습니까?",- "environments.instances.removeFailed": "이 인스턴스를 삭제할 수 없습니다",+ "environments.instances.removeConfirmTitle": "복사본 {{name}}을(를) 삭제하시겠습니까?",+ "environments.instances.removeFailed": "이 복사본을 삭제할 수 없습니다","environments.instances.removing": "삭제 중 — 폴더와 그 안의 모든 것을 제거 중",- "environments.instances.rename": "인스턴스 이름 변경",- "environments.instances.renameFailed": "이 인스턴스의 이름을 변경할 수 없습니다",+ "environments.instances.rename": "복사본 이름 변경",+ "environments.instances.renameFailed": "이 복사본의 이름을 변경할 수 없습니다","environments.instances.retryStatus": "다시 확인","environments.instances.running": "실행 중",- "environments.instances.runningHint": "실행이 여전히 이 인스턴스를 사용 중입니다 — 대화, 빌드 또는 파일 브라우저. 실행이 조용해진 후 약 15분 후에 자동으로 해제됩니다; 실행 기록에서 어떤 실행이 이를 점유하고 있는지 확인할 수 있습니다.",- "environments.instances.runningHintStoppable": "실행이 여전히 이 인스턴스를 사용 중입니다 — 대화, 빌드 또는 파일 브라우저. 실행이 조용해진 후 약 15분 후에 자동으로 해제되거나, 지금 중지할 수 있습니다; 실행 기록에서 어떤 실행이 이를 점유하고 있는지 확인할 수 있습니다.",+ "environments.instances.runningHint": "대화, 생성 또는 파일 브라우저가 여전히 이 복사본을 사용 중입니다 — 해당 실행이 조용해진 후 약 15분 후에 자동으로 해제됩니다. 실행 기록에서 어떤 실행이 이를 사용 중인지 확인할 수 있습니다.",+ "environments.instances.runningHintStoppable": "대화, 생성 또는 파일 브라우저가 여전히 이 복사본을 사용 중입니다 — 해당 실행이 조용해진 후 약 15분 후에 자동으로 해제되거나, 지금 중지할 수 있습니다. 실행 기록에서 어떤 실행이 이를 사용 중인지 확인할 수 있습니다.","environments.instances.save": "저장","environments.instances.showLog": "로그 표시","environments.instances.stop": "중지",- "environments.instances.stopBuilding": "이 인스턴스가 빌드 중입니다. 빌드가 완료되면 해제됩니다",- "environments.instances.stopBusy": "이 인스턴스가 복사되거나 삭제 중입니다 — 잠시 후 다시 시도하세요",- "environments.instances.stopConfirmContent": "이 인스턴스를 점유하고 있는 실행이 조용해지기 전에 중지됩니다. 설치 및 작성된 내용은 먼저 저장됩니다. 대화가 단계 중간에 있는 경우 해당 단계가 중단되며, 다음 메시지에서 저장된 상태에서 다시 시작됩니다.",+ "environments.instances.stopBuilding": "이 복사본은 생성 중입니다. 생성이 완료되면 해제됩니다",+ "environments.instances.stopBusy": "이 복사본은 복제 또는 삭제 중입니다 — 잠시 후 다시 시도하세요",+ "environments.instances.stopConfirmContent": "이 복사본을 사용 중인 실행이 조용해지기를 기다리지 않고 지금 중지합니다. 설치 및 작성된 내용은 먼저 저장됩니다. 대화가 단계 중간에 있는 경우 해당 단계가 중단되며, 다음 메시지에서 저장된 상태로 다시 시작됩니다.","environments.instances.stopConfirmTitle": "\"{{name}}\"에서 실행을 중지하시겠습니까?","environments.instances.stopFailed": "실행을 중지할 수 없습니다","environments.instances.stopNothing": "\"{{name}}\"에서 더 이상 실행 중인 것이 없습니다","environments.instances.stopRefused": "실행을 중지할 수 없습니다 — 다시 시도하세요","environments.instances.stopSnapshotPending": "실행이 여전히 작업을 저장 중이므로 실행이 중지되지 않았습니다 — 잠시 후 다시 시도하세요",- "environments.instances.stopStarting": "이 인스턴스에서 실행이 막 시작되고 있습니다 — 잠시 후 다시 시도하세요",+ "environments.instances.stopStarting": "이 복사본에서 실행이 막 시작되었습니다 — 잠시 후 다시 시도하세요","environments.instances.stopped": "중지됨. \"{{name}}\"을(를) 사용할 수 있습니다","environments.instances.stopping": "중지 중 — 실행을 먼저 저장 중…",- "environments.instances.title": "인스턴스",+ "environments.instances.title": "복사본",+ "environments.kind.code": "코드",+ "environments.kind.codeDesc": "저장소를 복제하고 변수를 설정하며 에이전트가 시작되기 전에 설정을 실행합니다.",+ "environments.kind.files": "파일",+ "environments.kind.filesDesc": "에이전트가 작업할 파일을 업로드합니다. 생성되자마자 준비됩니다.",+ "environments.kind.filesHint": "에이전트가 작업할 파일을 업로드하는 폴더입니다. 아무것도 복제되거나 설치되지 않으므로 빌드가 없으며 생성되는 즉시 준비됩니다.",+ "environments.kind.label": "유형","environments.loadFailed.desc": "이 계정에 지속적인 작업 공간이 있는지 확인하는 서비스를 사용할 수 없습니다. 환경에는 문제가 없습니다.","environments.loadFailed.retry": "다시 시도","environments.loadFailed.title": "계획을 확인할 수 없습니다",@@ -698,15 +713,15 @@"environments.namePlaceholder": "환경 이름","environments.refresh": "새로 고침","environments.remove": "환경 삭제",- "environments.removeConfirmContent": "명세, 변수 및 저장된 스냅샷이 함께 삭제되며 복구할 수 없습니다.",+ "environments.removeConfirmContent": "사양, 변수, 복사본의 폴더 및 저장된 스냅샷이 함께 삭제되며 복구할 수 없습니다.","environments.removeConfirmTitle": "환경 {{name}}을(를) 삭제하시겠습니까?","environments.removeFailed": "이 환경을 삭제할 수 없습니다","environments.saveFailed": "이 변경 사항을 저장할 수 없습니다","environments.sessions.activeBuild": "{{instance}}이(가) 현재 빌드 중입니다","environments.sessions.activeSession": "샌드박스가 {{instance}}에서 실행 중입니다",- "environments.sessions.desc": "이 인스턴스에서 실행된 가장 최근 세션과 빌드, 최신 순으로, 각 종료 방식과 설치된 내용이 저장되었는지 여부를 보여줍니다.",+ "environments.sessions.desc": "이 복사본들에서 실행된 가장 최근의 세션과 생성 기록, 최신 순으로, 각 종료 방식과 설치된 내용이 저장되었는지 여부를 보여줍니다.","environments.sessions.empty": "여기에서 실행된 것이 없습니다",- "environments.sessions.emptyHint": "그 인스턴스에서의 모든 대화와 빌드가 여기에 표시됩니다.",+ "environments.sessions.emptyHint": "이 환경에서의 모든 대화와 생성이 여기에 표시됩니다.","environments.sessions.history": "기록","environments.sessions.historyEmpty": "완료된 실행 기록이 없습니다","environments.sessions.kind.build": "빌드",@@ -727,7 +742,7 @@"environments.sessions.snapshotSaved": "{{size}} 저장됨","environments.sessions.stale": "종료 기록 없음","environments.sessions.title": "실행 기록",- "environments.sessions.unavailable": "기록의 일부를 읽을 수 없습니다 — 일부 인스턴스가 이 목록에서 누락되었습니다",+ "environments.sessions.unavailable": "기록의 일부를 읽을 수 없습니다 — 일부 복사본이 이 목록에서 누락되었습니다","environments.storage.measuredAt": "{{time}}에 측정됨. 다시 측정하려면 새로 고침하세요.","environments.storage.over": "저장소 한도를 초과했습니다. 파일 저장이 거부됩니다.","environments.storage.unmeasured": "저장소 아직 측정되지 않음 · {{total}} 사용 가능",@@ -736,12 +751,12 @@"environments.unavailable.title": "지속적인 샌드박스가 여기에서 사용할 수 없습니다","environments.upgrade.benefits.environments.desc": "저장소, 설정 명령 및 변수는 환경에 저장됩니다; 여기에서 생성된 모든 샌드박스는 준비된 상태로 시작됩니다.","environments.upgrade.benefits.environments.title": "한 번 작성된 샌드박스 설정",- "environments.upgrade.benefits.instances.desc": "병렬 대화는 환경의 자체 인스턴스에서 각각 실행되므로, 서로 덮어쓰지 않습니다.",- "environments.upgrade.benefits.instances.title": "작업당 하나의 인스턴스",+ "environments.upgrade.benefits.instances.desc": "병렬 대화는 각각 환경의 자체 복사본에서 실행되므로, 서로 덮어쓰는 일이 없습니다.",+ "environments.upgrade.benefits.instances.title": "작업당 하나의 복사본","environments.upgrade.benefits.persist.desc": "샌드박스가 재활용될 때 작업 디렉토리가 유지됩니다; 다음 실행은 마지막 실행이 중단된 곳에서 계속됩니다.","environments.upgrade.benefits.persist.title": "샌드박스에서 파일 유지","environments.upgrade.cta": "Pro로 업그레이드",- "environments.upgrade.desc": "클라우드 샌드박스 실행에 지속적인 작업 디렉토리를 제공합니다. 환경은 샌드박스에 필요한 것을 설명하며 — 저장소, 설정, 변수 — 인스턴스는 세션 간에 모든 것을 유지합니다.",+ "environments.upgrade.desc": "클라우드 샌드박스 실행에 지속적인 작업 디렉토리를 제공합니다. 환경은 샌드박스에 필요한 것을 설명하며 — 저장소, 설정, 변수 — 복사본은 세션 간에 모든 것을 유지합니다.","environments.upgrade.title": "Pro로 업그레이드하여 샌드박스 환경 잠금 해제","environments.visibility.changeFailed": "이 환경의 가시성을 변경할 수 없습니다","environments.visibility.createPublishedConfirmTitle": "이 환경을 작업 공간에 생성하시겠습니까?",diff --git a/locales/nl-NL/chat.json b/locales/nl-NL/chat.jsonindex b31b82e6133..9395e0c0547 100644--- a/locales/nl-NL/chat.json+++ b/locales/nl-NL/chat.json@@ -1903,29 +1903,41 @@"runtimeEnv.mode.noneDesc": "Runtime-omgeving uitschakelen","runtimeEnv.selectMode": "Selecteer Runtime-omgeving","runtimeEnv.title": "Runtime-omgeving",+ "sandboxStorage.allCopiesBusy": "Elke kopie is in gebruik","sandboxStorage.buildFailed": "Niet gebouwd","sandboxStorage.building": "Bezig met bouwen",+ "sandboxStorage.copies": "Kopieën",+ "sandboxStorage.copyCount_one": "{{count}} kopie",+ "sandboxStorage.copyCount_other": "{{count}} kopieën",+ "sandboxStorage.createCopyFailed": "Deze omgeving kon niet worden voorbereid",+ "sandboxStorage.defaultCopy": "Standaard","sandboxStorage.environmentsUnavailable": "Omgevingen konden niet worden geladen","sandboxStorage.ephemeral": "Tijdelijke werkmap","sandboxStorage.ephemeralDesc": "Wordt opgeruimd wanneer de sandbox wordt gerecycled","sandboxStorage.instanceBusy": "{{name}} draait in een ander gesprek. Dit gesprek houdt het vast en pakt het op wanneer die run eindigt.",+ "sandboxStorage.kind.code": "Code",+ "sandboxStorage.kind.files": "Bestanden","sandboxStorage.manage": "Beheren",- "sandboxStorage.noInstances": "Maak een instantie",- "sandboxStorage.noInstancesDesc": "Jouw omgevingen hebben nog geen werkende kopie",+ "sandboxStorage.noCopyColleagueDesc": "De maker heeft het nog niet ingesteld",+ "sandboxStorage.noCopyYetDesc": "Een kopie wordt gemaakt de eerste keer dat je het kiest","sandboxStorage.persistentUpsell": "Persistente werkmap","sandboxStorage.persistentUpsellDesc": "Bewaar bestanden tussen runs en onderwerpen",- "sandboxStorage.pickerInfoTooltip": "Een omgeving beschrijft wat een run nodig heeft — repositories, setup, variabelen. Een instantie is één werkende kopie ervan, met zijn eigen map en geïnstalleerde pakketten; gesprekken draaien binnen een instantie en bewaren wat ze daar achterlaten.",- "sandboxStorage.pickerTitle": "Omgevingsinstantie",+ "sandboxStorage.pickerInfoTooltip": "Een omgeving beschrijft wat een run nodig heeft — bestanden, of repositories, instellingen en variabelen. Gesprekken draaien binnen een van zijn kopieën en behouden wat ze daar achterlaten; een tweede kopie verschijnt alleen wanneer twee gesprekken dezelfde omgeving tegelijk nodig hebben.",+ "sandboxStorage.pickerTitle": "Omgeving","sandboxStorage.privateGroup": "Privéomgevingen","sandboxStorage.privateInstanceBlocked": "“{{name}}” bevindt zich in een privéomgeving, die een openbare agent niet kan gebruiken. Dit onderwerp draait in een tijdelijke werkmap in plaats daarvan.","sandboxStorage.publicAgentHint_one": "{{count}} privéomgeving is verborgen — een openbare agent kan alleen werkruimteomgevingen gebruiken. Publiceer het om het hier te gebruiken.","sandboxStorage.publicAgentHint_other": "{{count}} privéomgevingen zijn verborgen — een openbare agent kan alleen werkruimteomgevingen gebruiken. Publiceer er een om het hier te gebruiken.",+ "sandboxStorage.reopenCopy": "Open een andere kopie",+ "sandboxStorage.reopenCopyDesc": "Opnieuw opgebouwd vanuit de omgevingsconfiguratie",+ "sandboxStorage.reopenCopyFailed": "Een andere kopie kon niet worden geopend","sandboxStorage.running": "Bezig",- "sandboxStorage.runningHint": "Er draait nog iets in deze instantie, dus het kan hier niet worden gekozen. Het wordt automatisch vrijgegeven ongeveer 15 minuten nadat die run stilvalt.",- "sandboxStorage.runningHintStoppable": "Er draait nog iets in deze instantie, dus het kan hier niet worden gekozen. Het wordt automatisch vrijgegeven ongeveer 15 minuten nadat die run stilvalt, of je kunt het nu stoppen.",- "sandboxStorage.runningOwnHint": "De eigen run van dit gesprek gebruikt deze instantie.",+ "sandboxStorage.runningHint": "Er draait nog iets anders in deze kopie, dus het kan hier niet worden gekozen. Het wordt automatisch vrijgegeven ongeveer 15 minuten nadat die run stilvalt.",+ "sandboxStorage.runningHintStoppable": "Er draait nog iets anders in deze kopie, dus het kan hier niet worden gekozen. Het wordt automatisch vrijgegeven ongeveer 15 minuten nadat die run stilvalt, of je kunt het nu stoppen.",+ "sandboxStorage.runningOwnHint": "De eigen run van dit gesprek gebruikt deze kopie.","sandboxStorage.setUpEnvironment": "Een omgeving instellen","sandboxStorage.setUpEnvironmentDesc": "Een persistente map leeft in een omgeving",+ "sandboxStorage.showCopies": "Toon kopieën","sandboxStorage.stop": "Stoppen","sandboxStorage.workspaceGroup": "Werkruimteomgevingen","search.grounding.imageSearchQueries": "Afbeelding Zoekwoorden",diff --git a/locales/nl-NL/common.json b/locales/nl-NL/common.jsonindex 9de88ea23e8..e04a392762a 100644--- a/locales/nl-NL/common.json+++ b/locales/nl-NL/common.json@@ -521,7 +521,7 @@"visibilityConfirm.makePrivate.itemLibrary": "Het blijft in de bibliotheek waarin je het hebt opgeslagen — andere leden zien het daar gewoon niet meer","visibilityConfirm.makePrivate.itemLoaded": "Inhoud die anderen al hebben geladen, kan niet worden teruggehaald","visibilityConfirm.makePrivate.itemReferences": "Bestaande berichtbijlagen en verwijzingen worden als niet beschikbaar weergegeven",- "visibilityConfirm.publish.itemCapturedState": "Leden kunnen de instanties uitvoeren en alles bereiken wat het heeft vastgelegd — bestanden, CLI-logins, jouw ingelogde identiteit",+ "visibilityConfirm.publish.itemCapturedState": "Leden kunnen kopieën uitvoeren en toegang krijgen tot alles wat het heeft vastgelegd — bestanden, CLI-logins, jouw ingelogde identiteit","visibilityConfirm.publish.itemLoaded": "Na het terugschakelen kan inhoud die anderen al hebben geladen niet worden teruggehaald","visibilityConfirm.publish.itemReversible": "Je kunt het later weer privé maken via hetzelfde menu","visibilityConfirm.publish.itemVisible": "Alle werkruimteleden zien dit onmiddellijk",diff --git a/locales/nl-NL/setting.json b/locales/nl-NL/setting.jsonindex c21351437b2..35961ad9b38 100644--- a/locales/nl-NL/setting.json+++ b/locales/nl-NL/setting.json@@ -564,8 +564,9 @@"environments.cancel": "Annuleren","environments.create": "Nieuwe omgeving","environments.createFailed": "Kon de omgeving niet maken",- "environments.desc": "Wat een sandbox-run nodig heeft: een repository, de setup, de variabelen. Elke instantie die hieruit wordt gebouwd, behoudt zijn eigen bestanden tussen sessies.",+ "environments.desc": "Wat een sandbox-run nodig heeft: een repository, de setup, de variabelen. Elke kopie die hiervan wordt gemaakt, behoudt zijn eigen bestanden tussen sessies.","environments.detail.close": "Sluiten",+ "environments.detail.tabs.overview": "Overzicht","environments.detail.tabs.settings": "Instellingen","environments.duplicateName": "Je hebt al een omgeving met deze naam","environments.empty": "Nog geen omgevingen",@@ -574,22 +575,22 @@"environments.files.binary": "Geen tekstbestand, dus het kan hier niet worden weergegeven.","environments.files.browse": "Bestanden bladeren","environments.files.empty": "Deze map is leeg",- "environments.files.invalidPath": "De naam moet binnen de map van deze instantie blijven",+ "environments.files.invalidPath": "De naam moet binnen de map van deze kopie blijven","environments.files.listFailed": "Deze map kon niet worden weergegeven","environments.files.openHint": "Dubbelklik op een map om deze te openen, of op een bestand om het te bekijken","environments.files.readOnlyHint": "Alleen-lezen: gesynchroniseerd door de sandbox. Afhankelijkheden zoals node_modules worden niet weergegeven.","environments.files.truncated": "Alleen de eerste items worden weergegeven","environments.files.unreadable": "Dit bestand kon niet worden gelezen",- "environments.files.unusedInstance": "Hier is nog niets. De code verschijnt zodra de instantie is gebouwd of een gesprek erin wordt uitgevoerd.",+ "environments.files.unusedInstance": "Hier is nog niets. De code verschijnt zodra de kopie is gebouwd of een gesprek erin wordt uitgevoerd.","environments.files.up": "Eén niveau omhoog","environments.form.addEnv": "Nieuwe variabele","environments.form.addSource": "Repository toevoegen",- "environments.form.appliesOnBuild": "Toegepast wanneer een instantie wordt gemaakt. Bestaande instanties behouden de definitie waarmee ze zijn gemaakt — een herbouw herhaalt die, dus gebruik een nieuwe instantie om dit op te nemen.",+ "environments.form.appliesOnBuild": "Wordt toegepast wanneer een kopie wordt gemaakt. Bestaande kopieën behouden de definitie waarmee ze zijn gemaakt — een herbouw herhaalt die definitie, dus gebruik een nieuwe kopie om dit op te nemen.","environments.form.basics": "Basis","environments.form.bootstrap": "Setup-commando","environments.form.bootstrapHint": "Wordt één keer uitgevoerd in de checkout, met netwerktoegang, voordat het gesprek begint.","environments.form.changeRepository": "Repository wijzigen",- "environments.form.desc": "Waar een instantie uit wordt gebouwd — waar de code vandaan komt en wat het bruikbaar maakt.",+ "environments.form.desc": "Waar een kopie van wordt gebouwd — waar de code vandaan komt en wat het bruikbaar maakt.","environments.form.description": "Beschrijving","environments.form.descriptionPlaceholder": "Waar deze omgeving voor is","environments.form.disconnect": "Verbreken",@@ -599,13 +600,14 @@"environments.form.envCount_other": "{{count}} variabelen","environments.form.envEmpty": "Nog geen variabelen","environments.form.envEmptyHint": "Voeg er een toe, of plak een hele .env-bestand in de",- "environments.form.envHint": "Alleen niet-geheime waarden — deze worden opgeslagen als platte tekst en gekopieerd naar elke instantie.",+ "environments.form.envHint": "Alleen niet-geheime waarden — deze worden opgeslagen als platte tekst en gekopieerd naar elke kopie van deze omgeving.","environments.form.exclude": "Herbouwbare paden","environments.form.excludeHint": "Eén per regel, relatief aan de kopie. Het vermelden van een pad geeft aan dat het opnieuw kan worden opgebouwd, dus het wordt apart gehouden van je werk en kan worden verwijderd om ruimte vrij te maken. Alles wat hier wordt genoemd en niet opnieuw kan worden opgebouwd, is werk dat je kunt verliezen.",+ "environments.form.filesDesc": "Hoe deze map heet en wat het bevat voor de agent.","environments.form.internetAccess": "Agent internettoegang","environments.form.internetAccessHint": "Setup heeft altijd netwerktoegang. Dit regelt het gesprek zelf.","environments.form.maintenance": "Onderhoudscommando",- "environments.form.maintenanceHint": "Wordt elke keer uitgevoerd wanneer het werk in een instantie wordt hervat — een checkout vernieuwen, een migratie opnieuw toepassen. Niet opnieuw het setup-commando: dat is duur en bedoeld om één keer te worden uitgevoerd.",+ "environments.form.maintenanceHint": "Wordt uitgevoerd telkens wanneer het werk in een kopie wordt hervat — een checkout vernieuwen, een migratie opnieuw toepassen. Niet opnieuw het setup-commando: dat is duur en bedoeld om slechts één keer te worden uitgevoerd.","environments.form.path": "Map","environments.form.rawEditor": "Ruwe editor","environments.form.rawEditorHint": "Eén KEY=value per regel, zoals een .env-bestand leest. Lege regels en # opmerkingen worden genegeerd; opslaan vervangt elke variabele.",@@ -630,62 +632,75 @@"environments.github.repositoryPending": "Kies eerst een organisatie","environments.github.repositoryPlaceholder": "Repositories zoeken","environments.github.reviewAccess": "Toegang beoordelen",- "environments.hasInstances": "Verwijder eerst de instanties",- "environments.instances.add": "Nieuwe instantie",+ "environments.hasInstances": "Verwijder eerst de andere kopieën",+ "environments.instances.add": "Nieuwe kopie","environments.instances.build": "Bouwen",- "environments.instances.buildConfirmTitle": "Instantie {{name}} bouwen?",+ "environments.instances.buildConfirmTitle": "Kopie {{name}} bouwen?","environments.instances.buildFailed": "Bouwen mislukt","environments.instances.buildStartFailed": "Kon het bouwen niet starten","environments.instances.buildStatusUnknown": "Het spoor van deze bouw verloren","environments.instances.building": "Bezig met bouwen — klonen en installeren","environments.instances.confirm": "Creëren",- "environments.instances.count_one": "{{count}} instantie",- "environments.instances.count_other": "{{count}} instanties",- "environments.instances.create": "Nieuwe instantie",- "environments.instances.createFailed": "Kon de instantie niet maken",- "environments.instances.desc": "Een instantie is een werkende kopie van deze omgeving, met zijn eigen map en zijn eigen geïnstalleerde pakketten. Gesprekken worden uitgevoerd binnen een instantie, en meerdere kunnen naast elkaar worden uitgevoerd zonder elkaar te beïnvloeden.",+ "environments.instances.copy": "Kopie dupliceren",+ "environments.instances.copyBuilding": "Deze kopie wordt momenteel gebouwd, dus kan niet worden gedupliceerd totdat de bouw is voltooid",+ "environments.instances.copyFailed": "Kon deze kopie niet dupliceren",+ "environments.instances.copyInUse": "Een gesprek gebruikt deze kopie, dus kan nu niet worden gedupliceerd — dupliceer het zodra die run eindigt, of stop eerst de run",+ "environments.instances.copyOccupancyUnknown": "Kon niet controleren of deze kopie in gebruik is, dus kan nu niet worden gedupliceerd",+ "environments.instances.copyTitle": "Dupliceer {{name}}",+ "environments.instances.count_one": "{{count}} kopie",+ "environments.instances.count_other": "{{count}} kopieën",+ "environments.instances.create": "Nieuwe kopie",+ "environments.instances.createFailed": "Kon de kopie niet maken",+ "environments.instances.defaultUndeletable": "Dit is de standaardkopie van de omgeving en kan niet zelfstandig worden verwijderd — bouw het opnieuw op of verwijder de omgeving",+ "environments.instances.desc": "Een kopie is een werkende kopie van deze omgeving, met zijn eigen map en geïnstalleerde pakketten. Gesprekken worden uitgevoerd binnen een kopie, en meerdere kunnen naast elkaar worden uitgevoerd zonder elkaar te beïnvloeden.","environments.instances.directoryHint": "Map pad. Kan niet worden gewijzigd zodra gemaakt.","environments.instances.directoryLabel": "Map",- "environments.instances.directoryLocked": "De map kan niet worden gewijzigd nadat de instantie is gebouwd — verwijder deze en maak een andere om deze te verplaatsen.",- "environments.instances.duplicateDirectory": "Een andere instantie gebruikt deze map al",- "environments.instances.empty": "Nog geen instanties",+ "environments.instances.directoryLocked": "De map kan niet worden gewijzigd nadat de kopie is gebouwd — verwijder het en maak een andere om het te verplaatsen.",+ "environments.instances.duplicateDirectory": "Een andere kopie gebruikt deze map al",+ "environments.instances.empty": "Nog geen kopieën","environments.instances.emptyHint": "Maak er een, kies deze vervolgens onder \"Werkmap\" in de chatinvoer.",- "environments.instances.emptyReadonly": "Niemand heeft nog een instantie van deze omgeving gemaakt. Alleen de eigenaar kan er een toevoegen.",+ "environments.instances.emptyReadonly": "Niemand heeft nog een kopie van deze omgeving gemaakt. Alleen de eigenaar kan er een toevoegen.","environments.instances.hideLog": "Log verbergen",- "environments.instances.inUse": "Een gesprek gebruikt deze instantie — probeer het opnieuw zodra die run eindigt",- "environments.instances.namePlaceholder": "Instantie naam",+ "environments.instances.inUse": "Een gesprek gebruikt deze kopie — probeer het opnieuw zodra die run eindigt",+ "environments.instances.namePlaceholder": "Kopienaam","environments.instances.notBuilt": "Nog niet gebouwd — er is niets gekloond of geïnstalleerd",- "environments.instances.occupancyUnavailable": "Kon niet lezen welke instanties momenteel actief zijn",- "environments.instances.overlappingDirectory": "Deze map bevindt zich binnen de map van een andere instantie, of bevat er een",+ "environments.instances.occupancyUnavailable": "Kon niet lezen welke kopieën momenteel worden uitgevoerd",+ "environments.instances.overlappingDirectory": "Deze map bevindt zich binnen de map van een andere kopie, of bevat er een","environments.instances.rebuild": "Herbouwen",- "environments.instances.rebuildConfirmContent": "Dit wist de map van de instantie, kloont de code opnieuw en voert het setup-script uit. Alles wat er nu in zit — wijzigingen gemaakt in gesprekken, geïnstalleerde pakketten, rapporten, gegevens — gaat verloren. Dit kan niet ongedaan worden gemaakt.",- "environments.instances.rebuildConfirmTitle": "Instantie {{name}} herbouwen?",- "environments.instances.remove": "Instantie verwijderen",+ "environments.instances.rebuildConfirmContent": "Dit wist de map van de kopie, kloneert de code opnieuw en voert het setup-script uit. Alles wat er nu in zit — wijzigingen gemaakt in gesprekken, geïnstalleerde pakketten, rapporten, gegevens — gaat verloren. Dit kan niet ongedaan worden gemaakt.",+ "environments.instances.rebuildConfirmTitle": "Kopie {{name}} herbouwen?",+ "environments.instances.remove": "Kopie verwijderen","environments.instances.removeConfirmContent": "De map en alles wat het bevat — geïnstalleerde pakketten, rapporten, gegevens — worden verwijderd. Dit kan niet ongedaan worden gemaakt.",- "environments.instances.removeConfirmTitle": "Instantie {{name}} verwijderen?",- "environments.instances.removeFailed": "Kon deze instantie niet verwijderen",+ "environments.instances.removeConfirmTitle": "Kopie {{name}} verwijderen?",+ "environments.instances.removeFailed": "Kon deze kopie niet verwijderen","environments.instances.removing": "Bezig met verwijderen — map en alles erin verwijderen",- "environments.instances.rename": "Instantie hernoemen",- "environments.instances.renameFailed": "Kon deze instantie niet hernoemen",+ "environments.instances.rename": "Kopie hernoemen",+ "environments.instances.renameFailed": "Kon deze kopie niet hernoemen","environments.instances.retryStatus": "Opnieuw controleren","environments.instances.running": "Actief",- "environments.instances.runningHint": "Een run gebruikt nog steeds deze instantie — een gesprek, een bouw, of de bestandsbrowser. Het wordt automatisch vrijgegeven ongeveer 15 minuten nadat die run stilvalt; Run geschiedenis toont welke run het vasthoudt.",- "environments.instances.runningHintStoppable": "Een run gebruikt nog steeds deze instantie — een gesprek, een bouw, of de bestandsbrowser. Het wordt automatisch vrijgegeven ongeveer 15 minuten nadat die run stilvalt, of je kunt het nu stoppen; Run geschiedenis toont welke run het vasthoudt.",+ "environments.instances.runningHint": "Een run gebruikt deze kopie nog — een gesprek, een bouw, of de bestandsbrowser. Het wordt automatisch vrijgegeven ongeveer 15 minuten nadat die run stilvalt; Run-geschiedenis toont welke run het vasthoudt.",+ "environments.instances.runningHintStoppable": "Een run gebruikt deze kopie nog — een gesprek, een bouw, of de bestandsbrowser. Het wordt automatisch vrijgegeven ongeveer 15 minuten nadat die run stilvalt, of je kunt het nu stoppen; Run-geschiedenis toont welke run het vasthoudt.","environments.instances.save": "Opslaan","environments.instances.showLog": "Log tonen","environments.instances.stop": "Stoppen",- "environments.instances.stopBuilding": "Deze instantie wordt gebouwd. Het wordt vrijgegeven zodra de bouw is voltooid",- "environments.instances.stopBusy": "Deze instantie wordt gekopieerd of verwijderd — probeer het over een moment opnieuw",- "environments.instances.stopConfirmContent": "De run die deze instantie vasthoudt wordt nu gestopt in plaats van wanneer het stilvalt. Wat het heeft geïnstalleerd en geschreven wordt eerst opgeslagen. Een gesprek midden in een stap wordt afgebroken, en gaat verder vanaf de opgeslagen staat met het volgende bericht.",+ "environments.instances.stopBuilding": "Deze kopie wordt momenteel gebouwd. Het wordt vrijgegeven wanneer de bouw is voltooid",+ "environments.instances.stopBusy": "Deze kopie wordt gedupliceerd of verwijderd — probeer het over een moment opnieuw",+ "environments.instances.stopConfirmContent": "De run die deze kopie vasthoudt, wordt nu gestopt in plaats van wanneer het stilvalt. Wat het heeft geïnstalleerd en geschreven wordt eerst opgeslagen. Een gesprek midden in een stap heeft die stap afgebroken, en gaat verder vanaf de opgeslagen staat met het volgende bericht.","environments.instances.stopConfirmTitle": "Stop de run in \"{{name}}\"?","environments.instances.stopFailed": "Kon de run niet stoppen","environments.instances.stopNothing": "Er draait niets meer in \"{{name}}\"","environments.instances.stopRefused": "De run kon niet worden gestopt — probeer het opnieuw","environments.instances.stopSnapshotPending": "De run is nog steeds bezig met het opslaan van zijn werk, dus het werd draaiende gelaten — probeer het over een moment opnieuw",- "environments.instances.stopStarting": "Een run is net begonnen in deze instantie — probeer het over een moment opnieuw",+ "environments.instances.stopStarting": "Een run begint net in deze kopie — probeer het over een moment opnieuw","environments.instances.stopped": "Gestopt. \"{{name}}\" is vrij om te gebruiken","environments.instances.stopping": "Bezig met stoppen — eerst de run opslaan…",- "environments.instances.title": "Instanties",+ "environments.instances.title": "Kopieën",+ "environments.kind.code": "Code",+ "environments.kind.codeDesc": "Kloon een repository, stel variabelen in en voer de setup uit voordat de agent start.",+ "environments.kind.files": "Bestanden",+ "environments.kind.filesDesc": "Upload bestanden waar een agent mee kan werken. Klaar zodra het is aangemaakt.",+ "environments.kind.filesHint": "Een map waarin je bestanden uploadt waarmee een agent kan werken. Er wordt niets gekloond of geïnstalleerd, dus er is geen build — het is klaar op het moment dat het is aangemaakt.",+ "environments.kind.label": "Type","environments.loadFailed.desc": "We konden de service die zegt of dit account een permanente werkruimte heeft niet bereiken. Er is niets mis met je omgevingen.","environments.loadFailed.retry": "Probeer opnieuw","environments.loadFailed.title": "Kon je plan niet controleren",@@ -698,15 +713,15 @@"environments.namePlaceholder": "Omgevingsnaam","environments.refresh": "Vernieuwen","environments.remove": "Omgeving verwijderen",- "environments.removeConfirmContent": "De specificatie, variabelen en opgeslagen snapshot gaan ermee, en kunnen niet worden hersteld.",+ "environments.removeConfirmContent": "De specificatie, variabelen, de map van de kopie en de opgeslagen snapshot gaan ermee mee, en kunnen niet worden hersteld.","environments.removeConfirmTitle": "Omgeving {{name}} verwijderen?","environments.removeFailed": "Kon deze omgeving niet verwijderen","environments.saveFailed": "Kon deze wijziging niet opslaan","environments.sessions.activeBuild": "{{instance}} wordt momenteel gebouwd","environments.sessions.activeSession": "Een sandbox draait momenteel in {{instance}}",- "environments.sessions.desc": "De meest recente sessies die in deze instanties en de bouw ervan zijn uitgevoerd, van nieuw naar oud, met hoe elk eindigde en of wat het heeft geïnstalleerd is opgeslagen.",+ "environments.sessions.desc": "De meest recente sessies die in deze kopieën en de bouw ervan zijn uitgevoerd, van nieuw naar oud, met hoe elk eindigde en of wat het heeft geïnstalleerd is opgeslagen.","environments.sessions.empty": "Hier is nog niets uitgevoerd",- "environments.sessions.emptyHint": "Elk gesprek en elke bouw in een van zijn instanties zal hier verschijnen.",+ "environments.sessions.emptyHint": "Elk gesprek en elke bouw in deze omgeving zal hier verschijnen.","environments.sessions.history": "Geschiedenis","environments.sessions.historyEmpty": "Nog geen voltooide runs","environments.sessions.kind.build": "Bouw",@@ -727,7 +742,7 @@"environments.sessions.snapshotSaved": "Opgeslagen {{size}}","environments.sessions.stale": "Geen einde geregistreerd","environments.sessions.title": "Run geschiedenis",- "environments.sessions.unavailable": "Een deel van de geschiedenis kon niet worden gelezen — sommige instanties ontbreken in deze lijst",+ "environments.sessions.unavailable": "Een deel van de geschiedenis kon niet worden gelezen — sommige kopieën ontbreken in deze lijst","environments.storage.measuredAt": "Gemeten {{time}}. Vernieuw om opnieuw te meten.","environments.storage.over": "Boven de opslaglimiet. Het opslaan van een bestand wordt geweigerd totdat je iets verwijdert.","environments.storage.unmeasured": "Opslag nog niet gemeten · {{total}} beschikbaar",@@ -736,12 +751,12 @@"environments.unavailable.title": "Permanente sandbox is hier niet beschikbaar","environments.upgrade.benefits.environments.desc": "Repositories, setup-commando en variabelen leven in de omgeving; elke sandbox die hieruit wordt gebouwd, begint klaar.","environments.upgrade.benefits.environments.title": "Sandbox setup één keer geschreven",- "environments.upgrade.benefits.instances.desc": "Parallelle gesprekken draaien elk in hun eigen instantie van de omgeving, zodat niets elkaar overschrijft.",- "environments.upgrade.benefits.instances.title": "Eén instantie per taak",+ "environments.upgrade.benefits.instances.desc": "Parallelle gesprekken worden elk uitgevoerd in hun eigen kopie van de omgeving, zodat niets elkaar overschrijft.",+ "environments.upgrade.benefits.instances.title": "Eén kopie per taak","environments.upgrade.benefits.persist.desc": "De werkmap wordt behouden wanneer de sandbox wordt gerecycled; de volgende run gaat verder waar de laatste stopte.","environments.upgrade.benefits.persist.title": "Bestanden overleven de sandbox","environments.upgrade.cta": "Upgrade naar Pro",- "environments.upgrade.desc": "Geef cloud-sandbox-runs een permanente werkmap. Een omgeving beschrijft wat de sandbox nodig heeft — repositories, setup, variabelen — en zijn instanties behouden alles tussen sessies.",+ "environments.upgrade.desc": "Geef cloud-sandbox-runs een persistente werkmap. Een omgeving beschrijft wat de sandbox nodig heeft — repositories, setup, variabelen — en de kopieën behouden alles tussen sessies.","environments.upgrade.title": "Upgrade naar Pro om sandbox-omgevingen te ontgrendelen","environments.visibility.changeFailed": "Kon de zichtbaarheid van deze omgeving niet wijzigen","environments.visibility.createPublishedConfirmTitle": "Deze omgeving in de werkruimte maken?",diff --git a/locales/pl-PL/chat.json b/locales/pl-PL/chat.jsonindex 399ed87c564..11a17a1df3b 100644--- a/locales/pl-PL/chat.json+++ b/locales/pl-PL/chat.json@@ -1903,29 +1903,41 @@"runtimeEnv.mode.noneDesc": "Wyłącz środowisko uruchomieniowe","runtimeEnv.selectMode": "Wybierz środowisko uruchomieniowe","runtimeEnv.title": "Środowisko uruchomieniowe",+ "sandboxStorage.allCopiesBusy": "Wszystkie kopie są w użyciu","sandboxStorage.buildFailed": "Nie zbudowano","sandboxStorage.building": "Budowanie",+ "sandboxStorage.copies": "Kopie",+ "sandboxStorage.copyCount_one": "{{count}} kopia",+ "sandboxStorage.copyCount_other": "{{count}} kopii",+ "sandboxStorage.createCopyFailed": "Nie udało się przygotować tego środowiska",+ "sandboxStorage.defaultCopy": "Domyślna","sandboxStorage.environmentsUnavailable": "Nie udało się załadować środowisk","sandboxStorage.ephemeral": "Tymczasowy katalog roboczy","sandboxStorage.ephemeralDesc": "Czyszczony, gdy piaskownica jest odświeżana","sandboxStorage.instanceBusy": "{{name}} działa w innej rozmowie. Ta zachowuje go i przejmuje, gdy tamto uruchomienie się zakończy.",+ "sandboxStorage.kind.code": "Kod",+ "sandboxStorage.kind.files": "Pliki","sandboxStorage.manage": "Zarządzaj",- "sandboxStorage.noInstances": "Utwórz instancję",- "sandboxStorage.noInstancesDesc": "Twoje środowiska nie mają jeszcze kopii roboczej",+ "sandboxStorage.noCopyColleagueDesc": "Twórca jeszcze tego nie skonfigurował",+ "sandboxStorage.noCopyYetDesc": "Kopia zostanie utworzona przy pierwszym wyborze","sandboxStorage.persistentUpsell": "Trwały katalog roboczy","sandboxStorage.persistentUpsellDesc": "Zachowaj pliki między uruchomieniami i tematami",- "sandboxStorage.pickerInfoTooltip": "Środowisko opisuje, czego potrzebuje uruchomienie — repozytoria, konfigurację, zmienne. Instancja to jedna kopia robocza środowiska, z własnym folderem i zainstalowanymi pakietami; rozmowy działają wewnątrz instancji i zachowują to, co tam zostawiają.",- "sandboxStorage.pickerTitle": "Instancja środowiska",+ "sandboxStorage.pickerInfoTooltip": "Środowisko opisuje, czego potrzebuje uruchomienie — pliki, repozytoria, konfigurację i zmienne. Rozmowy odbywają się w jednej z jego kopii i zachowują to, co tam zostawią; druga kopia pojawia się tylko wtedy, gdy dwie rozmowy potrzebują tego samego środowiska jednocześnie.",+ "sandboxStorage.pickerTitle": "Środowisko","sandboxStorage.privateGroup": "Prywatne środowiska","sandboxStorage.privateInstanceBlocked": "„{{name}}” znajduje się w prywatnym środowisku, którego publiczny agent nie może używać. Ten temat działa w tymczasowym katalogu roboczym.","sandboxStorage.publicAgentHint_one": "{{count}} prywatne środowisko jest ukryte — publiczny agent może używać tylko środowisk w przestrzeni roboczej. Opublikuj je, aby używać tutaj.","sandboxStorage.publicAgentHint_other": "{{count}} prywatnych środowisk jest ukrytych — publiczny agent może używać tylko środowisk w przestrzeni roboczej. Opublikuj jedno, aby używać tutaj.",+ "sandboxStorage.reopenCopy": "Otwórz inną kopię",+ "sandboxStorage.reopenCopyDesc": "Odtworzono z konfiguracji środowiska",+ "sandboxStorage.reopenCopyFailed": "Nie udało się otworzyć innej kopii","sandboxStorage.running": "Uruchomione",- "sandboxStorage.runningHint": "Coś innego wciąż działa w tej instancji, więc nie można jej tutaj wybrać. Zostanie zwolniona automatycznie około 15 minut po tym, jak tamto uruchomienie ucichnie.",- "sandboxStorage.runningHintStoppable": "Coś innego wciąż działa w tej instancji, więc nie można jej tutaj wybrać. Zostanie zwolniona automatycznie około 15 minut po tym, jak tamto uruchomienie ucichnie, lub możesz zatrzymać je teraz.",- "sandboxStorage.runningOwnHint": "Własne uruchomienie tej rozmowy używa tej instancji.",+ "sandboxStorage.runningHint": "Coś innego nadal działa w tej kopii, więc nie można jej tutaj wybrać. Zostanie automatycznie zwolniona około 15 minut po zakończeniu działania.",+ "sandboxStorage.runningHintStoppable": "Coś innego nadal działa w tej kopii, więc nie można jej tutaj wybrać. Zostanie automatycznie zwolniona około 15 minut po zakończeniu działania, lub możesz ją teraz zatrzymać.",+ "sandboxStorage.runningOwnHint": "Własne uruchomienie tej rozmowy korzysta z tej kopii.","sandboxStorage.setUpEnvironment": "Skonfiguruj środowisko","sandboxStorage.setUpEnvironmentDesc": "Trwały katalog znajduje się w środowisku",+ "sandboxStorage.showCopies": "Pokaż kopie","sandboxStorage.stop": "Zatrzymaj","sandboxStorage.workspaceGroup": "Środowiska przestrzeni roboczej","search.grounding.imageSearchQueries": "Słowa kluczowe wyszukiwania obrazów",diff --git a/locales/pl-PL/common.json b/locales/pl-PL/common.jsonindex 5ea26613db1..9502124125a 100644--- a/locales/pl-PL/common.json+++ b/locales/pl-PL/common.json@@ -521,7 +521,7 @@"visibilityConfirm.makePrivate.itemLibrary": "Pozostaje w bibliotece, w której ją umieściłeś — inni członkowie po prostu przestają ją tam widzieć","visibilityConfirm.makePrivate.itemLoaded": "Treści, które inni już załadowali, nie mogą zostać cofnięte","visibilityConfirm.makePrivate.itemReferences": "Istniejące załączniki wiadomości i odniesienia będą wyświetlane jako niedostępne",- "visibilityConfirm.publish.itemCapturedState": "Członkowie mogą uruchamiać jego instancje i uzyskiwać dostęp do wszystkiego, co zostało przez niego przechwycone — plików, logowań CLI, Twojej zalogowanej tożsamości",+ "visibilityConfirm.publish.itemCapturedState": "Członkowie mogą uruchamiać jego kopie i uzyskiwać dostęp do wszystkiego, co zostało przez niego przechwycone — plików, logowań CLI, Twojej zalogowanej tożsamości","visibilityConfirm.publish.itemLoaded": "Po przełączeniu z powrotem treści, które inni już załadowali, nie mogą zostać cofnięte","visibilityConfirm.publish.itemReversible": "Możesz później przełączyć z powrotem na prywatne z tego samego menu","visibilityConfirm.publish.itemVisible": "Wszyscy członkowie przestrzeni roboczej zobaczą to natychmiast",diff --git a/locales/pl-PL/setting.json b/locales/pl-PL/setting.jsonindex 56ff71f78ec..e3d539275e1 100644--- a/locales/pl-PL/setting.json+++ b/locales/pl-PL/setting.json@@ -564,8 +564,9 @@"environments.cancel": "Anuluj","environments.create": "Nowe środowisko","environments.createFailed": "Nie udało się utworzyć środowiska",- "environments.desc": "Co jest potrzebne do uruchomienia sandboxa: repozytorium, jego konfiguracja, zmienne. Każda instancja zbudowana na jego podstawie zachowuje własne pliki między sesjami.",+ "environments.desc": "Czego potrzebuje uruchomienie w piaskownicy: repozytorium, jego konfiguracja, zmienne. Każda kopia zbudowana z jednego zachowuje własne pliki między sesjami.","environments.detail.close": "Zamknij",+ "environments.detail.tabs.overview": "Przegląd","environments.detail.tabs.settings": "Ustawienia","environments.duplicateName": "Masz już środowisko o tej nazwie","environments.empty": "Brak środowisk",@@ -574,22 +575,22 @@"environments.files.binary": "To nie jest plik tekstowy, więc nie można go tutaj wyświetlić.","environments.files.browse": "Przeglądaj pliki","environments.files.empty": "Ten katalog jest pusty",- "environments.files.invalidPath": "Nazwa musi pozostać w katalogu tej instancji",+ "environments.files.invalidPath": "Nazwa musi pozostać w katalogu tej kopii","environments.files.listFailed": "Nie udało się wyświetlić tego katalogu","environments.files.openHint": "Kliknij dwukrotnie folder, aby go otworzyć, lub plik, aby go wyświetlić","environments.files.readOnlyHint": "Tylko do odczytu: synchronizowane przez sandbox. Nie pokazano zależności, takich jak node_modules.","environments.files.truncated": "Wyświetlono tylko pierwsze wpisy","environments.files.unreadable": "Nie można odczytać tego pliku",- "environments.files.unusedInstance": "Nic tu jeszcze nie ma. Kod pojawi się, gdy instancja zostanie zbudowana lub uruchomiona w niej rozmowa.",+ "environments.files.unusedInstance": "Nic tu jeszcze nie ma. Kod pojawi się, gdy kopia zostanie zbudowana lub gdy w niej uruchomiona zostanie rozmowa.","environments.files.up": "Poziom wyżej","environments.form.addEnv": "Nowa zmienna","environments.form.addSource": "Dodaj repozytorium",- "environments.form.appliesOnBuild": "Stosowane podczas tworzenia instancji. Istniejące instancje zachowują definicję, z którą zostały utworzone — odbudowa odtwarza tę definicję, więc użyj nowej instancji, aby to uwzględnić.",+ "environments.form.appliesOnBuild": "Stosowane podczas tworzenia kopii. Istniejące kopie zachowują definicję, z którą zostały utworzone — ponowne zbudowanie odtwarza tę definicję, więc użyj nowej kopii, aby zastosować tę zmianę.","environments.form.basics": "Podstawy","environments.form.bootstrap": "Komenda konfiguracji","environments.form.bootstrapHint": "Uruchamiana raz w checkout, z dostępem do sieci, przed rozpoczęciem rozmowy.","environments.form.changeRepository": "Zmień repozytorium",- "environments.form.desc": "Z czego zbudowana jest instancja — skąd pochodzi kod i co czyni go użytecznym.",+ "environments.form.desc": "Z czego zbudowana jest kopia — skąd pochodzi kod i co sprawia, że jest użyteczna.","environments.form.description": "Opis","environments.form.descriptionPlaceholder": "Do czego służy to środowisko","environments.form.disconnect": "Odłącz",@@ -599,13 +600,14 @@"environments.form.envCount_other": "{{count}} zmiennych","environments.form.envEmpty": "Brak zmiennych","environments.form.envEmptyHint": "Dodaj jedną lub wklej cały plik .env w",- "environments.form.envHint": "Tylko wartości niepoufne — są przechowywane jako tekst jawny i kopiowane do każdej instancji.",+ "environments.form.envHint": "Tylko wartości niepoufne — są one przechowywane jako zwykły tekst i kopiowane do każdej kopii tego środowiska.","environments.form.exclude": "Ścieżki regenerowalne","environments.form.excludeHint": "Jedna na linię, względna do kopii. Wymienienie ścieżki oznacza, że można ją odbudować, więc jest przechowywana oddzielnie od twojej pracy i może zostać usunięta w celu odzyskania miejsca. Wszystko, co tu wymieniono, a czego nie można odbudować, to praca, którą możesz stracić.",+ "environments.form.filesDesc": "Jak nazywa się ten folder i co zawiera dla agenta.","environments.form.internetAccess": "Dostęp agenta do internetu","environments.form.internetAccessHint": "Konfiguracja zawsze ma dostęp do sieci. To kontroluje samą rozmowę.","environments.form.maintenance": "Komenda konserwacji",- "environments.form.maintenanceHint": "Uruchamiana za każdym razem, gdy praca w instancji jest wznawiana — odświeżenie checkout, ponowne zastosowanie migracji. Nie jest to ponownie komenda konfiguracji: ta jest kosztowna i ma być uruchamiana raz.",+ "environments.form.maintenanceHint": "Uruchamiane za każdym razem, gdy praca w kopii jest wznawiana — odświeżenie repozytorium, ponowne zastosowanie migracji. Nie jest to ponowne uruchomienie polecenia konfiguracji: to jest kosztowne i powinno być uruchamiane tylko raz.","environments.form.path": "Folder","environments.form.rawEditor": "Edytor surowy","environments.form.rawEditorHint": "Jedna linia KEY=value, jak w pliku .env. Puste linie i komentarze # są ignorowane; zapis zastępuje każdą zmienną.",@@ -630,62 +632,75 @@"environments.github.repositoryPending": "Najpierw wybierz organizację","environments.github.repositoryPlaceholder": "Szukaj repozytoriów","environments.github.reviewAccess": "Przejrzyj dostęp",- "environments.hasInstances": "Najpierw usuń jego instancje",- "environments.instances.add": "Nowa instancja",+ "environments.hasInstances": "Najpierw usuń inne kopie",+ "environments.instances.add": "Nowa kopia","environments.instances.build": "Zbuduj",- "environments.instances.buildConfirmTitle": "Zbudować instancję {{name}}?",+ "environments.instances.buildConfirmTitle": "Zbudować kopię {{name}}?","environments.instances.buildFailed": "Budowa nie powiodła się","environments.instances.buildStartFailed": "Nie udało się rozpocząć budowy","environments.instances.buildStatusUnknown": "Utracono śledzenie tej budowy","environments.instances.building": "Budowanie — klonowanie i instalowanie","environments.instances.confirm": "Utwórz",- "environments.instances.count_one": "{{count}} instancja",- "environments.instances.count_other": "{{count}} instancji",- "environments.instances.create": "Nowa instancja",- "environments.instances.createFailed": "Nie udało się utworzyć instancji",- "environments.instances.desc": "Instancja to robocza kopia tego środowiska, z własnym folderem i zainstalowanymi pakietami. Rozmowy odbywają się wewnątrz instancji, a kilka z nich może działać równolegle, nie wpływając na siebie nawzajem.",+ "environments.instances.copy": "Duplikuj kopię",+ "environments.instances.copyBuilding": "Ta kopia jest w trakcie budowy, więc nie można jej zduplikować, dopóki budowa się nie zakończy",+ "environments.instances.copyFailed": "Nie udało się zduplikować tej kopii",+ "environments.instances.copyInUse": "Rozmowa korzysta z tej kopii, więc nie można jej teraz zduplikować — zduplikuj ją po zakończeniu tej sesji lub najpierw zakończ sesję",+ "environments.instances.copyOccupancyUnknown": "Nie udało się sprawdzić, czy ta kopia jest używana, więc nie można jej teraz zduplikować",+ "environments.instances.copyTitle": "Duplikuj {{name}}",+ "environments.instances.count_one": "{{count}} kopia",+ "environments.instances.count_other": "{{count}} kopii",+ "environments.instances.create": "Nowa kopia",+ "environments.instances.createFailed": "Nie udało się utworzyć kopii",+ "environments.instances.defaultUndeletable": "To jest domyślna kopia środowiska i nie można jej usunąć samodzielnie — odbuduj ją lub usuń środowisko",+ "environments.instances.desc": "Kopia to robocza kopia tego środowiska, z własnym folderem i zainstalowanymi pakietami. Rozmowy odbywają się w kopii, a kilka z nich może działać równolegle, nie wpływając na siebie nawzajem.","environments.instances.directoryHint": "Ścieżka folderu. Nie można jej zmienić po utworzeniu.","environments.instances.directoryLabel": "Katalog",- "environments.instances.directoryLocked": "Folder nie może zostać zmieniony po zbudowaniu instancji — usuń ją i utwórz nową, aby ją przenieść.",- "environments.instances.duplicateDirectory": "Inna instancja już używa tego folderu",- "environments.instances.empty": "Brak instancji",+ "environments.instances.directoryLocked": "Folder nie może być zmieniony po zbudowaniu kopii — usuń ją i utwórz nową, aby przenieść ją.",+ "environments.instances.duplicateDirectory": "Inna kopia już używa tego folderu",+ "environments.instances.empty": "Brak kopii","environments.instances.emptyHint": "Utwórz jedną, a następnie wybierz ją w \"Katalog roboczy\" w polu wejściowym czatu.",- "environments.instances.emptyReadonly": "Nikt jeszcze nie utworzył instancji tego środowiska. Tylko jego właściciel może dodać jedną.",+ "environments.instances.emptyReadonly": "Nikt jeszcze nie utworzył kopii tego środowiska. Tylko jego właściciel może ją dodać.","environments.instances.hideLog": "Ukryj log",- "environments.instances.inUse": "Rozmowa używa tej instancji — spróbuj ponownie, gdy ta sesja się zakończy",- "environments.instances.namePlaceholder": "Nazwa instancji",+ "environments.instances.inUse": "Rozmowa korzysta z tej kopii — spróbuj ponownie po zakończeniu tej sesji",+ "environments.instances.namePlaceholder": "Nazwa kopii","environments.instances.notBuilt": "Jeszcze nie zbudowane — nic nie zostało sklonowane ani zainstalowane",- "environments.instances.occupancyUnavailable": "Nie udało się odczytać, które instancje są obecnie uruchomione",- "environments.instances.overlappingDirectory": "Ten folder znajduje się wewnątrz folderu innej instancji lub zawiera jeden",+ "environments.instances.occupancyUnavailable": "Nie udało się odczytać, które kopie są obecnie uruchomione",+ "environments.instances.overlappingDirectory": "Ten folder znajduje się wewnątrz folderu innej kopii lub zawiera inny folder kopii","environments.instances.rebuild": "Odbuduj",- "environments.instances.rebuildConfirmContent": "To wyczyści folder instancji, a następnie ponownie sklonuje kod i uruchomi skrypt konfiguracji. Wszystko, co się w nim teraz znajduje — zmiany wprowadzone w rozmowach, zainstalowane pakiety, raporty, dane — zostanie utracone. Tego nie można cofnąć.",- "environments.instances.rebuildConfirmTitle": "Odbudować instancję {{name}}?",- "environments.instances.remove": "Usuń instancję",+ "environments.instances.rebuildConfirmContent": "To wyczyści folder kopii, a następnie ponownie sklonuje kod i uruchomi skrypt konfiguracji. Wszystko, co się w nim teraz znajduje — zmiany wprowadzone w rozmowach, zainstalowane pakiety, raporty, dane — zostanie utracone. Tego nie można cofnąć.",+ "environments.instances.rebuildConfirmTitle": "Przebudować kopię {{name}}?",+ "environments.instances.remove": "Usuń kopię","environments.instances.removeConfirmContent": "Jej folder i wszystko, co przechowywała — zainstalowane pakiety, raporty, dane — zostaną usunięte. Tego nie można cofnąć.",- "environments.instances.removeConfirmTitle": "Usunąć instancję {{name}}?",- "environments.instances.removeFailed": "Nie udało się usunąć tej instancji",+ "environments.instances.removeConfirmTitle": "Usunąć kopię {{name}}?",+ "environments.instances.removeFailed": "Nie udało się usunąć tej kopii","environments.instances.removing": "Usuwanie — usuwanie folderu i wszystkiego w nim",- "environments.instances.rename": "Zmień nazwę instancji",- "environments.instances.renameFailed": "Nie udało się zmienić nazwy tej instancji",+ "environments.instances.rename": "Zmień nazwę kopii",+ "environments.instances.renameFailed": "Nie udało się zmienić nazwy tej kopii","environments.instances.retryStatus": "Sprawdź ponownie","environments.instances.running": "Uruchomiona",- "environments.instances.runningHint": "Sesja nadal używa tej instancji — rozmowa, budowa lub przeglądarka plików. Zostanie zwolniona automatycznie około 15 minut po zakończeniu tej sesji; Historia uruchomień pokazuje, która sesja ją zajmuje.",- "environments.instances.runningHintStoppable": "Sesja nadal używa tej instancji — rozmowa, budowa lub przeglądarka plików. Zostanie zwolniona automatycznie około 15 minut po zakończeniu tej sesji, lub możesz ją zatrzymać teraz; Historia uruchomień pokazuje, która sesja ją zajmuje.",+ "environments.instances.runningHint": "Sesja nadal korzysta z tej kopii — rozmowa, budowa lub przeglądarka plików. Zostanie ona automatycznie zwolniona około 15 minut po zakończeniu aktywności; Historia uruchomień pokazuje, która sesja ją zajmuje.",+ "environments.instances.runningHintStoppable": "Sesja nadal korzysta z tej kopii — rozmowa, budowa lub przeglądarka plików. Zostanie ona automatycznie zwolniona około 15 minut po zakończeniu aktywności, lub możesz ją teraz zatrzymać; Historia uruchomień pokazuje, która sesja ją zajmuje.","environments.instances.save": "Zapisz","environments.instances.showLog": "Pokaż log","environments.instances.stop": "Zatrzymaj",- "environments.instances.stopBuilding": "Ta instancja jest budowana. Zostanie zwolniona po zakończeniu budowy",- "environments.instances.stopBusy": "Ta instancja jest kopiowana lub usuwana — spróbuj ponownie za chwilę",- "environments.instances.stopConfirmContent": "Sesja zajmująca tę instancję zostaje zatrzymana teraz, zamiast czekać, aż się zakończy. To, co zostało zainstalowane i zapisane, zostaje zapisane najpierw. Rozmowa w trakcie kroku ma ten krok przerwany i kontynuuje od zapisanej stanu przy następnym komunikacie.",+ "environments.instances.stopBuilding": "Ta kopia jest w trakcie budowy. Zostanie zwolniona po zakończeniu budowy",+ "environments.instances.stopBusy": "Ta kopia jest w trakcie duplikowania lub usuwania — spróbuj ponownie za chwilę",+ "environments.instances.stopConfirmContent": "Sesja zajmująca tę kopię zostaje teraz zatrzymana, zamiast czekać na jej zakończenie. Wszystko, co zostało zainstalowane i zapisane, zostanie zachowane. Rozmowa w trakcie kroku przerwie ten krok i wznowi od zapisanej pozycji przy następnym komunikacie.","environments.instances.stopConfirmTitle": "Zatrzymać sesję w \"{{name}}\"?","environments.instances.stopFailed": "Nie udało się zatrzymać sesji","environments.instances.stopNothing": "Nic już nie działa w \"{{name}}\"","environments.instances.stopRefused": "Nie udało się zatrzymać sesji — spróbuj ponownie","environments.instances.stopSnapshotPending": "Sesja nadal zapisuje swoją pracę, więc została pozostawiona uruchomiona — spróbuj ponownie za chwilę",- "environments.instances.stopStarting": "Sesja właśnie się rozpoczyna w tej instancji — spróbuj ponownie za chwilę",+ "environments.instances.stopStarting": "Sesja właśnie się rozpoczyna w tej kopii — spróbuj ponownie za chwilę","environments.instances.stopped": "Zatrzymano. \"{{name}}\" jest wolne do użycia","environments.instances.stopping": "Zatrzymywanie — najpierw zapisywanie sesji…",- "environments.instances.title": "Instancje",+ "environments.instances.title": "Kopie",+ "environments.kind.code": "Kod",+ "environments.kind.codeDesc": "Sklonuj repozytorium, ustaw zmienne i uruchom konfigurację przed rozpoczęciem pracy agenta.",+ "environments.kind.files": "Pliki",+ "environments.kind.filesDesc": "Prześlij pliki, nad którymi agent ma pracować. Gotowe natychmiast po utworzeniu.",+ "environments.kind.filesHint": "Folder, do którego przesyłasz pliki, nad którymi agent ma pracować. Nic nie jest klonowane ani instalowane, więc nie ma kompilacji — jest gotowy w momencie utworzenia.",+ "environments.kind.label": "Typ","environments.loadFailed.desc": "Nie udało się połączyć z usługą, która informuje, czy to konto ma trwały obszar roboczy. Nic nie jest nie tak z twoimi środowiskami.","environments.loadFailed.retry": "Spróbuj ponownie","environments.loadFailed.title": "Nie udało się sprawdzić twojego planu",@@ -698,15 +713,15 @@"environments.namePlaceholder": "Nazwa środowiska","environments.refresh": "Odśwież","environments.remove": "Usuń środowisko",- "environments.removeConfirmContent": "Jego specyfikacja, zmienne i zapisany snapshot zostaną usunięte i nie można ich odzyskać.",+ "environments.removeConfirmContent": "Jej specyfikacja, zmienne, folder kopii i zapisany zrzut zostaną usunięte i nie będzie można ich odzyskać.","environments.removeConfirmTitle": "Usunąć środowisko {{name}}?","environments.removeFailed": "Nie udało się usunąć tego środowiska","environments.saveFailed": "Nie udało się zapisać tej zmiany","environments.sessions.activeBuild": "{{instance}} jest obecnie budowane","environments.sessions.activeSession": "Sandbox działa w {{instance}}",- "environments.sessions.desc": "Najbardziej recent sesje, które działały w tych instancjach i ich budowy, od najnowszych, z informacją, jak każda się zakończyła i czy to, co zostało zainstalowane, zostało zapisane.",+ "environments.sessions.desc": "Najbardziej aktualne sesje, które działały w tych kopiach i ich budowach, od najnowszych, z informacją, jak każda z nich się zakończyła i czy to, co zostało zainstalowane, zostało zapisane.","environments.sessions.empty": "Nic tu jeszcze nie działało",- "environments.sessions.emptyHint": "Każda rozmowa i budowa w jednej z jej instancji pojawi się tutaj.",+ "environments.sessions.emptyHint": "Każda rozmowa i budowa w tym środowisku pojawi się tutaj.","environments.sessions.history": "Historia","environments.sessions.historyEmpty": "Brak zakończonych sesji","environments.sessions.kind.build": "Budowa",@@ -727,7 +742,7 @@"environments.sessions.snapshotSaved": "Zapisano {{size}}","environments.sessions.stale": "Brak zarejestrowanego zakończenia","environments.sessions.title": "Historia uruchomień",- "environments.sessions.unavailable": "Część historii nie mogła zostać odczytana — niektóre instancje są nieobecne na tej liście",+ "environments.sessions.unavailable": "Część historii nie mogła zostać odczytana — niektóre kopie są nieobecne na tej liście","environments.storage.measuredAt": "Zmierzono {{time}}. Odśwież, aby zmierzyć ponownie.","environments.storage.over": "Przekroczono limit przechowywania. Zapisywanie plików jest odrzucane, dopóki nie usuniesz czegoś.","environments.storage.unmeasured": "Przechowywanie jeszcze nie zmierzone · {{total}} dostępne",@@ -736,12 +751,12 @@"environments.unavailable.title": "Trwały sandbox nie jest tutaj dostępny","environments.upgrade.benefits.environments.desc": "Repozytoria, komenda konfiguracji i zmienne znajdują się w środowisku; każdy sandbox zbudowany na jego podstawie zaczyna gotowy.","environments.upgrade.benefits.environments.title": "Konfiguracja sandboxa zapisana raz",- "environments.upgrade.benefits.instances.desc": "Równoległe rozmowy działają w swoich własnych instancjach środowiska, więc nic nie nadpisuje niczego innego.",- "environments.upgrade.benefits.instances.title": "Jedna instancja na zadanie",+ "environments.upgrade.benefits.instances.desc": "Równoległe rozmowy działają w swoich własnych kopiach środowiska, więc nic się nie nadpisuje.",+ "environments.upgrade.benefits.instances.title": "Jedna kopia na zadanie","environments.upgrade.benefits.persist.desc": "Katalog roboczy jest zachowywany, gdy sandbox jest odświeżany; następna sesja kontynuuje tam, gdzie poprzednia się zatrzymała.","environments.upgrade.benefits.persist.title": "Pliki przetrwają sandbox","environments.upgrade.cta": "Ulepsz do Pro",- "environments.upgrade.desc": "Daj uruchomieniom sandboxa w chmurze trwały katalog roboczy. Środowisko opisuje, czego sandbox potrzebuje — repozytoria, konfigurację, zmienne — a jego instancje zachowują wszystko między sesjami.",+ "environments.upgrade.desc": "Daj uruchomieniom w chmurze trwały katalog roboczy. Środowisko opisuje, czego potrzebuje piaskownica — repozytoria, konfiguracje, zmienne — a jego kopie przechowują wszystko między sesjami.","environments.upgrade.title": "Ulepsz do Pro, aby odblokować środowiska sandboxa","environments.visibility.changeFailed": "Nie udało się zmienić widoczności tego środowiska","environments.visibility.createPublishedConfirmTitle": "Utworzyć to środowisko w obszarze roboczym?",diff --git a/locales/pt-BR/chat.json b/locales/pt-BR/chat.jsonindex e77412b1bb7..8db32f2b900 100644--- a/locales/pt-BR/chat.json+++ b/locales/pt-BR/chat.json@@ -1903,29 +1903,41 @@"runtimeEnv.mode.noneDesc": "Desativar ambiente de execução","runtimeEnv.selectMode": "Selecionar Ambiente de Execução","runtimeEnv.title": "Ambiente de Execução",+ "sandboxStorage.allCopiesBusy": "Todas as cópias estão em uso","sandboxStorage.buildFailed": "Não construído","sandboxStorage.building": "Construindo",+ "sandboxStorage.copies": "Cópias",+ "sandboxStorage.copyCount_one": "{{count}} cópia",+ "sandboxStorage.copyCount_other": "{{count}} cópias",+ "sandboxStorage.createCopyFailed": "Este ambiente não pôde ser preparado",+ "sandboxStorage.defaultCopy": "Padrão","sandboxStorage.environmentsUnavailable": "Os ambientes não puderam ser carregados","sandboxStorage.ephemeral": "Diretório de trabalho temporário","sandboxStorage.ephemeralDesc": "Limpado quando o sandbox é reciclado","sandboxStorage.instanceBusy": "{{name}} está sendo executado em outra conversa. Esta o mantém e o assume quando essa execução termina.",+ "sandboxStorage.kind.code": "Código",+ "sandboxStorage.kind.files": "Arquivos","sandboxStorage.manage": "Gerenciar",- "sandboxStorage.noInstances": "Criar uma instância",- "sandboxStorage.noInstancesDesc": "Seus ambientes ainda não têm uma cópia de trabalho",+ "sandboxStorage.noCopyColleagueDesc": "Seu criador ainda não o configurou",+ "sandboxStorage.noCopyYetDesc": "Uma cópia é criada na primeira vez que você a escolhe","sandboxStorage.persistentUpsell": "Diretório de trabalho persistente","sandboxStorage.persistentUpsellDesc": "Mantenha arquivos entre execuções e tópicos",- "sandboxStorage.pickerInfoTooltip": "Um ambiente descreve o que uma execução precisa ao seu redor — repositórios, configuração, variáveis. Uma instância é uma cópia de trabalho dele, com sua própria pasta e pacotes instalados; conversas são executadas dentro de uma instância e mantêm o que deixam lá.",- "sandboxStorage.pickerTitle": "Instância do Ambiente",+ "sandboxStorage.pickerInfoTooltip": "Um ambiente descreve o que uma execução precisa ao seu redor — arquivos, ou repositórios, configuração e variáveis. Conversas ocorrem dentro de uma de suas cópias e mantêm o que deixam lá; uma segunda cópia só aparece quando duas conversas precisam do mesmo ambiente ao mesmo tempo.",+ "sandboxStorage.pickerTitle": "Ambiente","sandboxStorage.privateGroup": "Ambientes Privados","sandboxStorage.privateInstanceBlocked": "“{{name}}” está em um ambiente privado, que um agente público não pode usar. Este tópico será executado em um diretório de trabalho temporário.","sandboxStorage.publicAgentHint_one": "{{count}} ambiente privado está oculto — um agente público só pode usar ambientes do espaço de trabalho. Publique-o para usá-lo aqui.","sandboxStorage.publicAgentHint_other": "{{count}} ambientes privados estão ocultos — um agente público só pode usar ambientes do espaço de trabalho. Publique um para usá-lo aqui.",+ "sandboxStorage.reopenCopy": "Abrir outra cópia",+ "sandboxStorage.reopenCopyDesc": "Reconstruído a partir da configuração do ambiente",+ "sandboxStorage.reopenCopyFailed": "Outra cópia não pôde ser aberta","sandboxStorage.running": "Executando",- "sandboxStorage.runningHint": "Algo mais ainda está sendo executado nesta instância, então ela não pode ser escolhida aqui. Ela será liberada automaticamente cerca de 15 minutos após essa execução ficar inativa.",- "sandboxStorage.runningHintStoppable": "Algo mais ainda está sendo executado nesta instância, então ela não pode ser escolhida aqui. Ela será liberada automaticamente cerca de 15 minutos após essa execução ficar inativa, ou você pode pará-la agora.",- "sandboxStorage.runningOwnHint": "A execução desta conversa está usando esta instância.",+ "sandboxStorage.runningHint": "Algo mais ainda está em execução nesta cópia, então ela não pode ser escolhida aqui. Ela é liberada automaticamente cerca de 15 minutos após essa execução ficar inativa.",+ "sandboxStorage.runningHintStoppable": "Algo mais ainda está em execução nesta cópia, então ela não pode ser escolhida aqui. Ela é liberada automaticamente cerca de 15 minutos após essa execução ficar inativa, ou você pode interrompê-la agora.",+ "sandboxStorage.runningOwnHint": "A execução desta conversa está usando esta cópia.","sandboxStorage.setUpEnvironment": "Configurar um ambiente","sandboxStorage.setUpEnvironmentDesc": "Um diretório persistente vive em um ambiente",+ "sandboxStorage.showCopies": "Mostrar cópias","sandboxStorage.stop": "Parar","sandboxStorage.workspaceGroup": "Ambientes do Espaço de Trabalho","search.grounding.imageSearchQueries": "Palavras-chave de Pesquisa de Imagens",diff --git a/locales/pt-BR/common.json b/locales/pt-BR/common.jsonindex 6a2b52ee921..41ab49b7b46 100644--- a/locales/pt-BR/common.json+++ b/locales/pt-BR/common.json@@ -521,7 +521,7 @@"visibilityConfirm.makePrivate.itemLibrary": "Ele permanece na biblioteca em que você o arquivou — outros membros apenas param de vê-lo lá","visibilityConfirm.makePrivate.itemLoaded": "O conteúdo que outros já carregaram não pode ser recuperado","visibilityConfirm.makePrivate.itemReferences": "Anexos de mensagens e referências existentes aparecerão como indisponíveis",- "visibilityConfirm.publish.itemCapturedState": "Os membros podem executar suas instâncias e acessar tudo o que ele capturou — arquivos, logins de CLI, sua identidade conectada",+ "visibilityConfirm.publish.itemCapturedState": "Os membros podem executar suas cópias e acessar tudo o que ele capturou — arquivos, logins de CLI, sua identidade conectada","visibilityConfirm.publish.itemLoaded": "Após mudar de volta, o conteúdo que outros já carregaram não pode ser recuperado","visibilityConfirm.publish.itemReversible": "Você pode torná-lo privado novamente mais tarde no mesmo menu","visibilityConfirm.publish.itemVisible": "Todos os membros do espaço de trabalho verão isso imediatamente",diff --git a/locales/pt-BR/setting.json b/locales/pt-BR/setting.jsonindex edbe9f875ce..ed6f82938a3 100644--- a/locales/pt-BR/setting.json+++ b/locales/pt-BR/setting.json@@ -564,8 +564,9 @@"environments.cancel": "Cancelar","environments.create": "Novo ambiente","environments.createFailed": "Não foi possível criar o ambiente",- "environments.desc": "O que uma execução de sandbox precisa ao seu redor: um repositório, sua configuração, suas variáveis. Cada instância criada a partir de um mantém seus próprios arquivos entre sessões.",+ "environments.desc": "O que uma execução de sandbox precisa ao seu redor: um repositório, sua configuração, suas variáveis. Cada cópia criada a partir de uma mantém seus próprios arquivos entre sessões.","environments.detail.close": "Fechar",+ "environments.detail.tabs.overview": "Visão Geral","environments.detail.tabs.settings": "Configurações","environments.duplicateName": "Você já tem um ambiente com este nome","environments.empty": "Nenhum ambiente ainda",@@ -574,22 +575,22 @@"environments.files.binary": "Não é um arquivo de texto, então não pode ser exibido aqui.","environments.files.browse": "Navegar pelos arquivos","environments.files.empty": "Este diretório está vazio",- "environments.files.invalidPath": "O nome deve permanecer dentro do diretório desta instância",+ "environments.files.invalidPath": "O nome precisa permanecer dentro do diretório desta cópia","environments.files.listFailed": "Não foi possível listar este diretório","environments.files.openHint": "Clique duas vezes em uma pasta para abri-la ou em um arquivo para visualizá-lo","environments.files.readOnlyHint": "Somente leitura: mantido em sincronia pelo sandbox. Dependências como node_modules não são exibidas.","environments.files.truncated": "Apenas as primeiras entradas são exibidas","environments.files.unreadable": "Não foi possível ler este arquivo",- "environments.files.unusedInstance": "Nada aqui ainda. O código aparece assim que a instância é construída ou uma conversa é executada nela.",+ "environments.files.unusedInstance": "Nada aqui ainda. O código aparece uma vez que a cópia é criada ou uma conversa é executada nela.","environments.files.up": "Subir um nível","environments.form.addEnv": "Nova variável","environments.form.addSource": "Adicionar repositório",- "environments.form.appliesOnBuild": "Aplicado quando uma instância é criada. Instâncias existentes mantêm a definição com a qual foram criadas — uma reconstrução reproduz essa definição, então use uma nova instância para aplicar esta.",+ "environments.form.appliesOnBuild": "Aplicado quando uma cópia é criada. Cópias existentes mantêm a definição com a qual foram feitas — uma reconstrução reproduz essa definição, então use uma nova cópia para aplicar esta.","environments.form.basics": "Básico","environments.form.bootstrap": "Comando de configuração","environments.form.bootstrapHint": "Executa uma vez no checkout, com acesso à rede, antes de a conversa começar.","environments.form.changeRepository": "Alterar repositório",- "environments.form.desc": "De onde uma instância é construída — de onde vem o código e o que o torna utilizável.",+ "environments.form.desc": "De onde uma cópia é criada — de onde vem o código e o que o torna utilizável.","environments.form.description": "Descrição","environments.form.descriptionPlaceholder": "Para que serve este ambiente","environments.form.disconnect": "Desconectar",@@ -599,13 +600,14 @@"environments.form.envCount_other": "{{count}} variáveis","environments.form.envEmpty": "Nenhuma variável ainda","environments.form.envEmptyHint": "Adicione uma ou cole um arquivo .env inteiro no",- "environments.form.envHint": "Apenas valores não secretos — estes são armazenados como texto simples e copiados para cada instância.",+ "environments.form.envHint": "Somente valores não secretos — estes são armazenados como texto simples e copiados para cada cópia deste ambiente.","environments.form.exclude": "Caminhos regeneráveis","environments.form.excludeHint": "Um por linha, relativo à cópia. Listar um caminho indica que ele pode ser reconstruído, então é mantido separado do seu trabalho e pode ser descartado para recuperar espaço. Qualquer coisa nomeada aqui que não possa ser reconstruída é trabalho que você pode perder.",+ "environments.form.filesDesc": "Como esta pasta é chamada e o que ela contém para o agente.","environments.form.internetAccess": "Acesso à internet do agente","environments.form.internetAccessHint": "A configuração sempre tem acesso à rede. Isso controla a própria conversa.","environments.form.maintenance": "Comando de manutenção",- "environments.form.maintenanceHint": "Executa cada vez que o trabalho é retomado em uma instância — atualizando um checkout, reaplicando uma migração. Não é o comando de configuração novamente: esse é caro e deve ser executado uma vez.",+ "environments.form.maintenanceHint": "Executado cada vez que o trabalho é retomado em uma cópia — atualizando um checkout, reaplicando uma migração. Não o comando de configuração novamente: esse é caro e deve ser executado apenas uma vez.","environments.form.path": "Pasta","environments.form.rawEditor": "Editor bruto","environments.form.rawEditorHint": "Uma linha por KEY=value, como um arquivo .env. Linhas em branco e comentários # são ignorados; salvar substitui todas as variáveis.",@@ -630,62 +632,75 @@"environments.github.repositoryPending": "Escolha uma organização primeiro","environments.github.repositoryPlaceholder": "Pesquisar repositórios","environments.github.reviewAccess": "Revisar acesso",- "environments.hasInstances": "Remova suas instâncias primeiro",- "environments.instances.add": "Nova instância",+ "environments.hasInstances": "Remova suas outras cópias primeiro",+ "environments.instances.add": "Nova cópia","environments.instances.build": "Construir",- "environments.instances.buildConfirmTitle": "Construir instância {{name}}?",+ "environments.instances.buildConfirmTitle": "Criar cópia {{name}}?","environments.instances.buildFailed": "Falha na construção","environments.instances.buildStartFailed": "Não foi possível iniciar a construção","environments.instances.buildStatusUnknown": "Perdemos o rastreamento desta construção","environments.instances.building": "Construindo — clonando e instalando","environments.instances.confirm": "Criar",- "environments.instances.count_one": "{{count}} instância",- "environments.instances.count_other": "{{count}} instâncias",- "environments.instances.create": "Nova instância",- "environments.instances.createFailed": "Não foi possível criar a instância",- "environments.instances.desc": "Uma instância é uma cópia de trabalho deste ambiente, com sua própria pasta e seus próprios pacotes instalados. Conversas são executadas dentro de uma instância, e várias podem ser executadas lado a lado sem interferir umas nas outras.",+ "environments.instances.copy": "Duplicar cópia",+ "environments.instances.copyBuilding": "Esta cópia está sendo criada, então não pode ser duplicada até que a criação termine",+ "environments.instances.copyFailed": "Não foi possível duplicar esta cópia",+ "environments.instances.copyInUse": "Uma conversa está usando esta cópia, então ela não pode ser duplicada agora — duplique-a quando essa execução terminar ou interrompa a execução primeiro",+ "environments.instances.copyOccupancyUnknown": "Não foi possível verificar se esta cópia está em uso, então ela não pode ser duplicada agora",+ "environments.instances.copyTitle": "Duplicar {{name}}",+ "environments.instances.count_one": "{{count}} cópia",+ "environments.instances.count_other": "{{count}} cópias",+ "environments.instances.create": "Nova cópia",+ "environments.instances.createFailed": "Não foi possível criar a cópia",+ "environments.instances.defaultUndeletable": "Esta é a cópia padrão do ambiente e não pode ser excluída por conta própria — reconstrua-a ou exclua o ambiente",+ "environments.instances.desc": "Uma cópia é uma cópia de trabalho deste ambiente, com sua própria pasta e seus próprios pacotes instalados. Conversas são executadas dentro de uma cópia, e várias podem ser executadas lado a lado sem interferir umas nas outras.","environments.instances.directoryHint": "Caminho da pasta. Não pode ser alterado após a criação.","environments.instances.directoryLabel": "Diretório",- "environments.instances.directoryLocked": "A pasta não pode ser alterada após a construção da instância — exclua-a e crie outra para movê-la.",- "environments.instances.duplicateDirectory": "Outra instância já usa esta pasta",- "environments.instances.empty": "Nenhuma instância ainda",+ "environments.instances.directoryLocked": "A pasta não pode ser alterada após a cópia ser criada — exclua-a e crie outra para movê-la.",+ "environments.instances.duplicateDirectory": "Outra cópia já usa esta pasta",+ "environments.instances.empty": "Ainda não há cópias","environments.instances.emptyHint": "Crie uma, depois escolha-a em \"Diretório de Trabalho\" na entrada do chat.",- "environments.instances.emptyReadonly": "Ninguém criou uma instância deste ambiente ainda. Apenas seu proprietário pode adicionar uma.",+ "environments.instances.emptyReadonly": "Ninguém criou uma cópia deste ambiente ainda. Somente seu proprietário pode adicionar uma.","environments.instances.hideLog": "Ocultar log",- "environments.instances.inUse": "Uma conversa está usando esta instância — tente novamente quando essa execução terminar",- "environments.instances.namePlaceholder": "Nome da instância",+ "environments.instances.inUse": "Uma conversa está usando esta cópia — tente novamente quando essa execução terminar",+ "environments.instances.namePlaceholder": "Nome da cópia","environments.instances.notBuilt": "Ainda não construído — nada foi clonado ou instalado",- "environments.instances.occupancyUnavailable": "Não foi possível ler quais instâncias estão em execução agora",- "environments.instances.overlappingDirectory": "Esta pasta está dentro da pasta de outra instância ou contém uma",+ "environments.instances.occupancyUnavailable": "Não foi possível ler quais cópias estão sendo executadas agora",+ "environments.instances.overlappingDirectory": "Esta pasta está dentro da pasta de outra cópia ou contém uma","environments.instances.rebuild": "Reconstruir",- "environments.instances.rebuildConfirmContent": "Isso limpa a pasta da instância, depois clona o código novamente e executa o script de configuração. Tudo o que está nela agora — alterações feitas em conversas, pacotes instalados, relatórios, dados — será perdido. Isso não pode ser desfeito.",- "environments.instances.rebuildConfirmTitle": "Reconstruir instância {{name}}?",- "environments.instances.remove": "Excluir instância",+ "environments.instances.rebuildConfirmContent": "Isso limpa a pasta da cópia, então clona o código novamente e executa o script de configuração. Tudo o que está nela agora — alterações feitas em conversas, pacotes instalados, relatórios, dados — será perdido. Isso não pode ser desfeito.",+ "environments.instances.rebuildConfirmTitle": "Reconstruir cópia {{name}}?",+ "environments.instances.remove": "Excluir cópia","environments.instances.removeConfirmContent": "Sua pasta e tudo o que ela continha — pacotes instalados, relatórios, dados — serão excluídos. Isso não pode ser desfeito.",- "environments.instances.removeConfirmTitle": "Excluir instância {{name}}?",- "environments.instances.removeFailed": "Não foi possível excluir esta instância",+ "environments.instances.removeConfirmTitle": "Excluir cópia {{name}}?",+ "environments.instances.removeFailed": "Não foi possível excluir esta cópia","environments.instances.removing": "Excluindo — removendo sua pasta e tudo nela",- "environments.instances.rename": "Renomear instância",- "environments.instances.renameFailed": "Não foi possível renomear esta instância",+ "environments.instances.rename": "Renomear cópia",+ "environments.instances.renameFailed": "Não foi possível renomear esta cópia","environments.instances.retryStatus": "Verificar novamente","environments.instances.running": "Executando",- "environments.instances.runningHint": "Uma execução ainda está usando esta instância — uma conversa, uma construção ou o navegador de arquivos. Ela é liberada sozinha cerca de 15 minutos após essa execução ficar inativa; o histórico de execução mostra qual está segurando-a.",- "environments.instances.runningHintStoppable": "Uma execução ainda está usando esta instância — uma conversa, uma construção ou o navegador de arquivos. Ela é liberada sozinha cerca de 15 minutos após essa execução ficar inativa, ou você pode pará-la agora; o histórico de execução mostra qual está segurando-a.",+ "environments.instances.runningHint": "Uma execução ainda está usando esta cópia — uma conversa, uma criação ou o navegador de arquivos. Ela é liberada automaticamente cerca de 15 minutos após essa execução ficar inativa; o histórico de execução mostra qual está segurando-a.",+ "environments.instances.runningHintStoppable": "Uma execução ainda está usando esta cópia — uma conversa, uma criação ou o navegador de arquivos. Ela é liberada automaticamente cerca de 15 minutos após essa execução ficar inativa, ou você pode interrompê-la agora; o histórico de execução mostra qual está segurando-a.","environments.instances.save": "Salvar","environments.instances.showLog": "Mostrar log","environments.instances.stop": "Parar",- "environments.instances.stopBuilding": "Esta instância está sendo construída. Ela é liberada quando a construção termina",- "environments.instances.stopBusy": "Esta instância está sendo copiada ou excluída — tente novamente em um momento",- "environments.instances.stopConfirmContent": "A execução que está segurando esta instância é interrompida agora, em vez de quando ficar inativa. O que foi instalado e escrito é salvo primeiro. Uma conversa no meio de uma etapa tem essa etapa interrompida e retoma do estado salvo com sua próxima mensagem.",+ "environments.instances.stopBuilding": "Esta cópia está sendo criada. Ela é liberada quando a criação termina",+ "environments.instances.stopBusy": "Esta cópia está sendo duplicada ou excluída — tente novamente em um momento",+ "environments.instances.stopConfirmContent": "A execução que está segurando esta cópia é interrompida agora, em vez de quando ficar inativa. O que foi instalado e escrito é salvo primeiro. Uma conversa no meio de uma etapa tem essa etapa interrompida e retoma do estado salvo com sua próxima mensagem.","environments.instances.stopConfirmTitle": "Parar a execução em \"{{name}}\"?","environments.instances.stopFailed": "Não foi possível parar a execução","environments.instances.stopNothing": "Nada está mais em execução em \"{{name}}\"","environments.instances.stopRefused": "A execução não pôde ser interrompida — tente novamente","environments.instances.stopSnapshotPending": "A execução ainda está salvando seu trabalho, então foi deixada em execução — tente novamente em um momento",- "environments.instances.stopStarting": "Uma execução está apenas começando nesta instância — tente novamente em um momento",+ "environments.instances.stopStarting": "Uma execução está apenas começando nesta cópia — tente novamente em um momento","environments.instances.stopped": "Parado. \"{{name}}\" está livre para uso","environments.instances.stopping": "Parando — salvando a execução primeiro…",- "environments.instances.title": "Instâncias",+ "environments.instances.title": "Cópias",+ "environments.kind.code": "Código",+ "environments.kind.codeDesc": "Clone um repositório, defina variáveis e execute a configuração antes de o agente iniciar.",+ "environments.kind.files": "Arquivos",+ "environments.kind.filesDesc": "Envie arquivos para um agente trabalhar. Pronto assim que é criado.",+ "environments.kind.filesHint": "Uma pasta para a qual você envia arquivos para um agente trabalhar. Nada é clonado ou instalado, então não há compilação — está pronto no momento em que é criado.",+ "environments.kind.label": "Tipo","environments.loadFailed.desc": "Não conseguimos alcançar o serviço que informa se esta conta tem um espaço de trabalho persistente. Nada está errado com seus ambientes.","environments.loadFailed.retry": "Tente novamente","environments.loadFailed.title": "Não foi possível verificar seu plano",@@ -698,15 +713,15 @@"environments.namePlaceholder": "Nome do ambiente","environments.refresh": "Atualizar","environments.remove": "Excluir ambiente",- "environments.removeConfirmContent": "Sua especificação, variáveis e snapshot salvo serão excluídos e não poderão ser recuperados.",+ "environments.removeConfirmContent": "Sua especificação, variáveis, a pasta da cópia e o snapshot salvo vão junto, e não podem ser recuperados.","environments.removeConfirmTitle": "Excluir ambiente {{name}}?","environments.removeFailed": "Não foi possível excluir este ambiente","environments.saveFailed": "Não foi possível salvar esta alteração","environments.sessions.activeBuild": "{{instance}} está sendo construído agora","environments.sessions.activeSession": "Um sandbox está em execução em {{instance}} agora",- "environments.sessions.desc": "As sessões mais recentes que foram executadas nessas instâncias e suas construções, da mais nova para a mais antiga, com como cada uma terminou e se o que foi instalado foi salvo.",+ "environments.sessions.desc": "As sessões mais recentes que foram executadas nessas cópias e suas criações, da mais nova para a mais antiga, com como cada uma terminou e se o que foi instalado foi salvo.","environments.sessions.empty": "Nada foi executado aqui ainda",- "environments.sessions.emptyHint": "Cada conversa e construção em uma de suas instâncias aparecerá aqui.",+ "environments.sessions.emptyHint": "Toda conversa e criação neste ambiente aparecerá aqui.","environments.sessions.history": "Histórico","environments.sessions.historyEmpty": "Nenhuma execução finalizada ainda","environments.sessions.kind.build": "Construção",@@ -727,7 +742,7 @@"environments.sessions.snapshotSaved": "Salvo {{size}}","environments.sessions.stale": "Nenhum fim registrado","environments.sessions.title": "Histórico de execução",- "environments.sessions.unavailable": "Parte do histórico não pôde ser lida — algumas instâncias estão ausentes desta lista",+ "environments.sessions.unavailable": "Parte do histórico não pôde ser lida — algumas cópias estão ausentes desta lista","environments.storage.measuredAt": "Medido {{time}}. Atualize para medir novamente.","environments.storage.over": "Acima do limite de armazenamento. Salvar um arquivo é recusado até que você exclua algo.","environments.storage.unmeasured": "Armazenamento ainda não medido · {{total}} disponível",@@ -736,12 +751,12 @@"environments.unavailable.title": "Sandbox persistente não está disponível aqui","environments.upgrade.benefits.environments.desc": "Repositórios, comando de configuração e variáveis vivem no ambiente; cada sandbox construído a partir dele começa pronto.","environments.upgrade.benefits.environments.title": "Configuração do sandbox escrita uma vez",- "environments.upgrade.benefits.instances.desc": "Conversas paralelas são executadas em suas próprias instâncias do ambiente, então nada sobrescreve nada.",- "environments.upgrade.benefits.instances.title": "Uma instância por tarefa",+ "environments.upgrade.benefits.instances.desc": "Conversas paralelas são executadas cada uma em sua própria cópia do ambiente, então nada sobrescreve nada.",+ "environments.upgrade.benefits.instances.title": "Uma cópia por tarefa","environments.upgrade.benefits.persist.desc": "O diretório de trabalho é mantido quando o sandbox é reciclado; a próxima execução continua de onde a última parou.","environments.upgrade.benefits.persist.title": "Arquivos sobrevivem ao sandbox","environments.upgrade.cta": "Atualize para Pro",- "environments.upgrade.desc": "Dê às execuções de sandbox na nuvem um diretório de trabalho persistente. Um ambiente descreve o que o sandbox precisa — repositórios, configuração, variáveis — e suas instâncias mantêm tudo entre sessões.",+ "environments.upgrade.desc": "Dê às execuções de sandbox na nuvem um diretório de trabalho persistente. Um ambiente descreve o que o sandbox precisa — repositórios, configuração, variáveis — e suas cópias mantêm tudo entre sessões.","environments.upgrade.title": "Atualize para Pro para desbloquear ambientes de sandbox","environments.visibility.changeFailed": "Não foi possível alterar a visibilidade deste ambiente","environments.visibility.createPublishedConfirmTitle": "Criar este ambiente no espaço de trabalho?",diff --git a/locales/ru-RU/chat.json b/locales/ru-RU/chat.jsonindex b7d2ed8fa80..5cf28a403f8 100644--- a/locales/ru-RU/chat.json+++ b/locales/ru-RU/chat.json@@ -1903,29 +1903,41 @@"runtimeEnv.mode.noneDesc": "Отключить среду выполнения","runtimeEnv.selectMode": "Выберите среду выполнения","runtimeEnv.title": "Среда выполнения",+ "sandboxStorage.allCopiesBusy": "Все копии заняты","sandboxStorage.buildFailed": "Не построено","sandboxStorage.building": "Построение",+ "sandboxStorage.copies": "Копии",+ "sandboxStorage.copyCount_one": "{{count}} копия",+ "sandboxStorage.copyCount_other": "{{count}} копий",+ "sandboxStorage.createCopyFailed": "Эта среда не могла быть подготовлена",+ "sandboxStorage.defaultCopy": "По умолчанию","sandboxStorage.environmentsUnavailable": "Не удалось загрузить среды","sandboxStorage.ephemeral": "Временная рабочая директория","sandboxStorage.ephemeralDesc": "Удаляется при переработке песочницы","sandboxStorage.instanceBusy": "{{name}} работает в другом разговоре. Этот разговор сохраняет его и продолжает, когда выполнение завершится.",+ "sandboxStorage.kind.code": "Код",+ "sandboxStorage.kind.files": "Файлы","sandboxStorage.manage": "Управлять",- "sandboxStorage.noInstances": "Создать экземпляр",- "sandboxStorage.noInstancesDesc": "Ваши среды пока не имеют рабочей копии",+ "sandboxStorage.noCopyColleagueDesc": "Её создатель ещё не настроил её",+ "sandboxStorage.noCopyYetDesc": "Копия создаётся при первом выборе","sandboxStorage.persistentUpsell": "Постоянная рабочая директория","sandboxStorage.persistentUpsellDesc": "Сохраняйте файлы между запусками и темами",- "sandboxStorage.pickerInfoTooltip": "Среда описывает, что требуется для выполнения — репозитории, настройки, переменные. Экземпляр — это одна рабочая копия среды с собственной папкой и установленными пакетами; разговоры выполняются внутри экземпляра и сохраняют то, что они оставляют там.",- "sandboxStorage.pickerTitle": "Экземпляр среды",+ "sandboxStorage.pickerInfoTooltip": "Среда описывает, что требуется для выполнения — файлы, репозитории, настройки и переменные. Разговоры проходят внутри одной из её копий и сохраняют то, что оставляют там; вторая копия появляется только тогда, когда два разговора нуждаются в одной и той же среде одновременно.",+ "sandboxStorage.pickerTitle": "Среда","sandboxStorage.privateGroup": "Приватные среды","sandboxStorage.privateInstanceBlocked": "«{{name}}» находится в приватной среде, которую публичный агент не может использовать. Эта тема выполняется во временной рабочей директории.","sandboxStorage.publicAgentHint_one": "{{count}} приватная среда скрыта — публичный агент может использовать только рабочие среды. Опубликуйте ее, чтобы использовать здесь.","sandboxStorage.publicAgentHint_other": "{{count}} приватных сред скрыты — публичный агент может использовать только рабочие среды. Опубликуйте одну, чтобы использовать здесь.",+ "sandboxStorage.reopenCopy": "Открыть другую копию",+ "sandboxStorage.reopenCopyDesc": "Перестроено из конфигурации среды",+ "sandboxStorage.reopenCopyFailed": "Не удалось открыть другую копию","sandboxStorage.running": "Выполняется",- "sandboxStorage.runningHint": "Что-то еще выполняется в этом экземпляре, поэтому его нельзя выбрать здесь. Он освободится автоматически примерно через 15 минут после завершения выполнения.",- "sandboxStorage.runningHintStoppable": "Что-то еще выполняется в этом экземпляре, поэтому его нельзя выбрать здесь. Он освободится автоматически примерно через 15 минут после завершения выполнения, или вы можете остановить его сейчас.",- "sandboxStorage.runningOwnHint": "Этот разговор использует этот экземпляр.",+ "sandboxStorage.runningHint": "Что-то ещё всё ещё выполняется в этой копии, поэтому её нельзя выбрать здесь. Она освобождается примерно через 15 минут после того, как выполнение становится тихим.",+ "sandboxStorage.runningHintStoppable": "Что-то ещё всё ещё выполняется в этой копии, поэтому её нельзя выбрать здесь. Она освобождается примерно через 15 минут после того, как выполнение становится тихим, или вы можете остановить её сейчас.",+ "sandboxStorage.runningOwnHint": "Собственное выполнение этого разговора использует эту копию.","sandboxStorage.setUpEnvironment": "Настроить среду","sandboxStorage.setUpEnvironmentDesc": "Постоянная директория находится в среде",+ "sandboxStorage.showCopies": "Показать копии","sandboxStorage.stop": "Остановить","sandboxStorage.workspaceGroup": "Рабочие среды","search.grounding.imageSearchQueries": "Ключевые слова для поиска изображений",diff --git a/locales/ru-RU/common.json b/locales/ru-RU/common.jsonindex 3a56a0d474d..8448e8261ac 100644--- a/locales/ru-RU/common.json+++ b/locales/ru-RU/common.json@@ -521,7 +521,7 @@"visibilityConfirm.makePrivate.itemLibrary": "Он остается в библиотеке, в которую вы его поместили — другие участники просто перестают его там видеть","visibilityConfirm.makePrivate.itemLoaded": "Контент, который уже был загружен другими, нельзя будет отозвать","visibilityConfirm.makePrivate.itemReferences": "Существующие вложения сообщений и ссылки будут отображаться как недоступные",- "visibilityConfirm.publish.itemCapturedState": "Участники могут запускать его экземпляры и получать доступ ко всему, что он захватил — файлы, входы в CLI, вашу авторизованную личность",+ "visibilityConfirm.publish.itemCapturedState": "Участники могут запускать его копии и получать доступ ко всему, что он захватил — файлы, входы в CLI, вашу авторизованную личность","visibilityConfirm.publish.itemLoaded": "После переключения обратно контент, который уже был загружен другими, нельзя будет отозвать","visibilityConfirm.publish.itemReversible": "Вы можете переключить обратно на приватный режим позже из того же меню","visibilityConfirm.publish.itemVisible": "Все участники рабочей области увидят это немедленно",diff --git a/locales/ru-RU/setting.json b/locales/ru-RU/setting.jsonindex 3e5cca67025..5c80fb39c57 100644--- a/locales/ru-RU/setting.json+++ b/locales/ru-RU/setting.json@@ -564,8 +564,9 @@"environments.cancel": "Отмена","environments.create": "Новая среда","environments.createFailed": "Не удалось создать среду",- "environments.desc": "Что нужно для запуска песочницы: репозиторий, его настройка, его переменные. Каждая созданная из нее копия сохраняет свои файлы между сессиями.",+ "environments.desc": "Что нужно для запуска песочницы: репозиторий, его настройка, его переменные. Каждая копия, созданная из одного, сохраняет свои собственные файлы между сессиями.","environments.detail.close": "Закрыть",+ "environments.detail.tabs.overview": "Обзор","environments.detail.tabs.settings": "Настройки","environments.duplicateName": "У вас уже есть среда с таким именем","environments.empty": "Сред пока нет",@@ -574,7 +575,7 @@"environments.files.binary": "Это не текстовый файл, поэтому его нельзя показать здесь.","environments.files.browse": "Просмотреть файлы","environments.files.empty": "Этот каталог пуст",- "environments.files.invalidPath": "Имя должно оставаться внутри каталога этой копии",+ "environments.files.invalidPath": "Имя должно оставаться внутри директории этой копии","environments.files.listFailed": "Не удалось отобразить содержимое этого каталога","environments.files.openHint": "Дважды щелкните папку, чтобы открыть ее, или файл, чтобы просмотреть его","environments.files.readOnlyHint": "Только для чтения: синхронизируется песочницей. Зависимости, такие как node_modules, не отображаются.",@@ -584,7 +585,7 @@"environments.files.up": "На уровень выше","environments.form.addEnv": "Новая переменная","environments.form.addSource": "Добавить репозиторий",- "environments.form.appliesOnBuild": "Применяется при создании копии. Существующие копии сохраняют определение, с которым они были созданы — пересоздание воспроизводит это определение, поэтому используйте новую копию, чтобы применить изменения.",+ "environments.form.appliesOnBuild": "Применяется при создании копии. Существующие копии сохраняют определение, с которым они были созданы — повторная сборка воспроизводит это определение, поэтому используйте новую копию, чтобы применить это.","environments.form.basics": "Основы","environments.form.bootstrap": "Команда настройки","environments.form.bootstrapHint": "Запускается один раз в процессе клонирования, с доступом к сети, до начала разговора.",@@ -599,13 +600,14 @@"environments.form.envCount_other": "{{count}} переменных","environments.form.envEmpty": "Переменных пока нет","environments.form.envEmptyHint": "Добавьте одну или вставьте целый файл .env в",- "environments.form.envHint": "Только не секретные значения — они хранятся в виде обычного текста и копируются в каждую копию.",+ "environments.form.envHint": "Только не секретные значения — они хранятся в виде обычного текста и копируются в каждую копию этой среды.","environments.form.exclude": "Восстанавливаемые пути","environments.form.excludeHint": "Один на строку, относительно копии. Указание пути означает, что его можно восстановить, поэтому он хранится отдельно от вашей работы и может быть удален для освобождения места. Все, что указано здесь и не может быть восстановлено, — это работа, которую вы можете потерять.",+ "environments.form.filesDesc": "Как называется эта папка и что она содержит для агента.","environments.form.internetAccess": "Доступ агента к интернету","environments.form.internetAccessHint": "Настройка всегда имеет доступ к сети. Это управляет самим разговором.","environments.form.maintenance": "Команда обслуживания",- "environments.form.maintenanceHint": "Запускается каждый раз, когда работа возобновляется в копии — обновление клонирования, повторное применение миграции. Не команда настройки: она дорогая и предназначена для однократного запуска.",+ "environments.form.maintenanceHint": "Запускается каждый раз, когда работа возобновляется в копии — обновление проверки, повторное применение миграции. Не команда настройки снова: она дорогая и предназначена для однократного выполнения.","environments.form.path": "Папка","environments.form.rawEditor": "Редактор в сыром виде","environments.form.rawEditorHint": "Один KEY=value на строку, как читается файл .env. Пустые строки и комментарии # игнорируются; при сохранении заменяются все переменные.",@@ -630,7 +632,7 @@"environments.github.repositoryPending": "Сначала выберите организацию","environments.github.repositoryPlaceholder": "Поиск репозиториев","environments.github.reviewAccess": "Проверить доступ",- "environments.hasInstances": "Сначала удалите ее копии",+ "environments.hasInstances": "Сначала удалите другие копии","environments.instances.add": "Новая копия","environments.instances.build": "Создать","environments.instances.buildConfirmTitle": "Создать копию {{name}}?",@@ -639,27 +641,34 @@"environments.instances.buildStatusUnknown": "Статус создания неизвестен","environments.instances.building": "Создание — клонирование и установка","environments.instances.confirm": "Создать",+ "environments.instances.copy": "Дублировать копию",+ "environments.instances.copyBuilding": "Эта копия создается, поэтому ее нельзя дублировать, пока сборка не завершится",+ "environments.instances.copyFailed": "Не удалось дублировать эту копию",+ "environments.instances.copyInUse": "Разговор использует эту копию, поэтому ее нельзя дублировать сейчас — дублируйте ее после завершения этого запуска или сначала остановите запуск",+ "environments.instances.copyOccupancyUnknown": "Не удалось проверить, используется ли эта копия, поэтому ее нельзя дублировать прямо сейчас",+ "environments.instances.copyTitle": "Дублировать {{name}}","environments.instances.count_one": "{{count}} копия","environments.instances.count_other": "{{count}} копий","environments.instances.create": "Новая копия","environments.instances.createFailed": "Не удалось создать копию",- "environments.instances.desc": "Копия — это рабочая версия этой среды с собственной папкой и установленными пакетами. Разговоры проходят внутри копии, и несколько копий могут работать параллельно, не мешая друг другу.",+ "environments.instances.defaultUndeletable": "Это копия среды по умолчанию, и её нельзя удалить отдельно — восстановите её или удалите среду",+ "environments.instances.desc": "Копия — это рабочая копия этой среды с собственной папкой и установленными пакетами. Разговоры проходят внутри копии, и несколько могут работать параллельно, не затрагивая друг друга.","environments.instances.directoryHint": "Путь к папке. Нельзя изменить после создания.","environments.instances.directoryLabel": "Каталог",- "environments.instances.directoryLocked": "Папку нельзя изменить после создания копии — удалите ее и создайте новую, чтобы переместить.",+ "environments.instances.directoryLocked": "Папку нельзя изменить после создания копии — удалите ее и создайте другую, чтобы переместить.","environments.instances.duplicateDirectory": "Другая копия уже использует эту папку",- "environments.instances.empty": "Копий пока нет",+ "environments.instances.empty": "Пока нет копий","environments.instances.emptyHint": "Создайте одну, затем выберите ее в разделе \"Рабочий каталог\" в поле ввода чата.","environments.instances.emptyReadonly": "Никто еще не создал копию этой среды. Только ее владелец может добавить одну.","environments.instances.hideLog": "Скрыть журнал",- "environments.instances.inUse": "Эта копия используется в разговоре — попробуйте снова, когда этот процесс завершится",+ "environments.instances.inUse": "Разговор использует эту копию — попробуйте снова после завершения этого запуска","environments.instances.namePlaceholder": "Имя копии","environments.instances.notBuilt": "Еще не создано — ничего не клонировано или установлено",- "environments.instances.occupancyUnavailable": "Не удалось определить, какие копии сейчас работают",- "environments.instances.overlappingDirectory": "Эта папка находится внутри папки другой копии или содержит ее",+ "environments.instances.occupancyUnavailable": "Не удалось определить, какие копии работают прямо сейчас",+ "environments.instances.overlappingDirectory": "Эта папка находится внутри папки другой копии или содержит одну","environments.instances.rebuild": "Пересоздать",- "environments.instances.rebuildConfirmContent": "Это очистит папку копии, затем снова клонирует код и выполнит скрипт настройки. Все, что сейчас в ней — изменения, сделанные в разговорах, установленные пакеты, отчеты, данные — будет потеряно. Это действие нельзя отменить.",- "environments.instances.rebuildConfirmTitle": "Пересоздать копию {{name}}?",+ "environments.instances.rebuildConfirmContent": "Это очищает папку копии, затем снова клонирует код и запускает скрипт настройки. Все, что сейчас находится в ней — изменения, сделанные в разговорах, установленные пакеты, отчеты, данные — будет потеряно. Это действие нельзя отменить.",+ "environments.instances.rebuildConfirmTitle": "Пересобрать копию {{name}}?","environments.instances.remove": "Удалить копию","environments.instances.removeConfirmContent": "Ее папка и все, что в ней хранилось — установленные пакеты, отчеты, данные — будут удалены. Это действие нельзя отменить.","environments.instances.removeConfirmTitle": "Удалить копию {{name}}?",@@ -669,23 +678,29 @@"environments.instances.renameFailed": "Не удалось переименовать эту копию","environments.instances.retryStatus": "Проверить снова","environments.instances.running": "Работает",- "environments.instances.runningHint": "Копия используется в процессе — разговоре, создании или файловом браузере. Она освободится примерно через 15 минут после завершения процесса; в истории запусков указано, что ее удерживает.",- "environments.instances.runningHintStoppable": "Копия используется в процессе — разговоре, создании или файловом браузере. Она освободится примерно через 15 минут после завершения процесса, или вы можете остановить его сейчас; в истории запусков указано, что ее удерживает.",+ "environments.instances.runningHint": "Запуск все еще использует эту копию — разговор, сборка или файловый браузер. Она освобождается автоматически примерно через 15 минут после того, как запуск становится неактивным; История запусков показывает, что удерживает ее.",+ "environments.instances.runningHintStoppable": "Запуск все еще использует эту копию — разговор, сборка или файловый браузер. Она освобождается автоматически примерно через 15 минут после того, как запуск становится неактивным, или вы можете остановить его сейчас; История запусков показывает, что удерживает ее.","environments.instances.save": "Сохранить","environments.instances.showLog": "Показать журнал","environments.instances.stop": "Остановить",- "environments.instances.stopBuilding": "Эта копия создается. Она освободится, когда создание завершится",- "environments.instances.stopBusy": "Эта копия копируется или удаляется — попробуйте снова через мгновение",- "environments.instances.stopConfirmContent": "Процесс, использующий эту копию, будет остановлен сейчас, а не после завершения. Все, что он установил и записал, будет сохранено. Разговор, находящийся в середине шага, завершит этот шаг и продолжит с сохраненного состояния с следующим сообщением.",+ "environments.instances.stopBuilding": "Эта копия создается. Она освобождается после завершения сборки",+ "environments.instances.stopBusy": "Эта копия дублируется или удаляется — попробуйте снова через мгновение",+ "environments.instances.stopConfirmContent": "Запуск, удерживающий эту копию, останавливается сейчас вместо того, чтобы ждать, пока он станет неактивным. То, что он установил и записал, сначала сохраняется. Разговор, находящийся в середине шага, прерывается на этом шаге и продолжает с сохраненного состояния с следующим сообщением.","environments.instances.stopConfirmTitle": "Остановить процесс в \"{{name}}\"?","environments.instances.stopFailed": "Не удалось остановить процесс","environments.instances.stopNothing": "В \"{{name}}\" больше ничего не работает","environments.instances.stopRefused": "Процесс не удалось остановить — попробуйте снова","environments.instances.stopSnapshotPending": "Процесс все еще сохраняет свою работу, поэтому он остался запущенным — попробуйте снова через мгновение",- "environments.instances.stopStarting": "Процесс только начинается в этой копии — попробуйте снова через мгновение",+ "environments.instances.stopStarting": "Запуск только начинается в этой копии — попробуйте снова через мгновение","environments.instances.stopped": "Остановлено. \"{{name}}\" свободен для использования","environments.instances.stopping": "Остановка — сначала сохранение процесса…","environments.instances.title": "Копии",+ "environments.kind.code": "Код",+ "environments.kind.codeDesc": "Клонируйте репозиторий, задайте переменные и выполните настройку перед запуском агента.",+ "environments.kind.files": "Файлы",+ "environments.kind.filesDesc": "Загрузите файлы, с которыми агент будет работать. Готово сразу после создания.",+ "environments.kind.filesHint": "Папка, в которую вы загружаете файлы для работы агента. Ничего не клонируется и не устанавливается, поэтому сборка не требуется — все готово сразу после создания.",+ "environments.kind.label": "Тип","environments.loadFailed.desc": "Не удалось подключиться к сервису, который определяет, есть ли у этой учетной записи постоянное рабочее пространство. С вашими средами все в порядке.","environments.loadFailed.retry": "Попробовать снова","environments.loadFailed.title": "Не удалось проверить ваш план",@@ -698,15 +713,15 @@"environments.namePlaceholder": "Имя среды","environments.refresh": "Обновить","environments.remove": "Удалить среду",- "environments.removeConfirmContent": "Ее спецификация, переменные и сохраненная копия будут удалены и не могут быть восстановлены.",+ "environments.removeConfirmContent": "Его спецификация, переменные, папка копии и сохраненный снимок удаляются вместе с ним и не могут быть восстановлены.","environments.removeConfirmTitle": "Удалить среду {{name}}?","environments.removeFailed": "Не удалось удалить эту среду","environments.saveFailed": "Не удалось сохранить изменения","environments.sessions.activeBuild": "{{instance}} сейчас создается","environments.sessions.activeSession": "Песочница сейчас работает в {{instance}}",- "environments.sessions.desc": "Последние сессии, которые запускались в этих копиях, и их создания, начиная с самых новых, с указанием, как они завершились и было ли сохранено то, что они установили.",+ "environments.sessions.desc": "Самые последние сессии, которые проходили в этих копиях и их сборках, начиная с самых новых, с указанием, как каждая завершилась и было ли сохранено то, что она установила.","environments.sessions.empty": "Здесь пока ничего не запускалось",- "environments.sessions.emptyHint": "Каждый разговор и создание в одной из ее копий будет отображаться здесь.",+ "environments.sessions.emptyHint": "Каждый разговор и сборка в этой среде будут отображаться здесь.","environments.sessions.history": "История","environments.sessions.historyEmpty": "Завершенных запусков пока нет","environments.sessions.kind.build": "Создание",@@ -736,12 +751,12 @@"environments.unavailable.title": "Постоянная песочница здесь недоступна","environments.upgrade.benefits.environments.desc": "Репозитории, команда настройки и переменные хранятся в среде; каждая песочница, созданная из нее, начинает работу готовой.","environments.upgrade.benefits.environments.title": "Настройка песочницы записывается один раз",- "environments.upgrade.benefits.instances.desc": "Параллельные разговоры работают в своих собственных копиях среды, поэтому ничего не перезаписывается.",+ "environments.upgrade.benefits.instances.desc": "Параллельные разговоры каждый проходят в своей собственной копии среды, поэтому ничего не перезаписывает друг друга.","environments.upgrade.benefits.instances.title": "Одна копия на задачу","environments.upgrade.benefits.persist.desc": "Рабочий каталог сохраняется при переработке песочницы; следующий запуск продолжается с того места, где остановился предыдущий.","environments.upgrade.benefits.persist.title": "Файлы сохраняются в песочнице","environments.upgrade.cta": "Обновить до Pro",- "environments.upgrade.desc": "Дайте запускам в облачной песочнице постоянный рабочий каталог. Среда описывает, что нужно песочнице — репозитории, настройка, переменные — и ее копии сохраняют все между сессиями.",+ "environments.upgrade.desc": "Дайте облачным запускам песочницы постоянную рабочую директорию. Среда описывает, что нужно песочнице — репозитории, настройка, переменные — и ее копии сохраняют все между сессиями.","environments.upgrade.title": "Обновите до Pro, чтобы разблокировать среды песочницы","environments.visibility.changeFailed": "Не удалось изменить видимость этой среды","environments.visibility.createPublishedConfirmTitle": "Создать эту среду в рабочем пространстве?",diff --git a/locales/tr-TR/chat.json b/locales/tr-TR/chat.jsonindex 6c3a06c5848..a4e794af182 100644--- a/locales/tr-TR/chat.json+++ b/locales/tr-TR/chat.json@@ -1903,29 +1903,41 @@"runtimeEnv.mode.noneDesc": "Çalışma zamanı ortamını devre dışı bırak","runtimeEnv.selectMode": "Çalışma Zamanı Ortamını Seç","runtimeEnv.title": "Çalışma Zamanı Ortamı",+ "sandboxStorage.allCopiesBusy": "Tüm kopyalar kullanımda","sandboxStorage.buildFailed": "Derlenemedi","sandboxStorage.building": "Derleniyor",+ "sandboxStorage.copies": "Kopyalar",+ "sandboxStorage.copyCount_one": "{{count}} kopya",+ "sandboxStorage.copyCount_other": "{{count}} kopya",+ "sandboxStorage.createCopyFailed": "Bu ortam hazırlanamadı",+ "sandboxStorage.defaultCopy": "Varsayılan","sandboxStorage.environmentsUnavailable": "Ortamlar yüklenemedi","sandboxStorage.ephemeral": "Geçici çalışma dizini","sandboxStorage.ephemeralDesc": "Kum havuzu geri dönüştürüldüğünde temizlenir","sandboxStorage.instanceBusy": "{{name}} başka bir sohbette çalışıyor. Bu sohbet onu tutar ve o çalıştırma sona erdiğinde devralır.",+ "sandboxStorage.kind.code": "Kod",+ "sandboxStorage.kind.files": "Dosyalar","sandboxStorage.manage": "Yönet",- "sandboxStorage.noInstances": "Bir örnek oluştur",- "sandboxStorage.noInstancesDesc": "Ortamlarınızın henüz bir çalışma kopyası yok",+ "sandboxStorage.noCopyColleagueDesc": "Oluşturucusu henüz bunu ayarlamadı",+ "sandboxStorage.noCopyYetDesc": "Bir kopya, ilk kez seçtiğinizde oluşturulur","sandboxStorage.persistentUpsell": "Kalıcı çalışma dizini","sandboxStorage.persistentUpsellDesc": "Çalıştırmalar ve konular arasında dosyaları saklayın",- "sandboxStorage.pickerInfoTooltip": "Bir ortam, bir çalıştırmanın çevresinde neye ihtiyaç duyduğunu tanımlar — depolar, kurulum, değişkenler. Bir örnek, kendi klasörü ve kendi kurulu paketleriyle bir çalışma kopyasıdır; sohbetler bir örnek içinde çalışır ve orada bıraktıklarını saklar.",- "sandboxStorage.pickerTitle": "Ortam Örneği",+ "sandboxStorage.pickerInfoTooltip": "Bir ortam, bir çalıştırmanın etrafında ihtiyaç duyduğu şeyleri tanımlar — dosyalar, ya da depolar, kurulum ve değişkenler. Konuşmalar, ortamın kopyalarından birinde çalışır ve orada bıraktıklarını saklar; iki konuşma aynı ortama aynı anda ihtiyaç duyduğunda ikinci bir kopya oluşturulur.",+ "sandboxStorage.pickerTitle": "Ortam","sandboxStorage.privateGroup": "Özel Ortamlar","sandboxStorage.privateInstanceBlocked": "“{{name}}” özel bir ortamda, bu nedenle bir genel ajan bunu kullanamaz. Bu konu geçici bir çalışma dizininde çalışır.","sandboxStorage.publicAgentHint_one": "{{count}} özel ortam gizli — bir genel ajan yalnızca çalışma alanı ortamlarını kullanabilir. Burada kullanmak için birini yayınlayın.","sandboxStorage.publicAgentHint_other": "{{count}} özel ortam gizli — bir genel ajan yalnızca çalışma alanı ortamlarını kullanabilir. Burada kullanmak için birini yayınlayın.",+ "sandboxStorage.reopenCopy": "Başka bir kopya aç",+ "sandboxStorage.reopenCopyDesc": "Ortam yapılandırmasından yeniden oluşturuldu",+ "sandboxStorage.reopenCopyFailed": "Başka bir kopya açılamadı","sandboxStorage.running": "Çalışıyor",- "sandboxStorage.runningHint": "Bu örnekte başka bir şey hala çalışıyor, bu yüzden burada seçilemez. O çalıştırma sessizleştiğinde yaklaşık 15 dakika içinde kendi kendine serbest bırakılır.",- "sandboxStorage.runningHintStoppable": "Bu örnekte başka bir şey hala çalışıyor, bu yüzden burada seçilemez. O çalıştırma sessizleştiğinde yaklaşık 15 dakika içinde kendi kendine serbest bırakılır veya şimdi durdurabilirsiniz.",- "sandboxStorage.runningOwnHint": "Bu sohbetin kendi çalıştırması bu örneği kullanıyor.",+ "sandboxStorage.runningHint": "Bu kopyada hala başka bir şey çalışıyor, bu yüzden burada seçilemez. Bu çalıştırma sessizleştiğinde yaklaşık 15 dakika içinde otomatik olarak serbest bırakılır.",+ "sandboxStorage.runningHintStoppable": "Bu kopyada hala başka bir şey çalışıyor, bu yüzden burada seçilemez. Bu çalıştırma sessizleştiğinde yaklaşık 15 dakika içinde otomatik olarak serbest bırakılır ya da şimdi durdurabilirsiniz.",+ "sandboxStorage.runningOwnHint": "Bu konuşmanın kendi çalıştırması bu kopyayı kullanıyor.","sandboxStorage.setUpEnvironment": "Bir ortam ayarlayın","sandboxStorage.setUpEnvironmentDesc": "Kalıcı bir dizin bir ortamda yaşar",+ "sandboxStorage.showCopies": "Kopyaları göster","sandboxStorage.stop": "Durdur","sandboxStorage.workspaceGroup": "Çalışma Alanı Ortamları","search.grounding.imageSearchQueries": "Görsel Arama Anahtar Kelimeleri",diff --git a/locales/tr-TR/common.json b/locales/tr-TR/common.jsonindex 17a6ab947f1..050cf09269a 100644--- a/locales/tr-TR/common.json+++ b/locales/tr-TR/common.json@@ -521,7 +521,7 @@"visibilityConfirm.makePrivate.itemLibrary": "Dosyaladığınız kütüphanede kalır — diğer üyeler sadece orada görmeyi bırakır","visibilityConfirm.makePrivate.itemLoaded": "Diğerlerinin zaten yüklediği içerik geri alınamaz","visibilityConfirm.makePrivate.itemReferences": "Mevcut mesaj ekleri ve referanslar kullanılamaz olarak görünecek",- "visibilityConfirm.publish.itemCapturedState": "Üyeler, örneklerini çalıştırabilir ve yakaladığı her şeye — dosyalar, CLI girişleri, oturum açmış kimliğiniz — ulaşabilir",+ "visibilityConfirm.publish.itemCapturedState": "Üyeler, kopyalarını çalıştırabilir ve yakaladığı her şeye — dosyalar, CLI girişleri, oturum açmış kimliğiniz — erişebilir","visibilityConfirm.publish.itemLoaded": "Geri döndüğünüzde, diğerlerinin zaten yüklediği içerik geri alınamaz","visibilityConfirm.publish.itemReversible": "Aynı menüden tekrar özel yapabilirsiniz","visibilityConfirm.publish.itemVisible": "Tüm çalışma alanı üyeleri bunu hemen görecek",diff --git a/locales/tr-TR/setting.json b/locales/tr-TR/setting.jsonindex 65e36c147cf..29c0653fd40 100644--- a/locales/tr-TR/setting.json+++ b/locales/tr-TR/setting.json@@ -564,8 +564,9 @@"environments.cancel": "İptal","environments.create": "Yeni ortam","environments.createFailed": "Ortam oluşturulamadı",- "environments.desc": "Bir sanal alan çalıştırmak için gerekenler: bir depo, kurulum, değişkenler. Birinden oluşturulan her örnek, oturumlar arasında kendi dosyalarını saklar.",+ "environments.desc": "Bir sandbox çalıştırmasının etrafında neye ihtiyacı var: bir depo, onun kurulumu, değişkenleri. Birinden oluşturulan her kopya, oturumlar arasında kendi dosyalarını saklar.","environments.detail.close": "Kapat",+ "environments.detail.tabs.overview": "Genel Bakış","environments.detail.tabs.settings": "Ayarlar","environments.duplicateName": "Bu isimde zaten bir ortamınız var","environments.empty": "Henüz ortam yok",@@ -574,22 +575,22 @@"environments.files.binary": "Metin dosyası değil, bu yüzden burada gösterilemez.","environments.files.browse": "Dosyalara göz at","environments.files.empty": "Bu dizin boş",- "environments.files.invalidPath": "Ad, bu örneğin dizini içinde kalmalı",+ "environments.files.invalidPath": "Ad, bu kopyanın dizini içinde kalmalıdır","environments.files.listFailed": "Bu dizin listelenemedi","environments.files.openHint": "Bir klasörü açmak için çift tıklayın veya bir dosyayı görüntülemek için çift tıklayın","environments.files.readOnlyHint": "Salt okunur: sanal alan tarafından senkronize edilir. node_modules gibi bağımlılıklar gösterilmez.","environments.files.truncated": "Yalnızca ilk girişler gösteriliyor","environments.files.unreadable": "Bu dosya okunamadı",- "environments.files.unusedInstance": "Burada henüz bir şey yok. Kod, örnek oluşturulduğunda veya bir konuşma çalıştırıldığında görünür.",+ "environments.files.unusedInstance": "Burada henüz bir şey yok. Kod, kopya oluşturulduğunda veya bir konuşma içinde çalıştırıldığında görünür.","environments.files.up": "Bir üst seviyeye çık","environments.form.addEnv": "Yeni değişken","environments.form.addSource": "Depo ekle",- "environments.form.appliesOnBuild": "Bir örnek oluşturulduğunda uygulanır. Mevcut örnekler, oluşturuldukları tanımı korur — bir yeniden oluşturma, o tanımı yeniden oynatır, bu yüzden bunu almak için yeni bir örnek kullanın.",+ "environments.form.appliesOnBuild": "Bir kopya oluşturulduğunda uygulanır. Mevcut kopyalar, oluşturuldukları tanımı korur — bir yeniden oluşturma, o tanımı yeniden oynatır, bu yüzden bunu almak için yeni bir kopya kullanın.","environments.form.basics": "Temel bilgiler","environments.form.bootstrap": "Kurulum komutu","environments.form.bootstrapHint": "Konuşma başlamadan önce, ağ erişimi ile bir kez kontrol edilir.","environments.form.changeRepository": "Depoyu değiştir",- "environments.form.desc": "Bir örneğin oluşturulduğu şey — kodun nereden geldiği ve kullanılabilir hale getiren şey.",+ "environments.form.desc": "Bir kopyanın oluşturulduğu şey — kodun nereden geldiği ve onu kullanılabilir kılan şey.","environments.form.description": "Açıklama","environments.form.descriptionPlaceholder": "Bu ortamın amacı nedir","environments.form.disconnect": "Bağlantıyı kes",@@ -599,13 +600,14 @@"environments.form.envCount_other": "{{count}} değişken","environments.form.envEmpty": "Henüz değişken yok","environments.form.envEmptyHint": "Bir tane ekleyin veya bir .env dosyasını buraya yapıştırın",- "environments.form.envHint": "Sadece gizli olmayan değerler — bunlar düz metin olarak saklanır ve her örneğe kopyalanır.",+ "environments.form.envHint": "Sadece gizli olmayan değerler — bunlar düz metin olarak saklanır ve bu ortamın her kopyasına kopyalanır.","environments.form.exclude": "Yeniden oluşturulabilir yollar","environments.form.excludeHint": "Her satırda bir, kopyaya göre göreceli. Bir yolu listelemek, onun yeniden oluşturulabileceğini belirtir, bu yüzden çalışmanızdan ayrı tutulur ve alanı geri kazanmak için atılabilir. Burada adı geçen ve yeniden oluşturulamayan her şey, kaybedebileceğiniz çalışmadır.",+ "environments.form.filesDesc": "Bu klasörün adı ve ajan için ne içerdiği.","environments.form.internetAccess": "Ajan internet erişimi","environments.form.internetAccessHint": "Kurulum her zaman ağ erişimine sahiptir. Bu, konuşmanın kendisini kontrol eder.","environments.form.maintenance": "Bakım komutu",- "environments.form.maintenanceHint": "Bir örnekte çalışma her devam ettiğinde çalışır — bir kontrolü yenilemek, bir geçişi yeniden uygulamak. Kurulum komutu tekrar değil: bu komut pahalıdır ve bir kez çalıştırılmak üzere tasarlanmıştır.",+ "environments.form.maintenanceHint": "Bir kopyada çalışma her yeniden başladığında çalışır — bir checkout'u yenilemek, bir geçişi yeniden uygulamak. Kurulum komutu değil: bu komut pahalıdır ve bir kez çalıştırılmak üzere tasarlanmıştır.","environments.form.path": "Klasör","environments.form.rawEditor": "Ham düzenleyici","environments.form.rawEditorHint": "Bir .env dosyasının okunduğu gibi, her satırda bir KEY=value. Boş satırlar ve # yorumları yok sayılır; kaydetmek her değişkeni değiştirir.",@@ -630,62 +632,75 @@"environments.github.repositoryPending": "Önce bir organizasyon seçin","environments.github.repositoryPlaceholder": "Depoları ara","environments.github.reviewAccess": "Erişimi gözden geçir",- "environments.hasInstances": "Önce örneklerini kaldırın",- "environments.instances.add": "Yeni örnek",+ "environments.hasInstances": "Önce diğer kopyalarını kaldırın",+ "environments.instances.add": "Yeni kopya","environments.instances.build": "Oluştur",- "environments.instances.buildConfirmTitle": "{{name}} örneği oluşturulsun mu?",+ "environments.instances.buildConfirmTitle": "{{name}} kopyasını oluşturulsun mu?","environments.instances.buildFailed": "Oluşturma başarısız oldu","environments.instances.buildStartFailed": "Oluşturma başlatılamadı","environments.instances.buildStatusUnknown": "Bu oluşturmanın durumu kayboldu","environments.instances.building": "Oluşturuluyor — klonlanıyor ve yükleniyor","environments.instances.confirm": "Oluştur",- "environments.instances.count_one": "{{count}} örnek",- "environments.instances.count_other": "{{count}} örnek",- "environments.instances.create": "Yeni örnek",- "environments.instances.createFailed": "Örnek oluşturulamadı",- "environments.instances.desc": "Bir örnek, bu ortamın bir çalışma kopyasıdır, kendi klasörü ve kendi yüklenmiş paketleri vardır. Konuşmalar bir örnek içinde çalışır ve birkaç tanesi birbirine dokunmadan yan yana çalışabilir.",+ "environments.instances.copy": "Kopyayı çoğalt",+ "environments.instances.copyBuilding": "Bu kopya oluşturuluyor, bu yüzden oluşturma tamamlanana kadar çoğaltılamaz",+ "environments.instances.copyFailed": "Bu kopya çoğaltılamadı",+ "environments.instances.copyInUse": "Bir konuşma bu kopyayı kullanıyor, bu yüzden şu anda çoğaltılamaz — bu çalıştırma sona erdiğinde çoğaltın veya önce çalıştırmayı durdurun",+ "environments.instances.copyOccupancyUnknown": "Bu kopyanın kullanımda olup olmadığı kontrol edilemedi, bu yüzden şu anda çoğaltılamaz",+ "environments.instances.copyTitle": "{{name}} kopyasını çoğalt",+ "environments.instances.count_one": "{{count}} kopya",+ "environments.instances.count_other": "{{count}} kopya",+ "environments.instances.create": "Yeni kopya",+ "environments.instances.createFailed": "Kopya oluşturulamadı",+ "environments.instances.defaultUndeletable": "Bu, ortamın varsayılan kopyasıdır ve tek başına silinemez — yeniden oluşturun veya ortamı silin",+ "environments.instances.desc": "Bir kopya, bu ortamın çalışan bir kopyasıdır, kendi klasörü ve kendi kurulu paketleriyle. Konuşmalar bir kopya içinde çalışır ve birkaç tanesi birbirine dokunmadan yan yana çalışabilir.","environments.instances.directoryHint": "Klasör yolu. Oluşturulduktan sonra değiştirilemez.","environments.instances.directoryLabel": "Dizin",- "environments.instances.directoryLocked": "Klasör, örnek oluşturulduktan sonra değiştirilemez — taşımak için onu silin ve başka bir tane oluşturun.",- "environments.instances.duplicateDirectory": "Başka bir örnek zaten bu klasörü kullanıyor",- "environments.instances.empty": "Henüz örnek yok",+ "environments.instances.directoryLocked": "Kopya oluşturulduktan sonra klasör değiştirilemez — taşımak için onu silin ve başka bir tane oluşturun.",+ "environments.instances.duplicateDirectory": "Başka bir kopya zaten bu klasörü kullanıyor",+ "environments.instances.empty": "Henüz kopya yok","environments.instances.emptyHint": "Bir tane oluşturun, ardından sohbet girişinde \"Çalışma Dizini\" altında seçin.",- "environments.instances.emptyReadonly": "Kimse bu ortamın bir örneğini oluşturmadı. Sadece sahibi bir tane ekleyebilir.",+ "environments.instances.emptyReadonly": "Henüz kimse bu ortamın bir kopyasını oluşturmadı. Sadece sahibi bir tane ekleyebilir.","environments.instances.hideLog": "Günlüğü gizle",- "environments.instances.inUse": "Bir konuşma bu örneği kullanıyor — bu çalıştırma sona erdiğinde tekrar deneyin",- "environments.instances.namePlaceholder": "Örnek adı",+ "environments.instances.inUse": "Bir konuşma bu kopyayı kullanıyor — bu çalıştırma sona erdiğinde tekrar deneyin",+ "environments.instances.namePlaceholder": "Kopya adı","environments.instances.notBuilt": "Henüz oluşturulmadı — hiçbir şey klonlanmadı veya yüklenmedi",- "environments.instances.occupancyUnavailable": "Şu anda hangi örneklerin çalıştığı okunamadı",- "environments.instances.overlappingDirectory": "Bu klasör başka bir örneğin klasörü içinde veya birini içeriyor",+ "environments.instances.occupancyUnavailable": "Şu anda hangi kopyaların çalıştığı okunamadı",+ "environments.instances.overlappingDirectory": "Bu klasör başka bir kopyanın klasörünün içinde veya birini içeriyor","environments.instances.rebuild": "Yeniden oluştur",- "environments.instances.rebuildConfirmContent": "Bu, örneğin klasörünü temizler, ardından kodu tekrar klonlar ve kurulum komut dosyasını çalıştırır. Şu anda içindeki her şey — konuşmalarda yapılan değişiklikler, yüklenmiş paketler, raporlar, veriler — kaybolur. Bu geri alınamaz.",- "environments.instances.rebuildConfirmTitle": "{{name}} örneği yeniden oluşturulsun mu?",- "environments.instances.remove": "Örneği sil",+ "environments.instances.rebuildConfirmContent": "Bu, kopyanın klasörünü temizler, ardından kodu tekrar klonlar ve kurulum betiğini çalıştırır. Şu anda içindeki her şey — konuşmalarda yapılan değişiklikler, kurulu paketler, raporlar, veriler — kaybolur. Bu geri alınamaz.",+ "environments.instances.rebuildConfirmTitle": "{{name}} kopyasını yeniden oluşturulsun mu?",+ "environments.instances.remove": "Kopyayı sil","environments.instances.removeConfirmContent": "Klasörü ve sakladığı her şey — yüklenmiş paketler, raporlar, veriler — silinecek. Bu geri alınamaz.",- "environments.instances.removeConfirmTitle": "{{name}} örneği silinsin mi?",- "environments.instances.removeFailed": "Bu örnek silinemedi",+ "environments.instances.removeConfirmTitle": "{{name}} kopyasını silinsin mi?",+ "environments.instances.removeFailed": "Bu kopya silinemedi","environments.instances.removing": "Siliniyor — klasörü ve içindeki her şey kaldırılıyor",- "environments.instances.rename": "Örneği yeniden adlandır",- "environments.instances.renameFailed": "Bu örnek yeniden adlandırılamadı",+ "environments.instances.rename": "Kopyayı yeniden adlandır",+ "environments.instances.renameFailed": "Bu kopya yeniden adlandırılamadı","environments.instances.retryStatus": "Tekrar kontrol et","environments.instances.running": "Çalışıyor",- "environments.instances.runningHint": "Bir çalıştırma hala bu örneği kullanıyor — bir konuşma, bir oluşturma veya dosya tarayıcısı. Bu çalıştırma sessizleştiğinde yaklaşık 15 dakika içinde kendi kendine serbest bırakılır; Çalıştırma geçmişi, hangisinin tuttuğunu gösterir.",- "environments.instances.runningHintStoppable": "Bir çalıştırma hala bu örneği kullanıyor — bir konuşma, bir oluşturma veya dosya tarayıcısı. Bu çalıştırma sessizleştiğinde yaklaşık 15 dakika içinde kendi kendine serbest bırakılır veya şimdi durdurabilirsiniz; Çalıştırma geçmişi, hangisinin tuttuğunu gösterir.",+ "environments.instances.runningHint": "Bir çalıştırma hala bu kopyayı kullanıyor — bir konuşma, bir oluşturma veya dosya tarayıcısı. Bu çalıştırma sessizleştiğinde yaklaşık 15 dakika içinde kendi kendine serbest bırakılır; Çalıştırma geçmişi, hangisinin tuttuğunu gösterir.",+ "environments.instances.runningHintStoppable": "Bir çalıştırma hala bu kopyayı kullanıyor — bir konuşma, bir oluşturma veya dosya tarayıcısı. Bu çalıştırma sessizleştiğinde yaklaşık 15 dakika içinde kendi kendine serbest bırakılır veya şimdi durdurabilirsiniz; Çalıştırma geçmişi, hangisinin tuttuğunu gösterir.","environments.instances.save": "Kaydet","environments.instances.showLog": "Günlüğü göster","environments.instances.stop": "Durdur",- "environments.instances.stopBuilding": "Bu örnek oluşturuluyor. Oluşturma tamamlandığında serbest bırakılır",- "environments.instances.stopBusy": "Bu örnek kopyalanıyor veya siliniyor — bir an sonra tekrar deneyin",- "environments.instances.stopConfirmContent": "Bu örneği tutan çalıştırma, sessizleştiğinde değil, şimdi durduruluyor. Yüklediği ve yazdığı her şey önce kaydedilir. Bir adımın ortasındaki bir konuşma, o adımı keser ve bir sonraki mesajıyla kaydedilen durumdan devam eder.",+ "environments.instances.stopBuilding": "Bu kopya oluşturuluyor. Oluşturma tamamlandığında serbest bırakılır",+ "environments.instances.stopBusy": "Bu kopya çoğaltılıyor veya siliniyor — bir an sonra tekrar deneyin",+ "environments.instances.stopConfirmContent": "Bu kopyayı tutan çalıştırma, sessizleştiğinde değil, şimdi durduruluyor. Yüklediği ve yazdığı her şey önce kaydedilir. Bir konuşma bir adımın ortasındaysa, o adım kesilir ve bir sonraki mesajıyla kaydedilen durumdan devam eder.","environments.instances.stopConfirmTitle": "\"{{name}}\" içindeki çalıştırma durdurulsun mu?","environments.instances.stopFailed": "Çalıştırma durdurulamadı","environments.instances.stopNothing": "\"{{name}}\" içinde artık hiçbir şey çalışmıyor","environments.instances.stopRefused": "Çalıştırma durdurulamadı — tekrar deneyin","environments.instances.stopSnapshotPending": "Çalıştırma hala çalışmasını kaydediyor, bu yüzden çalışır durumda bırakıldı — bir an sonra tekrar deneyin",- "environments.instances.stopStarting": "Bu örnekte bir çalıştırma yeni başlıyor — bir an sonra tekrar deneyin",+ "environments.instances.stopStarting": "Bir çalıştırma bu kopyada yeni başlıyor — bir an sonra tekrar deneyin","environments.instances.stopped": "Durduruldu. \"{{name}}\" kullanıma hazır","environments.instances.stopping": "Durduruluyor — önce çalıştırma kaydediliyor…",- "environments.instances.title": "Örnekler",+ "environments.instances.title": "Kopyalar",+ "environments.kind.code": "Kod",+ "environments.kind.codeDesc": "Bir depo klonlayın, değişkenleri ayarlayın ve ajan başlamadan önce kurulumu gerçekleştirin.",+ "environments.kind.files": "Dosyalar",+ "environments.kind.filesDesc": "Bir ajanın üzerinde çalışması için dosyalar yükleyin. Oluşturulduğu anda hazırdır.",+ "environments.kind.filesHint": "Bir ajanın üzerinde çalışması için dosyalar yüklediğiniz bir klasör. Hiçbir şey klonlanmaz veya yüklenmez, bu yüzden bir derleme yoktur — oluşturulduğu anda hazırdır.",+ "environments.kind.label": "Tür","environments.loadFailed.desc": "Bu hesabın kalıcı bir çalışma alanına sahip olup olmadığını söyleyen hizmete ulaşamadık. Ortamlarınızla ilgili bir sorun yok.","environments.loadFailed.retry": "Tekrar deneyin","environments.loadFailed.title": "Planınız kontrol edilemedi",@@ -698,15 +713,15 @@"environments.namePlaceholder": "Ortam adı","environments.refresh": "Yenile","environments.remove": "Ortamı sil",- "environments.removeConfirmContent": "Spesifikasyonu, değişkenleri ve kaydedilen anlık görüntüsü ile birlikte gider ve geri alınamaz.",+ "environments.removeConfirmContent": "Tanımı, değişkenleri, kopyasının klasörü ve kaydedilen anlık görüntü onunla birlikte gider ve geri alınamaz.","environments.removeConfirmTitle": "{{name}} ortamı silinsin mi?","environments.removeFailed": "Bu ortam silinemedi","environments.saveFailed": "Bu değişiklik kaydedilemedi","environments.sessions.activeBuild": "{{instance}} şu anda oluşturuluyor","environments.sessions.activeSession": "Bir sanal alan şu anda {{instance}} içinde çalışıyor",- "environments.sessions.desc": "Bu örneklerde çalıştırılan en son oturumlar ve bunların oluşturulmaları, en yeniden en eskiye, her birinin nasıl sona erdiği ve yüklediklerinin kaydedilip kaydedilmediği ile birlikte.",+ "environments.sessions.desc": "Bu kopyalarda çalıştırılan en son oturumlar ve onların oluşturulmaları, en yenisi ilk sırada, her birinin nasıl sona erdiği ve yüklediklerinin kaydedilip kaydedilmediği.","environments.sessions.empty": "Burada henüz bir şey çalıştırılmadı",- "environments.sessions.emptyHint": "Örneklerinden birinde yapılan her konuşma ve oluşturma burada görünecek.",+ "environments.sessions.emptyHint": "Bu ortamda yapılan her konuşma ve oluşturma burada görünecek.","environments.sessions.history": "Geçmiş","environments.sessions.historyEmpty": "Henüz tamamlanmış çalıştırma yok","environments.sessions.kind.build": "Oluşturma",@@ -727,7 +742,7 @@"environments.sessions.snapshotSaved": "{{size}} kaydedildi","environments.sessions.stale": "Kayıtlı bir son yok","environments.sessions.title": "Çalıştırma geçmişi",- "environments.sessions.unavailable": "Geçmişin bir kısmı okunamadı — bazı örnekler bu listede eksik",+ "environments.sessions.unavailable": "Geçmişin bir kısmı okunamadı — bazı kopyalar bu listede eksik","environments.storage.measuredAt": "{{time}} tarihinde ölçüldü. Yeniden ölçmek için yenileyin.","environments.storage.over": "Depolama sınırının üzerinde. Bir dosya kaydetmek, bir şey silene kadar reddedilir.","environments.storage.unmeasured": "Depolama henüz ölçülmedi · {{total}} kullanılabilir",@@ -736,12 +751,12 @@"environments.unavailable.title": "Kalıcı sanal alan burada mevcut değil","environments.upgrade.benefits.environments.desc": "Depolar, kurulum komutu ve değişkenler ortamda yaşar; ondan oluşturulan her sanal alan hazır başlar.","environments.upgrade.benefits.environments.title": "Sanal alan kurulumu bir kez yazılır",- "environments.upgrade.benefits.instances.desc": "Paralel konuşmalar, ortamın kendi örneğinde çalışır, böylece hiçbir şey başka bir şeyi geçersiz kılmaz.",- "environments.upgrade.benefits.instances.title": "Her görev için bir örnek",+ "environments.upgrade.benefits.instances.desc": "Paralel konuşmalar, her biri kendi ortam kopyasında çalışır, bu yüzden hiçbir şey başka bir şeyi üzerine yazmaz.",+ "environments.upgrade.benefits.instances.title": "Görev başına bir kopya","environments.upgrade.benefits.persist.desc": "Çalışma dizini, sanal alan geri dönüştürüldüğünde korunur; bir sonraki çalıştırma, son durduğu yerden devam eder.","environments.upgrade.benefits.persist.title": "Dosyalar sanal alanı aşar","environments.upgrade.cta": "Pro'ya Yükselt",- "environments.upgrade.desc": "Bulut-sanal alan çalıştırmalarına kalıcı bir çalışma dizini verin. Bir ortam, sanal alanın ihtiyaç duyduğu şeyleri tanımlar — depolar, kurulum, değişkenler — ve örnekleri oturumlar arasında her şeyi saklar.",+ "environments.upgrade.desc": "Bulut-sandbox çalıştırmalarına kalıcı bir çalışma dizini verin. Bir ortam, sandbox'ın ihtiyaç duyduğu şeyleri tanımlar — depolar, kurulum, değişkenler — ve kopyaları oturumlar arasında her şeyi saklar.","environments.upgrade.title": "Sanal alan ortamlarının kilidini açmak için Pro'ya yükseltin","environments.visibility.changeFailed": "Bu ortamın görünürlüğü değiştirilemedi","environments.visibility.createPublishedConfirmTitle": "Bu ortam çalışma alanında oluşturulsun mu?",diff --git a/locales/vi-VN/chat.json b/locales/vi-VN/chat.jsonindex 815318f5f36..20c25d78ae1 100644--- a/locales/vi-VN/chat.json+++ b/locales/vi-VN/chat.json@@ -1903,29 +1903,41 @@"runtimeEnv.mode.noneDesc": "Vô hiệu hóa môi trường chạy","runtimeEnv.selectMode": "Chọn Môi trường Chạy","runtimeEnv.title": "Môi trường Chạy",+ "sandboxStorage.allCopiesBusy": "Mọi bản sao đang được sử dụng","sandboxStorage.buildFailed": "Không xây dựng được","sandboxStorage.building": "Đang xây dựng",+ "sandboxStorage.copies": "Bản sao",+ "sandboxStorage.copyCount_one": "{{count}} bản sao",+ "sandboxStorage.copyCount_other": "{{count}} bản sao",+ "sandboxStorage.createCopyFailed": "Môi trường này không thể được chuẩn bị",+ "sandboxStorage.defaultCopy": "Mặc định","sandboxStorage.environmentsUnavailable": "Không thể tải môi trường","sandboxStorage.ephemeral": "Thư mục làm việc tạm thời","sandboxStorage.ephemeralDesc": "Được dọn dẹp khi sandbox được tái chế","sandboxStorage.instanceBusy": "{{name}} đang chạy trong một cuộc trò chuyện khác. Cuộc trò chuyện này sẽ giữ nó và tiếp tục khi chạy đó kết thúc.",+ "sandboxStorage.kind.code": "Mã",+ "sandboxStorage.kind.files": "Tệp","sandboxStorage.manage": "Quản lý",- "sandboxStorage.noInstances": "Tạo một phiên bản",- "sandboxStorage.noInstancesDesc": "Môi trường của bạn chưa có bản sao làm việc",+ "sandboxStorage.noCopyColleagueDesc": "Người tạo chưa thiết lập nó",+ "sandboxStorage.noCopyYetDesc": "Một bản sao sẽ được tạo lần đầu tiên bạn chọn nó","sandboxStorage.persistentUpsell": "Thư mục làm việc cố định","sandboxStorage.persistentUpsellDesc": "Giữ tệp qua các lần chạy và chủ đề",- "sandboxStorage.pickerInfoTooltip": "Một môi trường mô tả những gì một lần chạy cần xung quanh nó — kho lưu trữ, thiết lập, biến số. Một phiên bản là một bản sao làm việc của nó, với thư mục riêng và các gói đã cài đặt riêng; các cuộc trò chuyện chạy bên trong một phiên bản và giữ những gì chúng để lại ở đó.",- "sandboxStorage.pickerTitle": "Phiên bản Môi trường",+ "sandboxStorage.pickerInfoTooltip": "Một môi trường mô tả những gì một lần chạy cần xung quanh nó — tệp, hoặc kho lưu trữ, thiết lập và biến số. Các cuộc hội thoại chạy bên trong một trong các bản sao của nó và giữ lại những gì chúng để lại ở đó; một bản sao thứ hai chỉ xuất hiện khi hai cuộc hội thoại cần cùng một môi trường cùng lúc.",+ "sandboxStorage.pickerTitle": "Môi trường","sandboxStorage.privateGroup": "Môi trường Riêng tư","sandboxStorage.privateInstanceBlocked": "“{{name}}” nằm trong một môi trường riêng tư, mà một agent công khai không thể sử dụng. Chủ đề này sẽ chạy trong một thư mục làm việc tạm thời thay thế.","sandboxStorage.publicAgentHint_one": "{{count}} môi trường riêng tư bị ẩn — một agent công khai chỉ có thể sử dụng các môi trường của không gian làm việc. Công khai nó để sử dụng ở đây.","sandboxStorage.publicAgentHint_other": "{{count}} môi trường riêng tư bị ẩn — một agent công khai chỉ có thể sử dụng các môi trường của không gian làm việc. Công khai một trong số đó để sử dụng ở đây.",+ "sandboxStorage.reopenCopy": "Mở một bản sao khác",+ "sandboxStorage.reopenCopyDesc": "Được xây dựng lại từ cấu hình môi trường",+ "sandboxStorage.reopenCopyFailed": "Không thể mở một bản sao khác","sandboxStorage.running": "Đang chạy",- "sandboxStorage.runningHint": "Một cái gì đó khác vẫn đang chạy trong phiên bản này, vì vậy nó không thể được chọn ở đây. Nó sẽ tự động được giải phóng khoảng 15 phút sau khi chạy đó im lặng.",- "sandboxStorage.runningHintStoppable": "Một cái gì đó khác vẫn đang chạy trong phiên bản này, vì vậy nó không thể được chọn ở đây. Nó sẽ tự động được giải phóng khoảng 15 phút sau khi chạy đó im lặng, hoặc bạn có thể dừng nó ngay bây giờ.",- "sandboxStorage.runningOwnHint": "Chạy của cuộc trò chuyện này đang sử dụng phiên bản này.",+ "sandboxStorage.runningHint": "Một thứ khác vẫn đang chạy trong bản sao này, vì vậy nó không thể được chọn ở đây. Nó sẽ tự động được giải phóng khoảng 15 phút sau khi lần chạy đó im lặng.",+ "sandboxStorage.runningHintStoppable": "Một thứ khác vẫn đang chạy trong bản sao này, vì vậy nó không thể được chọn ở đây. Nó sẽ tự động được giải phóng khoảng 15 phút sau khi lần chạy đó im lặng, hoặc bạn có thể dừng nó ngay bây giờ.",+ "sandboxStorage.runningOwnHint": "Lần chạy của cuộc hội thoại này đang sử dụng bản sao này.","sandboxStorage.setUpEnvironment": "Thiết lập một môi trường","sandboxStorage.setUpEnvironmentDesc": "Một thư mục cố định sống trong một môi trường",+ "sandboxStorage.showCopies": "Hiển thị các bản sao","sandboxStorage.stop": "Dừng","sandboxStorage.workspaceGroup": "Môi trường Không gian làm việc","search.grounding.imageSearchQueries": "Từ khóa tìm kiếm hình ảnh",diff --git a/locales/vi-VN/common.json b/locales/vi-VN/common.jsonindex 0836ac8b7c0..110e84fe9f5 100644--- a/locales/vi-VN/common.json+++ b/locales/vi-VN/common.json@@ -521,7 +521,7 @@"visibilityConfirm.makePrivate.itemLibrary": "Nó vẫn ở trong thư viện mà bạn đã lưu trữ — các thành viên khác chỉ không còn nhìn thấy nó ở đó","visibilityConfirm.makePrivate.itemLoaded": "Nội dung mà người khác đã tải xuống không thể thu hồi lại","visibilityConfirm.makePrivate.itemReferences": "Các tệp đính kèm và tham chiếu trong tin nhắn hiện có sẽ hiển thị là không khả dụng",- "visibilityConfirm.publish.itemCapturedState": "Các thành viên có thể chạy các phiên bản của nó và truy cập mọi thứ mà nó đã thu thập — tệp, đăng nhập CLI, danh tính đã đăng nhập của bạn",+ "visibilityConfirm.publish.itemCapturedState": "Các thành viên có thể chạy các bản sao của nó và truy cập mọi thứ mà nó đã thu thập — tệp, đăng nhập CLI, danh tính đã đăng nhập của bạn","visibilityConfirm.publish.itemLoaded": "Sau khi chuyển đổi lại, nội dung mà người khác đã tải xuống không thể thu hồi lại","visibilityConfirm.publish.itemReversible": "Bạn có thể chuyển lại sang chế độ riêng tư sau từ cùng một menu","visibilityConfirm.publish.itemVisible": "Tất cả các thành viên trong không gian làm việc sẽ thấy điều này ngay lập tức",diff --git a/locales/vi-VN/setting.json b/locales/vi-VN/setting.jsonindex 40b2a280088..8233719b9e5 100644--- a/locales/vi-VN/setting.json+++ b/locales/vi-VN/setting.json@@ -564,8 +564,9 @@"environments.cancel": "Hủy","environments.create": "Môi trường mới","environments.createFailed": "Không thể tạo môi trường",- "environments.desc": "Những gì một sandbox cần để chạy: một kho lưu trữ, thiết lập của nó, các biến của nó. Mỗi phiên bản được tạo từ một môi trường giữ các tệp riêng của nó giữa các phiên.",+ "environments.desc": "Những gì một sandbox cần để chạy: một kho lưu trữ, thiết lập của nó, các biến của nó. Mỗi bản sao được tạo từ một môi trường sẽ giữ các tệp riêng của nó giữa các phiên làm việc.","environments.detail.close": "Đóng",+ "environments.detail.tabs.overview": "Tổng quan","environments.detail.tabs.settings": "Cài đặt","environments.duplicateName": "Bạn đã có một môi trường với tên này","environments.empty": "Chưa có môi trường nào",@@ -574,22 +575,22 @@"environments.files.binary": "Không phải tệp văn bản, vì vậy không thể hiển thị ở đây.","environments.files.browse": "Duyệt tệp","environments.files.empty": "Thư mục này trống",- "environments.files.invalidPath": "Tên phải nằm trong thư mục của phiên bản này",+ "environments.files.invalidPath": "Tên phải nằm trong thư mục của bản sao này","environments.files.listFailed": "Không thể liệt kê thư mục này","environments.files.openHint": "Nhấp đúp vào thư mục để mở, hoặc vào tệp để xem","environments.files.readOnlyHint": "Chỉ đọc: được đồng bộ hóa bởi sandbox. Các phụ thuộc như node_modules không được hiển thị.","environments.files.truncated": "Chỉ hiển thị các mục đầu tiên","environments.files.unreadable": "Không thể đọc tệp này",- "environments.files.unusedInstance": "Chưa có gì ở đây. Mã sẽ xuất hiện khi phiên bản được xây dựng hoặc một cuộc hội thoại chạy trong đó.",+ "environments.files.unusedInstance": "Chưa có gì ở đây. Mã sẽ xuất hiện khi bản sao được xây dựng hoặc một cuộc hội thoại chạy trong đó.","environments.files.up": "Lên một cấp","environments.form.addEnv": "Biến mới","environments.form.addSource": "Thêm kho lưu trữ",- "environments.form.appliesOnBuild": "Áp dụng khi một phiên bản được tạo. Các phiên bản hiện có giữ định nghĩa mà chúng được tạo ra — xây dựng lại sẽ phát lại định nghĩa đó, vì vậy hãy sử dụng một phiên bản mới để áp dụng điều này.",+ "environments.form.appliesOnBuild": "Áp dụng khi một bản sao được tạo. Các bản sao hiện có giữ nguyên định nghĩa mà chúng được tạo ra — một lần xây dựng lại sẽ phát lại định nghĩa đó, vì vậy hãy sử dụng một bản sao mới để áp dụng điều này.","environments.form.basics": "Cơ bản","environments.form.bootstrap": "Lệnh thiết lập","environments.form.bootstrapHint": "Chạy một lần trong bản sao, với quyền truy cập mạng, trước khi cuộc hội thoại bắt đầu.","environments.form.changeRepository": "Thay đổi kho lưu trữ",- "environments.form.desc": "Những gì một phiên bản được xây dựng từ — nơi mã đến và những gì làm cho nó có thể sử dụng được.",+ "environments.form.desc": "Những gì một bản sao được xây dựng từ — nơi mã nguồn đến và những gì làm cho nó có thể sử dụng được.","environments.form.description": "Mô tả","environments.form.descriptionPlaceholder": "Môi trường này dùng để làm gì","environments.form.disconnect": "Ngắt kết nối",@@ -599,13 +600,14 @@"environments.form.envCount_other": "{{count}} biến","environments.form.envEmpty": "Chưa có biến nào","environments.form.envEmptyHint": "Thêm một biến, hoặc dán toàn bộ tệp .env vào",- "environments.form.envHint": "Chỉ các giá trị không bí mật — chúng được lưu trữ dưới dạng văn bản thuần và được sao chép vào mọi phiên bản.",+ "environments.form.envHint": "Chỉ các giá trị không bí mật — chúng được lưu trữ dưới dạng văn bản thuần túy và được sao chép vào mỗi bản sao của môi trường này.","environments.form.exclude": "Đường dẫn có thể tái tạo","environments.form.excludeHint": "Mỗi dòng một đường dẫn, tương đối với bản sao. Liệt kê một đường dẫn cho biết nó có thể được tái tạo, vì vậy nó được giữ riêng biệt với công việc của bạn và có thể bị loại bỏ để giải phóng không gian. Bất kỳ thứ gì được liệt kê ở đây mà không thể tái tạo là công việc bạn có thể mất.",+ "environments.form.filesDesc": "Thư mục này được gọi là gì và nó chứa gì cho agent.","environments.form.internetAccess": "Quyền truy cập internet của Agent","environments.form.internetAccessHint": "Thiết lập luôn có quyền truy cập mạng. Điều này kiểm soát chính cuộc hội thoại.","environments.form.maintenance": "Lệnh bảo trì",- "environments.form.maintenanceHint": "Chạy mỗi khi công việc tiếp tục trong một phiên bản — làm mới một bản sao, áp dụng lại một di chuyển. Không phải lệnh thiết lập: lệnh đó đắt đỏ và chỉ chạy một lần.",+ "environments.form.maintenanceHint": "Chạy mỗi khi công việc được tiếp tục trong một bản sao — làm mới một lần kiểm tra, áp dụng lại một lần di chuyển. Không phải lệnh thiết lập: lệnh đó tốn kém và chỉ nên chạy một lần.","environments.form.path": "Thư mục","environments.form.rawEditor": "Trình chỉnh sửa thô","environments.form.rawEditorHint": "Mỗi dòng một KEY=value, giống như cách một tệp .env đọc. Các dòng trống và # nhận xét bị bỏ qua; lưu sẽ thay thế mọi biến.",@@ -630,62 +632,75 @@"environments.github.repositoryPending": "Chọn một tổ chức trước","environments.github.repositoryPlaceholder": "Tìm kiếm kho lưu trữ","environments.github.reviewAccess": "Xem lại quyền truy cập",- "environments.hasInstances": "Xóa các phiên bản của nó trước",- "environments.instances.add": "Phiên bản mới",+ "environments.hasInstances": "Hãy xóa các bản sao khác của nó trước",+ "environments.instances.add": "Bản sao mới","environments.instances.build": "Xây dựng",- "environments.instances.buildConfirmTitle": "Xây dựng phiên bản {{name}}?",+ "environments.instances.buildConfirmTitle": "Xây dựng bản sao {{name}}?","environments.instances.buildFailed": "Xây dựng thất bại","environments.instances.buildStartFailed": "Không thể bắt đầu xây dựng","environments.instances.buildStatusUnknown": "Mất dấu trạng thái xây dựng này","environments.instances.building": "Đang xây dựng — sao chép và cài đặt","environments.instances.confirm": "Tạo",- "environments.instances.count_one": "{{count}} phiên bản",- "environments.instances.count_other": "{{count}} phiên bản",- "environments.instances.create": "Phiên bản mới",- "environments.instances.createFailed": "Không thể tạo phiên bản",- "environments.instances.desc": "Một phiên bản là một bản sao làm việc của môi trường này, với thư mục riêng và các gói đã cài đặt riêng. Các cuộc hội thoại chạy bên trong một phiên bản, và nhiều phiên bản có thể chạy song song mà không ảnh hưởng lẫn nhau.",+ "environments.instances.copy": "Nhân đôi bản sao",+ "environments.instances.copyBuilding": "Bản sao này đang được xây dựng, vì vậy không thể nhân đôi cho đến khi hoàn tất xây dựng",+ "environments.instances.copyFailed": "Không thể nhân đôi bản sao này",+ "environments.instances.copyInUse": "Một cuộc hội thoại đang sử dụng bản sao này, vì vậy không thể nhân đôi ngay bây giờ — hãy nhân đôi nó sau khi phiên chạy kết thúc, hoặc dừng phiên chạy trước",+ "environments.instances.copyOccupancyUnknown": "Không thể kiểm tra xem bản sao này có đang được sử dụng hay không, vì vậy không thể nhân đôi ngay bây giờ",+ "environments.instances.copyTitle": "Nhân đôi {{name}}",+ "environments.instances.count_one": "{{count}} bản sao",+ "environments.instances.count_other": "{{count}} bản sao",+ "environments.instances.create": "Bản sao mới",+ "environments.instances.createFailed": "Không thể tạo bản sao",+ "environments.instances.defaultUndeletable": "Đây là bản sao mặc định của môi trường và không thể tự xóa — hãy xây dựng lại nó hoặc xóa môi trường",+ "environments.instances.desc": "Một bản sao là một bản làm việc của môi trường này, với thư mục riêng và các gói đã cài đặt riêng. Các cuộc hội thoại chạy bên trong một bản sao, và nhiều bản sao có thể chạy song song mà không ảnh hưởng lẫn nhau.","environments.instances.directoryHint": "Đường dẫn thư mục. Không thể thay đổi sau khi tạo.","environments.instances.directoryLabel": "Thư mục",- "environments.instances.directoryLocked": "Thư mục không thể thay đổi sau khi phiên bản được xây dựng — xóa nó và tạo một phiên bản khác để di chuyển.",- "environments.instances.duplicateDirectory": "Một phiên bản khác đã sử dụng thư mục này",- "environments.instances.empty": "Chưa có phiên bản nào",+ "environments.instances.directoryLocked": "Thư mục không thể thay đổi sau khi bản sao được xây dựng — hãy xóa nó và tạo một bản khác để di chuyển.",+ "environments.instances.duplicateDirectory": "Một bản sao khác đã sử dụng thư mục này",+ "environments.instances.empty": "Chưa có bản sao nào","environments.instances.emptyHint": "Tạo một phiên bản, sau đó chọn nó dưới \"Thư mục làm việc\" trong đầu vào trò chuyện.",- "environments.instances.emptyReadonly": "Chưa ai tạo một phiên bản của môi trường này. Chỉ chủ sở hữu của nó mới có thể thêm một phiên bản.",+ "environments.instances.emptyReadonly": "Chưa ai tạo bản sao của môi trường này. Chỉ chủ sở hữu mới có thể thêm một bản.","environments.instances.hideLog": "Ẩn nhật ký",- "environments.instances.inUse": "Một cuộc hội thoại đang sử dụng phiên bản này — thử lại khi phiên đó kết thúc",- "environments.instances.namePlaceholder": "Tên phiên bản",+ "environments.instances.inUse": "Một cuộc hội thoại đang sử dụng bản sao này — hãy thử lại sau khi phiên chạy kết thúc",+ "environments.instances.namePlaceholder": "Tên bản sao","environments.instances.notBuilt": "Chưa được xây dựng — chưa có gì được sao chép hoặc cài đặt",- "environments.instances.occupancyUnavailable": "Không thể đọc phiên bản nào đang chạy ngay bây giờ",- "environments.instances.overlappingDirectory": "Thư mục này nằm trong thư mục của một phiên bản khác, hoặc chứa một phiên bản",+ "environments.instances.occupancyUnavailable": "Không thể đọc được bản sao nào đang chạy ngay bây giờ",+ "environments.instances.overlappingDirectory": "Thư mục này nằm trong thư mục của một bản sao khác, hoặc chứa một bản sao khác","environments.instances.rebuild": "Xây dựng lại",- "environments.instances.rebuildConfirmContent": "Điều này sẽ xóa thư mục của phiên bản, sau đó sao chép mã lại và chạy kịch bản thiết lập. Mọi thứ trong đó bây giờ — các thay đổi được thực hiện trong các cuộc hội thoại, các gói đã cài đặt, báo cáo, dữ liệu — sẽ bị mất. Điều này không thể hoàn tác.",- "environments.instances.rebuildConfirmTitle": "Xây dựng lại phiên bản {{name}}?",- "environments.instances.remove": "Xóa phiên bản",+ "environments.instances.rebuildConfirmContent": "Điều này sẽ xóa thư mục của bản sao, sau đó sao chép lại mã nguồn và chạy lại kịch bản thiết lập. Mọi thứ trong đó hiện tại — các thay đổi được thực hiện trong các cuộc hội thoại, các gói đã cài đặt, báo cáo, dữ liệu — sẽ bị mất. Điều này không thể hoàn tác.",+ "environments.instances.rebuildConfirmTitle": "Xây dựng lại bản sao {{name}}?",+ "environments.instances.remove": "Xóa bản sao","environments.instances.removeConfirmContent": "Thư mục của nó và mọi thứ nó giữ — các gói đã cài đặt, báo cáo, dữ liệu — sẽ bị xóa. Điều này không thể hoàn tác.",- "environments.instances.removeConfirmTitle": "Xóa phiên bản {{name}}?",- "environments.instances.removeFailed": "Không thể xóa phiên bản này",+ "environments.instances.removeConfirmTitle": "Xóa bản sao {{name}}?",+ "environments.instances.removeFailed": "Không thể xóa bản sao này","environments.instances.removing": "Đang xóa — xóa thư mục của nó và mọi thứ trong đó",- "environments.instances.rename": "Đổi tên phiên bản",- "environments.instances.renameFailed": "Không thể đổi tên phiên bản này",+ "environments.instances.rename": "Đổi tên bản sao",+ "environments.instances.renameFailed": "Không thể đổi tên bản sao này","environments.instances.retryStatus": "Kiểm tra lại","environments.instances.running": "Đang chạy",- "environments.instances.runningHint": "Một phiên đang sử dụng phiên bản này — một cuộc hội thoại, một xây dựng, hoặc trình duyệt tệp. Nó sẽ tự động được giải phóng khoảng 15 phút sau khi phiên đó không hoạt động; Lịch sử chạy hiển thị phiên nào đang giữ nó.",- "environments.instances.runningHintStoppable": "Một phiên đang sử dụng phiên bản này — một cuộc hội thoại, một xây dựng, hoặc trình duyệt tệp. Nó sẽ tự động được giải phóng khoảng 15 phút sau khi phiên đó không hoạt động, hoặc bạn có thể dừng nó ngay bây giờ; Lịch sử chạy hiển thị phiên nào đang giữ nó.",+ "environments.instances.runningHint": "Một phiên chạy vẫn đang sử dụng bản sao này — một cuộc hội thoại, một lần xây dựng, hoặc trình duyệt tệp. Nó sẽ tự động được giải phóng khoảng 15 phút sau khi phiên chạy im lặng; Lịch sử chạy cho thấy phiên nào đang giữ nó.",+ "environments.instances.runningHintStoppable": "Một phiên chạy vẫn đang sử dụng bản sao này — một cuộc hội thoại, một lần xây dựng, hoặc trình duyệt tệp. Nó sẽ tự động được giải phóng khoảng 15 phút sau khi phiên chạy im lặng, hoặc bạn có thể dừng nó ngay bây giờ; Lịch sử chạy cho thấy phiên nào đang giữ nó.","environments.instances.save": "Lưu","environments.instances.showLog": "Hiển thị nhật ký","environments.instances.stop": "Dừng",- "environments.instances.stopBuilding": "Phiên bản này đang được xây dựng. Nó sẽ được giải phóng khi xây dựng hoàn tất",- "environments.instances.stopBusy": "Phiên bản này đang được sao chép hoặc xóa — thử lại trong giây lát",- "environments.instances.stopConfirmContent": "Phiên giữ phiên bản này sẽ bị dừng ngay bây giờ thay vì khi nó không hoạt động. Những gì nó đã cài đặt và viết sẽ được lưu trước. Một cuộc hội thoại đang ở giữa một bước sẽ bị cắt ngang bước đó, và tiếp tục từ trạng thái đã lưu với tin nhắn tiếp theo của nó.",+ "environments.instances.stopBuilding": "Bản sao này đang được xây dựng. Nó sẽ được giải phóng khi hoàn tất xây dựng",+ "environments.instances.stopBusy": "Bản sao này đang được nhân đôi hoặc xóa — hãy thử lại sau một lúc",+ "environments.instances.stopConfirmContent": "Phiên chạy giữ bản sao này sẽ bị dừng ngay bây giờ thay vì chờ khi nó im lặng. Những gì nó đã cài đặt và ghi lại sẽ được lưu trước. Một cuộc hội thoại đang ở giữa một bước sẽ bị cắt ngang bước đó, và tiếp tục từ trạng thái đã lưu với tin nhắn tiếp theo.","environments.instances.stopConfirmTitle": "Dừng phiên trong \"{{name}}\"?","environments.instances.stopFailed": "Không thể dừng phiên","environments.instances.stopNothing": "Không có gì đang chạy trong \"{{name}}\" nữa","environments.instances.stopRefused": "Phiên không thể dừng — thử lại","environments.instances.stopSnapshotPending": "Phiên vẫn đang lưu công việc của nó, vì vậy nó đã được để lại chạy — thử lại trong giây lát",- "environments.instances.stopStarting": "Một phiên vừa mới bắt đầu trong phiên bản này — thử lại trong giây lát",+ "environments.instances.stopStarting": "Một phiên chạy vừa mới bắt đầu trong bản sao này — hãy thử lại sau một lúc","environments.instances.stopped": "Đã dừng. \"{{name}}\" sẵn sàng để sử dụng","environments.instances.stopping": "Đang dừng — lưu phiên trước…",- "environments.instances.title": "Phiên bản",+ "environments.instances.title": "Các bản sao",+ "environments.kind.code": "Mã",+ "environments.kind.codeDesc": "Sao chép một kho lưu trữ, đặt các biến và chạy thiết lập trước khi agent bắt đầu.",+ "environments.kind.files": "Tệp",+ "environments.kind.filesDesc": "Tải lên các tệp để một agent làm việc. Sẵn sàng ngay khi được tạo.",+ "environments.kind.filesHint": "Một thư mục bạn tải lên các tệp để một agent làm việc. Không có gì được sao chép hoặc cài đặt, vì vậy không có bản dựng — nó sẵn sàng ngay khi được tạo.",+ "environments.kind.label": "Loại","environments.loadFailed.desc": "Chúng tôi không thể kết nối với dịch vụ cho biết liệu tài khoản này có không gian làm việc liên tục hay không. Không có gì sai với các môi trường của bạn.","environments.loadFailed.retry": "Thử lại","environments.loadFailed.title": "Không thể kiểm tra gói của bạn",@@ -698,15 +713,15 @@"environments.namePlaceholder": "Tên môi trường","environments.refresh": "Làm mới","environments.remove": "Xóa môi trường",- "environments.removeConfirmContent": "Đặc tả của nó, các biến và ảnh chụp nhanh đã lưu sẽ bị xóa, và không thể khôi phục.",+ "environments.removeConfirmContent": "Định nghĩa, các biến, thư mục của bản sao và ảnh chụp nhanh đã lưu sẽ bị xóa cùng với nó, và không thể khôi phục.","environments.removeConfirmTitle": "Xóa môi trường {{name}}?","environments.removeFailed": "Không thể xóa môi trường này","environments.saveFailed": "Không thể lưu thay đổi này","environments.sessions.activeBuild": "{{instance}} đang được xây dựng ngay bây giờ","environments.sessions.activeSession": "Một sandbox đang chạy trong {{instance}} ngay bây giờ",- "environments.sessions.desc": "Các phiên gần đây nhất đã chạy trong các phiên bản này và các bản xây dựng của chúng, mới nhất trước, với cách mỗi phiên kết thúc và liệu những gì nó đã cài đặt có được lưu hay không.",+ "environments.sessions.desc": "Các phiên gần đây nhất đã chạy trong các bản sao này và các lần xây dựng của chúng, từ mới nhất đến cũ nhất, với cách mỗi phiên kết thúc và liệu những gì nó đã cài đặt có được lưu hay không.","environments.sessions.empty": "Chưa có gì chạy ở đây",- "environments.sessions.emptyHint": "Mỗi cuộc hội thoại và xây dựng trong một trong các phiên bản của nó sẽ xuất hiện ở đây.",+ "environments.sessions.emptyHint": "Mỗi cuộc hội thoại và lần xây dựng trong môi trường này sẽ xuất hiện ở đây.","environments.sessions.history": "Lịch sử","environments.sessions.historyEmpty": "Chưa có phiên nào kết thúc","environments.sessions.kind.build": "Xây dựng",@@ -727,7 +742,7 @@"environments.sessions.snapshotSaved": "Đã lưu {{size}}","environments.sessions.stale": "Không có kết thúc được ghi lại","environments.sessions.title": "Lịch sử chạy",- "environments.sessions.unavailable": "Một phần lịch sử không thể đọc được — một số phiên bản bị thiếu trong danh sách này",+ "environments.sessions.unavailable": "Một phần lịch sử không thể đọc được — một số bản sao bị thiếu trong danh sách này","environments.storage.measuredAt": "Đo {{time}}. Làm mới để đo lại.","environments.storage.over": "Vượt quá giới hạn lưu trữ. Lưu tệp bị từ chối cho đến khi bạn xóa một số thứ.","environments.storage.unmeasured": "Lưu trữ chưa được đo · {{total}} khả dụng",@@ -736,12 +751,12 @@"environments.unavailable.title": "Sandbox liên tục không khả dụng ở đây","environments.upgrade.benefits.environments.desc": "Kho lưu trữ, lệnh thiết lập và các biến sống trong môi trường; mỗi sandbox được xây dựng từ nó bắt đầu sẵn sàng.","environments.upgrade.benefits.environments.title": "Cài đặt sandbox được viết một lần",- "environments.upgrade.benefits.instances.desc": "Các cuộc hội thoại song song mỗi cái chạy trong phiên bản riêng của môi trường, vì vậy không có gì ghi đè lên bất cứ thứ gì khác.",- "environments.upgrade.benefits.instances.title": "Một phiên bản cho mỗi nhiệm vụ",+ "environments.upgrade.benefits.instances.desc": "Các cuộc hội thoại song song chạy trong bản sao riêng của môi trường, vì vậy không có gì ghi đè lên nhau.",+ "environments.upgrade.benefits.instances.title": "Một bản sao cho mỗi nhiệm vụ","environments.upgrade.benefits.persist.desc": "Thư mục làm việc được giữ lại khi sandbox được tái chế; lần chạy tiếp theo tiếp tục từ nơi lần trước dừng lại.","environments.upgrade.benefits.persist.title": "Tệp tồn tại qua sandbox","environments.upgrade.cta": "Nâng cấp lên Pro",- "environments.upgrade.desc": "Cung cấp cho các lần chạy sandbox đám mây một thư mục làm việc liên tục. Một môi trường mô tả những gì sandbox cần — kho lưu trữ, thiết lập, các biến — và các phiên bản của nó giữ mọi thứ giữa các phiên.",+ "environments.upgrade.desc": "Cung cấp cho các phiên chạy sandbox trên đám mây một thư mục làm việc liên tục. Một môi trường mô tả những gì sandbox cần — kho lưu trữ, thiết lập, các biến — và các bản sao của nó giữ mọi thứ giữa các phiên làm việc.","environments.upgrade.title": "Nâng cấp lên Pro để mở khóa môi trường sandbox","environments.visibility.changeFailed": "Không thể thay đổi khả năng hiển thị của môi trường này","environments.visibility.createPublishedConfirmTitle": "Tạo môi trường này trong không gian làm việc?",diff --git a/locales/zh-CN/chat.json b/locales/zh-CN/chat.jsonindex cace01d31cf..1beeeaa254c 100644--- a/locales/zh-CN/chat.json+++ b/locales/zh-CN/chat.json@@ -1903,29 +1903,41 @@"runtimeEnv.mode.noneDesc": "禁用运行时环境","runtimeEnv.selectMode": "选择运行环境","runtimeEnv.title": "运行环境",+ "sandboxStorage.allCopiesBusy": "所有副本都在使用中","sandboxStorage.buildFailed": "未构建","sandboxStorage.building": "构建中",+ "sandboxStorage.copies": "副本",+ "sandboxStorage.copyCount_one": "{{count}} 份副本",+ "sandboxStorage.copyCount_other": "{{count}} 份副本",+ "sandboxStorage.createCopyFailed": "没能为这个环境准备副本",+ "sandboxStorage.defaultCopy": "默认","sandboxStorage.environmentsUnavailable": "环境列表没能读取","sandboxStorage.ephemeral": "临时工作目录","sandboxStorage.ephemeralDesc": "沙箱回收时会被清理","sandboxStorage.instanceBusy": "{{name}} 正在另一个对话里运行。这个对话仍然绑着它,等那边结束后接着用。",+ "sandboxStorage.kind.code": "代码",+ "sandboxStorage.kind.files": "文件","sandboxStorage.manage": "管理",- "sandboxStorage.noInstances": "创建环境实例",- "sandboxStorage.noInstancesDesc": "你的环境还没有工作副本",+ "sandboxStorage.noCopyColleagueDesc": "创建者还没有为它准备副本,暂不可用",+ "sandboxStorage.noCopyYetDesc": "第一次选中时会自动创建副本","sandboxStorage.persistentUpsell": "持久化工作目录","sandboxStorage.persistentUpsellDesc": "跨运行、跨话题保留文件",- "sandboxStorage.pickerInfoTooltip": "环境描述一次运行需要的周边——仓库、初始化、变量。实例是它的一份工作副本,有自己的目录和自己装的包;对话跑在实例里,留下的东西也留在实例里。",- "sandboxStorage.pickerTitle": "环境实例",+ "sandboxStorage.pickerInfoTooltip": "环境描述一次运行需要的周边——文件,或者仓库、初始化和变量。对话跑在它的某一份副本里,留下的东西也留在那里;只有两个对话要同时用同一个环境时,才会出现第二份副本。",+ "sandboxStorage.pickerTitle": "环境","sandboxStorage.privateGroup": "私人环境","sandboxStorage.privateInstanceBlocked": "「{{name}}」属于私人环境,公共 Agent 无法使用,本话题已改用临时目录运行。","sandboxStorage.publicAgentHint_one": "已隐藏 {{count}} 个私人环境 —— 公共 Agent 仅可使用工作区环境,发布后即可在这里使用。","sandboxStorage.publicAgentHint_other": "已隐藏 {{count}} 个私人环境 —— 公共 Agent 仅可使用工作区环境,发布后即可在这里使用。",+ "sandboxStorage.reopenCopy": "再开一份副本",+ "sandboxStorage.reopenCopyDesc": "将从环境配置重新构建",+ "sandboxStorage.reopenCopyFailed": "没能再开一份副本","sandboxStorage.running": "运行中",- "sandboxStorage.runningHint": "这个实例里还有别的东西在跑,所以这里选不了。那个运行安静约 15 分钟后会自动释放。",- "sandboxStorage.runningHintStoppable": "这个实例里还有别的东西在跑,所以这里选不了。那个运行安静约 15 分钟后会自动释放,也可以现在手动停止。",- "sandboxStorage.runningOwnHint": "这个实例正被当前对话自己的运行使用。",+ "sandboxStorage.runningHint": "这个副本里还有别的东西在跑,所以这里选不了。那个运行安静约 15 分钟后会自动释放。",+ "sandboxStorage.runningHintStoppable": "这个副本里还有别的东西在跑,所以这里选不了。那个运行安静约 15 分钟后会自动释放,也可以现在手动停止。",+ "sandboxStorage.runningOwnHint": "这个副本正被当前对话自己的运行使用。","sandboxStorage.setUpEnvironment": "去创建环境","sandboxStorage.setUpEnvironmentDesc": "持久化目录需要先有一个环境",+ "sandboxStorage.showCopies": "展开副本","sandboxStorage.stop": "停止","sandboxStorage.workspaceGroup": "工作区环境","search.grounding.imageSearchQueries": "图片搜索关键词",diff --git a/locales/zh-CN/common.json b/locales/zh-CN/common.jsonindex 90b85254209..69bf2aeb0a4 100644--- a/locales/zh-CN/common.json+++ b/locales/zh-CN/common.json@@ -521,7 +521,7 @@"visibilityConfirm.makePrivate.itemLibrary": "它仍会留在你放入的资料库中,只是其他成员不再看得到","visibilityConfirm.makePrivate.itemLoaded": "对方已加载过的内容无法收回","visibilityConfirm.makePrivate.itemReferences": "已存在的消息附件、引用位置会显示为「已失效」",- "visibilityConfirm.publish.itemCapturedState": "成员可以运行它的实例,并访问其中捕获的一切 —— 文件、CLI 登录态、你的登录身份",+ "visibilityConfirm.publish.itemCapturedState": "成员可以运行它的副本,并访问其中捕获的一切 —— 文件、CLI 登录态、你的登录身份","visibilityConfirm.publish.itemLoaded": "改回私人后对方已加载的内容无法收回","visibilityConfirm.publish.itemReversible": "之后可以在同一菜单里改回私人","visibilityConfirm.publish.itemVisible": "工作区所有成员会立即可以看到",diff --git a/locales/zh-CN/setting.json b/locales/zh-CN/setting.jsonindex f5a4554aec8..22a3bd7b56d 100644--- a/locales/zh-CN/setting.json+++ b/locales/zh-CN/setting.json@@ -564,8 +564,9 @@"environments.cancel": "取消","environments.create": "新建环境","environments.createFailed": "环境没能创建",- "environments.desc": "一次沙箱运行需要的周边:代码仓库、初始化命令、环境变量。由它建出来的每个实例,文件都能跨会话保留。",+ "environments.desc": "一次沙箱运行需要的周边:代码仓库、初始化命令、环境变量。由它建出来的每个副本,文件都能跨会话保留。","environments.detail.close": "关闭",+ "environments.detail.tabs.overview": "概览","environments.detail.tabs.settings": "设置","environments.duplicateName": "你已经有一个同名的环境了","environments.empty": "还没有环境",@@ -574,22 +575,22 @@"environments.files.binary": "不是文本文件,无法在这里查看。","environments.files.browse": "浏览文件","environments.files.empty": "这个目录是空的",- "environments.files.invalidPath": "名称无效:路径不能超出该实例的目录",+ "environments.files.invalidPath": "名称无效:路径不能超出该副本的目录","environments.files.listFailed": "这个目录列不出来","environments.files.openHint": "双击目录进入,双击文件查看","environments.files.readOnlyHint": "只读:内容由沙箱自动同步;node_modules 等依赖目录不在这里显示。","environments.files.truncated": "只显示了前面一部分条目","environments.files.unreadable": "这个文件读不出来",- "environments.files.unusedInstance": "这里还没有内容。实例构建完成或在其中运行过对话后,代码会出现在这里。",+ "environments.files.unusedInstance": "这里还没有内容。副本构建完成或在其中运行过对话后,代码会出现在这里。","environments.files.up": "返回上一级","environments.form.addEnv": "新建变量","environments.form.addSource": "添加仓库",- "environments.form.appliesOnBuild": "在新建实例时生效。已有实例会一直用它创建时的那份定义——重建也是照它再跑一遍,要用上改动就新建一个实例。",+ "environments.form.appliesOnBuild": "在新建副本时生效。已有副本会一直用它创建时的那份定义——重建也是照它再跑一遍,要用上改动就新建一个副本。","environments.form.basics": "基本信息","environments.form.bootstrap": "初始化命令","environments.form.bootstrapHint": "在对话开始前,于代码目录中联网执行一次。","environments.form.changeRepository": "更换仓库",- "environments.form.desc": "实例由什么建出来:代码从哪来,以及靠什么让它能跑起来。",+ "environments.form.desc": "副本由什么建出来:代码从哪来,以及靠什么让它能跑起来。","environments.form.description": "描述","environments.form.descriptionPlaceholder": "这个环境是用来做什么的","environments.form.disconnect": "断开",@@ -599,9 +600,10 @@"environments.form.envCount_other": "{{count}} 个变量","environments.form.envEmpty": "还没有环境变量","environments.form.envEmptyHint": "逐条添加,或整份 .env 粘贴到",- "environments.form.envHint": "只放非密文内容——它们以明文存储,并会被复制进每一个实例。",+ "environments.form.envHint": "只放非密文内容——它们以明文存储,并会被复制进每一个副本。","environments.form.exclude": "可再生路径","environments.form.excludeHint": "一行一个,相对于副本。列在这里等于声明它可以重建,于是它会跟你的产出分开存放、并且可能被清理掉。写进来但其实重建不了的东西,就是你可能丢掉的东西。",+ "environments.form.filesDesc": "这个文件夹叫什么、放了哪些给 agent 处理的文件。","environments.form.internetAccess": "对话联网","environments.form.internetAccessHint": "初始化命令始终可以联网,这里控制的是对话本身。","environments.form.maintenance": "维护命令",@@ -630,62 +632,75 @@"environments.github.repositoryPending": "请先选择组织","environments.github.repositoryPlaceholder": "搜索仓库","environments.github.reviewAccess": "检查授权范围",- "environments.hasInstances": "请先删掉它的实例",- "environments.instances.add": "新建实例",+ "environments.hasInstances": "请先删掉它的其他副本",+ "environments.instances.add": "新建副本","environments.instances.build": "构建",- "environments.instances.buildConfirmTitle": "构建实例 {{name}}?",+ "environments.instances.buildConfirmTitle": "构建副本 {{name}}?","environments.instances.buildFailed": "构建失败","environments.instances.buildStartFailed": "没能开始构建","environments.instances.buildStatusUnknown": "暂时读不到这次构建的状态","environments.instances.building": "构建中——正在拉取代码并安装依赖","environments.instances.confirm": "创建",- "environments.instances.count_one": "{{count}} 个实例",- "environments.instances.count_other": "{{count}} 个实例",- "environments.instances.create": "创建实例",- "environments.instances.createFailed": "实例没能创建",- "environments.instances.desc": "实例是这个环境的一份可运行副本,有自己的目录和装好的依赖。对话在实例里运行,多个实例可以并行而互不影响。",+ "environments.instances.copy": "复制副本",+ "environments.instances.copyBuilding": "这个副本正在构建,构建完成后才能复制",+ "environments.instances.copyFailed": "副本没能复制",+ "environments.instances.copyInUse": "有对话正在使用这个副本,暂时不能复制——等那次运行结束,或先停止它再复制",+ "environments.instances.copyOccupancyUnknown": "暂时读不到这个副本是否被占用,现在不能复制",+ "environments.instances.copyTitle": "复制 {{name}}",+ "environments.instances.count_one": "{{count}} 个副本",+ "environments.instances.count_other": "{{count}} 个副本",+ "environments.instances.create": "新建副本",+ "environments.instances.createFailed": "副本没能创建",+ "environments.instances.defaultUndeletable": "这是环境的默认副本,不能单独删除。出问题时请重新构建,或直接删除环境",+ "environments.instances.desc": "副本是这个环境的一份可运行拷贝,有自己的目录和装好的依赖。对话在副本里运行,多个副本可以并行而互不影响。","environments.instances.directoryHint": "文件夹目录,创建后不可修改","environments.instances.directoryLabel": "目录",- "environments.instances.directoryLocked": "实例建好之后目录就不能改了——要换目录,删掉再新建一个。",- "environments.instances.duplicateDirectory": "已经有另一个实例在用这个目录了",- "environments.instances.empty": "还没有实例",+ "environments.instances.directoryLocked": "副本建好之后目录就不能改了——要换目录,删掉再新建一个。",+ "environments.instances.duplicateDirectory": "已经有另一个副本在用这个目录了",+ "environments.instances.empty": "还没有副本","environments.instances.emptyHint": "新建后,在对话输入框的「工作目录」里选中即可使用。",- "environments.instances.emptyReadonly": "这个环境还没有人建过实例,只有它的创建者可以新建。",+ "environments.instances.emptyReadonly": "这个环境还没有人建过副本,只有它的创建者可以新建。","environments.instances.hideLog": "收起日志",- "environments.instances.inUse": "有对话正在使用这个实例,等它结束后再试",- "environments.instances.namePlaceholder": "实例名称",+ "environments.instances.inUse": "有对话正在使用这个副本,等它结束后再试",+ "environments.instances.namePlaceholder": "副本名称","environments.instances.notBuilt": "尚未构建——还没有拉取代码、安装依赖",- "environments.instances.occupancyUnavailable": "暂时读不到哪些实例正在运行",- "environments.instances.overlappingDirectory": "该目录与其他实例的目录存在嵌套,请换一个目录",+ "environments.instances.occupancyUnavailable": "暂时读不到哪些副本正在运行",+ "environments.instances.overlappingDirectory": "该目录与其他副本的目录存在嵌套,请换一个目录","environments.instances.rebuild": "重新构建",- "environments.instances.rebuildConfirmContent": "会先清空这个实例的目录,再重新拉取代码、运行初始化脚本。目录里现有的一切——对话中的改动、装好的依赖、报告、数据——都会丢失,无法恢复。",- "environments.instances.rebuildConfirmTitle": "重新构建实例 {{name}}?",- "environments.instances.remove": "删除实例",+ "environments.instances.rebuildConfirmContent": "会先清空这个副本的目录,再重新拉取代码、运行初始化脚本。目录里现有的一切——对话中的改动、装好的依赖、报告、数据——都会丢失,无法恢复。",+ "environments.instances.rebuildConfirmTitle": "重新构建副本 {{name}}?",+ "environments.instances.remove": "删除副本","environments.instances.removeConfirmContent": "它的目录和里面留下的一切——装好的依赖、报告、数据——都会被删除,无法恢复。",- "environments.instances.removeConfirmTitle": "删除实例 {{name}}?",- "environments.instances.removeFailed": "删除实例失败",+ "environments.instances.removeConfirmTitle": "删除副本 {{name}}?",+ "environments.instances.removeFailed": "删除副本失败","environments.instances.removing": "删除中——正在移除它的目录和里面的一切",- "environments.instances.rename": "重命名实例",- "environments.instances.renameFailed": "重命名实例失败",+ "environments.instances.rename": "重命名副本",+ "environments.instances.renameFailed": "重命名副本失败","environments.instances.retryStatus": "重新检查","environments.instances.running": "运行中",- "environments.instances.runningHint": "这个实例还被一次运行占用着——可能是对话、构建,也可能是文件浏览器。那个运行安静约 15 分钟后会自动释放;运行记录里可以看到是哪一个。",- "environments.instances.runningHintStoppable": "这个实例还被一次运行占用着——可能是对话、构建,也可能是文件浏览器。那个运行安静约 15 分钟后会自动释放,也可以现在手动停止;运行记录里可以看到是哪一个。",+ "environments.instances.runningHint": "这个副本还被一次运行占用着——可能是对话、构建,也可能是文件浏览器。那个运行安静约 15 分钟后会自动释放;运行记录里可以看到是哪一个。",+ "environments.instances.runningHintStoppable": "这个副本还被一次运行占用着——可能是对话、构建,也可能是文件浏览器。那个运行安静约 15 分钟后会自动释放,也可以现在手动停止;运行记录里可以看到是哪一个。","environments.instances.save": "保存","environments.instances.showLog": "查看日志","environments.instances.stop": "停止",- "environments.instances.stopBuilding": "这个实例正在构建,构建结束后会自动释放",- "environments.instances.stopBusy": "这个实例正在被复制或删除——请稍后再试",- "environments.instances.stopConfirmContent": "占用这个实例的运行会立即停止,而不是等它空闲后自动释放。停止前会先保存它安装和写入的内容。正在执行中的对话步骤会被中断,下一条消息会从保存的状态继续。",+ "environments.instances.stopBuilding": "这个副本正在构建,构建结束后会自动释放",+ "environments.instances.stopBusy": "这个副本正在被复制或删除——请稍后再试",+ "environments.instances.stopConfirmContent": "占用这个副本的运行会立即停止,而不是等它空闲后自动释放。停止前会先保存它安装和写入的内容。正在执行中的对话步骤会被中断,下一条消息会从保存的状态继续。","environments.instances.stopConfirmTitle": "停止「{{name}}」中的运行?","environments.instances.stopFailed": "停止运行失败","environments.instances.stopNothing": "「{{name}}」中已经没有在运行的内容了","environments.instances.stopRefused": "运行没能停止——请重试","environments.instances.stopSnapshotPending": "运行还在保存内容,暂未停止——请稍后再试",- "environments.instances.stopStarting": "这个实例中的运行刚刚启动——请稍后再试",+ "environments.instances.stopStarting": "这个副本中的运行刚刚启动——请稍后再试","environments.instances.stopped": "已停止,「{{name}}」现在可以使用了","environments.instances.stopping": "正在停止——先保存运行内容…",- "environments.instances.title": "环境实例",+ "environments.instances.title": "副本",+ "environments.kind.code": "代码",+ "environments.kind.codeDesc": "拉取代码仓库、配置环境变量、运行初始化脚本,再交给 agent 工作。",+ "environments.kind.files": "文件",+ "environments.kind.filesDesc": "上传文件给 agent 处理。创建后立即可用。",+ "environments.kind.filesHint": "一个文件夹,用来上传文件给 agent 处理。不拉取代码、不安装依赖,无需构建,创建后立即可用。",+ "environments.kind.label": "类型","environments.loadFailed.desc": "暂时联系不上判断本账号是否有持久工作区的服务。你的环境本身没有问题。","environments.loadFailed.retry": "重试","environments.loadFailed.title": "无法确认你的套餐",@@ -698,15 +713,15 @@"environments.namePlaceholder": "环境名称","environments.refresh": "刷新","environments.remove": "删除环境",- "environments.removeConfirmContent": "它的配置、环境变量和保存下来的快照都会一起删除,无法恢复。",+ "environments.removeConfirmContent": "它的配置、环境变量、副本的目录和保存下来的快照都会一起删除,无法恢复。","environments.removeConfirmTitle": "删除环境 {{name}}?","environments.removeFailed": "删除环境失败","environments.saveFailed": "无法保存这次修改","environments.sessions.activeBuild": "{{instance}} 正在构建","environments.sessions.activeSession": "沙箱正在 {{instance}} 中运行",- "environments.sessions.desc": "这些实例最近的运行会话和构建,最新的在前,含各自的结束方式,以及安装的内容是否被保存。",+ "environments.sessions.desc": "这些副本最近的运行会话和构建,最新的在前,含各自的结束方式,以及安装的内容是否被保存。","environments.sessions.empty": "还没有运行过",- "environments.sessions.emptyHint": "实例中运行过的对话和构建都会记录在这里。",+ "environments.sessions.emptyHint": "这个环境里运行过的对话和构建都会记录在这里。","environments.sessions.history": "历史记录","environments.sessions.historyEmpty": "还没有结束的运行","environments.sessions.kind.build": "构建",@@ -727,7 +742,7 @@"environments.sessions.snapshotSaved": "已保存 {{size}}","environments.sessions.stale": "没有结束记录","environments.sessions.title": "运行记录",- "environments.sessions.unavailable": "有一部分记录没读到,列表里缺了某些实例的运行",+ "environments.sessions.unavailable": "有一部分记录没读到,列表里缺了某些副本的运行","environments.storage.measuredAt": "统计于 {{time}},点刷新可重新统计","environments.storage.over": "已超出存储上限,删掉一些文件才能继续保存。","environments.storage.unmeasured": "尚未统计占用 · 共 {{total}}",@@ -736,12 +751,12 @@"environments.unavailable.title": "此部署不提供持久化沙箱","environments.upgrade.benefits.environments.desc": "仓库、安装命令和变量写在环境里,每个按它建出的沙箱都从就绪状态开始。","environments.upgrade.benefits.environments.title": "沙箱配置只写一次",- "environments.upgrade.benefits.instances.desc": "并行的对话各自运行在环境的一个实例里,互不覆盖。",- "environments.upgrade.benefits.instances.title": "一任务一实例",+ "environments.upgrade.benefits.instances.desc": "并行的对话各自运行在环境的一个副本里,互不覆盖。",+ "environments.upgrade.benefits.instances.title": "一任务一副本","environments.upgrade.benefits.persist.desc": "沙箱回收后工作目录仍在,下次运行接着上次继续。","environments.upgrade.benefits.persist.title": "文件不随沙箱回收","environments.upgrade.cta": "升级到 Pro",- "environments.upgrade.desc": "让云端沙箱拥有持久化的工作目录。环境描述沙箱需要什么——仓库、安装步骤、变量;由它建出的实例在会话之间保留一切。",+ "environments.upgrade.desc": "让云端沙箱拥有持久化的工作目录。环境描述沙箱需要什么——仓库、安装步骤、变量;由它建出的副本在会话之间保留一切。","environments.upgrade.title": "升级到 Pro,开启沙箱环境","environments.visibility.changeFailed": "环境可见性没能修改","environments.visibility.createPublishedConfirmTitle": "在工作区中新建此环境?",diff --git a/locales/zh-TW/chat.json b/locales/zh-TW/chat.jsonindex efcbfcd7dbd..aad72638fe7 100644--- a/locales/zh-TW/chat.json+++ b/locales/zh-TW/chat.json@@ -1903,29 +1903,41 @@"runtimeEnv.mode.noneDesc": "禁用運行環境","runtimeEnv.selectMode": "選擇運行環境","runtimeEnv.title": "運行環境",+ "sandboxStorage.allCopiesBusy": "每個副本都在使用中","sandboxStorage.buildFailed": "未構建","sandboxStorage.building": "正在構建",+ "sandboxStorage.copies": "副本",+ "sandboxStorage.copyCount_one": "{{count}} 個副本",+ "sandboxStorage.copyCount_other": "{{count}} 個副本",+ "sandboxStorage.createCopyFailed": "無法準備此環境",+ "sandboxStorage.defaultCopy": "預設","sandboxStorage.environmentsUnavailable": "無法加載環境","sandboxStorage.ephemeral": "臨時工作目錄","sandboxStorage.ephemeralDesc": "沙盒回收時清理","sandboxStorage.instanceBusy": "{{name}} 正在另一個對話中運行。此對話保留它,並在該運行結束時接管。",+ "sandboxStorage.kind.code": "程式碼",+ "sandboxStorage.kind.files": "檔案","sandboxStorage.manage": "管理",- "sandboxStorage.noInstances": "創建一個實例",- "sandboxStorage.noInstancesDesc": "您的環境尚無工作副本",+ "sandboxStorage.noCopyColleagueDesc": "其建立者尚未設定",+ "sandboxStorage.noCopyYetDesc": "第一次選擇時會建立一個副本","sandboxStorage.persistentUpsell": "持久工作目錄","sandboxStorage.persistentUpsellDesc": "在運行和主題之間保留文件",- "sandboxStorage.pickerInfoTooltip": "環境描述運行所需的周圍設置——倉庫、設置、變量。實例是其中的一個工作副本,擁有自己的文件夾和已安裝的包;對話在實例內運行並保留其留下的內容。",- "sandboxStorage.pickerTitle": "環境實例",+ "sandboxStorage.pickerInfoTooltip": "環境描述執行所需的內容——檔案、或是儲存庫、設定和變數。對話在其副本之一中運行,並保留它們留下的內容;只有當兩個對話同時需要相同的環境時,才會出現第二個副本。",+ "sandboxStorage.pickerTitle": "環境","sandboxStorage.privateGroup": "私人環境","sandboxStorage.privateInstanceBlocked": "“{{name}}” 位於私人環境中,公共代理無法使用。此主題改為在臨時工作目錄中運行。","sandboxStorage.publicAgentHint_one": "{{count}} 個私人環境被隱藏——公共代理只能使用工作區環境。發布它以便在此使用。","sandboxStorage.publicAgentHint_other": "{{count}} 個私人環境被隱藏——公共代理只能使用工作區環境。發布其中一個以便在此使用。",+ "sandboxStorage.reopenCopy": "開啟另一個副本",+ "sandboxStorage.reopenCopyDesc": "從環境配置重新建構",+ "sandboxStorage.reopenCopyFailed": "無法開啟另一個副本","sandboxStorage.running": "正在運行",- "sandboxStorage.runningHint": "此實例中仍有其他內容正在運行,因此無法在此選擇。大約 15 分鐘後該運行安靜下來時它會自動釋放。",- "sandboxStorage.runningHintStoppable": "此實例中仍有其他內容正在運行,因此無法在此選擇。大約 15 分鐘後該運行安靜下來時它會自動釋放,或者您可以立即停止它。",- "sandboxStorage.runningOwnHint": "此對話的運行正在使用此實例。",+ "sandboxStorage.runningHint": "此副本中仍有其他內容正在運行,因此無法在此選擇。大約在該運行安靜下來後的 15 分鐘內會自動釋放。",+ "sandboxStorage.runningHintStoppable": "此副本中仍有其他內容正在運行,因此無法在此選擇。大約在該運行安靜下來後的 15 分鐘內會自動釋放,或者您可以立即停止它。",+ "sandboxStorage.runningOwnHint": "此對話的運行正在使用此副本。","sandboxStorage.setUpEnvironment": "設置環境","sandboxStorage.setUpEnvironmentDesc": "持久目錄存在於環境中",+ "sandboxStorage.showCopies": "顯示副本","sandboxStorage.stop": "停止","sandboxStorage.workspaceGroup": "工作區環境","search.grounding.imageSearchQueries": "圖片搜尋關鍵字",diff --git a/locales/zh-TW/common.json b/locales/zh-TW/common.jsonindex 6558343c959..6bddd24bef7 100644--- a/locales/zh-TW/common.json+++ b/locales/zh-TW/common.json@@ -521,7 +521,7 @@"visibilityConfirm.makePrivate.itemLibrary": "它會保留在您歸檔的資料庫中——其他成員將無法再看到它","visibilityConfirm.makePrivate.itemLoaded": "其他人已載入的內容無法撤回","visibilityConfirm.makePrivate.itemReferences": "現有的訊息附件和引用將顯示為不可用",- "visibilityConfirm.publish.itemCapturedState": "成員可以執行其實例並存取其捕獲的所有內容——檔案、CLI 登錄、您的登入身份",+ "visibilityConfirm.publish.itemCapturedState": "成員可以運行其副本並訪問其捕獲的所有內容——文件、CLI 登錄、您已登入的身份","visibilityConfirm.publish.itemLoaded": "切換回來後,其他人已載入的內容無法撤回","visibilityConfirm.publish.itemReversible": "您可以稍後從相同的選單切換回私人","visibilityConfirm.publish.itemVisible": "所有工作區成員將立即看到此內容",diff --git a/locales/zh-TW/setting.json b/locales/zh-TW/setting.jsonindex 8506104e5d1..13ef1e6e2e8 100644--- a/locales/zh-TW/setting.json+++ b/locales/zh-TW/setting.json@@ -564,8 +564,9 @@"environments.cancel": "取消","environments.create": "新建環境","environments.createFailed": "無法創建環境",- "environments.desc": "沙盒運行所需的周邊:倉庫、設置、變數。每個基於此構建的實例在會話之間保留自己的文件。",+ "environments.desc": "沙盒運行所需的環境:一個存儲庫、其設置、其變數。每個從中構建的副本在會話之間保留自己的文件。","environments.detail.close": "關閉",+ "environments.detail.tabs.overview": "概覽","environments.detail.tabs.settings": "設置","environments.duplicateName": "您已經有一個同名的環境","environments.empty": "尚無環境",@@ -574,22 +575,22 @@"environments.files.binary": "不是文本文件,因此無法在此顯示。","environments.files.browse": "瀏覽文件","environments.files.empty": "此目錄為空",- "environments.files.invalidPath": "名稱必須保持在此實例的目錄內",+ "environments.files.invalidPath": "名稱必須保持在此副本的目錄內","environments.files.listFailed": "無法列出此目錄","environments.files.openHint": "雙擊文件夾以打開,或雙擊文件以查看","environments.files.readOnlyHint": "只讀:由沙盒同步。依賴項如 node_modules 不會顯示。","environments.files.truncated": "僅顯示前幾個條目","environments.files.unreadable": "無法讀取此文件",- "environments.files.unusedInstance": "此處尚無內容。代碼會在實例構建或對話運行時出現。",+ "environments.files.unusedInstance": "這裡還沒有內容。代碼會在副本構建完成或運行對話時出現。","environments.files.up": "上移一級","environments.form.addEnv": "新增變數","environments.form.addSource": "添加倉庫",- "environments.form.appliesOnBuild": "在創建實例時應用。現有實例保留其創建時的定義 — 重建會重播該定義,因此使用新實例以採用此更改。",+ "environments.form.appliesOnBuild": "在創建副本時應用。現有副本保留其創建時的定義——重建會重現該定義,因此使用新副本來採用此更改。","environments.form.basics": "基本信息","environments.form.bootstrap": "設置命令","environments.form.bootstrapHint": "在檢出時運行一次,具有網絡訪問權限,然後開始對話。","environments.form.changeRepository": "更改倉庫",- "environments.form.desc": "實例的構建基礎 — 代碼來源及其可用性設置。",+ "environments.form.desc": "副本的構建來源——代碼的來源以及使其可用的條件。","environments.form.description": "描述","environments.form.descriptionPlaceholder": "此環境的用途","environments.form.disconnect": "斷開連接",@@ -599,13 +600,14 @@"environments.form.envCount_other": "{{count}} 個變數","environments.form.envEmpty": "尚無變數","environments.form.envEmptyHint": "新增一個,或在此粘貼整個 .env 文件",- "environments.form.envHint": "僅限非機密值 — 這些值以純文本形式存儲並複製到每個實例中。",+ "environments.form.envHint": "僅限非機密值——這些值以純文本形式存儲,並複製到此環境的每個副本中。","environments.form.exclude": "可再生路徑","environments.form.excludeHint": "每行一個,相對於副本。列出路徑表示它可以重建,因此它與您的工作分開保存,可能會被丟棄以回收空間。此處列出的任何無法重建的內容都是您可能丟失的工作。",+ "environments.form.filesDesc": "此資料夾的名稱及其為代理所包含的內容。","environments.form.internetAccess": "代理網絡訪問","environments.form.internetAccessHint": "設置始終具有網絡訪問權限。此設置控制對話本身。","environments.form.maintenance": "維護命令",- "environments.form.maintenanceHint": "每次在實例中恢復工作時運行 — 刷新檢出,重新應用遷移。不是設置命令:該命令成本高昂,旨在僅運行一次。",+ "environments.form.maintenanceHint": "每次在副本中恢復工作時運行——刷新檢出、重新應用遷移。不是設置命令:該命令成本高昂,旨在僅運行一次。","environments.form.path": "文件夾","environments.form.rawEditor": "原始編輯器","environments.form.rawEditorHint": "每行一個 KEY=value,類似於 .env 文件的格式。空行和 # 註釋將被忽略;保存時會替換所有變數。",@@ -630,62 +632,75 @@"environments.github.repositoryPending": "請先選擇一個組織","environments.github.repositoryPlaceholder": "搜索倉庫","environments.github.reviewAccess": "審查訪問權限",- "environments.hasInstances": "請先移除其實例",- "environments.instances.add": "新增實例",+ "environments.hasInstances": "請先刪除其其他副本",+ "environments.instances.add": "新增副本","environments.instances.build": "構建",- "environments.instances.buildConfirmTitle": "構建實例 {{name}}?",+ "environments.instances.buildConfirmTitle": "構建副本 {{name}}?","environments.instances.buildFailed": "構建失敗","environments.instances.buildStartFailed": "無法開始構建","environments.instances.buildStatusUnknown": "無法追蹤此構建","environments.instances.building": "正在構建 — 克隆並安裝","environments.instances.confirm": "創建",- "environments.instances.count_one": "{{count}} 個實例",- "environments.instances.count_other": "{{count}} 個實例",- "environments.instances.create": "新建實例",- "environments.instances.createFailed": "無法創建實例",- "environments.instances.desc": "實例是此環境的工作副本,擁有自己的文件夾和已安裝的包。對話在實例內運行,並且可以並行運行多個實例而互不影響。",+ "environments.instances.copy": "複製副本",+ "environments.instances.copyBuilding": "此副本正在構建中,構建完成之前無法複製",+ "environments.instances.copyFailed": "無法複製此副本",+ "environments.instances.copyInUse": "一個對話正在使用此副本,因此現在無法複製——請在該運行結束後複製,或先停止運行",+ "environments.instances.copyOccupancyUnknown": "無法檢查此副本是否正在使用,因此現在無法複製",+ "environments.instances.copyTitle": "複製 {{name}}",+ "environments.instances.count_one": "{{count}} 個副本",+ "environments.instances.count_other": "{{count}} 個副本",+ "environments.instances.create": "新增副本",+ "environments.instances.createFailed": "無法創建副本",+ "environments.instances.defaultUndeletable": "這是環境的預設副本,無法單獨刪除 — 請重建它,或刪除整個環境",+ "environments.instances.desc": "副本是此環境的工作副本,擁有自己的文件夾和已安裝的包。對話在副本內運行,並且可以並行運行多個副本而互不干擾。","environments.instances.directoryHint": "文件夾路徑。創建後無法更改。","environments.instances.directoryLabel": "目錄",- "environments.instances.directoryLocked": "實例構建後無法更改文件夾 — 刪除並創建另一個以移動它。",- "environments.instances.duplicateDirectory": "另一個實例已使用此文件夾",- "environments.instances.empty": "尚無實例",+ "environments.instances.directoryLocked": "構建副本後無法更改文件夾——刪除它並創建另一個以移動它。",+ "environments.instances.duplicateDirectory": "另一個副本已使用此文件夾",+ "environments.instances.empty": "尚無副本","environments.instances.emptyHint": "創建一個,然後在聊天輸入中的 \"工作目錄\" 下選擇它。",- "environments.instances.emptyReadonly": "尚未有人創建此環境的實例。只有其所有者可以新增。",+ "environments.instances.emptyReadonly": "尚未有人創建此環境的副本。只有其所有者可以新增一個。","environments.instances.hideLog": "隱藏日誌",- "environments.instances.inUse": "一個對話正在使用此實例 — 試著在該運行結束後再試",- "environments.instances.namePlaceholder": "實例名稱",+ "environments.instances.inUse": "一個對話正在使用此副本——請在該運行結束後再試",+ "environments.instances.namePlaceholder": "副本名稱","environments.instances.notBuilt": "尚未構建 — 尚未克隆或安裝任何內容",- "environments.instances.occupancyUnavailable": "無法讀取當前正在運行的實例",- "environments.instances.overlappingDirectory": "此文件夾位於另一個實例的文件夾內,或包含另一個實例",+ "environments.instances.occupancyUnavailable": "無法讀取當前正在運行的副本",+ "environments.instances.overlappingDirectory": "此文件夾位於另一個副本的文件夾內,或包含另一個副本的文件夾","environments.instances.rebuild": "重建",- "environments.instances.rebuildConfirmContent": "這將清除實例的文件夾,然後再次克隆代碼並運行設置腳本。當前文件夾中的所有內容 — 對話中進行的更改、已安裝的包、報告、數據 — 都將丟失。此操作無法撤銷。",- "environments.instances.rebuildConfirmTitle": "重建實例 {{name}}?",- "environments.instances.remove": "刪除實例",+ "environments.instances.rebuildConfirmContent": "這將清空副本的文件夾,然後重新克隆代碼並運行設置腳本。現在其中的所有內容——對話中所做的更改、已安裝的包、報告、數據——都將丟失。此操作無法撤銷。",+ "environments.instances.rebuildConfirmTitle": "重建副本 {{name}}?",+ "environments.instances.remove": "刪除副本","environments.instances.removeConfirmContent": "其文件夾及其保存的所有內容 — 已安裝的包、報告、數據 — 都將被刪除。此操作無法撤銷。",- "environments.instances.removeConfirmTitle": "刪除實例 {{name}}?",- "environments.instances.removeFailed": "無法刪除此實例",+ "environments.instances.removeConfirmTitle": "刪除副本 {{name}}?",+ "environments.instances.removeFailed": "無法刪除此副本","environments.instances.removing": "正在刪除 — 移除其文件夾及其中的所有內容",- "environments.instances.rename": "重命名實例",- "environments.instances.renameFailed": "無法重命名此實例",+ "environments.instances.rename": "重命名副本",+ "environments.instances.renameFailed": "無法重命名此副本","environments.instances.retryStatus": "再次檢查","environments.instances.running": "正在運行",- "environments.instances.runningHint": "一個運行仍在使用此實例 — 對話、構建或文件瀏覽器。大約在該運行安靜後 15 分鐘內自動釋放;運行歷史顯示哪個運行正在佔用它。",- "environments.instances.runningHintStoppable": "一個運行仍在使用此實例 — 對話、構建或文件瀏覽器。大約在該運行安靜後 15 分鐘內自動釋放,或者您可以立即停止它;運行歷史顯示哪個運行正在佔用它。",+ "environments.instances.runningHint": "一個運行正在使用此副本——對話、構建或文件瀏覽器。大約在該運行安靜15分鐘後,它會自動釋放;運行歷史顯示是哪一個運行正在佔用它。",+ "environments.instances.runningHintStoppable": "一個運行正在使用此副本——對話、構建或文件瀏覽器。大約在該運行安靜15分鐘後,它會自動釋放,或者您可以立即停止它;運行歷史顯示是哪一個運行正在佔用它。","environments.instances.save": "保存","environments.instances.showLog": "顯示日誌","environments.instances.stop": "停止",- "environments.instances.stopBuilding": "此實例正在構建。構建完成後將釋放",- "environments.instances.stopBusy": "此實例正在被複製或刪除 — 稍後再試",- "environments.instances.stopConfirmContent": "佔用此實例的運行現在停止,而不是在它安靜時停止。它安裝和寫入的內容會先保存。一個對話在步驟中途被切斷,並在下一條消息中從保存的狀態繼續。",+ "environments.instances.stopBuilding": "此副本正在構建中。構建完成後將自動釋放",+ "environments.instances.stopBusy": "此副本正在複製或刪除中——請稍後再試",+ "environments.instances.stopConfirmContent": "現在停止佔用此副本的運行,而不是等到它安靜時停止。它安裝和寫入的內容會先保存。一個處於步驟中的對話會中斷該步驟,並在下一條消息中從保存的狀態繼續。","environments.instances.stopConfirmTitle": "停止 \"{{name}}\" 中的運行?","environments.instances.stopFailed": "無法停止運行","environments.instances.stopNothing": "\"{{name}}\" 中已無任何運行","environments.instances.stopRefused": "無法停止運行 — 請再試一次","environments.instances.stopSnapshotPending": "運行仍在保存其工作,因此未停止 — 稍後再試",- "environments.instances.stopStarting": "此實例中的運行剛剛開始 — 稍後再試",+ "environments.instances.stopStarting": "一個運行剛剛在此副本中啟動——請稍後再試","environments.instances.stopped": "已停止。\"{{name}}\" 可供使用","environments.instances.stopping": "正在停止 — 首先保存運行…",- "environments.instances.title": "實例",+ "environments.instances.title": "副本",+ "environments.kind.code": "程式碼",+ "environments.kind.codeDesc": "在代理啟動前,克隆一個存儲庫、設置變數並執行設置。",+ "environments.kind.files": "檔案",+ "environments.kind.filesDesc": "上傳檔案供代理使用。建立後即可使用。",+ "environments.kind.filesHint": "您上傳檔案供代理使用的資料夾。不會克隆或安裝任何內容,因此無需建置——建立後即可使用。",+ "environments.kind.label": "類型","environments.loadFailed.desc": "我們無法訪問指示此帳戶是否有持久工作區的服務。您的環境沒有問題。","environments.loadFailed.retry": "再試一次","environments.loadFailed.title": "無法檢查您的計劃",@@ -698,15 +713,15 @@"environments.namePlaceholder": "環境名稱","environments.refresh": "刷新","environments.remove": "刪除環境",- "environments.removeConfirmContent": "其規範、變數和保存的快照將一併刪除,且無法恢復。",+ "environments.removeConfirmContent": "其規範、變數、副本的文件夾和保存的快照將隨之刪除,且無法恢復。","environments.removeConfirmTitle": "刪除環境 {{name}}?","environments.removeFailed": "無法刪除此環境","environments.saveFailed": "無法保存此更改","environments.sessions.activeBuild": "{{instance}} 正在構建中","environments.sessions.activeSession": "沙盒正在 {{instance}} 中運行",- "environments.sessions.desc": "最近在這些實例中運行的會話及其構建,按最新排序,包括每次結束的方式以及是否保存了安裝的內容。",+ "environments.sessions.desc": "最近在這些副本中運行的會話和構建,按最新排序,顯示每次的結束方式以及是否保存了安裝的內容。","environments.sessions.empty": "此處尚無運行記錄",- "environments.sessions.emptyHint": "每次對話和構建在其實例中運行時都會顯示在此。",+ "environments.sessions.emptyHint": "此環境中的每次對話和構建都會顯示在這裡。","environments.sessions.history": "歷史記錄","environments.sessions.historyEmpty": "尚無完成的運行記錄","environments.sessions.kind.build": "構建",@@ -727,7 +742,7 @@"environments.sessions.snapshotSaved": "已保存 {{size}}","environments.sessions.stale": "未記錄結束","environments.sessions.title": "運行歷史",- "environments.sessions.unavailable": "部分歷史記錄無法讀取 — 某些實例缺失於此列表",+ "environments.sessions.unavailable": "部分歷史記錄無法讀取——某些副本缺失於此列表中","environments.storage.measuredAt": "測量於 {{time}}。刷新以重新測量。","environments.storage.over": "超出存儲限制。在您刪除某些內容之前,保存文件將被拒絕。","environments.storage.unmeasured": "尚未測量存儲 · {{total}} 可用",@@ -736,12 +751,12 @@"environments.unavailable.title": "此處無法使用持久沙盒","environments.upgrade.benefits.environments.desc": "倉庫、設置命令和變數存儲在環境中;每個基於它構建的沙盒都從準備好的狀態開始。","environments.upgrade.benefits.environments.title": "沙盒設置一次完成",- "environments.upgrade.benefits.instances.desc": "並行對話各自運行在環境的實例中,因此不會互相覆蓋。",- "environments.upgrade.benefits.instances.title": "每個任務一個實例",+ "environments.upgrade.benefits.instances.desc": "並行對話各自運行在自己的環境副本中,因此不會互相覆蓋。",+ "environments.upgrade.benefits.instances.title": "每個任務一個副本","environments.upgrade.benefits.persist.desc": "沙盒回收時保留工作目錄;下一次運行從上次停止的地方繼續。","environments.upgrade.benefits.persist.title": "文件在沙盒中保留","environments.upgrade.cta": "升級到 Pro",- "environments.upgrade.desc": "為雲沙盒運行提供持久的工作目錄。環境描述沙盒所需的內容 — 倉庫、設置、變數 — 其實例在會話之間保留所有內容。",+ "environments.upgrade.desc": "為雲沙盒運行提供持久的工作目錄。一個環境描述了沙盒所需的內容——存儲庫、設置、變數——其副本在會話之間保留所有內容。","environments.upgrade.title": "升級到 Pro 以解鎖沙盒環境","environments.visibility.changeFailed": "無法更改此環境的可見性","environments.visibility.createPublishedConfirmTitle": "在工作區中創建此環境?",diff --git a/packages/database/src/models/__tests__/environment.visibility.test.ts b/packages/database/src/models/__tests__/environment.visibility.test.tsindex 9fd9200c422..41869f5b29f 100644--- a/packages/database/src/models/__tests__/environment.visibility.test.ts+++ b/packages/database/src/models/__tests__/environment.visibility.test.ts@@ -1,4 +1,5 @@// @vitest-environment node+import { pickDefaultInstance } from '@lobechat/utils/environmentInstance';import { eq, inArray } from 'drizzle-orm';import { afterEach, beforeEach, describe, expect, it } from 'vitest';@@ -260,3 +261,34 @@ describe('environment visibility', () => {expect(rows.map((row) => row.id)).toEqual([inWorkspace.id]);});});++describe('instance order', () => {+ it("lists an environment's instances oldest first, ties broken by id, with the default first", async () => {+ const environment = await owner.create({ name: 'Ordered' });+ const created = new Date('2026-01-01T00:00:00.000Z');+ const later = new Date('2026-01-02T00:00:00.000Z');++ // Two rows created in the same instant — the case where only the id can+ // decide — and one created later but inserted first, so insertion order+ // and the expected order disagree.+ const newest = await addInstance(environment.id, 'ordered-newest');+ const tiedA = await addInstance(environment.id, 'ordered-tied-a');+ const tiedB = await addInstance(environment.id, 'ordered-tied-b');+ await serverDB+ .update(environmentInstances)+ .set({ createdAt: later })+ .where(eq(environmentInstances.id, newest.id));+ await serverDB+ .update(environmentInstances)+ .set({ createdAt: created })+ .where(inArray(environmentInstances.id, [tiedA.id, tiedB.id]));++ const [first, second] = [tiedA.id, tiedB.id].sort();+ const rows = await ownerInstances.query({ environmentId: environment.id });++ expect(rows.map((row) => row.id)).toEqual([first, second, newest.id]);+ // The shared rule and the database agree on which instance is the default.+ expect(pickDefaultInstance(rows)?.id).toBe(rows[0].id);+ expect(pickDefaultInstance([...rows].reverse())?.id).toBe(first);+ });+});diff --git a/packages/database/src/models/environmentInstance.ts b/packages/database/src/models/environmentInstance.tsindex 98ad6374083..8434931dbf2 100644--- a/packages/database/src/models/environmentInstance.ts+++ b/packages/database/src/models/environmentInstance.ts@@ -105,6 +105,9 @@ export class EnvironmentInstanceModel {* stood when it was created (`configurationSnapshot`); editing the* environment afterwards changes what NEW instances are built from and* leaves existing ones exactly as they are.+ *+ * Oldest first, ties broken by id — the order `pickDefaultInstance` ranks+ * by, so an environment's default instance is always the first of its rows.*/query = async (params: { environmentId?: string } = {}): Promise<EnvironmentInstanceItem[]> =>this.db@@ -119,7 +122,7 @@ export class EnvironmentInstanceModel {: undefined,),)- .orderBy(asc(environmentInstances.createdAt));+ .orderBy(asc(environmentInstances.createdAt), asc(environmentInstances.id));/** Readable: this is what a run resolves through, including in a published environment. */findById = async (id: string): Promise<EnvironmentInstanceItem | undefined> => {diff --git a/packages/locales/src/default/chat.ts b/packages/locales/src/default/chat.tsindex 82eded9d723..34ee1d2db61 100644--- a/packages/locales/src/default/chat.ts+++ b/packages/locales/src/default/chat.ts@@ -1505,18 +1505,31 @@ export default {'sandboxStorage.persistentUpsellDesc': 'Keep files across runs and topics','sandboxStorage.setUpEnvironmentDesc': 'A persistent directory lives in an environment','sandboxStorage.setUpEnvironment': 'Set up an environment',- // The other empty state: environments exist, none has been materialized- // into a working copy yet. Naming the environment page rather than opening- // a dialog here — this menu picks between instances, it does not make them.- 'sandboxStorage.noInstances': 'Create an instance',- 'sandboxStorage.noInstancesDesc': 'Your environments have no working copy yet','sandboxStorage.manage': 'Manage',- // The menu names the thing it picks — an instance of an environment —- // rather than the slot it fills. The explainer carries the distinction,- // because "environment" and "instance of one" is the whole model.- 'sandboxStorage.pickerTitle': 'Environment Instance',+ // The menu lists environments: a person picks the environment, and which+ // copy (instance) of it the conversation lands in is only asked about when+ // there is more than one. "Copy" is the product's word for an instance.+ 'sandboxStorage.pickerTitle': 'Environment','sandboxStorage.pickerInfoTooltip':- 'An environment describes what a run needs around it — repositories, setup, variables. An instance is one working copy of it, with its own folder and its own installed packages; conversations run inside an instance and keep what they leave there.',+ 'An environment describes what a run needs around it — files, or repositories, setup and variables. Conversations run inside one of its copies and keep what they leave there; a second copy only appears when two conversations need the same environment at once.',+ 'sandboxStorage.kind.files': 'Files',+ 'sandboxStorage.kind.code': 'Code',+ 'sandboxStorage.copies': 'Copies',+ 'sandboxStorage.copyCount_one': '{{count}} copy',+ 'sandboxStorage.copyCount_other': '{{count}} copies',+ 'sandboxStorage.defaultCopy': 'Default',+ 'sandboxStorage.showCopies': 'Show copies',+ 'sandboxStorage.allCopiesBusy': 'Every copy is in use',+ // An environment from before every environment got a default copy. Its+ // creator gets the copy made on first pick; a colleague cannot make one.+ 'sandboxStorage.noCopyYetDesc': 'A copy is created the first time you pick it',+ 'sandboxStorage.noCopyColleagueDesc': 'Its creator has not set it up yet',+ 'sandboxStorage.createCopyFailed': 'This environment could not be prepared',+ // Built from the environment's specification rather than copied from the+ // copy that is busy: that one is held by a run, and its state is that run's.+ 'sandboxStorage.reopenCopy': 'Open another copy',+ 'sandboxStorage.reopenCopyDesc': 'Rebuilt from the environment configuration',+ 'sandboxStorage.reopenCopyFailed': 'Another copy could not be opened','sandboxStorage.environmentsUnavailable': 'Environments could not be loaded',// One conversation at a time per instance: the execution plane takes a// lease and answers the second writer with 409 INSTANCE_IN_USE, because@@ -1525,10 +1538,10 @@ export default {// the first message meets the refusal.'sandboxStorage.running': 'Running','sandboxStorage.runningHint':- 'Something else is still running in this instance, so it cannot be picked here. It is released on its own roughly 15 minutes after that run goes quiet.',- 'sandboxStorage.runningOwnHint': "This conversation's own run is using this instance.",+ 'Something else is still running in this copy, so it cannot be picked here. It is released on its own roughly 15 minutes after that run goes quiet.',+ 'sandboxStorage.runningOwnHint': "This conversation's own run is using this copy.",'sandboxStorage.runningHintStoppable':- 'Something else is still running in this instance, so it cannot be picked here. It is released on its own roughly 15 minutes after that run goes quiet, or you can stop it now.',+ 'Something else is still running in this copy, so it cannot be picked here. It is released on its own roughly 15 minutes after that run goes quiet, or you can stop it now.','sandboxStorage.stop': 'Stop',// A build holds the same single-writer lease a run does, so it is refused// for the same reason — but it is not a conversation, and saying "running"diff --git a/packages/locales/src/default/common.ts b/packages/locales/src/default/common.tsindex 065d0392a5b..2433502e418 100644--- a/packages/locales/src/default/common.ts+++ b/packages/locales/src/default/common.ts@@ -476,7 +476,7 @@ export default {'visibilityConfirm.publish.itemReversible':'You can switch it back to private later from the same menu','visibilityConfirm.publish.itemCapturedState':- 'Members can run its instances and reach everything it has captured — files, CLI logins, your signed-in identity',+ 'Members can run its copies and reach everything it has captured — files, CLI logins, your signed-in identity','visibilityConfirm.publish.itemLoaded':'After switching back, content others have already loaded can’t be pulled back','retry': 'Retry',diff --git a/packages/locales/src/default/setting.ts b/packages/locales/src/default/setting.tsindex c9e01e0faab..12f5c31e74e 100644--- a/packages/locales/src/default/setting.ts+++ b/packages/locales/src/default/setting.ts@@ -4045,7 +4045,7 @@ When I am ___, I need ___'tools.title': 'Skills','tab.environments': 'Environments','environments.desc':- 'What a sandbox run needs around it: a repository, its setup, its variables. Each instance built from one keeps its own files between sessions.',+ 'What a sandbox run needs around it: a repository, its setup, its variables. Each copy built from one keeps its own files between sessions.','environments.create': 'New environment','environments.cancel': 'Cancel','environments.createFailed': 'Could not create the environment',@@ -4053,22 +4053,22 @@ When I am ___, I need ___'environments.empty': 'No environments yet','environments.removeFailed': 'Could not delete this environment','environments.saveFailed': 'Could not save this change',- 'environments.instances.removeFailed': 'Could not delete this instance',+ 'environments.instances.removeFailed': 'Could not delete this copy','environments.instances.removing': 'Deleting — removing its folder and everything in it',- 'environments.instances.removeConfirmTitle': 'Delete instance {{name}}?',+ 'environments.instances.removeConfirmTitle': 'Delete copy {{name}}?','environments.instances.removeConfirmContent':'Its folder and everything it kept — installed packages, reports, data — will be deleted. This cannot be undone.','environments.remove': 'Delete environment','environments.removeConfirmTitle': 'Delete environment {{name}}?','environments.removeConfirmContent':- 'Its specification, variables and saved snapshot go with it, and cannot be recovered.',+ "Its specification, variables, its copy's folder and the saved snapshot go with it, and cannot be recovered.",'environments.storage.used': '{{used}} of {{total}}','environments.storage.unmeasured': 'Storage not measured yet · {{total}} available','environments.storage.measuredAt': 'Measured {{time}}. Refresh to measure again.','environments.storage.over':'Over the storage limit. Saving a file is refused until you delete something.','environments.duplicateName': 'You already have an environment with this name',- 'environments.hasInstances': 'Remove its instances first',+ 'environments.hasInstances': 'Remove its other copies first','environments.loadFailed.title': 'Could not check your plan','environments.loadFailed.desc':'We could not reach the service that says whether this account has a persistent workspace. Nothing is wrong with your environments.',@@ -4078,7 +4078,7 @@ When I am ___, I need ___'Environments describe a persistent cloud workspace, and this deployment does not provide one.','environments.upgrade.title': 'Upgrade to Pro to unlock sandbox environments','environments.upgrade.desc':- 'Give cloud-sandbox runs a persistent working directory. An environment describes what the sandbox needs — repositories, setup, variables — and its instances keep everything between sessions.',+ 'Give cloud-sandbox runs a persistent working directory. An environment describes what the sandbox needs — repositories, setup, variables — and its copies keep everything between sessions.','environments.upgrade.cta': 'Upgrade to Pro','environments.upgrade.benefits.environments.title': 'Sandbox setup written once','environments.upgrade.benefits.environments.desc':@@ -4086,9 +4086,9 @@ When I am ___, I need ___'environments.upgrade.benefits.persist.title': 'Files survive the sandbox','environments.upgrade.benefits.persist.desc':'The working directory is kept when the sandbox is recycled; the next run continues where the last stopped.',- 'environments.upgrade.benefits.instances.title': 'One instance per task',+ 'environments.upgrade.benefits.instances.title': 'One copy per task','environments.upgrade.benefits.instances.desc':- 'Parallel conversations each run in their own instance of the environment, so nothing overwrites anything else.',+ 'Parallel conversations each run in their own copy of the environment, so nothing overwrites anything else.','environments.github.label': 'Repository','environments.github.notConnected':'No GitHub connection yet — connect one to build an environment from a repository',@@ -4102,7 +4102,7 @@ When I am ___, I need ___'environments.github.noRepositories': 'This connection cannot see any repositories yet','environments.github.connect': 'Connect GitHub','environments.github.reviewAccess': 'Review access',- 'environments.instances.create': 'New instance',+ 'environments.instances.create': 'New copy','environments.form.description': 'Description','environments.form.descriptionPlaceholder': 'What this environment is for','environments.form.sources': 'Source code',@@ -4118,7 +4118,7 @@ When I am ___, I need ___'Runs once in the checkout, with network access, before the conversation starts.','environments.form.env': 'Environment variables','environments.form.envHint':- 'Non-secret values only — these are stored as plain text and copied into every instance.',+ 'Non-secret values only — these are stored as plain text and copied into every copy of this environment.','environments.form.addEnv': 'New variable','environments.form.envCount_one': '{{count}} variable','environments.form.envCount_other': '{{count}} variables',@@ -4136,38 +4136,58 @@ When I am ___, I need ___'environments.form.editEnv': 'Edit variable','environments.form.changeRepository': 'Change repository','environments.form.disconnect': 'Disconnect',- 'environments.instances.title': 'Instances',+ 'environments.detail.tabs.overview': 'Overview',+ 'environments.instances.copy': 'Duplicate copy',+ 'environments.instances.copyTitle': 'Duplicate {{name}}',+ 'environments.instances.copyFailed': 'Could not duplicate this copy',+ 'environments.instances.copyInUse':+ 'A conversation is using this copy, so it cannot be duplicated now — duplicate it once that run ends, or stop the run first',+ 'environments.instances.copyOccupancyUnknown':+ 'Could not check whether this copy is in use, so it cannot be duplicated right now',+ 'environments.instances.copyBuilding':+ 'This copy is being built, so it cannot be duplicated until the build finishes',+ 'environments.instances.title': 'Copies','environments.instances.desc':- 'An instance is a working copy of this environment, with its own folder and its own installed packages. Conversations run inside an instance, and several can run side by side without touching each other.',- 'environments.instances.empty': 'No instances yet',+ 'A copy is a working copy of this environment, with its own folder and its own installed packages. Conversations run inside a copy, and several can run side by side without touching each other.',+ 'environments.instances.empty': 'No copies yet','environments.instances.emptyHint':'Create one, then pick it under "Working Directory" in the chat input.','environments.instances.emptyReadonly':- 'Nobody has created an instance of this environment yet. Only its owner can add one.',- 'environments.instances.count_one': '{{count}} instance',- 'environments.instances.count_other': '{{count}} instances',- 'environments.instances.add': 'New instance',- 'environments.instances.namePlaceholder': 'Instance name',+ 'Nobody has created a copy of this environment yet. Only its owner can add one.',+ 'environments.instances.count_one': '{{count}} copy',+ 'environments.instances.count_other': '{{count}} copies',+ 'environments.instances.add': 'New copy',+ 'environments.instances.namePlaceholder': 'Copy name',// One line, because the field fills itself in from the name: almost nobody// has a decision to make here, and a paragraph over a solved field reads as// a warning that something is about to go wrong.'environments.instances.directoryHint': 'Folder path. Cannot be changed once created.','environments.sessions.stale': 'No end recorded',- 'environments.instances.remove': 'Delete instance',- 'environments.instances.rename': 'Rename instance',- 'environments.instances.renameFailed': 'Could not rename this instance',+ 'environments.instances.remove': 'Delete copy',+ 'environments.instances.rename': 'Rename copy',+ 'environments.instances.renameFailed': 'Could not rename this copy','environments.instances.directoryLocked':- 'The folder cannot be changed after the instance is built — delete it and create another to move it.',- 'environments.instances.duplicateDirectory': 'Another instance already uses this folder',+ 'The folder cannot be changed after the copy is built — delete it and create another to move it.',+ 'environments.instances.duplicateDirectory': 'Another copy already uses this folder','environments.instances.overlappingDirectory':- "This folder is inside another instance's folder, or contains one",- 'environments.instances.createFailed': 'Could not create the instance',+ "This folder is inside another copy's folder, or contains one",+ 'environments.instances.createFailed': 'Could not create the copy','environments.form.maintenance': 'Maintenance command','environments.form.maintenanceHint':- 'Runs each time work resumes in an instance — refreshing a checkout, reapplying a migration. Not the setup command again: that one is expensive and is meant to run once.',+ 'Runs each time work resumes in a copy — refreshing a checkout, reapplying a migration. Not the setup command again: that one is expensive and is meant to run once.','environments.form.exclude': 'Regenerable paths','environments.form.excludeHint':'One per line, relative to the copy. Listing a path says it can be rebuilt, so it is kept apart from your work and may be discarded to reclaim space. Anything named here that cannot be rebuilt is work you can lose.',+ 'environments.form.filesDesc': 'What this folder is called and what it holds for the agent.',+ 'environments.kind.code': 'Code',+ 'environments.kind.codeDesc':+ 'Clone a repository, set variables and run setup before the agent starts.',+ 'environments.kind.files': 'Files',+ 'environments.kind.filesDesc':+ 'Upload files for an agent to work on. Ready as soon as it is created.',+ 'environments.kind.filesHint':+ 'A folder you upload files to for an agent to work on. Nothing is cloned or installed, so there is no build — it is ready the moment it is created.',+ 'environments.kind.label': 'Type','environments.meta.creatorTooltip': 'Created by {{name}}','environments.meta.unknownCreator': 'Unknown','environments.meta.createdAt': 'Created {{time}}',@@ -4176,12 +4196,12 @@ When I am ___, I need ___'environments.detail.tabs.settings': 'Settings','environments.sessions.title': 'Run history','environments.sessions.desc':- 'The most recent sessions that ran in these instances and the builds of them, newest first, with how each ended and whether what it installed was saved.',+ 'The most recent sessions that ran in these copies and the builds of them, newest first, with how each ended and whether what it installed was saved.','environments.sessions.empty': 'Nothing has run here yet','environments.sessions.emptyHint':- 'Every conversation and build in one of its instances will show up here.',+ 'Every conversation and build in this environment will show up here.','environments.sessions.unavailable':- 'Part of the history could not be read — some instances are missing from this list',+ 'Part of the history could not be read — some copies are missing from this list','environments.sessions.running': 'Running','environments.sessions.activeSession': 'A sandbox is running in {{instance}} right now','environments.sessions.activeBuild': '{{instance}} is being built right now',@@ -4203,9 +4223,9 @@ When I am ___, I need ___'environments.sessions.reason.build_timeout': 'Build timed out','environments.sessions.reason.build_gone': 'Build interrupted','environments.form.desc':- 'What an instance is built from — where the code comes from and what makes it usable.',+ 'What a copy is built from — where the code comes from and what makes it usable.','environments.form.appliesOnBuild':- 'Applied when an instance is created. Existing instances keep the definition they were made with — a rebuild replays that one, so use a new instance to pick this up.',+ 'Applied when a copy is created. Existing copies keep the definition they were made with — a rebuild replays that one, so use a new copy to pick this up.','environments.refresh': 'Refresh','environments.emptyPublished': 'Nothing published to this workspace yet','environments.visibility.tabs.workspace': 'Workspace',@@ -4224,7 +4244,7 @@ When I am ___, I need ___'environments.files.binary': 'Not a text file, so it cannot be shown here.','environments.files.unreadable': 'This file could not be read','environments.files.listFailed': 'This directory could not be listed',- 'environments.files.invalidPath': "The name has to stay inside this instance's directory",+ 'environments.files.invalidPath': "The name has to stay inside this copy's directory",'environments.files.truncated': 'Only the first entries are shown','environments.mine': 'My environments','environments.form.basics': 'Basics',@@ -4241,23 +4261,27 @@ When I am ___, I need ___'environments.instances.buildFailed': 'Build failed','environments.instances.rebuild': 'Rebuild','environments.instances.build': 'Build',- 'environments.instances.buildConfirmTitle': 'Build instance {{name}}?',+ 'environments.instances.buildConfirmTitle': 'Build copy {{name}}?','environments.instances.buildStartFailed': 'Could not start the build',// Context-free on purpose: the same code refuses a rebuild and a delete, so// a sentence that only mentions rebuilding was wrong half the time.'environments.instances.running': 'Running','environments.instances.occupancyUnavailable':- 'Could not read which instances are running right now',+ 'Could not read which copies are running right now','environments.instances.inUse':- 'A conversation is using this instance — try again once that run ends',+ 'A conversation is using this copy — try again once that run ends',+ // The default copy is what the environment is, so it goes with the+ // environment; a broken one is rebuilt, not deleted on its own.+ 'environments.instances.defaultUndeletable':+ "This is the environment's default copy and can't be deleted on its own — rebuild it, or delete the environment",'environments.instances.runningHint':- 'A run is still using this instance — a conversation, a build, or the file browser. It is released on its own roughly 15 minutes after that run goes quiet; Run history shows which one is holding it.',+ 'A run is still using this copy — a conversation, a build, or the file browser. It is released on its own roughly 15 minutes after that run goes quiet; Run history shows which one is holding it.','environments.instances.runningHintStoppable':- 'A run is still using this instance — a conversation, a build, or the file browser. It is released on its own roughly 15 minutes after that run goes quiet, or you can stop it now; Run history shows which one is holding it.',+ 'A run is still using this copy — a conversation, a build, or the file browser. It is released on its own roughly 15 minutes after that run goes quiet, or you can stop it now; Run history shows which one is holding it.','environments.instances.stop': 'Stop','environments.instances.stopConfirmTitle': 'Stop the run in "{{name}}"?','environments.instances.stopConfirmContent':- 'The run holding this instance is stopped now instead of when it goes quiet. What it installed and wrote is saved first. A conversation in the middle of a step has that step cut off, and picks up from the saved state with its next message.',+ 'The run holding this copy is stopped now instead of when it goes quiet. What it installed and wrote is saved first. A conversation in the middle of a step has that step cut off, and picks up from the saved state with its next message.','environments.instances.stopping': 'Stopping — saving the run first…','environments.instances.stopped': 'Stopped. "{{name}}" is free to use','environments.instances.stopNothing': 'Nothing is running in "{{name}}" any more',@@ -4265,16 +4289,16 @@ When I am ___, I need ___'environments.instances.stopSnapshotPending':'The run is still saving its work, so it was left running — try again in a moment','environments.instances.stopStarting':- 'A run is just starting in this instance — try again in a moment',+ 'A run is just starting in this copy — try again in a moment','environments.instances.stopBusy':- 'This instance is being copied or deleted — try again in a moment',+ 'This copy is being duplicated or deleted — try again in a moment','environments.instances.stopBuilding':- 'This instance is being built. It is released when the build finishes',+ 'This copy is being built. It is released when the build finishes','environments.instances.stopRefused': 'The run could not be stopped — try again','environments.instances.notBuilt': 'Not built yet — nothing has been cloned or installed','environments.instances.rebuildConfirmContent':- "This clears the instance's folder, then clones the code again and runs the setup script. Everything in it now — changes made in conversations, installed packages, reports, data — will be lost. This cannot be undone.",- 'environments.instances.rebuildConfirmTitle': 'Rebuild instance {{name}}?',+ "This clears the copy's folder, then clones the code again and runs the setup script. Everything in it now — changes made in conversations, installed packages, reports, data — will be lost. This cannot be undone.",+ 'environments.instances.rebuildConfirmTitle': 'Rebuild copy {{name}}?','environments.instances.showLog': 'Show log','environments.instances.hideLog': 'Hide log','environments.instances.directoryLabel': 'Directory',@@ -4283,5 +4307,5 @@ When I am ___, I need ___'Read-only: kept in sync by the sandbox. Dependencies such as node_modules are not shown.','environments.files.openHint': 'Double-click a folder to open it, or a file to view it','environments.files.unusedInstance':- 'Nothing here yet. The code appears once the instance is built or a conversation runs in it.',+ 'Nothing here yet. The code appears once the copy is built or a conversation runs in it.',};diff --git a/packages/types/src/environment/index.test.ts b/packages/types/src/environment/index.test.tsnew file mode 100644index 00000000000..60eb9497a6a--- /dev/null+++ b/packages/types/src/environment/index.test.ts@@ -0,0 +1,59 @@+import { describe, expect, it } from 'vitest';++import { type EnvironmentConfiguration, environmentKind, toExecutionConfiguration } from './index';++describe('environmentKind', () => {+ it('uses the stored kind when there is one, whatever else is configured', () => {+ expect(+ environmentKind({+ configuration: {+ kind: 'files',+ sources: [{ kind: 'git', url: 'https://github.com/a/b' }],+ },+ }),+ ).toBe('files');+ expect(environmentKind({ configuration: { kind: 'code' } })).toBe('code');+ });++ it('reads an environment with a repository and no stored kind as code', () => {+ expect(+ environmentKind({+ configuration: { sources: [{ kind: 'git', url: 'https://github.com/a/b' }] },+ }),+ ).toBe('code');+ });++ it('reads an environment with a setup command and no stored kind as code', () => {+ expect(environmentKind({ configuration: { bootstrapCommand: 'pnpm install' } })).toBe('code');+ });++ it('reads an environment with neither as files', () => {+ expect(environmentKind({ configuration: {} })).toBe('files');+ expect(environmentKind({ configuration: { bootstrapCommand: ' ', sources: [] } })).toBe(+ 'files',+ );+ expect(environmentKind({ configuration: { env: { REGION: 'us' } } })).toBe('files');+ expect(environmentKind({ configuration: null })).toBe('files');+ expect(environmentKind(undefined)).toBe('files');+ });+});++describe('toExecutionConfiguration', () => {+ const before: EnvironmentConfiguration = {+ bootstrapCommand: 'pnpm install',+ env: { REGION: 'us' },+ excludePaths: ['node_modules'],+ internetAccess: false,+ maintenanceCommand: 'git pull',+ sources: [{ kind: 'git', ref: 'main', url: 'https://github.com/a/b' }],+ };++ it('sends the same definition whether or not a kind was stored', () => {+ expect(toExecutionConfiguration({ ...before, kind: 'code' })).toEqual(before);+ expect(toExecutionConfiguration({ kind: 'files' })).toEqual({});+ });++ it('leaves a definition without a kind as it was', () => {+ expect(toExecutionConfiguration(before)).toEqual(before);+ });+});diff --git a/packages/types/src/environment/index.ts b/packages/types/src/environment/index.tsindex 26522d71bb5..ad1a3fcc9b9 100644--- a/packages/types/src/environment/index.ts+++ b/packages/types/src/environment/index.ts@@ -18,6 +18,16 @@ export interface EnvironmentResourceRequirements {memoryGiB?: number;}+/**+ * What an environment is for, as the person who made it chose it.+ *+ * `files` is a folder someone hands files to for an agent to work on; `code`+ * checks out a repository and runs setup. Presentation only: it decides which+ * form and which entries the product shows, and never reaches the execution+ * plane — see {@link environmentKind} for how an environment without one reads.+ */+export type EnvironmentKind = 'files' | 'code';+/** Portable definition, shared by device, sandbox and cluster instances. No credentials. */export interface EnvironmentConfiguration {bootstrapCommand?: string;@@ -48,6 +58,13 @@ export interface EnvironmentConfiguration {* the machine has and cannot enforce a restriction at all.*/internetAccess?: boolean;+ /**+ * Chosen at creation; absent on environments made before there was a+ * choice, which {@link environmentKind} reads from what they configure.+ * Stored with the rest of the definition but stripped from every copy sent+ * to the execution plane, so adding it changes no build's digest.+ */+ kind?: EnvironmentKind;/*** Run every time work resumes in an instance, after whatever was built is* restored — refreshing a checkout, reapplying a migration.@@ -90,3 +107,46 @@ export interface EnvironmentInstanceConfiguration {* form at creation, visible, and removable.*/export const DEFAULT_REGENERABLE_PATHS = ['node_modules', '.venv', 'target'] as const;++/**+ * The kind an environment reads as.+ *+ * The stored choice when there is one. An environment made before the choice+ * existed is not backfilled; it is read from what it configures instead — a+ * repository or a setup command is code work, and anything else is a folder of+ * files.+ */+export const environmentKind = (+ environment:+ | {+ configuration?: Pick<+ EnvironmentConfiguration,+ 'bootstrapCommand' | 'kind' | 'sources'+ > | null;+ }+ | null+ | undefined,+): EnvironmentKind => {+ const configuration = environment?.configuration;+ if (configuration?.kind === 'files' || configuration?.kind === 'code') return configuration.kind;++ return (configuration?.sources?.length ?? 0) > 0 ||+ Boolean(configuration?.bootstrapCommand?.trim())+ ? 'code'+ : 'files';+};++/**+ * A definition as the execution plane receives it: without the fields that are+ * only the product's own (today, {@link EnvironmentConfiguration.kind}). The+ * execution plane digests what it is sent to decide which build a snapshot+ * belongs to, so a presentation field passed through would mark every+ * existing instance as built from a different specification.+ */+export const toExecutionConfiguration = (+ configuration: EnvironmentConfiguration,+): EnvironmentConfiguration => {+ const { kind: _kind, ...rest } = configuration;++ return rest;+};diff --git a/packages/utils/src/environmentInstance.test.ts b/packages/utils/src/environmentInstance.test.tsnew file mode 100644index 00000000000..0128b436e75--- /dev/null+++ b/packages/utils/src/environmentInstance.test.ts@@ -0,0 +1,86 @@+import { describe, expect, it } from 'vitest';++import {+ derivedInstanceDirectory,+ isDefaultInstance,+ markDefaultInstances,+ pickDefaultInstance,+} from './environmentInstance';++const at = (iso: string) => new Date(iso);++describe('pickDefaultInstance', () => {+ it('picks the instance created first, whatever order the list is in', () => {+ const first = { createdAt: at('2026-01-01T00:00:00Z'), id: 'ffff' };+ const second = { createdAt: at('2026-01-02T00:00:00Z'), id: '0000' };++ expect(pickDefaultInstance([second, first])).toBe(first);+ expect(pickDefaultInstance([first, second])).toBe(first);+ });++ it('breaks a tie on creation time by id, so every caller agrees', () => {+ const createdAt = at('2026-01-01T00:00:00Z');+ const a = { createdAt, id: '1b4e28ba-2fa1-11d2-883f-0016d3cca427' };+ const b = { createdAt, id: '9b4e28ba-2fa1-11d2-883f-0016d3cca427' };++ expect(pickDefaultInstance([b, a])).toBe(a);+ expect(pickDefaultInstance([a, b])).toBe(a);+ });++ it('reads timestamps that arrived serialized as strings', () => {+ // Rows that crossed tRPC without a transformer, or came out of a cache.+ const older = { createdAt: '2026-01-01T00:00:00.000Z', id: 'z' };+ const newer = { createdAt: '2026-03-01T00:00:00.000Z', id: 'a' };++ expect(pickDefaultInstance([newer, older])).toBe(older);+ });++ it('has no default for an environment without instances', () => {+ expect(pickDefaultInstance([])).toBeUndefined();+ });+});++describe('isDefaultInstance', () => {+ const createdAt = at('2026-01-01T00:00:00Z');+ const siblings = [+ { createdAt: at('2026-02-01T00:00:00Z'), id: 'a' },+ { createdAt, id: 'c' },+ { createdAt, id: 'b' },+ ];++ it('answers yes only for the earliest instance', () => {+ expect(isDefaultInstance({ id: 'b' }, siblings)).toBe(true);+ expect(isDefaultInstance({ id: 'c' }, siblings)).toBe(false);+ expect(isDefaultInstance({ id: 'a' }, siblings)).toBe(false);+ });++ it('treats a sole instance as the default', () => {+ expect(isDefaultInstance({ id: 'only' }, [{ createdAt, id: 'only' }])).toBe(true);+ });+});++describe('derivedInstanceDirectory', () => {+ it('uses the bare slug first and numbers the later attempts', () => {+ expect(derivedInstanceDirectory('Python 数据分析', 1)).toBe('python-数据分析');+ expect(derivedInstanceDirectory('Python 数据分析', 2)).toBe('python-数据分析-2');+ expect(derivedInstanceDirectory('...', 3)).toBe('environment-3');+ });+});++describe('markDefaultInstances', () => {+ it('flags one default per environment and keeps the list order', () => {+ const early = at('2026-01-01T00:00:00Z');+ const late = at('2026-02-01T00:00:00Z');+ const marked = markDefaultInstances([+ { createdAt: late, environmentId: 'env-a', id: 'a-late' },+ { createdAt: early, environmentId: 'env-b', id: 'b-only' },+ { createdAt: early, environmentId: 'env-a', id: 'a-early' },+ ]);++ expect(marked.map((instance) => [instance.id, instance.isDefault])).toEqual([+ ['a-late', false],+ ['b-only', true],+ ['a-early', true],+ ]);+ });+});diff --git a/packages/utils/src/environmentInstance.ts b/packages/utils/src/environmentInstance.tsnew file mode 100644index 00000000000..f4f0ac16aa8--- /dev/null+++ b/packages/utils/src/environmentInstance.ts@@ -0,0 +1,131 @@+/**+ * Rules about an environment's instances that the server and the client both+ * apply. Kept in one place because the two sides answer the same questions —+ * which instance is the default, what a derived directory is called — and an+ * answer that differs between them shows the person one thing and enforces+ * another.+ */++/**+ * How many derived directories to try before giving up.+ *+ * A bound rather than a loop until success: the only way to exhaust it is a+ * member who already holds fifty directories under one name, and at that point+ * the honest answer is to say so rather than keep probing the index.+ */+export const MAX_DERIVED_DIRECTORY_ATTEMPTS = 50;++/**+ * A directory name derived from an environment's name.+ *+ * Letters and digits of any script survive — a Chinese environment name should+ * not become a row of dashes — while everything else collapses to `-`, because+ * this name is handed to a shell as a path. Interior spaces are legal in a+ * workspace path and still not worth minting: every command the agent writes+ * would need to quote them.+ *+ * Leading dots are stripped rather than escaped, which also puts `.sandbox`+ * (the reserved platform directory) out of reach without naming it here.+ */+export const environmentDirectorySlug = (name: string): string => {+ const slug = name+ .normalize('NFKC')+ .toLowerCase()+ .replaceAll(/[^\p{L}\p{N}._-]+/gu, '-')+ .slice(0, 48)+ .replaceAll(/^[.-]+|[.-]+$/g, '');++ // Every character was punctuation, or the name was dots. Nothing is derivable+ // from it, so fall back to a word rather than to an empty path.+ return slug || 'environment';+};++/**+ * The directory to try on a given attempt (1-based): the slug itself first,+ * then `slug-2`, `slug-3`, … The derived name doubles as the instance's label+ * until someone renames it.+ */+export const derivedInstanceDirectory = (environmentName: string, attempt: number): string => {+ const base = environmentDirectorySlug(environmentName);++ return attempt <= 1 ? base : `${base}-${attempt}`;+};++/** The fields the default rule reads; any instance row satisfies it. */+export interface DefaultInstanceCandidate {+ createdAt: Date | string;+ id: string;+}++const createdAtMs = (value: Date | string): number =>+ value instanceof Date ? value.getTime() : new Date(value).getTime();++/**+ * Orders instances the way the default rule ranks them: earliest `createdAt`+ * first, and by id when two were created at the same moment, so every caller+ * agrees on the winner no matter what order the list arrived in.+ */+export const compareInstancesForDefault = (+ a: DefaultInstanceCandidate,+ b: DefaultInstanceCandidate,+): number => {+ const byCreation = createdAtMs(a.createdAt) - createdAtMs(b.createdAt);+ if (byCreation !== 0) return byCreation;++ if (a.id === b.id) return 0;+ return a.id < b.id ? -1 : 1;+};++/**+ * An environment's default instance: the one created first.+ *+ * Derived rather than stored, so there is no column to keep in sync. A new+ * environment's default is the instance created alongside it; an older one+ * with several instances gets its earliest, which is the one its owner has+ * been using longest. Pass one environment's instances — the rule does not+ * group by environment.+ */+export const pickDefaultInstance = <T extends DefaultInstanceCandidate>(+ instances: readonly T[],+): T | undefined => {+ let picked: T | undefined;++ for (const instance of instances) {+ if (!picked || compareInstancesForDefault(instance, picked) < 0) picked = instance;+ }++ return picked;+};++/** Whether `instance` is the default among its environment's `instances`. */+export const isDefaultInstance = (+ instance: Pick<DefaultInstanceCandidate, 'id'>,+ instances: readonly DefaultInstanceCandidate[],+): boolean => pickDefaultInstance(instances)?.id === instance.id;++/**+ * Marks each instance with whether it is its environment's default, for a list+ * that may span several environments. The client reads the flag rather than+ * re-deriving the rule, so the picker, the settings page and the server's+ * delete guard all agree on which copy is the default.+ */+export const markDefaultInstances = <+ T extends DefaultInstanceCandidate & { environmentId: string },+>(+ instances: readonly T[],+): (T & { isDefault: boolean })[] => {+ const byEnvironment = new Map<string, T[]>();+ for (const instance of instances) {+ const group = byEnvironment.get(instance.environmentId);+ if (group) group.push(instance);+ else byEnvironment.set(instance.environmentId, [instance]);+ }++ const defaults = new Set<string>();+ for (const group of byEnvironment.values()) {+ const picked = pickDefaultInstance(group);+ if (picked) defaults.add(picked.id);+ }++ return instances.map((instance) => ({ ...instance, isDefault: defaults.has(instance.id) }));+};diff --git a/src/features/ChatInput/ControlBar/SandboxEnvironmentRow.tsx b/src/features/ChatInput/ControlBar/SandboxEnvironmentRow.tsxnew file mode 100644index 00000000000..4eb8af76ed8--- /dev/null+++ b/src/features/ChatInput/ControlBar/SandboxEnvironmentRow.tsx@@ -0,0 +1,317 @@+'use client';++import { type EnvironmentKind } from '@lobechat/types';+import { Github } from '@lobehub/icons';+import { Flexbox, Icon, Tooltip } from '@lobehub/ui';+import { ActionIcon, DropdownMenu, Popover } from '@lobehub/ui/base-ui';+import { createStaticStyles, cssVar } from 'antd-style';+import {+ ChevronDownIcon,+ ChevronRightIcon,+ CircleStopIcon,+ CopyPlusIcon,+ FolderIcon,+ MoreVerticalIcon,+} from 'lucide-react';+import { memo, type ReactNode, useState, useSyncExternalStore } from 'react';+import { useTranslation } from 'react-i18next';++import OptionRow from './OptionRow';+import {+ copyMenuActions,+ type EnvironmentRowState,+ isCopyBuilding,+ isCopyOccupied,+ type PickerCopy,+} from './sandboxEnvironmentRows';++const styles = createStaticStyles(({ css }) => ({+ desc: css`+ overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;+ `,+ inlineCopies: css`+ margin-inline-start: 18px;+ padding-inline-start: 8px;+ border-inline-start: 1px solid ${cssVar.colorBorderSecondary};+ `,+ option: css`+ && {+ padding-inline: 0;+ }+ `,+ submenuArrow: css`+ display: flex;+ align-items: center;+ color: ${cssVar.colorTextQuaternary};+ `,+ submenuTitle: css`+ padding-block: 4px;+ font-size: 11px;+ font-weight: 500;+ color: ${cssVar.colorTextQuaternary};+ `,+}));++/**+ * Desktop pointers open a second menu on hover; touch screens and narrow+ * windows have no hover and no room beside the menu, so there the row's arrow+ * expands the copies in place instead.+ */+const HOVER_SUBMENU_QUERY = '(hover: hover) and (pointer: fine) and (min-width: 768px)';++const subscribeHoverQuery = (onChange: () => void) => {+ if (typeof window === 'undefined' || !window.matchMedia) return () => {};+ const query = window.matchMedia(HOVER_SUBMENU_QUERY);+ query.addEventListener('change', onChange);+ return () => query.removeEventListener('change', onChange);+};++const readHoverQuery = () =>+ typeof window === 'undefined' || !window.matchMedia+ ? true+ : window.matchMedia(HOVER_SUBMENU_QUERY).matches;++export const useHoverSubmenu = () =>+ useSyncExternalStore(subscribeHoverQuery, readHoverQuery, () => true);++/** A listed copy, as the picker receives it from `listInstances`. */+export interface SandboxPickerCopy extends PickerCopy {+ isDefault: boolean;+ name: string;+ workingDirectory: string;+}++export interface SandboxEnvironmentRowProps {+ boundInstanceId?: string;+ /** The environment's preparation is in flight: a lazy creation or another copy. */+ busy?: boolean;+ environment: { id: string; name: string };+ isCreator: boolean;+ kind: EnvironmentKind;+ onReopen: () => void;+ onSelectCopy: (copy: SandboxPickerCopy) => void;+ /** Picks an environment with no copy yet — its creator's copy is made first. */+ onSelectLazy: () => void;+ onStop: (copy: SandboxPickerCopy) => void;+ row: EnvironmentRowState<SandboxPickerCopy>;+ /** Copies whose run is being stopped from this menu. */+ stopping: (id: string) => boolean;+}++/**+ * One environment in the composer's picker, and — only when it has more than+ * one copy — the copies under it.+ *+ * The row is what people choose. Which copy that lands the conversation in is+ * decided by `describeEnvironmentRow`, and the second menu exists for the rare+ * person who wants a specific one: a single copy needs no menu to choose it.+ */+const SandboxEnvironmentRow = memo<SandboxEnvironmentRowProps>(+ ({+ boundInstanceId,+ busy,+ environment,+ isCreator,+ kind,+ onReopen,+ onSelectCopy,+ onSelectLazy,+ onStop,+ row,+ stopping,+ }) => {+ const { t } = useTranslation('chat');+ const hoverSubmenu = useHoverSubmenu();+ const [expanded, setExpanded] = useState(false);++ const icon = (size: number): ReactNode =>+ kind === 'files' ? <Icon icon={FolderIcon} size={size} /> : <Github size={size} />;++ const statusTag = (copy: SandboxPickerCopy | undefined): ReactNode => {+ if (!copy) return undefined;+ if (isCopyBuilding(copy)) return t('sandboxStorage.building');+ if (copy.status === 'error') return t('sandboxStorage.buildFailed');+ if (!copy.inUse) return undefined;++ const occupied = isCopyOccupied(copy);+ const stoppable = occupied && copyMenuActions({ copy, isCreator, kind }).includes('stop');++ // "Running" alone reads as a state, not as the reason the row cannot be+ // picked — the tooltip says how long that lasts, and, for the creator,+ // that it can be ended now from the menu beside it.+ return (+ <Tooltip+ title={t(+ !occupied+ ? 'sandboxStorage.runningOwnHint'+ : stoppable+ ? 'sandboxStorage.runningHintStoppable'+ : 'sandboxStorage.runningHint',+ )}+ >+ <span>{t('sandboxStorage.running')}</span>+ </Tooltip>+ );+ };++ // The menu the stop shipped in, with "open another copy" below it. The same+ // menu on the environment row (acting on the copy the row shows) and on+ // every copy row, so the way out of a busy copy is where the person found it.+ const menu = (copy: SandboxPickerCopy | undefined) => {+ const actions = copyMenuActions({ copy, isCreator, kind });+ if (actions.length === 0) return undefined;++ const isStopping = copy ? stopping(copy.id) : false;++ return (+ <DropdownMenu+ items={actions.map((action) =>+ action === 'stop'+ ? {+ disabled: isStopping,+ icon: CircleStopIcon,+ key: 'stop',+ label: t('sandboxStorage.stop'),+ onClick: () => copy && onStop(copy),+ }+ : {+ desc: t('sandboxStorage.reopenCopyDesc'),+ disabled: busy,+ icon: CopyPlusIcon,+ key: 'reopen',+ label: t('sandboxStorage.reopenCopy'),+ onClick: onReopen,+ },+ )}+ >+ <ActionIcon+ data-testid={`sandbox-env-menu-${copy?.id ?? environment.id}`}+ disabled={isStopping}+ icon={MoreVerticalIcon}+ loading={isStopping || busy}+ size={'small'}+ />+ </DropdownMenu>+ );+ };++ const copyRow = (copy: SandboxPickerCopy) => {+ const active = copy.id === boundInstanceId;+ const unavailable = isCopyOccupied(copy) || isCopyBuilding(copy);++ return (+ <OptionRow+ active={active}+ className={styles.option}+ desc={<span className={styles.desc}>{copy.workingDirectory}</span>}+ // Already this conversation's own copy: it stays selectable however+ // the lease reads — "you cannot pick what you are already using" is+ // never the right thing to say.+ disabled={unavailable && !active}+ extra={menu(copy)}+ icon={icon(16)}+ key={copy.id}+ label={copy.name}+ tags={[copy.isDefault ? t('sandboxStorage.defaultCopy') : null, statusTag(copy)].filter(+ Boolean,+ )}+ onClick={() => onSelectCopy(copy)}+ />+ );+ };++ const copyList = (+ <Flexbox data-testid={`sandbox-env-copies-${environment.id}`} gap={2}>+ {row.copies.map((copy) => copyRow(copy))}+ </Flexbox>+ );++ const displayed = row.displayed;+ const desc = row.lazyCreate+ ? t('sandboxStorage.noCopyYetDesc')+ : row.copies.length === 0+ ? t('sandboxStorage.noCopyColleagueDesc')+ : row.hasSubmenu+ ? `${displayed?.name} · ${t('sandboxStorage.copyCount', { count: row.copies.length })}`+ : displayed?.workingDirectory;++ const arrow = row.hasSubmenu ? (+ hoverSubmenu ? (+ <span className={styles.submenuArrow}>+ <Icon icon={ChevronRightIcon} size={14} />+ </span>+ ) : (+ <ActionIcon+ aria-expanded={expanded}+ data-testid={`sandbox-env-expand-${environment.id}`}+ icon={expanded ? ChevronDownIcon : ChevronRightIcon}+ size={'small'}+ title={t('sandboxStorage.showCopies')}+ onClick={() => setExpanded((value) => !value)}+ />+ )+ ) : undefined;++ const menuButton = menu(displayed);+ const extra =+ menuButton || arrow ? (+ <>+ {menuButton}+ {arrow}+ </>+ ) : undefined;++ const environmentRow = (+ <OptionRow+ active={row.copies.some((copy) => copy.id === boundInstanceId)}+ className={styles.option}+ desc={<span className={styles.desc}>{desc}</span>}+ disabled={!row.selectable || busy}+ extra={extra}+ icon={icon(16)}+ label={environment.name}+ tags={[+ t(kind === 'files' ? 'sandboxStorage.kind.files' : 'sandboxStorage.kind.code'),+ statusTag(displayed),+ ].filter(Boolean)}+ onClick={() => {+ if (row.lazyCreate) onSelectLazy();+ else if (row.picked) onSelectCopy(row.picked);+ }}+ />+ );++ if (!row.hasSubmenu)+ return <div data-testid={`sandbox-env-row-${environment.id}`}>{environmentRow}</div>;++ if (hoverSubmenu)+ return (+ <Popover+ arrow={false}+ placement={'rightTop'}+ trigger={'hover'}+ content={+ <Flexbox gap={2} style={{ maxWidth: 320, minWidth: 240 }}>+ <div className={styles.submenuTitle}>{t('sandboxStorage.copies')}</div>+ {copyList}+ </Flexbox>+ }+ >+ <div data-testid={`sandbox-env-row-${environment.id}`}>{environmentRow}</div>+ </Popover>+ );++ return (+ <div data-testid={`sandbox-env-row-${environment.id}`}>+ {environmentRow}+ {expanded && <div className={styles.inlineCopies}>{copyList}</div>}+ </div>+ );+ },+);++SandboxEnvironmentRow.displayName = 'SandboxEnvironmentRow';++export default SandboxEnvironmentRow;diff --git a/src/features/ChatInput/ControlBar/SandboxInstancePicker.tsx b/src/features/ChatInput/ControlBar/SandboxInstancePicker.tsxindex 0e780cd0738..b18ea89b490 100644--- a/src/features/ChatInput/ControlBar/SandboxInstancePicker.tsx+++ b/src/features/ChatInput/ControlBar/SandboxInstancePicker.tsx@@ -1,26 +1,16 @@'use client';+import { environmentKind } from '@lobechat/types';import { Github } from '@lobehub/icons';import { Flexbox, Icon, Tooltip } from '@lobehub/ui';-import {- ActionIcon,- confirmModal,- DropdownMenu,- Popover,- Skeleton,- Text,- toast,-} from '@lobehub/ui/base-ui';+import { confirmModal, Popover, Skeleton, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import {- AppWindowMacIcon,ChevronDownIcon,- CircleStopIcon,FolderClockIcon,FolderIcon,InfoIcon,LockIcon,- MoreVerticalIcon,PlusIcon,SettingsIcon,TimerIcon,@@ -31,13 +21,20 @@ import useSWR from 'swr';import { openSandboxStorageUpsell } from '@/business/client/features/SandboxStorageUpsell';import { describeError } from '@/features/EnvironmentManager/errorMessage';-import { repositoryPath } from '@/features/EnvironmentManager/repository';import { settleThenRefresh } from '@/features/EnvironmentManager/settleThenRefresh';import { useCanEditEnvironment } from '@/features/EnvironmentManager/useCanEditEnvironment';import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwareNavigate';import { sandboxStorageService } from '@/services/sandboxStorage';import OptionRow from './OptionRow';+import SandboxEnvironmentRow from './SandboxEnvironmentRow';+import {+ copyChipLabel,+ describeEnvironmentRow,+ isCopyBuilding,+ isCopyOccupied,+} from './sandboxEnvironmentRows';+import { useCreateCopy } from './useCreateCopy';import { usePendingIds } from './usePendingIds';import type { SandboxSelection } from './useSandboxMode';import { workingDirectoryChipStyles } from './workingDirectoryChipStyles';@@ -187,7 +184,8 @@ interface SandboxInstancePickerProps {value: SandboxSelection;}-const INSTANCE_ICON = AppWindowMacIcon;+/** How often a building copy is re-listed while the picker can see it. */+const BUILD_REFRESH_MS = 4000;/*** Where a cloud-sandbox run keeps its files, offered the way the local picker@@ -195,11 +193,11 @@ const INSTANCE_ICON = AppWindowMacIcon;** The temporary directory comes first because it is what a run gets by* choosing nothing — naming it keeps that state visible and lets a run go back- * to it. Below it, the instances themselves, flat: an instance is the only- * thing here files can actually go into, and nesting each one under its- * environment spent a line per environment to say what the instance's own- * second line already says. Environments are named there, and made on the- * environment page — this menu picks, it does not author.+ * to it. Below it, the environments: what people choose is an environment, and+ * the copy (instance) of it a conversation lands in is picked for them — the+ * one it already uses, else the default, else the first free one. Copies only+ * surface, in a second menu, when an environment has more than one. The topic+ * still stores the copy's id, so a conversation's files never move.** Names, not sizes: sizes live in the snapshot store, which needs a live sandbox* session to answer, and a picker that takes seconds to open is a picker people@@ -212,14 +210,14 @@ const SandboxInstancePicker = memo<SandboxInstancePickerProps>(// "working directory" would be one more pair to keep in step.const { t } = useTranslation(['chat', 'device', 'setting']);const [open, setOpen] = useState(false);- // Instances whose run is being stopped from this menu.+ // Copies whose run is being stopped from this menu.const stopping = usePendingIds();const canEdit = useCanEditEnvironment();const navigate = useWorkspaceAwareNavigate();const boundInstanceId = value.mode === 'persistent' ? value.instanceId : undefined;- // Fetched while CLOSED whenever an instance is bound, because the chip names+ // Fetched while CLOSED whenever a copy is bound, because the chip names// it by looking it up in this list: gating the list on `open` alone leaves// the closed chip with nothing to look up.const {@@ -235,14 +233,23 @@ const SandboxInstancePicker = memo<SandboxInstancePickerProps>(// which takes the topic from none to one, must not blank the chip: it// would flash a skeleton for a name that never changed. Kept until the// refetch lands; a moment of last-known occupancy is not worth that.- { keepPreviousData: true, revalidateOnFocus: false },+ {+ keepPreviousData: true,+ // A building copy settles on a listing, so keep listing while one is+ // building: "Building" has to turn into a usable row on its own.+ refreshInterval: (latest) =>+ (latest?.instances ?? []).some((instance) => instance.status === 'pending')+ ? BUILD_REFRESH_MS+ : 0,+ revalidateOnFocus: false,+ },);const {data: environmentData,error: environmentError,isLoading: environmentsLoading,- // Also while closed when an instance is bound: whether that instance- // is still usable depends on its environment's visibility.+ // Also while closed when a copy is bound: whether that copy is still+ // usable depends on its environment's visibility.} = useSWR(entitled && (open || boundInstanceId) ? 'sandbox-environments' : null, () =>sandboxStorageService.listEnvironments(),);@@ -271,43 +278,28 @@ const SandboxInstancePicker = memo<SandboxInstancePickerProps>(const environmentById = new Map(environments.map((environment) => [environment.id, environment]),);-- // The menu lists instances, not environments. An environment is what an- // instance was made from — it names the instance and supplies its icon —- // but it is not itself a place files can go, so it no longer gets a row of- // its own to nest under. Making one is the environment page's job.- const selectableInstances = instances.filter((instance) => {- const environment = environmentById.get(instance.environmentId);- return Boolean(environment) && !isBlocked(instance.environmentId);- });-- // Inside a workspace an instance belongs to one of two pools, through its- // environment, and which one decides who else can reach what a run leaves- // behind — so the menu says which pool it is looking at, the way the- // execution-target menu splits private from workspace devices. A personal- // account has one pool and no such question, so it stays flat.+ const copiesOf = (environmentId: string) =>+ instances.filter((instance) => instance.environmentId === environmentId);+ const currentEnvironment = current ? environmentById.get(current.environmentId) : undefined;++ // Inside a workspace an environment belongs to one of two pools, and which+ // one decides who else can reach what a run leaves behind — so the menu+ // says which pool it is looking at, the way the execution-target menu+ // splits private from workspace devices. A personal account has one pool+ // and no such question, so it stays flat.const inWorkspace = selectable.some((environment) => Boolean(environment.workspaceId));- const poolOf = (instance: (typeof instances)[number]) =>- environmentById.get(instance.environmentId)?.visibility === 'private'- ? 'private'- : 'workspace';const privatePool = inWorkspace- ? selectableInstances.filter((instance) => poolOf(instance) === 'private')+ ? selectable.filter((environment) => environment.visibility === 'private'): [];const workspacePool = inWorkspace- ? selectableInstances.filter((instance) => poolOf(instance) === 'workspace')+ ? selectable.filter((environment) => environment.visibility !== 'private'): [];// Only once BOTH lists have arrived: undefined is "not known yet", not- // "none", and instances alone cannot be judged — an instance whose- // environment is hidden from this agent is not one of this menu's choices.+ // "none". With no environment at all there is nothing to pick, so the row+ // says to set one up.const listsReady = Boolean(environmentData) && Boolean(data);- const hasNoInstances = listsReady && selectableInstances.length === 0;- // Which of the two empty states this is. With no environment at all there- // is nothing to make an instance of, so the row says to set one up; with- // an environment but no instance, the environment page is where the copy- // gets made.- const hasNoEnvironments = hasNoInstances && selectable.length === 0;+ const hasNoEnvironments = listsReady && selectable.length === 0;const select = async (selection: SandboxSelection) => {setOpen(false);@@ -320,13 +312,13 @@ const SandboxInstancePicker = memo<SandboxInstancePickerProps>(};// The same stop the settings row offers, from the place the person found- // the instance blocked. The dialog and its outcomes are that row's own- // words, so the two surfaces cannot drift into describing it differently.- // Keys are checked per namespace, and these are the settings row's.+ // the copy blocked. The dialog and its outcomes are that row's own words,+ // so the two surfaces cannot drift into describing it differently. Keys+ // are checked per namespace, and these are the settings row's.const translate = t as (key: string, options?: Record<string, unknown>) => string;const tSetting = (key: string, options?: Record<string, unknown>) =>translate(key, { ...options, ns: 'setting' });- const confirmStop = (instance: (typeof instances)[number]) =>+ const confirmStop = (instance: { id: string; name: string }) =>confirmModal({cancelText: t('cancel', { ns: 'common' }),content: tSetting('environments.instances.stopConfirmContent'),@@ -358,119 +350,60 @@ const SandboxInstancePicker = memo<SandboxInstancePickerProps>(title: tSetting('environments.instances.stopConfirmTitle', { name: instance.name }),});- const renderInstance = (instance: (typeof instances)[number]) => {- const environment = environmentById.get(instance.environmentId);- // What the environment builds from, marked the way the settings list- // marks it. Read from the environment because that is where a checkout- // is declared, but shown here, because an instance is the row a person- // picks between and "which repo is this" is what they are asking. The- // instance's own directory cannot answer it: that is a folder inside the- // workspace, which a repository icon would misread.- const repository = repositoryPath(environment?.configuration);- // Somebody else's run. The execution plane allows one session per- // instance — the second writer meets a 409 INSTANCE_IN_USE — so- // offering it would be offering a choice the next message refuses. Its- // own topic's run is the opposite case: that conversation is the one- // running, and taking its instance away mid-run is the last thing to do.- const occupied = instance.inUse && !instance.inUseByThisTopic;- // A build holds the very same lease — it is the exclusive writer while- // it publishes — so it needs no rule of its own here, only its own word.- // "Running" on an instance that is still being assembled would send- // someone looking for the conversation that is using it.- const preparing = instance.status === 'pending';- // Nothing has been cloned or installed into it yet. Selectable all the- // same: a build that failed is retried from the settings page, and a- // conversation pointed at the instance is how someone gets back to it.- const unbuilt = instance.status === 'error';- // The way out of `occupied`, for whoever may end that run: the owner,- // as on the settings row. A colleague's run in a published environment- // is theirs to finish, and this menu only explains the wait.- const stoppable = occupied && !preparing && !!environment && canEdit(environment);- const isStopping = stopping.has(instance.id);+ // Lazily for an environment with no copy yet, or as another copy when the+ // ones there are taken — see `useCreateCopy`.+ const { create: createCopy, isPreparing } = useCreateCopy({+ onBuildError: (error) =>+ toast.error(+ describeError(error, tSetting, tSetting('environments.instances.buildStartFailed')),+ ),+ onChange,+ refreshInstances,+ topicId,+ });+ const createCopyAndBind = (environmentId: string, failedKey: string) =>+ createCopy(environmentId, (error) =>+ toast.error(describeError(error, tSetting, translate(failedKey))),+ );++ const renderEnvironment = (environment: (typeof environments)[number]) => {+ const isCreator = canEdit(environment);+ const kind = environmentKind(environment);+ const row = describeEnvironmentRow({+ boundInstanceId,+ copies: copiesOf(environment.id),+ isCreator,+ kind,+ });return (- <OptionRow- active={instance.id === boundInstanceId}- className={styles.option}- // Already this conversation's own instance: it stays selectable- // however the lease reads, because "you cannot pick what you are- // already using" is never the right thing to tell someone.- disabled={(occupied || preparing) && instance.id !== boundInstanceId}- icon={repository ? <Github size={16} /> : <Icon icon={INSTANCE_ICON} size={16} />}- key={instance.id}- label={instance.name}- desc={- <span className={styles.environmentRow}>- {environment- ? `${environment.name} · ${instance.workingDirectory}`- : instance.workingDirectory}- </span>- }- extra={- // Behind a menu rather than on the row: a picker row is for- // picking, and a bare stop icon beside it reads as part of that- // choice. The spinner stays on the trigger while a stop runs.- stoppable ? (- <DropdownMenu- items={[- {- disabled: isStopping,- icon: CircleStopIcon,- key: 'stop',- label: t('sandboxStorage.stop'),- onClick: () => confirmStop(instance),- },- ]}- >- <ActionIcon- disabled={isStopping}- icon={MoreVerticalIcon}- loading={isStopping}- size={'small'}- />- </DropdownMenu>- ) : undefined- }- tag={- preparing ? (- t('sandboxStorage.building')- ) : unbuilt ? (- t('sandboxStorage.buildFailed')- ) : instance.inUse ? (- // "Running" alone reads as a state of the instance, not as- // the reason this row is the one that cannot be picked, and- // it says nothing about how long that lasts — or, for the- // owner, that it can be ended now with the button beside it.- // Only when somebody ELSE holds it, though: this conversation's- // own run leaves the row selectable, and telling the person to- // wait for a lease they already have describes a block that is- // not there.- <Tooltip- title={t(- !occupied- ? 'sandboxStorage.runningOwnHint'- : stoppable- ? 'sandboxStorage.runningHintStoppable'- : 'sandboxStorage.runningHint',- )}- >- <span>{t('sandboxStorage.running')}</span>- </Tooltip>- ) : undefined- }- onClick={() => void select({ instanceId: instance.id, mode: 'persistent' })}+ <SandboxEnvironmentRow+ boundInstanceId={boundInstanceId}+ busy={isPreparing(environment.id)}+ environment={environment}+ isCreator={isCreator}+ key={environment.id}+ kind={kind}+ row={row}+ stopping={stopping.has}+ onReopen={() => void createCopyAndBind(environment.id, 'sandboxStorage.reopenCopyFailed')}+ onSelectCopy={(copy) => void select({ instanceId: copy.id, mode: 'persistent' })}+ onStop={confirmStop}+ onSelectLazy={() => {+ setOpen(false);+ void createCopyAndBind(environment.id, 'sandboxStorage.createCopyFailed');+ }}/>);};- // The chip names what was chosen — an instance, or the temporary directory- // once it has been picked on purpose — and otherwise the slot itself, the- // same words the local chip shows before a folder is chosen. The default- // is not a choice, so it does not get named as one.- // A node rather than an icon component, because the repository mark is not- // a lucide glyph and the chip has to be able to show it: the chip names the- // instance the menu named, so a row that reads as a checkout cannot- // collapse back into a generic window once the menu closes.+ // The chip names what was chosen — an environment (and its copy, when it+ // has several), or the temporary directory once it has been picked on+ // purpose — and otherwise the slot itself, the same words the local chip+ // shows before a folder is chosen. The default is not a choice, so it does+ // not get named as one.+ // A node rather than an icon component, because the GitHub mark a code+ // environment shows is not a lucide glyph.const chipIcon = (() => {if (!current) {return value.mode === 'ephemeral' ? (@@ -480,15 +413,14 @@ const SandboxInstancePicker = memo<SandboxInstancePickerProps>();}if (currentBlocked) return <Icon icon={LockIcon} size={14} />;-- return repositoryPath(environmentById.get(current.environmentId)?.configuration) ? (- <Github size={14} />+ return environmentKind(currentEnvironment) === 'files' ? (+ <Icon icon={FolderIcon} size={14} />) : (- <Icon icon={INSTANCE_ICON} size={14} />+ <Github size={14} />);})();- // An instance is bound and the list that names it has not arrived. The key+ // A copy is bound and the list that names it has not arrived. The key// carries the topic, so the first send — the moment a conversation goes// from none to one — refetches it, and the fallback below would spend that// window saying the opposite of the truth: the chip read "working@@ -496,7 +428,11 @@ const SandboxInstancePicker = memo<SandboxInstancePickerProps>(// chose it and while the run was already using it.const resolvingInstance = !!boundInstanceId && !current && instancesLoading;const chipLabel = current- ? current.name+ ? copyChipLabel({+ copy: current,+ copyCount: copiesOf(current.environmentId).length,+ environmentName: currentEnvironment?.name,+ }): value.mode === 'ephemeral'? t('sandboxStorage.ephemeral'): t('workingDirectory.title', { ns: 'device' });@@ -538,8 +474,10 @@ const SandboxInstancePicker = memo<SandboxInstancePickerProps>({/* This conversation's own instance, held by another one. It staysbound — the lease may well be free again by the next message — but- saying nothing would leave a 409 to do the explaining. */}- {current && !currentBlocked && current.inUse && !current.inUseByThisTopic && (+ saying nothing would leave a 409 to do the explaining. A copy that+ is still building holds the same lease, but no conversation is+ running in it: its row already says "Building". */}+ {current && !currentBlocked && isCopyOccupied(current) && !isCopyBuilding(current) && (<Text className={styles.blockedNotice}>{t('sandboxStorage.instanceBusy', { name: current.name })}</Text>@@ -577,40 +515,31 @@ const SandboxInstancePicker = memo<SandboxInstancePickerProps>(<Text className={styles.notice}>{t('sandboxStorage.environmentsUnavailable')}</Text>)}- {entitled && hasNoInstances && (- // Nothing to choose from yet. Both roads lead to the same page —- // the row only changes which step it names, because "set up an- // environment" reads as a dead end to someone who already has one.+ {entitled && hasNoEnvironments && (+ // Nothing to choose from yet: environments are made on the+ // environment page — this menu picks, it does not author.<OptionRowclassName={styles.option}+ desc={t('sandboxStorage.setUpEnvironmentDesc')}icon={<Icon icon={PlusIcon} size={16} />}- desc={t(- hasNoEnvironments- ? 'sandboxStorage.setUpEnvironmentDesc'- : 'sandboxStorage.noInstancesDesc',- )}- label={t(- hasNoEnvironments ? 'sandboxStorage.setUpEnvironment' : 'sandboxStorage.noInstances',- )}+ label={t('sandboxStorage.setUpEnvironment')}onClick={() => leaveTo(() => navigate('/settings/environments'))}/>)}- {entitled &&- !inWorkspace &&- selectableInstances.map((instance) => renderInstance(instance))}+ {entitled && listsReady && !inWorkspace && selectable.map(renderEnvironment)}- {entitled && inWorkspace && privatePool.length > 0 && (+ {entitled && listsReady && inWorkspace && privatePool.length > 0 && (<><div className={styles.groupLabel}>{t('sandboxStorage.privateGroup')}</div>- {privatePool.map((instance) => renderInstance(instance))}+ {privatePool.map(renderEnvironment)}</>)}- {entitled && inWorkspace && workspacePool.length > 0 && (+ {entitled && listsReady && inWorkspace && workspacePool.length > 0 && (<><div className={styles.groupLabel}>{t('sandboxStorage.workspaceGroup')}</div>- {workspacePool.map((instance) => renderInstance(instance))}+ {workspacePool.map(renderEnvironment)}</>)}@@ -636,7 +565,14 @@ const SandboxInstancePicker = memo<SandboxInstancePickerProps>(open={open}placement={'topLeft'}trigger={'click'}- onOpenChange={setOpen}+ onOpenChange={(next) => {+ setOpen(next);+ // Occupancy moves on its own — a run ends, a build releases its+ // lease — and the list is not refetched on focus. Re-read it each+ // time the menu opens, so a copy is not offered or refused on a+ // stale answer. A Redis read on the server, never a sandbox.+ if (next && data) void refreshInstances();+ }}><div><Tooltipdiff --git a/src/features/ChatInput/ControlBar/__tests__/sandboxEnvironmentRows.test.ts b/src/features/ChatInput/ControlBar/__tests__/sandboxEnvironmentRows.test.tsnew file mode 100644index 00000000000..e33a6afaab1--- /dev/null+++ b/src/features/ChatInput/ControlBar/__tests__/sandboxEnvironmentRows.test.ts@@ -0,0 +1,201 @@+import { describe, expect, it } from 'vitest';++import {+ copyChipLabel,+ copyMenuActions,+ describeEnvironmentRow,+ pickCopyForEnvironment,+ type PickerCopy,+} from '../sandboxEnvironmentRows';++const copy = (id: string, minute: number, overrides: Partial<PickerCopy> = {}): PickerCopy => ({+ createdAt: new Date(Date.UTC(2026, 9, 1, 0, minute)),+ environmentId: 'env-1',+ id,+ inUse: false,+ inUseByThisTopic: false,+ status: 'ready',+ ...overrides,+});++const busy = { inUse: true, inUseByThisTopic: false };++describe('pickCopyForEnvironment', () => {+ it('keeps the copy this conversation is already bound to, even when the default is free', () => {+ const copies = [copy('default', 0), copy('second', 1)];++ expect(pickCopyForEnvironment(copies, 'second')?.id).toBe('second');+ });++ it('keeps the bound copy even when another run holds it', () => {+ const copies = [copy('default', 0), copy('second', 1, busy)];++ expect(pickCopyForEnvironment(copies, 'second')?.id).toBe('second');+ });++ it('picks the default (earliest) copy when nothing here is bound', () => {+ // Listed out of order on purpose: the rule reads createdAt, not position.+ const copies = [copy('second', 5), copy('default', 0), copy('third', 9)];++ expect(pickCopyForEnvironment(copies, 'somewhere-else')?.id).toBe('default');+ });++ it('falls through to the first free copy when the default is occupied', () => {+ const copies = [copy('default', 0, busy), copy('third', 9), copy('second', 5)];++ expect(pickCopyForEnvironment(copies, undefined)?.id).toBe('second');+ });++ it('skips a copy that is still building', () => {+ const copies = [+ copy('default', 0, busy),+ copy('second', 5, { status: 'pending' }),+ copy('third', 9),+ ];++ expect(pickCopyForEnvironment(copies, undefined)?.id).toBe('third');+ });++ it("treats this conversation's own run as free", () => {+ const copies = [copy('default', 0, { inUse: true, inUseByThisTopic: true }), copy('second', 5)];++ expect(pickCopyForEnvironment(copies, undefined)?.id).toBe('default');+ });++ it('picks nothing when every copy is taken', () => {+ const copies = [copy('default', 0, busy), copy('second', 5, busy)];++ expect(pickCopyForEnvironment(copies, undefined)).toBeUndefined();+ });+});++describe('describeEnvironmentRow', () => {+ it('shows a single copy as one row with no second menu', () => {+ const row = describeEnvironmentRow({+ copies: [copy('only', 0)],+ isCreator: true,+ kind: 'code',+ });++ expect(row).toMatchObject({ hasSubmenu: false, lazyCreate: false, selectable: true });+ expect(row.picked?.id).toBe('only');+ });++ it('offers the second menu only with several copies, default first', () => {+ const row = describeEnvironmentRow({+ copies: [copy('second', 5), copy('default', 0)],+ isCreator: false,+ kind: 'code',+ });++ expect(row.hasSubmenu).toBe(true);+ expect(row.copies.map((item) => item.id)).toEqual(['default', 'second']);+ });++ it('never offers a second menu on a files environment, however many copies it has', () => {+ const row = describeEnvironmentRow({+ boundInstanceId: 'second',+ copies: [copy('default', 0), copy('second', 5)],+ isCreator: true,+ kind: 'files',+ });++ expect(row.hasSubmenu).toBe(false);+ // The conversation stays on the copy it is already bound to.+ expect(row.picked?.id).toBe('second');+ });++ it('cannot be picked when every copy is taken, and shows the default copy state', () => {+ const row = describeEnvironmentRow({+ copies: [copy('default', 0, busy), copy('second', 5, busy)],+ isCreator: true,+ kind: 'code',+ });++ expect(row.selectable).toBe(false);+ expect(row.picked).toBeUndefined();+ expect(row.displayed?.id).toBe('default');+ });++ it('shows the state of the copy a click would bind', () => {+ const row = describeEnvironmentRow({+ copies: [copy('default', 0, busy), copy('second', 5, { status: 'error' })],+ isCreator: true,+ kind: 'code',+ });++ expect(row.displayed?.id).toBe('second');+ expect(row.displayed?.status).toBe('error');+ });++ it('creates the copy on first pick for the creator of an environment with none', () => {+ const row = describeEnvironmentRow({ copies: [], isCreator: true, kind: 'code' });++ expect(row).toMatchObject({ hasSubmenu: false, lazyCreate: true, selectable: true });+ });++ it('leaves a colleague unable to pick a published environment with no copy', () => {+ const row = describeEnvironmentRow({ copies: [], isCreator: false, kind: 'code' });++ expect(row).toMatchObject({ lazyCreate: false, selectable: false });+ });+});++describe('copyMenuActions', () => {+ it('offers stop and open-another-copy to the creator of a code environment', () => {+ expect(copyMenuActions({ copy: copy('a', 0, busy), isCreator: true, kind: 'code' })).toEqual([+ 'stop',+ 'reopen',+ ]);+ });++ it('offers only stop on a files environment', () => {+ expect(copyMenuActions({ copy: copy('a', 0, busy), isCreator: true, kind: 'files' })).toEqual([+ 'stop',+ ]);+ });++ it('offers nothing to a colleague', () => {+ expect(copyMenuActions({ copy: copy('a', 0, busy), isCreator: false, kind: 'code' })).toEqual(+ [],+ );+ expect(copyMenuActions({ copy: copy('a', 0, busy), isCreator: false, kind: 'files' })).toEqual(+ [],+ );+ });++ it('has no stop while nothing else holds the copy', () => {+ expect(copyMenuActions({ copy: copy('a', 0), isCreator: true, kind: 'code' })).toEqual([+ 'reopen',+ ]);+ expect(copyMenuActions({ copy: copy('a', 0), isCreator: true, kind: 'files' })).toEqual([]);+ });++ it('cannot stop a build', () => {+ expect(+ copyMenuActions({+ copy: copy('a', 0, { ...busy, status: 'pending' }),+ isCreator: true,+ kind: 'code',+ }),+ ).toEqual(['reopen']);+ });+});++describe('copyChipLabel', () => {+ it('names only the environment when it has one copy', () => {+ expect(copyChipLabel({ copy: { name: 'web' }, copyCount: 1, environmentName: 'Web' })).toBe(+ 'Web',+ );+ });++ it('names the environment and the copy when there are several', () => {+ expect(copyChipLabel({ copy: { name: 'web-2' }, copyCount: 2, environmentName: 'Web' })).toBe(+ 'Web · web-2',+ );+ });++ it('falls back to the copy name when the environment is unknown', () => {+ expect(copyChipLabel({ copy: { name: 'web-2' }, copyCount: 2 })).toBe('web-2');+ });+});diff --git a/src/features/ChatInput/ControlBar/__tests__/useCreateCopy.test.ts b/src/features/ChatInput/ControlBar/__tests__/useCreateCopy.test.tsnew file mode 100644index 00000000000..66b81b91d25--- /dev/null+++ b/src/features/ChatInput/ControlBar/__tests__/useCreateCopy.test.ts@@ -0,0 +1,163 @@+import { act, renderHook } from '@testing-library/react';+import { beforeEach, describe, expect, it, vi } from 'vitest';++import { useCreateCopy } from '../useCreateCopy';++const service = vi.hoisted(() => ({+ createInstanceForEnvironment: vi.fn(),+ startInstanceBuild: vi.fn(),+}));++vi.mock('@/services/sandboxStorage', () => ({ sandboxStorageService: service }));++const created = {+ createdAt: new Date('2026-10-01T00:05:00Z'),+ environmentId: 'env',+ id: 'env-2',+ name: 'env-2',+ workingDirectory: 'env-2',+};++interface Listed {+ instances: Record<string, unknown>[];+}++const listed = (environmentId: string, id: string) => ({ environmentId, id });++const setup = (previous: Listed = { instances: [] }) => {+ const onChange = vi.fn().mockResolvedValue(undefined);+ const onBuildError = vi.fn();+ const onCreateError = vi.fn();+ let cache = previous;+ const refreshInstances = vi.fn(async (update?: (value: Listed) => Listed) => {+ if (update) cache = update(cache);+ });++ const { result } = renderHook(() =>+ useCreateCopy({+ onBuildError,+ onChange,+ refreshInstances: refreshInstances as unknown as Parameters<+ typeof useCreateCopy+ >[0]['refreshInstances'],+ topicId: 'topic-1',+ }),+ );++ return { cache: () => cache, onBuildError, onChange, onCreateError, refreshInstances, result };+};++beforeEach(() => {+ vi.clearAllMocks();+ service.createInstanceForEnvironment.mockResolvedValue(created);+ service.startInstanceBuild.mockResolvedValue({ buildId: 'build-1' });+});++describe('useCreateCopy', () => {+ it('creates the copy, binds this conversation to it, then starts its build', async () => {+ const { onChange, onCreateError, result } = setup();++ await act(() => result.current.create('env', onCreateError));++ expect(service.createInstanceForEnvironment).toHaveBeenCalledWith({ environmentId: 'env' });+ expect(onChange).toHaveBeenCalledWith({ instanceId: 'env-2', mode: 'persistent' });+ expect(service.startInstanceBuild).toHaveBeenCalledWith({ id: 'env-2', topicId: 'topic-1' });++ const order = [+ service.createInstanceForEnvironment.mock.invocationCallOrder[0],+ onChange.mock.invocationCallOrder[0],+ service.startInstanceBuild.mock.invocationCallOrder[0],+ ];+ expect(order).toEqual([...order].sort((a, b) => a - b));+ expect(onCreateError).not.toHaveBeenCalled();+ });++ it('lists the new copy as building before the build starts', async () => {+ const { cache, onCreateError, result } = setup({+ instances: [listed('env', 'env-1')],+ });++ await act(() => result.current.create('env', onCreateError));++ expect(cache().instances).toHaveLength(2);+ expect(cache().instances[1]).toMatchObject({+ environmentId: 'env',+ id: 'env-2',+ inUse: false,+ // A sibling exists, so the new one is not the default.+ isDefault: false,+ status: 'pending',+ });+ });++ it('marks a lazily created copy — the only one of its environment — as the default', async () => {+ const { cache, onCreateError, result } = setup({+ instances: [listed('other', 'other-1')],+ });++ await act(() => result.current.create('env', onCreateError));++ expect(cache().instances[1]).toMatchObject({ id: 'env-2', isDefault: true });+ });++ it('binds nothing and reports when the copy cannot be created', async () => {+ const failure = new Error('NOT_FOUND');+ service.createInstanceForEnvironment.mockRejectedValue(failure);+ const { onChange, onCreateError, result } = setup();++ await act(() => result.current.create('env', onCreateError));++ expect(onCreateError).toHaveBeenCalledWith(failure);+ expect(onChange).not.toHaveBeenCalled();+ expect(service.startInstanceBuild).not.toHaveBeenCalled();+ });++ it('still starts the build when binding the conversation fails', async () => {+ // The copy is already on the server: left unbuilt it would read "Building"+ // forever, with nothing in the picker to start it.+ const failure = new Error('offline');+ const { onChange, onCreateError, result } = setup();+ onChange.mockRejectedValue(failure);++ await act(() => result.current.create('env', onCreateError));+ await act(async () => {});++ expect(service.startInstanceBuild).toHaveBeenCalledWith({ id: 'env-2', topicId: 'topic-1' });+ expect(onCreateError).toHaveBeenCalledWith(failure);+ });++ it('keeps the copy bound when only its build fails to start', async () => {+ const failure = new Error('build');+ service.startInstanceBuild.mockRejectedValue(failure);+ const { onBuildError, onChange, onCreateError, result } = setup();++ await act(() => result.current.create('env', onCreateError));+ await act(async () => {});++ expect(onChange).toHaveBeenCalledWith({ instanceId: 'env-2', mode: 'persistent' });+ expect(onBuildError).toHaveBeenCalledWith(failure);+ expect(onCreateError).not.toHaveBeenCalled();+ });++ it('marks the environment as preparing until the copy is bound', async () => {+ let resolveCreate: (value: typeof created) => void = () => {};+ service.createInstanceForEnvironment.mockReturnValue(+ new Promise((resolve) => {+ resolveCreate = resolve;+ }),+ );+ const { onCreateError, result } = setup();++ let pending: Promise<void> = Promise.resolve();+ act(() => {+ pending = result.current.create('env', onCreateError);+ });+ expect(result.current.isPreparing('env')).toBe(true);++ await act(async () => {+ resolveCreate(created);+ await pending;+ });+ expect(result.current.isPreparing('env')).toBe(false);+ });+});diff --git a/src/features/ChatInput/ControlBar/sandboxEnvironmentRows.ts b/src/features/ChatInput/ControlBar/sandboxEnvironmentRows.tsnew file mode 100644index 00000000000..0e10e8bbee1--- /dev/null+++ b/src/features/ChatInput/ControlBar/sandboxEnvironmentRows.ts@@ -0,0 +1,189 @@+import { type EnvironmentKind } from '@lobechat/types';+import {+ compareInstancesForDefault,+ pickDefaultInstance,+} from '@lobechat/utils/environmentInstance';++/**+ * How the composer's environment picker reads an environment and its copies.+ *+ * Kept apart from the component because these are the rules people will ask+ * about — "why did it pick that copy", "why can't I pick this one" — and a rule+ * spread across JSX is one nobody can test without rendering a menu.+ *+ * "Copy" is the product's word for an instance: the data layer and the API keep+ * calling it an instance, and so does this file wherever it touches them.+ */++/** The fields of a listed instance these rules read. */+export interface PickerCopy {+ createdAt: Date | string;+ environmentId: string;+ id: string;+ /** Held by some sandbox run, this conversation's own included. */+ inUse: boolean;+ /** Held by this conversation's own run. */+ inUseByThisTopic: boolean;+ status: string;+}++/**+ * Somebody else's run holds it. The execution plane allows one writer per+ * instance and answers the second with 409 INSTANCE_IN_USE, so offering it would+ * offer a choice the next message refuses. This conversation's own run is the+ * opposite case and never counts.+ */+export const isCopyOccupied = (copy: PickerCopy) => copy.inUse && !copy.inUseByThisTopic;++/** A build holds the same single-writer lease while it publishes. */+export const isCopyBuilding = (copy: PickerCopy) => copy.status === 'pending';++/**+ * Whether a conversation can start using this copy now. A failed build is+ * still free: a conversation pointed at it is how someone gets back to it.+ */+export const isCopyFree = (copy: PickerCopy) => !isCopyOccupied(copy) && !isCopyBuilding(copy);++/** The default copy first, then the others in the order they were made. */+export const sortCopies = <T extends PickerCopy>(copies: readonly T[]): T[] =>+ copies.toSorted(compareInstancesForDefault);++/**+ * The copy a click on the environment row binds, in order:+ *+ * 1. the copy this conversation is already bound to in this environment — a+ * click on the row it is already in must not move its files;+ * 2. the default copy, when it is free;+ * 3. the first free copy after it.+ *+ * `undefined` when every copy is held or building: the row is then not+ * selectable, and the way forward is to stop a run or open another copy.+ */+export const pickCopyForEnvironment = <T extends PickerCopy>(+ copies: readonly T[],+ boundInstanceId: string | undefined,+): T | undefined => {+ const bound = boundInstanceId ? copies.find((copy) => copy.id === boundInstanceId) : undefined;+ if (bound) return bound;++ const defaultCopy = pickDefaultInstance(copies);+ if (defaultCopy && isCopyFree(defaultCopy)) return defaultCopy;++ return sortCopies(copies).find(isCopyFree);+};++/** The `⋮` menu of an environment row or a copy row. */+export type CopyMenuAction = 'reopen' | 'stop';++/**+ * Which actions the `⋮` menu offers for a copy.+ *+ * Both are the environment creator's alone — the server checks the same owner+ * on `stopInstance` and `createInstanceForEnvironment` — so a colleague on a+ * published environment gets no menu and waits. "Open another copy" rebuilds+ * from the environment's specification, and a files environment's+ * specification holds no files: it would hand back an empty folder, so a files+ * environment can only be stopped.+ */+export const copyMenuActions = ({+ copy,+ isCreator,+ kind,+}: {+ /** The copy the menu acts on; absent on an environment with no copy yet. */+ copy?: PickerCopy;+ isCreator: boolean;+ kind: EnvironmentKind;+}): CopyMenuAction[] => {+ if (!isCreator) return [];++ const actions: CopyMenuAction[] = [];+ // A build cannot be stopped from here — it is not a conversation's run.+ if (copy && isCopyOccupied(copy) && !isCopyBuilding(copy)) actions.push('stop');+ if (kind === 'code') actions.push('reopen');++ return actions;+};++export interface EnvironmentRowState<T extends PickerCopy> {+ /** The copies, default first. */+ copies: T[];+ /** The copy whose state the row shows: the one a click binds, else the default. */+ displayed?: T;+ /**+ * Only for a code environment with several copies: one copy needs no second+ * menu to choose it, and a files environment is one folder for one+ * conversation at a time — the click still lands on the copy it is bound to.+ */+ hasSubmenu: boolean;+ /**+ * No copy yet, and the person may make one: an environment from before every+ * environment got a default copy. Picking it creates that copy first.+ */+ lazyCreate: boolean;+ /** The copy a click on the row binds. */+ picked?: T;+ /** Whether a click on the row does anything. */+ selectable: boolean;+}++/**+ * Everything an environment row needs, from its copies.+ *+ * The row's state is the state of the copy it would bind — the one the person+ * is actually choosing — and falls back to the default copy's when every copy+ * is taken, so the row says why it is blocked.+ */+export const describeEnvironmentRow = <T extends PickerCopy>({+ boundInstanceId,+ copies,+ isCreator,+ kind,+}: {+ boundInstanceId?: string;+ copies: readonly T[];+ isCreator: boolean;+ kind: EnvironmentKind;+}): EnvironmentRowState<T> => {+ const sorted = sortCopies(copies);+ const picked = pickCopyForEnvironment(sorted, boundInstanceId);++ if (sorted.length === 0) {+ // Only the creator can make the copy; a colleague looking at a published+ // environment whose creator never made one has nothing to run in.+ return {+ copies: sorted,+ hasSubmenu: false,+ lazyCreate: isCreator,+ selectable: isCreator,+ };+ }++ return {+ copies: sorted,+ displayed: picked ?? sorted[0],+ hasSubmenu: kind === 'code' && sorted.length > 1,+ lazyCreate: false,+ picked,+ selectable: Boolean(picked),+ };+};++/**+ * The chip's words for a bound copy. The environment is what people chose, so+ * it leads; the copy is named only when there is more than one to tell apart.+ */+export const copyChipLabel = ({+ copy,+ copyCount,+ environmentName,+}: {+ copy: { name: string };+ copyCount: number;+ environmentName?: string;+}): string => {+ if (!environmentName) return copy.name;+ if (copyCount <= 1) return environmentName;++ return `${environmentName} · ${copy.name}`;+};diff --git a/src/features/ChatInput/ControlBar/useCreateCopy.ts b/src/features/ChatInput/ControlBar/useCreateCopy.tsnew file mode 100644index 00000000000..b2a5829949f--- /dev/null+++ b/src/features/ChatInput/ControlBar/useCreateCopy.ts@@ -0,0 +1,102 @@+import { useCallback } from 'react';++import { sandboxStorageService } from '@/services/sandboxStorage';++import { usePendingIds } from './usePendingIds';+import type { SandboxSelection } from './useSandboxMode';++type ListedInstances = Awaited<ReturnType<typeof sandboxStorageService.listInstances>>;++interface UseCreateCopyOptions {+ /** The build could not be started; the copy exists and stays bound. */+ onBuildError: (error: unknown) => void;+ onChange: (selection: SandboxSelection) => Promise<void>;+ /** The picker's SWR `mutate` for the instance list. */+ refreshInstances: (+ update?: (previous: ListedInstances | undefined) => ListedInstances | undefined,+ options?: { revalidate: boolean },+ ) => Promise<unknown>;+ topicId?: string;+}++/**+ * A new copy of an environment, bound to this conversation and built.+ *+ * One path for both ways the composer makes a copy: an environment from before+ * every environment got a default copy, picked for the first time, and "open+ * another copy" when the ones there are taken. Built from the environment's+ * specification — the busy copy's state belongs to the run holding it — with the+ * name and folder derived server-side, so there is nothing to ask.+ *+ * The copy is listed and bound before its build is even started, so it shows up+ * as "Building" at once rather than after the build's cold start.+ */+export const useCreateCopy = ({+ onBuildError,+ onChange,+ refreshInstances,+ topicId,+}: UseCreateCopyOptions) => {+ // Environments a copy is being made for.+ const preparing = usePendingIds();++ const create = useCallback(+ /** `onCreateError`: no copy was made, or it was made and could not be bound. */+ async (environmentId: string, onCreateError: (error: unknown) => void) => {+ preparing.add(environmentId);+ try {+ const created = await sandboxStorageService.createInstanceForEnvironment({+ environmentId,+ });+ await refreshInstances(+ (previous) =>+ previous && {+ ...previous,+ instances: [+ ...previous.instances,+ {+ buildError: null,+ buildId: null,+ buildable: true,+ createdAt: created.createdAt,+ environmentId: created.environmentId,+ id: created.id,+ inUse: false,+ inUseByThisTopic: false,+ // Never the default beside others: it is the newest. Alone it+ // is the only one, and the next listing marks it so.+ isDefault: previous.instances.every(+ (instance) => instance.environmentId !== environmentId,+ ),+ name: created.name,+ snapshot: null,+ status: 'pending' as const,+ workingDirectory: created.workingDirectory,+ },+ ],+ },+ { revalidate: false },+ );+ try {+ await onChange({ instanceId: created.id, mode: 'persistent' });+ } finally {+ // Whether or not the binding was written: the copy exists by now, and+ // one whose build never starts reads "Building" for good. A failed+ // binding is still reported below — the copy is simply left usable.+ void sandboxStorageService+ .startInstanceBuild({ id: created.id, topicId })+ .catch(onBuildError)+ .finally(() => void refreshInstances());+ }+ } catch (error) {+ onCreateError(error);+ void refreshInstances();+ } finally {+ preparing.remove(environmentId);+ }+ },+ [onBuildError, onChange, preparing.add, preparing.remove, refreshInstances, topicId],+ );++ return { create, isPreparing: preparing.has };+};diff --git a/src/features/EnvironmentManager/CreateEnvironmentModal.tsx b/src/features/EnvironmentManager/CreateEnvironmentModal.tsxindex a0f73a70d0f..d7e004d898d 100644--- a/src/features/EnvironmentManager/CreateEnvironmentModal.tsx+++ b/src/features/EnvironmentManager/CreateEnvironmentModal.tsx@@ -1,7 +1,7 @@'use client';-import type { EnvironmentVisibility } from '@lobechat/types';-import { Flexbox } from '@lobehub/ui';+import type { EnvironmentKind, EnvironmentVisibility } from '@lobechat/types';+import { Flexbox, Icon } from '@lobehub/ui';import {Button,confirmModal,@@ -11,7 +11,9 @@ import {Text,useModalContext,} from '@lobehub/ui/base-ui';+import { createStaticStyles, cssVar, cx } from 'antd-style';import { t as translate } from 'i18next';+import { CodeXmlIcon, FolderIcon, type LucideIcon } from 'lucide-react';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';@@ -19,25 +21,65 @@ import VisibilityConfirmContent from '@/features/VisibilityConfirmContent';import { useIMECompositionEvent } from '@/hooks/useIMECompositionEvent';import GithubRepositoryPicker, { type GithubRepositorySelection } from './GithubRepositoryPicker';-import { useEnvironmentActions } from './useEnvironmentData';+import { type CreatedEnvironment, useEnvironmentActions } from './useEnvironmentData';++const styles = createStaticStyles(({ css }) => ({+ kind: css`+ cursor: pointer;++ flex: 1;++ min-width: 0;+ padding: 12px;+ border: 1px solid ${cssVar.colorBorder};+ border-radius: ${cssVar.borderRadiusLG};++ background: ${cssVar.colorFillQuaternary};++ transition:+ border-color 0.2s,+ background 0.2s;++ &:hover {+ border-color: ${cssVar.colorTextQuaternary};+ }+ `,+ kindActive: css`+ border-color: ${cssVar.colorPrimary};+ background: ${cssVar.colorPrimaryBg};++ &:hover {+ border-color: ${cssVar.colorPrimary};+ }+ `,+}));++const KINDS: { icon: LucideIcon; kind: EnvironmentKind }[] = [+ { icon: FolderIcon, kind: 'files' },+ { icon: CodeXmlIcon, kind: 'code' },+];/**- * Naming a new environment.+ * Naming a new environment, after saying what it is for.** A dialog rather than a field parked in the page: creating is one action among* several this page offers, and an input sitting in the body reads as a setting- * you are meant to fill in. The name is the only thing asked for — everything- * else about an environment is edited once it exists, where the form can- * explain what each part does.+ * you are meant to fill in.+ *+ * The kind comes first because it decides what else is worth asking. A folder+ * of files someone hands an agent has no repository and nothing to install, so+ * offering a repository picker to it would ask a question that has no answer.+ * Everything else about an environment is edited once it exists, where the+ * form can explain what each part does.*/interface CreateEnvironmentContentProps {/**- * Called with the new environment's id once it exists. An environment is a- * specification; nothing runs in it until it has an instance, so creating one- * is the middle of the task rather than the end of it and the caller takes- * the person to that next step instead of returning them to a list.+ * Called with the new environment once it exists, together with the default+ * instance the server created alongside it. Nothing is asked about that+ * instance: the caller opens the environment and starts its build, so the+ * person lands on something that is already on its way to being usable.*/- onCreated?: (environmentId: string) => void;+ onCreated?: (environment: CreatedEnvironment) => void;visibility?: EnvironmentVisibility;}@@ -47,6 +89,9 @@ const CreateEnvironmentContent = memo<CreateEnvironmentContentProps>(const { close } = useModalContext();const actions = useEnvironmentActions();+ // Nothing is preselected: the two kinds lead to different fields, and a+ // default would skip the one question this dialog exists to ask first.+ const [kind, setKind] = useState<EnvironmentKind>();const [name, setName] = useState('');// Tracks whether the name is still the one the repository suggested. A name// the person typed is theirs, and picking a different repository must not@@ -79,17 +124,19 @@ const CreateEnvironmentContent = memo<CreateEnvironmentContentProps>(// carries the owner GitHub reported for it, so the checkout URL is// built from the pair rather than from whichever owner the list was// filtered by — those differ for a repository reached as a collaborator.- configuration: repository- ? {- sources: [- {- kind: 'git',- ref: repository.defaultBranch,- url: `https://github.com/${repository.owner}/${repository.repository}`,- },- ],- }- : undefined,+ configuration:+ kind === 'code' && repository+ ? {+ kind,+ sources: [+ {+ kind: 'git',+ ref: repository.defaultBranch,+ url: `https://github.com/${repository.owner}/${repository.repository}`,+ },+ ],+ }+ : { kind },name: trimmed,// Created into the pool the person is looking at. Opening the dialog// from the Private tab and having the result land in the workspace's@@ -98,8 +145,8 @@ const CreateEnvironmentContent = memo<CreateEnvironmentContentProps>(});close();// After the dialog, not instead of it: the person sees the environment- // land and is then asked for the one thing that makes it runnable.- if (created?.id) onCreated?.(created.id);+ // land with its default copy already in it.+ if (created?.id) onCreated?.(created);} catch (cause) {// The one failure the user can act on is a name already taken, and it is// fixed by typing a different one — so it belongs next to the field@@ -120,7 +167,7 @@ const CreateEnvironmentContent = memo<CreateEnvironmentContentProps>(// question publishing one does, with the same explanation, rather than// publishing it silently because of which tab happened to be open.const submit = () => {- if (!trimmed || creating) return;+ if (!kind || !trimmed || creating) return;if (visibility !== 'public') return void create();confirmModal({@@ -133,41 +180,87 @@ const CreateEnvironmentContent = memo<CreateEnvironmentContentProps>(return (<>- {/* Repository first, name second. The name is the harder question and the- repository usually answers it, so asking for the name first makes the- person invent something they are about to be handed. */}<Flexbox gap={12} paddingBlock={8} paddingInline={16}>- <GithubRepositoryPicker value={repository} onChange={pickRepository} onLeave={close} />-<Flexbox gap={6}><Text fontSize={12} type={'secondary'} weight={500}>- {t('environments.nameLabel')}+ {t('environments.kind.label')}</Text>- <Input- autoFocus- placeholder={t('environments.namePlaceholder')}- value={name}- onChange={(event) => {- setName(event.target.value);- setNameIsSuggested(false);- setError(undefined);- }}- onKeyDown={(event) => {- if (event.key === 'Enter' && !isComposingRef.current) void submit();- }}- {...compositionProps}- />- {error && (- <Text fontSize={12} type={'danger'}>- {error}- </Text>- )}+ <Flexbox horizontal gap={8} role={'radiogroup'}>+ {KINDS.map((option) => (+ <Flexbox+ aria-checked={kind === option.kind}+ className={cx(styles.kind, kind === option.kind && styles.kindActive)}+ gap={4}+ key={option.kind}+ role={'radio'}+ tabIndex={0}+ onClick={() => setKind(option.kind)}+ onKeyDown={(event) => {+ if (event.key === 'Enter' || event.key === ' ') {+ event.preventDefault();+ setKind(option.kind);+ }+ }}+ >+ <Flexbox horizontal align={'center'} gap={6}>+ <Icon icon={option.icon} size={16} />+ <Text weight={500}>{t(`environments.kind.${option.kind}`)}</Text>+ </Flexbox>+ <Text fontSize={12} type={'secondary'}>+ {t(`environments.kind.${option.kind}Desc`)}+ </Text>+ </Flexbox>+ ))}+ </Flexbox></Flexbox>++ {/* What a files environment is for, said where the repository picker+ would otherwise be: there is nothing to configure, and the reason+ to make one is to hand an agent files to work on. */}+ {kind === 'files' && (+ <Text fontSize={12} type={'secondary'}>+ {t('environments.kind.filesHint')}+ </Text>+ )}++ {/* Repository first, name second. The name is the harder question and the+ repository usually answers it, so asking for the name first makes the+ person invent something they are about to be handed. */}+ {kind === 'code' && (+ <GithubRepositoryPicker value={repository} onChange={pickRepository} onLeave={close} />+ )}++ {kind && (+ <Flexbox gap={6}>+ <Text fontSize={12} type={'secondary'} weight={500}>+ {t('environments.nameLabel')}+ </Text>+ <Input+ autoFocus+ placeholder={t('environments.namePlaceholder')}+ value={name}+ onChange={(event) => {+ setName(event.target.value);+ setNameIsSuggested(false);+ setError(undefined);+ }}+ onKeyDown={(event) => {+ if (event.key === 'Enter' && !isComposingRef.current) void submit();+ }}+ {...compositionProps}+ />+ {error && (+ <Text fontSize={12} type={'danger'}>+ {error}+ </Text>+ )}+ </Flexbox>+ )}</Flexbox><ModalFooter><Button onClick={close}>{t('environments.cancel')}</Button><Button- disabled={!trimmed}+ disabled={!kind || !trimmed}loading={creating}type={'primary'}onClick={() => void submit()}@@ -184,7 +277,7 @@ CreateEnvironmentContent.displayName = 'CreateEnvironmentContent';export const openCreateEnvironmentModal = (visibility?: EnvironmentVisibility,- onCreated?: (environmentId: string) => void,+ onCreated?: (environment: CreatedEnvironment) => void,) =>createModal({content: <CreateEnvironmentContent visibility={visibility} onCreated={onCreated} />,diff --git a/src/features/EnvironmentManager/CreateInstanceModal.tsx b/src/features/EnvironmentManager/CreateInstanceModal.tsxindex 3b2b4a076d6..5840917f53f 100644--- a/src/features/EnvironmentManager/CreateInstanceModal.tsx+++ b/src/features/EnvironmentManager/CreateInstanceModal.tsx@@ -32,6 +32,13 @@ interface CreateInstanceContentProps {*/instance?: SandboxInstance;onCreated?: (instance: SandboxInstance) => void;+ /**+ * The instance to copy, when this dialog makes a copy rather than a fresh+ * instance. Asks the same two questions — what to call it, where it lives —+ * but the new folder starts with everything the source had built, so there is+ * nothing to build afterwards.+ */+ source?: SandboxInstance;}/**@@ -45,7 +52,7 @@ interface CreateInstanceContentProps {* person by deriving it from the environment's name.*/const CreateInstanceContent = memo<CreateInstanceContentProps>(- ({ environmentId, instance, onCreated }) => {+ ({ environmentId, instance, onCreated, source }) => {const { t } = useTranslation('setting');const { close } = useModalContext();const actions = useEnvironmentActions();@@ -95,6 +102,15 @@ const CreateInstanceContent = memo<CreateInstanceContentProps>(return;}+ if (source) {+ // Ready on arrival: the server copies the source's built state and+ // marks the copy ready, so no build follows.+ await actions.copyInstance({ id: source.id, name: name.trim(), workingDirectory });+ close();++ return;+ }+const created = await actions.createInstance({environmentId,name: name.trim(),@@ -124,7 +140,9 @@ const CreateInstanceContent = memo<CreateInstanceContentProps>(t(editing? 'environments.instances.renameFailed'- : 'environments.instances.createFailed',+ : source+ ? 'environments.instances.copyFailed'+ : 'environments.instances.createFailed',),),);@@ -223,13 +241,19 @@ export const openCreateInstanceModal = (params: CreateInstanceContentProps) =>footer: null,maskClosable: true,styles: { content: { padding: 0 } },- title: translate(- params.instance ? 'environments.instances.rename' : 'environments.instances.add',- { ns: 'setting' },- ),+ title: params.source+ ? translate('environments.instances.copyTitle', { name: params.source.name, ns: 'setting' })+ : translate(+ params.instance ? 'environments.instances.rename' : 'environments.instances.add',+ { ns: 'setting' },+ ),width: 'min(90vw, 480px)',});+/** The same dialog, making a copy of `source` beside it. */+export const openCopyInstanceModal = (source: SandboxInstance) =>+ openCreateInstanceModal({ environmentId: source.environmentId, source });+/** The same dialog, opened on an instance that already exists. */export const openEditInstanceModal = (instance: SandboxInstance) =>openCreateInstanceModal({ environmentId: instance.environmentId, instance });diff --git a/src/features/EnvironmentManager/EnvironmentDetailPanel.tsx b/src/features/EnvironmentManager/EnvironmentDetailPanel.tsxindex 016ca50e4af..617cf404fcc 100644--- a/src/features/EnvironmentManager/EnvironmentDetailPanel.tsx+++ b/src/features/EnvironmentManager/EnvironmentDetailPanel.tsx@@ -1,15 +1,17 @@'use client';+import { environmentKind } from '@lobechat/types';import { Github } from '@lobehub/icons';import { Flexbox, Icon, Tooltip } from '@lobehub/ui';import { ActionIcon, Avatar, Tabs, Tag, Text } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar } from 'antd-style';import dayjs from 'dayjs';import {- ContainerIcon,+ FolderIcon,HistoryIcon,KeyRoundIcon,LayersIcon,+ LayoutDashboardIcon,LockIcon,SettingsIcon,XIcon,@@ -17,9 +19,9 @@ import {import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';+import { type CopyTab, copyTabs, resolveDetailTab } from './detailTabs';import EnvironmentForm, { type EnvironmentFormSection } from './EnvironmentForm';import InstanceSection from './InstanceSection';-import { repositoryPath } from './repository';import SessionHistorySection from './SessionHistorySection';import TabPane from './TabPane';import { useCanEditEnvironment } from './useCanEditEnvironment';@@ -60,7 +62,7 @@ const styles = createStaticStyles(({ css }) => ({`,}));-type DetailTab = 'instances' | 'sessions' | EnvironmentFormSection;+type DetailTab = CopyTab | EnvironmentFormSection;interface EnvironmentDetailPanelProps {environment: SandboxEnvironment;@@ -86,10 +88,13 @@ const EnvironmentDetailPanel = memo<EnvironmentDetailPanelProps>(({ environment,const { data } = useInstances();const canEdit = useCanEditEnvironment()(environment);// Local to the panel and reset with it (the panel is keyed on the- // environment), so opening another environment lands on its instances.- const [tab, setTab] = useState<DetailTab>('instances');+ // environment), so opening another environment lands on its first tab.+ const [picked, setTab] = useState<DetailTab>();- const repository = repositoryPath(environment.configuration);+ // A files environment is a folder: there is no repository, setup or runtime+ // to configure, so the panel keeps its name, description and files and+ // drops the tabs and fields that would only ever be empty.+ const kind = environmentKind(environment);const creator =environment.creator?.fullName ||environment.creator?.username ||@@ -97,12 +102,14 @@ const EnvironmentDetailPanel = memo<EnvironmentDetailPanelProps>(({ environment,const instanceCount = (data?.instances ?? []).filter((instance) => instance.environmentId === environment.id,).length;+ const copies = copyTabs(instanceCount);+ const tab: DetailTab = resolveDetailTab(picked, instanceCount);return (<Flexbox className={styles.container} gap={20}><Flexbox horizontal align={'center'} className={styles.header} gap={12}><span className={styles.iconTile}>- {repository ? <Github size={18} /> : <Icon icon={ContainerIcon} size={18} />}+ {kind === 'files' ? <Icon icon={FolderIcon} size={18} /> : <Github size={18} />}</span><Flexbox flex={1} gap={4} style={{ minWidth: 0 }}><Text ellipsis weight={600}>@@ -115,6 +122,7 @@ const EnvironmentDetailPanel = memo<EnvironmentDetailPanelProps>(({ environment,the list is scanned for "is this recent", the panel is readfor "when". */}<Flexbox horizontal align={'center'} gap={8} wrap={'wrap'}>+ <Tag size={'small'}>{t(`environments.kind.${kind}`)}</Tag><Tag size={'small'}>{instanceCount === 0? t('environments.instances.empty')@@ -163,30 +171,44 @@ const EnvironmentDetailPanel = memo<EnvironmentDetailPanelProps>(({ environment,</Flexbox>)}- {/* Instances and their run history are what everyone with access+ {/* The copies and their run history are what everyone with accesscomes here for; variables and settings reshape the environment,- which only its editor may do, so a read-only panel keeps the first- two tabs and drops the rest. */}+ which only its editor may do, so a read-only panel keeps those and+ drops the rest. */}<TabsactiveKey={tab}items={[- {- icon: <Icon icon={LayersIcon} size={16} />,- key: 'instances',- label: t('environments.instances.title'),- },- {- icon: <Icon icon={HistoryIcon} size={16} />,- key: 'sessions',- label: t('environments.sessions.title'),- },- ...(canEdit+ ...(copies.includes('overview')? [{- icon: <Icon icon={KeyRoundIcon} size={16} />,- key: 'variables',- label: t('environments.form.env'),+ icon: <Icon icon={LayoutDashboardIcon} size={16} />,+ key: 'overview',+ label: t('environments.detail.tabs.overview'),+ },+ ]+ : [+ {+ icon: <Icon icon={LayersIcon} size={16} />,+ key: 'instances',+ label: t('environments.instances.title'),},+ {+ icon: <Icon icon={HistoryIcon} size={16} />,+ key: 'sessions',+ label: t('environments.sessions.title'),+ },+ ]),+ ...(canEdit+ ? [+ ...(kind === 'code'+ ? [+ {+ icon: <Icon icon={KeyRoundIcon} size={16} />,+ key: 'variables',+ label: t('environments.form.env'),+ },+ ]+ : []),{icon: <Icon icon={SettingsIcon} size={16} />,key: 'settings',@@ -202,9 +224,25 @@ const EnvironmentDetailPanel = memo<EnvironmentDetailPanelProps>(({ environment,sections and meets the next one's icon exactly, so any spacebetween them would show as a break in the line. */}<Flexbox>+ {/* The one copy, as the environment itself: its build state (a code+ environment's only — a files one has nothing to build), its files+ and what ran in it, without a list of one to click through. */}+ {tab === 'overview' && (+ <TabPane>+ <InstanceSection single editable={canEdit} environmentId={environment.id} kind={kind} />+ <Flexbox gap={8}>+ <Text weight={500}>{t('environments.sessions.title')}</Text>+ <Text fontSize={12} type={'secondary'}>+ {t('environments.sessions.desc')}+ </Text>+ <SessionHistorySection environmentId={environment.id} />+ </Flexbox>+ </TabPane>+ )}+{tab === 'instances' && (<TabPane desc={t('environments.instances.desc')}>- <InstanceSection editable={canEdit} environmentId={environment.id} />+ <InstanceSection editable={canEdit} environmentId={environment.id} kind={kind} /></TabPane>)}@@ -219,6 +257,7 @@ const EnvironmentDetailPanel = memo<EnvironmentDetailPanelProps>(({ environment,{canEdit && (tab === 'variables' || tab === 'settings') && (<EnvironmentFormenvironment={environment}+ kind={kind}section={tab}onSave={(changes) => actions.updateEnvironment({ ...changes, id: environment.id })}/>diff --git a/src/features/EnvironmentManager/EnvironmentForm.tsx b/src/features/EnvironmentManager/EnvironmentForm.tsxindex a4384a67b05..6c4557087a4 100644--- a/src/features/EnvironmentManager/EnvironmentForm.tsx+++ b/src/features/EnvironmentManager/EnvironmentForm.tsx@@ -1,5 +1,6 @@'use client';+import type { EnvironmentKind } from '@lobechat/types';import { Github } from '@lobehub/icons';import { Flexbox } from '@lobehub/ui';import { ActionIcon, Button, Switch, Text, toast } from '@lobehub/ui/base-ui';@@ -48,6 +49,12 @@ export type EnvironmentFormSection = 'settings' | 'variables';interface EnvironmentFormProps {environment: SandboxEnvironment;+ /**+ * A files environment shows its name and description only: it has no+ * repository, setup, variables or runtime switches, and fields for them+ * would invite configuring a build that never runs.+ */+ kind: EnvironmentKind;onSave: (params: {configuration?: SandboxEnvironmentSpecification;description?: string;@@ -128,7 +135,7 @@ BranchField.displayName = 'EnvironmentBranchField';* at the bottom of four sections, and changes typed above it were lost to a* tab switch before anyone scrolled down to it.*/-const EnvironmentForm = memo<EnvironmentFormProps>(({ environment, onSave, section }) => {+const EnvironmentForm = memo<EnvironmentFormProps>(({ environment, kind, onSave, section }) => {const { t } = useTranslation('setting');const configuration = (environment.configuration ?? {}) as SandboxEnvironmentSpecification;const [pickingRepository, setPickingRepository] = useState(false);@@ -221,27 +228,34 @@ const EnvironmentForm = memo<EnvironmentFormProps>(({ environment, onSave, secti);}+ const basics = (+ <PanelSection+ desc={t(kind === 'files' ? 'environments.form.filesDesc' : 'environments.form.desc')}+ icon={InfoIcon}+ last={kind === 'files'}+ title={t('environments.form.basics')}+ >+ <InlineField+ required+ label={t('environments.nameLabel')}+ placeholder={t('environments.namePlaceholder')}+ value={environment.name}+ onSave={(name) => onSave({ name })}+ />+ <InlineField+ label={t('environments.form.description')}+ placeholder={t('environments.form.descriptionPlaceholder')}+ value={environment.description ?? ''}+ onSave={(description) => onSave({ description })}+ />+ </PanelSection>+ );++ if (kind === 'files') return <Flexbox>{basics}</Flexbox>;+return (<Flexbox>- <PanelSection- desc={t('environments.form.desc')}- icon={InfoIcon}- title={t('environments.form.basics')}- >- <InlineField- required- label={t('environments.nameLabel')}- placeholder={t('environments.namePlaceholder')}- value={environment.name}- onSave={(name) => onSave({ name })}- />- <InlineField- label={t('environments.form.description')}- placeholder={t('environments.form.descriptionPlaceholder')}- value={environment.description ?? ''}- onSave={(description) => onSave({ description })}- />- </PanelSection>+ {basics}<PanelSectiondesc={t('environments.form.sourcesHint')}diff --git a/src/features/EnvironmentManager/EnvironmentItem.tsx b/src/features/EnvironmentManager/EnvironmentItem.tsxindex 95890497ddd..773ffa849eb 100644--- a/src/features/EnvironmentManager/EnvironmentItem.tsx+++ b/src/features/EnvironmentManager/EnvironmentItem.tsx@@ -1,13 +1,14 @@'use client';+import { environmentKind } from '@lobechat/types';import { Github } from '@lobehub/icons';import { DropdownMenu, Flexbox, Icon, Tooltip } from '@lobehub/ui';-import { Avatar, Button, confirmModal, Text, toast } from '@lobehub/ui/base-ui';+import { Avatar, Button, confirmModal, Tag, Text, toast } from '@lobehub/ui/base-ui';import { createStaticStyles, cssVar, cx } from 'antd-style';import dayjs from 'dayjs';import {- ContainerIcon,EyeOffIcon,+ FolderIcon,GlobeIcon,MoreHorizontalIcon,PlusIcon,@@ -22,6 +23,7 @@ import { formatSize } from '@/utils/format';import { describeError } from './errorMessage';import { repositoryPath } from './repository';import { useCanEditEnvironment } from './useCanEditEnvironment';+import { useConfirmRemoveEnvironment } from './useConfirmRemoveEnvironment';import { type SandboxEnvironment, useEnvironmentActions } from './useEnvironmentData';const styles = createStaticStyles(({ css }) => ({@@ -133,6 +135,7 @@ const EnvironmentItem = memo<EnvironmentItemProps>(const canEdit = useCanEditEnvironment()(environment);const repository = repositoryPath(environment.configuration);+ const kind = environmentKind(environment);const creator =environment.creator?.fullName ||environment.creator?.username ||@@ -190,28 +193,8 @@ const EnvironmentItem = memo<EnvironmentItemProps>(]: [];- const remove = () =>- actions- .removeEnvironment(environment.id)- // A refusal has to reach the person. An environment still holding- // instances is refused on purpose, and that is what they need to read.- .catch((error: unknown) =>- toast.error(describeError(error, t, t('environments.removeFailed'))),- );-- // Asked for, like deleting an instance is — the row is emptied of- // instances by then, but the environment still carries its specification,- // its variables and the snapshot built from them, and none of that comes- // back. A single click in a menu was the whole gesture.- const confirmRemove = () =>- confirmModal({- cancelText: tCommon('cancel'),- content: t('environments.removeConfirmContent'),- okButtonProps: { danger: true },- okText: t('environments.remove'),- onOk: remove,- title: t('environments.removeConfirmTitle', { name: environment.name }),- });+ const confirmRemoveEnvironment = useConfirmRemoveEnvironment();+ const confirmRemove = () => confirmRemoveEnvironment(environment);return (<Flexbox@@ -231,7 +214,7 @@ const EnvironmentItem = memo<EnvironmentItemProps>(}}><div className={styles.iconTile}>- {repository ? <Github size={20} /> : <Icon icon={ContainerIcon} size={20} />}+ {kind === 'files' ? <Icon icon={FolderIcon} size={20} /> : <Github size={20} />}</div><Flexbox flex={1} gap={2} style={{ minWidth: 0 }}>@@ -247,6 +230,12 @@ const EnvironmentItem = memo<EnvironmentItemProps>(<Text ellipsis fontSize={15} style={{ flex: '0 1 auto', minWidth: 0 }} weight={500}>{environment.name}</Text>+ {/* The one word that says which of the two things this is: a+ folder of files or a repository with setup. Beside the name+ because it is how the list is told apart at a glance. */}+ <Tag size={'small'} style={{ alignSelf: 'center', flex: 'none' }}>+ {t(`environments.kind.${kind}`)}+ </Tag>{environment.description && (/* Shrinks a thousand times more readily than the name, the sameway the repository yields to the facts on the line below. */diff --git a/src/features/EnvironmentManager/InstanceList.tsx b/src/features/EnvironmentManager/InstanceList.tsxindex 1df47c1f351..e0b6e41a0e9 100644--- a/src/features/EnvironmentManager/InstanceList.tsx+++ b/src/features/EnvironmentManager/InstanceList.tsx@@ -8,6 +8,7 @@ import {CircleAlertIcon,CircleDashedIcon,CircleStopIcon,+ CopyIcon,FolderOpenIcon,LayersIcon,Loader2Icon,@@ -19,11 +20,22 @@ import {import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';-import { openCreateInstanceModal, openEditInstanceModal } from './CreateInstanceModal';+import {+ openCopyInstanceModal,+ openCreateInstanceModal,+ openEditInstanceModal,+} from './CreateInstanceModal';import { describeError } from './errorMessage';+import {+ canCopyInstance,+ copyBlockReason,+ copyEntryTitle,+ deleteEntry,+ recheckCopySource,+} from './instanceActions';import { openInstanceFileBrowser } from './InstanceFileBrowser';import type { SandboxInstance } from './useEnvironmentData';-import { useInstanceBuild } from './useEnvironmentData';+import { useBuildStarting, useInstanceBuild, useInstances } from './useEnvironmentData';const styles = createStaticStyles(({ css }) => ({/**@@ -87,19 +99,34 @@ interface InstanceListProps {occupancyUnavailable: boolean;onBuild: (id: string) => Promise<void>;onRemove: (id: string) => Promise<void>;+ /** Deletes the whole environment; the only copy's delete entry. */+ onRemoveEnvironment?: () => void;/** Ends the run holding an instance; `stopped: false` when nothing was. */onStop: (id: string) => Promise<{ stopped: boolean }>;/** `owner/name` of the environment's checkout, when it builds from one. */repository?: string;+ /**+ * Whether builds are this environment's business at all. A files+ * environment clones and installs nothing, so a build line or a rebuild on+ * its rows would describe work that never happens.+ */+ showBuild: boolean;+ /** The environment's only copy, shown as the environment itself. */+ single?: boolean;}interface InstanceRowProps {editable: boolean;instance: SandboxInstance;+ occupancyUnavailable: boolean;onBuild: (id: string) => Promise<void>;onRemove: (id: string) => Promise<void>;+ /** Deletes the whole environment; the only copy's delete entry. */+ onRemoveEnvironment?: () => void;onStop: (id: string) => Promise<{ stopped: boolean }>;repository?: string;+ showBuild: boolean;+ single?: boolean;}/**@@ -184,14 +211,26 @@ BuildLine.displayName = 'InstanceBuildLine';* so the one thing worth explaining was the one thing an inline editor hid.*/const InstanceRow = memo<InstanceRowProps>(- ({ editable, instance, onBuild, onRemove, onStop, repository }) => {+ ({+ editable,+ instance,+ occupancyUnavailable,+ onBuild,+ onRemove,+ onRemoveEnvironment,+ onStop,+ repository,+ showBuild,+ single,+ }) => {const { t } = useTranslation('setting');+ const { refreshRows } = useInstances();// Worth following only while something is in flight. A settled instance// must not keep a poll running: the query writes when a build ends, so an// idle one would be a round trip every two seconds for a row nobody is// looking at.- const building = instance.status === 'pending' && Boolean(instance.buildId);+ const building = showBuild && instance.status === 'pending' && Boolean(instance.buildId);const {error: pollError,log,@@ -201,13 +240,18 @@ const InstanceRow = memo<InstanceRowProps>(// Made before instances built themselves, or its build request never// arrived: pending with nothing to follow. Without saying so the row looks// settled while the folder behind it is empty.- const unbuilt = instance.status === 'pending' && !instance.buildId && instance.buildable;+ const unbuilt =+ showBuild && instance.status === 'pending' && !instance.buildId && instance.buildable;// Bridges the gap between confirming and the refreshed row arriving. The// request is not instant — starting a build cold-starts a sandbox — and// without this the row would look untouched for that whole time, which is// exactly what the dialog used to cover by staying open.- const [starting, setStarting] = useState(false);+ const [startingHere, setStartingHere] = useState(false);+ // Or a build started from elsewhere — the page starts a new environment's+ // default copy the moment it is created, before this row even exists.+ const startingElsewhere = useBuildStarting(instance.id);+ const starting = startingHere || startingElsewhere;// Same bridge for a delete, which is slower still: it cold-starts a sandbox// and then removes the whole archive, gigabytes of it. The row says so and// comes back if the execution plane refuses.@@ -222,6 +266,22 @@ const InstanceRow = memo<InstanceRowProps>(// already says it is building.const stoppable = editable && instance.inUse && instance.status !== 'pending';+ const copyBlocked = copyBlockReason(instance, occupancyUnavailable);+ const deletes = deleteEntry(instance, { editable, single: Boolean(single) });+ const [checkingCopy, setCheckingCopy] = useState(false);+ // Read again on the click rather than trusted from whenever the list was+ // fetched; see `recheckCopySource`.+ const startCopy = async () => {+ setCheckingCopy(true);+ const blocked = await recheckCopySource(instance.id, refreshRows);+ setCheckingCopy(false);+ if (blocked) {+ toast.error(t(copyEntryTitle(blocked)));+ return;+ }+ openCopyInstanceModal(instance);+ };+// Asked first: the run it ends may be a conversation in the middle of a// step, and the icon sits beside the badge that only meant to explain.const confirmStop = () =>@@ -267,12 +327,12 @@ const InstanceRow = memo<InstanceRowProps>(// the usual one — leave the row as it was, so the toast still carries// the reason; it now lands over the list rather than over a dialog.onOk: () => {- setStarting(true);+ setStartingHere(true);void onBuild(instance.id).catch((error: unknown) =>toast.error(describeError(error, t, t('environments.instances.buildStartFailed'))),)- .finally(() => setStarting(false));+ .finally(() => setStartingHere(false));},title: t(unbuilt@@ -361,19 +421,31 @@ const InstanceRow = memo<InstanceRowProps>({/* Reading what an instance kept is not an edit, so it staysavailable in an environment someone else published — that ismost of what having access to one is for. */}- <ActionIcon- icon={FolderOpenIcon}- size={'small'}- title={t('environments.files.browse')}- onClick={() => openInstanceFileBrowser(instance)}- />+ {/* Named outright on the only copy: there it is how the environment's+ files are reached, not one row's action among several. */}+ {single ? (+ <Button+ icon={<Icon icon={FolderOpenIcon} />}+ size={'small'}+ onClick={() => openInstanceFileBrowser(instance)}+ >+ {t('environments.files.browse')}+ </Button>+ ) : (+ <ActionIcon+ icon={FolderOpenIcon}+ size={'small'}+ title={t('environments.files.browse')}+ onClick={() => openInstanceFileBrowser(instance)}+ />+ )}{/* Rebuilding a working copy is how it gets back to a clean checkout,so it sits with the row's own actions once the instance is ready.An instance a conversation holds is refused by the server, andsaid so here first rather than after a confirmation. Absent whenthe definition clones and installs nothing: there is nothing arebuild would redo. */}- {editable && instance.status === 'ready' && instance.buildable && (+ {showBuild && editable && instance.status === 'ready' && instance.buildable && (<ActionIcon// `starting` too: the row still reads ready until the refreshed// one lands, and a second click in that window starts a second@@ -387,6 +459,31 @@ const InstanceRow = memo<InstanceRowProps>(onClick={confirmBuild}/>)}+ {/* Copying is the owner's, like adding a copy is: a colleague who can+ run in a published environment cannot take its state with them.+ Greyed out rather than hidden while the source is held, with the+ reason as its tooltip, so the entry does not vanish and come back+ as runs start and end. */}+ {canCopyInstance(editable) &&+ (copyBlocked ? (+ // The reason rides on a wrapper: a disabled button takes no+ // pointer events, so its own tooltip would never open and the+ // entry would be grey with nothing saying why.+ <Tooltip title={t(copyEntryTitle(copyBlocked))}>+ <span style={{ cursor: 'not-allowed', display: 'inline-flex' }}>+ <ActionIcon disabled icon={CopyIcon} size={'small'} />+ </span>+ </Tooltip>+ ) : (+ <ActionIcon+ disabled={checkingCopy}+ icon={CopyIcon}+ loading={checkingCopy}+ size={'small'}+ title={t(copyEntryTitle(undefined))}+ onClick={() => void startCopy()}+ />+ ))}{editable && (<ActionIconicon={PencilIcon}@@ -395,7 +492,17 @@ const InstanceRow = memo<InstanceRowProps>(onClick={() => openEditInstanceModal(instance)}/>)}- {editable && (+ {/* The only copy's delete entry deletes the environment; the+ default copy among several has none. See `deleteEntry`. */}+ {deletes === 'environment' && onRemoveEnvironment && (+ <ActionIcon+ icon={Trash2Icon}+ size={'small'}+ title={t('environments.remove')}+ onClick={onRemoveEnvironment}+ />+ )}+ {deletes === 'instance' && (<ActionIcondisabled={removing}icon={Trash2Icon}@@ -461,26 +568,28 @@ const InstanceRow = memo<InstanceRowProps>(</Flexbox>)}- {!removing && (starting || building || unbuilt || instance.status === 'error') && (- <BuildLine- error={instance.buildError}- log={log}- state={- // A poll that ran out of retries is not a running build. Left as- // one the row spins forever with nothing to click.- pollError && building && !state- ? 'stalled'- : starting || (building && state !== 'failed')- ? 'running'- : unbuilt- ? 'unbuilt'- : 'failed'- }- // Building a copy is the owner's; everyone else reads the state.- onBuild={editable ? confirmBuild : undefined}- onRetry={retry}- />- )}+ {showBuild &&+ !removing &&+ (starting || building || unbuilt || instance.status === 'error') && (+ <BuildLine+ error={instance.buildError}+ log={log}+ state={+ // A poll that ran out of retries is not a running build. Left as+ // one the row spins forever with nothing to click.+ pollError && building && !state+ ? 'stalled'+ : starting || (building && state !== 'failed')+ ? 'running'+ : unbuilt+ ? 'unbuilt'+ : 'failed'+ }+ // Building a copy is the owner's; everyone else reads the state.+ onBuild={editable ? confirmBuild : undefined}+ onRetry={retry}+ />+ )}</Flexbox>);},@@ -503,8 +612,11 @@ const InstanceList = memo<InstanceListProps>(occupancyUnavailable,onBuild,onRemove,+ onRemoveEnvironment,onStop,repository,+ showBuild,+ single,}) => {const { t } = useTranslation('setting');@@ -547,9 +659,13 @@ const InstanceList = memo<InstanceListProps>(editable={editable}instance={instance}key={instance.id}+ occupancyUnavailable={occupancyUnavailable}repository={repository}+ showBuild={showBuild}+ single={single}onBuild={onBuild}onRemove={onRemove}+ onRemoveEnvironment={onRemoveEnvironment}onStop={onStop}/>))}diff --git a/src/features/EnvironmentManager/InstanceSection.tsx b/src/features/EnvironmentManager/InstanceSection.tsxindex 6855a7e7d37..d21afd2d220 100644--- a/src/features/EnvironmentManager/InstanceSection.tsx+++ b/src/features/EnvironmentManager/InstanceSection.tsx@@ -1,30 +1,39 @@'use client';+import type { EnvironmentKind } from '@lobechat/types';import { Flexbox } from '@lobehub/ui';import { memo } from 'react';import InstanceList from './InstanceList';import { repositoryPath } from './repository';+import { useConfirmRemoveEnvironment } from './useConfirmRemoveEnvironment';import { useEnvironmentActions, useEnvironments, useInstances } from './useEnvironmentData';interface InstanceSectionProps {/** Whether the caller owns the environment; a published one is read-only to everyone else. */editable: boolean;environmentId: string;+ kind: EnvironmentKind;+ /**+ * Shown as the environment itself rather than as a list: the panel's+ * Overview, when the environment has one copy.+ */+ single?: boolean;}/**- * The instances built from one environment, as a section of its detail panel.+ * The copies built from one environment, as a section of its detail panel.** Beside the environment rather than in a dialog of their own: an instance* belongs to exactly one environment, so the environment's own name and* specification are the whole context, and both stay on screen while a copy is* made or discarded.*/-const InstanceSection = memo<InstanceSectionProps>(({ editable, environmentId }) => {+const InstanceSection = memo<InstanceSectionProps>(({ editable, environmentId, kind, single }) => {const { data } = useInstances();const { data: environmentData } = useEnvironments();const actions = useEnvironmentActions();+ const confirmRemoveEnvironment = useConfirmRemoveEnvironment();const instances = (data?.instances ?? []).filter((instance) => instance.environmentId === environmentId,@@ -33,10 +42,10 @@ const InstanceSection = memo<InstanceSectionProps>(({ editable, environmentId })// Read here rather than on each row: every instance in this section is built// from the one environment, so the checkout is the section's fact, not the// row's. The rows carry it because they are what a person points at.- const repository = repositoryPath(- environmentData?.environments.find((environment) => environment.id === environmentId)- ?.configuration,+ const environment = (environmentData?.environments ?? []).find(+ (candidate) => candidate.id === environmentId,);+ const repository = repositoryPath(environment?.configuration);return (<Flexbox>@@ -46,8 +55,13 @@ const InstanceSection = memo<InstanceSectionProps>(({ editable, environmentId })instances={instances}occupancyUnavailable={data?.occupancyUnavailable ?? false}repository={repository}+ // A files environment has nothing to build, so its rows carry no+ // build line and no rebuild — only the folder and what is in it.+ showBuild={kind === 'code'}+ single={single}onBuild={actions.rebuildInstance}onRemove={actions.removeInstance}+ onRemoveEnvironment={environment ? () => confirmRemoveEnvironment(environment) : undefined}onStop={actions.stopInstance}/></Flexbox>diff --git a/src/features/EnvironmentManager/detailTabs.test.ts b/src/features/EnvironmentManager/detailTabs.test.tsnew file mode 100644index 00000000000..bd9d4a5a1b8--- /dev/null+++ b/src/features/EnvironmentManager/detailTabs.test.ts@@ -0,0 +1,46 @@+import { describe, expect, it } from 'vitest';++import { copyTabs, isCopyTab, resolveDetailTab } from './detailTabs';++describe('copyTabs', () => {+ it('folds a single copy into an Overview, with no Copies tab', () => {+ expect(copyTabs(1)).toEqual(['overview']);+ });++ it('gives an environment with no copy yet the Overview too', () => {+ expect(copyTabs(0)).toEqual(['overview']);+ });++ it('lists the copies, with their run history, once there is more than one', () => {+ expect(copyTabs(2)).toEqual(['instances', 'sessions']);+ });+});++describe('isCopyTab', () => {+ it('tells the copy tabs from the form sections', () => {+ expect(isCopyTab('overview')).toBe(true);+ expect(isCopyTab('instances')).toBe(true);+ expect(isCopyTab('settings')).toBe(false);+ });+});++describe('resolveDetailTab', () => {+ it('opens on Overview for a single copy, and on the Copies list for several', () => {+ expect(resolveDetailTab(undefined, 1)).toBe('overview');+ expect(resolveDetailTab(undefined, 2)).toBe('instances');+ });++ it('moves Overview to the Copies list once a second copy exists', () => {+ expect(resolveDetailTab('overview', 2)).toBe('instances');+ });++ it('moves the Copies list and its history back to Overview at one copy', () => {+ expect(resolveDetailTab('instances', 1)).toBe('overview');+ expect(resolveDetailTab('sessions', 1)).toBe('overview');+ });++ it('keeps a form tab whatever the copy count', () => {+ expect(resolveDetailTab('settings', 1)).toBe('settings');+ expect(resolveDetailTab('variables', 3)).toBe('variables');+ });+});diff --git a/src/features/EnvironmentManager/detailTabs.ts b/src/features/EnvironmentManager/detailTabs.tsnew file mode 100644index 00000000000..cd80354cf1e--- /dev/null+++ b/src/features/EnvironmentManager/detailTabs.ts@@ -0,0 +1,33 @@+/** The detail panel's tabs that describe an environment's copies. */+export type CopyTab = 'instances' | 'overview' | 'sessions';++export const isCopyTab = (tab: string): tab is CopyTab =>+ tab === 'instances' || tab === 'overview' || tab === 'sessions';++/**+ * Which copy tabs the detail panel shows, given how many copies it has.+ *+ * One copy — what nearly every environment has — is not worth a tab of its+ * own: it IS the environment, so its build state, its files and its run+ * history go straight into an Overview. Only once there is a second copy is+ * there a list worth showing, and with it a run history that spans them.+ * An environment with none yet (made before every environment came with one)+ * gets the Overview too, whose empty state offers to make it.+ */+export const copyTabs = (instanceCount: number): CopyTab[] =>+ instanceCount > 1 ? ['instances', 'sessions'] : ['overview'];++/**+ * The tab to show: the one picked, unless the copy count has since taken it+ * away. A second copy made while Overview is open turns Overview into the+ * Copies list; the last extra copy deleted turns the list back into Overview.+ * Nothing picked yet lands on the first copy tab.+ */+export const resolveDetailTab = <T extends string>(+ picked: T | undefined,+ instanceCount: number,+): T | CopyTab => {+ const copies = copyTabs(instanceCount);++ return picked && (!isCopyTab(picked) || copies.includes(picked)) ? picked : copies[0];+};diff --git a/src/features/EnvironmentManager/environmentCreated.test.ts b/src/features/EnvironmentManager/environmentCreated.test.tsnew file mode 100644index 00000000000..74a752be86b--- /dev/null+++ b/src/features/EnvironmentManager/environmentCreated.test.ts@@ -0,0 +1,28 @@+import { describe, expect, it, vi } from 'vitest';++import { openCreatedEnvironment } from './environmentCreated';++describe('openCreatedEnvironment', () => {+ it('opens the new environment and starts its default copy, asking nothing', () => {+ const select = vi.fn();+ const buildInstance = vi.fn().mockResolvedValue(undefined);++ openCreatedEnvironment(+ { defaultInstance: { id: 'inst-default' } as never, id: 'env-1' },+ { buildInstance, select },+ );++ expect(select).toHaveBeenCalledWith('env-1');+ expect(buildInstance).toHaveBeenCalledWith('inst-default');+ });++ it('opens the environment and builds nothing when the server sent no default copy', () => {+ const select = vi.fn();+ const buildInstance = vi.fn().mockResolvedValue(undefined);++ openCreatedEnvironment({ defaultInstance: undefined, id: 'env-1' }, { buildInstance, select });++ expect(select).toHaveBeenCalledWith('env-1');+ expect(buildInstance).not.toHaveBeenCalled();+ });+});diff --git a/src/features/EnvironmentManager/environmentCreated.ts b/src/features/EnvironmentManager/environmentCreated.tsnew file mode 100644index 00000000000..7207527a4af--- /dev/null+++ b/src/features/EnvironmentManager/environmentCreated.ts@@ -0,0 +1,24 @@+import type { CreatedEnvironment } from './useEnvironmentData';++/**+ * Straight after an environment is created: open it, and start its default+ * copy, which the server made in the same call. Nothing is asked — the person+ * has not started any work yet, so a name and a folder would be answers made+ * up on the spot; both are derived, and renaming is on the copy's row.+ *+ * A code environment clones and installs, so this is where that build starts,+ * after the dialog has closed. A files environment has nothing to build: the+ * same call is settled as ready on the server without starting a sandbox, so+ * the copy never sits in a "pending" state waiting on a build that will not+ * come.+ */+export const openCreatedEnvironment = (+ created: Pick<CreatedEnvironment, 'defaultInstance' | 'id'>,+ {+ buildInstance,+ select,+ }: { buildInstance: (instanceId: string) => Promise<void>; select: (id: string) => void },+) => {+ select(created.id);+ if (created.defaultInstance) void buildInstance(created.defaultInstance.id);+};diff --git a/src/features/EnvironmentManager/errorMessage.test.ts b/src/features/EnvironmentManager/errorMessage.test.tsindex ae1f9c2d81a..9e5fa12863e 100644--- a/src/features/EnvironmentManager/errorMessage.test.ts+++ b/src/features/EnvironmentManager/errorMessage.test.ts@@ -11,6 +11,12 @@ describe('describeError', () => {);});+ it('turns the default-instance refusal into its sentence rather than the code', () => {+ expect(describeError(new Error('DEFAULT_INSTANCE'), t, 'fallback')).toBe(+ '<environments.instances.defaultUndeletable>',+ );+ });+it('turns a path the server confined to the instance into the same line', () => {expect(describeError(new Error('PATH_OUTSIDE_INSTANCE'), t, 'fallback')).toBe('<environments.files.invalidPath>',diff --git a/src/features/EnvironmentManager/errorMessage.ts b/src/features/EnvironmentManager/errorMessage.tsindex 4b163d9e984..a018127d315 100644--- a/src/features/EnvironmentManager/errorMessage.ts+++ b/src/features/EnvironmentManager/errorMessage.ts@@ -12,6 +12,7 @@ import { isMachineErrorMessage } from '@/utils/machineErrorMessage';* sentence — falls back to the caller's generic line.*/const CODE_KEYS: Record<string, string> = {+ DEFAULT_INSTANCE: 'environments.instances.defaultUndeletable',ENVIRONMENT_HAS_INSTANCES: 'environments.hasInstances',// The execution plane calls this an instance now too. The old// code is kept until that rename is deployed everywhere, so a refusal from adiff --git a/src/features/EnvironmentManager/index.tsx b/src/features/EnvironmentManager/index.tsxindex 13a59187c93..a8949291598 100644--- a/src/features/EnvironmentManager/index.tsx+++ b/src/features/EnvironmentManager/index.tsx@@ -13,9 +13,16 @@ import ListSkeleton from '@/components/ListSkeleton';import { openCreateEnvironmentModal } from './CreateEnvironmentModal';import { openCreateInstanceModal } from './CreateInstanceModal';+import { openCreatedEnvironment } from './environmentCreated';import EnvironmentDetailPanel from './EnvironmentDetailPanel';import EnvironmentItem from './EnvironmentItem';-import { useEnvironments, useInstances, useWorkspaceUsage } from './useEnvironmentData';+import {+ type CreatedEnvironment,+ useEnvironmentActions,+ useEnvironments,+ useInstances,+ useWorkspaceUsage,+} from './useEnvironmentData';import WorkspaceUsageMeter from './WorkspaceUsageMeter';const styles = createStaticStyles(({ css }) => ({@@ -56,7 +63,7 @@ const styles = createStaticStyles(({ css }) => ({const LIST_MIN_HEIGHT = 4 * 72;/**- * Environments and the instances built from them.+ * Environments and the copies built from them.** An environment is a SPECIFICATION — the sources to check out, what makes them* usable, what they run with. What a sandbox builds from it is a cache, which is@@ -87,6 +94,7 @@ const EnvironmentManager = memo<EnvironmentManagerProps>(({ tabs, visibility })const { data, error, isValidating, mutate } = useEnvironments(visibility);const { data: instanceData, mutate: refreshInstances } = useInstances();const { refresh: refreshUsage } = useWorkspaceUsage();+ const { buildInstance } = useEnvironmentActions();const [selectedId, setSelectedId] = useState<string>();// Whether a refresh the user asked for is still running.@@ -117,19 +125,18 @@ const EnvironmentManager = memo<EnvironmentManagerProps>(({ tabs, visibility })setSelectedId((current) => (current === id ? undefined : id));};- // Open the environment so the new instance is seen landing in its list, and- // ask for the instance in the same dialog the panel's own button opens.- //- // Both the row's shortcut and the step straight after creating an- // environment: a specification with no instance runs nothing, so stopping at- // the new row would hand back an environment that cannot be used and no hint- // that anything is missing. Dismissing the instance dialog still lands on- // that environment's panel, whose empty state asks for the same thing.+ // The row's "new copy" shortcut: open the environment so the copy is seen+ // landing in its list, and ask for it in the same dialog the panel's own+ // button opens.const createInstance = (id: string) => {setSelectedId(id);openCreateInstanceModal({ environmentId: id });};+ // No instance dialog after creating one: see `openCreatedEnvironment`.+ const onEnvironmentCreated = (created: CreatedEnvironment) =>+ openCreatedEnvironment(created, { buildInstance, select: setSelectedId });+/*** Both lists, because the two halves of what this page shows are fetched* separately and the slow one — instance state, which needs the execution@@ -177,7 +184,7 @@ const EnvironmentManager = memo<EnvironmentManagerProps>(({ tabs, visibility })<Buttonicon={<Icon icon={PlusIcon} />}type={'primary'}- onClick={() => openCreateEnvironmentModal(visibility, createInstance)}+ onClick={() => openCreateEnvironmentModal(visibility, onEnvironmentCreated)}>{t('environments.create')}</Button>@@ -208,7 +215,7 @@ const EnvironmentManager = memo<EnvironmentManagerProps>(({ tabs, visibility })action={<Buttonicon={<Icon icon={PlusIcon} />}- onClick={() => openCreateEnvironmentModal(visibility, createInstance)}+ onClick={() => openCreateEnvironmentModal(visibility, onEnvironmentCreated)}>{t('environments.create')}</Button>diff --git a/src/features/EnvironmentManager/instanceActions.test.ts b/src/features/EnvironmentManager/instanceActions.test.tsnew file mode 100644index 00000000000..d7d934f8524--- /dev/null+++ b/src/features/EnvironmentManager/instanceActions.test.ts@@ -0,0 +1,100 @@+import { describe, expect, it, vi } from 'vitest';++import {+ canCopyInstance,+ copyBlockReason,+ copyEntryTitle,+ deleteEntry,+ recheckCopySource,+} from './instanceActions';++const idle = { buildId: null, id: 'inst-1', inUse: false, status: 'ready' };++describe('copyBlockReason', () => {+ it('allows a copy of an idle, built copy', () => {+ expect(copyBlockReason(idle, false)).toBeUndefined();+ });++ it('blocks a copy a run is holding — the server answers INSTANCE_IN_USE', () => {+ expect(copyBlockReason({ ...idle, inUse: true }, false)).toBe('inUse');+ });++ it('does not read an unanswered lease store as free', () => {+ expect(copyBlockReason(idle, true)).toBe('occupancyUnknown');+ });++ it('blocks a copy whose build is replacing its folder', () => {+ expect(copyBlockReason({ ...idle, buildId: 'b1', status: 'pending' }, false)).toBe('building');+ });++ it('allows a never-built copy, which nothing is writing to', () => {+ expect(copyBlockReason({ ...idle, status: 'pending' }, false)).toBeUndefined();+ });+});++describe('copyEntryTitle', () => {+ it('says why the entry is greyed out', () => {+ expect(copyEntryTitle('inUse')).toBe('environments.instances.copyInUse');+ expect(copyEntryTitle('occupancyUnknown')).toBe('environments.instances.copyOccupancyUnknown');+ expect(copyEntryTitle('building')).toBe('environments.instances.copyBuilding');+ });++ it('names the action when it is available', () => {+ expect(copyEntryTitle(undefined)).toBe('environments.instances.copy');+ });+});++describe('recheckCopySource', () => {+ it('lets the dialog open when the fresh read still finds the source idle', async () => {+ const refetch = vi.fn().mockResolvedValue({ instances: [idle], occupancyUnavailable: false });++ await expect(recheckCopySource('inst-1', refetch)).resolves.toBeUndefined();+ expect(refetch).toHaveBeenCalledTimes(1);+ });++ it('stops the copy when a run took the source since the list was drawn', async () => {+ const refetch = vi+ .fn()+ .mockResolvedValue({ instances: [{ ...idle, inUse: true }], occupancyUnavailable: false });++ await expect(recheckCopySource('inst-1', refetch)).resolves.toBe('inUse');+ });++ it('stops the copy when the fresh read cannot tell who holds it', async () => {+ const refetch = vi.fn().mockResolvedValue({ instances: [idle], occupancyUnavailable: true });++ await expect(recheckCopySource('inst-1', refetch)).resolves.toBe('occupancyUnknown');+ });++ it('leaves a failed re-read to the server, which checks again', async () => {+ const refetch = vi.fn().mockRejectedValue(new Error('network'));++ await expect(recheckCopySource('inst-1', refetch)).resolves.toBeUndefined();+ });+});++describe('deleteEntry', () => {+ it('offers no delete on the default copy among several, even to its creator', () => {+ expect(deleteEntry({ isDefault: true }, { editable: true, single: false })).toBeUndefined();+ });++ it('offers to delete a copy beside the default', () => {+ expect(deleteEntry({ isDefault: false }, { editable: true, single: false })).toBe('instance');+ });++ it("makes the only copy's delete entry delete the environment", () => {+ expect(deleteEntry({ isDefault: true }, { editable: true, single: true })).toBe('environment');+ });++ it('offers no delete to anyone but the creator', () => {+ expect(deleteEntry({ isDefault: false }, { editable: false, single: false })).toBeUndefined();+ expect(deleteEntry({ isDefault: true }, { editable: false, single: true })).toBeUndefined();+ });+});++describe('canCopyInstance', () => {+ it('shows the copy entry to the environment creator only', () => {+ expect(canCopyInstance(true)).toBe(true);+ expect(canCopyInstance(false)).toBe(false);+ });+});diff --git a/src/features/EnvironmentManager/instanceActions.ts b/src/features/EnvironmentManager/instanceActions.tsnew file mode 100644index 00000000000..8c321dbe1c0--- /dev/null+++ b/src/features/EnvironmentManager/instanceActions.ts@@ -0,0 +1,99 @@+/**+ * What a copy's row in settings offers, decided apart from how it is drawn.+ */++/**+ * Why a copy cannot be taken of this instance right now, or `undefined` when it+ * can.+ *+ * A copy captures the source's whole tree, so it is only taken of a source+ * nothing is writing to. The server refuses a held source with+ * `INSTANCE_IN_USE`; this answers the same question first, so the entry is+ * greyed out with the reason beside it instead of failing after a dialog has+ * been filled in.+ *+ * - `inUse`: a conversation, a build or the file browser holds it.+ * - `occupancyUnknown`: the lease store did not answer. Not read as free —+ * the server refuses in that case too, for the same reason.+ * - `building`: a build is replacing its folder; what a copy took now would be+ * half a checkout.+ */+export type CopyBlockReason = 'building' | 'inUse' | 'occupancyUnknown';++interface CopySource {+ buildId?: string | null;+ inUse: boolean;+ status: string;+}++export const copyBlockReason = (+ instance: CopySource,+ occupancyUnavailable: boolean,+): CopyBlockReason | undefined => {+ if (instance.inUse) return 'inUse';+ if (occupancyUnavailable) return 'occupancyUnknown';+ if (instance.status === 'pending' && instance.buildId) return 'building';++ return undefined;+};++/** The copy entry's tooltip: what it does, or why it cannot right now. */+export const copyEntryTitle = (reason: CopyBlockReason | undefined) =>+ reason === 'inUse'+ ? 'environments.instances.copyInUse'+ : reason === 'occupancyUnknown'+ ? 'environments.instances.copyOccupancyUnknown'+ : reason === 'building'+ ? 'environments.instances.copyBuilding'+ : 'environments.instances.copy';++/**+ * Asks again, right before the copy dialog opens, whether the source is still+ * free. Occupancy changes without the page being told — a conversation picks+ * the copy up in another tab — so the answer the list was drawn with is not+ * trusted for the click.+ *+ * A failed re-read lets the dialog open: the check is a courtesy, and the+ * server checks again and says why.+ */+export const recheckCopySource = async (+ instanceId: string,+ refetch: () => Promise<+ { instances: (CopySource & { id: string })[]; occupancyUnavailable: boolean } | undefined+ >,+): Promise<CopyBlockReason | undefined> => {+ try {+ const fresh = await refetch();+ const latest = fresh?.instances.find((row) => row.id === instanceId);++ return latest ? copyBlockReason(latest, fresh?.occupancyUnavailable ?? false) : undefined;+ } catch {+ return undefined;+ }+};++/**+ * What the row's delete entry deletes, or `undefined` when it has none.+ *+ * Never the default copy on its own: it is what the environment is, and the+ * server refuses to delete it. A broken one is rebuilt. When it is the only+ * copy, the entry is there and deletes the environment, which is how that copy+ * goes. Only for the environment's creator, like every other change to its+ * copies.+ */+export const deleteEntry = (+ instance: { isDefault: boolean },+ { editable, single }: { editable: boolean; single: boolean },+): 'environment' | 'instance' | undefined => {+ if (!editable) return undefined;+ if (single) return 'environment';++ return instance.isDefault ? undefined : 'instance';+};++/**+ * Whether the row offers to copy this copy at all — enabled or greyed out is+ * {@link copyBlockReason}'s answer. The creator's only: a colleague who can run+ * in a published environment cannot take its state with them.+ */+export const canCopyInstance = (editable: boolean) => editable;diff --git a/src/features/EnvironmentManager/useConfirmRemoveEnvironment.ts b/src/features/EnvironmentManager/useConfirmRemoveEnvironment.tsnew file mode 100644index 00000000000..beddeac2d3a--- /dev/null+++ b/src/features/EnvironmentManager/useConfirmRemoveEnvironment.ts@@ -0,0 +1,35 @@+import { confirmModal, toast } from '@lobehub/ui/base-ui';+import { useTranslation } from 'react-i18next';++import { describeError } from './errorMessage';+import { useEnvironmentActions } from './useEnvironmentData';++/**+ * Asks, then deletes an environment. Shared by the environment's row menu and+ * by its only copy in the Overview, where deleting the environment is how that+ * copy goes — the default copy is never deleted on its own.+ *+ * Asked for, like deleting a copy is: the environment carries its+ * specification, its variables and what its copy kept, and none of that comes+ * back.+ */+export const useConfirmRemoveEnvironment = () => {+ const { t } = useTranslation('setting');+ const { t: tCommon } = useTranslation('common');+ const { removeEnvironment } = useEnvironmentActions();++ return (environment: { id: string; name: string }) =>+ confirmModal({+ cancelText: tCommon('cancel'),+ content: t('environments.removeConfirmContent'),+ okButtonProps: { danger: true },+ okText: t('environments.remove'),+ // A refusal has to reach the person: an environment still holding other+ // copies is refused on purpose, and that is what they need to read.+ onOk: () =>+ removeEnvironment(environment.id).catch((error: unknown) =>+ toast.error(describeError(error, t, t('environments.removeFailed'))),+ ),+ title: t('environments.removeConfirmTitle', { name: environment.name }),+ });+};diff --git a/src/features/EnvironmentManager/useEnvironmentData.ts b/src/features/EnvironmentManager/useEnvironmentData.tsindex daaa83c6c34..4b9f879d229 100644--- a/src/features/EnvironmentManager/useEnvironmentData.ts+++ b/src/features/EnvironmentManager/useEnvironmentData.ts@@ -1,5 +1,5 @@import type { EnvironmentVisibility } from '@lobechat/types';-import { useCallback, useMemo, useRef, useState } from 'react';+import { useCallback, useMemo, useRef, useState, useSyncExternalStore } from 'react';import { useSWRConfig } from 'swr';import { useClientDataSWR } from '@/libs/swr';@@ -229,6 +229,40 @@ export const useInstanceBuild = (instanceId: string, active: boolean, buildId?:};};+/**+ * Instances whose build has been asked for and not yet answered.+ *+ * Starting a build cold-starts a sandbox, so for a few seconds the row reads+ * `pending` with no build id — the same thing an instance that was never built+ * looks like. A row opened in that window would offer "Build" for a build that+ * is already on its way. Held outside React because the call is fired from the+ * page (straight after an environment is created) and read by a row that may+ * mount only once the refreshed list arrives.+ */+const startingBuilds = new Set<string>();+const startingListeners = new Set<() => void>();++const setBuildStarting = (id: string, starting: boolean) => {+ if (starting) startingBuilds.add(id);+ else startingBuilds.delete(id);+ for (const listener of startingListeners) listener();+};++const subscribeStartingBuilds = (listener: () => void) => {+ startingListeners.add(listener);+ return () => {+ startingListeners.delete(listener);+ };+};++/** Whether a build of this instance has been asked for and has not started yet. */+export const useBuildStarting = (instanceId: string) =>+ useSyncExternalStore(+ subscribeStartingBuilds,+ () => startingBuilds.has(instanceId),+ () => false,+ );+const SESSIONS_KEY = 'sandbox-environment-sessions';/**@@ -255,6 +289,11 @@ export type SandboxInstance = NonNullable<ReturnType<typeof useInstances>['data']>['instances'][number];+/** A new environment as `createEnvironment` returns it: with its default instance. */+export type CreatedEnvironment = Awaited<+ ReturnType<typeof sandboxStorageService.createEnvironment>+>;+export type SandboxEnvironment = NonNullable<ReturnType<typeof useEnvironments>['data']>['environments'][number];@@ -286,11 +325,12 @@ export const useEnvironmentActions = () => {name: string;visibility?: EnvironmentVisibility;}) => {- // Returned, not discarded: an environment with no instance cannot run- // anything, so the caller chains straight into creating the first one and- // needs the id to do it.+ // Returned, not discarded: it carries the default instance the server+ // made alongside the environment, and the caller starts its build.const created = await sandboxStorageService.createEnvironment(params);- await refreshEnvironments();+ // The rows too: the default instance arrived with the environment, and+ // the panel that opens next should show it rather than an empty list.+ await Promise.all([refreshEnvironments(), refreshRows()]);return created;},@@ -305,12 +345,19 @@ export const useEnvironmentActions = () => {* somewhere it cannot be read twice.*/buildInstance: async (id: string) => {+ setBuildStarting(id, true);try {await sandboxStorageService.startInstanceBuild({ id });} catch {/* recorded on the instance; the list shows it */}- await refreshInstances();+ try {+ await refreshInstances();+ } finally {+ // After the refresh, so the row goes from "starting" straight to the+ // build it now has an id for, without a beat of "not built" between.+ setBuildStarting(id, false);+ }},/**@@ -350,6 +397,9 @@ export const useEnvironmentActions = () => {// nothing in it to report a size for.inUse: false,inUseByThisTopic: false,+ // A copy added beside the default — an environment's first instance+ // arrives with `createEnvironment`. The refreshed list is authoritative.+ isDefault: false,name: created.name,snapshot: null,status: 'pending',diff --git a/src/services/sandboxStorage.test.ts b/src/services/sandboxStorage.test.tsnew file mode 100644index 00000000000..9497f900df7--- /dev/null+++ b/src/services/sandboxStorage.test.ts@@ -0,0 +1,39 @@+import { beforeEach, describe, expect, it, vi } from 'vitest';++const mocks = vi.hoisted(() => ({ listInstances: vi.fn() }));++vi.mock('@/libs/trpc/client', () => ({+ lambdaClient: {+ sandboxStorage: { listInstances: { query: mocks.listInstances } },+ },+}));++const { sandboxStorageService } = await import('./sandboxStorage');++describe('sandboxStorageService.listInstances', () => {+ beforeEach(() => {+ mocks.listInstances.mockReset();+ });++ it("marks each environment's default instance with the shared rule", async () => {+ const createdAt = new Date('2026-01-01T00:00:00Z');+ mocks.listInstances.mockResolvedValue({+ instances: [+ { createdAt: new Date('2026-02-01T00:00:00Z'), environmentId: 'env', id: 'later' },+ { createdAt, environmentId: 'env', id: 'b-tied' },+ { createdAt, environmentId: 'env', id: 'a-tied' },+ ],+ occupancyUnavailable: false,+ });++ const result = await sandboxStorageService.listInstances({ withSizes: false });++ expect(mocks.listInstances).toHaveBeenCalledWith({ withSizes: false });+ expect(result.occupancyUnavailable).toBe(false);+ expect(result.instances.map((instance) => [instance.id, instance.isDefault])).toEqual([+ ['later', false],+ ['b-tied', false],+ ['a-tied', true],+ ]);+ });+});diff --git a/src/services/sandboxStorage.ts b/src/services/sandboxStorage.tsindex 3a57e71a395..45d14560a7d 100644--- a/src/services/sandboxStorage.ts+++ b/src/services/sandboxStorage.ts@@ -1,4 +1,5 @@-import type { EnvironmentSource, EnvironmentVisibility } from '@lobechat/types';+import type { EnvironmentKind, EnvironmentSource, EnvironmentVisibility } from '@lobechat/types';+import { markDefaultInstances } from '@lobechat/utils/environmentInstance';import { lambdaClient } from '@/libs/trpc/client';@@ -29,6 +30,7 @@ export interface SandboxEnvironmentSpecification {env?: Record<string, string>;excludePaths?: string[];internetAccess?: boolean;+ kind?: EnvironmentKind;maintenanceCommand?: string;sources?: Extract<EnvironmentSource, { kind: 'git' }>[];}@@ -46,7 +48,10 @@ class SandboxStorageService {description?: string;name: string;visibility?: EnvironmentVisibility;- }) => lambdaClient.sandboxStorage.createEnvironment.mutate(params);+ }) =>+ // Always with its default instance: this client has no create-instance+ // dialog to follow with. The server leaves it out for clients that do.+ lambdaClient.sandboxStorage.createEnvironment.mutate({ ...params, withDefaultInstance: true });/*** Edits the specification. Existing instances keep the one they were created@@ -90,10 +95,17 @@ class SandboxStorageService {** Reaching the snapshot store needs a live sandbox session, so this can take* seconds on a cold start and callers should render a loading state.+ *+ * Each instance carries `isDefault`, from the same rule the server's delete+ * guard applies, so no caller has to re-derive which copy is the default.*/listInstances = async (params: { environmentId?: string; topicId?: string; withSizes?: boolean } = {},- ) => lambdaClient.sandboxStorage.listInstances.query(params);+ ) => {+ const result = await lambdaClient.sandboxStorage.listInstances.query(params);++ return { ...result, instances: markDefaultInstances(result.instances) };+ };/*** The run history of every instance of one environment, newest first: each