@riddledc/riddle-proof 0.8.83 → 0.8.85

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.
Files changed (75) hide show
  1. package/README.md +247 -29
  2. package/capabilities.json +17 -0
  3. package/dist/advanced/engine-harness.js +2 -2
  4. package/dist/advanced/index.d.cts +1 -1
  5. package/dist/advanced/index.d.ts +1 -1
  6. package/dist/advanced/index.js +4 -4
  7. package/dist/advanced/proof-run-engine.d.cts +1 -1
  8. package/dist/advanced/proof-run-engine.d.ts +1 -1
  9. package/dist/advanced/runner.js +2 -2
  10. package/dist/change-proof.cjs +22 -260
  11. package/dist/change-proof.d.cts +1 -1
  12. package/dist/change-proof.d.ts +1 -1
  13. package/dist/change-proof.js +2 -2
  14. package/dist/checked-meaning.cjs +67 -0
  15. package/dist/checked-meaning.d.cts +2 -0
  16. package/dist/checked-meaning.d.ts +2 -0
  17. package/dist/checked-meaning.js +41 -0
  18. package/dist/{chunk-QYZ3GKCP.js → chunk-AFARUBE4.js} +12 -11
  19. package/dist/chunk-J2SIQGQI.js +71 -0
  20. package/dist/{chunk-7OAETQU3.js → chunk-JZKLCY5G.js} +1 -1
  21. package/dist/chunk-KB7FYRBG.js +46 -0
  22. package/dist/chunk-NWLKJ2WI.js +31 -0
  23. package/dist/{chunk-LR4UYJDY.js → chunk-O2AO726C.js} +1 -1
  24. package/dist/chunk-ODLGSEP2.js +43 -0
  25. package/dist/chunk-OHDNCXRM.js +17 -0
  26. package/dist/cli/index.js +7 -7
  27. package/dist/cli.cjs +265 -1122
  28. package/dist/cli.d.cts +0 -1
  29. package/dist/cli.d.ts +0 -1
  30. package/dist/cli.js +7 -7
  31. package/dist/engine-harness.js +2 -2
  32. package/dist/grounded-evidence.cjs +95 -0
  33. package/dist/grounded-evidence.d.cts +2 -0
  34. package/dist/grounded-evidence.d.ts +2 -0
  35. package/dist/grounded-evidence.js +69 -0
  36. package/dist/index.cjs +318 -1539
  37. package/dist/index.d.cts +9 -3
  38. package/dist/index.d.ts +9 -3
  39. package/dist/index.js +136 -16
  40. package/dist/pr-comment.cjs +17 -107
  41. package/dist/pr-comment.d.cts +1 -1
  42. package/dist/pr-comment.d.ts +1 -1
  43. package/dist/pr-comment.js +3 -3
  44. package/dist/{proof-run-engine-MiKZt9oY.d.ts → proof-run-engine-BqRoA3Do.d.ts} +3 -3
  45. package/dist/{proof-run-engine-Baiv6l3A.d.cts → proof-run-engine-DpChFR5H.d.cts} +3 -3
  46. package/dist/proof-run-engine.d.cts +1 -1
  47. package/dist/proof-run-engine.d.ts +1 -1
  48. package/dist/receipts.cjs +10 -255
  49. package/dist/receipts.d.cts +7 -115
  50. package/dist/receipts.d.ts +7 -115
  51. package/dist/receipts.js +1 -1
  52. package/dist/riddle-client.cjs +23 -695
  53. package/dist/riddle-client.d.cts +1 -188
  54. package/dist/riddle-client.d.ts +1 -188
  55. package/dist/riddle-client.js +5 -2
  56. package/dist/runner.js +2 -2
  57. package/dist/runtime/index.cjs +23 -695
  58. package/dist/runtime/index.d.cts +1 -5
  59. package/dist/runtime/index.d.ts +1 -5
  60. package/dist/runtime/index.js +5 -2
  61. package/dist/runtime/riddle-client.cjs +23 -695
  62. package/dist/runtime/riddle-client.d.cts +1 -5
  63. package/dist/runtime/riddle-client.d.ts +1 -5
  64. package/dist/runtime/riddle-client.js +5 -2
  65. package/dist/semantic-certificate.cjs +23 -582
  66. package/dist/semantic-certificate.d.cts +2 -191
  67. package/dist/semantic-certificate.d.ts +2 -191
  68. package/dist/semantic-certificate.js +15 -3
  69. package/package.json +28 -5
  70. package/runtime/lib/riddle_core_call.mjs +3 -806
  71. package/dist/chunk-5IFZSUPF.js +0 -644
  72. package/dist/chunk-DB5ZHRUP.js +0 -585
  73. package/dist/chunk-MEVVL4TI.js +0 -258
  74. package/dist/{chunk-WLUMLHII.js → chunk-BID7CKMM.js} +9 -9
  75. package/dist/{chunk-YH7ADFY4.js → chunk-IVSP24XI.js} +3 -3
