@codelia/runtime 0.1.75 → 0.1.77
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 +19 -0
- package/dist/{chunk-XOARD2XH.js → chunk-CQ3JCCVC.js} +2468 -2236
- package/dist/index.cjs +6539 -6307
- package/dist/index.js +1 -1
- package/dist/sdk.cjs +6539 -6307
- package/dist/sdk.d.cts +12 -1
- package/dist/sdk.d.ts +12 -1
- package/dist/sdk.js +1 -1
- package/package.json +10 -9
package/dist/sdk.d.cts
CHANGED
|
@@ -51,6 +51,17 @@ type ResolvedSearchConfig = {
|
|
|
51
51
|
backend: "ddg" | "brave";
|
|
52
52
|
braveApiKeyEnv: string;
|
|
53
53
|
};
|
|
54
|
+
xai: {
|
|
55
|
+
xSearch: {
|
|
56
|
+
enabled: boolean;
|
|
57
|
+
allowedXHandles?: string[];
|
|
58
|
+
excludedXHandles?: string[];
|
|
59
|
+
fromDate?: string;
|
|
60
|
+
toDate?: string;
|
|
61
|
+
enableImageUnderstanding?: boolean;
|
|
62
|
+
enableVideoUnderstanding?: boolean;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
54
65
|
};
|
|
55
66
|
type WriteScope = "global" | "project";
|
|
56
67
|
type WriteTarget = {
|
|
@@ -72,7 +83,7 @@ type ProviderAuth = {
|
|
|
72
83
|
oauth: OAuthTokens;
|
|
73
84
|
};
|
|
74
85
|
|
|
75
|
-
declare const SUPPORTED_PROVIDERS: readonly ["openai", "anthropic", "openrouter", "zai"];
|
|
86
|
+
declare const SUPPORTED_PROVIDERS: readonly ["openai", "anthropic", "openrouter", "moonshot", "zai", "xai"];
|
|
76
87
|
type SupportedProvider = (typeof SUPPORTED_PROVIDERS)[number];
|
|
77
88
|
|
|
78
89
|
type TaskProcessSignal = "SIGTERM" | "SIGKILL";
|
package/dist/sdk.d.ts
CHANGED
|
@@ -51,6 +51,17 @@ type ResolvedSearchConfig = {
|
|
|
51
51
|
backend: "ddg" | "brave";
|
|
52
52
|
braveApiKeyEnv: string;
|
|
53
53
|
};
|
|
54
|
+
xai: {
|
|
55
|
+
xSearch: {
|
|
56
|
+
enabled: boolean;
|
|
57
|
+
allowedXHandles?: string[];
|
|
58
|
+
excludedXHandles?: string[];
|
|
59
|
+
fromDate?: string;
|
|
60
|
+
toDate?: string;
|
|
61
|
+
enableImageUnderstanding?: boolean;
|
|
62
|
+
enableVideoUnderstanding?: boolean;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
54
65
|
};
|
|
55
66
|
type WriteScope = "global" | "project";
|
|
56
67
|
type WriteTarget = {
|
|
@@ -72,7 +83,7 @@ type ProviderAuth = {
|
|
|
72
83
|
oauth: OAuthTokens;
|
|
73
84
|
};
|
|
74
85
|
|
|
75
|
-
declare const SUPPORTED_PROVIDERS: readonly ["openai", "anthropic", "openrouter", "zai"];
|
|
86
|
+
declare const SUPPORTED_PROVIDERS: readonly ["openai", "anthropic", "openrouter", "moonshot", "zai", "xai"];
|
|
76
87
|
type SupportedProvider = (typeof SUPPORTED_PROVIDERS)[number];
|
|
77
88
|
|
|
78
89
|
type TaskProcessSignal = "SIGTERM" | "SIGKILL";
|
package/dist/sdk.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codelia/runtime",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.77",
|
|
4
|
+
"license": "MIT",
|
|
4
5
|
"type": "module",
|
|
5
6
|
"engines": {
|
|
6
7
|
"node": ">=20 <25"
|
|
@@ -28,14 +29,14 @@
|
|
|
28
29
|
"typecheck": "tsc --noEmit"
|
|
29
30
|
},
|
|
30
31
|
"dependencies": {
|
|
31
|
-
"@codelia/config": "0.1.
|
|
32
|
-
"@codelia/config-loader": "0.1.
|
|
33
|
-
"@codelia/core": "0.1.
|
|
34
|
-
"@codelia/logger": "0.1.
|
|
35
|
-
"@codelia/model-metadata": "0.1.
|
|
36
|
-
"@codelia/protocol": "0.1.
|
|
37
|
-
"@codelia/shared-types": "0.1.
|
|
38
|
-
"@codelia/storage": "0.1.
|
|
32
|
+
"@codelia/config": "0.1.77",
|
|
33
|
+
"@codelia/config-loader": "0.1.77",
|
|
34
|
+
"@codelia/core": "0.1.77",
|
|
35
|
+
"@codelia/logger": "0.1.77",
|
|
36
|
+
"@codelia/model-metadata": "0.1.77",
|
|
37
|
+
"@codelia/protocol": "0.1.77",
|
|
38
|
+
"@codelia/shared-types": "0.1.77",
|
|
39
|
+
"@codelia/storage": "0.1.77",
|
|
39
40
|
"eventsource-parser": "^3.0.6",
|
|
40
41
|
"oauth4webapi": "^3.8.4",
|
|
41
42
|
"zod": "^4.3.5"
|