@kya-os/cli 0.1.0-beta.14 → 0.1.0-beta.15
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 +1 -1
- package/dist/index.js +11 -24
- package/package.json +4 -5
- package/dist/commands/cli-experience-demo-simple.d.ts +0 -14
- package/dist/commands/cli-experience-demo-simple.d.ts.map +0 -1
- package/dist/commands/cli-experience-demo-simple.js +0 -119
- package/dist/commands/cli-experience-demo-simple.js.map +0 -1
- package/dist/commands/cli-experience-demo.d.ts +0 -14
- package/dist/commands/cli-experience-demo.d.ts.map +0 -1
- package/dist/commands/cli-experience-demo.js +0 -172
- package/dist/commands/cli-experience-demo.js.map +0 -1
- package/dist/commands/effects-demo.d.ts +0 -10
- package/dist/commands/effects-demo.d.ts.map +0 -1
- package/dist/commands/effects-demo.js +0 -292
- package/dist/commands/effects-demo.js.map +0 -1
- package/dist/commands/test-components.d.ts +0 -5
- package/dist/commands/test-components.d.ts.map +0 -1
- package/dist/commands/test-components.js +0 -86
- package/dist/commands/test-components.js.map +0 -1
- package/dist/dev.d.ts +0 -7
- package/dist/dev.d.ts.map +0 -1
- package/dist/dev.js +0 -9
- package/dist/dev.js.map +0 -1
- package/dist/effects/__tests__/effects.test.d.ts +0 -5
- package/dist/effects/__tests__/effects.test.d.ts.map +0 -1
- package/dist/effects/__tests__/effects.test.js +0 -210
- package/dist/effects/__tests__/effects.test.js.map +0 -1
- package/dist/effects/implementations/binary-path.d.ts +0 -88
- package/dist/effects/implementations/binary-path.d.ts.map +0 -1
- package/dist/effects/implementations/binary-path.js +0 -296
- package/dist/effects/implementations/binary-path.js.map +0 -1
- package/dist/effects/implementations/test.d.ts +0 -113
- package/dist/effects/implementations/test.d.ts.map +0 -1
- package/dist/effects/implementations/test.js +0 -552
- package/dist/effects/implementations/test.js.map +0 -1
- package/dist/effects/template/effect-template.d.ts +0 -97
- package/dist/effects/template/effect-template.d.ts.map +0 -1
- package/dist/effects/template/effect-template.js +0 -208
- package/dist/effects/template/effect-template.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Effect Template
|
|
3
|
-
* Base template for creating new terminal effects
|
|
4
|
-
*
|
|
5
|
-
* To create a new effect:
|
|
6
|
-
* 1. Copy this file and rename it to your effect name
|
|
7
|
-
* 2. Update the class name and description
|
|
8
|
-
* 3. Define your effect-specific options interface
|
|
9
|
-
* 4. Implement the effect logic in onInitialize and render
|
|
10
|
-
* 5. Register your effect in src/effects/index.ts
|
|
11
|
-
*/
|
|
12
|
-
import { BaseEffect } from "../types.js";
|
|
13
|
-
/**
|
|
14
|
-
* Configuration options for the Template effect
|
|
15
|
-
* Define all customizable parameters here
|
|
16
|
-
*/
|
|
17
|
-
export interface TemplateEffectOptions {
|
|
18
|
-
/** Duration in milliseconds */
|
|
19
|
-
duration?: number;
|
|
20
|
-
/** Primary color for the effect */
|
|
21
|
-
primaryColor?: string;
|
|
22
|
-
/** Secondary color for the effect */
|
|
23
|
-
secondaryColor?: string;
|
|
24
|
-
/** Speed multiplier for animations */
|
|
25
|
-
speed?: number;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Template Effect implementation
|
|
29
|
-
* Replace "Template" with your effect name throughout
|
|
30
|
-
*/
|
|
31
|
-
export declare class TemplateEffect extends BaseEffect {
|
|
32
|
-
readonly name = "Template";
|
|
33
|
-
readonly description = "Description of what this effect does";
|
|
34
|
-
private options;
|
|
35
|
-
private animationFrameCount;
|
|
36
|
-
private totalFrames;
|
|
37
|
-
private _isEffectComplete;
|
|
38
|
-
private effectState;
|
|
39
|
-
constructor(options?: TemplateEffectOptions);
|
|
40
|
-
/**
|
|
41
|
-
* Initialize the effect
|
|
42
|
-
* Called when the effect starts
|
|
43
|
-
*/
|
|
44
|
-
protected onInitialize(): void;
|
|
45
|
-
/**
|
|
46
|
-
* Render the next frame
|
|
47
|
-
* This is called for each frame of the animation
|
|
48
|
-
*/
|
|
49
|
-
render(): Promise<string[]>;
|
|
50
|
-
/**
|
|
51
|
-
* Update the effect state for the current frame
|
|
52
|
-
* Implement your animation logic here
|
|
53
|
-
*/
|
|
54
|
-
private updateEffectState;
|
|
55
|
-
/**
|
|
56
|
-
* Determine how to render a specific character
|
|
57
|
-
* This is where the visual effect is applied
|
|
58
|
-
*/
|
|
59
|
-
private getCharacterRender;
|
|
60
|
-
/**
|
|
61
|
-
* Interpolate between two colors
|
|
62
|
-
* Utility method for color transitions
|
|
63
|
-
*/
|
|
64
|
-
private interpolateColor;
|
|
65
|
-
/**
|
|
66
|
-
* Get ANSI color code for a color
|
|
67
|
-
* Converts color to terminal escape sequence
|
|
68
|
-
*/
|
|
69
|
-
private getColorCode;
|
|
70
|
-
/**
|
|
71
|
-
* Render fallback for when effects are disabled
|
|
72
|
-
* Simply returns the original text
|
|
73
|
-
*/
|
|
74
|
-
renderFallback(): string[];
|
|
75
|
-
/**
|
|
76
|
-
* Check if effect is complete
|
|
77
|
-
* Return true when the animation should end
|
|
78
|
-
*/
|
|
79
|
-
isComplete(): boolean;
|
|
80
|
-
/**
|
|
81
|
-
* Reset the effect
|
|
82
|
-
* Called when the effect needs to restart
|
|
83
|
-
*/
|
|
84
|
-
protected onReset(): void;
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* Example usage in src/effects/index.ts:
|
|
88
|
-
*
|
|
89
|
-
* import { TemplateEffect } from "./implementations/template.js";
|
|
90
|
-
*
|
|
91
|
-
* registerEffect({
|
|
92
|
-
* name: "template",
|
|
93
|
-
* description: "Description of what this effect does",
|
|
94
|
-
* factory: () => new TemplateEffect(),
|
|
95
|
-
* });
|
|
96
|
-
*/
|
|
97
|
-
//# sourceMappingURL=effect-template.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"effect-template.d.ts","sourceRoot":"","sources":["../../../src/effects/template/effect-template.ts"],"names":[],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file and rename it to your effect name
|
|
7
|
-
* 2. Update the class name and description
|
|
8
|
-
* 3. Define your effect-specific options interface
|
|
9
|
-
* 4. Implement the effect logic in onInitialize and render
|
|
10
|
-
* 5. Register your effect in src/effects/index.ts
|
|
11
|
-
*/
|
|
12
|
-
import { BaseEffect } from "../types.js";
|
|
13
|
-
import { ANSI, easeInOutSine } from "../utils.js";
|
|
14
|
-
/**
|
|
15
|
-
* Template Effect implementation
|
|
16
|
-
* Replace "Template" with your effect name throughout
|
|
17
|
-
*/
|
|
18
|
-
export class TemplateEffect extends BaseEffect {
|
|
19
|
-
constructor(options = {}) {
|
|
20
|
-
super();
|
|
21
|
-
// Effect metadata
|
|
22
|
-
this.name = "Template"; // Change this to your effect name
|
|
23
|
-
this.description = "Description of what this effect does"; // Update description
|
|
24
|
-
// Internal state
|
|
25
|
-
this.animationFrameCount = 0;
|
|
26
|
-
this.totalFrames = 0;
|
|
27
|
-
this._isEffectComplete = false;
|
|
28
|
-
// Merge provided options with defaults
|
|
29
|
-
this.options = {
|
|
30
|
-
duration: 3000,
|
|
31
|
-
primaryColor: "00ff00",
|
|
32
|
-
secondaryColor: "ffffff",
|
|
33
|
-
speed: 1.0,
|
|
34
|
-
// Set default values for all options
|
|
35
|
-
...options,
|
|
36
|
-
};
|
|
37
|
-
// Initialize state
|
|
38
|
-
this.effectState = {
|
|
39
|
-
exampleProperty: 0,
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Initialize the effect
|
|
44
|
-
* Called when the effect starts
|
|
45
|
-
*/
|
|
46
|
-
onInitialize() {
|
|
47
|
-
// Calculate total frames based on duration and frame rate
|
|
48
|
-
this.totalFrames = Math.floor((this.options.duration / 1000) * this.config.frameRate);
|
|
49
|
-
// Reset counters
|
|
50
|
-
this.animationFrameCount = 0;
|
|
51
|
-
this._isEffectComplete = false;
|
|
52
|
-
// Initialize character states
|
|
53
|
-
// Example: Hide all characters initially
|
|
54
|
-
for (const char of this.characters) {
|
|
55
|
-
char.visual.symbol = " ";
|
|
56
|
-
char.visual.colors.fg = this.options.primaryColor;
|
|
57
|
-
}
|
|
58
|
-
// Set up any initial state needed for the effect
|
|
59
|
-
this.effectState = {
|
|
60
|
-
exampleProperty: 0,
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Render the next frame
|
|
65
|
-
* This is called for each frame of the animation
|
|
66
|
-
*/
|
|
67
|
-
async render() {
|
|
68
|
-
if (!this.isInitialized) {
|
|
69
|
-
throw new Error("Effect not initialized");
|
|
70
|
-
}
|
|
71
|
-
// Update effect state for this frame
|
|
72
|
-
this.updateEffectState();
|
|
73
|
-
// Render text line by line
|
|
74
|
-
const lines = this.text.split("\n");
|
|
75
|
-
const renderedLines = [];
|
|
76
|
-
for (let y = 0; y < lines.length; y++) {
|
|
77
|
-
let line = "";
|
|
78
|
-
const chars = [...lines[y]];
|
|
79
|
-
for (let x = 0; x < chars.length; x++) {
|
|
80
|
-
const char = chars[x];
|
|
81
|
-
// Apply effect logic to determine how to render this character
|
|
82
|
-
const { symbol, color } = this.getCharacterRender(char, x, y);
|
|
83
|
-
if (color) {
|
|
84
|
-
const colorCode = this.getColorCode(color);
|
|
85
|
-
const resetCode = ANSI.reset;
|
|
86
|
-
line += colorCode + symbol + resetCode;
|
|
87
|
-
}
|
|
88
|
-
else {
|
|
89
|
-
line += symbol;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
renderedLines.push(line);
|
|
93
|
-
}
|
|
94
|
-
// Increment frame counter
|
|
95
|
-
this.animationFrameCount++;
|
|
96
|
-
return renderedLines;
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* Update the effect state for the current frame
|
|
100
|
-
* Implement your animation logic here
|
|
101
|
-
*/
|
|
102
|
-
updateEffectState() {
|
|
103
|
-
// Calculate animation progress (0 to 1)
|
|
104
|
-
const progress = this.animationFrameCount / this.totalFrames;
|
|
105
|
-
// Apply easing for smooth animation
|
|
106
|
-
const easedProgress = easeInOutSine(progress);
|
|
107
|
-
// Update state based on progress
|
|
108
|
-
this.effectState.exampleProperty = easedProgress;
|
|
109
|
-
// Example: Check if effect should complete
|
|
110
|
-
if (progress >= 1.0) {
|
|
111
|
-
this._isEffectComplete = true;
|
|
112
|
-
}
|
|
113
|
-
// Add your effect-specific state updates here
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Determine how to render a specific character
|
|
117
|
-
* This is where the visual effect is applied
|
|
118
|
-
*/
|
|
119
|
-
getCharacterRender(char, _x, _y) {
|
|
120
|
-
// Example: Simple fade-in effect
|
|
121
|
-
const progress = this.effectState.exampleProperty;
|
|
122
|
-
if (progress < 0.5) {
|
|
123
|
-
// First half: show nothing
|
|
124
|
-
return { symbol: " ", color: null };
|
|
125
|
-
}
|
|
126
|
-
else {
|
|
127
|
-
// Second half: fade in the character
|
|
128
|
-
const fadeProgress = (progress - 0.5) * 2;
|
|
129
|
-
const color = this.interpolateColor("000000", this.options.primaryColor, fadeProgress);
|
|
130
|
-
return { symbol: char, color };
|
|
131
|
-
}
|
|
132
|
-
// Implement your effect-specific rendering logic here
|
|
133
|
-
}
|
|
134
|
-
/**
|
|
135
|
-
* Interpolate between two colors
|
|
136
|
-
* Utility method for color transitions
|
|
137
|
-
*/
|
|
138
|
-
interpolateColor(color1, color2, factor) {
|
|
139
|
-
const r1 = parseInt(color1.substring(0, 2), 16);
|
|
140
|
-
const g1 = parseInt(color1.substring(2, 4), 16);
|
|
141
|
-
const b1 = parseInt(color1.substring(4, 6), 16);
|
|
142
|
-
const r2 = parseInt(color2.substring(0, 2), 16);
|
|
143
|
-
const g2 = parseInt(color2.substring(2, 4), 16);
|
|
144
|
-
const b2 = parseInt(color2.substring(4, 6), 16);
|
|
145
|
-
const r = Math.round(r1 + (r2 - r1) * factor);
|
|
146
|
-
const g = Math.round(g1 + (g2 - g1) * factor);
|
|
147
|
-
const b = Math.round(b1 + (b2 - b1) * factor);
|
|
148
|
-
return [r, g, b]
|
|
149
|
-
.map((c) => Math.max(0, Math.min(255, c)).toString(16).padStart(2, "0"))
|
|
150
|
-
.join("");
|
|
151
|
-
}
|
|
152
|
-
/**
|
|
153
|
-
* Get ANSI color code for a color
|
|
154
|
-
* Converts color to terminal escape sequence
|
|
155
|
-
*/
|
|
156
|
-
getColorCode(color) {
|
|
157
|
-
if (!color || this.config.noColor) {
|
|
158
|
-
return "";
|
|
159
|
-
}
|
|
160
|
-
// For RGB colors, convert to ANSI 24-bit color
|
|
161
|
-
if (typeof color === "string") {
|
|
162
|
-
const r = parseInt(color.substring(0, 2), 16);
|
|
163
|
-
const g = parseInt(color.substring(2, 4), 16);
|
|
164
|
-
const b = parseInt(color.substring(4, 6), 16);
|
|
165
|
-
return `\x1b[38;2;${r};${g};${b}m`;
|
|
166
|
-
}
|
|
167
|
-
// For XTerm colors
|
|
168
|
-
return `\x1b[38;5;${color}m`;
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* Render fallback for when effects are disabled
|
|
172
|
-
* Simply returns the original text
|
|
173
|
-
*/
|
|
174
|
-
renderFallback() {
|
|
175
|
-
return this.text.split("\n");
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
* Check if effect is complete
|
|
179
|
-
* Return true when the animation should end
|
|
180
|
-
*/
|
|
181
|
-
isComplete() {
|
|
182
|
-
return this._isEffectComplete;
|
|
183
|
-
}
|
|
184
|
-
/**
|
|
185
|
-
* Reset the effect
|
|
186
|
-
* Called when the effect needs to restart
|
|
187
|
-
*/
|
|
188
|
-
onReset() {
|
|
189
|
-
this.animationFrameCount = 0;
|
|
190
|
-
this._isEffectComplete = false;
|
|
191
|
-
this.effectState = {
|
|
192
|
-
exampleProperty: 0,
|
|
193
|
-
};
|
|
194
|
-
this.onInitialize();
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* Example usage in src/effects/index.ts:
|
|
199
|
-
*
|
|
200
|
-
* import { TemplateEffect } from "./implementations/template.js";
|
|
201
|
-
*
|
|
202
|
-
* registerEffect({
|
|
203
|
-
* name: "template",
|
|
204
|
-
* description: "Description of what this effect does",
|
|
205
|
-
* factory: () => new TemplateEffect(),
|
|
206
|
-
* });
|
|
207
|
-
*/
|
|
208
|
-
//# sourceMappingURL=effect-template.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"effect-template.js","sourceRoot":"","sources":["../../../src/effects/template/effect-template.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,UAAU,EAAS,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AA6BlD;;;GAGG;AACH,MAAM,OAAO,cAAe,SAAQ,UAAU;IAc5C,YAAY,UAAiC,EAAE;QAC7C,KAAK,EAAE,CAAC;QAdV,kBAAkB;QACT,SAAI,GAAG,UAAU,CAAC,CAAC,kCAAkC;QACrD,gBAAW,GAAG,sCAAsC,CAAC,CAAC,qBAAqB;QAKpF,iBAAiB;QACT,wBAAmB,GAAW,CAAC,CAAC;QAChC,gBAAW,GAAW,CAAC,CAAC;QACxB,sBAAiB,GAAY,KAAK,CAAC;QAMzC,uCAAuC;QACvC,IAAI,CAAC,OAAO,GAAG;YACb,QAAQ,EAAE,IAAI;YACd,YAAY,EAAE,QAAQ;YACtB,cAAc,EAAE,QAAQ;YACxB,KAAK,EAAE,GAAG;YACV,qCAAqC;YACrC,GAAG,OAAO;SACX,CAAC;QAEF,mBAAmB;QACnB,IAAI,CAAC,WAAW,GAAG;YACjB,eAAe,EAAE,CAAC;SACnB,CAAC;IACJ,CAAC;IAED;;;OAGG;IACO,YAAY;QACpB,0DAA0D;QAC1D,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,KAAK,CAC3B,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,SAAS,CACvD,CAAC;QAEF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C;IAChC,CAAC;IAED;;;OAGG;IACO,OAAO;QACf,IAAI,CAAC,mBAAmB,GAAG,CAAC,CAAC;QAC7B,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG;YACjB,eAAe,EAAE,CAAC;SACnB,CAAC;QACF,IAAI,CAAC,YAAY,EAAE,CAAC;IACtB,CAAC;CACF;AAED;;;;;;;;;;GAUG"}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAYpC,eAAO,MAAM,OAAO,SAAgB,CAAC"}
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,MAAM,CAAC,MAAM,OAAO,GAAG,IAAI,OAAO,EAAE,CAAC;AAErC,iBAAiB;AACjB,MAAM,IAAI,G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