@xuda.io/ai_module 1.1.5416 → 1.1.5418

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 +2 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -5374,6 +5374,7 @@ const get_plugin_tool = async function (app_id, uid, plugin_name, method, prop_d
5374
5374
  description: _method.tooltip,
5375
5375
  parameters: z.object(schema),
5376
5376
  async execute(e, RunContext) {
5377
+ debugger;
5377
5378
  const params = e || {};
5378
5379
  const { req, resolve, reject, env } = RunContext.context; //setup_doc
5379
5380
  try {
@@ -6140,7 +6141,7 @@ export const get_ai_workspace_pending_counts = async function (req, job_id, head
6140
6141
  const account_profile_info = await get_active_account_profile_info(uid);
6141
6142
  try {
6142
6143
  let data = {};
6143
- if (!account_profile_info.is_main) {
6144
+ if (account_profile_info.is_main) {
6144
6145
  const workspace_pending_counts_ret = await db_module.get_couch_view('xuda_team', 'pending_workspace_requests_count', {
6145
6146
  startkey: [uid, ''],
6146
6147
  endkey: [uid, 'zzzz'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5416",
3
+ "version": "1.1.5418",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",