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.6/Dollyfile-core 1af35bd391b18ddb626a8a5248c4c940564cc4c23af9c2d44e313bf847b66bba15INSTALL /v0.1.6/Dollyfile-posix 37d85018d9ab218475d878070e6d5df646238f3e450e534e5c31b6c9e319819116INSTALL /v0.1.6/Dollyfile-display 9516e36ef9c8566c9f0590546e1474db96ca02ddc75028e562e92af71fdbdeef17INSTALL /v0.1.6/Dollyfile-amy dcd5a7f5c88a9bbb99002762959d64dd04be2d479dc85566783f48f9c19d07ac18INSTALL /v0.1.6/demos/javascript/Dollyfile-janis-install 178c0dc58686ec7e518c5d54841fb1f7c6319483c9e327836bb740dafe8e8eb419INSTALL /v0.1.6/demos/closed-source-agent/Dollyfile-secretenv 365df071f2e0d237cef32f06d016bb84f1a2be4b41922858cc02e05fb4908e1220INSTALL /v0.1.6/demos/closed-source-agent/Dollyfile-anykey 4cbd9a5a3358335d0bcebe198e43ba2fbf659f615cf04164a9f1474610b519e221INSTALL /v0.1.6/demos/rust/Dollyfile-ripgrep ff4673fc3f666671de01f891c8044cb7fb79578967e76be6f8c8526c0692c6bd22REQUIRES 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