altalandi-mcp 0.7.9 → 0.7.10
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 +4 -4
- package/api-client.mjs +1 -1
- package/card.html +1012 -1006
- package/card.mjs +5 -1
- package/package.json +1 -1
- package/report.mjs +69 -12
- package/server.mjs +14 -10
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ manager. It takes precedence over a stored login. Mint a key at
|
|
|
44
44
|
parts. The first is one Markdown block: the verdict and nativeness score, the text
|
|
45
45
|
before and after (Fyrir / Eftir), a numbered list of changes with their reasons,
|
|
46
46
|
why a rewrite was refused if it was, and what the call cost with the balance and
|
|
47
|
-
free
|
|
47
|
+
free characters left (Kostnaður). The second is the full refined text to apply. The
|
|
48
48
|
tool tells the agent to show the block to you as it is after every call, so you see
|
|
49
49
|
what changed and what it cost in the terminal or the editor, not only on the website.
|
|
50
50
|
|
|
@@ -52,7 +52,7 @@ what changed and what it cost in the terminal or the editor, not only on the web
|
|
|
52
52
|
- `register`: `formal` \| `neutral` \| `warm`
|
|
53
53
|
- `sourceLang`: `auto` \| `en` \| `is`
|
|
54
54
|
- `noStore`: `true` means Altalandi never keeps this text. Otherwise free use (the free
|
|
55
|
-
daily
|
|
55
|
+
daily characters) is kept, with personal data scrubbed, to improve the service; paid use only
|
|
56
56
|
with consent ([privacy](https://altalandi.is/personuvernd#textabanki)).
|
|
57
57
|
- `report`: `true` also writes `./altalandi-reports/altalandi-<time>-<id>.md`
|
|
58
58
|
(input, output, every change with its reason and layer, warnings, verdict).
|
|
@@ -109,8 +109,8 @@ so a stalled provider cannot leave the tool hanging.
|
|
|
109
109
|
|
|
110
110
|
## Cost
|
|
111
111
|
|
|
112
|
-
Every account gets
|
|
113
|
-
|
|
112
|
+
Every account gets a free daily allowance of characters on the standard writer
|
|
113
|
+
(`GET /v1/pricing` has the figure); past that, calls are paid from prepaid credit in krónur, and a new account
|
|
114
114
|
also starts with 500 kr. of trial credit. See <https://altalandi.is/verd>.
|
|
115
115
|
|
|
116
116
|
MIT licensed. Requires Node ≥ 18.
|
package/api-client.mjs
CHANGED
|
@@ -53,7 +53,7 @@ export async function requestRefine(
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
/** The account behind the key (balance, free
|
|
56
|
+
/** The account behind the key (balance, free characters), or null. Best-effort:
|
|
57
57
|
* it only fills the cost lines of the review block. */
|
|
58
58
|
export async function requestMe(baseUrl, apiKey, { fetchImpl = globalThis.fetch } = {}) {
|
|
59
59
|
try {
|