@astrofoundry/pi-astro 0.33.0 → 0.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -232,7 +232,8 @@ export default function astroFooterExtension(pi: ExtensionAPI): void {
232
232
  });
233
233
 
234
234
  pi.on("before_agent_start", async (event) => {
235
- lastPrompt = event.prompt ?? "";
235
+ // Pi 1.2+ also fires this for runs started by an extension message, which carry no prompt.
236
+ if ("prompt" in event) lastPrompt = event.prompt ?? "";
236
237
  activeRequestRender?.();
237
238
  });
238
239
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrofoundry/pi-astro",
3
- "version": "0.33.0",
3
+ "version": "0.33.1",
4
4
  "description": "Personal pi customizations (extensions, subagents, skills, prompts, themes) for the pi coding agent.",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -49,10 +49,10 @@
49
49
  "typebox": "*"
50
50
  },
51
51
  "devDependencies": {
52
- "@earendil-works/pi-agent-core": "^0.85.1",
53
- "@earendil-works/pi-ai": "^0.85.1",
54
- "@earendil-works/pi-coding-agent": "^0.85.1",
55
- "@earendil-works/pi-tui": "^0.85.1",
52
+ "@earendil-works/pi-agent-core": "^1.3.0",
53
+ "@earendil-works/pi-ai": "^1.3.0",
54
+ "@earendil-works/pi-coding-agent": "^1.3.0",
55
+ "@earendil-works/pi-tui": "^1.3.0",
56
56
  "@eslint/js": "^10.0.1",
57
57
  "@types/node": "^26.5.1",
58
58
  "@vitest/coverage-v8": "^5.0.0",
package/themes/astro.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://raw.githubusercontent.com/badlogic/pi-mono/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
2
+ "$schema": "https://pi.dev/schemas/theme.schema.json",
3
3
  "name": "astro",
4
4
  "vars": {
5
5
  "bg": "#0D1117",