@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.
Files changed (53) hide show
  1. package/bin/cue.js +10 -10
  2. package/bin/windows-bootstrap.ps1 +9 -9
  3. package/bin/windows-runtime-artifact.json +2 -2
  4. package/dist/cli.mjs +1088 -821
  5. package/dist/skills/README.md +199 -0
  6. package/dist/skills/_lib/credentials.py +72 -0
  7. package/dist/skills/activity/SKILL.md +97 -0
  8. package/dist/skills/assistant/SKILL.md +173 -0
  9. package/dist/skills/audio/SKILL.md +132 -0
  10. package/dist/skills/elevenlabs-tts/SKILL.md +76 -0
  11. package/dist/skills/elevenlabs-tts/scripts/speak.ts +226 -0
  12. package/dist/skills/event/SKILL.md +98 -0
  13. package/dist/skills/gemini-search/SKILL.md +52 -0
  14. package/dist/skills/gemini-search/generate.py +195 -0
  15. package/dist/skills/image/SKILL.md +169 -0
  16. package/dist/skills/like/SKILL.md +66 -0
  17. package/dist/skills/listen/SKILL.md +57 -0
  18. package/dist/skills/listen/scripts/listen.sh +74 -0
  19. package/dist/skills/listen/scripts/record.swift +94 -0
  20. package/dist/skills/markdown-to-pdf/SKILL.md +31 -0
  21. package/dist/skills/message/SKILL.md +136 -0
  22. package/dist/skills/mini-apps/SKILL.md +256 -0
  23. package/dist/skills/music/SKILL.md +139 -0
  24. package/dist/skills/nano-banana/SKILL.md +70 -0
  25. package/dist/skills/nano-banana/generate.py +191 -0
  26. package/dist/skills/news/SKILL.md +41 -0
  27. package/dist/skills/notify/SKILL.md +123 -0
  28. package/dist/skills/places/SKILL.md +215 -0
  29. package/dist/skills/posts/SKILL.md +440 -0
  30. package/dist/skills/project/SKILL.md +116 -0
  31. package/dist/skills/pulse/SKILL.md +106 -0
  32. package/dist/skills/reddit/SKILL.md +41 -0
  33. package/dist/skills/seeddance/SKILL.md +81 -0
  34. package/dist/skills/seeddance/generate.py +303 -0
  35. package/dist/skills/seedream/SKILL.md +86 -0
  36. package/dist/skills/seedream/generate.py +301 -0
  37. package/dist/skills/social-graph/SKILL.md +119 -0
  38. package/dist/skills/transcribe/SKILL.md +150 -0
  39. package/dist/skills/transcribe/generate.py +389 -0
  40. package/dist/skills/user/SKILL.md +180 -0
  41. package/dist/skills/veo3/SKILL.md +76 -0
  42. package/dist/skills/veo3/generate.py +339 -0
  43. package/dist/skills/video/SKILL.md +163 -0
  44. package/dist/skills/weather/SKILL.md +101 -0
  45. package/dist/skills/web-fetch/SKILL.md +43 -0
  46. package/dist/skills/web-search/SKILL.md +52 -0
  47. package/dist/skills/z-asr/SKILL.md +58 -0
  48. package/dist/skills/z-asr/generate.py +177 -0
  49. package/dist/skills/z-search/SKILL.md +57 -0
  50. package/dist/skills/z-search/generate.py +189 -0
  51. package/dist/skills/z-tts/SKILL.md +51 -0
  52. package/dist/skills/z-tts/generate.py +172 -0
  53. 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', '@plusonelabs/cue@latest'],
174
- label: 'npm install -g @plusonelabs/cue@latest',
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): bun add -g @plusonelabs/cue');
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: bun add -g @plusonelabs/cue" >&2
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 bun >/dev/null; then echo bun; elif command -v npm >/dev/null; then echo npm; else echo none; fi")
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 Bun (recommended) or Node/npm inside WSL, then rerun bootstrap"
880
- Add-Step "Bun install guide: https://bun.sh/"
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 Bun (recommended) or Node/npm inside WSL, then rerun."
883
- Write-Host " Bun: https://bun.sh/"
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 @plusonelabs/cue'"
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 @plusonelabs/cue'"
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 @plusonelabs/cue")
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 @plusonelabs/cue")
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.93/cue-wsl-runtime-0.0.93.zip",
4
- "sha256": "68e3a5fcaf96cbfaf3c197b8088f0a57c65185799f6c3155eb3017710c8e9152"
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
  }