@linxiraos/pi-channels 1.1.19 → 1.3.0
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/CHANGELOG.md +32 -2
- package/LICENSE +21 -0
- package/THIRD-PARTY-NOTICES.txt +60 -47
- package/dist/types/channel.d.ts +1 -1
- package/dist/types/index.d.ts +2 -2
- package/package.json +6 -6
- package/src/channel.ts +1 -1
- package/src/index.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,37 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
1
|
## [Unreleased]
|
|
4
2
|
|
|
3
|
+
## [1.3.0] - 2026-10-18
|
|
4
|
+
|
|
5
|
+
- 版本线推进至 1.3.0;本版无独立用户可见变化。
|
|
6
|
+
|
|
7
|
+
## [1.2.0] - 2026-10-12
|
|
8
|
+
|
|
9
|
+
- 版本线推进至 1.1.28;本版无独立用户可见变化。
|
|
10
|
+
|
|
11
|
+
## [1.1.27] - 2026-10-07
|
|
12
|
+
|
|
13
|
+
- 版本线推进至 1.1.27;本版无独立用户可见变化。
|
|
14
|
+
|
|
15
|
+
## [1.1.26] - 2026-10-03
|
|
16
|
+
|
|
17
|
+
- 版本线推进至 1.1.26;本版无独立用户可见变化。
|
|
18
|
+
|
|
19
|
+
## [1.1.25] - 2026-10-03
|
|
20
|
+
|
|
21
|
+
- 版本线推进至 1.1.25;本版无独立用户可见变化。
|
|
22
|
+
|
|
23
|
+
## [1.1.24] - 2026-10-03
|
|
24
|
+
|
|
25
|
+
- 上游 v18.4.11 集成;本轮无用户可见变更。
|
|
26
|
+
|
|
27
|
+
## [1.1.22] - 2026-09-30
|
|
28
|
+
|
|
29
|
+
- 随 1.1.22 版本线发布;无面向用户的行为变化。
|
|
30
|
+
|
|
31
|
+
## [1.1.20] - 2026-09-23
|
|
32
|
+
|
|
33
|
+
- 版本线推进;本版无独立用户可见变化。
|
|
34
|
+
|
|
5
35
|
## [1.1.19] - 2026-09-22
|
|
6
36
|
|
|
7
37
|
- 版本线推进;本版无独立用户可见变化。
|
package/LICENSE
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
Zeta is distributed under more than one licence. The directory a file lives in
|
|
2
|
+
decides which licence applies:
|
|
3
|
+
|
|
4
|
+
main/ GNU Affero General Public License v3.0, only
|
|
5
|
+
(full text: main/LICENSE)
|
|
6
|
+
packages/ crates/ sdk/ MIT
|
|
7
|
+
termide/ editor/ MIT (vendored TermIDE: termide/LICENSE)
|
|
8
|
+
web-ui/ desktop/ MIT
|
|
9
|
+
docs/ document/ scripts/ MIT
|
|
10
|
+
|
|
11
|
+
Everything outside main/ is under the MIT licence reproduced below. The
|
|
12
|
+
workbench (main/, the zetawork TUI and GUI and its npm packages) is under
|
|
13
|
+
AGPL-3.0-only; that licence text lives in main/LICENSE and is not repeated here.
|
|
14
|
+
|
|
15
|
+
Integrated third-party components keep their own licences; NOTICE lists them.
|
|
16
|
+
|
|
17
|
+
Commercial licensing of the workbench is available by arrangement with the
|
|
18
|
+
maintainers.
|
|
19
|
+
|
|
20
|
+
--------------------------------------------------------------------------------
|
|
21
|
+
|
|
1
22
|
MIT License
|
|
2
23
|
|
|
3
24
|
Copyright (c) 2025 Mario Zechner
|
package/THIRD-PARTY-NOTICES.txt
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
ZETA THIRD-PARTY NOTICES
|
|
2
2
|
=======================
|
|
3
3
|
|
|
4
|
-
This generated, self-contained aggregate accompanies
|
|
4
|
+
This generated, self-contained aggregate accompanies Zeta release artifacts.
|
|
5
5
|
It does not replace package-level license files. First-party licensing grants
|
|
6
6
|
no rights in third-party code, fonts, data, or marks identified below.
|
|
7
7
|
|
|
8
8
|
PYTHON DEPENDENCY DISTRIBUTION ROLE
|
|
9
9
|
===================================
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
Uvicorn, HTTPX, Pydantic, pydantic-settings, python-dotenv, Click, and
|
|
11
|
+
zeta-rpc has no third-party runtime dependencies. robomp declares FastAPI,
|
|
12
|
+
Uvicorn, HTTPX, Pydantic, pydantic-settings, python-dotenv, Click, and zeta-rpc
|
|
13
13
|
as ordinary installer-resolved dependencies. The Python wheels do not vendor
|
|
14
14
|
those projects; each dependency remains a separately installed distribution
|
|
15
15
|
carrying its own license metadata and files. Container/system assemblers must
|
|
@@ -78,10 +78,10 @@ below.
|
|
|
78
78
|
uutils coreutils (https://github.com/uutils/coreutils), MIT
|
|
79
79
|
--------------------------------------------------------------------------------
|
|
80
80
|
Covers: base32, base64, basename, cat, cksum (shared checksum machinery),
|
|
81
|
-
b2sum, md5sum, sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, comm,
|
|
82
|
-
date, dirname, head, hostname, ln, ls, mkdir, mktemp, mv,
|
|
83
|
-
printenv, readlink, realpath, rm, seq, sort, stat, tac, tail, tee,
|
|
84
|
-
truncate, uname, uniq, wc, whoami, yes.
|
|
81
|
+
b2sum, md5sum, sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, comm, cp,
|
|
82
|
+
cut, date, dirname, head, hostname, ln, ls, mkdir, mktemp, mv, nl, nproc,
|
|
83
|
+
paste, printenv, readlink, realpath, rm, seq, sort, stat, tac, tail, tee,
|
|
84
|
+
touch, tr, truncate, uname, uniq, wc, whoami, yes.
|
|
85
85
|
|
|
86
86
|
Copyright (c) uutils developers
|
|
87
87
|
|
|
@@ -293,7 +293,7 @@ MIT License
|
|
|
293
293
|
Copyright (c) 2026 Sander Land
|
|
294
294
|
(measured tokenizer vocabulary data, reconstruction model, and reference
|
|
295
295
|
implementation: https://github.com/sanderland/ctok)
|
|
296
|
-
Copyright (c) 2026 Can Bölük and the
|
|
296
|
+
Copyright (c) 2026 Can Bölük and the omp contributors
|
|
297
297
|
Copyright (c) 2026 Stencil Labs, Inc.
|
|
298
298
|
(Rust implementation and the compact binary vocabulary encoding in
|
|
299
299
|
crates/pi-natives/src/utok/claude)
|
|
@@ -335,43 +335,6 @@ This license allows the work and adaptations of it to be shared and used
|
|
|
335
335
|
commercially, as long as it is attributed to Poppy Works. The font is bundled
|
|
336
336
|
here (crates/pi-natives/src/fonts/Silver.ttf) as a CJK/Unicode bitmap fallback.
|
|
337
337
|
|
|
338
|
-
-------------------------------------------------------------------------------
|
|
339
|
-
packages/utils/src/vendor/mermaid-ascii/NOTICE
|
|
340
|
-
|
|
341
|
-
This directory contains an in-house Mermaid-diagram-to-ASCII renderer adapted
|
|
342
|
-
from beautiful-mermaid (https://github.com/lukilabs/beautiful-mermaid), used
|
|
343
|
-
under the MIT License.
|
|
344
|
-
|
|
345
|
-
Copyright (c) 2026 Craft Docs
|
|
346
|
-
|
|
347
|
-
Only the ASCII rendering pipeline is ported (flowchart/state, sequence, class,
|
|
348
|
-
ER, and xychart diagrams); the SVG renderer and its `elkjs` graph-layout
|
|
349
|
-
dependency, the browser entry point, and the SVG theme/style modules were
|
|
350
|
-
dropped. Terminal display width is reimplemented on `Bun.stringWidth`, and
|
|
351
|
-
inline label formatting (HTML tags, markdown emphasis) is reduced to plain text
|
|
352
|
-
for ASCII output. Layout and edge-routing logic is preserved faithfully so
|
|
353
|
-
ASCII output matches the upstream package.
|
|
354
|
-
|
|
355
|
-
MIT License
|
|
356
|
-
|
|
357
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
358
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
359
|
-
in the Software without restriction, including without limitation the rights
|
|
360
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
361
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
362
|
-
furnished to do so, subject to the following conditions:
|
|
363
|
-
|
|
364
|
-
The above copyright notice and this permission notice shall be included in all
|
|
365
|
-
copies or substantial portions of the Software.
|
|
366
|
-
|
|
367
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
368
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
369
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
370
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
371
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
372
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
373
|
-
SOFTWARE.
|
|
374
|
-
|
|
375
338
|
-------------------------------------------------------------------------------
|
|
376
339
|
packages/coding-agent/src/markit/NOTICE
|
|
377
340
|
|
|
@@ -861,6 +824,56 @@ public licenses.
|
|
|
861
824
|
|
|
862
825
|
Creative Commons may be contacted at creativecommons.org.
|
|
863
826
|
|
|
827
|
+
-------------------------------------------------------------------------------
|
|
828
|
+
scripts/brand/fonts/ANSI Shadow.flf, scripts/brand/fonts/mini.flf
|
|
829
|
+
|
|
830
|
+
Two FIGlet font files from the standard FIGlet font distribution — the
|
|
831
|
+
figlet.org font set shipped by figlet.js
|
|
832
|
+
(https://github.com/patorjk/figlet.js/tree/master/fonts), fetched from
|
|
833
|
+
figlet.js 1.8.0 — vendored so the welcome/splash brand art
|
|
834
|
+
(`packages/tui/src/prompt/welcome.ts`) is generated reproducibly and offline
|
|
835
|
+
by `bun scripts/brand/generate-logo-art.ts`. Both files are unmodified and
|
|
836
|
+
retain their original FIGlet headers. They are build-time inputs only: no font
|
|
837
|
+
file or font data is compiled into, or shipped with, a Zeta release artifact.
|
|
838
|
+
The fonts' own headers carry their terms:
|
|
839
|
+
|
|
840
|
+
- `ANSI Shadow.flf` — "ANSI Shadow". Author unknown ("Font Author: ?" in the
|
|
841
|
+
header); a TheDraw-archive font converted with the FIGlet font editor
|
|
842
|
+
(http://patorjk.com/figfont-editor). Distributed under the FIGlet font
|
|
843
|
+
license as carried by the standard FIGlet font set: free to use and
|
|
844
|
+
redistribute with the header intact.
|
|
845
|
+
- `mini.flf` — "mini" by Glenn Chappell (4/93), from figlet release 2.1
|
|
846
|
+
(12 Aug 1994), "Includes ISO Latin-1"; modified by Paul Burton
|
|
847
|
+
<solution@earthlink.net> 12/96. Header grant: "Permission is hereby given to
|
|
848
|
+
modify this font, as long as the modifier's name is placed on a comment
|
|
849
|
+
line."
|
|
850
|
+
|
|
851
|
+
FIGlet renderer — `figlet` 1.8.0 (https://github.com/patorjk/figlet.js), a
|
|
852
|
+
root devDependency used only to generate the art at build time; it is not
|
|
853
|
+
imported by any runtime bundle or shipped artifact.
|
|
854
|
+
|
|
855
|
+
MIT License
|
|
856
|
+
|
|
857
|
+
Copyright (C) 2014-present Patrick Gillespie and other contributors
|
|
858
|
+
|
|
859
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
860
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
861
|
+
in the Software without restriction, including without limitation the rights
|
|
862
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
863
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
864
|
+
furnished to do so, subject to the following conditions:
|
|
865
|
+
|
|
866
|
+
The above copyright notice and this permission notice shall be included in
|
|
867
|
+
all copies or substantial portions of the Software.
|
|
868
|
+
|
|
869
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
870
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
871
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
872
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
873
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
874
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
875
|
+
SOFTWARE.
|
|
876
|
+
|
|
864
877
|
BUN / NPM DEPENDENCY INVENTORY
|
|
865
878
|
==============================
|
|
866
879
|
This inventory is traversed from bun.lock, not from the host node_modules tree.
|
|
@@ -1083,7 +1096,7 @@ These packages participate only in generation/web build tooling and are not ship
|
|
|
1083
1096
|
|
|
1084
1097
|
SCOPED NON-PERMISSIVE PACKAGES
|
|
1085
1098
|
------------------------------
|
|
1086
|
-
The exact @img/sharp-libvips-* 1.2.4 all-target family is LGPL-3.0-or-later. It is not distributed in
|
|
1099
|
+
The exact @img/sharp-libvips-* 1.2.4 all-target family is LGPL-3.0-or-later. It is not distributed in Zeta npm bundles or standalone assets: @huggingface/transformers is always external, installed into a user-side versioned runtime on demand, and sharp is stubbed for speech/text. The dynamically loaded native library remains replaceable. Corresponding source is available from https://github.com/lovell/sharp-libvips.git and upstream libvips sources.
|
|
1087
1100
|
|
|
1088
1101
|
lightningcss 1.32.0 and its exact target leaves are MPL-2.0 build-only dependencies. MPL is not globally allowed and these packages are absent from runtime artifacts.
|
|
1089
1102
|
|
package/dist/types/channel.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Minimal IM channel abstraction for `
|
|
2
|
+
* Minimal IM channel abstraction for `zetacode serve` (web/desktop mode only).
|
|
3
3
|
*
|
|
4
4
|
* A `ChatChannel` owns one platform connection: start/stop lifecycle plus
|
|
5
5
|
* outbound text/image delivery. Inbound messages are pushed through the
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Channel bootstrapping for `
|
|
2
|
+
* Channel bootstrapping for `zetacode serve` (web/desktop mode only).
|
|
3
3
|
*
|
|
4
4
|
* Enables every channel marked `enabled` in the web config and routes its
|
|
5
5
|
* inbound messages into the coordinator session through `ChannelHost`.
|
|
@@ -31,7 +31,7 @@ export declare function setPendingWechatQr(payload: WeChatQrStatus | null): void
|
|
|
31
31
|
export declare function getPendingWechatQr(): WeChatQrStatus | null;
|
|
32
32
|
/**
|
|
33
33
|
* Register the serve process's shared coordinator session id (zeta-server
|
|
34
|
-
* wires this). External clients (web-ui default chat, `
|
|
34
|
+
* wires this). External clients (web-ui default chat, `zetacode attach`) resolve
|
|
35
35
|
* the shared session through `GET /api/agent/current`, which reads this.
|
|
36
36
|
*/
|
|
37
37
|
export declare function registerMainSessionId(id: string | null): void;
|
package/package.json
CHANGED
|
@@ -22,22 +22,22 @@
|
|
|
22
22
|
"bun": ">=1.3.14"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@linxiraos/pi-ai": "1.
|
|
25
|
+
"@linxiraos/pi-ai": "1.3.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@types/bun": "
|
|
29
|
-
"@linxiraos/pi-ai": "1.
|
|
28
|
+
"@types/bun": "1.4.3",
|
|
29
|
+
"@linxiraos/pi-ai": "1.3.0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@larksuiteoapi/node-sdk": "^1.71.1",
|
|
33
|
-
"@linxiraos/pi-utils": "1.
|
|
33
|
+
"@linxiraos/pi-utils": "1.3.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"test": "bun test --parallel",
|
|
37
37
|
"fmt": "oxfmt 'src/**/*.{ts,tsx}' '*.{ts,tsx}'",
|
|
38
38
|
"fix": "oxlint --fix . && oxfmt 'src/**/*.{ts,tsx}' '*.{ts,tsx}'",
|
|
39
39
|
"lint": "oxlint .",
|
|
40
|
-
"check:types": "
|
|
40
|
+
"check:types": "tsc -p tsconfig.json --noEmit",
|
|
41
41
|
"check": "oxlint . && oxfmt --check --no-error-on-unmatched-pattern 'src/**/*.{ts,tsx}' '*.{ts,tsx}' && bun run check:types"
|
|
42
42
|
},
|
|
43
43
|
"types": "./dist/types/index.d.ts",
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
"homepage": "https://linxira-os.github.io/zeta/",
|
|
63
63
|
"description": "IM channel adapters for Zeta (WeChat / Feishu / Telegram)",
|
|
64
64
|
"type": "module",
|
|
65
|
-
"version": "1.
|
|
65
|
+
"version": "1.3.0",
|
|
66
66
|
"name": "@linxiraos/pi-channels"
|
|
67
67
|
}
|
package/src/channel.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Minimal IM channel abstraction for `
|
|
2
|
+
* Minimal IM channel abstraction for `zetacode serve` (web/desktop mode only).
|
|
3
3
|
*
|
|
4
4
|
* A `ChatChannel` owns one platform connection: start/stop lifecycle plus
|
|
5
5
|
* outbound text/image delivery. Inbound messages are pushed through the
|
package/src/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Channel bootstrapping for `
|
|
2
|
+
* Channel bootstrapping for `zetacode serve` (web/desktop mode only).
|
|
3
3
|
*
|
|
4
4
|
* Enables every channel marked `enabled` in the web config and routes its
|
|
5
5
|
* inbound messages into the coordinator session through `ChannelHost`.
|
|
@@ -62,7 +62,7 @@ export function getPendingWechatQr(): WeChatQrStatus | null {
|
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* Register the serve process's shared coordinator session id (zeta-server
|
|
65
|
-
* wires this). External clients (web-ui default chat, `
|
|
65
|
+
* wires this). External clients (web-ui default chat, `zetacode attach`) resolve
|
|
66
66
|
* the shared session through `GET /api/agent/current`, which reads this.
|
|
67
67
|
*/
|
|
68
68
|
export function registerMainSessionId(id: string | null): void {
|