tune-sdk 0.2.21 → 0.2.22

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 (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/src/cli.js +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Tune - the last AI tool you’ll need to learn
1
+ # Tune - chat with llm in a text file
2
2
  [![Reddit](https://img.shields.io/badge/Reddit-%23FF4500.svg?style=for-the-badge&logo=Reddit&logoColor=white)](https://www.reddit.com/r/tuneai/)
3
3
  [![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/hu32FNYPYD)
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tune-sdk",
3
- "version": "0.2.21",
3
+ "version": "0.2.22",
4
4
  "description": "tune - LLM chat in text file",
5
5
  "main": "dist/tune.js",
6
6
  "module": "dist/tune.mjs",
package/src/cli.js CHANGED
@@ -297,7 +297,7 @@ async function runRpc(args) {
297
297
  },
298
298
  read: async function read(name) {
299
299
  const node = await cleanCtx.resolve(name)
300
- if (!node) {
300
+ if (!node || node.type === 'image') {
301
301
  return ""
302
302
  }
303
303
  // todo binary