@opencode-ai/server 0.0.0-dev-18187 → 0.0.0-dev-18190
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/dist/handlers/vcs.js +2 -0
- package/dist/workerd.js +1 -0
- package/package.json +6 -6
package/dist/handlers/vcs.js
CHANGED
|
@@ -8,6 +8,8 @@ export const VcsHandler = HttpApiBuilder.group(Api, "server.vcs", (handlers) =>
|
|
|
8
8
|
return yield* (yield* Vcs.Service).info();
|
|
9
9
|
}))).handle("vcs.status", () => response(Effect.gen(function* () {
|
|
10
10
|
return yield* (yield* Vcs.Service).status();
|
|
11
|
+
}))).handle("vcs.branches", (ctx) => response(Effect.gen(function* () {
|
|
12
|
+
return yield* (yield* Vcs.Service).branches({ search: ctx.query.search, limit: Math.min(ctx.query.limit ?? 50, 100) });
|
|
11
13
|
}))).handle("vcs.diff", (ctx) => response(Effect.gen(function* () {
|
|
12
14
|
return yield* (yield* Vcs.Service).diff(ctx.query.mode, { context: ctx.query.context });
|
|
13
15
|
})));
|
package/dist/workerd.js
CHANGED
|
@@ -38,6 +38,7 @@ export function replacements(options) {
|
|
|
38
38
|
}
|
|
39
39
|
const unavailable = (what) => Effect.die(Error(`${what} is unavailable in the workerd profile`)), vcsLayer = Layer.succeed(Vcs.Service, Vcs.Service.of({
|
|
40
40
|
info: () => Effect.succeed({ branch: {} }),
|
|
41
|
+
branches: () => Effect.succeed([]),
|
|
41
42
|
status: () => Effect.succeed([]),
|
|
42
43
|
diff: () => Effect.succeed([])
|
|
43
44
|
})), fileSystemLayer = Layer.succeed(FileSystem.Service, FileSystem.Service.of({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode-ai/server",
|
|
4
|
-
"version": "0.0.0-dev-
|
|
4
|
+
"version": "0.0.0-dev-18190",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@effect/platform-node": "4.0.0-rc.111",
|
|
32
|
-
"@opencode-ai/core": "0.0.0-dev-
|
|
33
|
-
"@opencode-ai/protocol": "0.0.0-dev-
|
|
34
|
-
"@opencode-ai/schema": "0.0.0-dev-
|
|
35
|
-
"@opencode-ai/simulation": "0.0.0-dev-
|
|
36
|
-
"@opencode-ai/util": "0.0.0-dev-
|
|
32
|
+
"@opencode-ai/core": "0.0.0-dev-18190",
|
|
33
|
+
"@opencode-ai/protocol": "0.0.0-dev-18190",
|
|
34
|
+
"@opencode-ai/schema": "0.0.0-dev-18190",
|
|
35
|
+
"@opencode-ai/simulation": "0.0.0-dev-18190",
|
|
36
|
+
"@opencode-ai/util": "0.0.0-dev-18190",
|
|
37
37
|
"drizzle-orm": "1.0.0-rc.5-169397b",
|
|
38
38
|
"effect": "4.0.0-rc.111"
|
|
39
39
|
},
|