network routing
This commit is contained in:
parent
98689fb125
commit
0ed88cfc21
11 changed files with 503 additions and 44 deletions
|
|
@ -28,7 +28,7 @@ export const Flag = {
|
|||
OPENCODE_FAKE_VCS: process.env["OPENCODE_FAKE_VCS"],
|
||||
OPENCODE_SERVER_PASSWORD: process.env["OPENCODE_SERVER_PASSWORD"],
|
||||
OPENCODE_SERVER_USERNAME: process.env["OPENCODE_SERVER_USERNAME"],
|
||||
OPENCODE_MOCK: truthy("OPENCODE_MOCK"),
|
||||
OPENCODE_SIMULATION: truthy("OPENCODE_SIMULATION"),
|
||||
|
||||
// Experimental
|
||||
OPENCODE_EXPERIMENTAL_FILEWATCHER: Config.boolean("OPENCODE_EXPERIMENTAL_FILEWATCHER").pipe(
|
||||
|
|
|
|||
|
|
@ -104,6 +104,7 @@ export const Provider = Schema.Struct({
|
|||
})
|
||||
|
||||
export type Provider = Schema.Schema.Type<typeof Provider>
|
||||
export const Catalog = Schema.Record(Schema.String, Provider)
|
||||
|
||||
export interface Interface {
|
||||
readonly get: () => Effect.Effect<Record<string, Provider>>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue