Skip to content

Releases

StardewPilot 0.4.0

Choose a tag to compare

@4444zyf 4444zyf released this 16 Nov 15:11

The copilot now helps every game day without being asked, does more of the farm work, and learns how you play.

Daily helpers

  • Morning briefing in the chat each day: weather today and tomorrow, luck, birthdays (with a gift you own that they like), a festival, crops and machines that are ready, crops that die when the season changes, Traveling Cart items a bundle needs, quests ending soon, a finished tool upgrade, and yesterday's shipping. Switch it off with MorningBriefing.
  • Find anything: "where is my copper ore?" searches the backpack, every chest, the fridge, the Junimo chest and machine output.
  • Gift ideas from what you own. Tastes you have not discovered are only used when you ask.
  • Bundle plan: what each Community Center bundle still needs, where to get it, and the last day to get it.
  • take_from_chest now reaches fridges and the Junimo chest and can choose a quality.

Chores

  • tend_animals: picks up eggs and auto-grabber contents, puts out hay, pets the animals and the pet, milks and shears.
  • tend_machines: collects finished output and refills machines with what you have.

Apprentice mode (new)

  • The copilot keeps a diary of what you do by hand ("6:00-8:40 the farm: watered, harvested Parsnip x15, petted 6 animals"). From it, it learns your usual morning, your bedtime, and what you do on rainy days or a given weekday. Each habit shows its evidence ("10 of 12 days").
  • Say "do my usual morning" and it runs those jobs in your order. In self-play it plays your way. Your goal still comes first.
  • The briefing mentions today's habit ("rain today; you usually fish at the mountain lake"). The first time it notices your usual morning, it offers to do it, once.
  • Only what you do yourself counts. A habit is never permission: shipping, selling, gifting and spending still ask.
  • The diary stays in the mod's data folder. Type /forget habits to delete it, or set Apprentice.Enabled to false to stop watching.

Put my things away (new)

  • Say "put my things away" and the copilot sorts your backpack into your own chests the way you already sort them. Each item goes to the chest that holds most of it, or else to the one that holds most of its kind.
  • Tools, the toolbar row and anything with no matching chest stay in the backpack.

Fixes

  • Mini-shipping bins, hoppers and enrichers are no longer treated as chests. Before, storing could have sold items.
  • A co-op guest can walk into their own cabin (go_to_bed failed before).
  • A tool call missing a required argument now gets a clear error instead of crashing.

Install / upgrade
Unzip StardewPilot-0.4.0.zip into the game's Mods folder. Your existing config.json is kept, and new settings get their defaults. For a first install, follow the steps in the README.

Known limits

  • Tested on Linux with Stardew Valley 1.6.15, SMAPI 4.5.2 and pi 1.5.2. The automated tests pass on Windows, but nobody has played on Windows yet. Please fill in the Windows test report if you try it.
  • Co-op has been tested with two players on one machine only.

StardewPilot 0.3.1

Choose a tag to compare

@4444zyf 4444zyf released this 16 Nov 01:55

This release removes the Claude Pro/Max subscription sign-in.

Why
Anthropic's terms allow a Claude Free, Pro or Max sign-in only in Claude Code and Claude.ai. Using it in another app breaks their Consumer Terms, and the account can be banned. StardewPilot should not put your account at risk, so it no longer offers this sign-in.

What changed

  • The settings page no longer shows a Claude Pro/Max button.
  • If you already signed in with a Claude subscription, the copilot will not start with a Claude model. It asks you to sign out of Anthropic and add an Anthropic API key.
  • The copilot ignores an ANTHROPIC_OAUTH_TOKEN environment variable.
  • Claude still works with an Anthropic API key. Other sign-ins, API keys and local models are unchanged.

Install / upgrade
Unzip StardewPilot-0.3.1.zip into the game's Mods folder. Your existing config.json is kept. For a first install, follow the steps in the README.

Windows testers still wanted
The automated tests pass on Windows, but nobody has played on Windows yet. If you try it, please fill in the Windows test report.

StardewPilot 0.3.0

Choose a tag to compare

@4444zyf 4444zyf released this 16 Nov 01:16

The copilot now answers game questions from the game itself, and it should start on Windows.

Knowledge tools
Six new tools read the running game, so answers fit your game version and your other mods:

  • Fish: where and when a fish bites (maps, seasons, hours, weather, fishing level), and which fish a map has right now. This includes the special mine fish.
  • Crop plan: seed prices, growing time, regrowth, sell price, how many harvests are still possible, and gold per day.
  • Recipes: ingredients, whether you know a recipe, how it is learned, and how many you can make now.
  • Machines: what a machine makes from an item and how long it takes. The answer comes from the game's own machine code.
  • Collections: what is still missing, and what you could donate to the museum.
  • Villager schedules: where a villager is now and where they go later today.

Each answer says which parts are the mod's own calculation, such as "possible now" for fish or gold per day. The copilot words those as estimates. It does not read the wiki.

