@newpeak/barista-cli 0.1.21 → 0.1.22

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.js CHANGED
@@ -12,7 +12,7 @@ async function main() {
12
12
  program
13
13
  .name('barista')
14
14
  .description('Barista CLI - Bridge between AI agents and Liberica/Arabica')
15
- .version('0.1.21')
15
+ .version('0.1.22')
16
16
  .option('-e, --env <environment>', 'Target environment (dev|test|prod-cn|prod-jp)')
17
17
  .option('-t, --tenant <tenant>', 'Target tenant (for Liberica)')
18
18
  .option('--debug', 'Enable debug mode');
@@ -0,0 +1,47 @@
1
+ export type IssueType = 'BUG' | 'REQUIREMENT' | 'QUESTION';
2
+ /**
3
+ * Issue report request — sent to POST /api/enterprise/barista/issue/report
4
+ */
5
+ export interface IssueReportRequest {
6
+ /** Issue title (required) */
7
+ title: string;
8
+ /** Issue description (required) */
9
+ description: string;
10
+ /** Issue type: BUG | REQUIREMENT | QUESTION (default: BUG) */
11
+ issueType?: IssueType;
12
+ /** CLI version (auto-collected) */
13
+ cliVersion?: string;
14
+ /** OS information (auto-collected) */
15
+ osInfo?: string;
16
+ /** Error context / stack trace (auto-collected) */
17
+ errorContext?: string;
18
+ }
19
+ /**
20
+ * Issue report response from the server
21
+ */
22
+ export interface IssueReportResponse {
23
+ /** Public tracking code (e.g., TYP-a1b2c3d4) */
24
+ trackingCode: string;
25
+ /** Internal team issue ID */
26
+ teamIssueId: string;
27
+ /** Internal team issue code */
28
+ teamIssueCode: string;
29
+ /** Current issue status */
30
+ teamIssueStatus: string;
31
+ /** Creation timestamp */
32
+ createdAt: string;
33
+ }
34
+ /**
35
+ * API response wrapper for issue report
36
+ */
37
+ export interface IssueReportApiResponse {
38
+ success: boolean;
39
+ data?: IssueReportResponse;
40
+ error?: {
41
+ code: string;
42
+ message: string;
43
+ };
44
+ code?: string;
45
+ message?: string;
46
+ }
47
+ //# sourceMappingURL=issue-report.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issue-report.d.ts","sourceRoot":"","sources":["../../src/types/issue-report.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,aAAa,GAAG,UAAU,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,mCAAmC;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,mCAAmC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mDAAmD;IACnD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,gDAAgD;IAChD,YAAY,EAAE,MAAM,CAAC;IACrB,6BAA6B;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,+BAA+B;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,2BAA2B;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,yBAAyB;IACzB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,KAAK,CAAC,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IAEF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=issue-report.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issue-report.js","sourceRoot":"","sources":["../../src/types/issue-report.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newpeak/barista-cli",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "AI Tools CLI for Liberica and Arabica services",
5
5
  "license": "MIT",
6
6
  "keywords": [