vargai 0.4.0-alpha52 → 0.4.0-alpha54
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/CLAUDE.md +10 -0
- package/README.md +3 -0
- package/bun.lock +1455 -0
- package/docs/sdk.md +1 -1
- package/garry-tan-varg.tsx +46 -0
- package/package.json +1 -1
- package/src/ai-sdk/cache.ts +11 -5
- package/src/ai-sdk/examples/garry-tan-varg.ts +61 -0
- package/src/ai-sdk/providers/fal.ts +17 -6
- package/src/definitions/models/kling.ts +1 -1
- package/src/react/examples/garry-tan-varg.tsx +52 -0
- package/src/react/renderers/context.ts +1 -0
- package/src/react/renderers/progress.ts +2 -0
- package/src/react/renderers/render.ts +44 -21
- package/src/react/types.ts +1 -0
package/CLAUDE.md
CHANGED
|
@@ -123,3 +123,13 @@ bun --hot ./index.ts
|
|
|
123
123
|
```
|
|
124
124
|
|
|
125
125
|
For more information, read the Bun API docs in `node_modules/bun-types/docs/**.md`.
|
|
126
|
+
|
|
127
|
+
## Cache Policy
|
|
128
|
+
|
|
129
|
+
**NEVER clear or delete the user's cache**, even when debugging.
|
|
130
|
+
|
|
131
|
+
- Video/image generation costs real money ($0.05–$0.50+ per generation) and takes 60–180 seconds
|
|
132
|
+
- The cache is the user's asset — treat it as production data, not disposable debug state
|
|
133
|
+
- If you need to regenerate, modify the prompt slightly or use a different cache key
|
|
134
|
+
- If cache must be cleared, always ask the user explicitly first
|
|
135
|
+
- Suggest `--no-cache` flag for one-off re-renders instead of deleting cached files
|
package/README.md
CHANGED
|
@@ -468,6 +468,9 @@ replicate.imageModel("owner/model-name")
|
|
|
468
468
|
|
|
469
469
|
| model | provider | capabilities |
|
|
470
470
|
|-------|----------|--------------|
|
|
471
|
+
| kling-v3 | fal | text-to-video, image-to-video (O3 Pro, latest) |
|
|
472
|
+
| kling-v3-standard | fal | text-to-video, image-to-video (O3 Standard, cheaper) |
|
|
473
|
+
| kling-v2.6 | fal | text-to-video, image-to-video |
|
|
471
474
|
| kling-v2.5 | fal | text-to-video, image-to-video |
|
|
472
475
|
| kling-v2.1 | fal | text-to-video, image-to-video |
|
|
473
476
|
| wan-2.5 | fal | image-to-video, good for characters |
|