@thegreataxios/webmcp-svelte 0.2.0 → 0.2.1
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 +3 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,6 +5,8 @@ Svelte 4 / 5 bindings for the [W3C WebMCP](https://github.com/webmachinelearning
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
+
npm install @thegreataxios/webmcp-svelte @thegreataxios/webmcp-core
|
|
9
|
+
# or
|
|
8
10
|
bun add @thegreataxios/webmcp-svelte @thegreataxios/webmcp-core
|
|
9
11
|
```
|
|
10
12
|
|
|
@@ -43,6 +45,7 @@ bun add @thegreataxios/webmcp-svelte @thegreataxios/webmcp-core
|
|
|
43
45
|
- `useWaitForToolsUntil(promise)`
|
|
44
46
|
- `experimental_useWebMCPSync({ initial, tools })` — returns a Svelte `Readable<T>` store
|
|
45
47
|
- `experimental_useWebMCPJourney({ name, tools, active })`
|
|
48
|
+
- `experimental_createConfirmProvider()` / `experimental_useWebMCPConfirm()` / `experimental_useWebMCPGuardedTool(options)` — HITL confirmation queue & guarded tool registration
|
|
46
49
|
- `experimental_useWebMCPBridge({ url, token })`
|
|
47
50
|
|
|
48
51
|
## License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thegreataxios/webmcp-svelte",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Svelte bindings for W3C WebMCP — context provider, tool registration, journeys, state sync, and bridge",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"svelte": ">=4.0.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@thegreataxios/webmcp-core": "0.2.
|
|
44
|
+
"@thegreataxios/webmcp-core": "0.2.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@happy-dom/global-registrator": "^20.0.0",
|