@owlmeans/viable-common 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +68 -0
- package/agent-meta/manifest.json +16 -0
- package/agent-meta/skills/viable-common/SKILL.md +179 -0
- package/build/agent/index.d.ts +4 -0
- package/build/agent/index.d.ts.map +1 -0
- package/build/agent/index.js +3 -0
- package/build/agent/index.js.map +1 -0
- package/build/agent/memory.d.ts +12 -0
- package/build/agent/memory.d.ts.map +1 -0
- package/build/agent/memory.js +11 -0
- package/build/agent/memory.js.map +1 -0
- package/build/agent/spectator/consts.d.ts +9 -0
- package/build/agent/spectator/consts.d.ts.map +1 -0
- package/build/agent/spectator/consts.js +10 -0
- package/build/agent/spectator/consts.js.map +1 -0
- package/build/agent/spectator/index.d.ts +3 -0
- package/build/agent/spectator/index.d.ts.map +1 -0
- package/build/agent/spectator/index.js +2 -0
- package/build/agent/spectator/index.js.map +1 -0
- package/build/agent/spectator/types.d.ts +13 -0
- package/build/agent/spectator/types.d.ts.map +1 -0
- package/build/agent/spectator/types.js +2 -0
- package/build/agent/spectator/types.js.map +1 -0
- package/build/agent/types.d.ts +10 -0
- package/build/agent/types.d.ts.map +1 -0
- package/build/agent/types.js +2 -0
- package/build/agent/types.js.map +1 -0
- package/build/areas/consts.d.ts +88 -0
- package/build/areas/consts.d.ts.map +1 -0
- package/build/areas/consts.js +106 -0
- package/build/areas/consts.js.map +1 -0
- package/build/areas/index.d.ts +3 -0
- package/build/areas/index.d.ts.map +1 -0
- package/build/areas/index.js +2 -0
- package/build/areas/index.js.map +1 -0
- package/build/areas/types.d.ts +28 -0
- package/build/areas/types.d.ts.map +1 -0
- package/build/areas/types.js +2 -0
- package/build/areas/types.js.map +1 -0
- package/build/ba/consts.d.ts +38 -0
- package/build/ba/consts.d.ts.map +1 -0
- package/build/ba/consts.js +41 -0
- package/build/ba/consts.js.map +1 -0
- package/build/ba/helpers.d.ts +41 -0
- package/build/ba/helpers.d.ts.map +1 -0
- package/build/ba/helpers.js +79 -0
- package/build/ba/helpers.js.map +1 -0
- package/build/ba/index.d.ts +5 -0
- package/build/ba/index.d.ts.map +1 -0
- package/build/ba/index.js +4 -0
- package/build/ba/index.js.map +1 -0
- package/build/ba/schemas.d.ts +13 -0
- package/build/ba/schemas.d.ts.map +1 -0
- package/build/ba/schemas.js +181 -0
- package/build/ba/schemas.js.map +1 -0
- package/build/ba/types.d.ts +113 -0
- package/build/ba/types.d.ts.map +1 -0
- package/build/ba/types.js +2 -0
- package/build/ba/types.js.map +1 -0
- package/build/blueprint/case.d.ts +73 -0
- package/build/blueprint/case.d.ts.map +1 -0
- package/build/blueprint/case.js +244 -0
- package/build/blueprint/case.js.map +1 -0
- package/build/blueprint/consts.d.ts +11 -0
- package/build/blueprint/consts.d.ts.map +1 -0
- package/build/blueprint/consts.js +11 -0
- package/build/blueprint/consts.js.map +1 -0
- package/build/blueprint/index.d.ts +6 -0
- package/build/blueprint/index.d.ts.map +1 -0
- package/build/blueprint/index.js +6 -0
- package/build/blueprint/index.js.map +1 -0
- package/build/blueprint/resolve.d.ts +51 -0
- package/build/blueprint/resolve.d.ts.map +1 -0
- package/build/blueprint/resolve.js +108 -0
- package/build/blueprint/resolve.js.map +1 -0
- package/build/blueprint/schemas.d.ts +41 -0
- package/build/blueprint/schemas.d.ts.map +1 -0
- package/build/blueprint/schemas.js +27 -0
- package/build/blueprint/schemas.js.map +1 -0
- package/build/blueprint/types.d.ts +186 -0
- package/build/blueprint/types.d.ts.map +1 -0
- package/build/blueprint/types.js +32 -0
- package/build/blueprint/types.js.map +1 -0
- package/build/branding.d.ts +19 -0
- package/build/branding.d.ts.map +1 -0
- package/build/branding.js +32 -0
- package/build/branding.js.map +1 -0
- package/build/connect/consts.d.ts +378 -0
- package/build/connect/consts.d.ts.map +1 -0
- package/build/connect/consts.js +425 -0
- package/build/connect/consts.js.map +1 -0
- package/build/connect/entrypoints.d.ts +41 -0
- package/build/connect/entrypoints.d.ts.map +1 -0
- package/build/connect/entrypoints.js +141 -0
- package/build/connect/entrypoints.js.map +1 -0
- package/build/connect/errors.d.ts +50 -0
- package/build/connect/errors.d.ts.map +1 -0
- package/build/connect/errors.js +77 -0
- package/build/connect/errors.js.map +1 -0
- package/build/connect/index.d.ts +8 -0
- package/build/connect/index.d.ts.map +1 -0
- package/build/connect/index.js +6 -0
- package/build/connect/index.js.map +1 -0
- package/build/connect/ops.d.ts +192 -0
- package/build/connect/ops.d.ts.map +1 -0
- package/build/connect/ops.js +2 -0
- package/build/connect/ops.js.map +1 -0
- package/build/connect/references.d.ts +194 -0
- package/build/connect/references.d.ts.map +1 -0
- package/build/connect/references.js +62 -0
- package/build/connect/references.js.map +1 -0
- package/build/connect/schemas.d.ts +59 -0
- package/build/connect/schemas.d.ts.map +1 -0
- package/build/connect/schemas.js +346 -0
- package/build/connect/schemas.js.map +1 -0
- package/build/connect/types.d.ts +428 -0
- package/build/connect/types.d.ts.map +1 -0
- package/build/connect/types.js +2 -0
- package/build/connect/types.js.map +1 -0
- package/build/consts.d.ts +9 -0
- package/build/consts.d.ts.map +1 -0
- package/build/consts.js +31 -0
- package/build/consts.js.map +1 -0
- package/build/convert/consts.d.ts +539 -0
- package/build/convert/consts.d.ts.map +1 -0
- package/build/convert/consts.js +630 -0
- package/build/convert/consts.js.map +1 -0
- package/build/convert/helpers.d.ts +91 -0
- package/build/convert/helpers.d.ts.map +1 -0
- package/build/convert/helpers.js +301 -0
- package/build/convert/helpers.js.map +1 -0
- package/build/convert/index.d.ts +11 -0
- package/build/convert/index.d.ts.map +1 -0
- package/build/convert/index.js +4 -0
- package/build/convert/index.js.map +1 -0
- package/build/convert/schemas.d.ts +62 -0
- package/build/convert/schemas.d.ts.map +1 -0
- package/build/convert/schemas.js +626 -0
- package/build/convert/schemas.js.map +1 -0
- package/build/convert/types.d.ts +683 -0
- package/build/convert/types.d.ts.map +1 -0
- package/build/convert/types.js +2 -0
- package/build/convert/types.js.map +1 -0
- package/build/design/consts.d.ts +25 -0
- package/build/design/consts.d.ts.map +1 -0
- package/build/design/consts.js +26 -0
- package/build/design/consts.js.map +1 -0
- package/build/design/helpers.d.ts +60 -0
- package/build/design/helpers.d.ts.map +1 -0
- package/build/design/helpers.js +221 -0
- package/build/design/helpers.js.map +1 -0
- package/build/design/index.d.ts +6 -0
- package/build/design/index.d.ts.map +1 -0
- package/build/design/index.js +5 -0
- package/build/design/index.js.map +1 -0
- package/build/design/runtime.d.ts +126 -0
- package/build/design/runtime.d.ts.map +1 -0
- package/build/design/runtime.js +65 -0
- package/build/design/runtime.js.map +1 -0
- package/build/design/schemas.d.ts +21 -0
- package/build/design/schemas.d.ts.map +1 -0
- package/build/design/schemas.js +369 -0
- package/build/design/schemas.js.map +1 -0
- package/build/design/types.d.ts +199 -0
- package/build/design/types.d.ts.map +1 -0
- package/build/design/types.js +2 -0
- package/build/design/types.js.map +1 -0
- package/build/dev/consts.d.ts +32 -0
- package/build/dev/consts.d.ts.map +1 -0
- package/build/dev/consts.js +33 -0
- package/build/dev/consts.js.map +1 -0
- package/build/dev/index.d.ts +4 -0
- package/build/dev/index.d.ts.map +1 -0
- package/build/dev/index.js +3 -0
- package/build/dev/index.js.map +1 -0
- package/build/dev/schemas.d.ts +15 -0
- package/build/dev/schemas.d.ts.map +1 -0
- package/build/dev/schemas.js +116 -0
- package/build/dev/schemas.js.map +1 -0
- package/build/dev/types.d.ts +42 -0
- package/build/dev/types.d.ts.map +1 -0
- package/build/dev/types.js +2 -0
- package/build/dev/types.js.map +1 -0
- package/build/execution/consts.d.ts +36 -0
- package/build/execution/consts.d.ts.map +1 -0
- package/build/execution/consts.js +37 -0
- package/build/execution/consts.js.map +1 -0
- package/build/execution/index.d.ts +3 -0
- package/build/execution/index.d.ts.map +1 -0
- package/build/execution/index.js +2 -0
- package/build/execution/index.js.map +1 -0
- package/build/execution/types.d.ts +50 -0
- package/build/execution/types.d.ts.map +1 -0
- package/build/execution/types.js +2 -0
- package/build/execution/types.js.map +1 -0
- package/build/index.d.ts +22 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +21 -0
- package/build/index.js.map +1 -0
- package/build/integrity/consts.d.ts +226 -0
- package/build/integrity/consts.d.ts.map +1 -0
- package/build/integrity/consts.js +401 -0
- package/build/integrity/consts.js.map +1 -0
- package/build/integrity/index.d.ts +4 -0
- package/build/integrity/index.d.ts.map +1 -0
- package/build/integrity/index.js +3 -0
- package/build/integrity/index.js.map +1 -0
- package/build/integrity/types.d.ts +35 -0
- package/build/integrity/types.d.ts.map +1 -0
- package/build/integrity/types.js +2 -0
- package/build/integrity/types.js.map +1 -0
- package/build/integrity/verify.d.ts +23 -0
- package/build/integrity/verify.d.ts.map +1 -0
- package/build/integrity/verify.js +198 -0
- package/build/integrity/verify.js.map +1 -0
- package/build/metadata/consts.d.ts +101 -0
- package/build/metadata/consts.d.ts.map +1 -0
- package/build/metadata/consts.js +104 -0
- package/build/metadata/consts.js.map +1 -0
- package/build/metadata/index.d.ts +3 -0
- package/build/metadata/index.d.ts.map +1 -0
- package/build/metadata/index.js +3 -0
- package/build/metadata/index.js.map +1 -0
- package/build/metadata/types.d.ts +286 -0
- package/build/metadata/types.d.ts.map +1 -0
- package/build/metadata/types.js +39 -0
- package/build/metadata/types.js.map +1 -0
- package/build/moderation/consts.d.ts +58 -0
- package/build/moderation/consts.d.ts.map +1 -0
- package/build/moderation/consts.js +60 -0
- package/build/moderation/consts.js.map +1 -0
- package/build/moderation/index.d.ts +5 -0
- package/build/moderation/index.d.ts.map +1 -0
- package/build/moderation/index.js +4 -0
- package/build/moderation/index.js.map +1 -0
- package/build/moderation/schemas.d.ts +19 -0
- package/build/moderation/schemas.d.ts.map +1 -0
- package/build/moderation/schemas.js +26 -0
- package/build/moderation/schemas.js.map +1 -0
- package/build/moderation/types.d.ts +64 -0
- package/build/moderation/types.d.ts.map +1 -0
- package/build/moderation/types.js +2 -0
- package/build/moderation/types.js.map +1 -0
- package/build/moderation/utils.d.ts +21 -0
- package/build/moderation/utils.d.ts.map +1 -0
- package/build/moderation/utils.js +31 -0
- package/build/moderation/utils.js.map +1 -0
- package/build/preview/consts.d.ts +10 -0
- package/build/preview/consts.d.ts.map +1 -0
- package/build/preview/consts.js +11 -0
- package/build/preview/consts.js.map +1 -0
- package/build/preview/index.d.ts +3 -0
- package/build/preview/index.d.ts.map +1 -0
- package/build/preview/index.js +2 -0
- package/build/preview/index.js.map +1 -0
- package/build/preview/types.d.ts +60 -0
- package/build/preview/types.d.ts.map +1 -0
- package/build/preview/types.js +2 -0
- package/build/preview/types.js.map +1 -0
- package/build/scaffold/consts.d.ts +25 -0
- package/build/scaffold/consts.d.ts.map +1 -0
- package/build/scaffold/consts.js +26 -0
- package/build/scaffold/consts.js.map +1 -0
- package/build/scaffold/helpers.d.ts +35 -0
- package/build/scaffold/helpers.d.ts.map +1 -0
- package/build/scaffold/helpers.js +54 -0
- package/build/scaffold/helpers.js.map +1 -0
- package/build/scaffold/index.d.ts +5 -0
- package/build/scaffold/index.d.ts.map +1 -0
- package/build/scaffold/index.js +4 -0
- package/build/scaffold/index.js.map +1 -0
- package/build/scaffold/schemas.d.ts +5 -0
- package/build/scaffold/schemas.d.ts.map +1 -0
- package/build/scaffold/schemas.js +273 -0
- package/build/scaffold/schemas.js.map +1 -0
- package/build/scaffold/types.d.ts +144 -0
- package/build/scaffold/types.d.ts.map +1 -0
- package/build/scaffold/types.js +2 -0
- package/build/scaffold/types.js.map +1 -0
- package/build/skills/catalogue.d.ts +47 -0
- package/build/skills/catalogue.d.ts.map +1 -0
- package/build/skills/catalogue.js +1566 -0
- package/build/skills/catalogue.js.map +1 -0
- package/build/skills/consts.d.ts +104 -0
- package/build/skills/consts.d.ts.map +1 -0
- package/build/skills/consts.js +170 -0
- package/build/skills/consts.js.map +1 -0
- package/build/skills/index.d.ts +4 -0
- package/build/skills/index.d.ts.map +1 -0
- package/build/skills/index.js +4 -0
- package/build/skills/index.js.map +1 -0
- package/build/skills/roles.d.ts +52 -0
- package/build/skills/roles.d.ts.map +1 -0
- package/build/skills/roles.js +256 -0
- package/build/skills/roles.js.map +1 -0
- package/build/slot/consts.d.ts +305 -0
- package/build/slot/consts.d.ts.map +1 -0
- package/build/slot/consts.js +376 -0
- package/build/slot/consts.js.map +1 -0
- package/build/slot/helpers.d.ts +25 -0
- package/build/slot/helpers.d.ts.map +1 -0
- package/build/slot/helpers.js +27 -0
- package/build/slot/helpers.js.map +1 -0
- package/build/slot/index.d.ts +6 -0
- package/build/slot/index.d.ts.map +1 -0
- package/build/slot/index.js +5 -0
- package/build/slot/index.js.map +1 -0
- package/build/slot/layout.d.ts +72 -0
- package/build/slot/layout.d.ts.map +1 -0
- package/build/slot/layout.js +82 -0
- package/build/slot/layout.js.map +1 -0
- package/build/slot/schemas.d.ts +12 -0
- package/build/slot/schemas.d.ts.map +1 -0
- package/build/slot/schemas.js +43 -0
- package/build/slot/schemas.js.map +1 -0
- package/build/slot/types.d.ts +147 -0
- package/build/slot/types.d.ts.map +1 -0
- package/build/slot/types.js +2 -0
- package/build/slot/types.js.map +1 -0
- package/build/topology/card.d.ts +23 -0
- package/build/topology/card.d.ts.map +1 -0
- package/build/topology/card.js +95 -0
- package/build/topology/card.js.map +1 -0
- package/build/topology/consts.d.ts +32 -0
- package/build/topology/consts.d.ts.map +1 -0
- package/build/topology/consts.js +55 -0
- package/build/topology/consts.js.map +1 -0
- package/build/topology/helpers.d.ts +44 -0
- package/build/topology/helpers.d.ts.map +1 -0
- package/build/topology/helpers.js +112 -0
- package/build/topology/helpers.js.map +1 -0
- package/build/topology/index.d.ts +5 -0
- package/build/topology/index.d.ts.map +1 -0
- package/build/topology/index.js +4 -0
- package/build/topology/index.js.map +1 -0
- package/build/topology/types.d.ts +83 -0
- package/build/topology/types.d.ts.map +1 -0
- package/build/topology/types.js +2 -0
- package/build/topology/types.js.map +1 -0
- package/build/types.d.ts +88 -0
- package/build/types.d.ts.map +1 -0
- package/build/types.js +2 -0
- package/build/types.js.map +1 -0
- package/build/ux/consts.d.ts +5 -0
- package/build/ux/consts.d.ts.map +1 -0
- package/build/ux/consts.js +6 -0
- package/build/ux/consts.js.map +1 -0
- package/build/ux/index.d.ts +4 -0
- package/build/ux/index.d.ts.map +1 -0
- package/build/ux/index.js +3 -0
- package/build/ux/index.js.map +1 -0
- package/build/ux/schemas.d.ts +8 -0
- package/build/ux/schemas.d.ts.map +1 -0
- package/build/ux/schemas.js +91 -0
- package/build/ux/schemas.js.map +1 -0
- package/build/ux/types.d.ts +21 -0
- package/build/ux/types.d.ts.map +1 -0
- package/build/ux/types.js +2 -0
- package/build/ux/types.js.map +1 -0
- package/package.json +71 -0
- package/src/agent/index.ts +4 -0
- package/src/agent/memory.ts +16 -0
- package/src/agent/spectator/consts.ts +10 -0
- package/src/agent/spectator/index.ts +3 -0
- package/src/agent/spectator/types.ts +14 -0
- package/src/agent/types.ts +10 -0
- package/src/areas/consts.ts +112 -0
- package/src/areas/index.ts +3 -0
- package/src/areas/types.ts +29 -0
- package/src/ba/consts.ts +40 -0
- package/src/ba/helpers.ts +93 -0
- package/src/ba/index.ts +5 -0
- package/src/ba/schemas.ts +196 -0
- package/src/ba/types.ts +125 -0
- package/src/blueprint/case.ts +272 -0
- package/src/blueprint/consts.ts +11 -0
- package/src/blueprint/index.ts +6 -0
- package/src/blueprint/resolve.ts +133 -0
- package/src/blueprint/schemas.ts +44 -0
- package/src/blueprint/types.ts +204 -0
- package/src/branding.ts +34 -0
- package/src/connect/consts.ts +441 -0
- package/src/connect/entrypoints.ts +291 -0
- package/src/connect/errors.ts +91 -0
- package/src/connect/index.ts +7 -0
- package/src/connect/ops.ts +208 -0
- package/src/connect/references.ts +89 -0
- package/src/connect/schemas.ts +384 -0
- package/src/connect/types.ts +456 -0
- package/src/consts.ts +34 -0
- package/src/convert/consts.ts +672 -0
- package/src/convert/helpers.ts +340 -0
- package/src/convert/index.ts +10 -0
- package/src/convert/schemas.ts +663 -0
- package/src/convert/types.ts +741 -0
- package/src/design/consts.ts +26 -0
- package/src/design/helpers.ts +255 -0
- package/src/design/index.ts +5 -0
- package/src/design/runtime.ts +142 -0
- package/src/design/schemas.ts +384 -0
- package/src/design/types.ts +191 -0
- package/src/dev/consts.ts +35 -0
- package/src/dev/index.ts +4 -0
- package/src/dev/schemas.ts +124 -0
- package/src/dev/types.ts +47 -0
- package/src/execution/consts.ts +37 -0
- package/src/execution/index.ts +3 -0
- package/src/execution/types.ts +55 -0
- package/src/index.ts +22 -0
- package/src/integrity/consts.ts +477 -0
- package/src/integrity/index.ts +3 -0
- package/src/integrity/types.ts +37 -0
- package/src/integrity/verify.ts +221 -0
- package/src/metadata/consts.ts +118 -0
- package/src/metadata/index.ts +3 -0
- package/src/metadata/types.ts +310 -0
- package/src/moderation/consts.ts +59 -0
- package/src/moderation/index.ts +4 -0
- package/src/moderation/schemas.ts +28 -0
- package/src/moderation/types.ts +68 -0
- package/src/moderation/utils.ts +35 -0
- package/src/preview/consts.ts +9 -0
- package/src/preview/index.ts +3 -0
- package/src/preview/types.ts +79 -0
- package/src/scaffold/consts.ts +26 -0
- package/src/scaffold/helpers.ts +84 -0
- package/src/scaffold/index.ts +4 -0
- package/src/scaffold/schemas.ts +283 -0
- package/src/scaffold/types.ts +118 -0
- package/src/skills/catalogue.ts +1617 -0
- package/src/skills/consts.ts +183 -0
- package/src/skills/index.ts +4 -0
- package/src/skills/roles.ts +299 -0
- package/src/slot/consts.ts +393 -0
- package/src/slot/helpers.ts +34 -0
- package/src/slot/index.ts +5 -0
- package/src/slot/layout.ts +141 -0
- package/src/slot/schemas.ts +46 -0
- package/src/slot/types.ts +164 -0
- package/src/topology/card.ts +106 -0
- package/src/topology/consts.ts +59 -0
- package/src/topology/helpers.ts +138 -0
- package/src/topology/index.ts +5 -0
- package/src/topology/types.ts +86 -0
- package/src/types.ts +104 -0
- package/src/ux/consts.ts +5 -0
- package/src/ux/index.ts +4 -0
- package/src/ux/schemas.ts +97 -0
- package/src/ux/types.ts +25 -0
- package/tests/connect-convert.spec.ts +161 -0
- package/tests/convert.spec.ts +318 -0
- package/tests/design.spec.ts +136 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,428 @@
|
|
|
1
|
+
import type { ArchitectureCase, ConversionDecision, ConversionEstimate, ConversionStackRef, ConversionStage, ConversionStatus, ConvertibilityReason, ConvertibilityVerdict, OriginKind, OriginShape, OriginState, StoryEstimateBand } from '../convert/index.js';
|
|
2
|
+
import type { ConnectExecutor, ConnectHarness, ConnectJobBlock, ConnectJobKind, ConnectJobStatus, ConnectLlm, ConnectSessionStatus, ConnectTarget, ConnectTransport, ModelTier } from './consts.js';
|
|
3
|
+
import type { InquiryAnswerPayload, InquiryPayload } from './ops.js';
|
|
4
|
+
/**
|
|
5
|
+
* What a parent agent can do, as it reports itself.
|
|
6
|
+
*
|
|
7
|
+
* `tiers` is what decides whether the local-LLM mode is usable at all: a parent that names no
|
|
8
|
+
* model for a tier still gets tasks, clamped to the nearest tier it does offer.
|
|
9
|
+
*/
|
|
10
|
+
export interface ConnectCapabilities {
|
|
11
|
+
harness: ConnectHarness;
|
|
12
|
+
/** Tier → the parent's own name for the model it will run that tier on. Display only. */
|
|
13
|
+
tiers: Partial<Record<ModelTier, string>>;
|
|
14
|
+
/** Whether the parent can run a task in an isolated subagent rather than its own conversation. */
|
|
15
|
+
subagents: boolean;
|
|
16
|
+
/** Whether the parent can ask for low reasoning effort explicitly. */
|
|
17
|
+
effortControl: boolean;
|
|
18
|
+
/** Which operation kinds this connector will execute. */
|
|
19
|
+
executors: ConnectExecutor[];
|
|
20
|
+
/** What the local machine has, learned from the configure op. Absent until one has run. */
|
|
21
|
+
services?: ConnectServices;
|
|
22
|
+
}
|
|
23
|
+
/** What a local machine actually provides. Reported by the connector, never assumed. */
|
|
24
|
+
export interface ConnectServices {
|
|
25
|
+
db: boolean;
|
|
26
|
+
valkey: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface ConnectSession {
|
|
29
|
+
id?: string;
|
|
30
|
+
profileId: string;
|
|
31
|
+
entityId: string;
|
|
32
|
+
projectId?: string;
|
|
33
|
+
/** The absolute directory the target lives in, for a local target. Identity for supersede. */
|
|
34
|
+
projectDir?: string;
|
|
35
|
+
target: ConnectTarget;
|
|
36
|
+
llm: ConnectLlm;
|
|
37
|
+
harness: ConnectHarness;
|
|
38
|
+
clientVersion: string;
|
|
39
|
+
capabilities: ConnectCapabilities;
|
|
40
|
+
status: ConnectSessionStatus;
|
|
41
|
+
/** How the connector is receiving operations right now. */
|
|
42
|
+
transport?: ConnectTransport;
|
|
43
|
+
openedAt: Date;
|
|
44
|
+
lastSeenAt: Date;
|
|
45
|
+
closedAt?: Date;
|
|
46
|
+
createdAt: Date;
|
|
47
|
+
updatedAt?: Date;
|
|
48
|
+
}
|
|
49
|
+
/** What a connector asks for when it attaches. */
|
|
50
|
+
export interface ConnectSessionOpen {
|
|
51
|
+
projectId?: string;
|
|
52
|
+
projectDir?: string;
|
|
53
|
+
target: ConnectTarget;
|
|
54
|
+
harness: ConnectHarness;
|
|
55
|
+
clientVersion: string;
|
|
56
|
+
capabilities: ConnectCapabilities;
|
|
57
|
+
}
|
|
58
|
+
export interface ConnectSessionParams {
|
|
59
|
+
sessionId: string;
|
|
60
|
+
}
|
|
61
|
+
export interface ConnectSessionView {
|
|
62
|
+
id: string;
|
|
63
|
+
target: ConnectTarget;
|
|
64
|
+
llm: ConnectLlm;
|
|
65
|
+
projectId?: string;
|
|
66
|
+
status: ConnectSessionStatus;
|
|
67
|
+
/** Operations waiting for this session right now. */
|
|
68
|
+
pending: number;
|
|
69
|
+
expiresAt: string;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* A derived view of "what the platform is doing for this project right now".
|
|
73
|
+
*
|
|
74
|
+
* Never stored. It is composed per request from the project lock, the slot record, the story
|
|
75
|
+
* record, the latest pipeline run row and the operations queued for the project — the same facts
|
|
76
|
+
* the manager UI reads, arranged for a caller that has one question ("may I stop waiting?") and
|
|
77
|
+
* one follow-up ("what do I call next?").
|
|
78
|
+
*/
|
|
79
|
+
export interface ConnectJob {
|
|
80
|
+
id: string;
|
|
81
|
+
kind: ConnectJobKind;
|
|
82
|
+
status: ConnectJobStatus;
|
|
83
|
+
projectId: string;
|
|
84
|
+
storyId?: string;
|
|
85
|
+
runId?: string;
|
|
86
|
+
/** The pipeline step in flight, when a run row says. */
|
|
87
|
+
phase?: string;
|
|
88
|
+
progress?: ConnectJobProgress;
|
|
89
|
+
blockedOn?: ConnectJobBlock;
|
|
90
|
+
/**
|
|
91
|
+
* The question a parked run is waiting on — present exactly when it is blocked on one.
|
|
92
|
+
*
|
|
93
|
+
* Carried on the job rather than left to a second lookup because a parent reads a job and
|
|
94
|
+
* nothing else while it polls: a run that stopped for a person, described only as "blocked",
|
|
95
|
+
* is a run whose parent waits out the timeout for a question it was never shown. It is also
|
|
96
|
+
* the ONLY way back to a question whose operation timed out while nobody was attached — the
|
|
97
|
+
* connector's own queue holds nothing at that point.
|
|
98
|
+
*/
|
|
99
|
+
inquiry?: InquiryPayload;
|
|
100
|
+
/** One sentence a parent agent can show a human. */
|
|
101
|
+
message?: string;
|
|
102
|
+
/** Present on `Failed`, and on `Done` where the run recorded a warning. */
|
|
103
|
+
error?: string;
|
|
104
|
+
/** Kind-specific payload once `Done`. */
|
|
105
|
+
result?: Record<string, unknown>;
|
|
106
|
+
startedAt?: string;
|
|
107
|
+
updatedAt: string;
|
|
108
|
+
}
|
|
109
|
+
export interface ConnectJobProgress {
|
|
110
|
+
step?: string;
|
|
111
|
+
completed: string[];
|
|
112
|
+
pending: string[];
|
|
113
|
+
}
|
|
114
|
+
export interface ConnectJobParams {
|
|
115
|
+
id: string;
|
|
116
|
+
jobId: string;
|
|
117
|
+
}
|
|
118
|
+
export interface ConnectWaitQuery {
|
|
119
|
+
/** Seconds to wait before answering; clamped to the pull ceiling. */
|
|
120
|
+
wait?: number;
|
|
121
|
+
}
|
|
122
|
+
/** Paging and filtering for the story list a connector reads. */
|
|
123
|
+
export interface ConnectStoryQuery {
|
|
124
|
+
page?: number;
|
|
125
|
+
size?: number;
|
|
126
|
+
status?: string;
|
|
127
|
+
area?: string;
|
|
128
|
+
/** Free-text match against the story narrative and its code. */
|
|
129
|
+
q?: string;
|
|
130
|
+
}
|
|
131
|
+
export interface ConnectStoryList {
|
|
132
|
+
items: ConnectStoryItem[];
|
|
133
|
+
page: number;
|
|
134
|
+
size: number;
|
|
135
|
+
total: number;
|
|
136
|
+
}
|
|
137
|
+
export interface ConnectStoryItem {
|
|
138
|
+
id: string;
|
|
139
|
+
code?: string;
|
|
140
|
+
story: string;
|
|
141
|
+
area?: string;
|
|
142
|
+
status: string;
|
|
143
|
+
primary: boolean;
|
|
144
|
+
warning?: string;
|
|
145
|
+
createdAt: string;
|
|
146
|
+
}
|
|
147
|
+
/** What a connector needs to know about a project in one call. */
|
|
148
|
+
export interface ConnectProjectStatus {
|
|
149
|
+
project: {
|
|
150
|
+
id: string;
|
|
151
|
+
name: string;
|
|
152
|
+
alias: string;
|
|
153
|
+
description?: string;
|
|
154
|
+
specification?: string;
|
|
155
|
+
vision?: string;
|
|
156
|
+
};
|
|
157
|
+
slot?: {
|
|
158
|
+
id: string;
|
|
159
|
+
kind: string;
|
|
160
|
+
status: string;
|
|
161
|
+
slug: string;
|
|
162
|
+
host?: string;
|
|
163
|
+
initialized?: boolean;
|
|
164
|
+
lastError?: string;
|
|
165
|
+
buildWarning?: string;
|
|
166
|
+
backendWarning?: string;
|
|
167
|
+
};
|
|
168
|
+
production?: {
|
|
169
|
+
id: string;
|
|
170
|
+
status: string;
|
|
171
|
+
host?: string;
|
|
172
|
+
};
|
|
173
|
+
agent: {
|
|
174
|
+
locked: boolean;
|
|
175
|
+
task?: string;
|
|
176
|
+
lockedAt?: string;
|
|
177
|
+
};
|
|
178
|
+
run?: {
|
|
179
|
+
runId: string;
|
|
180
|
+
pipeline: string;
|
|
181
|
+
status: string;
|
|
182
|
+
step?: string;
|
|
183
|
+
completed: string[];
|
|
184
|
+
pending: string[];
|
|
185
|
+
error?: string;
|
|
186
|
+
};
|
|
187
|
+
session?: ConnectSessionView;
|
|
188
|
+
/** Set for a local target: the connector should not offer cloud-only operations. */
|
|
189
|
+
local: boolean;
|
|
190
|
+
}
|
|
191
|
+
/** The record a local project keeps so a later session knows what it is. */
|
|
192
|
+
export interface ConnectMarker {
|
|
193
|
+
version: 1;
|
|
194
|
+
apiUrl: string;
|
|
195
|
+
projectId: string;
|
|
196
|
+
slug: string;
|
|
197
|
+
entitySlug?: string;
|
|
198
|
+
createdAt: string;
|
|
199
|
+
}
|
|
200
|
+
/** The per-profile connector preference. */
|
|
201
|
+
export interface ConnectProfileSettings {
|
|
202
|
+
llmMode: ConnectLlm;
|
|
203
|
+
}
|
|
204
|
+
export interface ConnectProfileSettingsView extends ConnectProfileSettings {
|
|
205
|
+
/** Whether the organization's plan allows the local-LLM mode at all. */
|
|
206
|
+
canUseLocal: boolean;
|
|
207
|
+
/**
|
|
208
|
+
* The profile's preference for who performs a CONVERSION's model calls.
|
|
209
|
+
*
|
|
210
|
+
* Its own setting rather than a reading of `llmMode`, because the two answer for different
|
|
211
|
+
* work: a conversion reads somebody else's whole repository, which is the one job where handing
|
|
212
|
+
* the inference to the parent agent is the cheap default rather than the experimental option.
|
|
213
|
+
*
|
|
214
|
+
* OPTIONAL for the same reason {@link ConnectCapabilitiesView.defaults} carries `converterLlm`
|
|
215
|
+
* optionally: the two converter fields are answered by a platform build that does not exist yet,
|
|
216
|
+
* and this package is consumed by the platform through a workspace link rather than a published
|
|
217
|
+
* range — a required field here is a compile error in every handler that already returns this
|
|
218
|
+
* view. Tightened to required once the platform's conversion handlers fill them.
|
|
219
|
+
*/
|
|
220
|
+
converterLlmMode?: ConnectLlm;
|
|
221
|
+
/** Whether this caller may run a conversion's model calls on the parent agent. */
|
|
222
|
+
canUseConverterLocal?: boolean;
|
|
223
|
+
}
|
|
224
|
+
export interface ConnectLlmBody {
|
|
225
|
+
llmMode: ConnectLlm;
|
|
226
|
+
}
|
|
227
|
+
/** The per-project override, and what it resolves to. */
|
|
228
|
+
export interface ConnectProjectSettings {
|
|
229
|
+
/** `null` means "inherit the profile setting". */
|
|
230
|
+
llmMode: ConnectLlm | null;
|
|
231
|
+
effective: ConnectLlm;
|
|
232
|
+
canUseLocal: boolean;
|
|
233
|
+
/**
|
|
234
|
+
* The project's converter override; `null` inherits the profile's.
|
|
235
|
+
*
|
|
236
|
+
* Optional on the same forward-compatibility grounds as
|
|
237
|
+
* {@link ConnectProfileSettingsView.converterLlmMode} — absent from an answer written before the
|
|
238
|
+
* platform's conversion handlers land, and never to be read as a value.
|
|
239
|
+
*/
|
|
240
|
+
converterLlmMode?: ConnectLlm | null;
|
|
241
|
+
/** What the override, the profile and the platform's own floor actually resolve to. */
|
|
242
|
+
converterEffective?: ConnectLlm;
|
|
243
|
+
}
|
|
244
|
+
export interface ConnectProjectLlmBody {
|
|
245
|
+
llmMode: ConnectLlm | null;
|
|
246
|
+
}
|
|
247
|
+
/** What the platform tells a connector about itself. */
|
|
248
|
+
export interface ConnectCapabilitiesView {
|
|
249
|
+
/** Tier → the platform role names that will be asked for at that tier. */
|
|
250
|
+
tiers: Record<ModelTier, string[]>;
|
|
251
|
+
/** Whether this caller may open a local-LLM session. */
|
|
252
|
+
localLlm: boolean;
|
|
253
|
+
/**
|
|
254
|
+
* The default mode for a new session, resolved from the caller's settings.
|
|
255
|
+
*
|
|
256
|
+
* `converterLlm` is OPTIONAL: an older platform does not send it, and a client that treated its
|
|
257
|
+
* absence as a value would pin every conversion to whatever its own default happened to be.
|
|
258
|
+
*/
|
|
259
|
+
defaults: {
|
|
260
|
+
target: ConnectTarget;
|
|
261
|
+
llm: ConnectLlm;
|
|
262
|
+
converterLlm?: ConnectLlm;
|
|
263
|
+
};
|
|
264
|
+
limits: {
|
|
265
|
+
pullWaitMs: number;
|
|
266
|
+
modelTaskTimeoutMs: number;
|
|
267
|
+
maxPending: number;
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
/** Attach an existing project to a session. */
|
|
271
|
+
export interface ConnectAttachBody {
|
|
272
|
+
projectId?: string;
|
|
273
|
+
slug?: string;
|
|
274
|
+
projectDir?: string;
|
|
275
|
+
}
|
|
276
|
+
/** Create a project through the connector; `target` decides where its tree will live. */
|
|
277
|
+
export interface ConnectCreateBody {
|
|
278
|
+
prompt: string;
|
|
279
|
+
target?: ConnectTarget;
|
|
280
|
+
}
|
|
281
|
+
/** Confirm a drafted project, optionally editing what the analysis produced. */
|
|
282
|
+
export interface ConnectConfirmBody {
|
|
283
|
+
name?: string;
|
|
284
|
+
description?: string;
|
|
285
|
+
specification?: string;
|
|
286
|
+
vision?: string;
|
|
287
|
+
target?: ConnectTarget;
|
|
288
|
+
}
|
|
289
|
+
export interface ConnectModifyBody {
|
|
290
|
+
prompt: string;
|
|
291
|
+
}
|
|
292
|
+
export interface ConnectStoryBody {
|
|
293
|
+
story: string;
|
|
294
|
+
}
|
|
295
|
+
export interface ConnectPipelineParams {
|
|
296
|
+
id: string;
|
|
297
|
+
runId: string;
|
|
298
|
+
}
|
|
299
|
+
export interface ConnectPipelineResumeBody {
|
|
300
|
+
from?: string;
|
|
301
|
+
force?: boolean;
|
|
302
|
+
/**
|
|
303
|
+
* Answers to the questions a parked run is waiting on, keyed by inquiry id.
|
|
304
|
+
*
|
|
305
|
+
* A run stops at `Waiting` because a step asked something; resuming it without what it asked for
|
|
306
|
+
* makes it ask again. The runner MERGES these into whatever the run already carries rather than
|
|
307
|
+
* replacing them, so a resume that answers one of two outstanding questions keeps the other.
|
|
308
|
+
*/
|
|
309
|
+
answers?: Record<string, InquiryAnswerPayload>;
|
|
310
|
+
}
|
|
311
|
+
/** Start a conversion of an existing project's code. */
|
|
312
|
+
export interface ConnectConvertCreateBody {
|
|
313
|
+
name?: string;
|
|
314
|
+
about?: string;
|
|
315
|
+
/** Where the converted target's tree will live. */
|
|
316
|
+
target?: ConnectTarget;
|
|
317
|
+
/**
|
|
318
|
+
* Where the code comes from.
|
|
319
|
+
*
|
|
320
|
+
* Absent for a LOCAL target the connector is already attached to: the tree is the directory the
|
|
321
|
+
* session opened on, and there is nothing to fetch.
|
|
322
|
+
*/
|
|
323
|
+
origin?: {
|
|
324
|
+
kind: OriginKind;
|
|
325
|
+
repoUrl?: string;
|
|
326
|
+
branch?: string;
|
|
327
|
+
};
|
|
328
|
+
}
|
|
329
|
+
/** Decide what happens at a stage boundary. */
|
|
330
|
+
export interface ConnectConvertProceedBody {
|
|
331
|
+
decision: ConversionDecision;
|
|
332
|
+
/** Free text the user added to the decision; recorded, never parsed. */
|
|
333
|
+
note?: string;
|
|
334
|
+
}
|
|
335
|
+
/** Answer one question a parked run is waiting on. */
|
|
336
|
+
export type ConnectInquiryAnswerBody = InquiryAnswerPayload;
|
|
337
|
+
/**
|
|
338
|
+
* Whether this origin can be converted, and what it will cost.
|
|
339
|
+
*
|
|
340
|
+
* Answered BEFORE anything is provisioned or charged, from the census alone — which is why it
|
|
341
|
+
* carries the counts it was decided from rather than a bare verdict.
|
|
342
|
+
*/
|
|
343
|
+
export interface ConvertCheck {
|
|
344
|
+
projectId: string;
|
|
345
|
+
verdict: ConvertibilityVerdict;
|
|
346
|
+
reasons: ConvertibilityReason[];
|
|
347
|
+
stack?: ConversionStackRef;
|
|
348
|
+
architecture?: ArchitectureCase;
|
|
349
|
+
shape: OriginShape;
|
|
350
|
+
monorepo: boolean;
|
|
351
|
+
/** Workspace members and directories nothing declares. Named, because each one is a decision. */
|
|
352
|
+
unlinked: string[];
|
|
353
|
+
files: number;
|
|
354
|
+
bytes: number;
|
|
355
|
+
/** Bulk data files found — sampled and described, never carried. */
|
|
356
|
+
bulk: number;
|
|
357
|
+
estimate?: ConversionEstimate;
|
|
358
|
+
}
|
|
359
|
+
/** Everything a caller needs to draw the conversion's current state in one call. */
|
|
360
|
+
export interface ConversionStatusView {
|
|
361
|
+
projectId: string;
|
|
362
|
+
stage: ConversionStage;
|
|
363
|
+
status: ConversionStatus;
|
|
364
|
+
/** The last decision the user made. */
|
|
365
|
+
decision?: ConversionDecision;
|
|
366
|
+
verdict?: ConvertibilityVerdict;
|
|
367
|
+
stack?: ConversionStackRef;
|
|
368
|
+
/** What the conversion is rebuilding the project ONTO. Always the Viable stack today. */
|
|
369
|
+
targetStack?: ConversionStackRef;
|
|
370
|
+
architecture?: ArchitectureCase;
|
|
371
|
+
/** One per stage that has been estimated, newest last. */
|
|
372
|
+
estimates: ConversionEstimate[];
|
|
373
|
+
storyEstimate?: StoryEstimateBand;
|
|
374
|
+
originState: OriginState;
|
|
375
|
+
/** How many questions the conversion answered for itself. Each one is readable in the docs. */
|
|
376
|
+
assumptions: number;
|
|
377
|
+
runId?: string;
|
|
378
|
+
/** Set exactly when `status` is `Waiting`: the question the run stopped on. */
|
|
379
|
+
pendingInquiry?: InquiryPayload;
|
|
380
|
+
lastError?: string;
|
|
381
|
+
updatedAt: string;
|
|
382
|
+
}
|
|
383
|
+
/** The acknowledgement returned when a connector submits an operation result. */
|
|
384
|
+
export interface ConnectOpSubmission {
|
|
385
|
+
ok: boolean;
|
|
386
|
+
/** The operation was already resolved; retrying a lost HTTP response is safe. */
|
|
387
|
+
ignored?: boolean;
|
|
388
|
+
}
|
|
389
|
+
/** The deliberate small projection returned by the connector project list. */
|
|
390
|
+
export interface ConnectProjectSummary {
|
|
391
|
+
id: string;
|
|
392
|
+
name: string;
|
|
393
|
+
alias: string;
|
|
394
|
+
}
|
|
395
|
+
/** A story item returned after creating, editing or fetching one story. */
|
|
396
|
+
export interface ConnectStoryMutation {
|
|
397
|
+
id: string;
|
|
398
|
+
code?: string;
|
|
399
|
+
story: string;
|
|
400
|
+
area?: string;
|
|
401
|
+
status: string;
|
|
402
|
+
primary: boolean;
|
|
403
|
+
warning?: string;
|
|
404
|
+
createdAt: string;
|
|
405
|
+
}
|
|
406
|
+
/** The success answer for deleting a story. */
|
|
407
|
+
export interface ConnectStoryDeletion {
|
|
408
|
+
deleted: boolean;
|
|
409
|
+
}
|
|
410
|
+
/** The persistent state of one pipeline run, read by a connector without platform internals. */
|
|
411
|
+
export interface ConnectPipelineState {
|
|
412
|
+
runId: string;
|
|
413
|
+
pipeline: string;
|
|
414
|
+
version: number;
|
|
415
|
+
status: string;
|
|
416
|
+
step?: string;
|
|
417
|
+
completed: string[];
|
|
418
|
+
pending: string[];
|
|
419
|
+
warnings: string[];
|
|
420
|
+
failedAt?: string;
|
|
421
|
+
error?: string;
|
|
422
|
+
note?: string;
|
|
423
|
+
attempts: number;
|
|
424
|
+
startedAt: string;
|
|
425
|
+
heartbeatAt: string;
|
|
426
|
+
updatedAt: string;
|
|
427
|
+
}
|
|
428
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/connect/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,eAAe,EAC7F,gBAAgB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,UAAU,EAAE,WAAW,EACtF,WAAW,EAAE,iBAAiB,EAC/B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EACV,eAAe,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,gBAAgB,EAAE,UAAU,EAC9F,oBAAoB,EAAE,aAAa,EAAE,gBAAgB,EAAE,SAAS,EACjE,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAEpE;;;;;GAKG;AACH,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,cAAc,CAAA;IACvB,yFAAyF;IACzF,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,CAAA;IACzC,kGAAkG;IAClG,SAAS,EAAE,OAAO,CAAA;IAClB,sEAAsE;IACtE,aAAa,EAAE,OAAO,CAAA;IACtB,yDAAyD;IACzD,SAAS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A;IACb,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,+CAA+C;AAC/C,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,gGAAgG;AAChG,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/connect/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare enum SeniorityMode {
|
|
2
|
+
Junior = "junior",
|
|
3
|
+
Middle = "middle",
|
|
4
|
+
Senior = "senior"
|
|
5
|
+
}
|
|
6
|
+
export declare const metadataConfigs: ("brandingCopyright" | "brandingCredit" | "brandingHideCreditIntent" | "brandingOrganization" | "brandingPrivacyUrl" | "brandingTermsUrl" | "oidcClientId" | "oidcIssuerUrl" | "oidcRealm" | "projectName")[];
|
|
7
|
+
export declare const metadataLists: ("allowedOrigins" | "backendEnvVars" | "frontendEnvVars" | "oidcRedirectUris" | "permissions")[];
|
|
8
|
+
export declare const metadataSecrets: ("dbAppPassword" | "oidcClientSecret" | "valkeyPassword")[];
|
|
9
|
+
//# sourceMappingURL=consts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../src/consts.ts"],"names":[],"mappings":"AAEA,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,eAAe,+MAWqB,CAAA;AAEjD,eAAO,MAAM,aAAa,kGAMY,CAAA;AAEtC,eAAO,MAAM,eAAe,6DAIY,CAAA"}
|
package/build/consts.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export var SeniorityMode;
|
|
2
|
+
(function (SeniorityMode) {
|
|
3
|
+
SeniorityMode["Junior"] = "junior";
|
|
4
|
+
SeniorityMode["Middle"] = "middle";
|
|
5
|
+
SeniorityMode["Senior"] = "senior";
|
|
6
|
+
})(SeniorityMode || (SeniorityMode = {}));
|
|
7
|
+
export const metadataConfigs = [
|
|
8
|
+
'projectName',
|
|
9
|
+
'oidcClientId',
|
|
10
|
+
'oidcRealm',
|
|
11
|
+
'oidcIssuerUrl',
|
|
12
|
+
'brandingCopyright',
|
|
13
|
+
'brandingOrganization',
|
|
14
|
+
'brandingTermsUrl',
|
|
15
|
+
'brandingPrivacyUrl',
|
|
16
|
+
'brandingCredit',
|
|
17
|
+
'brandingHideCreditIntent',
|
|
18
|
+
];
|
|
19
|
+
export const metadataLists = [
|
|
20
|
+
'permissions',
|
|
21
|
+
'backendEnvVars',
|
|
22
|
+
'frontendEnvVars',
|
|
23
|
+
'oidcRedirectUris',
|
|
24
|
+
'allowedOrigins'
|
|
25
|
+
];
|
|
26
|
+
export const metadataSecrets = [
|
|
27
|
+
'oidcClientSecret',
|
|
28
|
+
'dbAppPassword',
|
|
29
|
+
'valkeyPassword',
|
|
30
|
+
];
|
|
31
|
+
//# sourceMappingURL=consts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../src/consts.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,kCAAiB,CAAA;IACjB,kCAAiB,CAAA;AACnB,CAAC,EAJW,aAAa,KAAb,aAAa,QAIxB;AAED,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,aAAa;IACb,cAAc;IACd,WAAW;IACX,eAAe;IACf,mBAAmB;IACnB,sBAAsB;IACtB,kBAAkB;IAClB,oBAAoB;IACpB,gBAAgB;IAChB,0BAA0B;CACqB,CAAA;AAEjD,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,aAAa;IACb,gBAAgB;IAChB,iBAAiB;IACjB,kBAAkB;IAClB,gBAAgB;CACoB,CAAA;AAEtC,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,kBAAkB;IAClB,eAAe;IACf,gBAAgB;CACsB,CAAA"}
|