@nocobase/plugin-ai 2.1.0-beta.23 → 2.1.0-beta.25
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.
- package/dist/ai/ai-employees/dara.js +1 -0
- package/dist/ai/tools/sub-agents/shared.js +3 -1
- package/dist/client/343.6f36d97dd122c5b6.js +10 -0
- package/dist/client/{559.133d286a0a0a1d93.js → 559.c119db3f985a695f.js} +1 -1
- package/dist/client/646.afa699c92cd556f3.js +10 -0
- package/dist/client/ai-employees/types.d.ts +2 -0
- package/dist/client/components/skill-settings.d.ts +2 -0
- package/dist/client/index.js +3 -3
- package/dist/client/llm-providers/mimo/ModelSettings.d.ts +10 -0
- package/dist/client/llm-providers/mimo/index.d.ts +10 -0
- package/dist/collections/ai-employees.d.ts +7 -0
- package/dist/collections/ai-employees.js +13 -0
- package/dist/externalVersion.js +15 -15
- package/dist/locale/en-US.json +2 -0
- package/dist/locale/zh-CN.json +2 -0
- package/dist/node_modules/fast-glob/package.json +1 -1
- package/dist/node_modules/flexsearch/package.json +1 -1
- package/dist/node_modules/fs-extra/package.json +1 -1
- package/dist/node_modules/jsonrepair/package.json +1 -1
- package/dist/node_modules/nodejs-snowflake/package.json +1 -1
- package/dist/node_modules/openai/package.json +1 -1
- package/dist/node_modules/zod/package.json +1 -1
- package/dist/server/ai-employees/ai-employee.js +9 -3
- package/dist/server/llm-providers/common/reasoning.d.ts +0 -7
- package/dist/server/llm-providers/common/reasoning.js +16 -36
- package/dist/server/llm-providers/mimo.d.ts +37 -0
- package/dist/server/llm-providers/mimo.js +156 -0
- package/dist/server/migrations/20260428175558-update-ai-employee-category.d.ts +14 -0
- package/dist/server/migrations/20260428175558-update-ai-employee-category.js +55 -0
- package/dist/server/migrations/20260429175132-ai-employee-deprecated-orin.d.ts +14 -0
- package/dist/server/migrations/20260429175132-ai-employee-deprecated-orin.js +53 -0
- package/dist/server/plugin.js +3 -1
- package/dist/server/resource/aiEmployees.js +10 -1
- package/dist/server/workflow/nodes/employee/index.js +133 -130
- package/package.json +2 -2
- package/dist/client/343.83f7d96664e4e038.js +0 -10
- package/dist/client/646.cba98d80e9e6ea74.js +0 -10
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
import React from 'react';
|
|
10
|
+
export declare const ModelSettingsForm: React.FC;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
import { LLMProviderOptions } from '../../manager/ai-manager';
|
|
10
|
+
export declare const mimoProviderOptions: LLMProviderOptions;
|
|
@@ -43,6 +43,13 @@ declare const _default: {
|
|
|
43
43
|
allowNull: boolean;
|
|
44
44
|
defaultValue: boolean;
|
|
45
45
|
primaryKey?: undefined;
|
|
46
|
+
} | {
|
|
47
|
+
name: string;
|
|
48
|
+
type: string;
|
|
49
|
+
allowNull: boolean;
|
|
50
|
+
defaultValue: string;
|
|
51
|
+
primaryKey?: undefined;
|
|
52
|
+
interface?: undefined;
|
|
46
53
|
})[];
|
|
47
54
|
};
|
|
48
55
|
export default _default;
|
|
@@ -121,6 +121,19 @@ var ai_employees_default = {
|
|
|
121
121
|
type: "boolean",
|
|
122
122
|
allowNull: false,
|
|
123
123
|
defaultValue: false
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
name: "category",
|
|
127
|
+
type: "string",
|
|
128
|
+
allowNull: false,
|
|
129
|
+
defaultValue: "business"
|
|
130
|
+
// business, developer
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
name: "deprecated",
|
|
134
|
+
type: "boolean",
|
|
135
|
+
allowNull: false,
|
|
136
|
+
defaultValue: false
|
|
124
137
|
}
|
|
125
138
|
]
|
|
126
139
|
};
|
package/dist/externalVersion.js
CHANGED
|
@@ -8,26 +8,26 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
"@nocobase/plugin-acl": "2.1.0-beta.
|
|
12
|
-
"@nocobase/plugin-workflow": "2.1.0-beta.
|
|
13
|
-
"@nocobase/client": "2.1.0-beta.
|
|
14
|
-
"@nocobase/utils": "2.1.0-beta.
|
|
15
|
-
"@nocobase/database": "2.1.0-beta.
|
|
16
|
-
"@nocobase/server": "2.1.0-beta.
|
|
17
|
-
"@nocobase/plugin-file-manager": "2.1.0-beta.
|
|
18
|
-
"@nocobase/actions": "2.1.0-beta.
|
|
19
|
-
"@nocobase/ai": "2.1.0-beta.
|
|
11
|
+
"@nocobase/plugin-acl": "2.1.0-beta.25",
|
|
12
|
+
"@nocobase/plugin-workflow": "2.1.0-beta.25",
|
|
13
|
+
"@nocobase/client": "2.1.0-beta.25",
|
|
14
|
+
"@nocobase/utils": "2.1.0-beta.25",
|
|
15
|
+
"@nocobase/database": "2.1.0-beta.25",
|
|
16
|
+
"@nocobase/server": "2.1.0-beta.25",
|
|
17
|
+
"@nocobase/plugin-file-manager": "2.1.0-beta.25",
|
|
18
|
+
"@nocobase/actions": "2.1.0-beta.25",
|
|
19
|
+
"@nocobase/ai": "2.1.0-beta.25",
|
|
20
20
|
"langchain": "1.2.24",
|
|
21
21
|
"react": "18.2.0",
|
|
22
22
|
"antd": "5.24.2",
|
|
23
23
|
"@formily/core": "2.3.7",
|
|
24
24
|
"@formily/react": "2.3.7",
|
|
25
|
-
"@nocobase/flow-engine": "2.1.0-beta.
|
|
25
|
+
"@nocobase/flow-engine": "2.1.0-beta.25",
|
|
26
26
|
"@ant-design/icons": "5.6.1",
|
|
27
27
|
"@formily/antd-v5": "1.2.3",
|
|
28
28
|
"react-router-dom": "6.30.1",
|
|
29
29
|
"@formily/shared": "2.3.7",
|
|
30
|
-
"@nocobase/client-v2": "2.1.0-beta.
|
|
30
|
+
"@nocobase/client-v2": "2.1.0-beta.25",
|
|
31
31
|
"@formily/reactive": "2.3.7",
|
|
32
32
|
"lodash": "4.18.1",
|
|
33
33
|
"@langchain/core": "1.1.24",
|
|
@@ -38,14 +38,14 @@ module.exports = {
|
|
|
38
38
|
"@langchain/deepseek": "1.0.11",
|
|
39
39
|
"@langchain/google-genai": "2.1.18",
|
|
40
40
|
"@langchain/ollama": "1.2.2",
|
|
41
|
-
"@nocobase/acl": "2.1.0-beta.
|
|
42
|
-
"@nocobase/resourcer": "2.1.0-beta.
|
|
41
|
+
"@nocobase/acl": "2.1.0-beta.25",
|
|
42
|
+
"@nocobase/resourcer": "2.1.0-beta.25",
|
|
43
43
|
"@emotion/css": "11.13.0",
|
|
44
44
|
"dayjs": "1.11.13",
|
|
45
45
|
"react-i18next": "11.18.6",
|
|
46
|
-
"@nocobase/plugin-data-source-manager": "2.1.0-beta.
|
|
46
|
+
"@nocobase/plugin-data-source-manager": "2.1.0-beta.25",
|
|
47
47
|
"ahooks": "3.7.8",
|
|
48
48
|
"@langchain/langgraph-checkpoint": "1.0.0",
|
|
49
|
-
"@nocobase/data-source-manager": "2.1.0-beta.
|
|
49
|
+
"@nocobase/data-source-manager": "2.1.0-beta.25",
|
|
50
50
|
"react-dom": "18.2.0"
|
|
51
51
|
};
|
package/dist/locale/en-US.json
CHANGED
|
@@ -37,6 +37,8 @@
|
|
|
37
37
|
"Add tool": "Add tool",
|
|
38
38
|
"Ask": "Ask",
|
|
39
39
|
"Allow": "Allow",
|
|
40
|
+
"Business": "Business",
|
|
41
|
+
"Developer": "Developer",
|
|
40
42
|
"General tools": "General tools",
|
|
41
43
|
"Shared by all AI employees.": "Shared by all AI employees.",
|
|
42
44
|
"Employee-specific tools": "Employee-specific tools",
|
package/dist/locale/zh-CN.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"fast-glob","version":"3.3.2","description":"It's a very fast and efficient glob library for Node.js","license":"MIT","repository":"mrmlnc/fast-glob","author":{"name":"Denis Malinochkin","url":"https://mrmlnc.com"},"engines":{"node":">=8.6.0"},"main":"out/index.js","typings":"out/index.d.ts","files":["out","!out/{benchmark,tests}","!out/**/*.map","!out/**/*.spec.*"],"keywords":["glob","patterns","fast","implementation"],"devDependencies":{"@nodelib/fs.macchiato":"^1.0.1","@types/glob-parent":"^5.1.0","@types/merge2":"^1.1.4","@types/micromatch":"^4.0.0","@types/mocha":"^5.2.7","@types/node":"^14.18.53","@types/picomatch":"^2.3.0","@types/sinon":"^7.5.0","bencho":"^0.1.1","eslint":"^6.5.1","eslint-config-mrmlnc":"^1.1.0","execa":"^7.1.1","fast-glob":"^3.0.4","fdir":"^6.0.1","glob":"^10.0.0","hereby":"^1.8.1","mocha":"^6.2.1","rimraf":"^5.0.0","sinon":"^7.5.0","snap-shot-it":"^7.9.10","typescript":"^4.9.5"},"dependencies":{"@nodelib/fs.stat":"^2.0.2","@nodelib/fs.walk":"^1.2.3","glob-parent":"^5.1.2","merge2":"^1.3.0","micromatch":"^4.0.4"},"scripts":{"clean":"rimraf out","lint":"eslint \"src/**/*.ts\" --cache","compile":"tsc","test":"mocha \"out/**/*.spec.js\" -s 0","test:e2e":"mocha \"out/**/*.e2e.js\" -s 0","test:e2e:sync":"mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(sync\\)\"","test:e2e:async":"mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(async\\)\"","test:e2e:stream":"mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(stream\\)\"","build":"npm run clean && npm run compile && npm run lint && npm test","watch":"npm run clean && npm run compile -- --sourceMap --watch","bench:async":"npm run bench:product:async && npm run bench:regression:async","bench:stream":"npm run bench:product:stream && npm run bench:regression:stream","bench:sync":"npm run bench:product:sync && npm run bench:regression:sync","bench:product":"npm run bench:product:async && npm run bench:product:sync && npm run bench:product:stream","bench:product:async":"hereby bench:product:async","bench:product:sync":"hereby bench:product:sync","bench:product:stream":"hereby bench:product:stream","bench:regression":"npm run bench:regression:async && npm run bench:regression:sync && npm run bench:regression:stream","bench:regression:async":"hereby bench:regression:async","bench:regression:sync":"hereby bench:regression:sync","bench:regression:stream":"hereby bench:regression:stream"},"_lastModified":"2026-
|
|
1
|
+
{"name":"fast-glob","version":"3.3.2","description":"It's a very fast and efficient glob library for Node.js","license":"MIT","repository":"mrmlnc/fast-glob","author":{"name":"Denis Malinochkin","url":"https://mrmlnc.com"},"engines":{"node":">=8.6.0"},"main":"out/index.js","typings":"out/index.d.ts","files":["out","!out/{benchmark,tests}","!out/**/*.map","!out/**/*.spec.*"],"keywords":["glob","patterns","fast","implementation"],"devDependencies":{"@nodelib/fs.macchiato":"^1.0.1","@types/glob-parent":"^5.1.0","@types/merge2":"^1.1.4","@types/micromatch":"^4.0.0","@types/mocha":"^5.2.7","@types/node":"^14.18.53","@types/picomatch":"^2.3.0","@types/sinon":"^7.5.0","bencho":"^0.1.1","eslint":"^6.5.1","eslint-config-mrmlnc":"^1.1.0","execa":"^7.1.1","fast-glob":"^3.0.4","fdir":"^6.0.1","glob":"^10.0.0","hereby":"^1.8.1","mocha":"^6.2.1","rimraf":"^5.0.0","sinon":"^7.5.0","snap-shot-it":"^7.9.10","typescript":"^4.9.5"},"dependencies":{"@nodelib/fs.stat":"^2.0.2","@nodelib/fs.walk":"^1.2.3","glob-parent":"^5.1.2","merge2":"^1.3.0","micromatch":"^4.0.4"},"scripts":{"clean":"rimraf out","lint":"eslint \"src/**/*.ts\" --cache","compile":"tsc","test":"mocha \"out/**/*.spec.js\" -s 0","test:e2e":"mocha \"out/**/*.e2e.js\" -s 0","test:e2e:sync":"mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(sync\\)\"","test:e2e:async":"mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(async\\)\"","test:e2e:stream":"mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(stream\\)\"","build":"npm run clean && npm run compile && npm run lint && npm test","watch":"npm run clean && npm run compile -- --sourceMap --watch","bench:async":"npm run bench:product:async && npm run bench:regression:async","bench:stream":"npm run bench:product:stream && npm run bench:regression:stream","bench:sync":"npm run bench:product:sync && npm run bench:regression:sync","bench:product":"npm run bench:product:async && npm run bench:product:sync && npm run bench:product:stream","bench:product:async":"hereby bench:product:async","bench:product:sync":"hereby bench:product:sync","bench:product:stream":"hereby bench:product:stream","bench:regression":"npm run bench:regression:async && npm run bench:regression:sync && npm run bench:regression:stream","bench:regression:async":"hereby bench:regression:async","bench:regression:sync":"hereby bench:regression:sync","bench:regression:stream":"hereby bench:regression:stream"},"_lastModified":"2026-05-06T11:08:51.715Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"public":true,"preferGlobal":false,"name":"flexsearch","version":"0.8.212","description":"Next-Generation full-text search library for Browser and Node.js","homepage":"https://github.com/nextapps-de/flexsearch/","author":"Thomas Wilkerling","copyright":"Nextapps GmbH","license":"Apache-2.0","readme":"README.md","keywords":["fulltext search","elastic search","fastest search","contextual search","document search","fuzzy search","fuzzy match","search engine"],"repository":{"type":"git","url":"https://github.com/nextapps-de/flexsearch.git"},"bugs":{"url":"https://github.com/nextapps-de/flexsearch/issues","email":"info@nextapps.de"},"main":"dist/flexsearch.bundle.min.js","module":"dist/flexsearch.bundle.module.min.mjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./dist/flexsearch.bundle.module.min.mjs","require":"./dist/flexsearch.bundle.min.js"},"./lang/*":{"import":"./dist/module/lang/*.js","require":"./dist/lang/*.min.js"},"./db/*":{"import":"./dist/module/db/*/index.js","require":"./dist/db/*/index.cjs"},"./debug":{"import":"./dist/flexsearch.bundle.module.debug.mjs","require":"./dist/flexsearch.bundle.debug.js"}},"browser":{"flexsearch":"./dist/flexsearch.bundle.module.min.mjs","flexsearch/debug":"./dist/flexsearch.bundle.module.debug.mjs","dist/flexsearch.bundle.min.js":"./dist/flexsearch.bundle.min.js","dist/flexsearch.bundle.module.min.js":"./dist/flexsearch.bundle.module.min.mjs","dist/flexsearch.bundle.module.min.mjs":"./dist/flexsearch.bundle.module.min.mjs","worker_threads":false,"path":false,"clickhouse":false,"mongodb":false,"pg-promise":false,"redis":false,"sqlite3":false},"scripts":{"build":"npm run build:bundle && npm run build:bundle:debug && exit 0","build:bundle":"node task/build RELEASE=bundle DEBUG=false PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false","build:bundle:debug":"node task/build RELEASE=bundle DEBUG=true PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:compact":"node task/build RELEASE=compact DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:compact:debug":"node task/build RELEASE=compact DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:light":"node task/build RELEASE=light DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:light:debug":"node task/build RELEASE=light DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:es5":"node task/build RELEASE=es5 DEBUG=false PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=true SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false LANGUAGE_OUT=ECMASCRIPT5_STRICT","build:es5:debug":"node task/build RELEASE=es5 DEBUG=true PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=true SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT LANGUAGE_OUT=ECMASCRIPT5_STRICT","build:lang":"node task/build RELEASE=lang","build:db":"npx rollup tmp/db/indexeddb/index.js --file dist/db/indexeddb/index.cjs --format cjs && npx rollup tmp/db/postgres/index.js --file dist/db/postgres/index.cjs --format cjs && npx rollup tmp/db/sqlite/index.js --file dist/db/sqlite/index.cjs --format cjs && npx rollup tmp/db/mongodb/index.js --file dist/db/mongodb/index.cjs --format cjs && npx rollup tmp/db/redis/index.js --file dist/db/redis/index.cjs --format cjs && npx rollup tmp/db/clickhouse/index.js --file dist/db/clickhouse/index.cjs --format cjs","build:module":"node task/babel && exit 0","build:module:debug":"node task/babel DEBUG=true && exit 0","build:module:min":"node task/babel RELEASE=min && exit 0","build:module:bundle":"node task/build RELEASE=bundle.module DEBUG=false PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false","build:module:bundle:debug":"node task/build RELEASE=bundle.module DEBUG=true PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:module:compact":"node task/build RELEASE=compact.module DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:module:compact:debug":"node task/build RELEASE=compact.module DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:module:light":"node task/build RELEASE=light.module DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:module:light:debug":"node task/build RELEASE=light.module DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:all":"npm run build:bundle && npm run build:bundle:debug && npm run build:light && npm run build:light:debug && npm run build:compact && npm run build:compact:debug && npm run build:module:bundle && npm run build:module:bundle:debug && npm run build:module:light && npm run build:module:light:debug && npm run build:module:compact && npm run build:module:compact:debug && npm run build:es5 && npm run build:es5:debug && npm run build:lang && npm run build:module && npm run build:module:debug && npm run build:module:min && npm run build:db","build:custom":"node task/build RELEASE=custom","test":"mocha test/*.js --exit","test:coverage":"c8 -c test/.c8rc.json mocha test/*.js --exit","test:keystore":"set NODE_OPTIONS=--max-old-space-size=16000 && c8 -c test/.c8rc.json mocha test/keystore.js --exit","test:db":"c8 -c test/.c8rc.json mocha test/persistent.*.js --exit","test:all":"npx mocha test/*.js --exit module/bundle && npx mocha test/*.js --exit module-debug/bundle && npx mocha test/*.js --exit module-min/bundle && npx mocha test/*.js --exit flexsearch.bundle.debug && npx mocha test/*.js --exit flexsearch.bundle.min && npx mocha test/*.js --exit flexsearch.bundle.module.debug && npx mocha test/*.js --exit flexsearch.bundle.module.min && npx mocha test/*.js --exit flexsearch.compact.debug && npx mocha test/*.js --exit flexsearch.compact.min && npx mocha test/*.js --exit flexsearch.compact.module.debug && npx mocha test/*.js --exit flexsearch.compact.module.min && npx mocha test/*.js --exit flexsearch.es5.debug && npx mocha test/*.js --exit flexsearch.es5.min && npx mocha test/*.js --exit flexsearch.light.debug && npx mocha test/*.js --exit flexsearch.light.min && npx mocha test/*.js --exit flexsearch.light.module.debug && npx mocha test/*.js --exit flexsearch.light.module.min","release":"npm version --no-git-tag-version patch && npm run build:all && npm run test:all"},"files":["dist/**","src/**","task/**","index.d.ts","README.md","CHANGELOG.md","LICENSE"],"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-conditional-compile":"^0.0.5","babel-plugin-minify-constant-folding":"^0.5.0","babel-plugin-minify-dead-code-elimination":"^0.5.2","babel-plugin-minify-flip-comparisons":"^0.4.3","babel-plugin-minify-guarded-expressions":"^0.4.4","babel-plugin-minify-infinity":"^0.4.3","babel-plugin-minify-mangle-names":"^0.5.1","babel-plugin-minify-replace":"^0.5.0","babel-plugin-minify-simplify":"^0.5.1","babel-plugin-minify-type-constructors":"^0.4.3","babel-plugin-transform-member-expression-literals":"^6.9.4","babel-plugin-transform-merge-sibling-variables":"^6.9.5","babel-plugin-transform-minify-booleans":"^6.9.4","babel-plugin-transform-property-literals":"^6.9.4","babel-plugin-transform-simplify-comparison-operators":"^6.9.4","babel-plugin-transform-undefined-to-void":"^6.9.4","c8":"^10.1.3","chai":"^5.2.0","clickhouse":"^2.6.0","google-closure-compiler":"^20250520.0.0","mocha":"^11.1.0","mongodb":"^6.13.0","pg-promise":"^11.13.0","redis":"^5.1.0","rollup":"^4.35.0","sqlite3":"^5.1.7"},"funding":[{"type":"github","url":"https://github.com/ts-thomas"},{"type":"paypal","url":"https://www.paypal.com/donate/?hosted_button_id=GEVR88FC9BWRW"},{"type":"opencollective","url":"https://opencollective.com/flexsearch"},{"type":"patreon","url":"https://patreon.com/user?u=96245532"},{"type":"liberapay","url":"https://liberapay.com/ts-thomas"}],"_lastModified":"2026-04-28T16:00:04.435Z"}
|
|
1
|
+
{"public":true,"preferGlobal":false,"name":"flexsearch","version":"0.8.212","description":"Next-Generation full-text search library for Browser and Node.js","homepage":"https://github.com/nextapps-de/flexsearch/","author":"Thomas Wilkerling","copyright":"Nextapps GmbH","license":"Apache-2.0","readme":"README.md","keywords":["fulltext search","elastic search","fastest search","contextual search","document search","fuzzy search","fuzzy match","search engine"],"repository":{"type":"git","url":"https://github.com/nextapps-de/flexsearch.git"},"bugs":{"url":"https://github.com/nextapps-de/flexsearch/issues","email":"info@nextapps.de"},"main":"dist/flexsearch.bundle.min.js","module":"dist/flexsearch.bundle.module.min.mjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./dist/flexsearch.bundle.module.min.mjs","require":"./dist/flexsearch.bundle.min.js"},"./lang/*":{"import":"./dist/module/lang/*.js","require":"./dist/lang/*.min.js"},"./db/*":{"import":"./dist/module/db/*/index.js","require":"./dist/db/*/index.cjs"},"./debug":{"import":"./dist/flexsearch.bundle.module.debug.mjs","require":"./dist/flexsearch.bundle.debug.js"}},"browser":{"flexsearch":"./dist/flexsearch.bundle.module.min.mjs","flexsearch/debug":"./dist/flexsearch.bundle.module.debug.mjs","dist/flexsearch.bundle.min.js":"./dist/flexsearch.bundle.min.js","dist/flexsearch.bundle.module.min.js":"./dist/flexsearch.bundle.module.min.mjs","dist/flexsearch.bundle.module.min.mjs":"./dist/flexsearch.bundle.module.min.mjs","worker_threads":false,"path":false,"clickhouse":false,"mongodb":false,"pg-promise":false,"redis":false,"sqlite3":false},"scripts":{"build":"npm run build:bundle && npm run build:bundle:debug && exit 0","build:bundle":"node task/build RELEASE=bundle DEBUG=false PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false","build:bundle:debug":"node task/build RELEASE=bundle DEBUG=true PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:compact":"node task/build RELEASE=compact DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:compact:debug":"node task/build RELEASE=compact DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:light":"node task/build RELEASE=light DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:light:debug":"node task/build RELEASE=light DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:es5":"node task/build RELEASE=es5 DEBUG=false PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=true SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false LANGUAGE_OUT=ECMASCRIPT5_STRICT","build:es5:debug":"node task/build RELEASE=es5 DEBUG=true PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=true SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT LANGUAGE_OUT=ECMASCRIPT5_STRICT","build:lang":"node task/build RELEASE=lang","build:db":"npx rollup tmp/db/indexeddb/index.js --file dist/db/indexeddb/index.cjs --format cjs && npx rollup tmp/db/postgres/index.js --file dist/db/postgres/index.cjs --format cjs && npx rollup tmp/db/sqlite/index.js --file dist/db/sqlite/index.cjs --format cjs && npx rollup tmp/db/mongodb/index.js --file dist/db/mongodb/index.cjs --format cjs && npx rollup tmp/db/redis/index.js --file dist/db/redis/index.cjs --format cjs && npx rollup tmp/db/clickhouse/index.js --file dist/db/clickhouse/index.cjs --format cjs","build:module":"node task/babel && exit 0","build:module:debug":"node task/babel DEBUG=true && exit 0","build:module:min":"node task/babel RELEASE=min && exit 0","build:module:bundle":"node task/build RELEASE=bundle.module DEBUG=false PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false","build:module:bundle:debug":"node task/build RELEASE=bundle.module DEBUG=true PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:module:compact":"node task/build RELEASE=compact.module DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:module:compact:debug":"node task/build RELEASE=compact.module DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:module:light":"node task/build RELEASE=light.module DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:module:light:debug":"node task/build RELEASE=light.module DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:all":"npm run build:bundle && npm run build:bundle:debug && npm run build:light && npm run build:light:debug && npm run build:compact && npm run build:compact:debug && npm run build:module:bundle && npm run build:module:bundle:debug && npm run build:module:light && npm run build:module:light:debug && npm run build:module:compact && npm run build:module:compact:debug && npm run build:es5 && npm run build:es5:debug && npm run build:lang && npm run build:module && npm run build:module:debug && npm run build:module:min && npm run build:db","build:custom":"node task/build RELEASE=custom","test":"mocha test/*.js --exit","test:coverage":"c8 -c test/.c8rc.json mocha test/*.js --exit","test:keystore":"set NODE_OPTIONS=--max-old-space-size=16000 && c8 -c test/.c8rc.json mocha test/keystore.js --exit","test:db":"c8 -c test/.c8rc.json mocha test/persistent.*.js --exit","test:all":"npx mocha test/*.js --exit module/bundle && npx mocha test/*.js --exit module-debug/bundle && npx mocha test/*.js --exit module-min/bundle && npx mocha test/*.js --exit flexsearch.bundle.debug && npx mocha test/*.js --exit flexsearch.bundle.min && npx mocha test/*.js --exit flexsearch.bundle.module.debug && npx mocha test/*.js --exit flexsearch.bundle.module.min && npx mocha test/*.js --exit flexsearch.compact.debug && npx mocha test/*.js --exit flexsearch.compact.min && npx mocha test/*.js --exit flexsearch.compact.module.debug && npx mocha test/*.js --exit flexsearch.compact.module.min && npx mocha test/*.js --exit flexsearch.es5.debug && npx mocha test/*.js --exit flexsearch.es5.min && npx mocha test/*.js --exit flexsearch.light.debug && npx mocha test/*.js --exit flexsearch.light.min && npx mocha test/*.js --exit flexsearch.light.module.debug && npx mocha test/*.js --exit flexsearch.light.module.min","release":"npm version --no-git-tag-version patch && npm run build:all && npm run test:all"},"files":["dist/**","src/**","task/**","index.d.ts","README.md","CHANGELOG.md","LICENSE"],"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-conditional-compile":"^0.0.5","babel-plugin-minify-constant-folding":"^0.5.0","babel-plugin-minify-dead-code-elimination":"^0.5.2","babel-plugin-minify-flip-comparisons":"^0.4.3","babel-plugin-minify-guarded-expressions":"^0.4.4","babel-plugin-minify-infinity":"^0.4.3","babel-plugin-minify-mangle-names":"^0.5.1","babel-plugin-minify-replace":"^0.5.0","babel-plugin-minify-simplify":"^0.5.1","babel-plugin-minify-type-constructors":"^0.4.3","babel-plugin-transform-member-expression-literals":"^6.9.4","babel-plugin-transform-merge-sibling-variables":"^6.9.5","babel-plugin-transform-minify-booleans":"^6.9.4","babel-plugin-transform-property-literals":"^6.9.4","babel-plugin-transform-simplify-comparison-operators":"^6.9.4","babel-plugin-transform-undefined-to-void":"^6.9.4","c8":"^10.1.3","chai":"^5.2.0","clickhouse":"^2.6.0","google-closure-compiler":"^20250520.0.0","mocha":"^11.1.0","mongodb":"^6.13.0","pg-promise":"^11.13.0","redis":"^5.1.0","rollup":"^4.35.0","sqlite3":"^5.1.7"},"funding":[{"type":"github","url":"https://github.com/ts-thomas"},{"type":"paypal","url":"https://www.paypal.com/donate/?hosted_button_id=GEVR88FC9BWRW"},{"type":"opencollective","url":"https://opencollective.com/flexsearch"},{"type":"patreon","url":"https://patreon.com/user?u=96245532"},{"type":"liberapay","url":"https://liberapay.com/ts-thomas"}],"_lastModified":"2026-05-06T11:08:52.106Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"fs-extra","version":"9.1.0","description":"fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.","engines":{"node":">=10"},"homepage":"https://github.com/jprichardson/node-fs-extra","repository":{"type":"git","url":"https://github.com/jprichardson/node-fs-extra"},"keywords":["fs","file","file system","copy","directory","extra","mkdirp","mkdir","mkdirs","recursive","json","read","write","extra","delete","remove","touch","create","text","output","move","promise"],"author":"JP Richardson <jprichardson@gmail.com>","license":"MIT","dependencies":{"at-least-node":"^1.0.0","graceful-fs":"^4.2.0","jsonfile":"^6.0.1","universalify":"^2.0.0"},"devDependencies":{"coveralls":"^3.0.0","klaw":"^2.1.1","klaw-sync":"^3.0.2","minimist":"^1.1.1","mocha":"^5.0.5","nyc":"^15.0.0","proxyquire":"^2.0.1","read-dir-files":"^0.1.1","standard":"^14.1.0"},"main":"./lib/index.js","files":["lib/","!lib/**/__tests__/"],"scripts":{"full-ci":"npm run lint && npm run coverage","coverage":"nyc -r lcovonly npm run unit","coveralls":"coveralls < coverage/lcov.info","lint":"standard","test-find":"find ./lib/**/__tests__ -name *.test.js | xargs mocha","test":"npm run lint && npm run unit","unit":"node test.js"},"_lastModified":"2026-
|
|
1
|
+
{"name":"fs-extra","version":"9.1.0","description":"fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.","engines":{"node":">=10"},"homepage":"https://github.com/jprichardson/node-fs-extra","repository":{"type":"git","url":"https://github.com/jprichardson/node-fs-extra"},"keywords":["fs","file","file system","copy","directory","extra","mkdirp","mkdir","mkdirs","recursive","json","read","write","extra","delete","remove","touch","create","text","output","move","promise"],"author":"JP Richardson <jprichardson@gmail.com>","license":"MIT","dependencies":{"at-least-node":"^1.0.0","graceful-fs":"^4.2.0","jsonfile":"^6.0.1","universalify":"^2.0.0"},"devDependencies":{"coveralls":"^3.0.0","klaw":"^2.1.1","klaw-sync":"^3.0.2","minimist":"^1.1.1","mocha":"^5.0.5","nyc":"^15.0.0","proxyquire":"^2.0.1","read-dir-files":"^0.1.1","standard":"^14.1.0"},"main":"./lib/index.js","files":["lib/","!lib/**/__tests__/"],"scripts":{"full-ci":"npm run lint && npm run coverage","coverage":"nyc -r lcovonly npm run unit","coveralls":"coveralls < coverage/lcov.info","lint":"standard","test-find":"find ./lib/**/__tests__ -name *.test.js | xargs mocha","test":"npm run lint && npm run unit","unit":"node test.js"},"_lastModified":"2026-05-06T11:08:51.204Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"jsonrepair","version":"3.13.1","description":"Repair broken JSON documents","repository":{"type":"git","url":"https://github.com/josdejong/jsonrepair.git"},"type":"module","main":"lib/cjs/index.js","module":"lib/esm/index.js","browser":"lib/umd/jsonrepair.min.js","types":"lib/types/index.d.ts","sideEffects":false,"exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js","types":"./lib/types/index.d.ts"},"./stream":{"import":"./lib/esm/stream.js","require":"./lib/cjs/stream.js","types":"./lib/types/stream.d.ts"}},"keywords":["simple","json","repair","fix","invalid","stream","streaming"],"bin":{"jsonrepair":"./bin/cli.js"},"scripts":{"test":"vitest watch src","test:it":"vitest run src","build":"npm-run-all build:**","build:clean":"del-cli lib","build:esm":"babel src --out-dir lib/esm --extensions \".ts\" --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --extensions \".ts\" --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs lib/cjs --flat","build:umd":"rollup lib/esm/index.js --format umd --name JSONRepair --sourcemap --output.file lib/umd/jsonrepair.js && cpy tools/cjs/package.json lib/umd --flat","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/jsonrepair.min.js -- lib/umd/jsonrepair.js","build:types":"tsc --project tsconfig-types.json","build:validate":"vitest run test-lib","lint":"biome check","format":"biome check --write","benchmark":"npm run build:esm && node tools/benchmark/run.mjs","build-and-test":"npm run lint && npm run test:it && npm run build","release":"npm-run-all release:**","release:build-and-test":"npm run build-and-test","release:version":"standard-version","release:push":"git push && git push --tag","release:publish":"npm publish","release-dry-run":"npm run build-and-test && standard-version --dry-run","prepare":"husky"},"files":["README.md","LICENSE.md","lib"],"author":"Jos de Jong","license":"ISC","devDependencies":{"@babel/cli":"7.28.3","@babel/core":"7.28.4","@babel/plugin-transform-typescript":"7.28.0","@babel/preset-env":"7.28.3","@babel/preset-typescript":"7.27.1","@biomejs/biome":"2.2.4","@commitlint/cli":"19.8.1","@commitlint/config-conventional":"19.8.1","@types/node":"24.5.2","cpy-cli":"6.0.0","del-cli":"7.0.0","husky":"9.1.7","npm-run-all":"4.1.5","rollup":"4.51.0","standard-version":"9.5.0","tinybench":"5.0.1","ts-node":"10.9.2","typescript":"5.9.2","uglify-js":"3.19.3","vitest":"3.2.4"},"_lastModified":"2026-
|
|
1
|
+
{"name":"jsonrepair","version":"3.13.1","description":"Repair broken JSON documents","repository":{"type":"git","url":"https://github.com/josdejong/jsonrepair.git"},"type":"module","main":"lib/cjs/index.js","module":"lib/esm/index.js","browser":"lib/umd/jsonrepair.min.js","types":"lib/types/index.d.ts","sideEffects":false,"exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js","types":"./lib/types/index.d.ts"},"./stream":{"import":"./lib/esm/stream.js","require":"./lib/cjs/stream.js","types":"./lib/types/stream.d.ts"}},"keywords":["simple","json","repair","fix","invalid","stream","streaming"],"bin":{"jsonrepair":"./bin/cli.js"},"scripts":{"test":"vitest watch src","test:it":"vitest run src","build":"npm-run-all build:**","build:clean":"del-cli lib","build:esm":"babel src --out-dir lib/esm --extensions \".ts\" --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --extensions \".ts\" --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs lib/cjs --flat","build:umd":"rollup lib/esm/index.js --format umd --name JSONRepair --sourcemap --output.file lib/umd/jsonrepair.js && cpy tools/cjs/package.json lib/umd --flat","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/jsonrepair.min.js -- lib/umd/jsonrepair.js","build:types":"tsc --project tsconfig-types.json","build:validate":"vitest run test-lib","lint":"biome check","format":"biome check --write","benchmark":"npm run build:esm && node tools/benchmark/run.mjs","build-and-test":"npm run lint && npm run test:it && npm run build","release":"npm-run-all release:**","release:build-and-test":"npm run build-and-test","release:version":"standard-version","release:push":"git push && git push --tag","release:publish":"npm publish","release-dry-run":"npm run build-and-test && standard-version --dry-run","prepare":"husky"},"files":["README.md","LICENSE.md","lib"],"author":"Jos de Jong","license":"ISC","devDependencies":{"@babel/cli":"7.28.3","@babel/core":"7.28.4","@babel/plugin-transform-typescript":"7.28.0","@babel/preset-env":"7.28.3","@babel/preset-typescript":"7.27.1","@biomejs/biome":"2.2.4","@commitlint/cli":"19.8.1","@commitlint/config-conventional":"19.8.1","@types/node":"24.5.2","cpy-cli":"6.0.0","del-cli":"7.0.0","husky":"9.1.7","npm-run-all":"4.1.5","rollup":"4.51.0","standard-version":"9.5.0","tinybench":"5.0.1","ts-node":"10.9.2","typescript":"5.9.2","uglify-js":"3.19.3","vitest":"3.2.4"},"_lastModified":"2026-05-06T11:08:52.263Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"nodejs-snowflake","collaborators":["Utkarsh Srivastava <utkarsh@sagacious.dev>"],"description":"Generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)","version":"2.0.1","license":"Apache 2.0","repository":{"type":"git","url":"https://github.com/utkarsh-pro/nodejs-snowflake.git"},"files":["nodejs_snowflake_bg.wasm","nodejs_snowflake.js","nodejs_snowflake.d.ts"],"main":"nodejs_snowflake.js","types":"nodejs_snowflake.d.ts","_lastModified":"2026-
|
|
1
|
+
{"name":"nodejs-snowflake","collaborators":["Utkarsh Srivastava <utkarsh@sagacious.dev>"],"description":"Generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)","version":"2.0.1","license":"Apache 2.0","repository":{"type":"git","url":"https://github.com/utkarsh-pro/nodejs-snowflake.git"},"files":["nodejs_snowflake_bg.wasm","nodejs_snowflake.js","nodejs_snowflake.d.ts"],"main":"nodejs_snowflake.js","types":"nodejs_snowflake.d.ts","_lastModified":"2026-05-06T11:08:48.643Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"openai","version":"6.22.0","description":"The official TypeScript library for the OpenAI API","author":"OpenAI <support@openai.com>","types":"./index.d.ts","main":"./index.js","type":"commonjs","repository":"github:openai/openai-node","license":"Apache-2.0","packageManager":"yarn@1.22.22","files":["**/*"],"private":false,"publishConfig":{"access":"public"},"scripts":{"test":"./scripts/test","build":"./scripts/build","format":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","fix":"./scripts/format"},"dependencies":{},"bin":{"openai":"bin/cli"},"exports":{".":{"require":{"types":"./index.d.ts","default":"./index.js"},"types":"./index.d.mts","default":"./index.mjs"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./api-promise.js":{"default":"./api-promise.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./azure.js":{"default":"./azure.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./client.js":{"default":"./client.js"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./core/*.js":{"default":"./core/*.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./error.js":{"default":"./error.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./helpers/*.js":{"default":"./helpers/*.js"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./index.js":{"default":"./index.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./lib/*.js":{"default":"./lib/*.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./pagination.js":{"default":"./pagination.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./realtime/*.js":{"default":"./realtime/*.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./resource.js":{"default":"./resource.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./resources.js":{"default":"./resources.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./streaming.js":{"default":"./streaming.js"},"./streaming.mjs":{"default":"./streaming.mjs"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./uploads.js":{"default":"./uploads.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version":{"import":"./version.mjs","require":"./version.js"},"./version.js":{"default":"./version.js"},"./version.mjs":{"default":"./version.mjs"}},"peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_lastModified":"2026-
|
|
1
|
+
{"name":"openai","version":"6.22.0","description":"The official TypeScript library for the OpenAI API","author":"OpenAI <support@openai.com>","types":"./index.d.ts","main":"./index.js","type":"commonjs","repository":"github:openai/openai-node","license":"Apache-2.0","packageManager":"yarn@1.22.22","files":["**/*"],"private":false,"publishConfig":{"access":"public"},"scripts":{"test":"./scripts/test","build":"./scripts/build","format":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","fix":"./scripts/format"},"dependencies":{},"bin":{"openai":"bin/cli"},"exports":{".":{"require":{"types":"./index.d.ts","default":"./index.js"},"types":"./index.d.mts","default":"./index.mjs"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./api-promise.js":{"default":"./api-promise.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./azure.js":{"default":"./azure.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./client.js":{"default":"./client.js"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./core/*.js":{"default":"./core/*.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./error.js":{"default":"./error.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./helpers/*.js":{"default":"./helpers/*.js"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./index.js":{"default":"./index.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./lib/*.js":{"default":"./lib/*.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./pagination.js":{"default":"./pagination.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./realtime/*.js":{"default":"./realtime/*.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./resource.js":{"default":"./resource.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./resources.js":{"default":"./resources.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./streaming.js":{"default":"./streaming.js"},"./streaming.mjs":{"default":"./streaming.mjs"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./uploads.js":{"default":"./uploads.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version":{"import":"./version.mjs","require":"./version.js"},"./version.js":{"default":"./version.js"},"./version.mjs":{"default":"./version.mjs"}},"peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_lastModified":"2026-05-06T11:08:51.037Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"zod","version":"4.3.5","type":"module","license":"MIT","author":"Colin McDonnell <zod@colinhacks.com>","description":"TypeScript-first schema declaration and validation library with static type inference","homepage":"https://zod.dev","llms":"https://zod.dev/llms.txt","llmsFull":"https://zod.dev/llms-full.txt","mcpServer":"https://mcp.inkeep.com/zod/mcp","funding":"https://github.com/sponsors/colinhacks","sideEffects":false,"files":["src","**/*.js","**/*.mjs","**/*.cjs","**/*.d.ts","**/*.d.mts","**/*.d.cts","**/package.json"],"keywords":["typescript","schema","validation","type","inference"],"main":"./index.cjs","types":"./index.d.cts","module":"./index.js","zshy":{"exports":{"./package.json":"./package.json",".":"./src/index.ts","./mini":"./src/mini/index.ts","./locales":"./src/locales/index.ts","./v3":"./src/v3/index.ts","./v4":"./src/v4/index.ts","./v4-mini":"./src/v4-mini/index.ts","./v4/mini":"./src/v4/mini/index.ts","./v4/core":"./src/v4/core/index.ts","./v4/locales":"./src/v4/locales/index.ts","./v4/locales/*":"./src/v4/locales/*"},"conditions":{"@zod/source":"src"}},"exports":{"./package.json":"./package.json",".":{"@zod/source":"./src/index.ts","types":"./index.d.cts","import":"./index.js","require":"./index.cjs"},"./mini":{"@zod/source":"./src/mini/index.ts","types":"./mini/index.d.cts","import":"./mini/index.js","require":"./mini/index.cjs"},"./locales":{"@zod/source":"./src/locales/index.ts","types":"./locales/index.d.cts","import":"./locales/index.js","require":"./locales/index.cjs"},"./v3":{"@zod/source":"./src/v3/index.ts","types":"./v3/index.d.cts","import":"./v3/index.js","require":"./v3/index.cjs"},"./v4":{"@zod/source":"./src/v4/index.ts","types":"./v4/index.d.cts","import":"./v4/index.js","require":"./v4/index.cjs"},"./v4-mini":{"@zod/source":"./src/v4-mini/index.ts","types":"./v4-mini/index.d.cts","import":"./v4-mini/index.js","require":"./v4-mini/index.cjs"},"./v4/mini":{"@zod/source":"./src/v4/mini/index.ts","types":"./v4/mini/index.d.cts","import":"./v4/mini/index.js","require":"./v4/mini/index.cjs"},"./v4/core":{"@zod/source":"./src/v4/core/index.ts","types":"./v4/core/index.d.cts","import":"./v4/core/index.js","require":"./v4/core/index.cjs"},"./v4/locales":{"@zod/source":"./src/v4/locales/index.ts","types":"./v4/locales/index.d.cts","import":"./v4/locales/index.js","require":"./v4/locales/index.cjs"},"./v4/locales/*":{"@zod/source":"./src/v4/locales/*","types":"./v4/locales/*","import":"./v4/locales/*","require":"./v4/locales/*"}},"repository":{"type":"git","url":"git+https://github.com/colinhacks/zod.git"},"bugs":{"url":"https://github.com/colinhacks/zod/issues"},"support":{"backing":{"npm-funding":true}},"scripts":{"clean":"git clean -xdf . -e node_modules","build":"zshy --project tsconfig.build.json","postbuild":"tsx ../../scripts/write-stub-package-jsons.ts && pnpm biome check --write .","test:watch":"pnpm vitest","test":"pnpm vitest run","prepublishOnly":"tsx ../../scripts/check-versions.ts"},"_lastModified":"2026-
|
|
1
|
+
{"name":"zod","version":"4.3.5","type":"module","license":"MIT","author":"Colin McDonnell <zod@colinhacks.com>","description":"TypeScript-first schema declaration and validation library with static type inference","homepage":"https://zod.dev","llms":"https://zod.dev/llms.txt","llmsFull":"https://zod.dev/llms-full.txt","mcpServer":"https://mcp.inkeep.com/zod/mcp","funding":"https://github.com/sponsors/colinhacks","sideEffects":false,"files":["src","**/*.js","**/*.mjs","**/*.cjs","**/*.d.ts","**/*.d.mts","**/*.d.cts","**/package.json"],"keywords":["typescript","schema","validation","type","inference"],"main":"./index.cjs","types":"./index.d.cts","module":"./index.js","zshy":{"exports":{"./package.json":"./package.json",".":"./src/index.ts","./mini":"./src/mini/index.ts","./locales":"./src/locales/index.ts","./v3":"./src/v3/index.ts","./v4":"./src/v4/index.ts","./v4-mini":"./src/v4-mini/index.ts","./v4/mini":"./src/v4/mini/index.ts","./v4/core":"./src/v4/core/index.ts","./v4/locales":"./src/v4/locales/index.ts","./v4/locales/*":"./src/v4/locales/*"},"conditions":{"@zod/source":"src"}},"exports":{"./package.json":"./package.json",".":{"@zod/source":"./src/index.ts","types":"./index.d.cts","import":"./index.js","require":"./index.cjs"},"./mini":{"@zod/source":"./src/mini/index.ts","types":"./mini/index.d.cts","import":"./mini/index.js","require":"./mini/index.cjs"},"./locales":{"@zod/source":"./src/locales/index.ts","types":"./locales/index.d.cts","import":"./locales/index.js","require":"./locales/index.cjs"},"./v3":{"@zod/source":"./src/v3/index.ts","types":"./v3/index.d.cts","import":"./v3/index.js","require":"./v3/index.cjs"},"./v4":{"@zod/source":"./src/v4/index.ts","types":"./v4/index.d.cts","import":"./v4/index.js","require":"./v4/index.cjs"},"./v4-mini":{"@zod/source":"./src/v4-mini/index.ts","types":"./v4-mini/index.d.cts","import":"./v4-mini/index.js","require":"./v4-mini/index.cjs"},"./v4/mini":{"@zod/source":"./src/v4/mini/index.ts","types":"./v4/mini/index.d.cts","import":"./v4/mini/index.js","require":"./v4/mini/index.cjs"},"./v4/core":{"@zod/source":"./src/v4/core/index.ts","types":"./v4/core/index.d.cts","import":"./v4/core/index.js","require":"./v4/core/index.cjs"},"./v4/locales":{"@zod/source":"./src/v4/locales/index.ts","types":"./v4/locales/index.d.cts","import":"./v4/locales/index.js","require":"./v4/locales/index.cjs"},"./v4/locales/*":{"@zod/source":"./src/v4/locales/*","types":"./v4/locales/*","import":"./v4/locales/*","require":"./v4/locales/*"}},"repository":{"type":"git","url":"git+https://github.com/colinhacks/zod.git"},"bugs":{"url":"https://github.com/colinhacks/zod/issues"},"support":{"backing":{"npm-funding":true}},"scripts":{"clean":"git clean -xdf . -e node_modules","build":"zshy --project tsconfig.build.json","postbuild":"tsx ../../scripts/write-stub-package-jsons.ts && pnpm biome check --write .","test:watch":"pnpm vitest","test":"pnpm vitest run","prepublishOnly":"tsx ../../scripts/check-versions.ts"},"_lastModified":"2026-05-06T11:08:49.597Z"}
|
|
@@ -327,6 +327,9 @@ class AIEmployee {
|
|
|
327
327
|
const { systemPrompt, tools, middleware } = context;
|
|
328
328
|
const agent = await this.createAgent({ provider, systemPrompt, tools, middleware });
|
|
329
329
|
const input = this.getAgentInput(context, state);
|
|
330
|
+
if (this.from === "sub-agent") {
|
|
331
|
+
delete config.configurable;
|
|
332
|
+
}
|
|
330
333
|
return agent.invoke(input, this.withRunMetadata(config));
|
|
331
334
|
}
|
|
332
335
|
async prepareChatStream({
|
|
@@ -1251,9 +1254,12 @@ If information is missing, clearly state it in the summary.</Important>`;
|
|
|
1251
1254
|
return result;
|
|
1252
1255
|
}
|
|
1253
1256
|
async getAvailableAIEmployees() {
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
)
|
|
1257
|
+
var _a, _b;
|
|
1258
|
+
const specifiedToolNames = ((_b = (_a = this.employee.skillSettings) == null ? void 0 : _a.tools) == null ? void 0 : _b.map(({ name }) => name)) ?? [];
|
|
1259
|
+
if (!specifiedToolNames.includes("dispatch-sub-agent-task")) {
|
|
1260
|
+
return [];
|
|
1261
|
+
}
|
|
1262
|
+
const availableAIEmployees = (await (0, import_shared.listAccessibleAIEmployees)(this.ctx)).map((employee) => (0, import_shared.serializeEmployeeSummary)(this.ctx, employee)).filter((it) => it.username !== this.employee.username);
|
|
1257
1263
|
return availableAIEmployees;
|
|
1258
1264
|
}
|
|
1259
1265
|
async getMiddleware(options) {
|
|
@@ -10,13 +10,6 @@ import { BaseMessage } from '@langchain/core/messages';
|
|
|
10
10
|
import { ChatOpenAICompletions } from '@langchain/openai';
|
|
11
11
|
import type OpenAI from 'openai';
|
|
12
12
|
export declare const REASONING_MAP_KEY = "__nb_reasoning_map";
|
|
13
|
-
export declare const getToolCallsKey: (toolCalls?: Array<{
|
|
14
|
-
id?: string;
|
|
15
|
-
name?: string;
|
|
16
|
-
function?: {
|
|
17
|
-
name?: string;
|
|
18
|
-
};
|
|
19
|
-
}>) => string;
|
|
20
13
|
export declare const collectReasoningMap: (messages: BaseMessage[]) => Map<string, string>;
|
|
21
14
|
export declare const patchRequestMessagesReasoning: (request: any, reasoningMap?: Map<string, string>) => void;
|
|
22
15
|
export declare class ReasoningChatOpenAI extends ChatOpenAICompletions {
|
|
@@ -29,37 +29,25 @@ __export(reasoning_exports, {
|
|
|
29
29
|
REASONING_MAP_KEY: () => REASONING_MAP_KEY,
|
|
30
30
|
ReasoningChatOpenAI: () => ReasoningChatOpenAI,
|
|
31
31
|
collectReasoningMap: () => collectReasoningMap,
|
|
32
|
-
getToolCallsKey: () => getToolCallsKey,
|
|
33
32
|
patchRequestMessagesReasoning: () => patchRequestMessagesReasoning
|
|
34
33
|
});
|
|
35
34
|
module.exports = __toCommonJS(reasoning_exports);
|
|
36
35
|
var import_messages = require("@langchain/core/messages");
|
|
37
36
|
var import_openai = require("@langchain/openai");
|
|
38
37
|
const REASONING_MAP_KEY = "__nb_reasoning_map";
|
|
39
|
-
const getToolCallsKey = (toolCalls = []) => toolCalls.map((toolCall) => {
|
|
40
|
-
var _a;
|
|
41
|
-
const id = (toolCall == null ? void 0 : toolCall.id) ?? "";
|
|
42
|
-
const name = (toolCall == null ? void 0 : toolCall.name) ?? ((_a = toolCall == null ? void 0 : toolCall.function) == null ? void 0 : _a.name) ?? "";
|
|
43
|
-
return `${id}:${name}`;
|
|
44
|
-
}).join("|");
|
|
45
38
|
const collectReasoningMap = (messages) => {
|
|
46
|
-
var _a
|
|
39
|
+
var _a;
|
|
47
40
|
const reasoningMap = /* @__PURE__ */ new Map();
|
|
48
|
-
for (
|
|
41
|
+
for (let i = 0; i < messages.length; i++) {
|
|
42
|
+
const message = (messages ?? [])[i];
|
|
49
43
|
if (!import_messages.AIMessage.isInstance(message)) {
|
|
50
44
|
continue;
|
|
51
45
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
const reasoningContent = (_b = message.additional_kwargs) == null ? void 0 : _b.reasoning_content;
|
|
56
|
-
if (typeof reasoningContent !== "string" || !reasoningContent) {
|
|
46
|
+
const reasoningContent = (_a = message.additional_kwargs) == null ? void 0 : _a.reasoning_content;
|
|
47
|
+
if (reasoningContent == null || typeof reasoningContent !== "string") {
|
|
57
48
|
continue;
|
|
58
49
|
}
|
|
59
|
-
|
|
60
|
-
if (key) {
|
|
61
|
-
reasoningMap.set(key, reasoningContent);
|
|
62
|
-
}
|
|
50
|
+
reasoningMap.set(String(i), reasoningContent);
|
|
63
51
|
}
|
|
64
52
|
return reasoningMap;
|
|
65
53
|
};
|
|
@@ -67,23 +55,16 @@ const patchRequestMessagesReasoning = (request, reasoningMap) => {
|
|
|
67
55
|
if (!(reasoningMap == null ? void 0 : reasoningMap.size) || !Array.isArray(request == null ? void 0 : request.messages)) {
|
|
68
56
|
return;
|
|
69
57
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
if (message.reasoning_content) {
|
|
82
|
-
continue;
|
|
83
|
-
}
|
|
84
|
-
const key = getToolCallsKey(message.tool_calls);
|
|
85
|
-
const reasoningContent = key ? reasoningMap.get(key) : void 0;
|
|
86
|
-
if (reasoningContent) {
|
|
58
|
+
if (request.messages.some((msg) => msg.role === "tool")) {
|
|
59
|
+
for (let i = 0; i < request.messages.length; i++) {
|
|
60
|
+
const message = request.messages[i];
|
|
61
|
+
if ((message == null ? void 0 : message.role) !== "assistant") {
|
|
62
|
+
continue;
|
|
63
|
+
}
|
|
64
|
+
if (message.reasoning_content) {
|
|
65
|
+
continue;
|
|
66
|
+
}
|
|
67
|
+
const reasoningContent = reasoningMap.get(String(i));
|
|
87
68
|
message.reasoning_content = reasoningContent;
|
|
88
69
|
}
|
|
89
70
|
}
|
|
@@ -139,6 +120,5 @@ class ReasoningChatOpenAI extends import_openai.ChatOpenAICompletions {
|
|
|
139
120
|
REASONING_MAP_KEY,
|
|
140
121
|
ReasoningChatOpenAI,
|
|
141
122
|
collectReasoningMap,
|
|
142
|
-
getToolCallsKey,
|
|
143
123
|
patchRequestMessagesReasoning
|
|
144
124
|
});
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
import { LLMProvider } from './provider';
|
|
10
|
+
import { LLMProviderMeta } from '../manager/ai-manager';
|
|
11
|
+
import { AIMessageChunk, BaseMessageChunk } from '@langchain/core/messages';
|
|
12
|
+
import { ReasoningChatOpenAI } from './common/reasoning';
|
|
13
|
+
import { AttachmentModel } from '@nocobase/plugin-file-manager';
|
|
14
|
+
import { Model } from '@nocobase/database';
|
|
15
|
+
export declare class MiMoProvider extends LLMProvider {
|
|
16
|
+
chatModel: ReasoningChatOpenAI;
|
|
17
|
+
get baseURL(): string;
|
|
18
|
+
createModel(): ChatMiMoCompletions;
|
|
19
|
+
protected isApiSupportedAttachment(attachment: AttachmentModel): boolean;
|
|
20
|
+
parseResponseMessage(message: Model): {
|
|
21
|
+
key: any;
|
|
22
|
+
createdAt: any;
|
|
23
|
+
content: any;
|
|
24
|
+
role: any;
|
|
25
|
+
};
|
|
26
|
+
parseReasoningContent(chunk: AIMessageChunk): {
|
|
27
|
+
status: string;
|
|
28
|
+
content: string;
|
|
29
|
+
};
|
|
30
|
+
protected builtInTools(): any[];
|
|
31
|
+
isToolConflict(): boolean;
|
|
32
|
+
}
|
|
33
|
+
declare class ChatMiMoCompletions extends ReasoningChatOpenAI {
|
|
34
|
+
_convertCompletionsDeltaToBaseMessageChunk(delta: any, rawResponse: any, defaultRole: any): BaseMessageChunk;
|
|
35
|
+
}
|
|
36
|
+
export declare const mimoProviderOptions: LLMProviderMeta;
|
|
37
|
+
export {};
|