licos-dev-cli 0.6.2__tar.gz → 0.6.4__tar.gz
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.
- {licos_dev_cli-0.6.2 → licos_dev_cli-0.6.4}/PKG-INFO +3 -3
- {licos_dev_cli-0.6.2 → licos_dev_cli-0.6.4}/README.md +1 -1
- {licos_dev_cli-0.6.2 → licos_dev_cli-0.6.4}/pyproject.toml +2 -2
- {licos_dev_cli-0.6.2 → licos_dev_cli-0.6.4}/.gitignore +0 -0
- {licos_dev_cli-0.6.2 → licos_dev_cli-0.6.4}/src/licos_dev_cli/__init__.py +0 -0
- {licos_dev_cli-0.6.2 → licos_dev_cli-0.6.4}/src/licos_dev_cli/common.py +0 -0
- {licos_dev_cli-0.6.2 → licos_dev_cli-0.6.4}/src/licos_dev_cli/docx_commands.py +0 -0
- {licos_dev_cli-0.6.2 → licos_dev_cli-0.6.4}/src/licos_dev_cli/docx_legacy.py +0 -0
- {licos_dev_cli-0.6.2 → licos_dev_cli-0.6.4}/src/licos_dev_cli/identity.py +0 -0
- {licos_dev_cli-0.6.2 → licos_dev_cli-0.6.4}/src/licos_dev_cli/main.py +0 -0
- {licos_dev_cli-0.6.2 → licos_dev_cli-0.6.4}/src/licos_dev_cli/ppt_master.py +0 -0
- {licos_dev_cli-0.6.2 → licos_dev_cli-0.6.4}/tests/test_cli_output_paths.py +0 -0
- {licos_dev_cli-0.6.2 → licos_dev_cli-0.6.4}/tests/test_credit_check.py +0 -0
- {licos_dev_cli-0.6.2 → licos_dev_cli-0.6.4}/tests/test_document_read_cli.py +0 -0
- {licos_dev_cli-0.6.2 → licos_dev_cli-0.6.4}/tests/test_docx_commands.py +0 -0
- {licos_dev_cli-0.6.2 → licos_dev_cli-0.6.4}/tests/test_identity.py +0 -0
- {licos_dev_cli-0.6.2 → licos_dev_cli-0.6.4}/tests/test_ppt_master_cli.py +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: licos-dev-cli
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.4
|
|
4
4
|
Summary: LICOS Dev CLI - generate files and call model capabilities
|
|
5
5
|
Requires-Python: >=3.10
|
|
6
6
|
Requires-Dist: click>=8.1
|
|
7
|
-
Requires-Dist: licos-dev-sdk>=0.6.
|
|
7
|
+
Requires-Dist: licos-dev-sdk>=0.6.4
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
9
|
|
|
10
10
|
# licos-dev CLI
|
|
@@ -54,5 +54,5 @@ result = subprocess.run(
|
|
|
54
54
|
- 无内置登录的浏览器用户接口使用 `@kmlckj/licos-platform-sdk/browser` 的 `createProjectUserFetch`:平台登录桥领取一次性票据,项目后端兑换 Token。不要直接读取跨域平台 localStorage,不在 URL 中传 Token,不修改全局 fetch。项目级 API 保持原有请求方法。
|
|
55
55
|
- Python 使用 `ProjectAuth`;Agent/Workflow 通过 `config/licos-auth.json` 配置模式,内置登录设置 `resolver: "模块:函数"`,业务代码使用 `ctx.identity.user_token`。
|
|
56
56
|
- 当前用户、企业知识库、本体用户操作显式传 `userToken`/`user_token`。模型、积分和普通知识库按业务选择用户或项目身份。数据库、对象存储和可观测性继续使用项目身份。
|
|
57
|
-
- OAuth
|
|
57
|
+
- 沿用现有 OAuth 授权范围与接口权限。凭证无权访问目标接口时返回现有鉴权错误,不扩大权限或换用其他身份。
|
|
58
58
|
- 修改已有项目时先接它的现有登录机制,不能用新模板的默认平台模式覆盖。真实 Token 只存在于运行时请求/会话,不写入源代码、共享环境变量或 Agent 提示词。
|
|
@@ -45,5 +45,5 @@ result = subprocess.run(
|
|
|
45
45
|
- 无内置登录的浏览器用户接口使用 `@kmlckj/licos-platform-sdk/browser` 的 `createProjectUserFetch`:平台登录桥领取一次性票据,项目后端兑换 Token。不要直接读取跨域平台 localStorage,不在 URL 中传 Token,不修改全局 fetch。项目级 API 保持原有请求方法。
|
|
46
46
|
- Python 使用 `ProjectAuth`;Agent/Workflow 通过 `config/licos-auth.json` 配置模式,内置登录设置 `resolver: "模块:函数"`,业务代码使用 `ctx.identity.user_token`。
|
|
47
47
|
- 当前用户、企业知识库、本体用户操作显式传 `userToken`/`user_token`。模型、积分和普通知识库按业务选择用户或项目身份。数据库、对象存储和可观测性继续使用项目身份。
|
|
48
|
-
- OAuth
|
|
48
|
+
- 沿用现有 OAuth 授权范围与接口权限。凭证无权访问目标接口时返回现有鉴权错误,不扩大权限或换用其他身份。
|
|
49
49
|
- 修改已有项目时先接它的现有登录机制,不能用新模板的默认平台模式覆盖。真实 Token 只存在于运行时请求/会话,不写入源代码、共享环境变量或 Agent 提示词。
|
|
@@ -4,12 +4,12 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "licos-dev-cli"
|
|
7
|
-
version = "0.6.
|
|
7
|
+
version = "0.6.4"
|
|
8
8
|
description = "LICOS Dev CLI - generate files and call model capabilities"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
11
11
|
dependencies = [
|
|
12
|
-
"licos-dev-sdk>=0.6.
|
|
12
|
+
"licos-dev-sdk>=0.6.4",
|
|
13
13
|
"click>=8.1",
|
|
14
14
|
]
|
|
15
15
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|