@linxiraos/pi-messenger 1.5.1 → 1.5.11
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 +18 -0
- package/THIRD-PARTY-NOTICES.txt +22 -11
- package/editor-command.ts +12 -7
- package/package.json +1 -1
- package/vitest.config.ts +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [1.5.11] - 2026-11-20
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Released as part of Zeta 1.5.11; no package-specific user-visible changes.
|
|
8
|
+
|
|
9
|
+
## [1.5.10] - 2026-11-19
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- The official plugin ships at the matching Zeta workspace version. No plugin-specific behavior changes.
|
|
14
|
+
|
|
15
|
+
## [1.5.2] - 2026-11-13
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Released as part of Zeta 1.5.2 asset review; no package-specific user-visible changes.
|
|
20
|
+
|
|
3
21
|
## [1.5.1] - 2026-11-10
|
|
4
22
|
|
|
5
23
|
- Released as part of Zeta 1.5.1; no package-specific user-visible changes.
|
package/THIRD-PARTY-NOTICES.txt
CHANGED
|
@@ -19,20 +19,19 @@ Forked application trees:
|
|
|
19
19
|
|
|
20
20
|
| Path | Upstream | Snapshot | License | What Zeta changed |
|
|
21
21
|
|---|---|---|---|---|
|
|
22
|
-
| `packages/ main/ crates/ python/ lsp/ sdk/ types/ skills/` | oh-my-pi (OMP), https://github.com/can1357/oh-my-pi | integrated through tag `v18.
|
|
22
|
+
| `packages/ main/ crates/ python/ lsp/ sdk/ types/ skills/` | oh-my-pi (OMP), https://github.com/can1357/oh-my-pi | integrated through tag `v18.22.0` (`document/upstream-sync.md`) | see upstream files | product name, paths, command names and env prefixes; branded assets; internal identifiers renamed to `__zeta*` |
|
|
23
23
|
| `web-ui/` | OMP Web, https://github.com/17380936778/omp-web | frozen snapshot, **abandoned 2026-11-05** (`document/upstream-sync.md`) | see upstream files | third-party UI, not maintained by Zeta: frozen as received, no builds, no fixes; the product renderer is `web-app/` (`Differences from Upstream` in README) |
|
|
24
|
-
| `web-app/` (`src/studio`, `src/vendor/*`) | OMP Studio
|
|
25
|
-
| `termide/` | TermIDE, https://github.com/termide/termide | tag `0.
|
|
24
|
+
| `web-app/` (`src/studio`, `src/vendor/*`) | OMP Studio, https://github.com/the-snowpear/omp-studio | official `v0.2.1` (`6d0b764bb9eac88c1671c0380229823c5630cc74`) integrated 2026-11-16; `web-ui/` is a separate frozen OMP Web snapshot | MIT | maintained by Zeta now: the host contract is reimplemented in `studio-host` (pair/CSRF/query/command/events), the renderer was rebranded (`zeta-studio` wire name, Zeta links/fixtures), and Zeta adds windowed transcripts, precompressed static serving, the plugin registry, and the usage dashboard |
|
|
25
|
+
| `termide/` | TermIDE, https://github.com/termide/termide | tag `0.49.0` = `057eb55e0a7c4ee969982fab62dc83bde028e052` | MIT | deviations listed in `termide/VENDOR.md` |
|
|
26
26
|
| `editor/npm/*` (`@linxiraos/editor*`) | TermIDE `panel-editor` | same tree as `termide/` | MIT | built as the editor-only bin `termide-editor` (`editor/npm/editor/VENDOR.md`) |
|
|
27
27
|
| `plugins/official/*` | per plugin | per plugin | per plugin | each directory carries `plugin.json`, README with source, and its license |
|
|
28
28
|
|
|
29
|
-
Why the fork renames things
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
existing installation does not silently break.
|
|
29
|
+
Why the fork renames things: Zeta keeps its product identity distinct from its
|
|
30
|
+
upstreams. Renames cover the product name, command names (`zetawork` /
|
|
31
|
+
`zetacode` / `zetaide`), the `zeta://` scheme, the npm scope `@linxiraos/*`, and
|
|
32
|
+
release asset names (`zeta-cli-*`). User-visible configuration uses Zeta names;
|
|
33
|
+
upstream status directories and retired configuration aliases are not loaded.
|
|
34
|
+
The component licenses below retain their original grants and notices.
|
|
36
35
|
|
|
37
36
|
Brand and assets:
|
|
38
37
|
|
|
@@ -48,6 +47,18 @@ Frozen counterpart constants (interoperability, not branding):
|
|
|
48
47
|
These are wire-compatible identifiers Zeta must keep, listed here so that a
|
|
49
48
|
brand sweep does not break them.
|
|
50
49
|
|
|
50
|
+
SHEETJS COMMUNITY EDITION 0.20.3
|
|
51
|
+
================================
|
|
52
|
+
|
|
53
|
+
Copyright (C) 2012-present SheetJS LLC. Licensed under Apache-2.0; the full
|
|
54
|
+
Apache License 2.0 is reproduced in this aggregate below. The unchanged official
|
|
55
|
+
distribution, including its LICENSE and source notices, is retained at
|
|
56
|
+
web-app/vendor/xlsx-0.20.3.tgz. Source: https://git.sheetjs.com/sheetjs/sheetjs
|
|
57
|
+
Official archive: https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz
|
|
58
|
+
SHA-512: oLDq3jw7AcLqKWH2AhCpVTZl8mf6X2YReP+Neh0SJUzV/BdZYjth94tG5toiMB1PPrYtxOCfaoUCkvtuH+3AJA==
|
|
59
|
+
Zeta changes dependency resolution to this local archive only; parser bytes
|
|
60
|
+
and the upstream license are unchanged (ADR-0059).
|
|
61
|
+
|
|
51
62
|
PYTHON DEPENDENCY DISTRIBUTION ROLE
|
|
52
63
|
===================================
|
|
53
64
|
|
|
@@ -432,7 +443,7 @@ SOFTWARE.
|
|
|
432
443
|
web-app/src/studio + web-app/src/vendor/* + web-ui/components/studio +
|
|
433
444
|
web-ui/styles/studio + web-ui/lib/studio-protocol
|
|
434
445
|
|
|
435
|
-
Ported UI surface and protocol types from OMP Studio 0.1.17
|
|
446
|
+
Ported UI surface and protocol types from OMP Studio (MIT): the original port was `0.1.17`; the current product renderer follows official `v0.2.1`, integrated 2026-11-16.
|
|
436
447
|
|
|
437
448
|
- `web-ui/components/studio/` and `web-ui/styles/studio/` are derived from the
|
|
438
449
|
OMP Studio renderer (`apps/renderer/src`).
|
package/editor-command.ts
CHANGED
|
@@ -19,12 +19,6 @@
|
|
|
19
19
|
* another switch, and a crashed editor never takes the session with it.
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
|
-
import { cfgEditorAutoInstall } from "@linxiraos/zeta/session/settings";
|
|
23
|
-
import {
|
|
24
|
-
createDefaultTerminalLaunchRequest,
|
|
25
|
-
terminalLaunchCapabilities,
|
|
26
|
-
} from "@linxiraos/zeta/subprocess/terminal-launch";
|
|
27
|
-
import { classifyTerminalMultiplexer } from "@linxiraos/pi-tui/terminal-multiplexer";
|
|
28
22
|
import * as cp from "node:child_process";
|
|
29
23
|
import type { ExtensionAPI, ExtensionCommandContext } from "@linxiraos/zeta";
|
|
30
24
|
import { ensureEditorBinary } from "./editor-binary.ts";
|
|
@@ -50,7 +44,12 @@ export function registerEditorCommand(pi: ExtensionAPI): void {
|
|
|
50
44
|
*/
|
|
51
45
|
export async function switchToEditor(ctx: ExtensionCommandContext, args = ""): Promise<void> {
|
|
52
46
|
const cwd = ctx.cwd;
|
|
53
|
-
|
|
47
|
+
// Deferred: the host runtime pulls in Bun-only modules at load time. The
|
|
48
|
+
// plugin index must stay importable by the Node-based vitest suite and by
|
|
49
|
+
// hosts whose /editor command is never invoked, so resolve it on use.
|
|
50
|
+
const autoInstall = ctx.settings
|
|
51
|
+
? (await import("@linxiraos/zeta/session/settings")).cfgEditorAutoInstall.get(ctx.settings)
|
|
52
|
+
: true;
|
|
54
53
|
const resolved = ensureEditorBinary(autoInstall === true);
|
|
55
54
|
if (!resolved.binary) {
|
|
56
55
|
ctx.ui?.notify?.(resolved.error ?? "The editor is unavailable.", "error");
|
|
@@ -65,8 +64,14 @@ export async function switchToEditor(ctx: ExtensionCommandContext, args = ""): P
|
|
|
65
64
|
// `ctx.ui.openTerminal`); when it cannot place the pane we fall through to
|
|
66
65
|
// the detached spawn rather than leaving the user without an editor.
|
|
67
66
|
if (process.platform !== "win32" && ctx.ui?.openTerminal) {
|
|
67
|
+
// Deferred for the same reason as the settings import above: a host
|
|
68
|
+
// without /editor must not pay the host runtime's load-time graph.
|
|
69
|
+
const { classifyTerminalMultiplexer } = await import("@linxiraos/pi-tui/terminal-multiplexer");
|
|
68
70
|
const multiplexer = classifyTerminalMultiplexer(process.env);
|
|
69
71
|
if (multiplexer !== null) {
|
|
72
|
+
const { createDefaultTerminalLaunchRequest, terminalLaunchCapabilities } = await import(
|
|
73
|
+
"@linxiraos/zeta/subprocess/terminal-launch"
|
|
74
|
+
);
|
|
70
75
|
const plan = createDefaultTerminalLaunchRequest(multiplexer, "pane", [resolved.binary, ...argv], cwd);
|
|
71
76
|
if ("request" in plan) {
|
|
72
77
|
try {
|
package/package.json
CHANGED
package/vitest.config.ts
CHANGED
|
@@ -6,5 +6,14 @@ export default defineConfig({
|
|
|
6
6
|
include: ["tests/**/*.test.ts"],
|
|
7
7
|
clearMocks: true,
|
|
8
8
|
restoreMocks: true,
|
|
9
|
+
// The crew tests dynamically re-import modules and replace them with mocks;
|
|
10
|
+
// running files in parallel lets one worker observe another's real module.
|
|
11
|
+
fileParallelism: false,
|
|
12
|
+
isolate: true,
|
|
13
|
+
pool: "forks",
|
|
14
|
+
// One fork, one file at a time: a second worker must never load the real
|
|
15
|
+
// module graph while another file's `vi.mock` factories are installed.
|
|
16
|
+
poolOptions: { forks: { singleFork: true } },
|
|
17
|
+
sequence: { shuffle: false },
|
|
9
18
|
},
|
|
10
19
|
});
|