@@ -1,188 +1 @@
1
- import { RiddleProofExecutionTelemetry, RiddleProofSourceIdentity, RiddlePreviewReceipt } from './receipts.cjs';
2
- import './profile.cjs';
3
- import './types.cjs';
4
- import './public-state.cjs';
5
-
6
- declare const DEFAULT_RIDDLE_API_BASE_URL = "https://api.riddledc.com";
7
- declare const DEFAULT_RIDDLE_API_KEY_FILE = "/tmp/riddle-api-key";
8
- declare const RIDDLE_UNSUBMITTED_WAKE_HINT = "hosted worker may still be waking or waiting for a lease";
9
- type RiddleFetch = typeof fetch;
10
- interface RiddleClientConfig {
11
- apiKey?: string;
12
- apiKeyFile?: string;
13
- apiBaseUrl?: string;
14
- fetchImpl?: RiddleFetch;
15
- onPreviewProgress?: (snapshot: RiddlePreviewDeployProgressSnapshot) => void | Promise<void>;
16
- }
17
- interface RiddleApiKeySource {
18
- source: "option" | "env" | "file";
19
- file?: string;
20
- }
21
- interface RiddleBalanceResult {
22
- available_seconds?: number;
23
- reserved_seconds?: number;
24
- total_seconds?: number;
25
- available_time?: string;
26
- total_time?: string;
27
- available_dollars?: number;
28
- reserved_dollars?: number;
29
- total_dollars?: number;
30
- currency?: string;
31
- holds_count?: number;
32
- rate?: Record<string, unknown>;
33
- }
34
- interface RiddlePollProgressSnapshot {
35
- job_id: string;
36
- status: string | null;
37
- phase: string | null;
38
- terminal: boolean;
39
- attempt: number;
40
- attempts: number;
41
- elapsed_ms: number;
42
- created_at: string | null;
43
- submitted_at: string | null;
44
- completed_at: string | null;
45
- queue_elapsed_ms: number | null;
46
- pre_submission_elapsed_ms: number;
47
- running_without_submission: boolean;
48
- active_execution: boolean;
49
- execution?: RiddleProofExecutionTelemetry;
50
- }
51
- interface RiddlePollSummary extends RiddlePollProgressSnapshot {
52
- timed_out: boolean;
53
- interval_ms: number;
54
- unsubmitted_timeout?: boolean;
55
- unsubmitted_timeout_ms?: number;
56
- message?: string;
57
- }
58
- interface RiddlePollJobOptions {
59
- wait?: boolean;
60
- attempts?: number;
61
- intervalMs?: number;
62
- progressEveryMs?: number;
63
- unsubmittedTimeoutMs?: number;
64
- onProgress?: (snapshot: RiddlePollProgressSnapshot) => void | Promise<void>;
65
- }
66
- type RiddlePreviewFramework = "spa" | "static";
67
- type RiddlePreviewDeployStage = "validating" | "creating" | "created" | "archiving" | "archived" | "uploading" | "uploaded" | "publishing" | "publish_recovering" | "checking_status" | "ready";
68
- interface RiddlePreviewDeployProgressSnapshot {
69
- stage: RiddlePreviewDeployStage;
70
- label: string;
71
- framework: RiddlePreviewFramework;
72
- directory: string;
73
- elapsed_ms: number;
74
- id?: string;
75
- preview_url?: string;
76
- file_count?: number;
77
- total_bytes?: number;
78
- tarball_bytes?: number;
79
- attempt?: number;
80
- attempts?: number;
81
- status?: string | null;
82
- publish_error?: string;
83
- warnings?: string[];
84
- message?: string;
85
- }
86
- interface RiddlePreviewDeployResult {
87
- ok: true;
88
- id: string;
89
- label: string;
90
- framework: RiddlePreviewFramework;
91
- preview_url: string;
92
- file_count?: number;
93
- total_bytes?: number;
94
- expires_at?: string;
95
- receipt?: RiddlePreviewReceipt;
96
- publish_recovered?: boolean;
97
- publish_error?: string;
98
- warnings?: string[];
99
- raw?: Record<string, unknown>;
100
- }
101
- interface RiddlePreviewDeployOptions {
102
- source?: RiddleProofSourceIdentity;
103
- }
104
- interface RiddleRunScriptInput {
105
- url: string;
106
- script: string;
107
- viewport?: {
108
- width: number;
109
- height: number;
110
- };
111
- timeoutSec?: number;
112
- sync?: boolean;
113
- strict?: boolean;
114
- include?: string[];
115
- options?: Record<string, unknown>;
116
- }
117
- interface RiddleServerPreviewInput {
118
- directory: string;
119
- script: string;
120
- image?: string;
121
- command?: string;
122
- port?: number;
123
- path?: string;
124
- readinessPath?: string;
125
- readinessTimeoutSec?: number;
126
- waitForSelector?: string;
127
- waitUntil?: "commit" | "domcontentloaded" | "load" | "networkidle";
128
- navigationTimeoutSec?: number;
129
- viewport?: {
130
- width: number;
131
- height: number;
132
- };
133
- timeoutSec?: number;
134
- pollAttempts?: number;
135
- pollIntervalMs?: number;
136
- exclude?: string[];
137
- }
138
- interface RiddlePollJobResult {
139
- ok: boolean;
140
- job_id: string;
141
- status: string | null;
142
- terminal: boolean;
143
- job: Record<string, unknown> | null;
144
- artifacts?: Record<string, unknown> | null;
145
- poll?: RiddlePollSummary;
146
- }
147
- interface RiddleServerPreviewResult {
148
- ok: boolean;
149
- job_id: string;
150
- status: string | null;
151
- terminal: boolean;
152
- script_error: string | null;
153
- job: Record<string, unknown> | null;
154
- }
155
- declare class RiddleApiError extends Error {
156
- readonly status: number;
157
- readonly body: string;
158
- readonly path: string;
159
- constructor(pathname: string, status: number, body: string);
160
- }
161
- declare function resolveRiddleApiKeySource(config?: RiddleClientConfig): RiddleApiKeySource;
162
- declare function resolveRiddleApiKey(config?: RiddleClientConfig): string;
163
- declare function riddleRequestJson<T = unknown>(config: RiddleClientConfig, pathname: string, init?: RequestInit): Promise<T>;
164
- declare function getRiddleBalance(config?: RiddleClientConfig): Promise<RiddleBalanceResult>;
165
- declare function detectRiddlePreviewSource(directory: string): RiddleProofSourceIdentity;
166
- declare function deployRiddlePreview(config: RiddleClientConfig, directory: string, label: string, framework?: RiddlePreviewFramework, options?: RiddlePreviewDeployOptions): Promise<RiddlePreviewDeployResult>;
167
- declare function collectRiddlePreviewDeployWarnings(directory: string, framework?: RiddlePreviewFramework): string[];
168
- declare function deployRiddleStaticPreview(config: RiddleClientConfig, directory: string, label: string, options?: RiddlePreviewDeployOptions): Promise<RiddlePreviewDeployResult>;
169
- declare function parseRiddleViewport(value?: string): {
170
- width: number;
171
- height: number;
172
- } | undefined;
173
- declare function runRiddleServerPreview(config: RiddleClientConfig, input: RiddleServerPreviewInput): Promise<RiddleServerPreviewResult>;
174
- declare function runRiddleScript(config: RiddleClientConfig, input: RiddleRunScriptInput): Promise<Record<string, unknown>>;
175
- declare function isTerminalRiddleJobStatus(status: unknown): boolean;
176
- declare function pollRiddleJob(config: RiddleClientConfig, jobId: string, options?: RiddlePollJobOptions): Promise<RiddlePollJobResult>;
177
- declare function createRiddleApiClient(config?: RiddleClientConfig): {
178
- apiKeySource: () => RiddleApiKeySource;
179
- requestJson: <T = unknown>(pathname: string, init?: RequestInit) => Promise<T>;
180
- getBalance: () => Promise<RiddleBalanceResult>;
181
- deployPreview: (directory: string, label: string, framework?: RiddlePreviewFramework, options?: RiddlePreviewDeployOptions) => Promise<RiddlePreviewDeployResult>;
182
- deployStaticPreview: (directory: string, label: string, options?: RiddlePreviewDeployOptions) => Promise<RiddlePreviewDeployResult>;
183
- runScript: (input: RiddleRunScriptInput) => Promise<Record<string, unknown>>;
184
- runServerPreview: (input: RiddleServerPreviewInput) => Promise<RiddleServerPreviewResult>;
185
- pollJob: (jobId: string, options?: RiddlePollJobOptions) => Promise<RiddlePollJobResult>;
186
- };
187
-
188
- export { DEFAULT_RIDDLE_API_BASE_URL, DEFAULT_RIDDLE_API_KEY_FILE, RIDDLE_UNSUBMITTED_WAKE_HINT, RiddleApiError, type RiddleApiKeySource, type RiddleBalanceResult, type RiddleClientConfig, type RiddleFetch, type RiddlePollJobOptions, type RiddlePollJobResult, type RiddlePollProgressSnapshot, type RiddlePollSummary, type RiddlePreviewDeployOptions, type RiddlePreviewDeployProgressSnapshot, type RiddlePreviewDeployResult, type RiddlePreviewDeployStage, type RiddlePreviewFramework, type RiddleRunScriptInput, type RiddleServerPreviewInput, type RiddleServerPreviewResult, collectRiddlePreviewDeployWarnings, createRiddleApiClient, deployRiddlePreview, deployRiddleStaticPreview, detectRiddlePreviewSource, getRiddleBalance, isTerminalRiddleJobStatus, parseRiddleViewport, pollRiddleJob, resolveRiddleApiKey, resolveRiddleApiKeySource, riddleRequestJson, runRiddleScript, runRiddleServerPreview };
1
+ export { DEFAULT_RIDDLE_API_BASE_URL, DEFAULT_RIDDLE_API_KEY_FILE, RIDDLE_BALANCE_ENDPOINT_PATH, RIDDLE_UNSUBMITTED_WAKE_HINT, RiddleApiError, RiddleApiKeySource, RiddleBalanceResult, RiddleClientConfig, RiddleFetch, RiddlePollJobOptions, RiddlePollJobResult, RiddlePollProgressSnapshot, RiddlePollSummary, RiddlePreviewDeployOptions, RiddlePreviewDeployProgressSnapshot, RiddlePreviewDeployResult, RiddlePreviewDeployStage, RiddlePreviewFramework, RiddleRunScriptInput, RiddleServerPreviewInput, RiddleServerPreviewResult, collectRiddlePreviewDeployWarnings, createRiddleApiClient, deployRiddlePreview, deployRiddleStaticPreview, detectRiddlePreviewSource, getRiddleBalance, getRiddleJobArtifacts, isTerminalRiddleJobStatus, parseRiddleViewport, pollRiddleJob, resolveRiddleApiKey, resolveRiddleApiKeySource, riddleRequestJson, runRiddleScript, runRiddleServerPreview } from '@riddledc/riddle-proof-riddle-client/client';
@@ -1,188 +1 @@
1
- import { RiddleProofExecutionTelemetry, RiddleProofSourceIdentity, RiddlePreviewReceipt } from './receipts.js';
2
- import './profile.js';
3
- import './types.js';
4
- import './public-state.js';
5
-
6
- declare const DEFAULT_RIDDLE_API_BASE_URL = "https://api.riddledc.com";
7
- declare const DEFAULT_RIDDLE_API_KEY_FILE = "/tmp/riddle-api-key";
8
- declare const RIDDLE_UNSUBMITTED_WAKE_HINT = "hosted worker may still be waking or waiting for a lease";
9
- type RiddleFetch = typeof fetch;
10
- interface RiddleClientConfig {
11
- apiKey?: string;
12
- apiKeyFile?: string;
13
- apiBaseUrl?: string;
14
- fetchImpl?: RiddleFetch;
15
- onPreviewProgress?: (snapshot: RiddlePreviewDeployProgressSnapshot) => void | Promise<void>;
16
- }
17
- interface RiddleApiKeySource {
18
- source: "option" | "env" | "file";
19
- file?: string;
20
- }
21
- interface RiddleBalanceResult {
22
- available_seconds?: number;
23
- reserved_seconds?: number;
24
- total_seconds?: number;
25
- available_time?: string;
26
- total_time?: string;
27
- available_dollars?: number;
28
- reserved_dollars?: number;
29
- total_dollars?: number;
30
- currency?: string;
31
- holds_count?: number;
32
- rate?: Record<string, unknown>;
33
- }
34
- interface RiddlePollProgressSnapshot {
35
- job_id: string;
36
- status: string | null;
37
- phase: string | null;
38
- terminal: boolean;
39
- attempt: number;
40
- attempts: number;
41
- elapsed_ms: number;
42
- created_at: string | null;
43
- submitted_at: string | null;
44
- completed_at: string | null;
45
- queue_elapsed_ms: number | null;
46
- pre_submission_elapsed_ms: number;
47
- running_without_submission: boolean;
48
- active_execution: boolean;
49
- execution?: RiddleProofExecutionTelemetry;
50
- }
51
- interface RiddlePollSummary extends RiddlePollProgressSnapshot {
52
- timed_out: boolean;
53
- interval_ms: number;
54
- unsubmitted_timeout?: boolean;
55
- unsubmitted_timeout_ms?: number;
56
- message?: string;
57
- }
58
- interface RiddlePollJobOptions {
59
- wait?: boolean;
60
- attempts?: number;
61
- intervalMs?: number;
62
- progressEveryMs?: number;
63
- unsubmittedTimeoutMs?: number;
64
- onProgress?: (snapshot: RiddlePollProgressSnapshot) => void | Promise<void>;
65
- }
66
- type RiddlePreviewFramework = "spa" | "static";
67
- type RiddlePreviewDeployStage = "validating" | "creating" | "created" | "archiving" | "archived" | "uploading" | "uploaded" | "publishing" | "publish_recovering" | "checking_status" | "ready";
68
- interface RiddlePreviewDeployProgressSnapshot {
69
- stage: RiddlePreviewDeployStage;
70
- label: string;
71
- framework: RiddlePreviewFramework;
72
- directory: string;
73
- elapsed_ms: number;
74
- id?: string;
75
- preview_url?: string;
76
- file_count?: number;
77
- total_bytes?: number;
78
- tarball_bytes?: number;
79
- attempt?: number;
80
- attempts?: number;
81
- status?: string | null;
82
- publish_error?: string;
83
- warnings?: string[];
84
- message?: string;
85
- }
86
- interface RiddlePreviewDeployResult {
87
- ok: true;
88
- id: string;
89
- label: string;
90
- framework: RiddlePreviewFramework;
91
- preview_url: string;
92
- file_count?: number;
93
- total_bytes?: number;
94
- expires_at?: string;
95
- receipt?: RiddlePreviewReceipt;
96
- publish_recovered?: boolean;
97
- publish_error?: string;
98
- warnings?: string[];
99
- raw?: Record<string, unknown>;
100
- }
101
- interface RiddlePreviewDeployOptions {
102
- source?: RiddleProofSourceIdentity;
103
- }
104
- interface RiddleRunScriptInput {
105
- url: string;
106
- script: string;
107
- viewport?: {
108
- width: number;
109
- height: number;
110
- };
111
- timeoutSec?: number;
112
- sync?: boolean;
113
- strict?: boolean;
114
- include?: string[];
115
- options?: Record<string, unknown>;
116
- }
117
- interface RiddleServerPreviewInput {
118
- directory: string;
119
- script: string;
120
- image?: string;
121
- command?: string;
122
- port?: number;
123
- path?: string;
124
- readinessPath?: string;
125
- readinessTimeoutSec?: number;
126
- waitForSelector?: string;
127
- waitUntil?: "commit" | "domcontentloaded" | "load" | "networkidle";
128
- navigationTimeoutSec?: number;
129
- viewport?: {
130
- width: number;
131
- height: number;
132
- };
133
- timeoutSec?: number;
134
- pollAttempts?: number;
135
- pollIntervalMs?: number;
136
- exclude?: string[];
137
- }
138
- interface RiddlePollJobResult {
139
- ok: boolean;
140
- job_id: string;
141
- status: string | null;
142
- terminal: boolean;
143
- job: Record<string, unknown> | null;
144
- artifacts?: Record<string, unknown> | null;
145
- poll?: RiddlePollSummary;
146
- }
147
- interface RiddleServerPreviewResult {
148
- ok: boolean;
149
- job_id: string;
150
- status: string | null;
151
- terminal: boolean;
152
- script_error: string | null;
153
- job: Record<string, unknown> | null;
154
- }
155
- declare class RiddleApiError extends Error {
156
- readonly status: number;
157
- readonly body: string;
158
- readonly path: string;
159
- constructor(pathname: string, status: number, body: string);
160
- }
161
- declare function resolveRiddleApiKeySource(config?: RiddleClientConfig): RiddleApiKeySource;
162
- declare function resolveRiddleApiKey(config?: RiddleClientConfig): string;
163
- declare function riddleRequestJson<T = unknown>(config: RiddleClientConfig, pathname: string, init?: RequestInit): Promise<T>;
164
- declare function getRiddleBalance(config?: RiddleClientConfig): Promise<RiddleBalanceResult>;
165
- declare function detectRiddlePreviewSource(directory: string): RiddleProofSourceIdentity;
166
- declare function deployRiddlePreview(config: RiddleClientConfig, directory: string, label: string, framework?: RiddlePreviewFramework, options?: RiddlePreviewDeployOptions): Promise<RiddlePreviewDeployResult>;
167
- declare function collectRiddlePreviewDeployWarnings(directory: string, framework?: RiddlePreviewFramework): string[];
168
- declare function deployRiddleStaticPreview(config: RiddleClientConfig, directory: string, label: string, options?: RiddlePreviewDeployOptions): Promise<RiddlePreviewDeployResult>;
169
- declare function parseRiddleViewport(value?: string): {
170
- width: number;
171
- height: number;
172
- } | undefined;
173
- declare function runRiddleServerPreview(config: RiddleClientConfig, input: RiddleServerPreviewInput): Promise<RiddleServerPreviewResult>;
174
- declare function runRiddleScript(config: RiddleClientConfig, input: RiddleRunScriptInput): Promise<Record<string, unknown>>;
175
- declare function isTerminalRiddleJobStatus(status: unknown): boolean;
176
- declare function pollRiddleJob(config: RiddleClientConfig, jobId: string, options?: RiddlePollJobOptions): Promise<RiddlePollJobResult>;
177
- declare function createRiddleApiClient(config?: RiddleClientConfig): {
178
- apiKeySource: () => RiddleApiKeySource;
179
- requestJson: <T = unknown>(pathname: string, init?: RequestInit) => Promise<T>;
180
- getBalance: () => Promise<RiddleBalanceResult>;
181
- deployPreview: (directory: string, label: string, framework?: RiddlePreviewFramework, options?: RiddlePreviewDeployOptions) => Promise<RiddlePreviewDeployResult>;
182
- deployStaticPreview: (directory: string, label: string, options?: RiddlePreviewDeployOptions) => Promise<RiddlePreviewDeployResult>;
183
- runScript: (input: RiddleRunScriptInput) => Promise<Record<string, unknown>>;
184
- runServerPreview: (input: RiddleServerPreviewInput) => Promise<RiddleServerPreviewResult>;
185
- pollJob: (jobId: string, options?: RiddlePollJobOptions) => Promise<RiddlePollJobResult>;
186
- };
187
-
188
- export { DEFAULT_RIDDLE_API_BASE_URL, DEFAULT_RIDDLE_API_KEY_FILE, RIDDLE_UNSUBMITTED_WAKE_HINT, RiddleApiError, type RiddleApiKeySource, type RiddleBalanceResult, type RiddleClientConfig, type RiddleFetch, type RiddlePollJobOptions, type RiddlePollJobResult, type RiddlePollProgressSnapshot, type RiddlePollSummary, type RiddlePreviewDeployOptions, type RiddlePreviewDeployProgressSnapshot, type RiddlePreviewDeployResult, type RiddlePreviewDeployStage, type RiddlePreviewFramework, type RiddleRunScriptInput, type RiddleServerPreviewInput, type RiddleServerPreviewResult, collectRiddlePreviewDeployWarnings, createRiddleApiClient, deployRiddlePreview, deployRiddleStaticPreview, detectRiddlePreviewSource, getRiddleBalance, isTerminalRiddleJobStatus, parseRiddleViewport, pollRiddleJob, resolveRiddleApiKey, resolveRiddleApiKeySource, riddleRequestJson, runRiddleScript, runRiddleServerPreview };
1
+ export { DEFAULT_RIDDLE_API_BASE_URL, DEFAULT_RIDDLE_API_KEY_FILE, RIDDLE_BALANCE_ENDPOINT_PATH, RIDDLE_UNSUBMITTED_WAKE_HINT, RiddleApiError, RiddleApiKeySource, RiddleBalanceResult, RiddleClientConfig, RiddleFetch, RiddlePollJobOptions, RiddlePollJobResult, RiddlePollProgressSnapshot, RiddlePollSummary, RiddlePreviewDeployOptions, RiddlePreviewDeployProgressSnapshot, RiddlePreviewDeployResult, RiddlePreviewDeployStage, RiddlePreviewFramework, RiddleRunScriptInput, RiddleServerPreviewInput, RiddleServerPreviewResult, collectRiddlePreviewDeployWarnings, createRiddleApiClient, deployRiddlePreview, deployRiddleStaticPreview, detectRiddlePreviewSource, getRiddleBalance, getRiddleJobArtifacts, isTerminalRiddleJobStatus, parseRiddleViewport, pollRiddleJob, resolveRiddleApiKey, resolveRiddleApiKeySource, riddleRequestJson, runRiddleScript, runRiddleServerPreview } from '@riddledc/riddle-proof-riddle-client/client';
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  DEFAULT_RIDDLE_API_BASE_URL,
3
3
  DEFAULT_RIDDLE_API_KEY_FILE,
