@aurorajs.dev/catalyst-cli 3.1.2 → 3.1.4

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 (235) hide show
  1. package/README.md +1 -1
  2. package/dist/ai/domain/skills-scanner.js +7 -2
  3. package/dist/deploy/domain/curl-config.js +1 -1
  4. package/dist/deploy/domain/playbook-vars.js +1 -1
  5. package/dist/generator/domain/frontend-composition.js +4 -4
  6. package/dist/generator/domain/property-filters.d.ts +8 -0
  7. package/dist/generator/domain/property-filters.js +17 -6
  8. package/dist/generator/handlers/front.handler.js +10 -1
  9. package/dist/sheets/domain/auth.js +10 -5
  10. package/dist/sheets/sync/sheet-to-yaml.d.ts +1 -0
  11. package/dist/sheets/sync/sheet-to-yaml.js +19 -3
  12. package/dist/templates/backend/application/.claude/skills/catalyst-tools/SKILL.md +5 -3
  13. package/dist/templates/backend/application/src/@aurora/modules/manual/application/manual-catalog-section-reader.spec.ts +4 -0
  14. package/dist/templates/backend/application/src/@aurora/modules/manual/application/manual-find-index.handler.spec.ts +2 -0
  15. package/dist/templates/backend/application/src/@aurora/modules/manual/application/manual-find-index.handler.ts +2 -1
  16. package/dist/templates/backend/application/src/@aurora/modules/manual/domain/manual-section-reader.port.ts +2 -0
  17. package/dist/templates/backend/application/src/@aurora/modules/manual/domain/manual.types.ts +2 -0
  18. package/dist/templates/backend/application/src/@aurora/modules/manual/graphql/manual-graphql-schema.spec.ts +10 -2
  19. package/dist/templates/backend/application/src/@aurora/modules/manual/graphql/manual.graphql +4 -0
  20. package/dist/templates/backend/business-rules/business-partner-portal/supplier-document.md +96 -6
  21. package/dist/templates/backend/business-rules/tools/assistant-usage.md +60 -0
  22. package/dist/templates/backend/manual/business-partner-portal/CONTEXT.md +5 -5
  23. package/dist/templates/backend/manual/business-partner-portal/en/purchase-invoice-header.md +5 -1
  24. package/dist/templates/backend/manual/business-partner-portal/es/purchase-invoice-header.md +5 -1
  25. package/dist/templates/backend/manual/production-planning/en/planner.md +1 -1
  26. package/dist/templates/backend/manual/production-planning/en/production-order-position-event.md +8 -5
  27. package/dist/templates/backend/manual/production-planning/es/planner.md +1 -1
  28. package/dist/templates/backend/manual/production-planning/es/production-order-position-event.md +8 -5
  29. package/dist/templates/backend/manual/reporting/en/report.md +40 -0
  30. package/dist/templates/backend/manual/reporting/es/report.md +40 -0
  31. package/dist/templates/backend/manual/tools/CONTEXT.md +1 -0
  32. package/dist/templates/backend/manual/tools/actions.yaml +11 -0
  33. package/dist/templates/backend/manual/tools/en/assistant-conversation.md +38 -0
  34. package/dist/templates/backend/manual/tools/en/assistant-usage-policy.md +46 -0
  35. package/dist/templates/backend/manual/tools/en/assistant-usage.md +28 -0
  36. package/dist/templates/backend/manual/tools/en/file-storage.md +83 -0
  37. package/dist/templates/backend/manual/tools/es/assistant-conversation.md +38 -0
  38. package/dist/templates/backend/manual/tools/es/assistant-usage-policy.md +46 -0
  39. package/dist/templates/backend/manual/tools/es/assistant-usage.md +28 -0
  40. package/dist/templates/backend/manual/tools/es/file-storage.md +83 -0
  41. package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/anthropic/infrastructure/business-partner-portal-anthropic-extraction-step-two.service.spec.ts +2 -1
  42. package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/anthropic/shared/functions/business-partner-portal-anthropic-build-step-one-request.function.spec.ts +9 -2
  43. package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/anthropic/shared/functions/business-partner-portal-anthropic-build-step-one-request.function.ts +6 -3
  44. package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/anthropic/shared/functions/business-partner-portal-anthropic-build-step-two-request.function.spec.ts +19 -2
  45. package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/anthropic/shared/functions/business-partner-portal-anthropic-build-step-two-request.function.ts +15 -2
  46. package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/anthropic/shared/functions/business-partner-portal-anthropic-map-step-one-answer.function.ts +1 -1
  47. package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/anthropic/shared/types/business-partner-portal-anthropic-step-one-answer.types.ts +1 -1
  48. package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/shared/extraction-step-two/business-partner-portal-extraction-step-two-context.service.spec.ts +63 -0
  49. package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/shared/extraction-step-two/business-partner-portal-extraction-step-two-context.service.ts +25 -3
  50. package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/shared/extraction-step-two/business-partner-portal-extraction-step-two-empty.service.spec.ts +1 -0
  51. package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/shared/extraction-step-two/business-partner-portal-extraction-step-two.types.ts +5 -0
  52. package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/shared/purchase-invoice-extraction/business-partner-portal-map-invoice-ocr-result-to-purchase-invoice.function.spec.ts +1 -1
  53. package/dist/templates/backend/packages/business-partner-portal/src/@app/business-partner-portal/shared/purchase-invoice-extraction/business-partner-portal-map-invoice-ocr-result-to-purchase-invoice.function.ts +1 -1
  54. package/dist/templates/backend/packages/production-planning/src/@app/production-planning/production-order-position/application/get-processes/production-planning-get-processes-production-order-position.handler.spec.ts +5 -2
  55. package/dist/templates/backend/packages/production-planning/src/@app/production-planning/production-order-position/application/get-processes/production-planning-get-processes-production-order-position.handler.ts +4 -0
  56. package/dist/templates/backend/packages/reporting/src/@api/reporting/report/dto/reporting-create-report.dto.ts +0 -21
  57. package/dist/templates/backend/packages/reporting/src/@api/reporting/report/dto/reporting-report.dto.ts +3 -3
  58. package/dist/templates/backend/packages/reporting/src/@api/reporting/report/dto/reporting-update-report-by-id.dto.ts +0 -48
  59. package/dist/templates/backend/packages/reporting/src/@api/reporting/report/dto/reporting-update-reports.dto.ts +0 -48
  60. package/dist/templates/backend/packages/reporting/src/@api/reporting/report/graphql/reporting-report.graphql +3 -20
  61. package/dist/templates/backend/packages/reporting/src/@app/reporting/report/application/create/reporting-create-report.service.ts +2 -2
  62. package/dist/templates/backend/packages/reporting/src/@app/reporting/report/application/reporting-report.payload-types.ts +33 -0
  63. package/dist/templates/backend/packages/reporting/src/@app/reporting/report/application/update/reporting-update-report-by-id.handler.spec.ts +77 -0
  64. package/dist/templates/backend/packages/reporting/src/@app/reporting/report/application/update/reporting-update-report-by-id.service.ts +2 -2
  65. package/dist/templates/backend/packages/reporting/src/@app/reporting/report/application/update/reporting-update-reports.service.ts +2 -2
  66. package/dist/templates/backend/packages/reporting/src/@app/reporting/report/application/update-execution-cache/reporting-update-report-execution-cache.handler.spec.ts +35 -0
  67. package/dist/templates/backend/packages/reporting/src/@app/reporting/report/domain/reporting-report.field-schema.ts +7 -0
  68. package/dist/templates/backend/packages/reporting/src/@app/reporting/report/index.ts +5 -0
  69. package/dist/templates/backend/packages/tools/src/@api/tools/assistant-conversation/dto/tools-assistant-conversation.dto.ts +8 -1
  70. package/dist/templates/backend/packages/tools/src/@api/tools/assistant-conversation/dto/tools-update-assistant-conversation-by-id.dto.ts +8 -1
  71. package/dist/templates/backend/packages/tools/src/@api/tools/assistant-conversation/dto/tools-update-assistant-conversations.dto.ts +8 -1
  72. package/dist/templates/backend/packages/tools/src/@api/tools/assistant-conversation/graphql/tools-assistant-conversation.graphql +8 -1
  73. package/dist/templates/backend/packages/tools/src/@api/tools/assistant-usage/controllers/tools-ask-assistant-assistant-usage.controller.ts +1 -0
  74. package/dist/templates/backend/packages/tools/src/@api/tools/assistant-usage/dto/tools-ask-assistant.dto.ts +47 -0
  75. package/dist/templates/backend/packages/tools/src/@api/tools/assistant-usage/dto/tools-assistant-answer.dto.ts +1 -0
  76. package/dist/templates/backend/packages/tools/src/@api/tools/assistant-usage/dto/tools-assistant-usage.dto.ts +8 -1
  77. package/dist/templates/backend/packages/tools/src/@api/tools/assistant-usage/dto/tools-update-assistant-usage-by-id.dto.ts +8 -1
  78. package/dist/templates/backend/packages/tools/src/@api/tools/assistant-usage/dto/tools-update-assistant-usages.dto.ts +8 -1
  79. package/dist/templates/backend/packages/tools/src/@api/tools/assistant-usage/graphql/tools-assistant-usage.graphql +45 -1
  80. package/dist/templates/backend/packages/tools/src/@api/tools/assistant-usage/resolvers/tools-ask-assistant-assistant-usage.resolver.ts +1 -0
  81. package/dist/templates/backend/packages/tools/src/@app/tools/anthropic/infrastructure/tools-anthropic-assistant-model.service.spec.ts +1 -0
  82. package/dist/templates/backend/packages/tools/src/@app/tools/anthropic/shared/functions/tools-anthropic-build-assistant-request.function.spec.ts +145 -0
  83. package/dist/templates/backend/packages/tools/src/@app/tools/anthropic/shared/functions/tools-anthropic-build-assistant-request.function.ts +44 -2
  84. package/dist/templates/backend/packages/tools/src/@app/tools/anthropic/shared/types/tools-anthropic-assistant-answer.types.ts +3 -2
  85. package/dist/templates/backend/packages/tools/src/@app/tools/assistant-conversation/domain/tools-assistant-conversation.field-schema.ts +6 -0
  86. package/dist/templates/backend/packages/tools/src/@app/tools/assistant-conversation/infrastructure/drizzle/tools-drizzle-assistant-conversation.schema.ts +1 -0
  87. package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/application/ask-assistant/tools-ask-assistant-assistant-usage.handler.spec.ts +105 -5
  88. package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/application/ask-assistant/tools-ask-assistant-assistant-usage.handler.ts +40 -23
  89. package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/application/ask-assistant/tools-assistant-errors.function.ts +8 -0
  90. package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/application/ask-assistant/tools-assistant-read-screen.function.spec.ts +257 -0
  91. package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/application/ask-assistant/tools-assistant-read-screen.function.ts +200 -0
  92. package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/application/quota/tools-assistant-quota.service.spec.ts +7 -2
  93. package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/application/quota/tools-assistant-quota.service.ts +7 -2
  94. package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/domain/tools-assistant-model.port.ts +44 -0
  95. package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/domain/tools-assistant-usage.field-schema.ts +6 -0
  96. package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/infrastructure/drizzle/tools-drizzle-assistant-usage.repository.spec.ts +25 -0
  97. package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/infrastructure/drizzle/tools-drizzle-assistant-usage.repository.ts +3 -0
  98. package/dist/templates/backend/packages/tools/src/@app/tools/assistant-usage/infrastructure/drizzle/tools-drizzle-assistant-usage.schema.ts +1 -0
  99. package/dist/templates/backend/packages/tools/test/acceptance/tools/assistant-ask.e2e-spec.ts +16 -1
  100. package/dist/templates/backend/packages/tools/test/acceptance/tools/assistant-usage-increment.e2e-spec.ts +52 -5
  101. package/dist/templates/codegen/frontend/module/__module_name__/features/__module_name__-list.component.ts.eta +7 -1
  102. package/dist/templates/codegen/frontend/module/__module_name__/features/index.ts.eta +1 -1
  103. package/dist/templates/frontend/application/.claude/skills/catalyst-project-structure/SKILL.md +3 -0
  104. package/dist/templates/frontend/application/angular.json +2 -0
  105. package/dist/templates/frontend/application/libs/ui/command/src/lib/hlm-command-item.ts +1 -1
  106. package/dist/templates/frontend/application/src/@aurora/modules/assisted-form/README.md +2 -0
  107. package/dist/templates/frontend/application/src/@aurora/modules/command-palette/command-palette-trigger.component.ts +1 -0
  108. package/dist/templates/frontend/application/src/@aurora/modules/guided-action/README.md +4 -0
  109. package/dist/templates/frontend/application/src/@aurora/modules/guided-action/guided-action-runner.service.spec.ts +69 -0
  110. package/dist/templates/frontend/application/src/@aurora/modules/guided-action/guided-action-runner.service.ts +13 -4
  111. package/dist/templates/frontend/application/src/@aurora/modules/index.ts +1 -0
  112. package/dist/templates/frontend/application/src/@aurora/modules/manual/manual.graphql.ts +1 -0
  113. package/dist/templates/frontend/application/src/@aurora/modules/screen-context/README.md +36 -0
  114. package/dist/templates/frontend/application/src/@aurora/modules/screen-context/index.ts +2 -0
  115. package/dist/templates/frontend/application/src/@aurora/modules/screen-context/screen-context.service.spec.ts +137 -0
  116. package/dist/templates/frontend/application/src/@aurora/modules/screen-context/screen-context.service.ts +60 -0
  117. package/dist/templates/frontend/application/src/@aurora/modules/screen-context/screen-context.types.ts +47 -0
  118. package/dist/templates/frontend/application/src/app/domains/admin/layout/site-header.ts +1 -1
  119. package/dist/templates/frontend/application/tsconfig.json +1 -0
  120. package/dist/templates/frontend/navigation-i18n/reporting/en.json +1 -1
  121. package/dist/templates/frontend/navigation-i18n/reporting/es.json +1 -1
  122. package/dist/templates/frontend/packages/automation/src/app/domains/admin/apps/automation/state-machine-history/features/index.ts +0 -1
  123. package/dist/templates/frontend/packages/automation/src/app/domains/admin/apps/automation/state-machine-history/features/state-machine-history-list.component.ts +0 -13
  124. package/dist/templates/frontend/packages/business-partner-portal/public/i18n/business-partner-portal/en.json +11 -0
  125. package/dist/templates/frontend/packages/business-partner-portal/public/i18n/business-partner-portal/es.json +11 -0
  126. package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/data-access/purchase-invoice-review-context.derive.spec.ts +420 -0
  127. package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/data-access/purchase-invoice-review-context.derive.ts +237 -0
  128. package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/data-access/purchase-invoice-review.derive.spec.ts +181 -26
  129. package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/data-access/purchase-invoice-review.derive.ts +143 -25
  130. package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/features/purchase-invoice-header-detail.component.spec.ts +42 -0
  131. package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/features/purchase-invoice-header-detail.component.ts +32 -8
  132. package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/features/purchase-invoice-header-form.component.ts +32 -1
  133. package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/features/purchase-invoice-header-list-actions-cell.component.ts +4 -1
  134. package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/ui/purchase-invoice-breakdown.component.ts +7 -32
  135. package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-header/ui/purchase-invoice-lines-grid.component.ts +12 -8
  136. package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-trace/features/index.ts +0 -1
  137. package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-trace/features/purchase-invoice-trace-list.component.ts +0 -13
  138. package/dist/templates/frontend/packages/identity/src/app/domains/admin/apps/iam/account/features/account-form.component.spec.ts +26 -1
  139. package/dist/templates/frontend/packages/identity/src/app/domains/admin/apps/iam/account/features/account-form.component.ts +45 -0
  140. package/dist/templates/frontend/packages/production-planning/public/i18n/production-planning/en.json +16 -4
  141. package/dist/templates/frontend/packages/production-planning/public/i18n/production-planning/es.json +16 -4
  142. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/planner/data-access/index.ts +1 -0
  143. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/planner/data-access/planner-process-weights.derive.spec.ts +76 -0
  144. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/planner/data-access/planner-process-weights.derive.ts +49 -0
  145. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/planner/data-access/planner.derive.spec.ts +15 -0
  146. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/planner/data-access/planner.derive.ts +7 -3
  147. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/planner/data-access/planner.graphql.ts +23 -0
  148. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/planner/features/planner-process-weights-dialog.component.ts +139 -0
  149. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/planner/features/planner.component.ts +41 -4
  150. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-dashboard/data-access/production-dashboard.derive.spec.ts +0 -30
  151. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-dashboard/data-access/production-dashboard.derive.ts +0 -21
  152. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-dashboard/data-access/production-dashboard.resolvers.spec.ts +24 -0
  153. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-dashboard/data-access/production-dashboard.resolvers.ts +3 -1
  154. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-dashboard/features/batch-detail-sheet.component.ts +22 -10
  155. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-dashboard/features/event-form-sheet.component.spec.ts +142 -0
  156. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-dashboard/features/event-form-sheet.component.ts +95 -59
  157. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-dashboard/features/event-list.component.ts +121 -123
  158. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-dashboard/features/production-dashboard.component.ts +52 -19
  159. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-order-position/features/production-order-position-list.component.ts +8 -2
  160. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-order-position-event/features/production-order-position-event-list.component.ts +4 -0
  161. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-order-position-event/production-order-position-event.columns.spec.ts +104 -4
  162. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/production-order-position-event/production-order-position-event.columns.ts +121 -69
  163. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/shared/dialogs/finish-event-dialog.component.ts +3 -3
  164. package/dist/templates/frontend/packages/production-planning/src/app/domains/admin/apps/production-planning/shared/dialogs/weight-input-dialog.component.ts +3 -3
  165. package/dist/templates/frontend/packages/reporting/public/i18n/reporting/en.json +1 -1
  166. package/dist/templates/frontend/packages/reporting/public/i18n/reporting/es.json +1 -1
  167. package/dist/templates/frontend/packages/reporting/src/app/domains/admin/apps/reporting/report/data-access/report.detail-config.ts +1 -2
  168. package/dist/templates/frontend/packages/reporting/src/app/domains/admin/apps/reporting/report/data-access/report.graphql.ts +0 -14
  169. package/dist/templates/frontend/packages/reporting/src/app/domains/admin/apps/reporting/report/features/report-form.component.spec.ts +96 -0
  170. package/dist/templates/frontend/packages/reporting/src/app/domains/admin/apps/reporting/report/features/report-form.component.ts +46 -69
  171. package/dist/templates/frontend/packages/reporting/src/app/domains/admin/apps/reporting/report/features/report-list.component.ts +2 -22
  172. package/dist/templates/frontend/packages/reporting/src/app/domains/admin/apps/reporting/report/report.columns.ts +0 -1
  173. package/dist/templates/frontend/packages/reporting/src/app/domains/admin/apps/reporting/reporting-icons.providers.ts +2 -1
  174. package/dist/templates/frontend/packages/reporting/src/app/domains/admin/apps/reporting/reporting.navigation.ts +7 -0
  175. package/dist/templates/frontend/packages/tools/public/i18n/tools/en.json +4 -2
  176. package/dist/templates/frontend/packages/tools/public/i18n/tools/es.json +4 -2
  177. package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant/tools-assistant.service.spec.ts +82 -7
  178. package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant/tools-assistant.service.ts +12 -2
  179. package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-conversation/assistant-conversation.columns.ts +13 -0
  180. package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-conversation/data-access/assistant-conversation.graphql.ts +1 -0
  181. package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-conversation/features/assistant-conversation-form.component.ts +18 -0
  182. package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-conversation/features/assistant-conversation-list.component.ts +0 -13
  183. package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-conversation/features/index.ts +0 -1
  184. package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-usage/assistant-usage.columns.ts +13 -0
  185. package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-usage/data-access/assistant-usage.graphql.ts +2 -0
  186. package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-usage/features/assistant-usage-form.component.ts +18 -0
  187. package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-usage/features/assistant-usage-list.component.ts +0 -13
  188. package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-usage/features/index.ts +0 -1
  189. package/dist/templates/monorepo/.claude/commands/business-rules/promote.md +5 -1
  190. package/dist/templates/monorepo/.claude/hooks/__fixtures__/br-hr-regression-baseline.txt +2 -2
  191. package/dist/templates/monorepo/.claude/hooks/check-required-setup.ts +4 -4
  192. package/dist/templates/monorepo/.claude/hooks/inject-prompt-context.ts +1 -1
  193. package/dist/templates/monorepo/.claude/scripts/generate-skills-index.test.ts +29 -1
  194. package/dist/templates/monorepo/.claude/scripts/generate-skills-index.ts +7 -1
  195. package/dist/templates/monorepo/.claude/skills/REGISTRY.md +2 -2
  196. package/dist/templates/monorepo/.claude/skills/catalyst-backlog/SKILL.md +19 -4
  197. package/dist/templates/monorepo/.claude/skills/catalyst-backlog/frontier-worker-addendum.md +3 -3
  198. package/dist/templates/monorepo/.claude/skills/catalyst-business-rules-guard/SKILL.md +8 -5
  199. package/dist/templates/monorepo/.claude/skills/catalyst-business-rules-guard/references/workflow.md +10 -6
  200. package/dist/templates/monorepo/.claude/skills/catalyst-delegation/SKILL.md +1 -1
  201. package/dist/templates/monorepo/.claude/skills/catalyst-harness-rules-guard/SKILL.md +6 -6
  202. package/dist/templates/monorepo/.claude/skills/catalyst-harness-rules-guard/references/enforcement.md +3 -3
  203. package/dist/templates/monorepo/.claude/skills/catalyst-harness-rules-guard/references/format.md +3 -3
  204. package/dist/templates/monorepo/.claude/skills/catalyst-update-skill-registry/SKILL.md +4 -4
  205. package/dist/templates/monorepo/.claude/skills/catalyst-user-manual/SKILL.md +48 -2
  206. package/dist/templates/monorepo/.claude/skills/openspec-apply-change/SKILL.md +28 -10
  207. package/dist/templates/monorepo/.claude/skills/openspec-archive-change/SKILL.md +52 -13
  208. package/dist/templates/monorepo/.claude/skills/openspec-explore/SKILL.md +59 -14
  209. package/dist/templates/monorepo/.claude/skills/openspec-propose/SKILL.md +38 -12
  210. package/dist/templates/monorepo/.claude/skills/openspec-sync-specs/SKILL.md +31 -3
  211. package/dist/templates/monorepo/CLAUDE.md +14 -14
  212. package/dist/templates/monorepo/docs/business-rules/ARCHITECTURE.md +16 -13
  213. package/dist/templates/monorepo/docs/business-rules/MIGRATION.md +5 -5
  214. package/dist/templates/monorepo/docs/manual/en/04-asistente.md +71 -0
  215. package/dist/templates/monorepo/docs/manual/es/04-asistente.md +71 -0
  216. package/dist/templates/monorepo/openspec/config.yaml +25 -5
  217. package/dist/templates/monorepo/package.json +3 -1
  218. package/dist/templates/monorepo/scripts/backlog/prompt.test.ts +5 -5
  219. package/dist/templates/monorepo/scripts/backlog/prompt.ts +1 -1
  220. package/dist/templates/monorepo/scripts/business-rules/audit.ts +1 -1
  221. package/dist/templates/monorepo/scripts/manual/compile.test.ts +78 -0
  222. package/dist/templates/monorepo/scripts/manual/compile.ts +36 -9
  223. package/dist/templates/monorepo/scripts/worktree/prune.test.ts +517 -0
  224. package/dist/templates/monorepo/scripts/worktree/prune.ts +331 -0
  225. package/oclif.manifest.json +408 -408
  226. package/package.json +15 -17
  227. package/dist/templates/frontend/packages/automation/src/app/domains/admin/apps/automation/state-machine-history/features/state-machine-history-list-actions-cell.component.ts +0 -44
  228. package/dist/templates/frontend/packages/business-partner-portal/src/app/domains/admin/apps/business-partner-portal/purchase-invoice-trace/features/purchase-invoice-trace-list-actions-cell.component.ts +0 -44
  229. package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-conversation/features/assistant-conversation-list-actions-cell.component.ts +0 -44
  230. package/dist/templates/frontend/packages/tools/src/app/domains/admin/apps/tools/assistant-usage/features/assistant-usage-list-actions-cell.component.ts +0 -43
  231. package/dist/templates/monorepo/.claude/commands/opsx/apply.md +0 -184
  232. package/dist/templates/monorepo/.claude/commands/opsx/archive.md +0 -225
  233. package/dist/templates/monorepo/.claude/commands/opsx/explore.md +0 -196
  234. package/dist/templates/monorepo/.claude/commands/opsx/propose.md +0 -145
  235. package/dist/templates/monorepo/.claude/commands/opsx/sync.md +0 -258
