@simonyea/holysheep-cli 2.1.50 → 2.1.52
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/dist/aionui-resources/assistant/academic-paper/academic-paper.md +25 -0
- package/dist/aionui-resources/assistant/academic-paper/academic-paper.ru-RU.md +25 -0
- package/dist/aionui-resources/assistant/academic-paper/academic-paper.zh-CN.md +25 -0
- package/dist/aionui-resources/assistant/beautiful-mermaid/beautiful-mermaid.md +31 -0
- package/dist/aionui-resources/assistant/beautiful-mermaid/beautiful-mermaid.ru-RU.md +31 -0
- package/dist/aionui-resources/assistant/beautiful-mermaid/beautiful-mermaid.zh-CN.md +31 -0
- package/dist/aionui-resources/assistant/cowork/cowork-skills.md +814 -0
- package/dist/aionui-resources/assistant/cowork/cowork-skills.ru-RU.md +814 -0
- package/dist/aionui-resources/assistant/cowork/cowork-skills.zh-CN.md +803 -0
- package/dist/aionui-resources/assistant/cowork/cowork.md +56 -0
- package/dist/aionui-resources/assistant/cowork/cowork.ru-RU.md +56 -0
- package/dist/aionui-resources/assistant/cowork/cowork.zh-CN.md +409 -0
- package/dist/aionui-resources/assistant/dashboard-creator/dashboard-creator.md +25 -0
- package/dist/aionui-resources/assistant/dashboard-creator/dashboard-creator.ru-RU.md +25 -0
- package/dist/aionui-resources/assistant/dashboard-creator/dashboard-creator.zh-CN.md +25 -0
- package/dist/aionui-resources/assistant/excel-creator/excel-creator.md +33 -0
- package/dist/aionui-resources/assistant/excel-creator/excel-creator.ru-RU.md +33 -0
- package/dist/aionui-resources/assistant/excel-creator/excel-creator.zh-CN.md +33 -0
- package/dist/aionui-resources/assistant/financial-model-creator/financial-model-creator.md +25 -0
- package/dist/aionui-resources/assistant/financial-model-creator/financial-model-creator.ru-RU.md +25 -0
- package/dist/aionui-resources/assistant/financial-model-creator/financial-model-creator.zh-CN.md +25 -0
- package/dist/aionui-resources/assistant/game-3d/game-3d.md +255 -0
- package/dist/aionui-resources/assistant/game-3d/game-3d.ru-RU.md +255 -0
- package/dist/aionui-resources/assistant/game-3d/game-3d.zh-CN.md +255 -0
- package/dist/aionui-resources/assistant/human-3-coach/human-3-coach.md +276 -0
- package/dist/aionui-resources/assistant/human-3-coach/human-3-coach.ru-RU.md +276 -0
- package/dist/aionui-resources/assistant/human-3-coach/human-3-coach.zh-CN.md +276 -0
- package/dist/aionui-resources/assistant/moltbook/moltbook-skills.md +88 -0
- package/dist/aionui-resources/assistant/moltbook/moltbook-skills.ru-RU.md +88 -0
- package/dist/aionui-resources/assistant/moltbook/moltbook-skills.zh-CN.md +88 -0
- package/dist/aionui-resources/assistant/moltbook/moltbook.md +216 -0
- package/dist/aionui-resources/assistant/moltbook/moltbook.ru-RU.md +216 -0
- package/dist/aionui-resources/assistant/moltbook/moltbook.zh-CN.md +216 -0
- package/dist/aionui-resources/assistant/morph-ppt/morph-ppt.md +25 -0
- package/dist/aionui-resources/assistant/morph-ppt/morph-ppt.ru-RU.md +25 -0
- package/dist/aionui-resources/assistant/morph-ppt/morph-ppt.zh-CN.md +25 -0
- package/dist/aionui-resources/assistant/morph-ppt-3d/morph-ppt-3d.md +54 -0
- package/dist/aionui-resources/assistant/morph-ppt-3d/morph-ppt-3d.zh-CN.md +54 -0
- package/dist/aionui-resources/assistant/openclaw-setup/openclaw-setup.md +334 -0
- package/dist/aionui-resources/assistant/openclaw-setup/openclaw-setup.ru-RU.md +334 -0
- package/dist/aionui-resources/assistant/openclaw-setup/openclaw-setup.zh-CN.md +347 -0
- package/dist/aionui-resources/assistant/pitch-deck-creator/pitch-deck-creator.md +23 -0
- package/dist/aionui-resources/assistant/pitch-deck-creator/pitch-deck-creator.ru-RU.md +23 -0
- package/dist/aionui-resources/assistant/pitch-deck-creator/pitch-deck-creator.zh-CN.md +23 -0
- package/dist/aionui-resources/assistant/planning-with-files/planning-with-files.md +395 -0
- package/dist/aionui-resources/assistant/planning-with-files/planning-with-files.ru-RU.md +395 -0
- package/dist/aionui-resources/assistant/planning-with-files/planning-with-files.zh-CN.md +395 -0
- package/dist/aionui-resources/assistant/planning-with-files/templates/findings.md +106 -0
- package/dist/aionui-resources/assistant/planning-with-files/templates/progress.md +126 -0
- package/dist/aionui-resources/assistant/planning-with-files/templates/task_plan.md +156 -0
- package/dist/aionui-resources/assistant/ppt-creator/ppt-creator.md +33 -0
- package/dist/aionui-resources/assistant/ppt-creator/ppt-creator.ru-RU.md +33 -0
- package/dist/aionui-resources/assistant/ppt-creator/ppt-creator.zh-CN.md +33 -0
- package/dist/aionui-resources/assistant/social-job-publisher/social-job-publisher-skills.md +137 -0
- package/dist/aionui-resources/assistant/social-job-publisher/social-job-publisher-skills.ru-RU.md +137 -0
- package/dist/aionui-resources/assistant/social-job-publisher/social-job-publisher-skills.zh-CN.md +137 -0
- package/dist/aionui-resources/assistant/social-job-publisher/social-job-publisher.md +127 -0
- package/dist/aionui-resources/assistant/social-job-publisher/social-job-publisher.ru-RU.md +127 -0
- package/dist/aionui-resources/assistant/social-job-publisher/social-job-publisher.zh-CN.md +131 -0
- package/dist/aionui-resources/assistant/star-office-helper/star-office-helper.md +50 -0
- package/dist/aionui-resources/assistant/star-office-helper/star-office-helper.ru-RU.md +50 -0
- package/dist/aionui-resources/assistant/star-office-helper/star-office-helper.zh-CN.md +50 -0
- package/dist/aionui-resources/assistant/story-roleplay/story-roleplay.md +239 -0
- package/dist/aionui-resources/assistant/story-roleplay/story-roleplay.ru-RU.md +239 -0
- package/dist/aionui-resources/assistant/story-roleplay/story-roleplay.zh-CN.md +239 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/README.md +60 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/charts.csv +26 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/colors.csv +97 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/landing.csv +31 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/products.csv +97 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/prompts.csv +24 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/styles.csv +59 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/typography.csv +58 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/scripts/core.py +239 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/scripts/search.py +61 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/ui-ux-pro-max.md +244 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/ui-ux-pro-max.ru-RU.md +244 -0
- package/dist/aionui-resources/assistant/ui-ux-pro-max/ui-ux-pro-max.zh-CN.md +244 -0
- package/dist/aionui-resources/assistant/word-creator/word-creator.md +32 -0
- package/dist/aionui-resources/assistant/word-creator/word-creator.ru-RU.md +32 -0
- package/dist/aionui-resources/assistant/word-creator/word-creator.zh-CN.md +32 -0
- package/dist/configure-worker.js +38 -10
- package/dist/index.js +257 -93
- package/package.json +3 -2
package/dist/configure-worker.js
CHANGED
|
@@ -1995,7 +1995,13 @@ var require_openclaw_bridge = __commonJS({
|
|
|
1995
1995
|
function sendJson(res, statusCode, payload) {
|
|
1996
1996
|
res.writeHead(statusCode, {
|
|
1997
1997
|
"content-type": "application/json; charset=utf-8",
|
|
1998
|
-
"cache-control": "no-store"
|
|
1998
|
+
"cache-control": "no-store",
|
|
1999
|
+
// [hs36] Mirror the OPTIONS preflight ACAO so browsers can read the
|
|
2000
|
+
// response from a different-port origin (e.g. the AionUi WebUI on :9876
|
|
2001
|
+
// fetching /v1/models from the bridge on :18788). Without this header on
|
|
2002
|
+
// the actual GET/POST response, Chrome/Firefox treat it as ERR_FAILED
|
|
2003
|
+
// even though the OPTIONS preflight succeeds.
|
|
2004
|
+
"access-control-allow-origin": "*"
|
|
1999
2005
|
});
|
|
2000
2006
|
res.end(JSON.stringify(payload));
|
|
2001
2007
|
}
|
|
@@ -2009,7 +2015,10 @@ var require_openclaw_bridge = __commonJS({
|
|
|
2009
2015
|
res.writeHead(200, {
|
|
2010
2016
|
"content-type": "text/event-stream; charset=utf-8",
|
|
2011
2017
|
"cache-control": "no-cache, no-transform",
|
|
2012
|
-
connection: "keep-alive"
|
|
2018
|
+
connection: "keep-alive",
|
|
2019
|
+
// [hs36] Mirror sendJson's ACAO so SSE streams reach the WebUI from a
|
|
2020
|
+
// cross-port loopback origin. See sendJson comment for rationale.
|
|
2021
|
+
"access-control-allow-origin": "*"
|
|
2013
2022
|
});
|
|
2014
2023
|
const firstChunk = {
|
|
2015
2024
|
id: payload.id,
|
|
@@ -2429,7 +2438,9 @@ var require_openclaw_bridge = __commonJS({
|
|
|
2429
2438
|
res.writeHead(200, {
|
|
2430
2439
|
"content-type": "text/event-stream; charset=utf-8",
|
|
2431
2440
|
"cache-control": "no-cache, no-transform",
|
|
2432
|
-
connection: "keep-alive"
|
|
2441
|
+
connection: "keep-alive",
|
|
2442
|
+
// [hs36] CORS for SSE byte-passthrough relay path.
|
|
2443
|
+
"access-control-allow-origin": "*"
|
|
2433
2444
|
});
|
|
2434
2445
|
try {
|
|
2435
2446
|
await pipeStream(upstream.body, (chunk) => res.write(chunk));
|
|
@@ -2503,7 +2514,10 @@ var require_openclaw_bridge = __commonJS({
|
|
|
2503
2514
|
res.writeHead(200, {
|
|
2504
2515
|
"content-type": "text/event-stream; charset=utf-8",
|
|
2505
2516
|
"cache-control": "no-cache, no-transform",
|
|
2506
|
-
connection: "keep-alive"
|
|
2517
|
+
connection: "keep-alive",
|
|
2518
|
+
// [hs36] Mirror sendJson's ACAO so SSE streams reach the WebUI from a
|
|
2519
|
+
// cross-port loopback origin. See sendJson comment for rationale.
|
|
2520
|
+
"access-control-allow-origin": "*"
|
|
2507
2521
|
});
|
|
2508
2522
|
const msgId = `chatcmpl_${Date.now()}`;
|
|
2509
2523
|
const created = Math.floor(Date.now() / 1e3);
|
|
@@ -3723,6 +3737,18 @@ var require_hermes = __commonJS({
|
|
|
3723
3737
|
__name(readConfig, "readConfig");
|
|
3724
3738
|
function patchConfigYaml(apiKey, baseUrlOpenAI, primaryModel) {
|
|
3725
3739
|
if (!fs.existsSync(CONFIG_YAML)) {
|
|
3740
|
+
const cleanBase2 = String(baseUrlOpenAI || "https://api.holysheep.ai/v1").replace(/\/+$/, "");
|
|
3741
|
+
const model2 = primaryModel || "claude-sonnet-4-6";
|
|
3742
|
+
const minimal = `model:
|
|
3743
|
+
base_url: ${cleanBase2}
|
|
3744
|
+
api_key: ${apiKey}
|
|
3745
|
+
default: ${model2}
|
|
3746
|
+
providers:
|
|
3747
|
+
custom:
|
|
3748
|
+
base_url: ${cleanBase2}
|
|
3749
|
+
api_key: ${apiKey}
|
|
3750
|
+
`;
|
|
3751
|
+
fs.writeFileSync(CONFIG_YAML, minimal, "utf8");
|
|
3726
3752
|
return;
|
|
3727
3753
|
}
|
|
3728
3754
|
const cleanBase = String(baseUrlOpenAI || "https://api.holysheep.ai/v1").replace(/\/+$/, "");
|
|
@@ -3766,7 +3792,6 @@ var require_hermes = __commonJS({
|
|
|
3766
3792
|
" custom:",
|
|
3767
3793
|
` base_url: ${cleanBase}`,
|
|
3768
3794
|
` api_key: ${apiKey}`,
|
|
3769
|
-
` default_model: ${model}`,
|
|
3770
3795
|
" type: openai"
|
|
3771
3796
|
];
|
|
3772
3797
|
let start = -1, end = -1;
|
|
@@ -3879,7 +3904,7 @@ var require_hermes = __commonJS({
|
|
|
3879
3904
|
__name(writeConfig, "writeConfig");
|
|
3880
3905
|
function buildHolySheepBlock(apiKey, baseUrlOpenAI, primaryModel) {
|
|
3881
3906
|
const cleanBase = String(baseUrlOpenAI || "https://api.holysheep.ai/v1").replace(/\/+$/, "");
|
|
3882
|
-
const model = primaryModel || "gpt-
|
|
3907
|
+
const model = primaryModel || "gpt-4o";
|
|
3883
3908
|
return [
|
|
3884
3909
|
"[providers.holysheep]",
|
|
3885
3910
|
"# Managed by @simonyea/holysheep-cli. Do not edit by hand \u2014 run `hs setup`.",
|
|
@@ -3946,10 +3971,11 @@ var require_hermes = __commonJS({
|
|
|
3946
3971
|
return commandExists("hermes");
|
|
3947
3972
|
},
|
|
3948
3973
|
isConfigured() {
|
|
3949
|
-
return isConfiguredInToml(readConfig());
|
|
3974
|
+
return isConfiguredInToml(readConfig()) && fs.existsSync(CONFIG_YAML);
|
|
3950
3975
|
},
|
|
3951
3976
|
configure(apiKey, _baseUrlAnthropic, baseUrlOpenAI, primaryModel) {
|
|
3952
|
-
const
|
|
3977
|
+
const THINKING_MODELS = /^(gpt-5|o[0-9]|claude-)/i;
|
|
3978
|
+
const hermesPrimaryModel = THINKING_MODELS.test(primaryModel || "") ? "gpt-4o" : primaryModel || "gpt-4o";
|
|
3953
3979
|
const merged = mergeConfig(apiKey, baseUrlOpenAI, hermesPrimaryModel);
|
|
3954
3980
|
writeConfig(merged);
|
|
3955
3981
|
try {
|
|
@@ -3993,11 +4019,11 @@ var require_package = __commonJS({
|
|
|
3993
4019
|
"package.json"(exports2, module2) {
|
|
3994
4020
|
module2.exports = {
|
|
3995
4021
|
name: "@simonyea/holysheep-cli",
|
|
3996
|
-
version: "2.1.
|
|
4022
|
+
version: "2.1.52",
|
|
3997
4023
|
description: "Claude Code/Cursor/Cline API relay for China \u2014 \xA51=$1, WeChat/Alipay payment, no credit card, no VPN. One command setup for all AI coding tools.",
|
|
3998
4024
|
scripts: {
|
|
3999
4025
|
build: "node scripts/build.mjs",
|
|
4000
|
-
test: "node tests/droid.test.js && node tests/workspace-store.test.js && node tests/runtime-stale-upgrade.test.js && node tests/hermes.test.js && node tests/preflight.test.js && node tests/opencode-auth-purge.test.js && node tests/shell-winpath.test.js && node tests/openclaw-atomic-write.test.js && node tests/opencode-default-model.test.js && node tests/paths-bundled.test.js && node tests/aionui-wrapper-claude-proxy.test.js && node tests/aionui-wrapper-probe.test.js && node tests/aionui-wrapper-proxy-integration.test.js && node tests/aionui-wrapper-all-clis-autoconf.test.js && node tests/aionui-wrapper-env-signal.test.js && node tests/version-check.test.js && node tests/runclaude-missing-binary.test.js",
|
|
4026
|
+
test: "node tests/droid.test.js && node tests/workspace-store.test.js && node tests/runtime-stale-upgrade.test.js && node tests/hermes.test.js && node tests/preflight.test.js && node tests/opencode-auth-purge.test.js && node tests/shell-winpath.test.js && node tests/openclaw-atomic-write.test.js && node tests/opencode-default-model.test.js && node tests/paths-bundled.test.js && node tests/aionui-runtime-resources.test.js && node tests/aionui-wrapper-claude-proxy.test.js && node tests/aionui-wrapper-probe.test.js && node tests/aionui-wrapper-proxy-integration.test.js && node tests/aionui-wrapper-all-clis-autoconf.test.js && node tests/aionui-wrapper-env-signal.test.js && node tests/aionui-wrapper-csp-rewrite.test.js && node tests/version-check.test.js && node tests/runclaude-missing-binary.test.js",
|
|
4001
4027
|
prepublishOnly: "npm run build && npm test && node scripts/check-tarball-size.js"
|
|
4002
4028
|
},
|
|
4003
4029
|
keywords: [
|
|
@@ -4055,6 +4081,7 @@ var require_package = __commonJS({
|
|
|
4055
4081
|
"dist/process-proxy-inject.js",
|
|
4056
4082
|
"dist/index.html",
|
|
4057
4083
|
"dist/pty-hermes-wrapper.py",
|
|
4084
|
+
"dist/aionui-resources/assistant",
|
|
4058
4085
|
"README.md",
|
|
4059
4086
|
"LICENSE"
|
|
4060
4087
|
],
|
|
@@ -4444,6 +4471,7 @@ var require_env_config = __commonJS({
|
|
|
4444
4471
|
module2.exports = {
|
|
4445
4472
|
name: "\u5168\u5C40\u73AF\u5883\u53D8\u91CF",
|
|
4446
4473
|
id: "env-config",
|
|
4474
|
+
installCmd: "\u5185\u7F6E\u529F\u80FD\uFF08\u65E0\u9700\u5B89\u88C5\uFF09",
|
|
4447
4475
|
checkInstalled() {
|
|
4448
4476
|
return true;
|
|
4449
4477
|
},
|