@uluops/core 0.5.0 → 0.7.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/LICENSE +6 -0
- package/README.md +120 -27
- package/dist/ai/AIProvider.d.ts +23 -3
- package/dist/ai/AIProvider.d.ts.map +1 -1
- package/dist/ai/AIProvider.js +156 -116
- package/dist/ai/AIProvider.js.map +1 -1
- package/dist/ai/ShellExecutor.d.ts +5 -4
- package/dist/ai/ShellExecutor.d.ts.map +1 -1
- package/dist/ai/ShellExecutor.js +1 -1
- package/dist/ai/ShellExecutor.js.map +1 -1
- package/dist/client/UluOpsClient.d.ts +40 -7
- package/dist/client/UluOpsClient.d.ts.map +1 -1
- package/dist/client/UluOpsClient.js +45 -9
- package/dist/client/UluOpsClient.js.map +1 -1
- package/dist/constants.d.ts +27 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +35 -0
- package/dist/constants.js.map +1 -1
- package/dist/errors/UluOpsError.d.ts +19 -0
- package/dist/errors/UluOpsError.d.ts.map +1 -1
- package/dist/errors/UluOpsError.js +25 -0
- package/dist/errors/UluOpsError.js.map +1 -1
- package/dist/errors/index.d.ts +26 -3
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +31 -3
- package/dist/errors/index.js.map +1 -1
- package/dist/executor/AgentExecutor.d.ts +43 -5
- package/dist/executor/AgentExecutor.d.ts.map +1 -1
- package/dist/executor/AgentExecutor.js +130 -121
- package/dist/executor/AgentExecutor.js.map +1 -1
- package/dist/executor/CommandExecutor.d.ts +1 -0
- package/dist/executor/CommandExecutor.d.ts.map +1 -1
- package/dist/executor/CommandExecutor.js +43 -25
- package/dist/executor/CommandExecutor.js.map +1 -1
- package/dist/executor/PipelineExecutor.d.ts +1 -0
- package/dist/executor/PipelineExecutor.d.ts.map +1 -1
- package/dist/executor/PipelineExecutor.js +16 -20
- package/dist/executor/PipelineExecutor.js.map +1 -1
- package/dist/executor/ToolHandler.d.ts +6 -3
- package/dist/executor/ToolHandler.d.ts.map +1 -1
- package/dist/executor/ToolHandler.js +23 -134
- package/dist/executor/ToolHandler.js.map +1 -1
- package/dist/executor/WorkflowExecutor.d.ts +14 -0
- package/dist/executor/WorkflowExecutor.d.ts.map +1 -1
- package/dist/executor/WorkflowExecutor.js +93 -70
- package/dist/executor/WorkflowExecutor.js.map +1 -1
- package/dist/executor/classifyDecision.d.ts +52 -0
- package/dist/executor/classifyDecision.d.ts.map +1 -0
- package/dist/executor/classifyDecision.js +77 -0
- package/dist/executor/classifyDecision.js.map +1 -0
- package/dist/executor/preflight.js +22 -5
- package/dist/executor/preflight.js.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/parser/OutputExtractor.d.ts +1 -1
- package/dist/parser/OutputExtractor.d.ts.map +1 -1
- package/dist/parser/OutputExtractor.js +15 -16
- package/dist/parser/OutputExtractor.js.map +1 -1
- package/dist/parser/outputSchemas.d.ts +76 -67
- package/dist/parser/outputSchemas.d.ts.map +1 -1
- package/dist/parser/outputSchemas.js +19 -26
- package/dist/parser/outputSchemas.js.map +1 -1
- package/dist/registry/RegistryClient.d.ts.map +1 -1
- package/dist/registry/RegistryClient.js +9 -4
- package/dist/registry/RegistryClient.js.map +1 -1
- package/dist/types/agent.d.ts +23 -38
- package/dist/types/agent.d.ts.map +1 -1
- package/dist/types/command.d.ts +12 -7
- package/dist/types/command.d.ts.map +1 -1
- package/dist/types/config.d.ts +7 -0
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/execution.d.ts +15 -5
- package/dist/types/execution.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/parser.d.ts +1 -1
- package/dist/types/parser.d.ts.map +1 -1
- package/dist/types/pipeline.d.ts +5 -2
- package/dist/types/pipeline.d.ts.map +1 -1
- package/dist/types/registry.d.ts +1 -0
- package/dist/types/registry.d.ts.map +1 -1
- package/dist/types/tools.d.ts +0 -12
- package/dist/types/tools.d.ts.map +1 -1
- package/dist/types/validation.d.ts +0 -125
- package/dist/types/validation.d.ts.map +1 -1
- package/dist/types/workflow.d.ts +12 -4
- package/dist/types/workflow.d.ts.map +1 -1
- package/dist/validation/ValidationClient.d.ts.map +1 -1
- package/dist/validation/ValidationClient.js +1 -2
- package/dist/validation/ValidationClient.js.map +1 -1
- package/package.json +2 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
Copyright (c) 2026 Uluops. All rights reserved.
|
|
2
|
+
|
|
3
|
+
This software is proprietary and confidential. Unauthorized copying, modification,
|
|
4
|
+
distribution, or use of this software, via any medium, is strictly prohibited.
|
|
5
|
+
|
|
6
|
+
For licensing inquiries, contact: engineering@uluops.com
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
# @uluops/core
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/@uluops/core)
|
|
8
|
-
[](LICENSE)
|
|
9
9
|
[](https://nodejs.org)
|
|
10
10
|
[](https://www.typescriptlang.org/)
|
|
11
11
|
[](test/)
|
|
@@ -47,6 +47,7 @@ console.log(`Score: ${result.score} | Decision: ${result.decision}`);
|
|
|
47
47
|
- [Validation Tracking](#validation-tracking)
|
|
48
48
|
- [Architecture](#architecture)
|
|
49
49
|
- [Execution Hierarchy](#execution-hierarchy)
|
|
50
|
+
- [Advanced Exports](#advanced-exports)
|
|
50
51
|
- [Configuration](#configuration)
|
|
51
52
|
- [TypeScript Support](#typescript-support)
|
|
52
53
|
- [Error Handling](#error-handling)
|
|
@@ -60,10 +61,11 @@ The `@uluops/core` SDK provides:
|
|
|
60
61
|
- **4-Layer Execution Hierarchy** - Agent > Command > Workflow > Pipeline orchestration
|
|
61
62
|
- **AI SDK v6 Integration** - Vercel AI SDK for LLM communication with automatic tool loops (`maxSteps`) and built-in retry
|
|
62
63
|
- **Registry-Backed Model Resolution** - Model aliases resolved via UluOps Registry with provider metadata
|
|
63
|
-
- **Multi-Provider AI** - Anthropic
|
|
64
|
-
- **Filesystem Sandboxing** - ToolHandler restricts LLM file access to the target directory
|
|
64
|
+
- **Multi-Provider AI** - Anthropic-first with deepest optimization (caching, context management, bash tools); OpenAI + Google bundled; Mistral, Cohere, and 10+ others via dynamic `@ai-sdk/*` import. See [SCOPE.md](SCOPE.md) for provider strategy.
|
|
65
|
+
- **Filesystem Sandboxing** - ToolHandler restricts LLM file access to the target directory with symlink-aware path validation
|
|
65
66
|
- **Content-Addressed Integrity** - SHA-256 hash verification on all definitions
|
|
66
|
-
- **
|
|
67
|
+
- **Universal Agent Output** - Single `agentOutputSchema` with categories + artifacts for all 6 agent types (validator, executor, analyst, generator, explorer, forecaster)
|
|
68
|
+
- **Structured Output Extraction** - 4-strategy fallback: AI SDK structured output > JSON code fence > inline JSON > regex text parsing
|
|
67
69
|
- **Validation Tracking** - Automatic result submission with issue correlation, regression detection, and analytics
|
|
68
70
|
- **Local Development Support** - Load definitions from local YAML files with registry fallback
|
|
69
71
|
- **Bundled Starter Agents** - 5 built-in agents for immediate use without registry access
|
|
@@ -324,16 +326,16 @@ console.log(`Effective total: ${metrics.totalEffectiveTokens}`);
|
|
|
324
326
|
UluOpsClient (facade)
|
|
325
327
|
|
|
|
326
328
|
+-- AgentExecutor (single-agent LLM execution)
|
|
327
|
-
| +-- AIProvider (AI SDK v6 wrapper,
|
|
328
|
-
| +-- ToolHandler (sandboxed filesystem tools)
|
|
329
|
+
| +-- AIProvider (AI SDK v6 wrapper, provider registry, context management)
|
|
330
|
+
| +-- ToolHandler (sandboxed filesystem tools with symlink protection)
|
|
329
331
|
| +-- ToolAdapter (converts tools to AI SDK format)
|
|
330
|
-
| +-- OutputExtractor (
|
|
332
|
+
| +-- OutputExtractor (4-strategy: structured output > JSON fence > inline JSON > regex)
|
|
331
333
|
|
|
|
332
|
-
+-- CommandExecutor (single/multi-agent aggregation)
|
|
334
|
+
+-- CommandExecutor (single/multi-agent aggregation via Promise.allSettled)
|
|
333
335
|
| +-- AgentExecutor
|
|
334
|
-
| +-- preflight (prerequisite checks)
|
|
336
|
+
| +-- preflight (prerequisite checks with path traversal protection)
|
|
335
337
|
|
|
|
336
|
-
+-- WorkflowExecutor (
|
|
338
|
+
+-- WorkflowExecutor (DAG-based parallel phase orchestration with quality gates)
|
|
337
339
|
| +-- CommandExecutor
|
|
338
340
|
|
|
|
339
341
|
+-- PipelineExecutor (multi-stage async pipelines)
|
|
@@ -349,11 +351,92 @@ UluOpsClient (facade)
|
|
|
349
351
|
|
|
350
352
|
| Level | Definition | Description |
|
|
351
353
|
|-------|-----------|-------------|
|
|
352
|
-
| Agent | ADL | Atomic unit: single LLM with filesystem tools |
|
|
354
|
+
| Agent | ADL | Atomic unit: single LLM with filesystem tools. 6 types: validator, executor, analyst, generator, explorer, forecaster — all produce a universal `AgentResult` with score, categories, and optional artifacts |
|
|
353
355
|
| Command | CDL | Wraps 1+ agents with preflight checks and aggregation |
|
|
354
|
-
| Workflow | WDL | Sequences commands into phases with gates |
|
|
356
|
+
| Workflow | WDL | Sequences commands into phases with quality gates (DAG-based parallel execution) |
|
|
355
357
|
| Pipeline | PDL | Orchestrates workflows/commands across stages |
|
|
356
358
|
|
|
359
|
+
## Advanced Exports
|
|
360
|
+
|
|
361
|
+
All internal components are exported for direct use when `UluOpsClient` is too opinionated. Import from the package root:
|
|
362
|
+
|
|
363
|
+
```typescript
|
|
364
|
+
import {
|
|
365
|
+
// Executors — run definitions at any level without the UluOpsClient facade
|
|
366
|
+
AgentExecutor, // Single-agent LLM execution with tool loop
|
|
367
|
+
CommandExecutor, // Multi-agent aggregation with preflight checks
|
|
368
|
+
WorkflowExecutor, // DAG-based parallel phase orchestration with quality gates
|
|
369
|
+
PipelineExecutor, // Multi-stage async pipelines
|
|
370
|
+
|
|
371
|
+
// Service clients — talk to UluOps APIs directly
|
|
372
|
+
RegistryClient, // Definition resolution, local/remote with hash verification
|
|
373
|
+
ValidationClient, // Run submission, history queries, regression detection
|
|
374
|
+
|
|
375
|
+
// AI layer — provider management and model resolution
|
|
376
|
+
AIProvider, // AI SDK v6 wrapper with provider registry and error mapping
|
|
377
|
+
ModelCatalog, // Registry-backed model alias → provider/model resolution
|
|
378
|
+
ToolAdapter, // Converts ToolHandler tools to AI SDK ToolSet format
|
|
379
|
+
TokenBudgetTracker, // Tracks token consumption against configurable budgets
|
|
380
|
+
|
|
381
|
+
// Utilities
|
|
382
|
+
OutputExtractor, // 4-strategy LLM output parser (structured > JSON fence > inline > regex)
|
|
383
|
+
ToolHandler, // Sandboxed filesystem tools (read, write, glob, grep, search)
|
|
384
|
+
parseRef, // Parse "name@version" reference strings
|
|
385
|
+
classifyDecision, // Classify decision strings into positive/negative/conditional/neutral
|
|
386
|
+
buildVocabularyMap, // Build custom decision vocabulary from agent definitions
|
|
387
|
+
} from '@uluops/core';
|
|
388
|
+
```
|
|
389
|
+
|
|
390
|
+
### Direct Executor Usage
|
|
391
|
+
|
|
392
|
+
```typescript
|
|
393
|
+
import { AgentExecutor, AIProvider, RegistryClient } from '@uluops/core';
|
|
394
|
+
|
|
395
|
+
// Wire up dependencies manually
|
|
396
|
+
const ai = new AIProvider(config, catalog, logger);
|
|
397
|
+
const executor = new AgentExecutor(config, ai, logger);
|
|
398
|
+
|
|
399
|
+
// Execute with full control over options
|
|
400
|
+
const result = await executor.execute(resolvedDefinition, {
|
|
401
|
+
target: '/path/to/project',
|
|
402
|
+
}, {
|
|
403
|
+
model: 'opus',
|
|
404
|
+
maxTokens: 16384,
|
|
405
|
+
timeoutMs: 60_000,
|
|
406
|
+
});
|
|
407
|
+
```
|
|
408
|
+
|
|
409
|
+
### Model Resolution
|
|
410
|
+
|
|
411
|
+
```typescript
|
|
412
|
+
import { ModelCatalog } from '@uluops/core';
|
|
413
|
+
|
|
414
|
+
const catalog = new ModelCatalog(registrySdk, logger);
|
|
415
|
+
const resolved = await catalog.resolve('sonnet', {
|
|
416
|
+
requiredCapabilities: ['tools', 'extendedThinking'],
|
|
417
|
+
});
|
|
418
|
+
// → { provider: 'anthropic', model: 'claude-sonnet-4-...' }
|
|
419
|
+
```
|
|
420
|
+
|
|
421
|
+
### Decision Classification
|
|
422
|
+
|
|
423
|
+
```typescript
|
|
424
|
+
import { classifyDecision, buildVocabularyMap } from '@uluops/core';
|
|
425
|
+
|
|
426
|
+
// Core vocabularies — covers all execution layers
|
|
427
|
+
classifyDecision('PASS'); // → 'positive'
|
|
428
|
+
classifyDecision('COMPLETE'); // → 'positive'
|
|
429
|
+
classifyDecision('FAIL'); // → 'negative'
|
|
430
|
+
classifyDecision('WARN'); // → 'conditional'
|
|
431
|
+
classifyDecision('PARTIAL'); // → 'conditional' (progress, not failure)
|
|
432
|
+
classifyDecision('MAYBE'); // → 'neutral' (unknown)
|
|
433
|
+
|
|
434
|
+
// Custom vocabulary from agent definition — cognitive lens agents use these
|
|
435
|
+
const vocab = buildVocabularyMap(agentDefinition);
|
|
436
|
+
classifyDecision('EXAMINED', vocab); // → 'positive' (Socrates)
|
|
437
|
+
classifyDecision('VITAL', vocab); // → 'positive' (Nietzsche)
|
|
438
|
+
```
|
|
439
|
+
|
|
357
440
|
## Configuration
|
|
358
441
|
|
|
359
442
|
```typescript
|
|
@@ -380,7 +463,7 @@ const client = new UluOpsClient({
|
|
|
380
463
|
defaultProject: 'my-project', // Default project for result submission
|
|
381
464
|
debug: false, // Detailed execution logging (or ULUOPS_DEBUG)
|
|
382
465
|
defaultThinkingBudget: 10000, // Extended thinking budget (Anthropic + Google models)
|
|
383
|
-
contextBudget: 200000, // Context window budget — forces wrap-up at 80%
|
|
466
|
+
contextBudget: 200000, // Context window budget — forces wrap-up at 80%, Anthropic context management at 50%
|
|
384
467
|
dashboardUrl: 'https://app.uluops.ai', // Dashboard link prefix for run URLs
|
|
385
468
|
|
|
386
469
|
// Local Development
|
|
@@ -412,7 +495,7 @@ Full TypeScript support with exported types for all parameters and results:
|
|
|
412
495
|
```typescript
|
|
413
496
|
import {
|
|
414
497
|
UluOpsClient,
|
|
415
|
-
//
|
|
498
|
+
// Result types — AgentResult is universal for all 6 agent types
|
|
416
499
|
type AgentResult,
|
|
417
500
|
type CommandResult,
|
|
418
501
|
type WorkflowResult,
|
|
@@ -426,6 +509,9 @@ import {
|
|
|
426
509
|
type UluOpsConfig,
|
|
427
510
|
type ExecutionInput,
|
|
428
511
|
type ExecutionOptions,
|
|
512
|
+
// Decision classification
|
|
513
|
+
classifyDecision,
|
|
514
|
+
type DecisionCategory,
|
|
429
515
|
// Usage metrics
|
|
430
516
|
type UsageMetrics,
|
|
431
517
|
// Error classes
|
|
@@ -449,24 +535,26 @@ import type { AgentResult, ExecutionInput } from '@uluops/core/types';
|
|
|
449
535
|
import { ExecutionError, ConfigurationError } from '@uluops/core/errors';
|
|
450
536
|
```
|
|
451
537
|
|
|
538
|
+
> **Note:** The `/types` subpath exports consumer-facing types only. Internal registry configuration types (`CategoryConfig`, `CriteriaConfig`, `PhaseConfig`, etc.) are available via the root import `@uluops/core`.
|
|
539
|
+
|
|
452
540
|
## Error Handling
|
|
453
541
|
|
|
454
542
|
The SDK provides a structured error hierarchy:
|
|
455
543
|
|
|
456
544
|
### Core SDK Errors
|
|
457
545
|
|
|
458
|
-
| Error | Description |
|
|
459
|
-
|
|
460
|
-
| `UluOpsError` | Base error class for all SDK errors |
|
|
461
|
-
| `
|
|
462
|
-
| `
|
|
463
|
-
| `
|
|
464
|
-
| `
|
|
465
|
-
| `
|
|
466
|
-
| `
|
|
467
|
-
| `
|
|
468
|
-
| `
|
|
469
|
-
| `
|
|
546
|
+
| Error | Thrown by | Description |
|
|
547
|
+
|-------|----------|-------------|
|
|
548
|
+
| `UluOpsError` | _(base class)_ | Base error class for all SDK errors |
|
|
549
|
+
| `ConfigurationError` | `UluOpsClient` constructor, `RegistryClient.resolve()`, `AIProvider.ensureProvider()` | Missing API key, invalid provider config, definition not found in registry, invalid definition format |
|
|
550
|
+
| `ModelNotFoundError` | `ModelCatalog.resolve()` | Model alias not found in registry catalog |
|
|
551
|
+
| `CapabilityError` | `ModelCatalog.resolve()` | Resolved model lacks a required capability (e.g. tools, vision, extendedThinking) |
|
|
552
|
+
| `PreflightError` | `CommandExecutor` (preflight phase) | Preflight check failed — missing env var, file not found, command unavailable |
|
|
553
|
+
| `ExecutionError` | `AgentExecutor.execute()`, `CommandExecutor.execute()` | Agent execution failure or definition type mismatch. Check `error.partialResult` for partial output |
|
|
554
|
+
| `ParseError` | `OutputExtractor.extractWithMetadata()` | LLM output could not be parsed as structured JSON. Check `error.contentPreview` for raw output |
|
|
555
|
+
| `ValidationError` | `ValidationClient` methods | Validation service rejected a submission. Use `ValidationErrorCodes` to narrow by code |
|
|
556
|
+
| `WorkflowError` | `WorkflowExecutor.execute()` | Phase gate failure. Check `error.context.partialResult` for completed phase results |
|
|
557
|
+
| `PipelineError` | `PipelineExecutor.execute()` | Pipeline stage failure. Check `error.context` for stage name/index |
|
|
470
558
|
|
|
471
559
|
```typescript
|
|
472
560
|
import { ConfigurationError, ModelNotFoundError, ExecutionError } from '@uluops/core';
|
|
@@ -538,6 +626,11 @@ npm run lint
|
|
|
538
626
|
npm run build
|
|
539
627
|
```
|
|
540
628
|
|
|
629
|
+
## Maintainers
|
|
630
|
+
|
|
631
|
+
- **Alex Self** ([@aself](https://github.com/aself)) — architecture, execution engine, AI integration
|
|
632
|
+
- **Claude** (Anthropic) — implementation, validation, documentation
|
|
633
|
+
|
|
541
634
|
## License
|
|
542
635
|
|
|
543
|
-
|
|
636
|
+
Proprietary — Copyright (c) 2026 Uluops. See [LICENSE](LICENSE) for details.
|
package/dist/ai/AIProvider.d.ts
CHANGED
|
@@ -84,16 +84,15 @@ export declare class AIProvider {
|
|
|
84
84
|
/**
|
|
85
85
|
* Allowlist of valid provider names for dynamic import.
|
|
86
86
|
* Prevents path traversal via crafted provider strings (CWE-829).
|
|
87
|
+
* Built from defaults + any additional providers from config.
|
|
87
88
|
*/
|
|
88
|
-
private
|
|
89
|
+
private validProviders;
|
|
89
90
|
/** Initialized AI SDK provider factories, keyed by provider name */
|
|
90
91
|
private providers;
|
|
91
92
|
/** Anthropic provider instance for accessing provider-defined tools */
|
|
92
93
|
private anthropicInstance?;
|
|
93
94
|
/** OpenAI provider instance for accessing provider-defined tools */
|
|
94
95
|
private openaiInstance?;
|
|
95
|
-
/** Google provider instance for future provider-defined tools (googleSearch, codeExecution) */
|
|
96
|
-
private googleInstance?;
|
|
97
96
|
constructor(config: ResolvedConfig, catalog: ModelCatalog, logger: Logger);
|
|
98
97
|
/**
|
|
99
98
|
* Generate text with automatic tool loop handling.
|
|
@@ -106,6 +105,22 @@ export declare class AIProvider {
|
|
|
106
105
|
* 5. Call generateText with maxSteps for automatic tool loop
|
|
107
106
|
*/
|
|
108
107
|
generate(options: AIGenerateOptions): Promise<AIGenerateResult>;
|
|
108
|
+
/**
|
|
109
|
+
* Log pre-generation context for debugging.
|
|
110
|
+
*/
|
|
111
|
+
private logPreGeneration;
|
|
112
|
+
/**
|
|
113
|
+
* Execute generateText with tool loop and step tracking.
|
|
114
|
+
*/
|
|
115
|
+
private executeGeneration;
|
|
116
|
+
/**
|
|
117
|
+
* Build AIGenerateResult from successful generateText output.
|
|
118
|
+
*/
|
|
119
|
+
private buildGenerateResult;
|
|
120
|
+
/**
|
|
121
|
+
* Handle generate errors — structured output fallback or error mapping.
|
|
122
|
+
*/
|
|
123
|
+
private handleGenerateError;
|
|
109
124
|
/**
|
|
110
125
|
* Resolve model alias and ensure provider is loaded.
|
|
111
126
|
* @internal Used by AgentExecutor for early provider detection.
|
|
@@ -138,6 +153,11 @@ export declare class AIProvider {
|
|
|
138
153
|
* Build top-level providerOptions for generateText().
|
|
139
154
|
* Dispatches to provider-specific builders.
|
|
140
155
|
*/
|
|
156
|
+
/**
|
|
157
|
+
* Provider-specific option builders. New providers add an entry here
|
|
158
|
+
* instead of adding a new if-branch to buildProviderOptions.
|
|
159
|
+
*/
|
|
160
|
+
private readonly providerOptionsBuilders;
|
|
141
161
|
private buildProviderOptions;
|
|
142
162
|
/**
|
|
143
163
|
* Anthropic-specific provider options.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AIProvider.d.ts","sourceRoot":"","sources":["../../src/ai/AIProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,MAAM,EAA2D,KAAK,OAAO,EAAE,MAAM,IAAI,CAAC;AACjH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAI9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,EAAE,cAAc,EAAoB,MAAM,oBAAoB,CAAC;AAC3E,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"AIProvider.d.ts","sourceRoot":"","sources":["../../src/ai/AIProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,MAAM,EAA2D,KAAK,OAAO,EAAE,MAAM,IAAI,CAAC;AACjH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAI9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,EAAE,cAAc,EAAoB,MAAM,oBAAoB,CAAC;AAC3E,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAY7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,oDAAoD;IACpD,IAAI,EAAE,MAAM,CAAC;IAEb,mCAAmC;IACnC,KAAK,EAAE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