openyida 2026.5.13 → 2026.5.15
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/README.md +4 -1
- package/bin/yida.js +66 -22
- package/lib/auth/qr-login.js +23 -11
- package/lib/core/command-manifest.js +6 -2
- package/lib/core/env-cmd.js +171 -18
- package/lib/core/env-manager.js +78 -1
- package/lib/core/locales/ar.js +39 -0
- package/lib/core/locales/de.js +39 -0
- package/lib/core/locales/en.js +41 -1
- package/lib/core/locales/es.js +39 -0
- package/lib/core/locales/fr.js +39 -0
- package/lib/core/locales/hi.js +39 -0
- package/lib/core/locales/ja.js +39 -0
- package/lib/core/locales/ko.js +39 -0
- package/lib/core/locales/pt.js +39 -0
- package/lib/core/locales/vi.js +39 -0
- package/lib/core/locales/zh-HK.js +39 -0
- package/lib/core/locales/zh.js +41 -1
- package/lib/core/utils.js +8 -4
- package/lib/corp-efficiency/corp-efficiency.js +672 -0
- package/lib/integration/integration-api.js +149 -2
- package/lib/integration/integration-check.js +703 -0
- package/package.json +1 -1
- package/scripts/e2e-real/skill-coverage.js +2 -0
- package/yida-skills/SKILL.md +2 -0
- package/yida-skills/skills/sls-log-workbench/SKILL.md +637 -0
- package/yida-skills/skills/sls-log-workbench/sls-query.js +322 -0
- package/yida-skills/skills/yida-corp-efficiency/SKILL.md +100 -0
- package/yida-skills/skills/yida-integration/SKILL.md +14 -0
- package/yida-skills/skills/yida-integration/references/integration-node-schemas.md +21 -1
package/lib/core/env-manager.js
CHANGED
|
@@ -31,10 +31,49 @@ const { findProjectRoot } = require('./utils');
|
|
|
31
31
|
|
|
32
32
|
const DEFAULT_BASE_URL = 'https://www.aliwork.com';
|
|
33
33
|
const DEFAULT_LOGIN_URL = 'https://www.aliwork.com/workPlatform';
|
|
34
|
+
const DINGTALK_OAUTH_CLIENT_ID = 'suite9xvlxxerybljwheo';
|
|
35
|
+
const DINGTALK_LOGIN_ORIGIN = 'https://login.dingtalk.com';
|
|
36
|
+
const DINGTALK_INTL_LOGIN_ORIGIN = 'https://login.dingtalk.io';
|
|
34
37
|
const ALIBABA_INTERNAL_BASE_URL = 'https://yida-group.alibaba-inc.com';
|
|
35
38
|
const ALIBABA_INTERNAL_LOGIN_URL = `${ALIBABA_INTERNAL_BASE_URL}/workPlatform`;
|
|
36
39
|
const ENVS_CONFIG_FILE = 'openyida-envs.json';
|
|
37
40
|
|
|
41
|
+
function normalizeUrlOrigin(value, fallback) {
|
|
42
|
+
const raw = value || fallback;
|
|
43
|
+
const trimmed = String(raw || '').trim();
|
|
44
|
+
if (!trimmed) {return fallback;}
|
|
45
|
+
const withProtocol = /^[a-z][a-z0-9+.-]*:\/\//i.test(trimmed)
|
|
46
|
+
? trimmed
|
|
47
|
+
: `https://${trimmed}`;
|
|
48
|
+
try {
|
|
49
|
+
return new URL(withProtocol).origin.replace(/\/+$/, '');
|
|
50
|
+
} catch {
|
|
51
|
+
return fallback;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function buildDingtalkOAuthLoginUrl(options = {}) {
|
|
56
|
+
const loginOrigin = normalizeUrlOrigin(options.loginOrigin || DINGTALK_LOGIN_ORIGIN, DINGTALK_LOGIN_ORIGIN);
|
|
57
|
+
const baseUrl = normalizeUrlOrigin(options.baseUrl || DEFAULT_BASE_URL, DEFAULT_BASE_URL);
|
|
58
|
+
const continueUrl = `${baseUrl}${options.continuePath || '/workPlatform'}`;
|
|
59
|
+
const callbackUrl = `${baseUrl}/dingtalk_sso_call_back?continue=${encodeURIComponent(continueUrl)}`;
|
|
60
|
+
const params = new URLSearchParams({
|
|
61
|
+
redirect_uri: callbackUrl,
|
|
62
|
+
response_type: 'code',
|
|
63
|
+
client_id: options.clientId || DINGTALK_OAUTH_CLIENT_ID,
|
|
64
|
+
scope: 'openid corpid',
|
|
65
|
+
lang: options.lang || 'zh_CN',
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
return `${loginOrigin}/oauth2/auth?${params.toString()}`;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
const INTERNATIONAL_LOGIN_URL = buildDingtalkOAuthLoginUrl({
|
|
72
|
+
loginOrigin: DINGTALK_INTL_LOGIN_ORIGIN,
|
|
73
|
+
baseUrl: DEFAULT_BASE_URL,
|
|
74
|
+
lang: 'en_US',
|
|
75
|
+
});
|
|
76
|
+
|
|
38
77
|
/** 默认公有云环境配置 */
|
|
39
78
|
const DEFAULT_PUBLIC_ENV = {
|
|
40
79
|
baseUrl: DEFAULT_BASE_URL,
|
|
@@ -51,11 +90,36 @@ const DEFAULT_ALIBABA_INTERNAL_ENV = {
|
|
|
51
90
|
cookieFile: 'cookies-alibaba.json',
|
|
52
91
|
};
|
|
53
92
|
|
|
93
|
+
/** 海外版 DingTalk / Wukong 环境配置 */
|
|
94
|
+
const DEFAULT_INTERNATIONAL_ENV = {
|
|
95
|
+
baseUrl: DEFAULT_BASE_URL,
|
|
96
|
+
loginUrl: INTERNATIONAL_LOGIN_URL,
|
|
97
|
+
description: '海外版 DingTalk / Wukong(login.dingtalk.io)',
|
|
98
|
+
cookieFile: 'cookies-intl.json',
|
|
99
|
+
};
|
|
100
|
+
|
|
54
101
|
const BUILTIN_ENVIRONMENTS = {
|
|
55
102
|
public: DEFAULT_PUBLIC_ENV,
|
|
103
|
+
intl: DEFAULT_INTERNATIONAL_ENV,
|
|
56
104
|
alibaba: DEFAULT_ALIBABA_INTERNAL_ENV,
|
|
57
105
|
};
|
|
58
106
|
|
|
107
|
+
const ENV_ALIASES = {
|
|
108
|
+
public: 'public',
|
|
109
|
+
aliyun: 'public',
|
|
110
|
+
domestic: 'public',
|
|
111
|
+
china: 'public',
|
|
112
|
+
overseas: 'intl',
|
|
113
|
+
oversea: 'intl',
|
|
114
|
+
international: 'intl',
|
|
115
|
+
global: 'intl',
|
|
116
|
+
abroad: 'intl',
|
|
117
|
+
intl: 'intl',
|
|
118
|
+
alibaba: 'alibaba',
|
|
119
|
+
internal: 'alibaba',
|
|
120
|
+
intranet: 'alibaba',
|
|
121
|
+
};
|
|
122
|
+
|
|
59
123
|
const SHARED_COOKIE_DOMAINS = new Set([
|
|
60
124
|
'aliwork.com',
|
|
61
125
|
'alibaba-inc.com',
|
|
@@ -79,6 +143,12 @@ function buildDefaultEnvsConfig() {
|
|
|
79
143
|
};
|
|
80
144
|
}
|
|
81
145
|
|
|
146
|
+
function resolveEnvNameAlias(envName) {
|
|
147
|
+
if (!envName) {return envName;}
|
|
148
|
+
const normalized = String(envName).trim().toLowerCase();
|
|
149
|
+
return ENV_ALIASES[normalized] || envName;
|
|
150
|
+
}
|
|
151
|
+
|
|
82
152
|
function ensureBuiltinEnvironments(config) {
|
|
83
153
|
if (!config.environments) { config.environments = {}; }
|
|
84
154
|
for (const [envName, envConfig] of Object.entries(BUILTIN_ENVIRONMENTS)) {
|
|
@@ -229,7 +299,7 @@ function saveEnvsConfig(config, projectRoot) {
|
|
|
229
299
|
*/
|
|
230
300
|
function getCurrentEnvConfig(projectRoot) {
|
|
231
301
|
const envsConfig = loadEnvsConfig(projectRoot);
|
|
232
|
-
const envName = process.env.OPENYIDA_ENV || envsConfig.current || 'public';
|
|
302
|
+
const envName = resolveEnvNameAlias(process.env.OPENYIDA_ENV || envsConfig.current || 'public');
|
|
233
303
|
const envConfig = envsConfig.environments[envName] || envsConfig.environments.public || DEFAULT_PUBLIC_ENV;
|
|
234
304
|
|
|
235
305
|
return { name: envName, config: envConfig };
|
|
@@ -335,10 +405,17 @@ function resolveLoginUrl(projectRoot) {
|
|
|
335
405
|
module.exports = {
|
|
336
406
|
DEFAULT_BASE_URL,
|
|
337
407
|
DEFAULT_LOGIN_URL,
|
|
408
|
+
DINGTALK_OAUTH_CLIENT_ID,
|
|
409
|
+
DINGTALK_LOGIN_ORIGIN,
|
|
410
|
+
DINGTALK_INTL_LOGIN_ORIGIN,
|
|
411
|
+
INTERNATIONAL_LOGIN_URL,
|
|
338
412
|
ALIBABA_INTERNAL_BASE_URL,
|
|
339
413
|
ALIBABA_INTERNAL_LOGIN_URL,
|
|
340
414
|
DEFAULT_PUBLIC_ENV,
|
|
415
|
+
DEFAULT_INTERNATIONAL_ENV,
|
|
341
416
|
DEFAULT_ALIBABA_INTERNAL_ENV,
|
|
417
|
+
buildDingtalkOAuthLoginUrl,
|
|
418
|
+
resolveEnvNameAlias,
|
|
342
419
|
loadEnvsConfig,
|
|
343
420
|
saveEnvsConfig,
|
|
344
421
|
getCurrentEnvConfig,
|
package/lib/core/locales/ar.js
CHANGED
|
@@ -18,6 +18,7 @@ module.exports = {
|
|
|
18
18
|
cmd_env_management: 'Manage public/private environment profiles',
|
|
19
19
|
group_app: 'إدارة التطبيقات',
|
|
20
20
|
cmd_app_list: 'عرض تطبيقات Yida الخاصة بي',
|
|
21
|
+
cmd_corp_efficiency: 'استعلام عن نظرة عامة على كفاءة المؤسسة وتقارير التفاصيل',
|
|
21
22
|
cmd_create_app: 'إنشاء تطبيق Yida',
|
|
22
23
|
cmd_update_app: 'تحديث معلومات التطبيق',
|
|
23
24
|
cmd_export: 'تصدير التطبيق (حزمة الترحيل)',
|
|
@@ -68,6 +69,7 @@ module.exports = {
|
|
|
68
69
|
cmd_connector_more: 'عرض المزيد من الأوامر الفرعية',
|
|
69
70
|
group_integration: 'التكامل & DingTalk',
|
|
70
71
|
cmd_integration: 'إنشاء تدفق أتمتة التكامل',
|
|
72
|
+
cmd_integration_check: 'Check abnormal integration automation run logs',
|
|
71
73
|
cmd_dws: 'DingTalk CLI (جهات الاتصال/التقويم/المهام/الموافقة إلخ)',
|
|
72
74
|
cmd_dingtalk_link: 'إنشاء روابط DingTalk AppLink / dingtalk:// القديمة',
|
|
73
75
|
group_utility: 'الأدوات',
|
|
@@ -109,6 +111,43 @@ module.exports = {
|
|
|
109
111
|
generate_page_example: 'Example: openyida generate-page product-homepage --brand-name OpenKuma --brand-initials OK --output pages/src/home.oyd.jsx --compile',
|
|
110
112
|
},
|
|
111
113
|
|
|
114
|
+
// ── lib/integration/integration-check.js ─────────
|
|
115
|
+
integration_check: {
|
|
116
|
+
result_sheet: 'Result',
|
|
117
|
+
header_app: 'App',
|
|
118
|
+
header_form_title: 'Form name',
|
|
119
|
+
header_form_uuid: 'Form ID',
|
|
120
|
+
header_flow_name: 'Automation name',
|
|
121
|
+
header_process_code: 'Automation ID',
|
|
122
|
+
header_flow_status: 'Automation status',
|
|
123
|
+
header_event_name: 'Trigger event',
|
|
124
|
+
header_last_action: 'Last action',
|
|
125
|
+
header_modifier: 'Modifier',
|
|
126
|
+
header_modified_time: 'Modified time',
|
|
127
|
+
header_abnormal_log_count: 'Abnormal log count',
|
|
128
|
+
header_proc_inst_id: 'Run instance ID',
|
|
129
|
+
header_form_inst_id: 'Form instance ID',
|
|
130
|
+
header_execution_status: 'Execution status',
|
|
131
|
+
header_exception: 'Exception',
|
|
132
|
+
header_start_time: 'Start time',
|
|
133
|
+
header_finish_time: 'Finish time',
|
|
134
|
+
header_elapsed_ms: 'Elapsed (ms)',
|
|
135
|
+
no_abnormal: 'No abnormal execution logs found',
|
|
136
|
+
app_failed: 'App check failed: {0}',
|
|
137
|
+
summary: 'Check complete: {0} apps, {1} automations, {2} with abnormal logs',
|
|
138
|
+
apps_failed: '{0} app(s) failed to check. See JSON output or error summary for details.',
|
|
139
|
+
no_logs: 'No abnormal execution logs found.',
|
|
140
|
+
usage: 'openyida integration check <appType...> [--json] [--output result.xlsx] [--no-progress] [--flow-types 1,2,3,5,6] [--log-page-size 10] [--max-log-pages 1]',
|
|
141
|
+
example: 'openyida integration check APP_XXX --output project/output/automation-errors.xlsx',
|
|
142
|
+
missing_app: 'Missing appType. Usage: openyida integration check <appType...>',
|
|
143
|
+
banner_title: 'Check integration automation abnormal logs',
|
|
144
|
+
status_filter: 'Execution status filter: {0}',
|
|
145
|
+
checking_app: 'Checking app: {0}',
|
|
146
|
+
progress: 'Progress {0}{1}',
|
|
147
|
+
current: ', current: {0}',
|
|
148
|
+
excel_exported: 'Excel exported: {0}',
|
|
149
|
+
},
|
|
150
|
+
|
|
112
151
|
// ── lib/env.js ─────────────────────────────────────
|
|
113
152
|
env: {
|
|
114
153
|
title: ' openyida env - اكتشاف بيئة أداة الذكاء الاصطناعي',
|
package/lib/core/locales/de.js
CHANGED
|
@@ -18,6 +18,7 @@ module.exports = {
|
|
|
18
18
|
cmd_env_management: 'Public/private environment profiles verwalten',
|
|
19
19
|
group_app: 'App-Verwaltung',
|
|
20
20
|
cmd_app_list: 'Meine Yida-Apps auflisten',
|
|
21
|
+
cmd_corp_efficiency: 'Unternehmenseffizienz-Übersicht und Detailberichte abrufen',
|
|
21
22
|
cmd_create_app: 'Yida-App erstellen',
|
|
22
23
|
cmd_update_app: 'App-Informationen aktualisieren',
|
|
23
24
|
cmd_export: 'App exportieren (Migrationspaket erstellen)',
|
|
@@ -68,6 +69,7 @@ module.exports = {
|
|
|
68
69
|
cmd_connector_more: 'Weitere Unterbefehle anzeigen',
|
|
69
70
|
group_integration: 'Integration & DingTalk',
|
|
70
71
|
cmd_integration: 'Integrations-Automatisierungsflow erstellen',
|
|
72
|
+
cmd_integration_check: 'Check abnormal integration automation run logs',
|
|
71
73
|
cmd_dws: 'DingTalk CLI (Kontakte/Kalender/Aufgaben/Genehmigung etc.)',
|
|
72
74
|
cmd_dingtalk_link: 'DingTalk AppLink / alte dingtalk:// Seitenlinks erzeugen',
|
|
73
75
|
group_utility: 'Werkzeuge',
|
|
@@ -109,6 +111,43 @@ module.exports = {
|
|
|
109
111
|
generate_page_example: 'Example: openyida generate-page product-homepage --brand-name OpenKuma --brand-initials OK --output pages/src/home.oyd.jsx --compile',
|
|
110
112
|
},
|
|
111
113
|
|
|
114
|
+
// ── lib/integration/integration-check.js ─────────
|
|
115
|
+
integration_check: {
|
|
116
|
+
result_sheet: 'Result',
|
|
117
|
+
header_app: 'App',
|
|
118
|
+
header_form_title: 'Form name',
|
|
119
|
+
header_form_uuid: 'Form ID',
|
|
120
|
+
header_flow_name: 'Automation name',
|
|
121
|
+
header_process_code: 'Automation ID',
|
|
122
|
+
header_flow_status: 'Automation status',
|
|
123
|
+
header_event_name: 'Trigger event',
|
|
124
|
+
header_last_action: 'Last action',
|
|
125
|
+
header_modifier: 'Modifier',
|
|
126
|
+
header_modified_time: 'Modified time',
|
|
127
|
+
header_abnormal_log_count: 'Abnormal log count',
|
|
128
|
+
header_proc_inst_id: 'Run instance ID',
|
|
129
|
+
header_form_inst_id: 'Form instance ID',
|
|
130
|
+
header_execution_status: 'Execution status',
|
|
131
|
+
header_exception: 'Exception',
|
|
132
|
+
header_start_time: 'Start time',
|
|
133
|
+
header_finish_time: 'Finish time',
|
|
134
|
+
header_elapsed_ms: 'Elapsed (ms)',
|
|
135
|
+
no_abnormal: 'No abnormal execution logs found',
|
|
136
|
+
app_failed: 'App check failed: {0}',
|
|
137
|
+
summary: 'Check complete: {0} apps, {1} automations, {2} with abnormal logs',
|
|
138
|
+
apps_failed: '{0} app(s) failed to check. See JSON output or error summary for details.',
|
|
139
|
+
no_logs: 'No abnormal execution logs found.',
|
|
140
|
+
usage: 'openyida integration check <appType...> [--json] [--output result.xlsx] [--no-progress] [--flow-types 1,2,3,5,6] [--log-page-size 10] [--max-log-pages 1]',
|
|
141
|
+
example: 'openyida integration check APP_XXX --output project/output/automation-errors.xlsx',
|
|
142
|
+
missing_app: 'Missing appType. Usage: openyida integration check <appType...>',
|
|
143
|
+
banner_title: 'Check integration automation abnormal logs',
|
|
144
|
+
status_filter: 'Execution status filter: {0}',
|
|
145
|
+
checking_app: 'Checking app: {0}',
|
|
146
|
+
progress: 'Progress {0}{1}',
|
|
147
|
+
current: ', current: {0}',
|
|
148
|
+
excel_exported: 'Excel exported: {0}',
|
|
149
|
+
},
|
|
150
|
+
|
|
112
151
|
// ── lib/env.js ─────────────────────────────────────
|
|
113
152
|
env: {
|
|
114
153
|
title: ' openyida env - KI-Tool-Umgebungserkennung',
|
package/lib/core/locales/en.js
CHANGED
|
@@ -20,6 +20,7 @@ module.exports = {
|
|
|
20
20
|
cmd_env_management: 'Manage public/private Yida environment profiles',
|
|
21
21
|
group_app: 'App Management',
|
|
22
22
|
cmd_app_list: 'List my Yida apps',
|
|
23
|
+
cmd_corp_efficiency: 'Query enterprise efficiency overview and detail reports',
|
|
23
24
|
cmd_create_app: 'Create a Yida app',
|
|
24
25
|
cmd_update_app: 'Update app info',
|
|
25
26
|
cmd_export: 'Export app (generate migration package)',
|
|
@@ -71,6 +72,7 @@ module.exports = {
|
|
|
71
72
|
cmd_connector_more: 'View more sub-commands',
|
|
72
73
|
group_integration: 'Integration & DingTalk',
|
|
73
74
|
cmd_integration: 'Create integration automation flow',
|
|
75
|
+
cmd_integration_check: 'Check abnormal integration automation run logs',
|
|
74
76
|
cmd_dws: 'DingTalk CLI (contacts/calendar/todo/approval etc.)',
|
|
75
77
|
cmd_dingtalk_link: 'Generate DingTalk AppLink / legacy dingtalk:// page links',
|
|
76
78
|
group_utility: 'Utility',
|
|
@@ -156,6 +158,7 @@ Commands:
|
|
|
156
158
|
connector parse-api [options] Parse API info
|
|
157
159
|
connector gen-template [output] Generate API doc template
|
|
158
160
|
integration create <appType> <formUuid> <flowName> [options] Create integration & automation flow
|
|
161
|
+
integration check <appType...> [--json] [--output xlsx] Check abnormal integration automation run logs
|
|
159
162
|
create-report <appType> "<name>" <chartsJSON|file> Create Yida report
|
|
160
163
|
append-chart <appType> <reportId> <chartsJSON|file> Append chart to existing report
|
|
161
164
|
dws <command> [args] DingTalk CLI (contacts/calendar/todo/approval etc.)
|
|
@@ -213,7 +216,7 @@ Examples:
|
|
|
213
216
|
`,
|
|
214
217
|
unknown_command: 'Unknown command: {0}',
|
|
215
218
|
run_help: 'Run openyida --help for usage',
|
|
216
|
-
integration_help: 'Usage: openyida integration <create|list|enable|disable> ...',
|
|
219
|
+
integration_help: 'Usage: openyida integration <create|list|enable|disable|check> ...',
|
|
217
220
|
integration_unknown: 'Unknown integration subcommand: {0}',
|
|
218
221
|
integration_help_hint: 'Run openyida integration --help for available subcommands',
|
|
219
222
|
integration_list_usage: 'Usage: openyida integration list <appType> [--form-uuid <uuid>] [--status y|n] [--key <kw>] [--page <n>] [--size <n>] [--json]',
|
|
@@ -286,6 +289,43 @@ Examples:
|
|
|
286
289
|
first_run_footer3: ' (This guide only shows on first run. Use openyida --help to see all commands)',
|
|
287
290
|
},
|
|
288
291
|
|
|
292
|
+
// ── lib/integration/integration-check.js ─────────
|
|
293
|
+
integration_check: {
|
|
294
|
+
result_sheet: 'Result',
|
|
295
|
+
header_app: 'App',
|
|
296
|
+
header_form_title: 'Form name',
|
|
297
|
+
header_form_uuid: 'Form ID',
|
|
298
|
+
header_flow_name: 'Automation name',
|
|
299
|
+
header_process_code: 'Automation ID',
|
|
300
|
+
header_flow_status: 'Automation status',
|
|
301
|
+
header_event_name: 'Trigger event',
|
|
302
|
+
header_last_action: 'Last action',
|
|
303
|
+
header_modifier: 'Modifier',
|
|
304
|
+
header_modified_time: 'Modified time',
|
|
305
|
+
header_abnormal_log_count: 'Abnormal log count',
|
|
306
|
+
header_proc_inst_id: 'Run instance ID',
|
|
307
|
+
header_form_inst_id: 'Form instance ID',
|
|
308
|
+
header_execution_status: 'Execution status',
|
|
309
|
+
header_exception: 'Exception',
|
|
310
|
+
header_start_time: 'Start time',
|
|
311
|
+
header_finish_time: 'Finish time',
|
|
312
|
+
header_elapsed_ms: 'Elapsed (ms)',
|
|
313
|
+
no_abnormal: 'No abnormal execution logs found',
|
|
314
|
+
app_failed: 'App check failed: {0}',
|
|
315
|
+
summary: 'Check complete: {0} apps, {1} automations, {2} with abnormal logs',
|
|
316
|
+
apps_failed: '{0} app(s) failed to check. See JSON output or error summary for details.',
|
|
317
|
+
no_logs: 'No abnormal execution logs found.',
|
|
318
|
+
usage: 'openyida integration check <appType...> [--json] [--output result.xlsx] [--no-progress] [--flow-types 1,2,3,5,6] [--log-page-size 10] [--max-log-pages 1]',
|
|
319
|
+
example: 'openyida integration check APP_XXX --output project/output/automation-errors.xlsx',
|
|
320
|
+
missing_app: 'Missing appType. Usage: openyida integration check <appType...>',
|
|
321
|
+
banner_title: 'Check integration automation abnormal logs',
|
|
322
|
+
status_filter: 'Execution status filter: {0}',
|
|
323
|
+
checking_app: 'Checking app: {0}',
|
|
324
|
+
progress: 'Progress {0}{1}',
|
|
325
|
+
current: ', current: {0}',
|
|
326
|
+
excel_exported: 'Excel exported: {0}',
|
|
327
|
+
},
|
|
328
|
+
|
|
289
329
|
// ── lib/check-update.js ────────────────────────────
|
|
290
330
|
check_update: {
|
|
291
331
|
new_version: '\n💡 New version available: {0} (current: {1})\n Run the following command to update:\n npm install -g openyida@latest\n',
|
package/lib/core/locales/es.js
CHANGED
|
@@ -18,6 +18,7 @@ module.exports = {
|
|
|
18
18
|
cmd_env_management: 'Gestionar perfiles de entorno público/privado',
|
|
19
19
|
group_app: 'Gestión de aplicaciones',
|
|
20
20
|
cmd_app_list: 'Listar mis aplicaciones Yida',
|
|
21
|
+
cmd_corp_efficiency: 'Consultar resumen de eficiencia empresarial e informes detallados',
|
|
21
22
|
cmd_create_app: 'Crear una aplicación Yida',
|
|
22
23
|
cmd_update_app: 'Actualizar información de la aplicación',
|
|
23
24
|
cmd_export: 'Exportar aplicación (paquete de migración)',
|
|
@@ -68,6 +69,7 @@ module.exports = {
|
|
|
68
69
|
cmd_connector_more: 'Ver más subcomandos',
|
|
69
70
|
group_integration: 'Integración & DingTalk',
|
|
70
71
|
cmd_integration: 'Crear flujo de automatización',
|
|
72
|
+
cmd_integration_check: 'Check abnormal integration automation run logs',
|
|
71
73
|
cmd_dws: 'DingTalk CLI (contactos/calendario/tareas/aprobación etc.)',
|
|
72
74
|
cmd_dingtalk_link: 'Generar enlaces DingTalk AppLink / dingtalk:// heredados',
|
|
73
75
|
group_utility: 'Utilidades',
|
|
@@ -109,6 +111,43 @@ module.exports = {
|
|
|
109
111
|
generate_page_example: 'Example: openyida generate-page product-homepage --brand-name OpenKuma --brand-initials OK --output pages/src/home.oyd.jsx --compile',
|
|
110
112
|
},
|
|
111
113
|
|
|
114
|
+
// ── lib/integration/integration-check.js ─────────
|
|
115
|
+
integration_check: {
|
|
116
|
+
result_sheet: 'Result',
|
|
117
|
+
header_app: 'App',
|
|
118
|
+
header_form_title: 'Form name',
|
|
119
|
+
header_form_uuid: 'Form ID',
|
|
120
|
+
header_flow_name: 'Automation name',
|
|
121
|
+
header_process_code: 'Automation ID',
|
|
122
|
+
header_flow_status: 'Automation status',
|
|
123
|
+
header_event_name: 'Trigger event',
|
|
124
|
+
header_last_action: 'Last action',
|
|
125
|
+
header_modifier: 'Modifier',
|
|
126
|
+
header_modified_time: 'Modified time',
|
|
127
|
+
header_abnormal_log_count: 'Abnormal log count',
|
|
128
|
+
header_proc_inst_id: 'Run instance ID',
|
|
129
|
+
header_form_inst_id: 'Form instance ID',
|
|
130
|
+
header_execution_status: 'Execution status',
|
|
131
|
+
header_exception: 'Exception',
|
|
132
|
+
header_start_time: 'Start time',
|
|
133
|
+
header_finish_time: 'Finish time',
|
|
134
|
+
header_elapsed_ms: 'Elapsed (ms)',
|
|
135
|
+
no_abnormal: 'No abnormal execution logs found',
|
|
136
|
+
app_failed: 'App check failed: {0}',
|
|
137
|
+
summary: 'Check complete: {0} apps, {1} automations, {2} with abnormal logs',
|
|
138
|
+
apps_failed: '{0} app(s) failed to check. See JSON output or error summary for details.',
|
|
139
|
+
no_logs: 'No abnormal execution logs found.',
|
|
140
|
+
usage: 'openyida integration check <appType...> [--json] [--output result.xlsx] [--no-progress] [--flow-types 1,2,3,5,6] [--log-page-size 10] [--max-log-pages 1]',
|
|
141
|
+
example: 'openyida integration check APP_XXX --output project/output/automation-errors.xlsx',
|
|
142
|
+
missing_app: 'Missing appType. Usage: openyida integration check <appType...>',
|
|
143
|
+
banner_title: 'Check integration automation abnormal logs',
|
|
144
|
+
status_filter: 'Execution status filter: {0}',
|
|
145
|
+
checking_app: 'Checking app: {0}',
|
|
146
|
+
progress: 'Progress {0}{1}',
|
|
147
|
+
current: ', current: {0}',
|
|
148
|
+
excel_exported: 'Excel exported: {0}',
|
|
149
|
+
},
|
|
150
|
+
|
|
112
151
|
// ── lib/env.js ─────────────────────────────────────
|
|
113
152
|
env: {
|
|
114
153
|
title: ' openyida env - Detección del entorno de herramienta IA',
|
package/lib/core/locales/fr.js
CHANGED
|
@@ -18,6 +18,7 @@ module.exports = {
|
|
|
18
18
|
cmd_env_management: 'Gérer les profils d\'environnement public/privé',
|
|
19
19
|
group_app: 'Gestion des applications',
|
|
20
20
|
cmd_app_list: 'Lister mes applications Yida',
|
|
21
|
+
cmd_corp_efficiency: 'Consulter l\'aperçu de l\'efficacité entreprise et les rapports détaillés',
|
|
21
22
|
cmd_create_app: 'Créer une application Yida',
|
|
22
23
|
cmd_update_app: 'Mettre à jour les infos de l\'application',
|
|
23
24
|
cmd_export: 'Exporter l\'application (package de migration)',
|
|
@@ -68,6 +69,7 @@ module.exports = {
|
|
|
68
69
|
cmd_connector_more: 'Voir plus de sous-commandes',
|
|
69
70
|
group_integration: 'Intégration & DingTalk',
|
|
70
71
|
cmd_integration: 'Créer un flux d\'automatisation',
|
|
72
|
+
cmd_integration_check: 'Check abnormal integration automation run logs',
|
|
71
73
|
cmd_dws: 'DingTalk CLI (contacts/calendrier/tâches/approbation etc.)',
|
|
72
74
|
cmd_dingtalk_link: 'Générer des liens DingTalk AppLink / dingtalk:// historiques',
|
|
73
75
|
group_utility: 'Utilitaires',
|
|
@@ -109,6 +111,43 @@ module.exports = {
|
|
|
109
111
|
generate_page_example: 'Example: openyida generate-page product-homepage --brand-name OpenKuma --brand-initials OK --output pages/src/home.oyd.jsx --compile',
|
|
110
112
|
},
|
|
111
113
|
|
|
114
|
+
// ── lib/integration/integration-check.js ─────────
|
|
115
|
+
integration_check: {
|
|
116
|
+
result_sheet: 'Result',
|
|
117
|
+
header_app: 'App',
|
|
118
|
+
header_form_title: 'Form name',
|
|
119
|
+
header_form_uuid: 'Form ID',
|
|
120
|
+
header_flow_name: 'Automation name',
|
|
121
|
+
header_process_code: 'Automation ID',
|
|
122
|
+
header_flow_status: 'Automation status',
|
|
123
|
+
header_event_name: 'Trigger event',
|
|
124
|
+
header_last_action: 'Last action',
|
|
125
|
+
header_modifier: 'Modifier',
|
|
126
|
+
header_modified_time: 'Modified time',
|
|
127
|
+
header_abnormal_log_count: 'Abnormal log count',
|
|
128
|
+
header_proc_inst_id: 'Run instance ID',
|
|
129
|
+
header_form_inst_id: 'Form instance ID',
|
|
130
|
+
header_execution_status: 'Execution status',
|
|
131
|
+
header_exception: 'Exception',
|
|
132
|
+
header_start_time: 'Start time',
|
|
133
|
+
header_finish_time: 'Finish time',
|
|
134
|
+
header_elapsed_ms: 'Elapsed (ms)',
|
|
135
|
+
no_abnormal: 'No abnormal execution logs found',
|
|
136
|
+
app_failed: 'App check failed: {0}',
|
|
137
|
+
summary: 'Check complete: {0} apps, {1} automations, {2} with abnormal logs',
|
|
138
|
+
apps_failed: '{0} app(s) failed to check. See JSON output or error summary for details.',
|
|
139
|
+
no_logs: 'No abnormal execution logs found.',
|
|
140
|
+
usage: 'openyida integration check <appType...> [--json] [--output result.xlsx] [--no-progress] [--flow-types 1,2,3,5,6] [--log-page-size 10] [--max-log-pages 1]',
|
|
141
|
+
example: 'openyida integration check APP_XXX --output project/output/automation-errors.xlsx',
|
|
142
|
+
missing_app: 'Missing appType. Usage: openyida integration check <appType...>',
|
|
143
|
+
banner_title: 'Check integration automation abnormal logs',
|
|
144
|
+
status_filter: 'Execution status filter: {0}',
|
|
145
|
+
checking_app: 'Checking app: {0}',
|
|
146
|
+
progress: 'Progress {0}{1}',
|
|
147
|
+
current: ', current: {0}',
|
|
148
|
+
excel_exported: 'Excel exported: {0}',
|
|
149
|
+
},
|
|
150
|
+
|
|
112
151
|
// ── lib/env.js ─────────────────────────────────────
|
|
113
152
|
env: {
|
|
114
153
|
title: " openyida env - Détection de l'environnement IA",
|
package/lib/core/locales/hi.js
CHANGED
|
@@ -18,6 +18,7 @@ module.exports = {
|
|
|
18
18
|
cmd_env_management: 'Manage public/private environment profiles',
|
|
19
19
|
group_app: 'ऐप प्रबंधन',
|
|
20
20
|
cmd_app_list: 'मेरे Yida ऐप सूचीबद्ध करें',
|
|
21
|
+
cmd_corp_efficiency: 'एंटरप्राइज दक्षता अवलोकन और विवरण रिपोर्ट क्वेरी करें',
|
|
21
22
|
cmd_create_app: 'Yida ऐप बनाएं',
|
|
22
23
|
cmd_update_app: 'ऐप जानकारी अपडेट करें',
|
|
23
24
|
cmd_export: 'ऐप निर्यात करें (माइग्रेशन पैकेज)',
|
|
@@ -68,6 +69,7 @@ module.exports = {
|
|
|
68
69
|
cmd_connector_more: 'अधिक उप-कमांड देखें',
|
|
69
70
|
group_integration: 'एकीकरण & DingTalk',
|
|
70
71
|
cmd_integration: 'एकीकरण स्वचालन फ्लो बनाएं',
|
|
72
|
+
cmd_integration_check: 'Check abnormal integration automation run logs',
|
|
71
73
|
cmd_dws: 'DingTalk CLI (संपर्क/कैलेंडर/कार्य/अनुमोदन आदि)',
|
|
72
74
|
cmd_dingtalk_link: 'DingTalk AppLink / legacy dingtalk:// पेज लिंक बनाएं',
|
|
73
75
|
group_utility: 'उपकरण',
|
|
@@ -109,6 +111,43 @@ module.exports = {
|
|
|
109
111
|
generate_page_example: 'Example: openyida generate-page product-homepage --brand-name OpenKuma --brand-initials OK --output pages/src/home.oyd.jsx --compile',
|
|
110
112
|
},
|
|
111
113
|
|
|
114
|
+
// ── lib/integration/integration-check.js ─────────
|
|
115
|
+
integration_check: {
|
|
116
|
+
result_sheet: 'Result',
|
|
117
|
+
header_app: 'App',
|
|
118
|
+
header_form_title: 'Form name',
|
|
119
|
+
header_form_uuid: 'Form ID',
|
|
120
|
+
header_flow_name: 'Automation name',
|
|
121
|
+
header_process_code: 'Automation ID',
|
|
122
|
+
header_flow_status: 'Automation status',
|
|
123
|
+
header_event_name: 'Trigger event',
|
|
124
|
+
header_last_action: 'Last action',
|
|
125
|
+
header_modifier: 'Modifier',
|
|
126
|
+
header_modified_time: 'Modified time',
|
|
127
|
+
header_abnormal_log_count: 'Abnormal log count',
|
|
128
|
+
header_proc_inst_id: 'Run instance ID',
|
|
129
|
+
header_form_inst_id: 'Form instance ID',
|
|
130
|
+
header_execution_status: 'Execution status',
|
|
131
|
+
header_exception: 'Exception',
|
|
132
|
+
header_start_time: 'Start time',
|
|
133
|
+
header_finish_time: 'Finish time',
|
|
134
|
+
header_elapsed_ms: 'Elapsed (ms)',
|
|
135
|
+
no_abnormal: 'No abnormal execution logs found',
|
|
136
|
+
app_failed: 'App check failed: {0}',
|
|
137
|
+
summary: 'Check complete: {0} apps, {1} automations, {2} with abnormal logs',
|
|
138
|
+
apps_failed: '{0} app(s) failed to check. See JSON output or error summary for details.',
|
|
139
|
+
no_logs: 'No abnormal execution logs found.',
|
|
140
|
+
usage: 'openyida integration check <appType...> [--json] [--output result.xlsx] [--no-progress] [--flow-types 1,2,3,5,6] [--log-page-size 10] [--max-log-pages 1]',
|
|
141
|
+
example: 'openyida integration check APP_XXX --output project/output/automation-errors.xlsx',
|
|
142
|
+
missing_app: 'Missing appType. Usage: openyida integration check <appType...>',
|
|
143
|
+
banner_title: 'Check integration automation abnormal logs',
|
|
144
|
+
status_filter: 'Execution status filter: {0}',
|
|
145
|
+
checking_app: 'Checking app: {0}',
|
|
146
|
+
progress: 'Progress {0}{1}',
|
|
147
|
+
current: ', current: {0}',
|
|
148
|
+
excel_exported: 'Excel exported: {0}',
|
|
149
|
+
},
|
|
150
|
+
|
|
112
151
|
// ── lib/env.js ─────────────────────────────────────
|
|
113
152
|
env: {
|
|
114
153
|
title: ' openyida env - AI टूल वातावरण पहचान',
|
package/lib/core/locales/ja.js
CHANGED
|
@@ -20,6 +20,7 @@ module.exports = {
|
|
|
20
20
|
cmd_env_management: 'パブリック/プライベート環境プロファイルを管理',
|
|
21
21
|
group_app: 'アプリ管理',
|
|
22
22
|
cmd_app_list: '自分の Yida アプリ一覧を表示',
|
|
23
|
+
cmd_corp_efficiency: '企業効率の概要と明細レポートを取得',
|
|
23
24
|
cmd_create_app: '宜搭アプリを作成',
|
|
24
25
|
cmd_update_app: 'アプリ情報を更新',
|
|
25
26
|
cmd_export: 'アプリをエクスポート(移行パッケージ生成)',
|
|
@@ -70,6 +71,7 @@ module.exports = {
|
|
|
70
71
|
cmd_connector_more: 'その他のサブコマンドを表示',
|
|
71
72
|
group_integration: '統合 & DingTalk',
|
|
72
73
|
cmd_integration: '統合自動化フローを作成',
|
|
74
|
+
cmd_integration_check: 'Check abnormal integration automation run logs',
|
|
73
75
|
cmd_dws: 'DingTalk CLI(連絡先/カレンダー/ToDo/承認等)',
|
|
74
76
|
cmd_dingtalk_link: 'DingTalk AppLink / 旧 dingtalk:// ページリンクを生成',
|
|
75
77
|
group_utility: 'ユーティリティ',
|
|
@@ -256,6 +258,43 @@ openyida - Yida CLI ツール
|
|
|
256
258
|
first_run_footer3: ' (このガイドは初回起動時のみ表示されます。openyida --help で全コマンドを確認できます)',
|
|
257
259
|
},
|
|
258
260
|
|
|
261
|
+
// ── lib/integration/integration-check.js ─────────
|
|
262
|
+
integration_check: {
|
|
263
|
+
result_sheet: 'Result',
|
|
264
|
+
header_app: 'App',
|
|
265
|
+
header_form_title: 'Form name',
|
|
266
|
+
header_form_uuid: 'Form ID',
|
|
267
|
+
header_flow_name: 'Automation name',
|
|
268
|
+
header_process_code: 'Automation ID',
|
|
269
|
+
header_flow_status: 'Automation status',
|
|
270
|
+
header_event_name: 'Trigger event',
|
|
271
|
+
header_last_action: 'Last action',
|
|
272
|
+
header_modifier: 'Modifier',
|
|
273
|
+
header_modified_time: 'Modified time',
|
|
274
|
+
header_abnormal_log_count: 'Abnormal log count',
|
|
275
|
+
header_proc_inst_id: 'Run instance ID',
|
|
276
|
+
header_form_inst_id: 'Form instance ID',
|
|
277
|
+
header_execution_status: 'Execution status',
|
|
278
|
+
header_exception: 'Exception',
|
|
279
|
+
header_start_time: 'Start time',
|
|
280
|
+
header_finish_time: 'Finish time',
|
|
281
|
+
header_elapsed_ms: 'Elapsed (ms)',
|
|
282
|
+
no_abnormal: 'No abnormal execution logs found',
|
|
283
|
+
app_failed: 'App check failed: {0}',
|
|
284
|
+
summary: 'Check complete: {0} apps, {1} automations, {2} with abnormal logs',
|
|
285
|
+
apps_failed: '{0} app(s) failed to check. See JSON output or error summary for details.',
|
|
286
|
+
no_logs: 'No abnormal execution logs found.',
|
|
287
|
+
usage: 'openyida integration check <appType...> [--json] [--output result.xlsx] [--no-progress] [--flow-types 1,2,3,5,6] [--log-page-size 10] [--max-log-pages 1]',
|
|
288
|
+
example: 'openyida integration check APP_XXX --output project/output/automation-errors.xlsx',
|
|
289
|
+
missing_app: 'Missing appType. Usage: openyida integration check <appType...>',
|
|
290
|
+
banner_title: 'Check integration automation abnormal logs',
|
|
291
|
+
status_filter: 'Execution status filter: {0}',
|
|
292
|
+
checking_app: 'Checking app: {0}',
|
|
293
|
+
progress: 'Progress {0}{1}',
|
|
294
|
+
current: ', current: {0}',
|
|
295
|
+
excel_exported: 'Excel exported: {0}',
|
|
296
|
+
},
|
|
297
|
+
|
|
259
298
|
// ── lib/update.js ──────────────────────────────────
|
|
260
299
|
update: {
|
|
261
300
|
checking: '最新バージョンを確認中...',
|
package/lib/core/locales/ko.js
CHANGED
|
@@ -18,6 +18,7 @@ module.exports = {
|
|
|
18
18
|
cmd_env_management: 'Manage public/private environment profiles',
|
|
19
19
|
group_app: '앱 관리',
|
|
20
20
|
cmd_app_list: '내 Yida 앱 목록 조회',
|
|
21
|
+
cmd_corp_efficiency: '기업 효율 개요 및 상세 보고서 조회',
|
|
21
22
|
cmd_create_app: 'Yida 앱 생성',
|
|
22
23
|
cmd_update_app: '앱 정보 업데이트',
|
|
23
24
|
cmd_export: '앱 내보내기 (마이그레이션 패키지 생성)',
|
|
@@ -68,6 +69,7 @@ module.exports = {
|
|
|
68
69
|
cmd_connector_more: '더 많은 하위 명령 보기',
|
|
69
70
|
group_integration: '통합 & DingTalk',
|
|
70
71
|
cmd_integration: '통합 자동화 플로우 생성',
|
|
72
|
+
cmd_integration_check: 'Check abnormal integration automation run logs',
|
|
71
73
|
cmd_dws: 'DingTalk CLI (연락처/캘린더/할일/승인 등)',
|
|
72
74
|
cmd_dingtalk_link: 'DingTalk AppLink / 기존 dingtalk:// 페이지 링크 생성',
|
|
73
75
|
group_utility: '유틸리티',
|
|
@@ -109,6 +111,43 @@ module.exports = {
|
|
|
109
111
|
generate_page_example: 'Example: openyida generate-page product-homepage --brand-name OpenKuma --brand-initials OK --output pages/src/home.oyd.jsx --compile',
|
|
110
112
|
},
|
|
111
113
|
|
|
114
|
+
// ── lib/integration/integration-check.js ─────────
|
|
115
|
+
integration_check: {
|
|
116
|
+
result_sheet: 'Result',
|
|
117
|
+
header_app: 'App',
|
|
118
|
+
header_form_title: 'Form name',
|
|
119
|
+
header_form_uuid: 'Form ID',
|
|
120
|
+
header_flow_name: 'Automation name',
|
|
121
|
+
header_process_code: 'Automation ID',
|
|
122
|
+
header_flow_status: 'Automation status',
|
|
123
|
+
header_event_name: 'Trigger event',
|
|
124
|
+
header_last_action: 'Last action',
|
|
125
|
+
header_modifier: 'Modifier',
|
|
126
|
+
header_modified_time: 'Modified time',
|
|
127
|
+
header_abnormal_log_count: 'Abnormal log count',
|
|
128
|
+
header_proc_inst_id: 'Run instance ID',
|
|
129
|
+
header_form_inst_id: 'Form instance ID',
|
|
130
|
+
header_execution_status: 'Execution status',
|
|
131
|
+
header_exception: 'Exception',
|
|
132
|
+
header_start_time: 'Start time',
|
|
133
|
+
header_finish_time: 'Finish time',
|
|
134
|
+
header_elapsed_ms: 'Elapsed (ms)',
|
|
135
|
+
no_abnormal: 'No abnormal execution logs found',
|
|
136
|
+
app_failed: 'App check failed: {0}',
|
|
137
|
+
summary: 'Check complete: {0} apps, {1} automations, {2} with abnormal logs',
|
|
138
|
+
apps_failed: '{0} app(s) failed to check. See JSON output or error summary for details.',
|
|
139
|
+
no_logs: 'No abnormal execution logs found.',
|
|
140
|
+
usage: 'openyida integration check <appType...> [--json] [--output result.xlsx] [--no-progress] [--flow-types 1,2,3,5,6] [--log-page-size 10] [--max-log-pages 1]',
|
|
141
|
+
example: 'openyida integration check APP_XXX --output project/output/automation-errors.xlsx',
|
|
142
|
+
missing_app: 'Missing appType. Usage: openyida integration check <appType...>',
|
|
143
|
+
banner_title: 'Check integration automation abnormal logs',
|
|
144
|
+
status_filter: 'Execution status filter: {0}',
|
|
145
|
+
checking_app: 'Checking app: {0}',
|
|
146
|
+
progress: 'Progress {0}{1}',
|
|
147
|
+
current: ', current: {0}',
|
|
148
|
+
excel_exported: 'Excel exported: {0}',
|
|
149
|
+
},
|
|
150
|
+
|
|
112
151
|
// ── lib/env.js ─────────────────────────────────────
|
|
113
152
|
env: {
|
|
114
153
|
title: ' openyida env - AI 도구 환경 감지',
|