@cetra-ai/sdk 0.0.0 → 0.1.0-rc.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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -581,5 +581,5 @@ export declare function withLlmSpan<T>(name: string, options: LlmSpanOptions, fn
|
|
|
581
581
|
*/
|
|
582
582
|
export declare function uuid7(): string;
|
|
583
583
|
/** Package version. Kept equal to package.json. */
|
|
584
|
-
export declare const VERSION = "0.0.
|
|
584
|
+
export declare const VERSION = "0.1.0-rc.1";
|
|
585
585
|
export { type AddedQueueItems, type AiTelemetry, type AiTelemetryOptions, type AnnotationQueue, type AnnotationQueueItem, type AnnotationQueues, type CetraOptions, type ChatEntry, type ChatMessage, type ClientOptions, ConfigError, type ContextOptions, type DatasetInfo, type DatasetItem, type Datasets, type EvaluateOptions, type GetPromptOptions, type Instrumentation, type LlmSpanHandle, type LlmSpanOptions, type NewDatasetItem, type ObserveOptions, type PromptValues, type Prompts, type QueueCounts, type QueueItemStatus, type QueueTarget, type QueueTargets, type Run, type Score, type ScoreOptions, type Scorer, type ScorerArgs, type SkippedQueueItem, type SpanHandle, type SpanKind, type SpanOptions, type Usage, flush, init, score, shutdown, spanProcessor, tracerProvider };
|
package/dist/index.js
CHANGED
|
@@ -4052,5 +4052,5 @@ function errorName(error) {
|
|
|
4052
4052
|
}
|
|
4053
4053
|
// src/index.ts
|
|
4054
4054
|
/** Package version. Kept equal to package.json. */
|
|
4055
|
-
const VERSION = "0.0.
|
|
4055
|
+
const VERSION = "0.1.0-rc.1";
|
|
4056
4056
|
export { ApiError, Client, ConfigError, Dataset, ExperimentResult, Prompt, PromptCompileError, PromptNotAvailable, VERSION, aiTelemetry, currentSpanId, currentTraceId, evaluate, flush, getPrompt, init, observe, score, shutdown, spanProcessor, tracerProvider, uuid7, withContext, withLlmSpan, withSpan };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cetra-ai/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.1.0-rc.1",
|
|
4
4
|
"description": "TypeScript SDK for cetra.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -50,13 +50,6 @@
|
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
|
-
"scripts": {
|
|
54
|
-
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
|
|
55
|
-
"test": "vitest run",
|
|
56
|
-
"build": "tsdown",
|
|
57
|
-
"check:package": "publint && attw --pack . --profile esm-only",
|
|
58
|
-
"check": "biome check . && pnpm typecheck && pnpm test && pnpm build && pnpm check:package"
|
|
59
|
-
},
|
|
60
53
|
"devDependencies": {
|
|
61
54
|
"@anthropic-ai/sdk": "1.6.0",
|
|
62
55
|
"@arethetypeswrong/cli": "0.18.5",
|
|
@@ -107,5 +100,12 @@
|
|
|
107
100
|
"openai": {
|
|
108
101
|
"optional": true
|
|
109
102
|
}
|
|
103
|
+
},
|
|
104
|
+
"scripts": {
|
|
105
|
+
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
|
|
106
|
+
"test": "vitest run",
|
|
107
|
+
"build": "tsdown",
|
|
108
|
+
"check:package": "publint && attw --pack . --profile esm-only",
|
|
109
|
+
"check": "biome check . && pnpm typecheck && pnpm test && pnpm build && pnpm check:package"
|
|
110
110
|
}
|
|
111
|
-
}
|
|
111
|
+
}
|