You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by wy...@apache.org on 2026/10/21 03:03:12 UTC
(maka) 02/02: fix(terminal): disambiguate workspace file state module
This is an automated email from the ASF dual-hosted git repository.
M4n5ter pushed a commit to branch rust-preview
in repository https://gitbox.apache.org/repos/asf/maka.git
commit 4514179703ced1f581bf025fa6cb7d24bc26ecda
Author: Wang <m4...@gmail.com>
AuthorDate: Wed Oct 21 10:58:34 2026 +0800
fix(terminal): disambiguate workspace file state module
Rename the workspace file state module so extensionless imports resolve
unambiguously on case-insensitive filesystems. Preserve the component and
state behavior while migrating all state imports.
Generated-by: Codex
---
products/maka/terminal-shell/app/CurrentFile.tsx | 2 +-
products/maka/terminal-shell/app/WorkspaceFiles.tsx | 2 +-
products/maka/terminal-shell/app/resources.ts | 2 +-
.../terminal-shell/app/{workspaceFiles.ts => workspaceFileState.ts} | 0
4 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/products/maka/terminal-shell/app/CurrentFile.tsx b/products/maka/terminal-shell/app/CurrentFile.tsx
index cbdbbc3c2f..b8d9781939 100644
--- a/products/maka/terminal-shell/app/CurrentFile.tsx
+++ b/products/maka/terminal-shell/app/CurrentFile.tsx
@@ -23,7 +23,7 @@ import { Image } from 'nsh/image';
import { List } from 'nsh/list';
import { host } from 'maka/host';
import type { AgentFileChange, AgentFileKind } from '../../../../packages/plugin-sdk/src/index.js';
-import type { WorkspaceFileTarget } from './workspaceFiles';
+import type { WorkspaceFileTarget } from './workspaceFileState';
import { C } from './ui';
// This is the native collector's verified presentation, not the Host wire stream.
diff --git a/products/maka/terminal-shell/app/WorkspaceFiles.tsx b/products/maka/terminal-shell/app/WorkspaceFiles.tsx
index 35505626d4..9d9d613732 100644
--- a/products/maka/terminal-shell/app/WorkspaceFiles.tsx
+++ b/products/maka/terminal-shell/app/WorkspaceFiles.tsx
@@ -23,7 +23,7 @@ import { List } from 'nsh/list';
import { host } from 'maka/host';
import type { WorkspacePath } from '../../../../packages/plugin-sdk/src/index.js';
import { C } from './ui';
-import type { WorkspaceFilesModel } from './workspaceFiles';
+import type { WorkspaceFilesModel } from './workspaceFileState';
export function WorkspaceFiles(props: { model: WorkspaceFilesModel }) {
const model = props.model;
diff --git a/products/maka/terminal-shell/app/resources.ts b/products/maka/terminal-shell/app/resources.ts
index 2a85dbe04d..20b8a79159 100644
--- a/products/maka/terminal-shell/app/resources.ts
+++ b/products/maka/terminal-shell/app/resources.ts
@@ -19,7 +19,7 @@
import { cleanup, effect, signal, untracked } from 'nsh';
import type { YNode } from 'nsh';
-import { createWorkspaceFiles, type WorkspaceFileTarget } from './workspaceFiles';
+import { createWorkspaceFiles, type WorkspaceFileTarget } from './workspaceFileState';
import { createCurrentFile, type CurrentFileModel } from './CurrentFile';
import { createCurrentDiff, type CurrentDiffTarget, type CurrentDiffModel } from './CurrentDiff';
import type { ImagePreview } from './ToolImage';
diff --git a/products/maka/terminal-shell/app/workspaceFiles.ts b/products/maka/terminal-shell/app/workspaceFileState.ts
similarity index 100%
rename from products/maka/terminal-shell/app/workspaceFiles.ts
rename to products/maka/terminal-shell/app/workspaceFileState.ts
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org