@greatstore/cli 0.2.14 → 0.2.16

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,22 @@
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.16 — 2026-10-30
7
+
8
+ ### Added
9
+ - `connectors tools webmcp` lists the WebMCP tools your pages register: each tool's name, description, whether the assistant may call it, and that a page can run it with `GreatStore.callTool`.
10
+ - The agent guide covers running a page's own WebMCP tools with `GreatStore.callTool` and an app's `$.callTool`, including that a page tool takes precedence over an app or connector tool of the same name.
11
+
12
+ ## 0.2.15 — 2026-10-29
13
+
14
+ ### Added
15
+ - 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 } = $`.
16
+ - `$.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.
17
+ - Validation refuses an `inputSchema` field named `$`.
18
+
19
+ ### Changed
20
+ - 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.
21
+
6
22
  ## 0.2.14 — 2026-10-29
7
23
 
8
24
  ### Added
package/README.md CHANGED
@@ -84,12 +84,13 @@ their work, and report what they find as either:
84
84
  The checks cover the manifest (valid JSON, a `name` matching the folder,
85
85
  an `inputSchema` simple enough for the agent to fill reliably) and
86
86
  the component's props: every prop it declares should be a field in
87
- `inputSchema.properties`, apart from the props GreatStore injects
88
- (`onSendMessage`, `onUpdateModelContext`, `onShowLightbox`,
89
- `onClose`, `storeData`, `Image`). A prop nothing
90
- declares is a warning — nothing will ever pass it. A schema field the
91
- component doesn't accept is an error. A component still declaring
92
- `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.
93
94
 
94
95
  ### Agent skill
95
96