GHHG10/CodeServer / opencode /packages /core /test /public-tool.test.ts
GHHG10's picture
download
raw
377 Bytes
import { describe, expect, it } from "bun:test"
import { Tool } from "@opencode-ai/core/public"
import { Effect } from "effect"
describe("public Tool API", () => {
it("keeps the public registration capability narrow", () => {
const tools = {
register: () => Effect.void,
} satisfies Tool.Interface
expect(Object.keys(tools)).toEqual(["register"])
})
})

Xet Storage Details

Size:
377 Bytes
·
Xet hash:
252ef04d9a46faed91d3a26e7b1bed6e2b8ea461089806243aea4fa7f7da4bb8

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.