Repository navigation
@hanzo/app 0.3.111: pick your role, get its recommended skills, add them in one click - #79
Merged
Merged
Conversation
…hem in one click hanzo-inc/app#323. A new customer says what they do (Director, Marketing, Education, Creative, Founder, Developer, Sales and support, Research and data, or Something else, or Skip). Hanzo then lists the catalogue skills recommended for that role. The customer unticks any they don't want and adds the rest in one click: a single activation for the org, the same write Customize and the + menu make. - roles.ts: the one role-to-skills map, as data. Every name is a brand catalogue skill (49, checked against the live index). - RolePicker.tsx: the picker, RoleDialog, and RoleCard. The card asks an account made in the last two weeks that hasn't answered. It sits in the sidebar column in either Developer mode. - Sidebar: Customize gets a "Skills for your role" row. - connect.ts: install(names), one PUT /v1/tools/activation. - The answer is kept on the account (hanzo.onboarding.role via usePref, /v1/pref). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Darkhorse7stars
added a commit
that referenced
this pull request
Nov 21, 2026
hanzo-inc/app#323 and #462 asked for the same thing, and each got its own picker: - #79 (0.3.111): a sidebar card and a Customize row in this package, with a role-to-skills map of its own. - #80 and @hanzo/build 0.2.135: build's Roles card in Chat's opening and in Customize > Skills. #80 merged with the version #79 had already published, so npm never got it. Shipping both would ask a new customer twice from two lists. This takes out #79's picker (RolePicker, roles.ts, the sidebar card, the Customize row, connect.ts install). What ships is #80's card, @hanzo/build's Roles over its one map (WORK, RECOMMENDED). LLM.md now says so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Darkhorse7stars
added a commit
that referenced
this pull request
Nov 21, 2026
Part of hanzo-inc/app#323 and hanzo-inc/app#462. Takes out #79's picker (RolePicker, roles.ts, the sidebar card, the Customize row, connect.ts install). What ships is #80's card: @hanzo/build's Roles over its one map, in Chat's opening and Customize > Skills. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of hanzo-inc/app#323.
What a customer sees
RoleDialog; that change ships in the catalog bump.How it is built
roles.tsis the one role→skills map, as data./.well-known/agent-skills/index.json, the list Customize's Browse offers.connect.ts install(names): onePUT /v1/tools/activationwithskill_<name>for each ticked skill.+menu'sactivateand Customize make, batched. No second install path.hanzo.onboarding.rolethroughusePref(/v1/pref). It follows them to every machine, so no cloud change.useSkills(/v1/tools/skills) supplies each skill's detail line and its on/off state.Testing
pnpm build,pnpm typecheckandpnpm lint:designare clean.npx vitest runpasses in every package: app 97 files / 851 tests, glass 4, mod 5. The root import loads in Node.roles.test.ts: the role map's shape and names, answers,listed,pickedandfresh.connect.test.ts: one PUT withskill_names; nothing sent when nothing is ticked; a 403 carries its status.RolePicker.test.tsx: picks a role, unticks one, and checks the single install call. Also covers already-on skills, an absent catalogue, the member note, a refusal, and when the card shows or hides.Sidebar.test.ts: the card sits in the column in both modes; the Customize row follows Customize's own tabs.