fix: rename runtime packages (#3481)
* fix: rename runtime packages Fixes #3480 * fix: descriptions
This commit is contained in:
Родитель
85ff1febb9
Коммит
ca261db8d9
|
@ -32,7 +32,7 @@
|
|||
"botbuilder-dialogs": "4.1.6",
|
||||
"botbuilder-dialogs-adaptive": "4.1.6",
|
||||
"botbuilder-dialogs-declarative": "4.1.6",
|
||||
"botbuilder-runtime-core": "4.1.6",
|
||||
"botbuilder-dialogs-adaptive-runtime-core": "4.1.6",
|
||||
"orchestrator-core": "rc",
|
||||
"uuid": "^8.3.2"
|
||||
},
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
import { BotComponent } from 'botbuilder-core';
|
||||
import { ComponentDeclarativeTypes } from 'botbuilder-dialogs-declarative';
|
||||
import { OrchestratorRecognizer } from './orchestratorRecognizer';
|
||||
import { ServiceCollection, Configuration } from 'botbuilder-runtime-core';
|
||||
import { ServiceCollection, Configuration } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
|
||||
export class OrchestratorBotComponent extends BotComponent {
|
||||
configureServices(services: ServiceCollection, _configuration: Configuration): void {
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
"botbuilder-core": "4.1.6",
|
||||
"botbuilder-dialogs": "4.1.6",
|
||||
"botbuilder-dialogs-declarative": "4.1.6",
|
||||
"botbuilder-runtime-core": "4.1.6",
|
||||
"botbuilder-dialogs-adaptive-runtime-core": "4.1.6",
|
||||
"lodash": "^4.17.21",
|
||||
"node-fetch": "^2.6.0",
|
||||
"url-parse": "^1.5.1"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
import { BotComponent } from 'botbuilder-core';
|
||||
import { ComponentDeclarativeTypes } from 'botbuilder-dialogs-declarative';
|
||||
import { Configuration, ServiceCollection } from 'botbuilder-runtime-core';
|
||||
import { Configuration, ServiceCollection } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
import { LuisAdaptiveRecognizer } from './luisAdaptiveRecognizer';
|
||||
|
||||
export class LuisBotComponent extends BotComponent {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
import { ComponentDeclarativeTypes } from 'botbuilder-dialogs-declarative';
|
||||
import { ComponentRegistration } from 'botbuilder-core';
|
||||
import { LuisBotComponent } from './luisBotComponent';
|
||||
import { ServiceCollection, noOpConfiguration } from 'botbuilder-runtime-core';
|
||||
import { ServiceCollection, noOpConfiguration } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
|
||||
/**
|
||||
* Define component assets for Luis.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
import { BotComponent } from 'botbuilder-core';
|
||||
import { ComponentDeclarativeTypes } from 'botbuilder-dialogs-declarative';
|
||||
import { Configuration, ServiceCollection } from 'botbuilder-runtime-core';
|
||||
import { Configuration, ServiceCollection } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
import { QnAMakerDialog } from './qnaMakerDialog';
|
||||
import { QnAMakerRecognizer } from './qnaMakerRecognizer';
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
import { ComponentDeclarativeTypes } from 'botbuilder-dialogs-declarative';
|
||||
import { ComponentRegistration } from 'botbuilder-core';
|
||||
import { QnAMakerBotComponent } from './qnaMakerBotComponent';
|
||||
import { ServiceCollection, noOpConfiguration } from 'botbuilder-runtime-core';
|
||||
import { ServiceCollection, noOpConfiguration } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
|
||||
/**
|
||||
* Define component assets for QnAMaker.
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"assert": "^1.4.1",
|
||||
"botbuilder-runtime-core": "4.1.6",
|
||||
"botbuilder-dialogs-adaptive-runtime-core": "4.1.6",
|
||||
"botbuilder-stdlib": "4.1.6",
|
||||
"botframework-connector": "4.1.6",
|
||||
"botframework-schema": "4.1.6",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Licensed under the MIT License.
|
||||
|
||||
import { Assertion, assert } from 'botbuilder-stdlib';
|
||||
import { Configuration, ServiceCollection } from 'botbuilder-runtime-core';
|
||||
import { Configuration, ServiceCollection } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
|
||||
/**
|
||||
* Definition of a BotComponent that allows registration of services, custom actions, memory scopes and adapters.
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# botbuilder-dialogs-adaptive-runtime-core
|
||||
|
||||
The runtime core package is an internal only package. The API surface should not be considered public. The package purely serves to provide a small set of shared types and functionality to power the runtime and runtime plugins.
|
||||
|
||||
## ServiceCollection
|
||||
|
||||
`ServiceCollection` serves as the glue between components that participate in the runtime. Instances or factory functions can be provided. Factory functions can express dependencies on other service instances that are necessary for construction. The dependency graph is then resolved to build instances of every service with a provided instance of factory function.
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"name": "botbuilder-runtime-core",
|
||||
"name": "botbuilder-dialogs-adaptive-runtime-core",
|
||||
"preview": true,
|
||||
"author": "Microsoft Corp.",
|
||||
"version": "4.1.6",
|
||||
"license": "MIT",
|
||||
"description": "Bot Framework runtime core types and services",
|
||||
"description": "Bot Framework Adaptive Dialogs runtime core components",
|
||||
"keywords": [
|
||||
"botbuilder",
|
||||
"botframework",
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"name": "botbuilder-runtime-integration-azure-functions",
|
||||
"name": "botbuilder-dialogs-adaptive-runtime-integration-azure-functions",
|
||||
"preview": true,
|
||||
"author": "Microsoft Corp.",
|
||||
"version": "4.1.6",
|
||||
"license": "MIT",
|
||||
"description": "Bot Framework runtime azure functions integration",
|
||||
"description": "Bot Framework Adaptive Dialogs Azure Functions integration",
|
||||
"keywords": [
|
||||
"botbuilder",
|
||||
"botframework",
|
||||
|
@ -23,8 +23,8 @@
|
|||
"dependencies": {
|
||||
"@azure/functions": "^1.2.3",
|
||||
"botbuilder": "4.1.6",
|
||||
"botbuilder-runtime": "4.1.6",
|
||||
"botbuilder-runtime-core": "4.1.6"
|
||||
"botbuilder-dialogs-adaptive-runtime": "4.1.6",
|
||||
"botbuilder-dialogs-adaptive-runtime-core": "4.1.6"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc -b",
|
|
@ -4,8 +4,8 @@
|
|||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
|
||||
import type { AzureFunction, Context, HttpRequest } from '@azure/functions';
|
||||
import { Configuration, getRuntimeServices } from 'botbuilder-runtime';
|
||||
import { ServiceCollection } from 'botbuilder-runtime-core';
|
||||
import { Configuration, getRuntimeServices } from 'botbuilder-dialogs-adaptive-runtime';
|
||||
import { ServiceCollection } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
|
||||
import type {
|
||||
Activity,
|
|
@ -0,0 +1 @@
|
|||
# botbuilder-dialogs-adaptive-runtime-integration-express (PREVIEW)
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"name": "botbuilder-runtime-integration-express",
|
||||
"name": "botbuilder-dialogs-adaptive-runtime-integration-express",
|
||||
"preview": true,
|
||||
"author": "Microsoft Corp.",
|
||||
"version": "4.1.6",
|
||||
"license": "MIT",
|
||||
"description": "Bot Framework runtime Express integration library",
|
||||
"description": "Bot Framework Adaptive Dialogs runtime Express integration library",
|
||||
"keywords": [
|
||||
"botbuilder",
|
||||
"botframework",
|
||||
|
@ -28,8 +28,8 @@
|
|||
],
|
||||
"dependencies": {
|
||||
"botbuilder": "4.1.6",
|
||||
"botbuilder-runtime": "4.1.6",
|
||||
"botbuilder-runtime-core": "4.1.6",
|
||||
"botbuilder-dialogs-adaptive-runtime": "4.1.6",
|
||||
"botbuilder-dialogs-adaptive-runtime-core": "4.1.6",
|
||||
"express": "^4.17.1",
|
||||
"runtypes": "^5.0.1"
|
||||
}
|
|
@ -5,8 +5,8 @@ import * as http from 'http';
|
|||
import * as t from 'runtypes';
|
||||
import express from 'express';
|
||||
import { ActivityHandlerBase, BotFrameworkAdapter } from 'botbuilder';
|
||||
import { Configuration, getRuntimeServices } from 'botbuilder-runtime';
|
||||
import { ServiceCollection } from 'botbuilder-runtime-core';
|
||||
import { Configuration, getRuntimeServices } from 'botbuilder-dialogs-adaptive-runtime';
|
||||
import { ServiceCollection } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
|
||||
const TypedOptions = t.Record({
|
||||
/**
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"name": "botbuilder-runtime-integration-restify",
|
||||
"name": "botbuilder-dialogs-adaptive-runtime-integration-restify",
|
||||
"preview": true,
|
||||
"author": "Microsoft Corp.",
|
||||
"version": "4.1.6",
|
||||
"license": "MIT",
|
||||
"description": "Bot Framework runtime restify integration",
|
||||
"description": "Bot Framework Adaptive Dialogs runtime restify integration",
|
||||
"keywords": [
|
||||
"botbuilder",
|
||||
"botframework",
|
||||
|
@ -22,8 +22,8 @@
|
|||
"types": "./lib/index.d.ts",
|
||||
"dependencies": {
|
||||
"botbuilder": "4.1.6",
|
||||
"botbuilder-runtime": "4.1.6",
|
||||
"botbuilder-runtime-core": "4.1.6",
|
||||
"botbuilder-dialogs-adaptive-runtime": "4.1.6",
|
||||
"botbuilder-dialogs-adaptive-runtime-core": "4.1.6",
|
||||
"restify": "^8.5.1",
|
||||
"runtypes": "^5.0.1"
|
||||
},
|
|
@ -4,8 +4,8 @@
|
|||
import * as t from 'runtypes';
|
||||
import restify from 'restify';
|
||||
import { ActivityHandlerBase, BotFrameworkAdapter } from 'botbuilder';
|
||||
import { Configuration, getRuntimeServices } from 'botbuilder-runtime';
|
||||
import { ServiceCollection } from 'botbuilder-runtime-core';
|
||||
import { Configuration, getRuntimeServices } from 'botbuilder-dialogs-adaptive-runtime';
|
||||
import { ServiceCollection } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
|
||||
const TypedOptions = t.Record({
|
||||
/**
|
|
@ -0,0 +1,5 @@
|
|||
# botbuilder-dialogs-adaptive-runtime
|
||||
|
||||
This package combines `botbuilder-dialogs-adaptive-runtime-core` along with any configured plugins
|
||||
to produce a set of runtime services. Those services are then arranged into working "bots" by the
|
||||
various integration packages.
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"name": "botbuilder-runtime",
|
||||
"name": "botbuilder-dialogs-adaptive-runtime",
|
||||
"preview": true,
|
||||
"author": "Microsoft Corp.",
|
||||
"version": "4.1.6",
|
||||
"license": "MIT",
|
||||
"description": "Bot Framework runtime",
|
||||
"description": "Bot Framework Adaptive Dialogs runtime",
|
||||
"keywords": [
|
||||
"botbuilder",
|
||||
"botframework",
|
||||
|
@ -35,8 +35,8 @@
|
|||
"botbuilder-azure-blobs": "4.1.6",
|
||||
"botbuilder-dialogs": "4.1.6",
|
||||
"botbuilder-dialogs-adaptive": "4.1.6",
|
||||
"botbuilder-dialogs-adaptive-runtime-core": "4.1.6",
|
||||
"botbuilder-dialogs-declarative": "4.1.6",
|
||||
"botbuilder-runtime-core": "4.1.6",
|
||||
"botframework-connector": "4.1.6",
|
||||
"dependency-graph": "^0.10.0",
|
||||
"nconf": "^0.11.2",
|
|
@ -3,12 +3,12 @@
|
|||
|
||||
import yargs from 'yargs-parser';
|
||||
import { Boolean, Runtype, String, Undefined, ValidationError } from 'runtypes';
|
||||
import { Configuration as CoreConfiguration } from 'botbuilder-runtime-core';
|
||||
import { Configuration as CoreConfiguration } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
import { Provider } from 'nconf';
|
||||
|
||||
/**
|
||||
* Configuration implements the [IConfiguration](xref:botbuilder-runtime-core.IConfiguration) interface
|
||||
* and adds helper methods for setting values, layering sources, and getting type checked values.
|
||||
* Configuration implements the [IConfiguration](xref:botbuilder-dialogs-adaptive-runtime-core.IConfiguration)
|
||||
* interface and adds helper methods for setting values, layering sources, and getting type checked values.
|
||||
*/
|
||||
export class Configuration implements CoreConfiguration {
|
||||
private prefix: string[] = [];
|
|
@ -16,7 +16,7 @@ import { CoreBotAdapter } from './coreBotAdapter';
|
|||
import { CosmosDbPartitionedStorage } from 'botbuilder-azure';
|
||||
import { ComponentDeclarativeTypes, ResourceExplorer } from 'botbuilder-dialogs-declarative';
|
||||
import { LuisBotComponent, QnAMakerBotComponent } from 'botbuilder-ai';
|
||||
import { ServiceCollection } from 'botbuilder-runtime-core';
|
||||
import { ServiceCollection } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
|
||||
import {
|
||||
AuthenticationConfiguration,
|
|
@ -6,7 +6,7 @@ import { BotComponent, BotFrameworkAdapter, MemoryStorage } from 'botbuilder';
|
|||
import { Configuration, getRuntimeServices } from '../src';
|
||||
import { CosmosDbPartitionedStorage } from 'botbuilder-azure';
|
||||
import { ok } from 'assert';
|
||||
import { ServiceCollection, Configuration as CoreConfiguration } from 'botbuilder-runtime-core';
|
||||
import { ServiceCollection, Configuration as CoreConfiguration } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
|
||||
describe('getRuntimeServices', () => {
|
||||
it('works', async () => {
|
|
@ -33,7 +33,7 @@
|
|||
"botbuilder-dialogs": "4.1.6",
|
||||
"botbuilder-dialogs-adaptive": "4.1.6",
|
||||
"botbuilder-dialogs-declarative": "4.1.6",
|
||||
"botbuilder-runtime-core": "4.1.6",
|
||||
"botbuilder-dialogs-adaptive-runtime-core": "4.1.6",
|
||||
"botbuilder-stdlib": "4.1.6",
|
||||
"lodash": "^4.17.19"
|
||||
},
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
import { BotComponent } from 'botbuilder';
|
||||
import { ComponentDeclarativeTypes } from 'botbuilder-dialogs-declarative';
|
||||
import { Configuration, ServiceCollection } from 'botbuilder-runtime-core';
|
||||
import { Configuration, ServiceCollection } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
|
||||
import {
|
||||
GetMeetingParticipant,
|
||||
|
|
|
@ -8,7 +8,7 @@ import { AdaptiveTeamsBotComponent } from '../src/adaptiveTeamsBotComponent';
|
|||
import { AdaptiveTestBotComponent, TestUtils } from 'botbuilder-dialogs-adaptive-testing';
|
||||
import { ConnectorClient, MicrosoftAppCredentials } from 'botframework-connector';
|
||||
import { ComponentDeclarativeTypes, ResourceExplorer } from 'botbuilder-dialogs-declarative';
|
||||
import { ServiceCollection, noOpConfiguration } from 'botbuilder-runtime-core';
|
||||
import { ServiceCollection, noOpConfiguration } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
import { jwt } from 'botbuilder-test-utils';
|
||||
import { ok } from 'assert';
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ import { AdaptiveBotComponent } from 'botbuilder-dialogs-adaptive';
|
|||
import { AdaptiveTeamsBotComponent } from '../src';
|
||||
import { AdaptiveTestBotComponent, TestUtils } from 'botbuilder-dialogs-adaptive-testing';
|
||||
import { ComponentDeclarativeTypes, ResourceExplorer } from 'botbuilder-dialogs-declarative';
|
||||
import { ServiceCollection, noOpConfiguration } from 'botbuilder-runtime-core';
|
||||
import { ServiceCollection, noOpConfiguration } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
|
||||
describe('Conditional Tests', function () {
|
||||
let resourceExplorer: ResourceExplorer;
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
"botbuilder-dialogs": "4.1.6",
|
||||
"botbuilder-dialogs-adaptive": "4.1.6",
|
||||
"botbuilder-dialogs-declarative": "4.1.6",
|
||||
"botbuilder-runtime-core": "4.1.6",
|
||||
"botbuilder-dialogs-adaptive-runtime-core": "4.1.6",
|
||||
"murmurhash-js": "^1.0.0",
|
||||
"nock": "^11.9.1",
|
||||
"url-parse": "^1.5.1"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
import { BotComponent } from 'botbuilder-core';
|
||||
import { ComponentDeclarativeTypes } from 'botbuilder-dialogs-declarative';
|
||||
import { ServiceCollection, Configuration } from 'botbuilder-runtime-core';
|
||||
import { ServiceCollection, Configuration } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
|
||||
import { AssertCondition } from './actions';
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ const path = require('path');
|
|||
const { AdaptiveBotComponent } = require('botbuilder-dialogs-adaptive');
|
||||
const { AdaptiveTestBotComponent } = require('..');
|
||||
const { ResourceExplorer } = require('botbuilder-dialogs-declarative');
|
||||
const { ServiceCollection, noOpConfiguration } = require('botbuilder-runtime-core');
|
||||
const { ServiceCollection, noOpConfiguration } = require('botbuilder-dialogs-adaptive-runtime-core');
|
||||
|
||||
function makeResourceExplorer(resourceFolder, ...botComponents) {
|
||||
const services = new ServiceCollection({
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
"botbuilder-dialogs": "4.1.6",
|
||||
"botbuilder-dialogs-declarative": "4.1.6",
|
||||
"botbuilder-lg": "4.1.6",
|
||||
"botbuilder-runtime-core": "4.1.6",
|
||||
"botbuilder-dialogs-adaptive-runtime-core": "4.1.6",
|
||||
"botframework-connector": "4.1.6",
|
||||
"botframework-schema": "4.1.6",
|
||||
"lodash": "^4.17.21",
|
||||
|
|
|
@ -5,7 +5,7 @@ import { AdaptiveDialog } from './adaptiveDialog';
|
|||
import { BotComponent } from 'botbuilder';
|
||||
import { ComponentDeclarativeTypes } from 'botbuilder-dialogs-declarative';
|
||||
import { ConditionalSelector, FirstSelector, MostSpecificSelector, RandomSelector, TrueSelector } from './selectors';
|
||||
import { Configuration, ServiceCollection } from 'botbuilder-runtime-core';
|
||||
import { Configuration, ServiceCollection } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
import { DynamicBeginDialogDeserializer } from './dynamicBeginDialogDeserializer';
|
||||
import { Expression } from 'adaptive-expressions';
|
||||
import { HasPendingActionsFunction, IsDialogActiveFunction } from './functions';
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
import { ActivityTemplate, StaticActivityTemplate, TextTemplate } from './templates';
|
||||
import { BotComponent } from 'botbuilder';
|
||||
import { ComponentDeclarativeTypes } from 'botbuilder-dialogs-declarative';
|
||||
import { Configuration, ServiceCollection } from 'botbuilder-runtime-core';
|
||||
import { Configuration, ServiceCollection } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
|
||||
export class LanguageGenerationBotComponent extends BotComponent {
|
||||
configureServices(services: ServiceCollection, _configuration: Configuration): void {
|
||||
|
|
|
@ -3,7 +3,7 @@ const path = require('path');
|
|||
const { ResourceExplorer } = require('../lib');
|
||||
const { DialogManager } = require('botbuilder-dialogs');
|
||||
const { QnACardBuilder, RankerTypes, QnAMakerClientKey, QnAMakerBotComponent } = require('botbuilder-ai');
|
||||
const { ServiceCollection, noOpConfiguration } = require('botbuilder-runtime-core');
|
||||
const { ServiceCollection, noOpConfiguration } = require('botbuilder-dialogs-adaptive-runtime-core');
|
||||
const { StringExpression } = require('adaptive-expressions');
|
||||
|
||||
const {
|
||||
|
|
|
@ -2,7 +2,7 @@ const assert = require('assert');
|
|||
const { AdaptiveBotComponent } = require('botbuilder-dialogs-adaptive');
|
||||
const { DialogManager } = require('botbuilder-dialogs');
|
||||
const { ResourceExplorer, FolderResourceProvider, ResourceChangeEvent } = require('../lib');
|
||||
const { ServiceCollection, noOpConfiguration } = require('botbuilder-runtime-core');
|
||||
const { ServiceCollection, noOpConfiguration } = require('botbuilder-dialogs-adaptive-runtime-core');
|
||||
const { TestAdapter, MemoryStorage, useBotState, UserState, ConversationState } = require('botbuilder-core');
|
||||
const { extname, join } = require('path');
|
||||
const { writeFileSync, existsSync, unlinkSync } = require('fs');
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
"@microsoft/recognizers-text-number": "1.1.4",
|
||||
"@microsoft/recognizers-text-suite": "1.1.4",
|
||||
"botbuilder-core": "4.1.6",
|
||||
"botbuilder-runtime-core": "4.1.6",
|
||||
"botbuilder-dialogs-adaptive-runtime-core": "4.1.6",
|
||||
"botbuilder-stdlib": "4.1.6",
|
||||
"botframework-connector": "4.1.6",
|
||||
"globalize": "^1.4.2",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Licensed under the MIT License.
|
||||
|
||||
import { BotComponent } from 'botbuilder-core';
|
||||
import { Configuration, ServiceCollection } from 'botbuilder-runtime-core';
|
||||
import { Configuration, ServiceCollection } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
import { MemoryScope, PathResolver } from './memory';
|
||||
|
||||
import {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
import { ComponentRegistration } from 'botbuilder-core';
|
||||
import { ServiceCollection, noOpConfiguration } from 'botbuilder-runtime-core';
|
||||
import { ServiceCollection, noOpConfiguration } from 'botbuilder-dialogs-adaptive-runtime-core';
|
||||
import { DialogsBotComponent } from './dialogsBotComponent';
|
||||
import { ComponentMemoryScopes, ComponentPathResolvers, MemoryScope, PathResolver } from './memory';
|
||||
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
# botbuilder-runtime-core
|
||||
|
||||
The runtime core package is an internal only package. The API surface should not be considered public. The package purely serves to provide a small set of shared types and functionality to power the runtime and runtime plugins.
|
||||
|
||||
## IServices
|
||||
|
||||
`IServices` is the interface that describes the full set of things necessary for a runtime. Those things include an adapter, a bot, a storage instance, among many others.
|
||||
|
||||
## IConfiguration
|
||||
|
||||
`IConfiguration` is a simple interface with a single method, `get`. Runtime code depends on just this interface for configuration in order to be flexible and extensible. An implementation is provided by the `botbuilder-runtime` package.
|
||||
|
||||
## ServiceCollection
|
||||
|
||||
`ServiceCollection` serves as the glue between components that participate in the runtime. Instances or factory functions can be provided for every key defined in `Services`. Factory functions can express dependencies on other service instances that are necessary for construction. The dependency graph is then resolved to build instances of every service with a provided instance of factory function.
|
||||
|
||||
## Plugins
|
||||
|
||||
The `Plugin` type defines the API for plugins defined in packages. A plugin package must export a default function that accepts a `ServiceCollection` instance, along with a `Configuration` instance.
|
|
@ -1 +0,0 @@
|
|||
# botbuilder-runtime-integration-express (PREVIEW)
|
|
@ -1,5 +0,0 @@
|
|||
# botbuilder-runtime
|
||||
|
||||
This package combines `botbuilder-runtime-core` along with any configured plugins to produce
|
||||
a set of runtime services. Those services are then arranged into working "bots" by the various
|
||||
integration packages.
|
|
@ -30,7 +30,7 @@
|
|||
"@azure/ms-rest-js": "1.9.1",
|
||||
"axios": "^0.21.1",
|
||||
"botbuilder-core": "4.1.6",
|
||||
"botbuilder-runtime-core": "4.1.6",
|
||||
"botbuilder-dialogs-adaptive-runtime-core": "4.1.6",
|
||||
"botbuilder-stdlib": "4.1.6",
|
||||
"botframework-connector": "4.1.6",
|
||||
"botframework-streaming": "4.1.6",
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
"test:devops": "npm-run-all test:teams test:mocha:junit test:nyc:cobertura",
|
||||
"test:github": "npm-run-all test:mocha:min test:runtime:min test:teams:min test:nyc:lcov",
|
||||
"test:orchestrator": "yarn workspace botbuilder-ai-orchestrator test",
|
||||
"test:runtime": "wsrun -m -p \"botbuilder-runtime*\" -t test",
|
||||
"test:runtime:min": "wsrun -m -p \"botbuilder-runtime*\" -t test:min",
|
||||
"test:runtime": "wsrun -m -p \"botbuilder-dialogs-adaptive-runtime*\" -t test",
|
||||
"test:runtime:min": "wsrun -m -p \"botbuilder-dialogs-adaptive-runtime*\" -t test:min",
|
||||
"test:teams": "yarn workspace botbuilder-dialogs-adaptive-teams test",
|
||||
"test:teams:min": "yarn workspace botbuilder-dialogs-adaptive-teams test:min",
|
||||
"test:mocha": "nyc --silent mocha \"libraries/@(adaptive*|bot*)/tests/**/*.test.js\" --exit --check-leaks",
|
||||
|
|
|
@ -9428,10 +9428,10 @@ ora@^4.0.3:
|
|||
strip-ansi "^6.0.0"
|
||||
wcwidth "^1.0.1"
|
||||
|
||||
orchestrator-core@next:
|
||||
version "4.13.0-dev.20210325.421845fh"
|
||||
resolved "https://registry.yarnpkg.com/orchestrator-core/-/orchestrator-core-4.13.0-dev.20210325.421845fh.tgz#8d7481c7a48d3c144fc1611bb735c2b7e507fa1a"
|
||||
integrity sha512-wnWEuWC4iR78F7j1p0R7v0YfKIv21atpmz0gTIcvfT7WrQudAFIlmp2uRUUx3AFdV+SngZiLBxTZ7lOKnp/Q9Q==
|
||||
orchestrator-core@rc:
|
||||
version "4.13.0-rc0"
|
||||
resolved "https://registry.yarnpkg.com/orchestrator-core/-/orchestrator-core-4.13.0-rc0.tgz#0277d3b3ac5c4317f15640b42760e2e5714b1bf8"
|
||||
integrity sha512-0YbzNF8OQ8r0CSRDvcezRK8V6dFOh8jdVkfC+3JM+k7rotLrSMf0EI+UTGJUnSv9tI4roIfo5IM4AHT+KJ8l2A==
|
||||
dependencies:
|
||||
bindings "1.2.1"
|
||||
node-addon-api "^3.0.0"
|
||||
|
|
Загрузка…
Ссылка в новой задаче