@@ -206,9 +206,9 @@ cabecera, sus lineas con los impuestos leidos, el desglose de impuestos y el vin
206
206
  `CONFIG_INVALID` y sin reintentos (BR-BPP-SUPPLIER-DOCUMENT-026). `ANTHROPIC_API_KEY` es obligatoria en
207
207
  el arranque. No se guarda ninguna confianza (BR-BPP-PURCHASE-INVOICE-HEADER-068): `extractedData` lleva
208
208
  los motivos de duda y una entrada por lectura de un modelo con su modelo y la version de su prompt
209
- (`step-one-v4`, `step-two-v4`; BR-BPP-PURCHASE-INVOICE-HEADER-069).
210
- - **Descuentos y comisiones globales**: el modelo los lee como una linea mas, con importe negativo, la
211
- descripcion impresa y su impuesto (BR-BPP-SUPPLIER-DOCUMENT-029); la cabecera no tiene descuento.
209
+ (`step-one-v6`, `step-two-v5`; BR-BPP-PURCHASE-INVOICE-HEADER-069).
210
+ - **Descuentos, comisiones globales y anticipos deducidos**: el modelo los lee como una linea mas, con importe negativo, la
211
+ descripcion impresa y su impuesto (BR-BPP-SUPPLIER-DOCUMENT-030); la cabecera no tiene descuento.
212
212
  - `invoiceNumber` (numero interno, `readOnly`) lo genera un trigger `BEFORE INSERT` sobre una
