@wildo-ai/wildo-cli 1.1.5 → 1.1.7
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/bin/wildo.ts +12 -1
- package/dist/bin/wildo.js +13 -1
- package/dist/bin/wildo.js.map +1 -1
- package/dist/src/commands/__tests__/update.command.test.js +16 -2
- package/dist/src/commands/__tests__/update.command.test.js.map +1 -1
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
- package/dist/src/commands/acp/probe.command.js +19 -1
- package/dist/src/commands/acp/probe.command.js.map +1 -1
- package/dist/src/commands/align-deps.command.d.ts.map +1 -1
- package/dist/src/commands/align-deps.command.js +3 -0
- package/dist/src/commands/align-deps.command.js.map +1 -1
- package/dist/src/commands/brand/propagate.command.d.ts +18 -38
- package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
- package/dist/src/commands/brand/propagate.command.js +32 -106
- package/dist/src/commands/brand/propagate.command.js.map +1 -1
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts +2 -0
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.d.ts.map +1 -0
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.js +259 -0
- package/dist/src/commands/build/__tests__/console-verbs.commands.test.js.map +1 -0
- package/dist/src/commands/build/accept.command.d.ts +16 -0
- package/dist/src/commands/build/accept.command.d.ts.map +1 -0
- package/dist/src/commands/build/accept.command.js +37 -0
- package/dist/src/commands/build/accept.command.js.map +1 -0
- package/dist/src/commands/build/dispatches.command.d.ts +8 -0
- package/dist/src/commands/build/dispatches.command.d.ts.map +1 -0
- package/dist/src/commands/build/dispatches.command.js +26 -0
- package/dist/src/commands/build/dispatches.command.js.map +1 -0
- package/dist/src/commands/build/next.command.d.ts +8 -0
- package/dist/src/commands/build/next.command.d.ts.map +1 -0
- package/dist/src/commands/build/next.command.js +31 -0
- package/dist/src/commands/build/next.command.js.map +1 -0
- package/dist/src/commands/build/rearm.command.d.ts +16 -0
- package/dist/src/commands/build/rearm.command.d.ts.map +1 -0
- package/dist/src/commands/build/rearm.command.js +48 -0
- package/dist/src/commands/build/rearm.command.js.map +1 -0
- package/dist/src/commands/build/run.command.d.ts +15 -0
- package/dist/src/commands/build/run.command.d.ts.map +1 -0
- package/dist/src/commands/build/run.command.js +41 -0
- package/dist/src/commands/build/run.command.js.map +1 -0
- package/dist/src/commands/build/tasks.command.d.ts +8 -0
- package/dist/src/commands/build/tasks.command.d.ts.map +1 -0
- package/dist/src/commands/build/tasks.command.js +24 -0
- package/dist/src/commands/build/tasks.command.js.map +1 -0
- package/dist/src/commands/config/__tests__/sync.command.test.js +233 -4
- package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -1
- package/dist/src/commands/config/__tests__/validate.command.test.js +122 -1
- package/dist/src/commands/config/__tests__/validate.command.test.js.map +1 -1
- package/dist/src/commands/config/data-retention.command.d.ts +17 -0
- package/dist/src/commands/config/data-retention.command.d.ts.map +1 -0
- package/dist/src/commands/config/data-retention.command.js +58 -0
- package/dist/src/commands/config/data-retention.command.js.map +1 -0
- package/dist/src/commands/config/subject-data-recipients.command.d.ts +17 -0
- package/dist/src/commands/config/subject-data-recipients.command.d.ts.map +1 -0
- package/dist/src/commands/config/subject-data-recipients.command.js +59 -0
- package/dist/src/commands/config/subject-data-recipients.command.js.map +1 -0
- package/dist/src/commands/config/sync.command.d.ts +18 -5
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +132 -18
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts +39 -2
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/config/validate.command.js +186 -8
- package/dist/src/commands/config/validate.command.js.map +1 -1
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js +118 -0
- package/dist/src/commands/context/__tests__/companion-refusal-hint.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/elements.command.test.js +6 -5
- package/dist/src/commands/context/__tests__/elements.command.test.js.map +1 -1
- package/dist/src/commands/context/__tests__/info.command.test.js +10 -9
- package/dist/src/commands/context/__tests__/info.command.test.js.map +1 -1
- package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/journey-application-line.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/journey-application-line.test.js +71 -0
- package/dist/src/commands/context/__tests__/journey-application-line.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.js +27 -0
- package/dist/src/commands/context/__tests__/journey-attempt-history.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts +2 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.js +136 -0
- package/dist/src/commands/context/__tests__/pipelines.command.test.js.map +1 -0
- package/dist/src/commands/context/__tests__/workspace.command.test.js +19 -1
- package/dist/src/commands/context/__tests__/workspace.command.test.js.map +1 -1
- package/dist/src/commands/context/assurance-basis.command.d.ts.map +1 -1
- package/dist/src/commands/context/assurance-basis.command.js +3 -2
- package/dist/src/commands/context/assurance-basis.command.js.map +1 -1
- package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
- package/dist/src/commands/context/coherence.command.js +7 -5
- package/dist/src/commands/context/coherence.command.js.map +1 -1
- package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
- package/dist/src/commands/context/context-command.utils.js +9 -10
- package/dist/src/commands/context/context-command.utils.js.map +1 -1
- package/dist/src/commands/context/health.command.d.ts.map +1 -1
- package/dist/src/commands/context/health.command.js +7 -2
- package/dist/src/commands/context/health.command.js.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts +123 -0
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +149 -33
- package/dist/src/commands/context/journey.command.js.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.js +2 -1
- package/dist/src/commands/context/jurisdictions.command.js.map +1 -1
- package/dist/src/commands/context/list.command.d.ts.map +1 -1
- package/dist/src/commands/context/list.command.js +6 -3
- package/dist/src/commands/context/list.command.js.map +1 -1
- package/dist/src/commands/context/pipelines.command.d.ts +25 -0
- package/dist/src/commands/context/pipelines.command.d.ts.map +1 -0
- package/dist/src/commands/context/pipelines.command.js +149 -0
- package/dist/src/commands/context/pipelines.command.js.map +1 -0
- package/dist/src/commands/context/workspace.command.d.ts.map +1 -1
- package/dist/src/commands/context/workspace.command.js +6 -4
- package/dist/src/commands/context/workspace.command.js.map +1 -1
- package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts +2 -0
- package/dist/src/commands/creation/__tests__/creation.commands.test.d.ts.map +1 -0
- package/dist/src/commands/creation/__tests__/creation.commands.test.js +294 -0
- package/dist/src/commands/creation/__tests__/creation.commands.test.js.map +1 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.d.ts +2 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.d.ts.map +1 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.js +62 -0
- package/dist/src/commands/creation/__tests__/revert.command.test.js.map +1 -0
- package/dist/src/commands/creation/accept.command.d.ts +12 -0
- package/dist/src/commands/creation/accept.command.d.ts.map +1 -0
- package/dist/src/commands/creation/accept.command.js +34 -0
- package/dist/src/commands/creation/accept.command.js.map +1 -0
- package/dist/src/commands/creation/answer.command.d.ts +30 -0
- package/dist/src/commands/creation/answer.command.d.ts.map +1 -0
- package/dist/src/commands/creation/answer.command.js +154 -0
- package/dist/src/commands/creation/answer.command.js.map +1 -0
- package/dist/src/commands/creation/brief.command.d.ts +16 -0
- package/dist/src/commands/creation/brief.command.d.ts.map +1 -0
- package/dist/src/commands/creation/brief.command.js +50 -0
- package/dist/src/commands/creation/brief.command.js.map +1 -0
- package/dist/src/commands/creation/deliberate.command.d.ts +17 -0
- package/dist/src/commands/creation/deliberate.command.d.ts.map +1 -0
- package/dist/src/commands/creation/deliberate.command.js +55 -0
- package/dist/src/commands/creation/deliberate.command.js.map +1 -0
- package/dist/src/commands/creation/diff.command.d.ts +12 -0
- package/dist/src/commands/creation/diff.command.d.ts.map +1 -0
- package/dist/src/commands/creation/diff.command.js +33 -0
- package/dist/src/commands/creation/diff.command.js.map +1 -0
- package/dist/src/commands/creation/feed.command.d.ts +21 -0
- package/dist/src/commands/creation/feed.command.d.ts.map +1 -0
- package/dist/src/commands/creation/feed.command.js +135 -0
- package/dist/src/commands/creation/feed.command.js.map +1 -0
- package/dist/src/commands/creation/loop.command.d.ts +19 -0
- package/dist/src/commands/creation/loop.command.d.ts.map +1 -0
- package/dist/src/commands/creation/loop.command.js +52 -0
- package/dist/src/commands/creation/loop.command.js.map +1 -0
- package/dist/src/commands/creation/persona.command.d.ts +16 -0
- package/dist/src/commands/creation/persona.command.d.ts.map +1 -0
- package/dist/src/commands/creation/persona.command.js +54 -0
- package/dist/src/commands/creation/persona.command.js.map +1 -0
- package/dist/src/commands/creation/prompt-hook.command.d.ts +14 -0
- package/dist/src/commands/creation/prompt-hook.command.d.ts.map +1 -0
- package/dist/src/commands/creation/prompt-hook.command.js +24 -0
- package/dist/src/commands/creation/prompt-hook.command.js.map +1 -0
- package/dist/src/commands/creation/pulse.command.d.ts +14 -0
- package/dist/src/commands/creation/pulse.command.d.ts.map +1 -0
- package/dist/src/commands/creation/pulse.command.js +25 -0
- package/dist/src/commands/creation/pulse.command.js.map +1 -0
- package/dist/src/commands/creation/questions.command.d.ts +16 -0
- package/dist/src/commands/creation/questions.command.d.ts.map +1 -0
- package/dist/src/commands/creation/questions.command.js +57 -0
- package/dist/src/commands/creation/questions.command.js.map +1 -0
- package/dist/src/commands/creation/revert.command.d.ts +15 -0
- package/dist/src/commands/creation/revert.command.d.ts.map +1 -0
- package/dist/src/commands/creation/revert.command.js +41 -0
- package/dist/src/commands/creation/revert.command.js.map +1 -0
- package/dist/src/commands/creation/run.command.d.ts +15 -0
- package/dist/src/commands/creation/run.command.d.ts.map +1 -0
- package/dist/src/commands/creation/run.command.js +64 -0
- package/dist/src/commands/creation/run.command.js.map +1 -0
- package/dist/src/commands/creation/statusline.command.d.ts +14 -0
- package/dist/src/commands/creation/statusline.command.d.ts.map +1 -0
- package/dist/src/commands/creation/statusline.command.js +24 -0
- package/dist/src/commands/creation/statusline.command.js.map +1 -0
- package/dist/src/commands/creation/watch.command.d.ts +20 -0
- package/dist/src/commands/creation/watch.command.d.ts.map +1 -0
- package/dist/src/commands/creation/watch.command.js +54 -0
- package/dist/src/commands/creation/watch.command.js.map +1 -0
- package/dist/src/commands/creation/why.command.d.ts +15 -0
- package/dist/src/commands/creation/why.command.d.ts.map +1 -0
- package/dist/src/commands/creation/why.command.js +45 -0
- package/dist/src/commands/creation/why.command.js.map +1 -0
- package/dist/src/commands/creation/writes.command.d.ts +8 -0
- package/dist/src/commands/creation/writes.command.d.ts.map +1 -0
- package/dist/src/commands/creation/writes.command.js +29 -0
- package/dist/src/commands/creation/writes.command.js.map +1 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts +33 -0
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.js +43 -17
- package/dist/src/commands/db/db-schema-plan.utils.js.map +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +6 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -1
- package/dist/src/commands/dev/start.command.d.ts.map +1 -1
- package/dist/src/commands/dev/start.command.js +3 -1
- package/dist/src/commands/dev/start.command.js.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.js +8 -4
- package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.js +24 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.js.map +1 -1
- package/dist/src/commands/docs/publish.command.d.ts.map +1 -1
- package/dist/src/commands/docs/publish.command.js +3 -1
- package/dist/src/commands/docs/publish.command.js.map +1 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.js +5 -1
- package/dist/src/commands/frontend/__tests__/publish.command.test.js.map +1 -1
- package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
- package/dist/src/commands/frontend/publish.command.js +6 -2
- package/dist/src/commands/frontend/publish.command.js.map +1 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js +7 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -1
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js +100 -7
- package/dist/src/commands/fwk/__tests__/publish-all.command.test.js.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.js +8 -0
- package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.js +1 -0
- package/dist/src/commands/fwk/generate-docs.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts +3 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.js +19 -8
- package/dist/src/commands/fwk/generate-providers.command.js.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts +50 -4
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.js +104 -14
- package/dist/src/commands/fwk/publish-all.command.js.map +1 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js +2 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.d.ts +11 -0
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.js +70 -0
- package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.js +19 -1
- package/dist/src/commands/generate/labels-plan.command.js.map +1 -1
- package/dist/src/commands/generate/translate.command.d.ts +6 -0
- package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/translate.command.js +8 -2
- package/dist/src/commands/generate/translate.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +5 -0
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +47 -3
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/local/deregister.command.d.ts.map +1 -1
- package/dist/src/commands/local/deregister.command.js +19 -7
- package/dist/src/commands/local/deregister.command.js.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +15 -1
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +1 -1
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +21 -3
- package/dist/src/commands/local/doctor.command.js.map +1 -1
- package/dist/src/commands/local/restore.command.d.ts.map +1 -1
- package/dist/src/commands/local/restore.command.js +11 -7
- package/dist/src/commands/local/restore.command.js.map +1 -1
- package/dist/src/commands/lock/check.command.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.js +21 -24
- package/dist/src/commands/lock/check.command.js.map +1 -1
- package/dist/src/commands/market/__tests__/generate.command.test.js +11 -1
- package/dist/src/commands/market/__tests__/generate.command.test.js.map +1 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js +2 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -1
- package/dist/src/commands/market/generate.command.d.ts.map +1 -1
- package/dist/src/commands/market/generate.command.js +18 -2
- package/dist/src/commands/market/generate.command.js.map +1 -1
- package/dist/src/commands/prefs/set.command.d.ts.map +1 -1
- package/dist/src/commands/prefs/set.command.js +13 -24
- package/dist/src/commands/prefs/set.command.js.map +1 -1
- package/dist/src/commands/providers/show.command.d.ts +21 -14
- package/dist/src/commands/providers/show.command.d.ts.map +1 -1
- package/dist/src/commands/providers/show.command.js +44 -24
- package/dist/src/commands/providers/show.command.js.map +1 -1
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts +10 -0
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.js +232 -0
- package/dist/src/commands/registry/__tests__/edited-files-protection.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts +11 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.js +450 -0
- package/dist/src/commands/registry/__tests__/local-checkout-install.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/publish.test.d.ts +2 -0
- package/dist/src/commands/registry/__tests__/publish.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/publish.test.js +196 -0
- package/dist/src/commands/registry/__tests__/publish.test.js.map +1 -0
- package/dist/src/commands/registry/__tests__/repair-contract.test.js +34 -7
- package/dist/src/commands/registry/__tests__/repair-contract.test.js.map +1 -1
- package/dist/src/commands/registry/__tests__/requirements.test.js +395 -14
- package/dist/src/commands/registry/__tests__/requirements.test.js.map +1 -1
- package/dist/src/commands/registry/__tests__/version-resolution.test.js +9 -4
- package/dist/src/commands/registry/__tests__/version-resolution.test.js.map +1 -1
- package/dist/src/commands/registry/__tests__/yank.test.d.ts +9 -0
- package/dist/src/commands/registry/__tests__/yank.test.d.ts.map +1 -0
- package/dist/src/commands/registry/__tests__/yank.test.js +92 -0
- package/dist/src/commands/registry/__tests__/yank.test.js.map +1 -0
- package/dist/src/commands/registry/add.command.d.ts +4 -0
- package/dist/src/commands/registry/add.command.d.ts.map +1 -1
- package/dist/src/commands/registry/add.command.js +196 -116
- package/dist/src/commands/registry/add.command.js.map +1 -1
- package/dist/src/commands/registry/info.command.d.ts.map +1 -1
- package/dist/src/commands/registry/info.command.js +17 -4
- package/dist/src/commands/registry/info.command.js.map +1 -1
- package/dist/src/commands/registry/key.command.d.ts +32 -0
- package/dist/src/commands/registry/key.command.d.ts.map +1 -0
- package/dist/src/commands/registry/key.command.js +129 -0
- package/dist/src/commands/registry/key.command.js.map +1 -0
- package/dist/src/commands/registry/login.command.d.ts +5 -0
- package/dist/src/commands/registry/login.command.d.ts.map +1 -1
- package/dist/src/commands/registry/login.command.js +7 -2
- package/dist/src/commands/registry/login.command.js.map +1 -1
- package/dist/src/commands/registry/outdated.command.d.ts +21 -0
- package/dist/src/commands/registry/outdated.command.d.ts.map +1 -0
- package/dist/src/commands/registry/outdated.command.js +81 -0
- package/dist/src/commands/registry/outdated.command.js.map +1 -0
- package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
- package/dist/src/commands/registry/publish.command.js +95 -20
- package/dist/src/commands/registry/publish.command.js.map +1 -1
- package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
- package/dist/src/commands/registry/remove.command.js +155 -42
- package/dist/src/commands/registry/remove.command.js.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts +9 -3
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.js +135 -74
- package/dist/src/commands/registry/repair-lockfile.command.js.map +1 -1
- package/dist/src/commands/registry/search.command.d.ts.map +1 -1
- package/dist/src/commands/registry/search.command.js +51 -9
- package/dist/src/commands/registry/search.command.js.map +1 -1
- package/dist/src/commands/registry/status.command.d.ts +15 -0
- package/dist/src/commands/registry/status.command.d.ts.map +1 -0
- package/dist/src/commands/registry/status.command.js +61 -0
- package/dist/src/commands/registry/status.command.js.map +1 -0
- package/dist/src/commands/registry/update.command.d.ts.map +1 -1
- package/dist/src/commands/registry/update.command.js +307 -179
- package/dist/src/commands/registry/update.command.js.map +1 -1
- package/dist/src/commands/registry/yank.command.d.ts +19 -0
- package/dist/src/commands/registry/yank.command.d.ts.map +1 -0
- package/dist/src/commands/registry/yank.command.js +80 -0
- package/dist/src/commands/registry/yank.command.js.map +1 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts +2 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.d.ts.map +1 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js +61 -0
- package/dist/src/commands/secrets/__tests__/secrets-commands.flags.test.js.map +1 -0
- package/dist/src/commands/secrets/github.command.d.ts +7 -0
- package/dist/src/commands/secrets/github.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/github.command.js +89 -0
- package/dist/src/commands/secrets/github.command.js.map +1 -0
- package/dist/src/commands/secrets/list.command.d.ts +14 -0
- package/dist/src/commands/secrets/list.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/list.command.js +154 -0
- package/dist/src/commands/secrets/list.command.js.map +1 -0
- package/dist/src/commands/secrets/set.command.d.ts +44 -0
- package/dist/src/commands/secrets/set.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/set.command.js +131 -0
- package/dist/src/commands/secrets/set.command.js.map +1 -0
- package/dist/src/commands/secrets/unset.command.d.ts +7 -0
- package/dist/src/commands/secrets/unset.command.d.ts.map +1 -0
- package/dist/src/commands/secrets/unset.command.js +42 -0
- package/dist/src/commands/secrets/unset.command.js.map +1 -0
- package/dist/src/commands/update.command.js +10 -12
- package/dist/src/commands/update.command.js.map +1 -1
- package/dist/src/commands/website/__tests__/audit.command.test.js +58 -0
- package/dist/src/commands/website/__tests__/audit.command.test.js.map +1 -1
- package/dist/src/commands/website/audit.command.d.ts +8 -0
- package/dist/src/commands/website/audit.command.d.ts.map +1 -1
- package/dist/src/commands/website/audit.command.js +39 -2
- package/dist/src/commands/website/audit.command.js.map +1 -1
- package/dist/src/commands/workbench/open.command.d.ts +8 -0
- package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/open.command.js +29 -3
- package/dist/src/commands/workbench/open.command.js.map +1 -1
- package/dist/src/kernel/bootstrap.d.ts.map +1 -1
- package/dist/src/kernel/bootstrap.js +4 -1
- package/dist/src/kernel/bootstrap.js.map +1 -1
- package/dist/src/kernel/hooks.d.ts.map +1 -1
- package/dist/src/kernel/hooks.js +7 -1
- package/dist/src/kernel/hooks.js.map +1 -1
- package/dist/src/kernel/types.d.ts +7 -0
- package/dist/src/kernel/types.d.ts.map +1 -1
- package/dist/src/kernel/types.js.map +1 -1
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts +19 -0
- package/dist/src/modules/domain/credentials/creation-essentials.module.d.ts.map +1 -0
- package/dist/src/modules/domain/credentials/creation-essentials.module.js +130 -0
- package/dist/src/modules/domain/credentials/creation-essentials.module.js.map +1 -0
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js +26 -3
- package/dist/src/services/application/__tests__/app-bootstrap.backing-service-addressing.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +12 -16
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +5 -4
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +22 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js +18 -0
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js +175 -0
- package/dist/src/services/application/__tests__/frontend-public-config-secret-screen.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js +31 -0
- package/dist/src/services/application/__tests__/frontend-vite-warmup.template.test.js.map +1 -0
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js +20 -1
- package/dist/src/services/application/__tests__/local-application-initialization.hosted.test.js.map +1 -1
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js +76 -0
- package/dist/src/services/application/__tests__/provider-augmentation-materialization.guard.test.js.map +1 -0
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js +126 -66
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js +40 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.secret-screen.guard.test.js.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +78 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js +51 -5
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js +79 -0
- package/dist/src/services/application/__tests__/systems-of-record-library.service.test.js.map +1 -0
- package/dist/src/services/application/app-bootstrap.service.d.ts +58 -29
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +72 -40
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.js +5 -2
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
- package/dist/src/services/application/application-creation-readiness.service.js +2 -2
- package/dist/src/services/application/application-creation-readiness.service.js.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts +34 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.js +80 -13
- package/dist/src/services/application/application-dependency-alignment.service.js.map +1 -1
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts +83 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.d.ts.map +1 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js +161 -0
- package/dist/src/services/application/frontend-public-config-secret-screen.service.js.map +1 -0
- package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.js +25 -19
- package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
- package/dist/src/services/application/provider-package-links.service.d.ts +66 -26
- package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-package-links.service.js +140 -41
- package/dist/src/services/application/provider-package-links.service.js.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.d.ts +34 -3
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +85 -28
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +20 -11
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/application/systems-of-record-library.service.d.ts +22 -0
- package/dist/src/services/application/systems-of-record-library.service.d.ts.map +1 -0
- package/dist/src/services/application/systems-of-record-library.service.js +96 -0
- package/dist/src/services/application/systems-of-record-library.service.js.map +1 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +10 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.d.ts +13 -0
- package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.js +8 -0
- package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.d.ts +41 -0
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.js +13 -5
- package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +14 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +17 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js +15 -8
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
- package/dist/src/services/coding-agents/coding-agent-login.service.d.ts +44 -0
- package/dist/src/services/coding-agents/coding-agent-login.service.d.ts.map +1 -0
- package/dist/src/services/coding-agents/coding-agent-login.service.js +94 -0
- package/dist/src/services/coding-agents/coding-agent-login.service.js.map +1 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js +23 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -1
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js +25 -0
- package/dist/src/services/companion/__tests__/companion-health-hint.utils.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.js +138 -0
- package/dist/src/services/companion/__tests__/console-fast-path.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.d.ts +2 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.d.ts.map +1 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.js +86 -0
- package/dist/src/services/companion/__tests__/creation-watch.test.js.map +1 -0
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js +2 -1
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.js.map +1 -1
- package/dist/src/services/companion/build-console.service.d.ts +84 -0
- package/dist/src/services/companion/build-console.service.d.ts.map +1 -0
- package/dist/src/services/companion/build-console.service.js +64 -0
- package/dist/src/services/companion/build-console.service.js.map +1 -0
- package/dist/src/services/companion/companion-client.service.d.ts +28 -0
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client.service.js +54 -6
- package/dist/src/services/companion/companion-client.service.js.map +1 -1
- package/dist/src/services/companion/companion-health-hint.utils.d.ts +23 -0
- package/dist/src/services/companion/companion-health-hint.utils.d.ts.map +1 -0
- package/dist/src/services/companion/companion-health-hint.utils.js +31 -0
- package/dist/src/services/companion/companion-health-hint.utils.js.map +1 -0
- package/dist/src/services/companion/companion-local-token.utils.d.ts +10 -0
- package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-local-token.utils.js +19 -1
- package/dist/src/services/companion/companion-local-token.utils.js.map +1 -1
- package/dist/src/services/companion/console-fast-path.d.ts +104 -0
- package/dist/src/services/companion/console-fast-path.d.ts.map +1 -0
- package/dist/src/services/companion/console-fast-path.js +281 -0
- package/dist/src/services/companion/console-fast-path.js.map +1 -0
- package/dist/src/services/companion/console-verb.utils.d.ts +29 -0
- package/dist/src/services/companion/console-verb.utils.d.ts.map +1 -0
- package/dist/src/services/companion/console-verb.utils.js +41 -0
- package/dist/src/services/companion/console-verb.utils.js.map +1 -0
- package/dist/src/services/companion/creation-console.service.d.ts +173 -0
- package/dist/src/services/companion/creation-console.service.d.ts.map +1 -0
- package/dist/src/services/companion/creation-console.service.js +377 -0
- package/dist/src/services/companion/creation-console.service.js.map +1 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts +2 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.d.ts.map +1 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js +71 -0
- package/dist/src/services/compliance/__tests__/data-retention-schedule.generator.test.js.map +1 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts +2 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.d.ts.map +1 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js +109 -0
- package/dist/src/services/compliance/__tests__/subject-data-recipients.generator.test.js.map +1 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.d.ts +51 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.d.ts.map +1 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.js +120 -0
- package/dist/src/services/compliance/data-retention-schedule.generator.js.map +1 -0
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts +7 -2
- package/dist/src/services/compliance/generated-compliance-module-wiring.d.ts.map +1 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js +6 -1
- package/dist/src/services/compliance/generated-compliance-module-wiring.js.map +1 -1
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts +48 -0
- package/dist/src/services/compliance/subject-data-recipients.generator.d.ts.map +1 -0
- package/dist/src/services/compliance/subject-data-recipients.generator.js +158 -0
- package/dist/src/services/compliance/subject-data-recipients.generator.js.map +1 -0
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.js +1 -0
- package/dist/src/services/context/context-manager.service.js.map +1 -1
- package/dist/src/services/context/context.schemas.d.ts +8 -0
- package/dist/src/services/context/context.schemas.d.ts.map +1 -1
- package/dist/src/services/context/context.schemas.js.map +1 -1
- package/dist/src/services/context/machine-preferences.writer.d.ts +15 -0
- package/dist/src/services/context/machine-preferences.writer.d.ts.map +1 -0
- package/dist/src/services/context/machine-preferences.writer.js +30 -0
- package/dist/src/services/context/machine-preferences.writer.js.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js +138 -0
- package/dist/src/services/credentials/__tests__/application-secret-owners.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.js +201 -0
- package/dist/src/services/credentials/__tests__/application-secrets.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +42 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js +28 -2
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js +56 -0
- package/dist/src/services/credentials/__tests__/pem-multiline-normalization.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js +5 -4
- package/dist/src/services/credentials/__tests__/provider-contribution-registration.guard.test.js.map +1 -1
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js +113 -0
- package/dist/src/services/credentials/__tests__/remote-secrets-store.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js +271 -0
- package/dist/src/services/credentials/__tests__/secret-requirements.service.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js +2 -1
- package/dist/src/services/credentials/__tests__/secrets-section-ownership.test.js.map +1 -1
- package/dist/src/services/credentials/application-secret-owners.service.d.ts +55 -0
- package/dist/src/services/credentials/application-secret-owners.service.d.ts.map +1 -0
- package/dist/src/services/credentials/application-secret-owners.service.js +238 -0
- package/dist/src/services/credentials/application-secret-owners.service.js.map +1 -0
- package/dist/src/services/credentials/application-secrets.service.d.ts +93 -0
- package/dist/src/services/credentials/application-secrets.service.d.ts.map +1 -0
- package/dist/src/services/credentials/application-secrets.service.js +314 -0
- package/dist/src/services/credentials/application-secrets.service.js.map +1 -0
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts +35 -4
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.js +98 -8
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts +16 -3
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.js +6 -3
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.d.ts +2 -6
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +33 -0
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +16 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.js +50 -1
- package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
- package/dist/src/services/credentials/local-secrets-store.service.d.ts +59 -0
- package/dist/src/services/credentials/local-secrets-store.service.d.ts.map +1 -0
- package/dist/src/services/credentials/local-secrets-store.service.js +87 -0
- package/dist/src/services/credentials/local-secrets-store.service.js.map +1 -0
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts +12 -38
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.js +15 -136
- package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
- package/dist/src/services/credentials/provider-secret-format.d.ts +3 -0
- package/dist/src/services/credentials/provider-secret-format.d.ts.map +1 -0
- package/dist/src/services/credentials/provider-secret-format.js +24 -0
- package/dist/src/services/credentials/provider-secret-format.js.map +1 -0
- package/dist/src/services/credentials/remote-secrets-store.service.d.ts +38 -0
- package/dist/src/services/credentials/remote-secrets-store.service.d.ts.map +1 -0
- package/dist/src/services/credentials/remote-secrets-store.service.js +115 -0
- package/dist/src/services/credentials/remote-secrets-store.service.js.map +1 -0
- package/dist/src/services/credentials/secret-requirements.service.d.ts +196 -0
- package/dist/src/services/credentials/secret-requirements.service.d.ts.map +1 -0
- package/dist/src/services/credentials/secret-requirements.service.js +402 -0
- package/dist/src/services/credentials/secret-requirements.service.js.map +1 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts +5 -0
- package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.js +6 -1
- package/dist/src/services/credentials/secrets-reader.service.js.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.js +3 -0
- package/dist/src/services/credentials/secrets-rotation.service.js.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts +15 -15
- package/dist/src/services/data-services/data-services.schemas.js +15 -15
- package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js +4 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-cluster-ownership.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js +45 -0
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js +47 -0
- package/dist/src/services/deployment/__tests__/coding-agent-login-check.test.js.map +1 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +32 -0
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js +41 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts +2 -0
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.d.ts.map +1 -0
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.js +88 -0
- package/dist/src/services/deployment/__tests__/platform-service-memory.test.js.map +1 -0
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts +7 -2
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.js +7 -4
- package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js +74 -4
- package/dist/src/services/deployment/docker/__tests__/backing-service-health-watch.test.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +19 -15
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js +22 -0
- package/dist/src/services/deployment/docker/__tests__/local-data-adoption.service.test.js.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts +15 -0
- package/dist/src/services/deployment/docker/backing-service-health-watch.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/backing-service-health-watch.js +78 -2
- package/dist/src/services/deployment/docker/backing-service-health-watch.js.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.d.ts +10 -0
- package/dist/src/services/deployment/docker/compose-service-health.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/compose-service-health.js +25 -0
- package/dist/src/services/deployment/docker/compose-service-health.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +28 -0
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js +69 -34
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.d.ts +17 -0
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.js +50 -0
- package/dist/src/services/deployment/docker/docker.service.js.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts +2 -0
- package/dist/src/services/deployment/docker/local-data-adoption.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/local-data-adoption.service.js +9 -8
- package/dist/src/services/deployment/docker/local-data-adoption.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js +81 -0
- package/dist/src/services/deployment/k8s/__tests__/cluster-controller-charts.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +15 -16
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +28 -16
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts +39 -0
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js +39 -0
- package/dist/src/services/deployment/k8s/cluster-controller-charts.constants.js.map +1 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +8 -4
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +18 -7
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +24 -4
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +20 -4
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +6 -5
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +15 -0
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js +48 -0
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts +22 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js +58 -6
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.js.map +1 -1
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +156 -5
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +6 -14
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +14 -2
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts +19 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.d.ts.map +1 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.js +32 -1
- package/dist/src/services/environment/application-backing-service-addressing.utils.js.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +5 -7
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts +10 -4
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.js +201 -24
- package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts +8 -4
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js +8 -6
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +23 -10
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/application-claude-settings.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/application-claude-settings.test.js +174 -0
- package/dist/src/services/framework/__tests__/application-claude-settings.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js +152 -0
- package/dist/src/services/framework/__tests__/claude-plugin-authored-commands.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js +81 -0
- package/dist/src/services/framework/__tests__/claude-plugin-compiler.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js +66 -0
- package/dist/src/services/framework/__tests__/claude-plugin-validate.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +57 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +8 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +18 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-update.service.test.js +24 -1
- package/dist/src/services/framework/__tests__/framework-update.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js +20 -0
- package/dist/src/services/framework/__tests__/knowledge-skill-invocability.test.js.map +1 -0
- package/dist/src/services/framework/application-claude-settings.d.ts +141 -0
- package/dist/src/services/framework/application-claude-settings.d.ts.map +1 -0
- package/dist/src/services/framework/application-claude-settings.js +284 -0
- package/dist/src/services/framework/application-claude-settings.js.map +1 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts +16 -0
- package/dist/src/services/framework/claude-plugin-compiler.d.ts.map +1 -0
- package/dist/src/services/framework/claude-plugin-compiler.js +179 -0
- package/dist/src/services/framework/claude-plugin-compiler.js.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +7 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.js +16 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +13 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +36 -6
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +16 -0
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js +43 -6
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.js +12 -0
- package/dist/src/services/framework/framework-knowledge-scan.constants.js.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +13 -0
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +23 -5
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/framework-update.service.d.ts +35 -5
- package/dist/src/services/framework/framework-update.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-update.service.js +41 -6
- package/dist/src/services/framework/framework-update.service.js.map +1 -1
- package/dist/src/services/framework/frontend-component-catalog.generator.d.ts.map +1 -1
- package/dist/src/services/framework/frontend-component-catalog.generator.js +2 -0
- package/dist/src/services/framework/frontend-component-catalog.generator.js.map +1 -1
- package/dist/src/services/framework/package-install.service.d.ts +6 -0
- package/dist/src/services/framework/package-install.service.d.ts.map +1 -0
- package/dist/src/services/framework/package-install.service.js +18 -0
- package/dist/src/services/framework/package-install.service.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js +95 -0
- package/dist/src/services/framework/provider-transposition/__tests__/compliance-profile-emission.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js +255 -0
- package/dist/src/services/framework/provider-transposition/__tests__/connection-derived-operation-host.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js +114 -0
- package/dist/src/services/framework/provider-transposition/__tests__/frontend-facet-emission.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-endpoint-host-allowances.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js +8 -0
- package/dist/src/services/framework/provider-transposition/__tests__/oauth2-scope-placeholders-and-deployment-hosts.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +12 -5
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js +48 -0
- package/dist/src/services/framework/provider-transposition/__tests__/systems-of-record-door-withdrawn.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js +221 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-grouping-and-engine-augmentation.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js +144 -0
- package/dist/src/services/framework/provider-transposition/__tests__/vendor-unsupported-connection-values.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js +287 -33
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts +1 -1
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts +197 -4
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js +158 -3
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.js +63 -1
- package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts +172 -21
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +796 -143
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts +15 -0
- package/dist/src/services/framework/provider-transposition/request-helper-url.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/request-helper-url.js +32 -0
- package/dist/src/services/framework/provider-transposition/request-helper-url.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts +9 -3
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.js +45 -4
- package/dist/src/services/framework/provider-transposition/source-static-evaluator.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts +44 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts +7 -0
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -1
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js +85 -0
- package/dist/src/services/registry/__tests__/boundary-fanout.utils.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js +159 -0
- package/dist/src/services/registry/__tests__/git-ignored-paths.utils.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts +8 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js +148 -0
- package/dist/src/services/registry/__tests__/local-checkout-module-source.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js +50 -0
- package/dist/src/services/registry/__tests__/module-acquisition.utils.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.js +302 -0
- package/dist/src/services/registry/__tests__/module-registration.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js +68 -0
- package/dist/src/services/registry/__tests__/provider-module-checks.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js +91 -0
- package/dist/src/services/registry/__tests__/provider-module-identity.service.test.js.map +1 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts +2 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.d.ts.map +1 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js +67 -0
- package/dist/src/services/registry/__tests__/registry-config-resolver.service.test.js.map +1 -0
- package/dist/src/services/registry/artifact-trust.utils.d.ts +43 -0
- package/dist/src/services/registry/artifact-trust.utils.d.ts.map +1 -0
- package/dist/src/services/registry/artifact-trust.utils.js +46 -0
- package/dist/src/services/registry/artifact-trust.utils.js.map +1 -0
- package/dist/src/services/registry/boundary-fanout.utils.d.ts +52 -1
- package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.js +128 -31
- package/dist/src/services/registry/boundary-fanout.utils.js.map +1 -1
- package/dist/src/services/registry/git-ignored-paths.utils.d.ts +66 -0
- package/dist/src/services/registry/git-ignored-paths.utils.d.ts.map +1 -0
- package/dist/src/services/registry/git-ignored-paths.utils.js +175 -0
- package/dist/src/services/registry/git-ignored-paths.utils.js.map +1 -0
- package/dist/src/services/registry/installed-file-state.utils.d.ts +137 -0
- package/dist/src/services/registry/installed-file-state.utils.d.ts.map +1 -0
- package/dist/src/services/registry/installed-file-state.utils.js +209 -0
- package/dist/src/services/registry/installed-file-state.utils.js.map +1 -0
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts +83 -0
- package/dist/src/services/registry/local-checkout-module-source.service.d.ts.map +1 -0
- package/dist/src/services/registry/local-checkout-module-source.service.js +227 -0
- package/dist/src/services/registry/local-checkout-module-source.service.js.map +1 -0
- package/dist/src/services/registry/migration-obligation.utils.d.ts +52 -0
- package/dist/src/services/registry/migration-obligation.utils.d.ts.map +1 -0
- package/dist/src/services/registry/migration-obligation.utils.js +77 -0
- package/dist/src/services/registry/migration-obligation.utils.js.map +1 -0
- package/dist/src/services/registry/module-acquisition.utils.d.ts +46 -0
- package/dist/src/services/registry/module-acquisition.utils.d.ts.map +1 -0
- package/dist/src/services/registry/module-acquisition.utils.js +78 -0
- package/dist/src/services/registry/module-acquisition.utils.js.map +1 -0
- package/dist/src/services/registry/module-artifact-files.utils.d.ts +39 -0
- package/dist/src/services/registry/module-artifact-files.utils.d.ts.map +1 -0
- package/dist/src/services/registry/module-artifact-files.utils.js +57 -0
- package/dist/src/services/registry/module-artifact-files.utils.js.map +1 -0
- package/dist/src/services/registry/module-registration.service.d.ts +171 -0
- package/dist/src/services/registry/module-registration.service.d.ts.map +1 -0
- package/dist/src/services/registry/module-registration.service.js +788 -0
- package/dist/src/services/registry/module-registration.service.js.map +1 -0
- package/dist/src/services/registry/provider-install-step.d.ts +23 -0
- package/dist/src/services/registry/provider-install-step.d.ts.map +1 -0
- package/dist/src/services/registry/provider-install-step.js +21 -0
- package/dist/src/services/registry/provider-install-step.js.map +1 -0
- package/dist/src/services/registry/provider-module-checks.service.d.ts +40 -0
- package/dist/src/services/registry/provider-module-checks.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-checks.service.js +194 -0
- package/dist/src/services/registry/provider-module-checks.service.js.map +1 -0
- package/dist/src/services/registry/provider-module-identity.service.d.ts +20 -0
- package/dist/src/services/registry/provider-module-identity.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-module-identity.service.js +146 -0
- package/dist/src/services/registry/provider-module-identity.service.js.map +1 -0
- package/dist/src/services/registry/provider-wiring.service.d.ts +49 -0
- package/dist/src/services/registry/provider-wiring.service.d.ts.map +1 -0
- package/dist/src/services/registry/provider-wiring.service.js +164 -0
- package/dist/src/services/registry/provider-wiring.service.js.map +1 -0
- package/dist/src/services/registry/registry-command.utils.d.ts +49 -2
- package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
- package/dist/src/services/registry/registry-command.utils.js +75 -2
- package/dist/src/services/registry/registry-command.utils.js.map +1 -1
- package/dist/src/services/registry/registry-config-resolver.service.d.ts +12 -0
- package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -1
- package/dist/src/services/registry/registry-config-resolver.service.js +60 -0
- package/dist/src/services/registry/registry-config-resolver.service.js.map +1 -1
- package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
- package/dist/src/services/registry/registry-credentials.service.js +5 -2
- package/dist/src/services/registry/registry-credentials.service.js.map +1 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.js +42 -0
- package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -1
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
- package/dist/src/services/security/csp-sync.service.js +5 -9
- package/dist/src/services/security/csp-sync.service.js.map +1 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +24 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +1 -1
- package/dist/src/services/website/website-label-pack-audit.service.d.ts +31 -0
- package/dist/src/services/website/website-label-pack-audit.service.d.ts.map +1 -0
- package/dist/src/services/website/website-label-pack-audit.service.js +36 -0
- package/dist/src/services/website/website-label-pack-audit.service.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +10 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-structured-data-audit.service.js +19 -54
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
- package/dist/src/services/website/website-workspace.service.d.ts +15 -0
- package/dist/src/services/website/website-workspace.service.d.ts.map +1 -0
- package/dist/src/services/website/website-workspace.service.js +26 -0
- package/dist/src/services/website/website-workspace.service.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/framework-root-package.json +7 -1
- package/package.json +24 -18
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +47 -7
- package/templates/infra/ci/deploy-docker-compose.yml.hbs +9 -0
- package/templates/infra/ci/deploy-k8s.yml.hbs +11 -2
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +48 -14
- package/templates/infra/docker-images/platform/Dockerfile.platform-base +5 -2
- package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +8 -7
- package/templates/infra/k8s/applications/wildo-ai-application/backend.service.yaml.hbs +2 -3
- package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +8 -10
- package/templates/infra/k8s/ingress/traefik/local/values.yaml +17 -12
- package/templates/infra/k8s/ingress/traefik/values.yaml.hbs +35 -15
- package/templates/infra/k8s/internal/immudb/deployment.yaml.hbs +15 -15
- package/templates/infra/k8s/platform/platform-apps-manager/deployment.yaml.hbs +13 -4
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +13 -4
- package/templates/infra/k8s/platform/platform-module-registry/deployment.yaml.hbs +7 -4
- package/templates/saas/engine-peer-closure.json +15 -3
- package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/create.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/applications/update.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/labels.fr.ts +26 -0
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/labels.fr.ts +25 -0
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationMembers/{reactivate.user-self → reactivate.users-custom}/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.users-custom/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationMembers/{suspend.user-self → suspend.users-custom}/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.users-custom/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/labels.fr.ts +22 -0
- package/templates/saas/i18n/email/resources/organizations/create.user-self/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/organizations/restore.organization-users/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.en.ts +2 -1
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/labels.fr.ts +30 -0
- package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/labels.fr.ts +19 -0
- package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/labels.fr.ts +19 -0
- package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/create.application-administrator/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/users/delete.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/labels.en.ts +13 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.application-administrator/template.tsx +50 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/users/reactivate_user.users-custom/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/labels.en.ts +16 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/labels.fr.ts +23 -0
- package/templates/saas/i18n/email/resources/users/suspend_user.users-custom/template.tsx +53 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/labels.en.ts +14 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/resources/users/unsuspend_user.users-custom/template.tsx +49 -0
- package/templates/saas/i18n/email/resources/users/update.application-administrator/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/system/email-otp/labels.fr.ts +17 -0
- package/templates/saas/i18n/email/system/email-verification/labels.fr.ts +18 -0
- package/templates/saas/i18n/email/system/human-decision-deadline/labels.en.ts +47 -0
- package/templates/saas/i18n/email/system/human-decision-deadline/labels.fr.ts +49 -0
- package/templates/saas/i18n/email/system/human-decision-deadline/template.tsx +80 -0
- package/templates/saas/i18n/email/system/magic-link/labels.fr.ts +17 -0
- package/templates/saas/i18n/email/system/new-device-login/labels.fr.ts +24 -0
- package/templates/saas/i18n/email/system/organization-invitation/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/system/organization-member-removed/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/system/password-reset/labels.fr.ts +17 -0
- package/templates/saas/i18n/email/system/payment-failed/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/system/security-alert/labels.fr.ts +68 -0
- package/templates/saas/i18n/email/system/subscription-cancelled/labels.fr.ts +20 -0
- package/templates/saas/i18n/email/system/subscription-confirmation/labels.fr.ts +21 -0
- package/templates/saas/i18n/email/system/welcome-email/labels.fr.ts +18 -0
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.ts +2 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.ts +3 -10
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.en.ts +3 -1
- package/templates/saas/i18n/engine/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.ts +3 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.ts +31 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.ts +31 -0
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.ts +0 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_APPEARANCE_SETTINGS.fr.ts +0 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.en.ts +0 -7
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_BILLING_SETTINGS.fr.ts +0 -7
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.ts +31 -5
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.ts +31 -5
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.ts +0 -2
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.ts +0 -2
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.en.ts +6 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_MAIN_CONTAINER.fr.ts +6 -1
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.en.ts +2 -16
- package/templates/saas/i18n/engine/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.ts +2 -16
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.en.ts +0 -3
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.ts +3 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.en.ts +49 -16
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_APPROVAL.fr.ts +51 -18
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.ts +0 -6
- package/templates/saas/i18n/engine/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.ts +6 -12
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.ts +8 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.ts +8 -2
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.fr.ts +11 -0
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.en.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.ts +11 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.ts +11 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.en.ts +9 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_FILE.fr.ts +9 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.en.ts +4 -1
- package/templates/saas/i18n/engine/components/LOW_LEVEL_FORM_FIELD_STRING.fr.ts +4 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.en.ts +3 -2
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_LIST.fr.ts +4 -3
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.ts +7 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.ts +7 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.ts +2 -1
- package/templates/saas/i18n/engine/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.ts +2 -1
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.en.ts +0 -2
- package/templates/saas/i18n/engine/components/progression_milestone_tracker.fr.ts +3 -5
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.en.ts +115 -0
- package/templates/saas/i18n/engine/resources/agentWorkCaptureSettings.fr.ts +115 -0
- package/templates/saas/i18n/engine/resources/anonymous_users.en.ts +86 -77
- package/templates/saas/i18n/engine/resources/anonymous_users.fr.ts +20 -11
- package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.en.ts +6 -68
- package/templates/saas/i18n/engine/resources/applicationA2aPushDeliveryLog.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.en.ts +16 -70
- package/templates/saas/i18n/engine/resources/applicationA2aTokenBudgetState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.en.ts +19 -37
- package/templates/saas/i18n/engine/resources/applicationAccessGrants.fr.ts +11 -29
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisionContents.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/applicationAgentWorkDecisions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/applicationApiKeys.en.ts +64 -75
- package/templates/saas/i18n/engine/resources/applicationApiKeys.fr.ts +31 -42
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.en.ts +116 -16
- package/templates/saas/i18n/engine/resources/applicationAuditLogs.fr.ts +108 -8
- package/templates/saas/i18n/engine/resources/applicationFeatures.en.ts +53 -97
- package/templates/saas/i18n/engine/resources/applicationFeatures.fr.ts +2 -46
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.en.ts +346 -32
- package/templates/saas/i18n/engine/resources/applicationFlowActorExecutions.fr.ts +348 -34
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.en.ts +6 -67
- package/templates/saas/i18n/engine/resources/applicationFlowActorTasks.fr.ts +1 -62
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.en.ts +613 -0
- package/templates/saas/i18n/engine/resources/applicationInboundDeliveries.fr.ts +613 -0
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.en.ts +51 -71
- package/templates/saas/i18n/engine/resources/applicationM2mWebhookDeliveryLog.fr.ts +3 -23
- package/templates/saas/i18n/engine/resources/applicationMetadata.en.ts +23 -45
- package/templates/saas/i18n/engine/resources/applicationMetadata.fr.ts +0 -22
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.en.ts +56 -57
- package/templates/saas/i18n/engine/resources/applicationOAuthClients.fr.ts +22 -23
- package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.en.ts +36 -55
- package/templates/saas/i18n/engine/resources/applicationScimProvisioningConfig.fr.ts +3 -22
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.en.ts +64 -81
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryDlq.fr.ts +4 -21
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.en.ts +3 -13
- package/templates/saas/i18n/engine/resources/applicationSiemDeliveryOutbox.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.en.ts +43 -67
- package/templates/saas/i18n/engine/resources/applicationSiemExportConfig.fr.ts +8 -32
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.en.ts +98 -271
- package/templates/saas/i18n/engine/resources/applicationSsoConfig.fr.ts +10 -31
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.en.ts +227 -249
- package/templates/saas/i18n/engine/resources/applicationSsoConnections.fr.ts +80 -102
- package/templates/saas/i18n/engine/resources/applicationVersions.en.ts +41 -53
- package/templates/saas/i18n/engine/resources/applicationVersions.fr.ts +3 -15
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.en.ts +42 -61
- package/templates/saas/i18n/engine/resources/applicationWebhookConfig.fr.ts +3 -22
- package/templates/saas/i18n/engine/resources/applications.en.ts +2645 -1242
- package/templates/saas/i18n/engine/resources/applications.fr.ts +1450 -47
- package/templates/saas/i18n/engine/resources/auditLogs.en.ts +419 -224
- package/templates/saas/i18n/engine/resources/auditLogs.fr.ts +204 -9
- package/templates/saas/i18n/engine/resources/billingEffectOutbox.en.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingEffectOutbox.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.en.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingProviderEventSettlements.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.en.ts +2 -9
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationCompletions.fr.ts +2 -9
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.en.ts +123 -130
- package/templates/saas/i18n/engine/resources/billingSubscriptionMutationIntents.fr.ts +2 -9
- package/templates/saas/i18n/engine/resources/clientMailboxes.en.ts +169 -0
- package/templates/saas/i18n/engine/resources/clientMailboxes.fr.ts +169 -0
- package/templates/saas/i18n/engine/resources/consumableTokens.en.ts +91 -93
- package/templates/saas/i18n/engine/resources/consumableTokens.fr.ts +17 -19
- package/templates/saas/i18n/engine/resources/conversationMessages.en.ts +332 -0
- package/templates/saas/i18n/engine/resources/conversationMessages.fr.ts +332 -0
- package/templates/saas/i18n/engine/resources/conversationReplyTokens.en.ts +196 -0
- package/templates/saas/i18n/engine/resources/conversationReplyTokens.fr.ts +196 -0
- package/templates/saas/i18n/engine/resources/conversationThreads.en.ts +224 -0
- package/templates/saas/i18n/engine/resources/conversationThreads.fr.ts +224 -0
- package/templates/saas/i18n/engine/resources/dataSeedRuns.en.ts +359 -201
- package/templates/saas/i18n/engine/resources/dataSeedRuns.fr.ts +173 -15
- package/templates/saas/i18n/engine/resources/etlPipelineStates.en.ts +278 -14
- package/templates/saas/i18n/engine/resources/etlPipelineStates.fr.ts +276 -12
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.en.ts +222 -0
- package/templates/saas/i18n/engine/resources/evaluationDatasetExports.fr.ts +222 -0
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.en.ts +163 -0
- package/templates/saas/i18n/engine/resources/evaluationExportAuthorizations.fr.ts +163 -0
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.en.ts +169 -0
- package/templates/saas/i18n/engine/resources/externalDataErasureSuppressions.fr.ts +169 -0
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.en.ts +254 -0
- package/templates/saas/i18n/engine/resources/externalDataOutboundChanges.fr.ts +254 -0
- package/templates/saas/i18n/engine/resources/externalDataPendingReferences.en.ts +155 -0
- package/templates/saas/i18n/engine/resources/externalDataPendingReferences.fr.ts +155 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.en.ts +131 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMembershipKeys.fr.ts +131 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.en.ts +8 -24
- package/templates/saas/i18n/engine/resources/externalDataPipelineMemberships.fr.ts +8 -24
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.en.ts +693 -0
- package/templates/saas/i18n/engine/resources/externalDataPipelineRunRecords.fr.ts +693 -0
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.en.ts +126 -0
- package/templates/saas/i18n/engine/resources/externalDataRemoteVersions.fr.ts +126 -0
- package/templates/saas/i18n/engine/resources/files.en.ts +60 -72
- package/templates/saas/i18n/engine/resources/files.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/inboundAddressTombstones.en.ts +120 -0
- package/templates/saas/i18n/engine/resources/inboundAddressTombstones.fr.ts +120 -0
- package/templates/saas/i18n/engine/resources/inboundContacts.en.ts +27 -81
- package/templates/saas/i18n/engine/resources/inboundContacts.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/inboundEmails.en.ts +548 -0
- package/templates/saas/i18n/engine/resources/inboundEmails.fr.ts +548 -0
- package/templates/saas/i18n/engine/resources/jobExecutions.en.ts +282 -208
- package/templates/saas/i18n/engine/resources/jobExecutions.fr.ts +87 -13
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.en.ts +46 -64
- package/templates/saas/i18n/engine/resources/jobPayloadStorage.fr.ts +1 -19
- package/templates/saas/i18n/engine/resources/legalHolds.en.ts +283 -0
- package/templates/saas/i18n/engine/resources/legalHolds.fr.ts +283 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.en.ts +403 -0
- package/templates/saas/i18n/engine/resources/modelCallAttributions.fr.ts +403 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.en.ts +273 -0
- package/templates/saas/i18n/engine/resources/modelCostPeriodAggregates.fr.ts +273 -0
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.en.ts +6 -60
- package/templates/saas/i18n/engine/resources/oauthConsentGrants.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.en.ts +6 -68
- package/templates/saas/i18n/engine/resources/organizationA2aPushDeliveryLog.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.en.ts +16 -70
- package/templates/saas/i18n/engine/resources/organizationA2aTokenBudgetState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisionContents.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/organizationAgentWorkDecisions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/organizationApiKeys.en.ts +86 -97
- package/templates/saas/i18n/engine/resources/organizationApiKeys.fr.ts +31 -42
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.en.ts +453 -561
- package/templates/saas/i18n/engine/resources/organizationBillingAccounts.fr.ts +304 -412
- package/templates/saas/i18n/engine/resources/organizationCreditPools.en.ts +41 -71
- package/templates/saas/i18n/engine/resources/organizationCreditPools.fr.ts +7 -37
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.en.ts +339 -0
- package/templates/saas/i18n/engine/resources/organizationEmailDomains.fr.ts +339 -0
- package/templates/saas/i18n/engine/resources/organizationFeatures.en.ts +30 -51
- package/templates/saas/i18n/engine/resources/organizationFeatures.fr.ts +2 -22
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.en.ts +343 -29
- package/templates/saas/i18n/engine/resources/organizationFlowActorExecutions.fr.ts +348 -34
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.en.ts +6 -67
- package/templates/saas/i18n/engine/resources/organizationFlowActorTasks.fr.ts +1 -62
- package/templates/saas/i18n/engine/resources/organizationGuidanceState.en.ts +15 -25
- package/templates/saas/i18n/engine/resources/organizationGuidanceState.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.en.ts +613 -0
- package/templates/saas/i18n/engine/resources/organizationInboundDeliveries.fr.ts +613 -0
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.en.ts +71 -158
- package/templates/saas/i18n/engine/resources/organizationInvoiceRefs.fr.ts +2 -89
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.en.ts +23 -33
- package/templates/saas/i18n/engine/resources/organizationLifecycleState.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.en.ts +51 -71
- package/templates/saas/i18n/engine/resources/organizationM2mWebhookDeliveryLog.fr.ts +3 -23
- package/templates/saas/i18n/engine/resources/organizationMembers.en.ts +133 -179
- package/templates/saas/i18n/engine/resources/organizationMembers.fr.ts +58 -102
- package/templates/saas/i18n/engine/resources/organizationNotificationBadges.en.ts +11 -29
- package/templates/saas/i18n/engine/resources/organizationNotificationBadges.fr.ts +1 -19
- package/templates/saas/i18n/engine/resources/organizationNotifications.en.ts +18 -26
- package/templates/saas/i18n/engine/resources/organizationNotifications.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.en.ts +67 -44
- package/templates/saas/i18n/engine/resources/organizationOAuthClients.fr.ts +48 -25
- package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.en.ts +0 -16
- package/templates/saas/i18n/engine/resources/organizationOnboardingOperations.fr.ts +0 -16
- package/templates/saas/i18n/engine/resources/organizationPreferences.en.ts +23 -32
- package/templates/saas/i18n/engine/resources/organizationPreferences.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/organizationProfiles.en.ts +33 -50
- package/templates/saas/i18n/engine/resources/organizationProfiles.fr.ts +0 -16
- package/templates/saas/i18n/engine/resources/organizationProgressionState.en.ts +23 -33
- package/templates/saas/i18n/engine/resources/organizationProgressionState.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.en.ts +9 -55
- package/templates/saas/i18n/engine/resources/organizationProviderCredentials.fr.ts +11 -57
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.en.ts +50 -62
- package/templates/saas/i18n/engine/resources/organizationScimProvisioningConfig.fr.ts +3 -14
- package/templates/saas/i18n/engine/resources/organizationScimTokens.en.ts +67 -72
- package/templates/saas/i18n/engine/resources/organizationScimTokens.fr.ts +11 -15
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.en.ts +64 -81
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryDlq.fr.ts +4 -21
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.en.ts +3 -13
- package/templates/saas/i18n/engine/resources/organizationSiemDeliveryOutbox.fr.ts +1 -11
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.en.ts +54 -70
- package/templates/saas/i18n/engine/resources/organizationSiemExportConfig.fr.ts +8 -24
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.en.ts +99 -265
- package/templates/saas/i18n/engine/resources/organizationSsoConfig.fr.ts +10 -23
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.en.ts +229 -252
- package/templates/saas/i18n/engine/resources/organizationSsoConnections.fr.ts +80 -102
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.en.ts +285 -240
- package/templates/saas/i18n/engine/resources/organizationSubscriptions.fr.ts +166 -121
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.en.ts +13 -32
- package/templates/saas/i18n/engine/resources/organizationUnitMembers.fr.ts +11 -30
- package/templates/saas/i18n/engine/resources/organizationUnits.en.ts +34 -53
- package/templates/saas/i18n/engine/resources/organizationUnits.fr.ts +3 -22
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.en.ts +89 -152
- package/templates/saas/i18n/engine/resources/organizationUsageRecords.fr.ts +2 -65
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.en.ts +59 -71
- package/templates/saas/i18n/engine/resources/organizationWebhookConfig.fr.ts +3 -14
- package/templates/saas/i18n/engine/resources/organizations.en.ts +860 -879
- package/templates/saas/i18n/engine/resources/organizations.fr.ts +54 -73
- package/templates/saas/i18n/engine/resources/platformAccessGrants.en.ts +15 -74
- package/templates/saas/i18n/engine/resources/platformAccessGrants.fr.ts +8 -67
- package/templates/saas/i18n/engine/resources/prices.en.ts +148 -233
- package/templates/saas/i18n/engine/resources/prices.fr.ts +36 -121
- package/templates/saas/i18n/engine/resources/products.en.ts +135 -157
- package/templates/saas/i18n/engine/resources/products.fr.ts +45 -67
- package/templates/saas/i18n/engine/resources/promotions.en.ts +136 -161
- package/templates/saas/i18n/engine/resources/promotions.fr.ts +48 -73
- package/templates/saas/i18n/engine/resources/providerCallRecords.en.ts +283 -0
- package/templates/saas/i18n/engine/resources/providerCallRecords.fr.ts +283 -0
- package/templates/saas/i18n/engine/resources/referrals.en.ts +117 -83
- package/templates/saas/i18n/engine/resources/referrals.fr.ts +67 -33
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.en.ts +235 -0
- package/templates/saas/i18n/engine/resources/retentionEnforcementRecords.fr.ts +235 -0
- package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.en.ts +368 -0
- package/templates/saas/i18n/engine/resources/serviceEngagementAssignments.fr.ts +368 -0
- package/templates/saas/i18n/engine/resources/serviceEngagements.en.ts +321 -0
- package/templates/saas/i18n/engine/resources/serviceEngagements.fr.ts +321 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.en.ts +237 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeed.fr.ts +237 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.en.ts +209 -0
- package/templates/saas/i18n/engine/resources/serviceProviderActivityFeedSettings.fr.ts +209 -0
- package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.en.ts +275 -0
- package/templates/saas/i18n/engine/resources/serviceProviderCapabilityGrants.fr.ts +275 -0
- package/templates/saas/i18n/engine/resources/serviceProviderRelationships.en.ts +431 -0
- package/templates/saas/i18n/engine/resources/serviceProviderRelationships.fr.ts +431 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.en.ts +180 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordPartitionAssignments.fr.ts +180 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.en.ts +118 -0
- package/templates/saas/i18n/engine/resources/systemOfRecordWriteAdmissions.fr.ts +118 -0
- package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.en.ts +6 -68
- package/templates/saas/i18n/engine/resources/userA2aPushDeliveryLog.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.en.ts +19 -73
- package/templates/saas/i18n/engine/resources/userA2aTokenBudgetState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisionContents.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/userAgentWorkDecisions.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/userBillingAccounts.en.ts +513 -620
- package/templates/saas/i18n/engine/resources/userBillingAccounts.fr.ts +301 -408
- package/templates/saas/i18n/engine/resources/userCredentials.en.ts +62 -116
- package/templates/saas/i18n/engine/resources/userCredentials.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userCreditPools.en.ts +49 -79
- package/templates/saas/i18n/engine/resources/userCreditPools.fr.ts +7 -37
- package/templates/saas/i18n/engine/resources/userFeatures.en.ts +19 -68
- package/templates/saas/i18n/engine/resources/userFeatures.fr.ts +1 -50
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.en.ts +343 -29
- package/templates/saas/i18n/engine/resources/userFlowActorExecutions.fr.ts +348 -34
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.en.ts +6 -67
- package/templates/saas/i18n/engine/resources/userFlowActorTasks.fr.ts +1 -62
- package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.en.ts +1 -3
- package/templates/saas/i18n/engine/resources/userGovernedDocumentAcceptances.fr.ts +1 -3
- package/templates/saas/i18n/engine/resources/userGuidanceState.en.ts +17 -71
- package/templates/saas/i18n/engine/resources/userGuidanceState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userIdentityLinks.en.ts +84 -118
- package/templates/saas/i18n/engine/resources/userIdentityLinks.fr.ts +1 -35
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.en.ts +50 -136
- package/templates/saas/i18n/engine/resources/userInvoiceRefs.fr.ts +1 -87
- package/templates/saas/i18n/engine/resources/userLifecycleState.en.ts +17 -71
- package/templates/saas/i18n/engine/resources/userLifecycleState.fr.ts +1 -55
- package/templates/saas/i18n/engine/resources/userNotificationBadges.en.ts +11 -68
- package/templates/saas/i18n/engine/resources/userNotificationBadges.fr.ts +1 -58
- package/templates/saas/i18n/engine/resources/userPreferences.en.ts +67 -129
- package/templates/saas/i18n/engine/resources/userPreferences.fr.ts +5 -67
- package/templates/saas/i18n/engine/resources/userProfiles.en.ts +15 -280
- package/templates/saas/i18n/engine/resources/userProfiles.fr.ts +1 -266
- package/templates/saas/i18n/engine/resources/userProgressionState.en.ts +28 -62
- package/templates/saas/i18n/engine/resources/userProgressionState.fr.ts +1 -35
- package/templates/saas/i18n/engine/resources/userProviderCredentials.en.ts +9 -58
- package/templates/saas/i18n/engine/resources/userProviderCredentials.fr.ts +11 -60
- package/templates/saas/i18n/engine/resources/userSelfPreferences.en.ts +72 -125
- package/templates/saas/i18n/engine/resources/userSelfPreferences.fr.ts +5 -58
- package/templates/saas/i18n/engine/resources/userSelfProfiles.en.ts +57 -314
- package/templates/saas/i18n/engine/resources/userSelfProfiles.fr.ts +1 -258
- package/templates/saas/i18n/engine/resources/userSubscriptions.en.ts +262 -216
- package/templates/saas/i18n/engine/resources/userSubscriptions.fr.ts +165 -119
- package/templates/saas/i18n/engine/resources/userUsageRecords.en.ts +72 -134
- package/templates/saas/i18n/engine/resources/userUsageRecords.fr.ts +1 -63
- package/templates/saas/i18n/engine/resources/user_self.en.ts +140 -320
- package/templates/saas/i18n/engine/resources/user_self.fr.ts +26 -205
- package/templates/saas/i18n/engine/resources/users.en.ts +174 -413
- package/templates/saas/i18n/engine/resources/users.fr.ts +41 -280
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchApplicationSecrets.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.en.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchAuthoredDocumentFactDeclarations.fr.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchBrandAssets.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.en.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandAudiences.fr.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchBrandLogoDirections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBrandNames.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBrandVisualTones.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.en.ts +56 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatchPlan.fr.ts +56 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.en.ts +24 -8
- package/templates/saas/i18n/engine/resources/workbenchBuildDispatches.fr.ts +24 -0
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.en.ts +140 -16
- package/templates/saas/i18n/engine/resources/workbenchBuildPlanTasks.fr.ts +140 -16
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.en.ts +347 -67
- package/templates/saas/i18n/engine/resources/workbenchBuildTasks.fr.ts +347 -67
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.en.ts +32 -8
- package/templates/saas/i18n/engine/resources/workbenchCodingLaneStatus.fr.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.en.ts +206 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceApplicabilityDecisions.fr.ts +206 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.en.ts +254 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateSetSections.fr.ts +254 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidateVariantSelections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.en.ts +107 -11
- package/templates/saas/i18n/engine/resources/workbenchComplianceCandidates.fr.ts +107 -11
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceCoverageDecisions.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.en.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceDocumentationRequirements.fr.ts +174 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.en.ts +278 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceGaps.fr.ts +278 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.en.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceImplementationDecisions.fr.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.en.ts +518 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceObligations.fr.ts +518 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceResponsibilityAssignments.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.en.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceRoleAuthorities.fr.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.en.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceScopeSelectors.fr.ts +326 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.en.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchComplianceSharedResponsibilityRules.fr.ts +246 -0
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchCompositionDecisions.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.en.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationHomeLines.fr.ts +198 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.en.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchCreationOutcomes.fr.ts +190 -0
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.en.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchDocumentFactDeclarations.fr.ts +59 -11
- package/templates/saas/i18n/engine/resources/workbenchDocumentPublicationVariants.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchDocumentReleases.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchDocumentationChapters.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.en.ts +187 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanModules.fr.ts +187 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.en.ts +67 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanRelationships.fr.ts +67 -11
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.en.ts +366 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainPlanResources.fr.ts +366 -0
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.en.ts +8 -16
- package/templates/saas/i18n/engine/resources/workbenchDomainResources.fr.ts +8 -16
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.en.ts +273 -0
- package/templates/saas/i18n/engine/resources/workbenchDossierEntries.fr.ts +273 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceConfigurations.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.en.ts +486 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceGuidance.fr.ts +486 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.en.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceMilestones.fr.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.en.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchExperienceViews.fr.ts +478 -0
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.en.ts +217 -17
- package/templates/saas/i18n/engine/resources/workbenchFeatureDrafts.fr.ts +217 -17
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.en.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchFunctionalRequirements.fr.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.en.ts +182 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceDocuments.fr.ts +182 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.en.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchGovernanceQuestions.fr.ts +32 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationInboundChannels.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.en.ts +414 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationMinions.fr.ts +414 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.en.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationProviderBindings.fr.ts +134 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.en.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchIntegrationWorkers.fr.ts +334 -0
- package/templates/saas/i18n/engine/resources/workbenchMarketAlternatives.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketBenefits.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketBuyingJourneys.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketCategories.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketChannels.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketGains.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.en.ts +127 -167
- package/templates/saas/i18n/engine/resources/workbenchMarketIcps.fr.ts +127 -167
- package/templates/saas/i18n/engine/resources/workbenchMarketJobs.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketMessageTemplates.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketObjections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketPains.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketPersonas.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketPositionings.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketProofs.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.en.ts +26 -42
- package/templates/saas/i18n/engine/resources/workbenchMarketTonesOfVoice.fr.ts +26 -42
- package/templates/saas/i18n/engine/resources/workbenchMarketTriggers.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.en.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchNonFunctionalRequirements.fr.ts +210 -42
- package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.en.ts +30 -0
- package/templates/saas/i18n/engine/resources/workbenchParkedCodingQuestions.fr.ts +30 -0
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.en.ts +75 -19
- package/templates/saas/i18n/engine/resources/workbenchPlacementDecisions.fr.ts +75 -19
- package/templates/saas/i18n/engine/resources/workbenchPlacementGroups.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.en.ts +16 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybookRuns.fr.ts +16 -0
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.en.ts +90 -22
- package/templates/saas/i18n/engine/resources/workbenchPlaybooks.fr.ts +90 -22
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.en.ts +27 -35
- package/templates/saas/i18n/engine/resources/workbenchPricingPlans.fr.ts +27 -35
- package/templates/saas/i18n/engine/resources/workbenchProcessorRegisterEntries.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchReleasePolicySelections.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.en.ts +294 -0
- package/templates/saas/i18n/engine/resources/workbenchRequirementMaturities.fr.ts +294 -0
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.en.ts +182 -38
- package/templates/saas/i18n/engine/resources/workbenchRoadmapPhases.fr.ts +182 -38
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.en.ts +146 -28
- package/templates/saas/i18n/engine/resources/workbenchRunWriteRecords.fr.ts +146 -28
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.en.ts +24 -29
- package/templates/saas/i18n/engine/resources/workbenchSpecificationArtifacts.fr.ts +24 -29
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.en.ts +165 -17
- package/templates/saas/i18n/engine/resources/workbenchTraceSessions.fr.ts +165 -17
- package/templates/saas/i18n/engine/resources/workbenchVisionConstraints.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionIdeas.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionMissions.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionProblems.fr.ts +0 -8
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.en.ts +182 -22
- package/templates/saas/i18n/engine/resources/workbenchVisionSuccessCriteria.fr.ts +182 -22
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.en.ts +8 -0
- package/templates/saas/i18n/engine/resources/workbenchWaitingPlaybookRuns.fr.ts +8 -0
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.en.ts +214 -0
- package/templates/saas/i18n/engine/resources/workbenchWebsitePages.fr.ts +214 -0
- package/templates/saas/scenarios/add-3d-layout/scenario.json +52 -0
- package/templates/saas/scenarios/add-custom-operation/files/backend-api/src/modules/__moduleDir__/resources/__resourceDir__/__resourceDir__.__operationIdentifier__.default.operation.ts.hbs +6 -1
- package/templates/saas/scenarios/add-custom-operation/scenario.json +1 -1
- package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +45 -5
- package/templates/saas/scenarios/add-file-picker-provider/scenario.json +3 -3
- package/templates/saas/scenarios/add-locale/files/website/src/pages/__localePath__/index.astro +12 -0
- package/templates/saas/scenarios/add-marketing-page/files/website/src/pages/__pageRef__.astro.hbs +12 -0
- package/templates/saas/scenarios/add-module/scenario.json +8 -1
- package/templates/saas/scenarios/add-provider/scenario.json +10 -16
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +6 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/i18n/en/code.json +678 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/ApiReferenceIndexPage.tsx +32 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/ApiResourcePage.tsx +33 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/documentation-site-words.ts +43 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/auth/exchange.tsx +6 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx +212 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/plugins/api-reference-pages.ts +104 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/SearchBar/index.tsx +8 -4
- package/templates/saas/scenarios/add-technical-doc/scenario.json +1 -1
- package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +8 -0
- package/templates/saas/scenarios/add-website/files/website/src/content/llms.txt.hbs +11 -0
- package/templates/saas/scenarios/add-website/files/website/src/i18n/en.json.hbs +4 -1
- package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +11 -0
- package/templates/saas/scenarios/add-website/files/website/src/pages/llms.txt.ts +19 -0
- package/templates/saas/scenarios/add-website/files/website/src/website-site-context.ts +18 -68
- package/templates/saas/scenarios/add-website/scenario.json +3 -4
- package/templates/saas/skeleton/CLAUDE.md.hbs +44 -49
- package/templates/saas/skeleton/backend-api/Dockerfile +2 -2
- package/templates/saas/skeleton/backend-api/src/brand-assets.generated.ts +12 -0
- package/templates/saas/skeleton/backend-api/src/saas-config.backend.ts.hbs +9 -0
- package/templates/saas/skeleton/frontend/package.json.hbs +0 -1
- package/templates/saas/skeleton/frontend/src/config/navigation.config.ts +37 -7
- package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +9 -6
- package/templates/saas/skeleton/frontend/src/engine/component-registrations.frontend.ts +5 -10
- package/templates/saas/skeleton/frontend/src/provider-contributions.ts.hbs +8 -0
- package/templates/saas/skeleton/frontend/vite.config.ts.hbs +27 -1
- package/templates/saas/skeleton/gitignore +4 -0
- package/templates/saas/skeleton/prettierignore +7 -0
- package/templates/saas/skeleton/shared-lib/src/engine/product.ts +4 -2
- package/templates/saas/skeleton/specifications/src/module-registry.specification.ts.hbs +2 -2
- package/wildo-framework.info.json +1 -1
- package/dist/src/commands/workbench/rearm-task.command.d.ts +0 -16
- package/dist/src/commands/workbench/rearm-task.command.d.ts.map +0 -1
- package/dist/src/commands/workbench/rearm-task.command.js +0 -61
- package/dist/src/commands/workbench/rearm-task.command.js.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts +0 -2
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +0 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +0 -96
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +0 -1
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts +0 -39
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +0 -1
- package/dist/src/modules/domain/credentials/providers-config.module.js +0 -154
- package/dist/src/modules/domain/credentials/providers-config.module.js.map +0 -1
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts +0 -23
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +0 -1
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js +0 -190
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.js.map +0 -1
- package/dist/src/services/brand/brand-asset-projection.d.ts +0 -39
- package/dist/src/services/brand/brand-asset-projection.d.ts.map +0 -1
- package/dist/src/services/brand/brand-asset-projection.js +0 -68
- package/dist/src/services/brand/brand-asset-projection.js.map +0 -1
- package/dist/src/services/brand/brand-destination-utils.d.ts +0 -137
- package/dist/src/services/brand/brand-destination-utils.d.ts.map +0 -1
- package/dist/src/services/brand/brand-destination-utils.js +0 -227
- package/dist/src/services/brand/brand-destination-utils.js.map +0 -1
- package/dist/src/services/brand/brand-propagation.types.d.ts +0 -101
- package/dist/src/services/brand/brand-propagation.types.d.ts.map +0 -1
- package/dist/src/services/brand/brand-propagation.types.js +0 -22
- package/dist/src/services/brand/brand-propagation.types.js.map +0 -1
- package/dist/src/services/brand/brand-ssot-reader.d.ts +0 -52
- package/dist/src/services/brand/brand-ssot-reader.d.ts.map +0 -1
- package/dist/src/services/brand/brand-ssot-reader.js +0 -146
- package/dist/src/services/brand/brand-ssot-reader.js.map +0 -1
- package/dist/src/services/brand/destinations/app-public.destination.d.ts +0 -30
- package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/app-public.destination.js +0 -79
- package/dist/src/services/brand/destinations/app-public.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts +0 -61
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/runtime-app-config.destination.js +0 -149
- package/dist/src/services/brand/destinations/runtime-app-config.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts +0 -22
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/technical-doc-static.destination.js +0 -84
- package/dist/src/services/brand/destinations/technical-doc-static.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/website-og.destination.d.ts +0 -34
- package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/website-og.destination.js +0 -80
- package/dist/src/services/brand/destinations/website-og.destination.js.map +0 -1
- package/dist/src/services/brand/destinations/website-public.destination.d.ts +0 -40
- package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +0 -1
- package/dist/src/services/brand/destinations/website-public.destination.js +0 -122
- package/dist/src/services/brand/destinations/website-public.destination.js.map +0 -1
- package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-dump2.test.js.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.d.ts.map +0 -0
- package/dist/src/services/deployment/docker/__tests__/zz-storage-render-dump.test.js.map +0 -0
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/components/VerifiedApiReference.tsx +0 -72
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/application-administration.tsx +0 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/api/index.tsx +0 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +0 -127
- package/templates/saas/scenarios/add-website/files/website/src/api-origin.ts.hbs +0 -25
- /package/templates/saas/i18n/email/resources/organizationMembers/{reactivate.user-self → reactivate.users-custom}/template.tsx +0 -0
- /package/templates/saas/i18n/email/resources/organizationMembers/{suspend.user-self → suspend.users-custom}/template.tsx +0 -0
- /package/{dist/src/services/deployment/docker/__tests__/zz-dump2.test.d.ts → templates/saas/scenarios/add-website/files/website/public/.gitkeep} +0 -0
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { cpSync, existsSync, lstatSync, mkdirSync, mkdtempSync, readdirSync, readFileSync, renameSync, rmSync, writeFileSync } from 'node:fs';
|
|
2
|
+
import { dirname, join, relative, sep } from 'node:path';
|
|
3
|
+
import { WILDO_CLAUDE_MARKETPLACE_DIRECTORY_NAME, WILDO_CLAUDE_MARKETPLACE_NAME, WILDO_CLAUDE_PLUGIN_NAME, } from './application-claude-settings.js';
|
|
4
|
+
/**
|
|
5
|
+
* Compiles the `wildo` Claude Code plugin from `framework-knowledge/src/claude-plugin/` into
|
|
6
|
+
* `framework-knowledge/dist/claude-marketplace/` (#1651, epic #1659).
|
|
7
|
+
*
|
|
8
|
+
* ## What it produces
|
|
9
|
+
*
|
|
10
|
+
* ```
|
|
11
|
+
* dist/claude-marketplace/
|
|
12
|
+
* .claude-plugin/marketplace.json one entry: the `wildo` plugin, relative source
|
|
13
|
+
* plugins/wildo/
|
|
14
|
+
* .claude-plugin/plugin.json name, VERSION = the framework-knowledge package version
|
|
15
|
+
* skills/<command>/SKILL.md the `/wildo:<command>` commands
|
|
16
|
+
* agents/*.md, hooks/, monitors/ when authored (later children of #1659)
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* An application's `.claude/settings.json` points a `directory` marketplace at this folder
|
|
20
|
+
* (`application-claude-settings.ts`), and Claude Code loads the plugin IN PLACE — so the version is
|
|
21
|
+
* the package version, with no second channel to drift.
|
|
22
|
+
*
|
|
23
|
+
* ## What it refuses, and why each
|
|
24
|
+
*
|
|
25
|
+
* - **A command with no `description`.** It is what a person sees in the `/` menu and what Claude
|
|
26
|
+
* matches a request against; a command without one is unreachable in practice.
|
|
27
|
+
* - **A command directory that is not kebab-case.** Claude Code names the command after the
|
|
28
|
+
* directory and refuses any other shape — the same refusal `wildo fwk audit` rule 22 exists for.
|
|
29
|
+
* - **A placeholder that does not expand.** Markdown is rendered through the knowledge renderer, so a
|
|
30
|
+
* `{{PARTIAL:…}}` or `{{REFERENCE:<anchor>}}` is expanded exactly as in a rule — a reference cites an
|
|
31
|
+
* anchored framework surface and stays in step with the code instead of being a hand copy that drifts.
|
|
32
|
+
* Any other placeholder, and anything left unexpanded, is refused: it would ship verbatim.
|
|
33
|
+
* - **An instruction to call `/api/companion/…`**, checked on the RENDERED file so an expanded partial
|
|
34
|
+
* is held to it too. The console's verbs are its supported surface (#1659 principle 2); a command
|
|
35
|
+
* teaching the transport is how the `journey-*` skills drifted (#1656).
|
|
36
|
+
*
|
|
37
|
+
* Staged beside the live folder and swapped only after validation, like the knowledge payload, so a
|
|
38
|
+
* failed compile never removes the last working plugin.
|
|
39
|
+
*/
|
|
40
|
+
const AUTHORED_PLUGIN_DIRECTORY_NAME = 'claude-plugin';
|
|
41
|
+
const SKILLS_DIRECTORY_NAME = 'skills';
|
|
42
|
+
/** The component directories copied from the authored source, when present. */
|
|
43
|
+
const COMPONENT_DIRECTORY_NAMES = Object.freeze(['skills', 'agents', 'hooks', 'monitors', 'references']);
|
|
44
|
+
/**
|
|
45
|
+
* The only placeholders a plugin file may carry: the ones the knowledge renderer expands without a
|
|
46
|
+
* topic, exactly as for a rule. `{{TITLE}}`, `{{SOURCE_EXCERPTS_*}}` and the like have no topic to
|
|
47
|
+
* resolve against here, so they are refused at the SOURCE rather than shipped verbatim.
|
|
48
|
+
*/
|
|
49
|
+
const RENDERABLE_PLACEHOLDER = /\{\{(?:PARTIAL|REFERENCE):[^}]+\}\}/g;
|
|
50
|
+
const KEBAB_CASE = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
|
|
51
|
+
const COMPANION_ROUTE_INSTRUCTION = /\/api\/companion\//;
|
|
52
|
+
function readFrontmatter(markdown) {
|
|
53
|
+
const match = /^---\n([\s\S]*?)\n---\n/.exec(markdown);
|
|
54
|
+
if (!match)
|
|
55
|
+
return null;
|
|
56
|
+
const fields = {};
|
|
57
|
+
for (const line of match[1].split('\n')) {
|
|
58
|
+
const field = /^([a-zA-Z-]+):\s*(.*)$/.exec(line);
|
|
59
|
+
if (field)
|
|
60
|
+
fields[field[1]] = field[2].trim();
|
|
61
|
+
}
|
|
62
|
+
return fields;
|
|
63
|
+
}
|
|
64
|
+
function listFiles(root, current = root) {
|
|
65
|
+
const files = [];
|
|
66
|
+
for (const entry of readdirSync(current, { withFileTypes: true })) {
|
|
67
|
+
const path = join(current, entry.name);
|
|
68
|
+
if (lstatSync(path).isSymbolicLink())
|
|
69
|
+
throw new Error(`The authored Claude plugin contains a symbolic link: ${path}`);
|
|
70
|
+
if (entry.isDirectory())
|
|
71
|
+
files.push(...listFiles(root, path));
|
|
72
|
+
else if (entry.isFile())
|
|
73
|
+
files.push(relative(root, path).split(sep).join('/'));
|
|
74
|
+
}
|
|
75
|
+
return files;
|
|
76
|
+
}
|
|
77
|
+
/** Validate the authored plugin source, returning the command names in order. Throws one sentence per first finding. */
|
|
78
|
+
export function validateAuthoredClaudePlugin(authoredRoot) {
|
|
79
|
+
const skillsRoot = join(authoredRoot, SKILLS_DIRECTORY_NAME);
|
|
80
|
+
const commandNames = existsSync(skillsRoot)
|
|
81
|
+
? readdirSync(skillsRoot, { withFileTypes: true }).filter((entry) => entry.isDirectory()).map((entry) => entry.name).sort()
|
|
82
|
+
: [];
|
|
83
|
+
for (const name of commandNames) {
|
|
84
|
+
if (!KEBAB_CASE.test(name))
|
|
85
|
+
throw new Error(`Claude plugin command "${name}" is not kebab-case; Claude Code names a command after its directory and refuses any other shape.`);
|
|
86
|
+
const skillPath = join(skillsRoot, name, 'SKILL.md');
|
|
87
|
+
if (!existsSync(skillPath))
|
|
88
|
+
throw new Error(`Claude plugin command "${name}" has no SKILL.md.`);
|
|
89
|
+
const frontmatter = readFrontmatter(readFileSync(skillPath, 'utf8'));
|
|
90
|
+
if (!frontmatter?.description)
|
|
91
|
+
throw new Error(`Claude plugin command "${name}" has no frontmatter description — it would be unreachable from the / menu.`);
|
|
92
|
+
}
|
|
93
|
+
for (const file of listFiles(authoredRoot)) {
|
|
94
|
+
const text = readFileSync(join(authoredRoot, ...file.split('/')), 'utf8');
|
|
95
|
+
if (text.replace(RENDERABLE_PLACEHOLDER, '').includes('{{')) {
|
|
96
|
+
throw new Error(`Claude plugin file ${file} carries a {{…}} placeholder the knowledge renderer cannot expand without a topic; only PARTIAL and REFERENCE are.`);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
return commandNames;
|
|
100
|
+
}
|
|
101
|
+
/** Every published file is checked AFTER rendering: nothing unexpanded, and no companion route. */
|
|
102
|
+
function assertRenderedPluginFile(file, text) {
|
|
103
|
+
if (text.includes('{{')) {
|
|
104
|
+
throw new Error(`Claude plugin file ${file} still carries an unexpanded {{…}} placeholder after rendering; it would ship verbatim.`);
|
|
105
|
+
}
|
|
106
|
+
if (COMPANION_ROUTE_INSTRUCTION.test(text)) {
|
|
107
|
+
throw new Error(`Claude plugin file ${file} names a /api/companion/ route; commands drive the companion through wildo verbs only (#1659).`);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
export function compileClaudePlugin(knowledgePackageHome, renderMarkdown) {
|
|
111
|
+
const authoredRoot = join(knowledgePackageHome, 'src', AUTHORED_PLUGIN_DIRECTORY_NAME);
|
|
112
|
+
if (!existsSync(authoredRoot))
|
|
113
|
+
return { outputDirectory: null, commandNames: [], version: null };
|
|
114
|
+
const commandNames = validateAuthoredClaudePlugin(authoredRoot);
|
|
115
|
+
const packageJson = JSON.parse(readFileSync(join(knowledgePackageHome, 'package.json'), 'utf8'));
|
|
116
|
+
if (!packageJson.version)
|
|
117
|
+
throw new Error(`${join(knowledgePackageHome, 'package.json')} has no version; the Claude plugin takes the package's.`);
|
|
118
|
+
const outputDirectory = join(knowledgePackageHome, 'dist', WILDO_CLAUDE_MARKETPLACE_DIRECTORY_NAME);
|
|
119
|
+
mkdirSync(dirname(outputDirectory), { recursive: true });
|
|
120
|
+
const staging = mkdtempSync(join(dirname(outputDirectory), '.claude-marketplace-staging-'));
|
|
121
|
+
try {
|
|
122
|
+
const pluginRoot = join(staging, 'plugins', WILDO_CLAUDE_PLUGIN_NAME);
|
|
123
|
+
mkdirSync(join(staging, '.claude-plugin'), { recursive: true });
|
|
124
|
+
mkdirSync(join(pluginRoot, '.claude-plugin'), { recursive: true });
|
|
125
|
+
const description = 'Drive Wildo application creation from Claude Code: run playbooks, follow the companion, answer its questions.';
|
|
126
|
+
writeFileSync(join(staging, '.claude-plugin', 'marketplace.json'), `${JSON.stringify({
|
|
127
|
+
name: WILDO_CLAUDE_MARKETPLACE_NAME,
|
|
128
|
+
// `claude plugin validate` warns on a marketplace with no description (measured on 2.1.281).
|
|
129
|
+
description: 'The Wildo framework\'s Claude Code plugin, published with the framework knowledge it belongs to.',
|
|
130
|
+
owner: { name: 'Wildo' },
|
|
131
|
+
plugins: [{ name: WILDO_CLAUDE_PLUGIN_NAME, source: `./plugins/${WILDO_CLAUDE_PLUGIN_NAME}`, description }],
|
|
132
|
+
}, null, 2)}\n`);
|
|
133
|
+
writeFileSync(join(pluginRoot, '.claude-plugin', 'plugin.json'), `${JSON.stringify({
|
|
134
|
+
name: WILDO_CLAUDE_PLUGIN_NAME,
|
|
135
|
+
version: packageJson.version,
|
|
136
|
+
description,
|
|
137
|
+
author: { name: 'Wildo' },
|
|
138
|
+
}, null, 2)}\n`);
|
|
139
|
+
for (const component of COMPONENT_DIRECTORY_NAMES) {
|
|
140
|
+
const source = join(authoredRoot, component);
|
|
141
|
+
if (existsSync(source))
|
|
142
|
+
cpSync(source, join(pluginRoot, component), { recursive: true, filter: (entry) => !entry.endsWith('.DS_Store') });
|
|
143
|
+
}
|
|
144
|
+
/*
|
|
145
|
+
* Render every markdown file through the knowledge renderer, then check what will actually ship.
|
|
146
|
+
* Without a renderer (a caller outside the generator) a placeholder stays literal and is refused
|
|
147
|
+
* below, so an unrendered plugin can never be published by accident.
|
|
148
|
+
*/
|
|
149
|
+
for (const file of listFiles(pluginRoot)) {
|
|
150
|
+
const path = join(pluginRoot, ...file.split('/'));
|
|
151
|
+
const authoredPath = join(authoredRoot, ...file.split('/'));
|
|
152
|
+
let text = readFileSync(path, 'utf8');
|
|
153
|
+
if (renderMarkdown && file.endsWith('.md')) {
|
|
154
|
+
text = renderMarkdown(authoredPath, text);
|
|
155
|
+
writeFileSync(path, text);
|
|
156
|
+
}
|
|
157
|
+
assertRenderedPluginFile(file, text);
|
|
158
|
+
}
|
|
159
|
+
const backup = `${outputDirectory}.publication-backup-${process.pid}-${Date.now()}`;
|
|
160
|
+
const hadPrior = existsSync(outputDirectory);
|
|
161
|
+
try {
|
|
162
|
+
if (hadPrior)
|
|
163
|
+
renameSync(outputDirectory, backup);
|
|
164
|
+
renameSync(staging, outputDirectory);
|
|
165
|
+
if (hadPrior)
|
|
166
|
+
rmSync(backup, { recursive: true, force: true });
|
|
167
|
+
}
|
|
168
|
+
catch (error) {
|
|
169
|
+
if (!existsSync(outputDirectory) && existsSync(backup))
|
|
170
|
+
renameSync(backup, outputDirectory);
|
|
171
|
+
throw error;
|
|
172
|
+
}
|
|
173
|
+
return { outputDirectory, commandNames, version: packageJson.version };
|
|
174
|
+
}
|
|
175
|
+
finally {
|
|
176
|
+
rmSync(staging, { recursive: true, force: true });
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
//# sourceMappingURL=claude-plugin-compiler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"claude-plugin-compiler.js","sourceRoot":"","sources":["../../../../../../src/services/framework/claude-plugin-compiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC9I,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAEzD,OAAO,EACL,uCAAuC,EACvC,6BAA6B,EAC7B,wBAAwB,GACzB,MAAM,+BAA+B,CAAC;AAEvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,MAAM,8BAA8B,GAAG,eAAe,CAAC;AACvD,MAAM,qBAAqB,GAAG,QAAQ,CAAC;AACvC,+EAA+E;AAC/E,MAAM,yBAAyB,GAAsB,MAAM,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,CAAC,CAAC,CAAC;AAC5H;;;;GAIG;AACH,MAA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CAAC,eAAe,CAAC,CAAC;QAC7C,IAAI,CAAC;YACH,IAAI,QAAQ;gBAAE,UAAU,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;YAClD,UAAU,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC;YACrC,IAAI,QAAQ;gBAAE,MAAM,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;QACjE,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,IAAI,UAAU,CAAC,MAAM,CAAC;gBAAE,UAAU,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;YAC5F,MAAM,KAAK,CAAC;QACd,CAAC;QACD,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,CAAC;IACzE,CAAC;YAAS,CAAC;QACT,MAAM,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IACpD,CAAC;AACH,CAAC","sourcesContent":["import { cpSync, existsSync, lstatSync, mkdirSync, mkdtempSync, readdirSync, readFileSync, renameSync, rmSync, writeFileSync } from 'node:fs';\nimport { dirname, join, relative, sep } from 'node:path';\n\nimport {\n WILDO_CLAUDE_MARKETPLACE_DIRECTORY_NAME,\n WILDO_CLAUDE_MARKETPLACE_NAME,\n WILDO_CLAUDE_PLUGIN_NAME,\n} from './application-claude-settings';\n\n/**\n * Compiles the `wildo` Claude Code plugin from `framework-knowledge/src/claude-plugin/` into\n * `framework-knowledge/dist/claude-marketplace/` (#1651, epic #1659).\n *\n * ## What it produces\n *\n * ```\n * dist/claude-marketplace/\n * .claude-plugin/marketplace.json one entry: the `wildo` plugin, relative source\n * plugins/wildo/\n * .claude-plugin/plugin.json name, VERSION = the framework-knowledge package version\n * skills/<command>/SKILL.md the `/wildo:<command>` commands\n * agents/*.md, hooks/, monitors/ when authored (later children of #1659)\n * ```\n *\n * An application's `.claude/settings.json` points a `directory` marketplace at this folder\n * (`application-claude-settings.ts`), and Claude Code loads the plugin IN PLACE — so the version is\n * the package version, with no second channel to drift.\n *\n * ## What it refuses, and why each\n *\n * - **A command with no `description`.** It is what a person sees in the `/` menu and what Claude\n * matches a request against; a command without one is unreachable in practice.\n * - **A command directory that is not kebab-case.** Claude Code names the command after the\n * directory and refuses any other shape — the same refusal `wildo fwk audit` rule 22 exists for.\n * - **A placeholder that does not expand.** Markdown is rendered through the knowledge renderer, so a\n * `{{PARTIAL:…}}` or `{{REFERENCE:<anchor>}}` is expanded exactly as in a rule — a reference cites an\n * anchored framework surface and stays in step with the code instead of being a hand copy that drifts.\n * Any other placeholder, and anything left unexpanded, is refused: it would ship verbatim.\n * - **An instruction to call `/api/companion/…`**, checked on the RENDERED file so an expanded partial\n * is held to it too. The console's verbs are its supported surface (#1659 principle 2); a command\n * teaching the transport is how the `journey-*` skills drifted (#1656).\n *\n * Staged beside the live folder and swapped only after validation, like the knowledge payload, so a\n * failed compile never removes the last working plugin.\n */\n\nconst AUTHORED_PLUGIN_DIRECTORY_NAME = 'claude-plugin';\nconst SKILLS_DIRECTORY_NAME = 'skills';\n/** The component directories copied from the authored source, when present. */\nconst COMPONENT_DIRECTORY_NAMES: readonly string[] = Object.freeze(['skills', 'agents', 'hooks', 'monitors', 'references']);\n/**\n * The only placeholders a plugin file may carry: the ones the knowledge renderer expands without a\n * topic, exactly as for a rule. `{{TITLE}}`, `{{SOURCE_EXCERPTS_*}}` and the like have no topic to\n * resolve against here, so they are refused at the SOURCE rather than shipped verbatim.\n */\nconst RENDERABLE_PLACEHOLDER = /\\{\\{(?:PARTIAL|REFERENCE):[^}]+\\}\\}/g;\nconst KEBAB_CASE = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;\nconst COMPANION_ROUTE_INSTRUCTION = /\\/api\\/companion\\//;\n\nexport interface ClaudePluginCompilationResult {\n /** `null` when no plugin is authored — the knowledge payload is still complete without one. */\n readonly outputDirectory: string | null;\n readonly commandNames: readonly string[];\n readonly version: string | null;\n}\n\nfunction readFrontmatter(markdown: string): Record<string, string> | null {\n const match = /^---\\n([\\s\\S]*?)\\n---\\n/.exec(markdown);\n if (!match) return null;\n const fields: Record<string, string> = {};\n for (const line of match[1]!.split('\\n')) {\n const field = /^([a-zA-Z-]+):\\s*(.*)$/.exec(line);\n if (field) fields[field[1]!] = field[2]!.trim();\n }\n return fields;\n}\n\nfunction listFiles(root: string, current = root): string[] {\n const files: string[] = [];\n for (const entry of readdirSync(current, { withFileTypes: true })) {\n const path = join(current, entry.name);\n if (lstatSync(path).isSymbolicLink()) throw new Error(`The authored Claude plugin contains a symbolic link: ${path}`);\n if (entry.isDirectory()) files.push(...listFiles(root, path));\n else if (entry.isFile()) files.push(relative(root, path).split(sep).join('/'));\n }\n return files;\n}\n\n/** Validate the authored plugin source, returning the command names in order. Throws one sentence per first finding. */\nexport function validateAuthoredClaudePlugin(authoredRoot: string): string[] {\n const skillsRoot = join(authoredRoot, SKILLS_DIRECTORY_NAME);\n const commandNames = existsSync(skillsRoot)\n ? readdirSync(skillsRoot, { withFileTypes: true }).filter((entry) => entry.isDirectory()).map((entry) => entry.name).sort()\n : [];\n for (const name of commandNames) {\n if (!KEBAB_CASE.test(name)) throw new Error(`Claude plugin command \"${name}\" is not kebab-case; Claude Code names a command after its directory and refuses any other shape.`);\n const skillPath = join(skillsRoot, name, 'SKILL.md');\n if (!existsSync(skillPath)) throw new Error(`Claude plugin command \"${name}\" has no SKILL.md.`);\n const frontmatter = readFrontmatter(readFileSync(skillPath, 'utf8'));\n if (!frontmatter?.description) throw new Error(`Claude plugin command \"${name}\" has no frontmatter description — it would be unreachable from the / menu.`);\n }\n for (const file of listFiles(authoredRoot)) {\n const text = readFileSync(join(authoredRoot, ...file.split('/')), 'utf8');\n if (text.replace(RENDERABLE_PLACEHOLDER, '').includes('{{')) {\n throw new Error(`Claude plugin file ${file} carries a {{…}} placeholder the knowledge renderer cannot expand without a topic; only PARTIAL and REFERENCE are.`);\n }\n }\n return commandNames;\n}\n\n/**\n * Compile and publish the plugin. `knowledgePackageHome` is the `@wildo-ai/framework-knowledge`\n * package root of a framework checkout; the output lands beside its `dist/knowledge`.\n */\n/** Renders one authored markdown file — `{{PARTIAL:…}}` and `{{REFERENCE:…}}` expanded — supplied by the knowledge generator. */\nexport type ClaudePluginMarkdownRenderer = (sourcePath: string, content: string) => string;\n\n/** Every published file is checked AFTER rendering: nothing unexpanded, and no companion route. */\nfunction assertRenderedPluginFile(file: string, text: string): void {\n if (text.includes('{{')) {\n throw new Error(`Claude plugin file ${file} still carries an unexpanded {{…}} placeholder after rendering; it would ship verbatim.`);\n }\n if (COMPANION_ROUTE_INSTRUCTION.test(text)) {\n throw new Error(`Claude plugin file ${file} names a /api/companion/ route; commands drive the companion through wildo verbs only (#1659).`);\n }\n}\n\nexport function compileClaudePlugin(knowledgePackageHome: string, renderMarkdown?: ClaudePluginMarkdownRenderer): ClaudePluginCompilationResult {\n const authoredRoot = join(knowledgePackageHome, 'src', AUTHORED_PLUGIN_DIRECTORY_NAME);\n if (!existsSync(authoredRoot)) return { outputDirectory: null, commandNames: [], version: null };\n\n const commandNames = validateAuthoredClaudePlugin(authoredRoot);\n const packageJson = JSON.parse(readFileSync(join(knowledgePackageHome, 'package.json'), 'utf8')) as { version?: string; description?: string };\n if (!packageJson.version) throw new Error(`${join(knowledgePackageHome, 'package.json')} has no version; the Claude plugin takes the package's.`);\n\n const outputDirectory = join(knowledgePackageHome, 'dist', WILDO_CLAUDE_MARKETPLACE_DIRECTORY_NAME);\n mkdirSync(dirname(outputDirectory), { recursive: true });\n const staging = mkdtempSync(join(dirname(outputDirectory), '.claude-marketplace-staging-'));\n try {\n const pluginRoot = join(staging, 'plugins', WILDO_CLAUDE_PLUGIN_NAME);\n mkdirSync(join(staging, '.claude-plugin'), { recursive: true });\n mkdirSync(join(pluginRoot, '.claude-plugin'), { recursive: true });\n const description = 'Drive Wildo application creation from Claude Code: run playbooks, follow the companion, answer its questions.';\n writeFileSync(join(staging, '.claude-plugin', 'marketplace.json'), `${JSON.stringify({\n name: WILDO_CLAUDE_MARKETPLACE_NAME,\n // `claude plugin validate` warns on a marketplace with no description (measured on 2.1.281).\n description: 'The Wildo framework\\'s Claude Code plugin, published with the framework knowledge it belongs to.',\n owner: { name: 'Wildo' },\n plugins: [{ name: WILDO_CLAUDE_PLUGIN_NAME, source: `./plugins/${WILDO_CLAUDE_PLUGIN_NAME}`, description }],\n }, null, 2)}\\n`);\n writeFileSync(join(pluginRoot, '.claude-plugin', 'plugin.json'), `${JSON.stringify({\n name: WILDO_CLAUDE_PLUGIN_NAME,\n version: packageJson.version,\n description,\n author: { name: 'Wildo' },\n }, null, 2)}\\n`);\n for (const component of COMPONENT_DIRECTORY_NAMES) {\n const source = join(authoredRoot, component);\n if (existsSync(source)) cpSync(source, join(pluginRoot, component), { recursive: true, filter: (entry) => !entry.endsWith('.DS_Store') });\n }\n /*\n * Render every markdown file through the knowledge renderer, then check what will actually ship.\n * Without a renderer (a caller outside the generator) a placeholder stays literal and is refused\n * below, so an unrendered plugin can never be published by accident.\n */\n for (const file of listFiles(pluginRoot)) {\n const path = join(pluginRoot, ...file.split('/'));\n const authoredPath = join(authoredRoot, ...file.split('/'));\n let text = readFileSync(path, 'utf8');\n if (renderMarkdown && file.endsWith('.md')) {\n text = renderMarkdown(authoredPath, text);\n writeFileSync(path, text);\n }\n assertRenderedPluginFile(file, text);\n }\n\n const backup = `${outputDirectory}.publication-backup-${process.pid}-${Date.now()}`;\n const hadPrior = existsSync(outputDirectory);\n try {\n if (hadPrior) renameSync(outputDirectory, backup);\n renameSync(staging, outputDirectory);\n if (hadPrior) rmSync(backup, { recursive: true, force: true });\n } catch (error) {\n if (!existsSync(outputDirectory) && existsSync(backup)) renameSync(backup, outputDirectory);\n throw error;\n }\n return { outputDirectory, commandNames, version: packageJson.version };\n } finally {\n rmSync(staging, { recursive: true, force: true });\n }\n}\n"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type ApplicationClaudeSettingsOutcome } from './application-claude-settings';
|
|
1
2
|
import { type FrameworkKnowledgeApplicationGuidanceFinding } from '../../services/framework/framework-knowledge-application-guidance.validator';
|
|
2
3
|
export interface FrameworkDevelopmentSkillsSyncInput {
|
|
3
4
|
/**
|
|
@@ -33,6 +34,12 @@ export interface FrameworkDevelopmentSkillsSyncResult {
|
|
|
33
34
|
* reports it.
|
|
34
35
|
*/
|
|
35
36
|
readonly ruleImports: FrameworkDevelopmentRuleImportOutcome;
|
|
37
|
+
/**
|
|
38
|
+
* What became of the application's `.claude/settings.json`: the `wildo` Claude Code plugin and the
|
|
39
|
+
* console's read-only permissions (#1651). Returned for the same reason as `ruleImports` — a plugin
|
|
40
|
+
* nothing enables is exactly as silent as a rule nothing imports.
|
|
41
|
+
*/
|
|
42
|
+
readonly claudeSettings: ApplicationClaudeSettingsOutcome;
|
|
36
43
|
}
|
|
37
44
|
/** The outcome of pointing an application's own guidance file at the rules just installed. */
|
|
38
45
|
export interface FrameworkDevelopmentRuleImportOutcome {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"framework-development-skills-sync.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/framework/framework-development-skills-sync.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,KAAK,4CAA4C,EAClD,MAAM,kFAAkF,CAAC;AA4B1F,MAAM,WAAW,mCAAmC;IAClD;;;;OAIG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC;;;;;;;;OAQG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;CAClC;AAQD,MAAM,WAAW,oCAAoC;IACnD,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,kBAAkB,EAAE,SAAS,4CAA4C,EAAE,CAAC;IACrF;;;;;;OAMG;IACH,QAAQ,CAAC,WAAW,EAAE,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"framework-development-skills-sync.service.d.ts","sourceRoot":"","sources":["../../../../../../src/services/framework/framework-development-skills-sync.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAGL,KAAK,gCAAgC,EACtC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,KAAK,4CAA4C,EAClD,MAAM,kFAAkF,CAAC;AA4B1F,MAAM,WAAW,mCAAmC;IAClD;;;;OAIG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC;;;;;;;;OAQG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;CAClC;AAQD,MAAM,WAAW,oCAAoC;IACnD,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,kBAAkB,EAAE,SAAS,4CAA4C,EAAE,CAAC;IACrF;;;;;;OAMG;IACH,QAAQ,CAAC,WAAW,EAAE,qCAAqC,CAAC;IAC5D;;;;OAIG;IACH,QAAQ,CAAC,cAAc,EAAE,gCAAgC,CAAC;CAC3D;AAED,8FAA8F;AAC9F,MAAM,WAAW,qCAAqC;IACpD,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,+FAA+F;IAC/F,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,uGAAuG;AACvG,oBAAY,+CAA+C;IACzD,SAAS,eAAe;IACxB,sBAAsB,6BAA6B;IACnD,sBAAsB,6BAA6B;IACnD,MAAM,WAAW;IACjB,kBAAkB,yBAAyB;IAC3C,YAAY,kBAAkB;IAC9B,eAAe,qBAAqB;IACpC,eAAe,qBAAqB;IACpC,eAAe,sBAAsB;IACrC,2BAA2B,mCAAmC;CAC/D;AAED,KAAK,0CAA0C,GAAG,CAChD,SAAS,EAAE,+CAA+C,EAC1D,UAAU,EAAE,MAAM,KACf,IAAI,CAAC;AAIV;;;;;GAKG;AACH,wBAAgB,qDAAqD,CACnE,IAAI,EAAE,0CAA0C,GAAG,SAAS,GAC3D,IAAI,CAEN;AA8RD;;;;GAIG;AACH,qBAAa,qCAAqC;IAChD,mEAAmE;IACnE,OAAO,CAAC,MAAM,CAAC,8BAA8B;IAS7C;;;;OAIG;IACH,OAAO,CAAC,MAAM,CAAC,+BAA+B;IAS9C;;;;;;OAMG;IACH,OAAO,CAAC,MAAM,CAAC,0BAA0B;IAmCzC,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,mCAAmC,GAAG,oCAAoC;CAyO9F"}
|
|
@@ -2,6 +2,7 @@ import { existsSync, lstatSync, mkdirSync, mkdtempSync, readFileSync, readdirSyn
|
|
|
2
2
|
import { dirname, isAbsolute, join, relative, resolve, sep } from 'node:path';
|
|
3
3
|
import { resolveFrameworkLayout } from '@wildo-ai/platform-config-lib';
|
|
4
4
|
import { applyApplicationRuleImports } from './application-rule-imports.js';
|
|
5
|
+
import { WILDO_CLAUDE_MARKETPLACE_DIRECTORY_NAME, syncApplicationClaudeSettings, } from './application-claude-settings.js';
|
|
5
6
|
import { FrameworkKnowledgeApplicationGuidanceValidator, } from '../../services/framework/framework-knowledge-application-guidance.validator.js';
|
|
6
7
|
import { describeCaughtError } from '@wildo-ai/saas-backend-lib';
|
|
7
8
|
const SKILLS_DIRECTORY_NAME = 'skills';
|
|
@@ -570,8 +571,23 @@ export class FrameworkDevelopmentSkillsSyncService {
|
|
|
570
571
|
* installed correctly and the state is exactly what it is today — the worst case, and no worse.
|
|
571
572
|
*/
|
|
572
573
|
const ruleImports = FrameworkDevelopmentSkillsSyncService.syncApplicationRuleImports(applicationRoot, desiredManagedPaths);
|
|
574
|
+
/*
|
|
575
|
+
* Wire the application's Claude Code settings to the compiled `wildo` plugin (#1651).
|
|
576
|
+
*
|
|
577
|
+
* AFTER the transactional install and outside it, like the rule imports: `settings.json` belongs
|
|
578
|
+
* to the application, is merged key by key, and is never rolled back. The marketplace sits beside
|
|
579
|
+
* `dist/knowledge`; for an installed package it is addressed through the LOGICAL path the caller
|
|
580
|
+
* passed (`node_modules/@wildo-ai/framework-knowledge/…`), never the pnpm store path the knowledge
|
|
581
|
+
* root was canonicalized to, which would break at the next upgrade.
|
|
582
|
+
*/
|
|
583
|
+
const logicalKnowledgeOutputHome = frameworkRoot === null ? input.knowledgeOutputHome : knowledgeSource.outputHome;
|
|
584
|
+
const claudeSettings = syncApplicationClaudeSettings({
|
|
585
|
+
applicationRoot: input.applicationRoot,
|
|
586
|
+
marketplaceDirectory: join(dirname(logicalKnowledgeOutputHome), WILDO_CLAUDE_MARKETPLACE_DIRECTORY_NAME),
|
|
587
|
+
});
|
|
573
588
|
return {
|
|
574
589
|
ruleImports,
|
|
590
|
+
claudeSettings,
|
|
575
591
|
sourceDirectory,
|
|
576
592
|
targetDirectory: targetSkillsDirectory,
|
|
577
593
|
installedCount,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"framework-development-skills-sync.service.js","sourceRoot":"","sources":["../../../../../../src/services/framework/framework-development-skills-sync.service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,SAAS,EACT,SAAS,EACT,WAAW,EACX,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,UAA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,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;YAE9F;;;;;;;;eAQG;YACH,MAAM,WAAW,GAAG,qCAAqC,CAAC,0BAA0B,CAClF,eAAe,EACf,mBAAmB,CACpB,CAAC;YAEF,OAAO;gBACL,WAAW;gBACX,eAAe;gBACf,eAAe,EAAE,qBAAqB;gBACtC,cAAc;gBACd,YAAY;gBACZ,YAAY,EAAE,iBAAiB,CAAC,MAAM;gBACtC,kBAAkB;aACnB,CAAC;QACJ,CAAC;gBAAS,CAAC;YACT,QAAQ,CAAC,sBAAsB,CAAC,uBAAuB,CAAC,CAAC;QAC3D,CAAC;IACH,CAAC;CACF","sourcesContent":["import {\n existsSync,\n lstatSync,\n mkdirSync,\n mkdtempSync,\n readFileSync,\n readdirSync,\n realpathSync,\n renameSync,\n rmdirSync,\n rmSync,\n writeFileSync,\n} from 'node:fs';\nimport { dirname, isAbsolute, join, relative, resolve, sep } from 'node:path';\nimport { resolveFrameworkLayout } from '@wildo-ai/platform-config-lib';\nimport { applyApplicationRuleImports } from './application-rule-imports';\nimport {\n FrameworkKnowledgeApplicationGuidanceValidator,\n type FrameworkKnowledgeApplicationGuidanceFinding,\n} from '~wildo-cli/services/framework/framework-knowledge-application-guidance.validator';\n\nimport { describeCaughtError } from '@wildo-ai/saas-backend-lib';\nconst SKILLS_DIRECTORY_NAME = 'skills';\n/**\n * Compiled always-on rules, installed beside the skills under `.claude/`.\n *\n * A skill is reached when the router matches a request description; a rule must be present when the\n * agent opens a matching file, without being asked for. Issue #98: the channel was documented as\n * delivered and nothing compiled or installed it.\n */\nconst RULES_DIRECTORY_NAME = 'rules';\nconst SKILLS_INDEX_FILE_NAME = 'INDEX.md';\n/** Every directory below `.claude/` this materializer writes — the one list the writer and the reader share. */\nconst MANAGED_DIRECTORY_NAMES: readonly string[] = Object.freeze([SKILLS_DIRECTORY_NAME, RULES_DIRECTORY_NAME]);\nconst MANAGED_STATE_DIRECTORY_NAME = '.wildo-framework-knowledge';\nconst MANAGED_STATE_FILE_NAME = 'dev-skills-manifest.json';\n// This is deliberately a hard cut. The original pre-release manifest claimed\n// ownership of whole directories, which can erase an application's nested\n// file. We refuse that state rather than silently reading/migrating it.\nconst MANAGED_STATE_SCHEMA_VERSION = 2;\n\ninterface FrameworkDevelopmentSkillsManagedState {\n readonly schemaVersion: number;\n /** Exact files below `.claude/` written by this materializer, never directories or host paths. */\n readonly managedRelativePaths: readonly string[];\n}\n\nexport interface FrameworkDevelopmentSkillsSyncInput {\n /**\n * A framework CHECKOUT. The compiled knowledge is read from its layout\n * (`platform/factory/framework-knowledge/dist/knowledge`) and validated against the checkout's\n * package export index before anything is materialized. Framework-developer lane.\n */\n readonly frameworkRoot?: string;\n /**\n * A compiled knowledge root (`<something>/dist/knowledge`) with NO checkout around it — the\n * `@wildo-ai/framework-knowledge` package an application installed from npm. App-creator lane.\n *\n * No guidance validation runs on this input, deliberately: the validator needs the checkout's\n * package export index to decide what a skill may import, and an installed package HAS no\n * checkout. The same validator gated `wildo fwk generate-docs` when this payload was produced,\n * so what is installed here was validated once, at the source, against the version it names.\n */\n readonly knowledgeOutputHome?: string;\n readonly applicationRoot: string;\n}\n\ninterface FrameworkKnowledgeSourceHomes {\n readonly outputHome: string;\n readonly skillsHome: string;\n readonly rulesHome: string;\n}\n\nexport interface FrameworkDevelopmentSkillsSyncResult {\n readonly sourceDirectory: string;\n readonly targetDirectory: string;\n readonly installedCount: number;\n readonly updatedCount: number;\n readonly removedCount: number;\n readonly validationFindings: readonly FrameworkKnowledgeApplicationGuidanceFinding[];\n /**\n * What became of the application `CLAUDE.md`'s managed rule-import block (issue #314).\n *\n * Returned rather than logged: this service has no logger, and an installed rule that nothing\n * imports is precisely the silent state being closed — so the caller is handed the fact and\n * reports it.\n */\n readonly ruleImports: FrameworkDevelopmentRuleImportOutcome;\n}\n\n/** The outcome of pointing an application's own guidance file at the rules just installed. */\nexport interface FrameworkDevelopmentRuleImportOutcome {\n readonly ruleCount: number;\n readonly updated: boolean;\n /** Present when the imports could NOT be written — the rules are installed and unreachable. */\n readonly warning?: string;\n}\n\n/** Named operation vocabulary makes hostile publication tests describe the exact mutation boundary. */\nexport enum FrameworkDevelopmentSkillsSyncMutationOperation {\n StageFile = 'stage-file',\n CreateStagingDirectory = 'create-staging-directory',\n RemoveStagingDirectory = 'remove-staging-directory',\n Backup = 'backup',\n PublishManagedFile = 'publish-managed-file',\n PublishState = 'publish-state',\n RollbackRemoval = 'rollback-removal',\n RollbackRestore = 'rollback-restore',\n RemoveStaleFile = 'remove-stale-file',\n RemoveEmptyManagedDirectory = 'remove-empty-managed-directory',\n}\n\ntype FrameworkDevelopmentSkillsSyncMutationHook = (\n operation: FrameworkDevelopmentSkillsSyncMutationOperation,\n targetPath: string,\n) => void;\n\nlet beforeMutationHookForTests: FrameworkDevelopmentSkillsSyncMutationHook | undefined;\n\n/**\n * @internal Test seam only. Node exposes no portable `openat`/directory-file-\n * descriptor API, so the materializer must prove that its before/after\n * physical-root checks reject a staging-window substitution. Production code\n * never configures this hook.\n */\nexport function setFrameworkDevelopmentSkillsSyncMutationHookForTests(\n hook: FrameworkDevelopmentSkillsSyncMutationHook | undefined,\n): void {\n beforeMutationHookForTests = hook;\n}\n\nfunction isPathBelow(root: string, candidate: string): boolean {\n const candidateRelativePath = relative(root, candidate);\n return candidateRelativePath === '' || (!candidateRelativePath.startsWith(`..${sep}`) && candidateRelativePath !== '..' && !isAbsolute(candidateRelativePath));\n}\n\nfunction assertCanonicalExistingDirectory(input: string, purpose: string): string {\n if (!isAbsolute(input)) throw new Error(`${purpose} must be an absolute path; relative target selection is not trusted.`);\n const candidate = resolve(input);\n if (!existsSync(candidate)) throw new Error(`${purpose} does not exist: ${candidate}`);\n const status = lstatSync(candidate);\n if (status.isSymbolicLink() || !status.isDirectory()) {\n throw new Error(`${purpose} must be a canonical non-symlink directory: ${candidate}`);\n }\n // `/var` is an OS-provided alias of `/private/var` on macOS. Reject an\n // actual leaf symlink, then retain the physical path for containment checks\n // instead of treating that platform alias as hostile target substitution.\n return realpathSync(candidate);\n}\n\nfunction assertCanonicalRelativePath(value: string, purpose: string): void {\n if (!value || value.startsWith('/') || value.includes('\\\\') || value.split('/').some((part) => !part || part === '.' || part === '..')) {\n throw new Error(`${purpose} must be a canonical relative POSIX path.`);\n }\n}\n\nfunction listRegularFiles(root: string, currentDirectory = root): string[] {\n const entries = readdirSync(currentDirectory, { withFileTypes: true }).sort((left, right) => left.name.localeCompare(right.name));\n const files: string[] = [];\n for (const entry of entries) {\n const entryPath = join(currentDirectory, entry.name);\n const status = lstatSync(entryPath);\n if (status.isSymbolicLink()) throw new Error(`Framework Knowledge source contains a symbolic link: ${entryPath}`);\n if (status.isDirectory()) {\n files.push(...listRegularFiles(root, entryPath));\n } else if (status.isFile()) {\n files.push(relative(root, entryPath).split(sep).join('/'));\n } else {\n throw new Error(`Framework Knowledge source contains a non-regular file: ${entryPath}`);\n }\n }\n return files;\n}\n\nfunction parseManagedState(path: string): FrameworkDevelopmentSkillsManagedState {\n const parsed = JSON.parse(readFileSync(path, 'utf8')) as Partial<FrameworkDevelopmentSkillsManagedState>;\n if (parsed.schemaVersion !== MANAGED_STATE_SCHEMA_VERSION || !Array.isArray(parsed.managedRelativePaths)) {\n throw new Error('Framework development skills state is unrecognized; refuse to guess which application files are managed. Rebootstrap this pre-release target.');\n }\n for (const managedPath of parsed.managedRelativePaths) {\n if (typeof managedPath !== 'string') throw new Error('Framework development skills state contains a non-string managed path.');\n assertCanonicalRelativePath(managedPath, 'Framework development skills managed path');\n /*\n * Both delivered channels, and the reader must know about every one the writer emits.\n *\n * This admitted only `skills/` until 2026-08-30, while the #98 fix had already taught the writer\n * to install `rules/`. So the materializer wrote a manifest it then REFUSED TO READ: it succeeded\n * exactly once per application and failed permanently afterwards, with a message asserting a\n * policy the same file had stopped following. Reproduced on both dogfood applications.\n *\n * The guard's real job is unchanged — refuse a manifest claiming any path outside the directories\n * this materializer owns, so a corrupted state file cannot make it delete an application's own\n * work. That is why this is an explicit two-entry allow-list and not a relaxation.\n */\n if (!MANAGED_DIRECTORY_NAMES.some((directoryName) => managedPath.startsWith(`${directoryName}/`))) {\n throw new Error(\n `Framework development skills state may manage only exact canonical .claude/{${MANAGED_DIRECTORY_NAMES.join(',')}} files.`,\n );\n }\n }\n return {\n schemaVersion: MANAGED_STATE_SCHEMA_VERSION,\n managedRelativePaths: [...new Set(parsed.managedRelativePaths)].sort((left, right) => left.localeCompare(right)),\n };\n}\n\n/**\n * All application-tree effects pass through this boundary.\n *\n * Node's portable filesystem API cannot hold directory descriptors and perform\n * `openat`-style no-follow mutations. We therefore do not claim an atomic OS\n * no-follow guarantee. Instead this boundary pins the original application\n * root identity and re-checks complete ancestry immediately before and after\n * every target mutation. A detected replacement fails closed before a managed\n * write is attempted; the hostile test exercises that exact staging window.\n */\nclass PhysicalApplicationMutationBoundary {\n private readonly rootDevice: number;\n private readonly rootInode: number;\n\n constructor(private readonly applicationRoot: string) {\n const rootStatus = lstatSync(applicationRoot);\n if (rootStatus.isSymbolicLink() || !rootStatus.isDirectory()) {\n throw new Error('Application target root must be a physical non-symlink directory.');\n }\n this.rootDevice = rootStatus.dev;\n this.rootInode = rootStatus.ino;\n this.assertRootIdentity();\n }\n\n ensureDirectory(relativeDirectory: string, purpose: string): string {\n const directoryPath = this.resolveRelativePath(relativeDirectory, purpose);\n this.assertRootIdentity();\n const segments = relative(this.applicationRoot, directoryPath).split(sep).filter(Boolean);\n let cursor = this.applicationRoot;\n for (const segment of segments) {\n cursor = join(cursor, segment);\n if (!existsSync(cursor)) mkdirSync(cursor);\n this.assertPhysicalDirectory(cursor, purpose);\n }\n this.assertRootIdentity();\n return directoryPath;\n }\n\n pathExists(relativePath: string, purpose: string): boolean {\n const path = this.resolveRelativePath(relativePath, purpose);\n this.assertRootIdentity();\n this.assertPhysicalAncestry(dirname(path), purpose);\n return existsSync(path);\n }\n\n writeRegularFile(relativeFile: string, content: string | Uint8Array, purpose: string): void {\n const filePath = this.resolveRelativePath(relativeFile, purpose);\n this.ensureDirectory(relative(this.applicationRoot, dirname(filePath)), purpose);\n this.mutate(FrameworkDevelopmentSkillsSyncMutationOperation.StageFile, filePath, () => {\n if (existsSync(filePath)) throw new Error(`${purpose} already exists: ${filePath}`);\n writeFileSync(filePath, content);\n });\n this.assertRegularFile(relativeFile, purpose);\n }\n\n createStagingDirectory(prefix: string): string {\n const stagingRoot = join(this.applicationRoot, prefix);\n let createdPath: string | undefined;\n this.mutate(FrameworkDevelopmentSkillsSyncMutationOperation.CreateStagingDirectory, stagingRoot, () => {\n // `mkdtempSync` creates one random sibling below the trusted root. Its\n // result is immediately revalidated before it becomes a staging input.\n createdPath = mkdtempSync(stagingRoot);\n this.assertPhysicalDirectory(createdPath, 'Framework development skill staging');\n });\n if (!createdPath) throw new Error('Framework development skill staging creation did not yield a trusted directory.');\n return relative(this.applicationRoot, createdPath).split(sep).join('/');\n }\n\n removeStagingDirectory(relativeDirectory: string): void {\n const directoryPath = this.resolveRelativePath(relativeDirectory, 'Framework development skill staging cleanup');\n if (!existsSync(directoryPath)) return;\n this.assertPhysicalDirectory(directoryPath, 'Framework development skill staging cleanup');\n this.mutate(FrameworkDevelopmentSkillsSyncMutationOperation.RemoveStagingDirectory, directoryPath, () => {\n this.assertPhysicalDirectory(directoryPath, 'Framework development skill staging cleanup');\n rmSync(directoryPath, { recursive: true, force: true });\n });\n }\n\n assertRegularFile(relativeFile: string, purpose: string): string {\n const filePath = this.resolveRelativePath(relativeFile, purpose);\n this.assertRootIdentity();\n this.assertPhysicalAncestry(dirname(filePath), purpose);\n if (!existsSync(filePath)) throw new Error(`${purpose} does not exist: ${filePath}`);\n const status = lstatSync(filePath);\n if (status.isSymbolicLink() || !status.isFile()) throw new Error(`${purpose} must be a regular non-symlink file: ${filePath}`);\n return filePath;\n }\n\n moveRegularFile(params: {\n readonly operation: FrameworkDevelopmentSkillsSyncMutationOperation;\n readonly sourceRelativePath: string;\n readonly destinationRelativePath: string;\n readonly sourcePurpose: string;\n readonly destinationPurpose: string;\n }): void {\n const sourcePath = this.assertRegularFile(params.sourceRelativePath, params.sourcePurpose);\n const destinationPath = this.resolveRelativePath(params.destinationRelativePath, params.destinationPurpose);\n this.ensureDirectory(relative(this.applicationRoot, dirname(destinationPath)), params.destinationPurpose);\n this.mutate(params.operation, destinationPath, () => {\n this.assertRegularFile(params.sourceRelativePath, params.sourcePurpose);\n if (existsSync(destinationPath)) {\n throw new Error(`${params.destinationPurpose} already exists and cannot be replaced by this operation: ${destinationPath}`);\n }\n renameSync(sourcePath, destinationPath);\n });\n this.assertRegularFile(params.destinationRelativePath, params.destinationPurpose);\n }\n\n moveExistingManagedFileToBackup(managedRelativePath: string, backupRelativePath: string): boolean {\n const sourcePath = this.resolveRelativePath(managedRelativePath, 'Managed application guidance');\n if (!existsSync(sourcePath)) return false;\n this.assertRegularFile(managedRelativePath, 'Managed application guidance');\n this.moveRegularFile({\n operation: FrameworkDevelopmentSkillsSyncMutationOperation.Backup,\n sourceRelativePath: managedRelativePath,\n destinationRelativePath: backupRelativePath,\n sourcePurpose: 'Managed application guidance',\n destinationPurpose: 'Managed application guidance backup',\n });\n return true;\n }\n\n removeManagedRegularFile(managedRelativePath: string, operation: FrameworkDevelopmentSkillsSyncMutationOperation): boolean {\n const targetPath = this.resolveRelativePath(managedRelativePath, 'Managed application guidance');\n if (!existsSync(targetPath)) return false;\n this.assertRegularFile(managedRelativePath, 'Managed application guidance');\n this.mutate(operation, targetPath, () => {\n this.assertRegularFile(managedRelativePath, 'Managed application guidance');\n rmSync(targetPath, { force: false });\n });\n return true;\n }\n\n removeEmptyManagedAncestors(managedRelativePath: string): void {\n let relativeDirectory = relative(this.applicationRoot, dirname(this.resolveRelativePath(managedRelativePath, 'Managed application guidance')));\n const skillsRootRelativePath = SKILLS_DIRECTORY_NAME;\n while (relativeDirectory && relativeDirectory !== skillsRootRelativePath) {\n const directoryPath = this.resolveRelativePath(relativeDirectory, 'Managed application guidance parent directory');\n if (!existsSync(directoryPath)) {\n relativeDirectory = relative(this.applicationRoot, dirname(directoryPath));\n continue;\n }\n this.mutate(FrameworkDevelopmentSkillsSyncMutationOperation.RemoveEmptyManagedDirectory, directoryPath, () => {\n this.assertPhysicalDirectory(directoryPath, 'Managed application guidance parent directory');\n try {\n rmdirSync(directoryPath);\n } catch (error) {\n if (error instanceof Error && ('code' in error) && (error.code === 'ENOTEMPTY' || error.code === 'EEXIST')) return;\n throw error;\n }\n });\n relativeDirectory = relative(this.applicationRoot, dirname(directoryPath));\n }\n }\n\n private mutate(operation: FrameworkDevelopmentSkillsSyncMutationOperation, targetPath: string, mutation: () => void): void {\n beforeMutationHookForTests?.(operation, targetPath);\n this.assertRootIdentity();\n this.assertPhysicalAncestry(dirname(targetPath), `Framework development skills ${operation}`);\n mutation();\n this.assertRootIdentity();\n this.assertPhysicalAncestry(dirname(targetPath), `Framework development skills ${operation}`);\n }\n\n private resolveRelativePath(relativePath: string, purpose: string): string {\n assertCanonicalRelativePath(relativePath, purpose);\n const path = join(this.applicationRoot, ...relativePath.split('/'));\n if (!isPathBelow(this.applicationRoot, path)) throw new Error(`${purpose} escapes the application target root.`);\n return path;\n }\n\n private assertRootIdentity(): void {\n const status = lstatSync(this.applicationRoot);\n if (status.isSymbolicLink() || !status.isDirectory() || status.dev !== this.rootDevice || status.ino !== this.rootInode || realpathSync(this.applicationRoot) !== this.applicationRoot) {\n throw new Error('Application target root changed or crosses a symbolic link during framework-development skills publication.');\n }\n }\n\n private assertPhysicalAncestry(directoryPath: string, purpose: string): void {\n if (!isPathBelow(this.applicationRoot, directoryPath)) throw new Error(`${purpose} escapes the application target root.`);\n this.assertRootIdentity();\n const segments = relative(this.applicationRoot, directoryPath).split(sep).filter(Boolean);\n let cursor = this.applicationRoot;\n for (const segment of segments) {\n cursor = join(cursor, segment);\n this.assertPhysicalDirectory(cursor, purpose);\n }\n }\n\n private assertPhysicalDirectory(path: string, purpose: string): void {\n const status = lstatSync(path);\n if (status.isSymbolicLink() || !status.isDirectory() || realpathSync(path) !== path) {\n throw new Error(`${purpose} crosses a non-canonical directory: ${path}`);\n }\n }\n}\n\nfunction readManagedState(boundary: PhysicalApplicationMutationBoundary, relativeStatePath: string): FrameworkDevelopmentSkillsManagedState {\n const statePath = boundary.assertRegularFile(relativeStatePath, 'Framework development skills state');\n return parseManagedState(statePath);\n}\n\nfunction readOptionalManagedState(boundary: PhysicalApplicationMutationBoundary, relativeStatePath: string): FrameworkDevelopmentSkillsManagedState {\n if (!boundary.pathExists(relativeStatePath, 'Framework development skills state')) {\n return { schemaVersion: MANAGED_STATE_SCHEMA_VERSION, managedRelativePaths: [] };\n }\n return readManagedState(boundary, relativeStatePath);\n}\n\n/**\n * Explicit framework-developer materializer for the generated knowledge\n * product. Its manifest owns exact files, never a skill directory: an\n * application can safely keep local material beside materialized guidance.\n */\nexport class FrameworkDevelopmentSkillsSyncService {\n /** The three homes the sync reads, as a checkout lays them out. */\n private static resolveCheckoutKnowledgeSource(frameworkRoot: string): FrameworkKnowledgeSourceHomes {\n const layout = resolveFrameworkLayout(frameworkRoot);\n return {\n outputHome: layout.frameworkKnowledgeOutputHome,\n skillsHome: layout.frameworkKnowledgeSkillsHome,\n rulesHome: layout.frameworkKnowledgeRulesHome,\n };\n }\n\n /**\n * The same three homes under an installed `dist/knowledge` — the shape `wildo fwk generate-docs`\n * emits and `@wildo-ai/framework-knowledge` publishes (`skills/`, `rules/` beside `references/`,\n * `playbooks/`, `registries/`, `topic-index.json`).\n */\n private static resolveInstalledKnowledgeSource(knowledgeOutputHome: string): FrameworkKnowledgeSourceHomes {\n const outputHome = assertCanonicalExistingDirectory(knowledgeOutputHome, 'Installed Framework Knowledge root');\n return {\n outputHome,\n skillsHome: join(outputHome, SKILLS_DIRECTORY_NAME),\n rulesHome: join(outputHome, RULES_DIRECTORY_NAME),\n };\n }\n\n /**\n * Rewrite the application `CLAUDE.md`'s managed rule-import block from what was installed.\n *\n * Non-fatal by design: a knowledge sync that succeeded must not be reported as failed because a\n * guidance POINTER could not be updated. The absence is returned instead — an unreported absence\n * is the exact defect this closes.\n */\n private static syncApplicationRuleImports(\n applicationRoot: string,\n managedPaths: readonly string[],\n ): FrameworkDevelopmentRuleImportOutcome {\n const ruleFileNames = managedPaths\n .filter((path) => path.startsWith(`${RULES_DIRECTORY_NAME}/`))\n .map((path) => path.slice(RULES_DIRECTORY_NAME.length + 1))\n // Only a top-level rule is importable as a flat list; a nested one would need its own path.\n .filter((name) => !name.includes('/'));\n\n const claudeMarkdownPath = join(applicationRoot, 'CLAUDE.md');\n if (!existsSync(claudeMarkdownPath)) {\n return {\n ruleCount: ruleFileNames.length,\n updated: false,\n warning: `No CLAUDE.md at ${claudeMarkdownPath}: ${ruleFileNames.length} installed rule(s) `\n + 'have no loader, so an agent working in this application will not read them.',\n };\n }\n try {\n const current = readFileSync(claudeMarkdownPath, 'utf8');\n const updated = applyApplicationRuleImports(current, ruleFileNames);\n if (updated !== current) writeFileSync(claudeMarkdownPath, updated, 'utf8');\n return { ruleCount: ruleFileNames.length, updated: updated !== current };\n } catch (error) {\n return {\n ruleCount: ruleFileNames.length,\n updated: false,\n warning: `Could not update the rule imports in ${claudeMarkdownPath} `\n + `(${describeCaughtError(error)}). `\n + 'The rules are installed but nothing imports them.',\n };\n }\n }\n\n static sync(input: FrameworkDevelopmentSkillsSyncInput): FrameworkDevelopmentSkillsSyncResult {\n if ((input.frameworkRoot === undefined) === (input.knowledgeOutputHome === undefined)) {\n throw new Error('Framework Knowledge sync takes exactly one source: a framework checkout (frameworkRoot) or an installed knowledge root (knowledgeOutputHome).');\n }\n const frameworkRoot = input.frameworkRoot === undefined\n ? null\n : assertCanonicalExistingDirectory(input.frameworkRoot, 'Framework repository root');\n const applicationRoot = assertCanonicalExistingDirectory(input.applicationRoot, 'Application target root');\n const boundary = new PhysicalApplicationMutationBoundary(applicationRoot);\n const declarationPath = join(applicationRoot, 'wildo.saas.config.ts');\n if (!existsSync(declarationPath)) throw new Error('Application target must contain a regular wildo.saas.config.ts declaration.');\n boundary.assertRegularFile('wildo.saas.config.ts', 'Application target declaration');\n\n const knowledgeSource = frameworkRoot === null\n ? FrameworkDevelopmentSkillsSyncService.resolveInstalledKnowledgeSource(input.knowledgeOutputHome as string)\n : FrameworkDevelopmentSkillsSyncService.resolveCheckoutKnowledgeSource(frameworkRoot);\n const sourceDirectory = assertCanonicalExistingDirectory(knowledgeSource.skillsHome, 'Generated Framework Knowledge skills source');\n const validationFindings = frameworkRoot === null\n ? []\n : FrameworkKnowledgeApplicationGuidanceValidator.validate({\n frameworkRoot,\n guidanceRoot: knowledgeSource.outputHome,\n });\n if (validationFindings.length > 0) {\n throw new Error(`Framework Knowledge source has ${validationFindings.length} package-only guidance finding(s); run the guidance audit before synchronization.`);\n }\n\n const sourceIndexPath = join(sourceDirectory, SKILLS_INDEX_FILE_NAME);\n if (!existsSync(sourceIndexPath)) throw new Error('Generated Framework Knowledge product is missing its canonical skills/INDEX.md router.');\n const sourceIndexStatus = lstatSync(sourceIndexPath);\n if (sourceIndexStatus.isSymbolicLink() || !sourceIndexStatus.isFile()) {\n throw new Error('Generated Framework Knowledge skills/INDEX.md router must be a regular file.');\n }\n\n const claudeRootRelativePath = '.claude';\n const skillsRootRelativePath = `${claudeRootRelativePath}/${SKILLS_DIRECTORY_NAME}`;\n const stateDirectoryRelativePath = `${claudeRootRelativePath}/${MANAGED_STATE_DIRECTORY_NAME}`;\n const stateRelativePath = `${stateDirectoryRelativePath}/${MANAGED_STATE_FILE_NAME}`;\n boundary.ensureDirectory(claudeRootRelativePath, 'Framework development skill destination');\n const targetSkillsDirectory = boundary.ensureDirectory(skillsRootRelativePath, 'Framework development skill destination');\n boundary.ensureDirectory(`${claudeRootRelativePath}/${RULES_DIRECTORY_NAME}`, 'Framework development rule destination');\n boundary.ensureDirectory(stateDirectoryRelativePath, 'Framework development skill state');\n const priorState = readOptionalManagedState(boundary, stateRelativePath);\n\n /*\n * Every managed file, mapped to the compiled artifact it came from.\n *\n * This was a single list of skill paths whose source was recovered by slicing the `skills/`\n * prefix back off — which silently made ONE source directory the only installable kind. Rules\n * are a second kind (issue #98), so the source is carried per path instead of re-derived.\n * Everything downstream — ownership refusal, staging, backup, publish, rollback, the managed\n * state — already works on these prefixed paths and is untouched.\n */\n const managedSourceByPath = new Map<string, string>();\n for (const sourceRelativePath of listRegularFiles(sourceDirectory)) {\n assertCanonicalRelativePath(sourceRelativePath, 'Generated Framework Knowledge source file');\n managedSourceByPath.set(\n `${SKILLS_DIRECTORY_NAME}/${sourceRelativePath}`,\n join(sourceDirectory, ...sourceRelativePath.split('/')),\n );\n }\n /*\n * Rules are OPTIONAL, unlike skills. A payload generated before #98 carries no `rules/` home at\n * all, and refusing to sync one would make this command unusable against every such payload to\n * deliver an artifact kind that did not exist when it was built.\n */\n const rulesSourceDirectory = knowledgeSource.rulesHome;\n if (existsSync(rulesSourceDirectory)) {\n const canonicalRulesDirectory = assertCanonicalExistingDirectory(rulesSourceDirectory, 'Generated Framework Knowledge rules');\n for (const sourceRelativePath of listRegularFiles(canonicalRulesDirectory)) {\n assertCanonicalRelativePath(sourceRelativePath, 'Generated Framework Knowledge rule file');\n managedSourceByPath.set(\n `${RULES_DIRECTORY_NAME}/${sourceRelativePath}`,\n join(canonicalRulesDirectory, ...sourceRelativePath.split('/')),\n );\n }\n }\n const desiredManagedPaths = [...managedSourceByPath.keys()].sort((left, right) => left.localeCompare(right));\n if (!desiredManagedPaths.includes(`${SKILLS_DIRECTORY_NAME}/${SKILLS_INDEX_FILE_NAME}`)) {\n throw new Error('Generated Framework Knowledge source is missing skills/INDEX.md from its materialized file inventory.');\n }\n for (const desiredPath of desiredManagedPaths) assertCanonicalRelativePath(desiredPath, 'Desired Framework Knowledge managed file');\n\n const priorManagedPaths = new Set(priorState.managedRelativePaths);\n for (const desiredPath of desiredManagedPaths) {\n const relativeTargetPath = `${claudeRootRelativePath}/${desiredPath}`;\n const targetPath = join(applicationRoot, ...relativeTargetPath.split('/'));\n if (!existsSync(targetPath) || priorManagedPaths.has(desiredPath)) continue;\n throw new Error(`Refusing to replace unowned application guidance at .claude/${desiredPath}.`);\n }\n\n const stagingDirectoryName = '.wildo-fwk-dev-skills-stage-';\n const stagingRootRelativePath = boundary.createStagingDirectory(stagingDirectoryName);\n const stagedManagedRootRelativePath = `${stagingRootRelativePath}/managed`;\n const backupRootRelativePath = `${stagingRootRelativePath}/backup`;\n const stagedStateRelativePath = `${stagingRootRelativePath}/${MANAGED_STATE_FILE_NAME}`;\n try {\n boundary.ensureDirectory(stagedManagedRootRelativePath, 'Framework development skill staging');\n boundary.ensureDirectory(backupRootRelativePath, 'Framework development skill backup');\n for (const desiredPath of desiredManagedPaths) {\n const managedSourcePath = managedSourceByPath.get(desiredPath);\n if (managedSourcePath === undefined) {\n throw new Error(`No compiled source is registered for managed path .claude/${desiredPath}.`);\n }\n const stagedRelativePath = `${stagedManagedRootRelativePath}/${desiredPath}`;\n boundary.writeRegularFile(stagedRelativePath, readFileSync(managedSourcePath), 'Framework development skill staging');\n }\n boundary.writeRegularFile(\n stagedStateRelativePath,\n `${JSON.stringify({ schemaVersion: MANAGED_STATE_SCHEMA_VERSION, managedRelativePaths: desiredManagedPaths }, null, 2)}\\n`,\n 'Framework development skill staged state',\n );\n\n // All generated bytes are present and regular before the first target\n // backup. A source/staging fault therefore cannot partially update the app.\n for (const desiredPath of desiredManagedPaths) {\n boundary.assertRegularFile(`${stagedManagedRootRelativePath}/${desiredPath}`, 'Staged Framework Knowledge managed file');\n }\n boundary.assertRegularFile(stagedStateRelativePath, 'Staged Framework Knowledge managed state');\n\n const staleManagedPaths = priorState.managedRelativePaths.filter((path) => !desiredManagedPaths.includes(path));\n const replacementPaths = [...new Set([...priorState.managedRelativePaths, ...desiredManagedPaths])].sort((left, right) => left.localeCompare(right));\n const backedUpPaths: string[] = [];\n const publishedPaths: string[] = [];\n let stateBackedUp = false;\n try {\n for (const managedPath of replacementPaths) {\n if (boundary.moveExistingManagedFileToBackup(`${claudeRootRelativePath}/${managedPath}`, `${backupRootRelativePath}/${managedPath}`)) {\n backedUpPaths.push(managedPath);\n }\n }\n for (const desiredPath of desiredManagedPaths) {\n boundary.moveRegularFile({\n operation: FrameworkDevelopmentSkillsSyncMutationOperation.PublishManagedFile,\n sourceRelativePath: `${stagedManagedRootRelativePath}/${desiredPath}`,\n destinationRelativePath: `${claudeRootRelativePath}/${desiredPath}`,\n sourcePurpose: 'Staged Framework Knowledge managed file',\n destinationPurpose: 'Materialized Framework Knowledge managed file',\n });\n publishedPaths.push(desiredPath);\n }\n stateBackedUp = boundary.moveExistingManagedFileToBackup(stateRelativePath, `${backupRootRelativePath}/state/${MANAGED_STATE_FILE_NAME}`);\n boundary.moveRegularFile({\n operation: FrameworkDevelopmentSkillsSyncMutationOperation.PublishState,\n sourceRelativePath: stagedStateRelativePath,\n destinationRelativePath: stateRelativePath,\n sourcePurpose: 'Staged Framework Knowledge managed state',\n destinationPurpose: 'Materialized Framework Knowledge managed state',\n });\n } catch (error) {\n let rollbackError: unknown;\n try {\n for (const publishedPath of publishedPaths.reverse()) {\n boundary.removeManagedRegularFile(`${claudeRootRelativePath}/${publishedPath}`, FrameworkDevelopmentSkillsSyncMutationOperation.RollbackRemoval);\n }\n for (const backedUpPath of backedUpPaths) {\n boundary.moveRegularFile({\n operation: FrameworkDevelopmentSkillsSyncMutationOperation.RollbackRestore,\n sourceRelativePath: `${backupRootRelativePath}/${backedUpPath}`,\n destinationRelativePath: `${claudeRootRelativePath}/${backedUpPath}`,\n sourcePurpose: 'Framework Knowledge managed-file backup',\n destinationPurpose: 'Restored Framework Knowledge managed file',\n });\n }\n if (stateBackedUp) {\n boundary.moveRegularFile({\n operation: FrameworkDevelopmentSkillsSyncMutationOperation.RollbackRestore,\n sourceRelativePath: `${backupRootRelativePath}/state/${MANAGED_STATE_FILE_NAME}`,\n destinationRelativePath: stateRelativePath,\n sourcePurpose: 'Framework Knowledge managed-state backup',\n destinationPurpose: 'Restored Framework Knowledge managed state',\n });\n }\n } catch (caughtRollbackError) {\n rollbackError = caughtRollbackError;\n }\n if (rollbackError) {\n const message = rollbackError instanceof Error ? rollbackError.message : 'unknown secure rollback failure';\n throw new Error(`Framework-development skills publication failed and secure rollback could not complete: ${message}`, { cause: error });\n }\n throw error;\n }\n\n for (const stalePath of staleManagedPaths) {\n boundary.removeEmptyManagedAncestors(`${claudeRootRelativePath}/${stalePath}`);\n }\n\n const installedCount = desiredManagedPaths.filter((path) => !priorManagedPaths.has(path)).length;\n const updatedCount = desiredManagedPaths.filter((path) => priorManagedPaths.has(path)).length;\n\n /*\n * Point the application's own agent at the rules just installed (issue #314).\n *\n * Deliberately AFTER the transactional install rather than inside it. The rules are managed\n * files with a staged/backup/rollback protocol; `CLAUDE.md` belongs to the APPLICATION and\n * carries project instructions nobody else may overwrite, so it is touched only through a\n * delimited block and is never rolled back. Should this step fail, the rules are still\n * installed correctly and the state is exactly what it is today — the worst case, and no worse.\n */\n const ruleImports = FrameworkDevelopmentSkillsSyncService.syncApplicationRuleImports(\n applicationRoot,\n desiredManagedPaths,\n );\n\n return {\n ruleImports,\n sourceDirectory,\n targetDirectory: targetSkillsDirectory,\n installedCount,\n updatedCount,\n removedCount: staleManagedPaths.length,\n validationFindings,\n };\n } finally {\n boundary.removeStagingDirectory(stagingRootRelativePath);\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"framework-development-skills-sync.service.js","sourceRoot":"","sources":["../../../../../../src/services/framework/framework-development-skills-sync.service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,SAAS,EACT,SAAS,EACT,WAAW,EACX,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,UAAU,EACV,SAAS,EACT,MAAM,EACN,aAAa,GACd,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAC9E,OAAO,EAAE,sBAAsB,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,0BAA0B,CAClF,eAAe,EACf,mBAAmB,CACpB,CAAC;YAEF;;;;;;;;eAQG;YACH,MAAM,0BAA0B,GAAG,aAAa,KAAK,IAAI,CAAC,CAAC,CAAE,KAAK,CAAC,mBAA8B,CAAC,CAAC,CAAC,eAAe,CAAC,UAAU,CAAC;YAC/H,MAAM,cAAc,GAAG,6BAA6B,CAAC;gBACnD,eAAe,EAAE,KAAK,CAAC,eAAe;gBACtC,oBAAoB,EAAE,IAAI,CAAC,OAAO,CAAC,0BAA0B,CAAC,EAAE,uCAAuC,CAAC;aACzG,CAAC,CAAC;YAEH,OAAO;gBACL,WAAW;gBACX,cAAc;gBACd,eAAe;gBACf,eAAe,EAAE,qBAAqB;gBACtC,cAAc;gBACd,YAAY;gBACZ,YAAY,EAAE,iBAAiB,CAAC,MAAM;gBACtC,kBAAkB;aACnB,CAAC;QACJ,CAAC;gBAAS,CAAC;YACT,QAAQ,CAAC,sBAAsB,CAAC,uBAAuB,CAAC,CAAC;QAC3D,CAAC;IACH,CAAC;CACF","sourcesContent":["import {\n existsSync,\n lstatSync,\n mkdirSync,\n mkdtempSync,\n readFileSync,\n readdirSync,\n realpathSync,\n renameSync,\n rmdirSync,\n rmSync,\n writeFileSync,\n} from 'node:fs';\nimport { dirname, isAbsolute, join, relative, resolve, sep } from 'node:path';\nimport { resolveFrameworkLayout } from '@wildo-ai/platform-config-lib';\nimport { applyApplicationRuleImports } from './application-rule-imports';\nimport {\n WILDO_CLAUDE_MARKETPLACE_DIRECTORY_NAME,\n syncApplicationClaudeSettings,\n type ApplicationClaudeSettingsOutcome,\n} from './application-claude-settings';\nimport {\n FrameworkKnowledgeApplicationGuidanceValidator,\n type FrameworkKnowledgeApplicationGuidanceFinding,\n} from '~wildo-cli/services/framework/framework-knowledge-application-guidance.validator';\n\nimport { describeCaughtError } from '@wildo-ai/saas-backend-lib';\nconst SKILLS_DIRECTORY_NAME = 'skills';\n/**\n * Compiled always-on rules, installed beside the skills under `.claude/`.\n *\n * A skill is reached when the router matches a request description; a rule must be present when the\n * agent opens a matching file, without being asked for. Issue #98: the channel was documented as\n * delivered and nothing compiled or installed it.\n */\nconst RULES_DIRECTORY_NAME = 'rules';\nconst SKILLS_INDEX_FILE_NAME = 'INDEX.md';\n/** Every directory below `.claude/` this materializer writes — the one list the writer and the reader share. */\nconst MANAGED_DIRECTORY_NAMES: readonly string[] = Object.freeze([SKILLS_DIRECTORY_NAME, RULES_DIRECTORY_NAME]);\nconst MANAGED_STATE_DIRECTORY_NAME = '.wildo-framework-knowledge';\nconst MANAGED_STATE_FILE_NAME = 'dev-skills-manifest.json';\n// This is deliberately a hard cut. The original pre-release manifest claimed\n// ownership of whole directories, which can erase an application's nested\n// file. We refuse that state rather than silently reading/migrating it.\nconst MANAGED_STATE_SCHEMA_VERSION = 2;\n\ninterface FrameworkDevelopmentSkillsManagedState {\n readonly schemaVersion: number;\n /** Exact files below `.claude/` written by this materializer, never directories or host paths. */\n readonly managedRelativePaths: readonly string[];\n}\n\nexport interface FrameworkDevelopmentSkillsSyncInput {\n /**\n * A framework CHECKOUT. The compiled knowledge is read from its layout\n * (`platform/factory/framework-knowledge/dist/knowledge`) and validated against the checkout's\n * package export index before anything is materialized. Framework-developer lane.\n */\n readonly frameworkRoot?: string;\n /**\n * A compiled knowledge root (`<something>/dist/knowledge`) with NO checkout around it — the\n * `@wildo-ai/framework-knowledge` package an application installed from npm. App-creator lane.\n *\n * No guidance validation runs on this input, deliberately: the validator needs the checkout's\n * package export index to decide what a skill may import, and an installed package HAS no\n * checkout. The same validator gated `wildo fwk generate-docs` when this payload was produced,\n * so what is installed here was validated once, at the source, against the version it names.\n */\n readonly knowledgeOutputHome?: string;\n readonly applicationRoot: string;\n}\n\ninterface FrameworkKnowledgeSourceHomes {\n readonly outputHome: string;\n readonly skillsHome: string;\n readonly rulesHome: string;\n}\n\nexport interface FrameworkDevelopmentSkillsSyncResult {\n readonly sourceDirectory: string;\n readonly targetDirectory: string;\n readonly installedCount: number;\n readonly updatedCount: number;\n readonly removedCount: number;\n readonly validationFindings: readonly FrameworkKnowledgeApplicationGuidanceFinding[];\n /**\n * What became of the application `CLAUDE.md`'s managed rule-import block (issue #314).\n *\n * Returned rather than logged: this service has no logger, and an installed rule that nothing\n * imports is precisely the silent state being closed — so the caller is handed the fact and\n * reports it.\n */\n readonly ruleImports: FrameworkDevelopmentRuleImportOutcome;\n /**\n * What became of the application's `.claude/settings.json`: the `wildo` Claude Code plugin and the\n * console's read-only permissions (#1651). Returned for the same reason as `ruleImports` — a plugin\n * nothing enables is exactly as silent as a rule nothing imports.\n */\n readonly claudeSettings: ApplicationClaudeSettingsOutcome;\n}\n\n/** The outcome of pointing an application's own guidance file at the rules just installed. */\nexport interface FrameworkDevelopmentRuleImportOutcome {\n readonly ruleCount: number;\n readonly updated: boolean;\n /** Present when the imports could NOT be written — the rules are installed and unreachable. */\n readonly warning?: string;\n}\n\n/** Named operation vocabulary makes hostile publication tests describe the exact mutation boundary. */\nexport enum FrameworkDevelopmentSkillsSyncMutationOperation {\n StageFile = 'stage-file',\n CreateStagingDirectory = 'create-staging-directory',\n RemoveStagingDirectory = 'remove-staging-directory',\n Backup = 'backup',\n PublishManagedFile = 'publish-managed-file',\n PublishState = 'publish-state',\n RollbackRemoval = 'rollback-removal',\n RollbackRestore = 'rollback-restore',\n RemoveStaleFile = 'remove-stale-file',\n RemoveEmptyManagedDirectory = 'remove-empty-managed-directory',\n}\n\ntype FrameworkDevelopmentSkillsSyncMutationHook = (\n operation: FrameworkDevelopmentSkillsSyncMutationOperation,\n targetPath: string,\n) => void;\n\nlet beforeMutationHookForTests: FrameworkDevelopmentSkillsSyncMutationHook | undefined;\n\n/**\n * @internal Test seam only. Node exposes no portable `openat`/directory-file-\n * descriptor API, so the materializer must prove that its before/after\n * physical-root checks reject a staging-window substitution. Production code\n * never configures this hook.\n */\nexport function setFrameworkDevelopmentSkillsSyncMutationHookForTests(\n hook: FrameworkDevelopmentSkillsSyncMutationHook | undefined,\n): void {\n beforeMutationHookForTests = hook;\n}\n\nfunction isPathBelow(root: string, candidate: string): boolean {\n const candidateRelativePath = relative(root, candidate);\n return candidateRelativePath === '' || (!candidateRelativePath.startsWith(`..${sep}`) && candidateRelativePath !== '..' && !isAbsolute(candidateRelativePath));\n}\n\nfunction assertCanonicalExistingDirectory(input: string, purpose: string): string {\n if (!isAbsolute(input)) throw new Error(`${purpose} must be an absolute path; relative target selection is not trusted.`);\n const candidate = resolve(input);\n if (!existsSync(candidate)) throw new Error(`${purpose} does not exist: ${candidate}`);\n const status = lstatSync(candidate);\n if (status.isSymbolicLink() || !status.isDirectory()) {\n throw new Error(`${purpose} must be a canonical non-symlink directory: ${candidate}`);\n }\n // `/var` is an OS-provided alias of `/private/var` on macOS. Reject an\n // actual leaf symlink, then retain the physical path for containment checks\n // instead of treating that platform alias as hostile target substitution.\n return realpathSync(candidate);\n}\n\nfunction assertCanonicalRelativePath(value: string, purpose: string): void {\n if (!value || value.startsWith('/') || value.includes('\\\\') || value.split('/').some((part) => !part || part === '.' || part === '..')) {\n throw new Error(`${purpose} must be a canonical relative POSIX path.`);\n }\n}\n\nfunction listRegularFiles(root: string, currentDirectory = root): string[] {\n const entries = readdirSync(currentDirectory, { withFileTypes: true }).sort((left, right) => left.name.localeCompare(right.name));\n const files: string[] = [];\n for (const entry of entries) {\n const entryPath = join(currentDirectory, entry.name);\n const status = lstatSync(entryPath);\n if (status.isSymbolicLink()) throw new Error(`Framework Knowledge source contains a symbolic link: ${entryPath}`);\n if (status.isDirectory()) {\n files.push(...listRegularFiles(root, entryPath));\n } else if (status.isFile()) {\n files.push(relative(root, entryPath).split(sep).join('/'));\n } else {\n throw new Error(`Framework Knowledge source contains a non-regular file: ${entryPath}`);\n }\n }\n return files;\n}\n\nfunction parseManagedState(path: string): FrameworkDevelopmentSkillsManagedState {\n const parsed = JSON.parse(readFileSync(path, 'utf8')) as Partial<FrameworkDevelopmentSkillsManagedState>;\n if (parsed.schemaVersion !== MANAGED_STATE_SCHEMA_VERSION || !Array.isArray(parsed.managedRelativePaths)) {\n throw new Error('Framework development skills state is unrecognized; refuse to guess which application files are managed. Rebootstrap this pre-release target.');\n }\n for (const managedPath of parsed.managedRelativePaths) {\n if (typeof managedPath !== 'string') throw new Error('Framework development skills state contains a non-string managed path.');\n assertCanonicalRelativePath(managedPath, 'Framework development skills managed path');\n /*\n * Both delivered channels, and the reader must know about every one the writer emits.\n *\n * This admitted only `skills/` until 2026-08-30, while the #98 fix had already taught the writer\n * to install `rules/`. So the materializer wrote a manifest it then REFUSED TO READ: it succeeded\n * exactly once per application and failed permanently afterwards, with a message asserting a\n * policy the same file had stopped following. Reproduced on both dogfood applications.\n *\n * The guard's real job is unchanged — refuse a manifest claiming any path outside the directories\n * this materializer owns, so a corrupted state file cannot make it delete an application's own\n * work. That is why this is an explicit two-entry allow-list and not a relaxation.\n */\n if (!MANAGED_DIRECTORY_NAMES.some((directoryName) => managedPath.startsWith(`${directoryName}/`))) {\n throw new Error(\n `Framework development skills state may manage only exact canonical .claude/{${MANAGED_DIRECTORY_NAMES.join(',')}} files.`,\n );\n }\n }\n return {\n schemaVersion: MANAGED_STATE_SCHEMA_VERSION,\n managedRelativePaths: [...new Set(parsed.managedRelativePaths)].sort((left, right) => left.localeCompare(right)),\n };\n}\n\n/**\n * All application-tree effects pass through this boundary.\n *\n * Node's portable filesystem API cannot hold directory descriptors and perform\n * `openat`-style no-follow mutations. We therefore do not claim an atomic OS\n * no-follow guarantee. Instead this boundary pins the original application\n * root identity and re-checks complete ancestry immediately before and after\n * every target mutation. A detected replacement fails closed before a managed\n * write is attempted; the hostile test exercises that exact staging window.\n */\nclass PhysicalApplicationMutationBoundary {\n private readonly rootDevice: number;\n private readonly rootInode: number;\n\n constructor(private readonly applicationRoot: string) {\n const rootStatus = lstatSync(applicationRoot);\n if (rootStatus.isSymbolicLink() || !rootStatus.isDirectory()) {\n throw new Error('Application target root must be a physical non-symlink directory.');\n }\n this.rootDevice = rootStatus.dev;\n this.rootInode = rootStatus.ino;\n this.assertRootIdentity();\n }\n\n ensureDirectory(relativeDirectory: string, purpose: string): string {\n const directoryPath = this.resolveRelativePath(relativeDirectory, purpose);\n this.assertRootIdentity();\n const segments = relative(this.applicationRoot, directoryPath).split(sep).filter(Boolean);\n let cursor = this.applicationRoot;\n for (const segment of segments) {\n cursor = join(cursor, segment);\n if (!existsSync(cursor)) mkdirSync(cursor);\n this.assertPhysicalDirectory(cursor, purpose);\n }\n this.assertRootIdentity();\n return directoryPath;\n }\n\n pathExists(relativePath: string, purpose: string): boolean {\n const path = this.resolveRelativePath(relativePath, purpose);\n this.assertRootIdentity();\n this.assertPhysicalAncestry(dirname(path), purpose);\n return existsSync(path);\n }\n\n writeRegularFile(relativeFile: string, content: string | Uint8Array, purpose: string): void {\n const filePath = this.resolveRelativePath(relativeFile, purpose);\n this.ensureDirectory(relative(this.applicationRoot, dirname(filePath)), purpose);\n this.mutate(FrameworkDevelopmentSkillsSyncMutationOperation.StageFile, filePath, () => {\n if (existsSync(filePath)) throw new Error(`${purpose} already exists: ${filePath}`);\n writeFileSync(filePath, content);\n });\n this.assertRegularFile(relativeFile, purpose);\n }\n\n createStagingDirectory(prefix: string): string {\n const stagingRoot = join(this.applicationRoot, prefix);\n let createdPath: string | undefined;\n this.mutate(FrameworkDevelopmentSkillsSyncMutationOperation.CreateStagingDirectory, stagingRoot, () => {\n // `mkdtempSync` creates one random sibling below the trusted root. Its\n // result is immediately revalidated before it becomes a staging input.\n createdPath = mkdtempSync(stagingRoot);\n this.assertPhysicalDirectory(createdPath, 'Framework development skill staging');\n });\n if (!createdPath) throw new Error('Framework development skill staging creation did not yield a trusted directory.');\n return relative(this.applicationRoot, createdPath).split(sep).join('/');\n }\n\n removeStagingDirectory(relativeDirectory: string): void {\n const directoryPath = this.resolveRelativePath(relativeDirectory, 'Framework development skill staging cleanup');\n if (!existsSync(directoryPath)) return;\n this.assertPhysicalDirectory(directoryPath, 'Framework development skill staging cleanup');\n this.mutate(FrameworkDevelopmentSkillsSyncMutationOperation.RemoveStagingDirectory, directoryPath, () => {\n this.assertPhysicalDirectory(directoryPath, 'Framework development skill staging cleanup');\n rmSync(directoryPath, { recursive: true, force: true });\n });\n }\n\n assertRegularFile(relativeFile: string, purpose: string): string {\n const filePath = this.resolveRelativePath(relativeFile, purpose);\n this.assertRootIdentity();\n this.assertPhysicalAncestry(dirname(filePath), purpose);\n if (!existsSync(filePath)) throw new Error(`${purpose} does not exist: ${filePath}`);\n const status = lstatSync(filePath);\n if (status.isSymbolicLink() || !status.isFile()) throw new Error(`${purpose} must be a regular non-symlink file: ${filePath}`);\n return filePath;\n }\n\n moveRegularFile(params: {\n readonly operation: FrameworkDevelopmentSkillsSyncMutationOperation;\n readonly sourceRelativePath: string;\n readonly destinationRelativePath: string;\n readonly sourcePurpose: string;\n readonly destinationPurpose: string;\n }): void {\n const sourcePath = this.assertRegularFile(params.sourceRelativePath, params.sourcePurpose);\n const destinationPath = this.resolveRelativePath(params.destinationRelativePath, params.destinationPurpose);\n this.ensureDirectory(relative(this.applicationRoot, dirname(destinationPath)), params.destinationPurpose);\n this.mutate(params.operation, destinationPath, () => {\n this.assertRegularFile(params.sourceRelativePath, params.sourcePurpose);\n if (existsSync(destinationPath)) {\n throw new Error(`${params.destinationPurpose} already exists and cannot be replaced by this operation: ${destinationPath}`);\n }\n renameSync(sourcePath, destinationPath);\n });\n this.assertRegularFile(params.destinationRelativePath, params.destinationPurpose);\n }\n\n moveExistingManagedFileToBackup(managedRelativePath: string, backupRelativePath: string): boolean {\n const sourcePath = this.resolveRelativePath(managedRelativePath, 'Managed application guidance');\n if (!existsSync(sourcePath)) return false;\n this.assertRegularFile(managedRelativePath, 'Managed application guidance');\n this.moveRegularFile({\n operation: FrameworkDevelopmentSkillsSyncMutationOperation.Backup,\n sourceRelativePath: managedRelativePath,\n destinationRelativePath: backupRelativePath,\n sourcePurpose: 'Managed application guidance',\n destinationPurpose: 'Managed application guidance backup',\n });\n return true;\n }\n\n removeManagedRegularFile(managedRelativePath: string, operation: FrameworkDevelopmentSkillsSyncMutationOperation): boolean {\n const targetPath = this.resolveRelativePath(managedRelativePath, 'Managed application guidance');\n if (!existsSync(targetPath)) return false;\n this.assertRegularFile(managedRelativePath, 'Managed application guidance');\n this.mutate(operation, targetPath, () => {\n this.assertRegularFile(managedRelativePath, 'Managed application guidance');\n rmSync(targetPath, { force: false });\n });\n return true;\n }\n\n removeEmptyManagedAncestors(managedRelativePath: string): void {\n let relativeDirectory = relative(this.applicationRoot, dirname(this.resolveRelativePath(managedRelativePath, 'Managed application guidance')));\n const skillsRootRelativePath = SKILLS_DIRECTORY_NAME;\n while (relativeDirectory && relativeDirectory !== skillsRootRelativePath) {\n const directoryPath = this.resolveRelativePath(relativeDirectory, 'Managed application guidance parent directory');\n if (!existsSync(directoryPath)) {\n relativeDirectory = relative(this.applicationRoot, dirname(directoryPath));\n continue;\n }\n this.mutate(FrameworkDevelopmentSkillsSyncMutationOperation.RemoveEmptyManagedDirectory, directoryPath, () => {\n this.assertPhysicalDirectory(directoryPath, 'Managed application guidance parent directory');\n try {\n rmdirSync(directoryPath);\n } catch (error) {\n if (error instanceof Error && ('code' in error) && (error.code === 'ENOTEMPTY' || error.code === 'EEXIST')) return;\n throw error;\n }\n });\n relativeDirectory = relative(this.applicationRoot, dirname(directoryPath));\n }\n }\n\n private mutate(operation: FrameworkDevelopmentSkillsSyncMutationOperation, targetPath: string, mutation: () => void): void {\n beforeMutationHookForTests?.(operation, targetPath);\n this.assertRootIdentity();\n this.assertPhysicalAncestry(dirname(targetPath), `Framework development skills ${operation}`);\n mutation();\n this.assertRootIdentity();\n this.assertPhysicalAncestry(dirname(targetPath), `Framework development skills ${operation}`);\n }\n\n private resolveRelativePath(relativePath: string, purpose: string): string {\n assertCanonicalRelativePath(relativePath, purpose);\n const path = join(this.applicationRoot, ...relativePath.split('/'));\n if (!isPathBelow(this.applicationRoot, path)) throw new Error(`${purpose} escapes the application target root.`);\n return path;\n }\n\n private assertRootIdentity(): void {\n const status = lstatSync(this.applicationRoot);\n if (status.isSymbolicLink() || !status.isDirectory() || status.dev !== this.rootDevice || status.ino !== this.rootInode || realpathSync(this.applicationRoot) !== this.applicationRoot) {\n throw new Error('Application target root changed or crosses a symbolic link during framework-development skills publication.');\n }\n }\n\n private assertPhysicalAncestry(directoryPath: string, purpose: string): void {\n if (!isPathBelow(this.applicationRoot, directoryPath)) throw new Error(`${purpose} escapes the application target root.`);\n this.assertRootIdentity();\n const segments = relative(this.applicationRoot, directoryPath).split(sep).filter(Boolean);\n let cursor = this.applicationRoot;\n for (const segment of segments) {\n cursor = join(cursor, segment);\n this.assertPhysicalDirectory(cursor, purpose);\n }\n }\n\n private assertPhysicalDirectory(path: string, purpose: string): void {\n const status = lstatSync(path);\n if (status.isSymbolicLink() || !status.isDirectory() || realpathSync(path) !== path) {\n throw new Error(`${purpose} crosses a non-canonical directory: ${path}`);\n }\n }\n}\n\nfunction readManagedState(boundary: PhysicalApplicationMutationBoundary, relativeStatePath: string): FrameworkDevelopmentSkillsManagedState {\n const statePath = boundary.assertRegularFile(relativeStatePath, 'Framework development skills state');\n return parseManagedState(statePath);\n}\n\nfunction readOptionalManagedState(boundary: PhysicalApplicationMutationBoundary, relativeStatePath: string): FrameworkDevelopmentSkillsManagedState {\n if (!boundary.pathExists(relativeStatePath, 'Framework development skills state')) {\n return { schemaVersion: MANAGED_STATE_SCHEMA_VERSION, managedRelativePaths: [] };\n }\n return readManagedState(boundary, relativeStatePath);\n}\n\n/**\n * Explicit framework-developer materializer for the generated knowledge\n * product. Its manifest owns exact files, never a skill directory: an\n * application can safely keep local material beside materialized guidance.\n */\nexport class FrameworkDevelopmentSkillsSyncService {\n /** The three homes the sync reads, as a checkout lays them out. */\n private static resolveCheckoutKnowledgeSource(frameworkRoot: string): FrameworkKnowledgeSourceHomes {\n const layout = resolveFrameworkLayout(frameworkRoot);\n return {\n outputHome: layout.frameworkKnowledgeOutputHome,\n skillsHome: layout.frameworkKnowledgeSkillsHome,\n rulesHome: layout.frameworkKnowledgeRulesHome,\n };\n }\n\n /**\n * The same three homes under an installed `dist/knowledge` — the shape `wildo fwk generate-docs`\n * emits and `@wildo-ai/framework-knowledge` publishes (`skills/`, `rules/` beside `references/`,\n * `playbooks/`, `registries/`, `topic-index.json`).\n */\n private static resolveInstalledKnowledgeSource(knowledgeOutputHome: string): FrameworkKnowledgeSourceHomes {\n const outputHome = assertCanonicalExistingDirectory(knowledgeOutputHome, 'Installed Framework Knowledge root');\n return {\n outputHome,\n skillsHome: join(outputHome, SKILLS_DIRECTORY_NAME),\n rulesHome: join(outputHome, RULES_DIRECTORY_NAME),\n };\n }\n\n /**\n * Rewrite the application `CLAUDE.md`'s managed rule-import block from what was installed.\n *\n * Non-fatal by design: a knowledge sync that succeeded must not be reported as failed because a\n * guidance POINTER could not be updated. The absence is returned instead — an unreported absence\n * is the exact defect this closes.\n */\n private static syncApplicationRuleImports(\n applicationRoot: string,\n managedPaths: readonly string[],\n ): FrameworkDevelopmentRuleImportOutcome {\n const ruleFileNames = managedPaths\n .filter((path) => path.startsWith(`${RULES_DIRECTORY_NAME}/`))\n .map((path) => path.slice(RULES_DIRECTORY_NAME.length + 1))\n // Only a top-level rule is importable as a flat list; a nested one would need its own path.\n .filter((name) => !name.includes('/'));\n\n const claudeMarkdownPath = join(applicationRoot, 'CLAUDE.md');\n if (!existsSync(claudeMarkdownPath)) {\n return {\n ruleCount: ruleFileNames.length,\n updated: false,\n warning: `No CLAUDE.md at ${claudeMarkdownPath}: ${ruleFileNames.length} installed rule(s) `\n + 'have no loader, so an agent working in this application will not read them.',\n };\n }\n try {\n const current = readFileSync(claudeMarkdownPath, 'utf8');\n const updated = applyApplicationRuleImports(current, ruleFileNames);\n if (updated !== current) writeFileSync(claudeMarkdownPath, updated, 'utf8');\n return { ruleCount: ruleFileNames.length, updated: updated !== current };\n } catch (error) {\n return {\n ruleCount: ruleFileNames.length,\n updated: false,\n warning: `Could not update the rule imports in ${claudeMarkdownPath} `\n + `(${describeCaughtError(error)}). `\n + 'The rules are installed but nothing imports them.',\n };\n }\n }\n\n static sync(input: FrameworkDevelopmentSkillsSyncInput): FrameworkDevelopmentSkillsSyncResult {\n if ((input.frameworkRoot === undefined) === (input.knowledgeOutputHome === undefined)) {\n throw new Error('Framework Knowledge sync takes exactly one source: a framework checkout (frameworkRoot) or an installed knowledge root (knowledgeOutputHome).');\n }\n const frameworkRoot = input.frameworkRoot === undefined\n ? null\n : assertCanonicalExistingDirectory(input.frameworkRoot, 'Framework repository root');\n const applicationRoot = assertCanonicalExistingDirectory(input.applicationRoot, 'Application target root');\n const boundary = new PhysicalApplicationMutationBoundary(applicationRoot);\n const declarationPath = join(applicationRoot, 'wildo.saas.config.ts');\n if (!existsSync(declarationPath)) throw new Error('Application target must contain a regular wildo.saas.config.ts declaration.');\n boundary.assertRegularFile('wildo.saas.config.ts', 'Application target declaration');\n\n const knowledgeSource = frameworkRoot === null\n ? FrameworkDevelopmentSkillsSyncService.resolveInstalledKnowledgeSource(input.knowledgeOutputHome as string)\n : FrameworkDevelopmentSkillsSyncService.resolveCheckoutKnowledgeSource(frameworkRoot);\n const sourceDirectory = assertCanonicalExistingDirectory(knowledgeSource.skillsHome, 'Generated Framework Knowledge skills source');\n const validationFindings = frameworkRoot === null\n ? []\n : FrameworkKnowledgeApplicationGuidanceValidator.validate({\n frameworkRoot,\n guidanceRoot: knowledgeSource.outputHome,\n });\n if (validationFindings.length > 0) {\n throw new Error(`Framework Knowledge source has ${validationFindings.length} package-only guidance finding(s); run the guidance audit before synchronization.`);\n }\n\n const sourceIndexPath = join(sourceDirectory, SKILLS_INDEX_FILE_NAME);\n if (!existsSync(sourceIndexPath)) throw new Error('Generated Framework Knowledge product is missing its canonical skills/INDEX.md router.');\n const sourceIndexStatus = lstatSync(sourceIndexPath);\n if (sourceIndexStatus.isSymbolicLink() || !sourceIndexStatus.isFile()) {\n throw new Error('Generated Framework Knowledge skills/INDEX.md router must be a regular file.');\n }\n\n const claudeRootRelativePath = '.claude';\n const skillsRootRelativePath = `${claudeRootRelativePath}/${SKILLS_DIRECTORY_NAME}`;\n const stateDirectoryRelativePath = `${claudeRootRelativePath}/${MANAGED_STATE_DIRECTORY_NAME}`;\n const stateRelativePath = `${stateDirectoryRelativePath}/${MANAGED_STATE_FILE_NAME}`;\n boundary.ensureDirectory(claudeRootRelativePath, 'Framework development skill destination');\n const targetSkillsDirectory = boundary.ensureDirectory(skillsRootRelativePath, 'Framework development skill destination');\n boundary.ensureDirectory(`${claudeRootRelativePath}/${RULES_DIRECTORY_NAME}`, 'Framework development rule destination');\n boundary.ensureDirectory(stateDirectoryRelativePath, 'Framework development skill state');\n const priorState = readOptionalManagedState(boundary, stateRelativePath);\n\n /*\n * Every managed file, mapped to the compiled artifact it came from.\n *\n * This was a single list of skill paths whose source was recovered by slicing the `skills/`\n * prefix back off — which silently made ONE source directory the only installable kind. Rules\n * are a second kind (issue #98), so the source is carried per path instead of re-derived.\n * Everything downstream — ownership refusal, staging, backup, publish, rollback, the managed\n * state — already works on these prefixed paths and is untouched.\n */\n const managedSourceByPath = new Map<string, string>();\n for (const sourceRelativePath of listRegularFiles(sourceDirectory)) {\n assertCanonicalRelativePath(sourceRelativePath, 'Generated Framework Knowledge source file');\n managedSourceByPath.set(\n `${SKILLS_DIRECTORY_NAME}/${sourceRelativePath}`,\n join(sourceDirectory, ...sourceRelativePath.split('/')),\n );\n }\n /*\n * Rules are OPTIONAL, unlike skills. A payload generated before #98 carries no `rules/` home at\n * all, and refusing to sync one would make this command unusable against every such payload to\n * deliver an artifact kind that did not exist when it was built.\n */\n const rulesSourceDirectory = knowledgeSource.rulesHome;\n if (existsSync(rulesSourceDirectory)) {\n const canonicalRulesDirectory = assertCanonicalExistingDirectory(rulesSourceDirectory, 'Generated Framework Knowledge rules');\n for (const sourceRelativePath of listRegularFiles(canonicalRulesDirectory)) {\n assertCanonicalRelativePath(sourceRelativePath, 'Generated Framework Knowledge rule file');\n managedSourceByPath.set(\n `${RULES_DIRECTORY_NAME}/${sourceRelativePath}`,\n join(canonicalRulesDirectory, ...sourceRelativePath.split('/')),\n );\n }\n }\n const desiredManagedPaths = [...managedSourceByPath.keys()].sort((left, right) => left.localeCompare(right));\n if (!desiredManagedPaths.includes(`${SKILLS_DIRECTORY_NAME}/${SKILLS_INDEX_FILE_NAME}`)) {\n throw new Error('Generated Framework Knowledge source is missing skills/INDEX.md from its materialized file inventory.');\n }\n for (const desiredPath of desiredManagedPaths) assertCanonicalRelativePath(desiredPath, 'Desired Framework Knowledge managed file');\n\n const priorManagedPaths = new Set(priorState.managedRelativePaths);\n for (const desiredPath of desiredManagedPaths) {\n const relativeTargetPath = `${claudeRootRelativePath}/${desiredPath}`;\n const targetPath = join(applicationRoot, ...relativeTargetPath.split('/'));\n if (!existsSync(targetPath) || priorManagedPaths.has(desiredPath)) continue;\n throw new Error(`Refusing to replace unowned application guidance at .claude/${desiredPath}.`);\n }\n\n const stagingDirectoryName = '.wildo-fwk-dev-skills-stage-';\n const stagingRootRelativePath = boundary.createStagingDirectory(stagingDirectoryName);\n const stagedManagedRootRelativePath = `${stagingRootRelativePath}/managed`;\n const backupRootRelativePath = `${stagingRootRelativePath}/backup`;\n const stagedStateRelativePath = `${stagingRootRelativePath}/${MANAGED_STATE_FILE_NAME}`;\n try {\n boundary.ensureDirectory(stagedManagedRootRelativePath, 'Framework development skill staging');\n boundary.ensureDirectory(backupRootRelativePath, 'Framework development skill backup');\n for (const desiredPath of desiredManagedPaths) {\n const managedSourcePath = managedSourceByPath.get(desiredPath);\n if (managedSourcePath === undefined) {\n throw new Error(`No compiled source is registered for managed path .claude/${desiredPath}.`);\n }\n const stagedRelativePath = `${stagedManagedRootRelativePath}/${desiredPath}`;\n boundary.writeRegularFile(stagedRelativePath, readFileSync(managedSourcePath), 'Framework development skill staging');\n }\n boundary.writeRegularFile(\n stagedStateRelativePath,\n `${JSON.stringify({ schemaVersion: MANAGED_STATE_SCHEMA_VERSION, managedRelativePaths: desiredManagedPaths }, null, 2)}\\n`,\n 'Framework development skill staged state',\n );\n\n // All generated bytes are present and regular before the first target\n // backup. A source/staging fault therefore cannot partially update the app.\n for (const desiredPath of desiredManagedPaths) {\n boundary.assertRegularFile(`${stagedManagedRootRelativePath}/${desiredPath}`, 'Staged Framework Knowledge managed file');\n }\n boundary.assertRegularFile(stagedStateRelativePath, 'Staged Framework Knowledge managed state');\n\n const staleManagedPaths = priorState.managedRelativePaths.filter((path) => !desiredManagedPaths.includes(path));\n const replacementPaths = [...new Set([...priorState.managedRelativePaths, ...desiredManagedPaths])].sort((left, right) => left.localeCompare(right));\n const backedUpPaths: string[] = [];\n const publishedPaths: string[] = [];\n let stateBackedUp = false;\n try {\n for (const managedPath of replacementPaths) {\n if (boundary.moveExistingManagedFileToBackup(`${claudeRootRelativePath}/${managedPath}`, `${backupRootRelativePath}/${managedPath}`)) {\n backedUpPaths.push(managedPath);\n }\n }\n for (const desiredPath of desiredManagedPaths) {\n boundary.moveRegularFile({\n operation: FrameworkDevelopmentSkillsSyncMutationOperation.PublishManagedFile,\n sourceRelativePath: `${stagedManagedRootRelativePath}/${desiredPath}`,\n destinationRelativePath: `${claudeRootRelativePath}/${desiredPath}`,\n sourcePurpose: 'Staged Framework Knowledge managed file',\n destinationPurpose: 'Materialized Framework Knowledge managed file',\n });\n publishedPaths.push(desiredPath);\n }\n stateBackedUp = boundary.moveExistingManagedFileToBackup(stateRelativePath, `${backupRootRelativePath}/state/${MANAGED_STATE_FILE_NAME}`);\n boundary.moveRegularFile({\n operation: FrameworkDevelopmentSkillsSyncMutationOperation.PublishState,\n sourceRelativePath: stagedStateRelativePath,\n destinationRelativePath: stateRelativePath,\n sourcePurpose: 'Staged Framework Knowledge managed state',\n destinationPurpose: 'Materialized Framework Knowledge managed state',\n });\n } catch (error) {\n let rollbackError: unknown;\n try {\n for (const publishedPath of publishedPaths.reverse()) {\n boundary.removeManagedRegularFile(`${claudeRootRelativePath}/${publishedPath}`, FrameworkDevelopmentSkillsSyncMutationOperation.RollbackRemoval);\n }\n for (const backedUpPath of backedUpPaths) {\n boundary.moveRegularFile({\n operation: FrameworkDevelopmentSkillsSyncMutationOperation.RollbackRestore,\n sourceRelativePath: `${backupRootRelativePath}/${backedUpPath}`,\n destinationRelativePath: `${claudeRootRelativePath}/${backedUpPath}`,\n sourcePurpose: 'Framework Knowledge managed-file backup',\n destinationPurpose: 'Restored Framework Knowledge managed file',\n });\n }\n if (stateBackedUp) {\n boundary.moveRegularFile({\n operation: FrameworkDevelopmentSkillsSyncMutationOperation.RollbackRestore,\n sourceRelativePath: `${backupRootRelativePath}/state/${MANAGED_STATE_FILE_NAME}`,\n destinationRelativePath: stateRelativePath,\n sourcePurpose: 'Framework Knowledge managed-state backup',\n destinationPurpose: 'Restored Framework Knowledge managed state',\n });\n }\n } catch (caughtRollbackError) {\n rollbackError = caughtRollbackError;\n }\n if (rollbackError) {\n const message = rollbackError instanceof Error ? rollbackError.message : 'unknown secure rollback failure';\n throw new Error(`Framework-development skills publication failed and secure rollback could not complete: ${message}`, { cause: error });\n }\n throw error;\n }\n\n for (const stalePath of staleManagedPaths) {\n boundary.removeEmptyManagedAncestors(`${claudeRootRelativePath}/${stalePath}`);\n }\n\n const installedCount = desiredManagedPaths.filter((path) => !priorManagedPaths.has(path)).length;\n const updatedCount = desiredManagedPaths.filter((path) => priorManagedPaths.has(path)).length;\n\n /*\n * Point the application's own agent at the rules just installed (issue #314).\n *\n * Deliberately AFTER the transactional install rather than inside it. The rules are managed\n * files with a staged/backup/rollback protocol; `CLAUDE.md` belongs to the APPLICATION and\n * carries project instructions nobody else may overwrite, so it is touched only through a\n * delimited block and is never rolled back. Should this step fail, the rules are still\n * installed correctly and the state is exactly what it is today — the worst case, and no worse.\n */\n const ruleImports = FrameworkDevelopmentSkillsSyncService.syncApplicationRuleImports(\n applicationRoot,\n desiredManagedPaths,\n );\n\n /*\n * Wire the application's Claude Code settings to the compiled `wildo` plugin (#1651).\n *\n * AFTER the transactional install and outside it, like the rule imports: `settings.json` belongs\n * to the application, is merged key by key, and is never rolled back. The marketplace sits beside\n * `dist/knowledge`; for an installed package it is addressed through the LOGICAL path the caller\n * passed (`node_modules/@wildo-ai/framework-knowledge/…`), never the pnpm store path the knowledge\n * root was canonicalized to, which would break at the next upgrade.\n */\n const logicalKnowledgeOutputHome = frameworkRoot === null ? (input.knowledgeOutputHome as string) : knowledgeSource.outputHome;\n const claudeSettings = syncApplicationClaudeSettings({\n applicationRoot: input.applicationRoot,\n marketplaceDirectory: join(dirname(logicalKnowledgeOutputHome), WILDO_CLAUDE_MARKETPLACE_DIRECTORY_NAME),\n });\n\n return {\n ruleImports,\n claudeSettings,\n sourceDirectory,\n targetDirectory: targetSkillsDirectory,\n installedCount,\n updatedCount,\n removedCount: staleManagedPaths.length,\n validationFindings,\n };\n } finally {\n boundary.removeStagingDirectory(stagingRootRelativePath);\n }\n }\n}\n"]}
|
|
@@ -305,7 +305,17 @@ export declare enum FrameworkKnowledgeAuditRule {
|
|
|
305
305
|
* registered, and pulled into the prose with a `REFERENCE` placeholder — the Tier B path in
|
|
306
306
|
* `.claude/rules/framework-knowledge-authoring.md`.
|
|
307
307
|
*/
|
|
308
|
-
SkillSupportingFileIsNotMarkdown = "skill-supporting-file-is-not-markdown"
|
|
308
|
+
SkillSupportingFileIsNotMarkdown = "skill-supporting-file-is-not-markdown",
|
|
309
|
+
/**
|
|
310
|
+
* FAIL — an authored knowledge skill declares `user-invocable` (#1656).
|
|
311
|
+
*
|
|
312
|
+
* The generator marks EVERY compiled knowledge skill `user-invocable: false`, so an application's
|
|
313
|
+
* Claude Code `/` menu lists the `/wildo:*` commands instead of ~118 reference skills; Claude still
|
|
314
|
+
* loads a knowledge skill by its description. The generator owns the field and refuses an authored
|
|
315
|
+
* one at `generate-docs` — this rule surfaces the same refusal at PR time. A skill a person should
|
|
316
|
+
* invoke is a command, authored under `src/claude-plugin/skills/`.
|
|
317
|
+
*/
|
|
318
|
+
SkillDeclaresUserInvocable = "skill-declares-user-invocable"
|
|
309
319
|
}
|
|
310
320
|
export interface FrameworkKnowledgeAuditFinding {
|
|
311
321
|
rule: FrameworkKnowledgeAuditRule;
|
|
@@ -458,6 +468,8 @@ export declare class FrameworkKnowledgeAuditService {
|
|
|
458
468
|
* diverged in the first place.
|
|
459
469
|
*/
|
|
460
470
|
private static checkRule22SkillNameNotHostAddressable;
|
|
471
|
+
/** Rule 32 — see {@link FrameworkKnowledgeAuditRule.SkillDeclaresUserInvocable}. */
|
|
472
|
+
private static checkRule32SkillDeclaresUserInvocable;
|
|
461
473
|
/**
|
|
462
474
|
* Rule 31 — refuse a non-Markdown file under a skill's `references/` or `examples/`.
|
|
463
475
|
*
|