raga-cli 0.8.0 → 0.10.0

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 (63) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +33 -5
  3. package/bundled-skills/README.md +2 -2
  4. package/bundled-skills/bundle.json +75 -9
  5. package/bundled-skills/docs/guide/01-setup.md +1 -1
  6. package/bundled-skills/skills/bend/SKILL.md +58 -0
  7. package/bundled-skills/skills/bend/bend_tool.py +144 -0
  8. package/bundled-skills/skills/peak/SKILL.md +2 -2
  9. package/bundled-skills/skills/peak/references/peak-setup/SKILL.md +1 -1
  10. package/bundled-skills/skills/peak/references/raga-runtime/SKILL.md +20 -6
  11. package/bundled-skills/skills/peak/references/raga-runtime/raga_runtime.py +24 -6
  12. package/bundled-skills/skills/raga-artifacts/SKILL.md +117 -0
  13. package/bundled-skills/skills/raga-artifacts/artifact.mjs +259 -0
  14. package/bundled-skills/skills/raga-artifacts/artifact_tool.py +55 -0
  15. package/bundled-skills/skills/raga-artifacts/diagrams.md +641 -0
  16. package/bundled-skills/skills/raga-artifacts/templates/doc.html +124 -0
  17. package/bundled-skills/skills/raga-artifacts/templates/slides.html +138 -0
  18. package/dist/bundle/chunks/agent-attach-ZCS2QGIU.js +9 -0
  19. package/dist/bundle/chunks/anthropic.js +1 -8
  20. package/dist/bundle/chunks/chunk-4OPO7UJ6.js +4 -0
  21. package/dist/bundle/chunks/{chunk-IOPE2TJ4.js → chunk-A4342OQJ.js} +16 -16
  22. package/dist/bundle/chunks/{chunk-YMZUNB25.js → chunk-ABE5B2U7.js} +1 -1
  23. package/dist/bundle/chunks/{chunk-P2QCWBFM.js → chunk-D2SEW6VC.js} +1 -1
  24. package/dist/bundle/chunks/chunk-FTQDEUXY.js +242 -0
  25. package/dist/bundle/chunks/chunk-HRI5E2Y3.js +2 -0
  26. package/dist/bundle/chunks/{chunk-UDT647VB.js → chunk-JNHUOSVT.js} +2 -9
  27. package/dist/bundle/chunks/chunk-K22YTJFL.js +3 -0
  28. package/dist/bundle/chunks/chunk-MXJNFS34.js +47 -0
  29. package/dist/bundle/chunks/{chunk-J22MF7YW.js → chunk-NXGZMUQX.js} +3 -48
  30. package/dist/bundle/chunks/{chunk-3EGDWOKT.js → chunk-NYFFOHME.js} +1 -1
  31. package/dist/bundle/chunks/chunk-P2EB6CEF.js +6 -0
  32. package/dist/bundle/chunks/{chunk-KNY3PXQI.js → chunk-SK25JXS4.js} +1 -1
  33. package/dist/bundle/chunks/chunk-VEV3PRRP.js +1358 -0
  34. package/dist/bundle/chunks/chunk-XBBS7V4D.js +2 -0
  35. package/dist/bundle/chunks/{cli-4P6FVVLT.js → cli-XZ774I3U.js} +1 -1
  36. package/dist/bundle/chunks/{easter-egg-3d-65VIC4G2.js → easter-egg-3d-XWC5XWQO.js} +1 -1
  37. package/dist/bundle/chunks/{execute-3H5WKMA3.js → execute-7BWE4ZV3.js} +1 -1
  38. package/dist/bundle/chunks/openai-chatgpt.js +1 -8
  39. package/dist/bundle/chunks/openai-codex.js +1 -8
  40. package/dist/bundle/chunks/openrouter.js +1 -8
  41. package/dist/bundle/chunks/radius.js +1 -8
  42. package/dist/bundle/chunks/runtime-K76CFDG5.js +2 -0
  43. package/dist/bundle/chunks/virtual-modules-YAFG26WW.js +2 -0
  44. package/dist/bundle/cli-runtime.js +1 -1
  45. package/dist/bundle/index.js +1 -1
  46. package/dist/bundle/raga-runtime.js +1 -1
  47. package/dist/bundle/rpc-entry.js +1 -1
  48. package/docs/cli.md +8 -0
  49. package/docs/compaction.md +26 -0
  50. package/docs/sdk.md +2 -1
  51. package/docs/settings.md +1 -0
  52. package/package.json +1 -1
  53. package/python/raga_rlm/__init__.py +30 -6
  54. package/python/raga_rlm/mlx_models.py +265 -0
  55. package/schemas/keybindings.schema.json +84 -0
  56. package/schemas/settings.schema.json +74 -1
  57. package/schemas/theme.schema.json +2 -2
  58. package/dist/bundle/chunks/chunk-AI2NMHE7.js +0 -1567
  59. package/dist/bundle/chunks/chunk-C4IJNE7U.js +0 -2
  60. package/dist/bundle/chunks/chunk-RFPFZTK2.js +0 -7
  61. package/dist/bundle/chunks/chunk-RP2WKNT7.js +0 -4
  62. package/dist/bundle/chunks/runtime-435R6IKY.js +0 -2
  63. package/dist/bundle/chunks/virtual-modules-U3JBUDP7.js +0 -2
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
2
- import{configureHttpDispatcher}from"./chunk-AI2NMHE7.js";import{APP_NAME}from"./chunk-KNY3PXQI.js";function setupCli(){process.title=APP_NAME,process.env.PI_CODING_AGENT="true",process.env.AI_AGENT="pi",process.emitWarning=(()=>{}),configureHttpDispatcher()}export{setupCli};
2
+ import{configureHttpDispatcher}from"./chunk-FTQDEUXY.js";import{APP_NAME}from"./chunk-SK25JXS4.js";function setupCli(){process.title=APP_NAME,process.env.PI_CODING_AGENT="true",process.env.AI_AGENT="pi",process.emitWarning=(()=>{}),configureHttpDispatcher()}export{setupCli};
@@ -1,5 +1,5 @@
1
1
  import { createRequire as __piCreateRequire } from "node:module"; const require = __piCreateRequire(import.meta.url);
