API Reference client_utils v#0.5.0
View SourceModules
GenServer that manages a Cloudflare Tunnel process via an Erlang port.
Owner-approved, project-scoped installation credentials. Never exposed to visitors.
A Credo plugin that reports each finding to the CodeMySpec harness that
started the run, as Credo finds it, and a finished event with the totals
(ClientUtils.RunLink).
Serializes Mix.Task.Compiler.Diagnostic structs to JSON-compatible maps.
What onboarding a working copy decides, with none of the doing.
The default way onboarding touches a working copy: the real filesystem.
How onboarding reaches a working copy.
Calls an io: adapter — a module, or a module paired with the thing it acts on.
Where this working copy's preview answers, asked of the server that can say.
Lets the CodeMySpec preview pane embed this application, and nothing else.
A run's link to the CodeMySpec harness that started it.
A run's side of its link to the harness, registered on the run's node.
Always-on support widget for every visitor, signed in or not — a sticky nested LiveView with two clear intents
ExUnit formatter that
Handles formatting of ExUnit test results into JSON-compatible maps.
Public interface to a user's support WidgetClient. Starts one Slipstream
client per user on demand (under the app's DynamicSupervisor, keyed in the
Registry) and exposes chat send / pagination / feedback / state to
SupportWidgetLive. Shared by applications through client_utils.
Compatibility entry points; shared authorization lives in CodeMySpecClient.
Per-user Slipstream client bridging a logged-in user's support widget to CodeMySpec.
POST /_cms/verify/widget — CodeMySpec asks this app to send a message
through its own widget, so a working install is proven without waiting for
a visitor. Shared through client_utils.
Mix Tasks
The widget now lives in ClientUtils. Install host wiring with mix cms_gen.support_widget.
Generates a deploy-key-authenticated controller that exposes this application's registered users to the CodeMySpec dashboard.
Registers after_compiler hooks that write diagnostics to a JSONL file.
Take the working copy this runs in from checkout to ready.