@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 @@
|
|
|
1
|
+
{"version":3,"file":"entrypoints.js","sourceRoot":"","sources":["../../src/connect/entrypoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAE3F,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAA;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AACrC,OAAO,EACL,uBAAuB,EAAE,wBAAwB,EAAE,8BAA8B,EACjF,+BAA+B,EAAE,uBAAuB,EAAE,0BAA0B,EACpF,sBAAsB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,qBAAqB,EAC7F,2BAA2B,EAAE,+BAA+B,EAAE,sBAAsB,EACpF,2BAA2B,EAAE,wBAAwB,EAAE,0BAA0B,EACjF,sBAAsB,EAAE,wBAAwB,EAAE,uBAAuB,EACzE,sBAAsB,EAAE,mBAAmB,EAC5C,MAAM,cAAc,CAAA;AA4BrB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,IAA8B,EAAsB,EAAE;IACvF,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,IAAI,UAAU,CAAA;IACtC,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI;QACjC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC5D,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IACrB,MAAM,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2B,CAAC,CAAC,CAC5C;QACD,UAAU,CACR,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,EAAE,6BAA6B,EAAE;YAC5D,MAAM,EAAE,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,IAAI;SAC/C,CAAC,EACF,MAAM,CAAC,MAAM,CAAC,2BAA2B,EAAE,IAAI,CAAC,+BAA+B,CAAC,CAAC,CAAC,CACnF;KACF,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ResilientError } from '@owlmeans/error';
|
|
2
|
+
export declare class ConnectError extends ResilientError {
|
|
3
|
+
static typeName: string;
|
|
4
|
+
constructor(message?: string);
|
|
5
|
+
}
|
|
6
|
+
/** No session with that id, or it belongs to another profile. */
|
|
7
|
+
export declare class ConnectSessionNotFound extends ConnectError {
|
|
8
|
+
static typeName: string;
|
|
9
|
+
constructor(message?: string);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Nothing is attached to the project, and the operation needs a connector.
|
|
13
|
+
*
|
|
14
|
+
* FATAL by registration on the agent side: a run whose executor has gone away must stop at once
|
|
15
|
+
* rather than spend a retry ladder — the library retries a template write three times, the coder
|
|
16
|
+
* retries eight, and a model call retries eight inside that, so an unrecognised failure here costs
|
|
17
|
+
* minutes of nothing and a project lock held throughout. The step fails as an OUTCOME, the run row
|
|
18
|
+
* records where it stopped, and `pipeline.resume` picks it up when a connector returns.
|
|
19
|
+
*/
|
|
20
|
+
export declare class ConnectSessionGone extends ConnectError {
|
|
21
|
+
static typeName: string;
|
|
22
|
+
constructor(message?: string);
|
|
23
|
+
}
|
|
24
|
+
/** The connector did not answer within the command's own deadline. Retryable. */
|
|
25
|
+
export declare class ConnectOpTimeout extends ConnectError {
|
|
26
|
+
static typeName: string;
|
|
27
|
+
constructor(message?: string);
|
|
28
|
+
}
|
|
29
|
+
/** The connector executed the operation and refused it — a path outside the project, say. */
|
|
30
|
+
export declare class ConnectOpRefused extends ConnectError {
|
|
31
|
+
static typeName: string;
|
|
32
|
+
constructor(message?: string);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The operation is meaningless for a local slot.
|
|
36
|
+
*
|
|
37
|
+
* Sandbox lifecycle, production, preview watching and remote git all address infrastructure a
|
|
38
|
+
* local target does not have. Refusing by name is what keeps a connector's tool list honest: the
|
|
39
|
+
* tool is hidden where it cannot work, and the API says so if one is called anyway.
|
|
40
|
+
*/
|
|
41
|
+
export declare class LocalSlotUnsupported extends ConnectError {
|
|
42
|
+
static typeName: string;
|
|
43
|
+
constructor(message?: string);
|
|
44
|
+
}
|
|
45
|
+
/** The op id is unknown, already answered, or belongs to another session. */
|
|
46
|
+
export declare class ConnectOpUnknown extends ConnectError {
|
|
47
|
+
static typeName: string;
|
|
48
|
+
constructor(message?: string);
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/connect/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAEhD,qBAAa,YAAa,SAAQ,cAAc;IAC9C,OAAuB,QAAQ,SAA4C;IAE3E,YAAY,OAAO,GAAE,MAAgB,EAEpC;CACF;AAED,iEAAiE;AACjE,qBAAa,sBAAuB,SAAQ,YAAY;IACtD,OAAuB,QAAQ,SAA4C;IAE3E,YAAY,OAAO,GAAE,MAAgB,EAGpC;CACF;AAED;;;;;;;;GAQG;AACH,qBAAa,kBAAmB,SAAQ,YAAY;IAClD,OAAuB,QAAQ,SAAwC;IAEvE,YAAY,OAAO,GAAE,MAAgB,EAGpC;CACF;AAED,iFAAiF;AACjF,qBAAa,gBAAiB,SAAQ,YAAY;IAChD,OAAuB,QAAQ,SAAsC;IAErE,YAAY,OAAO,GAAE,MAAgB,EAGpC;CACF;AAED,6FAA6F;AAC7F,qBAAa,gBAAiB,SAAQ,YAAY;IAChD,OAAuB,QAAQ,SAAsC;IAErE,YAAY,OAAO,GAAE,MAAgB,EAGpC;CACF;AAED;;;;;;GAMG;AACH,qBAAa,oBAAqB,SAAQ,YAAY;IACpD,OAAuB,QAAQ,SAA6C;IAE5E,YAAY,OAAO,GAAE,MAAgB,EAGpC;CACF;AAED,6EAA6E;AAC7E,qBAAa,gBAAiB,SAAQ,YAAY;IAChD,OAAuB,QAAQ,SAAsC;IAErE,YAAY,OAAO,GAAE,MAAgB,EAGpC;CACF"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { ResilientError } from '@owlmeans/error';
|
|
2
|
+
export class ConnectError extends ResilientError {
|
|
3
|
+
static typeName = `ViableConnect${ResilientError.typeName}`;
|
|
4
|
+
constructor(message = 'error') {
|
|
5
|
+
super(ConnectError.typeName, `viable-connect:${message}`);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
/** No session with that id, or it belongs to another profile. */
|
|
9
|
+
export class ConnectSessionNotFound extends ConnectError {
|
|
10
|
+
static typeName = `SessionNotFound${ConnectError.typeName}`;
|
|
11
|
+
constructor(message = 'error') {
|
|
12
|
+
super(`session-not-found:${message}`);
|
|
13
|
+
this.type = ConnectSessionNotFound.typeName;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Nothing is attached to the project, and the operation needs a connector.
|
|
18
|
+
*
|
|
19
|
+
* FATAL by registration on the agent side: a run whose executor has gone away must stop at once
|
|
20
|
+
* rather than spend a retry ladder — the library retries a template write three times, the coder
|
|
21
|
+
* retries eight, and a model call retries eight inside that, so an unrecognised failure here costs
|
|
22
|
+
* minutes of nothing and a project lock held throughout. The step fails as an OUTCOME, the run row
|
|
23
|
+
* records where it stopped, and `pipeline.resume` picks it up when a connector returns.
|
|
24
|
+
*/
|
|
25
|
+
export class ConnectSessionGone extends ConnectError {
|
|
26
|
+
static typeName = `SessionGone${ConnectError.typeName}`;
|
|
27
|
+
constructor(message = 'error') {
|
|
28
|
+
super(`session-gone:${message}`);
|
|
29
|
+
this.type = ConnectSessionGone.typeName;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
/** The connector did not answer within the command's own deadline. Retryable. */
|
|
33
|
+
export class ConnectOpTimeout extends ConnectError {
|
|
34
|
+
static typeName = `OpTimeout${ConnectError.typeName}`;
|
|
35
|
+
constructor(message = 'error') {
|
|
36
|
+
super(`op-timeout:${message}`);
|
|
37
|
+
this.type = ConnectOpTimeout.typeName;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
/** The connector executed the operation and refused it — a path outside the project, say. */
|
|
41
|
+
export class ConnectOpRefused extends ConnectError {
|
|
42
|
+
static typeName = `OpRefused${ConnectError.typeName}`;
|
|
43
|
+
constructor(message = 'error') {
|
|
44
|
+
super(`op-refused:${message}`);
|
|
45
|
+
this.type = ConnectOpRefused.typeName;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The operation is meaningless for a local slot.
|
|
50
|
+
*
|
|
51
|
+
* Sandbox lifecycle, production, preview watching and remote git all address infrastructure a
|
|
52
|
+
* local target does not have. Refusing by name is what keeps a connector's tool list honest: the
|
|
53
|
+
* tool is hidden where it cannot work, and the API says so if one is called anyway.
|
|
54
|
+
*/
|
|
55
|
+
export class LocalSlotUnsupported extends ConnectError {
|
|
56
|
+
static typeName = `LocalUnsupported${ConnectError.typeName}`;
|
|
57
|
+
constructor(message = 'error') {
|
|
58
|
+
super(`local-unsupported:${message}`);
|
|
59
|
+
this.type = LocalSlotUnsupported.typeName;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
/** The op id is unknown, already answered, or belongs to another session. */
|
|
63
|
+
export class ConnectOpUnknown extends ConnectError {
|
|
64
|
+
static typeName = `OpUnknown${ConnectError.typeName}`;
|
|
65
|
+
constructor(message = 'error') {
|
|
66
|
+
super(`op-unknown:${message}`);
|
|
67
|
+
this.type = ConnectOpUnknown.typeName;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
ResilientError.registerErrorClass(ConnectError);
|
|
71
|
+
ResilientError.registerErrorClass(ConnectSessionNotFound);
|
|
72
|
+
ResilientError.registerErrorClass(ConnectSessionGone);
|
|
73
|
+
ResilientError.registerErrorClass(ConnectOpTimeout);
|
|
74
|
+
ResilientError.registerErrorClass(ConnectOpRefused);
|
|
75
|
+
ResilientError.registerErrorClass(LocalSlotUnsupported);
|
|
76
|
+
ResilientError.registerErrorClass(ConnectOpUnknown);
|
|
77
|
+
//# sourceMappingURL=errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/connect/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAEhD,MAAM,OAAO,YAAa,SAAQ,cAAc;IACvC,MAAM,CAAU,QAAQ,GAAG,gBAAgB,cAAc,CAAC,QAAQ,EAAE,CAAA;IAE3E,YAAY,OAAO,GAAW,OAAO;QACnC,KAAK,CAAC,YAAY,CAAC,QAAQ,EAAE,kBAAkB,OAAO,EAAE,CAAC,CAAA;IAC3D,CAAC;CACF;AAED,iEAAiE;AACjE,MAAM,OAAO,sBAAuB,SAAQ,YAAY;IAC/C,MAAM,CAAU,QAAQ,GAAG,kBAAkB,YAAY,CAAC,QAAQ,EAAE,CAAA;IAE3E,YAAY,OAAO,GAAW,OAAO;QACnC,KAAK,CAAC,qBAAqB,OAAO,EAAE,CAAC,CAAA;QACrC,IAAI,CAAC,IAAI,GAAG,sBAAsB,CAAC,QAAQ,CAAA;IAC7C,CAAC;CACF;AAED;;;;;;;;GAQG;AACH,MAAM,OAAO,kBAAmB,SAAQ,YAAY;IAC3C,MAAM,CAAU,QAAQ,GAAG,cAAc,YAAY,CAAC,QAAQ,EAAE,CAAA;IAEvE,YAAY,OAAO,GAAW,OAAO;QACnC,KAAK,CAAC,gBAAgB,OAAO,EAAE,C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AAY,CAAC,CAAA;AAC/C,cAAc,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,CAAA;AACzD,cAAc,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,CAAA;AACrD,cAAc,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAA;AACnD,cAAc,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAA;AACnD,cAAc,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,CAAA;AACvD,cAAc,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './consts.js';
|
|
2
|
+
export * from './schemas.js';
|
|
3
|
+
export * from './errors.js';
|
|
4
|
+
export * from './entrypoints.js';
|
|
5
|
+
export * from './references.js';
|
|
6
|
+
export type * from './types.js';
|
|
7
|
+
export type * from './ops.js';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/connect/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,mBAAmB,YAAY,CAAA;AAC/B,mBAAmB,UAAU,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/connect/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import type { SlotCommandPayload } from '../slot/index.js';
|
|
2
|
+
import type { ConnectInquiryKind, ConnectOpErrorKind, ConnectOpKind, ModelTaskMode, ModelTaskResultKind, ModelTaskRole, ModelTier } from './consts.js';
|
|
3
|
+
import type { ConnectServices } from './types.js';
|
|
4
|
+
/**
|
|
5
|
+
* One thing the platform asks a connector to do.
|
|
6
|
+
*
|
|
7
|
+
* Operations are addressed to a PROJECT, not to a session: a connector that restarts mid-run
|
|
8
|
+
* re-attaches and is handed whatever is still pending, so an MCP server dying does not kill a
|
|
9
|
+
* pipeline that is minutes into its work. `sessionId` records which session it was published to,
|
|
10
|
+
* for tracing and for the redelivery counter — never for routing a result back.
|
|
11
|
+
*/
|
|
12
|
+
export interface ConnectOp {
|
|
13
|
+
id: string;
|
|
14
|
+
projectId: string;
|
|
15
|
+
sessionId: string;
|
|
16
|
+
kind: ConnectOpKind;
|
|
17
|
+
payload: SlotCommandPayload | ModelTask | ConfigurePayload | InquiryPayload;
|
|
18
|
+
createdAt: string;
|
|
19
|
+
/** When the asker stops waiting. A connector past this may skip the work and say so. */
|
|
20
|
+
deadlineAt: string;
|
|
21
|
+
/** How many times this op has been delivered. > 1 means a connector reconnected. */
|
|
22
|
+
attempt: number;
|
|
23
|
+
deliveredAt?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* The answer to exactly one operation.
|
|
27
|
+
*
|
|
28
|
+
* `ok: false` with `kind: 'malformed'` is a RETRYABLE outcome — the platform asks again, with the
|
|
29
|
+
* problem quoted back. `'unavailable'` says the connector cannot do this at all and the run should
|
|
30
|
+
* fail rather than spin.
|
|
31
|
+
*/
|
|
32
|
+
export interface ConnectOpResult {
|
|
33
|
+
opId: string;
|
|
34
|
+
sessionId: string;
|
|
35
|
+
ok: boolean;
|
|
36
|
+
value?: unknown;
|
|
37
|
+
error?: ConnectOpError;
|
|
38
|
+
}
|
|
39
|
+
export interface ConnectOpError {
|
|
40
|
+
type: string;
|
|
41
|
+
message: string;
|
|
42
|
+
kind?: ConnectOpErrorKind;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* The configuration a local target needs, as file CONTENT rather than as keys.
|
|
46
|
+
*
|
|
47
|
+
* The platform composes it — it is the only side that knows the OIDC client, its secret and the
|
|
48
|
+
* redirect URIs — and the connector writes it into the managed block of each named file, leaving
|
|
49
|
+
* every line the user added alone. `probe` names the services the platform wants to know about
|
|
50
|
+
* before it asks for a database migration or a boot check.
|
|
51
|
+
*/
|
|
52
|
+
export interface ConfigurePayload {
|
|
53
|
+
files: ConfigureFile[];
|
|
54
|
+
probe: Array<keyof ConnectServices>;
|
|
55
|
+
}
|
|
56
|
+
export interface ConfigureFile {
|
|
57
|
+
/** Target-root-relative, e.g. `.env` or `sources/web/.env`. */
|
|
58
|
+
path: string;
|
|
59
|
+
/** The managed block's content. Written between the connector's own markers. */
|
|
60
|
+
content: string;
|
|
61
|
+
}
|
|
62
|
+
export interface ConfigureResult {
|
|
63
|
+
written: string[];
|
|
64
|
+
/**
|
|
65
|
+
* Keys the target still needs and the user must supply — a local database URL, say.
|
|
66
|
+
*
|
|
67
|
+
* Read exactly like the publisher's configure acknowledgement: a key with an EMPTY value counts
|
|
68
|
+
* as missing, because a push that ran before a secret existed leaves one behind.
|
|
69
|
+
*/
|
|
70
|
+
missing: string[];
|
|
71
|
+
services: ConnectServices;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* One model call, handed to the parent agent.
|
|
75
|
+
*
|
|
76
|
+
* It carries everything a fresh subagent needs and nothing it does not: the persona as a system
|
|
77
|
+
* prompt, the conversation so far, and the shape the answer must take. There is no platform
|
|
78
|
+
* vocabulary in it — no pipeline, no step, no internal role semantics beyond a name and a tier —
|
|
79
|
+
* because it is read by a model the platform does not own.
|
|
80
|
+
*/
|
|
81
|
+
export interface ModelTask {
|
|
82
|
+
id: string;
|
|
83
|
+
projectId: string;
|
|
84
|
+
/** The job the call belongs to, so a parent can say what it is working on. */
|
|
85
|
+
jobId?: string;
|
|
86
|
+
/** The platform role that asked. Informational; the tier is what decides the model. */
|
|
87
|
+
role: string;
|
|
88
|
+
tier: ModelTier;
|
|
89
|
+
/** Which attempt this is. > 0 means a previous answer was refused; `feedback` says why. */
|
|
90
|
+
attempt: number;
|
|
91
|
+
mode: ModelTaskMode;
|
|
92
|
+
system?: string;
|
|
93
|
+
messages: ModelTaskMessage[];
|
|
94
|
+
/** `Tools` mode: what the subagent may call. JSON Schema per tool. */
|
|
95
|
+
tools?: ModelTaskTool[];
|
|
96
|
+
/** `Tools` mode: force one tool, or leave the choice open. */
|
|
97
|
+
toolChoice?: ModelTaskToolChoice;
|
|
98
|
+
/** `Json` mode: the schema the single returned object must satisfy. */
|
|
99
|
+
outputSchema?: Record<string, unknown>;
|
|
100
|
+
/** A soft cap, stated so a parent can size its own call. */
|
|
101
|
+
maxOutputChars?: number;
|
|
102
|
+
/** Present on a retry: what was wrong with the previous answer. */
|
|
103
|
+
feedback?: string;
|
|
104
|
+
expiresAt: string;
|
|
105
|
+
}
|
|
106
|
+
export interface ModelTaskMessage {
|
|
107
|
+
role: ModelTaskRole;
|
|
108
|
+
content: string;
|
|
109
|
+
/** Assistant messages that called tools. */
|
|
110
|
+
toolCalls?: ModelTaskToolCall[];
|
|
111
|
+
/** Tool messages answer one call. */
|
|
112
|
+
toolCallId?: string;
|
|
113
|
+
/** Tool messages name the tool they answer. */
|
|
114
|
+
name?: string;
|
|
115
|
+
}
|
|
116
|
+
export interface ModelTaskTool {
|
|
117
|
+
name: string;
|
|
118
|
+
description?: string;
|
|
119
|
+
/** JSON Schema for the tool's arguments. */
|
|
120
|
+
parameters: Record<string, unknown>;
|
|
121
|
+
}
|
|
122
|
+
export type ModelTaskToolChoice = 'auto' | 'none' | {
|
|
123
|
+
name: string;
|
|
124
|
+
};
|
|
125
|
+
export interface ModelTaskToolCall {
|
|
126
|
+
id?: string;
|
|
127
|
+
name: string;
|
|
128
|
+
args: Record<string, unknown>;
|
|
129
|
+
}
|
|
130
|
+
/** What the parent's subagent produced. */
|
|
131
|
+
export interface ModelTaskResult {
|
|
132
|
+
taskId: string;
|
|
133
|
+
kind: ModelTaskResultKind;
|
|
134
|
+
text?: string;
|
|
135
|
+
json?: unknown;
|
|
136
|
+
toolCalls?: ModelTaskToolCall[];
|
|
137
|
+
/** Why the parent could not answer. Treated as a malformed answer and retried. */
|
|
138
|
+
error?: string;
|
|
139
|
+
/** What the parent spent. Recorded for the trace; it costs the platform nothing. */
|
|
140
|
+
usage?: ModelTaskUsage;
|
|
141
|
+
/** What the parent actually ran. Display only. */
|
|
142
|
+
model?: string;
|
|
143
|
+
}
|
|
144
|
+
export interface ModelTaskUsage {
|
|
145
|
+
inputTokens?: number;
|
|
146
|
+
outputTokens?: number;
|
|
147
|
+
}
|
|
148
|
+
/** One option a {@link ConnectInquiryKind.Choice} question offers. */
|
|
149
|
+
export interface ConnectInquiryOption {
|
|
150
|
+
value: string;
|
|
151
|
+
label: string;
|
|
152
|
+
description?: string;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* One question put to the person the connector is working for.
|
|
156
|
+
*
|
|
157
|
+
* It carries where it came from — the job, the run and the step — because an answer is recorded
|
|
158
|
+
* against the run that asked and re-read when that run resumes. `expiresAt` is what makes an
|
|
159
|
+
* unanswered question fail its step instead of parking a project lock forever.
|
|
160
|
+
*/
|
|
161
|
+
export interface InquiryPayload {
|
|
162
|
+
id: string;
|
|
163
|
+
projectId: string;
|
|
164
|
+
jobId?: string;
|
|
165
|
+
runId?: string;
|
|
166
|
+
/** The pipeline step that asked, so a resumed run can match the answer to the place it belongs. */
|
|
167
|
+
step?: string;
|
|
168
|
+
kind: ConnectInquiryKind;
|
|
169
|
+
question: string;
|
|
170
|
+
/** What the asker already knows, so the person is not asked to go and find it out. */
|
|
171
|
+
context?: string;
|
|
172
|
+
options?: ConnectInquiryOption[];
|
|
173
|
+
multiple?: boolean;
|
|
174
|
+
/** Whether a choice question also accepts text the options do not cover. */
|
|
175
|
+
allowText?: boolean;
|
|
176
|
+
/** What the asker will assume if nobody answers. Recorded as an assumption when it is used. */
|
|
177
|
+
default?: string | string[];
|
|
178
|
+
expiresAt: string;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* The answer to one question.
|
|
182
|
+
*
|
|
183
|
+
* `declined` is a real answer and not an absence: it says a person saw the question and chose not
|
|
184
|
+
* to decide, which the asker records as an assumption rather than waiting out the timeout.
|
|
185
|
+
*/
|
|
186
|
+
export interface InquiryAnswerPayload {
|
|
187
|
+
inquiryId: string;
|
|
188
|
+
value?: string | string[];
|
|
189
|
+
text?: string;
|
|
190
|
+
declined?: boolean;
|
|
191
|
+
}
|
|
192
|
+
//# sourceMappingURL=ops.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ops.d.ts","sourceRoot":"","sources":["../../src/connect/ops.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAC1D,OAAO,KAAK,EACV,kBAAkB,EAAE,kBAAkB,EAAE,aAAa,EAAE,aAAa,EAAE,mBAAmB,EACzF,aAAa,EAAE,SAAS,EACzB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAEjD;;;;;;;GAOG;AACH,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,aAAa,CAAA;IACnB,OAAO,EAAE,kBAAkB,GAAG,SAAS,GAAG,gBAAgB,GAAG,cAAc,CAAA;IAC3E,SAAS,EAAE,MAAM,CAAA;IACjB,wFAAwF;IACxF,UAAU,EAAE,MAAM,CAAA;IAClB,oFAAoF;IACpF,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,EAAE,EAAE,OAAO,CAAA;IACX,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AA;CACtB;AAED,sEAAsE;AACtE,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mGAAmG;IACnG,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,kBAAkB,CAAA;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,sFAAsF;IACtF,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAA;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,4EAA4E;IAC5E,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,+FAA+F;IAC/F,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC3B,SAAS,EAAE,MAAM,CAAA;CAClB;AAED;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ops.js","sourceRoot":"","sources":["../../src/connect/ops.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import type { ConnectOp, ConnectOpResult } from './ops.js';
|
|
2
|
+
import type { ConverterProjectLlmBody } from '../convert/index.js';
|
|
3
|
+
import type { ConnectAttachBody, ConnectCapabilitiesView, ConnectConfirmBody, ConnectCreateBody, ConnectJob, ConnectConvertCreateBody, ConnectConvertProceedBody, ConnectInquiryAnswerBody, ConnectJobParams, ConnectModifyBody, ConnectOpSubmission, ConnectPipelineParams, ConnectPipelineResumeBody, ConnectPipelineState, ConnectProjectLlmBody, ConnectProjectSettings, ConnectProjectStatus, ConnectProjectSummary, ConnectSessionOpen, ConnectSessionParams, ConnectSessionView, ConnectStoryBody, ConnectStoryDeletion, ConnectStoryItem, ConnectStoryList, ConnectStoryMutation, ConnectStoryQuery, ConnectWaitQuery, ConversionStatusView, ConvertCheck } from './types.js';
|
|
4
|
+
/**
|
|
5
|
+
* Typed references for adapter packages that address the connector dynamically. Applications
|
|
6
|
+
* export protocol objects instead; an adapter may use this compact form because it never exposes
|
|
7
|
+
* aliases to UI or domain code.
|
|
8
|
+
*/
|
|
9
|
+
export declare const connectRef: {
|
|
10
|
+
capabilities: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{}, ConnectCapabilitiesView>>;
|
|
11
|
+
session: {
|
|
12
|
+
open: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
13
|
+
body: ConnectSessionOpen;
|
|
14
|
+
}, ConnectSessionView>>;
|
|
15
|
+
openDelegated: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
16
|
+
body: ConnectSessionOpen;
|
|
17
|
+
}, ConnectSessionView>>;
|
|
18
|
+
get: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
19
|
+
params: ConnectSessionParams;
|
|
20
|
+
}, ConnectSessionView>>;
|
|
21
|
+
heartbeat: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
22
|
+
params: ConnectSessionParams;
|
|
23
|
+
}, ConnectSessionView>>;
|
|
24
|
+
close: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
25
|
+
params: ConnectSessionParams;
|
|
26
|
+
}, ConnectSessionView>>;
|
|
27
|
+
};
|
|
28
|
+
op: {
|
|
29
|
+
pull: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
30
|
+
params: ConnectSessionParams;
|
|
31
|
+
query: ConnectWaitQuery;
|
|
32
|
+
}, ConnectOp[]>>;
|
|
33
|
+
submit: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
34
|
+
params: {
|
|
35
|
+
sessionId: string;
|
|
36
|
+
opId: string;
|
|
37
|
+
};
|
|
38
|
+
body: ConnectOpResult;
|
|
39
|
+
}, ConnectOpSubmission>>;
|
|
40
|
+
};
|
|
41
|
+
project: {
|
|
42
|
+
create: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
43
|
+
body: ConnectCreateBody;
|
|
44
|
+
}, ConnectJob>>;
|
|
45
|
+
confirm: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
46
|
+
params: {
|
|
47
|
+
id: string;
|
|
48
|
+
};
|
|
49
|
+
body: ConnectConfirmBody;
|
|
50
|
+
}, ConnectJob>>;
|
|
51
|
+
list: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{}, ConnectProjectSummary[]>>;
|
|
52
|
+
status: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
53
|
+
params: {
|
|
54
|
+
id: string;
|
|
55
|
+
};
|
|
56
|
+
}, ConnectProjectStatus>>;
|
|
57
|
+
attach: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
58
|
+
body: ConnectAttachBody;
|
|
59
|
+
}, ConnectProjectStatus>>;
|
|
60
|
+
reinit: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
61
|
+
params: {
|
|
62
|
+
id: string;
|
|
63
|
+
};
|
|
64
|
+
}, ConnectJob>>;
|
|
65
|
+
modify: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
66
|
+
params: {
|
|
67
|
+
id: string;
|
|
68
|
+
};
|
|
69
|
+
body: ConnectModifyBody;
|
|
70
|
+
}, ConnectJob>>;
|
|
71
|
+
settings: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
72
|
+
params: {
|
|
73
|
+
id: string;
|
|
74
|
+
};
|
|
75
|
+
}, ConnectProjectSettings>>;
|
|
76
|
+
llm: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
77
|
+
params: {
|
|
78
|
+
id: string;
|
|
79
|
+
};
|
|
80
|
+
body: ConnectProjectLlmBody;
|
|
81
|
+
}, ConnectProjectSettings>>;
|
|
82
|
+
converterLlm: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
83
|
+
params: {
|
|
84
|
+
id: string;
|
|
85
|
+
};
|
|
86
|
+
body: ConverterProjectLlmBody;
|
|
87
|
+
}, ConnectProjectSettings>>;
|
|
88
|
+
job: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
89
|
+
params: ConnectJobParams;
|
|
90
|
+
query: ConnectWaitQuery;
|
|
91
|
+
}, ConnectJob>>;
|
|
92
|
+
};
|
|
93
|
+
convert: {
|
|
94
|
+
create: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
95
|
+
body: ConnectConvertCreateBody;
|
|
96
|
+
}, ConnectJob>>;
|
|
97
|
+
check: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
98
|
+
params: {
|
|
99
|
+
id: string;
|
|
100
|
+
};
|
|
101
|
+
}, ConvertCheck>>;
|
|
102
|
+
start: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
103
|
+
params: {
|
|
104
|
+
id: string;
|
|
105
|
+
};
|
|
106
|
+
}, ConnectJob>>;
|
|
107
|
+
proceed: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
108
|
+
params: {
|
|
109
|
+
id: string;
|
|
110
|
+
};
|
|
111
|
+
body: ConnectConvertProceedBody;
|
|
112
|
+
}, ConnectJob>>;
|
|
113
|
+
cancel: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
114
|
+
params: {
|
|
115
|
+
id: string;
|
|
116
|
+
};
|
|
117
|
+
}, ConnectJob>>;
|
|
118
|
+
status: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
119
|
+
params: {
|
|
120
|
+
id: string;
|
|
121
|
+
};
|
|
122
|
+
}, ConversionStatusView>>;
|
|
123
|
+
purge: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
124
|
+
params: {
|
|
125
|
+
id: string;
|
|
126
|
+
};
|
|
127
|
+
}, ConnectJob>>;
|
|
128
|
+
};
|
|
129
|
+
inquiry: {
|
|
130
|
+
answer: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
131
|
+
params: {
|
|
132
|
+
id: string;
|
|
133
|
+
inquiryId: string;
|
|
134
|
+
};
|
|
135
|
+
body: ConnectInquiryAnswerBody;
|
|
136
|
+
}, unknown>>;
|
|
137
|
+
};
|
|
138
|
+
story: {
|
|
139
|
+
list: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
140
|
+
params: {
|
|
141
|
+
id: string;
|
|
142
|
+
};
|
|
143
|
+
query: ConnectStoryQuery;
|
|
144
|
+
}, ConnectStoryList>>;
|
|
145
|
+
get: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
146
|
+
params: {
|
|
147
|
+
id: string;
|
|
148
|
+
storyId: string;
|
|
149
|
+
};
|
|
150
|
+
}, ConnectStoryItem>>;
|
|
151
|
+
create: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
152
|
+
params: {
|
|
153
|
+
id: string;
|
|
154
|
+
};
|
|
155
|
+
body: ConnectStoryBody;
|
|
156
|
+
}, ConnectStoryMutation>>;
|
|
157
|
+
update: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
158
|
+
params: {
|
|
159
|
+
id: string;
|
|
160
|
+
storyId: string;
|
|
161
|
+
};
|
|
162
|
+
body: ConnectStoryBody;
|
|
163
|
+
}, ConnectStoryMutation>>;
|
|
164
|
+
delete: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
165
|
+
params: {
|
|
166
|
+
id: string;
|
|
167
|
+
storyId: string;
|
|
168
|
+
};
|
|
169
|
+
}, ConnectStoryDeletion>>;
|
|
170
|
+
develop: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
171
|
+
params: {
|
|
172
|
+
id: string;
|
|
173
|
+
storyId: string;
|
|
174
|
+
};
|
|
175
|
+
}, ConnectJob>>;
|
|
176
|
+
};
|
|
177
|
+
files: {
|
|
178
|
+
list: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
179
|
+
params: {
|
|
180
|
+
id: string;
|
|
181
|
+
};
|
|
182
|
+
}, string[]>>;
|
|
183
|
+
};
|
|
184
|
+
pipeline: {
|
|
185
|
+
state: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
186
|
+
params: ConnectPipelineParams;
|
|
187
|
+
}, ConnectPipelineState>>;
|
|
188
|
+
resume: import("@owlmeans/context").EntrypointReference<import("@owlmeans/entrypoint").RegisteredEntrypoint<{
|
|
189
|
+
params: ConnectPipelineParams;
|
|
190
|
+
body: ConnectPipelineResumeBody;
|
|
191
|
+
}, ConnectJob>>;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
//# sourceMappingURL=references.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"references.d.ts","sourceRoot":"","sources":["../../src/connect/references.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAC1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,KAAK,EACV,iBAAiB,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,UAAU,EAC7F,wBAAwB,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,gBAAgB,EAC/F,iBAAiB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,yBAAyB,EACxF,oBAAoB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,oBAAoB,EACzF,qBAAqB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,kBAAkB,EACnF,gBAAgB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,oBAAoB,EAChG,iBAAiB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,YAAY,EACxE,MAAM,YAAY,CAAA;AAEnB;;;;GAIG;AACH,eAAO,MAAM,UAAU;IACrB,YAAY;IACZ,OAAO;QACL,IAAI;kBAAwB,kBAAkB;;QAC9C,aAAa;kBAAwB,kBAAkB;;QACvD,GAAG;oBAA0B,oBAAoB;;QACjD,SAAS;oBAA0B,oBAAoB;;QACvD,KAAK;oBAA0B,oBAAoB;;;IAErD,EAAE;QACA,IAAI;oBAA0B,oBAAoB;mBAAS,gBAAgB;;QAC3E,MAAM;oBACI;gBAAE,SAA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QACH,IAAI;oBAA0B;gBAAE,EAAE,EAAE,MAAM,CAAA;aAAE;mBAAS,iBAAiB;;QACtE,GAAG;oBAA0B;gBAAE,EAAE,EAAE,MAAM,CAAC;gBAAC,OAAO,EAAE,MAAM,CAAA;aAAE;;QAC5D,MAAM;oBAA0B;gBAAE,EAAE,EAAE,MAAM,CAAA;aAAE;kBAAQ,gBAAgB;;QACtE,MAAM;oBACI;gBAAE,EAAE,EAAE,MAAM,CAAC;gBAAC,OAAO,EAAE,MAAM,CAAA;aAAE;kBAAQ,gBAAgB;;QAEjE,MAAM;oBAA0B;gBAAE,EAAE,EAAE,MAAM,CAAC;gBAAC,OAAO,EAAE,MAAM,CAAA;aAAE;;QAC/D,OAAO;oBAA0B;gBAAE,EAAE,EAAE,MAAM,CAAC;gBAAC,OAAO,EAAE,MAAM,CAAA;aAAE;;;IAElE,KAAK;QACH,IAAI;oBAA0B;gBAAE,EAAE,EAAE,MAAM,CAAA;aAAE;;;IAE9C,QAAQ;QACN,KAAK;oBAA0B,qBAAqB;;QACpD,MAAM;oBACI,qBAAqB;kBAAQ,yBAAyB;;;CAGnE,CAAA"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { entrypointRef } from '@owlmeans/entrypoint';
|
|
2
|
+
import { connect } from './consts.js';
|
|
3
|
+
/**
|
|
4
|
+
* Typed references for adapter packages that address the connector dynamically. Applications
|
|
5
|
+
* export protocol objects instead; an adapter may use this compact form because it never exposes
|
|
6
|
+
* aliases to UI or domain code.
|
|
7
|
+
*/
|
|
8
|
+
export const connectRef = {
|
|
9
|
+
capabilities: entrypointRef(connect.capabilities),
|
|
10
|
+
session: {
|
|
11
|
+
open: entrypointRef(connect.session.open),
|
|
12
|
+
openDelegated: entrypointRef(connect.session.openDelegated),
|
|
13
|
+
get: entrypointRef(connect.session.get),
|
|
14
|
+
heartbeat: entrypointRef(connect.session.heartbeat),
|
|
15
|
+
close: entrypointRef(connect.session.close),
|
|
16
|
+
},
|
|
17
|
+
op: {
|
|
18
|
+
pull: entrypointRef(connect.op.pull),
|
|
19
|
+
submit: entrypointRef(connect.op.submit),
|
|
20
|
+
},
|
|
21
|
+
project: {
|
|
22
|
+
create: entrypointRef(connect.project.create),
|
|
23
|
+
confirm: entrypointRef(connect.project.confirm),
|
|
24
|
+
list: entrypointRef(connect.project.list),
|
|
25
|
+
status: entrypointRef(connect.project.status),
|
|
26
|
+
attach: entrypointRef(connect.project.attach),
|
|
27
|
+
reinit: entrypointRef(connect.project.reinit),
|
|
28
|
+
modify: entrypointRef(connect.project.modify),
|
|
29
|
+
settings: entrypointRef(connect.project.settings),
|
|
30
|
+
llm: entrypointRef(connect.project.llm),
|
|
31
|
+
converterLlm: entrypointRef(connect.project.converterLlm),
|
|
32
|
+
job: entrypointRef(connect.project.job),
|
|
33
|
+
},
|
|
34
|
+
convert: {
|
|
35
|
+
create: entrypointRef(connect.convert.create),
|
|
36
|
+
check: entrypointRef(connect.convert.check),
|
|
37
|
+
start: entrypointRef(connect.convert.start),
|
|
38
|
+
proceed: entrypointRef(connect.convert.proceed),
|
|
39
|
+
cancel: entrypointRef(connect.convert.cancel),
|
|
40
|
+
status: entrypointRef(connect.convert.status),
|
|
41
|
+
purge: entrypointRef(connect.convert.purge),
|
|
42
|
+
},
|
|
43
|
+
inquiry: {
|
|
44
|
+
answer: entrypointRef(connect.inquiry.answer),
|
|
45
|
+
},
|
|
46
|
+
story: {
|
|
47
|
+
list: entrypointRef(connect.story.list),
|
|
48
|
+
get: entrypointRef(connect.story.get),
|
|
49
|
+
create: entrypointRef(connect.story.create),
|
|
50
|
+
update: entrypointRef(connect.story.update),
|
|
51
|
+
delete: entrypointRef(connect.story.delete),
|
|
52
|
+
develop: entrypointRef(connect.story.develop),
|
|
53
|
+
},
|
|
54
|
+
files: {
|
|
55
|
+
list: entrypointRef(connect.files.list),
|
|
56
|
+
},
|
|
57
|
+
pipeline: {
|
|
58
|
+
state: entrypointRef(connect.pipeline.state),
|
|
59
|
+
resume: entrypointRef(connect.pipeline.resume),
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=references.js.map
|