@inferencesh/app 0.3.0 → 0.4.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 (2) hide show
  1. package/dist/types.d.ts +6 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -62,6 +62,12 @@ export interface AppSDKTypes {
62
62
  export interface MetaItem {
63
63
  type: MetaItemType;
64
64
  tokens?: number;
65
+ /**
66
+ * CachedTokens and CacheWriteTokens are the parts of Tokens (on an input
67
+ * text item) read from and written to the provider's prompt cache.
68
+ */
69
+ cached_tokens?: number;
70
+ cache_write_tokens?: number;
65
71
  width?: number;
66
72
  height?: number;
67
73
  resolution_mp?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inferencesh/app",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "App framework for building inference.sh apps — File handling, output metadata, storage utilities",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",