blob: 1c1fd590cbe00798a8d4b73d3050f3092186caf7 [file]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
import * as sdk from '../../packages/plugin-sdk/src/index.js';
export const agentImports = {
ui: { contract: sdk.contracts.uiAuthoring, cardinality: { kind: 'optional' } },
executorSetups: {
contract: sdk.contracts.executorSetup,
cardinality: { kind: 'many', min: 0, max: 8 },
},
executors: { contract: sdk.contracts.executor, cardinality: { kind: 'many', min: 0, max: 8 } },
computer: { contract: sdk.contracts.workspaceComputer, cardinality: { kind: 'optional' } },
web: { contract: sdk.contracts.workspaceWeb, cardinality: { kind: 'optional' } },
skills: { contract: sdk.contracts.skillLibrary, cardinality: { kind: 'optional' } },
forms: { contract: sdk.contracts.forms, cardinality: { kind: 'optional' } },
questions: { contract: sdk.contracts.questions, cardinality: { kind: 'optional' } },
files: { contract: sdk.contracts.workspaceFiles, cardinality: { kind: 'optional' } },
processes: {
contract: sdk.contracts.workspaceProcesses,
cardinality: { kind: 'optional' },
},
};