Windows

  • Start-up: pi now starts through Node, so npm's .cmd scripts are no longer a problem. The status file is replaced safely while the game reads it.
  • CI: every change now runs automated tests on Windows and Linux. On Windows they start and stop the real pi through the wrapper.
  • pilot_diagnose: type it in the SMAPI console for a self-check. It shows versions, whether Node and pi were found, and the copilot's state. It contains no keys, tokens or links.

Windows testers wanted
Nobody on the project has a Windows PC. The automated tests pass, but nobody has played on Windows yet. If you try it, please fill in the Windows test report. It takes about five minutes.

Install / upgrade

  1. Install SMAPI 4.5+, then unzip StardewPilot-0.3.0.zip into the game's Mods folder. Your existing config.json is kept.
  2. Install Node.js 22.19+ and pi 1.5+ (npm install -g @earendil-works/pi-coding-agent).
  3. Set Launcher.Enabled to true in Mods/StardewPilot/config.json and start the game.
  4. Press F8, type /settings, sign in and choose a model.

Known limits

  • Co-op guests: a guest's game has no villager schedules, so the copilot only knows where villagers are now. On maps no player is on, that can be out of date, and the copilot says so.
  • Subscription sign-in: not yet tried with a real subscription.
  • Combat: still basic.
  • Tested on: Linux with Stardew Valley 1.6.15, SMAPI 4.5.2 and pi 1.5.2, plus automated tests on Windows.

StardewPilot 0.2.0

Choose a tag to compare

@4444zyf 4444zyf released this 15 Nov 11:49

Adds a copilot settings page, so you can set up the AI model without a terminal.

What's new

  • Settings page in your browser. In the game press F8 and type /settings. On the page you can:
    • sign in with a subscription (ChatGPT Plus/Pro, Claude Pro/Max, GitHub Copilot and others), add an API key for any of pi's providers, or add a custom or local endpoint (Ollama, llama.cpp, any OpenAI-compatible service);
    • pick a model, Test it (checks that it can call tools), and Save to restart the copilot with it.
  • Agent wrapper. The mod now starts a small Node program that runs pi for you, restarts it if it crashes, and stops it when the game exits.
  • Clearer status in game. When the copilot isn't ready, the chat says why (needs setup, starting, or the last error) and points to /settings.

Privacy and safety

  • Keys and sign-ins are stored by pi in the copilot's own folder (~/.config/StardewPilot/pi, or %APPDATA%\StardewPilot\pi on Windows). The game never sees them.
  • The page only listens on 127.0.0.1 and needs the private link the game opens.

Install / upgrade

  1. Install SMAPI 4.5+, then unzip StardewPilot-0.2.0.zip into the game's Mods folder. When upgrading, your existing config.json is kept.
  2. Install Node.js 22.19+ and pi 1.5+ (npm install -g @earendil-works/pi-coding-agent).
  3. Set Launcher.Enabled to true in Mods/StardewPilot/config.json and start the game.
  4. Press F8, type /settings, sign in and choose a model.

To set up before starting the game, run node Mods/StardewPilot/agent/src/wrapper/main.ts setup.

Known limits

  • Subscription sign-in comes from pi and works through the page, but has not yet been tried end to end with a real subscription.
  • Combat is basic, and co-op has had little testing.
  • Tested on Linux with Stardew Valley 1.6.15, SMAPI 4.5.2 and pi 1.5.2.

StardewPilot 0.1.0

Choose a tag to compare

@4444zyf 4444zyf released this 15 Nov 10:40

First release of StardewPilot: an agent copilot for Stardew Valley 1.6 (SMAPI), built on the open-source agent framework pi.

What it does

  • Guide: a private in-game chat (F8) that answers from live game data, proactive tips, and instant warnings (bundle items in the shipping bin, out after midnight, energy almost gone).
  • Commanded autopilot: walks between maps and plants, waters, harvests, forages, buys, ships, uses chests, talks, gifts, fishes, goes down the mines and goes to bed when you ask. Moving stops it; F9 switches it off.
  • Self-play (F10): plays toward a goal you set, or a first-year plan, with a daily plan, bedtime summary, save-aware memory and a daily model budget.
  • Safety rules in the mod: bedtime at 11:30pm, energy reserve, confirmations before shipping, gifting and big purchases; the agent has no shell or file tools.

Install

  1. Install SMAPI 4.5+ and unzip StardewPilot-0.1.0.zip into the game's Mods folder.
  2. Install Node.js 22.19+ and pi 1.5+, and configure a model provider in pi.
  3. Either set Launcher.Enabled to true in Mods/StardewPilot/config.json (the mod then starts pi itself), or run pi --no-builtin-tools -e Mods/StardewPilot/agent/src/index.ts.

Known limits: combat is basic (it fights monsters next to the farmer and leaves when health is low); co-op is supported but has had little testing; tested on Linux with Stardew Valley 1.6.15 and SMAPI 4.5.2.