213
213
  secuencia (BR-BPP-PURCHASE-INVOICE-HEADER-001).
214
214
  - La factura nace en `RECEIVED`. Tras confirmar la transaccion se guardan, por `key`, los valores extraidos
@@ -305,7 +305,7 @@ adaptador, SDK, variable de entorno ni respaldo por texto de Azure.
305
305
  - **El job** (cola `business-partner-portal-extraction-step-two`) se encola despues de confirmar el
306
306
  movimiento a `EXTENDING`, desde el servicio de entrada en estado, y lleva solo el id de la factura. En
307
307
  cada intento arma el contexto desde lo guardado (documento, instantanea, cabecera, posiciones, filas del
308
- desglose, valores personalizados, perfil y opciones activas) y llama al modelo solo si hay algo que
308
+ desglose, valores personalizados, perfil y opciones activas, y el `tin` de la sociedad del documento, que la peticion da al modelo como id fiscal del cliente: BR-BPP-SUPPLIER-DOCUMENT-031) y llama al modelo solo si hay algo que
309
309
  leer: campos de perfil sin pedir o una revision pendiente. En modo lote se aplaza con `DelayedError` sin
310
310
  registrar fallo, y lo pedido al enviar viaja con la referencia del lote: al recoger solo se concilia lo
311
311
  que el envio pidio, no el perfil de ese momento. Un fallo del modelo se reintenta con espera exponencial (`BPP_EXTRACTION_STEP_TWO_MAX_ATTEMPTS`,
@@ -533,7 +533,7 @@ BR-BPP-PURCHASE-INVOICE-HEADER-011 y -074 para las tolerancias de aviso):
533
533
 
