dsh-ops 0.2.2 → 0.2.4
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/CHANGELOG.md +16 -0
- package/PROVENANCE.md +35 -0
- package/README.en.md +31 -9
- package/README.md +20 -6
- package/README.zh.md +20 -6
- package/cordis.patch.yml +20 -155
- package/docs/manual-validation.md +10 -5
- package/docs/schema-current.json +20 -13
- package/docs/schema-measurement.md +29 -9
- package/dsh-plugin.json +38 -10
- package/icon.png +0 -0
- package/lib/components/background/icon.png +0 -0
- package/lib/components/background/index.js +3 -0
- package/lib/components/background/locale/en.json +6 -0
- package/lib/components/background/locale/zh.json +6 -0
- package/lib/components/background/package.json +6 -0
- package/lib/components/file/icon.png +0 -0
- package/lib/components/file/index.js +3 -0
- package/lib/components/file/locale/en.json +6 -0
- package/lib/components/file/locale/zh.json +6 -0
- package/lib/components/file/package.json +6 -0
- package/lib/components/shell/icon.png +0 -0
- package/lib/components/shell/index.js +3 -0
- package/lib/components/shell/locale/en.json +6 -0
- package/lib/components/shell/locale/zh.json +6 -0
- package/lib/components/shell/package.json +6 -0
- package/lib/index.js +46 -32
- package/lib/policy.js +16 -7
- package/lib/runtime-pool.js +42 -0
- package/lib/session-pwsh.js +31 -0
- package/lib/tools.js +64 -16
- package/locale/en.json +2 -2
- package/locale/zh.json +2 -2
- package/package.json +20 -5
- package/icon.svg +0 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-ops",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"cpu": [
|
|
19
19
|
"x64"
|
|
20
20
|
],
|
|
21
|
-
"description": "
|
|
22
|
-
"icon": "./icon.
|
|
21
|
+
"description": "Provides bash, PowerShell 7, and a suite of high-performance tools written in Rust for Windows DSH to enhance token efficiency",
|
|
22
|
+
"icon": "./icon.png",
|
|
23
23
|
"keywords": [
|
|
24
24
|
"dsh",
|
|
25
25
|
"dsh-plugin",
|
|
@@ -39,7 +39,22 @@
|
|
|
39
39
|
"default": "./lib/policy.js"
|
|
40
40
|
},
|
|
41
41
|
"./package.json": "./package.json",
|
|
42
|
-
"./locale/*.json": "./locale/*.json"
|
|
42
|
+
"./locale/*.json": "./locale/*.json",
|
|
43
|
+
"./shell": {
|
|
44
|
+
"default": "./lib/components/shell/index.js"
|
|
45
|
+
},
|
|
46
|
+
"./shell/package.json": "./lib/components/shell/package.json",
|
|
47
|
+
"./shell/locale/*.json": "./lib/components/shell/locale/*.json",
|
|
48
|
+
"./file": {
|
|
49
|
+
"default": "./lib/components/file/index.js"
|
|
50
|
+
},
|
|
51
|
+
"./file/package.json": "./lib/components/file/package.json",
|
|
52
|
+
"./file/locale/*.json": "./lib/components/file/locale/*.json",
|
|
53
|
+
"./background": {
|
|
54
|
+
"default": "./lib/components/background/index.js"
|
|
55
|
+
},
|
|
56
|
+
"./background/package.json": "./lib/components/background/package.json",
|
|
57
|
+
"./background/locale/*.json": "./lib/components/background/locale/*.json"
|
|
43
58
|
},
|
|
44
59
|
"bin": {
|
|
45
60
|
"dsh-ops": "bin/dsh-ops.mjs"
|
|
@@ -54,7 +69,7 @@
|
|
|
54
69
|
"bin",
|
|
55
70
|
"cordis.patch.yml",
|
|
56
71
|
"dsh-plugin.json",
|
|
57
|
-
"icon.
|
|
72
|
+
"icon.png",
|
|
58
73
|
"locale",
|
|
59
74
|
"docs",
|
|
60
75
|
"LICENSE",
|
package/icon.svg
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36" fill="none">
|
|
2
|
-
<g stroke="#7C7C82" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round">
|
|
3
|
-
<rect x="4.2" y="6.2" width="27.6" height="23.6" rx="4.2" />
|
|
4
|
-
<path d="M10 14.4l4 3.8-4 3.8" />
|
|
5
|
-
<path d="M17.4 22h4.4" />
|
|
6
|
-
<path d="M25.6 13v10" />
|
|
7
|
-
</g>
|
|
8
|
-
<g fill="#7C7C82">
|
|
9
|
-
<circle cx="25.6" cy="13" r="2.3" />
|
|
10
|
-
<circle cx="25.6" cy="23" r="2.3" />
|
|
11
|
-
</g>
|
|
12
|
-
</svg>
|