@nexusclawhq/cli 0.3.37 → 0.3.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/build-info.json +4 -4
  3. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/community-capabilities.d.ts +27 -0
  4. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/community-capabilities.js +32 -0
  5. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/community-capabilities.js.map +1 -0
  6. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/employee-package/types.d.ts +1 -2
  7. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/employee-package/types.js +12 -0
  8. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/employee-package/types.js.map +1 -1
  9. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/index.d.ts +1 -3
  10. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/index.js +1 -3
  11. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/index.js.map +1 -1
  12. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.d.ts +40 -3
  13. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.js +36 -5
  14. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.js.map +1 -1
  15. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/index.d.ts +80 -6
  16. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.d.ts +40 -3
  17. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.js +39 -6
  18. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.js.map +1 -1
  19. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/platform-admin-route-readiness/index.js +2 -2
  20. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/platform-admin-route-readiness/index.js.map +1 -1
  21. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/system-object-persistence.d.ts +1 -1
  22. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/system-object-persistence.js +8 -1
  23. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/system-object-persistence.js.map +1 -1
  24. package/dist/nexus-cli/node_modules/@nexusclaw/shared/package.json +0 -12
  25. package/dist/nexus-cli/src/cli.d.ts +4 -1
  26. package/dist/nexus-cli/src/cli.js +8 -1
  27. package/dist/nexus-cli/src/cli.js.map +1 -1
  28. package/dist/nexus-cli/src/cli.test.js +6 -0
  29. package/dist/nexus-cli/src/cli.test.js.map +1 -1
  30. package/dist/nexus-cli/src/commands/ai/help.test.js +4 -4
  31. package/dist/nexus-cli/src/commands/commands.test.js +1 -1
  32. package/dist/nexus-cli/src/commands/commands.test.js.map +1 -1
  33. package/dist/nexus-cli/src/commands/workforce/curated-exemplar.d.ts +2 -0
  34. package/dist/nexus-cli/src/commands/workforce/curated-exemplar.js +51 -0
  35. package/dist/nexus-cli/src/commands/workforce/curated-exemplar.js.map +1 -0
  36. package/dist/nexus-cli/src/commands/workforce/index.js +2 -0
  37. package/dist/nexus-cli/src/commands/workforce/index.js.map +1 -1
  38. package/dist/nexus-cli/src/contracts/command-contract-matrix.generated.test.js +5 -5
  39. package/dist/nexus-cli/src/contracts/command-inventory.test.js +4 -4
  40. package/dist/nexus-cli/src/contracts/command-policy.exporter.test.js +2 -2
  41. package/dist/nexus-cli/src/contracts/command-policy.registry.js +2 -2
  42. package/dist/nexus-cli/src/contracts/command-policy.registry.js.map +1 -1
  43. package/dist/nexus-cli/src/contracts/command-policy.registry.test.js +4 -4
  44. package/dist/nexus-cli/src/contracts/command-policy.validator.test.js +3 -3
  45. package/dist/nexus-cli/src/services/curated-exemplar-remote.d.ts +32 -0
  46. package/dist/nexus-cli/src/services/curated-exemplar-remote.js +50 -0
  47. package/dist/nexus-cli/src/services/curated-exemplar-remote.js.map +1 -0
  48. package/dist/nexus-cli/src/services/package-manifest.js +3 -0
  49. package/dist/nexus-cli/src/services/package-manifest.js.map +1 -1
  50. package/dist/nexus-cli/src/services/workforce-learning-remote.d.ts +4 -4
  51. package/dist/nexus-cli/src/services/workforce-learning-remote.js +2 -2
  52. package/dist/nexus-cli/src/services/workforce-test-remote.d.ts +1 -1
  53. package/dist/nexus-cli/src/services/workforce-test-remote.js +1 -1
  54. package/dist/nexus-cli/src/services/workforce-test-remote.test.js +2 -2
  55. package/dist/tsconfig.tsbuildinfo +1 -1
  56. package/package.json +1 -1
