@minjun0219/mdwire 0.1.4 → 0.1.7
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 +13 -5
- package/bundler/mdwire_bg.js +1 -1
- package/bundler/mdwire_bg.wasm +0 -0
- package/node/mdwire.js +1 -1
- package/node/mdwire_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ escaping rules, and its own length limit. Existing converters assume the input i
|
|
|
9
9
|
well-formed CommonMark and target one channel at a time. Neither assumption holds for
|
|
10
10
|
agent output.
|
|
11
11
|
|
|
12
|
-
**Status: v0.1.
|
|
12
|
+
**Status: v0.1.7.** Normalizing, rendering, splitting and streaming work for three
|
|
13
13
|
channels — Telegram HTML, Slack `markdown_text`, and plain text — from a Rust core, a CLI,
|
|
14
14
|
an npm package (WASM), and a Go port. See `SPEC.md` for what is in v0.1 and what was
|
|
15
15
|
deliberately deferred. `SPEC.md` and `DESIGN.md` are written in Korean.
|
|
@@ -116,15 +116,23 @@ Three gaps in what exists today, each measured rather than assumed:
|
|
|
116
116
|
|
|
117
117
|
## Installing
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
From the registries:
|
|
120
|
+
|
|
121
|
+
```sh
|
|
122
|
+
npm install @minjun0219/mdwire # npm — bundlers, Node, Bun
|
|
123
|
+
cargo add mdwire-core # Rust library (`use mdwire::…`)
|
|
124
|
+
cargo install mdwire-cli # the `mdwire` CLI
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Every release also carries its own artifacts, if you would rather not go through a registry:
|
|
120
128
|
|
|
121
129
|
```sh
|
|
122
130
|
# npm package (works under a bundler and in plain Node)
|
|
123
|
-
npm install https://github.com/minjun0219/mdwire/releases/download/v0.1.
|
|
131
|
+
npm install https://github.com/minjun0219/mdwire/releases/download/v0.1.7/mdwire-0.1.7.tgz
|
|
124
132
|
|
|
125
133
|
# CLI binary — macOS (Apple silicon) or Linux (x86_64)
|
|
126
|
-
curl -L https://github.com/minjun0219/mdwire/releases/download/v0.1.
|
|
127
|
-
curl -L https://github.com/minjun0219/mdwire/releases/download/v0.1.
|
|
134
|
+
curl -L https://github.com/minjun0219/mdwire/releases/download/v0.1.7/mdwire-v0.1.7-aarch64-apple-darwin.tar.gz | tar xz
|
|
135
|
+
curl -L https://github.com/minjun0219/mdwire/releases/download/v0.1.7/mdwire-v0.1.7-x86_64-unknown-linux-gnu.tar.gz | tar xz
|
|
128
136
|
```
|
|
129
137
|
|
|
130
138
|
The release notes list a SHA-256 for every artifact — pin to it when installing by URL.
|
package/bundler/mdwire_bg.js
CHANGED
|
@@ -337,7 +337,7 @@ export function __wbg_Error_67e7344beaa85059(arg0, arg1) {
|
|
|
337
337
|
export function __wbg___wbindgen_throw_5d9e815e6fdf150f(arg0, arg1) {
|
|
338
338
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
339
339
|
}
|
|
340
|
-
export function
|
|
340
|
+
export function __wbg_from_5ceccc568e2b01b6(arg0, arg1) {
|
|
341
341
|
const ret = getObject(arg1).from;
|
|
342
342
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
343
343
|
var len1 = WASM_VECTOR_LEN;
|
package/bundler/mdwire_bg.wasm
CHANGED
|
Binary file
|
package/node/mdwire.js
CHANGED
|
@@ -348,7 +348,7 @@ function __wbg_get_imports() {
|
|
|
348
348
|
__wbg___wbindgen_throw_5d9e815e6fdf150f: function(arg0, arg1) {
|
|
349
349
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
350
350
|
},
|
|
351
|
-
|
|
351
|
+
__wbg_from_5ceccc568e2b01b6: function(arg0, arg1) {
|
|
352
352
|
const ret = getObject(arg1).from;
|
|
353
353
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
354
354
|
var len1 = WASM_VECTOR_LEN;
|
package/node/mdwire_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minjun0219/mdwire",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "Streaming Markdown renderer for chat channels. Telegram HTML, Slack markdown_text, plain text.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": { "type": "git", "url": "https://github.com/minjun0219/mdwire" },
|