greatstore 0.2.13 → 0.2.15

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,29 @@
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.2.15 — 2026-10-29
7
+
8
+ ### Added
9
+ - Apps receive one prop, `$`, with everything GreatStore gives an app: `$.sendMessage`, `$.updateModelContext`, `$.showLightbox`, `$.generateStructuredContent`, `$.close`, `$.useVoiceCall`, `$.Image` and `$.store`. Destructure what you need at the top of the component: `const { close, Image } = $`.
10
+ - `$.callTool(name, args)` lets an app do what the page's `GreatStore.callTool` does: fetch data from a connector's read-only tools, or open a full-screen app. In the app preview, tools return real data; inside other AI assistants it rejects.
11
+ - Validation refuses an `inputSchema` field named `$`.
12
+
13
+ ### Changed
14
+ - The scaffolded component, the agent guide and the skill teach `$`. A component still declaring `onSendMessage`, `onClose`, `onUpdateModelContext`, `onShowLightbox`, `onGenerateStructuredContent`, `storeData`, `Image` or `useVoiceCall` gets one warning with the `$` line that replaces them. Those props still work for now; migrate before your next release.
15
+
16
+ ## 0.2.14 — 2026-10-29
17
+
18
+ ### Added
19
+ - `connectors tools <name|maker> [<tool>]` shows what a connector offers: each tool's group, whether the assistant may call it, whether a page can call it with `GreatStore.callTool`, its description, and every input with its type, constraints and description. `--json` prints the raw input schemas.
20
+ - The agent guide covers `GreatStore.callTool`: opening a full-screen app from the page, and calling a connector's read-only tools to fill the page's own UI with store data.
21
+
22
+ ### Changed
23
+ - `failures` is now `connectors errors`, beside the other connector commands. Its `--json` output lists them under `errors`.
24
+ - The agent guide's `window.GreatStore` reference is an index with a page per method, so an agent reads only the method it is using.
25
+
26
+ ### Removed
27
+ - The agent guide's ready-made page recipes. Agents now design each on-page experience for the store at hand from the SDK reference.
28
+
6
29
  ## 0.2.13 — 2026-10-29
7
30
 
8
31
  ### Fixed
package/README.md CHANGED
@@ -50,12 +50,8 @@ with the same field names and behaviour.
50
50
  | `gs connectors enable\|disable <name\|id>` | Toggle a connector without deleting it. |
51
51
  | `gs connectors maker on\|off` | Toggle the Maker MCP. |
52
52
  | `gs connectors health [<name\|id>] [--json]` | Live-probe saved connectors. |
53
-
54
- ### Failures
55
-
56
- | Command | What it does |
57
- | ------------------------------------------------------------ | ------------------------------------------------------ |
58
- | `gs failures [--days N] [--tool <name>] [--json]` | The store's most frequent tool failures over the last N days (default 7, up to 120), as in the dashboard's Usage → Tools. |
53
+ | `gs connectors tools <name\|id\|maker> [<tool>] [--json]` | A connector's tools in full: group, whether the assistant may call them, description and every input with its constraints. Name a tool for just that one. |
54
+ | `gs connectors errors [--days N] [--tool <name>] [--json]` | The store's most frequent tool errors over the last N days (default 7, up to 120), as in the dashboard's Usage → Tools. |
59
55
 
60
56
  ### Apps
61
57
 
@@ -88,12 +84,13 @@ their work, and report what they find as either:
88
84
  The checks cover the manifest (valid JSON, a `name` matching the folder,
89
85
  an `inputSchema` simple enough for the agent to fill reliably) and
90
86
  the component's props: every prop it declares should be a field in
91
- `inputSchema.properties`, apart from the props GreatStore injects
92
- (`onSendMessage`, `onUpdateModelContext`, `onShowLightbox`,
93
- `onClose`, `storeData`, `Image`). A prop nothing
94
- declares is a warning — nothing will ever pass it. A schema field the
95
- component doesn't accept is an error. A component still declaring
96
- `onError` gets a warning pointing at async components, which replaced it.
87
+ `inputSchema.properties`, apart from `$`, which GreatStore always passes. A
88
+ prop nothing declares is a warning — nothing will ever pass it. A schema
89
+ field the component doesn't accept is an error, and so is a schema field
90
+ named `$`. A component still declaring the props `$` replaced
91
+ (`onSendMessage`, `onClose`, …) gets one warning with the line that
92
+ replaces them; one still declaring `onError` gets a warning pointing at
93
+ async components, which replaced it.
97
94
 
98
95
  ### Agent skill
99
96