@xpert-ai/plugin-sdk 3.26.1 → 3.27.0
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/artifact-document.cjs.js +55 -16
- package/artifact-document.esm.js +53 -17
- package/data-workbench.cjs.js +4 -2
- package/data-workbench.esm.js +4 -2
- package/docs/artifact-documents.md +8 -2
- package/docs/en/runtime-capabilities.md +103 -0
- package/index.cjs.js +169 -25
- package/index.esm.js +159 -27
- package/model-provider.cjs.js +18 -0
- package/model-provider.esm.js +16 -1
- package/package.json +2 -2
- package/src/artifact-document.d.ts +1 -0
- package/src/index.d.ts +1 -0
- package/src/lib/agent/middleware/runtime.d.ts +2 -0
- package/src/lib/artifact-document/host.d.ts +3 -0
- package/src/lib/artifact-document/network.d.ts +21 -0
- package/src/lib/artifact-document/runtime.d.ts +2 -1
- package/src/lib/assistant-capability/index.d.ts +2 -0
- package/src/lib/collaboration/types.d.ts +7 -1
- package/src/lib/connector/document-source.d.ts +31 -0
- package/src/lib/connector/documents.d.ts +38 -0
- package/src/lib/connector/index.d.ts +1 -0
- package/src/lib/connector/strategy.interface.d.ts +3 -0
- package/src/lib/content-resource/document.d.ts +142 -0
- package/src/lib/content-resource/editor.d.ts +73 -0
- package/src/lib/content-resource/index.d.ts +91 -0
- package/src/lib/content-resource/reference.d.ts +38 -0
- package/src/lib/data/datasource/workbench-adapter.d.ts +5 -3
- package/src/lib/data/datasource/workbench-sql.d.ts +0 -4
- package/src/lib/project-pipeline/contribution-failure.d.ts +17 -0
- package/src/lib/project-pipeline/registry.d.ts +24 -1
- package/src/lib/runtime/actor.d.ts +10 -0
- package/src/lib/runtime/capabilities/artifacts.d.ts +5 -0
- package/src/lib/runtime/capabilities/assistant-middleware-access.d.ts +28 -0
- package/src/lib/runtime/capabilities/index.d.ts +4 -0
- package/src/lib/runtime/capabilities/project-access.d.ts +10 -7
- package/src/lib/runtime/capabilities/project-files.d.ts +40 -0
- package/src/lib/runtime/capabilities/project-knowledge.d.ts +14 -0
- package/src/lib/runtime/capabilities/project-provisioning.d.ts +6 -0
- package/src/lib/runtime/capabilities/sandbox-jobs.d.ts +1 -1
- package/src/lib/runtime/capabilities/workspace-files.d.ts +2 -0
- package/src/lib/view-extension/middleware-runtime.d.ts +2 -3
package/index.cjs.js
CHANGED
|
@@ -3307,30 +3307,22 @@ class LargeLanguageModel extends exports.AIModel {
|
|
|
3307
3307
|
const promptRate = (_promptBreakdown_find = promptBreakdown.find((item)=>item.component === 'input')) != null ? _promptBreakdown_find : promptBreakdown[0];
|
|
3308
3308
|
const completionRate = completionBreakdown[0];
|
|
3309
3309
|
var _promptRate_unitPrice, _promptRate_unit, _completionRate_unitPrice, _completionRate_unit;
|
|
3310
|
-
return _extends._extends({
|
|
3311
|
-
promptTokens,
|
|
3310
|
+
return _extends._extends({}, resolvedTokenUsage, {
|
|
3312
3311
|
promptUnitPrice: (_promptRate_unitPrice = promptRate == null ? void 0 : promptRate.unitPrice) != null ? _promptRate_unitPrice : 0,
|
|
3313
3312
|
promptPriceUnit: (_promptRate_unit = promptRate == null ? void 0 : promptRate.unit) != null ? _promptRate_unit : 0,
|
|
3314
3313
|
promptPrice: Number(promptBreakdown.reduce((total, item)=>{
|
|
3315
3314
|
var _item_amount;
|
|
3316
3315
|
return total + ((_item_amount = item.amount) != null ? _item_amount : 0);
|
|
3317
3316
|
}, 0).toFixed(7)),
|
|
3318
|
-
completionTokens,
|
|
3319
3317
|
completionUnitPrice: (_completionRate_unitPrice = completionRate == null ? void 0 : completionRate.unitPrice) != null ? _completionRate_unitPrice : 0,
|
|
3320
3318
|
completionPriceUnit: (_completionRate_unit = completionRate == null ? void 0 : completionRate.unit) != null ? _completionRate_unit : 0,
|
|
3321
3319
|
completionPrice: Number(completionBreakdown.reduce((total, item)=>{
|
|
3322
3320
|
var _item_amount;
|
|
3323
3321
|
return total + ((_item_amount = item.amount) != null ? _item_amount : 0);
|
|
3324
3322
|
}, 0).toFixed(7)),
|
|
3325
|
-
totalTokens: resolvedTokenUsage.totalTokens,
|
|
3326
3323
|
totalPrice: calculation.totalAmount,
|
|
3327
3324
|
currency: calculation.currency,
|
|
3328
|
-
latency: performance.now() - startedAt
|
|
3329
|
-
}, resolvedTokenUsage.cacheReadInputTokens ? {
|
|
3330
|
-
cacheReadInputTokens: resolvedTokenUsage.cacheReadInputTokens
|
|
3331
|
-
} : {}, resolvedTokenUsage.cacheWriteInputTokens ? {
|
|
3332
|
-
cacheWriteInputTokens: resolvedTokenUsage.cacheWriteInputTokens
|
|
3333
|
-
} : {}, {
|
|
3325
|
+
latency: performance.now() - startedAt,
|
|
3334
3326
|
pricingStatus: calculation.pricingStatus,
|
|
3335
3327
|
priceAuthority: 'catalog',
|
|
3336
3328
|
pricingBreakdown: calculation.breakdown
|
|
@@ -3340,22 +3332,19 @@ class LargeLanguageModel extends exports.AIModel {
|
|
|
3340
3332
|
const completionPriceInfo = this.getPrice(model, credentials, contracts.PriceType.OUTPUT, completionTokens, promptTokens);
|
|
3341
3333
|
const totalPrice = Number((promptPriceInfo.totalAmount + completionPriceInfo.totalAmount).toFixed(7));
|
|
3342
3334
|
// Conversion usage
|
|
3343
|
-
const usage = {
|
|
3344
|
-
promptTokens: promptTokens,
|
|
3335
|
+
const usage = _extends._extends({}, resolvedTokenUsage, {
|
|
3345
3336
|
promptUnitPrice: promptPriceInfo.unitPrice,
|
|
3346
3337
|
promptPriceUnit: promptPriceInfo.unit,
|
|
3347
3338
|
promptPrice: promptPriceInfo.totalAmount,
|
|
3348
|
-
completionTokens: completionTokens,
|
|
3349
3339
|
completionUnitPrice: completionPriceInfo.unitPrice,
|
|
3350
3340
|
completionPriceUnit: completionPriceInfo.unit,
|
|
3351
3341
|
completionPrice: completionPriceInfo.totalAmount,
|
|
3352
|
-
totalTokens: promptTokens + completionTokens,
|
|
3353
3342
|
totalPrice,
|
|
3354
3343
|
currency: promptPriceInfo.currency,
|
|
3355
3344
|
latency: performance.now() - startedAt,
|
|
3356
3345
|
pricingStatus: totalPrice === 0 ? 'free' : 'priced',
|
|
3357
3346
|
priceAuthority: 'catalog'
|
|
3358
|
-
};
|
|
3347
|
+
});
|
|
3359
3348
|
return usage;
|
|
3360
3349
|
}
|
|
3361
3350
|
createHandleUsageCallbacks(copilot, model, credentials, handleLLMTokens, pricingConfiguration = {}) {
|
|
@@ -3373,7 +3362,7 @@ class LargeLanguageModel extends exports.AIModel {
|
|
|
3373
3362
|
}
|
|
3374
3363
|
let usage = _extends._extends({}, this.calcResponseUsage(model, credentials, normalizedTokenUsage.promptTokens, normalizedTokenUsage.completionTokens, startedAt, normalizedTokenUsage, _extends._extends({}, pricingContext, {
|
|
3375
3364
|
inputTokensIncludeCache: true
|
|
3376
|
-
})), type ? {
|
|
3365
|
+
})), normalizedTokenUsage, type ? {
|
|
3377
3366
|
type
|
|
3378
3367
|
} : {});
|
|
3379
3368
|
const reportedPrice = output ? pricingOptions.resolveReportedPrice == null ? void 0 : pricingOptions.resolveReportedPrice.call(pricingOptions, output) : undefined;
|
|
@@ -3382,7 +3371,6 @@ class LargeLanguageModel extends exports.AIModel {
|
|
|
3382
3371
|
} else if (pricingOptions.reportedPriceRequired) {
|
|
3383
3372
|
usage = markUsagePriceUnpriced(usage, 'provider');
|
|
3384
3373
|
}
|
|
3385
|
-
usage.totalTokens = normalizedTokenUsage.totalTokens;
|
|
3386
3374
|
await handleLLMTokens({
|
|
3387
3375
|
copilot,
|
|
3388
3376
|
model,
|
|
@@ -4874,6 +4862,10 @@ function isLegacyConnectorStrategy(strategy) {
|
|
|
4874
4862
|
return 'auth' in strategy.definition && ((_strategy_definition_auth = strategy.definition.auth) == null ? void 0 : _strategy_definition_auth.type) === 'oauth2' && typeof strategy.buildAuthorizationUrl === 'function' && typeof strategy.exchangeOAuthCode === 'function';
|
|
4875
4863
|
}
|
|
4876
4864
|
|
|
4865
|
+
const ConnectorDocumentsRuntimeCapability = modelProvider.createRuntimeCapability('platform.connector.documents', {
|
|
4866
|
+
description: 'Read authorized connector documents for explicit project imports; never exposes credentials or writes remote content.'
|
|
4867
|
+
});
|
|
4868
|
+
|
|
4877
4869
|
const SANDBOX_SHELL_TIMEOUT_LIMITS_SEC = {
|
|
4878
4870
|
min: 1,
|
|
4879
4871
|
max: 3600
|
|
@@ -6585,6 +6577,58 @@ exports.CollaborationDocumentProviderRegistry = __decorate([
|
|
|
6585
6577
|
])
|
|
6586
6578
|
], exports.CollaborationDocumentProviderRegistry);
|
|
6587
6579
|
|
|
6580
|
+
const ContentDocumentsRuntimeCapability = modelProvider.createRuntimeCapability('platform.content.documents', {
|
|
6581
|
+
description: 'Project file-backed editor sessions, versioned publication and Assistant review.'
|
|
6582
|
+
});
|
|
6583
|
+
|
|
6584
|
+
const ContentReferencesRuntimeCapability = modelProvider.createRuntimeCapability('platform.content.references', {
|
|
6585
|
+
description: 'Authorized durable document references; plugins provide source-specific listing and files.'
|
|
6586
|
+
});
|
|
6587
|
+
|
|
6588
|
+
function isTextContentEditor(provider) {
|
|
6589
|
+
return provider.descriptor.kind === 'text-document';
|
|
6590
|
+
}
|
|
6591
|
+
const EDITOR_PROVIDER = 'XPERT_CONTENT_EDITOR_PROVIDER';
|
|
6592
|
+
const ContentEditorProvider = (key)=>common.applyDecorators(common.SetMetadata(EDITOR_PROVIDER, key), common.SetMetadata(STRATEGY_META_KEY, EDITOR_PROVIDER));
|
|
6593
|
+
exports.ContentEditorRegistry = class ContentEditorRegistry extends BaseStrategyRegistry {
|
|
6594
|
+
getTextModel(key, organizationId) {
|
|
6595
|
+
const provider = this.get(key, organizationId);
|
|
6596
|
+
if (!isTextContentEditor(provider)) throw new Error('Editor does not implement the text document protocol');
|
|
6597
|
+
return provider;
|
|
6598
|
+
}
|
|
6599
|
+
constructor(discovery, reflector){
|
|
6600
|
+
super(EDITOR_PROVIDER, discovery, reflector);
|
|
6601
|
+
}
|
|
6602
|
+
};
|
|
6603
|
+
exports.ContentEditorRegistry = __decorate([
|
|
6604
|
+
common.Injectable(),
|
|
6605
|
+
__metadata("design:paramtypes", [
|
|
6606
|
+
core.DiscoveryService,
|
|
6607
|
+
core.Reflector
|
|
6608
|
+
])
|
|
6609
|
+
], exports.ContentEditorRegistry);
|
|
6610
|
+
const ContentEditorsRuntimeCapability = modelProvider.createRuntimeCapability('platform.content.editors', {
|
|
6611
|
+
description: 'Discover editors, resolve authorized resources and exchange versioned file bytes without format-specific models.'
|
|
6612
|
+
});
|
|
6613
|
+
|
|
6614
|
+
const CONTENT_RESOURCE_PROVIDER = 'XPERT_CONTENT_RESOURCE_PROVIDER';
|
|
6615
|
+
const ContentResourceProvider = (key)=>common.applyDecorators(common.SetMetadata(CONTENT_RESOURCE_PROVIDER, key), common.SetMetadata(STRATEGY_META_KEY, CONTENT_RESOURCE_PROVIDER));
|
|
6616
|
+
exports.ContentResourceProviderRegistry = class ContentResourceProviderRegistry extends BaseStrategyRegistry {
|
|
6617
|
+
constructor(discovery, reflector){
|
|
6618
|
+
super(CONTENT_RESOURCE_PROVIDER, discovery, reflector);
|
|
6619
|
+
}
|
|
6620
|
+
};
|
|
6621
|
+
exports.ContentResourceProviderRegistry = __decorate([
|
|
6622
|
+
common.Injectable(),
|
|
6623
|
+
__metadata("design:paramtypes", [
|
|
6624
|
+
core.DiscoveryService,
|
|
6625
|
+
core.Reflector
|
|
6626
|
+
])
|
|
6627
|
+
], exports.ContentResourceProviderRegistry);
|
|
6628
|
+
const ContentResourcesRuntimeCapability = modelProvider.createRuntimeCapability('platform.content.resources', {
|
|
6629
|
+
description: 'Current organization identities and plugin-owned content authorization.'
|
|
6630
|
+
});
|
|
6631
|
+
|
|
6588
6632
|
const EVOLUTION_TARGET_PROVIDER = 'EVOLUTION_TARGET_PROVIDER';
|
|
6589
6633
|
const EvolutionTargetProviderStrategy = (providerKey)=>common.applyDecorators(common.SetMetadata(EVOLUTION_TARGET_PROVIDER, providerKey), common.SetMetadata(STRATEGY_META_KEY, EVOLUTION_TARGET_PROVIDER));
|
|
6590
6634
|
|
|
@@ -10444,18 +10488,104 @@ const ProjectTasksRuntimeCapability = modelProvider.createRuntimeCapability('pla
|
|
|
10444
10488
|
description: 'Read project task graphs, request background synchronization, manage schedules, and resolve exact execution conversations.'
|
|
10445
10489
|
});
|
|
10446
10490
|
|
|
10491
|
+
class UnavailablePipelineContribution {
|
|
10492
|
+
constructor(metatype, issues){
|
|
10493
|
+
this.metatype = metatype;
|
|
10494
|
+
this.issues = issues;
|
|
10495
|
+
}
|
|
10496
|
+
}
|
|
10497
|
+
function pipelineContributionIssues(error) {
|
|
10498
|
+
// Do not log schema messages or input values, which may contain plugin configuration secrets.
|
|
10499
|
+
return error.issues.slice(0, 20).map(({ path, code })=>({
|
|
10500
|
+
path,
|
|
10501
|
+
code
|
|
10502
|
+
}));
|
|
10503
|
+
}
|
|
10504
|
+
function isolatePipelineContribution(target) {
|
|
10505
|
+
function IsolatedContribution(...args) {
|
|
10506
|
+
try {
|
|
10507
|
+
return Reflect.construct(target, args, new.target);
|
|
10508
|
+
} catch (error) {
|
|
10509
|
+
if (!Reflect.getMetadata(PLUGIN_METADATA_KEY, new.target) || !(error instanceof v3.z.ZodError)) throw error;
|
|
10510
|
+
return new UnavailablePipelineContribution(new.target, pipelineContributionIssues(error));
|
|
10511
|
+
}
|
|
10512
|
+
}
|
|
10513
|
+
Object.setPrototypeOf(IsolatedContribution, target);
|
|
10514
|
+
IsolatedContribution.prototype = Object.create(target.prototype, {
|
|
10515
|
+
constructor: {
|
|
10516
|
+
value: IsolatedContribution,
|
|
10517
|
+
writable: true,
|
|
10518
|
+
configurable: true
|
|
10519
|
+
}
|
|
10520
|
+
});
|
|
10521
|
+
Object.defineProperty(IsolatedContribution, 'name', {
|
|
10522
|
+
value: target.name
|
|
10523
|
+
});
|
|
10524
|
+
// A class decorator must preserve the caller's constructor type; Reflect.construct preserves its arguments.
|
|
10525
|
+
return IsolatedContribution;
|
|
10526
|
+
}
|
|
10527
|
+
|
|
10528
|
+
var ProjectPipelineContributionRegistry_1;
|
|
10447
10529
|
const PROJECT_PIPELINE_CONTRIBUTION = 'PROJECT_PIPELINE_CONTRIBUTION';
|
|
10448
|
-
const ProjectPipelineContributor = (key)=>
|
|
10449
|
-
|
|
10530
|
+
const ProjectPipelineContributor = (key)=>(target)=>{
|
|
10531
|
+
common.applyDecorators(common.SetMetadata(PROJECT_PIPELINE_CONTRIBUTION, key), common.SetMetadata(STRATEGY_META_KEY, PROJECT_PIPELINE_CONTRIBUTION))(target);
|
|
10532
|
+
return isolatePipelineContribution(target);
|
|
10533
|
+
};
|
|
10534
|
+
exports.ProjectPipelineContributionRegistry = ProjectPipelineContributionRegistry_1 = class ProjectPipelineContributionRegistry extends BaseStrategyRegistry {
|
|
10450
10535
|
upsert(instance) {
|
|
10451
10536
|
const target = resolveStrategyMetadataTarget(instance);
|
|
10452
10537
|
const key = target ? this.reflector.get(PROJECT_PIPELINE_CONTRIBUTION, target) : undefined;
|
|
10453
10538
|
if (!key) return;
|
|
10454
|
-
const
|
|
10455
|
-
|
|
10456
|
-
|
|
10457
|
-
|
|
10458
|
-
|
|
10539
|
+
const source = this.getSource(instance);
|
|
10540
|
+
try {
|
|
10541
|
+
if (instance instanceof UnavailablePipelineContribution) {
|
|
10542
|
+
this.rejectContribution(key, source, instance.issues);
|
|
10543
|
+
return;
|
|
10544
|
+
}
|
|
10545
|
+
const contribution = contracts.projectPipelineContributionSchema.parse(instance);
|
|
10546
|
+
if (key !== contribution.key) throw new Error('PIPELINE_CONTRIBUTION_KEY_MISMATCH');
|
|
10547
|
+
// Parsing validates public fields before preserving loader provenance.
|
|
10548
|
+
this.registerParsed(key, instance, contribution, source);
|
|
10549
|
+
this.failures.delete(this.failureIdentity(key, source));
|
|
10550
|
+
} catch (error) {
|
|
10551
|
+
if (source.kind !== 'plugin' || !(error instanceof v3.z.ZodError)) throw error;
|
|
10552
|
+
this.rejectContribution(key, source, pipelineContributionIssues(error));
|
|
10553
|
+
}
|
|
10554
|
+
}
|
|
10555
|
+
getRegistrationFailures() {
|
|
10556
|
+
return structuredClone([
|
|
10557
|
+
...this.failures.values()
|
|
10558
|
+
]);
|
|
10559
|
+
}
|
|
10560
|
+
remove(scopeKey, pluginName) {
|
|
10561
|
+
super.remove(scopeKey, pluginName);
|
|
10562
|
+
for (const [identity, failure] of this.failures){
|
|
10563
|
+
if (failure.source.scopeKey === scopeKey && failure.source.pluginName === pluginName) this.failures.delete(identity);
|
|
10564
|
+
}
|
|
10565
|
+
}
|
|
10566
|
+
failureIdentity(key, source) {
|
|
10567
|
+
return JSON.stringify([
|
|
10568
|
+
source.scopeKey,
|
|
10569
|
+
source.kind === 'plugin' ? source.pluginName : null,
|
|
10570
|
+
key
|
|
10571
|
+
]);
|
|
10572
|
+
}
|
|
10573
|
+
rejectContribution(key, source, issues) {
|
|
10574
|
+
var _this_strategies_get;
|
|
10575
|
+
if (source.kind !== 'plugin') throw new Error('PIPELINE_CONTRIBUTION_INVALID');
|
|
10576
|
+
const previous = (_this_strategies_get = this.strategies.get(source.scopeKey)) == null ? void 0 : _this_strategies_get.get(key);
|
|
10577
|
+
if (previous) {
|
|
10578
|
+
const owner = this.getSource(previous);
|
|
10579
|
+
if (owner.kind === 'plugin' && owner.pluginName === source.pluginName) this.unregister(key, source, previous);
|
|
10580
|
+
}
|
|
10581
|
+
const failure = {
|
|
10582
|
+
key,
|
|
10583
|
+
source,
|
|
10584
|
+
code: 'PIPELINE_CONTRIBUTION_INVALID',
|
|
10585
|
+
issues
|
|
10586
|
+
};
|
|
10587
|
+
this.failures.set(this.failureIdentity(key, source), failure);
|
|
10588
|
+
this.failureLogger.error(failure);
|
|
10459
10589
|
}
|
|
10460
10590
|
register(key, contribution, source) {
|
|
10461
10591
|
return this.registerParsed(key, contribution, contracts.projectPipelineContributionSchema.parse(contribution), source);
|
|
@@ -10519,9 +10649,11 @@ exports.ProjectPipelineContributionRegistry = class ProjectPipelineContributionR
|
|
|
10519
10649
|
constructor(discovery, reflector){
|
|
10520
10650
|
super(PROJECT_PIPELINE_CONTRIBUTION, discovery, reflector);
|
|
10521
10651
|
this.parsedContributions = new WeakMap();
|
|
10652
|
+
this.failures = new Map();
|
|
10653
|
+
this.failureLogger = new common.Logger(ProjectPipelineContributionRegistry_1.name);
|
|
10522
10654
|
}
|
|
10523
10655
|
};
|
|
10524
|
-
exports.ProjectPipelineContributionRegistry = __decorate([
|
|
10656
|
+
exports.ProjectPipelineContributionRegistry = ProjectPipelineContributionRegistry_1 = __decorate([
|
|
10525
10657
|
common.Injectable(),
|
|
10526
10658
|
__metadata("design:paramtypes", [
|
|
10527
10659
|
core.DiscoveryService,
|
|
@@ -10754,6 +10886,7 @@ exports.ActorTokenRuntimeCapability = modelProvider.ActorTokenRuntimeCapability;
|
|
|
10754
10886
|
exports.ActorTokenRuntimeFactoryCapability = modelProvider.ActorTokenRuntimeFactoryCapability;
|
|
10755
10887
|
exports.ArtifactDraftsRuntimeCapability = modelProvider.ArtifactDraftsRuntimeCapability;
|
|
10756
10888
|
exports.ArtifactsRuntimeCapability = modelProvider.ArtifactsRuntimeCapability;
|
|
10889
|
+
exports.AssistantMiddlewareAccessRuntimeCapability = modelProvider.AssistantMiddlewareAccessRuntimeCapability;
|
|
10757
10890
|
exports.BaseTool = modelProvider.BaseTool;
|
|
10758
10891
|
exports.BaseToolset = modelProvider.BaseToolset;
|
|
10759
10892
|
exports.BuiltinToolset = modelProvider.BuiltinToolset;
|
|
@@ -10762,6 +10895,8 @@ exports.DefaultRuntimeCapabilityRegistry = modelProvider.DefaultRuntimeCapabilit
|
|
|
10762
10895
|
exports.McpClientRuntimeCapability = modelProvider.McpClientRuntimeCapability;
|
|
10763
10896
|
exports.ModelProviderBuiltinToolset = modelProvider.ModelProviderBuiltinToolset;
|
|
10764
10897
|
exports.ProjectAccessRuntimeCapability = modelProvider.ProjectAccessRuntimeCapability;
|
|
10898
|
+
exports.ProjectFilesRuntimeCapability = modelProvider.ProjectFilesRuntimeCapability;
|
|
10899
|
+
exports.ProjectKnowledgeRuntimeCapability = modelProvider.ProjectKnowledgeRuntimeCapability;
|
|
10765
10900
|
exports.ProjectProvisioningRuntimeCapability = modelProvider.ProjectProvisioningRuntimeCapability;
|
|
10766
10901
|
exports.RUNTIME_CAPABILITY_PROVIDER = modelProvider.RUNTIME_CAPABILITY_PROVIDER;
|
|
10767
10902
|
exports.RestClientRuntimeCapability = modelProvider.RestClientRuntimeCapability;
|
|
@@ -10855,6 +10990,7 @@ exports.CLI_MODEL_TOKEN_REFERENCE = CLI_MODEL_TOKEN_REFERENCE;
|
|
|
10855
10990
|
exports.COLLABORATION_DOCUMENT_PROVIDER = COLLABORATION_DOCUMENT_PROVIDER;
|
|
10856
10991
|
exports.CONNECTION_COMMAND_ROUTER_TOKEN = CONNECTION_COMMAND_ROUTER_TOKEN;
|
|
10857
10992
|
exports.CONNECTOR_STRATEGY = CONNECTOR_STRATEGY;
|
|
10993
|
+
exports.CONTENT_RESOURCE_PROVIDER = CONTENT_RESOURCE_PROVIDER;
|
|
10858
10994
|
exports.CancelConversationCommand = CancelConversationCommand;
|
|
10859
10995
|
exports.ChatChannel = ChatChannel;
|
|
10860
10996
|
exports.ChatOAICompatReasoningModel = ChatOAICompatReasoningModel;
|
|
@@ -10862,9 +10998,16 @@ exports.CliModelProfilesCapability = CliModelProfilesCapability;
|
|
|
10862
10998
|
exports.CollaborationDocumentProvider = CollaborationDocumentProvider;
|
|
10863
10999
|
exports.CollaborationRuntimeCapability = CollaborationRuntimeCapability;
|
|
10864
11000
|
exports.CommonParameterRules = CommonParameterRules;
|
|
11001
|
+
exports.ConnectorDocumentsRuntimeCapability = ConnectorDocumentsRuntimeCapability;
|
|
10865
11002
|
exports.ConnectorRuntimeCapability = ConnectorRuntimeCapability;
|
|
10866
11003
|
exports.ConnectorRuntimeFactoryCapability = ConnectorRuntimeFactoryCapability;
|
|
10867
11004
|
exports.ConnectorStrategyKey = ConnectorStrategyKey;
|
|
11005
|
+
exports.ContentDocumentsRuntimeCapability = ContentDocumentsRuntimeCapability;
|
|
11006
|
+
exports.ContentEditorProvider = ContentEditorProvider;
|
|
11007
|
+
exports.ContentEditorsRuntimeCapability = ContentEditorsRuntimeCapability;
|
|
11008
|
+
exports.ContentReferencesRuntimeCapability = ContentReferencesRuntimeCapability;
|
|
11009
|
+
exports.ContentResourceProvider = ContentResourceProvider;
|
|
11010
|
+
exports.ContentResourcesRuntimeCapability = ContentResourcesRuntimeCapability;
|
|
10868
11011
|
exports.CreateModelClientCommand = CreateModelClientCommand;
|
|
10869
11012
|
exports.CredentialsValidateFailedError = CredentialsValidateFailedError;
|
|
10870
11013
|
exports.DATASOURCE_STRATEGY = DATASOURCE_STRATEGY;
|
|
@@ -11094,6 +11237,7 @@ exports.isSandboxTerminalAdapter = isSandboxTerminalAdapter;
|
|
|
11094
11237
|
exports.isStrategyInstance = isStrategyInstance;
|
|
11095
11238
|
exports.isStructuredMessageType = isStructuredMessageType;
|
|
11096
11239
|
exports.isTenantGlobalScopeKey = isTenantGlobalScopeKey;
|
|
11240
|
+
exports.isTextContentEditor = isTextContentEditor;
|
|
11097
11241
|
exports.jsonEncodedSchema = jsonEncodedSchema;
|
|
11098
11242
|
exports.knowledgebaseActions = knowledgebaseActions;
|
|
11099
11243
|
exports.loadYamlFile = loadYamlFile;
|
package/index.esm.js
CHANGED
|
@@ -16,7 +16,7 @@ import fs__default from 'fs';
|
|
|
16
16
|
import http from 'http';
|
|
17
17
|
import https from 'https';
|
|
18
18
|
import { c as createRuntimeCapability, B as BuiltinToolset, W as WorkspaceFilesRuntimeCapability } from './model-provider.esm.js';
|
|
19
|
-
export { A as ActorTokenRuntimeCapability, a as ActorTokenRuntimeFactoryCapability, b as ArtifactDraftsRuntimeCapability, d as ArtifactsRuntimeCapability, e as
|
|
19
|
+
export { A as ActorTokenRuntimeCapability, a as ActorTokenRuntimeFactoryCapability, b as ArtifactDraftsRuntimeCapability, d as ArtifactsRuntimeCapability, e as AssistantMiddlewareAccessRuntimeCapability, f as BaseTool, g as BaseToolset, D as DefaultAgentMiddlewareRuntimeCapabilityRegistry, D as DefaultRuntimeCapabilityRegistry, h as McpClientRuntimeCapability, M as ModelProviderBuiltinToolset, P as ProjectAccessRuntimeCapability, i as ProjectFilesRuntimeCapability, j as ProjectKnowledgeRuntimeCapability, k as ProjectProvisioningRuntimeCapability, R as RUNTIME_CAPABILITY_PROVIDER, l as RestClientRuntimeCapability, m as RuntimeCapabilityProvider, S as SANDBOX_JOB_ERROR_CODES, n as SANDBOX_JOB_INVOCATION_PREFIX, o as SANDBOX_JOB_PROGRESS_PREFIX, p as SandboxJobRuntimeError, q as SandboxJobsRuntimeCapability, T as ToolImagesRuntimeCapability, r as WORKSPACE_FILES_SOURCE, X as XPERT_RUNTIME_CAPABILITIES_TOKEN, s as isSandboxJobRuntimeError, w as workspaceFileMutationMetadata, t as workspaceFileMutationPath, u as workspaceRelativeFilePathSchema } from './model-provider.esm.js';
|
|
20
20
|
import fsPromises from 'fs/promises';
|
|
21
21
|
import * as path from 'path';
|
|
22
22
|
import path__default, { join } from 'path';
|
|
@@ -3289,30 +3289,22 @@ class LargeLanguageModel extends AIModel {
|
|
|
3289
3289
|
const promptRate = (_promptBreakdown_find = promptBreakdown.find((item)=>item.component === 'input')) != null ? _promptBreakdown_find : promptBreakdown[0];
|
|
3290
3290
|
const completionRate = completionBreakdown[0];
|
|
3291
3291
|
var _promptRate_unitPrice, _promptRate_unit, _completionRate_unitPrice, _completionRate_unit;
|
|
3292
|
-
return _extends({
|
|
3293
|
-
promptTokens,
|
|
3292
|
+
return _extends({}, resolvedTokenUsage, {
|
|
3294
3293
|
promptUnitPrice: (_promptRate_unitPrice = promptRate == null ? void 0 : promptRate.unitPrice) != null ? _promptRate_unitPrice : 0,
|
|
3295
3294
|
promptPriceUnit: (_promptRate_unit = promptRate == null ? void 0 : promptRate.unit) != null ? _promptRate_unit : 0,
|
|
3296
3295
|
promptPrice: Number(promptBreakdown.reduce((total, item)=>{
|
|
3297
3296
|
var _item_amount;
|
|
3298
3297
|
return total + ((_item_amount = item.amount) != null ? _item_amount : 0);
|
|
3299
3298
|
}, 0).toFixed(7)),
|
|
3300
|
-
completionTokens,
|
|
3301
3299
|
completionUnitPrice: (_completionRate_unitPrice = completionRate == null ? void 0 : completionRate.unitPrice) != null ? _completionRate_unitPrice : 0,
|
|
3302
3300
|
completionPriceUnit: (_completionRate_unit = completionRate == null ? void 0 : completionRate.unit) != null ? _completionRate_unit : 0,
|
|
3303
3301
|
completionPrice: Number(completionBreakdown.reduce((total, item)=>{
|
|
3304
3302
|
var _item_amount;
|
|
3305
3303
|
return total + ((_item_amount = item.amount) != null ? _item_amount : 0);
|
|
3306
3304
|
}, 0).toFixed(7)),
|
|
3307
|
-
totalTokens: resolvedTokenUsage.totalTokens,
|
|
3308
3305
|
totalPrice: calculation.totalAmount,
|
|
3309
3306
|
currency: calculation.currency,
|
|
3310
|
-
latency: performance.now() - startedAt
|
|
3311
|
-
}, resolvedTokenUsage.cacheReadInputTokens ? {
|
|
3312
|
-
cacheReadInputTokens: resolvedTokenUsage.cacheReadInputTokens
|
|
3313
|
-
} : {}, resolvedTokenUsage.cacheWriteInputTokens ? {
|
|
3314
|
-
cacheWriteInputTokens: resolvedTokenUsage.cacheWriteInputTokens
|
|
3315
|
-
} : {}, {
|
|
3307
|
+
latency: performance.now() - startedAt,
|
|
3316
3308
|
pricingStatus: calculation.pricingStatus,
|
|
3317
3309
|
priceAuthority: 'catalog',
|
|
3318
3310
|
pricingBreakdown: calculation.breakdown
|
|
@@ -3322,22 +3314,19 @@ class LargeLanguageModel extends AIModel {
|
|
|
3322
3314
|
const completionPriceInfo = this.getPrice(model, credentials, PriceType.OUTPUT, completionTokens, promptTokens);
|
|
3323
3315
|
const totalPrice = Number((promptPriceInfo.totalAmount + completionPriceInfo.totalAmount).toFixed(7));
|
|
3324
3316
|
// Conversion usage
|
|
3325
|
-
const usage = {
|
|
3326
|
-
promptTokens: promptTokens,
|
|
3317
|
+
const usage = _extends({}, resolvedTokenUsage, {
|
|
3327
3318
|
promptUnitPrice: promptPriceInfo.unitPrice,
|
|
3328
3319
|
promptPriceUnit: promptPriceInfo.unit,
|
|
3329
3320
|
promptPrice: promptPriceInfo.totalAmount,
|
|
3330
|
-
completionTokens: completionTokens,
|
|
3331
3321
|
completionUnitPrice: completionPriceInfo.unitPrice,
|
|
3332
3322
|
completionPriceUnit: completionPriceInfo.unit,
|
|
3333
3323
|
completionPrice: completionPriceInfo.totalAmount,
|
|
3334
|
-
totalTokens: promptTokens + completionTokens,
|
|
3335
3324
|
totalPrice,
|
|
3336
3325
|
currency: promptPriceInfo.currency,
|
|
3337
3326
|
latency: performance.now() - startedAt,
|
|
3338
3327
|
pricingStatus: totalPrice === 0 ? 'free' : 'priced',
|
|
3339
3328
|
priceAuthority: 'catalog'
|
|
3340
|
-
};
|
|
3329
|
+
});
|
|
3341
3330
|
return usage;
|
|
3342
3331
|
}
|
|
3343
3332
|
createHandleUsageCallbacks(copilot, model, credentials, handleLLMTokens, pricingConfiguration = {}) {
|
|
@@ -3355,7 +3344,7 @@ class LargeLanguageModel extends AIModel {
|
|
|
3355
3344
|
}
|
|
3356
3345
|
let usage = _extends({}, this.calcResponseUsage(model, credentials, normalizedTokenUsage.promptTokens, normalizedTokenUsage.completionTokens, startedAt, normalizedTokenUsage, _extends({}, pricingContext, {
|
|
3357
3346
|
inputTokensIncludeCache: true
|
|
3358
|
-
})), type ? {
|
|
3347
|
+
})), normalizedTokenUsage, type ? {
|
|
3359
3348
|
type
|
|
3360
3349
|
} : {});
|
|
3361
3350
|
const reportedPrice = output ? pricingOptions.resolveReportedPrice == null ? void 0 : pricingOptions.resolveReportedPrice.call(pricingOptions, output) : undefined;
|
|
@@ -3364,7 +3353,6 @@ class LargeLanguageModel extends AIModel {
|
|
|
3364
3353
|
} else if (pricingOptions.reportedPriceRequired) {
|
|
3365
3354
|
usage = markUsagePriceUnpriced(usage, 'provider');
|
|
3366
3355
|
}
|
|
3367
|
-
usage.totalTokens = normalizedTokenUsage.totalTokens;
|
|
3368
3356
|
await handleLLMTokens({
|
|
3369
3357
|
copilot,
|
|
3370
3358
|
model,
|
|
@@ -4856,6 +4844,10 @@ function isLegacyConnectorStrategy(strategy) {
|
|
|
4856
4844
|
return 'auth' in strategy.definition && ((_strategy_definition_auth = strategy.definition.auth) == null ? void 0 : _strategy_definition_auth.type) === 'oauth2' && typeof strategy.buildAuthorizationUrl === 'function' && typeof strategy.exchangeOAuthCode === 'function';
|
|
4857
4845
|
}
|
|
4858
4846
|
|
|
4847
|
+
const ConnectorDocumentsRuntimeCapability = createRuntimeCapability('platform.connector.documents', {
|
|
4848
|
+
description: 'Read authorized connector documents for explicit project imports; never exposes credentials or writes remote content.'
|
|
4849
|
+
});
|
|
4850
|
+
|
|
4859
4851
|
const SANDBOX_SHELL_TIMEOUT_LIMITS_SEC = {
|
|
4860
4852
|
min: 1,
|
|
4861
4853
|
max: 3600
|
|
@@ -6567,6 +6559,58 @@ CollaborationDocumentProviderRegistry = __decorate([
|
|
|
6567
6559
|
])
|
|
6568
6560
|
], CollaborationDocumentProviderRegistry);
|
|
6569
6561
|
|
|
6562
|
+
const ContentDocumentsRuntimeCapability = createRuntimeCapability('platform.content.documents', {
|
|
6563
|
+
description: 'Project file-backed editor sessions, versioned publication and Assistant review.'
|
|
6564
|
+
});
|
|
6565
|
+
|
|
6566
|
+
const ContentReferencesRuntimeCapability = createRuntimeCapability('platform.content.references', {
|
|
6567
|
+
description: 'Authorized durable document references; plugins provide source-specific listing and files.'
|
|
6568
|
+
});
|
|
6569
|
+
|
|
6570
|
+
function isTextContentEditor(provider) {
|
|
6571
|
+
return provider.descriptor.kind === 'text-document';
|
|
6572
|
+
}
|
|
6573
|
+
const EDITOR_PROVIDER = 'XPERT_CONTENT_EDITOR_PROVIDER';
|
|
6574
|
+
const ContentEditorProvider = (key)=>applyDecorators(SetMetadata(EDITOR_PROVIDER, key), SetMetadata(STRATEGY_META_KEY, EDITOR_PROVIDER));
|
|
6575
|
+
let ContentEditorRegistry = class ContentEditorRegistry extends BaseStrategyRegistry {
|
|
6576
|
+
getTextModel(key, organizationId) {
|
|
6577
|
+
const provider = this.get(key, organizationId);
|
|
6578
|
+
if (!isTextContentEditor(provider)) throw new Error('Editor does not implement the text document protocol');
|
|
6579
|
+
return provider;
|
|
6580
|
+
}
|
|
6581
|
+
constructor(discovery, reflector){
|
|
6582
|
+
super(EDITOR_PROVIDER, discovery, reflector);
|
|
6583
|
+
}
|
|
6584
|
+
};
|
|
6585
|
+
ContentEditorRegistry = __decorate([
|
|
6586
|
+
Injectable(),
|
|
6587
|
+
__metadata("design:paramtypes", [
|
|
6588
|
+
DiscoveryService,
|
|
6589
|
+
Reflector
|
|
6590
|
+
])
|
|
6591
|
+
], ContentEditorRegistry);
|
|
6592
|
+
const ContentEditorsRuntimeCapability = createRuntimeCapability('platform.content.editors', {
|
|
6593
|
+
description: 'Discover editors, resolve authorized resources and exchange versioned file bytes without format-specific models.'
|
|
6594
|
+
});
|
|
6595
|
+
|
|
6596
|
+
const CONTENT_RESOURCE_PROVIDER = 'XPERT_CONTENT_RESOURCE_PROVIDER';
|
|
6597
|
+
const ContentResourceProvider = (key)=>applyDecorators(SetMetadata(CONTENT_RESOURCE_PROVIDER, key), SetMetadata(STRATEGY_META_KEY, CONTENT_RESOURCE_PROVIDER));
|
|
6598
|
+
let ContentResourceProviderRegistry = class ContentResourceProviderRegistry extends BaseStrategyRegistry {
|
|
6599
|
+
constructor(discovery, reflector){
|
|
6600
|
+
super(CONTENT_RESOURCE_PROVIDER, discovery, reflector);
|
|
6601
|
+
}
|
|
6602
|
+
};
|
|
6603
|
+
ContentResourceProviderRegistry = __decorate([
|
|
6604
|
+
Injectable(),
|
|
6605
|
+
__metadata("design:paramtypes", [
|
|
6606
|
+
DiscoveryService,
|
|
6607
|
+
Reflector
|
|
6608
|
+
])
|
|
6609
|
+
], ContentResourceProviderRegistry);
|
|
6610
|
+
const ContentResourcesRuntimeCapability = createRuntimeCapability('platform.content.resources', {
|
|
6611
|
+
description: 'Current organization identities and plugin-owned content authorization.'
|
|
6612
|
+
});
|
|
6613
|
+
|
|
6570
6614
|
const EVOLUTION_TARGET_PROVIDER = 'EVOLUTION_TARGET_PROVIDER';
|
|
6571
6615
|
const EvolutionTargetProviderStrategy = (providerKey)=>applyDecorators(SetMetadata(EVOLUTION_TARGET_PROVIDER, providerKey), SetMetadata(STRATEGY_META_KEY, EVOLUTION_TARGET_PROVIDER));
|
|
6572
6616
|
|
|
@@ -10426,18 +10470,104 @@ const ProjectTasksRuntimeCapability = createRuntimeCapability('platform.project.
|
|
|
10426
10470
|
description: 'Read project task graphs, request background synchronization, manage schedules, and resolve exact execution conversations.'
|
|
10427
10471
|
});
|
|
10428
10472
|
|
|
10473
|
+
class UnavailablePipelineContribution {
|
|
10474
|
+
constructor(metatype, issues){
|
|
10475
|
+
this.metatype = metatype;
|
|
10476
|
+
this.issues = issues;
|
|
10477
|
+
}
|
|
10478
|
+
}
|
|
10479
|
+
function pipelineContributionIssues(error) {
|
|
10480
|
+
// Do not log schema messages or input values, which may contain plugin configuration secrets.
|
|
10481
|
+
return error.issues.slice(0, 20).map(({ path, code })=>({
|
|
10482
|
+
path,
|
|
10483
|
+
code
|
|
10484
|
+
}));
|
|
10485
|
+
}
|
|
10486
|
+
function isolatePipelineContribution(target) {
|
|
10487
|
+
function IsolatedContribution(...args) {
|
|
10488
|
+
try {
|
|
10489
|
+
return Reflect.construct(target, args, new.target);
|
|
10490
|
+
} catch (error) {
|
|
10491
|
+
if (!Reflect.getMetadata(PLUGIN_METADATA_KEY, new.target) || !(error instanceof z.ZodError)) throw error;
|
|
10492
|
+
return new UnavailablePipelineContribution(new.target, pipelineContributionIssues(error));
|
|
10493
|
+
}
|
|
10494
|
+
}
|
|
10495
|
+
Object.setPrototypeOf(IsolatedContribution, target);
|
|
10496
|
+
IsolatedContribution.prototype = Object.create(target.prototype, {
|
|
10497
|
+
constructor: {
|
|
10498
|
+
value: IsolatedContribution,
|
|
10499
|
+
writable: true,
|
|
10500
|
+
configurable: true
|
|
10501
|
+
}
|
|
10502
|
+
});
|
|
10503
|
+
Object.defineProperty(IsolatedContribution, 'name', {
|
|
10504
|
+
value: target.name
|
|
10505
|
+
});
|
|
10506
|
+
// A class decorator must preserve the caller's constructor type; Reflect.construct preserves its arguments.
|
|
10507
|
+
return IsolatedContribution;
|
|
10508
|
+
}
|
|
10509
|
+
|
|
10510
|
+
var ProjectPipelineContributionRegistry_1;
|
|
10429
10511
|
const PROJECT_PIPELINE_CONTRIBUTION = 'PROJECT_PIPELINE_CONTRIBUTION';
|
|
10430
|
-
const ProjectPipelineContributor = (key)=>
|
|
10431
|
-
|
|
10512
|
+
const ProjectPipelineContributor = (key)=>(target)=>{
|
|
10513
|
+
applyDecorators(SetMetadata(PROJECT_PIPELINE_CONTRIBUTION, key), SetMetadata(STRATEGY_META_KEY, PROJECT_PIPELINE_CONTRIBUTION))(target);
|
|
10514
|
+
return isolatePipelineContribution(target);
|
|
10515
|
+
};
|
|
10516
|
+
let ProjectPipelineContributionRegistry = ProjectPipelineContributionRegistry_1 = class ProjectPipelineContributionRegistry extends BaseStrategyRegistry {
|
|
10432
10517
|
upsert(instance) {
|
|
10433
10518
|
const target = resolveStrategyMetadataTarget(instance);
|
|
10434
10519
|
const key = target ? this.reflector.get(PROJECT_PIPELINE_CONTRIBUTION, target) : undefined;
|
|
10435
10520
|
if (!key) return;
|
|
10436
|
-
const
|
|
10437
|
-
|
|
10438
|
-
|
|
10439
|
-
|
|
10440
|
-
|
|
10521
|
+
const source = this.getSource(instance);
|
|
10522
|
+
try {
|
|
10523
|
+
if (instance instanceof UnavailablePipelineContribution) {
|
|
10524
|
+
this.rejectContribution(key, source, instance.issues);
|
|
10525
|
+
return;
|
|
10526
|
+
}
|
|
10527
|
+
const contribution = projectPipelineContributionSchema.parse(instance);
|
|
10528
|
+
if (key !== contribution.key) throw new Error('PIPELINE_CONTRIBUTION_KEY_MISMATCH');
|
|
10529
|
+
// Parsing validates public fields before preserving loader provenance.
|
|
10530
|
+
this.registerParsed(key, instance, contribution, source);
|
|
10531
|
+
this.failures.delete(this.failureIdentity(key, source));
|
|
10532
|
+
} catch (error) {
|
|
10533
|
+
if (source.kind !== 'plugin' || !(error instanceof z.ZodError)) throw error;
|
|
10534
|
+
this.rejectContribution(key, source, pipelineContributionIssues(error));
|
|
10535
|
+
}
|
|
10536
|
+
}
|
|
10537
|
+
getRegistrationFailures() {
|
|
10538
|
+
return structuredClone([
|
|
10539
|
+
...this.failures.values()
|
|
10540
|
+
]);
|
|
10541
|
+
}
|
|
10542
|
+
remove(scopeKey, pluginName) {
|
|
10543
|
+
super.remove(scopeKey, pluginName);
|
|
10544
|
+
for (const [identity, failure] of this.failures){
|
|
10545
|
+
if (failure.source.scopeKey === scopeKey && failure.source.pluginName === pluginName) this.failures.delete(identity);
|
|
10546
|
+
}
|
|
10547
|
+
}
|
|
10548
|
+
failureIdentity(key, source) {
|
|
10549
|
+
return JSON.stringify([
|
|
10550
|
+
source.scopeKey,
|
|
10551
|
+
source.kind === 'plugin' ? source.pluginName : null,
|
|
10552
|
+
key
|
|
10553
|
+
]);
|
|
10554
|
+
}
|
|
10555
|
+
rejectContribution(key, source, issues) {
|
|
10556
|
+
var _this_strategies_get;
|
|
10557
|
+
if (source.kind !== 'plugin') throw new Error('PIPELINE_CONTRIBUTION_INVALID');
|
|
10558
|
+
const previous = (_this_strategies_get = this.strategies.get(source.scopeKey)) == null ? void 0 : _this_strategies_get.get(key);
|
|
10559
|
+
if (previous) {
|
|
10560
|
+
const owner = this.getSource(previous);
|
|
10561
|
+
if (owner.kind === 'plugin' && owner.pluginName === source.pluginName) this.unregister(key, source, previous);
|
|
10562
|
+
}
|
|
10563
|
+
const failure = {
|
|
10564
|
+
key,
|
|
10565
|
+
source,
|
|
10566
|
+
code: 'PIPELINE_CONTRIBUTION_INVALID',
|
|
10567
|
+
issues
|
|
10568
|
+
};
|
|
10569
|
+
this.failures.set(this.failureIdentity(key, source), failure);
|
|
10570
|
+
this.failureLogger.error(failure);
|
|
10441
10571
|
}
|
|
10442
10572
|
register(key, contribution, source) {
|
|
10443
10573
|
return this.registerParsed(key, contribution, projectPipelineContributionSchema.parse(contribution), source);
|
|
@@ -10501,9 +10631,11 @@ let ProjectPipelineContributionRegistry = class ProjectPipelineContributionRegis
|
|
|
10501
10631
|
constructor(discovery, reflector){
|
|
10502
10632
|
super(PROJECT_PIPELINE_CONTRIBUTION, discovery, reflector);
|
|
10503
10633
|
this.parsedContributions = new WeakMap();
|
|
10634
|
+
this.failures = new Map();
|
|
10635
|
+
this.failureLogger = new Logger(ProjectPipelineContributionRegistry_1.name);
|
|
10504
10636
|
}
|
|
10505
10637
|
};
|
|
10506
|
-
ProjectPipelineContributionRegistry = __decorate([
|
|
10638
|
+
ProjectPipelineContributionRegistry = ProjectPipelineContributionRegistry_1 = __decorate([
|
|
10507
10639
|
Injectable(),
|
|
10508
10640
|
__metadata("design:paramtypes", [
|
|
10509
10641
|
DiscoveryService,
|
|
@@ -10696,4 +10828,4 @@ Reflect.defineMetadata('__command__', {
|
|
|
10696
10828
|
id: ImportDefaultAgentPluginsCommand.type
|
|
10697
10829
|
}, ImportDefaultAgentPluginsCommand);
|
|
10698
10830
|
|
|
10699
|
-
export { ACCOUNT_BINDING_PERMISSION_SERVICE_TOKEN, AGENT_CHAT_DISPATCH_ERROR_STEER_TARGET_NOT_RUNNING, AGENT_CHAT_DISPATCH_MESSAGE_TYPE, AGENT_MIDDLEWARE_STRATEGY, AGENT_RUNTIME_EVENT_MESSAGE_TYPE, AGENT_RUNTIME_STRATEGY, AIModel, AIModelProviderNotFoundException, AIModelProviderRegistry, AIModelProviderStrategy, AI_MODEL_PROVIDER, ANALYTICS_PROVIDER, ARTIFACT_PRESENTATION_PROVIDER, ASSISTANT_CAPABILITY_PROVIDER, AdapterDataSourceStrategy, AgentExecutionRunnerCapability, AgentExecutionRunnerFactoryCapability, AgentInvocationRuntimeCapability, AgentMiddlewareRegistry, AgentMiddlewareStrategy, AgentRuntimeFactoryCapability, AgentRuntimeRegistry, AgentRuntimeStrategy, AiModelNotFoundException, AnalyticsDefinitionAuthoringCapability, AnalyticsProvider, AnalyticsProviderRegistry, AnalyticsRuntimeCapability, ArtifactPresentationProvider, ArtifactPresentationRegistry, AssistantCapabilityProvider, AssistantCapabilityProviderRegistry, AssistantTaskRuntimeCapability, BOUND_IDENTITY_LOGIN_PERMISSION_SERVICE_TOKEN, BUILTIN_GLOBAL_SCOPE, BaseHTTPQueryRunner, BaseQueryRunner, BaseSQLQueryRunner, BaseSandbox, BaseStrategyRegistry, BuiltinToolset, CHAT_CHANNEL, CHAT_CHANNEL_TEXT_LIMITS, CLI_MODEL_TOKEN_REFERENCE, COLLABORATION_DOCUMENT_PROVIDER, CONNECTION_COMMAND_ROUTER_TOKEN, CONNECTOR_STRATEGY, CancelConversationCommand, ChatChannel, ChatChannelRegistry, ChatOAICompatReasoningModel, CliModelProfilesCapability, CollaborationDocumentProvider, CollaborationDocumentProviderRegistry, CollaborationRuntimeCapability, CommonParameterRules, ConnectorRuntimeCapability, ConnectorRuntimeFactoryCapability, ConnectorStrategyKey, ConnectorStrategyRegistry, CreateModelClientCommand, CredentialsValidateFailedError, DATASOURCE_STRATEGY, DBCreateTableMode, DBProtocolEnum, DBSyntaxEnum, DBTableAction, DBTableDataAction, DEFAULT_EXECUTION_CONFIG, DEFAULT_SANDBOX_EXECUTION_MAX_OUTPUT_BYTES, DEFAULT_SANDBOX_FILE_OPERATION_EXECUTION_OPTIONS, DEFAULT_SANDBOX_FILE_OPERATION_TIMEOUT_MS, DEFAULT_SANDBOX_FILE_OPERATION_TIMEOUT_SEC, DEFAULT_SANDBOX_FILE_SEARCH_EXECUTION_OPTIONS, DEFAULT_SANDBOX_FILE_SEARCH_TIMEOUT_MS, DEFAULT_SANDBOX_FILE_SEARCH_TIMEOUT_SEC, DEFAULT_SANDBOX_SHELL_EXECUTION_OPTIONS, DEFAULT_SANDBOX_SHELL_TIMEOUT_MS, DEFAULT_SANDBOX_SHELL_TIMEOUT_SEC, DOCUMENT_SOURCE_STRATEGY, DOCUMENT_TRANSFORMER_STRATEGY, DataSourceStrategy, DataSourceStrategyRegistry, DecoratedAgentMiddlewareStrategy, DecoratedToolsetStrategy, DocumentSourceRegistry, DocumentSourceStrategy, DocumentTransformerRegistry, DocumentTransformerStrategy, EVOLUTION_RUNTIME_SERVICE_TOKEN, EVOLUTION_TARGET_PROVIDER, EvolutionBaselineRuntimeCapability, EvolutionChangeRuntimeCapability, EvolutionRuntimeCapability, EvolutionTargetProviderRegistry, EvolutionTargetProviderStrategy, FILE_STORAGE_PROVIDER, FILE_UPLOAD_TARGET_STRATEGY, FileRuntimeCapability, FileStorageProvider, FileStorageProviderRegistry, FileUploadTargetRegistry, FileUploadTargetStrategy, GLOBAL_ORGANIZATION_SCOPE, HANDOFF_PERMISSION_SERVICE_TOKEN, HANDOFF_PROCESSOR_STRATEGY, HANDOFF_QUEUE_SERVICE_TOKEN, HandoffProcessorRegistry, HandoffProcessorStrategy, IMAGE_UNDERSTANDING_STRATEGY, INTEGRATION_PERMISSION_SERVICE_TOKEN, INTEGRATION_STRATEGY, ImageGenerationModel, ImageUnderstandingRegistry, ImageUnderstandingStrategy, ImportDefaultAgentPluginsCommand, IntegrationStrategyKey, IntegrationStrategyRegistry, JUMP_TO_TARGETS, JsonSchemaValidator, KEYWORD_ANALYZER_STRATEGY, KNOWLEDGE_STRATEGY, KeywordAnalyzerRegistry, KeywordAnalyzerStrategy, KnowledgeDocumentVisualAssetsRuntimeCapability, KnowledgeDocumentVisualAssetsRuntimeFactoryCapability, KnowledgeGraphRuntimeCapability, KnowledgeStrategyKey, KnowledgeStrategyRegistry, KnowledgebaseDocumentsRuntimeCapability, KnowledgebaseProvisioningRuntimeCapability, KnowledgebaseRuntimeCapability, LLMUsage, LargeLanguageModel, ListAnalyticsSourcesCommand, MANAGED_CONNECTION_REGISTRY_TOKEN, MANAGED_QUEUE_HANDLER_REGISTRY_TOKEN, MANAGED_QUEUE_SERVICE_TOKEN, MCP_CAPABILITY_CHANGE_EVENT_TYPES, MODEL_OUTPUT_VALIDATION_ERROR_CODE, ModelExecutionEnvironmentCapability, ModelOutputValidationError, ModelProvider, ORGANIZATION_METADATA_KEY, OpenAICompatibleReranker, PERMISSION_OPERATION_METADATA_KEY, PLUGIN_CONFIG_RESOLVER_TOKEN, PLUGIN_JOB_PROCESSOR_METADATA, PLUGIN_METADATA, PLUGIN_METADATA_KEY, PLUGIN_VERSION_METADATA_KEY, PLUGIN_WEBHOOK_AUTH_METADATA_KEY, PLUGIN_WEBHOOK_AUTH_SERVICE_TOKEN, PROJECT_PIPELINE_CONTRIBUTION, PROJECT_PIPELINE_PROJECTION_PROVIDER, PROJECT_PIPELINE_RUNTIME_ADAPTER, PROJECT_TASK_PROVIDER, PROJECT_TYPE_PROVIDER, PROVIDE_AI_MODEL_LLM, PROVIDE_AI_MODEL_MODERATION, PROVIDE_AI_MODEL_RERANK, PROVIDE_AI_MODEL_SPEECH2TEXT, PROVIDE_AI_MODEL_TEXT_EMBEDDING, PROVIDE_AI_MODEL_TTS, PluginJobProcessor, PluginWebhookAuth, PluginWebhookAuthGuard, ProjectPipelineAnalyticsRuntimeCapability, ProjectPipelineCatalogRuntimeCapability, ProjectPipelineCommandsRuntimeCapability, ProjectPipelineConfigurationRuntimeCapability, ProjectPipelineContributionRegistry, ProjectPipelineContributor, ProjectPipelineEvidenceRuntimeCapability, ProjectPipelinePortfolioRuntimeCapability, ProjectPipelineProjectionProvider, ProjectPipelineProjectionProviderRegistry, ProjectPipelineProviderActionsRuntimeCapability, ProjectPipelineRuntimeAdapterProvider, ProjectPipelineRuntimeAdapterRegistry, ProjectPipelinesRuntimeCapability, ProjectTaskProvider, ProjectTaskProviderRegistry, ProjectTasksRuntimeCapability, ProjectTypeProvider, ProjectTypeProviderRegistry, RESOURCE_CARD_EVENT, RESOURCE_CARD_PROVIDER, RETRIEVER_STRATEGY, RequestContext, RequestContextMiddleware, RequirePermissionOperation, RerankModel, ResolveAnalyticsSourceCommand, ResolveConnectorIntegrationQuery, ResourceCardProvider, ResourceCardProviderRegistry, RetrieverRegistry, RetrieverStrategy, SANDBOX_PROVIDER, SANDBOX_RUNTIME_PROVIDER, SANDBOX_SHELL_TIMEOUT_LIMITS_SEC, SANDBOX_WORKSPACE_MAPPER, SKILL_SOURCE_PROVIDER, SPEECH_TO_TEXT_PERMISSION_SERVICE_TOKEN, SPEECH_TO_TEXT_SERVICE_TOKEN, SSOProviderRegistry, SSOProviderStrategyKey, SSO_BINDING_PERMISSION_SERVICE_TOKEN, SSO_PROVIDER, STRATEGY_META_KEY, SYSTEM_GLOBAL_SCOPE, SandboxProviderRegistry, SandboxProviderStrategy, SandboxRuntimeProviderRegistry, SandboxRuntimeProviderStrategy, SandboxWorkspaceMapperRegistry, SandboxWorkspaceMapperStrategy, ShellModelExecutionSourceCapability, SkillSourceProviderRegistry, SkillSourceProviderStrategy, Speech2TextChatModel, SpeechToTextModel, StrategyBus, TENANT_GLOBAL_SCOPE_PREFIX, TENANT_GLOBAL_SCOPE_SUFFIX, TEXT_SPLITTER_STRATEGY, TOOLSET_STRATEGY, TextEmbeddingModelManager, TextSplitterRegistry, TextSplitterStrategy, TextToSpeechModel, ToolsetRegistry, ToolsetStrategy, USER_PERMISSION_SERVICE_TOKEN, VECTOR_STORE_STRATEGY, VIDEO_GENERATION_PERMISSION_SERVICE_TOKEN, VIDEO_GENERATION_SERVICE_TOKEN, VIDEO_GENERATOR_FAMILIES, VIEW_EXTENSION_CACHE_SERVICE_TOKEN, VIEW_EXTENSION_PROVIDER, VectorStoreRegistry, VectorStoreStrategy, VideoGenerationModel, ViewExtensionProvider, ViewExtensionProviderRegistry, ViewMiddlewareRuntimeCapability, WORKFLOW_NODE_STRATEGY, WORKFLOW_TRIGGER_STRATEGY, WorkflowNodeRegistry, WorkflowNodeStrategy, WorkflowTriggerRegistry, WorkflowTriggerStrategy, WorkspaceFilesRuntimeCapability, WrapWorkflowNodeExecutionCommand, XPERT_AGENT_MIDDLEWARE_RUNTIME_TOKEN, XPERT_TOOL_METHOD_METADATA, XPERT_TOOL_PROVIDER, XPERT_TOOL_PROVIDER_METADATA, XPERT_TOOL_RESULT_FORMAT_VERSION, XpFileSystem, XpertPrompt, XpertResource, XpertResourceTemplate, XpertServerPlugin, XpertTool, XpertToolProvider, XpertToolProviderCoordinator, XpertToolProviderRegistry, agentInvocationDispatchContextSchema, agentRuntimeConsumptionStateSchema, agentRuntimeDeliveryStateSchema, agentRuntimeEventMessageId, agentRuntimeEventSchema, agentRuntimeReplyTargetSchema, agentRuntimeResultClaimSchema, agentRuntimeResultConsumptionKey, als, appendSandboxMessage, applyModelConfiguration, applyModelContextSize, artifactPresentationKey, assertConnectorDefinition, buildSandboxTimeoutMessage, calcTokenUsage, calculateLLMUsagePrice, calculateModelPrice, calculateModelUsageCharge, chunkText, countTextTokens, countTokensSafe, createI18nInstance, createMutationEvidence, createPluginLogger, createRuntimeCapability, defineAgentMessageType, defineChannelMessageType, defineMcpApp, defineMcpCapabilities, defineMcpPrompt, defineMcpResource, defineMcpResourceTemplate, defineXpertTool, derivePluginArtifactNamespace, describeXpertToolProvider, discoverOpenAIModels, downloadRemoteFile, emitResourceCard, formatSandboxTimeout, getDefaultTenantId, getErrorMessage, getModelContextSize, getPermissionOperationMetadata, getPositionList, getPositionMap, getRequestContext, getRequiredPermissionOperation, getTenantGlobalScopeKey, getXpertToolMethod, isAgentInvocationTerminal, isDevelopmentSandboxRuntimeEnvironment, isModelOutputValidationError, isModelUsagePricingConfig, isPluginArtifactNamespace, isRemoteFile, isSandboxBackend, isSandboxManagedServiceAdapter, isSandboxServiceProxyAdapter, isSandboxTerminalAdapter, isStrategyInstance, isStructuredMessageType, isTenantGlobalScopeKey, jsonEncodedSchema, knowledgebaseActions, loadYamlFile, mergeCredentials, mergeModelRequirements, mergeParentChildChunks, nativeModelTransport, normalizeContextSize, normalizeTokenUsage, pluginArtifactTableName, prepareToolResult, processAsyncAIGCManagedJob, projectPipelineInvocationScopeSchema, renderRemoteModuleIframeHtml, renderRemoteReactIframeHtml, renderRemoteVueIframeHtml, resolveModelUsagePricingSnapshot, resolveSandboxBackend, resolveSandboxExecutionOptions, resolveSandboxManagedServiceAdapter, resolveSandboxServiceProxyAdapter, resolveSandboxTerminalAdapter, resolveStrategyMetadataTarget, resolveTenantGlobalScopeKey, resolveTokenUsage, resolveTokenUsageCandidates, resolveXpertMcpExtensions, runWithRequestContext, runtimeToolProviderComponent, secondsToMilliseconds, setDefaultTenantId, sumTokenUsage, taskWaitReason, textTokenBoundaries, validateAnalyticsPayload };
|
|
10831
|
+
export { ACCOUNT_BINDING_PERMISSION_SERVICE_TOKEN, AGENT_CHAT_DISPATCH_ERROR_STEER_TARGET_NOT_RUNNING, AGENT_CHAT_DISPATCH_MESSAGE_TYPE, AGENT_MIDDLEWARE_STRATEGY, AGENT_RUNTIME_EVENT_MESSAGE_TYPE, AGENT_RUNTIME_STRATEGY, AIModel, AIModelProviderNotFoundException, AIModelProviderRegistry, AIModelProviderStrategy, AI_MODEL_PROVIDER, ANALYTICS_PROVIDER, ARTIFACT_PRESENTATION_PROVIDER, ASSISTANT_CAPABILITY_PROVIDER, AdapterDataSourceStrategy, AgentExecutionRunnerCapability, AgentExecutionRunnerFactoryCapability, AgentInvocationRuntimeCapability, AgentMiddlewareRegistry, AgentMiddlewareStrategy, AgentRuntimeFactoryCapability, AgentRuntimeRegistry, AgentRuntimeStrategy, AiModelNotFoundException, AnalyticsDefinitionAuthoringCapability, AnalyticsProvider, AnalyticsProviderRegistry, AnalyticsRuntimeCapability, ArtifactPresentationProvider, ArtifactPresentationRegistry, AssistantCapabilityProvider, AssistantCapabilityProviderRegistry, AssistantTaskRuntimeCapability, BOUND_IDENTITY_LOGIN_PERMISSION_SERVICE_TOKEN, BUILTIN_GLOBAL_SCOPE, BaseHTTPQueryRunner, BaseQueryRunner, BaseSQLQueryRunner, BaseSandbox, BaseStrategyRegistry, BuiltinToolset, CHAT_CHANNEL, CHAT_CHANNEL_TEXT_LIMITS, CLI_MODEL_TOKEN_REFERENCE, COLLABORATION_DOCUMENT_PROVIDER, CONNECTION_COMMAND_ROUTER_TOKEN, CONNECTOR_STRATEGY, CONTENT_RESOURCE_PROVIDER, CancelConversationCommand, ChatChannel, ChatChannelRegistry, ChatOAICompatReasoningModel, CliModelProfilesCapability, CollaborationDocumentProvider, CollaborationDocumentProviderRegistry, CollaborationRuntimeCapability, CommonParameterRules, ConnectorDocumentsRuntimeCapability, ConnectorRuntimeCapability, ConnectorRuntimeFactoryCapability, ConnectorStrategyKey, ConnectorStrategyRegistry, ContentDocumentsRuntimeCapability, ContentEditorProvider, ContentEditorRegistry, ContentEditorsRuntimeCapability, ContentReferencesRuntimeCapability, ContentResourceProvider, ContentResourceProviderRegistry, ContentResourcesRuntimeCapability, CreateModelClientCommand, CredentialsValidateFailedError, DATASOURCE_STRATEGY, DBCreateTableMode, DBProtocolEnum, DBSyntaxEnum, DBTableAction, DBTableDataAction, DEFAULT_EXECUTION_CONFIG, DEFAULT_SANDBOX_EXECUTION_MAX_OUTPUT_BYTES, DEFAULT_SANDBOX_FILE_OPERATION_EXECUTION_OPTIONS, DEFAULT_SANDBOX_FILE_OPERATION_TIMEOUT_MS, DEFAULT_SANDBOX_FILE_OPERATION_TIMEOUT_SEC, DEFAULT_SANDBOX_FILE_SEARCH_EXECUTION_OPTIONS, DEFAULT_SANDBOX_FILE_SEARCH_TIMEOUT_MS, DEFAULT_SANDBOX_FILE_SEARCH_TIMEOUT_SEC, DEFAULT_SANDBOX_SHELL_EXECUTION_OPTIONS, DEFAULT_SANDBOX_SHELL_TIMEOUT_MS, DEFAULT_SANDBOX_SHELL_TIMEOUT_SEC, DOCUMENT_SOURCE_STRATEGY, DOCUMENT_TRANSFORMER_STRATEGY, DataSourceStrategy, DataSourceStrategyRegistry, DecoratedAgentMiddlewareStrategy, DecoratedToolsetStrategy, DocumentSourceRegistry, DocumentSourceStrategy, DocumentTransformerRegistry, DocumentTransformerStrategy, EVOLUTION_RUNTIME_SERVICE_TOKEN, EVOLUTION_TARGET_PROVIDER, EvolutionBaselineRuntimeCapability, EvolutionChangeRuntimeCapability, EvolutionRuntimeCapability, EvolutionTargetProviderRegistry, EvolutionTargetProviderStrategy, FILE_STORAGE_PROVIDER, FILE_UPLOAD_TARGET_STRATEGY, FileRuntimeCapability, FileStorageProvider, FileStorageProviderRegistry, FileUploadTargetRegistry, FileUploadTargetStrategy, GLOBAL_ORGANIZATION_SCOPE, HANDOFF_PERMISSION_SERVICE_TOKEN, HANDOFF_PROCESSOR_STRATEGY, HANDOFF_QUEUE_SERVICE_TOKEN, HandoffProcessorRegistry, HandoffProcessorStrategy, IMAGE_UNDERSTANDING_STRATEGY, INTEGRATION_PERMISSION_SERVICE_TOKEN, INTEGRATION_STRATEGY, ImageGenerationModel, ImageUnderstandingRegistry, ImageUnderstandingStrategy, ImportDefaultAgentPluginsCommand, IntegrationStrategyKey, IntegrationStrategyRegistry, JUMP_TO_TARGETS, JsonSchemaValidator, KEYWORD_ANALYZER_STRATEGY, KNOWLEDGE_STRATEGY, KeywordAnalyzerRegistry, KeywordAnalyzerStrategy, KnowledgeDocumentVisualAssetsRuntimeCapability, KnowledgeDocumentVisualAssetsRuntimeFactoryCapability, KnowledgeGraphRuntimeCapability, KnowledgeStrategyKey, KnowledgeStrategyRegistry, KnowledgebaseDocumentsRuntimeCapability, KnowledgebaseProvisioningRuntimeCapability, KnowledgebaseRuntimeCapability, LLMUsage, LargeLanguageModel, ListAnalyticsSourcesCommand, MANAGED_CONNECTION_REGISTRY_TOKEN, MANAGED_QUEUE_HANDLER_REGISTRY_TOKEN, MANAGED_QUEUE_SERVICE_TOKEN, MCP_CAPABILITY_CHANGE_EVENT_TYPES, MODEL_OUTPUT_VALIDATION_ERROR_CODE, ModelExecutionEnvironmentCapability, ModelOutputValidationError, ModelProvider, ORGANIZATION_METADATA_KEY, OpenAICompatibleReranker, PERMISSION_OPERATION_METADATA_KEY, PLUGIN_CONFIG_RESOLVER_TOKEN, PLUGIN_JOB_PROCESSOR_METADATA, PLUGIN_METADATA, PLUGIN_METADATA_KEY, PLUGIN_VERSION_METADATA_KEY, PLUGIN_WEBHOOK_AUTH_METADATA_KEY, PLUGIN_WEBHOOK_AUTH_SERVICE_TOKEN, PROJECT_PIPELINE_CONTRIBUTION, PROJECT_PIPELINE_PROJECTION_PROVIDER, PROJECT_PIPELINE_RUNTIME_ADAPTER, PROJECT_TASK_PROVIDER, PROJECT_TYPE_PROVIDER, PROVIDE_AI_MODEL_LLM, PROVIDE_AI_MODEL_MODERATION, PROVIDE_AI_MODEL_RERANK, PROVIDE_AI_MODEL_SPEECH2TEXT, PROVIDE_AI_MODEL_TEXT_EMBEDDING, PROVIDE_AI_MODEL_TTS, PluginJobProcessor, PluginWebhookAuth, PluginWebhookAuthGuard, ProjectPipelineAnalyticsRuntimeCapability, ProjectPipelineCatalogRuntimeCapability, ProjectPipelineCommandsRuntimeCapability, ProjectPipelineConfigurationRuntimeCapability, ProjectPipelineContributionRegistry, ProjectPipelineContributor, ProjectPipelineEvidenceRuntimeCapability, ProjectPipelinePortfolioRuntimeCapability, ProjectPipelineProjectionProvider, ProjectPipelineProjectionProviderRegistry, ProjectPipelineProviderActionsRuntimeCapability, ProjectPipelineRuntimeAdapterProvider, ProjectPipelineRuntimeAdapterRegistry, ProjectPipelinesRuntimeCapability, ProjectTaskProvider, ProjectTaskProviderRegistry, ProjectTasksRuntimeCapability, ProjectTypeProvider, ProjectTypeProviderRegistry, RESOURCE_CARD_EVENT, RESOURCE_CARD_PROVIDER, RETRIEVER_STRATEGY, RequestContext, RequestContextMiddleware, RequirePermissionOperation, RerankModel, ResolveAnalyticsSourceCommand, ResolveConnectorIntegrationQuery, ResourceCardProvider, ResourceCardProviderRegistry, RetrieverRegistry, RetrieverStrategy, SANDBOX_PROVIDER, SANDBOX_RUNTIME_PROVIDER, SANDBOX_SHELL_TIMEOUT_LIMITS_SEC, SANDBOX_WORKSPACE_MAPPER, SKILL_SOURCE_PROVIDER, SPEECH_TO_TEXT_PERMISSION_SERVICE_TOKEN, SPEECH_TO_TEXT_SERVICE_TOKEN, SSOProviderRegistry, SSOProviderStrategyKey, SSO_BINDING_PERMISSION_SERVICE_TOKEN, SSO_PROVIDER, STRATEGY_META_KEY, SYSTEM_GLOBAL_SCOPE, SandboxProviderRegistry, SandboxProviderStrategy, SandboxRuntimeProviderRegistry, SandboxRuntimeProviderStrategy, SandboxWorkspaceMapperRegistry, SandboxWorkspaceMapperStrategy, ShellModelExecutionSourceCapability, SkillSourceProviderRegistry, SkillSourceProviderStrategy, Speech2TextChatModel, SpeechToTextModel, StrategyBus, TENANT_GLOBAL_SCOPE_PREFIX, TENANT_GLOBAL_SCOPE_SUFFIX, TEXT_SPLITTER_STRATEGY, TOOLSET_STRATEGY, TextEmbeddingModelManager, TextSplitterRegistry, TextSplitterStrategy, TextToSpeechModel, ToolsetRegistry, ToolsetStrategy, USER_PERMISSION_SERVICE_TOKEN, VECTOR_STORE_STRATEGY, VIDEO_GENERATION_PERMISSION_SERVICE_TOKEN, VIDEO_GENERATION_SERVICE_TOKEN, VIDEO_GENERATOR_FAMILIES, VIEW_EXTENSION_CACHE_SERVICE_TOKEN, VIEW_EXTENSION_PROVIDER, VectorStoreRegistry, VectorStoreStrategy, VideoGenerationModel, ViewExtensionProvider, ViewExtensionProviderRegistry, ViewMiddlewareRuntimeCapability, WORKFLOW_NODE_STRATEGY, WORKFLOW_TRIGGER_STRATEGY, WorkflowNodeRegistry, WorkflowNodeStrategy, WorkflowTriggerRegistry, WorkflowTriggerStrategy, WorkspaceFilesRuntimeCapability, WrapWorkflowNodeExecutionCommand, XPERT_AGENT_MIDDLEWARE_RUNTIME_TOKEN, XPERT_TOOL_METHOD_METADATA, XPERT_TOOL_PROVIDER, XPERT_TOOL_PROVIDER_METADATA, XPERT_TOOL_RESULT_FORMAT_VERSION, XpFileSystem, XpertPrompt, XpertResource, XpertResourceTemplate, XpertServerPlugin, XpertTool, XpertToolProvider, XpertToolProviderCoordinator, XpertToolProviderRegistry, agentInvocationDispatchContextSchema, agentRuntimeConsumptionStateSchema, agentRuntimeDeliveryStateSchema, agentRuntimeEventMessageId, agentRuntimeEventSchema, agentRuntimeReplyTargetSchema, agentRuntimeResultClaimSchema, agentRuntimeResultConsumptionKey, als, appendSandboxMessage, applyModelConfiguration, applyModelContextSize, artifactPresentationKey, assertConnectorDefinition, buildSandboxTimeoutMessage, calcTokenUsage, calculateLLMUsagePrice, calculateModelPrice, calculateModelUsageCharge, chunkText, countTextTokens, countTokensSafe, createI18nInstance, createMutationEvidence, createPluginLogger, createRuntimeCapability, defineAgentMessageType, defineChannelMessageType, defineMcpApp, defineMcpCapabilities, defineMcpPrompt, defineMcpResource, defineMcpResourceTemplate, defineXpertTool, derivePluginArtifactNamespace, describeXpertToolProvider, discoverOpenAIModels, downloadRemoteFile, emitResourceCard, formatSandboxTimeout, getDefaultTenantId, getErrorMessage, getModelContextSize, getPermissionOperationMetadata, getPositionList, getPositionMap, getRequestContext, getRequiredPermissionOperation, getTenantGlobalScopeKey, getXpertToolMethod, isAgentInvocationTerminal, isDevelopmentSandboxRuntimeEnvironment, isModelOutputValidationError, isModelUsagePricingConfig, isPluginArtifactNamespace, isRemoteFile, isSandboxBackend, isSandboxManagedServiceAdapter, isSandboxServiceProxyAdapter, isSandboxTerminalAdapter, isStrategyInstance, isStructuredMessageType, isTenantGlobalScopeKey, isTextContentEditor, jsonEncodedSchema, knowledgebaseActions, loadYamlFile, mergeCredentials, mergeModelRequirements, mergeParentChildChunks, nativeModelTransport, normalizeContextSize, normalizeTokenUsage, pluginArtifactTableName, prepareToolResult, processAsyncAIGCManagedJob, projectPipelineInvocationScopeSchema, renderRemoteModuleIframeHtml, renderRemoteReactIframeHtml, renderRemoteVueIframeHtml, resolveModelUsagePricingSnapshot, resolveSandboxBackend, resolveSandboxExecutionOptions, resolveSandboxManagedServiceAdapter, resolveSandboxServiceProxyAdapter, resolveSandboxTerminalAdapter, resolveStrategyMetadataTarget, resolveTenantGlobalScopeKey, resolveTokenUsage, resolveTokenUsageCandidates, resolveXpertMcpExtensions, runWithRequestContext, runtimeToolProviderComponent, secondsToMilliseconds, setDefaultTenantId, sumTokenUsage, taskWaitReason, textTokenBoundaries, validateAnalyticsPayload };
|