@elementumai/edk 0.0.0-oidc-bootstrap → 0.8.1
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 +462 -3
- package/dist-sdk/elementum-entity-client/clients/agents/models/agent-tool.d.ts +188 -0
- package/dist-sdk/elementum-entity-client/clients/agents/models/agent-tool.js +20 -0
- package/dist-sdk/elementum-entity-client/clients/agents/models/agent.d.ts +245 -0
- package/dist-sdk/elementum-entity-client/clients/agents/models/agent.js +30 -0
- package/dist-sdk/elementum-entity-client/clients/ai-provider-connectors/models/ai-provider-connector.d.ts +18 -0
- package/dist-sdk/elementum-entity-client/clients/ai-provider-connectors/models/ai-provider-connector.js +8 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/aspect.d.ts +718 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/aspect.js +52 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/field-base.d.ts +23 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/field-base.js +1 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/field-types.d.ts +148 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/field-types.js +12 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/format.d.ts +63 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/format.js +17 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/index.d.ts +39 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/index.js +35 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/picklist-config.d.ts +116 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/picklist-config.js +11 -0
- package/dist-sdk/elementum-entity-client/clients/automation/models/automation.d.ts +178 -0
- package/dist-sdk/elementum-entity-client/clients/automation/models/automation.js +18 -0
- package/dist-sdk/elementum-entity-client/clients/document-models/models/document-model.d.ts +200 -0
- package/dist-sdk/elementum-entity-client/clients/document-models/models/document-model.js +1 -0
- package/dist-sdk/elementum-entity-client/clients/search-tables/models/index.d.ts +1 -0
- package/dist-sdk/elementum-entity-client/clients/search-tables/models/index.js +1 -0
- package/dist-sdk/elementum-entity-client/clients/search-tables/models/search-table-wire.d.ts +141 -0
- package/dist-sdk/elementum-entity-client/clients/search-tables/models/search-table-wire.js +22 -0
- package/dist-sdk/elementum-entity-client/clients/skills/models/skill-tool.d.ts +123 -0
- package/dist-sdk/elementum-entity-client/clients/skills/models/skill-tool.js +14 -0
- package/dist-sdk/elementum-entity-client/clients/skills/models/skill.d.ts +78 -0
- package/dist-sdk/elementum-entity-client/clients/skills/models/skill.js +23 -0
- package/dist-sdk/elementum-entity-client/clients/tables/models/index.d.ts +1 -0
- package/dist-sdk/elementum-entity-client/clients/tables/models/index.js +1 -0
- package/dist-sdk/elementum-entity-client/clients/tables/models/table-wire.d.ts +265 -0
- package/dist-sdk/elementum-entity-client/clients/tables/models/table-wire.js +15 -0
- package/dist-sdk/elementum-entity-client/errors.d.ts +90 -0
- package/dist-sdk/elementum-entity-client/errors.js +111 -0
- package/dist-sdk/elementum-entity-client/models/connection.d.ts +30 -0
- package/dist-sdk/elementum-entity-client/models/connection.js +16 -0
- package/dist-sdk/elementum-entity-client/types.d.ts +71 -0
- package/dist-sdk/elementum-entity-client/types.js +1 -0
- package/dist-sdk/fs/entity.d.ts +104 -0
- package/dist-sdk/fs/entity.js +52 -0
- package/dist-sdk/pull/util.d.ts +130 -0
- package/dist-sdk/pull/util.js +204 -0
- package/dist-sdk/src/catalog/ai-provider-models.d.ts +30 -0
- package/dist-sdk/src/catalog/ai-provider-models.js +63 -0
- package/dist-sdk/src/catalog/factories.d.ts +242 -0
- package/dist-sdk/src/catalog/factories.js +265 -0
- package/dist-sdk/src/catalog/from-authoring.d.ts +103 -0
- package/dist-sdk/src/catalog/from-authoring.js +467 -0
- package/dist-sdk/src/catalog/index.d.ts +12 -0
- package/dist-sdk/src/catalog/index.js +12 -0
- package/dist-sdk/src/catalog/org.d.ts +11 -0
- package/dist-sdk/src/catalog/org.js +288 -0
- package/dist-sdk/src/catalog/render-helpers.d.ts +35 -0
- package/dist-sdk/src/catalog/render-helpers.js +82 -0
- package/dist-sdk/src/catalog/render.d.ts +48 -0
- package/dist-sdk/src/catalog/render.js +193 -0
- package/dist-sdk/src/catalog/token.d.ts +10 -0
- package/dist-sdk/src/catalog/token.js +76 -0
- package/dist-sdk/src/catalog/types.d.ts +215 -0
- package/dist-sdk/src/catalog/types.js +86 -0
- package/dist-sdk/src/catalog/write.d.ts +43 -0
- package/dist-sdk/src/catalog/write.js +109 -0
- package/dist-sdk/src/core/app-to-ui.d.ts +22 -0
- package/dist-sdk/src/core/app-to-ui.js +75 -0
- package/dist-sdk/src/core/index.d.ts +10 -0
- package/dist-sdk/src/core/index.js +9 -0
- package/dist-sdk/src/core/system-fields.d.ts +95 -0
- package/dist-sdk/src/core/system-fields.js +153 -0
- package/dist-sdk/src/core/triggers/on-demand.d.ts +144 -0
- package/dist-sdk/src/core/triggers/on-demand.js +112 -0
- package/dist-sdk/src/core/types/ai-provider.d.ts +23 -0
- package/dist-sdk/src/core/types/ai-provider.js +8 -0
- package/dist-sdk/src/core/types/app.d.ts +857 -0
- package/dist-sdk/src/core/types/app.js +210 -0
- package/dist-sdk/src/core/types/aspect-category.d.ts +35 -0
- package/dist-sdk/src/core/types/aspect-category.js +33 -0
- package/dist-sdk/src/core/types/cloud-link.d.ts +34 -0
- package/dist-sdk/src/core/types/cloud-link.js +32 -0
- package/dist-sdk/src/core/types/display-block.d.ts +149 -0
- package/dist-sdk/src/core/types/display-block.js +61 -0
- package/dist-sdk/src/core/types/group.d.ts +13 -0
- package/dist-sdk/src/core/types/group.js +6 -0
- package/dist-sdk/src/core/types/platform.d.ts +2 -0
- package/dist-sdk/src/core/types/platform.js +1 -0
- package/dist-sdk/src/core/types/user.d.ts +20 -0
- package/dist-sdk/src/core/types/user.js +8 -0
- package/dist-sdk/src/core/wire/ref-serializer.d.ts +45 -0
- package/dist-sdk/src/core/wire/ref-serializer.js +89 -0
- package/dist-sdk/src/engine/build/context.d.ts +67 -0
- package/dist-sdk/src/engine/build/context.js +6 -0
- package/dist-sdk/src/engine/build/source-context.d.ts +45 -0
- package/dist-sdk/src/engine/build/source-context.js +23 -0
- package/dist-sdk/src/engine/entity.d.ts +44 -0
- package/dist-sdk/src/engine/entity.js +15 -0
- package/dist-sdk/src/engine/pull/context.d.ts +38 -0
- package/dist-sdk/src/engine/pull/context.js +44 -0
- package/dist-sdk/src/engine/pull/org.d.ts +54 -0
- package/dist-sdk/src/engine/pull/org.js +134 -0
- package/dist-sdk/src/engine/tf/escape.d.ts +22 -0
- package/dist-sdk/src/engine/tf/escape.js +28 -0
- package/dist-sdk/src/engine/tf/expr.d.ts +25 -0
- package/dist-sdk/src/engine/tf/expr.js +405 -0
- package/dist-sdk/src/engine/tf/index.d.ts +12 -0
- package/dist-sdk/src/engine/tf/index.js +11 -0
- package/dist-sdk/src/engine/tf/labels.d.ts +76 -0
- package/dist-sdk/src/engine/tf/labels.js +196 -0
- package/dist-sdk/src/engine/tf/model.d.ts +84 -0
- package/dist-sdk/src/engine/tf/model.js +49 -0
- package/dist-sdk/src/engine/tf/parse.d.ts +41 -0
- package/dist-sdk/src/engine/tf/parse.js +189 -0
- package/dist-sdk/src/engine/tf/render.d.ts +13 -0
- package/dist-sdk/src/engine/tf/render.js +102 -0
- package/dist-sdk/src/engine/workspace/authoring-layout.d.ts +43 -0
- package/dist-sdk/src/engine/workspace/authoring-layout.js +201 -0
- package/dist-sdk/src/entities/access-policy/build.d.ts +26 -0
- package/dist-sdk/src/entities/access-policy/build.js +7 -0
- package/dist-sdk/src/entities/access-policy/filter.d.ts +61 -0
- package/dist-sdk/src/entities/access-policy/filter.js +83 -0
- package/dist-sdk/src/entities/access-policy/from-tf.d.ts +48 -0
- package/dist-sdk/src/entities/access-policy/from-tf.js +189 -0
- package/dist-sdk/src/entities/access-policy/module.d.ts +3 -0
- package/dist-sdk/src/entities/access-policy/module.js +17 -0
- package/dist-sdk/src/entities/access-policy/to-tf.d.ts +36 -0
- package/dist-sdk/src/entities/access-policy/to-tf.js +149 -0
- package/dist-sdk/src/entities/access-policy/types.d.ts +4 -0
- package/dist-sdk/src/entities/access-policy/types.js +10 -0
- package/dist-sdk/src/entities/agent/build.d.ts +108 -0
- package/dist-sdk/src/entities/agent/build.js +148 -0
- package/dist-sdk/src/entities/agent/deserializer/print-agent-v2.d.ts +53 -0
- package/dist-sdk/src/entities/agent/deserializer/print-agent-v2.js +344 -0
- package/dist-sdk/src/entities/agent/from-tf.d.ts +65 -0
- package/dist-sdk/src/entities/agent/from-tf.js +289 -0
- package/dist-sdk/src/entities/agent/index.d.ts +7 -0
- package/dist-sdk/src/entities/agent/index.js +7 -0
- package/dist-sdk/src/entities/agent/module.d.ts +4 -0
- package/dist-sdk/src/entities/agent/module.js +122 -0
- package/dist-sdk/src/entities/agent/to-tf.d.ts +33 -0
- package/dist-sdk/src/entities/agent/to-tf.js +188 -0
- package/dist-sdk/src/entities/agent/tools.d.ts +284 -0
- package/dist-sdk/src/entities/agent/tools.js +238 -0
- package/dist-sdk/src/entities/agent-tool/from-tf.d.ts +110 -0
- package/dist-sdk/src/entities/agent-tool/from-tf.js +265 -0
- package/dist-sdk/src/entities/agent-tool/module.d.ts +3 -0
- package/dist-sdk/src/entities/agent-tool/module.js +32 -0
- package/dist-sdk/src/entities/agent-tool/to-tf.d.ts +40 -0
- package/dist-sdk/src/entities/agent-tool/to-tf.js +250 -0
- package/dist-sdk/src/entities/agent-tool/types.d.ts +43 -0
- package/dist-sdk/src/entities/agent-tool/types.js +102 -0
- package/dist-sdk/src/entities/app/build.d.ts +368 -0
- package/dist-sdk/src/entities/app/build.js +372 -0
- package/dist-sdk/src/entities/app/deserializer/normalize.d.ts +168 -0
- package/dist-sdk/src/entities/app/deserializer/normalize.js +12 -0
- package/dist-sdk/src/entities/app/display-blocks.d.ts +26 -0
- package/dist-sdk/src/entities/app/display-blocks.js +34 -0
- package/dist-sdk/src/entities/app/from-tf.d.ts +23 -0
- package/dist-sdk/src/entities/app/from-tf.js +197 -0
- package/dist-sdk/src/entities/app/index.d.ts +14 -0
- package/dist-sdk/src/entities/app/index.js +11 -0
- package/dist-sdk/src/entities/app/locals.d.ts +11 -0
- package/dist-sdk/src/entities/app/locals.js +31 -0
- package/dist-sdk/src/entities/app/module.d.ts +4 -0
- package/dist-sdk/src/entities/app/module.js +66 -0
- package/dist-sdk/src/entities/app/to-tf.d.ts +33 -0
- package/dist-sdk/src/entities/app/to-tf.js +212 -0
- package/dist-sdk/src/entities/approval-chain/build.d.ts +24 -0
- package/dist-sdk/src/entities/approval-chain/build.js +56 -0
- package/dist-sdk/src/entities/approval-chain/index.d.ts +6 -0
- package/dist-sdk/src/entities/approval-chain/index.js +6 -0
- package/dist-sdk/src/entities/approval-chain/steps.d.ts +24 -0
- package/dist-sdk/src/entities/approval-chain/steps.js +20 -0
- package/dist-sdk/src/entities/automation/build.d.ts +259 -0
- package/dist-sdk/src/entities/automation/build.js +436 -0
- package/dist-sdk/src/entities/automation/catalog-render.d.ts +5 -0
- package/dist-sdk/src/entities/automation/catalog-render.js +35 -0
- package/dist-sdk/src/entities/automation/deserializer/ast.d.ts +152 -0
- package/dist-sdk/src/entities/automation/deserializer/ast.js +13 -0
- package/dist-sdk/src/entities/automation/deserializer/print-automation.d.ts +55 -0
- package/dist-sdk/src/entities/automation/deserializer/print-automation.js +1176 -0
- package/dist-sdk/src/entities/automation/filter.d.ts +93 -0
- package/dist-sdk/src/entities/automation/filter.js +156 -0
- package/dist-sdk/src/entities/automation/from-tf.d.ts +35 -0
- package/dist-sdk/src/entities/automation/from-tf.js +1258 -0
- package/dist-sdk/src/entities/automation/index.d.ts +22 -0
- package/dist-sdk/src/entities/automation/index.js +25 -0
- package/dist-sdk/src/entities/automation/module.d.ts +3 -0
- package/dist-sdk/src/entities/automation/module.js +150 -0
- package/dist-sdk/src/entities/automation/operators.d.ts +93 -0
- package/dist-sdk/src/entities/automation/operators.js +69 -0
- package/dist-sdk/src/entities/automation/output-key-wire-name.d.ts +19 -0
- package/dist-sdk/src/entities/automation/output-key-wire-name.js +24 -0
- package/dist-sdk/src/entities/automation/script-code.d.ts +51 -0
- package/dist-sdk/src/entities/automation/script-code.js +633 -0
- package/dist-sdk/src/entities/automation/serialize.d.ts +6 -0
- package/dist-sdk/src/entities/automation/serialize.js +41 -0
- package/dist-sdk/src/entities/automation/tasks.d.ts +641 -0
- package/dist-sdk/src/entities/automation/tasks.js +765 -0
- package/dist-sdk/src/entities/automation/to-tf.d.ts +19 -0
- package/dist-sdk/src/entities/automation/to-tf.js +1169 -0
- package/dist-sdk/src/entities/automation/triggers.d.ts +205 -0
- package/dist-sdk/src/entities/automation/triggers.js +202 -0
- package/dist-sdk/src/entities/automation/types.d.ts +78 -0
- package/dist-sdk/src/entities/automation/types.js +131 -0
- package/dist-sdk/src/entities/element/build.d.ts +121 -0
- package/dist-sdk/src/entities/element/build.js +110 -0
- package/dist-sdk/src/entities/element/from-tf.d.ts +19 -0
- package/dist-sdk/src/entities/element/from-tf.js +170 -0
- package/dist-sdk/src/entities/element/index.d.ts +12 -0
- package/dist-sdk/src/entities/element/index.js +10 -0
- package/dist-sdk/src/entities/element/locals.d.ts +7 -0
- package/dist-sdk/src/entities/element/locals.js +12 -0
- package/dist-sdk/src/entities/element/module.d.ts +8 -0
- package/dist-sdk/src/entities/element/module.js +65 -0
- package/dist-sdk/src/entities/element/to-tf.d.ts +14 -0
- package/dist-sdk/src/entities/element/to-tf.js +169 -0
- package/dist-sdk/src/entities/field/build.d.ts +112 -0
- package/dist-sdk/src/entities/field/build.js +84 -0
- package/dist-sdk/src/entities/field/calc/aggregate.d.ts +60 -0
- package/dist-sdk/src/entities/field/calc/aggregate.js +71 -0
- package/dist-sdk/src/entities/field/calc/date.d.ts +73 -0
- package/dist-sdk/src/entities/field/calc/date.js +109 -0
- package/dist-sdk/src/entities/field/calc/index.d.ts +229 -0
- package/dist-sdk/src/entities/field/calc/index.js +433 -0
- package/dist-sdk/src/entities/field/calc/numeric.d.ts +22 -0
- package/dist-sdk/src/entities/field/calc/numeric.js +67 -0
- package/dist-sdk/src/entities/field/calc/runtime.d.ts +61 -0
- package/dist-sdk/src/entities/field/calc/runtime.js +174 -0
- package/dist-sdk/src/entities/field/calc/text.d.ts +100 -0
- package/dist-sdk/src/entities/field/calc/text.js +208 -0
- package/dist-sdk/src/entities/field/calc/types.d.ts +86 -0
- package/dist-sdk/src/entities/field/calc/types.js +23 -0
- package/dist-sdk/src/entities/field/calc.d.ts +108 -0
- package/dist-sdk/src/entities/field/calc.js +54 -0
- package/dist-sdk/src/entities/field/from-tf.d.ts +31 -0
- package/dist-sdk/src/entities/field/from-tf.js +184 -0
- package/dist-sdk/src/entities/field/locals.d.ts +8 -0
- package/dist-sdk/src/entities/field/locals.js +24 -0
- package/dist-sdk/src/entities/field/module.d.ts +3 -0
- package/dist-sdk/src/entities/field/module.js +50 -0
- package/dist-sdk/src/entities/field/options.d.ts +27 -0
- package/dist-sdk/src/entities/field/options.js +76 -0
- package/dist-sdk/src/entities/field/record-shape.d.ts +57 -0
- package/dist-sdk/src/entities/field/record-shape.js +1 -0
- package/dist-sdk/src/entities/field/to-tf.d.ts +73 -0
- package/dist-sdk/src/entities/field/to-tf.js +142 -0
- package/dist-sdk/src/entities/field/types.d.ts +53 -0
- package/dist-sdk/src/entities/field/types.js +68 -0
- package/dist-sdk/src/entities/file-reader/build.d.ts +182 -0
- package/dist-sdk/src/entities/file-reader/build.js +105 -0
- package/dist-sdk/src/entities/file-reader/deserializer/print-file-reader.d.ts +6 -0
- package/dist-sdk/src/entities/file-reader/deserializer/print-file-reader.js +109 -0
- package/dist-sdk/src/entities/file-reader/from-tf.d.ts +13 -0
- package/dist-sdk/src/entities/file-reader/from-tf.js +172 -0
- package/dist-sdk/src/entities/file-reader/index.d.ts +10 -0
- package/dist-sdk/src/entities/file-reader/index.js +10 -0
- package/dist-sdk/src/entities/file-reader/module.d.ts +3 -0
- package/dist-sdk/src/entities/file-reader/module.js +115 -0
- package/dist-sdk/src/entities/file-reader/to-tf.d.ts +14 -0
- package/dist-sdk/src/entities/file-reader/to-tf.js +84 -0
- package/dist-sdk/src/entities/file-reader/types.d.ts +32 -0
- package/dist-sdk/src/entities/file-reader/types.js +30 -0
- package/dist-sdk/src/entities/flow/activities/agent.d.ts +15 -0
- package/dist-sdk/src/entities/flow/activities/agent.js +29 -0
- package/dist-sdk/src/entities/flow/activities/approval.d.ts +9 -0
- package/dist-sdk/src/entities/flow/activities/approval.js +18 -0
- package/dist-sdk/src/entities/flow/activities/automation.d.ts +12 -0
- package/dist-sdk/src/entities/flow/activities/automation.js +22 -0
- package/dist-sdk/src/entities/flow/activities/ctx.d.ts +34 -0
- package/dist-sdk/src/entities/flow/activities/ctx.js +38 -0
- package/dist-sdk/src/entities/flow/activities/form.d.ts +22 -0
- package/dist-sdk/src/entities/flow/activities/form.js +36 -0
- package/dist-sdk/src/entities/flow/activities/index.d.ts +14 -0
- package/dist-sdk/src/entities/flow/activities/index.js +13 -0
- package/dist-sdk/src/entities/flow/activities/input-refs.d.ts +39 -0
- package/dist-sdk/src/entities/flow/activities/input-refs.js +19 -0
- package/dist-sdk/src/entities/flow/activities/prompt-template.d.ts +13 -0
- package/dist-sdk/src/entities/flow/activities/prompt-template.js +34 -0
- package/dist-sdk/src/entities/flow/activities/render-catalog.d.ts +140 -0
- package/dist-sdk/src/entities/flow/activities/render-catalog.js +174 -0
- package/dist-sdk/src/entities/flow/activities/types.d.ts +33 -0
- package/dist-sdk/src/entities/flow/activities/types.js +1 -0
- package/dist-sdk/src/entities/flow/build.d.ts +38 -0
- package/dist-sdk/src/entities/flow/build.js +115 -0
- package/dist-sdk/src/entities/flow/index.d.ts +8 -0
- package/dist-sdk/src/entities/flow/index.js +7 -0
- package/dist-sdk/src/entities/flow/serialize.d.ts +51 -0
- package/dist-sdk/src/entities/flow/serialize.js +94 -0
- package/dist-sdk/src/entities/flow/util.d.ts +27 -0
- package/dist-sdk/src/entities/flow/util.js +38 -0
- package/dist-sdk/src/entities/org/ai-provider.d.ts +13 -0
- package/dist-sdk/src/entities/org/ai-provider.js +46 -0
- package/dist-sdk/src/entities/org/category.d.ts +5 -0
- package/dist-sdk/src/entities/org/category.js +33 -0
- package/dist-sdk/src/entities/org/cloud-link.d.ts +5 -0
- package/dist-sdk/src/entities/org/cloud-link.js +33 -0
- package/dist-sdk/src/entities/org/connector.d.ts +12 -0
- package/dist-sdk/src/entities/org/connector.js +35 -0
- package/dist-sdk/src/entities/org/group.d.ts +5 -0
- package/dist-sdk/src/entities/org/group.js +40 -0
- package/dist-sdk/src/entities/org/index.d.ts +11 -0
- package/dist-sdk/src/entities/org/index.js +11 -0
- package/dist-sdk/src/entities/org/role.d.ts +7 -0
- package/dist-sdk/src/entities/org/role.js +21 -0
- package/dist-sdk/src/entities/org/user.d.ts +7 -0
- package/dist-sdk/src/entities/org/user.js +30 -0
- package/dist-sdk/src/entities/search-table/build.d.ts +41 -0
- package/dist-sdk/src/entities/search-table/build.js +79 -0
- package/dist-sdk/src/entities/search-table/index.d.ts +5 -0
- package/dist-sdk/src/entities/search-table/index.js +5 -0
- package/dist-sdk/src/entities/search-table/module.d.ts +6 -0
- package/dist-sdk/src/entities/search-table/module.js +64 -0
- package/dist-sdk/src/entities/shared/context.d.ts +93 -0
- package/dist-sdk/src/entities/shared/context.js +156 -0
- package/dist-sdk/src/entities/shared/filters/ast.d.ts +277 -0
- package/dist-sdk/src/entities/shared/filters/ast.js +65 -0
- package/dist-sdk/src/entities/shared/filters/index.d.ts +211 -0
- package/dist-sdk/src/entities/shared/filters/index.js +372 -0
- package/dist-sdk/src/entities/shared/filters/types.d.ts +170 -0
- package/dist-sdk/src/entities/shared/filters/types.js +7 -0
- package/dist-sdk/src/entities/shared/ref.d.ts +160 -0
- package/dist-sdk/src/entities/shared/ref.js +119 -0
- package/dist-sdk/src/entities/shared/tool-field-ref.d.ts +17 -0
- package/dist-sdk/src/entities/shared/tool-field-ref.js +31 -0
- package/dist-sdk/src/entities/shared/types/common.d.ts +106 -0
- package/dist-sdk/src/entities/shared/types/common.js +64 -0
- package/dist-sdk/src/entities/shared/types/field-types.d.ts +58 -0
- package/dist-sdk/src/entities/shared/types/field-types.js +57 -0
- package/dist-sdk/src/entities/shared/types/platform.d.ts +46 -0
- package/dist-sdk/src/entities/shared/types/platform.js +10 -0
- package/dist-sdk/src/entities/skill/build.d.ts +25 -0
- package/dist-sdk/src/entities/skill/build.js +50 -0
- package/dist-sdk/src/entities/skill/deserializer/print-skill-v2.d.ts +39 -0
- package/dist-sdk/src/entities/skill/deserializer/print-skill-v2.js +124 -0
- package/dist-sdk/src/entities/skill/from-tf.d.ts +33 -0
- package/dist-sdk/src/entities/skill/from-tf.js +96 -0
- package/dist-sdk/src/entities/skill/index.d.ts +7 -0
- package/dist-sdk/src/entities/skill/index.js +7 -0
- package/dist-sdk/src/entities/skill/module.d.ts +4 -0
- package/dist-sdk/src/entities/skill/module.js +111 -0
- package/dist-sdk/src/entities/skill/to-tf.d.ts +33 -0
- package/dist-sdk/src/entities/skill/to-tf.js +59 -0
- package/dist-sdk/src/entities/skill/tools.d.ts +93 -0
- package/dist-sdk/src/entities/skill/tools.js +105 -0
- package/dist-sdk/src/entities/skill-tool/from-tf.d.ts +60 -0
- package/dist-sdk/src/entities/skill-tool/from-tf.js +142 -0
- package/dist-sdk/src/entities/skill-tool/module.d.ts +3 -0
- package/dist-sdk/src/entities/skill-tool/module.js +21 -0
- package/dist-sdk/src/entities/skill-tool/to-tf.d.ts +34 -0
- package/dist-sdk/src/entities/skill-tool/to-tf.js +130 -0
- package/dist-sdk/src/entities/skill-tool/types.d.ts +40 -0
- package/dist-sdk/src/entities/skill-tool/types.js +67 -0
- package/dist-sdk/src/entities/table/build.d.ts +74 -0
- package/dist-sdk/src/entities/table/build.js +339 -0
- package/dist-sdk/src/entities/table/catalog-render.d.ts +5 -0
- package/dist-sdk/src/entities/table/catalog-render.js +39 -0
- package/dist-sdk/src/entities/table/fields.d.ts +81 -0
- package/dist-sdk/src/entities/table/fields.js +70 -0
- package/dist-sdk/src/entities/table/filter.d.ts +41 -0
- package/dist-sdk/src/entities/table/filter.js +89 -0
- package/dist-sdk/src/entities/table/index.d.ts +8 -0
- package/dist-sdk/src/entities/table/index.js +12 -0
- package/dist-sdk/src/entities/table/joins.d.ts +26 -0
- package/dist-sdk/src/entities/table/joins.js +31 -0
- package/dist-sdk/src/entities/table/keys.d.ts +11 -0
- package/dist-sdk/src/entities/table/keys.js +25 -0
- package/dist-sdk/src/entities/table/module.d.ts +5 -0
- package/dist-sdk/src/entities/table/module.js +25 -0
- package/dist-sdk/src/entities/table/state.d.ts +39 -0
- package/dist-sdk/src/entities/table/state.js +43 -0
- package/dist-sdk/src/entities/view/from-tf.d.ts +29 -0
- package/dist-sdk/src/entities/view/from-tf.js +235 -0
- package/dist-sdk/src/entities/view/module.d.ts +24 -0
- package/dist-sdk/src/entities/view/module.js +61 -0
- package/dist-sdk/src/entities/view/to-tf.d.ts +65 -0
- package/dist-sdk/src/entities/view/to-tf.js +171 -0
- package/dist-sdk/src/entities/view/types.d.ts +58 -0
- package/dist-sdk/src/entities/view/types.js +89 -0
- package/dist-sdk/src/graph/deferred-catalog-render.d.ts +9 -0
- package/dist-sdk/src/graph/deferred-catalog-render.js +18 -0
- package/dist-sdk/src/graph/index.d.ts +91 -0
- package/dist-sdk/src/graph/index.js +211 -0
- package/dist-sdk/src/graph/modules.d.ts +7 -0
- package/dist-sdk/src/graph/modules.js +42 -0
- package/dist-sdk/src/graph/types.d.ts +375 -0
- package/dist-sdk/src/graph/types.js +102 -0
- package/dist-sdk/src/internal/sdk-package.d.ts +7 -0
- package/dist-sdk/src/internal/sdk-package.js +23 -0
- package/package.json +201 -8
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Canonical Agent model — single source of truth for every antman
|
|
3
|
+
* endpoint that returns an agent or a piece of one. Two endpoints
|
|
4
|
+
* populate this type today:
|
|
5
|
+
*
|
|
6
|
+
* - `Aspect.agentsV2` (catalog view from `GET /v1/apps/definition`)
|
|
7
|
+
* populates identity-only fields: `id`, `name`, `description`,
|
|
8
|
+
* `type`.
|
|
9
|
+
* - `GET /v1/agents/{agentId}` (full view) populates everything else
|
|
10
|
+
* based on the agent's variant (`type`).
|
|
11
|
+
*
|
|
12
|
+
* Different endpoints populate different fields on the same type;
|
|
13
|
+
* every field that isn't required on both views is optional. Each
|
|
14
|
+
* variant-specific field documents which `type` populates it.
|
|
15
|
+
*
|
|
16
|
+
* Variants come from antman's GraphQL union: `AgentElementum`,
|
|
17
|
+
* `AgentExternal`, `AgentSystem`, `AgentComputerUse`, `AgentBrowserUse`,
|
|
18
|
+
* `AgentSnowflake`, `AgentBedrock` — see `antman/.../AgentClient.java`'s
|
|
19
|
+
* `getAgent` query for the source-of-truth fragment. Antman aliases
|
|
20
|
+
* hydra's GraphQL `__typename` to `type` so the GraphQL-y field name
|
|
21
|
+
* doesn't leak into antman's REST surface.
|
|
22
|
+
*
|
|
23
|
+
* `type` (the variant discriminator) and `systemType` (the
|
|
24
|
+
* system-agent subtype, populated only on `AgentSystem`) are typed
|
|
25
|
+
* as closed string-literal unions so the EDK can narrow on them at
|
|
26
|
+
* compile time. They match hydra's `AgentType` and `AgentSystemType`
|
|
27
|
+
* enums verbatim — keep in sync if either side changes
|
|
28
|
+
* (`hydra/.../AgentType.java`, `hydra/.../AgentSystemType.java`).
|
|
29
|
+
*/
|
|
30
|
+
import type { Connection } from "../../../models/connection.js";
|
|
31
|
+
import type { AiProviderConnector } from "../../ai-provider-connectors/models/ai-provider-connector.js";
|
|
32
|
+
import type { Skill } from "../../skills/models/skill.js";
|
|
33
|
+
import type { AgentTool } from "./agent-tool.js";
|
|
34
|
+
/**
|
|
35
|
+
* Closed set of agent variants antman emits. Six map 1:1 to hydra's
|
|
36
|
+
* `AgentType` enum (`hydra/.../AgentType.java` — `ELEMENTUM`,
|
|
37
|
+
* `EXTERNAL`, `SYSTEM`, `BROWSER_USE`, `SNOWFLAKE`, `BEDROCK`); the
|
|
38
|
+
* seventh — `AgentComputerUse` — is a legacy variant antman still
|
|
39
|
+
* surfaces but hydra has no V2 input for, so the EDK can read it
|
|
40
|
+
* but cannot create/update it.
|
|
41
|
+
*/
|
|
42
|
+
export type AgentType = "AgentElementum" | "AgentExternal" | "AgentSystem" | "AgentComputerUse" | "AgentBrowserUse" | "AgentSnowflake" | "AgentBedrock";
|
|
43
|
+
/**
|
|
44
|
+
* Closed set of system-agent subtypes — populated only when
|
|
45
|
+
* `type === "AgentSystem"`. Mirrors hydra's `AgentSystemType`
|
|
46
|
+
* enum (`hydra/.../AgentSystemType.java`). Distinct from `AgentType`:
|
|
47
|
+
* one is the variant family, the other is the role within the
|
|
48
|
+
* `AgentSystem` family.
|
|
49
|
+
*/
|
|
50
|
+
export type AgentSystemType = "GLOBAL" | "ASPECT_ADMIN" | "AUTOMATION_ADMIN" | "SKILL_BUILDER" | "DOCS_ASSISTANT";
|
|
51
|
+
/**
|
|
52
|
+
* Closed set of `runAs` variants — mirrors hydra's
|
|
53
|
+
* `AgentConversationRunAsType` enum
|
|
54
|
+
* (`hydra/.../AgentConversationRunAsType.java`). Three values:
|
|
55
|
+
*
|
|
56
|
+
* - `"AgentConversationRunAsUser"` — runs as a specific user
|
|
57
|
+
* - `"AgentConversationRunAsServiceAccount"` — runs as a service account
|
|
58
|
+
* - `"AgentConversationRunAsCurrentUser"` — runs as the invoking user
|
|
59
|
+
* at runtime (no fixed principal stored on the agent)
|
|
60
|
+
*/
|
|
61
|
+
export type AgentConversationRunAsType = "AgentConversationRunAsUser" | "AgentConversationRunAsServiceAccount" | "AgentConversationRunAsCurrentUser";
|
|
62
|
+
/**
|
|
63
|
+
* `runAs` carries one of three shapes via inline-fragment narrowing
|
|
64
|
+
* on antman's `AgentConversationRunAs` union. The query asks for
|
|
65
|
+
* `id` on the embedded user/serviceAccount where applicable so the
|
|
66
|
+
* EDK can resolve the principal without a follow-up call.
|
|
67
|
+
*
|
|
68
|
+
* Note: antman's GraphQL serializer emits unmatched union fields as
|
|
69
|
+
* `null` rather than omitting them — so at runtime `user` and
|
|
70
|
+
* `serviceAccount` will be `null` when the variant doesn't carry
|
|
71
|
+
* that field. Code reading these should use optional chaining
|
|
72
|
+
* (`runAs?.user?.id`) which treats null and undefined identically;
|
|
73
|
+
* matches the convention across the rest of the entity-client.
|
|
74
|
+
*/
|
|
75
|
+
export interface AgentConversationRunAs {
|
|
76
|
+
readonly type?: AgentConversationRunAsType;
|
|
77
|
+
readonly id?: string;
|
|
78
|
+
readonly user?: {
|
|
79
|
+
readonly id: string;
|
|
80
|
+
};
|
|
81
|
+
readonly serviceAccount?: {
|
|
82
|
+
readonly id: string;
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Skill-access policy on the agent. Mirrors
|
|
87
|
+
* `antman/.../SkillAccessConfig.java` — the `mode` value comes from
|
|
88
|
+
* hydra's `SkillAccessMode` enum (`NONE` / `ALL` / `ALL_APP` /
|
|
89
|
+
* `CUSTOM`). The `skills` and `preloadedSkills` lists are populated
|
|
90
|
+
* only when `mode === "CUSTOM"`.
|
|
91
|
+
*/
|
|
92
|
+
export interface SkillAccessConfig {
|
|
93
|
+
readonly mode: "NONE" | "ALL" | "ALL_APP" | "CUSTOM";
|
|
94
|
+
readonly skills?: readonly {
|
|
95
|
+
readonly id: string;
|
|
96
|
+
}[];
|
|
97
|
+
readonly preloadedSkills?: readonly {
|
|
98
|
+
readonly id: string;
|
|
99
|
+
}[];
|
|
100
|
+
}
|
|
101
|
+
export interface StartingActionVariableValidation {
|
|
102
|
+
readonly pattern?: string;
|
|
103
|
+
readonly minLength?: number;
|
|
104
|
+
readonly maxLength?: number;
|
|
105
|
+
readonly errorMessage?: string;
|
|
106
|
+
}
|
|
107
|
+
export interface StartingActionSelectOption {
|
|
108
|
+
readonly value: string;
|
|
109
|
+
readonly label: string;
|
|
110
|
+
}
|
|
111
|
+
export interface StartingActionVariable {
|
|
112
|
+
readonly key: string;
|
|
113
|
+
readonly label: string;
|
|
114
|
+
readonly placeholder?: string;
|
|
115
|
+
readonly type: string;
|
|
116
|
+
readonly required: boolean;
|
|
117
|
+
readonly options?: readonly StartingActionSelectOption[];
|
|
118
|
+
readonly validation?: StartingActionVariableValidation;
|
|
119
|
+
}
|
|
120
|
+
export interface StartingAction {
|
|
121
|
+
readonly id: string;
|
|
122
|
+
readonly name: string;
|
|
123
|
+
readonly prompt: string;
|
|
124
|
+
readonly icon?: string;
|
|
125
|
+
readonly order: number;
|
|
126
|
+
readonly enabled: boolean;
|
|
127
|
+
readonly variables: readonly StartingActionVariable[];
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Snowflake-variant configuration. Populated only when
|
|
131
|
+
* `type === "AgentSnowflake"`. The `aiProvider` reference
|
|
132
|
+
* carries identity only; the rest are per-warehouse routing fields.
|
|
133
|
+
*/
|
|
134
|
+
export interface AgentSnowflakeConfig {
|
|
135
|
+
readonly aiProvider?: {
|
|
136
|
+
readonly id: string;
|
|
137
|
+
};
|
|
138
|
+
readonly database?: string;
|
|
139
|
+
readonly schema?: string;
|
|
140
|
+
readonly name?: string;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Bedrock-variant configuration. Populated only when
|
|
144
|
+
* `type === "AgentBedrock"`.
|
|
145
|
+
*/
|
|
146
|
+
export interface AgentBedrockConfig {
|
|
147
|
+
readonly aiProvider?: {
|
|
148
|
+
readonly id: string;
|
|
149
|
+
};
|
|
150
|
+
readonly agentArn?: string;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* JWT key source — the flat read shape. `type` is the variant
|
|
154
|
+
* discriminator, aliased from hydra's `__typename`. Exactly one
|
|
155
|
+
* variant field is populated per the discriminator.
|
|
156
|
+
*/
|
|
157
|
+
export interface AgentAuthenticationJwtKeySourceWire {
|
|
158
|
+
readonly type?: "AgentAuthenticationJwtPlainTextSource" | "AgentAuthenticationJwtJwksSource";
|
|
159
|
+
readonly plainTextKeyValuePem?: string;
|
|
160
|
+
readonly jwksUrl?: string;
|
|
161
|
+
}
|
|
162
|
+
export interface AgentAuthenticationJwtClaimRequirement {
|
|
163
|
+
readonly claimName: string;
|
|
164
|
+
readonly acceptableValues: readonly string[];
|
|
165
|
+
}
|
|
166
|
+
export interface AgentAuthenticationJwt {
|
|
167
|
+
readonly enabled: boolean;
|
|
168
|
+
readonly headerName: string;
|
|
169
|
+
readonly emailAddressClaimName: string;
|
|
170
|
+
readonly keySource: AgentAuthenticationJwtKeySourceWire;
|
|
171
|
+
readonly requiredClaims?: readonly AgentAuthenticationJwtClaimRequirement[];
|
|
172
|
+
}
|
|
173
|
+
/** Agent authentication config (JWT only today). */
|
|
174
|
+
export interface AgentAuthentication {
|
|
175
|
+
readonly jwt?: AgentAuthenticationJwt;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* An A2A skill advertised on an agent's card (for agent-to-agent
|
|
179
|
+
* discovery).
|
|
180
|
+
*/
|
|
181
|
+
export interface AgentA2ASkill {
|
|
182
|
+
readonly id: string;
|
|
183
|
+
readonly name: string;
|
|
184
|
+
readonly description: string;
|
|
185
|
+
readonly tags?: readonly string[];
|
|
186
|
+
readonly examples?: readonly string[];
|
|
187
|
+
readonly inputModes?: readonly string[];
|
|
188
|
+
readonly outputModes?: readonly string[];
|
|
189
|
+
}
|
|
190
|
+
/** An agent's A2A card. */
|
|
191
|
+
export interface AgentCard {
|
|
192
|
+
readonly skills?: Connection<AgentA2ASkill>;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* An agent as it appears in either the catalog view (identity only)
|
|
196
|
+
* or the full GET-by-id view (everything its variant carries).
|
|
197
|
+
*
|
|
198
|
+
* `type` is the variant discriminator — narrow on it before reading
|
|
199
|
+
* variant-specific fields. Shared fields (id, name, description,
|
|
200
|
+
* runAs, startingActions, skillAccessConfig, skills) are populated
|
|
201
|
+
* for every variant; variant-specific fields document which `type`
|
|
202
|
+
* populates them inline.
|
|
203
|
+
*
|
|
204
|
+
* `app` is the owning aspect (catalog view's owner reference). Every
|
|
205
|
+
* variant except `AgentSystem` carries it (system agents have no app
|
|
206
|
+
* owner).
|
|
207
|
+
*/
|
|
208
|
+
export interface Agent {
|
|
209
|
+
readonly type: AgentType;
|
|
210
|
+
readonly id: string;
|
|
211
|
+
readonly name: string;
|
|
212
|
+
/** Server-assigned stable handle (e.g. `AGT_t2cq695s`); preferred over a name-derived handle. */
|
|
213
|
+
readonly clientHandle?: string;
|
|
214
|
+
/**
|
|
215
|
+
* Immutable creation timestamp (ISO-8601). Primary ordering key for
|
|
216
|
+
* deterministic handle minting (`src/handles`); optional, falls back to
|
|
217
|
+
* `id` ordering when absent.
|
|
218
|
+
*/
|
|
219
|
+
readonly createdAt?: string;
|
|
220
|
+
readonly description: string;
|
|
221
|
+
readonly temperature: number;
|
|
222
|
+
readonly maxLength: number;
|
|
223
|
+
readonly reasoningEffort?: string;
|
|
224
|
+
readonly runAs?: AgentConversationRunAs;
|
|
225
|
+
readonly agentAuthentication?: AgentAuthentication;
|
|
226
|
+
readonly startingActions?: readonly StartingAction[];
|
|
227
|
+
readonly skillAccessConfig?: SkillAccessConfig;
|
|
228
|
+
readonly skills?: Connection<Skill>;
|
|
229
|
+
readonly tools?: Connection<AgentTool>;
|
|
230
|
+
readonly card?: AgentCard;
|
|
231
|
+
readonly app?: {
|
|
232
|
+
readonly id: string;
|
|
233
|
+
};
|
|
234
|
+
readonly firstMessage?: string;
|
|
235
|
+
readonly instructions: string;
|
|
236
|
+
readonly aiProviderConnector: AiProviderConnector;
|
|
237
|
+
readonly systemType?: AgentSystemType;
|
|
238
|
+
readonly browserAgentInstructions?: string;
|
|
239
|
+
readonly persistSession?: boolean;
|
|
240
|
+
readonly flashMode?: boolean;
|
|
241
|
+
readonly vision?: boolean;
|
|
242
|
+
readonly sessionTimeoutMinutes?: number;
|
|
243
|
+
readonly agentSnowflakeConfig?: AgentSnowflakeConfig;
|
|
244
|
+
readonly agentBedrockConfig?: AgentBedrockConfig;
|
|
245
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Canonical Agent model — single source of truth for every antman
|
|
3
|
+
* endpoint that returns an agent or a piece of one. Two endpoints
|
|
4
|
+
* populate this type today:
|
|
5
|
+
*
|
|
6
|
+
* - `Aspect.agentsV2` (catalog view from `GET /v1/apps/definition`)
|
|
7
|
+
* populates identity-only fields: `id`, `name`, `description`,
|
|
8
|
+
* `type`.
|
|
9
|
+
* - `GET /v1/agents/{agentId}` (full view) populates everything else
|
|
10
|
+
* based on the agent's variant (`type`).
|
|
11
|
+
*
|
|
12
|
+
* Different endpoints populate different fields on the same type;
|
|
13
|
+
* every field that isn't required on both views is optional. Each
|
|
14
|
+
* variant-specific field documents which `type` populates it.
|
|
15
|
+
*
|
|
16
|
+
* Variants come from antman's GraphQL union: `AgentElementum`,
|
|
17
|
+
* `AgentExternal`, `AgentSystem`, `AgentComputerUse`, `AgentBrowserUse`,
|
|
18
|
+
* `AgentSnowflake`, `AgentBedrock` — see `antman/.../AgentClient.java`'s
|
|
19
|
+
* `getAgent` query for the source-of-truth fragment. Antman aliases
|
|
20
|
+
* hydra's GraphQL `__typename` to `type` so the GraphQL-y field name
|
|
21
|
+
* doesn't leak into antman's REST surface.
|
|
22
|
+
*
|
|
23
|
+
* `type` (the variant discriminator) and `systemType` (the
|
|
24
|
+
* system-agent subtype, populated only on `AgentSystem`) are typed
|
|
25
|
+
* as closed string-literal unions so the EDK can narrow on them at
|
|
26
|
+
* compile time. They match hydra's `AgentType` and `AgentSystemType`
|
|
27
|
+
* enums verbatim — keep in sync if either side changes
|
|
28
|
+
* (`hydra/.../AgentType.java`, `hydra/.../AgentSystemType.java`).
|
|
29
|
+
*/
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wire types for `GET /v1/ai-provider-connectors` — mirror of the
|
|
3
|
+
* platform's `AiProviderConnector` + nested `AiModel` records.
|
|
4
|
+
*
|
|
5
|
+
* `legacy` on the model distinguishes older connector types; the EDK
|
|
6
|
+
* agent builder prefers non-legacy connectors when creating new agents.
|
|
7
|
+
*/
|
|
8
|
+
export interface AiModel {
|
|
9
|
+
readonly name?: string;
|
|
10
|
+
readonly model?: string;
|
|
11
|
+
readonly modelType?: string;
|
|
12
|
+
readonly legacy?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface AiProviderConnector {
|
|
15
|
+
readonly id: string;
|
|
16
|
+
readonly clientHandle?: string;
|
|
17
|
+
readonly model?: AiModel;
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wire types for `GET /v1/ai-provider-connectors` — mirror of the
|
|
3
|
+
* platform's `AiProviderConnector` + nested `AiModel` records.
|
|
4
|
+
*
|
|
5
|
+
* `legacy` on the model distinguishes older connector types; the EDK
|
|
6
|
+
* agent builder prefers non-legacy connectors when creating new agents.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|