@jarvis-agent/core 0.3.0 → 0.3.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.
@@ -8,6 +8,12 @@ export default class WatchTriggerTool implements Tool {
8
8
  readonly parameters: JSONSchema7;
9
9
  constructor();
10
10
  execute(args: Record<string, unknown>, agentContext: AgentContext): Promise<ToolResult>;
11
+ /** Check if the primary LLM supports vision */
12
+ private isVisionModel;
13
+ /** Get page text content via extract_page_content */
14
+ private get_page_content;
15
+ /** Check if condition is met using text-based LLM analysis */
16
+ private is_condition_met;
11
17
  private get_screenshot;
12
18
  private init_eko_observer;
13
19
  private has_eko_changed;
@@ -1 +1 @@
1
- {"version":3,"file":"watch-trigger.d.ts","sourceRoot":"","sources":["../../src/tools/watch-trigger.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAExD,eAAO,MAAM,SAAS,kBAAkB,CAAC;AAwBzC,MAAM,CAAC,OAAO,OAAO,gBAAiB,YAAW,IAAI;IACnD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAa;IAClC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,EAAE,WAAW,CAAC;;IA+C3B,OAAO,CACX,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,YAAY,EAAE,YAAY,GACzB,OAAO,CAAC,UAAU,CAAC;YAuER,cAAc;YAkBd,iBAAiB;YA8BjB,eAAe;YAoBf,aAAa;CAqD5B;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
1
+ {"version":3,"file":"watch-trigger.d.ts","sourceRoot":"","sources":["../../src/tools/watch-trigger.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAExD,eAAO,MAAM,SAAS,kBAAkB,CAAC;AA2CzC,MAAM,CAAC,OAAO,OAAO,gBAAiB,YAAW,IAAI;IACnD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAa;IAClC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,EAAE,WAAW,CAAC;;IA+C3B,OAAO,CACX,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,YAAY,EAAE,YAAY,GACzB,OAAO,CAAC,UAAU,CAAC;IA+GtB,+CAA+C;IAC/C,OAAO,CAAC,aAAa;IAgBrB,qDAAqD;YACvC,gBAAgB;IAO9B,8DAA8D;YAChD,gBAAgB;YAmChB,cAAc;YAkBd,iBAAiB;YA8BjB,eAAe;YAoBf,aAAa;CAqD5B;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jarvis-agent/core",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "A production-ready JavaScript AI Agent framework for creating reliable agents across browser and Node.js environments.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",