create-heresay 0.2.24 → 0.2.25
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-heresay",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.25",
|
|
4
4
|
"description": "Set up your own Heresay: in-app feedback that every report gets a hearing. Creates a Firebase project in your Google account and deploys the dashboard, API and SDK to it.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
package/release/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.25
|
|
@@ -22,14 +22,14 @@ export const CHAT_LIMITS = [
|
|
|
22
22
|
{ limit: 60, windowMs: 3600_000 },
|
|
23
23
|
{ limit: 300, windowMs: 24 * 3600_000 },
|
|
24
24
|
];
|
|
25
|
+
// Descriptive, not prescriptive: chat apps flag tool text that tells the model when to ask for
|
|
26
|
+
// approval or what counts as sensitive ("Suspicious Instruction"). Their own rules cover that.
|
|
25
27
|
const INSTRUCTIONS = [
|
|
26
28
|
'Heresay is this team\'s inbox for what should change in their apps: bugs, confusing parts, improvements and ideas.',
|
|
27
|
-
'
|
|
28
|
-
'
|
|
29
|
-
'
|
|
30
|
-
'
|
|
31
|
-
'Confirm with the person before sending if they didn\'t clearly ask to send. Requests wait for a person on the team to accept',
|
|
32
|
-
'them; sending does not start any work. my_requests says what happened to the ones they sent.',
|
|
29
|
+
'send_request files one in an app\'s inbox as the signed-in team member: `text` is the request as a teammate would read it,',
|
|
30
|
+
'`details` is what the conversation worked out (why it matters, what was considered or ruled out, examples, constraints,',
|
|
31
|
+
'open questions). list_apps names the apps. A request stays open until someone on the team accepts it; sending does not',
|
|
32
|
+
'start any work. my_requests says what happened to the ones this member sent.',
|
|
33
33
|
].join(' ');
|
|
34
34
|
const TOOLS = [
|
|
35
35
|
{
|
|
@@ -42,8 +42,8 @@ const TOOLS = [
|
|
|
42
42
|
{
|
|
43
43
|
name: 'send_request',
|
|
44
44
|
title: 'Send to Heresay',
|
|
45
|
-
description: '
|
|
46
|
-
+ 'with
|
|
45
|
+
description: 'Sends a bug, a confusing part, an improvement or an idea to one app\'s Heresay inbox, as the signed-in team member, '
|
|
46
|
+
+ 'with context from the conversation. It stays open until someone on the team accepts it.',
|
|
47
47
|
inputSchema: {
|
|
48
48
|
type: 'object',
|
|
49
49
|
properties: {
|