geniffy 0.5.0 → 0.5.1

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/README.md CHANGED
@@ -2,9 +2,10 @@
2
2
 
3
3
  [![CI](https://github.com/Geniffy/geniffy-typescript/actions/workflows/ci.yml/badge.svg)](https://github.com/Geniffy/geniffy-typescript/actions/workflows/ci.yml) [![npm](https://img.shields.io/npm/v/geniffy)](https://www.npmjs.com/package/geniffy) [![License: MIT](https://img.shields.io/badge/license-MIT-blue)](LICENSE) [![Docs](https://img.shields.io/badge/docs-docs.geniffy.com-1A1814)](https://docs.geniffy.com/sdks/typescript)
4
4
 
5
- Give your app a memory. Write what each of your users tells you, and put what is known about them
6
- in front of your model, with where every line came from. When nothing is known, it says so instead
7
- of guessing. No dependencies: it uses the platform's `fetch` (Node 18+, Deno, Bun, edge runtimes).
5
+ The official TypeScript and JavaScript SDK for Geniffy, the memory infrastructure for AI applications
6
+ and agents. Write what each of your users tells you, and put what is known about them in front of your
7
+ model, with where every line came from. When nothing is known, it says so instead of guessing. No
8
+ dependencies: it uses the platform's `fetch` (Node 18+, Deno, Bun, edge runtimes).
8
9
 
9
10
  ```bash
10
11
  npm install geniffy
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Geniffy for TypeScript and JavaScript: add notes, files and links to a memory, then search it and ask it.
2
+ * The official TypeScript and JavaScript SDK for Geniffy, the memory infrastructure for AI applications and agents.
3
3
  *
4
4
  * import { Geniffy } from "geniffy";
5
5
  * const g = new Geniffy(); // reads GENIFFY_API_KEY
@@ -10,7 +10,7 @@
10
10
  * Retries: reads, deletes and files.put (the same text twice is the same file) are retried on network errors,
11
11
  * 408, 429 and 5xx; adding is retried only on 429, so a retry never saves a note twice.
12
12
  */
13
- export declare const VERSION = "0.5.0";
13
+ export declare const VERSION = "0.5.1";
14
14
  export declare const DEFAULT_BASE_URL = "https://api.geniffy.com";
15
15
  /** Each region's address, by name. An account's memory is stored in the region it was made in, and its key works only
16
16
  * there, so a client calls that region; "in" is the default. */
@@ -70,7 +70,7 @@ export interface Usage {
70
70
  /** written answers and context blocks */
71
71
  answers: number;
72
72
  included_answers: number;
73
- /** extra learning: past the plan, learned and answered at once, $15 per million tokens, $15 per 1,000 answers */
73
+ /** extra learning: past the plan, learned and answered at once, per million tokens and per 1,000 answers at the rate on geniffy.com/pricing */
74
74
  extra_on: boolean;
75
75
  extra_cap_usd: number;
76
76
  extra_used_usd: number;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Geniffy for TypeScript and JavaScript: add notes, files and links to a memory, then search it and ask it.
2
+ * The official TypeScript and JavaScript SDK for Geniffy, the memory infrastructure for AI applications and agents.
3
3
  *
4
4
  * import { Geniffy } from "geniffy";
5
5
  * const g = new Geniffy(); // reads GENIFFY_API_KEY
@@ -10,7 +10,7 @@
10
10
  * Retries: reads, deletes and files.put (the same text twice is the same file) are retried on network errors,
11
11
  * 408, 429 and 5xx; adding is retried only on 429, so a retry never saves a note twice.
12
12
  */
13
- export const VERSION = "0.5.0";
13
+ export const VERSION = "0.5.1";
14
14
  export const DEFAULT_BASE_URL = "https://api.geniffy.com";
15
15
  /** Each region's address, by name. An account's memory is stored in the region it was made in, and its key works only
16
16
  * there, so a client calls that region; "in" is the default. */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "geniffy",
3
- "version": "0.5.0",
4
- "description": "Geniffy for TypeScript and JavaScript: add notes, files and links to a memory, then search it and ask it.",
3
+ "version": "0.5.1",
4
+ "description": "The official TypeScript and JavaScript SDK for Geniffy, the memory infrastructure for AI applications and agents.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",