greatstore 0.3.1 → 0.4.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/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to `@greatstore/cli` are recorded here. The format
4
4
  follows [Keep a Changelog](https://keepachangelog.com/).
5
5
 
6
+ ## 0.4.0 — 2026-11-19
7
+
8
+ ### Added
9
+ - `analyze` reads the store's real shopper traffic as JSON: `gaps` (messages
10
+ the assistant couldn't answer, with why), `searches`, `questions`, `chats`,
11
+ and `chat <id>` for one conversation in full. Lists take `--from` / `--to`
12
+ and `--page`, and never include test chats.
13
+ - The skill's knowledge base audit starts from what shoppers really asked:
14
+ its test questions come from `analyze`, recurring gaps become proposed
15
+ sources, and missing product details are pointed to the product catalog.
16
+ Fixing an ignored instruction starts from a real chat that shows it.
17
+
6
18
  ## 0.3.1 — 2026-11-13
7
19
 
8
20
  ### Changed
package/README.md CHANGED
@@ -73,6 +73,21 @@ Knowledge and Apps panels, with the same field names and behaviour.
73
73
  | `gs knowledge instructions [show\|edit\|set]` | The agent instructions: print them, `edit --old/--new`, or `set --file <path> --expect <hash> --unsafe-upload`. |
74
74
  | `gs knowledge ask "<message>" [--conversation <id>] [--json]` | Chat with the store's live assistant to check how it answers, and which tools it called with what inputs. Uses the store's credits; test chats share 100 credits every 6 hours, and each reply shows how much is left. |
75
75
 
76
+ ### Analyze
77
+
78
+ Read the store's real shopper traffic. Read-only, and always JSON on stdout.
79
+ Lists cover `--from` / `--to` (UTC days, inclusive; the last 7 days by default,
80
+ at most 90), grouped by day, newest first, 50 items a page (`--page <n>`).
81
+ Test chats are never included.
82
+
83
+ | Command | What it does |
84
+ | --------------------------------------- | --------------------------------------------------------------- |
85
+ | `gs analyze gaps` | Shopper messages the assistant couldn't answer, with the reason. |
86
+ | `gs analyze searches` | What shoppers searched for, and whether it was answered. |
87
+ | `gs analyze questions` | What shoppers asked, and whether it was answered. |
88
+ | `gs analyze chats` | Conversations by the day they were last active. |
89
+ | `gs analyze chat <id>` | One conversation: every message with its time, and each tool the assistant called with its inputs and whether it worked. |
90
+
76
91
  ### Apps
77
92
 
78
93
  Custom in-chat app commands. Each also works at the