openyida 2026.5.13 → 2026.5.14-beta.0

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 CHANGED
@@ -167,6 +167,7 @@ openyida/
167
167
  openyida create-app "CRM"
168
168
  openyida create-app --name "CRM" --desc "Customer management" --theme deepBlue
169
169
  openyida app-list --size 20
170
+ openyida corp-efficiency
170
171
  openyida create-form create APP_XXX "Customer" .cache/openyida/forms/customer-fields.json
171
172
  openyida create-form update APP_XXX FORM_XXX .cache/openyida/forms/customer-changes.json
172
173
  openyida get-schema APP_XXX FORM_XXX
@@ -267,6 +268,7 @@ Run `openyida --help` or `openyida <command> --help` for detailed usage.
267
268
  | Command | Description |
268
269
  |---------|-------------|
269
270
  | `openyida app-list [--size N]` | List Yida applications |
271
+ | `openyida corp-efficiency [overview\|details\|detail\|groups\|notify] [options] [--open\|--no-open]` | Query enterprise efficiency metrics, detail report entries, and related notification actions |
270
272
  | `openyida create-app "<name>"\|--name <name> [options] [--open\|--no-open]` | Create an application and output `appType` |
271
273
  | `openyida update-app <appType> --name "..."` | Update application metadata |
272
274
  | `openyida export <appType> [output]` | Export an application migration package |
package/bin/yida.js CHANGED
@@ -493,6 +493,12 @@ async function main() {
493
493
  break;
494
494
  }
495
495
 
496
+ case 'corp-efficiency': {
497
+ const { run } = require('../lib/corp-efficiency/corp-efficiency');
498
+ await run(args);
499
+ break;
500
+ }
501
+
496
502
  case 'create-app': {
497
503
  const { run } = require('../lib/app/create-app');
498
504
  await run(args);
@@ -879,6 +885,9 @@ async function main() {
879
885
  } else if (subCommand === 'disable') {
880
886
  const { runDisable } = require('../lib/integration/integration-list');
881
887
  await runDisable(subArgs);
888
+ } else if (subCommand === 'check') {
889
+ const { run: runIntegrationCheck } = require('../lib/integration/integration-check');
890
+ await runIntegrationCheck(subArgs);
882
891
  } else {
883
892
  warn(t('cli.integration_unknown', subCommand));
884
893
  warn(t('cli.integration_help_hint'));
@@ -41,6 +41,9 @@ const COMMAND_GROUPS = [
41
41
  titleKey: 'help.group_app',
42
42
  commands: [
43
43
  command('app-list', ['app-list'], 'app-list [--size N]', 'help.cmd_app_list'),
44
+ command('corp-efficiency', ['corp-efficiency'], 'corp-efficiency [overview|details|detail|groups|notify] [options] [--open|--no-open]', 'help.cmd_corp_efficiency', {
45
+ output: 'json',
46
+ }),
44
47
  command('create-app', ['create-app'], 'create-app "<name>"|--name <name> [options] [--open|--no-open]', 'help.cmd_create_app'),
45
48
  command('update-app', ['update-app'], 'update-app <appType> --name "..."', 'help.cmd_update_app'),
46
49
  command('export', ['export'], 'export <appType> [output]', 'help.cmd_export'),
@@ -128,6 +131,7 @@ const COMMAND_GROUPS = [
128
131
  titleKey: 'help.group_integration',
129
132
  commands: [
130
133
  command('integration.create', ['integration', 'create'], 'integration create <appType> ...', 'help.cmd_integration'),
134
+ command('integration.check', ['integration', 'check'], 'integration check <appType...>', 'help.cmd_integration_check'),
131
135
  command('dws', ['dws'], 'dws <command> [args]', 'help.cmd_dws'),
132
136
  command('dingtalk-link', ['dingtalk-link'], 'dingtalk-link <url> [--target fullScreen] [--legacy-scheme] [--json]', 'help.cmd_dingtalk_link', {
133
137
  requiresLogin: false,
@@ -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 - اكتشاف بيئة أداة الذكاء الاصطناعي',
@@ -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',
@@ -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',
@@ -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',
@@ -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",
@@ -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 टूल वातावरण पहचान',
@@ -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: '最新バージョンを確認中...',
@@ -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 도구 환경 감지',
@@ -18,6 +18,7 @@ module.exports = {
18
18
  cmd_env_management: 'Gerenciar perfis de ambiente público/privado',
19
19
  group_app: 'Gerenciamento de aplicativos',
20
20
  cmd_app_list: 'Listar meus aplicativos Yida',
21
+ cmd_corp_efficiency: 'Consultar visão geral de eficiência empresarial e relatórios detalhados',
21
22
  cmd_create_app: 'Criar um aplicativo Yida',
22
23
  cmd_update_app: 'Atualizar informações do aplicativo',
23
24
  cmd_export: 'Exportar aplicativo (pacote de migração)',
@@ -68,6 +69,7 @@ module.exports = {
68
69
  cmd_connector_more: 'Ver mais subcomandos',
69
70
  group_integration: 'Integração & DingTalk',
70
71
  cmd_integration: 'Criar fluxo de automação',
72
+ cmd_integration_check: 'Check abnormal integration automation run logs',
71
73
  cmd_dws: 'DingTalk CLI (contatos/calendário/tarefas/aprovação etc.)',
72
74
  cmd_dingtalk_link: 'Gerar links DingTalk AppLink / dingtalk:// legados',
73
75
  group_utility: 'Utilitários',
@@ -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 - Detecção do ambiente de ferramenta IA',