Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,16 @@ task cli:build:dev

### Desktop Development

In renderer code, use `$lib/...` for imports across renderer library modules and
`$shared/...` for shared modules. Apply this to type imports, re-exports, and
dynamic imports as well. Keep `./...` for sibling files and relative paths for
renderer entry points without an existing alias. Avoid parent-directory imports
(`../...`) when one of these aliases addresses the module.

Main-process, preload, and shared code use relative imports: the renderer aliases
are not configured in the main/preload bundlers. Preserve the existing `.js`
extension on TypeScript module specifiers and `.svelte` on component imports.

```bash
# Install dependencies
cd desktop
Expand Down
1 change: 1 addition & 0 deletions cmd/internal/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func NewAgentCmd(globalFlags *flags.GlobalFlags) *cobra.Command {
agentCmd.AddCommand(agentworkspace.NewWorkspaceCmd(globalFlags))
agentCmd.AddCommand(agentcontainer.NewContainerCmd(globalFlags))
agentCmd.AddCommand(NewDaemonCmd(globalFlags))
agentCmd.AddCommand(NewDaemonDiagnosticsCmd(globalFlags))
agentCmd.AddCommand(NewContainerTunnelCmd(globalFlags))
agentCmd.AddCommand(NewGitCredentialsCmd(globalFlags))
agentCmd.AddCommand(NewGitSSHSignatureCmd(globalFlags))
Expand Down
Loading
Loading