@toolproof-core/genesis 1.0.47 → 1.0.48
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/src/genesis/resources/implementations/foo.d.ts +1 -0
- package/dist/src/genesis/resources/implementations/foo.js +184 -0
- package/dist/src/index.d.ts +19 -0
- package/dist/src/index.js +16 -0
- package/generated-src/metadata/Core.json +127 -132
- package/package.json +1 -1
- package/src/genesis/resources/implementations/foo.ts +2 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
/* import type { Resource } from '@toolproof-core/genesis';
|
|
3
|
+
import { createMaterializedFromPotential } from '@toolproof-core/lib/create-resource';
|
|
4
|
+
|
|
5
|
+
function extractNaturalValue(resource: Resource): number {
|
|
6
|
+
const value: unknown = resource.value;
|
|
7
|
+
if (typeof value === 'number' && Number.isInteger(value) && value >= 0) {
|
|
8
|
+
return value;
|
|
9
|
+
}
|
|
10
|
+
throw new Error(`Invalid Natural resource: value must be a non-negative integer`);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function createMockOutput(potentialOutput: any, value: number): Resource {
|
|
14
|
+
const mockPath = `mock://natural/${value}`;
|
|
15
|
+
|
|
16
|
+
const materialized = createMaterializedFromPotential(potentialOutput, value);
|
|
17
|
+
|
|
18
|
+
return {
|
|
19
|
+
...materialized,
|
|
20
|
+
path: mockPath,
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function createMockErrorOutput(
|
|
25
|
+
potentialOutput: any,
|
|
26
|
+
name: string,
|
|
27
|
+
description: string,
|
|
28
|
+
details?: Record<string, unknown>
|
|
29
|
+
): Resource {
|
|
30
|
+
const value: unknown = {
|
|
31
|
+
name,
|
|
32
|
+
description,
|
|
33
|
+
...(details ? { details } : {}),
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
const mockPath = `mock://error/${encodeURIComponent(name)}`;
|
|
37
|
+
|
|
38
|
+
const materialized = createMaterializedFromPotential(potentialOutput, value);
|
|
39
|
+
|
|
40
|
+
return {
|
|
41
|
+
...materialized,
|
|
42
|
+
path: mockPath,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function mockAdd(inputs: Record<string, Resource | any>): Record<string, Resource> {
|
|
47
|
+
const addendOne = inputs['AddendOne'] as Resource;
|
|
48
|
+
const addendTwo = inputs['AddendTwo'] as Resource;
|
|
49
|
+
const sumOutput = inputs['Sum'] as any;
|
|
50
|
+
|
|
51
|
+
const value1 = extractNaturalValue(addendOne);
|
|
52
|
+
const value2 = extractNaturalValue(addendTwo);
|
|
53
|
+
const result = value1 + value2;
|
|
54
|
+
|
|
55
|
+
return {
|
|
56
|
+
Sum: createMockOutput(sumOutput, result),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function mockSubtract(inputs: Record<string, Resource | any>): Record<string, Resource> {
|
|
61
|
+
const minuend = inputs['Minuend'] as Resource;
|
|
62
|
+
const subtrahend = inputs['Subtrahend'] as Resource;
|
|
63
|
+
const differenceOutput = inputs['Difference'] as any;
|
|
64
|
+
|
|
65
|
+
const errorOutput = inputs['ErrorOutput'] as any | undefined;
|
|
66
|
+
|
|
67
|
+
const value1 = extractNaturalValue(minuend);
|
|
68
|
+
const value2 = extractNaturalValue(subtrahend);
|
|
69
|
+
|
|
70
|
+
if (value2 > value1) {
|
|
71
|
+
if (!errorOutput) {
|
|
72
|
+
throw new Error(
|
|
73
|
+
`Subtract mock tool cannot emit error: missing 'ErrorOutput' potential output (subtrahend ${value2} > minuend ${value1})`
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
ErrorOutput: createMockErrorOutput(
|
|
79
|
+
errorOutput,
|
|
80
|
+
'SubtractInvalidInput',
|
|
81
|
+
`Subtrahend (${value2}) is larger than minuend (${value1}); subtraction would result in a negative value.`,
|
|
82
|
+
{
|
|
83
|
+
minuend: value1,
|
|
84
|
+
subtrahend: value2,
|
|
85
|
+
}
|
|
86
|
+
),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
const result = value1 - value2;
|
|
91
|
+
|
|
92
|
+
return {
|
|
93
|
+
Difference: createMockOutput(differenceOutput, result),
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export function mockMultiply(inputs: Record<string, Resource | any>): Record<string, Resource> {
|
|
98
|
+
const multiplicand = inputs['Multiplicand'] as Resource;
|
|
99
|
+
const multiplier = inputs['Multiplier'] as Resource;
|
|
100
|
+
const productOutput = inputs['Product'] as any;
|
|
101
|
+
|
|
102
|
+
const value1 = extractNaturalValue(multiplicand);
|
|
103
|
+
const value2 = extractNaturalValue(multiplier);
|
|
104
|
+
const result = value1 * value2;
|
|
105
|
+
|
|
106
|
+
return {
|
|
107
|
+
Product: createMockOutput(productOutput, result),
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export function mockDouble(inputs: Record<string, Resource | any>): Record<string, Resource> {
|
|
112
|
+
const N = inputs['N'] as Resource;
|
|
113
|
+
const DoubledOutput = inputs['Doubled'] as any;
|
|
114
|
+
|
|
115
|
+
const value = extractNaturalValue(N);
|
|
116
|
+
const result = value * 2;
|
|
117
|
+
|
|
118
|
+
return {
|
|
119
|
+
Doubled: createMockOutput(DoubledOutput, result),
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function mockDivide(inputs: Record<string, Resource | any>): Record<string, Resource> {
|
|
124
|
+
const dividend = inputs['Dividend'] as Resource;
|
|
125
|
+
const divisor = inputs['Divisor'] as Resource;
|
|
126
|
+
const quotientOutput = inputs['Quotient'] as any;
|
|
127
|
+
const remainderOutput = inputs['Remainder'] as any;
|
|
128
|
+
|
|
129
|
+
const errorOutput = inputs['ErrorOutput'] as any | undefined;
|
|
130
|
+
|
|
131
|
+
const value1 = extractNaturalValue(dividend);
|
|
132
|
+
const value2 = extractNaturalValue(divisor);
|
|
133
|
+
|
|
134
|
+
if (value2 === 0) {
|
|
135
|
+
if (!errorOutput) {
|
|
136
|
+
throw new Error(
|
|
137
|
+
`Divide mock tool cannot emit error: missing 'ErrorOutput' potential output (division by zero; dividend ${value1})`
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
return {
|
|
142
|
+
ErrorOutput: createMockErrorOutput(
|
|
143
|
+
errorOutput,
|
|
144
|
+
'DivideByZero',
|
|
145
|
+
`Cannot divide by zero (dividend ${value1}, divisor ${value2}).`,
|
|
146
|
+
{
|
|
147
|
+
dividend: value1,
|
|
148
|
+
divisor: value2,
|
|
149
|
+
}
|
|
150
|
+
),
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
const quotient = Math.floor(value1 / value2);
|
|
155
|
+
const remainder = value1 % value2;
|
|
156
|
+
|
|
157
|
+
return {
|
|
158
|
+
Quotient: createMockOutput(quotientOutput, quotient),
|
|
159
|
+
Remainder: createMockOutput(remainderOutput, remainder),
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export function executeMockNumericalTool(
|
|
164
|
+
toolName: string,
|
|
165
|
+
payload: Record<string, Resource | any>
|
|
166
|
+
): Record<string, Resource> {
|
|
167
|
+
const normalizedName = toolName.toLowerCase();
|
|
168
|
+
|
|
169
|
+
switch (normalizedName) {
|
|
170
|
+
case 'add':
|
|
171
|
+
return mockAdd(payload);
|
|
172
|
+
case 'subtract':
|
|
173
|
+
return mockSubtract(payload);
|
|
174
|
+
case 'multiply':
|
|
175
|
+
return mockMultiply(payload);
|
|
176
|
+
case 'double':
|
|
177
|
+
return mockDouble(payload);
|
|
178
|
+
case 'divide':
|
|
179
|
+
return mockDivide(payload);
|
|
180
|
+
default:
|
|
181
|
+
throw new Error(`Unknown numerical tool: ${toolName}`);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
*/
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { default as Schemas } from '../generated-src/schemas/schemas.js';
|
|
2
|
+
export { default as ResourceTypeSchema } from '../generated-src/schemas/standalone/ResourceType.js';
|
|
3
|
+
export { default as ToolSchema } from '../generated-src/schemas/standalone/Tool.js';
|
|
4
|
+
export { default as StrategySchema } from '../generated-src/schemas/standalone/Strategy.js';
|
|
5
|
+
export { default as StrategyTraceSchema } from '../generated-src/schemas/standalone/StrategyTrace.js';
|
|
6
|
+
export { ToolSchema as ZodToolSchema } from '../generated-src/schemas/zod/Tool.js';
|
|
7
|
+
export { ResourceTypeSchema as ZodResourceTypeSchema } from '../generated-src/schemas/zod/ResourceType.js';
|
|
8
|
+
export { StrategySchema as ZodStrategySchema } from '../generated-src/schemas/zod/Strategy.js';
|
|
9
|
+
export { StrategyTraceSchema as ZodStrategyTraceSchema } from '../generated-src/schemas/zod/StrategyTrace.js';
|
|
10
|
+
export { GoalSchema as ZodGoalSchema } from '../generated-src/schemas/zod/Goal.js';
|
|
11
|
+
export * as ZodSchemas from '../generated-src/schemas/zod/index.js';
|
|
12
|
+
export { default as ResourceTypes } from '../generated-src/resources/resourceTypes.js';
|
|
13
|
+
export { default as CONSTANTS } from '../generated-src/derived/constants.js';
|
|
14
|
+
export { default as MAPPINGS } from '../generated-src/derived/mappings.js';
|
|
15
|
+
export type * from '../generated-src/types/types.js';
|
|
16
|
+
export type * from '../generated-src/types/standalone/ResourceTypeResource.js';
|
|
17
|
+
export type * from '../generated-src/types/standalone/ToolResource.js';
|
|
18
|
+
export type * from '../generated-src/types/standalone/StrategyResource.js';
|
|
19
|
+
export type * from '../generated-src/types/standalone/StrategyTraceResource.js';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Re-export JSON schemas via .ts shims to avoid .json re-exports in declarations
|
|
2
|
+
export { default as Schemas } from '../generated-src/schemas/schemas.js';
|
|
3
|
+
export { default as ResourceTypeSchema } from '../generated-src/schemas/standalone/ResourceType.js';
|
|
4
|
+
export { default as ToolSchema } from '../generated-src/schemas/standalone/Tool.js';
|
|
5
|
+
export { default as StrategySchema } from '../generated-src/schemas/standalone/Strategy.js';
|
|
6
|
+
export { default as StrategyTraceSchema } from '../generated-src/schemas/standalone/StrategyTrace.js';
|
|
7
|
+
// Re-export generated Zod validators
|
|
8
|
+
export { ToolSchema as ZodToolSchema } from '../generated-src/schemas/zod/Tool.js';
|
|
9
|
+
export { ResourceTypeSchema as ZodResourceTypeSchema } from '../generated-src/schemas/zod/ResourceType.js';
|
|
10
|
+
export { StrategySchema as ZodStrategySchema } from '../generated-src/schemas/zod/Strategy.js';
|
|
11
|
+
export { StrategyTraceSchema as ZodStrategyTraceSchema } from '../generated-src/schemas/zod/StrategyTrace.js';
|
|
12
|
+
export { GoalSchema as ZodGoalSchema } from '../generated-src/schemas/zod/Goal.js';
|
|
13
|
+
export * as ZodSchemas from '../generated-src/schemas/zod/index.js';
|
|
14
|
+
export { default as ResourceTypes } from '../generated-src/resources/resourceTypes.js';
|
|
15
|
+
export { default as CONSTANTS } from '../generated-src/derived/constants.js';
|
|
16
|
+
export { default as MAPPINGS } from '../generated-src/derived/mappings.js';
|
|
@@ -56,70 +56,70 @@
|
|
|
56
56
|
"children": [
|
|
57
57
|
{
|
|
58
58
|
"kind": "directory",
|
|
59
|
-
"name": "
|
|
60
|
-
"path": "packages/
|
|
59
|
+
"name": "cosmos",
|
|
60
|
+
"path": "packages/cosmos",
|
|
61
61
|
"children": [
|
|
62
62
|
{
|
|
63
63
|
"kind": "directory",
|
|
64
64
|
"name": "public",
|
|
65
|
-
"path": "packages/
|
|
65
|
+
"path": "packages/cosmos/public",
|
|
66
66
|
"children": [
|
|
67
67
|
{
|
|
68
68
|
"kind": "file",
|
|
69
69
|
"name": "file.svg",
|
|
70
|
-
"path": "packages/
|
|
70
|
+
"path": "packages/cosmos/public/file.svg"
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"kind": "file",
|
|
74
74
|
"name": "globe.svg",
|
|
75
|
-
"path": "packages/
|
|
75
|
+
"path": "packages/cosmos/public/globe.svg"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
"kind": "file",
|
|
79
79
|
"name": "next.svg",
|
|
80
|
-
"path": "packages/
|
|
80
|
+
"path": "packages/cosmos/public/next.svg"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
"kind": "file",
|
|
84
84
|
"name": "vercel.svg",
|
|
85
|
-
"path": "packages/
|
|
85
|
+
"path": "packages/cosmos/public/vercel.svg"
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"kind": "file",
|
|
89
89
|
"name": "window.svg",
|
|
90
|
-
"path": "packages/
|
|
90
|
+
"path": "packages/cosmos/public/window.svg"
|
|
91
91
|
}
|
|
92
92
|
]
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
95
|
"kind": "directory",
|
|
96
96
|
"name": "src",
|
|
97
|
-
"path": "packages/
|
|
97
|
+
"path": "packages/cosmos/src",
|
|
98
98
|
"children": [
|
|
99
99
|
{
|
|
100
100
|
"kind": "directory",
|
|
101
101
|
"name": "app",
|
|
102
|
-
"path": "packages/
|
|
102
|
+
"path": "packages/cosmos/src/app",
|
|
103
103
|
"children": [
|
|
104
104
|
{
|
|
105
105
|
"kind": "directory",
|
|
106
106
|
"name": "api",
|
|
107
|
-
"path": "packages/
|
|
107
|
+
"path": "packages/cosmos/src/app/api",
|
|
108
108
|
"children": [
|
|
109
109
|
{
|
|
110
110
|
"kind": "directory",
|
|
111
111
|
"name": "auth",
|
|
112
|
-
"path": "packages/
|
|
112
|
+
"path": "packages/cosmos/src/app/api/auth",
|
|
113
113
|
"children": [
|
|
114
114
|
{
|
|
115
115
|
"kind": "directory",
|
|
116
116
|
"name": "[...nextauth]",
|
|
117
|
-
"path": "packages/
|
|
117
|
+
"path": "packages/cosmos/src/app/api/auth/[...nextauth]",
|
|
118
118
|
"children": [
|
|
119
119
|
{
|
|
120
120
|
"kind": "file",
|
|
121
121
|
"name": "route.ts",
|
|
122
|
-
"path": "packages/
|
|
122
|
+
"path": "packages/cosmos/src/app/api/auth/[...nextauth]/route.ts"
|
|
123
123
|
}
|
|
124
124
|
]
|
|
125
125
|
}
|
|
@@ -128,36 +128,36 @@
|
|
|
128
128
|
{
|
|
129
129
|
"kind": "directory",
|
|
130
130
|
"name": "fetch-nucleus",
|
|
131
|
-
"path": "packages/
|
|
131
|
+
"path": "packages/cosmos/src/app/api/fetch-nucleus",
|
|
132
132
|
"children": [
|
|
133
133
|
{
|
|
134
134
|
"kind": "file",
|
|
135
135
|
"name": "route.ts",
|
|
136
|
-
"path": "packages/
|
|
136
|
+
"path": "packages/cosmos/src/app/api/fetch-nucleus/route.ts"
|
|
137
137
|
}
|
|
138
138
|
]
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
"kind": "directory",
|
|
142
142
|
"name": "resume-graph",
|
|
143
|
-
"path": "packages/
|
|
143
|
+
"path": "packages/cosmos/src/app/api/resume-graph",
|
|
144
144
|
"children": [
|
|
145
145
|
{
|
|
146
146
|
"kind": "file",
|
|
147
147
|
"name": "route.ts",
|
|
148
|
-
"path": "packages/
|
|
148
|
+
"path": "packages/cosmos/src/app/api/resume-graph/route.ts"
|
|
149
149
|
}
|
|
150
150
|
]
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
"kind": "directory",
|
|
154
154
|
"name": "run-graph",
|
|
155
|
-
"path": "packages/
|
|
155
|
+
"path": "packages/cosmos/src/app/api/run-graph",
|
|
156
156
|
"children": [
|
|
157
157
|
{
|
|
158
158
|
"kind": "file",
|
|
159
159
|
"name": "route.ts",
|
|
160
|
-
"path": "packages/
|
|
160
|
+
"path": "packages/cosmos/src/app/api/run-graph/route.ts"
|
|
161
161
|
}
|
|
162
162
|
]
|
|
163
163
|
}
|
|
@@ -166,75 +166,75 @@
|
|
|
166
166
|
{
|
|
167
167
|
"kind": "directory",
|
|
168
168
|
"name": "auth",
|
|
169
|
-
"path": "packages/
|
|
169
|
+
"path": "packages/cosmos/src/app/auth",
|
|
170
170
|
"children": [
|
|
171
171
|
{
|
|
172
172
|
"kind": "file",
|
|
173
173
|
"name": "page.tsx",
|
|
174
|
-
"path": "packages/
|
|
174
|
+
"path": "packages/cosmos/src/app/auth/page.tsx"
|
|
175
175
|
}
|
|
176
176
|
]
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
"kind": "directory",
|
|
180
180
|
"name": "profile",
|
|
181
|
-
"path": "packages/
|
|
181
|
+
"path": "packages/cosmos/src/app/profile",
|
|
182
182
|
"children": [
|
|
183
183
|
{
|
|
184
184
|
"kind": "file",
|
|
185
185
|
"name": "page.tsx",
|
|
186
|
-
"path": "packages/
|
|
186
|
+
"path": "packages/cosmos/src/app/profile/page.tsx"
|
|
187
187
|
}
|
|
188
188
|
]
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
191
|
"kind": "file",
|
|
192
192
|
"name": "favicon.ico",
|
|
193
|
-
"path": "packages/
|
|
193
|
+
"path": "packages/cosmos/src/app/favicon.ico"
|
|
194
194
|
},
|
|
195
195
|
{
|
|
196
196
|
"kind": "file",
|
|
197
197
|
"name": "globals.css",
|
|
198
|
-
"path": "packages/
|
|
198
|
+
"path": "packages/cosmos/src/app/globals.css"
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
"kind": "file",
|
|
202
202
|
"name": "layout.tsx",
|
|
203
|
-
"path": "packages/
|
|
203
|
+
"path": "packages/cosmos/src/app/layout.tsx"
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
206
|
"kind": "file",
|
|
207
207
|
"name": "page.tsx",
|
|
208
|
-
"path": "packages/
|
|
208
|
+
"path": "packages/cosmos/src/app/page.tsx"
|
|
209
209
|
}
|
|
210
210
|
]
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
213
|
"kind": "directory",
|
|
214
214
|
"name": "components",
|
|
215
|
-
"path": "packages/
|
|
215
|
+
"path": "packages/cosmos/src/components",
|
|
216
216
|
"children": [
|
|
217
217
|
{
|
|
218
218
|
"kind": "directory",
|
|
219
219
|
"name": "_lib",
|
|
220
|
-
"path": "packages/
|
|
220
|
+
"path": "packages/cosmos/src/components/_lib",
|
|
221
221
|
"children": [
|
|
222
222
|
{
|
|
223
223
|
"kind": "file",
|
|
224
224
|
"name": "StrategyBuilderWorkflowControls.tsx",
|
|
225
|
-
"path": "packages/
|
|
225
|
+
"path": "packages/cosmos/src/components/_lib/StrategyBuilderWorkflowControls.tsx"
|
|
226
226
|
}
|
|
227
227
|
]
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
"kind": "directory",
|
|
231
231
|
"name": "cosmos",
|
|
232
|
-
"path": "packages/
|
|
232
|
+
"path": "packages/cosmos/src/components/cosmos",
|
|
233
233
|
"children": [
|
|
234
234
|
{
|
|
235
235
|
"kind": "directory",
|
|
236
236
|
"name": "recordings",
|
|
237
|
-
"path": "packages/
|
|
237
|
+
"path": "packages/cosmos/src/components/cosmos/recordings",
|
|
238
238
|
"children": []
|
|
239
239
|
}
|
|
240
240
|
]
|
|
@@ -242,46 +242,46 @@
|
|
|
242
242
|
{
|
|
243
243
|
"kind": "directory",
|
|
244
244
|
"name": "dom",
|
|
245
|
-
"path": "packages/
|
|
245
|
+
"path": "packages/cosmos/src/components/dom",
|
|
246
246
|
"children": [
|
|
247
247
|
{
|
|
248
248
|
"kind": "directory",
|
|
249
249
|
"name": "layout",
|
|
250
|
-
"path": "packages/
|
|
250
|
+
"path": "packages/cosmos/src/components/dom/layout",
|
|
251
251
|
"children": [
|
|
252
252
|
{
|
|
253
253
|
"kind": "directory",
|
|
254
254
|
"name": "header",
|
|
255
|
-
"path": "packages/
|
|
255
|
+
"path": "packages/cosmos/src/components/dom/layout/header",
|
|
256
256
|
"children": [
|
|
257
257
|
{
|
|
258
258
|
"kind": "directory",
|
|
259
259
|
"name": "_lib",
|
|
260
|
-
"path": "packages/
|
|
260
|
+
"path": "packages/cosmos/src/components/dom/layout/header/_lib",
|
|
261
261
|
"children": [
|
|
262
262
|
{
|
|
263
263
|
"kind": "file",
|
|
264
264
|
"name": "UserDropDown.tsx",
|
|
265
|
-
"path": "packages/
|
|
265
|
+
"path": "packages/cosmos/src/components/dom/layout/header/_lib/UserDropDown.tsx"
|
|
266
266
|
}
|
|
267
267
|
]
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
270
|
"kind": "file",
|
|
271
271
|
"name": "Header.tsx",
|
|
272
|
-
"path": "packages/
|
|
272
|
+
"path": "packages/cosmos/src/components/dom/layout/header/Header.tsx"
|
|
273
273
|
}
|
|
274
274
|
]
|
|
275
275
|
},
|
|
276
276
|
{
|
|
277
277
|
"kind": "directory",
|
|
278
278
|
"name": "home",
|
|
279
|
-
"path": "packages/
|
|
279
|
+
"path": "packages/cosmos/src/components/dom/layout/home",
|
|
280
280
|
"children": [
|
|
281
281
|
{
|
|
282
282
|
"kind": "file",
|
|
283
283
|
"name": "PageLayout.tsx",
|
|
284
|
-
"path": "packages/
|
|
284
|
+
"path": "packages/cosmos/src/components/dom/layout/home/PageLayout.tsx"
|
|
285
285
|
}
|
|
286
286
|
]
|
|
287
287
|
}
|
|
@@ -292,79 +292,79 @@
|
|
|
292
292
|
{
|
|
293
293
|
"kind": "directory",
|
|
294
294
|
"name": "r3f",
|
|
295
|
-
"path": "packages/
|
|
295
|
+
"path": "packages/cosmos/src/components/r3f",
|
|
296
296
|
"children": [
|
|
297
297
|
{
|
|
298
298
|
"kind": "directory",
|
|
299
299
|
"name": "drivers",
|
|
300
|
-
"path": "packages/
|
|
300
|
+
"path": "packages/cosmos/src/components/r3f/drivers",
|
|
301
301
|
"children": [
|
|
302
302
|
{
|
|
303
303
|
"kind": "file",
|
|
304
304
|
"name": "DemoDriver.tsx",
|
|
305
|
-
"path": "packages/
|
|
305
|
+
"path": "packages/cosmos/src/components/r3f/drivers/DemoDriver.tsx"
|
|
306
306
|
}
|
|
307
307
|
]
|
|
308
308
|
},
|
|
309
309
|
{
|
|
310
310
|
"kind": "directory",
|
|
311
311
|
"name": "spaces",
|
|
312
|
-
"path": "packages/
|
|
312
|
+
"path": "packages/cosmos/src/components/r3f/spaces",
|
|
313
313
|
"children": [
|
|
314
314
|
{
|
|
315
315
|
"kind": "directory",
|
|
316
316
|
"name": "strategy",
|
|
317
|
-
"path": "packages/
|
|
317
|
+
"path": "packages/cosmos/src/components/r3f/spaces/strategy",
|
|
318
318
|
"children": [
|
|
319
319
|
{
|
|
320
320
|
"kind": "file",
|
|
321
321
|
"name": "SlideTraceGhostPanels.tsx",
|
|
322
|
-
"path": "packages/
|
|
322
|
+
"path": "packages/cosmos/src/components/r3f/spaces/strategy/SlideTraceGhostPanels.tsx"
|
|
323
323
|
},
|
|
324
324
|
{
|
|
325
325
|
"kind": "file",
|
|
326
326
|
"name": "strategyBindingDebug.ts",
|
|
327
|
-
"path": "packages/
|
|
327
|
+
"path": "packages/cosmos/src/components/r3f/spaces/strategy/strategyBindingDebug.ts"
|
|
328
328
|
},
|
|
329
329
|
{
|
|
330
330
|
"kind": "file",
|
|
331
331
|
"name": "StrategyBuilderSpace.tsx",
|
|
332
|
-
"path": "packages/
|
|
332
|
+
"path": "packages/cosmos/src/components/r3f/spaces/strategy/StrategyBuilderSpace.tsx"
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
335
|
"kind": "file",
|
|
336
336
|
"name": "StrategyNavigationControls.tsx",
|
|
337
|
-
"path": "packages/
|
|
337
|
+
"path": "packages/cosmos/src/components/r3f/spaces/strategy/StrategyNavigationControls.tsx"
|
|
338
338
|
},
|
|
339
339
|
{
|
|
340
340
|
"kind": "file",
|
|
341
341
|
"name": "StrategyRunnerSpace.tsx",
|
|
342
|
-
"path": "packages/
|
|
342
|
+
"path": "packages/cosmos/src/components/r3f/spaces/strategy/StrategyRunnerSpace.tsx"
|
|
343
343
|
},
|
|
344
344
|
{
|
|
345
345
|
"kind": "file",
|
|
346
346
|
"name": "strategySpaceConfig.ts",
|
|
347
|
-
"path": "packages/
|
|
347
|
+
"path": "packages/cosmos/src/components/r3f/spaces/strategy/strategySpaceConfig.ts"
|
|
348
348
|
},
|
|
349
349
|
{
|
|
350
350
|
"kind": "file",
|
|
351
351
|
"name": "StrategySpaceOverlayPanel.tsx",
|
|
352
|
-
"path": "packages/
|
|
352
|
+
"path": "packages/cosmos/src/components/r3f/spaces/strategy/StrategySpaceOverlayPanel.tsx"
|
|
353
353
|
},
|
|
354
354
|
{
|
|
355
355
|
"kind": "file",
|
|
356
356
|
"name": "StrategySpaceRenderer.tsx",
|
|
357
|
-
"path": "packages/
|
|
357
|
+
"path": "packages/cosmos/src/components/r3f/spaces/strategy/StrategySpaceRenderer.tsx"
|
|
358
358
|
},
|
|
359
359
|
{
|
|
360
360
|
"kind": "file",
|
|
361
361
|
"name": "strategySpaceTypes.ts",
|
|
362
|
-
"path": "packages/
|
|
362
|
+
"path": "packages/cosmos/src/components/r3f/spaces/strategy/strategySpaceTypes.ts"
|
|
363
363
|
},
|
|
364
364
|
{
|
|
365
365
|
"kind": "file",
|
|
366
366
|
"name": "strategyStepPanelLayout.ts",
|
|
367
|
-
"path": "packages/
|
|
367
|
+
"path": "packages/cosmos/src/components/r3f/spaces/strategy/strategyStepPanelLayout.ts"
|
|
368
368
|
}
|
|
369
369
|
]
|
|
370
370
|
}
|
|
@@ -377,274 +377,274 @@
|
|
|
377
377
|
{
|
|
378
378
|
"kind": "directory",
|
|
379
379
|
"name": "controllers",
|
|
380
|
-
"path": "packages/
|
|
380
|
+
"path": "packages/cosmos/src/controllers",
|
|
381
381
|
"children": [
|
|
382
382
|
{
|
|
383
383
|
"kind": "file",
|
|
384
384
|
"name": "StrategyBuilderController.tsx",
|
|
385
|
-
"path": "packages/
|
|
385
|
+
"path": "packages/cosmos/src/controllers/StrategyBuilderController.tsx"
|
|
386
386
|
},
|
|
387
387
|
{
|
|
388
388
|
"kind": "file",
|
|
389
389
|
"name": "strategyBuilderOperationRegistry.ts",
|
|
390
|
-
"path": "packages/
|
|
390
|
+
"path": "packages/cosmos/src/controllers/strategyBuilderOperationRegistry.ts"
|
|
391
391
|
},
|
|
392
392
|
{
|
|
393
393
|
"kind": "file",
|
|
394
394
|
"name": "StrategyRunnerController.tsx",
|
|
395
|
-
"path": "packages/
|
|
395
|
+
"path": "packages/cosmos/src/controllers/StrategyRunnerController.tsx"
|
|
396
396
|
},
|
|
397
397
|
{
|
|
398
398
|
"kind": "file",
|
|
399
399
|
"name": "StrategyRuntimeController.tsx",
|
|
400
|
-
"path": "packages/
|
|
400
|
+
"path": "packages/cosmos/src/controllers/StrategyRuntimeController.tsx"
|
|
401
401
|
}
|
|
402
402
|
]
|
|
403
403
|
},
|
|
404
404
|
{
|
|
405
405
|
"kind": "directory",
|
|
406
406
|
"name": "hooks",
|
|
407
|
-
"path": "packages/
|
|
407
|
+
"path": "packages/cosmos/src/hooks",
|
|
408
408
|
"children": [
|
|
409
409
|
{
|
|
410
410
|
"kind": "file",
|
|
411
411
|
"name": "useDraftBindingRouter.ts",
|
|
412
|
-
"path": "packages/
|
|
412
|
+
"path": "packages/cosmos/src/hooks/useDraftBindingRouter.ts"
|
|
413
413
|
},
|
|
414
414
|
{
|
|
415
415
|
"kind": "file",
|
|
416
416
|
"name": "useFirebaseWeb.ts",
|
|
417
|
-
"path": "packages/
|
|
417
|
+
"path": "packages/cosmos/src/hooks/useFirebaseWeb.ts"
|
|
418
418
|
},
|
|
419
419
|
{
|
|
420
420
|
"kind": "file",
|
|
421
421
|
"name": "useOrbitCameraFocus.ts",
|
|
422
|
-
"path": "packages/
|
|
422
|
+
"path": "packages/cosmos/src/hooks/useOrbitCameraFocus.ts"
|
|
423
423
|
},
|
|
424
424
|
{
|
|
425
425
|
"kind": "file",
|
|
426
426
|
"name": "usePrefetchedIdentities.ts",
|
|
427
|
-
"path": "packages/
|
|
427
|
+
"path": "packages/cosmos/src/hooks/usePrefetchedIdentities.ts"
|
|
428
428
|
},
|
|
429
429
|
{
|
|
430
430
|
"kind": "file",
|
|
431
431
|
"name": "useReduxStore.ts",
|
|
432
|
-
"path": "packages/
|
|
432
|
+
"path": "packages/cosmos/src/hooks/useReduxStore.ts"
|
|
433
433
|
},
|
|
434
434
|
{
|
|
435
435
|
"kind": "file",
|
|
436
436
|
"name": "useSlideTrace.ts",
|
|
437
|
-
"path": "packages/
|
|
437
|
+
"path": "packages/cosmos/src/hooks/useSlideTrace.ts"
|
|
438
438
|
},
|
|
439
439
|
{
|
|
440
440
|
"kind": "file",
|
|
441
441
|
"name": "useSpokeOriginAnimator.ts",
|
|
442
|
-
"path": "packages/
|
|
442
|
+
"path": "packages/cosmos/src/hooks/useSpokeOriginAnimator.ts"
|
|
443
443
|
},
|
|
444
444
|
{
|
|
445
445
|
"kind": "file",
|
|
446
446
|
"name": "useStrategyBuilderPhaseTransitions.ts",
|
|
447
|
-
"path": "packages/
|
|
447
|
+
"path": "packages/cosmos/src/hooks/useStrategyBuilderPhaseTransitions.ts"
|
|
448
448
|
},
|
|
449
449
|
{
|
|
450
450
|
"kind": "file",
|
|
451
451
|
"name": "useStrategyBuilderRunnableControls.ts",
|
|
452
|
-
"path": "packages/
|
|
452
|
+
"path": "packages/cosmos/src/hooks/useStrategyBuilderRunnableControls.ts"
|
|
453
453
|
},
|
|
454
454
|
{
|
|
455
455
|
"kind": "file",
|
|
456
456
|
"name": "useStrategyBuilderSelection.ts",
|
|
457
|
-
"path": "packages/
|
|
457
|
+
"path": "packages/cosmos/src/hooks/useStrategyBuilderSelection.ts"
|
|
458
458
|
},
|
|
459
459
|
{
|
|
460
460
|
"kind": "file",
|
|
461
461
|
"name": "useStrategyBuilderViewModel.ts",
|
|
462
|
-
"path": "packages/
|
|
462
|
+
"path": "packages/cosmos/src/hooks/useStrategyBuilderViewModel.ts"
|
|
463
463
|
},
|
|
464
464
|
{
|
|
465
465
|
"kind": "file",
|
|
466
466
|
"name": "useStrategyRuntime.tsx",
|
|
467
|
-
"path": "packages/
|
|
467
|
+
"path": "packages/cosmos/src/hooks/useStrategyRuntime.tsx"
|
|
468
468
|
}
|
|
469
469
|
]
|
|
470
470
|
},
|
|
471
471
|
{
|
|
472
472
|
"kind": "directory",
|
|
473
473
|
"name": "integrations",
|
|
474
|
-
"path": "packages/
|
|
474
|
+
"path": "packages/cosmos/src/integrations",
|
|
475
475
|
"children": [
|
|
476
476
|
{
|
|
477
477
|
"kind": "directory",
|
|
478
478
|
"name": "auth",
|
|
479
|
-
"path": "packages/
|
|
479
|
+
"path": "packages/cosmos/src/integrations/auth",
|
|
480
480
|
"children": [
|
|
481
481
|
{
|
|
482
482
|
"kind": "file",
|
|
483
483
|
"name": "next-auth.d.ts",
|
|
484
|
-
"path": "packages/
|
|
484
|
+
"path": "packages/cosmos/src/integrations/auth/next-auth.d.ts"
|
|
485
485
|
},
|
|
486
486
|
{
|
|
487
487
|
"kind": "file",
|
|
488
488
|
"name": "nextAuth.ts",
|
|
489
|
-
"path": "packages/
|
|
489
|
+
"path": "packages/cosmos/src/integrations/auth/nextAuth.ts"
|
|
490
490
|
}
|
|
491
491
|
]
|
|
492
492
|
},
|
|
493
493
|
{
|
|
494
494
|
"kind": "directory",
|
|
495
495
|
"name": "firebase",
|
|
496
|
-
"path": "packages/
|
|
496
|
+
"path": "packages/cosmos/src/integrations/firebase",
|
|
497
497
|
"children": [
|
|
498
498
|
{
|
|
499
499
|
"kind": "file",
|
|
500
500
|
"name": "firebaseWebInit.ts",
|
|
501
|
-
"path": "packages/
|
|
501
|
+
"path": "packages/cosmos/src/integrations/firebase/firebaseWebInit.ts"
|
|
502
502
|
}
|
|
503
503
|
]
|
|
504
504
|
},
|
|
505
505
|
{
|
|
506
506
|
"kind": "file",
|
|
507
507
|
"name": "firebaseAdminHelpers.ts",
|
|
508
|
-
"path": "packages/
|
|
508
|
+
"path": "packages/cosmos/src/integrations/firebaseAdminHelpers.ts"
|
|
509
509
|
},
|
|
510
510
|
{
|
|
511
511
|
"kind": "file",
|
|
512
512
|
"name": "manualPaths.ts",
|
|
513
|
-
"path": "packages/
|
|
513
|
+
"path": "packages/cosmos/src/integrations/manualPaths.ts"
|
|
514
514
|
}
|
|
515
515
|
]
|
|
516
516
|
},
|
|
517
517
|
{
|
|
518
518
|
"kind": "directory",
|
|
519
519
|
"name": "providers",
|
|
520
|
-
"path": "packages/
|
|
520
|
+
"path": "packages/cosmos/src/providers",
|
|
521
521
|
"children": [
|
|
522
522
|
{
|
|
523
523
|
"kind": "directory",
|
|
524
524
|
"name": "cosmosDataProvider",
|
|
525
|
-
"path": "packages/
|
|
525
|
+
"path": "packages/cosmos/src/providers/cosmosDataProvider",
|
|
526
526
|
"children": [
|
|
527
527
|
{
|
|
528
528
|
"kind": "directory",
|
|
529
529
|
"name": "_lib",
|
|
530
|
-
"path": "packages/
|
|
530
|
+
"path": "packages/cosmos/src/providers/cosmosDataProvider/_lib",
|
|
531
531
|
"children": [
|
|
532
532
|
{
|
|
533
533
|
"kind": "file",
|
|
534
534
|
"name": "types.ts",
|
|
535
|
-
"path": "packages/
|
|
535
|
+
"path": "packages/cosmos/src/providers/cosmosDataProvider/_lib/types.ts"
|
|
536
536
|
}
|
|
537
537
|
]
|
|
538
538
|
},
|
|
539
539
|
{
|
|
540
540
|
"kind": "file",
|
|
541
541
|
"name": "CosmosDataProvider.tsx",
|
|
542
|
-
"path": "packages/
|
|
542
|
+
"path": "packages/cosmos/src/providers/cosmosDataProvider/CosmosDataProvider.tsx"
|
|
543
543
|
},
|
|
544
544
|
{
|
|
545
545
|
"kind": "file",
|
|
546
546
|
"name": "CosmosDataViewProvider.tsx",
|
|
547
|
-
"path": "packages/
|
|
547
|
+
"path": "packages/cosmos/src/providers/cosmosDataProvider/CosmosDataViewProvider.tsx"
|
|
548
548
|
}
|
|
549
549
|
]
|
|
550
550
|
},
|
|
551
551
|
{
|
|
552
552
|
"kind": "directory",
|
|
553
553
|
"name": "strategyBuilderProvider",
|
|
554
|
-
"path": "packages/
|
|
554
|
+
"path": "packages/cosmos/src/providers/strategyBuilderProvider",
|
|
555
555
|
"children": [
|
|
556
556
|
{
|
|
557
557
|
"kind": "directory",
|
|
558
558
|
"name": "_lib",
|
|
559
|
-
"path": "packages/
|
|
559
|
+
"path": "packages/cosmos/src/providers/strategyBuilderProvider/_lib",
|
|
560
560
|
"children": [
|
|
561
561
|
{
|
|
562
562
|
"kind": "file",
|
|
563
563
|
"name": "BindingCommandsProvider.tsx",
|
|
564
|
-
"path": "packages/
|
|
564
|
+
"path": "packages/cosmos/src/providers/strategyBuilderProvider/_lib/BindingCommandsProvider.tsx"
|
|
565
565
|
},
|
|
566
566
|
{
|
|
567
567
|
"kind": "file",
|
|
568
568
|
"name": "BuilderCommandsProvider.tsx",
|
|
569
|
-
"path": "packages/
|
|
569
|
+
"path": "packages/cosmos/src/providers/strategyBuilderProvider/_lib/BuilderCommandsProvider.tsx"
|
|
570
570
|
},
|
|
571
571
|
{
|
|
572
572
|
"kind": "file",
|
|
573
573
|
"name": "BuilderDocumentProvider.tsx",
|
|
574
|
-
"path": "packages/
|
|
574
|
+
"path": "packages/cosmos/src/providers/strategyBuilderProvider/_lib/BuilderDocumentProvider.tsx"
|
|
575
575
|
},
|
|
576
576
|
{
|
|
577
577
|
"kind": "file",
|
|
578
578
|
"name": "BuilderPhaseProvider.tsx",
|
|
579
|
-
"path": "packages/
|
|
579
|
+
"path": "packages/cosmos/src/providers/strategyBuilderProvider/_lib/BuilderPhaseProvider.tsx"
|
|
580
580
|
},
|
|
581
581
|
{
|
|
582
582
|
"kind": "file",
|
|
583
583
|
"name": "BuilderSelectionProvider.tsx",
|
|
584
|
-
"path": "packages/
|
|
584
|
+
"path": "packages/cosmos/src/providers/strategyBuilderProvider/_lib/BuilderSelectionProvider.tsx"
|
|
585
585
|
}
|
|
586
586
|
]
|
|
587
587
|
},
|
|
588
588
|
{
|
|
589
589
|
"kind": "file",
|
|
590
590
|
"name": "StrategyBuilderProvider.tsx",
|
|
591
|
-
"path": "packages/
|
|
591
|
+
"path": "packages/cosmos/src/providers/strategyBuilderProvider/StrategyBuilderProvider.tsx"
|
|
592
592
|
}
|
|
593
593
|
]
|
|
594
594
|
},
|
|
595
595
|
{
|
|
596
596
|
"kind": "file",
|
|
597
597
|
"name": "NextSessionProvider.tsx",
|
|
598
|
-
"path": "packages/
|
|
598
|
+
"path": "packages/cosmos/src/providers/NextSessionProvider.tsx"
|
|
599
599
|
},
|
|
600
600
|
{
|
|
601
601
|
"kind": "file",
|
|
602
602
|
"name": "ReduxStoreProvider.tsx",
|
|
603
|
-
"path": "packages/
|
|
603
|
+
"path": "packages/cosmos/src/providers/ReduxStoreProvider.tsx"
|
|
604
604
|
},
|
|
605
605
|
{
|
|
606
606
|
"kind": "file",
|
|
607
607
|
"name": "StrategyRunnerProvider.tsx",
|
|
608
|
-
"path": "packages/
|
|
608
|
+
"path": "packages/cosmos/src/providers/StrategyRunnerProvider.tsx"
|
|
609
609
|
},
|
|
610
610
|
{
|
|
611
611
|
"kind": "file",
|
|
612
612
|
"name": "StrategyRuntimeProvider.tsx",
|
|
613
|
-
"path": "packages/
|
|
613
|
+
"path": "packages/cosmos/src/providers/StrategyRuntimeProvider.tsx"
|
|
614
614
|
}
|
|
615
615
|
]
|
|
616
616
|
},
|
|
617
617
|
{
|
|
618
618
|
"kind": "directory",
|
|
619
619
|
"name": "state",
|
|
620
|
-
"path": "packages/
|
|
620
|
+
"path": "packages/cosmos/src/state",
|
|
621
621
|
"children": [
|
|
622
622
|
{
|
|
623
623
|
"kind": "directory",
|
|
624
624
|
"name": "redux",
|
|
625
|
-
"path": "packages/
|
|
625
|
+
"path": "packages/cosmos/src/state/redux",
|
|
626
626
|
"children": [
|
|
627
627
|
{
|
|
628
628
|
"kind": "directory",
|
|
629
629
|
"name": "slices",
|
|
630
|
-
"path": "packages/
|
|
630
|
+
"path": "packages/cosmos/src/state/redux/slices",
|
|
631
631
|
"children": [
|
|
632
632
|
{
|
|
633
633
|
"kind": "file",
|
|
634
634
|
"name": "configSlice.ts",
|
|
635
|
-
"path": "packages/
|
|
635
|
+
"path": "packages/cosmos/src/state/redux/slices/configSlice.ts"
|
|
636
636
|
},
|
|
637
637
|
{
|
|
638
638
|
"kind": "file",
|
|
639
639
|
"name": "mockModeSlice.ts",
|
|
640
|
-
"path": "packages/
|
|
640
|
+
"path": "packages/cosmos/src/state/redux/slices/mockModeSlice.ts"
|
|
641
641
|
}
|
|
642
642
|
]
|
|
643
643
|
},
|
|
644
644
|
{
|
|
645
645
|
"kind": "file",
|
|
646
646
|
"name": "store.ts",
|
|
647
|
-
"path": "packages/
|
|
647
|
+
"path": "packages/cosmos/src/state/redux/store.ts"
|
|
648
648
|
}
|
|
649
649
|
]
|
|
650
650
|
}
|
|
@@ -653,54 +653,54 @@
|
|
|
653
653
|
{
|
|
654
654
|
"kind": "directory",
|
|
655
655
|
"name": "types",
|
|
656
|
-
"path": "packages/
|
|
656
|
+
"path": "packages/cosmos/src/types",
|
|
657
657
|
"children": [
|
|
658
658
|
{
|
|
659
659
|
"kind": "file",
|
|
660
660
|
"name": "schemaCompat.ts",
|
|
661
|
-
"path": "packages/
|
|
661
|
+
"path": "packages/cosmos/src/types/schemaCompat.ts"
|
|
662
662
|
},
|
|
663
663
|
{
|
|
664
664
|
"kind": "file",
|
|
665
665
|
"name": "strategyBuilder.ts",
|
|
666
|
-
"path": "packages/
|
|
666
|
+
"path": "packages/cosmos/src/types/strategyBuilder.ts"
|
|
667
667
|
}
|
|
668
668
|
]
|
|
669
669
|
},
|
|
670
670
|
{
|
|
671
671
|
"kind": "directory",
|
|
672
672
|
"name": "utils",
|
|
673
|
-
"path": "packages/
|
|
673
|
+
"path": "packages/cosmos/src/utils",
|
|
674
674
|
"children": [
|
|
675
675
|
{
|
|
676
676
|
"kind": "file",
|
|
677
677
|
"name": "bindingHelpers.ts",
|
|
678
|
-
"path": "packages/
|
|
678
|
+
"path": "packages/cosmos/src/utils/bindingHelpers.ts"
|
|
679
679
|
},
|
|
680
680
|
{
|
|
681
681
|
"kind": "file",
|
|
682
682
|
"name": "builderTools.ts",
|
|
683
|
-
"path": "packages/
|
|
683
|
+
"path": "packages/cosmos/src/utils/builderTools.ts"
|
|
684
684
|
},
|
|
685
685
|
{
|
|
686
686
|
"kind": "file",
|
|
687
687
|
"name": "getUiContext.ts",
|
|
688
|
-
"path": "packages/
|
|
688
|
+
"path": "packages/cosmos/src/utils/getUiContext.ts"
|
|
689
689
|
},
|
|
690
690
|
{
|
|
691
691
|
"kind": "file",
|
|
692
692
|
"name": "populateExternalInputsForStep.ts",
|
|
693
|
-
"path": "packages/
|
|
693
|
+
"path": "packages/cosmos/src/utils/populateExternalInputsForStep.ts"
|
|
694
694
|
},
|
|
695
695
|
{
|
|
696
696
|
"kind": "file",
|
|
697
697
|
"name": "toolFilters.ts",
|
|
698
|
-
"path": "packages/
|
|
698
|
+
"path": "packages/cosmos/src/utils/toolFilters.ts"
|
|
699
699
|
},
|
|
700
700
|
{
|
|
701
701
|
"kind": "file",
|
|
702
702
|
"name": "toolStepIndex.ts",
|
|
703
|
-
"path": "packages/
|
|
703
|
+
"path": "packages/cosmos/src/utils/toolStepIndex.ts"
|
|
704
704
|
}
|
|
705
705
|
]
|
|
706
706
|
}
|
|
@@ -709,57 +709,57 @@
|
|
|
709
709
|
{
|
|
710
710
|
"kind": "file",
|
|
711
711
|
"name": ".env.local",
|
|
712
|
-
"path": "packages/
|
|
712
|
+
"path": "packages/cosmos/.env.local"
|
|
713
713
|
},
|
|
714
714
|
{
|
|
715
715
|
"kind": "file",
|
|
716
716
|
"name": ".gitignore",
|
|
717
|
-
"path": "packages/
|
|
717
|
+
"path": "packages/cosmos/.gitignore"
|
|
718
718
|
},
|
|
719
719
|
{
|
|
720
720
|
"kind": "file",
|
|
721
721
|
"name": "eslint.config.mjs",
|
|
722
|
-
"path": "packages/
|
|
722
|
+
"path": "packages/cosmos/eslint.config.mjs"
|
|
723
723
|
},
|
|
724
724
|
{
|
|
725
725
|
"kind": "file",
|
|
726
726
|
"name": "gcp-key.json",
|
|
727
|
-
"path": "packages/
|
|
727
|
+
"path": "packages/cosmos/gcp-key.json"
|
|
728
728
|
},
|
|
729
729
|
{
|
|
730
730
|
"kind": "file",
|
|
731
731
|
"name": "globals.d.ts",
|
|
732
|
-
"path": "packages/
|
|
732
|
+
"path": "packages/cosmos/globals.d.ts"
|
|
733
733
|
},
|
|
734
734
|
{
|
|
735
735
|
"kind": "file",
|
|
736
736
|
"name": "next-env.d.ts",
|
|
737
|
-
"path": "packages/
|
|
737
|
+
"path": "packages/cosmos/next-env.d.ts"
|
|
738
738
|
},
|
|
739
739
|
{
|
|
740
740
|
"kind": "file",
|
|
741
741
|
"name": "next.config.ts",
|
|
742
|
-
"path": "packages/
|
|
742
|
+
"path": "packages/cosmos/next.config.ts"
|
|
743
743
|
},
|
|
744
744
|
{
|
|
745
745
|
"kind": "file",
|
|
746
746
|
"name": "package.json",
|
|
747
|
-
"path": "packages/
|
|
747
|
+
"path": "packages/cosmos/package.json"
|
|
748
748
|
},
|
|
749
749
|
{
|
|
750
750
|
"kind": "file",
|
|
751
751
|
"name": "postcss.config.mjs",
|
|
752
|
-
"path": "packages/
|
|
752
|
+
"path": "packages/cosmos/postcss.config.mjs"
|
|
753
753
|
},
|
|
754
754
|
{
|
|
755
755
|
"kind": "file",
|
|
756
756
|
"name": "README.md",
|
|
757
|
-
"path": "packages/
|
|
757
|
+
"path": "packages/cosmos/README.md"
|
|
758
758
|
},
|
|
759
759
|
{
|
|
760
760
|
"kind": "file",
|
|
761
761
|
"name": "tsconfig.json",
|
|
762
|
-
"path": "packages/
|
|
762
|
+
"path": "packages/cosmos/tsconfig.json"
|
|
763
763
|
}
|
|
764
764
|
]
|
|
765
765
|
},
|
|
@@ -1905,11 +1905,6 @@
|
|
|
1905
1905
|
"name": "pnpm-workspace.yaml",
|
|
1906
1906
|
"path": "pnpm-workspace.yaml"
|
|
1907
1907
|
},
|
|
1908
|
-
{
|
|
1909
|
-
"kind": "file",
|
|
1910
|
-
"name": "README.md",
|
|
1911
|
-
"path": "README.md"
|
|
1912
|
-
},
|
|
1913
1908
|
{
|
|
1914
1909
|
"kind": "file",
|
|
1915
1910
|
"name": "tsconfig.base.json",
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Resource } from '@toolproof-core/genesis';
|
|
1
|
+
/* import type { Resource } from '@toolproof-core/genesis';
|
|
2
2
|
import { createMaterializedFromPotential } from '@toolproof-core/lib/create-resource';
|
|
3
3
|
|
|
4
4
|
function extractNaturalValue(resource: Resource): number {
|
|
@@ -180,3 +180,4 @@ export function executeMockNumericalTool(
|
|
|
180
180
|
throw new Error(`Unknown numerical tool: ${toolName}`);
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
|
+
*/
|