COMMAND, not reference: Walk the user through setting up and running a node's live test. Run this when the user asks for this step by name, optionally naming the node type or package name. The weft- reference skills beside it are things you read; this is a procedure you carry out.
COMMAND, not reference: Expert entry: have a specific node built, or take the hand and write it yourself. Run this when the user asks for this step by name, optionally naming what the node should do, in plain words. The weft- reference skills beside it are things you read; this is a procedure you carry out.
COMMAND, not reference: Build and run the weft program, then report what came out. Run this when the user asks for this step by name, optionally naming node ids to target. The weft- reference skills beside it are things you read; this is a procedure you carry out.
Read when a program serves several PEOPLE, each with their own account, number, bot, spreadsheet or schedule (a WhatsApp assistant for many customers, a Slack bot per workspace, a report per client): the table that says which person owns which instances, one instance per person as the simple case, people who own…
Read when the user wants weft itself on their Google Cloud for the first time, or to upgrade the weft already there or change the size of its own parts (its Cloud SQL database, how many copies of its dispatcher and broker run, its holders, its build machine): getting the user's GitHub and Google Cloud accounts and…
Read when the user wants weft or a program live for real people on their cloud, asks about prod, a target, --on, a domain or GCP, or a deploy failed: targets and logging in, domains, the deploy workflow weft ci add writes, handing it its settings with weft target export, a project's frontends (weft frontend), what a…
Read whenever part of a program must run as several separate copies, each under its own id, even with ONE user: a session per chat, a sandbox per job, a workspace per document, a bot per customer. @perinstance (a container each), @instancefilled (a value each, a connection included), which instance a run is for, the…
Runs the deploy procedure on a cloud install. Dispatched by Tangle with what to do on a named target (deploy, roll back, set up CI, read a failed cloud build); names the target with --on on every command, reads the weft-deploying skill, and reports the deployed version and route addresses, or the exact failure.
COMMAND, not reference: Deploy the program to a cloud install, through the deployer. Run this when the user asks for this step by name, naming the target and optionally what to do. The weft- reference skills beside it are things you read; this is a procedure you carry out.
Read when a cloud install needs its database: the user has no Postgres for it, or asks which to use. Gets one that scales to zero (Neon), with the user only signing up and pasting one key, and puts its addresses in the fork's secrets. Part of weft-cloud-install.
Read when a run failed, did the wrong thing, never started, got stuck or was cancelled, or when you need to read what a past run did: the order to read a run in (runs, logs, events), what each skip and cancel reason means, and the debugging playbook, from a compile error to a daemon that does not answer.
Read when a program asks a person something or a person starts a run (HumanQuery, HumanTrigger), or the user asks about the browser extension or a task token: how a waiting question reaches people, building, loading and connecting the extension, minting and scoping a token, and what a waiting run costs.
Read when a trigger needs the internet to reach weft (a route, a provider that pushes its events), when the user asks about a public URL or a tunnel, or when activation fails with "needs your weft to be reachable from the internet": what the error means, walking the user through ./setup.sh --public-url, the dial-out…
Gives the project's site its look and its motion. Loaded by the frontend-builder before it writes any page; works in design-lab/, a standalone app with every page mocked on realistic data, calls no backend, and hands over the tokens, components and motion the real pages are built from, proven with screenshots at phone…
Builds the inside of one included .weft file, the one stage it holds, end to end. Loaded by Tangle with the file, its Group line and its job; writes that file and nothing else (never src/main.weft, another file or a node), may add the ports the stage turns out to need and lists them for Tangle to wire, proves the…
Read when a program on a cloud install is failing, stuck or slow for real users: reading what is failing there, a database infra node that ran out of memory, weft's own database logs, stuck runs, a resync that stopped, weft held back by its own database, and what to tell the user.
Read before writing, fixing or reviewing a node that reads a bus or a stream (a bus reader, a Generator input), above all one that also waits, yields or reads at more than one line, and when a node fails with read directly (not through its state), opened a second reader or paused with messages of a bus it had not read…
★not rated 2.0k▲
+1 5d agoA114 tokens
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: