@autobe/agent 0.27.0 → 0.28.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/lib/constants/AutoBeSystemPromptConstant.d.ts +1 -1
- package/lib/context/assertSchemaModel.d.ts +1 -1
- package/lib/context/assertSchemaModel.js +4 -7
- package/lib/context/assertSchemaModel.js.map +1 -1
- package/lib/index.mjs +18186 -7689
- package/lib/index.mjs.map +1 -1
- package/lib/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.js +1 -1
- package/lib/orchestrate/analyze/histories/transformAnalyzeScenarioHistories.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeReview.js +164 -86
- package/lib/orchestrate/analyze/orchestrateAnalyzeReview.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js +656 -335
- package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeWrite.js +143 -74
- package/lib/orchestrate/analyze/orchestrateAnalyzeWrite.js.map +1 -1
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.d.ts +17 -52
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.d.ts +25 -22
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.d.ts +7 -23
- package/lib/orchestrate/common/orchestrateCommonCorrectCasting.js +165 -2
- package/lib/orchestrate/common/orchestrateCommonCorrectCasting.js.map +1 -1
- package/lib/orchestrate/facade/createAutoBeFacadeController.js +773 -403
- package/lib/orchestrate/facade/createAutoBeFacadeController.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceAuthorizations.js +749 -2
- package/lib/orchestrate/interface/orchestrateInterfaceAuthorizations.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceComplement.js +1637 -9
- package/lib/orchestrate/interface/orchestrateInterfaceComplement.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.js +252 -133
- package/lib/orchestrate/interface/orchestrateInterfaceEndpoints.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceEndpointsReview.js +258 -135
- package/lib/orchestrate/interface/orchestrateInterfaceEndpointsReview.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceGroups.js +342 -226
- package/lib/orchestrate/interface/orchestrateInterfaceGroups.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceOperations.js +633 -1
- package/lib/orchestrate/interface/orchestrateInterfaceOperations.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceOperationsReview.js +785 -3
- package/lib/orchestrate/interface/orchestrateInterfaceOperationsReview.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfacePrerequisites.js +206 -3
- package/lib/orchestrate/interface/orchestrateInterfacePrerequisites.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaRename.js +107 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaRename.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js +1676 -9
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemas.js +1637 -9
- package/lib/orchestrate/interface/orchestrateInterfaceSchemas.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaComponent.js +397 -201
- package/lib/orchestrate/prisma/orchestratePrismaComponent.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaCorrect.js +1184 -599
- package/lib/orchestrate/prisma/orchestratePrismaCorrect.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaReview.js +1202 -608
- package/lib/orchestrate/prisma/orchestratePrismaReview.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaSchemas.js +4 -2
- package/lib/orchestrate/prisma/orchestratePrismaSchemas.js.map +1 -1
- package/lib/orchestrate/realize/orchestrateRealizeAuthorization.js +369 -185
- package/lib/orchestrate/realize/orchestrateRealizeAuthorization.js.map +1 -1
- package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js +405 -203
- package/lib/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.js.map +1 -1
- package/lib/orchestrate/realize/orchestrateRealizeCorrect.js +130 -2
- package/lib/orchestrate/realize/orchestrateRealizeCorrect.js.map +1 -1
- package/lib/orchestrate/realize/orchestrateRealizeCorrectCasting.js +165 -2
- package/lib/orchestrate/realize/orchestrateRealizeCorrectCasting.js.map +1 -1
- package/lib/orchestrate/realize/orchestrateRealizeWrite.js +130 -2
- package/lib/orchestrate/realize/orchestrateRealizeWrite.js.map +1 -1
- package/lib/orchestrate/test/histories/transformTestWriteHistories.js.map +1 -1
- package/lib/orchestrate/test/orchestrateTestCorrect.js +131 -2
- package/lib/orchestrate/test/orchestrateTestCorrect.js.map +1 -1
- package/lib/orchestrate/test/orchestrateTestCorrectInvalidRequest.js +166 -2
- package/lib/orchestrate/test/orchestrateTestCorrectInvalidRequest.js.map +1 -1
- package/lib/orchestrate/test/orchestrateTestScenario.js +257 -3
- package/lib/orchestrate/test/orchestrateTestScenario.js.map +1 -1
- package/lib/orchestrate/test/orchestrateTestScenarioReview.js +283 -3
- package/lib/orchestrate/test/orchestrateTestScenarioReview.js.map +1 -1
- package/lib/orchestrate/test/orchestrateTestWrite.js +139 -2
- package/lib/orchestrate/test/orchestrateTestWrite.js.map +1 -1
- package/package.json +9 -9
- package/src/constants/AutoBeSystemPromptConstant.ts +1 -1
- package/src/context/assertSchemaModel.ts +5 -8
- package/src/orchestrate/analyze/orchestrateAnalyzeReview.ts +7 -9
- package/src/orchestrate/analyze/orchestrateAnalyzeScenario.ts +13 -9
- package/src/orchestrate/analyze/orchestrateAnalyzeWrite.ts +7 -9
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeReviewApplication.ts +19 -54
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.ts +25 -22
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeWriteApplication.ts +8 -24
- package/src/orchestrate/common/orchestrateCommonCorrectCasting.ts +15 -1
- package/src/orchestrate/facade/createAutoBeFacadeController.ts +7 -6
- package/src/orchestrate/interface/orchestrateInterfaceAuthorizations.ts +11 -1
- package/src/orchestrate/interface/orchestrateInterfaceComplement.ts +11 -1
- package/src/orchestrate/interface/orchestrateInterfaceEndpoints.ts +13 -9
- package/src/orchestrate/interface/orchestrateInterfaceEndpointsReview.ts +13 -9
- package/src/orchestrate/interface/orchestrateInterfaceGroups.ts +17 -14
- package/src/orchestrate/interface/orchestrateInterfaceOperations.ts +11 -1
- package/src/orchestrate/interface/orchestrateInterfaceOperationsReview.ts +14 -1
- package/src/orchestrate/interface/orchestrateInterfacePrerequisites.ts +11 -1
- package/src/orchestrate/interface/orchestrateInterfaceSchemaRename.ts +9 -1
- package/src/orchestrate/interface/orchestrateInterfaceSchemaReview.ts +14 -1
- package/src/orchestrate/interface/orchestrateInterfaceSchemas.ts +11 -1
- package/src/orchestrate/prisma/orchestratePrismaComponent.ts +13 -9
- package/src/orchestrate/prisma/orchestratePrismaCorrect.ts +7 -9
- package/src/orchestrate/prisma/orchestratePrismaReview.ts +7 -10
- package/src/orchestrate/realize/orchestrateRealizeAuthorization.ts +13 -9
- package/src/orchestrate/realize/orchestrateRealizeAuthorizationCorrect.ts +13 -9
- package/src/orchestrate/realize/orchestrateRealizeCorrect.ts +11 -1
- package/src/orchestrate/realize/orchestrateRealizeCorrectCasting.ts +15 -1
- package/src/orchestrate/realize/orchestrateRealizeWrite.ts +11 -1
- package/src/orchestrate/test/experimental/orchestrateTestWrite.ast +5 -1
- package/src/orchestrate/test/histories/transformTestWriteHistories.ts +1 -1
- package/src/orchestrate/test/orchestrateTestCorrect.ts +11 -1
- package/src/orchestrate/test/orchestrateTestCorrectInvalidRequest.ts +18 -1
- package/src/orchestrate/test/orchestrateTestScenario.ts +11 -1
- package/src/orchestrate/test/orchestrateTestScenarioReview.ts +11 -1
- package/src/orchestrate/test/orchestrateTestWrite.ts +11 -1
|
@@ -88,7 +88,11 @@ function orchestrateInterfaceGroups(ctx, props) {
|
|
|
88
88
|
}
|
|
89
89
|
function createController(props) {
|
|
90
90
|
(0, assertSchemaModel_1.assertSchemaModel)(props.model);
|
|
91
|
-
const application = collection[props.model
|
|
91
|
+
const application = collection[props.model === "chatgpt"
|
|
92
|
+
? "chatgpt"
|
|
93
|
+
: props.model === "gemini"
|
|
94
|
+
? "gemini"
|
|
95
|
+
: "claude"];
|
|
92
96
|
return {
|
|
93
97
|
protocol: "class",
|
|
94
98
|
name: "interface",
|
|
@@ -100,243 +104,355 @@ function createController(props) {
|
|
|
100
104
|
},
|
|
101
105
|
};
|
|
102
106
|
}
|
|
103
|
-
const
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
107
|
+
const collection = {
|
|
108
|
+
chatgpt: {
|
|
109
|
+
model: "chatgpt",
|
|
110
|
+
options: {
|
|
111
|
+
reference: true,
|
|
112
|
+
strict: false,
|
|
113
|
+
separate: null
|
|
114
|
+
},
|
|
115
|
+
functions: [
|
|
116
|
+
{
|
|
117
|
+
name: "makeGroups",
|
|
118
|
+
parameters: {
|
|
119
|
+
description: " Properties containing the groups to be created for API\norganization\n\n------------------------------\n\nCurrent Type: {@link IAutoBeInterfaceGroupApplication.IProps}",
|
|
120
|
+
type: "object",
|
|
121
|
+
properties: {
|
|
122
|
+
groups: {
|
|
123
|
+
description: "Array of API endpoint groups for organizing development.\n\nDO: Organize groups around existing Prisma schema structure.\nDO: Provide complete coverage of all entities and requirements without\noverlap.\n\n\n@minItems 1",
|
|
124
|
+
type: "array",
|
|
125
|
+
items: {
|
|
126
|
+
$ref: "#/$defs/IAutoBeInterfaceGroupApplication.IGroup"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
required: [
|
|
131
|
+
"groups"
|
|
132
|
+
],
|
|
133
|
+
additionalProperties: false,
|
|
134
|
+
$defs: {
|
|
135
|
+
"IAutoBeInterfaceGroupApplication.IGroup": {
|
|
136
|
+
description: "Definition of a logical API endpoint group based on Prisma schema\norganization.\n\n**SCHEMA-BASED GROUP REQUIREMENTS:**\n\nDO: Derive groups from the Prisma schema structure rather than arbitrary\nbusiness domain names.\n\nThis ensures consistency with the underlying data model and prevents\nmisalignment between API organization and database structure.\n\n**Primary Group Sources (in order of priority):**\n\n1. **Prisma Schema Namespaces**: Use namespace names (e.g., `namespace\n Shopping` \u2192 \"Shopping\")\n2. **Schema File Names**: Derive from file names (e.g., `shopping.prisma` \u2192\n \"Shopping\")\n3. **Table Prefix Patterns**: Use consistent prefixes (e.g., `shopping_orders`\n \u2192 \"Shopping\")\n4. **Schema Comments/Annotations**: Follow organizational comments in schema\n\n**Group Creation Guidelines:**\n\n- Each group covers specific Prisma schema entities without overlap\n- Size groups appropriately for manageable endpoint generation cycles\n- Maintain clear boundaries based on schema organization\n- Ensure complete coverage of all database entities and requirements\n- Related database tables within the same schema area are grouped together\n\n**When to Create Schema-Independent Groups:**\n\nOnly create groups that don't correspond to Prisma schema organization\nwhen:\n\n- Requirements include functionality not represented in any schema entity\n- Cross-cutting concerns span multiple schema areas\n- Integration operations don't map to specific database entities\n- System-level functionality requires dedicated API operations\n\n**Naming Standards:**\n\n- Use PascalCase format (e.g., \"Shopping\", \"BBS\", \"UserManagement\")\n- Names directly reflect Prisma schema structure\n- Keep names concise and schema-derived\n- Avoid arbitrary business domain names\n- Maintain consistency with schema organization\n\n**Quality Requirements:**\n\n- Groups collectively cover ALL entities and requirements\n- Each database entity belongs to exactly one group\n- Clear mapping to specific Prisma schema elements\n- Balance group sizes within schema constraints\n- Follow existing schema namespace or file structure patterns",
|
|
137
|
+
type: "object",
|
|
138
|
+
properties: {
|
|
139
|
+
name: {
|
|
140
|
+
description: "Unique identifier name derived from Prisma schema structure.\n\nDO: Correspond to schema namespaces, file names, table prefixes, or\norganizational annotations rather than arbitrary business domain names.\n\n\n@minLength 1",
|
|
141
|
+
type: "string"
|
|
142
|
+
},
|
|
143
|
+
description: {
|
|
144
|
+
description: "Concise description of the group's core purpose.\n\n**Requirements:**\n- Keep it brief and focused (50-200 characters)\n- State the main purpose and key entities\n- Avoid detailed explanations or mappings\n\nExample: \"Handles shopping-related entities and operations\"\n\n\n@minLength 1",
|
|
145
|
+
type: "string"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
required: [
|
|
149
|
+
"name",
|
|
150
|
+
"description"
|
|
151
|
+
]
|
|
152
|
+
}
|
|
123
153
|
}
|
|
124
154
|
},
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
155
|
+
description: "Generate logical groups for organizing API endpoint creation based on\nPrisma schema structure.\n\nDO: Derive groups from Prisma schema organization (namespaces, file\nstructure, table prefixes) rather than arbitrary business domains.\nDO: Create new groups only when existing schema structure cannot adequately\ncover all requirements.",
|
|
156
|
+
validate: (() => { const _io0 = input => Array.isArray(input.groups) && (1 <= input.groups.length && input.groups.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io1 = input => "string" === typeof input.name && 1 <= input.name.length && ("string" === typeof input.description && 1 <= input.description.length); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.groups) || _report(_exceptionable, {
|
|
157
|
+
path: _path + ".groups",
|
|
158
|
+
expected: "(Array<IAutoBeInterfaceGroupApplication.IGroup> & MinItems<1>)",
|
|
159
|
+
value: input.groups
|
|
160
|
+
})) && ((1 <= input.groups.length || _report(_exceptionable, {
|
|
161
|
+
path: _path + ".groups",
|
|
162
|
+
expected: "Array<> & MinItems<1>",
|
|
163
|
+
value: input.groups
|
|
164
|
+
})) && input.groups.map((elem, _index2) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
165
|
+
path: _path + ".groups[" + _index2 + "]",
|
|
166
|
+
expected: "IAutoBeInterfaceGroupApplication.IGroup",
|
|
167
|
+
value: elem
|
|
168
|
+
})) && _vo1(elem, _path + ".groups[" + _index2 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
169
|
+
path: _path + ".groups[" + _index2 + "]",
|
|
170
|
+
expected: "IAutoBeInterfaceGroupApplication.IGroup",
|
|
171
|
+
value: elem
|
|
172
|
+
})).every(flag => flag)) || _report(_exceptionable, {
|
|
173
|
+
path: _path + ".groups",
|
|
174
|
+
expected: "(Array<IAutoBeInterfaceGroupApplication.IGroup> & MinItems<1>)",
|
|
175
|
+
value: input.groups
|
|
176
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.name && (1 <= input.name.length || _report(_exceptionable, {
|
|
177
|
+
path: _path + ".name",
|
|
178
|
+
expected: "string & MinLength<1>",
|
|
179
|
+
value: input.name
|
|
180
|
+
})) || _report(_exceptionable, {
|
|
181
|
+
path: _path + ".name",
|
|
182
|
+
expected: "(string & MinLength<1>)",
|
|
183
|
+
value: input.name
|
|
184
|
+
}), "string" === typeof input.description && (1 <= input.description.length || _report(_exceptionable, {
|
|
185
|
+
path: _path + ".description",
|
|
186
|
+
expected: "string & MinLength<1>",
|
|
187
|
+
value: input.description
|
|
188
|
+
})) || _report(_exceptionable, {
|
|
189
|
+
path: _path + ".description",
|
|
190
|
+
expected: "(string & MinLength<1>)",
|
|
191
|
+
value: input.description
|
|
192
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
193
|
+
if (false === __is(input)) {
|
|
194
|
+
errors = [];
|
|
195
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
196
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
197
|
+
path: _path + "",
|
|
198
|
+
expected: "IAutoBeInterfaceGroupApplication.IProps",
|
|
199
|
+
value: input
|
|
200
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
201
|
+
path: _path + "",
|
|
202
|
+
expected: "IAutoBeInterfaceGroupApplication.IProps",
|
|
203
|
+
value: input
|
|
204
|
+
}))(input, "$input", true);
|
|
205
|
+
const success = 0 === errors.length;
|
|
206
|
+
return success ? {
|
|
207
|
+
success,
|
|
208
|
+
data: input
|
|
209
|
+
} : {
|
|
210
|
+
success,
|
|
211
|
+
errors,
|
|
212
|
+
data: input
|
|
213
|
+
};
|
|
149
214
|
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
description: "Generate logical groups for organizing API endpoint creation based on\nPrisma schema structure.\n\nDO: Derive groups from Prisma schema organization (namespaces, file\nstructure, table prefixes) rather than arbitrary business domains.\nDO: Create new groups only when existing schema structure cannot adequately\ncover all requirements.",
|
|
153
|
-
validate: (() => { const _io0 = input => Array.isArray(input.groups) && (1 <= input.groups.length && input.groups.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io1 = input => "string" === typeof input.name && 1 <= input.name.length && ("string" === typeof input.description && 1 <= input.description.length); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.groups) || _report(_exceptionable, {
|
|
154
|
-
path: _path + ".groups",
|
|
155
|
-
expected: "(Array<IAutoBeInterfaceGroupApplication.IGroup> & MinItems<1>)",
|
|
156
|
-
value: input.groups
|
|
157
|
-
})) && ((1 <= input.groups.length || _report(_exceptionable, {
|
|
158
|
-
path: _path + ".groups",
|
|
159
|
-
expected: "Array<> & MinItems<1>",
|
|
160
|
-
value: input.groups
|
|
161
|
-
})) && input.groups.map((elem, _index2) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
162
|
-
path: _path + ".groups[" + _index2 + "]",
|
|
163
|
-
expected: "IAutoBeInterfaceGroupApplication.IGroup",
|
|
164
|
-
value: elem
|
|
165
|
-
})) && _vo1(elem, _path + ".groups[" + _index2 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
166
|
-
path: _path + ".groups[" + _index2 + "]",
|
|
167
|
-
expected: "IAutoBeInterfaceGroupApplication.IGroup",
|
|
168
|
-
value: elem
|
|
169
|
-
})).every(flag => flag)) || _report(_exceptionable, {
|
|
170
|
-
path: _path + ".groups",
|
|
171
|
-
expected: "(Array<IAutoBeInterfaceGroupApplication.IGroup> & MinItems<1>)",
|
|
172
|
-
value: input.groups
|
|
173
|
-
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.name && (1 <= input.name.length || _report(_exceptionable, {
|
|
174
|
-
path: _path + ".name",
|
|
175
|
-
expected: "string & MinLength<1>",
|
|
176
|
-
value: input.name
|
|
177
|
-
})) || _report(_exceptionable, {
|
|
178
|
-
path: _path + ".name",
|
|
179
|
-
expected: "(string & MinLength<1>)",
|
|
180
|
-
value: input.name
|
|
181
|
-
}), "string" === typeof input.description && (1 <= input.description.length || _report(_exceptionable, {
|
|
182
|
-
path: _path + ".description",
|
|
183
|
-
expected: "string & MinLength<1>",
|
|
184
|
-
value: input.description
|
|
185
|
-
})) || _report(_exceptionable, {
|
|
186
|
-
path: _path + ".description",
|
|
187
|
-
expected: "(string & MinLength<1>)",
|
|
188
|
-
value: input.description
|
|
189
|
-
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
190
|
-
if (false === __is(input)) {
|
|
191
|
-
errors = [];
|
|
192
|
-
_report = __typia_transform__validateReport._validateReport(errors);
|
|
193
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
194
|
-
path: _path + "",
|
|
195
|
-
expected: "IAutoBeInterfaceGroupApplication.IProps",
|
|
196
|
-
value: input
|
|
197
|
-
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
198
|
-
path: _path + "",
|
|
199
|
-
expected: "IAutoBeInterfaceGroupApplication.IProps",
|
|
200
|
-
value: input
|
|
201
|
-
}))(input, "$input", true);
|
|
202
|
-
const success = 0 === errors.length;
|
|
203
|
-
return success ? {
|
|
204
|
-
success,
|
|
205
|
-
data: input
|
|
206
|
-
} : {
|
|
207
|
-
success,
|
|
208
|
-
errors,
|
|
215
|
+
return {
|
|
216
|
+
success: true,
|
|
209
217
|
data: input
|
|
210
218
|
};
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
data: input
|
|
215
|
-
};
|
|
216
|
-
}; })()
|
|
217
|
-
}
|
|
218
|
-
]
|
|
219
|
-
};
|
|
220
|
-
const chatgpt = {
|
|
221
|
-
model: "chatgpt",
|
|
222
|
-
options: {
|
|
223
|
-
reference: true,
|
|
224
|
-
strict: false,
|
|
225
|
-
separate: null
|
|
219
|
+
}; })()
|
|
220
|
+
}
|
|
221
|
+
]
|
|
226
222
|
},
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
223
|
+
claude: {
|
|
224
|
+
model: "claude",
|
|
225
|
+
options: {
|
|
226
|
+
reference: true,
|
|
227
|
+
separate: null
|
|
228
|
+
},
|
|
229
|
+
functions: [
|
|
230
|
+
{
|
|
231
|
+
name: "makeGroups",
|
|
232
|
+
parameters: {
|
|
233
|
+
description: " Properties containing the groups to be created for API\norganization\n\n------------------------------\n\nCurrent Type: {@link IAutoBeInterfaceGroupApplication.IProps}",
|
|
234
|
+
type: "object",
|
|
235
|
+
properties: {
|
|
236
|
+
groups: {
|
|
237
|
+
description: "Array of API endpoint groups for organizing development.\n\nDO: Organize groups around existing Prisma schema structure.\nDO: Provide complete coverage of all entities and requirements without\noverlap.",
|
|
238
|
+
type: "array",
|
|
239
|
+
items: {
|
|
240
|
+
$ref: "#/$defs/IAutoBeInterfaceGroupApplication.IGroup"
|
|
241
|
+
},
|
|
242
|
+
minItems: 1
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
required: [
|
|
246
|
+
"groups"
|
|
247
|
+
],
|
|
248
|
+
additionalProperties: false,
|
|
249
|
+
$defs: {
|
|
250
|
+
"IAutoBeInterfaceGroupApplication.IGroup": {
|
|
251
|
+
description: "Definition of a logical API endpoint group based on Prisma schema\norganization.\n\n**SCHEMA-BASED GROUP REQUIREMENTS:**\n\nDO: Derive groups from the Prisma schema structure rather than arbitrary\nbusiness domain names.\n\nThis ensures consistency with the underlying data model and prevents\nmisalignment between API organization and database structure.\n\n**Primary Group Sources (in order of priority):**\n\n1. **Prisma Schema Namespaces**: Use namespace names (e.g., `namespace\n Shopping` \u2192 \"Shopping\")\n2. **Schema File Names**: Derive from file names (e.g., `shopping.prisma` \u2192\n \"Shopping\")\n3. **Table Prefix Patterns**: Use consistent prefixes (e.g., `shopping_orders`\n \u2192 \"Shopping\")\n4. **Schema Comments/Annotations**: Follow organizational comments in schema\n\n**Group Creation Guidelines:**\n\n- Each group covers specific Prisma schema entities without overlap\n- Size groups appropriately for manageable endpoint generation cycles\n- Maintain clear boundaries based on schema organization\n- Ensure complete coverage of all database entities and requirements\n- Related database tables within the same schema area are grouped together\n\n**When to Create Schema-Independent Groups:**\n\nOnly create groups that don't correspond to Prisma schema organization\nwhen:\n\n- Requirements include functionality not represented in any schema entity\n- Cross-cutting concerns span multiple schema areas\n- Integration operations don't map to specific database entities\n- System-level functionality requires dedicated API operations\n\n**Naming Standards:**\n\n- Use PascalCase format (e.g., \"Shopping\", \"BBS\", \"UserManagement\")\n- Names directly reflect Prisma schema structure\n- Keep names concise and schema-derived\n- Avoid arbitrary business domain names\n- Maintain consistency with schema organization\n\n**Quality Requirements:**\n\n- Groups collectively cover ALL entities and requirements\n- Each database entity belongs to exactly one group\n- Clear mapping to specific Prisma schema elements\n- Balance group sizes within schema constraints\n- Follow existing schema namespace or file structure patterns",
|
|
252
|
+
type: "object",
|
|
253
|
+
properties: {
|
|
254
|
+
name: {
|
|
255
|
+
description: "Unique identifier name derived from Prisma schema structure.\n\nDO: Correspond to schema namespaces, file names, table prefixes, or\norganizational annotations rather than arbitrary business domain names.",
|
|
256
|
+
type: "string",
|
|
257
|
+
minLength: 1
|
|
258
|
+
},
|
|
259
|
+
description: {
|
|
260
|
+
description: "Concise description of the group's core purpose.\n\n**Requirements:**\n- Keep it brief and focused (50-200 characters)\n- State the main purpose and key entities\n- Avoid detailed explanations or mappings\n\nExample: \"Handles shopping-related entities and operations\"",
|
|
261
|
+
type: "string",
|
|
262
|
+
minLength: 1
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
required: [
|
|
266
|
+
"name",
|
|
267
|
+
"description"
|
|
268
|
+
]
|
|
239
269
|
}
|
|
240
270
|
}
|
|
241
271
|
},
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
272
|
+
description: "Generate logical groups for organizing API endpoint creation based on\nPrisma schema structure.\n\nDO: Derive groups from Prisma schema organization (namespaces, file\nstructure, table prefixes) rather than arbitrary business domains.\nDO: Create new groups only when existing schema structure cannot adequately\ncover all requirements.",
|
|
273
|
+
validate: (() => { const _io0 = input => Array.isArray(input.groups) && (1 <= input.groups.length && input.groups.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io1 = input => "string" === typeof input.name && 1 <= input.name.length && ("string" === typeof input.description && 1 <= input.description.length); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.groups) || _report(_exceptionable, {
|
|
274
|
+
path: _path + ".groups",
|
|
275
|
+
expected: "(Array<IAutoBeInterfaceGroupApplication.IGroup> & MinItems<1>)",
|
|
276
|
+
value: input.groups
|
|
277
|
+
})) && ((1 <= input.groups.length || _report(_exceptionable, {
|
|
278
|
+
path: _path + ".groups",
|
|
279
|
+
expected: "Array<> & MinItems<1>",
|
|
280
|
+
value: input.groups
|
|
281
|
+
})) && input.groups.map((elem, _index2) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
282
|
+
path: _path + ".groups[" + _index2 + "]",
|
|
283
|
+
expected: "IAutoBeInterfaceGroupApplication.IGroup",
|
|
284
|
+
value: elem
|
|
285
|
+
})) && _vo1(elem, _path + ".groups[" + _index2 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
286
|
+
path: _path + ".groups[" + _index2 + "]",
|
|
287
|
+
expected: "IAutoBeInterfaceGroupApplication.IGroup",
|
|
288
|
+
value: elem
|
|
289
|
+
})).every(flag => flag)) || _report(_exceptionable, {
|
|
290
|
+
path: _path + ".groups",
|
|
291
|
+
expected: "(Array<IAutoBeInterfaceGroupApplication.IGroup> & MinItems<1>)",
|
|
292
|
+
value: input.groups
|
|
293
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.name && (1 <= input.name.length || _report(_exceptionable, {
|
|
294
|
+
path: _path + ".name",
|
|
295
|
+
expected: "string & MinLength<1>",
|
|
296
|
+
value: input.name
|
|
297
|
+
})) || _report(_exceptionable, {
|
|
298
|
+
path: _path + ".name",
|
|
299
|
+
expected: "(string & MinLength<1>)",
|
|
300
|
+
value: input.name
|
|
301
|
+
}), "string" === typeof input.description && (1 <= input.description.length || _report(_exceptionable, {
|
|
302
|
+
path: _path + ".description",
|
|
303
|
+
expected: "string & MinLength<1>",
|
|
304
|
+
value: input.description
|
|
305
|
+
})) || _report(_exceptionable, {
|
|
306
|
+
path: _path + ".description",
|
|
307
|
+
expected: "(string & MinLength<1>)",
|
|
308
|
+
value: input.description
|
|
309
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
310
|
+
if (false === __is(input)) {
|
|
311
|
+
errors = [];
|
|
312
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
313
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
314
|
+
path: _path + "",
|
|
315
|
+
expected: "IAutoBeInterfaceGroupApplication.IProps",
|
|
316
|
+
value: input
|
|
317
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
318
|
+
path: _path + "",
|
|
319
|
+
expected: "IAutoBeInterfaceGroupApplication.IProps",
|
|
320
|
+
value: input
|
|
321
|
+
}))(input, "$input", true);
|
|
322
|
+
const success = 0 === errors.length;
|
|
323
|
+
return success ? {
|
|
324
|
+
success,
|
|
325
|
+
data: input
|
|
326
|
+
} : {
|
|
327
|
+
success,
|
|
328
|
+
errors,
|
|
329
|
+
data: input
|
|
330
|
+
};
|
|
264
331
|
}
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
description: "Generate logical groups for organizing API endpoint creation based on\nPrisma schema structure.\n\nDO: Derive groups from Prisma schema organization (namespaces, file\nstructure, table prefixes) rather than arbitrary business domains.\nDO: Create new groups only when existing schema structure cannot adequately\ncover all requirements.",
|
|
268
|
-
validate: (() => { const _io0 = input => Array.isArray(input.groups) && (1 <= input.groups.length && input.groups.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io1 = input => "string" === typeof input.name && 1 <= input.name.length && ("string" === typeof input.description && 1 <= input.description.length); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.groups) || _report(_exceptionable, {
|
|
269
|
-
path: _path + ".groups",
|
|
270
|
-
expected: "(Array<IAutoBeInterfaceGroupApplication.IGroup> & MinItems<1>)",
|
|
271
|
-
value: input.groups
|
|
272
|
-
})) && ((1 <= input.groups.length || _report(_exceptionable, {
|
|
273
|
-
path: _path + ".groups",
|
|
274
|
-
expected: "Array<> & MinItems<1>",
|
|
275
|
-
value: input.groups
|
|
276
|
-
})) && input.groups.map((elem, _index2) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
277
|
-
path: _path + ".groups[" + _index2 + "]",
|
|
278
|
-
expected: "IAutoBeInterfaceGroupApplication.IGroup",
|
|
279
|
-
value: elem
|
|
280
|
-
})) && _vo1(elem, _path + ".groups[" + _index2 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
281
|
-
path: _path + ".groups[" + _index2 + "]",
|
|
282
|
-
expected: "IAutoBeInterfaceGroupApplication.IGroup",
|
|
283
|
-
value: elem
|
|
284
|
-
})).every(flag => flag)) || _report(_exceptionable, {
|
|
285
|
-
path: _path + ".groups",
|
|
286
|
-
expected: "(Array<IAutoBeInterfaceGroupApplication.IGroup> & MinItems<1>)",
|
|
287
|
-
value: input.groups
|
|
288
|
-
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.name && (1 <= input.name.length || _report(_exceptionable, {
|
|
289
|
-
path: _path + ".name",
|
|
290
|
-
expected: "string & MinLength<1>",
|
|
291
|
-
value: input.name
|
|
292
|
-
})) || _report(_exceptionable, {
|
|
293
|
-
path: _path + ".name",
|
|
294
|
-
expected: "(string & MinLength<1>)",
|
|
295
|
-
value: input.name
|
|
296
|
-
}), "string" === typeof input.description && (1 <= input.description.length || _report(_exceptionable, {
|
|
297
|
-
path: _path + ".description",
|
|
298
|
-
expected: "string & MinLength<1>",
|
|
299
|
-
value: input.description
|
|
300
|
-
})) || _report(_exceptionable, {
|
|
301
|
-
path: _path + ".description",
|
|
302
|
-
expected: "(string & MinLength<1>)",
|
|
303
|
-
value: input.description
|
|
304
|
-
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
305
|
-
if (false === __is(input)) {
|
|
306
|
-
errors = [];
|
|
307
|
-
_report = __typia_transform__validateReport._validateReport(errors);
|
|
308
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
309
|
-
path: _path + "",
|
|
310
|
-
expected: "IAutoBeInterfaceGroupApplication.IProps",
|
|
311
|
-
value: input
|
|
312
|
-
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
313
|
-
path: _path + "",
|
|
314
|
-
expected: "IAutoBeInterfaceGroupApplication.IProps",
|
|
315
|
-
value: input
|
|
316
|
-
}))(input, "$input", true);
|
|
317
|
-
const success = 0 === errors.length;
|
|
318
|
-
return success ? {
|
|
319
|
-
success,
|
|
332
|
+
return {
|
|
333
|
+
success: true,
|
|
320
334
|
data: input
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
|
|
335
|
+
};
|
|
336
|
+
}; })()
|
|
337
|
+
}
|
|
338
|
+
]
|
|
339
|
+
},
|
|
340
|
+
gemini: {
|
|
341
|
+
model: "gemini",
|
|
342
|
+
options: {
|
|
343
|
+
reference: true,
|
|
344
|
+
separate: null
|
|
345
|
+
},
|
|
346
|
+
functions: [
|
|
347
|
+
{
|
|
348
|
+
name: "makeGroups",
|
|
349
|
+
parameters: {
|
|
350
|
+
description: " Properties containing the groups to be created for API\norganization\n\n------------------------------\n\nCurrent Type: {@link IAutoBeInterfaceGroupApplication.IProps}",
|
|
351
|
+
type: "object",
|
|
352
|
+
properties: {
|
|
353
|
+
groups: {
|
|
354
|
+
description: "Array of API endpoint groups for organizing development.\n\nDO: Organize groups around existing Prisma schema structure.\nDO: Provide complete coverage of all entities and requirements without\noverlap.",
|
|
355
|
+
type: "array",
|
|
356
|
+
items: {
|
|
357
|
+
$ref: "#/$defs/IAutoBeInterfaceGroupApplication.IGroup"
|
|
358
|
+
},
|
|
359
|
+
minItems: 1
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
required: [
|
|
363
|
+
"groups"
|
|
364
|
+
],
|
|
365
|
+
additionalProperties: false,
|
|
366
|
+
$defs: {
|
|
367
|
+
"IAutoBeInterfaceGroupApplication.IGroup": {
|
|
368
|
+
description: "Definition of a logical API endpoint group based on Prisma schema\norganization.\n\n**SCHEMA-BASED GROUP REQUIREMENTS:**\n\nDO: Derive groups from the Prisma schema structure rather than arbitrary\nbusiness domain names.\n\nThis ensures consistency with the underlying data model and prevents\nmisalignment between API organization and database structure.\n\n**Primary Group Sources (in order of priority):**\n\n1. **Prisma Schema Namespaces**: Use namespace names (e.g., `namespace\n Shopping` \u2192 \"Shopping\")\n2. **Schema File Names**: Derive from file names (e.g., `shopping.prisma` \u2192\n \"Shopping\")\n3. **Table Prefix Patterns**: Use consistent prefixes (e.g., `shopping_orders`\n \u2192 \"Shopping\")\n4. **Schema Comments/Annotations**: Follow organizational comments in schema\n\n**Group Creation Guidelines:**\n\n- Each group covers specific Prisma schema entities without overlap\n- Size groups appropriately for manageable endpoint generation cycles\n- Maintain clear boundaries based on schema organization\n- Ensure complete coverage of all database entities and requirements\n- Related database tables within the same schema area are grouped together\n\n**When to Create Schema-Independent Groups:**\n\nOnly create groups that don't correspond to Prisma schema organization\nwhen:\n\n- Requirements include functionality not represented in any schema entity\n- Cross-cutting concerns span multiple schema areas\n- Integration operations don't map to specific database entities\n- System-level functionality requires dedicated API operations\n\n**Naming Standards:**\n\n- Use PascalCase format (e.g., \"Shopping\", \"BBS\", \"UserManagement\")\n- Names directly reflect Prisma schema structure\n- Keep names concise and schema-derived\n- Avoid arbitrary business domain names\n- Maintain consistency with schema organization\n\n**Quality Requirements:**\n\n- Groups collectively cover ALL entities and requirements\n- Each database entity belongs to exactly one group\n- Clear mapping to specific Prisma schema elements\n- Balance group sizes within schema constraints\n- Follow existing schema namespace or file structure patterns",
|
|
369
|
+
type: "object",
|
|
370
|
+
properties: {
|
|
371
|
+
name: {
|
|
372
|
+
description: "Unique identifier name derived from Prisma schema structure.\n\nDO: Correspond to schema namespaces, file names, table prefixes, or\norganizational annotations rather than arbitrary business domain names.",
|
|
373
|
+
type: "string",
|
|
374
|
+
minLength: 1
|
|
375
|
+
},
|
|
376
|
+
description: {
|
|
377
|
+
description: "Concise description of the group's core purpose.\n\n**Requirements:**\n- Keep it brief and focused (50-200 characters)\n- State the main purpose and key entities\n- Avoid detailed explanations or mappings\n\nExample: \"Handles shopping-related entities and operations\"",
|
|
378
|
+
type: "string",
|
|
379
|
+
minLength: 1
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
required: [
|
|
383
|
+
"name",
|
|
384
|
+
"description"
|
|
385
|
+
]
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
description: "Generate logical groups for organizing API endpoint creation based on\nPrisma schema structure.\n\nDO: Derive groups from Prisma schema organization (namespaces, file\nstructure, table prefixes) rather than arbitrary business domains.\nDO: Create new groups only when existing schema structure cannot adequately\ncover all requirements.",
|
|
390
|
+
validate: (() => { const _io0 = input => Array.isArray(input.groups) && (1 <= input.groups.length && input.groups.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io1 = input => "string" === typeof input.name && 1 <= input.name.length && ("string" === typeof input.description && 1 <= input.description.length); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.groups) || _report(_exceptionable, {
|
|
391
|
+
path: _path + ".groups",
|
|
392
|
+
expected: "(Array<IAutoBeInterfaceGroupApplication.IGroup> & MinItems<1>)",
|
|
393
|
+
value: input.groups
|
|
394
|
+
})) && ((1 <= input.groups.length || _report(_exceptionable, {
|
|
395
|
+
path: _path + ".groups",
|
|
396
|
+
expected: "Array<> & MinItems<1>",
|
|
397
|
+
value: input.groups
|
|
398
|
+
})) && input.groups.map((elem, _index2) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
399
|
+
path: _path + ".groups[" + _index2 + "]",
|
|
400
|
+
expected: "IAutoBeInterfaceGroupApplication.IGroup",
|
|
401
|
+
value: elem
|
|
402
|
+
})) && _vo1(elem, _path + ".groups[" + _index2 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
403
|
+
path: _path + ".groups[" + _index2 + "]",
|
|
404
|
+
expected: "IAutoBeInterfaceGroupApplication.IGroup",
|
|
405
|
+
value: elem
|
|
406
|
+
})).every(flag => flag)) || _report(_exceptionable, {
|
|
407
|
+
path: _path + ".groups",
|
|
408
|
+
expected: "(Array<IAutoBeInterfaceGroupApplication.IGroup> & MinItems<1>)",
|
|
409
|
+
value: input.groups
|
|
410
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.name && (1 <= input.name.length || _report(_exceptionable, {
|
|
411
|
+
path: _path + ".name",
|
|
412
|
+
expected: "string & MinLength<1>",
|
|
413
|
+
value: input.name
|
|
414
|
+
})) || _report(_exceptionable, {
|
|
415
|
+
path: _path + ".name",
|
|
416
|
+
expected: "(string & MinLength<1>)",
|
|
417
|
+
value: input.name
|
|
418
|
+
}), "string" === typeof input.description && (1 <= input.description.length || _report(_exceptionable, {
|
|
419
|
+
path: _path + ".description",
|
|
420
|
+
expected: "string & MinLength<1>",
|
|
421
|
+
value: input.description
|
|
422
|
+
})) || _report(_exceptionable, {
|
|
423
|
+
path: _path + ".description",
|
|
424
|
+
expected: "(string & MinLength<1>)",
|
|
425
|
+
value: input.description
|
|
426
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
427
|
+
if (false === __is(input)) {
|
|
428
|
+
errors = [];
|
|
429
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
430
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
431
|
+
path: _path + "",
|
|
432
|
+
expected: "IAutoBeInterfaceGroupApplication.IProps",
|
|
433
|
+
value: input
|
|
434
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
435
|
+
path: _path + "",
|
|
436
|
+
expected: "IAutoBeInterfaceGroupApplication.IProps",
|
|
437
|
+
value: input
|
|
438
|
+
}))(input, "$input", true);
|
|
439
|
+
const success = 0 === errors.length;
|
|
440
|
+
return success ? {
|
|
441
|
+
success,
|
|
442
|
+
data: input
|
|
443
|
+
} : {
|
|
444
|
+
success,
|
|
445
|
+
errors,
|
|
446
|
+
data: input
|
|
447
|
+
};
|
|
448
|
+
}
|
|
449
|
+
return {
|
|
450
|
+
success: true,
|
|
324
451
|
data: input
|
|
325
452
|
};
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
};
|
|
331
|
-
}; })()
|
|
332
|
-
}
|
|
333
|
-
]
|
|
334
|
-
};
|
|
335
|
-
const collection = {
|
|
336
|
-
chatgpt,
|
|
337
|
-
claude,
|
|
338
|
-
llama: claude,
|
|
339
|
-
deepseek: claude,
|
|
340
|
-
"3.1": claude,
|
|
453
|
+
}; })()
|
|
454
|
+
}
|
|
455
|
+
]
|
|
456
|
+
},
|
|
341
457
|
};
|
|
342
458
|
//# sourceMappingURL=orchestrateInterfaceGroups.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrateInterfaceGroups.js","sourceRoot":"","sources":["../../../src/orchestrate/interface/orchestrateInterfaceGroups.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,gEAsCC;;AA9CD,kDAA0B;AAC1B,+BAA0B;AAG1B,uEAAoE;AACpE,mGAAgG;AAGhG,SAAsB,0BAA0B,CAG9C,GAAyB,EACzB,KAGC;;;QAED,MAAM,KAAK,GAAS,IAAI,IAAI,EAAE,CAAC;QAC/B,MAAM,OAAO,GAA6D;YACxE,KAAK,EAAE,IAAI;SACZ,CAAC;QACF,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,GAAG,CAAC,UAAU,CAAC;YAClD,MAAM,EAAE,gBAAgB;YACxB,SAAS,EAAE,IAAA,mEAAgC,EAAC;gBAC1C,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE;gBAClB,WAAW,EAAE,KAAK,CAAC,WAAW;aAC/B,CAAC;YACF,UAAU,EAAE,gBAAgB,CAAC;gBAC3B,KAAK,EAAE,GAAG,CAAC,KAAK;gBAChB,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE;oBACd,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;gBACvB,CAAC;aACF,CAAC;YACF,mBAAmB,EAAE,IAAI;YACzB,OAAO,EAAE,MAAA,KAAK,CAAC,OAAO,mCAAI,6CAA6C;SACxE,CAAC,CAAC;QACH,IAAI,OAAO,CAAC,KAAK,KAAK,IAAI;YAAE,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAC,CAAC,cAAc;QACzF,OAAO;YACL,IAAI,EAAE,gBAAgB;YACtB,EAAE,EAAE,IAAA,SAAE,GAAE;YACR,UAAU,EAAE,KAAK,CAAC,WAAW,EAAE;YAC/B,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM;YAC5B,MAAM;YACN,UAAU;YACV,IAAI,EAAE,MAAA,MAAA,GAAG,CAAC,KAAK,EAAE,CAAC,OAAO,0CAAE,IAAI,mCAAI,CAAC;SACD,CAAC;IACxC,CAAC;CAAA;AAED,SAAS,gBAAgB,CAAiC,KAGzD;IACC,IAAA,qCAAiB,EAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAE/B,MAAM,WAAW,GAA2B,UAAU,CACpD,KAAK,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"orchestrateInterfaceGroups.js","sourceRoot":"","sources":["../../../src/orchestrate/interface/orchestrateInterfaceGroups.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,gEAsCC;;AA9CD,kDAA0B;AAC1B,+BAA0B;AAG1B,uEAAoE;AACpE,mGAAgG;AAGhG,SAAsB,0BAA0B,CAG9C,GAAyB,EACzB,KAGC;;;QAED,MAAM,KAAK,GAAS,IAAI,IAAI,EAAE,CAAC;QAC/B,MAAM,OAAO,GAA6D;YACxE,KAAK,EAAE,IAAI;SACZ,CAAC;QACF,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,GAAG,CAAC,UAAU,CAAC;YAClD,MAAM,EAAE,gBAAgB;YACxB,SAAS,EAAE,IAAA,mEAAgC,EAAC;gBAC1C,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE;gBAClB,WAAW,EAAE,KAAK,CAAC,WAAW;aAC/B,CAAC;YACF,UAAU,EAAE,gBAAgB,CAAC;gBAC3B,KAAK,EAAE,GAAG,CAAC,KAAK;gBAChB,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE;oBACd,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;gBACvB,CAAC;aACF,CAAC;YACF,mBAAmB,EAAE,IAAI;YACzB,OAAO,EAAE,MAAA,KAAK,CAAC,OAAO,mCAAI,6CAA6C;SACxE,CAAC,CAAC;QACH,IAAI,OAAO,CAAC,KAAK,KAAK,IAAI;YAAE,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAC,CAAC,cAAc;QACzF,OAAO;YACL,IAAI,EAAE,gBAAgB;YACtB,EAAE,EAAE,IAAA,SAAE,GAAE;YACR,UAAU,EAAE,KAAK,CAAC,WAAW,EAAE;YAC/B,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM;YAC5B,MAAM;YACN,UAAU;YACV,IAAI,EAAE,MAAA,MAAA,GAAG,CAAC,KAAK,EAAE,CAAC,OAAO,0CAAE,IAAI,mCAAI,CAAC;SACD,CAAC;IACxC,CAAC;CAAA;AAED,SAAS,gBAAgB,CAAiC,KAGzD;IACC,IAAA,qCAAiB,EAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAE/B,MAAM,WAAW,GAA2B,UAAU,CACpD,KAAK,CAAC,KAAK,KAAK,SAAS;QACvB,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,KAAK,CAAC,KAAK,KAAK,QAAQ;YACxB,CAAC,CAAC,QAAQ;YACV,CAAC,CAAC,QAAQ,CACqD,CAAC;IACtE,OAAO;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,WAAW;QACjB,WAAW;QACX,OAAO,EAAE;YACP,UAAU,EAAE,CAAC,IAAI,EAAE,EAAE;gBACnB,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACpB,CAAC;SACyC;KAC7C,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,GAAG;IACjB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAGJ;IACH,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAGH;IACH,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAGH;CACJ,CAAC"}
|