matthewwong525/WongStack / .agents/plugins/access
access
VerifiedSee who can sign in and what each person may use; add, change or remove a person.
screen/project-step.mjs
View on GitHubimport { html } from "./vendor/preact-htm.mjs";
import { FinishStep } from "./notices.mjs";
import { PROJECT_REQUEST, SAVE_REQUEST } from "./status.mjs";
/** The one step left wherever Project code is given: first before the app can hand its project out, then before
* people can save changes too. The owner gets the request to copy; an Admin is told it is the owner's step. */
export function ProjectStep({ status }) {
const installs = status.project === "ready";
const left = installs ? status.projectSave ?? "ready" : status.project;
if (left === "ready" || left === undefined) return null;
if (left === "live") return html`<p><strong>Live app only.</strong> People install the project and save changes from the live app.</p>`;
const key = left === "key";
const lead = installs ? "Saving needs one more step" : "One step first";
if (!status.viewer.owner) return html`<p><strong>${lead} for the owner.</strong> ${status.ownerEmail} ${key ? "adds a GitHub key" : "finishes Access setup"}.</p>`;
if (installs) return key
? html`<${FinishStep} plain say="Let teammates save changes" request=${SAVE_REQUEST}><strong>${lead}.</strong> People can install the project now. To let them save changes, the app needs a newer GitHub key. Ask your assistant:<//>`
: html`<${FinishStep} plain><strong>${lead}.</strong> People can install the project now. To let them save changes, ask your assistant:<//>`;
return key
? html`<${FinishStep} plain say="Let teammates install the project" request=${PROJECT_REQUEST}><strong>${lead}.</strong> The app needs a GitHub key to hand the project out. Ask your assistant:<//>`
: html`<${FinishStep} plain><strong>${lead}.</strong> The app does not know which project to hand out yet. Ask your assistant:<//>`;
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |