@opencode/codemode 0.0.0-dev-21105 → 0.0.0-dev-21107

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.
@@ -2,6 +2,6 @@ import { type Native, type Value } from "../interpreter/objects.js";
2
2
  import type { Interpreter } from "../interpreter/interpreter.js";
3
3
  export declare const compoundOperators: Set<string>;
4
4
  export type Coercion = "Number" | "String" | "Boolean" | "parseInt" | "parseFloat" | "isFinite" | "isNaN";
5
- export declare const coerce: <R>(ctx: Interpreter<R>, name: Coercion, args: Array<Value>) => Value | import("effect/Effect").Effect<Value, unknown, R>;
5
+ export declare const coerce: <R>(ctx: Interpreter<R>, name: Coercion, args: Array<Value>) => import("effect/Effect").Effect<Value, unknown, R> | Value;
6
6
  /** A global coercion function such as `Number` or `parseInt`. */
7
7
  export declare const coercion: <R>(ctx: Interpreter<R>, name: Coercion, length?: number) => Native<R>;
@@ -4,7 +4,7 @@ import type { DiagnosticKind } from "./codemode.js";
4
4
  import { type Namespace } from "./namespace.js";
5
5
  import { type Tool } from "./tool.js";
6
6
  import type { Tools } from "./tools.js";
7
- export declare const compareText: (left: string, right: string) => 0 | 1 | -1;
7
+ export declare const compareText: (left: string, right: string) => -1 | 0 | 1;
8
8
  export type Services<T> = ServicesOf<T, []>;
9
9
  type ServicesOf<T, Depth extends ReadonlyArray<unknown>> = Depth["length"] extends 8 ? never : T extends {
10
10
  readonly _tag: "CodeModeTool";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/codemode",
4
- "version": "0.0.0-dev-21105",
4
+ "version": "0.0.0-dev-21107",
5
5
  "description": "Effect-native confined code execution over schema-described tools",
6
6
  "type": "module",
7
7
  "license": "MIT",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "scripts": {
26
26
  "build": "bun run script/build.ts",
27
- "typecheck": "tsgo --noEmit",
27
+ "typecheck": "tsc --noEmit",
28
28
  "test": "bun test"
29
29
  },
30
30
  "dependencies": {
@@ -34,6 +34,6 @@
34
34
  "devDependencies": {
35
35
  "@tsconfig/bun": "1.0.9",
36
36
  "@types/bun": "1.4.0",
37
- "@typescript/native-preview": "7.0.0-dev.20251207.1"
37
+ "@typescript/native": "npm:typescript@7.0.2"
38
38
  }
39
39
  }