@@ -886,6 +886,27 @@ export declare const locales: {
886
886
  crm: {
887
887
  dashboard: string;
888
888
  salesLead: string;
889
+ accountFolder: string;
890
+ accountAll: string;
891
+ contactFolder: string;
892
+ contactAll: string;
893
+ salesFolder: string;
894
+ salesOpportunity: string;
895
+ cpqFolder: string;
896
+ cpqProduct: string;
897
+ cpqPriceBook: string;
898
+ cpqQuote: string;
899
+ cpqGuidedSelling: string;
900
+ activityFolder: string;
901
+ activityAll: string;
902
+ activityTask: string;
903
+ approvalInbox: string;
904
+ reportFolder: string;
905
+ reportAll: string;
906
+ reportTemplate: string;
907
+ reportSchedule: string;
908
+ dashboardFolder: string;
909
+ dashboardAll: string;
889
910
  };
890
911
  marketing: {};
891
912
  service: {
@@ -7352,9 +7373,18 @@ export declare const locales: {
7352
7373
  };
7353
7374
  viewer: {
7354
7375
  reportTypeMeta: {
7355
- tabular: {};
7356
- summary: {};
7357
- matrix: {};
7376
+ tabular: {
7377
+ label: string;
7378
+ hint: string;
7379
+ };
7380
+ summary: {
7381
+ label: string;
7382
+ hint: string;
7383
+ };
7384
+ matrix: {
7385
+ label: string;
7386
+ hint: string;
7387
+ };
7358
7388
  };
7359
7389
  aggregateCount: string;
7360
7390
  aggregateEmpty: string;
@@ -12595,6 +12625,12 @@ export declare const locales: {
12595
12625
  messageLabel: string;
12596
12626
  stackLabel: string;
12597
12627
  componentStackLabel: string;
12628
+ routeLabel: string;
12629
+ workspaceLabel: string;
12630
+ traceLabel: string;
12631
+ timeLabel: string;
12632
+ copyDetails: string;
12633
+ copied: string;
12598
12634
  };
12599
12635
  fileUpload: {
12600
12636
  selectFile: string;
@@ -16214,6 +16250,7 @@ export declare const locales: {
16214
16250
  abortError: string;
16215
16251
  };
16216
16252
  platformAdmin: {
16253
+ menuChannelProvider: string;
16217
16254
  adminPanelUi: {
16218
16255
  common: {
16219
16256
  sectionOther: string;
@@ -20060,6 +20097,27 @@ export declare const locales: {
20060
20097
  crm: {
20061
20098
  dashboard: string;
20062
20099
  salesLead: string;
20100
+ accountFolder: string;
20101
+ accountAll: string;
20102
+ contactFolder: string;
20103
+ contactAll: string;
20104
+ salesFolder: string;
20105
+ salesOpportunity: string;
20106
+ cpqFolder: string;
20107
+ cpqProduct: string;
20108
+ cpqPriceBook: string;
20109
+ cpqQuote: string;
20110
+ cpqGuidedSelling: string;
20111
+ activityFolder: string;
20112
+ activityAll: string;
20113
+ activityTask: string;
20114
+ approvalInbox: string;
20115
+ reportFolder: string;
20116
+ reportAll: string;
20117
+ reportTemplate: string;
20118
+ reportSchedule: string;
20119
+ dashboardFolder: string;
20120
+ dashboardAll: string;
20063
20121
  };
20064
20122
  marketing: {};
20065
20123
  service: {
@@ -26526,9 +26584,18 @@ export declare const locales: {
26526
26584
  };
26527
26585
  viewer: {
26528
26586
  reportTypeMeta: {
26529
- tabular: {};
26530
- summary: {};
26531
- matrix: {};
26587
+ tabular: {
26588
+ label: string;
26589
+ hint: string;
26590
+ };
26591
+ summary: {
26592
+ label: string;
26593
+ hint: string;
26594
+ };
26595
+ matrix: {
26596
+ label: string;
26597
+ hint: string;
26598
+ };
26532
26599
  };
26533
26600
  aggregateCount: string;
26534
26601
  aggregateEmpty: string;
@@ -31769,6 +31836,12 @@ export declare const locales: {
31769
31836
  messageLabel: string;
31770
31837
  stackLabel: string;
31771
31838
  componentStackLabel: string;
31839
+ routeLabel: string;
31840
+ workspaceLabel: string;
31841
+ traceLabel: string;
31842
+ timeLabel: string;
31843
+ copyDetails: string;
31844
+ copied: string;
31772
31845
  };
31773
31846
  fileUpload: {
31774
31847
  selectFile: string;
@@ -35388,6 +35461,7 @@ export declare const locales: {
35388
35461
  abortError: string;
35389
35462
  };
35390
35463
  platformAdmin: {
35464
+ menuChannelProvider: string;
35391
35465
  adminPanelUi: {
35392
35466
  common: {
35393
35467
  sectionOther: string;
@@ -882,6 +882,27 @@ declare const _default: {
882
882
  crm: {
883
883
  dashboard: string;
884
884
  salesLead: string;
885
+ accountFolder: string;
886
+ accountAll: string;
887
+ contactFolder: string;
888
+ contactAll: string;
889
+ salesFolder: string;
890
+ salesOpportunity: string;
891
+ cpqFolder: string;
892
+ cpqProduct: string;
893
+ cpqPriceBook: string;
894
+ cpqQuote: string;
895
+ cpqGuidedSelling: string;
896
+ activityFolder: string;
897
+ activityAll: string;
898
+ activityTask: string;
899
+ approvalInbox: string;
900
+ reportFolder: string;
901
+ reportAll: string;
902
+ reportTemplate: string;
903
+ reportSchedule: string;
904
+ dashboardFolder: string;
905
+ dashboardAll: string;
885
906
  };
886
907
  marketing: {};
887
908
  service: {
@@ -7348,9 +7369,18 @@ declare const _default: {
7348
7369
  };
7349
7370
  viewer: {
7350
7371
  reportTypeMeta: {
7351
- tabular: {};
7352
- summary: {};
7353
- matrix: {};
7372
+ tabular: {
7373
+ label: string;
7374
+ hint: string;
7375
+ };
7376
+ summary: {
7377
+ label: string;
7378
+ hint: string;
7379
+ };
7380
+ matrix: {
7381
+ label: string;
7382
+ hint: string;
7383
+ };
7354
7384
  };
7355
7385
  aggregateCount: string;
7356
7386
  aggregateEmpty: string;
@@ -12591,6 +12621,12 @@ declare const _default: {
12591
12621
  messageLabel: string;
12592
12622
  stackLabel: string;
12593
12623
  componentStackLabel: string;
12624
+ routeLabel: string;
12625
+ workspaceLabel: string;
12626
+ traceLabel: string;
12627
+ timeLabel: string;
12628
+ copyDetails: string;
12629
+ copied: string;
12594
12630
  };
12595
12631
  fileUpload: {
12596
12632
  selectFile: string;
@@ -16210,6 +16246,7 @@ declare const _default: {
16210
16246
  abortError: string;
16211
16247
  };
16212
16248
  platformAdmin: {
16249
+ menuChannelProvider: string;
16213
16250
  adminPanelUi: {
16214
16251
  common: {
16215
16252
  sectionOther: string;
@@ -899,7 +899,32 @@ const messages = {
899
899
  // CRM App
900
900
  crm: {
901
901
  dashboard: "工作台",
902
- salesLead: "线索"
902
+ salesLead: "线索",
903
+ // Top-nav folder/leaf menu items require explicit zh-CN translations,
904
+ // so resolveMenuLabel() fell back to the DB English `name` and the whole
905
+ // top nav stayed in English even with locale=zh-CN. Keys must match the
906
+ // i18nKey values in app-menu.seed.ts exactly.
907
+ accountFolder: "客户",
908
+ accountAll: "全部客户",
909
+ contactFolder: "联系人",
910
+ contactAll: "全部联系人",
911
+ salesFolder: "销售",
912
+ salesOpportunity: "商机",
913
+ cpqFolder: "CPQ",
914
+ cpqProduct: "产品目录",
915
+ cpqPriceBook: "价格手册",
916
+ cpqQuote: "报价",
917
+ cpqGuidedSelling: "引导式销售",
918
+ activityFolder: "活动",
919
+ activityAll: "全部活动",
920
+ activityTask: "任务",
921
+ approvalInbox: "审批收件箱",
922
+ reportFolder: "报表",
923
+ reportAll: "全部报表",
924
+ reportTemplate: "报表模板",
925
+ reportSchedule: "报表计划",
926
+ dashboardFolder: "仪表板",
927
+ dashboardAll: "全部仪表板"
903
928
  },
904
929
  marketing: {},
905
930
  // Service App
@@ -7353,9 +7378,9 @@ const messages = {
7353
7378
  },
7354
7379
  viewer: {
7355
7380
  reportTypeMeta: {
7356
- tabular: {},
7357
- summary: {},
7358
- matrix: {},
7381
+ tabular: { label: "明细表", hint: "按原始记录逐行展示,适合导出与核对" },
7382
+ summary: { label: "汇总表", hint: "按维度分组并聚合指标,附图表解释趋势" },
7383
+ matrix: { label: "矩阵表", hint: "行列双维度交叉分析,可切换热力图" },
7359
7384
  },
7360
7385
  aggregateCount: "{count} 条汇总结果",
7361
7386
  aggregateEmpty: "暂无汇总结果",
@@ -9033,7 +9058,7 @@ const messages = {
9033
9058
  platformPages: {
9034
9059
  dashboard: {
9035
9060
  aiProvider: "AI 提供商",
9036
- channelProvider: "渠道提供商",
9061
+ channelProvider: "消息渠道",
9037
9062
  active: "活跃",
9038
9063
  trial: "试用",
9039
9064
  mrr: "月度经常性收入",
@@ -12224,7 +12249,7 @@ const messages = {
12224
12249
  routingRules: {
12225
12250
  pageTitle: "路由规则"
12226
12251
  },
12227
- // SAFTBR-605 (design §6.7) — channels/routing/canned-responses are governed
12252
+ // Channels/routing/canned-responses are governed
12228
12253
  // unavailable in V1: no matching persistence/API/runtime consumer. Static
12229
12254
  // contract metadata (owner/reason/reviewer/exitCriteria) is surfaced here.
12230
12255
  unsupported: {
@@ -12619,6 +12644,12 @@ const messages = {
12619
12644
  messageLabel: "错误信息:",
12620
12645
  stackLabel: "堆栈跟踪:",
12621
12646
  componentStackLabel: "组件堆栈:",
12647
+ routeLabel: "路由:",
12648
+ workspaceLabel: "工作区:",
12649
+ traceLabel: "Trace ID:",
12650
+ timeLabel: "时间:",
12651
+ copyDetails: "复制错误详情",
12652
+ copied: "错误详情已复制到剪贴板",
12622
12653
  },
12623
12654
  fileUpload: {
12624
12655
  selectFile: "选择文件",
@@ -16263,6 +16294,7 @@ const messages = {
16263
16294
  abortError: "中止失败: {message}",
16264
16295
  },
16265
16296
  platformAdmin: {
16297
+ menuChannelProvider: "消息渠道",
16266
16298
  adminPanelUi: {
16267
16299
  common: {
16268
16300
  sectionOther: "其他",
@@ -19578,6 +19610,7 @@ const i18nRatchetBackfill = {
19578
19610
  recordDetail: {
19579
19611
  actionNeedsConfiguration: "Action Needs Configuration",
19580
19612
  actionTargetNotConfigured: "Action Target Not Configured",
19613
+ aiCopilotNotConfigured: "AI 助手尚未在此记录页配置,暂时无法打开。",
19581
19614
  aiNarrativeGuidanceOnly: "Ai Narrative Guidance Only",
19582
19615
  contextActionApplied: "Context Action Applied",
19583
19616
  taskCreated: "Task Created",