katashiro-vscode 0.2.11 → 0.3.2
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 +12 -11
- package/LICENSE +0 -21
- package/dist/commands/command-helpers.d.ts +0 -91
- package/dist/commands/command-helpers.d.ts.map +0 -1
- package/dist/commands/command-helpers.js +0 -125
- package/dist/commands/command-helpers.js.map +0 -1
- package/dist/commands/command-manager.d.ts +0 -64
- package/dist/commands/command-manager.d.ts.map +0 -1
- package/dist/commands/command-manager.js +0 -374
- package/dist/commands/command-manager.js.map +0 -1
- package/dist/commands/index.d.ts +0 -5
- package/dist/commands/index.d.ts.map +0 -1
- package/dist/commands/index.js +0 -9
- package/dist/commands/index.js.map +0 -1
- package/dist/extension.d.ts +0 -18
- package/dist/extension.d.ts.map +0 -1
- package/dist/extension.js +0 -75
- package/dist/extension.js.map +0 -1
- package/dist/index.d.ts +0 -13
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -33
- package/dist/index.js.map +0 -1
- package/dist/katashiro-extension.d.ts +0 -51
- package/dist/katashiro-extension.d.ts.map +0 -1
- package/dist/katashiro-extension.js +0 -123
- package/dist/katashiro-extension.js.map +0 -1
- package/dist/ui/index.d.ts +0 -6
- package/dist/ui/index.d.ts.map +0 -1
- package/dist/ui/index.js +0 -11
- package/dist/ui/index.js.map +0 -1
- package/dist/ui/output-channel-manager.d.ts +0 -57
- package/dist/ui/output-channel-manager.d.ts.map +0 -1
- package/dist/ui/output-channel-manager.js +0 -126
- package/dist/ui/output-channel-manager.js.map +0 -1
- package/dist/ui/status-bar-manager.d.ts +0 -68
- package/dist/ui/status-bar-manager.d.ts.map +0 -1
- package/dist/ui/status-bar-manager.js +0 -167
- package/dist/ui/status-bar-manager.js.map +0 -1
- package/dist/views/history-view-provider.d.ts +0 -77
- package/dist/views/history-view-provider.d.ts.map +0 -1
- package/dist/views/history-view-provider.js +0 -204
- package/dist/views/history-view-provider.js.map +0 -1
- package/dist/views/index.d.ts +0 -7
- package/dist/views/index.d.ts.map +0 -1
- package/dist/views/index.js +0 -16
- package/dist/views/index.js.map +0 -1
- package/dist/views/knowledge-view-provider.d.ts +0 -60
- package/dist/views/knowledge-view-provider.d.ts.map +0 -1
- package/dist/views/knowledge-view-provider.js +0 -169
- package/dist/views/knowledge-view-provider.js.map +0 -1
- package/dist/views/research-view-provider.d.ts +0 -48
- package/dist/views/research-view-provider.d.ts.map +0 -1
- package/dist/views/research-view-provider.js +0 -141
- package/dist/views/research-view-provider.js.map +0 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "katashiro-vscode",
|
|
3
3
|
"displayName": "KATASHIRO",
|
|
4
4
|
"description": "AI-powered research assistant with web search, content analysis, and knowledge graph",
|
|
5
|
-
"version": "0.2
|
|
5
|
+
"version": "0.3.2",
|
|
6
6
|
"publisher": "nahisaho",
|
|
7
7
|
"icon": "media/icon.png",
|
|
8
8
|
"repository": {
|
|
@@ -157,6 +157,15 @@
|
|
|
157
157
|
]
|
|
158
158
|
}
|
|
159
159
|
},
|
|
160
|
+
"scripts": {
|
|
161
|
+
"vscode:prepublish": "npm run build",
|
|
162
|
+
"build": "tsc",
|
|
163
|
+
"watch": "tsc -watch",
|
|
164
|
+
"clean": "rm -rf dist",
|
|
165
|
+
"test": "vitest run",
|
|
166
|
+
"package": "vsce package",
|
|
167
|
+
"publish": "vsce publish"
|
|
168
|
+
},
|
|
160
169
|
"dependencies": {
|
|
161
170
|
"@nahisaho/katashiro-core": "*",
|
|
162
171
|
"@nahisaho/katashiro-collector": "*",
|
|
@@ -171,13 +180,5 @@
|
|
|
171
180
|
"@vscode/vsce": "^2.22.0"
|
|
172
181
|
},
|
|
173
182
|
"author": "nahisaho",
|
|
174
|
-
"license": "MIT"
|
|
175
|
-
|
|
176
|
-
"vscode:prepublish": "npm run build",
|
|
177
|
-
"build": "tsc",
|
|
178
|
-
"watch": "tsc -watch",
|
|
179
|
-
"clean": "rm -rf dist",
|
|
180
|
-
"test": "vitest run",
|
|
181
|
-
"package": "vsce package"
|
|
182
|
-
}
|
|
183
|
-
}
|
|
183
|
+
"license": "MIT"
|
|
184
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 nahisaho
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CommandManager Helper Functions
|
|
3
|
-
*
|
|
4
|
-
* Extracted for better testability
|
|
5
|
-
* @module katashiro
|
|
6
|
-
* @task TSK-071
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Search result type
|
|
10
|
-
*/
|
|
11
|
-
export interface SearchResult {
|
|
12
|
-
title: string;
|
|
13
|
-
url: string;
|
|
14
|
-
snippet: string;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Content analysis result type
|
|
18
|
-
*/
|
|
19
|
-
export interface AnalysisResult {
|
|
20
|
-
wordCount: number;
|
|
21
|
-
entities: string[];
|
|
22
|
-
topics: string[];
|
|
23
|
-
sentiment: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Research results type
|
|
27
|
-
*/
|
|
28
|
-
export interface ResearchResults {
|
|
29
|
-
summary: string;
|
|
30
|
-
sources: string[];
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Format search results as markdown
|
|
34
|
-
*/
|
|
35
|
-
export declare function formatSearchResults(query: string, results: SearchResult[]): string;
|
|
36
|
-
/**
|
|
37
|
-
* Format content analysis as markdown
|
|
38
|
-
*/
|
|
39
|
-
export declare function formatAnalysis(analysis: AnalysisResult): string;
|
|
40
|
-
/**
|
|
41
|
-
* Format research results as markdown
|
|
42
|
-
*/
|
|
43
|
-
export declare function formatResearchResults(topic: string, results: ResearchResults): string;
|
|
44
|
-
/**
|
|
45
|
-
* Format summary as markdown
|
|
46
|
-
*/
|
|
47
|
-
export declare function formatSummary(content: string, style: string, maxPreviewLength?: number): string;
|
|
48
|
-
/**
|
|
49
|
-
* Format report as markdown
|
|
50
|
-
*/
|
|
51
|
-
export declare function formatReport(topic: string, format: string): string;
|
|
52
|
-
/**
|
|
53
|
-
* Count words in content
|
|
54
|
-
*/
|
|
55
|
-
export declare function countWords(content: string): number;
|
|
56
|
-
/**
|
|
57
|
-
* Format error message
|
|
58
|
-
*/
|
|
59
|
-
export declare function formatErrorMessage(message: string, error: unknown): string;
|
|
60
|
-
/**
|
|
61
|
-
* Validate input is not empty
|
|
62
|
-
*/
|
|
63
|
-
export declare function validateInput(input: string | undefined | null): input is string;
|
|
64
|
-
/**
|
|
65
|
-
* Summary style options
|
|
66
|
-
*/
|
|
67
|
-
export declare const SUMMARY_STYLES: readonly ["brief", "detailed", "bullet"];
|
|
68
|
-
export type SummaryStyle = typeof SUMMARY_STYLES[number];
|
|
69
|
-
/**
|
|
70
|
-
* Validate summary style
|
|
71
|
-
*/
|
|
72
|
-
export declare function isValidSummaryStyle(style: string): style is SummaryStyle;
|
|
73
|
-
/**
|
|
74
|
-
* Research depth options
|
|
75
|
-
*/
|
|
76
|
-
export declare const RESEARCH_DEPTHS: readonly ["shallow", "moderate", "deep"];
|
|
77
|
-
export type ResearchDepth = typeof RESEARCH_DEPTHS[number];
|
|
78
|
-
/**
|
|
79
|
-
* Validate research depth
|
|
80
|
-
*/
|
|
81
|
-
export declare function isValidResearchDepth(depth: string): depth is ResearchDepth;
|
|
82
|
-
/**
|
|
83
|
-
* Report format options
|
|
84
|
-
*/
|
|
85
|
-
export declare const REPORT_FORMATS: readonly ["markdown", "html", "pdf"];
|
|
86
|
-
export type ReportFormat = typeof REPORT_FORMATS[number];
|
|
87
|
-
/**
|
|
88
|
-
* Validate report format
|
|
89
|
-
*/
|
|
90
|
-
export declare function isValidReportFormat(format: string): format is ReportFormat;
|
|
91
|
-
//# sourceMappingURL=command-helpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"command-helpers.d.ts","sourceRoot":"","sources":["../../src/commands/command-helpers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe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AAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAE1E;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,sCAAuC,CAAC;AACnE,MAAM,MAAM,YAAY,GAAG,OAAO,cAAc,CAAC,MAAM,CAAC,CAAC;AAEzD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,IAAI,YAAY,CAE1E"}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* CommandManager Helper Functions
|
|
4
|
-
*
|
|
5
|
-
* Extracted for better testability
|
|
6
|
-
* @module katashiro
|
|
7
|
-
* @task TSK-071
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.REPORT_FORMATS = exports.RESEARCH_DEPTHS = exports.SUMMARY_STYLES = void 0;
|
|
11
|
-
exports.formatSearchResults = formatSearchResults;
|
|
12
|
-
exports.formatAnalysis = formatAnalysis;
|
|
13
|
-
exports.formatResearchResults = formatResearchResults;
|
|
14
|
-
exports.formatSummary = formatSummary;
|
|
15
|
-
exports.formatReport = formatReport;
|
|
16
|
-
exports.countWords = countWords;
|
|
17
|
-
exports.formatErrorMessage = formatErrorMessage;
|
|
18
|
-
exports.validateInput = validateInput;
|
|
19
|
-
exports.isValidSummaryStyle = isValidSummaryStyle;
|
|
20
|
-
exports.isValidResearchDepth = isValidResearchDepth;
|
|
21
|
-
exports.isValidReportFormat = isValidReportFormat;
|
|
22
|
-
/**
|
|
23
|
-
* Format search results as markdown
|
|
24
|
-
*/
|
|
25
|
-
function formatSearchResults(query, results) {
|
|
26
|
-
let md = `# Search Results: ${query}\n\n`;
|
|
27
|
-
md += `Found ${results.length} results\n\n`;
|
|
28
|
-
for (const result of results) {
|
|
29
|
-
md += `## [${result.title}](${result.url})\n\n`;
|
|
30
|
-
md += `${result.snippet}\n\n`;
|
|
31
|
-
md += '---\n\n';
|
|
32
|
-
}
|
|
33
|
-
return md;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Format content analysis as markdown
|
|
37
|
-
*/
|
|
38
|
-
function formatAnalysis(analysis) {
|
|
39
|
-
let md = '# Content Analysis\n\n';
|
|
40
|
-
md += `**Word Count:** ${analysis.wordCount}\n\n`;
|
|
41
|
-
md += `**Sentiment:** ${analysis.sentiment}\n\n`;
|
|
42
|
-
md += '## Entities\n\n';
|
|
43
|
-
md += analysis.entities.map((e) => `- ${e}`).join('\n');
|
|
44
|
-
md += '\n\n## Topics\n\n';
|
|
45
|
-
md += analysis.topics.map((t) => `- ${t}`).join('\n');
|
|
46
|
-
return md;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Format research results as markdown
|
|
50
|
-
*/
|
|
51
|
-
function formatResearchResults(topic, results) {
|
|
52
|
-
let md = `# Research: ${topic}\n\n`;
|
|
53
|
-
md += `## Summary\n\n${results.summary}\n\n`;
|
|
54
|
-
md += '## Sources\n\n';
|
|
55
|
-
md += results.sources.map((s) => `- ${s}`).join('\n');
|
|
56
|
-
md += '\n\n*Generated by KATASHIRO*';
|
|
57
|
-
return md;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Format summary as markdown
|
|
61
|
-
*/
|
|
62
|
-
function formatSummary(content, style, maxPreviewLength = 200) {
|
|
63
|
-
const preview = content.substring(0, maxPreviewLength);
|
|
64
|
-
const ellipsis = content.length > maxPreviewLength ? '...' : '';
|
|
65
|
-
return `# Summary (${style})\n\n${preview}${ellipsis}\n\n*Generated by KATASHIRO*`;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Format report as markdown
|
|
69
|
-
*/
|
|
70
|
-
function formatReport(topic, format) {
|
|
71
|
-
return `# Report: ${topic}\n\nFormat: ${format}\n\n## Introduction\n\n...\n\n## Conclusion\n\n...\n\n*Generated by KATASHIRO*`;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Count words in content
|
|
75
|
-
*/
|
|
76
|
-
function countWords(content) {
|
|
77
|
-
if (!content || !content.trim()) {
|
|
78
|
-
return 0;
|
|
79
|
-
}
|
|
80
|
-
return content.trim().split(/\s+/).length;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Format error message
|
|
84
|
-
*/
|
|
85
|
-
function formatErrorMessage(message, error) {
|
|
86
|
-
const errorMessage = error instanceof Error ? error.message : 'Unknown error';
|
|
87
|
-
return `${message}: ${errorMessage}`;
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Validate input is not empty
|
|
91
|
-
*/
|
|
92
|
-
function validateInput(input) {
|
|
93
|
-
return typeof input === 'string' && input.trim().length > 0;
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* Summary style options
|
|
97
|
-
*/
|
|
98
|
-
exports.SUMMARY_STYLES = ['brief', 'detailed', 'bullet'];
|
|
99
|
-
/**
|
|
100
|
-
* Validate summary style
|
|
101
|
-
*/
|
|
102
|
-
function isValidSummaryStyle(style) {
|
|
103
|
-
return exports.SUMMARY_STYLES.includes(style);
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Research depth options
|
|
107
|
-
*/
|
|
108
|
-
exports.RESEARCH_DEPTHS = ['shallow', 'moderate', 'deep'];
|
|
109
|
-
/**
|
|
110
|
-
* Validate research depth
|
|
111
|
-
*/
|
|
112
|
-
function isValidResearchDepth(depth) {
|
|
113
|
-
return exports.RESEARCH_DEPTHS.includes(depth);
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Report format options
|
|
117
|
-
*/
|
|
118
|
-
exports.REPORT_FORMATS = ['markdown', 'html', 'pdf'];
|
|
119
|
-
/**
|
|
120
|
-
* Validate report format
|
|
121
|
-
*/
|
|
122
|
-
function isValidReportFormat(format) {
|
|
123
|
-
return exports.REPORT_FORMATS.includes(format);
|
|
124
|
-
}
|
|
125
|
-
//# sourceMappingURL=command-helpers.js.map
|
|
@@ -1 +0,0 @@
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AAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,CAAC;IAC9E,OAAO,GAAG,OAAO,KAAK,YAAY,EAAE,CAAC;AACvC,CAAC;AAED;;GAEG;AACH,SAAgB,aAAa,CAAC,KAAgC;IAC5D,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;AAC9D,CAAC;AAED;;GAEG;AACU,QAAA,cAAc,GAAG,CAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,CAAU,CAAC;AAGvE;;GAEG;AACH,SAAgB,mBAAmB,CAAC,KAAa;IAC/C,OAAO,sBAAc,CAAC,QAAQ,CAAC,KAAqB,CAAC,CAAC;AACxD,CAAC;AAED;;GAEG;AACU,QAAA,eAAe,GAAG,CAAC,SAAS,EAAE,UAAU,EAAE,MAAM,CAAU,CAAC;AAGxE;;GAEG;AACH,SAAgB,oBAAoB,CAAC,KAAa;IAChD,OAAO,uBAAe,CAAC,QAAQ,CAAC,KAAsB,CAAC,CAAC;AAC1D,CAAC;AAED;;GAEG;AACU,QAAA,cAAc,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,CAAU,CAAC;AAGnE;;GAEG;AACH,SAAgB,mBAAmB,CAAC,MAAc;IAChD,OAAO,sBAAc,CAAC,QAAQ,CAAC,MAAsB,CAAC,CAAC;AACzD,CAAC"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CommandManager - VS Code command registration and handling
|
|
3
|
-
*
|
|
4
|
-
* @module katashiro
|
|
5
|
-
* @task TSK-071
|
|
6
|
-
*/
|
|
7
|
-
import * as vscode from 'vscode';
|
|
8
|
-
import type { OutputChannelManager } from '../ui/output-channel-manager.js';
|
|
9
|
-
/**
|
|
10
|
-
* CommandManager
|
|
11
|
-
*
|
|
12
|
-
* Manages registration and execution of VS Code commands
|
|
13
|
-
*/
|
|
14
|
-
export declare class CommandManager {
|
|
15
|
-
private readonly context;
|
|
16
|
-
private readonly output;
|
|
17
|
-
constructor(context: vscode.ExtensionContext, output: OutputChannelManager);
|
|
18
|
-
/**
|
|
19
|
-
* Register all commands
|
|
20
|
-
*/
|
|
21
|
-
registerAll(): void;
|
|
22
|
-
/**
|
|
23
|
-
* Register a command
|
|
24
|
-
*/
|
|
25
|
-
private register;
|
|
26
|
-
/**
|
|
27
|
-
* Web Search command
|
|
28
|
-
*/
|
|
29
|
-
private webSearch;
|
|
30
|
-
/**
|
|
31
|
-
* Analyze Content command
|
|
32
|
-
*/
|
|
33
|
-
private analyzeContent;
|
|
34
|
-
/**
|
|
35
|
-
* Generate Summary command
|
|
36
|
-
*/
|
|
37
|
-
private generateSummary;
|
|
38
|
-
/**
|
|
39
|
-
* Research Topic command
|
|
40
|
-
*/
|
|
41
|
-
private researchTopic;
|
|
42
|
-
/**
|
|
43
|
-
* Generate Report command
|
|
44
|
-
*/
|
|
45
|
-
private generateReport;
|
|
46
|
-
/**
|
|
47
|
-
* Show Knowledge Graph command
|
|
48
|
-
*/
|
|
49
|
-
private showKnowledgeGraph;
|
|
50
|
-
/**
|
|
51
|
-
* Start MCP Server command
|
|
52
|
-
*/
|
|
53
|
-
private startMcpServer;
|
|
54
|
-
private performWebSearch;
|
|
55
|
-
private formatSearchResults;
|
|
56
|
-
private performContentAnalysis;
|
|
57
|
-
private formatAnalysis;
|
|
58
|
-
private performSummaryGeneration;
|
|
59
|
-
private performResearch;
|
|
60
|
-
private formatResearchResults;
|
|
61
|
-
private performReportGeneration;
|
|
62
|
-
private handleError;
|
|
63
|
-
}
|
|
64
|
-
//# sourceMappingURL=command-manager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"command-manager.d.ts","sourceRoot":"","sources":["../../src/commands/command-manager.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AACjC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAE5E;;;;GAIG;AACH,qBAAa,cAAc;IAEvB,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,MAAM;gBADN,OAAO,EAAE,MAAM,CAAC,gBAAgB,EAChC,MAAM,EAAE,oBAAoB;IAG/C;;OAEG;IACH,WAAW,IAAI,IAAI;IAanB;;OAEG;IACH,OAAO,CAAC,QAAQ;IAQhB;;OAEG;YACW,SAAS;IAsCvB;;OAEG;YACW,cAAc;IA6C5B;;OAEG;YACW,eAAe;IAwD7B;;OAEG;YACW,aAAa;IAwD3B;;OAEG;YACW,cAAc;IAkD5B;;OAEG;YACW,kBAAkB;IAShC;;OAEG;YACW,cAAc;YAgBd,gBAAgB;IAkB9B,OAAO,CAAC,mBAAmB;YAgBb,sBAAsB;IAepC,OAAO,CAAC,cAAc;YAgBR,wBAAwB;YASxB,eAAe;IAY7B,OAAO,CAAC,qBAAqB;YAYf,uBAAuB;IAQrC,OAAO,CAAC,WAAW;CAMpB"}
|