@tradejs/types 3.1.29-beta.298 → 3.1.29-beta.300

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 CHANGED
@@ -1338,6 +1338,8 @@ interface Connector {
1338
1338
  accountId?: string;
1339
1339
  deploymentId?: string;
1340
1340
  listInstruments: ListInstruments;
1341
+ /** Confirmed end of trading (epoch milliseconds), keyed by symbol. */
1342
+ listDelistings?: () => Promise<ReadonlyMap<string, number>>;
1341
1343
  kline: Kline;
1342
1344
  getState: () => Promise<object>;
1343
1345
  setState: (state: object) => Promise<void>;
@@ -3634,7 +3636,7 @@ interface RuntimeLaunchReportResponse {
3634
3636
  chartUrl?: string;
3635
3637
  }
3636
3638
 
3637
- declare const MCP_SCOPES: readonly ["market:read", "runtime:read", "backtests:read", "backtests:run", "diagnostics:read", "diagnostics:run"];
3639
+ declare const MCP_SCOPES: readonly ["market:read", "market:backfill", "runtime:read", "backtests:read", "backtests:run", "diagnostics:read", "diagnostics:run", "research:read"];
3638
3640
  type McpScope = (typeof MCP_SCOPES)[number];
3639
3641
  interface McpPrincipal {
3640
3642
  userName: string;
@@ -3659,6 +3661,8 @@ interface McpJob {
3659
3661
  exitCode?: number | null;
3660
3662
  logs: string[];
3661
3663
  outputId: string;
3664
+ resultId?: string;
3665
+ artifactIds?: string[];
3662
3666
  packageManifestSha256: string;
3663
3667
  }
3664
3668
 
@@ -3696,6 +3700,7 @@ type DataBackfillResult = {
3696
3700
  loaded: number;
3697
3701
  added: number;
3698
3702
  missing: number;
3703
+ outcome?: 'no_matching_market' | 'historical_basket_unavailable' | 'outside_configured_history' | 'no_missing_slots_filled' | 'some_missing_slots_filled';
3699
3704
  };
3700
3705
  type DataBackfillJob = DataBackfillRequest & {
3701
3706
  id: string;
package/dist/index.d.ts CHANGED
@@ -1338,6 +1338,8 @@ interface Connector {
1338
1338
  accountId?: string;
1339
1339
  deploymentId?: string;
1340
1340
  listInstruments: ListInstruments;
1341
+ /** Confirmed end of trading (epoch milliseconds), keyed by symbol. */
1342
+ listDelistings?: () => Promise<ReadonlyMap<string, number>>;
1341
1343
  kline: Kline;
1342
1344
  getState: () => Promise<object>;
1343
1345
  setState: (state: object) => Promise<void>;
@@ -3634,7 +3636,7 @@ interface RuntimeLaunchReportResponse {
3634
3636
  chartUrl?: string;
3635
3637
  }
3636
3638
 
3637
- declare const MCP_SCOPES: readonly ["market:read", "runtime:read", "backtests:read", "backtests:run", "diagnostics:read", "diagnostics:run"];
3639
+ declare const MCP_SCOPES: readonly ["market:read", "market:backfill", "runtime:read", "backtests:read", "backtests:run", "diagnostics:read", "diagnostics:run", "research:read"];
3638
3640
  type McpScope = (typeof MCP_SCOPES)[number];
3639
3641
  interface McpPrincipal {
3640
3642
  userName: string;
@@ -3659,6 +3661,8 @@ interface McpJob {
3659
3661
  exitCode?: number | null;
3660
3662
  logs: string[];
3661
3663
  outputId: string;
3664
+ resultId?: string;
3665
+ artifactIds?: string[];
3662
3666
  packageManifestSha256: string;
3663
3667
  }
3664
3668
 
@@ -3696,6 +3700,7 @@ type DataBackfillResult = {
3696
3700
  loaded: number;
3697
3701
  added: number;
3698
3702
  missing: number;
3703
+ outcome?: 'no_matching_market' | 'historical_basket_unavailable' | 'outside_configured_history' | 'no_missing_slots_filled' | 'some_missing_slots_filled';
3699
3704
  };
3700
3705
  type DataBackfillJob = DataBackfillRequest & {
3701
3706
  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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tradejs/types",
3
- "version": "3.1.29-beta.298",
3
+ "version": "3.1.29-beta.300",
4
4
  "description": "MIT-licensed shared TypeScript contracts for the TradeJS framework.",
5
5
  "keywords": [
6
6
  "tradejs",