@pippit-dev/cli 0.0.24 → 0.0.26
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/checksums.txt +6 -6
- package/package.json +1 -1
- package/scripts/install.js +3 -1
- package/skills/xyq-nest-skill/scripts/get_thread.py +2 -2
- package/skills/xyq-nest-skill/scripts/submit_run.py +1 -1
- package/skills/xyq-nest-skill/scripts/upload_file.py +1 -1
- /package/skills/xyq-nest-skill/scripts/{_common.py → xyq_common.py} +0 -0
package/checksums.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
852db25f92e31d7791332a67d9fe321e09471ac59a4051a86cd10d120df5504b pippit-tool-cli-0.0.26-darwin-amd64.tar.gz
|
|
2
|
+
d6b01e0b0784bc951785a9120adf5b81aeb8fd9e9591a9f5e361d59ad521043d pippit-tool-cli-0.0.26-darwin-arm64.tar.gz
|
|
3
|
+
8cab08ec5fa9fb5c2c933ef986313134b98bfd118c9d5997b6b328d63017143f pippit-tool-cli-0.0.26-linux-amd64.tar.gz
|
|
4
|
+
81f2783696ddfd374507d21d10a2854f8ac3fbb2df32bcb78559f0b9153b41f3 pippit-tool-cli-0.0.26-linux-arm64.tar.gz
|
|
5
|
+
b089a0a1f27cc7e27e7905ad32863a90e8f401b914a9133e49476142e51e5824 pippit-tool-cli-0.0.26-windows-amd64.zip
|
|
6
|
+
41df908598017d53b857b475c080793f81956c9706c6d990d875d48432b27395 pippit-tool-cli-0.0.26-windows-arm64.zip
|
package/package.json
CHANGED
package/scripts/install.js
CHANGED
|
@@ -5,7 +5,7 @@ const fs = require("fs");
|
|
|
5
5
|
const os = require("os");
|
|
6
6
|
const path = require("path");
|
|
7
7
|
const { isWindows, run } = require("./platform");
|
|
8
|
-
const { installSkillsFromRoot } = require("./skills");
|
|
8
|
+
const { cleanupLegacyGlobalSkills, installSkillsFromRoot } = require("./skills");
|
|
9
9
|
|
|
10
10
|
const VERSION = require("../package.json").version.replace(/-.*$/, "");
|
|
11
11
|
const REPO = "Pippit-dev/cli";
|
|
@@ -134,6 +134,8 @@ function install() {
|
|
|
134
134
|
|
|
135
135
|
if (process.env.PIPPIT_CLI_SKIP_SKILLS !== "1") {
|
|
136
136
|
installSkillsFromRoot(ROOT);
|
|
137
|
+
} else {
|
|
138
|
+
cleanupLegacyGlobalSkills();
|
|
137
139
|
}
|
|
138
140
|
console.log(`${NAME} v${VERSION} installed successfully`);
|
|
139
141
|
} finally {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
2
|
"""查询会话进展:POST /api/biz/v1/skill/get_thread,返回消息列表"""
|
|
3
3
|
|
|
4
|
-
from _common import extract_entries_from_run
|
|
5
4
|
import argparse
|
|
6
5
|
import json
|
|
7
6
|
import sys
|
|
8
7
|
import os
|
|
9
8
|
|
|
10
9
|
sys.path.insert(0, os.path.dirname(__file__))
|
|
11
|
-
from
|
|
10
|
+
from xyq_common import extract_entries_from_run
|
|
11
|
+
from xyq_common import get_thread
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
def main():
|
|
@@ -11,7 +11,7 @@ import urllib.request
|
|
|
11
11
|
import urllib.error
|
|
12
12
|
|
|
13
13
|
sys.path.insert(0, os.path.dirname(__file__))
|
|
14
|
-
from
|
|
14
|
+
from xyq_common import XYQ_BASE, ACCESS_KEY, UPLOAD_FILE_PATH, parse_response
|
|
15
15
|
|
|
16
16
|
# 允许的 MIME 类型前缀
|
|
17
17
|
ALLOWED_PREFIXES = ("image/", "video/")
|
|
File without changes
|