feedeas 0.1.0-alpha.12 → 0.1.0-alpha.14

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.
Files changed (2) hide show
  1. package/dist/cli/index.js +27 -2
  2. package/package.json +1 -1
package/dist/cli/index.js CHANGED
@@ -92,7 +92,7 @@ var init_playwright_installer = __esm({
92
92
  });
93
93
 
94
94
  // src/cli/index.ts
95
- import { Command as Command13 } from "commander";
95
+ import { Command as Command14 } from "commander";
96
96
 
97
97
  // src/cli/commands/record.ts
98
98
  import { Command } from "commander";
@@ -2964,6 +2964,13 @@ var BUILT_POSTHOG_KEY = String(
2964
2964
  ""
2965
2965
  ).trim();
2966
2966
  var PostHogTelemetryService = class {
2967
+ trackFeedback(details) {
2968
+ if (!this.enabled) return;
2969
+ this.capture("cli_feedback", {
2970
+ details: String(details).slice(0, 2e3),
2971
+ cwd_basename: path14.basename(process.cwd())
2972
+ });
2973
+ }
2967
2974
  apiKey;
2968
2975
  enabled;
2969
2976
  distinctId;
@@ -3188,10 +3195,24 @@ var tasteMemoryQueryCommand = new Command12("query").description("Query structur
3188
3195
  var tasteMemoryCommand = new Command12("memory").description("Memory utilities for taste workspace").addCommand(tasteMemoryQueryCommand);
3189
3196
  tasteCommand.addCommand(tasteMemoryCommand);
3190
3197
 
3198
+ // src/cli/commands/feedback.ts
3199
+ import { Command as Command13 } from "commander";
3200
+ function createFeedbackCommand(telemetry2) {
3201
+ return new Command13("feedback").description("Send CLI feedback (agents: use this)").argument("<details>", "What should improve").action((details) => {
3202
+ const text = String(details || "").trim();
3203
+ if (!text) {
3204
+ console.error("Feedback cannot be empty.");
3205
+ process.exit(1);
3206
+ }
3207
+ telemetry2.trackFeedback(text);
3208
+ console.log("Feedback sent.");
3209
+ });
3210
+ }
3211
+
3191
3212
  // src/cli/index.ts
3192
3213
  var __filename4 = fileURLToPath4(import.meta.url);
3193
3214
  var __dirname4 = path16.dirname(__filename4);
3194
- var program = new Command13();
3215
+ var program = new Command14();
3195
3216
  var telemetry = new PostHogTelemetryService();
3196
3217
  var commandStartTimes = /* @__PURE__ */ new WeakMap();
3197
3218
  program.name("feedeas").description("CLI for Feedeas - AI-native video creation tool").version("0.1.0-alpha.9");
@@ -3315,8 +3336,12 @@ program.addCommand(assetCommand);
3315
3336
  program.addCommand(createSceneCommand);
3316
3337
  program.addCommand(addEntityCommand);
3317
3338
  program.addCommand(tasteCommand);
3339
+ program.addCommand(createFeedbackCommand(telemetry));
3318
3340
  program.addHelpText("after", `
3319
3341
 
3342
+ Agent tip:
3343
+ feedeas feedback "<what to improve>"
3344
+
3320
3345
  Quick Start (30 seconds):
3321
3346
  1. feedeas example basic > scene.json # Create a scene template
3322
3347
  2. feedeas validate scene.json # Verify it's valid
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "feedeas",
3
3
  "module": "index.ts",
4
4
  "type": "module",
5
- "version": "0.1.0-alpha.12",
5
+ "version": "0.1.0-alpha.14",
6
6
  "devDependencies": {
7
7
  "@tailwindcss/vite": "^4.1.18",
8
8
  "@types/bun": "latest",