cetrix-connect 0.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/LICENSE +9 -0
- package/README.md +58 -0
- package/assets/fonts/NotoSans-Regular.ttf +0 -0
- package/assets/fonts/OFL.txt +94 -0
- package/dist/agent.mjs +2591 -0
- package/package.json +35 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Copyright (c) 2026 CetriX. All rights reserved.
|
|
2
|
+
|
|
3
|
+
The CetriX Connect application code is proprietary and is not offered under an
|
|
4
|
+
open-source license. No license to modify or redistribute that code is granted
|
|
5
|
+
by publication of this package.
|
|
6
|
+
|
|
7
|
+
Third-party dependencies retain their respective licenses. The bundled Noto
|
|
8
|
+
Sans font is provided under the SIL Open Font License 1.1; its complete license
|
|
9
|
+
and copyright notice are included in assets/fonts/OFL.txt.
|
package/README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# CetriX Connect
|
|
2
|
+
|
|
3
|
+
Ghép một máy tính với tài khoản CetriX Connect để sử dụng qua MCP. Mỗi máy có
|
|
4
|
+
danh tính riêng và endpoint riêng; đăng nhập và xác nhận trên trình duyệt trước
|
|
5
|
+
khi kết nối được cấp quyền.
|
|
6
|
+
|
|
7
|
+
## Bắt đầu
|
|
8
|
+
|
|
9
|
+
Cài **Node.js 24 trở lên**, mở PowerShell hoặc terminal trên máy cần ghép, rồi chạy:
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
npx --yes cetrix-connect@0.3.0 remote
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Lệnh tải agent từ npm; không cần tải ZIP, giải nén hay tìm thư mục cài đặt. Làm
|
|
16
|
+
theo lời nhắc để chọn tên máy và thư mục dữ liệu đang tồn tại. Trình duyệt mở
|
|
17
|
+
trang CetriX Connect để đăng nhập, đối chiếu mã ghép và xác nhận.
|
|
18
|
+
|
|
19
|
+
Chỉ chọn thư mục muốn cấp quyền. Mặc định chỉ được đọc file. Quyền ghi file và
|
|
20
|
+
chạy lệnh cần được bật rõ ràng. Khi bật chạy lệnh, tiến trình sử dụng quyền của
|
|
21
|
+
tài khoản hệ điều hành hiện tại và không bị cách ly trong thư mục dữ liệu.
|
|
22
|
+
|
|
23
|
+
Giữ terminal mở để máy duy trì kết nối. Nhấn **Ctrl+C** để dừng. Gói này không
|
|
24
|
+
cài dịch vụ chạy nền hoặc tự khởi động cùng máy tính.
|
|
25
|
+
|
|
26
|
+
## Chạy lại máy đã ghép
|
|
27
|
+
|
|
28
|
+
Sau khi ghép, agent in đường dẫn danh tính và lệnh chạy lại. Sao chép chính lệnh
|
|
29
|
+
đó để kết nối lại cùng máy, ví dụ:
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
npx --yes cetrix-connect@0.3.0 run --config "duong-dan-danh-tinh.json"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Danh tính được lưu ngoài thư mục tải tạm của npm. Trên Windows, khóa được bảo
|
|
36
|
+
vệ bằng DPAPI của người dùng hiện tại; trên macOS/Linux, file chỉ cho phép chủ
|
|
37
|
+
sở hữu truy cập. Không gửi file danh tính cho người khác và không chuyển nó
|
|
38
|
+
sang tài khoản Windows khác. Xóa cache npm không xóa danh tính đã lưu.
|
|
39
|
+
|
|
40
|
+
Nếu dùng máy chủ CetriX khác, xem các tùy chọn:
|
|
41
|
+
|
|
42
|
+
```sh
|
|
43
|
+
npx --yes cetrix-connect@0.3.0 --help
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Máy dùng kết nối HTTPS/WebSocket đi ra, không cần mở cổng đi vào. Agent Linux
|
|
47
|
+
cần lệnh `ps` (gói `procps` trên Debian/Ubuntu) để sử dụng công cụ quản lý tiến
|
|
48
|
+
trình.
|
|
49
|
+
|
|
50
|
+
## Kết nối trợ lý
|
|
51
|
+
|
|
52
|
+
Mở [CetriX Connect](https://connect.cetrix.app/), chọn đúng máy rồi sao chép
|
|
53
|
+
endpoint MCP của máy đó. Cấp quyền OAuth cho đúng tài khoản và đúng máy khi
|
|
54
|
+
thêm endpoint vào ứng dụng hỗ trợ MCP.
|
|
55
|
+
|
|
56
|
+
Gói npm này chỉ chứa agent; không chứa máy chủ, cơ sở dữ liệu, tài khoản hay
|
|
57
|
+
khóa thiết bị. Mã CetriX được bảo lưu bản quyền; font và các dependency sử dụng
|
|
58
|
+
giấy phép riêng đi kèm.
|
|
Binary file
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
Copyright 2018 The Noto Project Authors (github.com/googlei18n/noto-fonts)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License,
|
|
4
|
+
Version 1.1.
|
|
5
|
+
|
|
6
|
+
This license is copied below, and is also available with a FAQ at:
|
|
7
|
+
http://scripts.sil.org/OFL
|
|
8
|
+
|
|
9
|
+
-----------------------------------------------------------
|
|
10
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
11
|
+
-----------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
PREAMBLE
|
|
14
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
15
|
+
development of collaborative font projects, to support the font
|
|
16
|
+
creation efforts of academic and linguistic communities, and to
|
|
17
|
+
provide a free and open framework in which fonts may be shared and
|
|
18
|
+
improved in partnership with others.
|
|
19
|
+
|
|
20
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
21
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
22
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
23
|
+
redistributed and/or sold with any software provided that any reserved
|
|
24
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
25
|
+
however, cannot be released under any other type of license. The
|
|
26
|
+
requirement for fonts to remain under this license does not apply to
|
|
27
|
+
any document created using the fonts or their derivatives.
|
|
28
|
+
|
|
29
|
+
DEFINITIONS
|
|
30
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
31
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
32
|
+
include source files, build scripts and documentation.
|
|
33
|
+
|
|
34
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
35
|
+
copyright statement(s).
|
|
36
|
+
|
|
37
|
+
"Original Version" refers to the collection of Font Software
|
|
38
|
+
components as distributed by the Copyright Holder(s).
|
|
39
|
+
|
|
40
|
+
"Modified Version" refers to any derivative made by adding to,
|
|
41
|
+
deleting, or substituting -- in part or in whole -- any of the
|
|
42
|
+
components of the Original Version, by changing formats or by porting
|
|
43
|
+
the Font Software to a new environment.
|
|
44
|
+
|
|
45
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
46
|
+
writer or other person who contributed to the Font Software.
|
|
47
|
+
|
|
48
|
+
PERMISSION & CONDITIONS
|
|
49
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
50
|
+
a copy of the Font Software, to use, study, copy, merge, embed,
|
|
51
|
+
modify, redistribute, and sell modified and unmodified copies of the
|
|
52
|
+
Font Software, subject to the following conditions:
|
|
53
|
+
|
|
54
|
+
1) Neither the Font Software nor any of its individual components, in
|
|
55
|
+
Original or Modified Versions, may be sold by itself.
|
|
56
|
+
|
|
57
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
58
|
+
redistributed and/or sold with any software, provided that each copy
|
|
59
|
+
contains the above copyright notice and this license. These can be
|
|
60
|
+
included either as stand-alone text files, human-readable headers or
|
|
61
|
+
in the appropriate machine-readable metadata fields within text or
|
|
62
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
63
|
+
|
|
64
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
65
|
+
Name(s) unless explicit written permission is granted by the
|
|
66
|
+
corresponding Copyright Holder. This restriction only applies to the
|
|
67
|
+
primary font name as presented to the users.
|
|
68
|
+
|
|
69
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
70
|
+
Software shall not be used to promote, endorse or advertise any
|
|
71
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
72
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
73
|
+
permission.
|
|
74
|
+
|
|
75
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
76
|
+
must be distributed entirely under this license, and must not be
|
|
77
|
+
distributed under any other license. The requirement for fonts to
|
|
78
|
+
remain under this license does not apply to any document created using
|
|
79
|
+
the Font Software.
|
|
80
|
+
|
|
81
|
+
TERMINATION
|
|
82
|
+
This license becomes null and void if any of the above conditions are
|
|
83
|
+
not met.
|
|
84
|
+
|
|
85
|
+
DISCLAIMER
|
|
86
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
87
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
88
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
89
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
90
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
91
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
92
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
93
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
94
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|