@zyro-sec/core 0.0.0-stage → 1.0.0
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 +2 -2
- package/package.json +158 -4
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @zyro-sec/core
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Core runtime services for OpenCode.
|
package/package.json
CHANGED
|
@@ -1,6 +1,160 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/package.json",
|
|
3
|
+
"version": "1.0.0",
|
|
2
4
|
"name": "@zyro-sec/core",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/anomalyco/opencode.git",
|
|
10
|
+
"directory": "packages/core"
|
|
11
|
+
},
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"db": "bun drizzle-kit",
|
|
20
|
+
"migration": "bun run script/migration.ts",
|
|
21
|
+
"fix-node-pty": "bun run script/fix-node-pty.ts",
|
|
22
|
+
"build": "bun run script/build.ts",
|
|
23
|
+
"pack": "bun run script/pack.ts",
|
|
24
|
+
"update-models-snapshot": "bun run script/update-models-snapshot.ts",
|
|
25
|
+
"generate:api-skill": "bun run script/generate-api-skill.ts",
|
|
26
|
+
"test": "bun run script/test.ts",
|
|
27
|
+
"typecheck": "bun check --no-script -b -p tsconfig.tests.json",
|
|
28
|
+
"typecheck:tsc": "tsc -b tsconfig.json tsconfig.tests.json"
|
|
29
|
+
},
|
|
30
|
+
"exports": {
|
|
31
|
+
"./*": "./src/*.ts"
|
|
32
|
+
},
|
|
33
|
+
"imports": {
|
|
34
|
+
"#sqlite": {
|
|
35
|
+
"workerd": "./src/database/sqlite.workerd.ts",
|
|
36
|
+
"bun": "./src/database/sqlite.bun.ts",
|
|
37
|
+
"node": "./src/database/sqlite.node.ts",
|
|
38
|
+
"default": "./src/database/sqlite.node.ts"
|
|
39
|
+
},
|
|
40
|
+
"#pty": {
|
|
41
|
+
"workerd": "./src/pty/pty.workerd.ts",
|
|
42
|
+
"bun": "./src/pty/pty.bun.ts",
|
|
43
|
+
"node": "./src/pty/pty.node.ts",
|
|
44
|
+
"default": "./src/pty/pty.bun.ts"
|
|
45
|
+
},
|
|
46
|
+
"#claude-agent-sdk": {
|
|
47
|
+
"workerd": "./src/plugin/provider/claude-agent/claude/agent-sdk.workerd.ts",
|
|
48
|
+
"default": "./src/plugin/provider/claude-agent/claude/agent-sdk.ts"
|
|
49
|
+
},
|
|
50
|
+
"#persistent-pty-binary": {
|
|
51
|
+
"workerd": "./src/persistent-pty/binary.workerd.ts",
|
|
52
|
+
"bun": "./src/persistent-pty/binary.bun.ts",
|
|
53
|
+
"node": "./src/persistent-pty/binary.node.ts",
|
|
54
|
+
"default": "./src/persistent-pty/binary.bun.ts"
|
|
55
|
+
},
|
|
56
|
+
"#fff": {
|
|
57
|
+
"workerd": "./src/filesystem/fff.workerd.ts",
|
|
58
|
+
"bun": "./src/filesystem/fff.bun.ts",
|
|
59
|
+
"node": "./src/filesystem/fff.node.ts",
|
|
60
|
+
"default": "./src/filesystem/fff.bun.ts"
|
|
61
|
+
},
|
|
62
|
+
"#photon-wasm": {
|
|
63
|
+
"workerd": "./src/image/photon-wasm.workerd.ts",
|
|
64
|
+
"bun": "./src/image/photon-wasm.bun.ts",
|
|
65
|
+
"node": "./src/image/photon-wasm.node.ts",
|
|
66
|
+
"default": "./src/image/photon-wasm.bun.ts"
|
|
67
|
+
},
|
|
68
|
+
"#client-tls": {
|
|
69
|
+
"workerd": "./src/effect/client-tls/client-tls.workerd.ts",
|
|
70
|
+
"bun": "./src/effect/client-tls/client-tls.bun.ts",
|
|
71
|
+
"node": "./src/effect/client-tls/client-tls.node.ts",
|
|
72
|
+
"default": "./src/effect/client-tls/client-tls.bun.ts"
|
|
73
|
+
},
|
|
74
|
+
"#v1-migration": {
|
|
75
|
+
"types": "./src/database/v1-migration.bun.ts",
|
|
76
|
+
"bun": "./src/database/v1-migration.bun.ts",
|
|
77
|
+
"node": "./src/database/v1-migration.noop.ts",
|
|
78
|
+
"workerd": "./src/database/v1-migration.noop.ts",
|
|
79
|
+
"default": "./src/database/v1-migration.noop.ts"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"devDependencies": {
|
|
83
|
+
"@ai-sdk/openai-compatible": "2.0.41",
|
|
84
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.301",
|
|
85
|
+
"@hona/strobe": "catalog:",
|
|
86
|
+
"@number0/iroh-darwin-arm64": "1.2.0",
|
|
87
|
+
"@number0/iroh-linux-arm64-gnu": "1.2.0",
|
|
88
|
+
"@number0/iroh-linux-arm64-musl": "1.2.0",
|
|
89
|
+
"@number0/iroh-linux-x64-gnu": "1.2.0",
|
|
90
|
+
"@number0/iroh-linux-x64-musl": "1.2.0",
|
|
91
|
+
"@number0/iroh-win32-arm64-msvc": "1.2.0",
|
|
92
|
+
"@number0/iroh-win32-x64-msvc": "1.2.0",
|
|
93
|
+
"@zyro-sec/http-recorder": "^1.0.0",
|
|
94
|
+
"@parcel/watcher-darwin-arm64": "2.5.1",
|
|
95
|
+
"@parcel/watcher-darwin-x64": "2.5.1",
|
|
96
|
+
"@parcel/watcher-linux-arm64-glibc": "2.5.1",
|
|
97
|
+
"@parcel/watcher-linux-arm64-musl": "2.5.1",
|
|
98
|
+
"@parcel/watcher-linux-x64-glibc": "2.5.1",
|
|
99
|
+
"@parcel/watcher-linux-x64-musl": "2.5.1",
|
|
100
|
+
"@parcel/watcher-win32-arm64": "2.5.1",
|
|
101
|
+
"@parcel/watcher-win32-x64": "2.5.1",
|
|
102
|
+
"@tsconfig/bun": "catalog:",
|
|
103
|
+
"@types/bun": "catalog:",
|
|
104
|
+
"@types/node": "catalog:",
|
|
105
|
+
"@types/which": "3.0.4",
|
|
106
|
+
"drizzle-kit": "catalog:",
|
|
107
|
+
"fast-check": "catalog:"
|
|
108
|
+
},
|
|
109
|
+
"dependencies": {
|
|
110
|
+
"@ai-sdk/provider": "3.0.19",
|
|
111
|
+
"@effect/platform-node": "catalog:",
|
|
112
|
+
"@effect/platform-node-shared": "catalog:",
|
|
113
|
+
"@effect/sql-sqlite-bun": "catalog:",
|
|
114
|
+
"@effect/sql-sqlite-node": "catalog:",
|
|
115
|
+
"@ff-labs/fff-bun": "0.10.5",
|
|
116
|
+
"@ff-labs/fff-node": "0.10.5",
|
|
117
|
+
"@lydell/node-pty": "catalog:",
|
|
118
|
+
"@modelcontextprotocol/client": "2.4.0",
|
|
119
|
+
"@modelcontextprotocol/core": "2.4.0",
|
|
120
|
+
"@modelcontextprotocol/server": "2.4.0",
|
|
121
|
+
"@opencode/pty": "0.6.0",
|
|
122
|
+
"@zyro-sec/ai": "^1.0.0",
|
|
123
|
+
"@zyro-sec/codemode": "^1.0.0",
|
|
124
|
+
"@zyro-sec/plugin": "^1.0.0",
|
|
125
|
+
"@zyro-sec/plugin-browser": "^1.0.0",
|
|
126
|
+
"@zyro-sec/schema": "^1.0.0",
|
|
127
|
+
"@zyro-sec/util": "^1.0.0",
|
|
128
|
+
"@parcel/watcher": "2.5.1",
|
|
129
|
+
"@silvia-odwyer/photon-node": "0.3.4",
|
|
130
|
+
"@standard-schema/spec": "catalog:",
|
|
131
|
+
"bun-pty": "0.4.11",
|
|
132
|
+
"diff": "catalog:",
|
|
133
|
+
"drizzle-orm": "catalog:",
|
|
134
|
+
"effect": "catalog:",
|
|
135
|
+
"fuzzysort": "3.1.0",
|
|
136
|
+
"gitlab-ai-provider": "6.24.0",
|
|
137
|
+
"gray-matter": "4.0.3",
|
|
138
|
+
"htmlparser2": "8.0.2",
|
|
139
|
+
"http-proxy-agent": "7.0.2",
|
|
140
|
+
"https-proxy-agent": "7.0.6",
|
|
141
|
+
"immer": "11.1.4",
|
|
142
|
+
"jose": "6.0.11",
|
|
143
|
+
"jsonc-parser": "3.3.1",
|
|
144
|
+
"mime-types": "3.0.2",
|
|
145
|
+
"undici": "8.12.3",
|
|
146
|
+
"which": "6.0.1",
|
|
147
|
+
"zod": "catalog:"
|
|
148
|
+
},
|
|
149
|
+
"optionalDependencies": {
|
|
150
|
+
"@number0/iroh": "1.2.0"
|
|
151
|
+
},
|
|
152
|
+
"peerDependencies": {
|
|
153
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.301"
|
|
154
|
+
},
|
|
155
|
+
"peerDependenciesMeta": {
|
|
156
|
+
"@anthropic-ai/claude-agent-sdk": {
|
|
157
|
+
"optional": true
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|