{
  "_id": "6af50017be2268deb4a3c238",
  "Package": "shinygenui",
  "Title": "Generative UI for 'shiny'",
  "Version": "0.2.0.9000",
  "Authors@R": "c(\nperson(\"Nan\", \"Xiao\", email = \"me@nanx.me\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-0250-5673\"))\n)",
  "Description": "Build interactive user interfaces for 'shiny' applications\nthrough a conversation with a large language model (LLM).\nDevelopers choose a set of reusable components, and the model\narranges and updates those components as the user describes\nwhat they need. Each component's inputs are checked before it\nis shown, and the model supplies data rather than executable\ncode. Applications can also save and replay the sequence of\ninterface changes without contacting a model. For background on\ngenerative user interfaces, see Leviathan et al. (2026)\n<doi:10.48550/arXiv.2604.09577>.",
  "License": "MIT + file LICENSE",
  "URL": "https://nanx.me/shinygenui/,\nhttps://github.com/nanxstats/shinygenui",
  "BugReports": "https://github.com/nanxstats/shinygenui/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.1.1",
  "Config/pak/sysreqs": "cmake make libuv1-dev libssl-dev zlib1g-dev",
  "Repository": "https://nanxstats.r-universe.dev",
  "Date/Publication": "2026-11-11 22:41:55 UTC",
  "RemoteUrl": "https://github.com/nanxstats/shinygenui",
  "RemoteRef": "HEAD",
  "RemoteSha": "d60c5910291d20d5d9d19e9ae0f1bed095cd621d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-11 23:50:19 UTC",
    "User": "root"
  },
  "Author": "Nan Xiao [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-0250-5673>)",
  "Maintainer": "Nan Xiao <me@nanx.me>",
  "_user": "nanxstats",
  "_type": "src",
  "_file": "shinygenui_0.2.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/cad8b2ccb637757fa2ddfbb07f41ef95dfc551f82e364796246c29f7dd2b6306",
  "_filesize": 290170,
  "_sha256": "cad8b2ccb637757fa2ddfbb07f41ef95dfc551f82e364796246c29f7dd2b6306",
  "_expires": "2027-02-19T23:53:57.000Z",
  "_created": "2026-11-11T23:50:19.000Z",
  "_published": "2026-11-11T23:53:59.619Z",
  "_upstream": "https://github.com/nanxstats/shinygenui",
  "_status": "success",
  "_maintainer": {
    "name": "Nan Xiao",
    "email": "me@nanx.me",
    "login": "nanxstats",
    "bluesky": "@nanxstats.bsky.social",
    "linkedin": "in/nanxstats",
    "twitter": "@nanxstats",
    "description": "Statistician",
    "uuid": 199363,
    "orcid": "0000-0002-0250-5673"
  },
  "_jobs": [
    {
      "job": 130867515730,
      "time": 162,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13901955723"
    },
    {
      "job": 130867515738,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13900743975"
    },
    {
      "job": 130867515803,
      "time": 113,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13901282762"
    },
    {
      "job": 130867515700,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13901588088"
    },
    {
      "job": 130865742977,
      "time": 249,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13900728772"
    },
    {
      "job": 130867515724,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13902055190"
    },
    {
      "job": 130867516076,
      "time": 141,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13901198454"
    },
    {
      "job": 130867516028,
      "time": 135,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13900989058"
    },
    {
      "job": 130867516022,
      "time": 174,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13900259725"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nanxstats/actions/runs/43122338349",
  "_commit": {
    "id": "d60c5910291d20d5d9d19e9ae0f1bed095cd621d",
    "author": "Nan Xiao <me@nanx.me>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Validate raw tool arguments in dispatch (#29)\n\nAuditing against ellmer 0.5.2 showed that the package needs no API changes\nfor the new release, but that ellmer's default argument conversion sat\nbetween the model and genui_dispatch(). It turned an array of enums into a\nfactor, an array of objects into a data frame, and a missing required\nargument into NA, so dispatch rejected valid calls or reported the wrong\nproblem. A data_table call that named its columns always failed. The unit\ntests call the tool functions directly and never saw the conversion.\n\n- Register every tool with `convert = FALSE` so that ellmer passes the\n  parsed JSON arguments through unchanged.\n- Make dispatch return each argument in one canonical form, shared by\n  creation, update, and replay.\n- Parse `update_component` arguments without simplification and replace\n  each supplied argument as a whole instead of using modifyList().\n- Quote rejected values as JSON in error messages.\n- Document the argument forms and the validation design.\n\nCo-authored-by: Claude Fable 5.2 <noreply@anthropic.com>",
    "time": 1794436915
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "bslib",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "ellmer",
      "version": ">= 0.4.1",
      "role": "Imports"
    },
    {
      "package": "htmltools",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "shinychat",
      "version": ">= 0.5.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "whisker",
      "role": "Imports"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "shinytest2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "nanxstats",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-35",
      "n": 27
    },
    {
      "week": "2026-36",
      "n": 3
    },
    {
      "week": "2026-37",
      "n": 3
    },
    {
      "week": "2026-38",
      "n": 2
    },
    {
      "week": "2026-39",
      "n": 2
    },
    {
      "week": "2026-46",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-08-28"
    },
    {
      "name": "v0.2.0",
      "date": "2026-09-22"
    }
  ],
  "_topics": [
    "ellmer",
    "generative-ui",
    "llm",
    "shiny",
    "shinychat"
  ],
  "_stars": 6,
  "_contributors": [
    {
      "user": "nanxstats",
      "count": 62,
      "uuid": 199363
    }
  ],
  "_userbio": {
    "uuid": 199363,
    "type": "user",
    "name": "Nan Xiao",
    "followers": 822,
    "description": "Statistician"
  },
  "_downloads": {
    "count": 334,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/shinygenui"
  },
  "_devurl": "https://github.com/nanxstats/shinygenui",
  "_pkgdown": "https://nanx.me/shinygenui/",
  "_searchresults": 9,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/shinygenui.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/nanxstats/shinygenui",
  "_realowner": "nanxstats",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-09-09"
    },
    {
      "version": "0.2.0",
      "date": "2026-09-22"
    }
  ],
  "_exports": [
    "genui_call",
    "genui_canvas",
    "genui_card_row",
    "genui_catalog",
    "genui_component",
    "genui_components_bslib",
    "genui_dispatch",
    "genui_prompt",
    "genui_replay",
    "genui_server",
    "genui_trace"
  ],
  "_help": [
    {
      "page": "genui_call",
      "title": "Create a normalized tool call",
      "topics": [
        "genui_call"
      ]
    },
    {
      "page": "genui_canvas",
      "title": "Canvas container for generated components",
      "topics": [
        "genui_canvas"
      ]
    },
    {
      "page": "genui_card_row",
      "title": "Container component: a titled row of cards",
      "topics": [
        "genui_card_row"
      ]
    },
    {
      "page": "genui_catalog",
      "title": "Collect components into a catalog",
      "topics": [
        "genui_catalog"
      ]
    },
    {
      "page": "genui_component",
      "title": "Define a generative UI component",
      "topics": [
        "genui_component"
      ]
    },
    {
      "page": "genui_components_bslib",
      "title": "Starter component pack built on bslib",
      "topics": [
        "genui_components_bslib"
      ]
    },
    {
      "page": "genui_dispatch",
      "title": "Validate one tool call and plan its effect",
      "topics": [
        "genui_dispatch"
      ]
    },
    {
      "page": "genui_prompt",
      "title": "Assemble the system prompt from a catalog",
      "topics": [
        "genui_prompt"
      ]
    },
    {
      "page": "genui_replay",
      "title": "Rebuild a canvas from a saved trace, no LLM required",
      "topics": [
        "genui_replay"
      ]
    },
    {
      "page": "genui_server",
      "title": "Server logic for a generative UI canvas",
      "topics": [
        "genui_server"
      ]
    },
    {
      "page": "genui_trace",
      "title": "Read the ordered call trace of a canvas",
      "topics": [
        "genui_trace"
      ]
    }
  ],
  "_pkglogo": "https://github.com/nanxstats/shinygenui/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/nanxstats/shinygenui/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "coro",
    "curl",
    "digest",
    "ellmer",
    "fastmap",
    "fontawesome",
    "fs",
    "glue",
    "htmltools",
    "httpuv",
    "httr2",
    "jquerylib",
    "jsonlite",
    "later",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "openssl",
    "otel",
    "pillar",
    "pkgconfig",
    "promises",
    "R6",
    "rappdirs",
    "Rcpp",
    "rlang",
    "S7",
    "sass",
    "shiny",
    "shinychat",
    "sourcetools",
    "sys",
    "tibble",
    "utf8",
    "vctrs",
    "whisker",
    "withr",
    "xtable"
  ],
  "_vignettes": [
    {
      "source": "shinygenui.Rmd",
      "filename": "shinygenui.html",
      "title": "Get started with shinygenui",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A complete app",
        "Defining a component",
        "The component lifecycle",
        "Containers",
        "Trace and replay",
        "When things go wrong"
      ],
      "created": "2026-08-27 20:35:41",
      "modified": "2026-11-11 22:41:55",
      "commits": 7
    }
  ],
  "_score": 5.2552725051033065,
  "_indexed": true,
  "_nocasepkg": "shinygenui",
  "_universes": [
    "nanxstats"
  ],
  "_previous": "0.2.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0.9000",
      "date": "2026-11-11T23:52:59.000Z",
      "distro": "resolute",
      "commit": "d60c5910291d20d5d9d19e9ae0f1bed095cd621d",
      "fileid": "https://r2.ropensci.org/e4837aa42eb3b533177dab55d25044b52ffbe73c2bdf500cd10841174dcdf25b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/43122338349"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.0.9000",
      "date": "2026-11-11T23:52:40.000Z",
      "distro": "resolute",
      "commit": "d60c5910291d20d5d9d19e9ae0f1bed095cd621d",
      "fileid": "https://r2.ropensci.org/f097c8b4be49e7aa78cba737f6dcfe4d0f4a8df1b5d47d8de9dc93b546aaa43a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/43122338349"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0.9000",
      "date": "2026-11-11T23:52:10.000Z",
      "commit": "d60c5910291d20d5d9d19e9ae0f1bed095cd621d",
      "fileid": "https://r2.ropensci.org/8082659e07d10fc57aa3928b16cb363d5886f41a75439950b51fa9282ca01e4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/43122338349"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2.0.9000",
      "date": "2026-11-11T23:51:54.000Z",
      "commit": "d60c5910291d20d5d9d19e9ae0f1bed095cd621d",
      "fileid": "https://r2.ropensci.org/4a4930ad03670541d5f2ddf8f8bd909efbcfe8cf832d06d20a8ce73c7987f896",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/43122338349"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0.9000",
      "date": "2026-11-11T23:52:38.000Z",
      "commit": "d60c5910291d20d5d9d19e9ae0f1bed095cd621d",
      "fileid": "https://r2.ropensci.org/e13581eed1cdeb28fd5bcccf915fb78c33f825f593ababf442b91f3e646e8fc1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/43122338349"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0.9000",
      "date": "2026-11-11T23:51:57.000Z",
      "commit": "d60c5910291d20d5d9d19e9ae0f1bed095cd621d",
      "fileid": "https://r2.ropensci.org/d76227b65570a9b0a6c7e333b5881131020571204101696f2a2d101e6cba6933",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/43122338349"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0.9000",
      "date": "2026-11-11T23:52:07.000Z",
      "commit": "d60c5910291d20d5d9d19e9ae0f1bed095cd621d",
      "fileid": "https://r2.ropensci.org/db3fc76521d68adc57edb7b9263d2bdb980cb91b2dd6ac3b2a928a9d6d4e87cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/43122338349"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.0.9000",
      "date": "2026-11-11T23:52:18.000Z",
      "commit": "d60c5910291d20d5d9d19e9ae0f1bed095cd621d",
      "fileid": "https://r2.ropensci.org/59b5b5bb5d39e1b03b0624200d3efcac459a51d87403e6e57c64c71728339500",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nanxstats/actions/runs/43122338349"
    }
  ]
}