@follenfang/fupload 0.0.7 → 0.0.8
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/fupload/SKILL.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: fupload
|
|
3
3
|
description: Explicit author-publishing workflow for World of Warcraft plugins, configuration shares, and WA/strings on NewBeeBox, NetEase DD, CurseForge, and Heybox Workshop, including CurseForge author project lookup, plugin ZIP upload, and Heybox web-session version management. Use only when the user explicitly invokes `$fupload`, explicitly asks to use the Fupload Skill, or loads this Skill by path. Do not trigger from ordinary mentions of publishing, NewBeeBox, DD, CurseForge, Heybox, plugins, configurations, or WA.
|
|
4
4
|
metadata:
|
|
5
|
-
version: "0.0.
|
|
5
|
+
version: "0.0.8"
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Fupload
|
package/npm/bin/fupload.mjs
CHANGED
|
@@ -76,7 +76,9 @@ async function main() {
|
|
|
76
76
|
return 1;
|
|
77
77
|
}
|
|
78
78
|
const script = path.join(target, "scripts", "fupload.py");
|
|
79
|
-
const result = runPython(runtime.python, script, options.forwarded
|
|
79
|
+
const result = runPython(runtime.python, script, options.forwarded, {
|
|
80
|
+
runtimeRoot: runtime.root,
|
|
81
|
+
});
|
|
80
82
|
if (result.error) {
|
|
81
83
|
emitError("PYTHON_LAUNCH_FAILED", result.error.message);
|
|
82
84
|
return 1;
|
package/npm/lib/python.mjs
CHANGED
|
@@ -46,9 +46,13 @@ export function discoverPython({ platform = process.platform, minimumMinor = 9 }
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
export function runPython(python, script, args, options = {}) {
|
|
49
|
-
|
|
49
|
+
const run = options.run || spawnSync;
|
|
50
|
+
const env = options.runtimeRoot
|
|
51
|
+
? runtimeEnvironment(options.runtimeRoot, options.env || process.env)
|
|
52
|
+
: options.env || process.env;
|
|
53
|
+
return run(python.command, [...python.args, script, ...args], {
|
|
50
54
|
cwd: options.cwd || process.cwd(),
|
|
51
|
-
env
|
|
55
|
+
env,
|
|
52
56
|
stdio: options.stdio || "inherit",
|
|
53
57
|
encoding: options.encoding,
|
|
54
58
|
shell: false,
|
package/npm/skill-manifest.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "fupload.npm-skill-manifest.v1",
|
|
3
3
|
"package_name": "@follenfang/fupload",
|
|
4
|
-
"package_version": "0.0.
|
|
5
|
-
"skill_version": "0.0.
|
|
6
|
-
"tree_sha256": "
|
|
4
|
+
"package_version": "0.0.8",
|
|
5
|
+
"skill_version": "0.0.8",
|
|
6
|
+
"tree_sha256": "19b487eaba532263a849d4bfd48f4f40166edbf156f5317e5dbcc040fdc9819e",
|
|
7
7
|
"files": [
|
|
8
8
|
{
|
|
9
9
|
"path": "agents/openai.yaml",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
{
|
|
109
109
|
"path": "scripts/fupload_cli/__init__.py",
|
|
110
110
|
"bytes": 49,
|
|
111
|
-
"sha256": "
|
|
111
|
+
"sha256": "7f13892a82918a297a8af731adf5b20a540dd3a873d089bf133225a0a642a840"
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
"path": "scripts/fupload_cli/blackbox_web.py",
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
{
|
|
189
189
|
"path": "SKILL.md",
|
|
190
190
|
"bytes": 23242,
|
|
191
|
-
"sha256": "
|
|
191
|
+
"sha256": "ad3813733c9fd7aac62683f704bf1adc25982b6d45a14e4d749b6734a2bee3c3"
|
|
192
192
|
}
|
|
193
193
|
]
|
|
194
194
|
}
|