@freelog/cli 0.10.1 → 0.10.2

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 CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 飞致网络(深圳)有限公司
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 飞致网络(深圳)有限公司
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -12,11 +12,11 @@ freelog-cli --help
12
12
 
13
13
  如果 `freelog-cli` 由其他全局包提供,先卸载该包,再安装 `@freelog/cli`,避免全局命令冲突。具体步骤见[安装来源与 AI 代办](https://widget-docs.freelog.cn/cli/)。
14
14
 
15
- 命令找不到时先重新打开终端,并检查 npm 全局可执行目录是否在 PATH 中。首次使用在工程目录执行 `freelog-cli login --env dev` 完成密码登录;也可用 `freelog-cli login --method code --env dev`,由本人完成图形码与手机/邮箱验证码。微信登录待后端支持。再按[完整使用手册](https://widget-docs.freelog.cn/cli/)选择首次发行或绑定后更新的教程。
15
+ 命令找不到时先重新打开终端,并检查 npm 全局可执行目录是否在 PATH 中。首次使用在工程目录执行 `freelog-cli login` 完成密码登录,也可用 `freelog-cli login --method code`,由本人输入图形验证码及手机或邮箱收到的验证码。微信登录待后端支持。再按[完整使用手册](https://widget-docs.freelog.cn/cli/)选择首次发行或绑定后更新的教程。
16
16
 
17
17
  支持普通单文件、主题/插件及作者合集的发行管理;主题/插件可从线上模板创建工程。也可管理线上存储、从存储导入发行物、查询市场、创建节点、管理节点展品及节点自建展品合集。作者资源和作者合集可公开或非公开上架。节点新展品签约通过内联auth-cli包执行,用户无需另装授权工具。已有合同应用/搁置及阶段恢复保留;当前依赖签约、已有展品补签和所有新支付到浏览器办理。具体参数和流程以对应版本的使用手册为准。
18
18
 
19
- 教程使用 `--env dev`,也支持 test;当前 CLI 拦截 prod 平台调用。节点设置、专用确认删除、主题切换及展品编辑见[节点与展品](https://widget-docs.freelog.cn/cli/)。节点签约遇到必要上抛或已有合同复用时转浏览器;非公开上架来源的CLI签入仍待授权模块适配,浏览器是否可办理以实际页面为准。
19
+ 当前版本默认连接开发环境。节点设置、专用确认删除、主题切换及展品编辑见[在线使用手册](https://widget-docs.freelog.cn/cli/)。节点签约涉及必要上抛或已有合同复用时转浏览器办理。非公开上架来源的 CLI 签入仍待授权模块适配。
20
20
 
21
21
  0.10.0 展品签入的已知限制:显式传入空的 `--name` 可能采用默认授权标识并创建展品,自动化调用应提供有效的非空值。终端取消、登录失效和资源不存在目前可能返回与手册不同的退出码,排查时同时查看返回的错误信息。
22
22