@meet-ai/cli 0.0.25 → 0.0.27

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 +15 -12
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -15346,7 +15346,6 @@ var init_inbox_router = __esm(() => {
15346
15346
  });
15347
15347
 
15348
15348
  // src/commands/listen/usecase.ts
15349
- import { execFileSync } from "node:child_process";
15350
15349
  function routeToInbox(msg, inboxDir, defaultInboxPath, teamDir, stdinPane, attachmentPaths) {
15351
15350
  const entry = {
15352
15351
  from: `meet-ai:${msg.sender}`,
@@ -15363,9 +15362,7 @@ function routeToInbox(msg, inboxDir, defaultInboxPath, teamDir, stdinPane, attac
15363
15362
  for (const target of targets) {
15364
15363
  appendToInbox(`${inboxDir}/${target}.json`, entry);
15365
15364
  }
15366
- } else if (stdinPane) {
15367
- execFileSync("tmux", ["send-keys", "-t", stdinPane, msg.content, "Enter"]);
15368
- } else if (defaultInboxPath) {
15365
+ } else if (stdinPane) {} else if (defaultInboxPath) {
15369
15366
  appendToInbox(defaultInboxPath, entry);
15370
15367
  }
15371
15368
  }
@@ -17060,9 +17057,11 @@ function parseYamlFrontmatter(content) {
17060
17057
  const body = match[1];
17061
17058
  const nameMatch = body.match(/^name:\s*(.+)$/m);
17062
17059
  const descMatch = body.match(/^description:\s*(.+)$/m);
17060
+ const disableMatch = body.match(/^disable-model-invocation:\s*(.+)$/m);
17063
17061
  return {
17064
17062
  name: nameMatch?.[1]?.trim(),
17065
- description: descMatch?.[1]?.trim()
17063
+ description: descMatch?.[1]?.trim(),
17064
+ disableModelInvocation: disableMatch?.[1]?.trim() === "true"
17066
17065
  };
17067
17066
  }
17068
17067
  async function readSkillsFromDir(baseDir, source, scope) {
@@ -17087,6 +17086,8 @@ async function readSkillsFromDir(baseDir, source, scope) {
17087
17086
  continue;
17088
17087
  if (!fm.description)
17089
17088
  continue;
17089
+ if (fm.disableModelInvocation)
17090
+ continue;
17090
17091
  results.push({
17091
17092
  name: fm.name ?? entry,
17092
17093
  description: fm.description,
@@ -17119,6 +17120,8 @@ async function readCommandsFromDir(commandsDir, source, scope) {
17119
17120
  const fm = parseYamlFrontmatter(content);
17120
17121
  if (!fm || !fm.description)
17121
17122
  continue;
17123
+ if (fm.disableModelInvocation)
17124
+ continue;
17122
17125
  const fallbackName = entry.name.slice(0, -3);
17123
17126
  results.push({
17124
17127
  name: fm.name ?? fallbackName,
@@ -20853,7 +20856,7 @@ var init_wrap_ansi = __esm(() => {
20853
20856
 
20854
20857
  // ../../node_modules/.bun/terminal-size@4.0.1/node_modules/terminal-size/index.js
20855
20858
  import process4 from "node:process";
20856
- import { execFileSync as execFileSync2 } from "node:child_process";
20859
+ import { execFileSync } from "node:child_process";
20857
20860
  import fs from "node:fs";
20858
20861
  import tty from "node:tty";
20859
20862
  function terminalSize() {
@@ -20879,7 +20882,7 @@ function terminalSize() {
20879
20882
  }
20880
20883
  return devTty() ?? tput() ?? resize() ?? fallback;
20881
20884
  }
20882
- var defaultColumns = 80, defaultRows = 24, exec2 = (command, arguments_, { shell, env: env2 } = {}) => execFileSync2(command, arguments_, {
20885
+ var defaultColumns = 80, defaultRows = 24, exec2 = (command, arguments_, { shell, env: env2 } = {}) => execFileSync(command, arguments_, {
20883
20886
  encoding: "utf8",
20884
20887
  stdio: ["ignore", "pipe", "ignore"],
20885
20888
  timeout: 500,
@@ -54638,7 +54641,7 @@ var init_build2 = __esm(async () => {
54638
54641
  });
54639
54642
 
54640
54643
  // src/lib/tmux-client.ts
54641
- import { execFileSync as execFileSync3, execFile as execFileCb } from "node:child_process";
54644
+ import { execFileSync as execFileSync2, execFile as execFileCb } from "node:child_process";
54642
54645
  function validateSessionName(name) {
54643
54646
  if (!SESSION_NAME_RE.test(name) || name.length > 256) {
54644
54647
  throw new Error(`Invalid tmux session name: ${name}`);
@@ -54662,7 +54665,7 @@ class TmuxClient {
54662
54665
  }
54663
54666
  checkAvailability() {
54664
54667
  try {
54665
- const result = execFileSync3("tmux", ["-V"], {
54668
+ const result = execFileSync2("tmux", ["-V"], {
54666
54669
  encoding: "utf8",
54667
54670
  timeout: 5000,
54668
54671
  stdio: ["pipe", "pipe", "pipe"]
@@ -54793,7 +54796,7 @@ class TmuxClient {
54793
54796
  attachSession(name) {
54794
54797
  validateSessionName(name);
54795
54798
  try {
54796
- execFileSync3("tmux", ["-L", this.server, "attach", "-t", name], {
54799
+ execFileSync2("tmux", ["-L", this.server, "attach", "-t", name], {
54797
54800
  stdio: "inherit",
54798
54801
  timeout: 0
54799
54802
  });
@@ -54804,7 +54807,7 @@ class TmuxClient {
54804
54807
  }
54805
54808
  exec(args) {
54806
54809
  try {
54807
- const output = execFileSync3("tmux", args, {
54810
+ const output = execFileSync2("tmux", args, {
54808
54811
  encoding: "utf8",
54809
54812
  timeout: 5000,
54810
54813
  stdio: ["pipe", "pipe", "pipe"]
@@ -56311,7 +56314,7 @@ init_output();
56311
56314
  var main = defineCommand({
56312
56315
  meta: {
56313
56316
  name: "meet-ai",
56314
- version: "0.0.25",
56317
+ version: "0.0.27",
56315
56318
  description: "CLI for meet-ai chat rooms — create rooms, send messages, and stream via WebSocket"
56316
56319
  },
56317
56320
  args: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meet-ai/cli",
3
- "version": "0.0.25",
3
+ "version": "0.0.27",
4
4
  "description": "CLI for meet-ai chat rooms — create rooms, send messages, and stream via WebSocket",
5
5
  "keywords": [
6
6
  "chat",