@ecmaos/types 0.4.1 → 0.4.2
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +165 -0
- package/dist/shell.d.ts +6 -0
- package/dist/shell.d.ts.map +1 -1
- package/package.json +1 -1
- package/shell.ts +8 -1
package/.turbo/turbo-build.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,170 @@
|
|
|
1
1
|
# @ecmaos/types
|
|
2
2
|
|
|
3
|
+
## 0.4.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ae8f619: OVERVIEW
|
|
8
|
+
|
|
9
|
+
Total Commits: 5
|
|
10
|
+
Files Changed: 56 files
|
|
11
|
+
Additions: +1,632 lines
|
|
12
|
+
Deletions: -539 lines
|
|
13
|
+
Net Change: +1,093 lines
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
COMMIT DETAILS
|
|
18
|
+
|
|
19
|
+
1. c6f2d9c - docs: Update NEWS and README files; add tilde expansion feature in shell commands
|
|
20
|
+
|
|
21
|
+
Type: Documentation & Enhancement
|
|
22
|
+
Date: Wed Dec 31 11:52:52 2025
|
|
23
|
+
|
|
24
|
+
Changes:
|
|
25
|
+
|
|
26
|
+
- Updated NEWS.md and README.md with new features and improvements
|
|
27
|
+
- Added tilde expansion feature in shell commands (~ expands to home directory)
|
|
28
|
+
- Enhanced filesystem type recognition
|
|
29
|
+
- Improved terminal command handling
|
|
30
|
+
- Removed 292 lines from core/kernel/src/tree/lib/commands/index.ts (edit command moved to separate package)
|
|
31
|
+
- Added shell functionality in core/kernel/src/tree/shell.ts (71 new lines)
|
|
32
|
+
- Enhanced terminal and filesystem modules
|
|
33
|
+
|
|
34
|
+
Files Modified: 9 files (+166, -327)
|
|
35
|
+
|
|
36
|
+
***
|
|
37
|
+
|
|
38
|
+
2. b4454a1 - chore: Bump turbo package version from 2.5.4 to 2.7.2
|
|
39
|
+
|
|
40
|
+
Type: Dependency Update
|
|
41
|
+
|
|
42
|
+
Changes:
|
|
43
|
+
|
|
44
|
+
- Updated Turbo monorepo tool from version 2.5.4 to 2.7.2
|
|
45
|
+
- Updated package.json and pnpm-lock.yaml files
|
|
46
|
+
|
|
47
|
+
Impact: Infrastructure improvement for better monorepo tooling support
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
3. 6660f4c - chore: Update pnpm-lock.yaml files across multiple applications and modules
|
|
52
|
+
|
|
53
|
+
Type: Dependency Maintenance
|
|
54
|
+
|
|
55
|
+
Changes:
|
|
56
|
+
|
|
57
|
+
- Cleaned up outdated checksum entries in pnpm-lock.yaml files
|
|
58
|
+
- Ensured consistency in package versions across the monorepo
|
|
59
|
+
- Updated lockfiles in:
|
|
60
|
+
- Multiple apps (ai, boilerplate, code, news, python, webamp)
|
|
61
|
+
- Core packages (bios, jaffa, kernel, metal, swapi, types, utils)
|
|
62
|
+
- Device packages (audio, battery, bluetooth, echo, gamepad, geo, gpu, hid, midi, presentation, sensors, serial, usb, webgl)
|
|
63
|
+
- Modules and utils
|
|
64
|
+
|
|
65
|
+
Impact: Improved dependency consistency and resolved potential checksum issues
|
|
66
|
+
|
|
67
|
+
***
|
|
68
|
+
|
|
69
|
+
4. 01da80e - feat: improve and move edit command to its own package
|
|
70
|
+
|
|
71
|
+
Type: Feature (Major Refactor)
|
|
72
|
+
Date: Wed Dec 31 12:48:45 2025
|
|
73
|
+
|
|
74
|
+
Changes:
|
|
75
|
+
|
|
76
|
+
- Extracted edit command from kernel into standalone apps/edit package
|
|
77
|
+
- Created comprehensive editor implementation with:
|
|
78
|
+
- Multiple editing modes: normal, insert, replace, command
|
|
79
|
+
- File operations support
|
|
80
|
+
- Renderer for terminal-based editing
|
|
81
|
+
- Type definitions for editor state
|
|
82
|
+
- Removed 292 lines of edit command code from core/kernel/src/tree/lib/commands/index.ts
|
|
83
|
+
- Added build configuration (build.cjs)
|
|
84
|
+
- Updated package dependencies
|
|
85
|
+
|
|
86
|
+
Files Modified: 14 files (+1,054, -304)
|
|
87
|
+
|
|
88
|
+
Impact: Better separation of concerns, improved maintainability, and enhanced editor functionality
|
|
89
|
+
|
|
90
|
+
***
|
|
91
|
+
|
|
92
|
+
5. 90072ec - feat: add 'ln' command and enhance 'ls' command to support symbolic and hard link information
|
|
93
|
+
|
|
94
|
+
Type: Feature
|
|
95
|
+
Date: Wed Dec 31 13:11:53 2025
|
|
96
|
+
|
|
97
|
+
Changes:
|
|
98
|
+
|
|
99
|
+
- Added new ln command for creating symbolic and hard links (core/utils/src/commands/ln.ts - 108 lines)
|
|
100
|
+
- Enhanced ls command to display link information:
|
|
101
|
+
- Shows link count for files
|
|
102
|
+
- Displays target path for symbolic links
|
|
103
|
+
- Improved file listing with link details
|
|
104
|
+
- Updated command exports in core/utils/src/index.ts
|
|
105
|
+
|
|
106
|
+
Files Modified: 3 files (+196, -11)
|
|
107
|
+
|
|
108
|
+
Impact: Better filesystem management capabilities, improved visibility into file relationships
|
|
109
|
+
|
|
110
|
+
***
|
|
111
|
+
|
|
112
|
+
SUMMARY BY CATEGORY
|
|
113
|
+
|
|
114
|
+
Features:
|
|
115
|
+
|
|
116
|
+
- Edit Command Package: Extracted and improved editor into standalone package with multiple modes
|
|
117
|
+
- Link Command: New ln command for creating symbolic and hard links
|
|
118
|
+
- Enhanced LS: Improved ls command with link information display
|
|
119
|
+
- Tilde Expansion: Shell command support for ~ home directory expansion
|
|
120
|
+
|
|
121
|
+
Documentation:
|
|
122
|
+
|
|
123
|
+
- Updated NEWS and README files with latest changes
|
|
124
|
+
|
|
125
|
+
Infrastructure:
|
|
126
|
+
|
|
127
|
+
- Turbo version bump (2.5.4 -> 2.7.2)
|
|
128
|
+
- Dependency lockfile cleanup across entire monorepo
|
|
129
|
+
|
|
130
|
+
Code Quality:
|
|
131
|
+
|
|
132
|
+
- Better separation of concerns (edit command extraction)
|
|
133
|
+
- Improved filesystem type recognition
|
|
134
|
+
- Enhanced terminal command handling
|
|
135
|
+
|
|
136
|
+
***
|
|
137
|
+
|
|
138
|
+
AFFECTED PACKAGES
|
|
139
|
+
|
|
140
|
+
Core Packages:
|
|
141
|
+
|
|
142
|
+
- @ecmaos/kernel - Shell, terminal, filesystem enhancements
|
|
143
|
+
- @ecmaos/types - Shell type updates
|
|
144
|
+
- @ecmaos/utils - New ln command, enhanced ls command
|
|
145
|
+
|
|
146
|
+
Applications:
|
|
147
|
+
|
|
148
|
+
- apps/edit - New standalone editor package
|
|
149
|
+
|
|
150
|
+
Dependencies:
|
|
151
|
+
|
|
152
|
+
- All packages: Lockfile updates for consistency
|
|
153
|
+
|
|
154
|
+
***
|
|
155
|
+
|
|
156
|
+
BREAKING CHANGES
|
|
157
|
+
|
|
158
|
+
None identified. All changes appear to be additive or internal refactoring.
|
|
159
|
+
|
|
160
|
+
***
|
|
161
|
+
|
|
162
|
+
MIGRATION NOTES
|
|
163
|
+
|
|
164
|
+
- The edit command has been moved from the kernel to apps/edit package. Any code referencing the edit command in the kernel should be updated to use the new package.
|
|
165
|
+
- The ls command now shows additional link information, which may affect scripts parsing its output.
|
|
166
|
+
- Shell commands now support tilde expansion (~), which may affect scripts that previously handled paths differently.
|
|
167
|
+
|
|
3
168
|
## 0.4.1
|
|
4
169
|
|
|
5
170
|
### Patch Changes
|
package/dist/shell.d.ts
CHANGED
|
@@ -58,5 +58,11 @@ export interface Shell {
|
|
|
58
58
|
* @param args - Arguments to set
|
|
59
59
|
*/
|
|
60
60
|
setPositionalParameters(args: string[]): void;
|
|
61
|
+
/**
|
|
62
|
+
* Expands tilde (~) to the user's home directory
|
|
63
|
+
* @param input - String that may contain tilde
|
|
64
|
+
* @returns String with tilde expanded to HOME directory
|
|
65
|
+
*/
|
|
66
|
+
expandTilde(input: string): string;
|
|
61
67
|
}
|
|
62
68
|
//# sourceMappingURL=shell.d.ts.map
|
package/dist/shell.d.ts.map
CHANGED
|
@@ -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,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAA;IAEhC;;OAEG;IACH,yBAAyB,IAAI,IAAI,CAAA;IAEjC;;;OAGG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAEtC;;;OAGG;IACH,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,CAAA;IAE7C;;;;OAIG;IACH,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;CACnC"}
|
package/package.json
CHANGED
package/shell.ts
CHANGED
|
@@ -65,4 +65,11 @@ export interface Shell {
|
|
|
65
65
|
* @param args - Arguments to set
|
|
66
66
|
*/
|
|
67
67
|
setPositionalParameters(args: string[]): void
|
|
68
|
-
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Expands tilde (~) to the user's home directory
|
|
71
|
+
* @param input - String that may contain tilde
|
|
72
|
+
* @returns String with tilde expanded to HOME directory
|
|
73
|
+
*/
|
|
74
|
+
expandTilde(input: string): string
|
|
75
|
+
}
|