@tradejs/types 3.1.29-beta.298 → 3.1.29-beta.299
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/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3634,7 +3634,7 @@ interface RuntimeLaunchReportResponse {
|
|
|
3634
3634
|
chartUrl?: string;
|
|
3635
3635
|
}
|
|
3636
3636
|
|
|
3637
|
-
declare const MCP_SCOPES: readonly ["market:read", "runtime:read", "backtests:read", "backtests:run", "diagnostics:read", "diagnostics:run"];
|
|
3637
|
+
declare const MCP_SCOPES: readonly ["market:read", "market:backfill", "runtime:read", "backtests:read", "backtests:run", "diagnostics:read", "diagnostics:run", "research:read"];
|
|
3638
3638
|
type McpScope = (typeof MCP_SCOPES)[number];
|
|
3639
3639
|
interface McpPrincipal {
|
|
3640
3640
|
userName: string;
|
|
@@ -3659,6 +3659,8 @@ interface McpJob {
|
|
|
3659
3659
|
exitCode?: number | null;
|
|
3660
3660
|
logs: string[];
|
|
3661
3661
|
outputId: string;
|
|
3662
|
+
resultId?: string;
|
|
3663
|
+
artifactIds?: string[];
|
|
3662
3664
|
packageManifestSha256: string;
|
|
3663
3665
|
}
|
|
3664
3666
|
|
|
@@ -3696,6 +3698,7 @@ type DataBackfillResult = {
|
|
|
3696
3698
|
loaded: number;
|
|
3697
3699
|
added: number;
|
|
3698
3700
|
missing: number;
|
|
3701
|
+
outcome?: 'no_matching_market' | 'historical_basket_unavailable' | 'outside_configured_history' | 'no_missing_slots_filled' | 'some_missing_slots_filled';
|
|
3699
3702
|
};
|
|
3700
3703
|
type DataBackfillJob = DataBackfillRequest & {
|
|
3701
3704
|
id: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -3634,7 +3634,7 @@ interface RuntimeLaunchReportResponse {
|
|
|
3634
3634
|
chartUrl?: string;
|
|
3635
3635
|
}
|
|
3636
3636
|
|
|
3637
|
-
declare const MCP_SCOPES: readonly ["market:read", "runtime:read", "backtests:read", "backtests:run", "diagnostics:read", "diagnostics:run"];
|
|
3637
|
+
declare const MCP_SCOPES: readonly ["market:read", "market:backfill", "runtime:read", "backtests:read", "backtests:run", "diagnostics:read", "diagnostics:run", "research:read"];
|
|
3638
3638
|
type McpScope = (typeof MCP_SCOPES)[number];
|
|
3639
3639
|
interface McpPrincipal {
|
|
3640
3640
|
userName: string;
|
|
@@ -3659,6 +3659,8 @@ interface McpJob {
|
|
|
3659
3659
|
exitCode?: number | null;
|
|
3660
3660
|
logs: string[];
|
|
3661
3661
|
outputId: string;
|
|
3662
|
+
resultId?: string;
|
|
3663
|
+
artifactIds?: string[];
|
|
3662
3664
|
packageManifestSha256: string;
|
|
3663
3665
|
}
|
|
3664
3666
|
|
|
@@ -3696,6 +3698,7 @@ type DataBackfillResult = {
|
|
|
3696
3698
|
loaded: number;
|
|
3697
3699
|
added: number;
|
|
3698
3700
|
missing: number;
|
|
3701
|
+
outcome?: 'no_matching_market' | 'historical_basket_unavailable' | 'outside_configured_history' | 'no_missing_slots_filled' | 'some_missing_slots_filled';
|
|
3699
3702
|
};
|
|
3700
3703
|
type DataBackfillJob = DataBackfillRequest & {
|
|
3701
3704
|
id: string;
|
package/dist/index.js
CHANGED
|
@@ -70,11 +70,13 @@ var RUNTIME_CONTROLS_SCHEMA = "tradejs-runtime-controls/v1";
|
|
|
70
70
|
// src/mcp.ts
|
|
71
71
|
var MCP_SCOPES = [
|
|
72
72
|
"market:read",
|
|
73
|
+
"market:backfill",
|
|
73
74
|
"runtime:read",
|
|
74
75
|
"backtests:read",
|
|
75
76
|
"backtests:run",
|
|
76
77
|
"diagnostics:read",
|
|
77
|
-
"diagnostics:run"
|
|
78
|
+
"diagnostics:run",
|
|
79
|
+
"research:read"
|
|
78
80
|
];
|
|
79
81
|
// Annotate the CommonJS export names for ESM import in node:
|
|
80
82
|
0 && (module.exports = {
|
package/dist/index.mjs
CHANGED
|
@@ -34,11 +34,13 @@ var RUNTIME_CONTROLS_SCHEMA = "tradejs-runtime-controls/v1";
|
|
|
34
34
|
// src/mcp.ts
|
|
35
35
|
var MCP_SCOPES = [
|
|
36
36
|
"market:read",
|
|
37
|
+
"market:backfill",
|
|
37
38
|
"runtime:read",
|
|
38
39
|
"backtests:read",
|
|
39
40
|
"backtests:run",
|
|
40
41
|
"diagnostics:read",
|
|
41
|
-
"diagnostics:run"
|
|
42
|
+
"diagnostics:run",
|
|
43
|
+
"research:read"
|
|
42
44
|
];
|
|
43
45
|
export {
|
|
44
46
|
BACKTEST_WARNING_CODES,
|