@mdsnai/sdk 0.3.0 → 0.3.4
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/LICENSE +21 -0
- package/README.md +7 -9
- package/package.json +3 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 MDSN
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -31,9 +31,9 @@ The same Markdown source can carry:
|
|
|
31
31
|
|
|
32
32
|
## Syntax
|
|
33
33
|
|
|
34
|
-
The starter
|
|
34
|
+
The starter page keeps Markdown content and the interaction block in the same file:
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
```text
|
|
37
37
|
---
|
|
38
38
|
title: "Agent App"
|
|
39
39
|
---
|
|
@@ -44,14 +44,12 @@ Use this starter as the smallest end-to-end MDSN app.
|
|
|
44
44
|
|
|
45
45
|
<!-- mdsn:block main -->
|
|
46
46
|
|
|
47
|
-
```mdsn
|
|
48
47
|
BLOCK main {
|
|
49
48
|
INPUT text required -> message
|
|
50
49
|
GET "/list" -> refresh label:"Refresh"
|
|
51
50
|
POST "/post" (message) -> submit label:"Submit"
|
|
52
51
|
}
|
|
53
52
|
```
|
|
54
|
-
````
|
|
55
53
|
|
|
56
54
|
## Quick Start
|
|
57
55
|
|
|
@@ -64,8 +62,8 @@ npm start
|
|
|
64
62
|
|
|
65
63
|
## Docs
|
|
66
64
|
|
|
67
|
-
- [Getting Started](https://docs.mdsn.ai/
|
|
68
|
-
- [Understanding MDSN](https://docs.mdsn.ai/
|
|
69
|
-
- [SDK Overview](https://docs.mdsn.ai/
|
|
70
|
-
- [Custom Rendering](https://docs.mdsn.ai/
|
|
71
|
-
- [API Reference](https://docs.mdsn.ai/
|
|
65
|
+
- [Getting Started](https://docs.mdsn.ai/getting-started)
|
|
66
|
+
- [Understanding MDSN](https://docs.mdsn.ai/understanding-mdsn)
|
|
67
|
+
- [SDK Overview](https://docs.mdsn.ai/sdk)
|
|
68
|
+
- [Custom Rendering](https://docs.mdsn.ai/custom-rendering)
|
|
69
|
+
- [API Reference](https://docs.mdsn.ai/api-reference)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mdsnai/sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Reference SDK for building MDSN apps with Markdown-first pages, actions, and browser runtimes.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,7 +34,8 @@
|
|
|
34
34
|
},
|
|
35
35
|
"files": [
|
|
36
36
|
"dist",
|
|
37
|
-
"README.md"
|
|
37
|
+
"README.md",
|
|
38
|
+
"LICENSE"
|
|
38
39
|
],
|
|
39
40
|
"publishConfig": {
|
|
40
41
|
"access": "public"
|