feedbackbasket-cli 0.10.0 → 0.12.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.
- package/README.md +336 -300
- package/dist/src/cli.js +2 -0
- package/dist/src/client.d.ts +9 -1
- package/dist/src/client.js +13 -0
- package/dist/src/commands/feedback-reply.d.ts +2 -0
- package/dist/src/commands/feedback-reply.js +51 -32
- package/dist/src/commands/feedback.js +2 -1
- package/dist/src/commands/mobile.d.ts +7 -0
- package/dist/src/commands/mobile.js +319 -0
- package/dist/src/commands/widget.js +6 -1
- package/dist/src/help.js +4 -1
- package/dist/src/types.d.ts +32 -1
- package/dist/src/version.d.ts +2 -2
- package/dist/src/version.js +1 -1
- package/package.json +49 -48
- package/skills/feedbackbasket/SKILL.md +390 -330
package/dist/src/types.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export type FeedbackStatus = 'OPEN' | 'UNDER_REVIEW' | 'PLANNED' | 'IN_PROGRESS'
|
|
|
2
2
|
export type FeedbackCategory = 'BUG' | 'FEATURE_REQUEST' | 'IMPROVEMENT' | 'QUESTION';
|
|
3
3
|
export type Sentiment = 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL';
|
|
4
4
|
export type Severity = 'high' | 'medium' | 'low';
|
|
5
|
-
export type ReplyDelivery = 'email' | 'widget' | 'both';
|
|
5
|
+
export type ReplyDelivery = 'email' | 'widget' | 'in-app' | 'both';
|
|
6
6
|
export type FeedbackFlowQuestionType = 'text' | 'textarea' | 'single_choice';
|
|
7
7
|
export interface FeedbackFlowQuestion {
|
|
8
8
|
id: string;
|
|
@@ -42,6 +42,7 @@ export interface WidgetSettings {
|
|
|
42
42
|
emailReadOnly?: boolean;
|
|
43
43
|
hideEmailFieldWhenPrefilled?: boolean;
|
|
44
44
|
allowAttachments?: boolean;
|
|
45
|
+
allowVisitorReplies?: boolean;
|
|
45
46
|
displayMode?: 'modal' | 'popup';
|
|
46
47
|
zIndex?: number;
|
|
47
48
|
showBranding?: boolean;
|
|
@@ -60,6 +61,33 @@ export interface Project {
|
|
|
60
61
|
byStatus: Record<string, number>;
|
|
61
62
|
byCategory: Record<string, number>;
|
|
62
63
|
}
|
|
64
|
+
export interface MobileIntegrationResponse {
|
|
65
|
+
project: {
|
|
66
|
+
id: string;
|
|
67
|
+
name: string;
|
|
68
|
+
url: string;
|
|
69
|
+
};
|
|
70
|
+
integration: {
|
|
71
|
+
enabled: boolean;
|
|
72
|
+
allowVisitorReplies: boolean;
|
|
73
|
+
publishableKey: string;
|
|
74
|
+
publishableKeyIncluded: boolean;
|
|
75
|
+
hostedFormUrl: string | null;
|
|
76
|
+
bundleIds: string[];
|
|
77
|
+
connection: {
|
|
78
|
+
connected: boolean;
|
|
79
|
+
lastSeenAt: string | null;
|
|
80
|
+
platform: string | null;
|
|
81
|
+
sdkVersion: string | null;
|
|
82
|
+
bundleId: string | null;
|
|
83
|
+
};
|
|
84
|
+
} | null;
|
|
85
|
+
sdk: {
|
|
86
|
+
swiftPackageUrl: string;
|
|
87
|
+
minimumIOSVersion: string;
|
|
88
|
+
productionBaseUrl: string;
|
|
89
|
+
};
|
|
90
|
+
}
|
|
63
91
|
export interface Feedback {
|
|
64
92
|
id: string;
|
|
65
93
|
content: string;
|
|
@@ -69,6 +97,7 @@ export interface Feedback {
|
|
|
69
97
|
sentiment?: Sentiment | null;
|
|
70
98
|
aiSummary?: string | null;
|
|
71
99
|
aiPriorityScore?: number | null;
|
|
100
|
+
awaitingOwnerReply?: boolean;
|
|
72
101
|
reasoning?: string | null;
|
|
73
102
|
feedbackType?: {
|
|
74
103
|
id?: string;
|
|
@@ -89,6 +118,7 @@ export interface Feedback {
|
|
|
89
118
|
device?: string | null;
|
|
90
119
|
language?: string | null;
|
|
91
120
|
hasWidgetAccess?: boolean;
|
|
121
|
+
replyChannel?: 'widget' | 'in_app' | null;
|
|
92
122
|
attachments?: FeedbackAttachment[];
|
|
93
123
|
project: {
|
|
94
124
|
id: string;
|
|
@@ -175,6 +205,7 @@ export interface FeedbackReplyResponse {
|
|
|
175
205
|
} | null;
|
|
176
206
|
message: {
|
|
177
207
|
id: string;
|
|
208
|
+
senderType: 'OWNER' | 'VISITOR';
|
|
178
209
|
content: string;
|
|
179
210
|
delivery: 'WIDGET' | 'EMAIL' | 'BOTH';
|
|
180
211
|
sentByName: string | null;
|
package/dist/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
2
|
-
export declare const USER_AGENT = "FeedbackBasket-CLI/0.
|
|
1
|
+
export declare const VERSION = "0.12.0";
|
|
2
|
+
export declare const USER_AGENT = "FeedbackBasket-CLI/0.12.0";
|
package/dist/src/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.12.0';
|
|
2
2
|
export const USER_AGENT = `FeedbackBasket-CLI/${VERSION}`;
|
package/package.json
CHANGED
|
@@ -1,48 +1,49 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "feedbackbasket-cli",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Command-line interface for FeedbackBasket — manage feedback and waitlists from your terminal",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/src/cli.js",
|
|
7
|
-
"bin": {
|
|
8
|
-
"feedbackbasket": "dist/bin/feedbackbasket.js"
|
|
9
|
-
},
|
|
10
|
-
"scripts": {
|
|
11
|
-
"build": "tsc",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "feedbackbasket-cli",
|
|
3
|
+
"version": "0.12.0",
|
|
4
|
+
"description": "Command-line interface for FeedbackBasket — manage feedback and waitlists from your terminal",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/src/cli.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"feedbackbasket": "dist/bin/feedbackbasket.js"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "tsc",
|
|
12
|
+
"test": "tsx --test tests/*.test.ts",
|
|
13
|
+
"dev": "tsx bin/feedbackbasket.ts",
|
|
14
|
+
"start": "node dist/bin/feedbackbasket.js",
|
|
15
|
+
"prepublishOnly": "npm run build"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"feedbackbasket",
|
|
19
|
+
"feedback",
|
|
20
|
+
"cli",
|
|
21
|
+
"ai-agent",
|
|
22
|
+
"developer-tools"
|
|
23
|
+
],
|
|
24
|
+
"author": "deifosv",
|
|
25
|
+
"license": "MIT",
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "https://github.com/deifos/feedbackbasket-cli.git"
|
|
29
|
+
},
|
|
30
|
+
"homepage": "https://feedbackbasket.com",
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"chalk": "^5.3.0",
|
|
33
|
+
"commander": "^13.1.0",
|
|
34
|
+
"open": "^10.1.0"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@types/node": "^22.0.0",
|
|
38
|
+
"tsx": "^4.23.0",
|
|
39
|
+
"typescript": "^5.7.0"
|
|
40
|
+
},
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=18"
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"dist/**/*",
|
|
46
|
+
"skills/**/*",
|
|
47
|
+
"README.md"
|
|
48
|
+
]
|
|
49
|
+
}
|