oh-my-opencode-unguarded 3.9.2 → 3.9.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/LICENSE.md +82 -82
- package/README.ja.md +347 -347
- package/README.ko.md +346 -346
- package/README.md +43 -43
- package/README.ru.md +367 -367
- package/README.zh-cn.md +346 -346
- package/bin/oh-my-opencode.js +142 -142
- package/bin/platform.d.ts +14 -14
- package/bin/platform.js +82 -82
- package/bin/platform.test.ts +203 -203
- package/dist/cli/index.js +1 -1
- package/package.json +99 -99
- package/postinstall.mjs +59 -59
package/bin/platform.test.ts
CHANGED
|
@@ -1,203 +1,203 @@
|
|
|
1
|
-
// bin/platform.test.ts
|
|
2
|
-
import { describe, expect, test } from "bun:test";
|
|
3
|
-
import { getBinaryPath, getPlatformPackage, getPlatformPackageCandidates } from "./platform.js";
|
|
4
|
-
|
|
5
|
-
describe("getPlatformPackage", () => {
|
|
6
|
-
// #region Darwin platforms
|
|
7
|
-
test("returns darwin-arm64 for macOS ARM64", () => {
|
|
8
|
-
// #given macOS ARM64 platform
|
|
9
|
-
const input = { platform: "darwin", arch: "arm64" };
|
|
10
|
-
|
|
11
|
-
// #when getting platform package
|
|
12
|
-
const result = getPlatformPackage(input);
|
|
13
|
-
|
|
14
|
-
// #then returns correct package name
|
|
15
|
-
expect(result).toBe("oh-my-opencode-darwin-arm64");
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
test("returns darwin-x64 for macOS Intel", () => {
|
|
19
|
-
// #given macOS x64 platform
|
|
20
|
-
const input = { platform: "darwin", arch: "x64" };
|
|
21
|
-
|
|
22
|
-
// #when getting platform package
|
|
23
|
-
const result = getPlatformPackage(input);
|
|
24
|
-
|
|
25
|
-
// #then returns correct package name
|
|
26
|
-
expect(result).toBe("oh-my-opencode-darwin-x64");
|
|
27
|
-
});
|
|
28
|
-
// #endregion
|
|
29
|
-
|
|
30
|
-
// #region Linux glibc platforms
|
|
31
|
-
test("returns linux-x64 for Linux x64 with glibc", () => {
|
|
32
|
-
// #given Linux x64 with glibc
|
|
33
|
-
const input = { platform: "linux", arch: "x64", libcFamily: "glibc" };
|
|
34
|
-
|
|
35
|
-
// #when getting platform package
|
|
36
|
-
const result = getPlatformPackage(input);
|
|
37
|
-
|
|
38
|
-
// #then returns correct package name
|
|
39
|
-
expect(result).toBe("oh-my-opencode-linux-x64");
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
test("returns linux-arm64 for Linux ARM64 with glibc", () => {
|
|
43
|
-
// #given Linux ARM64 with glibc
|
|
44
|
-
const input = { platform: "linux", arch: "arm64", libcFamily: "glibc" };
|
|
45
|
-
|
|
46
|
-
// #when getting platform package
|
|
47
|
-
const result = getPlatformPackage(input);
|
|
48
|
-
|
|
49
|
-
// #then returns correct package name
|
|
50
|
-
expect(result).toBe("oh-my-opencode-linux-arm64");
|
|
51
|
-
});
|
|
52
|
-
// #endregion
|
|
53
|
-
|
|
54
|
-
// #region Linux musl platforms
|
|
55
|
-
test("returns linux-x64-musl for Alpine x64", () => {
|
|
56
|
-
// #given Linux x64 with musl (Alpine)
|
|
57
|
-
const input = { platform: "linux", arch: "x64", libcFamily: "musl" };
|
|
58
|
-
|
|
59
|
-
// #when getting platform package
|
|
60
|
-
const result = getPlatformPackage(input);
|
|
61
|
-
|
|
62
|
-
// #then returns correct package name with musl suffix
|
|
63
|
-
expect(result).toBe("oh-my-opencode-linux-x64-musl");
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
test("returns linux-arm64-musl for Alpine ARM64", () => {
|
|
67
|
-
// #given Linux ARM64 with musl (Alpine)
|
|
68
|
-
const input = { platform: "linux", arch: "arm64", libcFamily: "musl" };
|
|
69
|
-
|
|
70
|
-
// #when getting platform package
|
|
71
|
-
const result = getPlatformPackage(input);
|
|
72
|
-
|
|
73
|
-
// #then returns correct package name with musl suffix
|
|
74
|
-
expect(result).toBe("oh-my-opencode-linux-arm64-musl");
|
|
75
|
-
});
|
|
76
|
-
// #endregion
|
|
77
|
-
|
|
78
|
-
// #region Windows platform
|
|
79
|
-
test("returns windows-x64 for Windows", () => {
|
|
80
|
-
// #given Windows x64 platform (win32 is Node's platform name)
|
|
81
|
-
const input = { platform: "win32", arch: "x64" };
|
|
82
|
-
|
|
83
|
-
// #when getting platform package
|
|
84
|
-
const result = getPlatformPackage(input);
|
|
85
|
-
|
|
86
|
-
// #then returns correct package name with 'windows' not 'win32'
|
|
87
|
-
expect(result).toBe("oh-my-opencode-windows-x64");
|
|
88
|
-
});
|
|
89
|
-
// #endregion
|
|
90
|
-
|
|
91
|
-
// #region Error cases
|
|
92
|
-
test("throws error for Linux with null libcFamily", () => {
|
|
93
|
-
// #given Linux platform with null libc detection
|
|
94
|
-
const input = { platform: "linux", arch: "x64", libcFamily: null };
|
|
95
|
-
|
|
96
|
-
// #when getting platform package
|
|
97
|
-
// #then throws descriptive error
|
|
98
|
-
expect(() => getPlatformPackage(input)).toThrow("Could not detect libc");
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
test("throws error for Linux with undefined libcFamily", () => {
|
|
102
|
-
// #given Linux platform with undefined libc
|
|
103
|
-
const input = { platform: "linux", arch: "x64", libcFamily: undefined };
|
|
104
|
-
|
|
105
|
-
// #when getting platform package
|
|
106
|
-
// #then throws descriptive error
|
|
107
|
-
expect(() => getPlatformPackage(input)).toThrow("Could not detect libc");
|
|
108
|
-
});
|
|
109
|
-
// #endregion
|
|
110
|
-
});
|
|
111
|
-
|
|
112
|
-
describe("getBinaryPath", () => {
|
|
113
|
-
test("returns path without .exe for Unix platforms", () => {
|
|
114
|
-
// #given Unix platform package
|
|
115
|
-
const pkg = "oh-my-opencode-darwin-arm64";
|
|
116
|
-
const platform = "darwin";
|
|
117
|
-
|
|
118
|
-
// #when getting binary path
|
|
119
|
-
const result = getBinaryPath(pkg, platform);
|
|
120
|
-
|
|
121
|
-
// #then returns path without extension
|
|
122
|
-
expect(result).toBe("oh-my-opencode-darwin-arm64/bin/oh-my-opencode");
|
|
123
|
-
});
|
|
124
|
-
|
|
125
|
-
test("returns path with .exe for Windows", () => {
|
|
126
|
-
// #given Windows platform package
|
|
127
|
-
const pkg = "oh-my-opencode-windows-x64";
|
|
128
|
-
const platform = "win32";
|
|
129
|
-
|
|
130
|
-
// #when getting binary path
|
|
131
|
-
const result = getBinaryPath(pkg, platform);
|
|
132
|
-
|
|
133
|
-
// #then returns path with .exe extension
|
|
134
|
-
expect(result).toBe("oh-my-opencode-windows-x64/bin/oh-my-opencode.exe");
|
|
135
|
-
});
|
|
136
|
-
|
|
137
|
-
test("returns path without .exe for Linux", () => {
|
|
138
|
-
// #given Linux platform package
|
|
139
|
-
const pkg = "oh-my-opencode-linux-x64";
|
|
140
|
-
const platform = "linux";
|
|
141
|
-
|
|
142
|
-
// #when getting binary path
|
|
143
|
-
const result = getBinaryPath(pkg, platform);
|
|
144
|
-
|
|
145
|
-
// #then returns path without extension
|
|
146
|
-
expect(result).toBe("oh-my-opencode-linux-x64/bin/oh-my-opencode");
|
|
147
|
-
});
|
|
148
|
-
});
|
|
149
|
-
|
|
150
|
-
describe("getPlatformPackageCandidates", () => {
|
|
151
|
-
test("returns x64 and baseline candidates for Linux glibc", () => {
|
|
152
|
-
// #given Linux x64 with glibc
|
|
153
|
-
const input = { platform: "linux", arch: "x64", libcFamily: "glibc" };
|
|
154
|
-
|
|
155
|
-
// #when getting package candidates
|
|
156
|
-
const result = getPlatformPackageCandidates(input);
|
|
157
|
-
|
|
158
|
-
// #then returns modern first then baseline fallback
|
|
159
|
-
expect(result).toEqual([
|
|
160
|
-
"oh-my-opencode-linux-x64",
|
|
161
|
-
"oh-my-opencode-linux-x64-baseline",
|
|
162
|
-
]);
|
|
163
|
-
});
|
|
164
|
-
|
|
165
|
-
test("returns x64 musl and baseline candidates for Linux musl", () => {
|
|
166
|
-
// #given Linux x64 with musl
|
|
167
|
-
const input = { platform: "linux", arch: "x64", libcFamily: "musl" };
|
|
168
|
-
|
|
169
|
-
// #when getting package candidates
|
|
170
|
-
const result = getPlatformPackageCandidates(input);
|
|
171
|
-
|
|
172
|
-
// #then returns musl modern first then musl baseline fallback
|
|
173
|
-
expect(result).toEqual([
|
|
174
|
-
"oh-my-opencode-linux-x64-musl",
|
|
175
|
-
"oh-my-opencode-linux-x64-musl-baseline",
|
|
176
|
-
]);
|
|
177
|
-
});
|
|
178
|
-
|
|
179
|
-
test("returns baseline first when preferBaseline is true", () => {
|
|
180
|
-
// #given Windows x64 and baseline preference
|
|
181
|
-
const input = { platform: "win32", arch: "x64", preferBaseline: true };
|
|
182
|
-
|
|
183
|
-
// #when getting package candidates
|
|
184
|
-
const result = getPlatformPackageCandidates(input);
|
|
185
|
-
|
|
186
|
-
// #then baseline package is preferred first
|
|
187
|
-
expect(result).toEqual([
|
|
188
|
-
"oh-my-opencode-windows-x64-baseline",
|
|
189
|
-
"oh-my-opencode-windows-x64",
|
|
190
|
-
]);
|
|
191
|
-
});
|
|
192
|
-
|
|
193
|
-
test("returns only one candidate for ARM64", () => {
|
|
194
|
-
// #given non-x64 platform
|
|
195
|
-
const input = { platform: "linux", arch: "arm64", libcFamily: "glibc" };
|
|
196
|
-
|
|
197
|
-
// #when getting package candidates
|
|
198
|
-
const result = getPlatformPackageCandidates(input);
|
|
199
|
-
|
|
200
|
-
// #then baseline fallback is not included
|
|
201
|
-
expect(result).toEqual(["oh-my-opencode-linux-arm64"]);
|
|
202
|
-
});
|
|
203
|
-
});
|
|
1
|
+
// bin/platform.test.ts
|
|
2
|
+
import { describe, expect, test } from "bun:test";
|
|
3
|
+
import { getBinaryPath, getPlatformPackage, getPlatformPackageCandidates } from "./platform.js";
|
|
4
|
+
|
|
5
|
+
describe("getPlatformPackage", () => {
|
|
6
|
+
// #region Darwin platforms
|
|
7
|
+
test("returns darwin-arm64 for macOS ARM64", () => {
|
|
8
|
+
// #given macOS ARM64 platform
|
|
9
|
+
const input = { platform: "darwin", arch: "arm64" };
|
|
10
|
+
|
|
11
|
+
// #when getting platform package
|
|
12
|
+
const result = getPlatformPackage(input);
|
|
13
|
+
|
|
14
|
+
// #then returns correct package name
|
|
15
|
+
expect(result).toBe("oh-my-opencode-darwin-arm64");
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
test("returns darwin-x64 for macOS Intel", () => {
|
|
19
|
+
// #given macOS x64 platform
|
|
20
|
+
const input = { platform: "darwin", arch: "x64" };
|
|
21
|
+
|
|
22
|
+
// #when getting platform package
|
|
23
|
+
const result = getPlatformPackage(input);
|
|
24
|
+
|
|
25
|
+
// #then returns correct package name
|
|
26
|
+
expect(result).toBe("oh-my-opencode-darwin-x64");
|
|
27
|
+
});
|
|
28
|
+
// #endregion
|
|
29
|
+
|
|
30
|
+
// #region Linux glibc platforms
|
|
31
|
+
test("returns linux-x64 for Linux x64 with glibc", () => {
|
|
32
|
+
// #given Linux x64 with glibc
|
|
33
|
+
const input = { platform: "linux", arch: "x64", libcFamily: "glibc" };
|
|
34
|
+
|
|
35
|
+
// #when getting platform package
|
|
36
|
+
const result = getPlatformPackage(input);
|
|
37
|
+
|
|
38
|
+
// #then returns correct package name
|
|
39
|
+
expect(result).toBe("oh-my-opencode-linux-x64");
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
test("returns linux-arm64 for Linux ARM64 with glibc", () => {
|
|
43
|
+
// #given Linux ARM64 with glibc
|
|
44
|
+
const input = { platform: "linux", arch: "arm64", libcFamily: "glibc" };
|
|
45
|
+
|
|
46
|
+
// #when getting platform package
|
|
47
|
+
const result = getPlatformPackage(input);
|
|
48
|
+
|
|
49
|
+
// #then returns correct package name
|
|
50
|
+
expect(result).toBe("oh-my-opencode-linux-arm64");
|
|
51
|
+
});
|
|
52
|
+
// #endregion
|
|
53
|
+
|
|
54
|
+
// #region Linux musl platforms
|
|
55
|
+
test("returns linux-x64-musl for Alpine x64", () => {
|
|
56
|
+
// #given Linux x64 with musl (Alpine)
|
|
57
|
+
const input = { platform: "linux", arch: "x64", libcFamily: "musl" };
|
|
58
|
+
|
|
59
|
+
// #when getting platform package
|
|
60
|
+
const result = getPlatformPackage(input);
|
|
61
|
+
|
|
62
|
+
// #then returns correct package name with musl suffix
|
|
63
|
+
expect(result).toBe("oh-my-opencode-linux-x64-musl");
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
test("returns linux-arm64-musl for Alpine ARM64", () => {
|
|
67
|
+
// #given Linux ARM64 with musl (Alpine)
|
|
68
|
+
const input = { platform: "linux", arch: "arm64", libcFamily: "musl" };
|
|
69
|
+
|
|
70
|
+
// #when getting platform package
|
|
71
|
+
const result = getPlatformPackage(input);
|
|
72
|
+
|
|
73
|
+
// #then returns correct package name with musl suffix
|
|
74
|
+
expect(result).toBe("oh-my-opencode-linux-arm64-musl");
|
|
75
|
+
});
|
|
76
|
+
// #endregion
|
|
77
|
+
|
|
78
|
+
// #region Windows platform
|
|
79
|
+
test("returns windows-x64 for Windows", () => {
|
|
80
|
+
// #given Windows x64 platform (win32 is Node's platform name)
|
|
81
|
+
const input = { platform: "win32", arch: "x64" };
|
|
82
|
+
|
|
83
|
+
// #when getting platform package
|
|
84
|
+
const result = getPlatformPackage(input);
|
|
85
|
+
|
|
86
|
+
// #then returns correct package name with 'windows' not 'win32'
|
|
87
|
+
expect(result).toBe("oh-my-opencode-windows-x64");
|
|
88
|
+
});
|
|
89
|
+
// #endregion
|
|
90
|
+
|
|
91
|
+
// #region Error cases
|
|
92
|
+
test("throws error for Linux with null libcFamily", () => {
|
|
93
|
+
// #given Linux platform with null libc detection
|
|
94
|
+
const input = { platform: "linux", arch: "x64", libcFamily: null };
|
|
95
|
+
|
|
96
|
+
// #when getting platform package
|
|
97
|
+
// #then throws descriptive error
|
|
98
|
+
expect(() => getPlatformPackage(input)).toThrow("Could not detect libc");
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
test("throws error for Linux with undefined libcFamily", () => {
|
|
102
|
+
// #given Linux platform with undefined libc
|
|
103
|
+
const input = { platform: "linux", arch: "x64", libcFamily: undefined };
|
|
104
|
+
|
|
105
|
+
// #when getting platform package
|
|
106
|
+
// #then throws descriptive error
|
|
107
|
+
expect(() => getPlatformPackage(input)).toThrow("Could not detect libc");
|
|
108
|
+
});
|
|
109
|
+
// #endregion
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
describe("getBinaryPath", () => {
|
|
113
|
+
test("returns path without .exe for Unix platforms", () => {
|
|
114
|
+
// #given Unix platform package
|
|
115
|
+
const pkg = "oh-my-opencode-darwin-arm64";
|
|
116
|
+
const platform = "darwin";
|
|
117
|
+
|
|
118
|
+
// #when getting binary path
|
|
119
|
+
const result = getBinaryPath(pkg, platform);
|
|
120
|
+
|
|
121
|
+
// #then returns path without extension
|
|
122
|
+
expect(result).toBe("oh-my-opencode-darwin-arm64/bin/oh-my-opencode");
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
test("returns path with .exe for Windows", () => {
|
|
126
|
+
// #given Windows platform package
|
|
127
|
+
const pkg = "oh-my-opencode-windows-x64";
|
|
128
|
+
const platform = "win32";
|
|
129
|
+
|
|
130
|
+
// #when getting binary path
|
|
131
|
+
const result = getBinaryPath(pkg, platform);
|
|
132
|
+
|
|
133
|
+
// #then returns path with .exe extension
|
|
134
|
+
expect(result).toBe("oh-my-opencode-windows-x64/bin/oh-my-opencode.exe");
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
test("returns path without .exe for Linux", () => {
|
|
138
|
+
// #given Linux platform package
|
|
139
|
+
const pkg = "oh-my-opencode-linux-x64";
|
|
140
|
+
const platform = "linux";
|
|
141
|
+
|
|
142
|
+
// #when getting binary path
|
|
143
|
+
const result = getBinaryPath(pkg, platform);
|
|
144
|
+
|
|
145
|
+
// #then returns path without extension
|
|
146
|
+
expect(result).toBe("oh-my-opencode-linux-x64/bin/oh-my-opencode");
|
|
147
|
+
});
|
|
148
|
+
});
|
|
149
|
+
|
|
150
|
+
describe("getPlatformPackageCandidates", () => {
|
|
151
|
+
test("returns x64 and baseline candidates for Linux glibc", () => {
|
|
152
|
+
// #given Linux x64 with glibc
|
|
153
|
+
const input = { platform: "linux", arch: "x64", libcFamily: "glibc" };
|
|
154
|
+
|
|
155
|
+
// #when getting package candidates
|
|
156
|
+
const result = getPlatformPackageCandidates(input);
|
|
157
|
+
|
|
158
|
+
// #then returns modern first then baseline fallback
|
|
159
|
+
expect(result).toEqual([
|
|
160
|
+
"oh-my-opencode-linux-x64",
|
|
161
|
+
"oh-my-opencode-linux-x64-baseline",
|
|
162
|
+
]);
|
|
163
|
+
});
|
|
164
|
+
|
|
165
|
+
test("returns x64 musl and baseline candidates for Linux musl", () => {
|
|
166
|
+
// #given Linux x64 with musl
|
|
167
|
+
const input = { platform: "linux", arch: "x64", libcFamily: "musl" };
|
|
168
|
+
|
|
169
|
+
// #when getting package candidates
|
|
170
|
+
const result = getPlatformPackageCandidates(input);
|
|
171
|
+
|
|
172
|
+
// #then returns musl modern first then musl baseline fallback
|
|
173
|
+
expect(result).toEqual([
|
|
174
|
+
"oh-my-opencode-linux-x64-musl",
|
|
175
|
+
"oh-my-opencode-linux-x64-musl-baseline",
|
|
176
|
+
]);
|
|
177
|
+
});
|
|
178
|
+
|
|
179
|
+
test("returns baseline first when preferBaseline is true", () => {
|
|
180
|
+
// #given Windows x64 and baseline preference
|
|
181
|
+
const input = { platform: "win32", arch: "x64", preferBaseline: true };
|
|
182
|
+
|
|
183
|
+
// #when getting package candidates
|
|
184
|
+
const result = getPlatformPackageCandidates(input);
|
|
185
|
+
|
|
186
|
+
// #then baseline package is preferred first
|
|
187
|
+
expect(result).toEqual([
|
|
188
|
+
"oh-my-opencode-windows-x64-baseline",
|
|
189
|
+
"oh-my-opencode-windows-x64",
|
|
190
|
+
]);
|
|
191
|
+
});
|
|
192
|
+
|
|
193
|
+
test("returns only one candidate for ARM64", () => {
|
|
194
|
+
// #given non-x64 platform
|
|
195
|
+
const input = { platform: "linux", arch: "arm64", libcFamily: "glibc" };
|
|
196
|
+
|
|
197
|
+
// #when getting package candidates
|
|
198
|
+
const result = getPlatformPackageCandidates(input);
|
|
199
|
+
|
|
200
|
+
// #then baseline fallback is not included
|
|
201
|
+
expect(result).toEqual(["oh-my-opencode-linux-arm64"]);
|
|
202
|
+
});
|
|
203
|
+
});
|
package/dist/cli/index.js
CHANGED
|
@@ -9329,7 +9329,7 @@ var {
|
|
|
9329
9329
|
// package.json
|
|
9330
9330
|
var package_default = {
|
|
9331
9331
|
name: "oh-my-opencode-unguarded",
|
|
9332
|
-
version: "3.9.
|
|
9332
|
+
version: "3.9.4",
|
|
9333
9333
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
9334
9334
|
main: "dist/index.js",
|
|
9335
9335
|
types: "dist/index.d.ts",
|
package/package.json
CHANGED
|
@@ -1,99 +1,99 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "oh-my-opencode-unguarded",
|
|
3
|
-
"version": "3.9.
|
|
4
|
-
"description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"type": "module",
|
|
8
|
-
"bin": {
|
|
9
|
-
"oh-my-opencode-unguarded": "bin/oh-my-opencode.js"
|
|
10
|
-
},
|
|
11
|
-
"files": [
|
|
12
|
-
"dist",
|
|
13
|
-
"bin",
|
|
14
|
-
"postinstall.mjs"
|
|
15
|
-
],
|
|
16
|
-
"exports": {
|
|
17
|
-
".": {
|
|
18
|
-
"types": "./dist/index.d.ts",
|
|
19
|
-
"import": "./dist/index.js"
|
|
20
|
-
},
|
|
21
|
-
"./schema.json": "./dist/oh-my-opencode.schema.json"
|
|
22
|
-
},
|
|
23
|
-
"scripts": {
|
|
24
|
-
"build": "bun build src/index.ts --outdir dist --target bun --format esm --external @ast-grep/napi && tsc --emitDeclarationOnly && bun build src/cli/index.ts --outdir dist/cli --target bun --format esm --external @ast-grep/napi && bun run build:schema",
|
|
25
|
-
"build:all": "bun run build && bun run build:binaries",
|
|
26
|
-
"build:binaries": "bun run script/build-binaries.ts",
|
|
27
|
-
"build:schema": "bun run script/build-schema.ts",
|
|
28
|
-
"clean": "rm -rf dist",
|
|
29
|
-
"postinstall": "node postinstall.mjs",
|
|
30
|
-
"prepublishOnly": "bun run clean && bun run build",
|
|
31
|
-
"typecheck": "tsc --noEmit",
|
|
32
|
-
"test": "bun test"
|
|
33
|
-
},
|
|
34
|
-
"keywords": [
|
|
35
|
-
"opencode",
|
|
36
|
-
"plugin",
|
|
37
|
-
"oracle",
|
|
38
|
-
"librarian",
|
|
39
|
-
"agents",
|
|
40
|
-
"ai",
|
|
41
|
-
"llm"
|
|
42
|
-
],
|
|
43
|
-
"author": "D4ch1au",
|
|
44
|
-
"license": "SUL-1.0",
|
|
45
|
-
"repository": {
|
|
46
|
-
"type": "git",
|
|
47
|
-
"url": "git+https://github.com/D4ch1au/evil-oh-my-opencode.git"
|
|
48
|
-
},
|
|
49
|
-
"bugs": {
|
|
50
|
-
"url": "https://github.com/D4ch1au/evil-oh-my-opencode/issues"
|
|
51
|
-
},
|
|
52
|
-
"homepage": "https://github.com/D4ch1au/evil-oh-my-opencode#readme",
|
|
53
|
-
"publishConfig": {
|
|
54
|
-
"registry": "https://registry.npmjs.org",
|
|
55
|
-
"access": "public"
|
|
56
|
-
},
|
|
57
|
-
"dependencies": {
|
|
58
|
-
"@ast-grep/cli": "^0.40.0",
|
|
59
|
-
"@ast-grep/napi": "^0.40.0",
|
|
60
|
-
"@clack/prompts": "^0.11.0",
|
|
61
|
-
"@code-yeongyu/comment-checker": "^0.6.1",
|
|
62
|
-
"@modelcontextprotocol/sdk": "^1.25.2",
|
|
63
|
-
"@opencode-ai/plugin": "^1.1.19",
|
|
64
|
-
"@opencode-ai/sdk": "^1.1.19",
|
|
65
|
-
"commander": "^14.0.2",
|
|
66
|
-
"detect-libc": "^2.0.0",
|
|
67
|
-
"diff": "^8.0.3",
|
|
68
|
-
"js-yaml": "^4.1.1",
|
|
69
|
-
"jsonc-parser": "^3.3.1",
|
|
70
|
-
"picocolors": "^1.1.1",
|
|
71
|
-
"picomatch": "^4.0.2",
|
|
72
|
-
"vscode-jsonrpc": "^8.2.0",
|
|
73
|
-
"zod": "^4.1.8"
|
|
74
|
-
},
|
|
75
|
-
"devDependencies": {
|
|
76
|
-
"@types/js-yaml": "^4.0.9",
|
|
77
|
-
"@types/picomatch": "^3.0.2",
|
|
78
|
-
"bun-types": "1.3.6",
|
|
79
|
-
"typescript": "^5.7.3"
|
|
80
|
-
},
|
|
81
|
-
"optionalDependencies": {
|
|
82
|
-
"oh-my-opencode-darwin-arm64": "3.9.0",
|
|
83
|
-
"oh-my-opencode-darwin-x64": "3.9.0",
|
|
84
|
-
"oh-my-opencode-darwin-x64-baseline": "3.9.0",
|
|
85
|
-
"oh-my-opencode-linux-arm64": "3.9.0",
|
|
86
|
-
"oh-my-opencode-linux-arm64-musl": "3.9.0",
|
|
87
|
-
"oh-my-opencode-linux-x64": "3.9.0",
|
|
88
|
-
"oh-my-opencode-linux-x64-baseline": "3.9.0",
|
|
89
|
-
"oh-my-opencode-linux-x64-musl": "3.9.0",
|
|
90
|
-
"oh-my-opencode-linux-x64-musl-baseline": "3.9.0",
|
|
91
|
-
"oh-my-opencode-windows-x64": "3.9.0",
|
|
92
|
-
"oh-my-opencode-windows-x64-baseline": "3.9.0"
|
|
93
|
-
},
|
|
94
|
-
"trustedDependencies": [
|
|
95
|
-
"@ast-grep/cli",
|
|
96
|
-
"@ast-grep/napi",
|
|
97
|
-
"@code-yeongyu/comment-checker"
|
|
98
|
-
]
|
|
99
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "oh-my-opencode-unguarded",
|
|
3
|
+
"version": "3.9.4",
|
|
4
|
+
"description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"bin": {
|
|
9
|
+
"oh-my-opencode-unguarded": "bin/oh-my-opencode.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"bin",
|
|
14
|
+
"postinstall.mjs"
|
|
15
|
+
],
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./schema.json": "./dist/oh-my-opencode.schema.json"
|
|
22
|
+
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "bun build src/index.ts --outdir dist --target bun --format esm --external @ast-grep/napi && tsc --emitDeclarationOnly && bun build src/cli/index.ts --outdir dist/cli --target bun --format esm --external @ast-grep/napi && bun run build:schema",
|
|
25
|
+
"build:all": "bun run build && bun run build:binaries",
|
|
26
|
+
"build:binaries": "bun run script/build-binaries.ts",
|
|
27
|
+
"build:schema": "bun run script/build-schema.ts",
|
|
28
|
+
"clean": "rm -rf dist",
|
|
29
|
+
"postinstall": "node postinstall.mjs",
|
|
30
|
+
"prepublishOnly": "bun run clean && bun run build",
|
|
31
|
+
"typecheck": "tsc --noEmit",
|
|
32
|
+
"test": "bun test"
|
|
33
|
+
},
|
|
34
|
+
"keywords": [
|
|
35
|
+
"opencode",
|
|
36
|
+
"plugin",
|
|
37
|
+
"oracle",
|
|
38
|
+
"librarian",
|
|
39
|
+
"agents",
|
|
40
|
+
"ai",
|
|
41
|
+
"llm"
|
|
42
|
+
],
|
|
43
|
+
"author": "D4ch1au",
|
|
44
|
+
"license": "SUL-1.0",
|
|
45
|
+
"repository": {
|
|
46
|
+
"type": "git",
|
|
47
|
+
"url": "git+https://github.com/D4ch1au/evil-oh-my-opencode.git"
|
|
48
|
+
},
|
|
49
|
+
"bugs": {
|
|
50
|
+
"url": "https://github.com/D4ch1au/evil-oh-my-opencode/issues"
|
|
51
|
+
},
|
|
52
|
+
"homepage": "https://github.com/D4ch1au/evil-oh-my-opencode#readme",
|
|
53
|
+
"publishConfig": {
|
|
54
|
+
"registry": "https://registry.npmjs.org",
|
|
55
|
+
"access": "public"
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@ast-grep/cli": "^0.40.0",
|
|
59
|
+
"@ast-grep/napi": "^0.40.0",
|
|
60
|
+
"@clack/prompts": "^0.11.0",
|
|
61
|
+
"@code-yeongyu/comment-checker": "^0.6.1",
|
|
62
|
+
"@modelcontextprotocol/sdk": "^1.25.2",
|
|
63
|
+
"@opencode-ai/plugin": "^1.1.19",
|
|
64
|
+
"@opencode-ai/sdk": "^1.1.19",
|
|
65
|
+
"commander": "^14.0.2",
|
|
66
|
+
"detect-libc": "^2.0.0",
|
|
67
|
+
"diff": "^8.0.3",
|
|
68
|
+
"js-yaml": "^4.1.1",
|
|
69
|
+
"jsonc-parser": "^3.3.1",
|
|
70
|
+
"picocolors": "^1.1.1",
|
|
71
|
+
"picomatch": "^4.0.2",
|
|
72
|
+
"vscode-jsonrpc": "^8.2.0",
|
|
73
|
+
"zod": "^4.1.8"
|
|
74
|
+
},
|
|
75
|
+
"devDependencies": {
|
|
76
|
+
"@types/js-yaml": "^4.0.9",
|
|
77
|
+
"@types/picomatch": "^3.0.2",
|
|
78
|
+
"bun-types": "1.3.6",
|
|
79
|
+
"typescript": "^5.7.3"
|
|
80
|
+
},
|
|
81
|
+
"optionalDependencies": {
|
|
82
|
+
"oh-my-opencode-darwin-arm64": "3.9.0",
|
|
83
|
+
"oh-my-opencode-darwin-x64": "3.9.0",
|
|
84
|
+
"oh-my-opencode-darwin-x64-baseline": "3.9.0",
|
|
85
|
+
"oh-my-opencode-linux-arm64": "3.9.0",
|
|
86
|
+
"oh-my-opencode-linux-arm64-musl": "3.9.0",
|
|
87
|
+
"oh-my-opencode-linux-x64": "3.9.0",
|
|
88
|
+
"oh-my-opencode-linux-x64-baseline": "3.9.0",
|
|
89
|
+
"oh-my-opencode-linux-x64-musl": "3.9.0",
|
|
90
|
+
"oh-my-opencode-linux-x64-musl-baseline": "3.9.0",
|
|
91
|
+
"oh-my-opencode-windows-x64": "3.9.0",
|
|
92
|
+
"oh-my-opencode-windows-x64-baseline": "3.9.0"
|
|
93
|
+
},
|
|
94
|
+
"trustedDependencies": [
|
|
95
|
+
"@ast-grep/cli",
|
|
96
|
+
"@ast-grep/napi",
|
|
97
|
+
"@code-yeongyu/comment-checker"
|
|
98
|
+
]
|
|
99
|
+
}
|