@zh-xx/antu 0.16.5 → 0.16.6

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.
@@ -1,4 +1,4 @@
1
- // Antu 0.16.5
1
+ // Antu 0.16.6
2
2
  // Copyright (C) 2026 Ji Cheng
3
3
  //
4
4
  // Antu is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public
@@ -12,9 +12,9 @@
12
12
  // publish them, or sell them on any terms you like. This licence covers Antu's code in the page, and the notices in
13
13
  // the page must stay with it.
14
14
  //
15
- // Corresponding Source of this version: https://github.com/zh-xx/Antu/tree/v0.16.5
16
- // The licence: https://github.com/zh-xx/Antu/blob/v0.16.5/LICENSE
17
- // Third-party notices: https://github.com/zh-xx/Antu/blob/v0.16.5/skills/antu/THIRD-PARTY-NOTICES.md
15
+ // Corresponding Source of this version: https://github.com/zh-xx/Antu/tree/v0.16.6
16
+ // The licence: https://github.com/zh-xx/Antu/blob/v0.16.6/LICENSE
17
+ // Third-party notices: https://github.com/zh-xx/Antu/blob/v0.16.6/skills/antu/THIRD-PARTY-NOTICES.md
18
18
  //
19
19
  // === The licence of Antu ===
20
20
  //
@@ -1,4 +1,4 @@
1
- // Antu 0.16.5
1
+ // Antu 0.16.6
2
2
  // Copyright (C) 2026 Ji Cheng
3
3
  //
4
4
  // Antu is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public
@@ -12,9 +12,9 @@
12
12
  // publish them, or sell them on any terms you like. This licence covers Antu's code in the page, and the notices in
13
13
  // the page must stay with it.
14
14
  //
15
- // Corresponding Source of this version: https://github.com/zh-xx/Antu/tree/v0.16.5
16
- // The licence: https://github.com/zh-xx/Antu/blob/v0.16.5/LICENSE
17
- // Third-party notices: https://github.com/zh-xx/Antu/blob/v0.16.5/skills/antu/THIRD-PARTY-NOTICES.md
15
+ // Corresponding Source of this version: https://github.com/zh-xx/Antu/tree/v0.16.6
16
+ // The licence: https://github.com/zh-xx/Antu/blob/v0.16.6/LICENSE
17
+ // Third-party notices: https://github.com/zh-xx/Antu/blob/v0.16.6/skills/antu/THIRD-PARTY-NOTICES.md
18
18
  //
19
19
  // === The licence of Antu ===
20
20
  //
package/lib/html.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // Antu 0.16.5
1
+ // Antu 0.16.6
2
2
  // Copyright (C) 2026 Ji Cheng
3
3
  //
4
4
  // Antu is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public
@@ -12,9 +12,9 @@
12
12
  // publish them, or sell them on any terms you like. This licence covers Antu's code in the page, and the notices in
13
13
  // the page must stay with it.
14
14
  //
15
- // Corresponding Source of this version: https://github.com/zh-xx/Antu/tree/v0.16.5
16
- // The licence: https://github.com/zh-xx/Antu/blob/v0.16.5/LICENSE
17
- // Third-party notices: https://github.com/zh-xx/Antu/blob/v0.16.5/skills/antu/THIRD-PARTY-NOTICES.md
15
+ // Corresponding Source of this version: https://github.com/zh-xx/Antu/tree/v0.16.6
16
+ // The licence: https://github.com/zh-xx/Antu/blob/v0.16.6/LICENSE
17
+ // Third-party notices: https://github.com/zh-xx/Antu/blob/v0.16.6/skills/antu/THIRD-PARTY-NOTICES.md
18
18
  //
19
19
  // === The licence of Antu ===
20
20
  //
package/lib/validate.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // Antu 0.16.5
1
+ // Antu 0.16.6
2
2
  // Copyright (C) 2026 Ji Cheng
3
3
  //
4
4
  // Antu is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public
@@ -12,9 +12,9 @@
12
12
  // publish them, or sell them on any terms you like. This licence covers Antu's code in the page, and the notices in
13
13
  // the page must stay with it.
14
14
  //
15
- // Corresponding Source of this version: https://github.com/zh-xx/Antu/tree/v0.16.5
16
- // The licence: https://github.com/zh-xx/Antu/blob/v0.16.5/LICENSE
17
- // Third-party notices: https://github.com/zh-xx/Antu/blob/v0.16.5/skills/antu/THIRD-PARTY-NOTICES.md
15
+ // Corresponding Source of this version: https://github.com/zh-xx/Antu/tree/v0.16.6
16
+ // The licence: https://github.com/zh-xx/Antu/blob/v0.16.6/LICENSE
17
+ // Third-party notices: https://github.com/zh-xx/Antu/blob/v0.16.6/skills/antu/THIRD-PARTY-NOTICES.md
18
18
  //
