micro-models-agent 0.7.0 → 0.7.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 +3 -41
  2. package/package.json +2 -2
package/dist/main.js CHANGED
@@ -7,24 +7,6 @@ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  function __accessProp(key) {
8
8
  return this[key];
9
9
  }
10
- var __reExport = (target, mod, secondTarget) => {
11
- var keys = __getOwnPropNames(mod);
12
- for (let key of keys)
13
- if (!__hasOwnProp.call(target, key) && key !== "default")
14
- __defProp(target, key, {
15
- get: __accessProp.bind(mod, key),
16
- enumerable: true
17
- });
18
- if (secondTarget) {
19
- for (let key of keys)
20
- if (!__hasOwnProp.call(secondTarget, key) && key !== "default")
21
- __defProp(secondTarget, key, {
22
- get: __accessProp.bind(mod, key),
23
- enumerable: true
24
- });
25
- return secondTarget;
26
- }
27
- };
28
10
  var __toESMCache_node;
29
11
  var __toESMCache_esm;
30
12
  var __toESM = (mod, isNodeMode, target) => {
@@ -48,19 +30,6 @@ var __toESM = (mod, isNodeMode, target) => {
48
30
  return to;
49
31
  };
50
32
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
51
- var __returnValue = (v) => v;
52
- function __exportSetter(name, newValue) {
53
- this[name] = __returnValue.bind(null, newValue);
54
- }
55
- var __export = (target, all) => {
56
- for (var name in all)
57
- __defProp(target, name, {
58
- get: all[name],
59
- enumerable: true,
60
- configurable: true,
61
- set: __exportSetter.bind(all, name)
62
- });
63
- };
64
33
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
65
34
 
66
35
  // node_modules/commander/lib/error.js
@@ -7851,15 +7820,8 @@ var searchHistoryTool = {
7851
7820
  }
7852
7821
  };
7853
7822
 
7854
- // node_modules/playwright/index.mjs
7855
- var exports_playwright = {};
7856
- __export(exports_playwright, {
7857
- default: () => playwright_default
7858
- });
7859
- __reExport(exports_playwright, playwright_core);
7860
- import"playwright-core";
7861
- import playwright from "playwright-core";
7862
- var playwright_default = playwright;
7823
+ // src/modules/browser/session.ts
7824
+ import { chromium } from "playwright";
7863
7825
 
7864
7826
  // src/modules/browser/snapshot.ts
7865
7827
  function inferRole(tag, type) {
@@ -8144,7 +8106,7 @@ class BrowserSession {
8144
8106
  async launch() {
8145
8107
  if (this.browser)
8146
8108
  return;
8147
- this.browser = await exports_playwright.chromium.launch({ headless: this.config.headless });
8109
+ this.browser = await chromium.launch({ headless: this.config.headless });
8148
8110
  this.context = await this.browser.newContext({
8149
8111
  viewport: { width: this.config.viewportWidth, height: this.config.viewportHeight }
8150
8112
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "micro-models-agent",
3
- "version": "0.7.0",
3
+ "version": "0.7.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": {
@@ -19,7 +19,7 @@
19
19
  "build:copy-assets": "powershell -Command \"Copy-Item -Recurse -Force 'src/modules/skills/builtin' 'dist/skills/builtin'\"",
20
20
  "build:prod": "bun run 'build:bundle' && bun run 'build:copy-assets'",
21
21
  "build:clean": "cmd /c \"if exist dist rmdir /s /q dist\"",
22
- "build:bundle": "bun build ./src/cli/main.ts --outfile ./dist/main.js --target node --format esm --external playwright-core",
22
+ "build:bundle": "bun build ./src/cli/main.ts --outfile ./dist/main.js --target node --format esm --external playwright",
23
23
  "dev": "bun --watch src/cli/main.ts",
24
24
  "typecheck": "tsc --noEmit",
25
25
  "test": "vitest run",