2
- import{getBinDir}from"./chunk-KNY3PXQI.js";import{accessSync,constants}from"node:fs";import{delimiter,join,win32}from"node:path";import{spawn,spawnSync}from"child_process";function isLegacyWslBashPath(path){let normalized=win32.normalize(path).toLowerCase(),systemRoot=process.env.SystemRoot;return systemRoot?/^[a-z]:[\\/]/i.test(systemRoot)?["System32","Sysnative"].some(directory=>normalized===win32.join(systemRoot,directory,"bash.exe").toLowerCase()):!1:/^[a-z]:\\windows\\(?:system32|sysnative)\\bash\.exe$/.test(normalized)}function getBashShellConfig(shell){return isLegacyWslBashPath(shell)?{shell,args:["-s"],commandTransport:"stdin"}:{shell,args:["-c"]}}function shellPathExists(path){try{return accessSync(path,constants.F_OK),!0}catch{return!1}}function findExecutableOnPath(executable){if(process.platform==="win32"){try{let result=spawnSync("where",[executable],{encoding:"utf-8",timeout:5e3,windowsHide:!0});if(result.status===0&&result.stdout){let firstMatch=result.stdout.trim().split(/\r?\n/)[0];if(firstMatch&&shellPathExists(firstMatch))return firstMatch}}catch{}return null}try{let result=spawnSync("which",[executable],{encoding:"utf-8",timeout:5e3});if(result.status===0&&result.stdout){let firstMatch=result.stdout.trim().split(/\r?\n/)[0];if(firstMatch)return firstMatch}}catch{}return null}function getShellConfig(customShellPath){if(customShellPath){if(shellPathExists(customShellPath))return getBashShellConfig(customShellPath);throw new Error(`Custom shell path not found: ${customShellPath}`)}if(process.platform==="win32"){let paths=[],programFiles=process.env.ProgramFiles;programFiles&&paths.push(`${programFiles}\\Git\\bin\\bash.exe`);let programFilesX86=process.env["ProgramFiles(x86)"];programFilesX86&&paths.push(`${programFilesX86}\\Git\\bin\\bash.exe`);for(let path of paths)if(shellPathExists(path))return getBashShellConfig(path);let bashOnPath2=findExecutableOnPath("bash.exe");if(bashOnPath2)return getBashShellConfig(bashOnPath2);throw new Error(`No bash shell found. Options:
2
+ import{getBinDir}from"./chunk-SK25JXS4.js";import{accessSync,constants}from"node:fs";import{delimiter,join,win32}from"node:path";import{spawn,spawnSync}from"child_process";function isLegacyWslBashPath(path){let normalized=win32.normalize(path).toLowerCase(),systemRoot=process.env.SystemRoot;return systemRoot?/^[a-z]:[\\/]/i.test(systemRoot)?["System32","Sysnative"].some(directory=>normalized===win32.join(systemRoot,directory,"bash.exe").toLowerCase()):!1:/^[a-z]:\\windows\\(?:system32|sysnative)\\bash\.exe$/.test(normalized)}function getBashShellConfig(shell){return isLegacyWslBashPath(shell)?{shell,args:["-s"],commandTransport:"stdin"}:{shell,args:["-c"]}}function shellPathExists(path){try{return accessSync(path,constants.F_OK),!0}catch{return!1}}function findExecutableOnPath(executable){if(process.platform==="win32"){try{let result=spawnSync("where",[executable],{encoding:"utf-8",timeout:5e3,windowsHide:!0});if(result.status===0&&result.stdout){let firstMatch=result.stdout.trim().split(/\r?\n/)[0];if(firstMatch&&shellPathExists(firstMatch))return firstMatch}}catch{}return null}try{let result=spawnSync("which",[executable],{encoding:"utf-8",timeout:5e3});if(result.status===0&&result.stdout){let firstMatch=result.stdout.trim().split(/\r?\n/)[0];if(firstMatch)return firstMatch}}catch{}return null}function getShellConfig(customShellPath){if(customShellPath){if(shellPathExists(customShellPath))return getBashShellConfig(customShellPath);throw new Error(`Custom shell path not found: ${customShellPath}`)}if(process.platform==="win32"){let paths=[],programFiles=process.env.ProgramFiles;programFiles&&paths.push(`${programFiles}\\Git\\bin\\bash.exe`);let programFilesX86=process.env["ProgramFiles(x86)"];programFilesX86&&paths.push(`${programFilesX86}\\Git\\bin\\bash.exe`);for(let path of paths)if(shellPathExists(path))return getBashShellConfig(path);let bashOnPath2=findExecutableOnPath("bash.exe");if(bashOnPath2)return getBashShellConfig(bashOnPath2);throw new Error(`No bash shell found. Options:
3
3
  1. Install Git for Windows: https://git-scm.com/download/win
4
4
  2. Add your bash to PATH (Cygwin, MSYS2, etc.)
5
5
  3. Set shellPath in settings.json