534
534
  - `subtotal` = suma del importe neto (`positionTotal`) de las lineas que no llevan un impuesto
535
535
  `PASS_THROUGH`. Es la base imponible tras cualquier descuento o comision: un descuento o una comision
536
- global es una linea propia con importe negativo (BR-BPP-SUPPLIER-DOCUMENT-029), asi que rebaja esta suma.
536
+ global o un anticipo deducido es una linea propia con importe negativo (BR-BPP-SUPPLIER-DOCUMENT-030), asi que rebaja esta suma.
537
537
  - `taxAmount` = suma de la aportacion de cada fila del desglose: un impuesto aporta `signo(base) x |cuota|`,
538
538
  una retencion `-signo(base) x |cuota|` y un suplido (`PASS_THROUGH`) su base tal cual.
539
539
  - `totalAmount` = `subtotal` + `taxAmount`. La cabecera no tiene descuento (`discountAmount` no existe), asi
@@ -62,6 +62,8 @@ The **Purchase Invoice** screen opens, always in read-only mode. At the top are
62
62
 
63
63
  The information icons next to each section title explain its content when you hover over them.
64
64
 
65
+ With this screen open, you can ask the [assistant](/manual/general.04-asistente) about the invoice: why you cannot accept the review, which issues it has or which line shows a warning. It answers from what the screen shows, for this invoice only; it does not press any button for you.
66
+
65
67
  ## Understand the issues
66
68
 
67
69
  The state says where the invoice is and the **Issues** say why it is there. They appear as amber labels under the header. An invoice can have several at once, but always belonging to the same state: review issues never coexist with error issues. The screen shows each issue under the label below, exactly as it appears.
@@ -100,6 +102,8 @@ Two tax ids count as the same even if one carries the country prefix and the oth
100
102
 
101
103
  The **Lines** section shows, for each line of the document, its **Description**, its **Taxes** and its **Amount**. Under the description, in gray, appear the quantity times the unit price and the product code when the document had them; they cannot be changed. If the invoice has no lines, "This invoice has no lines." appears.
102
104
 
105
+ On a line, a tax whose amount differs from the one that results from the base and the percentage shows "Expected …, read …".
106
+
103
107
  A tax read from the document that is not in the tax catalog appears as a label with the notice "This tax was read from the document and is not in the tax catalog." That invoice has the **Tax Error** issue until a catalog tax is chosen.
104
108
 
