@meet-ai/cli 0.0.22 → 0.0.24

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/index.js +13 -48
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -17150,9 +17150,6 @@ async function listCommands(options) {
17150
17150
  const userClaudeDir = options._userClaudeDir ?? join3(homedir3(), ".claude");
17151
17151
  const pluginsFile = options._pluginsFile ?? join3(homedir3(), ".claude", "plugins", "installed_plugins.json");
17152
17152
  const results = [];
17153
- for (const cmd of BUILT_IN_COMMANDS) {
17154
- results.push({ ...cmd, type: "command", source: "built-in", scope: "user" });
17155
- }
17156
17153
  const userSkills = await readSkillsFromDir(userClaudeDir, "standalone", "user");
17157
17154
  results.push(...userSkills);
17158
17155
  const projectClaudeDir = join3(projectPath, ".claude");
@@ -17185,18 +17182,7 @@ async function listCommands(options) {
17185
17182
  }
17186
17183
  return results;
17187
17184
  }
17188
- var BUILT_IN_COMMANDS;
17189
- var init_usecase15 = __esm(() => {
17190
- BUILT_IN_COMMANDS = [
17191
- { name: "help", description: "Get help with using Claude Code" },
17192
- { name: "model", description: "Switch AI model" },
17193
- { name: "clear", description: "Clear conversation history" },
17194
- { name: "compact", description: "Compact conversation context" },
17195
- { name: "fast", description: "Toggle fast mode" },
17196
- { name: "cost", description: "Show usage costs" },
17197
- { name: "resume", description: "Resume previous session" }
17198
- ];
17199
- });
17185
+ var init_usecase15 = () => {};
17200
17186
 
17201
17187
  // src/commands/list-commands/command.ts
17202
17188
  var exports_command17 = {};
@@ -17233,31 +17219,15 @@ var init_command17 = __esm(() => {
17233
17219
  });
17234
17220
  });
17235
17221
 
17236
- // src/commands/send-commands/schema.ts
17237
- var SendCommandsInput;
17238
- var init_schema10 = __esm(() => {
17239
- init_zod();
17240
- SendCommandsInput = exports_external.object({
17241
- roomId: exports_external.string().min(1, "Room ID is required").regex(/^[a-zA-Z0-9_-]+$/, "Room ID must contain only alphanumeric characters, hyphens, and underscores"),
17242
- payload: exports_external.string().min(1, "JSON payload is required").refine((val) => {
17243
- try {
17244
- JSON.parse(val);
17245
- return true;
17246
- } catch {
17247
- return false;
17248
- }
17249
- }, { message: "Payload must be valid JSON" })
17250
- });
17251
- });
17252
-
17253
17222
  // src/commands/send-commands/usecase.ts
17254
17223
  async function sendCommands(client, input) {
17255
- const parsed = SendCommandsInput.parse(input);
17256
- await client.sendCommands(parsed.roomId, parsed.payload);
17224
+ const entries = await listCommands({ projectPath: input.projectPath });
17225
+ const payload = JSON.stringify({ commands: entries });
17226
+ await client.sendCommands(input.roomId, payload);
17257
17227
  ok("Commands sent");
17258
17228
  }
17259
17229
  var init_usecase16 = __esm(() => {
17260
- init_schema10();
17230
+ init_usecase15();
17261
17231
  init_output();
17262
17232
  });
17263
17233
 
@@ -17283,24 +17253,19 @@ var init_command18 = __esm(() => {
17283
17253
  description: "Room ID to send commands to",
17284
17254
  required: true
17285
17255
  },
17286
- payload: {
17287
- type: "positional",
17288
- description: "JSON commands payload",
17256
+ "project-path": {
17257
+ type: "string",
17258
+ description: "Path to the project (defaults to cwd)",
17289
17259
  required: false
17290
17260
  }
17291
17261
  },
17292
17262
  async run({ args }) {
17293
17263
  try {
17294
17264
  const client = getClient();
17295
- let payload = args.payload;
17296
- if (!payload) {
17297
- const chunks = [];
17298
- for await (const chunk of process.stdin) {
17299
- chunks.push(chunk);
17300
- }
17301
- payload = Buffer.concat(chunks).toString("utf8").trim();
17302
- }
17303
- await sendCommands(client, { roomId: args.roomId, payload });
17265
+ await sendCommands(client, {
17266
+ roomId: args.roomId,
17267
+ projectPath: args["project-path"]
17268
+ });
17304
17269
  } catch (error48) {
17305
17270
  err(error48 instanceof Error ? error48.message : String(error48));
17306
17271
  process.exit(1);
@@ -56336,7 +56301,7 @@ init_output();
56336
56301
  var main = defineCommand({
56337
56302
  meta: {
56338
56303
  name: "meet-ai",
56339
- version: "0.0.22",
56304
+ version: "0.0.24",
56340
56305
  description: "CLI for meet-ai chat rooms — create rooms, send messages, and stream via WebSocket"
56341
56306
  },
56342
56307
  args: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meet-ai/cli",
3
- "version": "0.0.22",
3
+ "version": "0.0.24",
4
4
  "description": "CLI for meet-ai chat rooms — create rooms, send messages, and stream via WebSocket",
5
5
  "keywords": [
6
6
  "chat",
@@ -12,11 +12,11 @@
12
12
  "license": "MIT",
13
13
  "repository": {
14
14
  "type": "git",
15
- "url": "https://github.com/SoftWare-A-G/meet-ai",
15
+ "url": "git+https://github.com/SoftWare-A-G/meet-ai.git",
16
16
  "directory": "packages/cli"
17
17
  },
18
18
  "bin": {
19
- "meet-ai": "./dist/index.js"
19
+ "meet-ai": "dist/index.js"
20
20
  },
21
21
  "files": [
22
22
  "dist"