shuvcode 2.0.8-shuv.2 → 2.0.12-shuv.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/client/generated/types.d.ts +90 -88
- package/package.json +13 -13
|
@@ -25,9 +25,12 @@ export type ModelRef = {
|
|
|
25
25
|
providerID: string;
|
|
26
26
|
variant?: string;
|
|
27
27
|
};
|
|
28
|
-
export type
|
|
29
|
-
|
|
28
|
+
export type ProviderCompaction = {
|
|
29
|
+
type: "summary";
|
|
30
|
+
} | {
|
|
31
|
+
type: "native";
|
|
30
32
|
};
|
|
33
|
+
export type ProviderTransport = "http" | "websocket";
|
|
31
34
|
export type AgentColor = string;
|
|
32
35
|
export type PermissionEffect = "allow" | "deny" | "ask";
|
|
33
36
|
export type PluginSource = {
|
|
@@ -342,30 +345,11 @@ export type FormExternalField = {
|
|
|
342
345
|
export type FormValue = string | number | "Infinity" | "-Infinity" | "NaN" | boolean | Array<string>;
|
|
343
346
|
export type ModelReasoningField = "reasoning" | "reasoning_content" | "reasoning_text" | (string & {});
|
|
344
347
|
export type ModelMaxTokensField = "max_completion_tokens" | "max_tokens";
|
|
345
|
-
export type ProviderCompaction = {
|
|
346
|
-
mode: "local";
|
|
347
|
-
} | {
|
|
348
|
-
mode: "provider";
|
|
349
|
-
threshold?: number;
|
|
350
|
-
};
|
|
351
|
-
export type ProviderTransport = "http" | "websocket";
|
|
352
348
|
export type ModelCapabilities = {
|
|
353
349
|
tools: boolean;
|
|
354
350
|
input: Array<string>;
|
|
355
351
|
output: Array<string>;
|
|
356
352
|
};
|
|
357
|
-
export type ModelVariant = {
|
|
358
|
-
id: string;
|
|
359
|
-
settings?: {
|
|
360
|
-
[x: string]: any;
|
|
361
|
-
};
|
|
362
|
-
headers?: {
|
|
363
|
-
[x: string]: string;
|
|
364
|
-
};
|
|
365
|
-
body?: {
|
|
366
|
-
[x: string]: any;
|
|
367
|
-
};
|
|
368
|
-
};
|
|
369
353
|
export type MoneyUSDPerMillionTokens = number;
|
|
370
354
|
export type GenerateTextResponse = {
|
|
371
355
|
data: {
|
|
@@ -739,14 +723,31 @@ export type V2EventServerConnected = {
|
|
|
739
723
|
type: "server.connected";
|
|
740
724
|
data: {};
|
|
741
725
|
};
|
|
742
|
-
export type
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
726
|
+
export type ModelSettings = {
|
|
727
|
+
compaction?: ProviderCompaction;
|
|
728
|
+
} & {
|
|
729
|
+
[x: string]: any;
|
|
730
|
+
};
|
|
731
|
+
export type ConfigModelSettings = {
|
|
732
|
+
compaction?: ProviderCompaction;
|
|
733
|
+
} & {
|
|
734
|
+
[x: string]: JsonValue | null;
|
|
735
|
+
};
|
|
736
|
+
export type ProviderSettings = {
|
|
737
|
+
timeout?: number | false;
|
|
738
|
+
chunkTimeout?: number;
|
|
739
|
+
compaction?: ProviderCompaction;
|
|
740
|
+
transport?: ProviderTransport;
|
|
741
|
+
} & {
|
|
742
|
+
[x: string]: any;
|
|
743
|
+
};
|
|
744
|
+
export type ConfigProviderSettings = {
|
|
745
|
+
timeout?: number | false;
|
|
746
|
+
chunkTimeout?: number;
|
|
747
|
+
compaction?: ProviderCompaction;
|
|
748
|
+
transport?: ProviderTransport;
|
|
749
|
+
} & {
|
|
750
|
+
[x: string]: JsonValue | null;
|
|
750
751
|
};
|
|
751
752
|
export type PermissionRule = {
|
|
752
753
|
action: string;
|
|
@@ -2160,25 +2161,6 @@ export type ModelCompatibility = {
|
|
|
2160
2161
|
requireAssistantAfterTool?: boolean;
|
|
2161
2162
|
supportsPromptCacheKey?: boolean;
|
|
2162
2163
|
};
|
|
2163
|
-
export type ProviderInfo = {
|
|
2164
|
-
id: string;
|
|
2165
|
-
canonical?: string;
|
|
2166
|
-
integrationID?: string;
|
|
2167
|
-
name: string;
|
|
2168
|
-
activation: "auto" | "enabled" | "disabled";
|
|
2169
|
-
package: string;
|
|
2170
|
-
compaction?: ProviderCompaction;
|
|
2171
|
-
transport?: ProviderTransport;
|
|
2172
|
-
settings?: {
|
|
2173
|
-
[x: string]: any;
|
|
2174
|
-
};
|
|
2175
|
-
headers?: {
|
|
2176
|
-
[x: string]: string;
|
|
2177
|
-
};
|
|
2178
|
-
body?: {
|
|
2179
|
-
[x: string]: any;
|
|
2180
|
-
};
|
|
2181
|
-
};
|
|
2182
2164
|
export type ModelCost = {
|
|
2183
2165
|
tier?: {
|
|
2184
2166
|
type: "context";
|
|
@@ -2420,6 +2402,40 @@ export type SessionInboxMove = {
|
|
|
2420
2402
|
delivery: SessionInboxDelivery;
|
|
2421
2403
|
payload: SessionInboxMovePayload;
|
|
2422
2404
|
};
|
|
2405
|
+
export type ModelVariant = {
|
|
2406
|
+
id: string;
|
|
2407
|
+
settings?: ModelSettings;
|
|
2408
|
+
headers?: {
|
|
2409
|
+
[x: string]: string;
|
|
2410
|
+
};
|
|
2411
|
+
body?: {
|
|
2412
|
+
[x: string]: any;
|
|
2413
|
+
};
|
|
2414
|
+
};
|
|
2415
|
+
export type ProviderRequest = {
|
|
2416
|
+
settings: ProviderSettings;
|
|
2417
|
+
headers: {
|
|
2418
|
+
[x: string]: string;
|
|
2419
|
+
};
|
|
2420
|
+
body: {
|
|
2421
|
+
[x: string]: any;
|
|
2422
|
+
};
|
|
2423
|
+
};
|
|
2424
|
+
export type ProviderInfo = {
|
|
2425
|
+
id: string;
|
|
2426
|
+
canonical?: string;
|
|
2427
|
+
integrationID?: string;
|
|
2428
|
+
name: string;
|
|
2429
|
+
activation: "auto" | "enabled" | "disabled";
|
|
2430
|
+
package: string;
|
|
2431
|
+
settings?: ProviderSettings;
|
|
2432
|
+
headers?: {
|
|
2433
|
+
[x: string]: string;
|
|
2434
|
+
};
|
|
2435
|
+
body?: {
|
|
2436
|
+
[x: string]: any;
|
|
2437
|
+
};
|
|
2438
|
+
};
|
|
2423
2439
|
export type PermissionRuleset = Array<PermissionRule>;
|
|
2424
2440
|
export type SessionRevertStaged = {
|
|
2425
2441
|
id: string;
|
|
@@ -2657,6 +2673,28 @@ export type FormState = {
|
|
|
2657
2673
|
} | {
|
|
2658
2674
|
status: "cancelled";
|
|
2659
2675
|
};
|
|
2676
|
+
export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
|
|
2677
|
+
export type FormReplied = {
|
|
2678
|
+
id: string;
|
|
2679
|
+
created: number;
|
|
2680
|
+
metadata?: {
|
|
2681
|
+
[x: string]: any;
|
|
2682
|
+
};
|
|
2683
|
+
type: "form.replied";
|
|
2684
|
+
location?: LocationRef;
|
|
2685
|
+
data: {
|
|
2686
|
+
id: string;
|
|
2687
|
+
sessionID: string;
|
|
2688
|
+
answer: FormAnswer1;
|
|
2689
|
+
};
|
|
2690
|
+
};
|
|
2691
|
+
export type ReferenceInfo = {
|
|
2692
|
+
name: string;
|
|
2693
|
+
path: string;
|
|
2694
|
+
description?: string;
|
|
2695
|
+
hidden?: boolean;
|
|
2696
|
+
source: ReferenceSource;
|
|
2697
|
+
};
|
|
2660
2698
|
export type ModelInfo = {
|
|
2661
2699
|
id: string;
|
|
2662
2700
|
modelID: string;
|
|
@@ -2666,11 +2704,7 @@ export type ModelInfo = {
|
|
|
2666
2704
|
name: string;
|
|
2667
2705
|
compatibility?: ModelCompatibility;
|
|
2668
2706
|
package?: string;
|
|
2669
|
-
|
|
2670
|
-
transport?: ProviderTransport;
|
|
2671
|
-
settings?: {
|
|
2672
|
-
[x: string]: any;
|
|
2673
|
-
};
|
|
2707
|
+
settings?: ModelSettings;
|
|
2674
2708
|
headers?: {
|
|
2675
2709
|
[x: string]: string;
|
|
2676
2710
|
};
|
|
@@ -2691,28 +2725,6 @@ export type ModelInfo = {
|
|
|
2691
2725
|
output: number;
|
|
2692
2726
|
};
|
|
2693
2727
|
};
|
|
2694
|
-
export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
|
|
2695
|
-
export type FormReplied = {
|
|
2696
|
-
id: string;
|
|
2697
|
-
created: number;
|
|
2698
|
-
metadata?: {
|
|
2699
|
-
[x: string]: any;
|
|
2700
|
-
};
|
|
2701
|
-
type: "form.replied";
|
|
2702
|
-
location?: LocationRef;
|
|
2703
|
-
data: {
|
|
2704
|
-
id: string;
|
|
2705
|
-
sessionID: string;
|
|
2706
|
-
answer: FormAnswer1;
|
|
2707
|
-
};
|
|
2708
|
-
};
|
|
2709
|
-
export type ReferenceInfo = {
|
|
2710
|
-
name: string;
|
|
2711
|
-
path: string;
|
|
2712
|
-
description?: string;
|
|
2713
|
-
hidden?: boolean;
|
|
2714
|
-
source: ReferenceSource;
|
|
2715
|
-
};
|
|
2716
2728
|
export type AgentInfo = {
|
|
2717
2729
|
id: string;
|
|
2718
2730
|
name: string;
|
|
@@ -2983,15 +2995,11 @@ export type ConfigEntry = {
|
|
|
2983
2995
|
};
|
|
2984
2996
|
providers?: {
|
|
2985
2997
|
[x: string]: {
|
|
2986
|
-
compaction?: ProviderCompaction;
|
|
2987
|
-
transport?: ProviderTransport;
|
|
2988
2998
|
canonical?: string;
|
|
2989
2999
|
name?: string;
|
|
2990
3000
|
env?: Array<string>;
|
|
2991
3001
|
package?: string;
|
|
2992
|
-
settings?:
|
|
2993
|
-
[x: string]: JsonValue;
|
|
2994
|
-
};
|
|
3002
|
+
settings?: ConfigProviderSettings;
|
|
2995
3003
|
headers?: {
|
|
2996
3004
|
[x: string]: string;
|
|
2997
3005
|
};
|
|
@@ -3000,16 +3008,12 @@ export type ConfigEntry = {
|
|
|
3000
3008
|
};
|
|
3001
3009
|
models?: {
|
|
3002
3010
|
[x: string]: {
|
|
3003
|
-
compaction?: ProviderCompaction;
|
|
3004
|
-
transport?: ProviderTransport;
|
|
3005
3011
|
modelID?: string;
|
|
3006
3012
|
family?: string;
|
|
3007
3013
|
name?: string;
|
|
3008
3014
|
compatibility?: ModelCompatibility;
|
|
3009
3015
|
package?: string;
|
|
3010
|
-
settings?:
|
|
3011
|
-
[x: string]: JsonValue;
|
|
3012
|
-
};
|
|
3016
|
+
settings?: ConfigModelSettings;
|
|
3013
3017
|
headers?: {
|
|
3014
3018
|
[x: string]: string;
|
|
3015
3019
|
};
|
|
@@ -3019,9 +3023,7 @@ export type ConfigEntry = {
|
|
|
3019
3023
|
capabilities?: ModelCapabilities;
|
|
3020
3024
|
variants?: Array<{
|
|
3021
3025
|
id: string;
|
|
3022
|
-
settings?:
|
|
3023
|
-
[x: string]: JsonValue;
|
|
3024
|
-
};
|
|
3026
|
+
settings?: ConfigModelSettings;
|
|
3025
3027
|
headers?: {
|
|
3026
3028
|
[x: string]: string;
|
|
3027
3029
|
};
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"import": "./client/index.js"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
-
"version": "2.0.
|
|
17
|
+
"version": "2.0.12-shuv.1",
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
"x64"
|
|
31
31
|
],
|
|
32
32
|
"optionalDependencies": {
|
|
33
|
-
"shuvcode-linux-x64": "2.0.
|
|
34
|
-
"shuvcode-linux-x64-baseline": "2.0.
|
|
35
|
-
"shuvcode-linux-arm64": "2.0.
|
|
36
|
-
"shuvcode-linux-x64-musl": "2.0.
|
|
37
|
-
"shuvcode-windows-x64": "2.0.
|
|
38
|
-
"shuvcode-darwin-arm64": "2.0.
|
|
39
|
-
"shuvcode-windows-arm64": "2.0.
|
|
40
|
-
"shuvcode-linux-x64-baseline-musl": "2.0.
|
|
41
|
-
"shuvcode-windows-x64-baseline": "2.0.
|
|
42
|
-
"shuvcode-darwin-x64-baseline": "2.0.
|
|
43
|
-
"shuvcode-linux-arm64-musl": "2.0.
|
|
44
|
-
"shuvcode-darwin-x64": "2.0.
|
|
33
|
+
"shuvcode-linux-x64": "2.0.12-shuv.1",
|
|
34
|
+
"shuvcode-linux-x64-baseline": "2.0.12-shuv.1",
|
|
35
|
+
"shuvcode-linux-arm64": "2.0.12-shuv.1",
|
|
36
|
+
"shuvcode-linux-x64-musl": "2.0.12-shuv.1",
|
|
37
|
+
"shuvcode-windows-x64": "2.0.12-shuv.1",
|
|
38
|
+
"shuvcode-darwin-arm64": "2.0.12-shuv.1",
|
|
39
|
+
"shuvcode-windows-arm64": "2.0.12-shuv.1",
|
|
40
|
+
"shuvcode-linux-x64-baseline-musl": "2.0.12-shuv.1",
|
|
41
|
+
"shuvcode-windows-x64-baseline": "2.0.12-shuv.1",
|
|
42
|
+
"shuvcode-darwin-x64-baseline": "2.0.12-shuv.1",
|
|
43
|
+
"shuvcode-linux-arm64-musl": "2.0.12-shuv.1",
|
|
44
|
+
"shuvcode-darwin-x64": "2.0.12-shuv.1"
|
|
45
45
|
}
|
|
46
46
|
}
|