@wildo-ai/platform-core-shared 1.1.11 → 1.1.12
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/esm/core/resources/resources-operations.custom.shared.definitions.d.ts.map +1 -1
- package/dist/esm/core/resources/resources-operations.custom.shared.definitions.js.map +1 -1
- package/dist/esm/core/resources/resources-relationships.custom.shared.definitions.d.ts.map +1 -1
- package/dist/esm/core/resources/resources-relationships.custom.shared.definitions.js.map +1 -1
- package/dist/esm/core/resources/resources-types.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/core/resources/resources-types.custom.shared.schemas.js.map +1 -1
- package/dist/esm/dev-runtime/dependency-install-record.d.ts +111 -0
- package/dist/esm/dev-runtime/dependency-install-record.d.ts.map +1 -0
- package/dist/esm/dev-runtime/dependency-install-record.js +185 -0
- package/dist/esm/dev-runtime/dependency-install-record.js.map +1 -0
- package/dist/esm/dev-runtime/dev-runtime-command.d.ts +50 -0
- package/dist/esm/dev-runtime/dev-runtime-command.d.ts.map +1 -0
- package/dist/esm/dev-runtime/dev-runtime-command.js +147 -0
- package/dist/esm/dev-runtime/dev-runtime-command.js.map +1 -0
- package/dist/esm/dev-runtime/dev-runtime-processes.d.ts +47 -0
- package/dist/esm/dev-runtime/dev-runtime-processes.d.ts.map +1 -0
- package/dist/esm/dev-runtime/dev-runtime-processes.js +163 -0
- package/dist/esm/dev-runtime/dev-runtime-processes.js.map +1 -0
- package/dist/esm/dev-runtime/dev-runtime-signals.d.ts +54 -0
- package/dist/esm/dev-runtime/dev-runtime-signals.d.ts.map +1 -0
- package/dist/esm/dev-runtime/dev-runtime-signals.js +113 -0
- package/dist/esm/dev-runtime/dev-runtime-signals.js.map +1 -0
- package/dist/esm/dev-runtime/emitted-relative-specifiers.d.ts +14 -0
- package/dist/esm/dev-runtime/emitted-relative-specifiers.d.ts.map +1 -0
- package/dist/esm/dev-runtime/emitted-relative-specifiers.js +71 -0
- package/dist/esm/dev-runtime/emitted-relative-specifiers.js.map +1 -0
- package/dist/esm/dev-runtime/frontend-dev-runtime.d.ts +43 -0
- package/dist/esm/dev-runtime/frontend-dev-runtime.d.ts.map +1 -0
- package/dist/esm/dev-runtime/frontend-dev-runtime.js +42 -0
- package/dist/esm/dev-runtime/frontend-dev-runtime.js.map +1 -0
- package/dist/esm/dev-runtime/node-runtime-dev-supervisor.d.ts +233 -0
- package/dist/esm/dev-runtime/node-runtime-dev-supervisor.d.ts.map +1 -0
- package/dist/esm/dev-runtime/node-runtime-dev-supervisor.js +578 -0
- package/dist/esm/dev-runtime/node-runtime-dev-supervisor.js.map +1 -0
- package/dist/esm/dev-runtime/package-compile-loop.d.ts +125 -0
- package/dist/esm/dev-runtime/package-compile-loop.d.ts.map +1 -0
- package/dist/esm/dev-runtime/package-compile-loop.js +386 -0
- package/dist/esm/dev-runtime/package-compile-loop.js.map +1 -0
- package/dist/esm/dev-runtime.exports.d.ts +19 -0
- package/dist/esm/dev-runtime.exports.d.ts.map +1 -0
- package/dist/esm/dev-runtime.exports.js +19 -0
- package/dist/esm/dev-runtime.exports.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/runtime/application-backend-env.contracts.d.ts +9 -2
- package/dist/esm/runtime/application-backend-env.contracts.d.ts.map +1 -1
- package/dist/esm/runtime/application-backend-env.contracts.js +8 -1
- package/dist/esm/runtime/application-backend-env.contracts.js.map +1 -1
- package/dist/esm/runtime/application-worker-env.contracts.d.ts +11 -3
- package/dist/esm/runtime/application-worker-env.contracts.d.ts.map +1 -1
- package/dist/esm/runtime/application-worker-env.contracts.js +9 -0
- package/dist/esm/runtime/application-worker-env.contracts.js.map +1 -1
- package/dist/esm/runtime/backend-start-outcome.contracts.d.ts +27 -0
- package/dist/esm/runtime/backend-start-outcome.contracts.d.ts.map +1 -1
- package/dist/esm/runtime/backend-start-outcome.contracts.js +34 -0
- package/dist/esm/runtime/backend-start-outcome.contracts.js.map +1 -1
- package/dist/esm/runtime/frontend-settings-hub-wiring.contracts.d.ts +28 -0
- package/dist/esm/runtime/frontend-settings-hub-wiring.contracts.d.ts.map +1 -0
- package/dist/esm/runtime/frontend-settings-hub-wiring.contracts.js +35 -0
- package/dist/esm/runtime/frontend-settings-hub-wiring.contracts.js.map +1 -0
- package/dist/esm/runtime/http-server-env.contracts.d.ts +14 -1
- package/dist/esm/runtime/http-server-env.contracts.d.ts.map +1 -1
- package/dist/esm/runtime/http-server-env.contracts.js +13 -0
- package/dist/esm/runtime/http-server-env.contracts.js.map +1 -1
- package/dist/esm/runtime/local-dev-runtime-signals.contracts.d.ts +239 -0
- package/dist/esm/runtime/local-dev-runtime-signals.contracts.d.ts.map +1 -0
- package/dist/esm/runtime/local-dev-runtime-signals.contracts.js +256 -0
- package/dist/esm/runtime/local-dev-runtime-signals.contracts.js.map +1 -0
- package/dist/esm/runtime/runtime-topology.contracts.d.ts.map +1 -1
- package/dist/esm/runtime/runtime-topology.contracts.js.map +1 -1
- package/dist/esm/security/authorizations/roles.custom.shared.definitions.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.custom.shared.definitions.js.map +1 -1
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts +112 -104
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.js +4 -3
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.d.ts +112 -104
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.js.map +1 -1
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts +24 -34
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.js +4 -3
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts +24 -34
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js.map +1 -1
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.d.ts +3 -3
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.js +30 -42
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.d.ts +9 -9
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.js.map +1 -1
- package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.d.ts +7 -7
- package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/creation-drive.custom.shared.schemas.d.ts +52 -0
- package/dist/esm/workbench/creation-drive.custom.shared.schemas.d.ts.map +1 -0
- package/dist/esm/workbench/creation-drive.custom.shared.schemas.js +49 -0
- package/dist/esm/workbench/creation-drive.custom.shared.schemas.js.map +1 -0
- package/dist/esm/workbench/creation-journey-timeline.custom.shared.schemas.d.ts +183 -0
- package/dist/esm/workbench/creation-journey-timeline.custom.shared.schemas.d.ts.map +1 -0
- package/dist/esm/workbench/creation-journey-timeline.custom.shared.schemas.js +188 -0
- package/dist/esm/workbench/creation-journey-timeline.custom.shared.schemas.js.map +1 -0
- package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.js +46 -0
- package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.d.ts +170 -7
- package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.js +177 -7
- package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.d.ts +480 -459
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.js +21 -16
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.d.ts +457 -278
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.js +291 -46
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-domain-model.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-domain-model.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts +7 -0
- package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js +13 -1
- package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts +287 -277
- package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts +34 -29
- package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js +9 -5
- package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +13 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wildo-application-executions.custom.shared.schemas.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"wildo-application-executions.custom.shared.schemas.d.ts","sourceRoot":"","sources":["../../../src/wildo-application-executions/wildo-application-executions.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAGL,kBAAkB,EAElB,KAAK,gBAAgB,EACtB,MAAM,uBAAuB,CAAC;AA6B/B;;;;;;GAMG;AACH,eAAO,MAAM,iCAAiC,EAAE,SAAS,gBAAgB,EAA+B,CAAC;AAgBzG;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,8CAA8C,EAAE,SAAS,gBAAgB,EAWrF,CAAC;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqBzD,CAAC;AACH,MAAM,MAAM,uCAAuC,GACjD,CAAC,CAAC,KAAK,CAAC,OAAO,8CAA8C,CAAC,CAAC;AAEjE;;;;GAIG;AACH,eAAO,MAAM,6CAA6C,EAAE,SAAS,gBAAgB,EAA2C,CAAC;AAEjI;;;GAGG;AACH,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAaxD,CAAC;AACH,MAAM,MAAM,sCAAsC,GAChD,CAAC,CAAC,KAAK,CAAC,OAAO,6CAA6C,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wildo-application-executions.custom.shared.schemas.js","sourceRoot":"","sources":["../../../../src/wildo-application-executions/wildo-application-executions.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,kBAAkB,EAClB,0BAA0B,GAE3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAErB;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,0BAA0B,GAAG;IACjC,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE;IACnB,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC;A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FlowSystem_Execution_Schema,\n FlowsActors_Status,\n forwardedUserNameDirectory,\n type NestedUserIdPath,\n} from '@wildo-ai/saas-models';\nimport { initZodDecorators } from '@wildo-ai/zod-decorators';\n\ninitZodDecorators(z);\n\n/**\n * A persisted run's INSTANTS, as dates (#2187).\n *\n * The canonical execution schema (`FlowActorSystem_ExecutionSchema`) carries `createdAt` /\n * `updatedAt` / `finishedAt` as ISO strings, which is right for the in-memory and wire form and\n * wrong for a stored row: the PostgreSQL planner maps every string to `text`, so the platform\n * stored these as text holding a LOCAL offset (`2026-10-01T16:26:43.497+02:00`, 381 rows measured),\n * and every newest-first listing sorted the strings. String order is time order only while every\n * value has the same offset — not across a daylight-saving change, nor between hosts in different\n * zones. As dates they plan `timestamptz` and compare as instants. The engine's own persisted\n * execution schemas declare the same fields as `z.date()` for the same reason.\n *\n * Only the persisted row changes. The wire (the companion's HTTP contracts, the in-memory runtime)\n * keeps ISO strings; the companion's executions service converts at its persistence boundary.\n *\n * `updatedAt` is indexed: the companion's listing reads the newest rows of an application by it\n * (#2186), and without the index PostgreSQL sorts every row of the application to return a page.\n */\nconst PersistedExecutionInstants = {\n createdAt: z.date(),\n updatedAt: z.date().isDBIndexed(),\n finishedAt: z.date().optional(),\n};\n\n/**\n * Where a run record's execution-context initiators name a PERSON (#2823), on every control-plane run record (an actor\n * run, a flow run, a task): the one who started it (`initiator`), and the one whose request each error item records\n * (`errorStates.errorItems[].initiatorIds`). In each, `userId` is the signed-in person and `inboundScopeUserId` the\n * person an inbound delivery belongs to; both are user ids. The initiator's other ids (an organization, an application,\n * a credential, an anonymous visitor, a delivery) are not people with a profile, and are left as recorded.\n */\nexport const RUN_RECORD_INITIATOR_PERSON_PATHS: readonly NestedUserIdPath[] = initiatorPersonPathsAt('');\n\n/**\n * The initiator person paths of a record nested at `prefix` (`''` for the record itself): a run's plan and each of its\n * standalone tasks carry an initiator and error items of their own, of the same shape.\n */\nfunction initiatorPersonPathsAt(prefix: string): NestedUserIdPath[] {\n const at = (path: string): NestedUserIdPath => (prefix ? `${prefix}.${path}` : path);\n return [\n at('initiator.userId'),\n at('initiator.inboundScopeUserId'),\n at('errorStates.errorItems[].initiatorIds.userId'),\n at('errorStates.errorItems[].initiatorIds.inboundScopeUserId'),\n ];\n}\n\n/**\n * Every place an actor run's schema types a PERSON by user id below its top level (#2823), named by the run's\n * `userNames`:\n *\n * - who started it, and whose request each error item records ({@link RUN_RECORD_INITIATOR_PERSON_PATHS}), on the run\n * itself, on its plan (`plan.`) and on each standalone task it carries (`standaloneTasks[].`);\n * - who decided each decision the run waited on (`statusChanges[].resolution.decidedByUserId`);\n * - for the question the run is waiting on, and for the one a resume is answering (`checkpoint.resumedSuspension`): the\n * person it was raised for (`requester.ref`) and the person it is assigned to (`route.assigneeUserId`);\n * - for a settled review whose agent-work record is still owed (`pendingCorrectionRecord`): who decided it\n * (`deciderUserId`) and the person whose work it was, when the work was a person's (`owner.userId`; the owner is an\n * organization or an application otherwise, which this path does not reach).\n *\n * `requester.ref` is a CREDENTIAL id when the requester is a machine. No profile carries a credential id, so the\n * directory names nothing there and the id stays as recorded, which is what a machine's reference should show.\n *\n * Not walked, because they are not typed: the free-form `checkpoint.context`, a task's `input`, `output` and `memory`.\n * Not people: a task's correlation refs, a plan step's relationships, an organization unit.\n *\n * A display that shows these ids reads this list too (`nameUserIdsAtPaths`), so a person is named where their id was\n * by the same statement that made the backend look them up.\n */\nexport const WILDO_APPLICATION_ACTOR_EXECUTION_PERSON_PATHS: readonly NestedUserIdPath[] = [\n ...RUN_RECORD_INITIATOR_PERSON_PATHS,\n 'statusChanges[].resolution.decidedByUserId',\n 'suspension.requester.ref',\n 'suspension.route.assigneeUserId',\n 'checkpoint.resumedSuspension.requester.ref',\n 'checkpoint.resumedSuspension.route.assigneeUserId',\n 'pendingCorrectionRecord.deciderUserId',\n 'pendingCorrectionRecord.owner.userId',\n ...initiatorPersonPathsAt('plan'),\n ...initiatorPersonPathsAt('standaloneTasks[]'),\n];\n\n/**\n * Platform-owned actor executions are persisted in the apps-manager database but\n * stay explicitly attached to the owning Wildo application row.\n */\nexport const Wildo_Application_ActorSystem_Execution_Schema = ActorSystem_ExecutionSchema.extend({\n _id: z.string().min(1).isPrimaryKey().isSummaryField(),\n organizationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n wildoApplicationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n systemRef: z.string().min(1).isDBIndexed().isSummaryField(),\n status: z.enum(FlowsActors_Status).systemEnum('FlowsActors_Status').isDBIndexed().isSummaryField(),\n ...PersistedExecutionInstants,\n /**\n * The people this run records, by name (#2823): user id → their profile's first and last name, for every id at\n * {@link WILDO_APPLICATION_ACTOR_EXECUTION_PERSON_PATHS}. Virtual: resolved when the run is read, never stored, so no\n * column and no migration; an erased person reads as their profile now does (hidden, or masked), never by the name\n * they had. No email fallback.\n *\n * WHO MAY BE TOLD: whoever may READ the run, i.e. a member of the organization that owns it (`ORG_MEMBER`, see the\n * resource configuration). The people it names acted on this application's runs in that organization: the companion's\n * signed-in operators who started a run, were asked by it, or decided for it. Their names are what the organization's\n * own member list already tells its members, and nothing more (no email, no role).\n *\n * Not a summary field: only a run's own page shows its decisions and its question, so a LIST pays no profile read.\n */\n userNames: forwardedUserNameDirectory({ paths: WILDO_APPLICATION_ACTOR_EXECUTION_PERSON_PATHS }),\n});\nexport type Wildo_Application_ActorSystem_Execution =\n z.infer<typeof Wildo_Application_ActorSystem_Execution_Schema>;\n\n/**\n * Every place a flow run's schema types a PERSON by user id below its top level (#2823): its initiators only. A flow\n * run's history carries no decision, so it has no decider, and its nodes are references to the flow's own steps (a\n * step's `toUserId` is a value reference the step resolves, never stored on the run).\n */\nexport const WILDO_APPLICATION_FLOW_EXECUTION_PERSON_PATHS: readonly NestedUserIdPath[] = [...RUN_RECORD_INITIATOR_PERSON_PATHS];\n\n/**\n * Flow executions follow the same platform ownership chain as actor executions:\n * org-scoped in the apps-manager DB and child-linked to a single Wildo app.\n */\nexport const Wildo_Application_FlowSystem_Execution_Schema = FlowSystem_Execution_Schema.extend({\n _id: z.string().min(1).isPrimaryKey().isSummaryField(),\n organizationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n wildoApplicationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n systemRef: z.string().min(1).isDBIndexed().isSummaryField(),\n status: z.enum(FlowsActors_Status).systemEnum('FlowsActors_Status').isDBIndexed().isSummaryField(),\n ...PersistedExecutionInstants,\n /**\n * The people this flow run records, by name (#2823), at {@link WILDO_APPLICATION_FLOW_EXECUTION_PERSON_PATHS}. The\n * actor run's `userNames` explains the field and its disclosure; the same reader (an organization member) is told the\n * same thing (a profile name) about the same people (the companion's operators of this application).\n */\n userNames: forwardedUserNameDirectory({ paths: WILDO_APPLICATION_FLOW_EXECUTION_PERSON_PATHS }),\n});\nexport type Wildo_Application_FlowSystem_Execution =\n z.infer<typeof Wildo_Application_FlowSystem_Execution_Schema>;\n"]}
|
|
1
|
+
{"version":3,"file":"wildo-application-executions.custom.shared.schemas.js","sourceRoot":"","sources":["../../../src/wildo-application-executions/wildo-application-executions.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,kBAAkB,EAClB,0BAA0B,GAE3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAErB;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,0BAA0B,GAAG;IACjC,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE;IACnB,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC;A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FlowSystem_Execution_Schema,\n FlowsActors_Status,\n forwardedUserNameDirectory,\n type NestedUserIdPath,\n} from '@wildo-ai/saas-models';\nimport { initZodDecorators } from '@wildo-ai/zod-decorators';\n\ninitZodDecorators(z);\n\n/**\n * A persisted run's INSTANTS, as dates (#2187).\n *\n * The canonical execution schema (`FlowActorSystem_ExecutionSchema`) carries `createdAt` /\n * `updatedAt` / `finishedAt` as ISO strings, which is right for the in-memory and wire form and\n * wrong for a stored row: the PostgreSQL planner maps every string to `text`, so the platform\n * stored these as text holding a LOCAL offset (`2026-10-01T16:26:43.497+02:00`, 381 rows measured),\n * and every newest-first listing sorted the strings. String order is time order only while every\n * value has the same offset — not across a daylight-saving change, nor between hosts in different\n * zones. As dates they plan `timestamptz` and compare as instants. The engine's own persisted\n * execution schemas declare the same fields as `z.date()` for the same reason.\n *\n * Only the persisted row changes. The wire (the companion's HTTP contracts, the in-memory runtime)\n * keeps ISO strings; the companion's executions service converts at its persistence boundary.\n *\n * `updatedAt` is indexed: the companion's listing reads the newest rows of an application by it\n * (#2186), and without the index PostgreSQL sorts every row of the application to return a page.\n */\nconst PersistedExecutionInstants = {\n createdAt: z.date(),\n updatedAt: z.date().isDBIndexed(),\n finishedAt: z.date().optional(),\n};\n\n/**\n * Where a run record's execution-context initiators name a PERSON (#2823), on every control-plane run record (an actor\n * run, a flow run, a task): the one who started it (`initiator`), and the one whose request each error item records\n * (`errorStates.errorItems[].initiatorIds`). In each, `userId` is the signed-in person and `inboundScopeUserId` the\n * person an inbound delivery belongs to; both are user ids. The initiator's other ids (an organization, an application,\n * a credential, an anonymous visitor, a delivery) are not people with a profile, and are left as recorded.\n */\nexport const RUN_RECORD_INITIATOR_PERSON_PATHS: readonly NestedUserIdPath[] = initiatorPersonPathsAt('');\n\n/**\n * The initiator person paths of a record nested at `prefix` (`''` for the record itself): a run's plan and each of its\n * standalone tasks carry an initiator and error items of their own, of the same shape.\n */\nfunction initiatorPersonPathsAt(prefix: string): NestedUserIdPath[] {\n const at = (path: string): NestedUserIdPath => (prefix ? `${prefix}.${path}` : path);\n return [\n at('initiator.userId'),\n at('initiator.inboundScopeUserId'),\n at('errorStates.errorItems[].initiatorIds.userId'),\n at('errorStates.errorItems[].initiatorIds.inboundScopeUserId'),\n ];\n}\n\n/**\n * Every place an actor run's schema types a PERSON by user id below its top level (#2823), named by the run's\n * `userNames`:\n *\n * - who started it, and whose request each error item records ({@link RUN_RECORD_INITIATOR_PERSON_PATHS}), on the run\n * itself, on its plan (`plan.`) and on each standalone task it carries (`standaloneTasks[].`);\n * - who decided each decision the run waited on (`statusChanges[].resolution.decidedByUserId`);\n * - for the question the run is waiting on, and for the one a resume is answering (`checkpoint.resumedSuspension`): the\n * person it was raised for (`requester.ref`) and the person it is assigned to (`route.assigneeUserId`);\n * - for a settled review whose agent-work record is still owed (`pendingCorrectionRecord`): who decided it\n * (`deciderUserId`) and the person whose work it was, when the work was a person's (`owner.userId`; the owner is an\n * organization or an application otherwise, which this path does not reach).\n *\n * `requester.ref` is a CREDENTIAL id when the requester is a machine. No profile carries a credential id, so the\n * directory names nothing there and the id stays as recorded, which is what a machine's reference should show.\n *\n * Not walked, because they are not typed: the free-form `checkpoint.context`, a task's `input`, `output` and `memory`.\n * Not people: a task's correlation refs, a plan step's relationships, an organization unit.\n *\n * A display that shows these ids reads this list too (`nameUserIdsAtPaths`), so a person is named where their id was\n * by the same statement that made the backend look them up.\n */\nexport const WILDO_APPLICATION_ACTOR_EXECUTION_PERSON_PATHS: readonly NestedUserIdPath[] = [\n ...RUN_RECORD_INITIATOR_PERSON_PATHS,\n 'statusChanges[].resolution.decidedByUserId',\n 'suspension.requester.ref',\n 'suspension.route.assigneeUserId',\n 'checkpoint.resumedSuspension.requester.ref',\n 'checkpoint.resumedSuspension.route.assigneeUserId',\n 'pendingCorrectionRecord.deciderUserId',\n 'pendingCorrectionRecord.owner.userId',\n ...initiatorPersonPathsAt('plan'),\n ...initiatorPersonPathsAt('standaloneTasks[]'),\n];\n\n/**\n * Platform-owned actor executions are persisted in the apps-manager database but\n * stay explicitly attached to the owning Wildo application row.\n */\nexport const Wildo_Application_ActorSystem_Execution_Schema = ActorSystem_ExecutionSchema.extend({\n _id: z.string().min(1).isPrimaryKey().isSummaryField(),\n organizationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n wildoApplicationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n systemRef: z.string().min(1).isDBIndexed().isSummaryField(),\n status: z.enum(FlowsActors_Status).systemEnum('FlowsActors_Status').isDBIndexed().isSummaryField(),\n ...PersistedExecutionInstants,\n /**\n * The people this run records, by name (#2823): user id → their profile's first and last name, for every id at\n * {@link WILDO_APPLICATION_ACTOR_EXECUTION_PERSON_PATHS}. Virtual: resolved when the run is read, never stored, so no\n * column and no migration; an erased person reads as their profile now does (hidden, or masked), never by the name\n * they had. No email fallback.\n *\n * WHO MAY BE TOLD: whoever may READ the run, i.e. a member of the organization that owns it (`ORG_MEMBER`, see the\n * resource configuration). The people it names acted on this application's runs in that organization: the companion's\n * signed-in operators who started a run, were asked by it, or decided for it. Their names are what the organization's\n * own member list already tells its members, and nothing more (no email, no role).\n *\n * Not a summary field: only a run's own page shows its decisions and its question, so a LIST pays no profile read.\n */\n userNames: forwardedUserNameDirectory({ paths: WILDO_APPLICATION_ACTOR_EXECUTION_PERSON_PATHS }),\n});\nexport type Wildo_Application_ActorSystem_Execution =\n z.infer<typeof Wildo_Application_ActorSystem_Execution_Schema>;\n\n/**\n * Every place a flow run's schema types a PERSON by user id below its top level (#2823): its initiators only. A flow\n * run's history carries no decision, so it has no decider, and its nodes are references to the flow's own steps (a\n * step's `toUserId` is a value reference the step resolves, never stored on the run).\n */\nexport const WILDO_APPLICATION_FLOW_EXECUTION_PERSON_PATHS: readonly NestedUserIdPath[] = [...RUN_RECORD_INITIATOR_PERSON_PATHS];\n\n/**\n * Flow executions follow the same platform ownership chain as actor executions:\n * org-scoped in the apps-manager DB and child-linked to a single Wildo app.\n */\nexport const Wildo_Application_FlowSystem_Execution_Schema = FlowSystem_Execution_Schema.extend({\n _id: z.string().min(1).isPrimaryKey().isSummaryField(),\n organizationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n wildoApplicationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n systemRef: z.string().min(1).isDBIndexed().isSummaryField(),\n status: z.enum(FlowsActors_Status).systemEnum('FlowsActors_Status').isDBIndexed().isSummaryField(),\n ...PersistedExecutionInstants,\n /**\n * The people this flow run records, by name (#2823), at {@link WILDO_APPLICATION_FLOW_EXECUTION_PERSON_PATHS}. The\n * actor run's `userNames` explains the field and its disclosure; the same reader (an organization member) is told the\n * same thing (a profile name) about the same people (the companion's operators of this application).\n */\n userNames: forwardedUserNameDirectory({ paths: WILDO_APPLICATION_FLOW_EXECUTION_PERSON_PATHS }),\n});\nexport type Wildo_Application_FlowSystem_Execution =\n z.infer<typeof Wildo_Application_FlowSystem_Execution_Schema>;\n"]}
|
|
@@ -7,15 +7,16 @@ type WildoApplicationActorTasks_CoreOperations = CoreResourceOperation.CREATE |
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const wildoApplicationActorTasks_ResourceConfiguration_InitializationFactory: (resourcesRelationships: ResourceRelationship[]) => import("@wildo-ai/saas-models").ResourceConfiguration<any, WildoApplicationActorTasks_CoreOperations, import("zod").ZodObject<{
|
|
9
9
|
description: import("zod").ZodString;
|
|
10
|
-
topic: import("
|
|
10
|
+
topic: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").Actor_Task_Topics>;
|
|
11
11
|
initiator: import("zod").ZodObject<{
|
|
12
12
|
organizationId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13
13
|
userId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14
14
|
applicationId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
15
15
|
machineCredential: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
16
|
-
authMethod: import("
|
|
16
|
+
authMethod: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
|
|
17
17
|
credentialId: import("zod").ZodString;
|
|
18
18
|
}, import("zod/v4/core").$strip>>;
|
|
19
|
+
autonomousAgentRef: import("zod").ZodOptional<import("zod").ZodString>;
|
|
19
20
|
consumableTokenId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
20
21
|
webhookProviderId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
21
22
|
anonymousUserId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -33,37 +34,37 @@ export declare const wildoApplicationActorTasks_ResourceConfiguration_Initializa
|
|
|
33
34
|
}, import("zod/v4/core").$strip>;
|
|
34
35
|
relationships: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
35
36
|
kind: import("zod").ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW>;
|
|
36
|
-
relation: import("
|
|
37
|
+
relation: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
|
|
37
38
|
flowId: import("zod").ZodString;
|
|
38
39
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
39
40
|
kind: import("zod").ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR>;
|
|
40
|
-
relation: import("
|
|
41
|
+
relation: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
|
|
41
42
|
actorId: import("zod").ZodString;
|
|
42
43
|
actorSystemId: import("zod").ZodString;
|
|
43
44
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
44
45
|
kind: import("zod").ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW_STEP>;
|
|
45
|
-
relation: import("
|
|
46
|
+
relation: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
|
|
46
47
|
flowId: import("zod").ZodString;
|
|
47
48
|
stepId: import("zod").ZodString;
|
|
48
49
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
49
50
|
kind: import("zod").ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.TASK>;
|
|
50
|
-
relation: import("
|
|
51
|
+
relation: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
|
|
51
52
|
taskId: import("zod").ZodString;
|
|
52
53
|
actorSystemId: import("zod").ZodString;
|
|
53
54
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
54
55
|
kind: import("zod").ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN>;
|
|
55
|
-
relation: import("
|
|
56
|
+
relation: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
|
|
56
57
|
planId: import("zod").ZodString;
|
|
57
58
|
actorSystemId: import("zod").ZodString;
|
|
58
59
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
59
60
|
kind: import("zod").ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN_STEP>;
|
|
60
|
-
relation: import("
|
|
61
|
+
relation: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
|
|
61
62
|
planId: import("zod").ZodString;
|
|
62
63
|
planStepId: import("zod").ZodString;
|
|
63
64
|
actorSystemId: import("zod").ZodString;
|
|
64
65
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
65
66
|
kind: import("zod").ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR_SYSTEM>;
|
|
66
|
-
relation: import("
|
|
67
|
+
relation: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
|
|
67
68
|
actorSystemId: import("zod").ZodString;
|
|
68
69
|
}, import("zod/v4/core").$strip>], "kind">>;
|
|
69
70
|
actors: import("zod").ZodObject<{
|
|
@@ -76,11 +77,7 @@ export declare const wildoApplicationActorTasks_ResourceConfiguration_Initializa
|
|
|
76
77
|
entries: import("zod").ZodArray<import("zod").ZodObject<{
|
|
77
78
|
key: import("zod").ZodString;
|
|
78
79
|
value: import("zod").ZodAny;
|
|
79
|
-
type: import("zod").ZodEnum<
|
|
80
|
-
json: "json";
|
|
81
|
-
text: "text";
|
|
82
|
-
binary: "binary";
|
|
83
|
-
}>;
|
|
80
|
+
type: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").Actors_Memory_EntryType>;
|
|
84
81
|
timestamp: import("zod").ZodString;
|
|
85
82
|
expiresAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
86
83
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
@@ -92,11 +89,7 @@ export declare const wildoApplicationActorTasks_ResourceConfiguration_Initializa
|
|
|
92
89
|
entries: import("zod").ZodArray<import("zod").ZodObject<{
|
|
93
90
|
key: import("zod").ZodString;
|
|
94
91
|
value: import("zod").ZodAny;
|
|
95
|
-
type: import("zod").ZodEnum<
|
|
96
|
-
json: "json";
|
|
97
|
-
text: "text";
|
|
98
|
-
binary: "binary";
|
|
99
|
-
}>;
|
|
92
|
+
type: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").Actors_Memory_EntryType>;
|
|
100
93
|
timestamp: import("zod").ZodString;
|
|
101
94
|
expiresAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
102
95
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
@@ -108,11 +101,7 @@ export declare const wildoApplicationActorTasks_ResourceConfiguration_Initializa
|
|
|
108
101
|
entries: import("zod").ZodArray<import("zod").ZodObject<{
|
|
109
102
|
key: import("zod").ZodString;
|
|
110
103
|
value: import("zod").ZodAny;
|
|
111
|
-
type: import("zod").ZodEnum<
|
|
112
|
-
json: "json";
|
|
113
|
-
text: "text";
|
|
114
|
-
binary: "binary";
|
|
115
|
-
}>;
|
|
104
|
+
type: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").Actors_Memory_EntryType>;
|
|
116
105
|
timestamp: import("zod").ZodString;
|
|
117
106
|
expiresAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
118
107
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
@@ -264,9 +253,10 @@ export declare const wildoApplicationActorTasks_ResourceConfiguration_Initializa
|
|
|
264
253
|
userId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
265
254
|
applicationId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
266
255
|
machineCredential: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
267
|
-
authMethod: import("
|
|
256
|
+
authMethod: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
|
|
268
257
|
credentialId: import("zod").ZodString;
|
|
269
258
|
}, import("zod/v4/core").$strip>>;
|
|
259
|
+
autonomousAgentRef: import("zod").ZodOptional<import("zod").ZodString>;
|
|
270
260
|
consumableTokenId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
271
261
|
webhookProviderId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
272
262
|
anonymousUserId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -282,7 +272,7 @@ export declare const wildoApplicationActorTasks_ResourceConfiguration_Initializa
|
|
|
282
272
|
assurance: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
|
|
283
273
|
}, import("zod/v4/core").$strict>>;
|
|
284
274
|
}, import("zod/v4/core").$strip>>>;
|
|
285
|
-
executionType: import("zod").ZodOptional<import("
|
|
275
|
+
executionType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").ExecutionContext_ExecutionType>>;
|
|
286
276
|
userGuidance: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
287
277
|
guidanceKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
288
278
|
explanation: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -348,17 +338,17 @@ export declare const wildoApplicationActorTasks_ResourceConfiguration_Initializa
|
|
|
348
338
|
context: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
349
339
|
}, import("zod/v4/core").$strip>>>;
|
|
350
340
|
}, import("zod/v4/core").$strip>>;
|
|
351
|
-
_id: import("
|
|
352
|
-
organizationId: import("
|
|
353
|
-
wildoApplicationId: import("
|
|
354
|
-
wildoApplicationActorSystemExecutionId: import("zod").ZodOptional<import("
|
|
355
|
-
title: import("
|
|
356
|
-
status: import("
|
|
341
|
+
_id: import("zod").ZodString;
|
|
342
|
+
organizationId: import("zod").ZodString;
|
|
343
|
+
wildoApplicationId: import("zod").ZodString;
|
|
344
|
+
wildoApplicationActorSystemExecutionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
345
|
+
title: import("zod").ZodString;
|
|
346
|
+
status: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Status>;
|
|
357
347
|
createdAt: import("zod").ZodDate;
|
|
358
|
-
updatedAt: import("
|
|
348
|
+
updatedAt: import("zod").ZodDate;
|
|
359
349
|
startedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
360
350
|
completedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
361
|
-
userNames: import("
|
|
351
|
+
userNames: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
362
352
|
}, import("zod/v4/core").$strip>>;
|
|
363
353
|
export {};
|
|
364
354
|
//# sourceMappingURL=wildo-application-tasks.custom.shared.resources-config.schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wildo-application-tasks.custom.shared.resources-config.schemas.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"wildo-application-tasks.custom.shared.resources-config.schemas.d.ts","sourceRoot":"","sources":["../../../src/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,qBAAqB,EAGrB,oBAAoB,EAErB,MAAM,uBAAuB,CAAC;AAS/B,KAAK,yCAAyC,GAC1C,qBAAqB,CAAC,MAAM,GAC5B,qBAAqB,CAAC,IAAI,GAC1B,qBAAqB,CAAC,IAAI,GAC1B,qBAAqB,CAAC,MAAM,CAAC;AA4CjC;;;;GAIG;AACH,eAAO,MAAM,sEAAsE,GAChF,wBAAwB,oBAAoB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAwB7C,CAAC"}
|
|
@@ -15,7 +15,7 @@ function createRepositoryOnlyDefaultVariant() {
|
|
|
15
15
|
*
|
|
16
16
|
* The original decision ("no public resource-controller surface") was made when the ONLY consumer
|
|
17
17
|
* was the companion's own repository-direct persistence. The application-creation workbench now
|
|
18
|
-
* consumes these rows AS RESOURCES
|
|
18
|
+
* consumes these rows AS RESOURCES: the
|
|
19
19
|
* creation board renders them through the engine's embedded resource surfaces instead of bespoke
|
|
20
20
|
* companion routes. That requires exactly the read half of an API surface, so exactly the read half
|
|
21
21
|
* is opened:
|
|
@@ -30,8 +30,9 @@ function createRepositoryOnlyDefaultVariant() {
|
|
|
30
30
|
* - CREATE/UPDATE: unchanged `REPOSITORY_ONLY`. The companion remains the only writer, and the
|
|
31
31
|
* generated write API the original decision refused stays refused.
|
|
32
32
|
*
|
|
33
|
-
* This config is shared with the platform tier (apps-manager registers the same map),
|
|
34
|
-
*
|
|
33
|
+
* This config is shared with the platform tier (apps-manager registers the same map), but apps-manager mounts no
|
|
34
|
+
* resource controller (its `controllerWhiteList` is empty), so the read routes exist only on the development companion
|
|
35
|
+
* (#3319).
|
|
35
36
|
*/
|
|
36
37
|
function createOrgMemberReadApiVariant() {
|
|
37
38
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wildo-application-tasks.custom.shared.resources-config.schemas.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"wildo-application-tasks.custom.shared.resources-config.schemas.js","sourceRoot":"","sources":["../../../src/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,cAAc,EACd,qBAAqB,EACrB,0BAA0B,EAC1B,4BAA4B,EAE5B,0CAA0C,GAC3C,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,oCAAoC,EACpC,yBAAyB,GAC1B,MAAM,yDAAyD,CAAC;AACjE,OAAO,EAAE,mCAAmC,EAAE,MAAM,iDAAiD,CAAC;AAEtG,MAAM,qCAAqC,GAAG,SAAS,CAAC;AAQxD,SAAS,kCAAkC;IACzC,OAAO;QACL,WAAW,EAAE,4BAA4B,CAAC,eAAwB;QAClE,SAAS,EAAE,IAAa;QACxB,KAAK,EAAE,CAAC,cAAc,CAAC,qBAAqB,CAAC;QAC7C,SAAS,EAAE,0BAA0B,CAAC,GAAY;KACnD,CAAC;AACJ,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAS,6BAA6B;IACpC,OAAO;QACL,WAAW,EAAE,4BAA4B,CAAC,QAAiB;QAC3D,SAAS,EAAE,IAAa;QACxB,KAAK,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC;QAClC,SAAS,EAAE,0BAA0B,CAAC,GAAY;KACnD,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,sEAAsE,GACjF,CAAC,sBAA8C,EAAE,EAAE,CAAC,0CAA0C,CAI5F;IACA,UAAU,EAAE,mCAAmC;IAC/C,kBAAkB,EAAE,yBAAyB,CAAC,6BAA6B;IAC3E,uBAAuB,EACrB,oCAAoC,CAAC,yBAAyB,CAAC,6BAA6B,CAAC;IAC/F,qBAAqB,EAAE,sBAAsB;IAC7C,gBAAgB,EAAE,KAAK;IACvB,cAAc,EAAE;QACd,qBAAqB,CAAC,MAAM;QAC5B,qBAAqB,CAAC,IAAI;QAC1B,qBAAqB,CAAC,IAAI;QAC1B,qBAAqB,CAAC,MAAM;KAC7B;IACD,eAAe,EAAE,qCAAqC;IACtD,uBAAuB,EAAE;QACvB,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,kCAAkC,EAAE,CAAC,EAAE;QACpF,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,6BAA6B,EAAE,CAAC,EAAE;QAC7E,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,6BAA6B,EAAE,CAAC,EAAE;QAC7E,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,kCAAkC,EAAE,CAAC,EAAE;KACrF;CACF,CAAC,CAAC","sourcesContent":["import {\n CORE_APP_ROLES,\n CORE_ORG_ROLES,\n CoreResourceOperation,\n ResourceOperationRiskLevel,\n ResourceOperationVariantType,\n ResourceRelationship,\n createResourceConfiguration_Initialization,\n} from '@wildo-ai/saas-models';\nimport {\n CustomShared_ResourceFieldIdentifier,\n CustomShared_ResourceType,\n} from '../core/resources/resources-types.custom.shared.schemas';\nimport { Wildo_Application_Actor_Task_Schema } from './wildo-application-tasks.custom.shared.schemas';\n\nconst WildoApplicationActorTasks_Operations = undefined;\n\ntype WildoApplicationActorTasks_CoreOperations =\n | CoreResourceOperation.CREATE\n | CoreResourceOperation.READ\n | CoreResourceOperation.LIST\n | CoreResourceOperation.UPDATE;\n\nfunction createRepositoryOnlyDefaultVariant() {\n return {\n variantType: ResourceOperationVariantType.REPOSITORY_ONLY as const,\n isDefault: true as const,\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.LOW as const,\n };\n}\n\n/**\n * READ/LIST are API-callable since 2026-09-01; CREATE/UPDATE stay repository-only.\n *\n * The original decision (\"no public resource-controller surface\") was made when the ONLY consumer\n * was the companion's own repository-direct persistence. The application-creation workbench now\n * consumes these rows AS RESOURCES: the\n * creation board renders them through the engine's embedded resource surfaces instead of bespoke\n * companion routes. That requires exactly the read half of an API surface, so exactly the read half\n * is opened:\n *\n * - READ/LIST: `API_CALL`, gated `ORG_MEMBER` — the SAME read-posture as the parent\n * `wildoApplications` rows one resource over, resolved through organization membership. The first\n * draft reused the repository-only variants' `APP_ADMIN_SUPER_ADMIN`, and the measurement retired\n * it: a companion operator's app-tier roles are plain `APP_USER` (the seeded developer holds\n * `ORG_ADMIN` via MEMBERSHIP, not app-tier super-admin), so the admin gate 403'd the exact\n * operator this surface serves. Consistent with the audit-retention decision (2026-07-29): rows\n * kept as the organization's own audit material are rows its members may read.\n * - CREATE/UPDATE: unchanged `REPOSITORY_ONLY`. The companion remains the only writer, and the\n * generated write API the original decision refused stays refused.\n *\n * This config is shared with the platform tier (apps-manager registers the same map), but apps-manager mounts no\n * resource controller (its `controllerWhiteList` is empty), so the read routes exist only on the development companion\n * (#3319).\n */\nfunction createOrgMemberReadApiVariant() {\n return {\n variantType: ResourceOperationVariantType.API_CALL as const,\n isDefault: true as const,\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n riskLevel: ResourceOperationRiskLevel.LOW as const,\n };\n}\n\n/**\n * Actor tasks are mutable control-plane records written ONLY by the local companion. Writes stay\n * repository-only, keeping the persistence contract truthful; the READ HALF is an ORG_MEMBER-gated API\n * surface since 2026-09-01 — see `createOrgMemberReadApiVariant` above for the decision.\n */\nexport const wildoApplicationActorTasks_ResourceConfiguration_InitializationFactory =\n (resourcesRelationships: ResourceRelationship[]) => createResourceConfiguration_Initialization<\n typeof WildoApplicationActorTasks_Operations,\n WildoApplicationActorTasks_CoreOperations,\n typeof Wildo_Application_Actor_Task_Schema\n >({\n mainSchema: Wildo_Application_Actor_Task_Schema,\n resourceIdentifier: CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_TASKS,\n resourceFieldIdentifier:\n CustomShared_ResourceFieldIdentifier[CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_TASKS],\n resourceRelationships: resourcesRelationships,\n isSystemResource: false,\n coreOperations: [\n CoreResourceOperation.CREATE,\n CoreResourceOperation.READ,\n CoreResourceOperation.LIST,\n CoreResourceOperation.UPDATE,\n ],\n customOperation: WildoApplicationActorTasks_Operations,\n operationsConfiguration: {\n [CoreResourceOperation.CREATE]: { variants: [createRepositoryOnlyDefaultVariant()] },\n [CoreResourceOperation.READ]: { variants: [createOrgMemberReadApiVariant()] },\n [CoreResourceOperation.LIST]: { variants: [createOrgMemberReadApiVariant()] },\n [CoreResourceOperation.UPDATE]: { variants: [createRepositoryOnlyDefaultVariant()] },\n },\n });\n"]}
|
|
@@ -14,15 +14,16 @@ export declare const WILDO_APPLICATION_ACTOR_TASK_PERSON_PATHS: readonly NestedU
|
|
|
14
14
|
*/
|
|
15
15
|
export declare const Wildo_Application_Actor_Task_Schema: z.ZodObject<{
|
|
16
16
|
description: z.ZodString;
|
|
17
|
-
topic:
|
|
17
|
+
topic: z.ZodEnum<typeof import("@wildo-ai/saas-models").Actor_Task_Topics>;
|
|
18
18
|
initiator: z.ZodObject<{
|
|
19
19
|
organizationId: z.ZodOptional<z.ZodString>;
|
|
20
20
|
userId: z.ZodOptional<z.ZodString>;
|
|
21
21
|
applicationId: z.ZodOptional<z.ZodString>;
|
|
22
22
|
machineCredential: z.ZodOptional<z.ZodObject<{
|
|
23
|
-
authMethod:
|
|
23
|
+
authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
|
|
24
24
|
credentialId: z.ZodString;
|
|
25
25
|
}, z.core.$strip>>;
|
|
26
|
+
autonomousAgentRef: z.ZodOptional<z.ZodString>;
|
|
26
27
|
consumableTokenId: z.ZodOptional<z.ZodString>;
|
|
27
28
|
webhookProviderId: z.ZodOptional<z.ZodString>;
|
|
28
29
|
anonymousUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -40,37 +41,37 @@ export declare const Wildo_Application_Actor_Task_Schema: z.ZodObject<{
|
|
|
40
41
|
}, z.core.$strip>;
|
|
41
42
|
relationships: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
42
43
|
kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW>;
|
|
43
|
-
relation:
|
|
44
|
+
relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
|
|
44
45
|
flowId: z.ZodString;
|
|
45
46
|
}, z.core.$strip>, z.ZodObject<{
|
|
46
47
|
kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR>;
|
|
47
|
-
relation:
|
|
48
|
+
relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
|
|
48
49
|
actorId: z.ZodString;
|
|
49
50
|
actorSystemId: z.ZodString;
|
|
50
51
|
}, z.core.$strip>, z.ZodObject<{
|
|
51
52
|
kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW_STEP>;
|
|
52
|
-
relation:
|
|
53
|
+
relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
|
|
53
54
|
flowId: z.ZodString;
|
|
54
55
|
stepId: z.ZodString;
|
|
55
56
|
}, z.core.$strip>, z.ZodObject<{
|
|
56
57
|
kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.TASK>;
|
|
57
|
-
relation:
|
|
58
|
+
relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
|
|
58
59
|
taskId: z.ZodString;
|
|
59
60
|
actorSystemId: z.ZodString;
|
|
60
61
|
}, z.core.$strip>, z.ZodObject<{
|
|
61
62
|
kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN>;
|
|
62
|
-
relation:
|
|
63
|
+
relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
|
|
63
64
|
planId: z.ZodString;
|
|
64
65
|
actorSystemId: z.ZodString;
|
|
65
66
|
}, z.core.$strip>, z.ZodObject<{
|
|
66
67
|
kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.PLAN_STEP>;
|
|
67
|
-
relation:
|
|
68
|
+
relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
|
|
68
69
|
planId: z.ZodString;
|
|
69
70
|
planStepId: z.ZodString;
|
|
70
71
|
actorSystemId: z.ZodString;
|
|
71
72
|
}, z.core.$strip>, z.ZodObject<{
|
|
72
73
|
kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.ACTOR_SYSTEM>;
|
|
73
|
-
relation:
|
|
74
|
+
relation: z.ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Relation>;
|
|
74
75
|
actorSystemId: z.ZodString;
|
|
75
76
|
}, z.core.$strip>], "kind">>;
|
|
76
77
|
actors: z.ZodObject<{
|
|
@@ -83,11 +84,7 @@ export declare const Wildo_Application_Actor_Task_Schema: z.ZodObject<{
|
|
|
83
84
|
entries: z.ZodArray<z.ZodObject<{
|
|
84
85
|
key: z.ZodString;
|
|
85
86
|
value: z.ZodAny;
|
|
86
|
-
type: z.ZodEnum<
|
|
87
|
-
json: "json";
|
|
88
|
-
text: "text";
|
|
89
|
-
binary: "binary";
|
|
90
|
-
}>;
|
|
87
|
+
type: z.ZodEnum<typeof import("@wildo-ai/saas-models").Actors_Memory_EntryType>;
|
|
91
88
|
timestamp: z.ZodString;
|
|
92
89
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
93
90
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -99,11 +96,7 @@ export declare const Wildo_Application_Actor_Task_Schema: z.ZodObject<{
|
|
|
99
96
|
entries: z.ZodArray<z.ZodObject<{
|
|
100
97
|
key: z.ZodString;
|
|
101
98
|
value: z.ZodAny;
|
|
102
|
-
type: z.ZodEnum<
|
|
103
|
-
json: "json";
|
|
104
|
-
text: "text";
|
|
105
|
-
binary: "binary";
|
|
106
|
-
}>;
|
|
99
|
+
type: z.ZodEnum<typeof import("@wildo-ai/saas-models").Actors_Memory_EntryType>;
|
|
107
100
|
timestamp: z.ZodString;
|
|
108
101
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
109
102
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -115,11 +108,7 @@ export declare const Wildo_Application_Actor_Task_Schema: z.ZodObject<{
|
|
|
115
108
|
entries: z.ZodArray<z.ZodObject<{
|
|
116
109
|
key: z.ZodString;
|
|
117
110
|
value: z.ZodAny;
|
|
118
|
-
type: z.ZodEnum<
|
|
119
|
-
json: "json";
|
|
120
|
-
text: "text";
|
|
121
|
-
binary: "binary";
|
|
122
|
-
}>;
|
|
111
|
+
type: z.ZodEnum<typeof import("@wildo-ai/saas-models").Actors_Memory_EntryType>;
|
|
123
112
|
timestamp: z.ZodString;
|
|
124
113
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
125
114
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -271,9 +260,10 @@ export declare const Wildo_Application_Actor_Task_Schema: z.ZodObject<{
|
|
|
271
260
|
userId: z.ZodOptional<z.ZodString>;
|
|
272
261
|
applicationId: z.ZodOptional<z.ZodString>;
|
|
273
262
|
machineCredential: z.ZodOptional<z.ZodObject<{
|
|
274
|
-
authMethod:
|
|
263
|
+
authMethod: z.ZodEnum<typeof import("@wildo-ai/saas-models").MachineAuthMethod>;
|
|
275
264
|
credentialId: z.ZodString;
|
|
276
265
|
}, z.core.$strip>>;
|
|
266
|
+
autonomousAgentRef: z.ZodOptional<z.ZodString>;
|
|
277
267
|
consumableTokenId: z.ZodOptional<z.ZodString>;
|
|
278
268
|
webhookProviderId: z.ZodOptional<z.ZodString>;
|
|
279
269
|
anonymousUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -289,7 +279,7 @@ export declare const Wildo_Application_Actor_Task_Schema: z.ZodObject<{
|
|
|
289
279
|
assurance: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
|
|
290
280
|
}, z.core.$strict>>;
|
|
291
281
|
}, z.core.$strip>>>;
|
|
292
|
-
executionType: z.ZodOptional<
|
|
282
|
+
executionType: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ExecutionContext_ExecutionType>>;
|
|
293
283
|
userGuidance: z.ZodOptional<z.ZodObject<{
|
|
294
284
|
guidanceKey: z.ZodOptional<z.ZodString>;
|
|
295
285
|
explanation: z.ZodOptional<z.ZodString>;
|
|
@@ -355,17 +345,17 @@ export declare const Wildo_Application_Actor_Task_Schema: z.ZodObject<{
|
|
|
355
345
|
context: z.ZodOptional<z.ZodAny>;
|
|
356
346
|
}, z.core.$strip>>>;
|
|
357
347
|
}, z.core.$strip>>;
|
|
358
|
-
_id:
|
|
359
|
-
organizationId:
|
|
360
|
-
wildoApplicationId:
|
|
361
|
-
wildoApplicationActorSystemExecutionId: z.ZodOptional<
|
|
362
|
-
title:
|
|
363
|
-
status:
|
|
348
|
+
_id: z.ZodString;
|
|
349
|
+
organizationId: z.ZodString;
|
|
350
|
+
wildoApplicationId: z.ZodString;
|
|
351
|
+
wildoApplicationActorSystemExecutionId: z.ZodOptional<z.ZodString>;
|
|
352
|
+
title: z.ZodString;
|
|
353
|
+
status: z.ZodEnum<typeof FlowsActors_Status>;
|
|
364
354
|
createdAt: z.ZodDate;
|
|
365
|
-
updatedAt:
|
|
355
|
+
updatedAt: z.ZodDate;
|
|
366
356
|
startedAt: z.ZodOptional<z.ZodDate>;
|
|
367
357
|
completedAt: z.ZodOptional<z.ZodDate>;
|
|
368
|
-
userNames:
|
|
358
|
+
userNames: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
369
359
|
}, z.core.$strip>;
|
|
370
360
|
export type Wildo_Application_Actor_Task = z.infer<typeof Wildo_Application_Actor_Task_Schema>;
|
|
371
361
|
//# sourceMappingURL=wildo-application-tasks.custom.shared.schemas.d.ts.map
|
package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wildo-application-tasks.custom.shared.schemas.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"wildo-application-tasks.custom.shared.schemas.d.ts","sourceRoot":"","sources":["../../../src/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAEL,kBAAkB,EAElB,KAAK,gBAAgB,EACtB,MAAM,uBAAuB,CAAC;AAM/B;;;;GAIG;AACH,eAAO,MAAM,yCAAyC,EAAE,SAAS,gBAAgB,EAA2C,CAAC;AAE7H;;;;;GAKG;AACH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAsD9C,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
|
package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wildo-application-tasks.custom.shared.schemas.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"wildo-application-tasks.custom.shared.schemas.js","sourceRoot":"","sources":["../../../src/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,0BAA0B,GAE3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,iCAAiC,EAAE,MAAM,oFAAoF,CAAC;AAEvI,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAErB;;;;GAIG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAgC,CAAC,GAAG,iCAAiC,CAAC,CAAC;AAE7H;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAG,kBAAkB,CAAC,MAAM,CAAC;IAC3E,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,EAAE,CAAC,cAAc,EAAE;IACtD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC,YAAY,EAAE,CAAC,cAAc,EAAE,CAAC,iBAAiB,EAAE;IAC5F,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC,YAAY,EAAE,CAAC,cAAc,EAAE,CAAC,iBAAiB,EAAE;IAChG,sCAAsC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC,YAAY,EAAE,CAAC,QAAQ,EAAE;IAC1F;;;;;;;;;;;OAWG;IACH;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,cAAc,EAAE;IACzC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC,WAAW,EAAE,CAAC,cAAc,EAAE;IAClG;;;;;OAKG;IACH,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE;IACnB,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE;IACjC,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC9B,WAAW,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAChC;;;;;;OAMG;IACH,SAAS,EAAE,0BAA0B,CAAC,EAAE,KAAK,EAAE,yCAAyC,EAAE,CAAC;CAC5F,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport {\n Actors_Task_Schema,\n FlowsActors_Status,\n forwardedUserNameDirectory,\n type NestedUserIdPath,\n} from '@wildo-ai/saas-models';\nimport { initZodDecorators } from '@wildo-ai/zod-decorators';\nimport { RUN_RECORD_INITIATOR_PERSON_PATHS } from '../wildo-application-executions/wildo-application-executions.custom.shared.schemas';\n\ninitZodDecorators(z);\n\n/**\n * Every place an actor task's schema types a PERSON by user id below its top level (#2823): its initiators (who started\n * it, and whose request each error item records). Named by the task's `userNames`. Not walked, because they are not\n * typed: its `input`, `output` and `memory`. Not people: its correlation refs and relationships.\n */\nexport const WILDO_APPLICATION_ACTOR_TASK_PERSON_PATHS: readonly NestedUserIdPath[] = [...RUN_RECORD_INITIATOR_PERSON_PATHS];\n\n/**\n * Actor-flow tasks are persisted as first-class platform records because task\n * content evolves independently of one execution snapshot. The execution link is\n * optional/updateable so tasks can outlive a specific run while still being\n * queryable from the current actor-system follow-up record.\n */\nexport const Wildo_Application_Actor_Task_Schema = Actors_Task_Schema.extend({\n _id: z.string().min(1).isPrimaryKey().isSummaryField(),\n organizationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n wildoApplicationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n wildoApplicationActorSystemExecutionId: z.string().isDBIndexed().isForeignKey().optional(),\n /*\n * `continuityAttemptKey` was here until 2026-09-19 (#1337), described as the \"server-managed\n * physical-attempt identity for continuity-bound Tasks\" and carrying a sparse unique\n * `(wildoApplicationId, continuityAttemptKey)` index as a database backstop against concurrent\n * creation of one Execution-Binding attempt.\n *\n * Execution bindings were demolished on 2026-08-23, and the field was measured to have ZERO\n * writers anywhere — so every application was materializing a unique index, on every actor-task\n * table, for a column that is always null, and the workbench rendered an always-empty field as a\n * machine identity. Removed with its index, its UI field, its label, its interface member and\n * the test that pinned the index shape.\n */\n /*\n * `workbenchBuildPlanTaskId` was here until 2026-09-20 (#1348) — a foreign key from the GENERIC\n * platform actor-task row into an app-creation workbench resource, and the last app-creation\n * field on this row.\n *\n * It is not folded away, it is MOVED: the association now travels in the engine's own\n * `Actors_Task_Context.correlation` envelope as\n * `{ domain: 'application-creation', refs: { buildPlanTaskRef } }`, which is durable on this same\n * row and says nothing about what a build-plan task is. The traversable edge moved with it, to\n * the plane that owns the vocabulary: `Workbench_BuildDispatch.codingTaskId` already pointed at\n * this row and is now a DECLARED relationship.\n *\n * What that cost, recorded because it was the objection to folding: this row no longer renders\n * the build-plan task as a summary field, and no longer declares the edge from its own side.\n * Nothing queried the column — measured across the companion before removing it — so the loss is\n * a rendered field on the generic row, which is the thing that should not have been here.\n */\n title: z.string().min(1).isSummaryField(),\n status: z.enum(FlowsActors_Status).systemEnum('FlowsActors_Status').isDBIndexed().isSummaryField(),\n /*\n * The task's instants are DATES on the persisted row (#2187), not the canonical `Actors_Task_Schema`'s\n * ISO strings: a string plans `text`, which the platform filled with local-offset values whose order\n * breaks across a daylight-saving change. As dates they plan `timestamptz`. The wire keeps strings;\n * the companion converts at its persistence boundary. See the execution schemas for the measurement.\n */\n createdAt: z.date(),\n updatedAt: z.date().isDBIndexed(),\n startedAt: z.date().optional(),\n completedAt: z.date().optional(),\n /**\n * The people this task records, by name (#2823), at {@link WILDO_APPLICATION_ACTOR_TASK_PERSON_PATHS}: user id →\n * their profile's first and last name. Virtual: resolved when the task is read, never stored (no column, no\n * migration), no email fallback; an erased person reads as their profile now does. Told to whoever may read the task\n * (a member of the organization that owns it), about the companion's operators of this application. Not a summary\n * field: only the task's own page shows who started it.\n */\n userNames: forwardedUserNameDirectory({ paths: WILDO_APPLICATION_ACTOR_TASK_PERSON_PATHS }),\n});\nexport type Wildo_Application_Actor_Task = z.infer<typeof Wildo_Application_Actor_Task_Schema>;\n"]}
|
package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Wildo applications: the platform's record of each managed application (slug, organization, status, topology).
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Read over HTTP (by the development companion's workbench, behind organization membership); written only by the
|
|
5
|
+
* platform through the repository.
|
|
6
6
|
*/
|
|
7
7
|
export declare const wildoApplications_ResourceConfiguration_InitializationFactory: (...args: any[]) => any;
|
|
8
8
|
//# sourceMappingURL=wildo-applications.custom.shared.resources-config.schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wildo-applications.custom.shared.resources-config.schemas.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"wildo-applications.custom.shared.resources-config.schemas.d.ts","sourceRoot":"","sources":["../../../src/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAqDH,eAAO,MAAM,6DAA6D,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GA+G9F,CAAC"}
|
package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.js
CHANGED
|
@@ -1,18 +1,41 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Wildo applications: the platform's record of each managed application (slug, organization, status, topology).
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Read over HTTP (by the development companion's workbench, behind organization membership); written only by the
|
|
5
|
+
* platform through the repository.
|
|
6
6
|
*/
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import { CoreResourceOperation, CORE_APP_ROLES, ResourceSystemAccessMode } from '@wildo-ai/saas-models';
|
|
9
9
|
import { ResourceOperationVariantType, ResourceOperationRiskLevel } from '@wildo-ai/saas-models';
|
|
10
|
-
import { CoreUserNotificationTarget, CoreUserNotificationChannel } from '@wildo-ai/saas-models';
|
|
11
10
|
import { createResourceConfiguration_Initialization } from '@wildo-ai/saas-models';
|
|
12
11
|
import { CORE_ORG_ROLES } from '@wildo-ai/saas-models';
|
|
13
12
|
import { CustomShared_ResourceType, CustomShared_ResourceFieldIdentifier } from '../core/resources/resources-types.custom.shared.schemas.js';
|
|
14
13
|
import { Wildo_Application_Schema } from './wildo-applications.custom.shared.schemas.js';
|
|
15
14
|
const WildoApplications_Operations = undefined;
|
|
15
|
+
/**
|
|
16
|
+
* The write doors of the platform's record of an application: REPOSITORY_ONLY, so no HTTP route exists for them (#3319).
|
|
17
|
+
*
|
|
18
|
+
* Every writer this row has today is the platform itself, through the repository: apps-manager's
|
|
19
|
+
* `WildoApplicationsLifecycleService`, reached from registration, the bootstrap seed and administrator init. A search
|
|
20
|
+
* of the repository on 2026-11-05 found no service-tier or HTTP caller of a CREATE, UPDATE or DELETE; apps-manager
|
|
21
|
+
* mounts no controller for this resource. The only process that mounts one is the development companion, for the
|
|
22
|
+
* workbench, which LISTs the row to learn its own id and reads it to label rows. These were `API_CALL` variants
|
|
23
|
+
* (CREATE `APP_ADMIN_SUPER_ADMIN`, UPDATE `ORG_MANAGER`, DELETE `ORG_MEMBER`), so the companion routed them: measured
|
|
24
|
+
* 2026-11-05 on the running companion, an organization OWNER's PUT and DELETE on a made-up id passed authorization and
|
|
25
|
+
* reached the not-found answer, so a member holding either role could have rewritten or deleted the row apps-manager
|
|
26
|
+
* resolves the application by. Kept as default variants because the repository refuses a verb with no default
|
|
27
|
+
* variant; where apps-manager names the UPDATE path (deregistration and restore) it resolves it through
|
|
28
|
+
* `getInternalRepositoryOperationPathDefault`. The same shape as the control-plane rows' writes
|
|
29
|
+
* (`createRepositoryOnlyDefaultVariant` in `wildo-application-tasks`).
|
|
30
|
+
*/
|
|
31
|
+
function createRepositoryOnlyWriteVariant(riskLevel) {
|
|
32
|
+
return {
|
|
33
|
+
variantType: ResourceOperationVariantType.REPOSITORY_ONLY,
|
|
34
|
+
isDefault: true,
|
|
35
|
+
roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],
|
|
36
|
+
riskLevel,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
16
39
|
export const wildoApplications_ResourceConfiguration_InitializationFactory = (resourcesRelationships) => createResourceConfiguration_Initialization({
|
|
17
40
|
mainSchema: Wildo_Application_Schema,
|
|
18
41
|
resourceIdentifier: CustomShared_ResourceType.WILDO_APPLICATION,
|
|
@@ -69,23 +92,7 @@ export const wildoApplications_ResourceConfiguration_InitializationFactory = (re
|
|
|
69
92
|
],
|
|
70
93
|
customOperation: WildoApplications_Operations,
|
|
71
94
|
operationsConfiguration: {
|
|
72
|
-
[CoreResourceOperation.CREATE]: {
|
|
73
|
-
variants: [
|
|
74
|
-
{
|
|
75
|
-
variantType: ResourceOperationVariantType.API_CALL,
|
|
76
|
-
isDefault: true,
|
|
77
|
-
roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],
|
|
78
|
-
riskLevel: ResourceOperationRiskLevel.HIGH,
|
|
79
|
-
// requestDto auto-derived from decorators
|
|
80
|
-
}
|
|
81
|
-
],
|
|
82
|
-
userNotifications: [
|
|
83
|
-
{
|
|
84
|
-
target: CoreUserNotificationTarget.USER_SELF,
|
|
85
|
-
channel: CoreUserNotificationChannel.FRONT_END_SUCCESS,
|
|
86
|
-
}
|
|
87
|
-
]
|
|
88
|
-
},
|
|
95
|
+
[CoreResourceOperation.CREATE]: { variants: [createRepositoryOnlyWriteVariant(ResourceOperationRiskLevel.HIGH)] },
|
|
89
96
|
[CoreResourceOperation.READ]: {
|
|
90
97
|
variants: [
|
|
91
98
|
{
|
|
@@ -124,27 +131,8 @@ export const wildoApplications_ResourceConfiguration_InitializationFactory = (re
|
|
|
124
131
|
}
|
|
125
132
|
],
|
|
126
133
|
},
|
|
127
|
-
[CoreResourceOperation.UPDATE]: {
|
|
128
|
-
|
|
129
|
-
{
|
|
130
|
-
variantType: ResourceOperationVariantType.API_CALL,
|
|
131
|
-
isDefault: true,
|
|
132
|
-
roles: [CORE_ORG_ROLES.ORG_MANAGER],
|
|
133
|
-
riskLevel: ResourceOperationRiskLevel.LOW,
|
|
134
|
-
// requestDto auto-derived from decorators
|
|
135
|
-
}
|
|
136
|
-
]
|
|
137
|
-
},
|
|
138
|
-
[CoreResourceOperation.DELETE]: {
|
|
139
|
-
variants: [
|
|
140
|
-
{
|
|
141
|
-
variantType: ResourceOperationVariantType.API_CALL,
|
|
142
|
-
isDefault: true,
|
|
143
|
-
roles: [CORE_ORG_ROLES.ORG_MEMBER],
|
|
144
|
-
riskLevel: ResourceOperationRiskLevel.LOW,
|
|
145
|
-
}
|
|
146
|
-
]
|
|
147
|
-
},
|
|
134
|
+
[CoreResourceOperation.UPDATE]: { variants: [createRepositoryOnlyWriteVariant(ResourceOperationRiskLevel.HIGH)] },
|
|
135
|
+
[CoreResourceOperation.DELETE]: { variants: [createRepositoryOnlyWriteVariant(ResourceOperationRiskLevel.HIGH)] },
|
|
148
136
|
},
|
|
149
137
|
// responseSummaryDto auto-derived from isSummaryField decorators
|
|
150
138
|
});
|