@moldea.ai/adapter-google-genai 2.0.0 → 3.0.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/README.md +3 -3
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -8,12 +8,12 @@ The package implements the official `google-genai` runtime adapter for `@moldea.
|
|
|
8
8
|
|
|
9
9
|
## Supported target
|
|
10
10
|
|
|
11
|
-
Version `
|
|
11
|
+
Version `3.0.0` supports:
|
|
12
12
|
|
|
13
13
|
- Repository Format version `1`
|
|
14
|
-
- `@moldea.ai/core
|
|
14
|
+
- `@moldea.ai/core ^4.0.0`
|
|
15
15
|
- TypeScript ESM source
|
|
16
|
-
- npm `@google/genai >=2.17.1
|
|
16
|
+
- npm `@google/genai >=2.17.1`
|
|
17
17
|
- a named runtime value import of `GoogleGenAI` and a module-local `const` client
|
|
18
18
|
- a bound exported runtime-agent function containing direct `client.models.generateContent({ ... })` calls
|
|
19
19
|
- direct instruction-loader wiring through `config.systemInstruction`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const GOOGLE_GENAI_ADAPTER_ID = "google-genai";
|
|
2
2
|
export declare const GOOGLE_GENAI_GENERATE_CONTENT_RUNTIME_NAME = "models.generateContent";
|
|
3
3
|
export declare const GOOGLE_GENAI_SDK_PACKAGE_NAME = "@google/genai";
|
|
4
|
-
export declare const GOOGLE_GENAI_SDK_SUPPORTED_RANGE = ">=2.17.1
|
|
4
|
+
export declare const GOOGLE_GENAI_SDK_SUPPORTED_RANGE = ">=2.17.1";
|
|
5
5
|
export declare const GOOGLE_GENAI_SUPPORTED_REPOSITORY_FORMAT_VERSIONS: readonly 1[];
|
|
6
6
|
export declare const GOOGLE_GENAI_FUNCTION_DECLARATION_LIMIT = 512;
|
|
7
7
|
export declare const GOOGLE_GENAI_FUNCTION_NAME_LIMIT = 128;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,uBAAuB,iBAAiB,CAAC;AACtD,eAAO,MAAM,0CAA0C,2BAA2B,CAAC;AACnF,eAAO,MAAM,6BAA6B,kBAAkB,CAAC;AAC7D,eAAO,MAAM,gCAAgC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,uBAAuB,iBAAiB,CAAC;AACtD,eAAO,MAAM,0CAA0C,2BAA2B,CAAC;AACnF,eAAO,MAAM,6BAA6B,kBAAkB,CAAC;AAC7D,eAAO,MAAM,gCAAgC,aAAa,CAAC;AAC3D,eAAO,MAAM,iDAAiD,cAEd,CAAC;AAGjD,eAAO,MAAM,uCAAuC,MAAM,CAAC;AAC3D,eAAO,MAAM,gCAAgC,MAAM,CAAC;AACpD,eAAO,MAAM,kCAAkC,QAAgC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { readRuntimeAdapterFile } from "@moldea.ai/core/adapter";
|
|
|
7
7
|
var GOOGLE_GENAI_ADAPTER_ID = "google-genai";
|
|
8
8
|
var GOOGLE_GENAI_GENERATE_CONTENT_RUNTIME_NAME = "models.generateContent";
|
|
9
9
|
var GOOGLE_GENAI_SDK_PACKAGE_NAME = "@google/genai";
|
|
10
|
-
var GOOGLE_GENAI_SDK_SUPPORTED_RANGE = ">=2.17.1
|
|
10
|
+
var GOOGLE_GENAI_SDK_SUPPORTED_RANGE = ">=2.17.1";
|
|
11
11
|
var GOOGLE_GENAI_SUPPORTED_REPOSITORY_FORMAT_VERSIONS = Object.freeze([1]);
|
|
12
12
|
var GOOGLE_GENAI_FUNCTION_NAME_PATTERN = /^[A-Za-z_][A-Za-z0-9_.:-]*$/;
|
|
13
13
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moldea.ai/adapter-google-genai",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Deterministic runtime evidence and diagnostics for direct Google Gen AI SDK integrations.",
|
|
5
5
|
"homepage": "https://github.com/moldea-ai/packages/tree/main/projects/adapter-google-genai#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"node": ">=22.11.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@moldea.ai/core": "
|
|
37
|
-
"@moldea.ai/repository": "2.0.0",
|
|
36
|
+
"@moldea.ai/core": "^4.0.0",
|
|
37
|
+
"@moldea.ai/repository": "^2.0.0",
|
|
38
38
|
"semver": "7.8.5",
|
|
39
39
|
"typescript": "6.0.3"
|
|
40
40
|
},
|