@nivaro/sdk 0.2.4 → 0.2.5
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/dist/index.d.ts +4 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2049,11 +2049,14 @@ declare function aiReview(body: {
|
|
|
2049
2049
|
declare function aiBrief(body: {
|
|
2050
2050
|
/** The data to brief over (capped server-side at 16k chars). */
|
|
2051
2051
|
context: string;
|
|
2052
|
-
/**
|
|
2052
|
+
/** Which server-side prompt writes the brief (default `daily`). */
|
|
2053
|
+
template?: 'daily' | 'report-compare' | 'report-explain' | 'traffic-spike';
|
|
2054
|
+
/** @deprecated Ignored unless it is the exact text of a template; use `template`. */
|
|
2053
2055
|
instructions?: string;
|
|
2054
2056
|
}): Command<{
|
|
2055
2057
|
data: {
|
|
2056
2058
|
brief: string;
|
|
2059
|
+
instructions_ignored?: boolean;
|
|
2057
2060
|
};
|
|
2058
2061
|
}>;
|
|
2059
2062
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nivaro/sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "TypeScript SDK for Nivaro CMS — typed REST client, GraphQL, realtime subscriptions, and presence.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"test": "node --test bin/lib/*.test.mjs"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"socket.io-client": "^4.8.
|
|
56
|
+
"socket.io-client": "^4.8.4"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"tsup": "^8.4.0",
|