loongclaw-devkit 0.2.1__tar.gz → 0.2.3__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.
- {loongclaw_devkit-0.2.1 → loongclaw_devkit-0.2.3}/PKG-INFO +1 -1
- {loongclaw_devkit-0.2.1 → loongclaw_devkit-0.2.3}/publish.py +3 -3
- {loongclaw_devkit-0.2.1 → loongclaw_devkit-0.2.3}/pyproject.toml +1 -1
- {loongclaw_devkit-0.2.1 → loongclaw_devkit-0.2.3}/src/loongclaw_devkit/publish.py +3 -3
- {loongclaw_devkit-0.2.1 → loongclaw_devkit-0.2.3}/src/loongclaw_devkit/server.py +2 -2
- {loongclaw_devkit-0.2.1 → loongclaw_devkit-0.2.3}/.gitignore +0 -0
- {loongclaw_devkit-0.2.1 → loongclaw_devkit-0.2.3}/AGENTS.md +0 -0
- {loongclaw_devkit-0.2.1 → loongclaw_devkit-0.2.3}/README.md +0 -0
- {loongclaw_devkit-0.2.1 → loongclaw_devkit-0.2.3}/src/loongclaw_devkit/__init__.py +0 -0
- {loongclaw_devkit-0.2.1 → loongclaw_devkit-0.2.3}/src/loongclaw_devkit/__main__.py +0 -0
- {loongclaw_devkit-0.2.1 → loongclaw_devkit-0.2.3}/src/loongclaw_devkit/templates/AGENTS_template.md +0 -0
- {loongclaw_devkit-0.2.1 → loongclaw_devkit-0.2.3}/src/loongclaw_devkit/templates/requirements_template.txt +0 -0
- {loongclaw_devkit-0.2.1 → loongclaw_devkit-0.2.3}/src/loongclaw_devkit/templates/server_template.py +0 -0
- {loongclaw_devkit-0.2.1 → loongclaw_devkit-0.2.3}/templates/AGENTS_template.md +0 -0
- {loongclaw_devkit-0.2.1 → loongclaw_devkit-0.2.3}/templates/requirements_template.txt +0 -0
- {loongclaw_devkit-0.2.1 → loongclaw_devkit-0.2.3}/templates/server_template.py +0 -0
|
@@ -23,7 +23,7 @@ import zipfile
|
|
|
23
23
|
from pathlib import Path
|
|
24
24
|
|
|
25
25
|
# ── 常量 ──────────────────────────────────────────────────
|
|
26
|
-
CLOUD_API_BASE = "https://
|
|
26
|
+
CLOUD_API_BASE = "https://api.loongclaw.net.cn"
|
|
27
27
|
UPLOAD_ENDPOINT = "/v1/store/upload"
|
|
28
28
|
ENTRYPOINT = "server.py" # 入口文件,始终明文
|
|
29
29
|
CONFIG_FILE = ".publish.json"
|
|
@@ -337,7 +337,7 @@ def upload_to_cloud(
|
|
|
337
337
|
|
|
338
338
|
token = config.get("token", "")
|
|
339
339
|
if not token:
|
|
340
|
-
token = os.environ.get("LOONGCLAW_STORE_KEY", "")
|
|
340
|
+
token = os.environ.get("LOONGCLAW_STORE_KEY", "")
|
|
341
341
|
if not token:
|
|
342
342
|
return {"status": "error", "step": "upload",
|
|
343
343
|
"error": "缺少 Store Key。设置环境变量 LOONGCLAW_STORE_KEY 或在 .publish.json 中配置 token",
|
|
@@ -640,7 +640,7 @@ def main() -> None:
|
|
|
640
640
|
else saved.get("skipEncrypt", [])
|
|
641
641
|
),
|
|
642
642
|
"upload": args.upload or (not args.no_upload and saved.get("upload", False)),
|
|
643
|
-
"token": args.token or os.environ.get("LOONGCLAW_STORE_KEY", "")
|
|
643
|
+
"token": args.token or os.environ.get("LOONGCLAW_STORE_KEY", ""),
|
|
644
644
|
}
|
|
645
645
|
elif args.reconfigure or not load_config(project_dir):
|
|
646
646
|
# 交互模式
|
|
@@ -23,7 +23,7 @@ import zipfile
|
|
|
23
23
|
from pathlib import Path
|
|
24
24
|
|
|
25
25
|
# ── 常量 ──────────────────────────────────────────────────
|
|
26
|
-
CLOUD_API_BASE = "https://
|
|
26
|
+
CLOUD_API_BASE = "https://api.loongclaw.net.cn"
|
|
27
27
|
UPLOAD_ENDPOINT = "/v1/store/upload"
|
|
28
28
|
ENTRYPOINT = "server.py" # 入口文件,始终明文
|
|
29
29
|
CONFIG_FILE = ".publish.json"
|
|
@@ -337,7 +337,7 @@ def upload_to_cloud(
|
|
|
337
337
|
|
|
338
338
|
token = config.get("token", "")
|
|
339
339
|
if not token:
|
|
340
|
-
token = os.environ.get("LOONGCLAW_STORE_KEY", "")
|
|
340
|
+
token = os.environ.get("LOONGCLAW_STORE_KEY", "")
|
|
341
341
|
if not token:
|
|
342
342
|
return {"status": "error", "step": "upload",
|
|
343
343
|
"error": "缺少 Store Key。设置环境变量 LOONGCLAW_STORE_KEY 或在 .publish.json 中配置 token",
|
|
@@ -640,7 +640,7 @@ def main() -> None:
|
|
|
640
640
|
else saved.get("skipEncrypt", [])
|
|
641
641
|
),
|
|
642
642
|
"upload": args.upload or (not args.no_upload and saved.get("upload", False)),
|
|
643
|
-
"token": args.token or os.environ.get("LOONGCLAW_STORE_KEY", "")
|
|
643
|
+
"token": args.token or os.environ.get("LOONGCLAW_STORE_KEY", ""),
|
|
644
644
|
}
|
|
645
645
|
elif args.reconfigure or not load_config(project_dir):
|
|
646
646
|
# 交互模式
|
|
@@ -248,11 +248,11 @@ def check_mcp_status(plugin_id: str = "", project_dir: str = "") -> str:
|
|
|
248
248
|
|
|
249
249
|
if plugin_id:
|
|
250
250
|
# 尝试查询 Cloud API(需要 token)
|
|
251
|
-
token = os.environ.get("LOONGCLAW_STORE_KEY", "")
|
|
251
|
+
token = os.environ.get("LOONGCLAW_STORE_KEY", "")
|
|
252
252
|
if token:
|
|
253
253
|
import urllib.request
|
|
254
254
|
import urllib.error
|
|
255
|
-
url = "https://
|
|
255
|
+
url = "https://api.loongclaw.net.cn/v1/store/mcp/registry.json"
|
|
256
256
|
req = urllib.request.Request(
|
|
257
257
|
url, headers={"Authorization": f"Bearer {token}"},
|
|
258
258
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{loongclaw_devkit-0.2.1 → loongclaw_devkit-0.2.3}/src/loongclaw_devkit/templates/AGENTS_template.md
RENAMED
|
File without changes
|
|
File without changes
|
{loongclaw_devkit-0.2.1 → loongclaw_devkit-0.2.3}/src/loongclaw_devkit/templates/server_template.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|