micro-models-agent 0.39.0 → 0.39.1

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/main.js +45 -1
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -2151,8 +2151,12 @@ var init_config = __esm(() => {
2151
2151
  LANGUAGE_MAP = {
2152
2152
  ts: "typescript",
2153
2153
  tsx: "typescript",
2154
+ mts: "typescript",
2155
+ cts: "typescript",
2154
2156
  js: "javascript",
2155
2157
  jsx: "javascript",
2158
+ mjs: "javascript",
2159
+ cjs: "javascript",
2156
2160
  py: "python",
2157
2161
  rs: "rust",
2158
2162
  go: "go",
@@ -2643,6 +2647,8 @@ Available commands:`,
2643
2647
  "repl.reasoning_usage": "Usage: /reasoning",
2644
2648
  "repl.status": "Show agent status",
2645
2649
  "repl.status_usage": "Usage: /status",
2650
+ "repl.plugins": "List loaded plugins",
2651
+ "repl.plugins_usage": "Usage: /plugins [--all]",
2646
2652
  "repl.sessions": "List all sessions (* active)",
2647
2653
  "repl.sessions_usage": "Usage: /sessions",
2648
2654
  "repl.new": "Create a new session",
@@ -3256,6 +3262,8 @@ var init_ru = __esm(() => {
3256
3262
  "repl.reasoning_usage": "Использование: /reasoning",
3257
3263
  "repl.status": "Показать статус агента",
3258
3264
  "repl.status_usage": "Использование: /status",
3265
+ "repl.plugins": "Список загруженных плагинов",
3266
+ "repl.plugins_usage": "Использование: /plugins [--all]",
3259
3267
  "repl.sessions": "Список всех сессий (* активная)",
3260
3268
  "repl.sessions_usage": "Использование: /sessions",
3261
3269
  "repl.new": "Создать новую сессию",
@@ -29321,6 +29329,41 @@ Excluded blocks: ${info.excluded.length}`));
29321
29329
  console.log(`${t("repl.provider")} ${ctx.config.provider.type} @ ${ctx.config.provider.baseUrl}`);
29322
29330
  }
29323
29331
  });
29332
+ ctx.registerCommand({
29333
+ name: "plugins",
29334
+ description: t("repl.plugins"),
29335
+ usage: t("repl.plugins_usage"),
29336
+ action: (args) => {
29337
+ if (!ctx.pluginManager) {
29338
+ console.log(t("cli.plugins.none"));
29339
+ return;
29340
+ }
29341
+ const showAll = args.includes("--all");
29342
+ const infos = ctx.pluginManager.getPluginInfos();
29343
+ const filtered = showAll ? infos : infos.filter(({ plugin: plugin3 }) => !plugin3.isBuiltin);
29344
+ if (filtered.length === 0) {
29345
+ console.log(t("cli.plugins.none"));
29346
+ return;
29347
+ }
29348
+ const mmaVersion = version2;
29349
+ console.log(t("cli.plugins.header", {
29350
+ count: String(filtered.length),
29351
+ mma: mmaVersion
29352
+ }));
29353
+ for (const { plugin: plugin3, source } of filtered) {
29354
+ const v = plugin3.version || "-";
29355
+ const origin = source || "builtin";
29356
+ const mark = plugin3.isBuiltin ? t("cli.plugins.builtin_mark") : " ";
29357
+ console.log(` ${mark} ${plugin3.name} v${v} [${origin}]`);
29358
+ }
29359
+ if (!showAll) {
29360
+ const builtinCount = infos.filter(({ plugin: plugin3 }) => plugin3.isBuiltin).length;
29361
+ if (builtinCount > 0) {
29362
+ console.log(pc2.dim(` (${builtinCount} builtin hidden — /plugins --all to show)`));
29363
+ }
29364
+ }
29365
+ }
29366
+ });
29324
29367
  }
29325
29368
  function registerSessionCommands(ctx) {
29326
29369
  if (!ctx.sessionManager)
@@ -29580,7 +29623,8 @@ var init_repl_commands = __esm(() => {
29580
29623
  resume: "session",
29581
29624
  rename: "session",
29582
29625
  delete: "session",
29583
- skill: "skill"
29626
+ skill: "skill",
29627
+ plugins: "agent"
29584
29628
  };
29585
29629
  });
29586
29630
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "micro-models-agent",
3
- "version": "0.39.0",
3
+ "version": "0.39.1",
4
4
  "description": "Micro Models Agent (MMA) — LLM agent harness for small models (Qwen3.5-9B, 32K-64K context)",
5
5
  "type": "module",
6
6
  "bin": {