4
+ RIDDLE_BALANCE_ENDPOINT_PATH,
4
5
  RIDDLE_UNSUBMITTED_WAKE_HINT,
5
6
  RiddleApiError,
6
7
  collectRiddlePreviewDeployWarnings,
@@ -9,6 +10,7 @@ import {
9
10
  deployRiddleStaticPreview,
10
11
  detectRiddlePreviewSource,
11
12
  getRiddleBalance,
13
+ getRiddleJobArtifacts,
12
14
  isTerminalRiddleJobStatus,
13
15
  parseRiddleViewport,
14
16
  pollRiddleJob,
@@ -17,12 +19,12 @@ import {
17
19
  riddleRequestJson,
18
20
  runRiddleScript,
19
21
  runRiddleServerPreview
20
- } from "./chunk-5IFZSUPF.js";
21
- import "./chunk-MEVVL4TI.js";
22
+ } from "./chunk-KB7FYRBG.js";
22
23
  import "./chunk-MLKGABMK.js";
23
24
  export {
24
25
  DEFAULT_RIDDLE_API_BASE_URL,
25
26
  DEFAULT_RIDDLE_API_KEY_FILE,
27
+ RIDDLE_BALANCE_ENDPOINT_PATH,
26
28
  RIDDLE_UNSUBMITTED_WAKE_HINT,
27
29
  RiddleApiError,
28
30
  collectRiddlePreviewDeployWarnings,
@@ -31,6 +33,7 @@ export {
31
33
  deployRiddleStaticPreview,
32
34
  detectRiddlePreviewSource,
33
35
  getRiddleBalance,
36
+ getRiddleJobArtifacts,
34
37
  isTerminalRiddleJobStatus,
35
38
  parseRiddleViewport,
36
39
  pollRiddleJob,
package/dist/runner.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  runRiddleProof
3
- } from "./chunk-YH7ADFY4.js";
3
+ } from "./chunk-IVSP24XI.js";
4
+ import "./chunk-EKZXU6MU.js";
4
5
  import "./chunk-CGJX7LJO.js";
5
6
  import "./chunk-UTCL7FEZ.js";
6
- import "./chunk-EKZXU6MU.js";
7
7
  import "./chunk-DYE3URAQ.js";
8
8
  import "./chunk-NKHZASNQ.js";
9
9
  import "./chunk-ZAR7BWMN.js";