19
19
  // === The licence of Antu ===
20
20
  //
@@ -1422,4 +1422,4 @@
1422
1422
  // SOFTWARE.
1423
1423
  // ````
1424
1424
  //
1425
- import{a as e,c as t,d as n,f as r,i,l as a,n as o,r as s,t as c,u as l}from"./chunks/report-DZy10Joi.mjs";function u(e,t){return{release:e,types:r().map(e=>e.type).filter(e=>!t||e===t).map(e=>({type:e,specVersion:l(e).specVersion,diagrams:a(e).map(({kind:e,version:t,status:n,since:r})=>({kind:e,version:t,status:n,since:r}))}))}}function d(e){if(typeof e!=`object`||!e||Array.isArray(e))return{spec:e,changes:[]};let t=structuredClone(e),n=typeof t.type==`string`?l(t.type)?.normalize:void 0;return{spec:t,changes:n?[...n(t)]:[]}}var f=`0.16.5`;function p(t){let n=e(t);return{ok:n.length===0,errors:[...n],notes:n.length?[]:[...i(t)]}}function m(t,{kind:n,orientation:r}={}){let i=e(t);if(i.length)return{ok:!1,reason:`the spec is not valid`,errors:[...i]};let a=o(t,n);if(a)return{ok:!1,reason:a};let l=s(t,{kind:n,orientation:r});return l.ok?{...l,text:c(l)}:l}function h(e){return d(e)}function g(e=`fact`){let t=l(e);return t?{ok:!0,text:t.describe()}:{ok:!1,reason:_(e)}}function _(e){return`no reference material for type "${e}" yet. Available: ${r().map(e=>`${e.type} (${t(e.labelKey)})`).join(`, `)||`(none)`}.`}function v(){return Object.fromEntries(r().map(({type:e})=>[e,n(e)]))}function y(){return u(f)}export{g as describe,v as kinds,m as layout,h as normalize,p as validate,y as versions};
1425
+ import{a as e,c as t,d as n,f as r,i,l as a,n as o,r as s,t as c,u as l}from"./chunks/report-DZy10Joi.mjs";function u(e,t){return{release:e,types:r().map(e=>e.type).filter(e=>!t||e===t).map(e=>({type:e,specVersion:l(e).specVersion,diagrams:a(e).map(({kind:e,version:t,status:n,since:r})=>({kind:e,version:t,status:n,since:r}))}))}}function d(e){if(typeof e!=`object`||!e||Array.isArray(e))return{spec:e,changes:[]};let t=structuredClone(e),n=typeof t.type==`string`?l(t.type)?.normalize:void 0;return{spec:t,changes:n?[...n(t)]:[]}}var f=`0.16.6`;function p(t){let n=e(t);return{ok:n.length===0,errors:[...n],notes:n.length?[]:[...i(t)]}}function m(t,{kind:n,orientation:r}={}){let i=e(t);if(i.length)return{ok:!1,reason:`the spec is not valid`,errors:[...i]};let a=o(t,n);if(a)return{ok:!1,reason:a};let l=s(t,{kind:n,orientation:r});return l.ok?{...l,text:c(l)}:l}function h(e){return d(e)}function g(e=`fact`){let t=l(e);return t?{ok:!0,text:t.describe()}:{ok:!1,reason:_(e)}}function _(e){return`no reference material for type "${e}" yet. Available: ${r().map(e=>`${e.type} (${t(e.labelKey)})`).join(`, `)||`(none)`}.`}function v(){return Object.fromEntries(r().map(({type:e})=>[e,n(e)]))}function y(){return u(f)}export{g as describe,v as kinds,m as layout,h as normalize,p as validate,y as versions};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zh-xx/antu",
3
- "version": "0.16.5",
3
+ "version": "0.16.6",
4
4
  "description": "Antu: legal diagrams (fact, procedure, relationship, justification) from JSON, as one offline HTML page. The command line, the MCP server, and the entries to embed a diagram in an application.",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "author": "Ji Cheng",
package/server.json CHANGED
@@ -6,12 +6,12 @@
6
6
  "url": "https://github.com/zh-xx/Antu",
7
7
  "source": "github"
8
8
  },
9
- "version": "0.16.5",
9
+ "version": "0.16.6",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "@zh-xx/antu",
14
- "version": "0.16.5",
14
+ "version": "0.16.6",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  }