@thothdev/pink 1.0.32 → 1.0.33

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  O Pink é um fork do Pi (MIT, veja `LICENSE-PI.txt` e `NOTICE.md`). Aqui só entra o que mudou no Pink; a base de cada
4
4
  versão está no campo `upstream` do `rebrand.json` do repositório.
5
5
 
6
+ ## [1.0.33] - 2026-11-29
7
+
8
+ - Reabrir uma sessão com conversa só do `/agente` abre direto na conversa, com a caixa de digitar embaixo, em vez da tela inicial.
9
+
6
10
  ## [1.0.32] - 2026-11-28
7
11
 
8
12
  - Valem nos modelos logados e no `/agente`: rastro das etapas do trabalho com ícones animados, fechamento "Pronto · operações · tempo · tokens" e a barra da caixa pulsando enquanto o agente trabalha.
@@ -1021,7 +1021,8 @@ function tilde(cwd) {
1021
1021
 
1022
1022
  export function hasMessages(ctx) {
1023
1023
  try {
1024
- return ctx.sessionManager.getEntries().some((entry) => entry.type === "message");
1024
+ // o /agente grava o pedido como custom_message: sem contá-lo, a sessão só dele abria como nova (owner 2026-11-28)
1025
+ return ctx.sessionManager.getEntries().some((entry) => entry.type === "message" || isAsk(entry) || (entry.type === "custom_message" && entry.customType === "pink-agente"));
1025
1026
  } catch {
1026
1027
  return false;
1027
1028
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thothdev/pink",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "description": "Open-source AI coding agent for the terminal that also drives Claude Code, Codex, OpenCode and other agents, with parallel sessions, visible plan and changes, and real undo.",
5
5
  "type": "module",
6
6
  "piConfig": {