Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
import type * as schemas from "@distilled.cloud/aws/schemas";
import type * as Effect from "effect/Effect";
import * as Binding from "../../Binding.ts";
import type { Discoverer } from "./Discoverer.ts";
/**
* Runtime binding for `schemas:StartDiscoverer`.
*
* Resumes schema discovery on the bound {@link Discoverer} — e.g. an ops
* function re-enabling discovery after a paused window. The discoverer id is
* injected from the binding. Provide the implementation with
* `Effect.provide(AWS.Schemas.StartDiscovererHttp)`.
* @binding
* @section Controlling a Discoverer
* @example Resume Discovery
* ```typescript
* // init — bind the operation to the discoverer
* const startDiscoverer = yield* AWS.Schemas.StartDiscoverer(discoverer);
*
* // runtime
* const { State } = yield* startDiscoverer();
* // State === "STARTED"
* ```
*/
export interface StartDiscoverer extends Binding.Service<
StartDiscoverer,
"AWS.Schemas.StartDiscoverer",
(
discoverer: Discoverer,
) => Effect.Effect<
() => Effect.Effect<
schemas.StartDiscovererResponse,
schemas.StartDiscovererError
>
>
> {}
export const StartDiscoverer = Binding.Service<StartDiscoverer>(
"AWS.Schemas.StartDiscoverer",
);