@opencode/schema 0.0.0-dev-19726 → 0.0.0-dev-19728

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.
@@ -116,3 +116,8 @@ declare const FindInput_base: Schema.Class<FindInput, Schema.Struct<{
116
116
  }>, {}>;
117
117
  export declare class FindInput extends FindInput_base {
118
118
  }
119
+ export interface Write extends Schema.Schema.Type<typeof Write> {
120
+ }
121
+ export declare const Write: Schema.Struct<{
122
+ readonly path: Schema.brand<Schema.String, "AbsolutePath">;
123
+ }>;
@@ -2,7 +2,7 @@ export * as FileSystem from "./filesystem.js";
2
2
  import { Schema } from "effect";
3
3
  import { optional } from "./schema.js";
4
4
  import { ephemeral, inventory } from "./event.js";
5
- import { NonNegativeInt, PositiveInt, RelativePath } from "./schema.js";
5
+ import { AbsolutePath, NonNegativeInt, PositiveInt, RelativePath } from "./schema.js";
6
6
  const Changed = ephemeral({
7
7
  type: "filesystem.changed",
8
8
  schema: {
@@ -33,3 +33,6 @@ export class FindInput extends Schema.Class("FileSystem.FindInput")({
33
33
  limit: PositiveInt.pipe(optional),
34
34
  }) {
35
35
  }
36
+ export const Write = Schema.Struct({
37
+ path: AbsolutePath,
38
+ }).annotate({ identifier: "FileSystem.Write" });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/schema",
4
- "version": "0.0.0-dev-19726",
4
+ "version": "0.0.0-dev-19728",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {