@rainfall-devkit/sdk 0.1.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 +21 -0
- package/README.md +467 -0
- package/dist/chunk-UP45HOXN.mjs +731 -0
- package/dist/cli/index.d.mts +1 -0
- package/dist/cli/index.d.ts +1 -0
- package/dist/cli/index.js +1067 -0
- package/dist/cli/index.mjs +357 -0
- package/dist/errors-DdRTwxpT.d.mts +809 -0
- package/dist/errors-DdRTwxpT.d.ts +809 -0
- package/dist/index.d.mts +29 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.js +771 -0
- package/dist/index.mjs +30 -0
- package/dist/mcp.d.mts +68 -0
- package/dist/mcp.d.ts +68 -0
- package/dist/mcp.js +922 -0
- package/dist/mcp.mjs +181 -0
- package/package.json +69 -0
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export { A as AI, a as ApiError, b as ApiResponse, c as Articles, d as AuthenticationError, D as Data, I as Integrations, M as Memory, N as NetworkError, e as NotFoundError, R as Rainfall, f as RainfallClient, g as RainfallConfig, h as RainfallError, i as RateLimitError, j as RateLimitInfo, k as RequestOptions, S as ServerError, T as TimeoutError, l as ToolNotFoundError, m as ToolSchema, U as Utils, V as ValidationError, W as Web } from './errors-DdRTwxpT.mjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Rainfall SDK - Official SDK for Rainfall API
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import { Rainfall } from '@rainfall/sdk';
|
|
9
|
+
*
|
|
10
|
+
* const rainfall = new Rainfall({ apiKey: 'your-api-key' });
|
|
11
|
+
*
|
|
12
|
+
* // Use namespace-based DSL
|
|
13
|
+
* const issues = await rainfall.integrations.github.issues.list({
|
|
14
|
+
* owner: 'facebook',
|
|
15
|
+
* repo: 'react'
|
|
16
|
+
* });
|
|
17
|
+
*
|
|
18
|
+
* // Search web
|
|
19
|
+
* const results = await rainfall.web.search.exa({ query: 'AI news' });
|
|
20
|
+
*
|
|
21
|
+
* // Store and recall memories
|
|
22
|
+
* await rainfall.memory.create({ content: 'Important info' });
|
|
23
|
+
* const memories = await rainfall.memory.recall({ query: 'important' });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
declare const VERSION = "0.1.0";
|
|
28
|
+
|
|
29
|
+
export { VERSION };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export { A as AI, a as ApiError, b as ApiResponse, c as Articles, d as AuthenticationError, D as Data, I as Integrations, M as Memory, N as NetworkError, e as NotFoundError, R as Rainfall, f as RainfallClient, g as RainfallConfig, h as RainfallError, i as RateLimitError, j as RateLimitInfo, k as RequestOptions, S as ServerError, T as TimeoutError, l as ToolNotFoundError, m as ToolSchema, U as Utils, V as ValidationError, W as Web } from './errors-DdRTwxpT.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Rainfall SDK - Official SDK for Rainfall API
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import { Rainfall } from '@rainfall/sdk';
|
|
9
|
+
*
|
|
10
|
+
* const rainfall = new Rainfall({ apiKey: 'your-api-key' });
|
|
11
|
+
*
|
|
12
|
+
* // Use namespace-based DSL
|
|
13
|
+
* const issues = await rainfall.integrations.github.issues.list({
|
|
14
|
+
* owner: 'facebook',
|
|
15
|
+
* repo: 'react'
|
|
16
|
+
* });
|
|
17
|
+
*
|
|
18
|
+
* // Search web
|
|
19
|
+
* const results = await rainfall.web.search.exa({ query: 'AI news' });
|
|
20
|
+
*
|
|
21
|
+
* // Store and recall memories
|
|
22
|
+
* await rainfall.memory.create({ content: 'Important info' });
|
|
23
|
+
* const memories = await rainfall.memory.recall({ query: 'important' });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
declare const VERSION = "0.1.0";
|
|
28
|
+
|
|
29
|
+
export { VERSION };
|