@elevasis/sdk 1.42.0 → 1.43.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/dist/cli.cjs +16 -75
- package/dist/index.d.ts +265 -140
- package/dist/index.js +15 -74
- package/dist/node/index.d.ts +262 -125
- package/dist/test-utils/index.d.ts +264 -129
- package/dist/test-utils/index.js +441 -905
- package/dist/types/worker/adapters/llm.d.ts +2 -4
- package/dist/worker/index.js +432 -896
- package/package.json +4 -4
- package/reference/claude-config/sync-notes/2026-07-30-login-screen-and-member-provisioning-state.md +114 -0
- package/reference/sdk/platform-tools/index.mdx +5 -6
|
@@ -7,19 +7,17 @@
|
|
|
7
7
|
* Types are shared with the server-side LLM engine and inlined for SDK consumers.
|
|
8
8
|
*/
|
|
9
9
|
import type { LLMGenerateRequest, LLMGenerateResponse, LLMModel } from '../../types/index.js';
|
|
10
|
-
type LLMProvider = 'openai' | 'anthropic' | 'openrouter'
|
|
10
|
+
type LLMProvider = 'openai' | 'anthropic' | 'openrouter';
|
|
11
11
|
/**
|
|
12
12
|
* SDK LLM generate params.
|
|
13
13
|
* Extends LLMGenerateRequest with required provider/model for worker→platform dispatch.
|
|
14
14
|
* Provider and model must always be specified explicitly — no implicit fallback.
|
|
15
15
|
*/
|
|
16
|
-
export interface SDKLLMGenerateParams extends Omit<LLMGenerateRequest, 'signal'
|
|
16
|
+
export interface SDKLLMGenerateParams extends Omit<LLMGenerateRequest, 'signal'> {
|
|
17
17
|
/** LLM provider */
|
|
18
18
|
provider: LLMProvider;
|
|
19
19
|
/** Model identifier — must be a supported LLMModel */
|
|
20
20
|
model: LLMModel;
|
|
21
|
-
/** JSON Schema for structured output (optional — omit for unstructured text) */
|
|
22
|
-
responseSchema?: unknown;
|
|
23
21
|
}
|
|
24
22
|
/**
|
|
25
23
|
* Typed LLM adapter for structured output generation.
|