paperclip-plugin-autopilot-ops 0.1.49 → 0.1.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/manifest.js +1 -1
- package/dist/ui/index.js +1 -1
- package/dist/worker.js +6 -2
- package/package.json +1 -1
package/dist/manifest.js
CHANGED
package/dist/ui/index.js
CHANGED
package/dist/worker.js
CHANGED
|
@@ -39932,7 +39932,7 @@ function startWorkerRpcHost(options) {
|
|
|
39932
39932
|
|
|
39933
39933
|
// src/manifest.ts
|
|
39934
39934
|
var PLUGIN_ID = "alephoo.autopilot-ops";
|
|
39935
|
-
var PLUGIN_VERSION = "0.1.
|
|
39935
|
+
var PLUGIN_VERSION = "0.1.50";
|
|
39936
39936
|
var DB_NAMESPACE_SLUG = "autopilot_ops";
|
|
39937
39937
|
var PAGE_ROUTE = "autopilot";
|
|
39938
39938
|
var TOOL_NAMES = {
|
|
@@ -44849,7 +44849,7 @@ function mapCaso(r) {
|
|
|
44849
44849
|
estado: String(r.estado),
|
|
44850
44850
|
referencia: r.referencia ?? null,
|
|
44851
44851
|
titulo: String(r.titulo),
|
|
44852
|
-
datos: jsonb2(r.datos),
|
|
44852
|
+
datos: conMarcasMatricula(String(r.workflow), jsonb2(r.datos), String(r.titulo)),
|
|
44853
44853
|
abiertoPorTipo: String(r.abierto_por_tipo),
|
|
44854
44854
|
abiertoPorId: r.abierto_por_id ?? null,
|
|
44855
44855
|
agenteId: r.agente_id ?? null,
|
|
@@ -44860,6 +44860,10 @@ function mapCaso(r) {
|
|
|
44860
44860
|
cerradoAt: r.cerrado_at ? iso2(r.cerrado_at) : null
|
|
44861
44861
|
};
|
|
44862
44862
|
}
|
|
44863
|
+
function conMarcasMatricula(workflow, datos, titulo) {
|
|
44864
|
+
if (workflow !== "credencial_profesional" || typeof datos.posible_no_profesional === "boolean") return datos;
|
|
44865
|
+
return { ...datos, posible_no_profesional: pareceNoProfesional(String(datos.profesional ?? titulo.split(" \xB7 ")[0] ?? "")) };
|
|
44866
|
+
}
|
|
44863
44867
|
function mapTransicion(r) {
|
|
44864
44868
|
return {
|
|
44865
44869
|
id: String(r.id),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "paperclip-plugin-autopilot-ops",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.50",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Autopilot Care · operación autónoma gobernada para instituciones de salud: workflows determinísticos, validaciones, registro de negocio, políticas (observa/propone/ejecuta/corte) y tablero del director, como plugin de Paperclip.",
|
|
6
6
|
"files": [
|