105
109
  The **Tax breakdown and totals** section shows one row per tax, with its **Taxable base** and its **Tax amount**, and below it the **Subtotal**, the **Tax Amount** and the **Total Amount**. The application calculates the amounts from the lines: they are not typed, except in manual amounts mode (see [Correct an invoice](/manual/business-partner-portal.purchase-invoice-header#business-partner-portal.purchase-invoice-header.correct-an-invoice)). A text shows the mode in use: **Automatic amounts** or **Manual amounts**.
@@ -201,7 +205,7 @@ An invoice with the **Doubtful Document** issue shows, on the review screen, a p
201
205
 
202
206
  The panel is informative only: it changes nothing by itself and does not stop you from saving. The values the second reading proposed that passed the arithmetic check are already applied to the invoice, except those you had corrected earlier, which are kept; the panel shows the previous and the new value so you can undo whatever you do not agree with. The second reading never creates or deletes lines or tax breakdown rows. Each invoice is reviewed only once.
203
207
 
204
- A discount or commission that applies to the whole invoice is read as one more line, with a negative amount and its own tax; the invoice has no separate discount field.
208
+ A discount or commission that applies to the whole invoice, or an advance already invoiced that the invoice deducts, is read as one more line, with a negative amount and its own tax; the invoice has no separate discount field.
205
209
 
206
210
  ## Accept the review of a doubtful document
207
211
 
@@ -62,6 +62,8 @@ Se abre la pantalla **Factura de compra**, siempre en modo lectura. Arriba apare
62
62
 
63
63
  Los iconos de información junto a los títulos de cada sección explican su contenido al pasar el ratón por encima.
64
64
 
65
+ Con esta pantalla abierta, puedes preguntar al [asistente](/manual/general.04-asistente) por la factura: por qué no puedes aceptar la revisión, qué incidencias tiene o qué línea muestra un aviso. Responde con lo que la pantalla muestra, solo de esta factura; no pulsa ningún botón por ti.
66
+
65
67
  ## Entender las incidencias
66
68
 
67
69
  El estado dice dónde está la factura y las **Incidencias** dicen por qué está ahí. Aparecen como etiquetas ámbar bajo la cabecera. Una factura puede tener varias a la vez, pero siempre del mismo estado: las de revisión no conviven con las de error.
@@ -100,6 +102,8 @@ Dos NIF se consideran el mismo aunque uno lleve el prefijo del país y el otro n
100
102
 
101
103
  La sección **Líneas** muestra, por cada línea del documento, su **Descripción**, sus **Impuestos** y su **Importe**. Bajo la descripción aparecen, en gris, la cantidad por el precio unitario y el código de producto cuando el documento los traía; no se pueden cambiar. Si la factura no tiene líneas, aparece «Esta factura no tiene líneas.».
102
104
 
105
+ En una línea, un impuesto cuya cuota no coincide con la que resulta de la base y el porcentaje muestra «Esperado …, leído …».
106
+
103
107
  Un impuesto leído del documento que no está en el catálogo de impuestos aparece con una etiqueta y el aviso «Este impuesto se leyó del documento y no está en el catálogo de impuestos.». Esa factura tendrá la incidencia **Error de impuestos** hasta que se elija un impuesto del catálogo.
104
108
 
105
109
  La sección **Desglose de impuestos y totales** muestra una fila por impuesto, con su **Base imponible** y su **Cuota**, y debajo el **Subtotal**, el **Importe de impuestos** y el **Importe total**. Los importes los calcula la aplicación a partir de las líneas: no se teclean, salvo en el modo de cuotas manuales (véase [Corregir una factura](/manual/business-partner-portal.purchase-invoice-header#business-partner-portal.purchase-invoice-header.corregir-una-factura)). Un texto indica el modo en curso: **Cuotas automáticas** o **Cuotas manuales**.
@@ -201,7 +205,7 @@ Una factura con la incidencia **Documento dudoso** muestra, en la pantalla de re
201
205
 
202
206
  El panel solo informa: no cambia nada por sí solo ni impide guardar. Los valores que la segunda lectura propuso y que pasaron la comprobación aritmética ya están aplicados a la factura, salvo los que tú hubieras corregido antes, que se conservan; el panel muestra el valor anterior y el nuevo para que puedas deshacer lo que no te convenza. La segunda lectura nunca crea ni borra líneas ni filas del desglose. Cada factura se revisa una sola vez.
203
207
 
204
- Un descuento o una comisión que afecta a toda la factura se lee como una línea más, con importe negativo y su impuesto; la factura no tiene un campo de descuento aparte.
208
+ Un descuento o una comisión que afecta a toda la factura, o un anticipo ya facturado que la factura descuenta, se lee como una línea más, con importe negativo y su impuesto; la factura no tiene un campo de descuento aparte.
205
209
 
206
210
  ## Aceptar la revisión de un documento dudoso
207
211
 
@@ -10,7 +10,7 @@ The planner is used to decide which operators work on each batch. Operators are
10
10
 
11
11
  - On the left, the list of **operators** (the people with the operator role), with a **Search operators...** box. If an operator is already assigned to some batch, a red counter over their initials shows how many. If there are none, «No operators available.» appears.
12
12
  - On the right, one card per **batch** with its code, status, product and its reference, the **Batch** number, the weight registered at the initial weighing, the production center and the estimated end date of the campaign. The circle on the card shows the progress of the campaign: processed weight against target weight, up to 100 %.
13
- - Above the cards, the **Search batches...** box (by code or by batch number) and the **Center** button, to see only the batches of the centers you tick. Click **Clear filter** to remove that selection. If no batch matches, «No batches match your search.» appears.
13
+ - Above the cards, the **Search batches or products...** box (by code, by batch number, or by product name or reference) and the **Center** button, to see only the batches of the centers you tick. Click **Clear filter** to remove that selection. If no batch matches, «No batches match your search.» appears.
14
14
 
15
15
  ## Assign an operator to a batch
16
16
 
@@ -13,18 +13,21 @@ This screen follows the common behavior of lists and forms: see [Lists](/manual/
13
13
  | Column | What it shows |
14
14
  | --- | --- |
15
15
  | **RowId** | Sequential number of the event. |
16
- | **Production Order Position** | Code of the batch it belongs to. |
16
+ | **Batch** | Batch number assigned to the production lot of the event. |
17
+ | **Code** | Code of the production lot it belongs to. |
18
+ | **Equipment** | The equipment it was done with. |
17
19
  | **Operator** | Account of the person who recorded the event. |
20
+ | **Total Weight** | Kilograms weighed in the event. |
21
+ | **Total Duration** | Time of the event, in hours, minutes and seconds. |
22
+ | **Kilograms/hour** | Throughput of the event: **Total Weight** divided by **Total Duration**. |
18
23
  | **Status** | **In Progress** if the event is still open, **Done** if it has finished. |
19
- | **Process**, **Room**, **Equipment** | What was done, where and with what. |
24
+ | **Process**, **Room** | What was done and where. |
20
25
  | **Start At**, **End At** | When it started and ended. |
21
26
  | **Stop Type** | Why it ended: **Process Completed**, **Work Stop**, **Issue** or **Other**. |
22
27
  | **Issue Type** | The cause chosen when the stop type is **Issue**. |
23
- | **Total Duration** | Time of the event, in hours, minutes and seconds. |
24
28
  | **Observations** | Free text that explains the stop. |
25
- | **Total Weight** | Kilograms weighed in the event. |
26
29
 
27
- An **In Progress** event does not have an **End At** or a **Total Duration** yet.
30
+ An **In Progress** event does not have an **End At** or a **Total Duration** yet. **Kilograms/hour** stays empty while the weight or the duration of the event is missing, and also when the duration is zero. This column cannot be sorted or filtered.
28
31
 
29
32
  ## Finish an event
30
33
 
@@ -10,7 +10,7 @@ El planificador sirve para decidir qué operarios trabajan en cada lote. A la iz
10
10
 
11
11
  - A la izquierda, la lista de **operarios** (las personas con el rol de operario), con un buscador **Buscar operarios...**. Si un operario ya está asignado a algún lote, un contador rojo sobre sus iniciales indica a cuántos. Si no hay ninguno, aparece «No hay operarios disponibles.»
12
12
  - A la derecha, una tarjeta por **lote** con su código, el estado, el producto y su referencia, el número de **Lote**, el peso registrado en la pesada inicial, el centro de producción y la fecha estimada de fin de la campaña. El círculo de la tarjeta indica el avance de la campaña: el peso procesado frente al peso objetivo, hasta el 100 %.
13
- - Encima de las tarjetas, el buscador **Buscar lotes...** (por código o por número de lote) y el botón **Centro**, para ver solo los lotes de los centros que marques. Pulsa **Limpiar filtro** para quitar esa selección. Si ningún lote coincide, aparece «Ningún lote coincide con tu búsqueda.»
13
+ - Encima de las tarjetas, el buscador **Buscar lotes o productos...** (por código, por número de lote o por el nombre o la referencia del producto) y el botón **Centro**, para ver solo los lotes de los centros que marques. Pulsa **Limpiar filtro** para quitar esa selección. Si ningún lote coincide, aparece «Ningún lote coincide con tu búsqueda.»
14
14
 
15
15
  ## Asignar un operario a un lote
16
16
 
@@ -13,18 +13,21 @@ Esta pantalla sigue el funcionamiento común de los listados y los formularios:
13
13
  | Columna | Qué muestra |
14
14
  | --- | --- |
15
15
  | **ID de fila** | Número correlativo del evento. |
16
- | **Lote de producción** | Código del lote al que pertenece. |
16
+ | **Lote** | Número de lote asignado al lote de producción del evento. |
17
+ | **Código** | Código del lote de producción al que pertenece. |
18
+ | **Equipo** | Con qué equipo se hizo. |
17
19
  | **Operario** | Cuenta de la persona que registró el evento. |
20
+ | **Peso total** | Kilos pesados en el evento. |
21
+ | **Duración total** | Tiempo del evento, en horas, minutos y segundos. |
22
+ | **Kilos/hora** | Rendimiento del evento: **Peso total** entre **Duración total**. |
18
23
  | **Estado** | **En curso** si el evento sigue abierto, **Finalizado** si ya terminó. |
19
- | **Proceso**, **Sala**, **Equipo** | Qué se hizo, dónde y con qué. |
24
+ | **Proceso**, **Sala** | Qué se hizo y dónde. |
20
25
  | **Inicio**, **Fin** | Cuándo empezó y terminó. |
21
26
  | **Motivo de parada** | Por qué terminó: **Proceso completado**, **Parada de trabajo**, **Incidencia** u **Otro**. |
22
27
  | **Tipo de incidencia** | La causa elegida cuando el motivo es **Incidencia**. |
23
- | **Duración total** | Tiempo del evento, en horas, minutos y segundos. |
24
28
  | **Observaciones** | Texto libre que explica la parada. |
25
- | **Peso total** | Kilos pesados en el evento. |
26
29
 
27
- Un evento **En curso** aún no tiene **Fin** ni **Duración total**.
30
+ Un evento **En curso** aún no tiene **Fin** ni **Duración total**. **Kilos/hora** queda vacío mientras falte el peso o la duración del evento, y también cuando la duración es cero. Esta columna no se puede ordenar ni filtrar.
28
31
 
29
32
  ## Finalizar un evento
30
33
 
@@ -0,0 +1,40 @@
1
+ ---
2
+ route: /reporting/report
3
+ ---
4
+
5
+ # Report definitions
6
+
7
+ Every report that appears in the [Reports catalog](/manual/reporting.report-catalog) has its definition here: name, description, owner, update frequency and the data it shows. The reports come with the application: this screen does not create new reports. People who administer the catalog use this screen; it opens from **Report definitions**, inside **Report manager** in the side menu. It does not run reports: to see the result of a report, open **Reports**.
8
+
9
+ The list and the edit dialog work like the rest of the application: see [Lists](/manual/general.02-listados) and [Forms](/manual/general.03-formularios). The category of each report is administered in [Report categories](/manual/reporting.report-category).
10
+
11
+ The list shows, among others, the columns **DefinitionKey**, **Name**, **Description**, **Owner**, **UpdateFrequency**, **IsSystem**, **Visibility**, **LastRunAt** and **LastRowCount**. When there are no definitions, it shows **No reports found.**
12
+
13
+ ## Change a report definition
14
+
15
+ 1. In the row of the report, open the actions menu and choose **Edit**.
16
+ 2. In the **Edit Report** dialog, change **Description**, **Owner** or **UpdateFrequency** (next table).
17
+ 3. Click **Save**.
18
+
19
+ The message **Saved successfully** appears, the dialog closes and the list refreshes. **Save** only becomes active once you have changed something and the required fields are filled in.
20
+
21
+ | Field | What it is |
22
+ | --- | --- |
23
+ | **DefinitionKey** | Identifies the data query the report is based on. It shows disabled: you cannot change it. |
24
+ | **Name** | It is the name on the card of the report in the catalog. It shows disabled: you cannot change it. |
25
+ | **Description** | Free text describing what the report shows; it appears in the popover of the card. |
26
+ | **Owner** | Up to 128 characters. Team or person responsible for the report; informational only. |
27
+ | **UpdateFrequency** | Up to 64 characters, for example `daily` or `weekly`. It is an informational label: it does not schedule any update. |
28
+ | **IsSystem** | Marks the reports that come with the application. It shows disabled: you cannot change it. |
29
+ | **Selection** | The columns, measures, filters and order the report shows. It shows as read-only text. |
30
+
31
+ The changes show in the [catalog](/manual/reporting.report-catalog) the next time it is opened.
32
+
33
+ The list also shows **Visibility**, **LastRunAt** and **LastRowCount**. The application fills them in and they do not appear in the edit dialog: **LastRunAt** and **LastRowCount** are the date of the last run and the rows it returned, and the catalog shows them in the popover of the report.
34
+
35
+ ## Delete a definition
36
+
37
+ 1. In the row of the report, open the actions menu and choose **Delete**.
38
+ 2. Confirm in the warning dialog: *Are you sure you want to delete "name"? This action cannot be undone.*
39
+
40
+ **Deleted successfully** appears and the report disappears from the list and from the catalog. [Dashboard](/manual/dashboard.layout) widgets that showed it warn that the report is no longer available. See [Delete a row](/manual/general.02-listados#general.02-listados.delete-a-row).
@@ -0,0 +1,40 @@
1
+ ---
2
+ route: /reporting/report
3
+ ---
4
+
5
+ # Definiciones de reporte
6
+
7
+ Cada reporte que aparece en el [catálogo de Reportes](/manual/reporting.report-catalog) tiene aquí su definición: nombre, descripción, responsable, frecuencia de actualización y los datos que muestra. Los reportes los trae la aplicación: esta pantalla no crea reportes nuevos. Esta pantalla la usan las personas que administran el catálogo; se abre desde **Definiciones de reporte**, dentro de **Gestor de reportes** en el menú lateral. No ejecuta reportes: para consultar su resultado, abre **Reportes**.
8
+
9
+ La lista y el cuadro de edición funcionan como en el resto de la aplicación: consulta [Listados](/manual/general.02-listados) y [Formularios](/manual/general.03-formularios). La categoría de cada reporte se administra en [Categorías de reporte](/manual/reporting.report-category).
10
+
11
+ La lista muestra, entre otras, las columnas **DefinitionKey**, **Name**, **Description**, **Owner**, **UpdateFrequency**, **IsSystem**, **Visibility**, **LastRunAt** y **LastRowCount**. Si no hay ninguna definición, aparece **No se encontraron reports.**
12
+
13
+ ## Cambiar la definición de un reporte
14
+
15
+ 1. En la fila del reporte, abre el menú de acciones y elige **Editar**.
16
+ 2. En el cuadro **Editar Report**, cambia **Description**, **Owner** o **UpdateFrequency** (tabla siguiente).
17
+ 3. Pulsa **Guardar**.
18
+
19
+ Aparece el aviso **Guardado correctamente**, el cuadro se cierra y la lista se actualiza. **Guardar** solo se activa cuando has cambiado algo y los campos obligatorios están rellenos.
20
+
21
+ | Campo | Qué es |
22
+ | --- | --- |
23
+ | **DefinitionKey** | Identifica la consulta de datos en la que se basa el reporte. Se ve desactivado: no se puede cambiar. |
24
+ | **Name** | Es el nombre de la tarjeta del reporte en el catálogo. Se ve desactivado: no se puede cambiar. |
25
+ | **Description** | Texto libre que describe qué muestra el reporte; se ve en la ficha de la tarjeta. |
26
+ | **Owner** | Hasta 128 caracteres. Equipo o persona responsable del reporte; es solo informativo. |
27
+ | **UpdateFrequency** | Hasta 64 caracteres, por ejemplo `diaria` o `semanal`. Es una etiqueta informativa: no programa ninguna actualización. |
28
+ | **IsSystem** | Marca los reportes que trae la aplicación. Se ve desactivado: no se puede cambiar. |
29
+ | **Selection** | Las columnas, medidas, filtros y orden que muestra el reporte. Se ve como texto de solo lectura. |
30
+
31
+ Los cambios se ven en el [catálogo](/manual/reporting.report-catalog) la próxima vez que se abre.
32
+
33
+ La lista también muestra **Visibility**, **LastRunAt** y **LastRowCount**. Los rellena la aplicación y no aparecen en el cuadro de edición: **LastRunAt** y **LastRowCount** son la fecha de la última ejecución y las filas que devolvió, y el catálogo los muestra en la ficha del reporte.
34
+
35
+ ## Eliminar una definición
36
+
37
+ 1. En la fila del reporte, abre el menú de acciones y elige **Eliminar**.
38
+ 2. Confirma en el cuadro de aviso: *¿Estás seguro de que deseas eliminar "nombre"? Esta acción no se puede deshacer.*
39
+
40
+ Aparece **Eliminado correctamente** y el reporte desaparece de la lista y del catálogo. Los widgets del [dashboard](/manual/dashboard.layout) que lo mostraban avisan de que el reporte ya no está disponible. Consulta [Eliminar una fila](/manual/general.02-listados#general.02-listados.eliminar-una-fila).
@@ -106,3 +106,4 @@ seeder.
106
106
  - **Webhook and webhook-log are declared only.** Their YAMLs exist but no backend module or screen is generated yet. The YAML intent: a POST to every webhook whose `events` match, signed with HMAC-SHA from its `secret` so the receiver can verify it; `webhook-log` excludes `update` (append-only audit trail).
107
107
  - **Execution Order**: migration.executionOrder and procedure.sort control execution sequence within same version.
108
108
  - **Webhook Digest**: digest API generates HMAC signatures for manual testing.
109
+ - **Assistant screen context**: the ask operation carries `form` and an optional `screen` (the closed vocabulary `status`, `issues`, `actions`, `facts`, `rows`). The handler validates `screen` with `toolsAssistantReadScreen` right after reading the form and before the quota check; a value over `TOOLS_ASSISTANT_SCREEN_LIMITS` is rejected with `tools.error.assistantInvalidScreen`, never truncated. Only `screenText` (beside `formText` in `tools-anthropic-build-assistant-request.function.ts`) turns it into text for the model, and the screen is never stored in a turn or logged. The vocabulary and what a screen may publish are in `frontend/src/@aurora/modules/screen-context/README.md`.
@@ -21,3 +21,14 @@
21
21
  kind: create
22
22
  tourId: general.form
23
23
  label: { es: Crear un buzón, en: Create a mailbox }
24
+
25
+ - id: create-assistant-usage-policy
26
+ route: /tools/assistant-usage-policy
27
+ kind: create
28
+ label: { es: Crear una política de uso, en: Create a usage policy }
29
+
30
+ - id: create-file-storage
31
+ route: /tools/file-storage
32
+ kind: create
33
+ tourId: general.form
34
+ label: { es: Crear un almacenamiento de ficheros, en: Create a file storage }
@@ -0,0 +1,38 @@
1
+ ---
2
+ route: /tools/assistant-conversation
3
+ ---
4
+
5
+ # Conversations
6
+
7
+ This screen stores every question asked to the help assistant, with its answer and the signals that let you judge whether the answer helped. The people who maintain the manual use it to find what the manual does not explain well. It is a read-only screen.
8
+
9
+ ## View the conversations
10
+
11
+ Open **Conversations** in the **Assistant** section of the **Tools** menu. To search, filter, sort, choose columns and export, see [Lists](/manual/general.02-listados).
12
+
13
+ The list shows one row per question (a turn of the conversation). When there is no data, it shows "No conversations stored."
14
+
15
+ | Column | What it shows |
16
+ | --- | --- |
17
+ | **Row ID** | The order number of the turn. |
18
+ | **Account** | The username of the account that asked the question. Each turn keeps the name the account had when it asked: if the account is renamed later, earlier turns do not change. If a turn does not store the name, the cell is empty. |
19
+ | **Language** | The language in which the question was asked. |
20
+ | **Question** | The text the user typed. |
21
+ | **Answer** | The text the assistant answered with. |
22
+ | **Coverage** | How well the manual covered the question: **Answered**, **Partial** or **Not found**. |
23
+ | **Sent sections** | The manual sections handed to the assistant to answer. |
24
+ | **Cited sections** | The manual sections the answer relied on. |
25
+ | **Input tokens** and **Output tokens** | What the turn cost (see [Usage](/manual/tools.assistant-usage)). |
26
+ | **Offered actions** | The guided actions the answer proposed to the user. |
27
+ | **Opened action** | The action the user opened, if any. |
28
+ | **Tour completed** | Whether the user finished the guided tour of that action. |
29
+ | **Feedback** | What the user thought of the answer: **Useful** or **Not useful**. It is empty until the user rates it. |
30
+ | **Feedback reason** | Why it was not useful: **Missing information**, **Incorrect** or **Unclear**. |
31
+
32
+ To find what is missing in the manual, filter by **Coverage** equal to **Not found** or **Partial**, or by **Feedback** equal to **Not useful**.
33
+
34
+ Keep in mind:
35
+
36
+ - The question and the answer may contain personal or business data typed by the user. Handle them with the care they deserve. Only people with a specific permission to read conversations can open this screen.
37
+ - Turns are deleted permanently after the configured number of retention days and can no longer be recovered. You adjust that number in [Key-values](/manual/tools.key-value).
38
+ - On this screen you do not create, edit or delete rows: the assistant records them from what users do.
@@ -0,0 +1,46 @@
1
+ ---
2
+ route: /tools/assistant-usage-policy
3
+ ---
4
+
5
+ # Usage policies
6
+
7
+ This screen sets how many tokens per month the help assistant may spend for the accounts of each role. Administrators who control the cost of the assistant use it.
8
+
9
+ ## View the policies
10
+
11
+ Open **Usage policies** in the **Assistant** section of the **Tools** menu. To search, filter, sort, choose columns and export, see [Lists](/manual/general.02-listados).
12
+
13
+ The list shows, for each policy, its **Row ID**, the **Role** it applies to and its **Monthly token limit**. When nothing matches, it shows "No usage policies found."
14
+
15
+ ## How the limit of an account is worked out
16
+
17
+ A token is the unit in which the assistant measures the text it processes; questions and answers both consume tokens.
18
+
19
+ - The policy of a role sets the tokens each account holding that role may spend, per calendar month.
20
+ - If an account has several roles with a policy, the highest limit applies.
21
+ - A role without a policy adds no limit. If none of the roles of an account has a policy, the account has no limit of its own and is only held back by the platform's global cap, which is configured in [Key-values](/manual/tools.key-value).
22
+ - When an account reaches its limit, the assistant refuses its questions until the next month. You can see what it has spent in [Usage](/manual/tools.assistant-usage).
23
+
24
+ ## Create a policy
25
+
26
+ To open the form and save it, see [Forms](/manual/general.03-formularios). This screen opens the form in a dialog over the list. These are its fields:
27
+
28
+ 1. Click **New Usage policy**.
29
+ 2. Choose the **Role** it applies to. Search by name in the selector.
30
+ 3. Type the **Monthly token limit**: a whole number, from 0 upwards. With **0**, accounts that hold only that role cannot use the assistant.
31
+ 4. Click **Create**.
32
+
33
+ The policy appears in the list.
34
+
35
+ Keep in mind:
36
+
37
+ - A role has at most one policy. If one already exists for that role, the screen warns you and nothing is saved; edit the existing one.
38
+ - If a role is deleted, its policy disappears with it.
39
+
40
+ ## Edit a policy
41
+
42
+ Open the three-dot menu of the row and choose **Edit**. To save the changes, see [Forms](/manual/general.03-formularios).
43
+
44
+ ## Delete a policy
45
+
46
+ To delete a policy, see [Lists](/manual/general.02-listados). Roles left without a policy stop adding a limit to their accounts.
@@ -0,0 +1,28 @@
1
+ ---
2
+ route: /tools/assistant-usage
3
+ ---
4
+
5
+ # Usage
6
+
7
+ This screen shows the tokens each account has spent on the help assistant, month by month. It serves to watch the cost of the assistant and to check whether an account is close to its limit. It is a read-only screen.
8
+
9
+ ## View the usage
10
+
11
+ Open **Usage** in the **Assistant** section of the **Tools** menu. To search, filter, sort, choose columns and export, see [Lists](/manual/general.02-listados).
12
+
13
+ The list shows one row per account and month, with its **Row ID**, the **Account**, the **Period**, the **Input tokens** and the **Output tokens**. When no usage is recorded, it shows "No usage recorded."
14
+
15
+ | Column | What it counts |
16
+ | --- | --- |
17
+ | **Account** | The username of the account that spent the tokens. It shows the name the account had at its last question of the month, so it updates if the account is renamed and asks again. It stays visible even if the account is deleted. If the row does not store the name, the cell is empty; the row of the current month receives it at the next question of the account. |
18
+ | **Period** | The calendar month, written as year and month (for example, `2026-10`). Each month starts with the counter at zero. |
19
+ | **Input tokens** | What the assistant read to answer: the question, the context and the text of the manual. |
20
+ | **Output tokens** | What the assistant wrote in its answers. |
21
+
22
+ Keep in mind:
23
+
24
+ - Every question to the assistant consumes tokens and is recorded, including when the assistant turns it down as out of scope.
25
+ - If an account has reached its monthly limit, or the platform's global cap has been reached, the assistant refuses the question without consuming anything.
26
+ - On this screen you do not create, edit or delete rows: the assistant records them itself.
27
+
28
+ The limit of each account is set by the [usage policies](/manual/tools.assistant-usage-policy).
@@ -0,0 +1,83 @@
1
+ ---
2
+ route: /tools/file-storage
3
+ ---
4
+
5
+ # File storages
6
+
7
+ This screen gathers the remote places the platform writes files to. Each file storage has its own provider, its own secret and its own connection status. Other parts of the platform pick one by name when they need to save a file: the platform only writes to it and never reads from it.
8
+
9
+ ## View the file storages
10
+
11
+ Open **File storages** in the **Tools** menu. To search, filter, sort, choose columns and export, see [Lists](/manual/general.02-listados).
12
+
13
+ The list shows, for each file storage, its **RowId**, its **Name**, its **Provider** and its **Status**. When nothing matches, it shows "No file storages found."
14
+
15
+ ## Create a file storage
16
+
17
+ To open the form and save it, see [Forms](/manual/general.03-formularios). These are the fields of this screen:
18
+
19
+ 1. Click **New File storage**.
20
+ 2. Fill in **Name**: tell the other administrators what it is for (for example, "Purchase invoice archive"). Maximum 128 characters.
21
+ 3. Choose the **Provider**. Today the list offers **SFTP**.
22
+ 4. When you choose the provider, the **Secret (JSON)** field fills with a template. Replace its values with those of your server. If you change your mind and want the template back, click **Reload template**.
23
+ 5. Click **Create**.
24
+
25
+ The file storage appears in the list with the status **Configured**.
26
+
27
+ Keep in mind:
28
+
29
+ - The secret is checked against the format the provider requires. If it is not valid, the screen tells you what fails and nothing is saved.
30
+ - The secret is stored encrypted and is never shown again, neither here nor on any other screen.
31
+ - The credentials always go inside the secret: the platform uses no other credentials from its environment.
32
+
33
+ ## Understand the statuses
34
+
35
+ The platform maintains the status; it cannot be edited.
36
+
37
+ | Status | Means |
38
+ | --- | --- |
39
+ | **Configured** | A valid secret is saved, but the connection has not been tested yet. |
40
+ | **Verified** | The last connection test worked. |
41
+ | **Connection error** | The last connection test failed. |
42
+
43
+ Only a connection test changes the status. If writing a real file fails later, the status does not change: test the connection again to check it. Saving a new secret sets the status back to **Configured**.
44
+
45
+ ## Test the connection
46
+
47
+ The test writes a test file to the destination. You can run it in two ways:
48
+
49
+ 1. In the list, open the three-dot menu of the file storage and choose **Test connection**.
50
+ 2. Or open the file storage, or the form of a new one, and click **Test connection** in its toolbar.
51
+
52
+ In the form, the test uses the secret you typed if you changed it, and you do not need to save first. When creating a file storage it is only enabled once you have chosen a provider and typed the secret. On an existing file storage where you leave the secret alone, it tests the stored one.
53
+
54
+ A notice shows the result:
55
+
56
+ - If it works, you see "A test file was written successfully." and the saved file storage becomes **Verified**.
57
+ - If it fails, you see "The test failed:" followed by the reason, and the saved file storage becomes **Connection error**.
58
+
59
+ | Reason | Means |
60
+ | --- | --- |
61
+ | the stored secret is not valid | The secret does not have the provider's format. |
62
+ | the credentials were rejected | The server does not accept the user or key in the secret. |
63
+ | the server key does not match the saved fingerprint | The server presents a different key from the one the secret states. |
64
+ | the server could not be reached | There is no connection to the server. |
65
+ | the test file could not be written | The server answers, but does not allow writing. |
66
+
67
+ Testing a secret you have not saved yet creates and modifies no file storage and changes no status: it only tells you whether it would work.
68
+
69
+ ## Edit a file storage and change the secret
70
+
71
+ To open the form of an existing file storage, see [Forms](/manual/general.03-formularios). Next to the **Provider** you see the current status.
72
+
73
+ The **Secret (JSON)** field appears empty, with the notice "The stored secret is never shown. Leave empty to keep it, or paste a new one."
74
+
75
+ 1. To keep the secret, leave it empty.
76
+ 2. To change it, paste the new secret into its field.
77
+ 3. Click **Save**.
78
+
79
+ If you change the **Provider**, the secret fills with the new provider's template: replace its values before saving.
80
+
81
+ ## Delete a file storage
82
+
83
+ To delete a file storage, see [Lists](/manual/general.02-listados). If another part of the platform is using it, the screen does not allow deleting it and tells you; stop using it there first.
@@ -0,0 +1,38 @@
1
+ ---
2
+ route: /tools/assistant-conversation
3
+ ---
4
+
5
+ # Conversaciones
6
+
7
+ Esta pantalla guarda cada pregunta que se ha hecho al asistente de ayuda, con su respuesta y las señales que permiten juzgar si la respuesta sirvió. Quienes mantienen el manual la usan para encontrar lo que el manual no explica bien. Es una pantalla de solo lectura.
8
+
9
+ ## Consultar las conversaciones
10
+
11
+ Abre **Conversaciones** en la sección **Asistente** del menú **Herramientas**. Para buscar, filtrar, ordenar, elegir columnas y exportar, consulta [Listados](/manual/general.02-listados).
12
+
13
+ La lista muestra una fila por pregunta (un turno de la conversación). Si no hay datos, aparece el mensaje «No hay conversaciones almacenadas.»
14
+
15
+ | Columna | Qué muestra |
16
+ | --- | --- |
17
+ | **ID de fila** | El número de orden del turno. |
18
+ | **Cuenta** | El nombre de usuario de la cuenta que hizo la pregunta. Cada turno conserva el nombre que la cuenta tenía cuando preguntó: si después cambia de nombre, los turnos anteriores no se modifican. Si un turno no guarda el nombre, la celda aparece vacía. |
19
+ | **Idioma** | El idioma en el que se hizo la pregunta. |
20
+ | **Pregunta** | El texto que escribió el usuario. |
21
+ | **Respuesta** | El texto con el que contestó el asistente. |
22
+ | **Cobertura** | Cuánto cubría el manual la pregunta: **Respondida**, **Parcial** o **No encontrada**. |
23
+ | **Secciones enviadas** | Las secciones del manual que se entregaron al asistente para contestar. |
24
+ | **Secciones citadas** | Las secciones del manual en las que se apoyó la respuesta. |
25
+ | **Tokens de entrada** y **Tokens de salida** | Lo que costó el turno (consulta [Consumo](/manual/tools.assistant-usage)). |
26
+ | **Acciones ofrecidas** | Las acciones guiadas que la respuesta propuso al usuario. |
27
+ | **Acción abierta** | La acción que el usuario abrió, si abrió alguna. |
28
+ | **Recorrido completado** | Si el usuario terminó el recorrido guiado de esa acción. |
29
+ | **Valoración** | Lo que el usuario opinó de la respuesta: **Útil** o **No útil**. Está vacía mientras no la valora. |
30
+ | **Motivo de la valoración** | Por qué no fue útil: **Falta información**, **Incorrecta** o **Poco clara**. |
31
+
32
+ Para encontrar lo que falta en el manual, filtra por **Cobertura** igual a **No encontrada** o **Parcial**, o por **Valoración** igual a **No útil**.
33
+
34
+ Ten en cuenta:
35
+
36
+ - La pregunta y la respuesta pueden contener datos personales o de negocio que escribió el usuario. Trátalos con el cuidado que merecen. Solo accede a esta pantalla quien tiene permiso específico para leer las conversaciones.
37
+ - Los turnos se eliminan de forma definitiva pasado el número de días de retención configurado, y ya no se pueden recuperar. Ese número se ajusta en [Claves-valor](/manual/tools.key-value).
38
+ - En esta pantalla no se crean, editan ni eliminan filas: las anota el propio asistente a partir de lo que hacen los usuarios.
@@ -0,0 +1,46 @@
1
+ ---
2
+ route: /tools/assistant-usage-policy
3
+ ---
4
+
5
+ # Políticas de uso
6
+
7
+ Esta pantalla fija cuántos tokens al mes puede gastar el asistente de ayuda en las cuentas de cada rol. La usan los administradores que controlan el coste del asistente.
8
+
9
+ ## Consultar las políticas
10
+
11
+ Abre **Políticas de uso** en la sección **Asistente** del menú **Herramientas**. Para buscar, filtrar, ordenar, elegir columnas y exportar, consulta [Listados](/manual/general.02-listados).
12
+
13
+ La lista muestra, para cada política, su **ID de fila**, el **Rol** al que se aplica y su **Límite mensual de tokens**. Si no hay resultados, aparece el mensaje «No se encontraron políticas de uso.»
14
+
15
+ ## Cómo se calcula el límite de una cuenta
16
+
17
+ Un token es la unidad en la que el asistente mide el texto que procesa; las preguntas y las respuestas consumen tokens.
18
+
19
+ - La política de un rol marca los tokens que puede gastar cada cuenta que tiene ese rol, cada mes natural.
20
+ - Si una cuenta tiene varios roles con política, se le aplica el límite más alto.
21
+ - Un rol sin política no aporta límite. Si ningún rol de la cuenta tiene política, la cuenta no tiene un límite propio y solo la frena el tope global de la plataforma, que se configura en [Claves-valor](/manual/tools.key-value).
22
+ - Cuando una cuenta llega a su límite, el asistente rechaza sus preguntas hasta el mes siguiente. Puedes ver lo que ha gastado en [Consumo](/manual/tools.assistant-usage).
23
+
24
+ ## Crear una política
25
+
26
+ Para abrir el formulario y guardarlo, consulta [Formularios](/manual/general.03-formularios). Esta pantalla abre el formulario en un cuadro sobre la lista. Estos son sus campos:
27
+
28
+ 1. Pulsa **Nueva Política de uso**.
29
+ 2. Elige el **Rol** al que se aplica. Busca por nombre en el selector.
30
+ 3. Escribe el **Límite mensual de tokens**: un número entero, de 0 en adelante. Con **0**, las cuentas que solo tienen ese rol no pueden usar el asistente.
31
+ 4. Pulsa **Crear**.
32
+
33
+ La política aparece en la lista.
34
+
35
+ Ten en cuenta:
36
+
37
+ - Un rol tiene como máximo una política. Si ya existe una para ese rol, la pantalla te avisa y no se guarda; edita la que existe.
38
+ - Si se elimina un rol, su política desaparece con él.
39
+
40
+ ## Editar una política
41
+
42
+ Abre el menú de los tres puntos de la fila y elige **Editar**. Para guardar los cambios, consulta [Formularios](/manual/general.03-formularios).
43
+
44
+ ## Eliminar una política
45
+
46
+ Para eliminar una política, consulta [Listados](/manual/general.02-listados). Los roles que se quedan sin política dejan de aportar límite a sus cuentas.
@@ -0,0 +1,28 @@
1
+ ---
2
+ route: /tools/assistant-usage
3
+ ---
4
+
5
+ # Consumo
6
+
7
+ Esta pantalla muestra los tokens que cada cuenta ha gastado en el asistente de ayuda, mes a mes. Sirve para vigilar el coste del asistente y comprobar si una cuenta se acerca a su límite. Es una pantalla de solo lectura.
8
+
9
+ ## Consultar el consumo
10
+
11
+ Abre **Consumo** en la sección **Asistente** del menú **Herramientas**. Para buscar, filtrar, ordenar, elegir columnas y exportar, consulta [Listados](/manual/general.02-listados).
12
+
13
+ La lista muestra una fila por cada cuenta y mes, con su **ID de fila**, la **Cuenta**, el **Periodo**, los **Tokens de entrada** y los **Tokens de salida**. Si no hay consumo registrado, aparece el mensaje «No hay consumo registrado.»
14
+
15
+ | Columna | Qué cuenta |
16
+ | --- | --- |
17
+ | **Cuenta** | El nombre de usuario de la cuenta que gastó los tokens. Muestra el nombre que la cuenta tenía en su última pregunta del mes, así que se actualiza si la cuenta cambia de nombre y vuelve a preguntar. Sigue visible aunque la cuenta se elimine. Si la fila no guarda el nombre, la celda aparece vacía; la fila del mes en curso lo recibe en la siguiente pregunta de la cuenta. |
18
+ | **Periodo** | El mes natural, escrito como año y mes (por ejemplo, `2026-10`). Cada mes empieza con el contador a cero. |
19
+ | **Tokens de entrada** | Lo que el asistente ha leído para responder: la pregunta, el contexto y el texto del manual. |
20
+ | **Tokens de salida** | Lo que el asistente ha escrito en sus respuestas. |
21
+
22
+ Ten en cuenta:
23
+
24
+ - Toda pregunta al asistente consume tokens y queda anotada, también cuando el asistente la rechaza por estar fuera de su alcance.
25
+ - Si una cuenta ha alcanzado su límite mensual, o se ha alcanzado el tope global de la plataforma, el asistente rechaza la pregunta sin consumir nada.
26
+ - En esta pantalla no se crean, editan ni eliminan filas: las anota el propio asistente.
27
+
28
+ El límite de cada cuenta lo fijan las [políticas de uso](/manual/tools.assistant-usage-policy).