@opencode/schema 2.0.3 → 2.0.5

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.
@@ -474,7 +474,9 @@ export declare const User: Schema.Struct<{
474
474
  create: () => string & import("effect/Brand").Brand<"SessionID">;
475
475
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
476
476
  };
477
- readonly timeCreated: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
477
+ readonly time: Schema.Struct<{
478
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
479
+ }>;
478
480
  }>;
479
481
  export interface Synthetic extends Schema.Schema.Type<typeof Synthetic> {
480
482
  }
@@ -494,7 +496,9 @@ export declare const Synthetic: Schema.Struct<{
494
496
  create: () => string & import("effect/Brand").Brand<"SessionID">;
495
497
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
496
498
  };
497
- readonly timeCreated: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
499
+ readonly time: Schema.Struct<{
500
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
501
+ }>;
498
502
  }>;
499
503
  export interface Compaction extends Schema.Schema.Type<typeof Compaction> {
500
504
  }
@@ -510,7 +514,9 @@ export declare const Compaction: Schema.Struct<{
510
514
  create: () => string & import("effect/Brand").Brand<"SessionID">;
511
515
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
512
516
  };
513
- readonly timeCreated: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
517
+ readonly time: Schema.Struct<{
518
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
519
+ }>;
514
520
  }>;
515
521
  export interface Move extends Schema.Schema.Type<typeof Move> {
516
522
  }
@@ -541,7 +547,9 @@ export declare const Move: Schema.Struct<{
541
547
  create: () => string & import("effect/Brand").Brand<"SessionID">;
542
548
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
543
549
  };
544
- readonly timeCreated: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
550
+ readonly time: Schema.Struct<{
551
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
552
+ }>;
545
553
  }>;
546
554
  export declare const Info: Schema.Union<readonly [Schema.Struct<{
547
555
  readonly type: Schema.tag<"user">;
@@ -685,7 +693,9 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
685
693
  create: () => string & import("effect/Brand").Brand<"SessionID">;
686
694
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
687
695
  };
688
- readonly timeCreated: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
696
+ readonly time: Schema.Struct<{
697
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
698
+ }>;
689
699
  }>, Schema.Struct<{
690
700
  readonly type: Schema.tag<"synthetic">;
691
701
  readonly payload: Schema.Struct<{
@@ -702,7 +712,9 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
702
712
  create: () => string & import("effect/Brand").Brand<"SessionID">;
703
713
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
704
714
  };
705
- readonly timeCreated: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
715
+ readonly time: Schema.Struct<{
716
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
717
+ }>;
706
718
  }>, Schema.Struct<{
707
719
  readonly type: Schema.tag<"compaction">;
708
720
  readonly payload: Schema.Struct<{}>;
@@ -715,7 +727,9 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
715
727
  create: () => string & import("effect/Brand").Brand<"SessionID">;
716
728
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
717
729
  };
718
- readonly timeCreated: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
730
+ readonly time: Schema.Struct<{
731
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
732
+ }>;
719
733
  }>, Schema.Struct<{
720
734
  readonly type: Schema.tag<"move">;
721
735
  readonly payload: Schema.Struct<{
@@ -743,6 +757,8 @@ export declare const Info: Schema.Union<readonly [Schema.Struct<{
743
757
  create: () => string & import("effect/Brand").Brand<"SessionID">;
744
758
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
745
759
  };
746
- readonly timeCreated: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
760
+ readonly time: Schema.Struct<{
761
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
762
+ }>;
747
763
  }>]>;
748
764
  export type Info = typeof Info.Type;
@@ -34,7 +34,7 @@ export const Item = Schema.Union([UserItem, SyntheticItem, CompactionItem, MoveI
34
34
  const Enqueued = {
35
35
  id: SessionMessage.ID,
36
36
  sessionID: SessionID,
37
- timeCreated: DateTimeUtcFromMillis,
37
+ time: Schema.Struct({ created: DateTimeUtcFromMillis }),
38
38
  };
39
39
  export const User = Schema.Struct({ ...Enqueued, ...UserItem.fields }).annotate({ identifier: "Session.Inbox.User" });
40
40
  export const Synthetic = Schema.Struct({ ...Enqueued, ...SyntheticItem.fields }).annotate({
@@ -510,7 +510,7 @@ export declare const PersistedRevert: Schema.decodeTo<Schema.toType<Schema.Struc
510
510
  readonly diff?: string | undefined;
511
511
  };
512
512
  }) => any) | undefined;
513
- } & { [K in Exclude<keyof Cases, "current" | "legacy">]: never; }, OrElse extends (value: Exclude<{
513
+ } & { [K in Exclude<keyof Cases, "legacy" | "current">]: never; }, OrElse extends (value: Exclude<{
514
514
  readonly source: "current";
515
515
  readonly revert: {
516
516
  readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
@@ -605,7 +605,7 @@ export declare const PersistedRevert: Schema.decodeTo<Schema.toType<Schema.Struc
605
605
  readonly diff?: string | undefined;
606
606
  };
607
607
  }) => any) | undefined;
608
- } & { [K in Exclude<keyof Cases, "current" | "legacy">]: never; }, OrElse extends (value: Exclude<{
608
+ } & { [K in Exclude<keyof Cases, "legacy" | "current">]: never; }, OrElse extends (value: Exclude<{
609
609
  readonly source: "current";
610
610
  readonly revert: {
611
611
  readonly messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
package/dist/session.d.ts CHANGED
@@ -28,16 +28,6 @@ export declare const ForkBoundary: Schema.Union<readonly [Schema.Struct<{
28
28
  };
29
29
  }>]>;
30
30
  export type ForkBoundary = SessionFork.Boundary;
31
- export declare const ForkRequestBoundary: Schema.Union<readonly [Schema.Struct<{
32
- readonly type: Schema.Literal<"before">;
33
- readonly messageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
34
- create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
35
- fromEvent: (eventID: import("./event.js").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
36
- };
37
- }>, Schema.Struct<{
38
- readonly type: Schema.Literal<"through">;
39
- }>]>;
40
- export type ForkRequestBoundary = SessionFork.RequestBoundary;
41
31
  export interface Info extends Schema.Schema.Type<typeof Info> {
42
32
  }
43
33
  export declare const Info: Schema.Struct<{
package/dist/session.js CHANGED
@@ -18,7 +18,6 @@ export const Metadata = SessionMetadata;
18
18
  export const Event = SessionEvent;
19
19
  export { Revert };
20
20
  export const ForkBoundary = SessionFork.Boundary;
21
- export const ForkRequestBoundary = SessionFork.RequestBoundary;
22
21
  export const Info = Schema.Struct({
23
22
  id: ID,
24
23
  parentID: ID.pipe(optional),
package/dist/shell.d.ts CHANGED
@@ -360,7 +360,7 @@ export declare const Event: {
360
360
  export declare const CreateInput: Schema.Struct<{
361
361
  readonly command: Schema.String;
362
362
  readonly cwd: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
363
- readonly timeout: Schema.Int;
363
+ readonly timeout: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
364
364
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
365
365
  }>;
366
366
  export interface CreateInput extends Schema.Schema.Type<typeof CreateInput> {
package/dist/shell.js CHANGED
@@ -14,8 +14,10 @@ export const ID = IDSchema.pipe(statics((schema) => {
14
14
  }));
15
15
  export const Status = Schema.Literals(["running", "exited", "timeout", "killed"]);
16
16
  export const Time = Schema.Struct({
17
- started: Schema.Finite,
18
- completed: optional(Schema.Finite),
17
+ started: Schema.Finite.annotate({ description: "Start time in milliseconds since the Unix epoch" }),
18
+ completed: optional(Schema.Finite).annotate({
19
+ description: "Completion time in milliseconds since the Unix epoch",
20
+ }),
19
21
  });
20
22
  // Opaque caller-supplied tags echoed back on Info and events. The Shell service never interprets
21
23
  // these; callers (e.g. ShellTool stores the originating session ID) use them to filter or correlate.
@@ -41,7 +43,7 @@ export const Event = { Created, Exited, Deleted, Definitions: inventory(Created,
41
43
  export const CreateInput = Schema.Struct({
42
44
  command: Schema.String,
43
45
  cwd: optional(Schema.String),
44
- timeout: NonNegativeInt,
46
+ timeout: optional(NonNegativeInt),
45
47
  metadata: optional(Metadata),
46
48
  });
47
49
  export const OutputInput = Schema.Struct({
package/dist/skill.d.ts CHANGED
@@ -22,9 +22,8 @@ export declare const Info: Schema.Struct<{
22
22
  readonly id: Schema.brand<Schema.String, "Skill.ID">;
23
23
  readonly name: Schema.brand<Schema.String, "Skill.Name">;
24
24
  readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
25
- readonly slash: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
26
25
  readonly autoinvoke: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
27
- readonly location: Schema.brand<Schema.String, "AbsolutePath">;
26
+ readonly path: Schema.brand<Schema.String, "AbsolutePath">;
28
27
  readonly content: Schema.String;
29
28
  }>;
30
29
  export declare const Event: {
@@ -103,9 +102,8 @@ export declare const EmbeddedSource: Schema.Struct<{
103
102
  readonly id: Schema.brand<Schema.String, "Skill.ID">;
104
103
  readonly name: Schema.brand<Schema.String, "Skill.Name">;
105
104
  readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
106
- readonly slash: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
107
105
  readonly autoinvoke: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
108
- readonly location: Schema.brand<Schema.String, "AbsolutePath">;
106
+ readonly path: Schema.brand<Schema.String, "AbsolutePath">;
109
107
  readonly content: Schema.String;
110
108
  }>>;
111
109
  }>;
@@ -122,9 +120,8 @@ export declare const Source: Schema.Union<readonly [Schema.Struct<{
122
120
  readonly id: Schema.brand<Schema.String, "Skill.ID">;
123
121
  readonly name: Schema.brand<Schema.String, "Skill.Name">;
124
122
  readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
125
- readonly slash: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
126
123
  readonly autoinvoke: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
127
- readonly location: Schema.brand<Schema.String, "AbsolutePath">;
124
+ readonly path: Schema.brand<Schema.String, "AbsolutePath">;
128
125
  readonly content: Schema.String;
129
126
  }>>;
130
127
  }>]> & {
package/dist/skill.js CHANGED
@@ -17,9 +17,8 @@ export const Info = Schema.Struct({
17
17
  id: ID,
18
18
  name: Name,
19
19
  description: Schema.String.pipe(optional),
20
- slash: Schema.Boolean.pipe(optional),
21
20
  autoinvoke: Schema.Boolean.pipe(optional),
22
- location: AbsolutePath,
21
+ path: AbsolutePath,
23
22
  content: Schema.String,
24
23
  }).annotate({ identifier: "Skill.Info" });
25
24
  const Updated = ephemeral({ type: "skill.updated", schema: {} });
package/dist/vcs.d.ts CHANGED
@@ -7,6 +7,7 @@ export declare const Branch: Schema.Struct<{
7
7
  export interface Branch extends Schema.Schema.Type<typeof Branch> {
8
8
  }
9
9
  export declare const Info: Schema.Struct<{
10
+ readonly provider: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
10
11
  readonly branch: Schema.Struct<{
11
12
  readonly current: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
12
13
  readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
package/dist/vcs.js CHANGED
@@ -6,6 +6,7 @@ export const Branch = Schema.Struct({
6
6
  default: optional(Schema.String),
7
7
  }).annotate({ identifier: "Vcs.Branch" });
8
8
  export const Info = Schema.Struct({
9
+ provider: optional(Schema.String),
9
10
  branch: Branch,
10
11
  }).annotate({ identifier: "Vcs.Info" });
11
12
  export const BranchList = Schema.Array(Schema.String).annotate({ identifier: "Vcs.BranchList" });
package/dist/websearch.js CHANGED
@@ -16,7 +16,9 @@ export const Result = Schema.Struct({
16
16
  title: Schema.String.pipe(optional),
17
17
  content: Schema.String.pipe(optional),
18
18
  time: Schema.Struct({
19
- published: Schema.Finite.pipe(optional),
19
+ published: Schema.Finite.pipe(optional).annotate({
20
+ description: "Publication time in milliseconds since the Unix epoch",
21
+ }),
20
22
  }),
21
23
  }).annotate({ identifier: "WebSearch.Result" });
22
24
  export class Response extends Schema.Class("WebSearch.Response")({
@@ -3,7 +3,9 @@ import { Schema } from "effect";
3
3
  export declare const StrategyID: Schema.brand<Schema.Trim, "Worktree.StrategyID">;
4
4
  export type StrategyID = typeof StrategyID.Type;
5
5
  export declare const CreateInput: Schema.Struct<{
6
- readonly strategy: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Trim, "Worktree.StrategyID">>>, Schema.optionalKey<Schema.brand<Schema.Trim, "Worktree.StrategyID">>, never, never>;
6
+ readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
7
+ global: string & import("effect/Brand").Brand<"Project.ID">;
8
+ };
7
9
  readonly from: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "AbsolutePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "AbsolutePath">>, never, never>;
8
10
  readonly branch: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Trim>>, Schema.optionalKey<Schema.Trim>, never, never>;
9
11
  readonly directory: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "AbsolutePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "AbsolutePath">>, never, never>;
@@ -12,6 +14,9 @@ export declare const CreateInput: Schema.Struct<{
12
14
  export interface CreateInput extends Schema.Schema.Type<typeof CreateInput> {
13
15
  }
14
16
  export declare const RemoveInput: Schema.Struct<{
17
+ readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
18
+ global: string & import("effect/Brand").Brand<"Project.ID">;
19
+ };
15
20
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
16
21
  readonly force: Schema.Boolean;
17
22
  }>;
package/dist/worktree.js CHANGED
@@ -5,15 +5,16 @@ import { AbsolutePath, optional } from "./schema.js";
5
5
  import { Project } from "./project.js";
6
6
  export const StrategyID = Schema.Trim.pipe(Schema.check(Schema.isNonEmpty()), Schema.brand("Worktree.StrategyID"));
7
7
  export const CreateInput = Schema.Struct({
8
- strategy: optional(StrategyID),
8
+ projectID: Project.ID,
9
9
  from: optional(AbsolutePath),
10
10
  branch: optional(Schema.Trim.pipe(Schema.check(Schema.isNonEmpty()))),
11
11
  directory: optional(AbsolutePath).annotate({
12
- description: "Parent directory for the new worktree. Uses the location's configuration, then defaults to the server's data directory under worktree/<first six project ID characters>.",
12
+ description: "Parent directory for the new worktree. Uses the project's canonical configuration, then defaults to the server's data directory under worktree/<first six project ID characters>.",
13
13
  }),
14
14
  name: optional(Schema.String),
15
15
  }).annotate({ identifier: "Worktree.CreateInput" });
16
16
  export const RemoveInput = Schema.Struct({
17
+ projectID: Project.ID,
17
18
  directory: AbsolutePath,
18
19
  force: Schema.Boolean,
19
20
  }).annotate({ identifier: "Worktree.RemoveInput" });
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": "2.0.3",
4
+ "version": "2.0.5",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
package/dist/catalog.d.ts DELETED
@@ -1,69 +0,0 @@
1
- export * as Catalog from "./catalog.js";
2
- export declare const Event: {
3
- Updated: import("effect/Schema").Struct<{
4
- readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
5
- create: () => string & import("effect/Brand").Brand<"Event.ID">;
6
- };
7
- readonly created: import("effect/Schema").Finite;
8
- readonly metadata: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>, never, never>;
9
- readonly type: import("effect/Schema").Literal<"catalog.updated">;
10
- readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
11
- readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
12
- readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
13
- ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
14
- create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
15
- }>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
16
- ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
17
- create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
18
- }>, never, never>;
19
- }>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
20
- readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
21
- readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
22
- ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
23
- create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
24
- }>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
25
- ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
26
- create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
27
- }>, never, never>;
28
- }>>, never, never>;
29
- readonly data: import("effect/Schema").Struct<{}>;
30
- }> & {
31
- type: "catalog.updated";
32
- durability: "ephemeral";
33
- durable: undefined;
34
- data: import("effect/Schema").Struct<{}>;
35
- };
36
- Definitions: readonly [import("effect/Schema").Struct<{
37
- readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
38
- create: () => string & import("effect/Brand").Brand<"Event.ID">;
39
- };
40
- readonly created: import("effect/Schema").Finite;
41
- readonly metadata: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>, never, never>;
42
- readonly type: import("effect/Schema").Literal<"catalog.updated">;
43
- readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
44
- readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
45
- readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
46
- ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
47
- create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
48
- }>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
49
- ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
50
- create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
51
- }>, never, never>;
52
- }>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
53
- readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
54
- readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
55
- ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
56
- create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
57
- }>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
58
- ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
59
- create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
60
- }>, never, never>;
61
- }>>, never, never>;
62
- readonly data: import("effect/Schema").Struct<{}>;
63
- }> & {
64
- type: "catalog.updated";
65
- durability: "ephemeral";
66
- durable: undefined;
67
- data: import("effect/Schema").Struct<{}>;
68
- }];
69
- };
package/dist/catalog.js DELETED
@@ -1,4 +0,0 @@
1
- export * as Catalog from "./catalog.js";
2
- import { ephemeral, inventory } from "./event.js";
3
- const Updated = ephemeral({ type: "catalog.updated", schema: {} });
4
- export const Event = { Updated, Definitions: inventory(Updated) };