@youtyan/code-viewer 0.1.25 → 0.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -80,34 +80,28 @@ the full non-virtual view.
80
80
 
81
81
  ## Uploads
82
82
 
83
- File uploads are disabled by default. Enable them only for trusted local
84
- worktrees:
85
-
86
- ```sh
87
- code-viewer --cwd /path/to/repo --allow-upload
88
- ```
83
+ File uploads are available for the local worktree target. Git tree views remain
84
+ read-only.
89
85
 
90
- Or place `.code-viewer.json` at the repository root:
86
+ Place `.code-viewer.json` at the repository root to configure repository scope
87
+ defaults:
91
88
 
92
89
  ```json
93
90
  {
94
91
  "version": 1,
95
- "upload": {
96
- "enabled": true
97
- },
98
92
  "scope": {
99
93
  "omitDirs": ["node_modules", "dist", "build"]
100
94
  }
101
95
  }
102
96
  ```
103
97
 
104
- Uploads are accepted only for the worktree target. Git tree views remain
105
- read-only.
106
-
107
98
  Repository scope settings control recursive repository browsing and search scope
108
99
  for the left tree, Ctrl+K file palette, and Ctrl+G grep palette. The in-app Scope
109
100
  Settings popover stores only a browser-local override in localStorage; edit
110
101
  `.code-viewer.json` directly for project defaults shared with the repository.
102
+ Use `scope.omitDirs` for directories that should stay visible as skipped, and
103
+ `scope.excludeNames` for file or directory names that should be hidden entirely.
104
+ `.DS_Store` is hidden by default.
111
105
 
112
106
  ## Development
113
107