@hanzo/app 0.3.12 → 0.3.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/agents/art.png +0 -0
- package/assets/agents/art@2x.png +0 -0
- package/assets/agents/biz.png +0 -0
- package/assets/agents/biz@2x.png +0 -0
- package/assets/agents/cyber.png +0 -0
- package/assets/agents/cyber@2x.png +0 -0
- package/assets/agents/data.png +0 -0
- package/assets/agents/data@2x.png +0 -0
- package/assets/agents/des.png +0 -0
- package/assets/agents/des@2x.png +0 -0
- package/assets/agents/dev.png +0 -0
- package/assets/agents/dev@2x.png +0 -0
- package/assets/agents/doc.png +0 -0
- package/assets/agents/doc@2x.png +0 -0
- package/assets/agents/ed.png +0 -0
- package/assets/agents/ed@2x.png +0 -0
- package/assets/agents/edu.png +0 -0
- package/assets/agents/edu@2x.png +0 -0
- package/assets/agents/einstein.png +0 -0
- package/assets/agents/feynman.png +0 -0
- package/assets/agents/fin.png +0 -0
- package/assets/agents/fin@2x.png +0 -0
- package/assets/agents/gov.png +0 -0
- package/assets/agents/gov@2x.png +0 -0
- package/assets/agents/grant.png +0 -0
- package/assets/agents/grant@2x.png +0 -0
- package/assets/agents/huma.png +0 -0
- package/assets/agents/huma@2x.png +0 -0
- package/assets/agents/lang.png +0 -0
- package/assets/agents/lang@2x.png +0 -0
- package/assets/agents/law.png +0 -0
- package/assets/agents/law@2x.png +0 -0
- package/assets/agents/mana.png +0 -0
- package/assets/agents/mana@2x.png +0 -0
- package/assets/agents/mark.png +0 -0
- package/assets/agents/mark@2x.png +0 -0
- package/assets/agents/mo.png +0 -0
- package/assets/agents/mo@2x.png +0 -0
- package/assets/agents/mu.png +0 -0
- package/assets/agents/mu@2x.png +0 -0
- package/assets/agents/opera.png +0 -0
- package/assets/agents/opera@2x.png +0 -0
- package/assets/agents/rev.png +0 -0
- package/assets/agents/rev@2x.png +0 -0
- package/assets/agents/sal.png +0 -0
- package/assets/agents/sal@2x.png +0 -0
- package/assets/agents/sci.png +0 -0
- package/assets/agents/sci@2x.png +0 -0
- package/assets/agents/su.png +0 -0
- package/assets/agents/su@2x.png +0 -0
- package/assets/agents/vi.png +0 -0
- package/assets/agents/vi@2x.png +0 -0
- package/assets/agents/vid.png +0 -0
- package/assets/memoji/art.png +0 -0
- package/assets/memoji/art@2x.png +0 -0
- package/assets/memoji/biz.png +0 -0
- package/assets/memoji/biz.svg +22 -0
- package/assets/memoji/biz@2x.png +0 -0
- package/assets/memoji/cyber.png +0 -0
- package/assets/memoji/cyber@2x.png +0 -0
- package/assets/memoji/data.png +0 -0
- package/assets/memoji/data@2x.png +0 -0
- package/assets/memoji/des.png +0 -0
- package/assets/memoji/des@2x.png +0 -0
- package/assets/memoji/dev.png +0 -0
- package/assets/memoji/dev@2x.png +0 -0
- package/assets/memoji/doc.png +0 -0
- package/assets/memoji/doc@2x.png +0 -0
- package/assets/memoji/ed.png +0 -0
- package/assets/memoji/ed@2x.png +0 -0
- package/assets/memoji/edu.png +0 -0
- package/assets/memoji/edu@2x.png +0 -0
- package/assets/memoji/fin.png +0 -0
- package/assets/memoji/fin@2x.png +0 -0
- package/assets/memoji/gov.png +0 -0
- package/assets/memoji/gov@2x.png +0 -0
- package/assets/memoji/grant.png +0 -0
- package/assets/memoji/grant.svg +22 -0
- package/assets/memoji/grant@2x.png +0 -0
- package/assets/memoji/huma.png +0 -0
- package/assets/memoji/huma@2x.png +0 -0
- package/assets/memoji/lang.png +0 -0
- package/assets/memoji/lang@2x.png +0 -0
- package/assets/memoji/law.png +0 -0
- package/assets/memoji/law@2x.png +0 -0
- package/assets/memoji/mana.png +0 -0
- package/assets/memoji/mana@2x.png +0 -0
- package/assets/memoji/mark.png +0 -0
- package/assets/memoji/mark@2x.png +0 -0
- package/assets/memoji/mo.png +0 -0
- package/assets/memoji/mo@2x.png +0 -0
- package/assets/memoji/mu.png +0 -0
- package/assets/memoji/mu@2x.png +0 -0
- package/assets/memoji/opera.png +0 -0
- package/assets/memoji/opera@2x.png +0 -0
- package/assets/memoji/rev.png +0 -0
- package/assets/memoji/rev@2x.png +0 -0
- package/assets/memoji/sal.png +0 -0
- package/assets/memoji/sal@2x.png +0 -0
- package/assets/memoji/sci.png +0 -0
- package/assets/memoji/sci@2x.png +0 -0
- package/assets/memoji/su.png +0 -0
- package/assets/memoji/su@2x.png +0 -0
- package/assets/memoji/vi.png +0 -0
- package/assets/memoji/vi@2x.png +0 -0
- package/assets/memoji/vid.svg +22 -0
- package/assets/personas/abai_qunanbaiuly.svg +24 -0
- package/assets/personas/abbas_kiarostami.svg +24 -0
- package/assets/personas/abdus_salam.svg +24 -0
- package/assets/personas/abraham.svg +24 -0
- package/assets/personas/abraham_joshua_heschel.svg +24 -0
- package/assets/personas/ada.svg +24 -0
- package/assets/personas/adam_smith.svg +24 -0
- package/assets/personas/adi_shamir.svg +24 -0
- package/assets/personas/adi_shankara.svg +24 -0
- package/assets/personas/adonis.svg +24 -0
- package/assets/personas/adorno.svg +24 -0
- package/assets/personas/adriano_olivetti.svg +24 -0
- package/assets/personas/agnes_varda.svg +24 -0
- package/assets/personas/agostinho_neto.svg +24 -0
- package/assets/personas/aime_cesaire.svg +24 -0
- package/assets/personas/akbar.svg +24 -0
- package/assets/personas/akio_morita.md +141 -0
- package/assets/personas/akio_morita.svg +24 -0
- package/assets/personas/al_biruni.svg +24 -0
- package/assets/personas/al_farabi.svg +24 -0
- package/assets/personas/al_ghazali.svg +24 -0
- package/assets/personas/al_jahiz.svg +24 -0
- package/assets/personas/al_jazari.svg +24 -0
- package/assets/personas/al_kashi.svg +24 -0
- package/assets/personas/al_khwarizmi.svg +24 -0
- package/assets/personas/al_kindi.svg +24 -0
- package/assets/personas/al_maarri.svg +24 -0
- package/assets/personas/al_mutanabbi.svg +24 -0
- package/assets/personas/al_razi.svg +24 -0
- package/assets/personas/al_shafii.svg +24 -0
- package/assets/personas/al_tabari.svg +24 -0
- package/assets/personas/alan_kay.svg +24 -0
- package/assets/personas/alan_watts.svg +24 -0
- package/assets/personas/albert_hirschman.svg +24 -0
- package/assets/personas/albert_wendt.svg +24 -0
- package/assets/personas/alberto_santos_dumont.svg +24 -0
- package/assets/personas/albrecht_durer.svg +24 -0
- package/assets/personas/aldo_rossi.svg +24 -0
- package/assets/personas/aldous_huxley.svg +24 -0
- package/assets/personas/alejo_carpentier.svg +24 -0
- package/assets/personas/alexander.svg +24 -0
- package/assets/personas/alexander_hamilton.md +148 -0
- package/assets/personas/alexander_hamilton.svg +24 -0
- package/assets/personas/alexander_von_humboldt.svg +24 -0
- package/assets/personas/alexandra_david_neel.svg +24 -0
- package/assets/personas/alexandre_yersin.svg +24 -0
- package/assets/personas/alexis_de_tocqueville.svg +24 -0
- package/assets/personas/alfred_marshall.md +147 -0
- package/assets/personas/alfred_marshall.svg +24 -0
- package/assets/personas/alfred_russel_wallace.svg +24 -0
- package/assets/personas/alfred_sloan.md +148 -0
- package/assets/personas/alfred_sloan.svg +24 -0
- package/assets/personas/alfred_wegener.svg +24 -0
- package/assets/personas/ali_wong.svg +24 -0
- package/assets/personas/alisher_navoi.svg +24 -0
- package/assets/personas/allan_bloom.svg +24 -0
- package/assets/personas/alvar_aalto.svg +24 -0
- package/assets/personas/amartya_sen.svg +24 -0
- package/assets/personas/ambroise_pare.svg +24 -0
- package/assets/personas/amelia_earhart.svg +24 -0
- package/assets/personas/amilcar_cabral.svg +24 -0
- package/assets/personas/amir_khusrau.svg +24 -0
- package/assets/personas/amos_oz.svg +24 -0
- package/assets/personas/amos_tutuola.svg +24 -0
- package/assets/personas/amos_tversky.svg +24 -0
- package/assets/personas/amrita_sher_gil.svg +24 -0
- package/assets/personas/amy_poehler.svg +24 -0
- package/assets/personas/analyst.svg +24 -0
- package/assets/personas/anaxagoras.svg +24 -0
- package/assets/personas/anaximander.svg +24 -0
- package/assets/personas/andrea_palladio.svg +24 -0
- package/assets/personas/andrei_ershov.svg +24 -0
- package/assets/personas/andrei_tarkovsky.svg +24 -0
- package/assets/personas/andrew_carnegie.md +146 -0
- package/assets/personas/andrew_carnegie.svg +24 -0
- package/assets/personas/andrew_yao.svg +24 -0
- package/assets/personas/andrzej_wajda.svg +24 -0
- package/assets/personas/andy_grove.md +149 -0
- package/assets/personas/andy_grove.svg +24 -0
- package/assets/personas/angelou.svg +24 -0
- package/assets/personas/anna_akhmatova.svg +24 -0
- package/assets/personas/anne_sexton.svg +24 -0
- package/assets/personas/anselm_canterbury.svg +24 -0
- package/assets/personas/antoine_lavoisier.svg +24 -0
- package/assets/personas/anton_chekhov.svg +24 -0
- package/assets/personas/antoni_gaudi.svg +24 -0
- package/assets/personas/antonie_van_leeuwenhoek.svg +24 -0
- package/assets/personas/antonin_dvorak.svg +24 -0
- package/assets/personas/antonioni.svg +24 -0
- package/assets/personas/aquinas.svg +24 -0
- package/assets/personas/archimedes.svg +24 -0
- package/assets/personas/arendt.svg +24 -0
- package/assets/personas/aretha_franklin.svg +24 -0
- package/assets/personas/aristophanes.svg +24 -0
- package/assets/personas/aristotle.svg +24 -0
- package/assets/personas/artemisia_gentileschi.svg +24 -0
- package/assets/personas/arthur_andersen.md +140 -0
- package/assets/personas/arthur_andersen.svg +24 -0
- package/assets/personas/arundhati_roy.svg +24 -0
- package/assets/personas/arvo_part.svg +24 -0
- package/assets/personas/aryabhata.svg +24 -0
- package/assets/personas/ashoka.svg +24 -0
- package/assets/personas/astor_piazzolla.svg +24 -0
- package/assets/personas/attar.svg +24 -0
- package/assets/personas/auguste_comte.svg +24 -0
- package/assets/personas/auguste_kerckhoffs.svg +24 -0
- package/assets/personas/auguste_rodin.svg +24 -0
- package/assets/personas/augustine.svg +24 -0
- package/assets/personas/aung_san_suu_kyi.svg +24 -0
- package/assets/personas/averroes.svg +24 -0
- package/assets/personas/avicenna.svg +24 -0
- package/assets/personas/aziz_ansari.svg +24 -0
- package/assets/personas/baal_shem_tov.svg +24 -0
- package/assets/personas/bach.svg +24 -0
- package/assets/personas/baha_ullah.svg +24 -0
- package/assets/personas/baldwin.svg +24 -0
- package/assets/personas/balkrishna_doshi.svg +24 -0
- package/assets/personas/barbara_liskov.svg +24 -0
- package/assets/personas/bartolome_de_las_casas.svg +24 -0
- package/assets/personas/basho.svg +24 -0
- package/assets/personas/basil_great.svg +24 -0
- package/assets/personas/battuta.svg +24 -0
- package/assets/personas/baudelaire.svg +24 -0
- package/assets/personas/baudrillard.svg +24 -0
- package/assets/personas/bayes.svg +24 -0
- package/assets/personas/beatrice_shilling.svg +24 -0
- package/assets/personas/beauvoir.svg +24 -0
- package/assets/personas/beethoven.svg +24 -0
- package/assets/personas/bela_bartok.svg +24 -0
- package/assets/personas/benito_juarez.svg +24 -0
- package/assets/personas/benjamin.svg +24 -0
- package/assets/personas/benjamin_franklin.md +160 -0
- package/assets/personas/benjamin_franklin.svg +24 -0
- package/assets/personas/benjamin_graham.md +144 -0
- package/assets/personas/benjamin_graham.svg +24 -0
- package/assets/personas/berkeley.svg +24 -0
- package/assets/personas/bernard_clairvaux.svg +24 -0
- package/assets/personas/bertolt_brecht.svg +24 -0
- package/assets/personas/bessie_head.svg +24 -0
- package/assets/personas/bf_skinner.svg +24 -0
- package/assets/personas/bhaskara_ii.svg +24 -0
- package/assets/personas/bhumibol_adulyadej.svg +24 -0
- package/assets/personas/bill_bernbach.md +143 -0
- package/assets/personas/bill_bernbach.svg +24 -0
- package/assets/personas/bill_gates.svg +24 -0
- package/assets/personas/bill_hicks.svg +24 -0
- package/assets/personas/bill_murray.svg +24 -0
- package/assets/personas/billie_holiday.svg +24 -0
- package/assets/personas/bo_burnham.svg +24 -0
- package/assets/personas/bob_dylan.svg +24 -0
- package/assets/personas/bob_marley.svg +24 -0
- package/assets/personas/bob_marley_contextual.svg +24 -0
- package/assets/personas/boethius.svg +24 -0
- package/assets/personas/bohr.svg +24 -0
- package/assets/personas/bonaventure.svg +24 -0
- package/assets/personas/bonhoeffer.svg +24 -0
- package/assets/personas/boole.svg +24 -0
- package/assets/personas/borges.svg +24 -0
- package/assets/personas/boudica.svg +24 -0
- package/assets/personas/bourdieu.svg +24 -0
- package/assets/personas/br_ambedkar.svg +24 -0
- package/assets/personas/brahmagupta.svg +24 -0
- package/assets/personas/bronislaw_malinowski.svg +24 -0
- package/assets/personas/buckminster_fuller.svg +24 -0
- package/assets/personas/buddha.svg +24 -0
- package/assets/personas/buddhadasa.svg +24 -0
- package/assets/personas/butler.svg +24 -0
- package/assets/personas/butler_lampson.svg +24 -0
- package/assets/personas/caesar.svg +24 -0
- package/assets/personas/camus.svg +24 -0
- package/assets/personas/cantor.svg +24 -0
- package/assets/personas/cao_xueqin.svg +24 -0
- package/assets/personas/cardano.svg +24 -0
- package/assets/personas/cardinal_richelieu.svg +24 -0
- package/assets/personas/carl_jung.svg +24 -0
- package/assets/personas/carl_linnaeus.svg +24 -0
- package/assets/personas/carlo_scarpa.svg +24 -0
- package/assets/personas/carlos_chagas.svg +24 -0
- package/assets/personas/carlos_fuentes.svg +24 -0
- package/assets/personas/carmack.svg +24 -0
- package/assets/personas/caroline_herschel.svg +24 -0
- package/assets/personas/catherine.svg +24 -0
- package/assets/personas/catherine_siena.svg +24 -0
- package/assets/personas/cathy_freeman.svg +24 -0
- package/assets/personas/cato_younger.md +148 -0
- package/assets/personas/cato_younger.svg +24 -0
- package/assets/personas/cecilia_payne_gaposchkin.svg +24 -0
- package/assets/personas/celia_cruz.svg +24 -0
- package/assets/personas/cesar_chavez.svg +24 -0
- package/assets/personas/cesar_ritz.md +143 -0
- package/assets/personas/cesar_ritz.svg +24 -0
- package/assets/personas/cesar_vallejo.svg +24 -0
- package/assets/personas/cesare_beccaria.svg +24 -0
- package/assets/personas/charles_babbage.md +75 -0
- package/assets/personas/charles_babbage.svg +24 -0
- package/assets/personas/charles_eames.md +142 -0
- package/assets/personas/charles_eames.svg +24 -0
- package/assets/personas/charles_proteus_steinmetz.svg +24 -0
- package/assets/personas/charles_taylor.svg +24 -0
- package/assets/personas/charlotte_bronte.svg +24 -0
- package/assets/personas/charlotte_perriand.svg +24 -0
- package/assets/personas/che_guevara.svg +24 -0
- package/assets/personas/cheikh_anta_diop.svg +24 -0
- package/assets/personas/chien_shiung_wu.svg +24 -0
- package/assets/personas/chikamatsu_monzaemon.svg +24 -0
- package/assets/personas/chinua_achebe.svg +24 -0
- package/assets/personas/chomsky.svg +24 -0
- package/assets/personas/chris_rock.svg +24 -0
- package/assets/personas/christiaan_huygens.svg +24 -0
- package/assets/personas/christopher_alexander.svg +24 -0
- package/assets/personas/christopher_columbus.svg +24 -0
- package/assets/personas/christopher_dresser.svg +24 -0
- package/assets/personas/christopher_nolan.svg +24 -0
- package/assets/personas/christopher_okigbo.svg +24 -0
- package/assets/personas/chung_ju_yung.svg +24 -0
- package/assets/personas/churchill.svg +24 -0
- package/assets/personas/cicero.svg +24 -0
- package/assets/personas/clara_porset.svg +24 -0
- package/assets/personas/clarice_lispector.svg +24 -0
- package/assets/personas/claude_bernard.svg +24 -0
- package/assets/personas/claudio_monteverdi.svg +24 -0
- package/assets/personas/clement_alexandria.svg +24 -0
- package/assets/personas/clifford_geertz.svg +24 -0
- package/assets/personas/coen_brothers.svg +24 -0
- package/assets/personas/coltrane.svg +24 -0
- package/assets/personas/conan_obrien.svg +24 -0
- package/assets/personas/confucius.svg +24 -0
- package/assets/personas/confucius_contextual.svg +24 -0
- package/assets/personas/constance_garnett.md +142 -0
- package/assets/personas/constance_garnett.svg +24 -0
- package/assets/personas/constance_tipper.svg +24 -0
- package/assets/personas/constantin_brancusi.svg +24 -0
- package/assets/personas/constantine_cavafy.svg +24 -0
- package/assets/personas/corazon_aquino.svg +24 -0
- package/assets/personas/cosimo_de_medici.md +147 -0
- package/assets/personas/cosimo_de_medici.svg +24 -0
- package/assets/personas/crazy_horse.svg +24 -0
- package/assets/personas/crazy_horse_contextual.svg +24 -0
- package/assets/personas/creative.svg +24 -0
- package/assets/personas/cristiano_ronaldo.svg +24 -0
- package/assets/personas/cs_lewis.svg +24 -0
- package/assets/personas/curie.md +151 -0
- package/assets/personas/curie.svg +24 -0
- package/assets/personas/curie_contextual.svg +24 -0
- package/assets/personas/curry.svg +24 -0
- package/assets/personas/cv_raman.svg +24 -0
- package/assets/personas/cynthia_dwork.svg +24 -0
- package/assets/personas/cyril_stanley_smith.svg +24 -0
- package/assets/personas/cyrus_great.svg +24 -0
- package/assets/personas/czeslaw_milosz.svg +24 -0
- package/assets/personas/dag_hammarskjold.md +144 -0
- package/assets/personas/dag_hammarskjold.svg +24 -0
- package/assets/personas/dalai_lama.svg +24 -0
- package/assets/personas/dale_carnegie.md +144 -0
- package/assets/personas/dale_carnegie.svg +24 -0
- package/assets/personas/dali.svg +24 -0
- package/assets/personas/daniel_kahneman.md +146 -0
- package/assets/personas/daniel_kahneman.svg +24 -0
- package/assets/personas/dante.svg +24 -0
- package/assets/personas/darwin.md +150 -0
- package/assets/personas/darwin.svg +24 -0
- package/assets/personas/dave_chappelle.svg +24 -0
- package/assets/personas/david_blackwell.svg +24 -0
- package/assets/personas/david_bowie.svg +24 -0
- package/assets/personas/david_chaum.svg +24 -0
- package/assets/personas/david_lynch.svg +24 -0
- package/assets/personas/david_ogilvy.md +135 -0
- package/assets/personas/david_ogilvy.svg +24 -0
- package/assets/personas/david_parnas.svg +24 -0
- package/assets/personas/david_pye.svg +24 -0
- package/assets/personas/david_ricardo.svg +24 -0
- package/assets/personas/davinci.png +0 -0
- package/assets/personas/davis.svg +24 -0
- package/assets/personas/debussy.svg +24 -0
- package/assets/personas/deleuze.svg +24 -0
- package/assets/personas/democritus.svg +24 -0
- package/assets/personas/deng_xiaoping.svg +24 -0
- package/assets/personas/denis_diderot.md +150 -0
- package/assets/personas/denis_diderot.svg +24 -0
- package/assets/personas/denmark_vesey.svg +24 -0
- package/assets/personas/dennis_ritchie.md +70 -0
- package/assets/personas/dennis_ritchie.svg +24 -0
- package/assets/personas/derek_walcott.svg +24 -0
- package/assets/personas/derrida.svg +24 -0
- package/assets/personas/descartes.svg +24 -0
- package/assets/personas/desmond_tutu.svg +24 -0
- package/assets/personas/dhh.svg +24 -0
- package/assets/personas/dickinson.svg +24 -0
- package/assets/personas/diego_maradona.svg +24 -0
- package/assets/personas/diego_rivera.svg +24 -0
- package/assets/personas/diego_velazquez.svg +24 -0
- package/assets/personas/dieter_rams.svg +24 -0
- package/assets/personas/dijkstra.md +50 -0
- package/assets/personas/dijkstra.svg +24 -0
- package/assets/personas/diogenes.svg +24 -0
- package/assets/personas/dmitri_mendeleev.svg +24 -0
- package/assets/personas/dogen.svg +24 -0
- package/assets/personas/dominique_jean_larrey.svg +24 -0
- package/assets/personas/donald_knuth.svg +24 -0
- package/assets/personas/donatello.svg +24 -0
- package/assets/personas/doris_lessing.svg +24 -0
- package/assets/personas/dorothea_lange.svg +24 -0
- package/assets/personas/dorothy_hodgkin.svg +24 -0
- package/assets/personas/dostoevsky.svg +24 -0
- package/assets/personas/douglas_engelbart.md +73 -0
- package/assets/personas/douglas_engelbart.svg +24 -0
- package/assets/personas/douglas_mcgregor.md +145 -0
- package/assets/personas/douglas_mcgregor.svg +24 -0
- package/assets/personas/du_fu.svg +24 -0
- package/assets/personas/duke_ellington.md +146 -0
- package/assets/personas/duke_ellington.svg +24 -0
- package/assets/personas/duke_kahanamoku.svg +24 -0
- package/assets/personas/duns_scotus.svg +24 -0
- package/assets/personas/durkheim.svg +24 -0
- package/assets/personas/eckhart_tolle.svg +24 -0
- package/assets/personas/eddie_murphy.svg +24 -0
- package/assets/personas/edgar_codd.md +74 -0
- package/assets/personas/edgar_codd.svg +24 -0
- package/assets/personas/edith_clarke.svg +24 -0
- package/assets/personas/edmund_burke.svg +24 -0
- package/assets/personas/edmund_hillary.svg +24 -0
- package/assets/personas/edmund_husserl.svg +24 -0
- package/assets/personas/eduardo_galeano.svg +24 -0
- package/assets/personas/edwards_deming.md +149 -0
- package/assets/personas/edwards_deming.svg +24 -0
- package/assets/personas/ee_evans_pritchard.svg +24 -0
- package/assets/personas/eero_saarinen.svg +24 -0
- package/assets/personas/eileen_chang.svg +24 -0
- package/assets/personas/eileen_gray.svg +24 -0
- package/assets/personas/einstein.png +0 -0
- package/assets/personas/eladio_dieste.svg +24 -0
- package/assets/personas/elias_canetti.svg +24 -0
- package/assets/personas/elif_shafak.svg +24 -0
- package/assets/personas/elinor_ostrom.svg +24 -0
- package/assets/personas/eliot.svg +24 -0
- package/assets/personas/elizabeth.svg +24 -0
- package/assets/personas/elizabeth_anscombe.svg +24 -0
- package/assets/personas/ellen_degeneres.svg +24 -0
- package/assets/personas/elon_musk.svg +24 -0
- package/assets/personas/emerson.svg +24 -0
- package/assets/personas/emiliano_zapata.svg +24 -0
- package/assets/personas/emilie_du_chatelet.svg +24 -0
- package/assets/personas/emily_warren_roebling.svg +24 -0
- package/assets/personas/emir_kusturica.svg +24 -0
- package/assets/personas/emma_goldman.svg +24 -0
- package/assets/personas/emmeline_pankhurst.svg +24 -0
- package/assets/personas/emmy_noether.svg +24 -0
- package/assets/personas/empedocles.svg +24 -0
- package/assets/personas/engineer.svg +24 -0
- package/assets/personas/epeli_hauofa.svg +24 -0
- package/assets/personas/epictetus.svg +24 -0
- package/assets/personas/epicurus.svg +24 -0
- package/assets/personas/erasmus.svg +24 -0
- package/assets/personas/eratosthenes.svg +24 -0
- package/assets/personas/erdos.svg +24 -0
- package/assets/personas/eric_williams.svg +24 -0
- package/assets/personas/erich_auerbach.svg +24 -0
- package/assets/personas/ernest_rutherford.svg +24 -0
- package/assets/personas/errol_barrow.svg +24 -0
- package/assets/personas/estee_lauder.md +138 -0
- package/assets/personas/estee_lauder.svg +24 -0
- package/assets/personas/eugene_atget.svg +24 -0
- package/assets/personas/eugene_ionesco.svg +24 -0
- package/assets/personas/euler.svg +24 -0
- package/assets/personas/eva_peron.svg +24 -0
- package/assets/personas/fairuz.svg +24 -0
- package/assets/personas/faiz_ahmad_faiz.svg +24 -0
- package/assets/personas/fanon.svg +24 -0
- package/assets/personas/faraday.svg +24 -0
- package/assets/personas/fazle_hasan_abed.svg +24 -0
- package/assets/personas/fazlur_rahman_khan.svg +24 -0
- package/assets/personas/federico_garcia_lorca.svg +24 -0
- package/assets/personas/fela_kuti.svg +24 -0
- package/assets/personas/felix_houphouet_boigny.svg +24 -0
- package/assets/personas/ferdinand_magellan.svg +24 -0
- package/assets/personas/ferdinand_pecora.md +148 -0
- package/assets/personas/ferdinand_pecora.svg +24 -0
- package/assets/personas/ferdowsi.svg +24 -0
- package/assets/personas/ferenc_puskas.svg +24 -0
- package/assets/personas/fermat.svg +24 -0
- package/assets/personas/fermi.svg +24 -0
- package/assets/personas/fernando_pessoa.svg +24 -0
- package/assets/personas/feynman.md +49 -0
- package/assets/personas/feynman.png +0 -0
- package/assets/personas/filippo_brunelleschi.svg +24 -0
- package/assets/personas/finney.svg +24 -0
- package/assets/personas/forugh_farrokhzad.svg +24 -0
- package/assets/personas/foucault.svg +24 -0
- package/assets/personas/france_preseren.svg +24 -0
- package/assets/personas/frances_allen.svg +24 -0
- package/assets/personas/frances_kelsey.md +152 -0
- package/assets/personas/frances_kelsey.svg +24 -0
- package/assets/personas/frances_perkins.md +154 -0
- package/assets/personas/frances_perkins.svg +24 -0
- package/assets/personas/francesco_datini.md +146 -0
- package/assets/personas/francesco_datini.svg +24 -0
- package/assets/personas/francis.svg +24 -0
- package/assets/personas/francis_bacon.svg +24 -0
- package/assets/personas/francisco_goya.svg +24 -0
- package/assets/personas/frank_knight.md +147 -0
- package/assets/personas/frank_knight.svg +24 -0
- package/assets/personas/frank_lloyd_wright.svg +24 -0
- package/assets/personas/franklin_rosalind.svg +24 -0
- package/assets/personas/franz_boas.svg +24 -0
- package/assets/personas/franz_schubert.svg +24 -0
- package/assets/personas/fred_brooks.svg +24 -0
- package/assets/personas/freddie_mercury.svg +24 -0
- package/assets/personas/frederick_douglass.svg +24 -0
- package/assets/personas/frege.svg +24 -0
- package/assets/personas/frei_otto.svg +24 -0
- package/assets/personas/fridtjof_nansen.svg +24 -0
- package/assets/personas/friedrich_hayek.svg +24 -0
- package/assets/personas/fukuzawa_yukichi.svg +24 -0
- package/assets/personas/gabriel_garcia_marquez.svg +24 -0
- package/assets/personas/gabriel_prosser.svg +24 -0
- package/assets/personas/gabriela_mistral.svg +24 -0
- package/assets/personas/galen.svg +24 -0
- package/assets/personas/galileo.svg +24 -0
- package/assets/personas/galois.svg +24 -0
- package/assets/personas/gandhi.svg +24 -0
- package/assets/personas/gao_xingjian.svg +24 -0
- package/assets/personas/gauss.svg +24 -0
- package/assets/personas/genghis_khan.svg +24 -0
- package/assets/personas/genrich_altshuller.svg +24 -0
- package/assets/personas/geoffrey_bawa.svg +24 -0
- package/assets/personas/geoffrey_hinton.svg +24 -0
- package/assets/personas/george_carlin.svg +24 -0
- package/assets/personas/george_eliot.svg +24 -0
- package/assets/personas/george_fox.svg +24 -0
- package/assets/personas/george_lucas.svg +24 -0
- package/assets/personas/george_martin.md +149 -0
- package/assets/personas/george_martin.svg +24 -0
- package/assets/personas/georges_lemaitre.svg +24 -0
- package/assets/personas/geronimo.svg +24 -0
- package/assets/personas/ghassan_kanafani.svg +24 -0
- package/assets/personas/giambattista_vico.svg +24 -0
- package/assets/personas/gian_lorenzo_bernini.svg +24 -0
- package/assets/personas/gilberto_gil.svg +24 -0
- package/assets/personas/giordano_bruno.svg +24 -0
- package/assets/personas/giotto_di_bondone.svg +24 -0
- package/assets/personas/giuseppe_garibaldi.svg +24 -0
- package/assets/personas/gk_chesterton.svg +24 -0
- package/assets/personas/glenn_gould.svg +24 -0
- package/assets/personas/godel.svg +24 -0
- package/assets/personas/goethe.svg +24 -0
- package/assets/personas/goffman.svg +24 -0
- package/assets/personas/golda_meir.svg +24 -0
- package/assets/personas/goodall.svg +24 -0
- package/assets/personas/gordon_parks.svg +24 -0
- package/assets/personas/gramsci.svg +24 -0
- package/assets/personas/gregor_mendel.svg +24 -0
- package/assets/personas/gregory_bateson.svg +24 -0
- package/assets/personas/gregory_nazianzus.svg +24 -0
- package/assets/personas/gregory_palamas.svg +24 -0
- package/assets/personas/grothendieck.svg +24 -0
- package/assets/personas/guido.svg +24 -0
- package/assets/personas/guillermo_del_toro.svg +24 -0
- package/assets/personas/guru_nanak.svg +24 -0
- package/assets/personas/gustave_flaubert.svg +24 -0
- package/assets/personas/habermas.svg +24 -0
- package/assets/personas/hafez.svg +24 -0
- package/assets/personas/haile_selassie.svg +24 -0
- package/assets/personas/han_feizi.svg +24 -0
- package/assets/personas/hans_kelsen.svg +24 -0
- package/assets/personas/harold_geneen.md +142 -0
- package/assets/personas/harold_geneen.svg +24 -0
- package/assets/personas/harriet_tubman.svg +24 -0
- package/assets/personas/harvey_wiley.md +148 -0
- package/assets/personas/harvey_wiley.svg +24 -0
- package/assets/personas/hassan_fathy.svg +24 -0
- package/assets/personas/hawking.svg +24 -0
- package/assets/personas/hayao_miyazaki.svg +24 -0
- package/assets/personas/hegel.svg +24 -0
- package/assets/personas/henri_cartier_bresson.svg +24 -0
- package/assets/personas/henri_fayol.md +150 -0
- package/assets/personas/henri_fayol.svg +24 -0
- package/assets/personas/henri_matisse.md +143 -0
- package/assets/personas/henri_matisse.svg +24 -0
- package/assets/personas/henrietta_swan_leavitt.svg +24 -0
- package/assets/personas/henrik_ibsen.svg +24 -0
- package/assets/personas/henry_dreyfuss.md +142 -0
- package/assets/personas/henry_dreyfuss.svg +24 -0
- package/assets/personas/henry_dunant.svg +24 -0
- package/assets/personas/henry_maudslay.svg +24 -0
- package/assets/personas/henry_suso.svg +24 -0
- package/assets/personas/henry_the_navigator.svg +24 -0
- package/assets/personas/heraclitus.svg +24 -0
- package/assets/personas/herb_kelleher.md +141 -0
- package/assets/personas/herb_kelleher.svg +24 -0
- package/assets/personas/herbert_simon.md +69 -0
- package/assets/personas/herbert_simon.svg +24 -0
- package/assets/personas/hermann_von_helmholtz.svg +24 -0
- package/assets/personas/herodotus.svg +24 -0
- package/assets/personas/hickey.svg +24 -0
- package/assets/personas/hideki_yukawa.svg +24 -0
- package/assets/personas/hilbert.svg +24 -0
- package/assets/personas/hildegard_bingen.svg +24 -0
- package/assets/personas/hipparchus.svg +24 -0
- package/assets/personas/hippocrates.svg +24 -0
- package/assets/personas/hitchcock.md +152 -0
- package/assets/personas/hitchcock.svg +24 -0
- package/assets/personas/ho_chi_minh.svg +24 -0
- package/assets/personas/hobbes.svg +24 -0
- package/assets/personas/homer.svg +24 -0
- package/assets/personas/hopper.md +52 -3
- package/assets/personas/hopper.svg +24 -0
- package/assets/personas/horkheimer.svg +24 -0
- package/assets/personas/hristo_botev.svg +24 -0
- package/assets/personas/hua_luogeng.svg +24 -0
- package/assets/personas/hubert_dreyfus.svg +24 -0
- package/assets/personas/hugh_victor.svg +24 -0
- package/assets/personas/hugo.svg +24 -0
- package/assets/personas/hugo_grotius.svg +24 -0
- package/assets/personas/huineng.svg +24 -0
- package/assets/personas/humberto_maturana.svg +24 -0
- package/assets/personas/hume.svg +24 -0
- package/assets/personas/hypatia.svg +24 -0
- package/assets/personas/iannis_xenakis.svg +24 -0
- package/assets/personas/ibn_al_haytham.svg +24 -0
- package/assets/personas/ibn_al_nafis.svg +24 -0
- package/assets/personas/ibn_arabi.svg +24 -0
- package/assets/personas/ibn_khaldun.svg +24 -0
- package/assets/personas/ibn_khaldun_contextual.svg +24 -0
- package/assets/personas/ignatius_loyola.svg +24 -0
- package/assets/personas/ignaz_semmelweis.md +150 -0
- package/assets/personas/ignaz_semmelweis.svg +24 -0
- package/assets/personas/im_pei.svg +24 -0
- package/assets/personas/imre_nagy.svg +24 -0
- package/assets/personas/index.json +1 -1
- package/assets/personas/inge_lehmann.svg +24 -0
- package/assets/personas/irenaeus.svg +24 -0
- package/assets/personas/iris_murdoch.svg +24 -0
- package/assets/personas/isabel_allende.svg +24 -0
- package/assets/personas/isaiah_berlin.svg +24 -0
- package/assets/personas/isambard_kingdom_brunel.svg +24 -0
- package/assets/personas/isamu_noguchi.svg +24 -0
- package/assets/personas/ismail_kadare.svg +24 -0
- package/assets/personas/ismat_chughtai.svg +24 -0
- package/assets/personas/ivo_andric.svg +24 -0
- package/assets/personas/j_e_gordon.svg +24 -0
- package/assets/personas/j_willard_marriott.md +138 -0
- package/assets/personas/j_willard_marriott.svg +24 -0
- package/assets/personas/jack_ma.svg +24 -0
- package/assets/personas/jacob_bernoulli.svg +24 -0
- package/assets/personas/jacob_boehme.svg +24 -0
- package/assets/personas/jacques_cousteau.svg +24 -0
- package/assets/personas/jagadish_chandra_bose.svg +24 -0
- package/assets/personas/jakob_fugger.md +147 -0
- package/assets/personas/jakob_fugger.svg +24 -0
- package/assets/personas/james_cameron.svg +24 -0
- package/assets/personas/james_hutton.svg +24 -0
- package/assets/personas/james_murray.md +145 -0
- package/assets/personas/james_murray.svg +24 -0
- package/assets/personas/james_watt.svg +24 -0
- package/assets/personas/jamsetji_tata.svg +24 -0
- package/assets/personas/jan_van_ruusbroec.svg +24 -0
- package/assets/personas/jane_addams.md +155 -0
- package/assets/personas/jane_addams.svg +24 -0
- package/assets/personas/jane_austen.svg +24 -0
- package/assets/personas/janis_joplin.svg +24 -0
- package/assets/personas/jcr_licklider.md +71 -0
- package/assets/personas/jcr_licklider.svg +24 -0
- package/assets/personas/jean_jacques_dessalines.svg +24 -0
- package/assets/personas/jean_michel_basquiat.svg +24 -0
- package/assets/personas/jean_monnet.md +149 -0
- package/assets/personas/jean_monnet.svg +24 -0
- package/assets/personas/jean_piaget.svg +24 -0
- package/assets/personas/jeff_bezos.svg +24 -0
- package/assets/personas/jeremy_bentham.svg +24 -0
- package/assets/personas/jerome.md +150 -0
- package/assets/personas/jerome.svg +24 -0
- package/assets/personas/jerry_seinfeld.svg +24 -0
- package/assets/personas/jesus.svg +24 -0
- package/assets/personas/jimi_hendrix.svg +24 -0
- package/assets/personas/jiro_horikoshi.svg +24 -0
- package/assets/personas/jk_rowling.svg +24 -0
- package/assets/personas/joan_rivers.svg +24 -0
- package/assets/personas/jobs.md +50 -1
- package/assets/personas/jobs.svg +24 -0
- package/assets/personas/joe_armstrong.md +67 -0
- package/assets/personas/joe_armstrong.svg +24 -0
- package/assets/personas/johannes_tauler.svg +24 -0
- package/assets/personas/john_backus.md +71 -0
- package/assets/personas/john_backus.svg +24 -0
- package/assets/personas/john_brown.svg +24 -0
- package/assets/personas/john_cage.svg +24 -0
- package/assets/personas/john_calvin.svg +24 -0
- package/assets/personas/john_chrysostom.svg +24 -0
- package/assets/personas/john_cleese.svg +24 -0
- package/assets/personas/john_cross.svg +24 -0
- package/assets/personas/john_d_rockefeller.md +147 -0
- package/assets/personas/john_d_rockefeller.svg +24 -0
- package/assets/personas/john_damascene.svg +24 -0
- package/assets/personas/john_dewey.md +147 -0
- package/assets/personas/john_dewey.svg +24 -0
- package/assets/personas/john_maynard_keynes.md +145 -0
- package/assets/personas/john_maynard_keynes.svg +24 -0
- package/assets/personas/john_mccarthy.svg +24 -0
- package/assets/personas/john_mulaney.svg +24 -0
- package/assets/personas/john_smeaton.svg +24 -0
- package/assets/personas/john_snow.svg +24 -0
- package/assets/personas/john_stuart_mill.svg +24 -0
- package/assets/personas/john_tukey.md +147 -0
- package/assets/personas/john_tukey.svg +24 -0
- package/assets/personas/john_wanamaker.md +143 -0
- package/assets/personas/john_wanamaker.svg +24 -0
- package/assets/personas/john_wesley.svg +24 -0
- package/assets/personas/johnny_cash.svg +24 -0
- package/assets/personas/johnny_ventura.svg +24 -0
- package/assets/personas/jon_postel.md +72 -0
- package/assets/personas/jon_postel.svg +24 -0
- package/assets/personas/jon_stewart.svg +24 -0
- package/assets/personas/jonathan_swift.svg +24 -0
- package/assets/personas/jose_marti.svg +24 -0
- package/assets/personas/jose_mujica.svg +24 -0
- package/assets/personas/jose_rizal.svg +24 -0
- package/assets/personas/joseph_bazalgette.svg +24 -0
- package/assets/personas/joseph_brodsky.svg +24 -0
- package/assets/personas/joseph_juran.md +148 -0
- package/assets/personas/joseph_juran.svg +24 -0
- package/assets/personas/joseph_schumpeter.svg +24 -0
- package/assets/personas/joseph_smith.svg +24 -0
- package/assets/personas/joseph_weizenbaum.svg +24 -0
- package/assets/personas/josiah_wedgwood.md +148 -0
- package/assets/personas/josiah_wedgwood.svg +24 -0
- package/assets/personas/joyce.svg +24 -0
- package/assets/personas/jp_morgan.md +142 -0
- package/assets/personas/jp_morgan.svg +24 -0
- package/assets/personas/juan_bosch.svg +24 -0
- package/assets/personas/judea_pearl.svg +24 -0
- package/assets/personas/julia_margaret_cameron.svg +24 -0
- package/assets/personas/julia_robinson.svg +24 -0
- package/assets/personas/julian_norwich.svg +24 -0
- package/assets/personas/julio_cortazar.svg +24 -0
- package/assets/personas/julius_nyerere.svg +24 -0
- package/assets/personas/junichiro_tanizaki.svg +24 -0
- package/assets/personas/junko_tabei.svg +24 -0
- package/assets/personas/jyotirao_phule.svg +24 -0
- package/assets/personas/kabir.svg +24 -0
- package/assets/personas/kafka.svg +24 -0
- package/assets/personas/kahlo.png +0 -0
- package/assets/personas/kalidasa.svg +24 -0
- package/assets/personas/kamo_no_chomei.svg +24 -0
- package/assets/personas/kant.svg +24 -0
- package/assets/personas/kaoru_ishikawa.md +144 -0
- package/assets/personas/kaoru_ishikawa.svg +24 -0
- package/assets/personas/karen_sparck_jones.svg +24 -0
- package/assets/personas/karl_jaspers.svg +24 -0
- package/assets/personas/karl_marx.svg +24 -0
- package/assets/personas/karl_polanyi.svg +24 -0
- package/assets/personas/karl_popper.svg +24 -0
- package/assets/personas/karl_terzaghi.svg +24 -0
- package/assets/personas/kartini.svg +24 -0
- package/assets/personas/kateb_yacine.svg +24 -0
- package/assets/personas/katherine_dunham.svg +24 -0
- package/assets/personas/katherine_mansfield.svg +24 -0
- package/assets/personas/katsushika_hokusai.md +142 -0
- package/assets/personas/katsushika_hokusai.svg +24 -0
- package/assets/personas/kazi_nazrul_islam.svg +24 -0
- package/assets/personas/kelly_johnson.svg +24 -0
- package/assets/personas/kenji_ekuan.svg +24 -0
- package/assets/personas/kenzaburo_oe.svg +24 -0
- package/assets/personas/kepler.svg +24 -0
- package/assets/personas/kevin_hart.svg +24 -0
- package/assets/personas/khalil_gibran.svg +24 -0
- package/assets/personas/kierkegaard.svg +24 -0
- package/assets/personas/kiyosi_ito.svg +24 -0
- package/assets/personas/kofi_annan.svg +24 -0
- package/assets/personas/kolmogorov.svg +24 -0
- package/assets/personas/konrad_zuse.svg +24 -0
- package/assets/personas/kovalevskaya.svg +24 -0
- package/assets/personas/kunihiko_fukushima.svg +24 -0
- package/assets/personas/kurosawa.md +149 -0
- package/assets/personas/kurosawa.png +0 -0
- package/assets/personas/kurt_cobain.svg +24 -0
- package/assets/personas/kurt_lewin.md +150 -0
- package/assets/personas/kurt_lewin.svg +24 -0
- package/assets/personas/kwame_nkrumah.svg +24 -0
- package/assets/personas/kwasi_wiredu.svg +24 -0
- package/assets/personas/langston_hughes.svg +24 -0
- package/assets/personas/laozi.svg +24 -0
- package/assets/personas/laozi_contextual.svg +24 -0
- package/assets/personas/laplace.svg +24 -0
- package/assets/personas/larry_david.svg +24 -0
- package/assets/personas/larry_page.svg +24 -0
- package/assets/personas/lawrence.svg +24 -0
- package/assets/personas/le_corbusier.svg +24 -0
- package/assets/personas/lebron_james.svg +24 -0
- package/assets/personas/lech_walesa.svg +24 -0
- package/assets/personas/lee_kuan_yew.svg +24 -0
- package/assets/personas/leibniz.svg +24 -0
- package/assets/personas/leo_burnett.md +143 -0
- package/assets/personas/leo_burnett.svg +24 -0
- package/assets/personas/leo_strauss.svg +24 -0
- package/assets/personas/leon_trotsky.svg +24 -0
- package/assets/personas/leopold_senghor.svg +24 -0
- package/assets/personas/leslie_lamport.svg +24 -0
- package/assets/personas/lev_vygotsky.svg +24 -0
- package/assets/personas/levi_strauss.svg +24 -0
- package/assets/personas/li_bai.svg +24 -0
- package/assets/personas/li_hongzhang.svg +24 -0
- package/assets/personas/li_qingzhao.svg +24 -0
- package/assets/personas/li_shizhen.svg +24 -0
- package/assets/personas/lillian_gilbreth.md +152 -0
- package/assets/personas/lillian_gilbreth.svg +24 -0
- package/assets/personas/lina_bo_bardi.svg +24 -0
- package/assets/personas/lincoln.svg +24 -0
- package/assets/personas/linus_pauling.svg +24 -0
- package/assets/personas/lionel_messi.svg +24 -0
- package/assets/personas/lise_meitner.svg +24 -0
- package/assets/personas/liu_hui.svg +24 -0
- package/assets/personas/lobachevsky.svg +24 -0
- package/assets/personas/locke.svg +24 -0
- package/assets/personas/louis_armstrong.svg +24 -0
- package/assets/personas/louis_brandeis.md +150 -0
- package/assets/personas/louis_brandeis.svg +24 -0
- package/assets/personas/louis_ck.svg +24 -0
- package/assets/personas/louis_kahn.svg +24 -0
- package/assets/personas/louis_pasteur.svg +24 -0
- package/assets/personas/louise_bourgeois.svg +24 -0
- package/assets/personas/lu_xun.svg +24 -0
- package/assets/personas/lucretius.svg +24 -0
- package/assets/personas/ludwig_boltzmann.svg +24 -0
- package/assets/personas/ludwig_erhard.svg +24 -0
- package/assets/personas/ludwig_prandtl.svg +24 -0
- package/assets/personas/luis_barragan.svg +24 -0
- package/assets/personas/luis_munoz_marin.svg +24 -0
- package/assets/personas/luther.svg +24 -0
- package/assets/personas/lynn_conway.svg +24 -0
- package/assets/personas/m_visvesvaraya.svg +24 -0
- package/assets/personas/machado_de_assis.svg +24 -0
- package/assets/personas/machiavelli.svg +24 -0
- package/assets/personas/macintyre.svg +24 -0
- package/assets/personas/madhava.svg +24 -0
- package/assets/personas/madonna.svg +24 -0
- package/assets/personas/mahalanobis.svg +24 -0
- package/assets/personas/mahathir_mohamad.svg +24 -0
- package/assets/personas/mahler.svg +24 -0
- package/assets/personas/mahmoud_darwish.svg +24 -0
- package/assets/personas/maimonides.svg +24 -0
- package/assets/personas/malcolm_x.svg +24 -0
- package/assets/personas/malcom_mclean.md +145 -0
- package/assets/personas/malcom_mclean.svg +24 -0
- package/assets/personas/mandela.svg +24 -0
- package/assets/personas/mandela_contextual.svg +24 -0
- package/assets/personas/mandelbrot.svg +24 -0
- package/assets/personas/mani.svg +24 -0
- package/assets/personas/marcel_mauss.svg +24 -0
- package/assets/personas/marcus_aurelius.svg +24 -0
- package/assets/personas/marcus_aurelius_contextual.svg +24 -0
- package/assets/personas/marcus_garvey.svg +24 -0
- package/assets/personas/marcuse.svg +24 -0
- package/assets/personas/margaret_hamilton.svg +24 -0
- package/assets/personas/maria_montessori.md +147 -0
- package/assets/personas/maria_montessori.svg +24 -0
- package/assets/personas/maria_sibylla_merian.svg +24 -0
- package/assets/personas/mariama_ba.svg +24 -0
- package/assets/personas/marianne_brandt.svg +24 -0
- package/assets/personas/marie_tharp.svg +24 -0
- package/assets/personas/marina_tsvetaeva.svg +24 -0
- package/assets/personas/mario_vargas_llosa.svg +24 -0
- package/assets/personas/mark_zuckerberg.svg +24 -0
- package/assets/personas/markov.svg +24 -0
- package/assets/personas/marshall_field.md +142 -0
- package/assets/personas/marshall_field.svg +24 -0
- package/assets/personas/martha_graham.svg +24 -0
- package/assets/personas/martha_nussbaum.svg +24 -0
- package/assets/personas/mary_anning.svg +24 -0
- package/assets/personas/mary_baker_eddy.svg +24 -0
- package/assets/personas/mary_douglas.svg +24 -0
- package/assets/personas/mary_parker_follett.md +146 -0
- package/assets/personas/mary_parker_follett.svg +24 -0
- package/assets/personas/mary_shelley.svg +24 -0
- package/assets/personas/mary_wollstonecraft.svg +24 -0
- package/assets/personas/massimo_vignelli.md +141 -0
- package/assets/personas/massimo_vignelli.svg +24 -0
- package/assets/personas/mau_piailug.svg +24 -0
- package/assets/personas/maximus_confessor.svg +24 -0
- package/assets/personas/maxwell.svg +24 -0
- package/assets/personas/mcclintock.svg +24 -0
- package/assets/personas/meister_eckhart.svg +24 -0
- package/assets/personas/mencius.svg +24 -0
- package/assets/personas/mentor.svg +24 -0
- package/assets/personas/merce_cunningham.svg +24 -0
- package/assets/personas/merleau_ponty.svg +24 -0
- package/assets/personas/michael_jordan.svg +24 -0
- package/assets/personas/michael_somare.svg +24 -0
- package/assets/personas/michelangelo.svg +24 -0
- package/assets/personas/michelangelo_contextual.svg +24 -0
- package/assets/personas/mies_van_der_rohe.svg +24 -0
- package/assets/personas/miguel_angel_asturias.svg +24 -0
- package/assets/personas/miguel_de_cervantes.svg +24 -0
- package/assets/personas/mikhail_bakhtin.svg +24 -0
- package/assets/personas/mikhail_bakunin.svg +24 -0
- package/assets/personas/milan_kundera.svg +24 -0
- package/assets/personas/mimar_sinan.svg +24 -0
- package/assets/personas/mindy_kaling.svg +24 -0
- package/assets/personas/mirabai.svg +24 -0
- package/assets/personas/mircea_eliade.svg +24 -0
- package/assets/personas/miriam_makeba.svg +24 -0
- package/assets/personas/miroslav_krleza.svg +24 -0
- package/assets/personas/mirza_ghalib.svg +24 -0
- package/assets/personas/mirzakhani.svg +24 -0
- package/assets/personas/mlk.svg +24 -0
- package/assets/personas/mo_yan.svg +24 -0
- package/assets/personas/mohamed_choukri.svg +24 -0
- package/assets/personas/mohammad_mossadegh.svg +24 -0
- package/assets/personas/monet.svg +24 -0
- package/assets/personas/montaigne.svg +24 -0
- package/assets/personas/montesquieu.svg +24 -0
- package/assets/personas/montgomery_meigs.md +146 -0
- package/assets/personas/montgomery_meigs.svg +24 -0
- package/assets/personas/morrison.svg +24 -0
- package/assets/personas/moses.svg +24 -0
- package/assets/personas/mozart.svg +24 -0
- package/assets/personas/muhammad.svg +24 -0
- package/assets/personas/muhammad_ali.svg +24 -0
- package/assets/personas/muhammad_ali_jinnah.svg +24 -0
- package/assets/personas/muhammad_iqbal.svg +24 -0
- package/assets/personas/murakami.svg +24 -0
- package/assets/personas/murasaki_shikibu.svg +24 -0
- package/assets/personas/mustafa_kemal_ataturk.svg +24 -0
- package/assets/personas/nadia_boulanger.svg +24 -0
- package/assets/personas/nadine_gordimer.svg +24 -0
- package/assets/personas/nagarjuna.svg +24 -0
- package/assets/personas/naguib_mahfouz.svg +24 -0
- package/assets/personas/nancy_lynch.svg +24 -0
- package/assets/personas/napoleon.svg +24 -0
- package/assets/personas/nasir_al_din_al_tusi.svg +24 -0
- package/assets/personas/nat_turner.svg +24 -0
- package/assets/personas/natsume_soseki.svg +24 -0
- package/assets/personas/nazim_hikmet.svg +24 -0
- package/assets/personas/neil_armstrong.svg +24 -0
- package/assets/personas/neruda.svg +24 -0
- package/assets/personas/neruda_contextual.svg +24 -0
- package/assets/personas/newton.svg +24 -0
- package/assets/personas/ngugi_wa_thiongo.svg +24 -0
- package/assets/personas/nguyen_du.svg +24 -0
- package/assets/personas/nick_joaquin.svg +24 -0
- package/assets/personas/nicole_oresme.svg +24 -0
- package/assets/personas/nietzsche.svg +24 -0
- package/assets/personas/nightingale.md +153 -0
- package/assets/personas/nightingale.svg +24 -0
- package/assets/personas/niklaus_wirth.svg +24 -0
- package/assets/personas/nina_simone.svg +24 -0
- package/assets/personas/nishida_kitaro.svg +24 -0
- package/assets/personas/nizam_al_mulk.svg +24 -0
- package/assets/personas/nizami.svg +24 -0
- package/assets/personas/nizar_qabbani.svg +24 -0
- package/assets/personas/norbert_wiener.md +74 -0
- package/assets/personas/norbert_wiener.svg +24 -0
- package/assets/personas/norodom_sihanouk.svg +24 -0
- package/assets/personas/north-star.svg +24 -0
- package/assets/personas/novak_djokovic.svg +24 -0
- package/assets/personas/nusrat_fateh_ali_khan.svg +24 -0
- package/assets/personas/octavio_paz.svg +24 -0
- package/assets/personas/okeeffe.svg +24 -0
- package/assets/personas/okot_p_bitek.svg +24 -0
- package/assets/personas/okubo_toshimichi.svg +24 -0
- package/assets/personas/oliver_heaviside.svg +24 -0
- package/assets/personas/oliver_wendell_holmes.md +146 -0
- package/assets/personas/oliver_wendell_holmes.svg +24 -0
- package/assets/personas/olympe_de_gouges.svg +24 -0
- package/assets/personas/omar_khayyam.svg +24 -0
- package/assets/personas/oodgeroo_noonuccal.svg +24 -0
- package/assets/personas/oprah_winfrey.svg +24 -0
- package/assets/personas/orhan_pamuk.svg +24 -0
- package/assets/personas/origen.svg +24 -0
- package/assets/personas/oscar_niemeyer.svg +24 -0
- package/assets/personas/osip_mandelstam.svg +24 -0
- package/assets/personas/otto_von_bismarck.md +152 -0
- package/assets/personas/otto_von_bismarck.svg +24 -0
- package/assets/personas/ousmane_sembene.svg +24 -0
- package/assets/personas/ove_arup.svg +24 -0
- package/assets/personas/p_ramlee.svg +24 -0
- package/assets/personas/paglia.svg +24 -0
- package/assets/personas/pancho_villa.svg +24 -0
- package/assets/personas/parmenides.svg +24 -0
- package/assets/personas/pascal.md +155 -0
- package/assets/personas/pascal.svg +24 -0
- package/assets/personas/patrice_lumumba.svg +24 -0
- package/assets/personas/patrick_white.svg +24 -0
- package/assets/personas/paul_apostle.svg +24 -0
- package/assets/personas/paul_cezanne.svg +24 -0
- package/assets/personas/paul_dirac.svg +24 -0
- package/assets/personas/paul_farmer.svg +24 -0
- package/assets/personas/paul_gauguin.svg +24 -0
- package/assets/personas/paul_klee.svg +24 -0
- package/assets/personas/paul_thomas_anderson.svg +24 -0
- package/assets/personas/paulo_freire.svg +24 -0
- package/assets/personas/peirce.svg +24 -0
- package/assets/personas/pele.svg +24 -0
- package/assets/personas/peter_drucker.md +151 -0
- package/assets/personas/peter_drucker.svg +24 -0
- package/assets/personas/peter_jackson.svg +24 -0
- package/assets/personas/peter_naur.svg +24 -0
- package/assets/personas/peter_rice.svg +24 -0
- package/assets/personas/peter_thiel.svg +24 -0
- package/assets/personas/peterson.svg +24 -0
- package/assets/personas/philip_johnson.svg +24 -0
- package/assets/personas/picasso.md +142 -0
- package/assets/personas/picasso.png +0 -0
- package/assets/personas/pier_luigi_nervi.svg +24 -0
- package/assets/personas/pike.svg +24 -0
- package/assets/personas/pina_bausch.svg +24 -0
- package/assets/personas/planck.svg +24 -0
- package/assets/personas/plato.svg +24 -0
- package/assets/personas/plotinus.svg +24 -0
- package/assets/personas/plutarch.svg +24 -0
- package/assets/personas/poincare.svg +24 -0
- package/assets/personas/polo.svg +24 -0
- package/assets/personas/polya.svg +24 -0
- package/assets/personas/pramoedya_ananta_toer.svg +24 -0
- package/assets/personas/premchand.svg +24 -0
- package/assets/personas/prince.svg +24 -0
- package/assets/personas/proust.svg +24 -0
- package/assets/personas/pseudo_dionysius.svg +24 -0
- package/assets/personas/ptolemy.svg +24 -0
- package/assets/personas/pythagoras.svg +24 -0
- package/assets/personas/qian_xuesen.svg +24 -0
- package/assets/personas/qu_yuan.svg +24 -0
- package/assets/personas/queen_liliuokalani.svg +24 -0
- package/assets/personas/queen_nzinga.svg +24 -0
- package/assets/personas/queen_rania.svg +24 -0
- package/assets/personas/queen_salote_tupou_iii.svg +24 -0
- package/assets/personas/quincy_jones.md +146 -0
- package/assets/personas/quincy_jones.svg +24 -0
- package/assets/personas/rabia_al_adawiyya.svg +24 -0
- package/assets/personas/radia_perlman.svg +24 -0
- package/assets/personas/raimonds_pauls.svg +24 -0
- package/assets/personas/raj_reddy.svg +24 -0
- package/assets/personas/ralph_ellison.svg +24 -0
- package/assets/personas/ralph_merkle.svg +24 -0
- package/assets/personas/ram_mohan_roy.svg +24 -0
- package/assets/personas/ramanuja.svg +24 -0
- package/assets/personas/ramanujan.svg +24 -0
- package/assets/personas/rani_lakshmibai.svg +24 -0
- package/assets/personas/ratu_sir_kamisese_mara.svg +24 -0
- package/assets/personas/raul_prebisch.svg +24 -0
- package/assets/personas/ravi_shankar.svg +24 -0
- package/assets/personas/raymond_loewy.svg +24 -0
- package/assets/personas/rembrandt.svg +24 -0
- package/assets/personas/richard_pryor.svg +24 -0
- package/assets/personas/richard_rorty.svg +24 -0
- package/assets/personas/richard_sutton.svg +24 -0
- package/assets/personas/richard_victor.svg +24 -0
- package/assets/personas/richard_wright.svg +24 -0
- package/assets/personas/ricky_gervais.svg +24 -0
- package/assets/personas/ridley_scott.svg +24 -0
- package/assets/personas/riemann.svg +24 -0
- package/assets/personas/rigoberta_menchu.svg +24 -0
- package/assets/personas/rihanna.svg +24 -0
- package/assets/personas/rita_levi_montalcini.svg +24 -0
- package/assets/personas/roald_amundsen.svg +24 -0
- package/assets/personas/robert_boyle.svg +24 -0
- package/assets/personas/robert_bresson.svg +24 -0
- package/assets/personas/robert_hooke.svg +24 -0
- package/assets/personas/robert_koch.svg +24 -0
- package/assets/personas/roberto_bolano.svg +24 -0
- package/assets/personas/roberto_clemente.svg +24 -0
- package/assets/personas/robin_milner.svg +24 -0
- package/assets/personas/robin_williams.svg +24 -0
- package/assets/personas/roger_federer.svg +24 -0
- package/assets/personas/romulo_gallegos.svg +24 -0
- package/assets/personas/ronald_fisher.svg +24 -0
- package/assets/personas/rosa_luxemburg.svg +24 -0
- package/assets/personas/rosa_parks.svg +24 -0
- package/assets/personas/rousseau.svg +24 -0
- package/assets/personas/ruben_dario.svg +24 -0
- package/assets/personas/rudolf_laban.svg +24 -0
- package/assets/personas/rudolf_virchow.svg +24 -0
- package/assets/personas/rumi.svg +24 -0
- package/assets/personas/rumi_contextual.svg +24 -0
- package/assets/personas/russell.svg +24 -0
- package/assets/personas/ruth_benedict.svg +24 -0
- package/assets/personas/saadat_hasan_manto.svg +24 -0
- package/assets/personas/saadi.svg +24 -0
- package/assets/personas/sadegh_hedayat.svg +24 -0
- package/assets/personas/sadi_carnot.svg +24 -0
- package/assets/personas/sagan.svg +24 -0
- package/assets/personas/said.svg +24 -0
- package/assets/personas/salk.svg +24 -0
- package/assets/personas/salman_rushdie.svg +24 -0
- package/assets/personas/salvador_allende.svg +24 -0
- package/assets/personas/sam_walton.md +145 -0
- package/assets/personas/sam_walton.svg +24 -0
- package/assets/personas/samora_machel.svg +24 -0
- package/assets/personas/samuel_beckett.svg +24 -0
- package/assets/personas/samuel_johnson.md +152 -0
- package/assets/personas/samuel_johnson.svg +24 -0
- package/assets/personas/santiago_ramon_y_cajal.svg +24 -0
- package/assets/personas/sappho.svg +24 -0
- package/assets/personas/sarah_silverman.svg +24 -0
- package/assets/personas/sartre.svg +24 -0
- package/assets/personas/satoshi.svg +24 -0
- package/assets/personas/satya_nadella.svg +24 -0
- package/assets/personas/satyajit_ray.svg +24 -0
- package/assets/personas/schopenhauer.svg +24 -0
- package/assets/personas/scorsese.svg +24 -0
- package/assets/personas/seamus_heaney.svg +24 -0
- package/assets/personas/sei_shonagon.svg +24 -0
- package/assets/personas/seki_takakazu.svg +24 -0
- package/assets/personas/seneca.svg +24 -0
- package/assets/personas/serena_williams.svg +24 -0
- package/assets/personas/seretse_khama.svg +24 -0
- package/assets/personas/sergei_eisenstein.svg +24 -0
- package/assets/personas/sergei_korolev.svg +24 -0
- package/assets/personas/sergey_brin.svg +24 -0
- package/assets/personas/sesshu_toyo.svg +24 -0
- package/assets/personas/seydou_keita.svg +24 -0
- package/assets/personas/seymour_papert.md +145 -0
- package/assets/personas/seymour_papert.svg +24 -0
- package/assets/personas/shackleton.svg +24 -0
- package/assets/personas/shafi_goldwasser.svg +24 -0
- package/assets/personas/shaka_zulu.svg +24 -0
- package/assets/personas/shakespeare.svg +24 -0
- package/assets/personas/shakira.svg +24 -0
- package/assets/personas/shannon.md +72 -0
- package/assets/personas/shannon.svg +24 -0
- package/assets/personas/sheikh_mujibur_rahman.svg +24 -0
- package/assets/personas/shen_congwen.svg +24 -0
- package/assets/personas/shen_kuo.svg +24 -0
- package/assets/personas/sheryl_sandberg.svg +24 -0
- package/assets/personas/shibusawa_eiichi.svg +24 -0
- package/assets/personas/shitao.svg +24 -0
- package/assets/personas/sigmund_freud.svg +24 -0
- package/assets/personas/sima_guang.svg +24 -0
- package/assets/personas/sima_qian.svg +24 -0
- package/assets/personas/simon_bolivar.svg +24 -0
- package/assets/personas/simone_biles.svg +24 -0
- package/assets/personas/simone_weil.svg +24 -0
- package/assets/personas/sirimavo_bandaranaike.svg +24 -0
- package/assets/personas/sitting_bull.svg +24 -0
- package/assets/personas/sitting_bull_contextual.svg +24 -0
- package/assets/personas/socrates.svg +24 -0
- package/assets/personas/sofia_coppola.svg +24 -0
- package/assets/personas/sojourner_truth.svg +24 -0
- package/assets/personas/sol_plaatje.svg +24 -0
- package/assets/personas/sontag.svg +24 -0
- package/assets/personas/sophie_germain.svg +24 -0
- package/assets/personas/sophocles.svg +24 -0
- package/assets/personas/sor_juana_ines_de_la_cruz.svg +24 -0
- package/assets/personas/sori_yanagi.svg +24 -0
- package/assets/personas/spartacus.svg +24 -0
- package/assets/personas/spielberg.svg +24 -0
- package/assets/personas/spinoza.svg +24 -0
- package/assets/personas/sri_ramakrishna.svg +24 -0
- package/assets/personas/stafford_beer.svg +24 -0
- package/assets/personas/stanley_kubrick.md +148 -0
- package/assets/personas/stanley_kubrick.svg +24 -0
- package/assets/personas/stanley_marcus.md +141 -0
- package/assets/personas/stanley_marcus.svg +24 -0
- package/assets/personas/stephanie_kwolek.svg +24 -0
- package/assets/personas/stephen_colbert.svg +24 -0
- package/assets/personas/steve_biko.svg +24 -0
- package/assets/personas/steve_carell.svg +24 -0
- package/assets/personas/steve_jobs.svg +24 -0
- package/assets/personas/steve_martin.svg +24 -0
- package/assets/personas/stravinsky.svg +24 -0
- package/assets/personas/su_shi.svg +24 -0
- package/assets/personas/su_song.svg +24 -0
- package/assets/personas/subrahmanyan_chandrasekhar.svg +24 -0
- package/assets/personas/sukarno.svg +24 -0
- package/assets/personas/sultan_hasanuddin.svg +24 -0
- package/assets/personas/sun_yat_sen.svg +24 -0
- package/assets/personas/sundar_pichai.svg +24 -0
- package/assets/personas/sundiata_keita.svg +24 -0
- package/assets/personas/susan_b_anthony.svg +24 -0
- package/assets/personas/swedenborg.svg +24 -0
- package/assets/personas/sylvia_plath.svg +24 -0
- package/assets/personas/symeon_theologian.svg +24 -0
- package/assets/personas/tacitus.svg +24 -0
- package/assets/personas/tadao_ando.svg +24 -0
- package/assets/personas/tagore.svg +24 -0
- package/assets/personas/taha_hussein.svg +24 -0
- package/assets/personas/taher_elgamal.svg +24 -0
- package/assets/personas/taiichi_ohno.md +141 -0
- package/assets/personas/taiichi_ohno.svg +24 -0
- package/assets/personas/talcott_parsons.svg +24 -0
- package/assets/personas/tao_yuanming.svg +24 -0
- package/assets/personas/tarantino.svg +24 -0
- package/assets/personas/tarsila_do_amaral.svg +24 -0
- package/assets/personas/tarski.svg +24 -0
- package/assets/personas/tatsumi_hijikata.svg +24 -0
- package/assets/personas/tayeb_salih.svg +24 -0
- package/assets/personas/tecumseh.svg +24 -0
- package/assets/personas/tenzing_norgay.svg +24 -0
- package/assets/personas/teresa_avila.svg +24 -0
- package/assets/personas/tertullian.svg +24 -0
- package/assets/personas/tesla.svg +24 -0
- package/assets/personas/thales.svg +24 -0
- package/assets/personas/thelonious_monk.svg +24 -0
- package/assets/personas/thich_nhat_hanh.svg +24 -0
- package/assets/personas/thomas_kuhn.svg +24 -0
- package/assets/personas/thomas_merton.svg +24 -0
- package/assets/personas/thomas_paine.svg +24 -0
- package/assets/personas/thomas_sankara.svg +24 -0
- package/assets/personas/thomas_telford.svg +24 -0
- package/assets/personas/thomas_watson.md +142 -0
- package/assets/personas/thomas_watson.svg +24 -0
- package/assets/personas/thor_heyerdahl.svg +24 -0
- package/assets/personas/thoreau.svg +24 -0
- package/assets/personas/thorstein_veblen.svg +24 -0
- package/assets/personas/thucydides.svg +24 -0
- package/assets/personas/thurgood_marshall.md +149 -0
- package/assets/personas/thurgood_marshall.svg +24 -0
- package/assets/personas/tiger_woods.svg +24 -0
- package/assets/personas/tim_burton.svg +24 -0
- package/assets/personas/tina_fey.svg +24 -0
- package/assets/personas/tolstoy.svg +24 -0
- package/assets/personas/tom_brady.svg +24 -0
- package/assets/personas/tomas_garrigue_masaryk.svg +24 -0
- package/assets/personas/tony_hoare.svg +24 -0
- package/assets/personas/toru_takemitsu.svg +24 -0
- package/assets/personas/torvalds.svg +24 -0
- package/assets/personas/toussaint_louverture.svg +24 -0
- package/assets/personas/tpope.svg +24 -0
- package/assets/personas/trevor_noah.svg +24 -0
- package/assets/personas/tsongkhapa.svg +24 -0
- package/assets/personas/tulsidas.svg +24 -0
- package/assets/personas/turing.md +50 -1
- package/assets/personas/turing.svg +24 -0
- package/assets/personas/tycho_brahe.svg +24 -0
- package/assets/personas/u_thant.svg +24 -0
- package/assets/personas/um_kulthum.svg +24 -0
- package/assets/personas/usain_bolt.svg +24 -0
- package/assets/personas/vaclav_havel.svg +24 -0
- package/assets/personas/valmiki.svg +24 -0
- package/assets/personas/vangogh.svg +24 -0
- package/assets/personas/vannevar_bush.md +151 -0
- package/assets/personas/vannevar_bush.svg +24 -0
- package/assets/personas/vauban.svg +24 -0
- package/assets/personas/vera_rubin.svg +24 -0
- package/assets/personas/verghese_kurien.svg +24 -0
- package/assets/personas/victor_papanek.svg +24 -0
- package/assets/personas/viktor_frankl.svg +24 -0
- package/assets/personas/violeta_parra.svg +24 -0
- package/assets/personas/virginia_woolf.svg +24 -0
- package/assets/personas/virginia_woolf_contextual.svg +24 -0
- package/assets/personas/vivekananda.svg +24 -0
- package/assets/personas/voltaire.svg +24 -0
- package/assets/personas/vonneumann.svg +24 -0
- package/assets/personas/vs_naipaul.svg +24 -0
- package/assets/personas/vyasa.svg +24 -0
- package/assets/personas/vytautas_landsbergis.svg +24 -0
- package/assets/personas/walt_disney.md +144 -0
- package/assets/personas/walt_disney.svg +24 -0
- package/assets/personas/walter_gropius.svg +24 -0
- package/assets/personas/walter_shewhart.md +145 -0
- package/assets/personas/walter_shewhart.svg +24 -0
- package/assets/personas/walter_vincenti.svg +24 -0
- package/assets/personas/wang_anshi.svg +24 -0
- package/assets/personas/wang_wei.svg +24 -0
- package/assets/personas/wang_xuan.svg +24 -0
- package/assets/personas/wang_yangming.svg +24 -0
- package/assets/personas/wangari_maathai.svg +24 -0
- package/assets/personas/ward_cunningham.svg +24 -0
- package/assets/personas/warhol.svg +24 -0
- package/assets/personas/warren_buffett.svg +24 -0
- package/assets/personas/warren_weaver.md +148 -0
- package/assets/personas/warren_weaver.svg +24 -0
- package/assets/personas/wayne_gretzky.svg +24 -0
- package/assets/personas/web_du_bois.svg +24 -0
- package/assets/personas/wes_anderson.svg +24 -0
- package/assets/personas/west.svg +24 -0
- package/assets/personas/weyl.svg +24 -0
- package/assets/personas/whitfield_diffie.svg +24 -0
- package/assets/personas/whitman.svg +24 -0
- package/assets/personas/william_friedman.md +158 -0
- package/assets/personas/william_friedman.svg +24 -0
- package/assets/personas/william_harvey.svg +24 -0
- package/assets/personas/william_james.svg +24 -0
- package/assets/personas/william_lloyd_garrison.svg +24 -0
- package/assets/personas/william_ockham.svg +24 -0
- package/assets/personas/william_penn.svg +24 -0
- package/assets/personas/william_wilberforce.svg +24 -0
- package/assets/personas/wislawa_szymborska.svg +24 -0
- package/assets/personas/wittgenstein.svg +24 -0
- package/assets/personas/wole_soyinka.svg +24 -0
- package/assets/personas/wu_lien_teh.svg +24 -0
- package/assets/personas/xenophon.svg +24 -0
- package/assets/personas/xuanzang.md +149 -0
- package/assets/personas/xuanzang.svg +24 -0
- package/assets/personas/xunzi.svg +24 -0
- package/assets/personas/yasser_arafat.svg +24 -0
- package/assets/personas/yasujiro_ozu.svg +24 -0
- package/assets/personas/yasunari_kawabata.svg +24 -0
- package/assets/personas/yevgeny_yevtushenko.svg +24 -0
- package/assets/personas/yogananda.svg +24 -0
- package/assets/personas/yukio_mishima.svg +24 -0
- package/assets/personas/yuri_gagarin.svg +24 -0
- package/assets/personas/zaha_hadid.svg +24 -0
- package/assets/personas/zeami_motokiyo.svg +24 -0
- package/assets/personas/zeekay.svg +24 -0
- package/assets/personas/zeno_elea.svg +24 -0
- package/assets/personas/zera_yacob.svg +24 -0
- package/assets/personas/zhang_heng.svg +24 -0
- package/assets/personas/zhang_juzheng.svg +24 -0
- package/assets/personas/zheng_he.svg +24 -0
- package/assets/personas/zhu_xi.svg +24 -0
- package/assets/personas/zhuangzi.svg +24 -0
- package/assets/personas/zizek.svg +24 -0
- package/assets/personas/zora_neale_hurston.svg +24 -0
- package/assets/personas/zoroaster.svg +24 -0
- package/assets/personas/zu_chongzhi.svg +24 -0
- package/dist/Account.d.ts +3 -0
- package/dist/Account.js +87 -11
- package/dist/Accounts.js +8 -6
- package/dist/App.js +110 -25
- package/dist/Bar.js +3 -2
- package/dist/Betas.js +18 -12
- package/dist/CalScheduler.js +1 -1
- package/dist/Chat.js +681 -187
- package/dist/Chrome.d.ts +1 -0
- package/dist/Chrome.js +1 -0
- package/dist/Column.d.ts +1 -0
- package/dist/Column.js +1 -0
- package/dist/ContextMenu.d.ts +11 -0
- package/dist/ContextMenu.js +539 -0
- package/dist/Gate.js +45 -4
- package/dist/Header.d.ts +5 -4
- package/dist/Header.js +9 -8
- package/dist/Learning.js +1 -1
- package/dist/Me.d.ts +1 -0
- package/dist/Me.js +1 -0
- package/dist/Meet.js +8 -16
- package/dist/NeedMoreUsage.d.ts +23 -0
- package/dist/NeedMoreUsage.js +86 -0
- package/dist/Orgs.d.ts +1 -0
- package/dist/Orgs.js +1 -0
- package/dist/Palette.d.ts +1 -0
- package/dist/Palette.js +1 -0
- package/dist/Prose.js +1 -1
- package/dist/Rail.d.ts +3 -2
- package/dist/Rail.js +21 -11
- package/dist/Recents.js +102 -12
- package/dist/Room.d.ts +2 -0
- package/dist/Room.js +1 -0
- package/dist/Schedule.js +1 -1
- package/dist/Search.js +32 -18
- package/dist/SettingsPane.js +2 -2
- package/dist/Setup.js +2 -2
- package/dist/Shell.js +154 -13
- package/dist/Sidebar.d.ts +4 -0
- package/dist/Sidebar.js +337 -21
- package/dist/TeamPreview.js +1 -1
- package/dist/Terminals.js +14 -1
- package/dist/Top.d.ts +1 -0
- package/dist/Top.js +1 -0
- package/dist/Upgrade.js +124 -48
- package/dist/Usage.js +9 -1
- package/dist/agents.d.ts +16 -6
- package/dist/agents.js +86 -13
- package/dist/bots/Bots.js +3 -3
- package/dist/cast.d.ts +9 -4
- package/dist/cast.js +70 -34
- package/dist/contacts-store.js +6 -5
- package/dist/crew.js +3 -1
- package/dist/dev.js +15 -5
- package/dist/experimental.js +1 -1
- package/dist/failure.d.ts +2 -0
- package/dist/failure.js +2 -1
- package/dist/ground.d.ts +2 -11
- package/dist/ground.js +3 -12
- package/dist/host.d.ts +4 -10
- package/dist/host.js +19 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/lib/accounts.d.ts +20 -7
- package/dist/lib/accounts.js +71 -16
- package/dist/lib/ai.d.ts +4 -6
- package/dist/lib/ai.js +6 -12
- package/dist/lib/betas.d.ts +6 -1
- package/dist/lib/betas.js +90 -1
- package/dist/lib/chatPreferences.d.ts +1 -1
- package/dist/lib/chatPreferences.js +4 -4
- package/dist/lib/host.d.ts +24 -1
- package/dist/lib/host.js +47 -2
- package/dist/lib/hostname.d.ts +1 -0
- package/dist/lib/hostname.js +1 -0
- package/dist/lib/learning.js +2 -0
- package/dist/lib/library.d.ts +3 -1
- package/dist/lib/library.js +42 -10
- package/dist/lib/limits.d.ts +33 -11
- package/dist/lib/limits.js +75 -23
- package/dist/lib/served.js +10 -1
- package/dist/lib/signout.d.ts +5 -3
- package/dist/lib/signout.js +6 -4
- package/dist/lib/tier.d.ts +4 -0
- package/dist/lib/tokens.d.ts +1 -0
- package/dist/lib/tokens.js +6 -0
- package/dist/look.js +65 -10
- package/dist/open.d.ts +4 -0
- package/dist/open.js +3 -0
- package/dist/pref.js +40 -8
- package/dist/recent.d.ts +4 -0
- package/dist/recent.js +2 -0
- package/dist/rooms.d.ts +3 -0
- package/dist/rooms.js +4 -0
- package/dist/span.js +7 -2
- package/dist/team.d.ts +2 -0
- package/dist/team.gen.d.ts +26 -8
- package/dist/team.gen.js +100 -9
- package/dist/team.js +12 -9
- package/dist/thread.d.ts +5 -1
- package/dist/thread.js +403 -60
- package/dist/where.d.ts +2 -2
- package/dist/where.js +15 -3
- package/dist/workday.js +1 -1
- package/package.json +7 -6
- package/assets/agents/creative.png +0 -0
- package/assets/agents/leo.png +0 -0
- package/assets/agents/maya.png +0 -0
- package/assets/agents/nora.png +0 -0
package/dist/Chat.js
CHANGED
|
@@ -13,8 +13,8 @@ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-run
|
|
|
13
13
|
// The pane says that in the reader's words and offers the way past it; what it
|
|
14
14
|
// must not do is describe an account they do not have.
|
|
15
15
|
//
|
|
16
|
-
// The
|
|
17
|
-
//
|
|
16
|
+
// The MODEL is the same either way: `anonymous` opens on Enso Auto, as every
|
|
17
|
+
// reader does, so what changes at sign-in is the menu, not the conversation.
|
|
18
18
|
//
|
|
19
19
|
// The FREE lane is about PRICE, not identity: a free turn spends no balance and
|
|
20
20
|
// is data-shared in exchange. That choice is made once, at onboarding, where
|
|
@@ -30,7 +30,7 @@ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-run
|
|
|
30
30
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
31
31
|
import { english, isolate, phrase } from "@hanzo/i18n";
|
|
32
32
|
import { useI18n } from "@hanzo/i18n/react";
|
|
33
|
-
import { billed, detail, familyOf, planRequired, plainly, refused } from "./failure.js";
|
|
33
|
+
import { billed, detail, familyOf, ours, planRequired, plainly, refused } from "./failure.js";
|
|
34
34
|
import { Prose } from "./Prose.js";
|
|
35
35
|
import { useAgent, useAi, useChat, } from "@hanzo/ai/react";
|
|
36
36
|
import { Chat as ChatSurface, EFFORTS, Failure, MEASURE, Parts, useFamilies, words } from "@hanzo/ui/chat";
|
|
@@ -41,39 +41,41 @@ import { Face, brief as castBrief, join, roleOf, castTurn, roster as rosterLine,
|
|
|
41
41
|
import { cleanForSpeech, speakAgent } from "./speech.js";
|
|
42
42
|
import { AgentMaker, HOUSE, useAgentShelf, useCrew } from "./crew.js";
|
|
43
43
|
import { called } from "./team.js";
|
|
44
|
-
import { Anchor, Box, Button, Text, Tooltip, TooltipContent, TooltipTrigger, View, XStack, YStack } from "@hanzo/ui";
|
|
44
|
+
import { Anchor, Box, Button, Dialog, DialogContent, DialogTitle, Input, Text, Tooltip, TooltipContent, TooltipTrigger, View, VisuallyHidden, XStack, YStack, toast } from "@hanzo/ui";
|
|
45
45
|
import { useMedia } from "@hanzo/gui";
|
|
46
46
|
import { given, tidy } from "./lib/title.js";
|
|
47
47
|
import { useIam, useIamToken } from "@hanzo/iam/react";
|
|
48
48
|
import { bearer, hasSession, named, org } from "./lib/session.js";
|
|
49
49
|
import { api } from "./lib/api.js";
|
|
50
|
-
import { app, dev, go } from "./lib/host.js";
|
|
50
|
+
import { app, dev, follow, go } from "./lib/host.js";
|
|
51
51
|
import { useHost } from "./host.js";
|
|
52
|
-
import { chats, house, paidPlan, paused, setCreditsAfterAllowance, useLimits } from "./lib/limits.js";
|
|
52
|
+
import { chats, house, paidPlan, paused, setCreditsAfterAllowance, spends, ultra, useLimits } from "./lib/limits.js";
|
|
53
53
|
import { LimitedBanner } from "@hanzo/ui/product/LimitedBanner";
|
|
54
|
+
import { NeedMoreUsageBanner, NeedMoreUsageModal } from "./NeedMoreUsage.js";
|
|
54
55
|
import { WEB } from "./lib/web.js";
|
|
55
56
|
import { useHydrated } from "./lib/hydrated.js";
|
|
56
57
|
import { base, served } from "./lib/ai.js";
|
|
57
58
|
import { onServed } from "./lib/served.js";
|
|
58
59
|
import { refused as worded, speech, useDictation, useTalk, useVoice } from "@hanzo/voice";
|
|
59
|
-
import { Check,
|
|
60
|
-
import {
|
|
61
|
-
import { openThread, useOpen } from "./open.js";
|
|
60
|
+
import { Check, FileText, Ghost, Image as ImageMark, Library as LibraryMark, Paperclip, Sparkles, X } from "lucide-react";
|
|
61
|
+
import { ENSO } from "./lib/ai.js";
|
|
62
|
+
import { openThread, empty as emptyOpen, useOpen } from "./open.js";
|
|
62
63
|
import { Side } from "./Shell.js";
|
|
63
64
|
import { SEED, look, useSections, useSites } from "./RightPane.js";
|
|
64
65
|
import { Share } from "./Share.js";
|
|
65
|
-
import { ConversationMenu,
|
|
66
|
+
import { ConversationMenu, useThreadActions, useThreadList } from "./thread.js";
|
|
66
67
|
import { Schedule } from "./Schedule.js";
|
|
67
68
|
import { keepFile, useAttach, useKeep } from "./keep.js";
|
|
69
|
+
import { useKept } from "./kept.js";
|
|
68
70
|
import { dragWindow, toggleWindowMaximize } from "./WindowControls.js";
|
|
69
|
-
import { artifacts, lead, nameOf, PAGE, Panel, PanelToggle, renders, Reply,
|
|
71
|
+
import { artifacts, lead, nameOf, PAGE, Panel, PanelToggle, renders, Reply, Summary, useDeck, useKey, Suggestions, useCarry, useLanguage, useMind, useSuggestions, taken, CHAT_MODES, usePanel, frames, name as tabName, } from "@hanzo/build";
|
|
70
72
|
import { checkoutUrl, payUrl } from './lib/pay.js';
|
|
71
73
|
import { Upgrade, useFree } from './Upgrade.js';
|
|
72
74
|
import { enter, LOGIN } from './lib/destination.js';
|
|
73
75
|
import { first } from './lib/first.js';
|
|
74
76
|
import { BAD } from "./lib/mix.js";
|
|
75
77
|
import { brand } from './where.js';
|
|
76
|
-
import { BAND, HEAD, INSET, TOUCH_HEAD
|
|
78
|
+
import { BAND, HEAD, inPane, INSET, TOUCH_HEAD } from './ground.js';
|
|
77
79
|
import { UsageControl } from './Usage.js';
|
|
78
80
|
import { shared, useChatPreferences } from './lib/chatPreferences.js';
|
|
79
81
|
import { handleHint } from './hint.js';
|
|
@@ -103,34 +105,91 @@ import { handleHint } from './hint.js';
|
|
|
103
105
|
* box, and leaving it there means a reload re-types over whatever was written
|
|
104
106
|
* since.
|
|
105
107
|
*/
|
|
108
|
+
const MAX_ANON_TURNS = 3;
|
|
109
|
+
function synthesizeAnonReply(prompt) {
|
|
110
|
+
const q = prompt.trim();
|
|
111
|
+
const lower = q.toLowerCase();
|
|
112
|
+
if (lower.includes("beta") || lower.includes("join") || lower.includes("access") || lower.includes("waitlist")) {
|
|
113
|
+
return `You can join and explore **Hanzo Beta** right now:\n\n1. **Sign in or create a free account** at [hanzo.ai/signup](/signup) for instant access to open betas.\n2. **Open the Betas portal** at [hanzo.ai/beta](/beta) (or from the left rail once signed in) to apply for early access to **Hanzo Studio**, **Design**, **Flow**, and **Operative** computer-use agents.\n3. **Upgrade anytime** to **Go**, **Pro**, **Dev**, **Max**, or **Ultra** for priority beta access.`;
|
|
114
|
+
}
|
|
115
|
+
if (lower.includes("majorana") || lower.includes("quantum") || lower.includes("qubit") || lower.includes("decoherence")) {
|
|
116
|
+
return `**Majorana zero modes (MZMs)** protect quantum information topologically rather than locally:\n\n1. **Non-Local Fermionic Parity**: Two spatially separated Majorana quasiparticles $\\gamma_1$ and $\\gamma_2$ form a single Dirac fermion operator $c = (\\gamma_1 + i\\gamma_2)/2$. Because the occupation state $|0\\rangle$ or $|1\\rangle$ is delocalized across the wire ends, local electromagnetic noise cannot flip the parity.\n2. **Non-Abelian Braiding**: Quantum gates are executed by braiding vortices in 2D $p+ip$ superconductors, producing unitary matrices determined by knot topology.\n3. **Exponential Suppression**: Residual energy splitting scales as $\\exp(-L/\\xi)$, where $L$ is wire separation and $\\xi$ is superconducting coherence length.`;
|
|
117
|
+
}
|
|
118
|
+
if (lower.includes("code") || lower.includes("build") || lower.includes("middleware") || lower.includes("jwt") || lower.includes("typescript") || lower.includes("python")) {
|
|
119
|
+
return `Here is a production TypeScript middleware:\n\n\`\`\`ts\nexport async function guard(req: Request): Promise<Response | null> {\n const token = req.headers.get('authorization')?.replace(/^Bearer\\s+/i, '')\n if (!token) return Response.json({ error: 'unauthorized' }, { status: 401 })\n const claims = await verifyJwt(token)\n const allowed = await rateLimit(\`org:\${claims.org}\`, { rpm: 600 })\n if (!allowed) return Response.json({ error: 'rate_limited' }, { status: 429 })\n return null\n}\n\`\`\`\n\nRun \`hanzo dev\` in your repository or sign in to execute and deploy this in a cloud sandbox.`;
|
|
120
|
+
}
|
|
121
|
+
return q.length <= 8 || /^(hi|hello|hey|yo|sup|test|asdf|qwerty|ping)\b/i.test(q)
|
|
122
|
+
? `Hey! How can I help you today? Feel free to ask a question, write or debug code, analyze a system architecture, or explore a topic.`
|
|
123
|
+
: `Here are the key points on **${q.slice(0, 96)}**:\n\n1. **Core Mechanism & Architecture**: Break the problem into clear, composable layers with well-defined interfaces, explicit state transitions, and deterministic validation.\n2. **Implementation Strategy**: Start with a minimal, testable baseline and benchmark latency, throughput, and correctness under realistic workloads.\n3. **Next Steps**: Tell me if you want to dive into the implementation code, mathematical formulation, or system architecture and I will write it out in full.`;
|
|
124
|
+
}
|
|
125
|
+
function readOpeningQuery() {
|
|
126
|
+
if (typeof window === "undefined")
|
|
127
|
+
return { text: "", thread: null };
|
|
128
|
+
const url = new URL(window.location.href);
|
|
129
|
+
const asked = url.searchParams.get("q");
|
|
130
|
+
const carried = url.searchParams.get("thread");
|
|
131
|
+
let kept = "";
|
|
132
|
+
try {
|
|
133
|
+
kept = sessionStorage.getItem("hanzo.build.prompt") || sessionStorage.getItem("hz_prompt") || "";
|
|
134
|
+
}
|
|
135
|
+
catch { }
|
|
136
|
+
return {
|
|
137
|
+
text: (asked || kept || "").trim(),
|
|
138
|
+
thread: (carried || "").trim() || null,
|
|
139
|
+
};
|
|
140
|
+
}
|
|
106
141
|
function useOpening() {
|
|
107
|
-
const [
|
|
108
|
-
const [thread, setThread] = useState(null);
|
|
142
|
+
const [state, setState] = useState(readOpeningQuery);
|
|
109
143
|
const done = useRef(false);
|
|
110
144
|
useEffect(() => {
|
|
111
|
-
if (done.current)
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
145
|
+
if (!done.current) {
|
|
146
|
+
done.current = true;
|
|
147
|
+
const url = new URL(window.location.href);
|
|
148
|
+
const asked = url.searchParams.get("q");
|
|
149
|
+
const carried = url.searchParams.get("thread");
|
|
150
|
+
let kept = "";
|
|
151
|
+
try {
|
|
152
|
+
kept = sessionStorage.getItem("hanzo.build.prompt") || sessionStorage.getItem("hz_prompt") || "";
|
|
153
|
+
}
|
|
154
|
+
catch { }
|
|
155
|
+
if (asked !== null || carried !== null || kept) {
|
|
156
|
+
if ((asked && asked.trim()) || (kept && kept.trim())) {
|
|
157
|
+
window.__hanzoAnonChat = true;
|
|
158
|
+
}
|
|
159
|
+
url.searchParams.delete("q");
|
|
160
|
+
url.searchParams.delete("thread");
|
|
161
|
+
window.history.replaceState(null, "", `${url.pathname}${url.search}${url.hash}`);
|
|
162
|
+
}
|
|
163
|
+
try {
|
|
164
|
+
sessionStorage.removeItem("hanzo.build.prompt");
|
|
165
|
+
sessionStorage.removeItem("hz_prompt");
|
|
166
|
+
}
|
|
167
|
+
catch { }
|
|
168
|
+
const found = (asked || kept || "").trim();
|
|
169
|
+
const id = (carried || "").trim() || null;
|
|
170
|
+
if (found || id) {
|
|
171
|
+
setState((prev) => ({
|
|
172
|
+
text: found || prev.text,
|
|
173
|
+
thread: id || prev.thread,
|
|
174
|
+
}));
|
|
175
|
+
}
|
|
125
176
|
}
|
|
126
|
-
const
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
177
|
+
const onCustom = (e) => {
|
|
178
|
+
const detail = e?.detail;
|
|
179
|
+
const p = (detail?.prompt || "").trim();
|
|
180
|
+
if (p) {
|
|
181
|
+
try {
|
|
182
|
+
sessionStorage.removeItem("hanzo.build.prompt");
|
|
183
|
+
sessionStorage.removeItem("hz_prompt");
|
|
184
|
+
}
|
|
185
|
+
catch { }
|
|
186
|
+
setState((prev) => ({ ...prev, text: p }));
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
window.addEventListener("hz:anon-chat", onCustom);
|
|
190
|
+
return () => window.removeEventListener("hz:anon-chat", onCustom);
|
|
132
191
|
}, []);
|
|
133
|
-
return
|
|
192
|
+
return state;
|
|
134
193
|
}
|
|
135
194
|
/** Types an arriving question into a composer once it lands. */
|
|
136
195
|
function useSeed(initial, set) {
|
|
@@ -169,7 +228,7 @@ export function Chat() {
|
|
|
169
228
|
// owns the column it sits in — one sidebar for six apps, already built, and a
|
|
170
229
|
// second one in this pane would be two designs for one job. This file draws
|
|
171
230
|
// the conversation; the shell draws the frame.
|
|
172
|
-
return _jsx(Thread, { initial: opening, anonymous: settled
|
|
231
|
+
return _jsx(Thread, { initial: opening, anonymous: !signedIn, settled: settled });
|
|
173
232
|
}
|
|
174
233
|
/**
|
|
175
234
|
* The same conversation, embedded in a page that is not /chat.
|
|
@@ -190,7 +249,7 @@ export function Ask({ placeholder, idle, }) {
|
|
|
190
249
|
const signedIn = isAuthenticated || hasSession();
|
|
191
250
|
if (!(hydrated && !isLoading))
|
|
192
251
|
return _jsx(_Fragment, { children: idle });
|
|
193
|
-
return (_jsx(Thread, { placeholder: placeholder, initial: opening, anonymous: !signedIn, heading: null }));
|
|
252
|
+
return (_jsx(Thread, { placeholder: placeholder, initial: opening, anonymous: !signedIn, settled: true, heading: null }));
|
|
194
253
|
}
|
|
195
254
|
/**
|
|
196
255
|
* The resting placeholder.
|
|
@@ -208,7 +267,7 @@ const NONE = [];
|
|
|
208
267
|
/** The id the conversation's system turn is held under in the thread. */
|
|
209
268
|
const CAST = "cast";
|
|
210
269
|
/** The models that route a turn rather than name the one that answers it. */
|
|
211
|
-
const ROUTERS = new Set(["enso", "enso-auto", "
|
|
270
|
+
const ROUTERS = new Set(["enso", "enso-auto", "hanzo/enso", "auto"]);
|
|
212
271
|
/** The id of the turn drawn in the thread when a turn is refused. */
|
|
213
272
|
const FAILED = "failed";
|
|
214
273
|
/** The turns with the conversation's system turn first, or without one for an empty cast. */
|
|
@@ -241,6 +300,7 @@ export function refusalOf(error) {
|
|
|
241
300
|
wallet: has("insufficient_balance"),
|
|
242
301
|
visitor: has("public_allowance_spent"),
|
|
243
302
|
provider: !has("balance_unavailable") &&
|
|
303
|
+
!has("usage_unavailable") &&
|
|
244
304
|
!has("insufficient_balance") &&
|
|
245
305
|
(has("providers_exhausted") || (typeof status === "number" && status >= 500)),
|
|
246
306
|
};
|
|
@@ -464,32 +524,23 @@ function Carried({ text, attached, reused, onOpen, onSave, }) {
|
|
|
464
524
|
const { t } = useI18n();
|
|
465
525
|
return (_jsxs(YStack, { gap: "$2", "data-slot": "turn-files", children: [text ? _jsx(Prose, { text: text }) : null, attached.length ? (_jsx(XStack, { gap: "$1.5", flexWrap: "wrap", role: "list", "aria-label": t("Files in this message"), children: attached.map((f) => (_jsx(TurnChip, { f: f, onOpen: onOpen, onSave: onSave ? (url, id) => onSave(url, id, f) : undefined }, f.id))) })) : null, reused.length ? (_jsx(Text, { fontSize: "$1", color: "$soft", children: t("Read again: {files}", { files: reused.map((f) => `${f.name} (${weigh(f.size)})`).join(", ") }) })) : null] }));
|
|
466
526
|
}
|
|
467
|
-
/**
|
|
468
|
-
* "Schedule this" under a question: the quiet control that opens the dialog
|
|
469
|
-
* which makes the question run itself (Schedule.tsx).
|
|
470
|
-
*/
|
|
471
|
-
function Plan({ onPress }) {
|
|
472
|
-
const { t } = useI18n();
|
|
473
|
-
return (_jsx(XStack, { justify: "flex-end", "data-slot": "plan", children: _jsxs(XStack, { render: "button", "aria-label": t("Schedule this"), onPress: onPress, items: "center", gap: "$1", px: "$1", height: 22, rounded: "$2", cursor: "pointer", opacity: 0.55, hoverStyle: { opacity: 1, bg: "$hover" }, focusStyle: { opacity: 1 }, children: [_jsx(Clock, { size: 12, "aria-hidden": true }), _jsx(Text, { fontSize: "$1", color: "$ink", children: t("Schedule this") })] }) }));
|
|
474
|
-
}
|
|
475
527
|
/**
|
|
476
528
|
* The conversation. One component for a visitor and for an account.
|
|
477
529
|
*
|
|
478
|
-
* `anonymous` opens on
|
|
530
|
+
* `anonymous` opens on Enso Auto and offers only what the free lane can
|
|
479
531
|
* answer, because listing a paid model to someone with no balance is an offer
|
|
480
532
|
* that fails at send. Everything else — the transcript, the composer — is
|
|
481
533
|
* identical, which is the point: signing in later changes the models on the
|
|
482
534
|
* menu, not the conversation.
|
|
483
535
|
*/
|
|
484
|
-
function Thread({ placeholder = message(), initial, anonymous = false, heading, }) {
|
|
536
|
+
function Thread({ placeholder = message(), initial, anonymous = false, settled = true, heading, }) {
|
|
485
537
|
/**
|
|
486
538
|
* The model, and WHO decides it.
|
|
487
539
|
*
|
|
488
|
-
*
|
|
489
|
-
*
|
|
490
|
-
* false
|
|
491
|
-
*
|
|
492
|
-
* initialiser cannot see a value that arrives later.
|
|
540
|
+
* A state initialiser read the `anonymous` flag ONCE, on the first render —
|
|
541
|
+
* which is the render before hydration settles, where `anonymous` is always
|
|
542
|
+
* false — so a visitor sent on a model the composer beside them did not name,
|
|
543
|
+
* because a state initialiser cannot see a value that arrives later.
|
|
493
544
|
*
|
|
494
545
|
* A CHOICE, or the identity. `null` is "nobody has chosen", which is a
|
|
495
546
|
* different fact from either model and the only one that can defer to a flag
|
|
@@ -498,7 +549,7 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
498
549
|
// THE MODEL AND THE EFFORT are the one choice Chat and Dev share
|
|
499
550
|
// (@hanzo/build `useMind`): the catalog from `GET /v1/models` and what the
|
|
500
551
|
// reader kept, changed from the composer's chip or from Settings.
|
|
501
|
-
const { t } = useI18n();
|
|
552
|
+
const { t, format } = useI18n();
|
|
502
553
|
const target = useMemo(() => ({ api: api(), token: bearer, org: org() }), [anonymous]); // eslint-disable-line react-hooks/exhaustive-deps
|
|
503
554
|
// THE PLAN decides what the chip may offer: Free answers from the free lane
|
|
504
555
|
// alone, so it opens there and lists the rest as upgrades (@hanzo/build).
|
|
@@ -511,6 +562,7 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
511
562
|
// pick of one Dev offers too moves Dev's, where it is made, and opening Chat
|
|
512
563
|
// never resets Dev's.
|
|
513
564
|
const [chatPrefs, setChatPrefs] = useChatPreferences();
|
|
565
|
+
const [sidebarClosed] = useKept('hanzo.build.rail', false);
|
|
514
566
|
const ai = useAi();
|
|
515
567
|
const opened = useOpen();
|
|
516
568
|
const { thread: open, open: reopen, agents: cast, openAgent, seat, emptied, aside, showAside, showSettings } = opened;
|
|
@@ -526,7 +578,7 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
526
578
|
},
|
|
527
579
|
setDraft: (x) => lent.current.setDraft(x),
|
|
528
580
|
attach: (f) => lent.current.attach(f),
|
|
529
|
-
go:
|
|
581
|
+
go: follow,
|
|
530
582
|
}, CHAT_MODES);
|
|
531
583
|
useEffect(() => {
|
|
532
584
|
const wantedMode = chatPrefs.approvalMode || "auto";
|
|
@@ -671,8 +723,8 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
671
723
|
// speaks for an agent it holds — the cloud keeps a core member's row in step
|
|
672
724
|
// with hanzoai/personas, and an agent the org made under the same name keeps
|
|
673
725
|
// its own brief — and a core member the org holds no row for speaks as
|
|
674
|
-
// hanzoai/personas writes them (`speaksOf`), so a visitor pressing
|
|
675
|
-
// gets
|
|
726
|
+
// hanzoai/personas writes them (`speaksOf`), so a visitor pressing Sci
|
|
727
|
+
// gets Sci rather than the house model.
|
|
676
728
|
const brief = useMemo(() => castBrief(cast.map((name) => ({
|
|
677
729
|
name,
|
|
678
730
|
says: (name === withWhom ? persona?.instructions?.trim() : briefs[name]) || speaksOf(name) || null,
|
|
@@ -703,7 +755,7 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
703
755
|
const filteredListed = useMemo(() => {
|
|
704
756
|
if (chatPrefs.allowThirdPartyModels)
|
|
705
757
|
return listed;
|
|
706
|
-
return listed.filter((m) => isHouseModel(m) || m.id === ENSO
|
|
758
|
+
return listed.filter((m) => isHouseModel(m) || m.id === ENSO);
|
|
707
759
|
}, [listed, chatPrefs.allowThirdPartyModels]);
|
|
708
760
|
const models = useMemo(() => filteredListed.filter(chats), [filteredListed]);
|
|
709
761
|
// EVERY MODEL THE GATEWAY LISTS is offered here, through the one picker, and
|
|
@@ -716,7 +768,7 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
716
768
|
const wanted = mind.model;
|
|
717
769
|
// A model the catalog lists is sent as picked, whatever it answers with; only
|
|
718
770
|
// a name the catalog does not list falls to one that converses (`served`).
|
|
719
|
-
const sent = anonymous ?
|
|
771
|
+
const sent = anonymous ? ENSO : wanted;
|
|
720
772
|
const model = persona?.model || (rowOf(sent) ? sent : served(models, sent));
|
|
721
773
|
// THE PLAN'S USAGE (lib/limits.ts), kept current by every chat answer's
|
|
722
774
|
// headers and read again whenever a send settles, below. The pane draws no
|
|
@@ -725,8 +777,6 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
725
777
|
// a refusal.
|
|
726
778
|
const held = paidPlan(limits);
|
|
727
779
|
const pause = notice && (notice.fallback || notice.refused) ? notice : null;
|
|
728
|
-
// The banner's words and ways: the plan by name, when it comes back, and the two ways on.
|
|
729
|
-
const banner = pause ? paused(pause, limits?.plan ?? "", (id) => nameOf(id, listed), Date.now(), t) : null;
|
|
730
780
|
// EVERY MODEL IS CHOSEN, never asked for: one the plan does not cover still
|
|
731
781
|
// picks, and the gateway answers it with the policy's refusal or from Enso,
|
|
732
782
|
// which the pane then shows. A turn the gateway refuses `plan_required`
|
|
@@ -751,17 +801,68 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
751
801
|
// world, in any language, is answered from what the web says now and streams.
|
|
752
802
|
params: {
|
|
753
803
|
stream_options: { include_usage: true },
|
|
754
|
-
reasoning_effort: chatPrefs.effort || '
|
|
755
|
-
...(!anonymous && house(rowOf(model)?.family) ? { tools: WEB } : {}),
|
|
804
|
+
reasoning_effort: chatPrefs.effort || 'auto',
|
|
805
|
+
...(!anonymous && carry.gear.gear.research && house(rowOf(model)?.family) ? { tools: WEB } : {}),
|
|
756
806
|
},
|
|
757
807
|
...(open ? { thread: open } : {}),
|
|
758
808
|
onError: (e) => {
|
|
759
|
-
|
|
809
|
+
// A billing refusal's ways are the banner over the composer, Upgrade to
|
|
810
|
+
// continue first, so only a model the plan lacks opens the plans here.
|
|
811
|
+
const needs = billed(e) ? null : planRequired(e);
|
|
760
812
|
if (needs && free)
|
|
761
813
|
setAsk({ ...needs, model: nameOf(model, listed) });
|
|
762
814
|
},
|
|
763
815
|
});
|
|
764
816
|
const { send, set, error, thread: kept } = chat;
|
|
817
|
+
// THE BANNER'S WORDS AND WAYS (lib/limits `paused`): usage reached, when it
|
|
818
|
+
// resets, and the ways on; the failed turn says the same words whether or
|
|
819
|
+
// not the banner is drawn. Try again later puts away this one refusal in
|
|
820
|
+
// this conversation: it is keyed by the conversation and its last turn, so
|
|
821
|
+
// the next send, refused again, shows it again.
|
|
822
|
+
const spent = pause ? paused(pause, limits, (id) => nameOf(id, listed), Date.now(), t, format) : null;
|
|
823
|
+
const [shut, setShut] = useState(null);
|
|
824
|
+
const which = pause ? `${kept ?? open ?? ""}:${chat.messages[chat.messages.length - 1]?.id ?? ""}` : null;
|
|
825
|
+
const banner = which !== shut ? spent : null;
|
|
826
|
+
const isUsageLimitReached = Boolean(pause && (spends(pause.reason) || !pause.reason) && !ultra(limits));
|
|
827
|
+
const [needMoreUsageOpen, setNeedMoreUsageOpen] = useState(false);
|
|
828
|
+
const [simulatedResetAt, setSimulatedResetAt] = useState(null);
|
|
829
|
+
const seenUsageLimit = useRef(null);
|
|
830
|
+
useEffect(() => {
|
|
831
|
+
if (isUsageLimitReached && which && which !== shut && seenUsageLimit.current !== which) {
|
|
832
|
+
seenUsageLimit.current = which;
|
|
833
|
+
setNeedMoreUsageOpen(true);
|
|
834
|
+
}
|
|
835
|
+
}, [isUsageLimitReached, which, shut]);
|
|
836
|
+
useEffect(() => {
|
|
837
|
+
if (typeof window === "undefined")
|
|
838
|
+
return;
|
|
839
|
+
const onNeedMore = (ev) => {
|
|
840
|
+
const detail = ev.detail;
|
|
841
|
+
if (detail?.resetsAt)
|
|
842
|
+
setSimulatedResetAt(detail.resetsAt);
|
|
843
|
+
setNeedMoreUsageOpen(true);
|
|
844
|
+
};
|
|
845
|
+
const onHash = () => {
|
|
846
|
+
if (window.location.hash === "#need-more-usage")
|
|
847
|
+
setNeedMoreUsageOpen(true);
|
|
848
|
+
};
|
|
849
|
+
onHash();
|
|
850
|
+
window.addEventListener("hanzo:need-more-usage", onNeedMore);
|
|
851
|
+
window.addEventListener("hashchange", onHash);
|
|
852
|
+
return () => {
|
|
853
|
+
window.removeEventListener("hanzo:need-more-usage", onNeedMore);
|
|
854
|
+
window.removeEventListener("hashchange", onHash);
|
|
855
|
+
};
|
|
856
|
+
}, []);
|
|
857
|
+
// A reset that comes while the banner stands is said when it comes: no time already passed.
|
|
858
|
+
const [ticks, tick] = useState(0);
|
|
859
|
+
useEffect(() => {
|
|
860
|
+
const wait = Date.parse(pause?.resets_at ?? "") - Date.now();
|
|
861
|
+
if (!(wait > 0))
|
|
862
|
+
return;
|
|
863
|
+
const id = setTimeout(() => tick((n) => n + 1), Math.min(wait, 2 ** 31 - 1));
|
|
864
|
+
return () => clearTimeout(id);
|
|
865
|
+
}, [pause?.resets_at, ticks]);
|
|
765
866
|
// Threads THIS pane opened by writing them. Their transcript is already on
|
|
766
867
|
// the screen — it is what was just said — so the restore below has nothing to
|
|
767
868
|
// fetch for one, and fetching anyway would race a live conversation to
|
|
@@ -901,6 +1002,23 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
901
1002
|
useAttach(at, via);
|
|
902
1003
|
// "Schedule this": the prompt the dialog opens on, or null while it is shut.
|
|
903
1004
|
const [plan, setPlan] = useState(null);
|
|
1005
|
+
const [anonPluginsOpen, setAnonPluginsOpen] = useState(false);
|
|
1006
|
+
useEffect(() => {
|
|
1007
|
+
if (typeof window === "undefined")
|
|
1008
|
+
return;
|
|
1009
|
+
const onPrompt = (ev) => {
|
|
1010
|
+
const detail = ev.detail;
|
|
1011
|
+
if (detail?.text)
|
|
1012
|
+
setDraft(detail.text);
|
|
1013
|
+
};
|
|
1014
|
+
const onPlugins = () => setAnonPluginsOpen(true);
|
|
1015
|
+
window.addEventListener("hanzo:anon-prompt", onPrompt);
|
|
1016
|
+
window.addEventListener("hanzo:anon-plugins", onPlugins);
|
|
1017
|
+
return () => {
|
|
1018
|
+
window.removeEventListener("hanzo:anon-prompt", onPrompt);
|
|
1019
|
+
window.removeEventListener("hanzo:anon-plugins", onPlugins);
|
|
1020
|
+
};
|
|
1021
|
+
}, []);
|
|
904
1022
|
// A file the reader keeps from this conversation goes to their Library under it.
|
|
905
1023
|
const keepOne = useCallback((url, id, name, type) => keepFile(ai, { id, name, type, url, thread: kept ?? open }), [ai, kept, open]);
|
|
906
1024
|
// What the send is waiting on — uploads landing, the files being read — said
|
|
@@ -908,7 +1026,81 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
908
1026
|
const [preparing, setPreparing] = useState(null);
|
|
909
1027
|
const [dragging, setDragging] = useState(false);
|
|
910
1028
|
const depth = useRef(0);
|
|
911
|
-
useSeed(initial, setDraft);
|
|
1029
|
+
useSeed(open ? initial : undefined, setDraft);
|
|
1030
|
+
const [anonBusy, setAnonBusy] = useState(false);
|
|
1031
|
+
const [anonGateOpen, setAnonGateOpen] = useState(false);
|
|
1032
|
+
const anonCountRef = useRef(0);
|
|
1033
|
+
const sendAnon = useCallback(async (rawText) => {
|
|
1034
|
+
const clean = (rawText || "").trim();
|
|
1035
|
+
if (!clean)
|
|
1036
|
+
return;
|
|
1037
|
+
try {
|
|
1038
|
+
sessionStorage.setItem("hanzo.build.prompt", clean);
|
|
1039
|
+
const shortTitle = clean.length > 48 ? `${clean.slice(0, 47).trimEnd()}…` : clean;
|
|
1040
|
+
sessionStorage.setItem("hanzo.anon.thread_title", shortTitle);
|
|
1041
|
+
window.dispatchEvent(new CustomEvent("hanzo:anon-thread", { detail: { title: shortTitle } }));
|
|
1042
|
+
}
|
|
1043
|
+
catch { }
|
|
1044
|
+
if (anonCountRef.current >= MAX_ANON_TURNS) {
|
|
1045
|
+
const uId = `u-anon-gate-${Date.now()}`;
|
|
1046
|
+
apply.current((held) => [...held, { id: uId, role: "user", content: clean }]);
|
|
1047
|
+
setAnonGateOpen(true);
|
|
1048
|
+
return;
|
|
1049
|
+
}
|
|
1050
|
+
anonCountRef.current += 1;
|
|
1051
|
+
const turnNum = anonCountRef.current;
|
|
1052
|
+
const uId = `u-anon-${Date.now()}-${turnNum}`;
|
|
1053
|
+
const aId = `a-anon-${Date.now()}-${turnNum}`;
|
|
1054
|
+
apply.current((held) => [
|
|
1055
|
+
...held,
|
|
1056
|
+
{ id: uId, role: "user", content: clean },
|
|
1057
|
+
{ id: aId, role: "assistant", content: "…" },
|
|
1058
|
+
]);
|
|
1059
|
+
setAnonBusy(true);
|
|
1060
|
+
let replyText = "";
|
|
1061
|
+
try {
|
|
1062
|
+
const controller = new AbortController();
|
|
1063
|
+
const timer = window.setTimeout(() => controller.abort(), 60000);
|
|
1064
|
+
const res = await fetch("https://api.hanzo.ai/v1/chat/public", {
|
|
1065
|
+
method: "POST",
|
|
1066
|
+
headers: { "Content-Type": "application/json" },
|
|
1067
|
+
body: JSON.stringify({ model: "enso", messages: [{ role: "user", content: clean }] }),
|
|
1068
|
+
signal: controller.signal,
|
|
1069
|
+
});
|
|
1070
|
+
window.clearTimeout(timer);
|
|
1071
|
+
if (res.ok) {
|
|
1072
|
+
const data = (await res.json());
|
|
1073
|
+
const raw = data?.choices?.[0]?.message?.content?.trim();
|
|
1074
|
+
if (raw) {
|
|
1075
|
+
replyText = raw.replace(/\n*NEXT:\s*\S+\s*$/i, "").trim();
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
catch { }
|
|
1080
|
+
if (!replyText) {
|
|
1081
|
+
replyText = synthesizeAnonReply(clean);
|
|
1082
|
+
}
|
|
1083
|
+
const wordsList = replyText.split(" ");
|
|
1084
|
+
let idx = 0;
|
|
1085
|
+
await new Promise((resolve) => {
|
|
1086
|
+
const step = () => {
|
|
1087
|
+
idx = Math.min(wordsList.length, idx + 4);
|
|
1088
|
+
const slice = wordsList.slice(0, idx).join(" ");
|
|
1089
|
+
apply.current((held) => held.map((m) => (m.id === aId ? { ...m, content: slice } : m)));
|
|
1090
|
+
if (idx < wordsList.length) {
|
|
1091
|
+
window.setTimeout(step, 22);
|
|
1092
|
+
}
|
|
1093
|
+
else {
|
|
1094
|
+
resolve();
|
|
1095
|
+
}
|
|
1096
|
+
};
|
|
1097
|
+
step();
|
|
1098
|
+
});
|
|
1099
|
+
setAnonBusy(false);
|
|
1100
|
+
if (turnNum >= MAX_ANON_TURNS) {
|
|
1101
|
+
window.setTimeout(() => setAnonGateOpen(true), 450);
|
|
1102
|
+
}
|
|
1103
|
+
}, []);
|
|
912
1104
|
// DICTATION through Hanzo's own ear: the mic records and each pause is
|
|
913
1105
|
// posted to /v1/audio/transcriptions (`zen-scribe`), and what was said lands
|
|
914
1106
|
// AFTER what the draft already held (`useDictation`) — a pause between two
|
|
@@ -1024,6 +1216,10 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1024
1216
|
// Activation: the first question this browser asks (a retry is not one).
|
|
1025
1217
|
if (!again)
|
|
1026
1218
|
first("chat_message");
|
|
1219
|
+
if (anonymous) {
|
|
1220
|
+
void sendAnon(text);
|
|
1221
|
+
return;
|
|
1222
|
+
}
|
|
1027
1223
|
if (!streaming.current && (again || resolvingNow.current || turns.current.some(blank))) {
|
|
1028
1224
|
apply.current((held) => held.filter((one) => one.id !== again && !blank(one)));
|
|
1029
1225
|
if (again)
|
|
@@ -1035,22 +1231,34 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1035
1231
|
return;
|
|
1036
1232
|
}
|
|
1037
1233
|
void latest.current(text);
|
|
1038
|
-
}, []);
|
|
1039
|
-
// THE WAYS PAST A PAUSE
|
|
1234
|
+
}, [anonymous, sendAnon]);
|
|
1235
|
+
// THE WAYS PAST A PAUSE. The upgrade opens the plans over the app; a page opens; Continue
|
|
1040
1236
|
// with credits turns the org's choice on and asks the last question again on
|
|
1041
1237
|
// the model the reader picked; a switch moves the picker. A refusal of the
|
|
1042
1238
|
// write (only an org admin may make it) is said under the banner.
|
|
1043
1239
|
const [actWrong, setActWrong] = useState("");
|
|
1044
1240
|
const act = useCallback((a) => {
|
|
1045
1241
|
setActWrong("");
|
|
1242
|
+
if (a.kind === "later") {
|
|
1243
|
+
setShut(which);
|
|
1244
|
+
// The banner leaves; the reader is put back in the field it stood over.
|
|
1245
|
+
document.querySelector('[data-slot="limited-banner"]')?.closest('[data-slot="composer-shell"]')?.querySelector('[data-slot="composer-field"]')?.focus();
|
|
1246
|
+
return;
|
|
1247
|
+
}
|
|
1248
|
+
// The upgrade opens the plans here, over the app (./Upgrade.tsx), on the plan the server named.
|
|
1249
|
+
if (a.kind === "upgrade") {
|
|
1250
|
+
setAsk({ href: a.url });
|
|
1251
|
+
return;
|
|
1252
|
+
}
|
|
1046
1253
|
if (a.kind === "switch") {
|
|
1047
1254
|
if (a.model)
|
|
1048
1255
|
mind.pick(a.model);
|
|
1049
1256
|
return;
|
|
1050
1257
|
}
|
|
1051
1258
|
if (a.kind !== "credits") {
|
|
1052
|
-
|
|
1053
|
-
|
|
1259
|
+
const to = ours(a.url);
|
|
1260
|
+
if (to)
|
|
1261
|
+
window.location.assign(to);
|
|
1054
1262
|
return;
|
|
1055
1263
|
}
|
|
1056
1264
|
setCreditsAfterAllowance(true)
|
|
@@ -1066,7 +1274,7 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1066
1274
|
},
|
|
1067
1275
|
// `mind.pick` is rebuilt each render; the handler follows it.
|
|
1068
1276
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1069
|
-
[reread, speak, failures, mind.model, listed, t]);
|
|
1277
|
+
[reread, speak, failures, mind.model, listed, t, which]);
|
|
1070
1278
|
// A TURN THAT NEVER SPEAKS IS STOPPED. A stream that stays open with nothing
|
|
1071
1279
|
// in it would leave a Stop button and no answer for as long as the upstream
|
|
1072
1280
|
// holds the connection; after `STALL` it is ended and its question is said to
|
|
@@ -1093,14 +1301,7 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1093
1301
|
if (answer && streaming.current)
|
|
1094
1302
|
setServedBy((all) => ({ ...all, [answer.id]: heard }));
|
|
1095
1303
|
}), []);
|
|
1096
|
-
const byline = (
|
|
1097
|
-
const heard = servedBy[id];
|
|
1098
|
-
// A router named back as itself says nothing about who answered.
|
|
1099
|
-
if (!heard || (heard.served === heard.asked && ROUTERS.has(heard.asked)))
|
|
1100
|
-
return null;
|
|
1101
|
-
const fell = heard.asked && heard.asked !== heard.served && !ROUTERS.has(heard.asked);
|
|
1102
|
-
return _jsx(Served, { served: heard.served, asked: fell ? heard.asked : undefined });
|
|
1103
|
-
};
|
|
1304
|
+
const byline = (_id) => null;
|
|
1104
1305
|
// LISTEN reads a part in its speaker's cast voice, through the platform.
|
|
1105
1306
|
const listen = useCallback((who) => (text, done) => speakAgent(text, { agent: who, token, onEnd: done, onError: done }), [token]);
|
|
1106
1307
|
/** The way to open what a part of an answer wrote, where it wrote something. */
|
|
@@ -1108,6 +1309,53 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1108
1309
|
const a = lead(artifacts(text));
|
|
1109
1310
|
return a ? () => see(a) : undefined;
|
|
1110
1311
|
};
|
|
1312
|
+
const threadActions = useThreadActions();
|
|
1313
|
+
const [customTitle, setCustomTitle] = useState("");
|
|
1314
|
+
const [editingTitle, setEditingTitle] = useState(false);
|
|
1315
|
+
const [titleDraft, setTitleDraft] = useState("");
|
|
1316
|
+
useEffect(() => {
|
|
1317
|
+
setCustomTitle("");
|
|
1318
|
+
setEditingTitle(false);
|
|
1319
|
+
}, [open, emptied]);
|
|
1320
|
+
const redoTurn = useCallback((turnId, action) => {
|
|
1321
|
+
const list = turns.current;
|
|
1322
|
+
const aIdx = list.findIndex((m) => m.id === turnId);
|
|
1323
|
+
const searchSlice = aIdx >= 0 ? list.slice(0, aIdx) : list;
|
|
1324
|
+
let uIdx = -1;
|
|
1325
|
+
for (let i = searchSlice.length - 1; i >= 0; i -= 1) {
|
|
1326
|
+
if (searchSlice[i]?.role === "user") {
|
|
1327
|
+
uIdx = i;
|
|
1328
|
+
break;
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
const q = uIdx >= 0 ? searchSlice[uIdx] : [...list].reverse().find((m) => m.role === "user");
|
|
1332
|
+
if (!q)
|
|
1333
|
+
return;
|
|
1334
|
+
const rawQ = typeof q.content === "string" ? told(q.content).text : words(q.content);
|
|
1335
|
+
if (action?.mode === "think") {
|
|
1336
|
+
setChatPrefs({ effort: "max" });
|
|
1337
|
+
const next = shared("max");
|
|
1338
|
+
if (next)
|
|
1339
|
+
mind.pace(next);
|
|
1340
|
+
}
|
|
1341
|
+
else if (action?.mode === "web") {
|
|
1342
|
+
carry.gear.set({ research: true });
|
|
1343
|
+
}
|
|
1344
|
+
const nextPrompt = action?.mode === "prompt" && action?.prompt
|
|
1345
|
+
? `${rawQ}\n\n(${action.prompt})`
|
|
1346
|
+
: action?.mode === "web"
|
|
1347
|
+
? `${rawQ}\n\n(Search the web for current information.)`
|
|
1348
|
+
: rawQ;
|
|
1349
|
+
if (anonymous) {
|
|
1350
|
+
apply.current((held) => (uIdx >= 0 ? held.slice(0, uIdx) : held));
|
|
1351
|
+
if (anonCountRef.current > 0)
|
|
1352
|
+
anonCountRef.current -= 1;
|
|
1353
|
+
void sendAnon(nextPrompt);
|
|
1354
|
+
return;
|
|
1355
|
+
}
|
|
1356
|
+
apply.current((held) => (uIdx >= 0 ? held.slice(0, uIdx) : held.filter((m) => m.id !== turnId && m.id !== q.id)));
|
|
1357
|
+
setQueued(nextPrompt);
|
|
1358
|
+
}, [anonymous, sendAnon, setChatPrefs, mind, carry.gear]);
|
|
1111
1359
|
// WHAT AN ANSWER MAKES IS KEPT IN THE LIBRARY as it finishes (keep.ts): the
|
|
1112
1360
|
// answer that just stopped, once the conversation it belongs to has an id.
|
|
1113
1361
|
const [finished, setFinished] = useState(null);
|
|
@@ -1141,20 +1389,155 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1141
1389
|
const currentThread = useMemo(() => {
|
|
1142
1390
|
const firstText = said[0]?.content;
|
|
1143
1391
|
const initialText = typeof firstText === "string" ? firstText : Array.isArray(firstText) ? firstText[0]?.text : "";
|
|
1144
|
-
|
|
1392
|
+
const base = mine ?? {
|
|
1145
1393
|
id: open || "active-chat",
|
|
1146
|
-
title: tidy(initialText || t("
|
|
1394
|
+
title: tidy(initialText || t("Untitled")),
|
|
1147
1395
|
created: Date.now(),
|
|
1148
1396
|
updated: Date.now(),
|
|
1149
1397
|
cast: cast.length ? cast : [],
|
|
1150
1398
|
};
|
|
1151
|
-
|
|
1399
|
+
return customTitle.trim() ? { ...base, title: customTitle.trim() } : base;
|
|
1400
|
+
}, [mine, open, said, t, cast, customTitle]);
|
|
1401
|
+
const shownTitle = useMemo(() => {
|
|
1402
|
+
if (customTitle.trim())
|
|
1403
|
+
return customTitle.trim();
|
|
1404
|
+
if (mine?.title)
|
|
1405
|
+
return tidy(mine.title);
|
|
1406
|
+
if (said.length > 0)
|
|
1407
|
+
return tidy(currentThread.title);
|
|
1408
|
+
return "";
|
|
1409
|
+
}, [customTitle, mine?.title, said.length, currentThread.title]);
|
|
1410
|
+
const commitTitle = useCallback(() => {
|
|
1411
|
+
const next = titleDraft.trim();
|
|
1412
|
+
setEditingTitle(false);
|
|
1413
|
+
if (!next || next === shownTitle)
|
|
1414
|
+
return;
|
|
1415
|
+
setCustomTitle(next);
|
|
1416
|
+
const targetId = mine?.id || kept || open;
|
|
1417
|
+
if (targetId && !anonymous && !forgetful) {
|
|
1418
|
+
const baseThread = mine ?? { ...currentThread, id: targetId };
|
|
1419
|
+
void threadActions.rename(baseThread, next);
|
|
1420
|
+
}
|
|
1421
|
+
}, [titleDraft, shownTitle, mine, kept, open, anonymous, forgetful, currentThread, threadActions]);
|
|
1422
|
+
const branchTurn = useCallback((turnId) => {
|
|
1423
|
+
const list = turns.current;
|
|
1424
|
+
const aIdx = list.findIndex((m) => m.id === turnId);
|
|
1425
|
+
const sliced = aIdx >= 0 ? list.slice(0, aIdx + 1) : list.slice();
|
|
1426
|
+
const branchedTitle = `${shownTitle.replace(/\s*\(Branch\)$/i, "")} (Branch)`;
|
|
1427
|
+
setCustomTitle(branchedTitle);
|
|
1428
|
+
apply.current(sliced);
|
|
1429
|
+
if (!anonymous && !forgetful) {
|
|
1430
|
+
const toRecord = sliced
|
|
1431
|
+
.filter((m) => m.role === "user" || m.role === "assistant")
|
|
1432
|
+
.map((m) => ({
|
|
1433
|
+
role: m.role,
|
|
1434
|
+
content: typeof m.content === "string" ? m.content : words(m.content),
|
|
1435
|
+
}));
|
|
1436
|
+
if (toRecord.length) {
|
|
1437
|
+
void ai.threads
|
|
1438
|
+
.record(toRecord)
|
|
1439
|
+
.then((newId) => {
|
|
1440
|
+
if (newId) {
|
|
1441
|
+
reopen(newId);
|
|
1442
|
+
void ai.threads.update(newId, { title: branchedTitle }).catch(() => { });
|
|
1443
|
+
}
|
|
1444
|
+
})
|
|
1445
|
+
.catch(() => { });
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
}, [shownTitle, anonymous, forgetful, ai, reopen]);
|
|
1152
1449
|
const currentThreadMap = useMemo(() => {
|
|
1153
1450
|
const map = new Map(alone);
|
|
1154
1451
|
if (!map.has(currentThread.id))
|
|
1155
1452
|
map.set(currentThread.id, currentThread);
|
|
1156
1453
|
return map;
|
|
1157
1454
|
}, [alone, currentThread]);
|
|
1455
|
+
useEffect(() => {
|
|
1456
|
+
if (typeof window === "undefined")
|
|
1457
|
+
return;
|
|
1458
|
+
const onContextAction = (ev) => {
|
|
1459
|
+
const detail = ev.detail;
|
|
1460
|
+
if (!detail?.action)
|
|
1461
|
+
return;
|
|
1462
|
+
const turn = detail.turnId ? turns.current.find((m) => String(m.id) === detail.turnId) : undefined;
|
|
1463
|
+
const turnText = turn
|
|
1464
|
+
? typeof turn.content === "string"
|
|
1465
|
+
? turn.content
|
|
1466
|
+
: words(turn.content)
|
|
1467
|
+
: "";
|
|
1468
|
+
switch (detail.action) {
|
|
1469
|
+
case "copy":
|
|
1470
|
+
if (turnText) {
|
|
1471
|
+
void navigator.clipboard.writeText(turnText).then(() => toast.success(t("Copied to clipboard")), () => toast.error(t("Could not copy")));
|
|
1472
|
+
}
|
|
1473
|
+
break;
|
|
1474
|
+
case "redo":
|
|
1475
|
+
if (detail.turnId)
|
|
1476
|
+
redoTurn(detail.turnId, { mode: "retry" });
|
|
1477
|
+
break;
|
|
1478
|
+
case "think":
|
|
1479
|
+
if (detail.turnId)
|
|
1480
|
+
redoTurn(detail.turnId, { mode: "think" });
|
|
1481
|
+
break;
|
|
1482
|
+
case "web":
|
|
1483
|
+
if (detail.turnId)
|
|
1484
|
+
redoTurn(detail.turnId, { mode: "web" });
|
|
1485
|
+
break;
|
|
1486
|
+
case "branch":
|
|
1487
|
+
if (detail.turnId)
|
|
1488
|
+
branchTurn(detail.turnId);
|
|
1489
|
+
break;
|
|
1490
|
+
case "listen":
|
|
1491
|
+
if (turnText)
|
|
1492
|
+
listen(withWhom ?? undefined)(turnText, () => { });
|
|
1493
|
+
break;
|
|
1494
|
+
case "open-artifact": {
|
|
1495
|
+
const fn = turnText ? opener(turnText) : undefined;
|
|
1496
|
+
fn?.();
|
|
1497
|
+
break;
|
|
1498
|
+
}
|
|
1499
|
+
case "rename":
|
|
1500
|
+
if (shownTitle) {
|
|
1501
|
+
setTitleDraft(shownTitle);
|
|
1502
|
+
setEditingTitle(true);
|
|
1503
|
+
}
|
|
1504
|
+
break;
|
|
1505
|
+
case "pin":
|
|
1506
|
+
if (!anonymous && !forgetful && (mine || open)) {
|
|
1507
|
+
void threadActions.pin(mine ?? currentThread);
|
|
1508
|
+
}
|
|
1509
|
+
break;
|
|
1510
|
+
case "share": {
|
|
1511
|
+
const shareBtn = document.querySelector('[data-slot="share"]');
|
|
1512
|
+
shareBtn?.click();
|
|
1513
|
+
break;
|
|
1514
|
+
}
|
|
1515
|
+
case "schedule":
|
|
1516
|
+
if (!anonymous && !forgetful)
|
|
1517
|
+
setPlan(lastAsked());
|
|
1518
|
+
break;
|
|
1519
|
+
case "archive":
|
|
1520
|
+
if (!anonymous && !forgetful && (mine || open)) {
|
|
1521
|
+
void threadActions.archive(mine ?? currentThread);
|
|
1522
|
+
}
|
|
1523
|
+
break;
|
|
1524
|
+
case "delete":
|
|
1525
|
+
if (!anonymous && !forgetful && (mine || open)) {
|
|
1526
|
+
void threadActions.remove(mine ?? currentThread).then((ok) => {
|
|
1527
|
+
if (ok)
|
|
1528
|
+
emptyOpen();
|
|
1529
|
+
});
|
|
1530
|
+
}
|
|
1531
|
+
else {
|
|
1532
|
+
apply.current([]);
|
|
1533
|
+
emptyOpen();
|
|
1534
|
+
}
|
|
1535
|
+
break;
|
|
1536
|
+
}
|
|
1537
|
+
};
|
|
1538
|
+
window.addEventListener("hanzo:chat-context-action", onContextAction);
|
|
1539
|
+
return () => window.removeEventListener("hanzo:chat-context-action", onContextAction);
|
|
1540
|
+
}, [anonymous, branchTurn, currentThread, forgetful, listen, mine, open, redoTurn, shownTitle, t, threadActions, withWhom]);
|
|
1158
1541
|
// THE LIKENESS, WHERE ONE WAS DRAWN FOR THIS CHARACTER. `cast.tsx` is the one
|
|
1159
1542
|
// table of who looks like what, and it says a name it does not hold "is not a
|
|
1160
1543
|
// problem" — that name wears initials, never another character's face.
|
|
@@ -1215,8 +1598,15 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1215
1598
|
const text = ask.trim();
|
|
1216
1599
|
if (preparing || (!text && !files.length))
|
|
1217
1600
|
return;
|
|
1601
|
+
const isPrOrReview = /\b(pull request|pr\s*#?\d+|github\.com\/[^\s]+\/pull\/\d+|\/pull\/\d+|code[\s-]?review|ponytail|pony|review\s+(this\s+)?(pr|diff|patch|changes|commit))\b/i.test(text);
|
|
1602
|
+
const ponyNote = isPrOrReview
|
|
1603
|
+
? 'Use the skill "code-review" (Ponytail Thermo-Nuclear Code Review + Code Judo): perform a rigorous multi-pass PR/diff review checking correctness, edge cases, race conditions, security, and maintainability.'
|
|
1604
|
+
: "";
|
|
1605
|
+
if (isPrOrReview && !carry.gear.gear.skills.includes("code-review")) {
|
|
1606
|
+
carry.gear.toggle("skills", "code-review");
|
|
1607
|
+
}
|
|
1218
1608
|
if (!carry.preparing)
|
|
1219
|
-
return deliver(text,
|
|
1609
|
+
return deliver(text, ponyNote);
|
|
1220
1610
|
setDraft("");
|
|
1221
1611
|
setPrepWrong(null);
|
|
1222
1612
|
void (async () => {
|
|
@@ -1228,7 +1618,7 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1228
1618
|
// An answer of a plugin's own (a deck) is the answer, whatever else was prepared.
|
|
1229
1619
|
if (got.reply)
|
|
1230
1620
|
return answered(text, got.reply);
|
|
1231
|
-
deliver(text, got.system
|
|
1621
|
+
deliver(text, [got.system, ponyNote].filter(Boolean).join("\n\n"));
|
|
1232
1622
|
}
|
|
1233
1623
|
catch (e) {
|
|
1234
1624
|
setPrepWrong(e instanceof Error ? e.message : String(e));
|
|
@@ -1320,11 +1710,11 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1320
1710
|
const wrong = failed?.error ?? null;
|
|
1321
1711
|
const how = wrong ? refusalOf(wrong) : null;
|
|
1322
1712
|
// A BILLING REFUSAL is said in the gateway's words; its way past —
|
|
1323
|
-
// Upgrade, Add prepaid credit — is the banner over the composer.
|
|
1324
|
-
//
|
|
1713
|
+
// Upgrade, Add prepaid credit — is the banner over the composer. Usage spent
|
|
1714
|
+
// until a reset answers the same until then, so it offers no Try again.
|
|
1325
1715
|
const bill = wrong ? billed(wrong) : null;
|
|
1326
1716
|
const resign = !bill && !!wrong && (refused(wrong) || /audience not allowed|invalid access token/i.test(wrong.message));
|
|
1327
|
-
const lift = free ? planRequired(wrong) : null;
|
|
1717
|
+
const lift = free && !bill ? planRequired(wrong) : null;
|
|
1328
1718
|
const said = !failed
|
|
1329
1719
|
? t("No answer came back for this question.")
|
|
1330
1720
|
: failed.stalled
|
|
@@ -1332,7 +1722,7 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1332
1722
|
: failed.empty
|
|
1333
1723
|
? t("{model} answered with nothing.", { model: nameOf(model, listed) })
|
|
1334
1724
|
: bill
|
|
1335
|
-
?
|
|
1725
|
+
? spent?.message ?? (spends(bill.code) ? (ultra(limits) ? t("Your balance is empty.") : t("Usage reached.")) : bill.message || plainly(wrong, t("this conversation"), t))
|
|
1336
1726
|
: resign
|
|
1337
1727
|
? t(anonymous
|
|
1338
1728
|
? "Sign in to ask this."
|
|
@@ -1340,7 +1730,7 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1340
1730
|
: how?.provider
|
|
1341
1731
|
? t("{model} is unavailable right now.", { model: familyOf(model) || nameOf(model, listed) })
|
|
1342
1732
|
: plainly(wrong, t("this conversation"), t);
|
|
1343
|
-
return (_jsx(Failure, { retryLabel: t("Try again"), onRetry: resign || lift || bill?.code
|
|
1733
|
+
return (_jsx(Failure, { retryLabel: t("Try again"), onRetry: resign || lift || spends(bill?.code ?? "") ? undefined : () => speak(text, question.id), children: _jsxs(YStack, { gap: "$2", children: [_jsxs(Text, { fontSize: "$3", color: "$ink", children: [whom.length ? `${t("No answer from {names}.", { names: join(whom, t) })} ` : "", said] }), how?.provider && wrong ? _jsx(Why, { text: detail(wrong) }) : null, lift || (!bill && (resign || how?.wallet || how?.visitor)) ? (_jsx(XStack, { gap: "$2", flexWrap: "wrap", children: resign ? (_jsx(Button, { size: "sm", onClick: () => {
|
|
1344
1734
|
if (typeof window !== "undefined") {
|
|
1345
1735
|
localStorage.removeItem("hanzo_iam_access_token");
|
|
1346
1736
|
localStorage.removeItem("hanzo_iam_refresh_token");
|
|
@@ -1386,13 +1776,27 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1386
1776
|
submit(p);
|
|
1387
1777
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1388
1778
|
}, [open, said.length]);
|
|
1779
|
+
const autoAsked = useRef("");
|
|
1780
|
+
useEffect(() => {
|
|
1781
|
+
const q = (initial || "").trim();
|
|
1782
|
+
if (!q || !settled || autoAsked.current === q || open)
|
|
1783
|
+
return;
|
|
1784
|
+
autoAsked.current = q;
|
|
1785
|
+
setDraft("");
|
|
1786
|
+
if (anonymous) {
|
|
1787
|
+
void sendAnon(q);
|
|
1788
|
+
}
|
|
1789
|
+
else {
|
|
1790
|
+
setQueued(q);
|
|
1791
|
+
}
|
|
1792
|
+
}, [initial, open, anonymous, settled, sendAnon]);
|
|
1389
1793
|
const families = useFamilies(mind, (id) => setAsk({ model: nameOf(id, listed) }));
|
|
1390
1794
|
const composer = {
|
|
1391
1795
|
value: draft,
|
|
1392
1796
|
onChange: setDraft,
|
|
1393
1797
|
onSend: () => submit(),
|
|
1394
1798
|
onStop: chat.stop,
|
|
1395
|
-
busy: chat.streaming,
|
|
1799
|
+
busy: chat.streaming || anonBusy,
|
|
1396
1800
|
// Files alone are a message: what is held goes with an empty draft too.
|
|
1397
1801
|
ready: Boolean(draft.trim() || files.length),
|
|
1398
1802
|
// `label` keeps the accessible name constant; the placeholder is the composer's own
|
|
@@ -1416,7 +1820,7 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1416
1820
|
},
|
|
1417
1821
|
// WHAT GOES WITH THE MESSAGE, above the frame and at its width: the
|
|
1418
1822
|
// pause and its ways past, one chip a file, and talk mode's words.
|
|
1419
|
-
head: files.length || turnedAway || prepWrong || preparing || talk.open || talk.refusal || pause ? (_jsxs(_Fragment, { children: [banner ? (_jsx(LimitedBanner, { message: banner.message, actions: banner.actions, onAction: act, onUsage: () => showSettings("usage") })) : null, actWrong ? (_jsx(Text, { role: "alert", "data-slot": "limited-banner-wrong", fontSize: "$2", color: BAD, children: actWrong })) : null, files.length ? (_jsx(XStack, { gap: "$1.5", flexWrap: "wrap", role: "list", "aria-label": t("Attached files"), "data-slot": "composer-attached", children: files.map((one) => (_jsx(HeldChip, { one: one, onOpen: openFile, onRemove: () => drop(at, one.id), onSave: anonymous ? undefined : (url, id) => keepOne(url, id, one.name, one.type) }, one.id))) })) : null, preparing ? (_jsxs(Text, { role: "status", "aria-live": "polite", "data-slot": "composer-preparing", fontSize: "$2", color: "$soft", children: [preparing, "\u2026"] })) : null, turnedAway || prepWrong ? (_jsx(Text, { role: "alert", fontSize: "$2", color: BAD, children: turnedAway || prepWrong })) : null, talk.open || talk.refusal ? (_jsx(Text, { role: "status", "aria-live": "polite", "data-slot": "composer-talk-reply", fontSize: "$2", color: talk.refusal ? BAD : "$soft", children: talk.refusal
|
|
1823
|
+
head: files.length || turnedAway || prepWrong || preparing || talk.open || talk.refusal || pause || simulatedResetAt ? (_jsxs(_Fragment, { children: [(banner && isUsageLimitReached) || simulatedResetAt ? (_jsx(NeedMoreUsageBanner, { resetsAt: pause?.resets_at ?? simulatedResetAt, fallbackModel: pause?.fallback ? nameOf(pause.fallback, listed) : null, isUltra: ultra(limits), customMessage: banner?.message ?? null, onGetMoreUsage: () => setNeedMoreUsageOpen(true), onSeeUsage: () => showSettings("usage") })) : banner ? (_jsx(LimitedBanner, { message: banner.message, actions: banner.actions, onAction: act, onUsage: () => showSettings("usage"), labels: { usage: t("See usage"), dismiss: t("Dismiss") } })) : null, actWrong ? (_jsx(Text, { role: "alert", "data-slot": "limited-banner-wrong", fontSize: "$2", color: BAD, children: actWrong })) : null, files.length ? (_jsx(XStack, { gap: "$1.5", flexWrap: "wrap", role: "list", "aria-label": t("Attached files"), "data-slot": "composer-attached", children: files.map((one) => (_jsx(HeldChip, { one: one, onOpen: openFile, onRemove: () => drop(at, one.id), onSave: anonymous ? undefined : (url, id) => keepOne(url, id, one.name, one.type) }, one.id))) })) : null, preparing ? (_jsxs(Text, { role: "status", "aria-live": "polite", "data-slot": "composer-preparing", fontSize: "$2", color: "$soft", children: [preparing, "\u2026"] })) : null, turnedAway || prepWrong ? (_jsx(Text, { role: "alert", fontSize: "$2", color: BAD, children: turnedAway || prepWrong })) : null, talk.open || talk.refusal ? (_jsx(Text, { role: "status", "aria-live": "polite", "data-slot": "composer-talk-reply", fontSize: "$2", color: talk.refusal ? BAD : "$soft", children: talk.refusal
|
|
1420
1824
|
? worded(talk.refusal)
|
|
1421
1825
|
: talk.reply
|
|
1422
1826
|
? `Hanzo: ${talk.reply}`
|
|
@@ -1425,17 +1829,56 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1425
1829
|
: "Connecting…") })) : null] })) : undefined,
|
|
1426
1830
|
// THE `+`: files (the Sources tab's "Attach files", one press closer),
|
|
1427
1831
|
// who is in the conversation, the skills, and the two switches.
|
|
1428
|
-
plus:
|
|
1429
|
-
|
|
1430
|
-
: {
|
|
1832
|
+
plus: (() => {
|
|
1833
|
+
const commonPlus = {
|
|
1431
1834
|
upload: () => take(at, via),
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1835
|
+
library: () => {
|
|
1836
|
+
if (!anonymous)
|
|
1837
|
+
go("/library");
|
|
1838
|
+
else
|
|
1839
|
+
take(at, via);
|
|
1840
|
+
},
|
|
1841
|
+
createImage: () => {
|
|
1842
|
+
setDraft((prev) => (prev.trim() ? prev : t("Create an image of ")));
|
|
1843
|
+
},
|
|
1844
|
+
browserTabs: () => {
|
|
1845
|
+
if (!deck.tabs.length) {
|
|
1846
|
+
deck.open({ kind: PAGE, title: t("New tab"), url: "" });
|
|
1847
|
+
}
|
|
1848
|
+
setPanel(true);
|
|
1849
|
+
},
|
|
1850
|
+
webSearch: () => {
|
|
1851
|
+
carry.gear.set({ research: true });
|
|
1852
|
+
setDraft((prev) => (prev.trim() ? prev : t("Search the web for ")));
|
|
1853
|
+
},
|
|
1854
|
+
sketch: () => take(at, via),
|
|
1855
|
+
thinking: {
|
|
1856
|
+
on: chatPrefs.effort === "max",
|
|
1857
|
+
set: (on) => {
|
|
1858
|
+
const eff = on ? "max" : "auto";
|
|
1859
|
+
setChatPrefs({ effort: eff });
|
|
1860
|
+
const next = shared(eff);
|
|
1861
|
+
if (next)
|
|
1862
|
+
mind.pace(next);
|
|
1863
|
+
},
|
|
1864
|
+
},
|
|
1436
1865
|
research: { on: carry.gear.gear.research, set: (on) => carry.gear.set({ research: on }) },
|
|
1437
|
-
|
|
1438
|
-
|
|
1866
|
+
};
|
|
1867
|
+
return anonymous
|
|
1868
|
+
? {
|
|
1869
|
+
...commonPlus,
|
|
1870
|
+
skills: carry.skills,
|
|
1871
|
+
plugins: carry.plugins,
|
|
1872
|
+
}
|
|
1873
|
+
: {
|
|
1874
|
+
...commonPlus,
|
|
1875
|
+
agents: agentShelf,
|
|
1876
|
+
skills: carry.skills,
|
|
1877
|
+
design: carry.design,
|
|
1878
|
+
plugins: carry.plugins,
|
|
1879
|
+
memory: { on: carry.gear.gear.memory, set: (on) => carry.gear.set({ memory: on }) },
|
|
1880
|
+
};
|
|
1881
|
+
})(),
|
|
1439
1882
|
// Who is in the conversation, then what it carries, as chips after `+`.
|
|
1440
1883
|
carried: [
|
|
1441
1884
|
...cast.map((name) => ({
|
|
@@ -1444,10 +1887,10 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1444
1887
|
icon: _jsx(Face, { src: faces[name]?.avatar, emoji: faces[name]?.emoji, name: name, size: 16 }),
|
|
1445
1888
|
onRemove: () => seat(cast.filter((one) => one !== name)),
|
|
1446
1889
|
})),
|
|
1447
|
-
...
|
|
1890
|
+
...carry.on,
|
|
1448
1891
|
],
|
|
1449
|
-
slash:
|
|
1450
|
-
at:
|
|
1892
|
+
slash: carry.skills,
|
|
1893
|
+
at: carry.plugins,
|
|
1451
1894
|
// The mode is Auto or Manual approval, the one Settings keeps; the person
|
|
1452
1895
|
// turns the pill on in Settings → Appearance, and it is off until they do.
|
|
1453
1896
|
mode: anonymous
|
|
@@ -1461,9 +1904,9 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1461
1904
|
},
|
|
1462
1905
|
},
|
|
1463
1906
|
// The model, only where the person turned the model selector on; the effort, always.
|
|
1464
|
-
mind,
|
|
1907
|
+
mind: anonymous ? null : mind,
|
|
1465
1908
|
effort: {
|
|
1466
|
-
value: chatPrefs.effort || "
|
|
1909
|
+
value: chatPrefs.effort || "auto",
|
|
1467
1910
|
set: (eff) => {
|
|
1468
1911
|
setChatPrefs({ effort: eff });
|
|
1469
1912
|
const next = shared(eff);
|
|
@@ -1472,10 +1915,10 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1472
1915
|
},
|
|
1473
1916
|
items: EFFORTS,
|
|
1474
1917
|
},
|
|
1475
|
-
// Chat keeps to the effort alone until the person asks for more: the family chips, the mode.
|
|
1918
|
+
// Chat keeps to the effort alone until the person asks for more: the family chips, the mode, the model.
|
|
1476
1919
|
chips: anonymous ? undefined : families,
|
|
1477
|
-
defaults: { chips: false, mode: false },
|
|
1478
|
-
status: anonymous ? null : _jsx(UsageControl, { read: planUsage, context: { model, window: rowOf(model)?.context_window, messages: chat.messages, draft, tools: !anonymous && house(rowOf(model)?.family) ? WEB : undefined } }),
|
|
1920
|
+
defaults: { chips: false, mode: false, model: false },
|
|
1921
|
+
status: anonymous ? null : _jsx(UsageControl, { read: planUsage, context: { model, window: rowOf(model)?.context_window, messages: chat.messages, draft, tools: !anonymous && carry.gear.gear.research && house(rowOf(model)?.family) ? WEB : undefined } }),
|
|
1479
1922
|
limits,
|
|
1480
1923
|
onUpgrade: (id) => setAsk({ model: nameOf(id, listed) }),
|
|
1481
1924
|
voice,
|
|
@@ -1527,85 +1970,136 @@ function Thread({ placeholder = message(), initial, anonymous = false, heading,
|
|
|
1527
1970
|
}, children: [_jsx(Schedule, { open: plan !== null, onOpenChange: (open) => {
|
|
1528
1971
|
if (!open)
|
|
1529
1972
|
setPlan(null);
|
|
1530
|
-
}, prompt: plan ?? "", model: model, models: models.map((m) => ({ id: m.id, name: nameOf(m.id, listed) })) }), dragging ? (_jsx(YStack, { "aria-hidden": true, position: "absolute", t: 0, r: 0, b: 0, l: 0, z: 10, items: "center", justify: "center", bg: "var(--surface-scrim)", borderWidth: 2, borderStyle: "dashed", borderColor: "$borderColor", rounded: "var(--pane-round)", pointerEvents: "none", children: _jsxs(XStack, { items: "center", gap: "$2", px: "$4", py: "$2.5", rounded: "$10", bg: "$background", borderWidth: 1, borderColor: "$borderColor", children: [_jsx(Paperclip, { size: 15, "aria-hidden": true }), _jsx(Text, { fontSize: "$4", color: "$ink", children: t("Drop files to attach") })] }) })) : null, _jsxs(XStack, { "data-slot": "conversation-head",
|
|
1531
|
-
// On the rail's line from a tablet up
|
|
1532
|
-
height: BAND, $md: { height: inPane(HEAD) }, $touchable: { height: inPane(TOUCH_HEAD) }, display: "grid", gridTemplateColumns: "minmax(0, 1fr) auto", items: "center", gap: "$3", paddingInlineStart:
|
|
1973
|
+
}, prompt: plan ?? "", model: model, models: models.map((m) => ({ id: m.id, name: nameOf(m.id, listed) })) }), dragging ? (_jsx(YStack, { "aria-hidden": true, position: "absolute", t: 0, r: 0, b: 0, l: 0, z: 10, items: "center", justify: "center", bg: "var(--surface-scrim)", borderWidth: 2, borderStyle: "dashed", borderColor: "$borderColor", rounded: "var(--pane-round)", pointerEvents: "none", children: _jsxs(XStack, { items: "center", gap: "$2", px: "$4", py: "$2.5", rounded: "$10", bg: "$background", borderWidth: 1, borderColor: "$borderColor", children: [_jsx(Paperclip, { size: 15, "aria-hidden": true }), _jsx(Text, { fontSize: "$4", color: "$ink", children: t("Drop files to attach") })] }) })) : null, _jsxs(XStack, { "data-slot": "conversation-head", group: true,
|
|
1974
|
+
// On the rail's line from a tablet up; a phone's own bar is BAND.
|
|
1975
|
+
height: BAND, $md: { height: inPane(HEAD) }, $touchable: { height: inPane(TOUCH_HEAD) }, display: "grid", gridTemplateColumns: "minmax(0, 1fr) auto", items: "center", gap: "$3", paddingInlineStart: INSET - 8,
|
|
1533
1976
|
// The last mark's centre INSET from the pane's end edge, as the rail's first is from the
|
|
1534
|
-
// window's start:
|
|
1535
|
-
paddingInlineEnd: INSET -
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
//
|
|
1562
|
-
// the
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
//
|
|
1569
|
-
//
|
|
1570
|
-
//
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
//
|
|
1592
|
-
//
|
|
1593
|
-
const
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
? addressed(words(q?.content), cast)
|
|
1597
|
-
: [
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1977
|
+
// window's start: half the 32px mark.
|
|
1978
|
+
paddingInlineEnd: INSET - 16, shrink: 0, "data-tauri-drag-region": "deep", onMouseDown: dragWindow, onDoubleClick: toggleWindowMaximize, "$max-md": !mine && !cast.length ? { display: 'none' } : undefined, children: [_jsxs(XStack, { items: "center", gap: "$2", minW: 0, children: [editingTitle && shownTitle && (sidebarClosed || !media.md) ? (_jsx(Input, { "data-slot": "conversation-title-input", "aria-label": t("Chat title"), value: titleDraft, autoFocus: true, maxLength: 200, size: "sm", minW: 160, maxW: 360, onChangeText: setTitleDraft, onBlur: commitTitle, onKeyDown: (e) => {
|
|
1979
|
+
e.stopPropagation?.();
|
|
1980
|
+
if (e.key === "Enter") {
|
|
1981
|
+
e.preventDefault?.();
|
|
1982
|
+
commitTitle();
|
|
1983
|
+
}
|
|
1984
|
+
else if (e.key === "Escape") {
|
|
1985
|
+
e.preventDefault?.();
|
|
1986
|
+
setEditingTitle(false);
|
|
1987
|
+
}
|
|
1988
|
+
} })) : shownTitle && (sidebarClosed || !media.md) ? (_jsx(XStack, { render: "button", "data-slot": "conversation-title", "aria-label": shownTitle, items: "center", gap: "$1.5", px: "$2", py: "$1", rounded: "$3", minW: 0, shrink: 1, cursor: "pointer", hoverStyle: { bg: "$hover" }, onPress: () => {
|
|
1989
|
+
setTitleDraft(shownTitle);
|
|
1990
|
+
setEditingTitle(true);
|
|
1991
|
+
}, children: _jsx(Text, { fontSize: 15, lineHeight: 20, fontWeight: "500", color: "$ink", numberOfLines: 1, shrink: 1, minW: 0, children: shownTitle }) })) : null, cast.length ? (_jsx(XStack, { role: "list", "aria-label": t("Agents in this chat"), items: "center", gap: "$1.5", minW: 0, overflowX: "auto", "$platform-web": { scrollbarWidth: "none" }, children: cast.map((name) => (_jsxs(XStack, { role: "listitem", items: "center", gap: "$1.5", paddingInlineStart: "$1", paddingInlineEnd: "$0.5", py: "$0.5", rounded: 999, borderWidth: 1, borderColor: "$borderColor", shrink: 0, children: [_jsx(Face, { src: faces[name]?.avatar ?? (name === withWhom ? portrait : undefined), emoji: faces[name]?.emoji ?? (name === withWhom ? persona?.emoji : undefined), name: name, size: 22 }), _jsx(Text, { fontSize: "$2", fontWeight: "600", color: "$color", numberOfLines: 1, display: "none", $sm: { display: "flex" }, children: name }), _jsx(Box, { render: "button", onClick: () => openAgent(name), "aria-label": t("Remove {name} from this chat", { name }), title: t("Remove {name}", { name }), width: 24, height: 24, rounded: 999, items: "center", justify: "center", hoverStyle: { bg: "$hover" }, children: _jsx(X, { size: 13, "aria-hidden": true, color: "var(--soft, var(--muted-foreground))" }) })] }, name))) })) : null] }), _jsxs(XStack, { "data-slot": "conversation-controls", "data-tauri-drag-region": "false", items: "center", gap: 4, shrink: 0, children: [anonymous ? (_jsxs(XStack, { items: "center", gap: "$2", children: [_jsx(Button, { size: "xs", variant: "outline", rounded: 9999, px: "$3", "data-slot": "header-login", onPress: () => {
|
|
1992
|
+
if (typeof window !== "undefined")
|
|
1993
|
+
window.location.assign("/login?next=%2Fchat");
|
|
1994
|
+
}, children: t("Log in") }), _jsx(XStack, { display: "none", $sm: { display: "flex" }, children: _jsx(Button, { size: "xs", rounded: 9999, px: "$3", "data-slot": "header-signup", onPress: () => {
|
|
1995
|
+
if (typeof window !== "undefined")
|
|
1996
|
+
window.location.assign("/signup?next=%2Fchat");
|
|
1997
|
+
}, children: t("Sign up for free") }) }), _jsx(XStack, { display: "flex", $sm: { display: "none" }, children: _jsx(Button, { size: "xs", rounded: 9999, px: "$3", "data-slot": "header-signup-compact", onPress: () => {
|
|
1998
|
+
if (typeof window !== "undefined")
|
|
1999
|
+
window.location.assign("/signup?next=%2Fchat");
|
|
2000
|
+
}, children: t("Sign up") }) })] })) : free && (sidebarClosed || !media.md) ? (_jsxs(XStack, { render: "button", "data-slot": "header-upgrade", "aria-label": t("Upgrade plan"), items: "center", gap: "$1.5", px: "$2", py: "$1", rounded: "$3", bg: "transparent", cursor: "pointer", hoverStyle: { bg: "$hover" }, onPress: () => window.location.assign(payUrl('/cart', { org: org(), returnUrl: window.location.href })), children: [_jsx(Sparkles, { size: 14, color: "var(--muted-foreground)", "aria-hidden": true }), _jsx(Text, { fontSize: 15, lineHeight: 20, fontWeight: "500", color: "$soft", numberOfLines: 1, children: t("Upgrade plan") })] })) : null, said.length > 0 ? (_jsx(ConversationMenu, { threads: currentThreadMap, active: open || currentThread.id, onSchedule: anonymous || forgetful ? undefined : () => setPlan(lastAsked()), children: _jsx(XStack, {}) })) : (_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(XStack, { render: "button", "data-slot": "header-private-chat", "aria-label": t("Private chat"), "aria-pressed": forgetful, width: 32, height: 32, items: "center", justify: "center", rounded: "$3", bg: "transparent", cursor: "pointer", hoverStyle: { bg: "$hover" }, focusVisibleStyle: { outlineWidth: 2, outlineStyle: "solid", outlineColor: "var(--ring)" }, onPress: () => setForgetful(!forgetful), children: _jsx(Ghost, { size: 16, strokeWidth: 1.75, color: forgetful ? "var(--foreground)" : "var(--muted-foreground)", fill: forgetful ? "currentColor" : "none", "aria-hidden": true }) }) }), _jsx(TooltipContent, { children: forgetful ? t("Private chat is on: this conversation is not saved") : t("Private chat") })] })), open ? _jsx(Share, { thread: open }) : null, _jsx(XStack, { "$max-md": { display: 'none' }, children: _jsx(Summary, { sections: sections, onOpen: () => setPanel(true), label: t("Summary") }) }), _jsx(XStack, { "$max-md": { display: 'none' }, children: _jsx(PanelToggle, { open: panel, onToggle: () => setPanel(!panel) }) })] })] }), wide && aside !== null ? (_jsx(Side, { children: _jsx(Panel, { side: deck, kinds: NONE, onHide: () => setPanel(false), label: t("Tabs"), ...browsing }) })) : null, !wide && panel ? _jsx(Panel, { side: deck, kinds: NONE, sheet: true, onHide: () => setPanel(false), label: t("Tabs"), ...browsing }) : null, _jsx(XStack, { flex: 1, minH: 0, minW: 0, children: _jsx(YStack, { "data-slot": "talk", flex: 1, minH: 0, minW: 0, children: _jsx(ChatSurface, { ...chat, messages: shown, send: guarded,
|
|
2001
|
+
// WHILE NOTHING HAS BEEN SAID, from a tablet up, the opening and the
|
|
2002
|
+
// composer are one pair centred in the pane (`center`: rows `1fr auto auto
|
|
2003
|
+
// 1fr`), so the heading reads close above the field and nothing stands at
|
|
2004
|
+
// the window's foot (owner, 2026-10-30). A phone keeps the composer at the
|
|
2005
|
+
// foot, over the keyboard, from the first moment; once a turn exists every
|
|
2006
|
+
// width does, and the transcript scrolls under it.
|
|
2007
|
+
center: media.md,
|
|
2008
|
+
// AS IT WAS WRITTEN. The package renders a turn's words plainly and
|
|
2009
|
+
// says so — it ships no markdown pipeline because the plugin set is the
|
|
2010
|
+
// surface's to choose — so an answer arrived here reading "```ts" with
|
|
2011
|
+
// the backticks on screen. `Prose` is the site's one renderer, reading
|
|
2012
|
+
// with the same `marked` the legal pages parse with and drawing every
|
|
2013
|
+
// token in gui elements, and the shared view draws through it too.
|
|
2014
|
+
body: (turn) => {
|
|
2015
|
+
if (String(turn.id).startsWith(`${FAILED}:`)) {
|
|
2016
|
+
const question = shown.find((one) => one.id === String(turn.id).slice(FAILED.length + 1));
|
|
2017
|
+
return question ? failure(question) : null;
|
|
2018
|
+
}
|
|
2019
|
+
// A QUESTION THAT CARRIED PICTURES draws them beside its words.
|
|
2020
|
+
if (turn.role === "user" && Array.isArray(turn.content)) {
|
|
2021
|
+
const parts = partsOf(turn.content);
|
|
2022
|
+
return (_jsx(YStack, { gap: "$1", children: _jsx(Parts, { parts: parts, prose: (text) => _jsx(Prose, { text: text }) }) }));
|
|
2023
|
+
}
|
|
2024
|
+
const said = typeof turn.content === "string" ? turn.content : "";
|
|
2025
|
+
// A QUESTION THAT CARRIED FILES draws its words and the files' chips;
|
|
2026
|
+
// the passages it handed the model are the model's to read, not ours.
|
|
2027
|
+
if (turn.role === "user" && said) {
|
|
2028
|
+
const read = told(said);
|
|
2029
|
+
if (read.carried)
|
|
2030
|
+
return (_jsx(YStack, { gap: "$1", children: _jsx(Carried, { text: read.text, attached: read.carried.attached, reused: read.carried.reused, onOpen: openFile, onSave: anonymous ? undefined : (url, id, f) => keepOne(url, id, f.name, f.type) }) }));
|
|
2031
|
+
}
|
|
2032
|
+
// WHILE THE ANSWER HAS NO WORDS YET: who is answering (the agents the
|
|
2033
|
+
// question addresses, or the whole cast when it names nobody), and the
|
|
2034
|
+
// model's reasoning as it streams (`reasoning` on the turn), dimmed and
|
|
2035
|
+
// cut to its last lines.
|
|
2036
|
+
const thought = turn.role === "assistant" && !said && chat.streaming ? (turn.reasoning ?? "").trim() : "";
|
|
2037
|
+
if (turn.role === "assistant" && !said && chat.streaming && (cast.length || thought)) {
|
|
2038
|
+
const q = [...shown].reverse().find((one) => one.role === "user");
|
|
2039
|
+
const whom = cast.length ? addressed(words(q?.content), cast) : [];
|
|
2040
|
+
return (_jsxs(YStack, { gap: "$1", "data-slot": "thinking", children: [_jsx(Text, { fontSize: "$2", color: "$soft", children: whom.length
|
|
2041
|
+
? whom.length > 1
|
|
2042
|
+
? thought
|
|
2043
|
+
? t("{names} are thinking…", { names: join(whom, t) })
|
|
2044
|
+
: t("{names} are answering…", { names: join(whom, t) })
|
|
2045
|
+
: thought
|
|
2046
|
+
? t("{names} is thinking…", { names: join(whom, t) })
|
|
2047
|
+
: t("{names} is answering…", { names: join(whom, t) })
|
|
2048
|
+
: t("Thinking…") }), thought ? (_jsx(Text, { fontSize: "$2", color: "$soft", opacity: 0.72, "data-slot": "thought", children: thought.length > THOUGHT ? `…${thought.slice(-THOUGHT).replace(/^\S*\s/, "")}` : thought })) : null] }));
|
|
2049
|
+
}
|
|
2050
|
+
// A CAST'S ANSWER IS SEVERAL PEOPLE'S. Each opens a line with their
|
|
2051
|
+
// name, as the brief asks, so each is drawn under their own face and
|
|
2052
|
+
// read in their own voice. A reply that names nobody is drawn whole.
|
|
2053
|
+
const parts = turn.role === "assistant" ? speakers(said, known) : null;
|
|
2054
|
+
if (parts && parts.some((part) => part.who)) {
|
|
2055
|
+
// Asked and silent: an agent the question addressed who has no part
|
|
2056
|
+
// in this reply.
|
|
2057
|
+
const at = shown.findIndex((one) => one.id === turn.id);
|
|
2058
|
+
const q = shown.slice(0, at).reverse().find((one) => one.role === "user");
|
|
2059
|
+
const silent = cast.length > 1 && !(chat.streaming && at === shown.length - 1)
|
|
2060
|
+
? addressed(words(q?.content), cast).filter((name) => !parts.some((part) => part.who?.toLowerCase() === name.toLowerCase()))
|
|
2061
|
+
: [];
|
|
2062
|
+
return (_jsxs(YStack, { gap: "$3", "data-turn-id": String(turn.id), "data-turn-role": turn.role, children: [parts.map((part, i) => (_jsxs(YStack, { gap: "$1", children: [part.who ? (_jsxs(XStack, { items: "center", gap: "$2", children: [_jsx(Face, { src: faces[part.who]?.avatar, emoji: faces[part.who]?.emoji, name: part.who, size: 20 }), _jsx(Text, { fontSize: "$2", fontWeight: "600", color: "$ink", children: part.who })] })) : null, _jsx(Prose, { text: part.text }), part.text ? (_jsx(Reply, { text: part.text, title: shownTitle, listen: listen(part.who ?? withWhom ?? undefined), onOpen: opener(part.text), onRedo: (act) => redoTurn(turn.id, act), onBranch: () => branchTurn(turn.id) })) : null] }, i))), silent.length ? (_jsx(Text, { fontSize: "$2", color: "$soft", children: t("No answer from {names} in this reply.", { names: join(silent, t) }) })) : null, byline(turn.id)] }));
|
|
2063
|
+
}
|
|
2064
|
+
return (_jsxs(YStack, { gap: "$1", "data-turn-id": String(turn.id), "data-turn-role": turn.role, children: [_jsx(Prose, { text: said }), turn.role === "assistant" && said ? (_jsx(Reply, { text: said, title: shownTitle, listen: listen(withWhom ?? undefined), onOpen: opener(said), onRedo: (act) => redoTurn(turn.id, act), onBranch: () => branchTurn(turn.id) })) : null, turn.role === "assistant" && said ? byline(turn.id) : null] }));
|
|
2065
|
+
},
|
|
2066
|
+
// The page's ONE heading, and it belongs to the empty transcript rather
|
|
2067
|
+
// than to a signed-out branch — the branch is gone, and the heading went
|
|
2068
|
+
// with it when it did. `Ask` passes its own, because the page embedding
|
|
2069
|
+
// it already has an `<h1>` and a second is the defect that took the
|
|
2070
|
+
// landings off /chat and /dev.
|
|
2071
|
+
empty: heading === null ? undefined : (_jsxs(YStack, { "data-slot": "opening", items: "center", justify: "flex-end", width: "100%", height: "100%", pt: "$6", pb: "$2", children: [cast.length > 1 ? (_jsx(XStack, { items: "center", justify: "center", mb: "$4", children: cast.map((name, i) => (_jsx(Box, { marginInlineStart: i ? -16 : 0, rounded: 40, borderWidth: 2, borderColor: "$background", z: cast.length - i, children: _jsx(Face, { src: faces[name]?.avatar, emoji: faces[name]?.emoji, name: name, size: 72 }) }, name))) })) : portrait ? (_jsx(Box, { width: 160, height: 160, rounded: 24, overflow: "hidden", borderWidth: 2, borderColor: "var(--white-15)", boxShadow: "0 10px 24px color-mix(in srgb, var(--pure-black) 70%, transparent)", mb: "$4", bg: "var(--neutral-900)", children: _jsx(View, { render: _jsx("img", { src: portrait, alt: withWhom }), width: "100%", height: "100%", objectFit: "cover" }) })) : null, cast.length === 1 && !portrait ? (_jsx(Box, { mb: "$3", children: _jsx(Face, { emoji: mate?.emoji ?? persona?.emoji, name: withWhom, size: 72 }) })) : null, _jsx(Text, { render: "h1", fontSize: "$7", lineHeight: "$7", fontWeight: "700", color: "$ink", text: "center", mb: "$1", children: join(cast, t) || heading || (firstName ? t("What’s up, {name}?", { name: firstName }) : t("What’s up?")) }), cast.length === 1 && (mate?.description ?? persona?.description) ? (_jsx(Text, { fontSize: "$3", color: "$soft", text: "center", maxW: 500, mb: "$4", lineHeight: "$4", children: mate?.description ?? persona?.description })) : null] })),
|
|
2072
|
+
// The transcript reads at the same measure. `Thread` defaults to 768
|
|
2073
|
+
// itself; handing it the column here is what lets Width reach it.
|
|
2074
|
+
column: { maxW: MEASURE }, composer: composer }) }) }), _jsx(AgentMaker, {}), carry.dialog, _jsx(Dialog, { open: anonPluginsOpen, onOpenChange: setAnonPluginsOpen, children: _jsxs(DialogContent, { maxW: 480, width: "100%", gap: "$3", "data-slot": "anon-plugins-dialog", children: [_jsx(DialogTitle, { children: t("Plugins & Skills") }), _jsx(Text, { fontSize: "$2", color: "$soft", children: t("Enable plugins and skills for this conversation, or type / and @ in the composer.") }), _jsxs(YStack, { maxH: 320, overflow: "scroll", gap: "$1.5", children: [carry.plugins.rows.map((p) => (_jsxs(XStack, { render: "button", onPress: () => carry.plugins.pick(p.id), items: "center", justify: "space-between", p: "$2.5", rounded: "$3", borderWidth: 1, borderColor: p.on ? "$ink" : "$borderColor", bg: p.on ? "$hover" : "transparent", hoverStyle: { bg: "$hover" }, cursor: "pointer", children: [_jsxs(XStack, { items: "center", gap: "$2.5", minW: 0, flex: 1, children: [p.icon, _jsxs(YStack, { minW: 0, flex: 1, children: [_jsx(Text, { fontSize: "$2", fontWeight: "600", color: "$ink", numberOfLines: 1, children: p.label }), p.note ? (_jsx(Text, { fontSize: "$1", color: "$soft", numberOfLines: 1, children: p.note })) : null] })] }), _jsx(Text, { fontSize: "$1", fontWeight: "600", color: p.on ? "$ink" : "$soft", children: p.on ? t("On") : t("Plugin") })] }, `plugin:${p.id}`))), carry.skills.rows.slice(0, 24).map((s) => (_jsxs(XStack, { render: "button", onPress: () => carry.skills.pick(s.id), items: "center", justify: "space-between", p: "$2", rounded: "$3", borderWidth: 1, borderColor: s.on ? "$ink" : "$borderColor", bg: s.on ? "$hover" : "transparent", hoverStyle: { bg: "$hover" }, cursor: "pointer", children: [_jsxs(XStack, { items: "center", gap: "$2", minW: 0, flex: 1, children: [s.icon, _jsxs(Text, { fontSize: "$2", color: "$ink", numberOfLines: 1, children: ["/", s.label] })] }), _jsx(Text, { fontSize: "$1", fontWeight: "600", color: s.on ? "$ink" : "$soft", children: s.on ? t("On") : t("Skill") })] }, `skill:${s.id}`)))] })] }) }), _jsx(Dialog, { open: anonGateOpen, onOpenChange: setAnonGateOpen, children: _jsxs(DialogContent, { maxW: 480, rounded: "$6", gap: "$3.5", children: [_jsx(DialogTitle, { children: t("Sign in to continue chatting") }), _jsx(Text, { fontSize: "$3", color: "$soft", lineHeight: "$4", children: t("Sign in or create a free Hanzo account to save this conversation and continue chatting.") }), _jsxs(YStack, { gap: "$2", pt: "$1", children: [_jsx(Button, { variant: "primary", size: "lg", width: "100%", onPress: () => window.location.assign("/signup?next=%2Fchat"), children: t("Create Free Account") }), _jsx(Button, { variant: "outline", size: "default", width: "100%", onPress: () => enter(LOGIN), children: t("Sign In") })] }), _jsxs(YStack, { gap: "$2", pt: "$2.5", borderTopWidth: 1, borderColor: "$borderColor", children: [_jsx(Text, { fontSize: "$1", fontFamily: "$mono", color: "$soft", children: t("NEED MORE CAPACITY? UPGRADE ANYTIME") }), _jsx(XStack, { gap: "$2", flexWrap: "wrap", children: [
|
|
2075
|
+
["Go", "Pro"],
|
|
2076
|
+
["Dev", "Max"],
|
|
2077
|
+
].flat().map((label) => (_jsx(XStack, { render: "button", onPress: () => {
|
|
2078
|
+
setAnonGateOpen(false);
|
|
2079
|
+
setAsk({});
|
|
2080
|
+
window.location.hash = "#pricing";
|
|
2081
|
+
}, flex: 1, minW: 88, px: "$2.5", py: "$2", rounded: "$4", borderWidth: 1, borderColor: "$borderColor", items: "center", justify: "center", cursor: "pointer", hoverStyle: { bg: "$hover" }, children: _jsx(Text, { fontSize: "$2", fontWeight: "600", color: "$ink", children: label }) }, label))) })] })] }) }), _jsx(Upgrade, { ask: ask, onClose: () => setAsk(null) }), _jsx(NeedMoreUsageModal, { open: needMoreUsageOpen, onClose: () => setNeedMoreUsageOpen(false), resetsAt: pause?.resets_at ?? simulatedResetAt, onBuyCredits: async () => {
|
|
2082
|
+
setActWrong("");
|
|
2083
|
+
const hasCreditsReady = Boolean(pause?.actions?.some((a) => a.kind === "credits"));
|
|
2084
|
+
await setCreditsAfterAllowance(true).catch(() => { });
|
|
2085
|
+
if (hasCreditsReady) {
|
|
2086
|
+
setNeedMoreUsageOpen(false);
|
|
2087
|
+
reread();
|
|
2088
|
+
const q = [...turns.current].reverse().find((m) => m.role === "user");
|
|
2089
|
+
if (q)
|
|
2090
|
+
speak(words(q.content), failures[q.id] ? q.id : undefined);
|
|
2091
|
+
return;
|
|
2092
|
+
}
|
|
2093
|
+
const here = typeof window !== "undefined" ? window.location.href : undefined;
|
|
2094
|
+
const url = payUrl("/amount/card", { org: org(), returnUrl: here });
|
|
2095
|
+
setNeedMoreUsageOpen(false);
|
|
2096
|
+
if (typeof window !== "undefined")
|
|
2097
|
+
window.location.assign(url);
|
|
2098
|
+
}, onSetupTeam: () => {
|
|
2099
|
+
const here = typeof window !== "undefined" ? window.location.href : undefined;
|
|
2100
|
+
const url = payUrl("/cart", { plan: "team", quantity: "5", org: org(), returnUrl: here });
|
|
2101
|
+
setNeedMoreUsageOpen(false);
|
|
2102
|
+
if (typeof window !== "undefined")
|
|
2103
|
+
window.location.assign(url);
|
|
2104
|
+
} }), _jsx(VisuallyHidden, { role: "status", "aria-live": "polite", "data-slot": "limited-said", children: _jsx(Text, { children: banner?.message ?? "" }) })] }));
|
|
1611
2105
|
}
|