@rcrsr/rill-ext-gemini 0.8.3 → 0.8.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rcrsr/rill-ext-gemini",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "description": "rill extension for Google Gemini API integration",
5
5
  "license": "MIT",
6
6
  "author": "Andre Bremer",
@@ -17,10 +17,15 @@
17
17
  "scripting"
18
18
  ],
19
19
  "peerDependencies": {
20
- "@rcrsr/rill": "^0.8.3"
20
+ "@rcrsr/rill": "^0.8.4"
21
21
  },
22
22
  "devDependencies": {
23
- "@rcrsr/rill": "^0.8.3"
23
+ "@types/node": "^25.2.3",
24
+ "dts-bundle-generator": "^9.5.1",
25
+ "tsup": "^8.5.0",
26
+ "undici-types": "^7.21.0",
27
+ "@rcrsr/rill": "^0.8.4",
28
+ "@rcrsr/rill-ext-llm-shared": "^0.0.1"
24
29
  },
25
30
  "files": [
26
31
  "dist"
@@ -38,11 +43,10 @@
38
43
  "access": "public"
39
44
  },
40
45
  "dependencies": {
41
- "@google/genai": "^1.40.0",
42
- "@rcrsr/rill-ext-llm-shared": "^0.0.1"
46
+ "@google/genai": "^1.40.0"
43
47
  },
44
48
  "scripts": {
45
- "build": "tsc --build",
49
+ "build": "tsup && dts-bundle-generator --config dts-bundle-generator.config.cjs",
46
50
  "test": "vitest run",
47
51
  "typecheck": "tsc --noEmit",
48
52
  "lint": "eslint --config ../../../eslint.config.js src/",
package/dist/factory.d.ts DELETED
@@ -1,27 +0,0 @@
1
- /**
2
- * Extension factory for Gemini API integration.
3
- * Creates extension instance with config validation and SDK lifecycle management.
4
- */
5
- import { type ExtensionResult } from '@rcrsr/rill';
6
- import type { GeminiExtensionConfig } from './types.js';
7
- /**
8
- * Create Gemini extension instance.
9
- * Validates configuration and returns host functions with cleanup.
10
- *
11
- * @param config - Extension configuration
12
- * @returns ExtensionResult with message, messages, embed, embed_batch, tool_loop and dispose
13
- * @throws Error for invalid configuration (EC-1 through EC-4)
14
- *
15
- * @example
16
- * ```typescript
17
- * const ext = createGeminiExtension({
18
- * api_key: process.env.GOOGLE_API_KEY,
19
- * model: 'gemini-2.0-flash',
20
- * temperature: 0.7
21
- * });
22
- * // Use with rill runtime...
23
- * await ext.dispose();
24
- * ```
25
- */
26
- export declare function createGeminiExtension(config: GeminiExtensionConfig): ExtensionResult;
27
- //# sourceMappingURL=factory.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAUH,OAAO,EAML,KAAK,eAAe,EAGrB,MAAM,aAAa,CAAC;AAarB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AA2CxD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,qBAAqB,GAC5B,eAAe,CA00BjB"}