[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-3022":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":9,"pushedAt":9,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":14,"lastSyncTime":29,"discoverSource":30},3022,"pi-goal","Michaelliv\u002Fpi-goal","Michaelliv","Persistent autonomous goals for pi",null,"TypeScript",150,10,80,2,0,13,17,61,39,77.72,"MIT License",false,"main",true,[],"2026-06-12 04:00:16","# pi-goal\n\n![pi-goal](docs\u002Fassets\u002Fpi-goal-poster.png)\n\nPersistent autonomous goals for [pi](https:\u002F\u002Fgithub.com\u002Fbadlogic\u002Fpi-mono).\n\n`pi-goal` adds a `\u002Fgoal` command and goal tools so Pi can keep working toward a long-running objective until the goal is complete, paused, cleared, or token-budget-limited.\n\n## Install\n\n```bash\npi install npm:pi-goal\n```\n\nOr from git:\n\n```bash\npi install git:github.com\u002FMichaelliv\u002Fpi-goal\n```\n\n## Usage\n\n```text\n\u002Fgoal improve benchmark coverage until the suite has strong evidence\n\u002Fgoal --tokens 50k finish the migration and verify tests\n\u002Fgoal status\n\u002Fgoal pause\n\u002Fgoal resume\n\u002Fgoal clear\n\u002Fgoal statusbar off\n```\n\nWhen a goal is active, the extension shows compact visible lifecycle markers like `Goal active` and `Goal continuing`; expand them with `ctrl+o` to inspect the objective and usage. The full continuation instructions ride along as the content of that custom message, so the model always has the objective and audit guidance in the transcript while the renderer keeps the visible UI compact.\n\nThe same Pi agent keeps running normal turns in the same session context until it calls `update_goal({ status: \"complete\" })`, the user pauses\u002Fclears it, or the token budget is reached. Reloading Pi pauses an active goal instead of silently resuming it; use `\u002Fgoal resume` to continue.\n\n## What it adds\n\n- `pi-goal-writer` skill: draft and review strong `\u002Fgoal` objectives with evidence-based success criteria\n- `\u002Fgoal [--tokens 50k] \u003Cobjective>`: set or replace a goal\n- `\u002Fgoal status`: show the current goal\n- `\u002Fgoal pause`: stop autonomous continuation without deleting the goal\n- `\u002Fgoal resume`: reactivate a paused goal\n- `\u002Fgoal clear`: remove the goal\n- `\u002Fgoal statusbar on|off`: show or hide the footer status line\n- `get_goal` tool: read current goal state\n- `update_goal` tool: model can only mark the goal `complete`\n- `get_goal` and `update_goal` are only exposed to the model while a goal is `active`; paused, cleared, complete, and budget-limited goals hide them so unrelated sessions are not tempted to call them\n- footer status: `Pursuing goal`, `Goal paused`, `Goal achieved`, or `Goal unmet`\n\n## Flow\n\n```text\n\u002Fgoal \u003Cobjective>\n  -> persist goal in the current Pi session\n  -> show compact Goal marker and footer status\n  -> deliver continuation instructions as the marker's message content\n  -> trigger an agent turn\n  -> account time\u002Ftokens on turn_end\n  -> queue another continuation on agent_end while active\n  -> stop when update_goal marks complete, user pauses\u002Fclears, or budget is hit\n```\n\n## Completion behavior\n\nThe model is instructed to audit completion against real evidence before calling `update_goal`. The `update_goal` tool deliberately accepts only `status: \"complete\"`; pausing, resuming, clearing, and budget limiting are controlled by the user or extension runtime.\n\n## State\n\nGoal state is stored as Pi custom session entries with `customType: \"pi-goal\"`. It follows the active session branch, survives reloads, and does not require an external database.\n\n## License\n\nMIT\n","pi-goal 是一个为 Pi 智能体设计的持久自主目标管理工具。它通过添加 `\u002Fgoal` 命令和相关工具，使 Pi 能够持续执行长期任务，直到任务完成、暂停、清除或达到令牌预算限制。主要功能包括设置和替换目标、查看目标状态、暂停与恢复目标等。使用 TypeScript 编写，确保了代码的类型安全性和可维护性。适用于需要智能体长时间专注于特定任务直至达成目标的场景，如持续改进测试覆盖率或完成复杂迁移项目。","2026-06-11 02:52:12","CREATED_QUERY"]