@plusonelabs/cue 0.0.93 → 0.0.95
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/bin/cue.js +10 -10
- package/bin/windows-bootstrap.ps1 +9 -9
- package/bin/windows-runtime-artifact.json +2 -2
- package/dist/cli.mjs +1088 -821
- package/dist/skills/README.md +199 -0
- package/dist/skills/_lib/credentials.py +72 -0
- package/dist/skills/activity/SKILL.md +97 -0
- package/dist/skills/assistant/SKILL.md +173 -0
- package/dist/skills/audio/SKILL.md +132 -0
- package/dist/skills/elevenlabs-tts/SKILL.md +76 -0
- package/dist/skills/elevenlabs-tts/scripts/speak.ts +226 -0
- package/dist/skills/event/SKILL.md +98 -0
- package/dist/skills/gemini-search/SKILL.md +52 -0
- package/dist/skills/gemini-search/generate.py +195 -0
- package/dist/skills/image/SKILL.md +169 -0
- package/dist/skills/like/SKILL.md +66 -0
- package/dist/skills/listen/SKILL.md +57 -0
- package/dist/skills/listen/scripts/listen.sh +74 -0
- package/dist/skills/listen/scripts/record.swift +94 -0
- package/dist/skills/markdown-to-pdf/SKILL.md +31 -0
- package/dist/skills/message/SKILL.md +136 -0
- package/dist/skills/mini-apps/SKILL.md +256 -0
- package/dist/skills/music/SKILL.md +139 -0
- package/dist/skills/nano-banana/SKILL.md +70 -0
- package/dist/skills/nano-banana/generate.py +191 -0
- package/dist/skills/news/SKILL.md +41 -0
- package/dist/skills/notify/SKILL.md +123 -0
- package/dist/skills/places/SKILL.md +215 -0
- package/dist/skills/posts/SKILL.md +440 -0
- package/dist/skills/project/SKILL.md +116 -0
- package/dist/skills/pulse/SKILL.md +106 -0
- package/dist/skills/reddit/SKILL.md +41 -0
- package/dist/skills/seeddance/SKILL.md +81 -0
- package/dist/skills/seeddance/generate.py +303 -0
- package/dist/skills/seedream/SKILL.md +86 -0
- package/dist/skills/seedream/generate.py +301 -0
- package/dist/skills/social-graph/SKILL.md +119 -0
- package/dist/skills/transcribe/SKILL.md +150 -0
- package/dist/skills/transcribe/generate.py +389 -0
- package/dist/skills/user/SKILL.md +180 -0
- package/dist/skills/veo3/SKILL.md +76 -0
- package/dist/skills/veo3/generate.py +339 -0
- package/dist/skills/video/SKILL.md +163 -0
- package/dist/skills/weather/SKILL.md +101 -0
- package/dist/skills/web-fetch/SKILL.md +43 -0
- package/dist/skills/web-search/SKILL.md +52 -0
- package/dist/skills/z-asr/SKILL.md +58 -0
- package/dist/skills/z-asr/generate.py +177 -0
- package/dist/skills/z-search/SKILL.md +57 -0
- package/dist/skills/z-search/generate.py +189 -0
- package/dist/skills/z-tts/SKILL.md +51 -0
- package/dist/skills/z-tts/generate.py +172 -0
- package/package.json +1 -1
package/bin/cue.js
CHANGED
|
@@ -161,17 +161,17 @@ function resolvePowerShellCommand() {
|
|
|
161
161
|
function resolveWindowsUpdateCommand() {
|
|
162
162
|
const nodeDir = path.dirname(process.execPath);
|
|
163
163
|
const commandCandidates = [
|
|
164
|
-
{
|
|
165
|
-
name: 'bun',
|
|
166
|
-
checks: ['bun', 'bun.exe'],
|
|
167
|
-
args: ['add', '-g', '@plusonelabs/cue@latest'],
|
|
168
|
-
label: 'bun add -g @plusonelabs/cue@latest',
|
|
169
|
-
},
|
|
170
164
|
{
|
|
171
165
|
name: 'npm',
|
|
172
166
|
checks: ['npm', 'npm.cmd', 'npm.exe', path.join(nodeDir, 'npm.cmd'), path.join(nodeDir, 'npm.exe')],
|
|
173
|
-
args: ['install', '-g', '@
|
|
174
|
-
label: 'npm install -g @
|
|
167
|
+
args: ['install', '-g', '@cueos/cue-cli@latest'],
|
|
168
|
+
label: 'npm install -g @cueos/cue-cli@latest',
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
name: 'bun',
|
|
172
|
+
checks: ['bun', 'bun.exe'],
|
|
173
|
+
args: ['add', '-g', '@cueos/cue-cli@latest'],
|
|
174
|
+
label: 'bun add -g @cueos/cue-cli@latest',
|
|
175
175
|
},
|
|
176
176
|
];
|
|
177
177
|
|
|
@@ -480,7 +480,7 @@ function printWslMissingHelp(error) {
|
|
|
480
480
|
console.error('Next steps:');
|
|
481
481
|
console.error(' 1) Install WSL2 and Ubuntu LTS');
|
|
482
482
|
console.error(' 2) Run `cue --windows-bootstrap` from PowerShell');
|
|
483
|
-
console.error(' 3) Install Cue inside WSL (Ubuntu):
|
|
483
|
+
console.error(' 3) Install Cue inside WSL (Ubuntu): npm install -g @cueos/cue-cli');
|
|
484
484
|
}
|
|
485
485
|
|
|
486
486
|
function windowsPathToWslPath(inputPath) {
|
|
@@ -515,7 +515,7 @@ fi
|
|
|
515
515
|
cue_path="$(command -v cue || true)"
|
|
516
516
|
if [ -z "$cue_path" ]; then
|
|
517
517
|
echo "Cue is not installed inside WSL." >&2
|
|
518
|
-
echo "Install inside Ubuntu:
|
|
518
|
+
echo "Install inside Ubuntu: npm install -g @cueos/cue-cli" >&2
|
|
519
519
|
echo "Or install via bootstrap runtime artifact and ensure ~/.cue/bin is on PATH." >&2
|
|
520
520
|
exit 127
|
|
521
521
|
fi
|
|
@@ -863,7 +863,7 @@ if ($nodePath -match '^/mnt/' -or $nodePath -match '\.exe$') {
|
|
|
863
863
|
Add-Check -Name "node" -Status "ok" -Message "Linux node runtime found in WSL: $nodePath"
|
|
864
864
|
Write-Ok "Linux node runtime found"
|
|
865
865
|
|
|
866
|
-
$runtimeCheck = Invoke-WslCommand -Arguments @("-d", $Distro, "--", "bash", "-lc", "if command -v
|
|
866
|
+
$runtimeCheck = Invoke-WslCommand -Arguments @("-d", $Distro, "--", "bash", "-lc", "if command -v npm >/dev/null; then echo npm; elif command -v bun >/dev/null; then echo bun; else echo none; fi")
|
|
867
867
|
if ($runtimeCheck.ExitCode -ne 0) {
|
|
868
868
|
Add-Check -Name "runtime" -Status "fail" -Message "Failed to check runtime in WSL distro '$Distro'"
|
|
869
869
|
Add-Step "Open WSL and verify Bun or Node/npm is installed"
|
|
@@ -876,11 +876,11 @@ $BootstrapReport.runtime = $runtime
|
|
|
876
876
|
if ($runtime -eq "none" -or [string]::IsNullOrWhiteSpace($runtime)) {
|
|
877
877
|
Add-Check -Name "runtime" -Status "fail" -Message "Neither bun nor npm found in WSL"
|
|
878
878
|
Write-WarnMessage "Neither bun nor npm was found in WSL."
|
|
879
|
-
Add-Step "Install
|
|
880
|
-
Add-Step "
|
|
879
|
+
Add-Step "Install Node/npm (recommended) or Bun inside WSL, then rerun bootstrap"
|
|
880
|
+
Add-Step "Node install guide: https://nodejs.org/en/download"
|
|
881
881
|
if (-not $Json) {
|
|
882
|
-
Write-Host "Install
|
|
883
|
-
Write-Host "
|
|
882
|
+
Write-Host "Install Node/npm (recommended) or Bun inside WSL, then rerun."
|
|
883
|
+
Write-Host " Node: https://nodejs.org/en/download"
|
|
884
884
|
}
|
|
885
885
|
Complete-Bootstrap -ExitCode 1 -Ok $false
|
|
886
886
|
}
|
|
@@ -1017,9 +1017,9 @@ if (-not $InstallCue) {
|
|
|
1017
1017
|
Add-Step "Or rerun bootstrap with -InstallCue to auto-install using the configured runtime source (if present)"
|
|
1018
1018
|
}
|
|
1019
1019
|
if ($runtime -eq "bun") {
|
|
1020
|
-
$installCmd = "wsl -d $Distro -- bash -lc 'bun add -g @
|
|
1020
|
+
$installCmd = "wsl -d $Distro -- bash -lc 'bun add -g @cueos/cue-cli'"
|
|
1021
1021
|
} else {
|
|
1022
|
-
$installCmd = "wsl -d $Distro -- bash -lc 'npm install -g @
|
|
1022
|
+
$installCmd = "wsl -d $Distro -- bash -lc 'npm install -g @cueos/cue-cli'"
|
|
1023
1023
|
}
|
|
1024
1024
|
Add-Step $installCmd
|
|
1025
1025
|
if (-not $Json) {
|
|
@@ -1045,9 +1045,9 @@ if ($RuntimeUrl) {
|
|
|
1045
1045
|
}
|
|
1046
1046
|
} else {
|
|
1047
1047
|
if ($runtime -eq "bun") {
|
|
1048
|
-
$installResult = Invoke-WslCommand -Arguments @("-d", $Distro, "--", "bash", "-lc", "bun add -g @
|
|
1048
|
+
$installResult = Invoke-WslCommand -Arguments @("-d", $Distro, "--", "bash", "-lc", "bun add -g @cueos/cue-cli")
|
|
1049
1049
|
} else {
|
|
1050
|
-
$installResult = Invoke-WslCommand -Arguments @("-d", $Distro, "--", "bash", "-lc", "npm install -g @
|
|
1050
|
+
$installResult = Invoke-WslCommand -Arguments @("-d", $Distro, "--", "bash", "-lc", "npm install -g @cueos/cue-cli")
|
|
1051
1051
|
}
|
|
1052
1052
|
|
|
1053
1053
|
if ($installResult.Output) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"runtimeArtifact": {
|
|
3
|
-
"url": "https://github.com/zhaolongzhong/chat/releases/download/v0.0.
|
|
4
|
-
"sha256": "
|
|
3
|
+
"url": "https://github.com/zhaolongzhong/chat/releases/download/v0.0.95/cue-wsl-runtime-0.0.95.zip",
|
|
4
|
+
"sha256": "1a1a3a4b9640f1700a52146ba3dce5448a49621cbcf75fd30419c2f2f6413a41"
|
|
5
5
|
}
|
|
6
6
|
}
|