@narumitw/pi-plan-mode 0.5.0 → 0.6.0

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/README.md CHANGED
@@ -16,7 +16,7 @@ Pi core intentionally does not ship a built-in plan mode; this package provides
16
16
  - Injects Codex-like Plan mode instructions: explore first, ask decision questions for high-impact ambiguity, do not mutate files, and finish with `<proposed_plan>` only when decision-complete.
17
17
  - Adds a required `plan_mode_question` tool so the agent can ask structured Plan-mode questions before finalizing a plan.
18
18
  - Detects proposed plan blocks and prompts you to implement, stay in Plan mode, or exit and discard the plan.
19
- - Shows Plan mode state in Pi's statusline as `📝 plan active` or `📝 plan ready`.
19
+ - Shows Plan mode state in Pi's statusline as `plan active` or `plan ready`; `@narumitw/pi-statusline` adds the default `📝` icon unless configured otherwise.
20
20
  - Persists Plan mode state in the Pi session so resume restores the mode.
21
21
 
22
22
  ## 📦 Install
@@ -79,8 +79,8 @@ After a proposed plan is detected, `/plan` lets you choose whether to implement
79
79
 
80
80
  While Plan mode is enabled, the extension also publishes a compact status for Pi statuslines. With `@narumitw/pi-statusline`, this appears in the extension status area:
81
81
 
82
- - `📝 plan active`: Plan mode is enabled and still gathering context or drafting a plan.
83
- - `📝 plan ready`: A `<proposed_plan>` was detected and remains ready until you implement it, continue planning, or exit Plan mode.
82
+ - `plan active`: Plan mode is enabled and still gathering context or drafting a plan.
83
+ - `plan ready`: A `<proposed_plan>` was detected and remains ready until you implement it, continue planning, or exit Plan mode.
84
84
 
85
85
  You can also exit directly. Direct exit discards the latest proposed plan instead of treating it as an implementation request:
86
86
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narumitw/pi-plan-mode",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Pi extension that adds a Codex-like read-only /plan collaboration mode.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/plan-mode.ts CHANGED
@@ -644,8 +644,8 @@ export default function planMode(pi: ExtensionAPI) {
644
644
 
645
645
  function formatStatus() {
646
646
  if (!state.enabled) return undefined;
647
- if (state.awaitingAction || state.latestPlan) return "📝 plan ready";
648
- return "📝 plan active";
647
+ if (state.awaitingAction || state.latestPlan) return "plan ready";
648
+ return "plan active";
649
649
  }
650
650
 
651
651
  function clearUi(ctx: ExtensionContext) {