@xuda.io/ai_module 1.1.4955 → 1.1.4957

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/index.mjs +3 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3,7 +3,7 @@ console.log('AI Module loaded...');
3
3
  import { z } from 'zod';
4
4
  import fs from 'fs';
5
5
  import path from 'node:path';
6
- import { zodToJsonSchema } from 'zod-to-json-schema';
6
+
7
7
  import sharp from 'sharp';
8
8
 
9
9
  import puppeteer from 'puppeteer-extra';
@@ -18,8 +18,6 @@ import _ from 'lodash';
18
18
  import { NodeVM, VMScript } from 'vm2';
19
19
  import admin from 'firebase-admin';
20
20
 
21
- import { get_active_account_profile_info } from '/var/xuda/common/cache_cpi.mjs ';
22
-
23
21
  puppeteer.use(StealthPlugin());
24
22
  import process from 'process';
25
23
  import { File } from 'node:buffer'; // Node 20+
@@ -55,6 +53,8 @@ global._ = _;
55
53
  const _common = await import(path.join(process.env.XUDA_HOME, 'common', 'xuda_node_common.mjs'));
56
54
  const _utils = await import(path.join(process.env.XUDA_HOME, 'common', 'xuda-cpi-utils.mjs'));
57
55
 
56
+ const { get_active_account_profile_info } = await import(path.join(process.env.XUDA_HOME, 'common', 'cache_cpi.mjs'));
57
+
58
58
  const { createDoc, valid_menuType } = await import(`${runtime_modules_path}/xuda-studio-doc-utils.mjs`);
59
59
  const { xudaPrase } = await import(`${runtime_modules_path}/xuda-cli-plugin-html-parser-module.esm.mjs`);
60
60
  const { cast } = await import(`${runtime_modules_path}/xuda-get-cast-util-module.mjs`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4955",
3
+ "version": "1.1.4957",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",