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.7/Dollyfile-core 0400b7c98241821542518a568100a4d8abf5e6642e2dbbc3b09f3512dfc75ba015INSTALL /v0.1.7/Dollyfile-posix 1253bee9688e620f912bff5694ce133044a38d20392218a152f9da4d3a290e6316INSTALL /v0.1.7/Dollyfile-display a6680af8ee3a48c935c74f701bdd3b31b15ea2aa9e7d98cd8776d9509c81fbd217INSTALL /v0.1.7/Dollyfile-amy 68444169857e8d1bcac03c0541ea52c1b8660b8bffa61a466c83de79ddc79f7618INSTALL /v0.1.7/demos/javascript/Dollyfile-janis-install 5f560d22360109ea233a749362cad2c2d218375f04790f2aa5426559437c7c8919INSTALL /v0.1.7/demos/closed-source-agent/Dollyfile-secretenv 0137259f2e1f7d4feb711959ae209923b4e67e033cd9ed6df2909c2f75343c2920INSTALL /v0.1.7/demos/closed-source-agent/Dollyfile-anykey 3f076afd5ca9edce8a012ad963db9fb4b558d98d0a2e818c5dd79913af8e1a5421INSTALL /v0.1.7/demos/rust/Dollyfile-ripgrep 1e9349498d3cec09a77152ee8647af3cc2cd8ac66ba56617cadbc96f72177a4222REQUIRES 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