@zalom/plastic 2.0.0-alpha.2 → 2.0.0-alpha.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zalom/plastic",
3
- "version": "2.0.0-alpha.2",
3
+ "version": "2.0.0-alpha.3",
4
4
  "description": "Intent-driven idea development system for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {
@@ -31,7 +31,8 @@ end
31
31
  exit 0 unless payload.is_a?(Hash)
32
32
 
33
33
  session_id = payload["session_id"].to_s
34
- prompt = payload["user_prompt"].to_s
34
+ prompt = payload["prompt"].to_s
35
+ prompt = payload["user_prompt"].to_s if prompt.empty?
35
36
  cwd = payload["cwd"].to_s
36
37
  cwd = Dir.pwd if cwd.empty?
37
38