1DOLLY 72APPLICATION closed-source-agent3REQUIRES HOST runtime@04REQUIRES HOST display@05REQUIRES HOST input@06REQUIRES HOST snapshot@07REQUIRES HOST download@08REQUIRES HOST http@09REQUIRES HOST packages@010REQUIRES HOST threads@01112# Runs Claude Code, which the launcher downloads from the npm registry into13# the session after the notice: the image holds nothing of it.14INSTALL /v0.1.5/Dollyfile-core 7205c35aed897514d3094f14a194669f73c295b4dd0213619d90155da8467cde15INSTALL /v0.1.5/Dollyfile-posix a98de8b50ce0a29e867194e9fe9c44a54c0ea48ccf25a0f1353431daf827cf9e16INSTALL /v0.1.5/Dollyfile-display 2032dbc473505507c7419267f43fdb2fe76b16b0907ca27f2b157a0ec54bda3517INSTALL /v0.1.5/Dollyfile-amy e028eb4c7768642948f7adb64ed5932d36bf85c8c0879b0203c5e59ccc1d2d3918INSTALL /v0.1.5/demos/javascript/Dollyfile-janis-install 086afb81e95c1e29660aebab1528b3a29dbaa56b2f9493e0cfd806c4388d908819INSTALL /v0.1.5/demos/closed-source-agent/Dollyfile-secretenv c462499510f173d0ae019fa851ba91c4df4acf7804621dcfa6a25b8966b0649b20INSTALL /v0.1.5/demos/closed-source-agent/Dollyfile-anykey 9c34b57184e6e9d15022bec92debb5fbc2cc486859698fc99b6f7973e4f8386521INSTALL /v0.1.5/demos/rust/Dollyfile-ripgrep 00b5f63328549742df8ffd9eae736c57dfe2fa1afe71a0c684e71591728c7f5322REQUIRES TOOL foreground23REQUIRES TOOL janis24REQUIRES TOOL janis-install25REQUIRES TOOL rg2627FILE /usr/share/doc/closed-source-agent/NOTICE28    THIS IMAGE RUNS CLAUDE CODE29    ---------------------------30    Claude Code is Anthropic's command-line coding agent. It is Anthropic's31    software and not part of Dolly; Dolly is not affiliated with or endorsed by32    Anthropic.33    - Continuing downloads Claude Code 2.1.112 (April 2026, 18.7 MB) from the34      npm registry into this browser session, checks its digest and runs it35      unchanged. This site serves nothing of it. Its use is subject to36      Anthropic's terms: https://code.claude.com/docs/en/legal-and-compliance37    - Its interface works here with your own Anthropic API key, in its minimal38      mode (--bare): no hooks, LSP, plugin sync, attribution, auto-memory,39      background prefetches, keychain reads or CLAUDE.md discovery, and only40      the Read, Edit and Bash tools. The key is asked for once, is not shown41      and is given to Claude Code alone. Usage is billed to you. Requests go42      from this browser to Anthropic; the site serving Dolly does not receive43      them.44    - Signing in with a Claude or Console account does not work in a browser:45      started as published, Claude Code stops at "Unable to connect to46      Anthropic services" before its sign-in screen, and its /login needs a47      local callback server that nothing here can run.48    - Print mode works: export ANTHROPIC_API_KEY=... and then49      closed-source-agent -p 'your request'50    - A saved or exported session contains the downloaded package and what51      Claude Code stored of your sign-in (the last 20 characters of the key).52    - Limits: an old release (the last that is JavaScript), run on Janis53      instead of Node; its Bash tool finds no shell here; a wrong key shows54      the API's error only after about three minutes of its own retries.5556# Shows the notice, installs Claude Code into the session (once) from its57# tarball at the pinned integrity and runs it unchanged: with the arguments58# given, or without any as the notice's key chose.59FILE /usr/bin/closed-source-agent60    #!/bin/slop61    package=/usr/lib/node_modules/@anthropic-ai/claude-code62    start=63    if test $# -eq 0 || ! test -s $package/cli.js; then64      clear65      cat /usr/share/doc/closed-source-agent/NOTICE66      keys=$'\nEnter (or any other key): download and start with an API key (--bare)\np: start as published        Ctrl+C: leave without downloading\n'67      test $# -eq 0 || keys=$'\nAny key: download and run it with your arguments        Ctrl+C: leave\n'68      start=$(anykey "$keys") || exit $?69    fi70    if ! test -s $package/cli.js; then71      printf '\nDownloading Claude Code 2.1.112 from registry.npmjs.org ...\n'72      janis-install --integrity sha512-9FUgJ0EOvILyhIqxFKNVliebiUjL68dwpEW3eGSSe0vkVDJ1c5qMDNWc22gW3zkD7zRAqtfQPSGv0t4vMM2DPA== @anthropic-ai/claude-code@2.1.112 || exit 173    fi74    export USE_BUILTIN_RIPGREP=075    if test $# -gt 0 || test "$start" = p; then76      janis $package/cli.js "$@"77    elif test -n "$ANTHROPIC_API_KEY"; then78      janis $package/cli.js --bare79    else80      secretenv ANTHROPIC_API_KEY $'\nAnthropic API key (not shown; Enter alone starts without one): ' janis $package/cli.js --bare81    fi82EXPORTS TOOL closed-source-agent8384FILE /etc/dolly/init.slop85    /bin/foreground -i /usr/bin/closed-source-agent86    printf '\nDolly: image entry exited; entering the recovery Slop shell. closed-source-agent starts it again.\n'87    /bin/foreground -i /bin/slop8889ENTRY /bin/foreground -i /bin/slop /etc/dolly/init.slop90