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 +4 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/Geniffy/geniffy-typescript/actions/workflows/ci.yml) [](https://www.npmjs.com/package/geniffy) [](LICENSE) [](https://docs.geniffy.com/sdks/typescript)
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
*
|
|
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.
|
|
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,
|
|
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
|
-
*
|
|
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.
|
|
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.
|
|
4
|
-
"description": "
|
|
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",
|