Dashboard › opencode › Distillation
639a00fa-0251-4f58-ba40-5eb75675edd8["lore_tm_v1_qLvQlOaygPUJ9c_x144aSeuPjBFPmgg6p-A_1I6iXOM","lore_tm_v1_PNGLNR0vIRJqUZ9TDmDP1Zx12FBi3SP9tzkBkDjDJ0s","lore_tm_v1_9z4Tm5TxQw4hFEoMDm-ZOwweycaZLDKZbnP7AjYUqBY","lore_tm_v1_JWN1g5Nf33RN3a88KawmVnCsdVFkr2iNXDDF0yOxeb8","lore_tm_v1_lZ2K98Qdg442LD-UJ776T2FqwdZPEF4_Q_vjyBIrFKM","lore_tm_v1_m5nvrUKkS9Z7bCr8MHs1t7Mvq23YqiSKks5kj46A4H4"]
/home/byk/Code/opencode-v2-pilot/node_modules/.bun contains 3173 entries; the first 100 shown were: @actions+artifact@4.0.0+759ce506b1ed1a42/, @actions+artifact@5.0.1+759ce506b1ed1a42/, @actions+core@1.11.1/, @actions+core@2.0.3/, @actions+exec@1.1.1/, @actions+exec@2.0.0/, @actions+github@6.0.1/, @actions+http-client@2.2.3/, @actions+http-client@3.0.2/, @actions+io@1.1.3/, @actions+io@2.0.0/, @adobe+css-tools@4.5.0/, @agentclientprotocol+sdk@1.2.1+68a1e3a0c4588df3/, @agentclientprotocol+sdk@1.2.1+d6123d32214422cb/, @ai-sdk+alibaba@1.0.17+d6123d32214422cb/, @ai-sdk+amazon-bedrock@4.0.112+d6123d32214422cb/, @ai-sdk+anthropic@3.0.77+d6123d32214422cb/, @ai-sdk+anthropic@3.0.81+d6123d32214422cb/, @ai-sdk+anthropic@3.0.82+d6123d32214422cb/, @ai-sdk+azure@3.0.88+d6123d32214422cb/, @ai-sdk+cerebras@2.0.41+d6123d32214422cb/, @ai-sdk+cohere@3.0.27+d6123d32214422cb/, @ai-sdk+deepgram@2.0.46+d6123d32214422cb/, @ai-sdk+deepgram@2.0.52+d6123d32214422cb/, @ai-sdk+deepinfra@2.0.41+d6123d32214422cb/, @ai-sdk+deepseek@2.0.47+d6123d32214422cb/, @ai-sdk+elevenlabs@2.0.46+d6123d32214422cb/, @ai-sdk+elevenlabs@2.0.52+d6123d32214422cb/, @ai-sdk+fireworks@2.0.70+d6123d32214422cb/, @ai-sdk+fireworks@2.0.77+d6123d32214422cb/, @ai-sdk+gateway@2.0.119+27912429049419a2/, @ai-sdk+gateway@3.0.104+d6123d32214422cb/, @ai-sdk+gateway@4.0.52+d6123d32214422cb/, @ai-sdk+google-vertex@4.0.128+681b88a6fb77e557/, @ai-sdk+google@3.0.73+d6123d32214422cb/, @ai-sdk+groq@3.0.31+d6123d32214422cb/, @ai-sdk+mistral@3.0.51+d6123d32214422cb/, @ai-sdk+openai-compatible@2.0.37+27912429049419a2/, @ai-sdk+openai-compatible@2.0.37+d6123d32214422cb/, @ai-sdk+openai-compatible@2.0.41+d6123d32214422cb/, @ai-sdk+openai-compatible@2.0.47+d6123d32214422cb/, @ai-sdk+openai-compatible@2.0.56+d6123d32214422cb/, @ai-sdk+openai-compatible@2.0.62+d6123d32214422cb/, @ai-sdk+openai-compatible@2.0.68+d6123d32214422cb/, @ai-sdk+openai-compatible@2.0.69+d6123d32214422cb/, @ai-sdk+openai@3.0.67+d6123d32214422cb/, @ai-sdk+openai@3.0.84+d6123d32214422cb/, @ai-sdk+perplexity@3.0.26+d6123d32214422cb/, @ai-sdk+provider-utils@3.0.30+27912429049419a2/, @ai-sdk+provider-utils@4.0.21+27912429049419a2/, @ai-sdk+provider-utils@4.0.21+d6123d32214422cb/, @ai-sdk+provider-utils@4.0.23+27912429049419a2/, @ai-sdk+provider-utils@4.0.23+d6123d32214422cb/, @ai-sdk+provider-utils@4.0.27+d6123d32214422cb/, @ai-sdk+provider-utils@4.0.35+d6123d32214422cb/, @ai-sdk+provider-utils@4.0.38+d6123d32214422cb/, @ai-sdk+provider-utils@4.0.40+d6123d32214422cb/, @ai-sdk+provider-utils@4.0.46+d6123d32214422cb/, @ai-sdk+provider-utils@5.0.27+d6123d32214422cb/, @ai-sdk+provider@2.0.3/, @ai-sdk+provider@3.0.10/, @ai-sdk+provider@3.0.13/, @ai-sdk+provider@3.0.14/, @ai-sdk+provider@3.0.15/, @ai-sdk+provider@3.0.8/, @ai-sdk+provider@4.0.7/, @ai-sdk+togetherai@2.0.41+d6123d32214422cb/, @ai-sdk+vercel@2.0.39+d6123d32214422cb/, @ai-sdk+xai@3.0.102+d6123d32214422cb/, @ai-sdk+xai@3.0.123+d6123d32214422cb/, @alloc+quick-lru@5.2.0/, @ampproject+remapping@2.3.0/, @antfu+install-pkg@1.1.0/, @anthropic-ai+sdk@0.71.2+27912429049419a2/, @anycable+core@0.9.2/, @apideck+better-ajv-errors@0.3.7+409704e89d09a59a/, @ast-grep+cli-linux-x64-gnu@0.44.0/, @ast-grep+cli@0.44.0/, @astrojs+check@0.9.6+0ce061c0af22a369/, @astrojs+check@0.9.6+a086005a11b18a9a/, @astrojs+cloudflare@12.6.3+e13ade80f21d8ce3/, @astrojs+cloudflare@12.6.3+f50e581d59489044/, @astrojs+cloudflare@14.1.4+295a7c22f587ef6c/, @astrojs+cloudflare@14.1.4+4e5eacb11ffa8153/, @astrojs+cloudflare@14.1.4+6e5c7d5312877963/, @astrojs+cloudflare@14.1.4+8e80b916d9dd08f5/, @astrojs+compiler-binding-linux-x64-gnu@0.3.1/, @astrojs+compiler-binding-linux-x64-gnu@0.3.2/, @astrojs+compiler-binding-linux-x64-musl@0.3.1/, @astrojs+compiler-binding-linux-x64-musl@0.3.2/, @astrojs+compiler-binding@0.3.1/, @astrojs+compiler-binding@0.3.2/, @astrojs+compiler-rs@0.3.1/, @astrojs+compiler-rs@0.3.2/, @astrojs+compiler@2.13.1/, @astrojs+internal-helpers@0.10.1/, @astrojs+internal-helpers@0.10.2/, @astrojs+internal-helpers@0.10.4/, @astrojs+internal-helpers@0.6.1/, and @astrojs+internal-helpers@0.7.1/./home/byk/Code/opencode-v2-pilot/node_modules/.bun/effect@4.0.0-rc.112/node_modules/effect/; package-level files found include README.md, CLAUDE.md, AGENTS.md, package.json, and LICENSE, together with source files under src/.Utils.ts, Unify.ts, UndefinedOr.ts, Types.ts, TxSubscriptionRef.ts, TxSemaphore.ts, TxRef.ts, TxReentrantLock.ts, TxQueue.ts, TxPubSub.ts, TxPriorityQueue.ts, TxHashSet.ts, TxHashMap.ts, TxDeferred.ts, TxChunk.ts, Tuple.ts, Trie.ts, Tracer.ts, Terminal.ts, Take.ts, SynchronizedRef.ts, Symbol.ts, SubscriptionRef.ts, Struct.ts, String.ts, Stream.ts, Stdio.ts, StandardSchema.ts, Sink.ts, Semaphore.ts, ScopedRef.ts, ScopedCache.ts, Scope.ts, SchemaTransformation.ts, SchemaRepresentation.ts, SchemaParser.ts, SchemaIssue.ts, SchemaGetter.ts, SchemaAST.ts, Schema.ts, Scheduler.ts, Schedule.ts, Runtime.ts, Result.ts, Resource.ts, RequestResolver.ts, Request.ts, RegExp.ts, References.ts, Ref.ts, Reducer.ts, Redacted.ts, Redactable.ts, Record.ts, RcRef.ts, RcMap.ts, Random.ts, Queue.ts, Pull.ts, PubSub.ts, PrimaryKey.ts, Predicate.ts, Pool.ts, PlatformError.ts, Pipeable.ts, Path.ts, PartitionedSemaphore.ts, Ordering.ts, Order.ts, Option.ts, Optic.ts, Number.ts, NonEmptyIterable.ts, Newtype.ts, MutableRef.ts, MutableList.ts, MutableHashSet.ts, MutableHashMap.ts, Metric.ts, Match.ts, ManagedRuntime.ts, LogLevel.ts, Logger.ts, LayerRef.ts, LayerMap.ts, Layer.ts, Latch.ts, JsonSchema.ts, JsonPointer.ts, JsonPatch.ts, Iterable.ts, Inspectable.ts, index.ts, HKT.ts, and HashSet.ts; results were truncated after 100.runPromiseWith found 7 matches: /home/byk/Code/opencode-v2-pilot/node_modules/.bun/effect@4.0.0-rc.112/node_modules/effect/src/ManagedRuntime.ts:382, src/Effect.ts:17527, src/Effect.ts:17533, src/Effect.ts:17535, src/Stream.ts:19739, src/internal/effect.ts:5511, and src/internal/effect.ts:5533.4.0.0-rc.112, /home/byk/Code/opencode-v2-pilot/node_modules/.bun/effect@4.0.0-rc.112/node_modules/effect/src/internal/effect.ts:5494-5525 defines runPromiseExitWith(context) using runForkWith(context), observes the fiber, and resolves a Promise<Exit.Exit<A, E>>; runPromiseWith(context) invokes it, throws causeSquash(exit.cause) when exit._tag === "Failure", and otherwise returns exit.value./home/byk/Code/opencode-v2-pilot/node_modules/.bun/effect@4.0.0-rc.112/node_modules/effect/src/internal/effect.ts:5528-5559 defines runPromise as runPromiseWith(Context.empty()); runSyncExitWith(context) uses Scheduler.MixedScheduler("sync"), flushes the fiber dispatcher, and returns the fiber exit or exitDie(new AsyncFiberError(fiber)); runSyncWith(context) throws causeSquash(exit.cause) for failure and otherwise returns exit.value.causeSquash is defined in /home/byk/Code/opencode-v2-pilot/node_modules/.bun/effect@4.0.0-rc.112/node_modules/effect/src/internal/effect.ts:299 as export const causeSquash = <E>(self: Cause.Cause<E>): unknown =>.SCHEMA.md.AGENTS.md: prefer Effect.gen and named Effect.fn("name"); functions returning an Effect should use Effect.fn rather than return Effect.gen; the Effect.fn name should match the function name; additional behavior should be supplied as extra Effect.fn arguments rather than with .pipe; Effect.fn.Return can specify the return type.AGENTS.md: all validation and domain modeling should use Schema; avoid predicates or manual parsing for untrusted input; custom errors use Schema.TaggedError; Schema.Defect() can represent a defect cause.AGENTS.md: prefer services to encapsulate behavior; define them by extending Context.Service, use package/path-qualified identifiers such as "myapp/db/Database", attach implementation layers such as Layer.effect, construct instances with Service.of, and access a service type as ServiceClass["Service"].AGENTS.md: use NodeRuntime.runMain or BunRuntime.runMain for process entrypoints, Layer.launch for long-running applications, and ManagedRuntime to bridge one application Layer into imperative web handlers, framework hooks, worker queues, or legacy callback APIs.AGENTS.md: use Effect.acquireRelease for lifecycle-managed resources, Layer.effectDiscard for background tasks without a service interface, LayerMap.Service for dynamically keyed resources, and PubSub for one-producer-to-many-consumer in-process event broadcasting.AGENTS.md identifies Stream.fromIterable, Stream.fromEffectSchedule, Stream.paginate, Stream.fromAsyncIterable, Stream.fromEventListener, Stream.callback, and NodeStream.fromReadable as constructors; transformations/consumers include map, flatMap, filter, mapEffect, and run*; structured stream encoding/decoding uses Stream.pipeThroughChannel with Ndjson and Msgpack.AGENTS.md: use DateTime instead of Date and Date.now for testable current time, parsing, ISO formatting, time-zone conversion, and calendar arithmetic; never write custom guards such as isRecord or isString, instead use Predicate helpers composed with Predicate.and, Predicate.or, Predicate.not, and Predicate.compose.AGENTS.md: use effect/unstable/sql with a driver such as @effect/sql-sqlite-node and Model.Class for SQL; HttpClient for HTTP clients; HttpApi for schema-first APIs with validation, typed clients, and OpenAPI; HttpApiTest for in-memory handler tests; effect/unstable/process and ChildProcessSpawner for child processes; effect/unstable/cli for CLIs.AGENTS.md: prefer lightweight Otlp modules from effect/unstable/observability for new projects or @effect/opentelemetry NodeSdk for existing OpenTelemetry integrations; use @effect/vitest, it.effect, and shared Layers for testing; AI modules provide LanguageModel, schema-validated object generation, streaming, toolkits, and stateful Chat.