11import * as Schema from "effect/Schema" ;
22import type * as SchemaIssue from "effect/SchemaIssue" ;
33
4- export const CodexAppServerRequestOperation = Schema . Literals ( [
4+ const CodexAppServerRequestOperation = Schema . Literals ( [
55 "decode-payload" ,
66 "encode-payload" ,
77 "handle-request" ,
88 "receive-response" ,
99] ) ;
10- export type CodexAppServerRequestOperation = typeof CodexAppServerRequestOperation . Type ;
10+ type CodexAppServerRequestOperation = typeof CodexAppServerRequestOperation . Type ;
1111
12- export const CodexAppServerSchemaIssueKind = Schema . Literals ( [
12+ const CodexAppServerSchemaIssueKind = Schema . Literals ( [
1313 "Filter" ,
1414 "Encoding" ,
1515 "Pointer" ,
@@ -22,9 +22,9 @@ export const CodexAppServerSchemaIssueKind = Schema.Literals([
2222 "Forbidden" ,
2323 "OneOf" ,
2424] ) ;
25- export type CodexAppServerSchemaIssueKind = typeof CodexAppServerSchemaIssueKind . Type ;
25+ type CodexAppServerSchemaIssueKind = typeof CodexAppServerSchemaIssueKind . Type ;
2626
27- export interface CodexAppServerSchemaIssueDiagnostics {
27+ interface CodexAppServerSchemaIssueDiagnostics {
2828 readonly issueCount : number ;
2929 readonly issueKinds : ReadonlyArray < CodexAppServerSchemaIssueKind > ;
3030 readonly maximumPathDepth : number ;
@@ -62,7 +62,7 @@ const schemaIssueDiagnostics = (root: SchemaIssue.Issue): CodexAppServerSchemaIs
6262 } ;
6363} ;
6464
65- export const CodexAppServerPayloadKind = Schema . Literals ( [
65+ const CodexAppServerPayloadKind = Schema . Literals ( [
6666 "null" ,
6767 "array" ,
6868 "string" ,
@@ -74,7 +74,7 @@ export const CodexAppServerPayloadKind = Schema.Literals([
7474 "function" ,
7575 "undefined" ,
7676] ) ;
77- export type CodexAppServerPayloadKind = typeof CodexAppServerPayloadKind . Type ;
77+ type CodexAppServerPayloadKind = typeof CodexAppServerPayloadKind . Type ;
7878
7979const payloadKind = ( payload : unknown ) : CodexAppServerPayloadKind => {
8080 if ( payload === null ) return "null" ;
@@ -84,8 +84,7 @@ const payloadKind = (payload: unknown): CodexAppServerPayloadKind => {
8484
8585const protocolMessageFields = [ "id" , "method" , "params" , "result" , "error" ] as const ;
8686
87- export const CodexAppServerProtocolMessageField = Schema . Literals ( protocolMessageFields ) ;
88- export type CodexAppServerProtocolMessageField = typeof CodexAppServerProtocolMessageField . Type ;
87+ const CodexAppServerProtocolMessageField = Schema . Literals ( protocolMessageFields ) ;
8988
9089export interface CodexAppServerRequestDiagnostics {
9190 readonly method ?: string ;
0 commit comments