funolio-agent 0.16.4 → 0.17.2
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/auth/token-refresh.d.ts +13 -5
- package/dist/auth/token-refresh.d.ts.map +1 -1
- package/dist/auth/token-refresh.js +123 -28
- package/dist/auth/token-refresh.js.map +1 -1
- package/dist/clerk-model.d.ts.map +1 -1
- package/dist/clerk-model.js +3 -0
- package/dist/clerk-model.js.map +1 -1
- package/dist/config.d.ts +9 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js.map +1 -1
- package/dist/local-server.d.ts.map +1 -1
- package/dist/local-server.js +49 -54
- package/dist/local-server.js.map +1 -1
- package/dist/message-loop.d.ts +1 -0
- package/dist/message-loop.d.ts.map +1 -1
- package/dist/message-loop.js +24 -1
- package/dist/message-loop.js.map +1 -1
- package/dist/oauth.d.ts.map +1 -1
- package/dist/oauth.js +20 -0
- package/dist/oauth.js.map +1 -1
- package/dist/orchestration/front-door-policy.d.ts +8 -0
- package/dist/orchestration/front-door-policy.d.ts.map +1 -1
- package/dist/orchestration/front-door-policy.js +69 -203
- package/dist/orchestration/front-door-policy.js.map +1 -1
- package/dist/orchestration/orchestrator-operating-prompt.d.ts.map +1 -1
- package/dist/orchestration/orchestrator-operating-prompt.js +5 -8
- package/dist/orchestration/orchestrator-operating-prompt.js.map +1 -1
- package/dist/orchestration/safeguards.d.ts +1 -1
- package/dist/orchestration/safeguards.js +1 -1
- package/dist/orchestrator.d.ts +7 -2
- package/dist/orchestrator.d.ts.map +1 -1
- package/dist/orchestrator.js +100 -73
- package/dist/orchestrator.js.map +1 -1
- package/dist/providers/anthropic.d.ts +1 -0
- package/dist/providers/anthropic.d.ts.map +1 -1
- package/dist/providers/anthropic.js +10 -2
- package/dist/providers/anthropic.js.map +1 -1
- package/dist/tools/run-command.d.ts.map +1 -1
- package/dist/tools/run-command.js +90 -11
- package/dist/tools/run-command.js.map +1 -1
- package/dist/tools/schedule-task.d.ts.map +1 -1
- package/dist/tools/schedule-task.js +3 -0
- package/dist/tools/schedule-task.js.map +1 -1
- package/dist/tools/search-memory.d.ts.map +1 -1
- package/dist/tools/search-memory.js +10 -6
- package/dist/tools/search-memory.js.map +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/workflow-engine.d.ts +6 -1
- package/dist/workflow-engine.d.ts.map +1 -1
- package/dist/workflow-engine.js +30 -1
- package/dist/workflow-engine.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,240 +9,106 @@ function sameBot(a, b) {
|
|
|
9
9
|
const right = normalize(b);
|
|
10
10
|
return Boolean(left && right && left === right);
|
|
11
11
|
}
|
|
12
|
-
function cloneDecision(decision) {
|
|
13
|
-
return {
|
|
14
|
-
...decision,
|
|
15
|
-
clarification_questions: Array.isArray(decision.clarification_questions)
|
|
16
|
-
? [...decision.clarification_questions]
|
|
17
|
-
: undefined,
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
function countExplicitRoles(assignments) {
|
|
21
|
-
if (!assignments)
|
|
22
|
-
return 0;
|
|
23
|
-
return [assignments.coding, assignments.qa, assignments.research].filter(Boolean).length;
|
|
24
|
-
}
|
|
25
|
-
function isStatusPrompt(prompt) {
|
|
26
|
-
return /\b(status|progress|what(?:'s| is) happening|where are we|is it done|how far along|current state|what is going on)\b/i.test(prompt);
|
|
27
|
-
}
|
|
28
|
-
function isPolicyPrompt(prompt) {
|
|
29
|
-
return /\b(from now on|by default|default workflow|default qa|default research|default coder)\b/i.test(prompt)
|
|
30
|
-
|| /\b(always|never)\b[\s\S]{0,40}\b(orchestrator|routing|workflow|qa|research|coder|code|deploy|simulation|status updates?|default(?:s)?|allowed|allow|forbid|forbidden)\b/i.test(prompt)
|
|
31
|
-
|| /\b(orchestrator|routing|workflow|qa|research|coder|code|deploy|simulation|status updates?|default(?:s)?|allowed|allow|forbid|forbidden)\b[\s\S]{0,40}\b(always|never)\b/i.test(prompt)
|
|
32
|
-
|| /\b(orchestrator|routing|workflow|qa|research|coder|code|deploy|simulation|status updates?)\b[\s\S]{0,40}\b(policy|policies|default|defaults|allowed|allow|forbid|forbidden|never|always)\b/i.test(prompt)
|
|
33
|
-
|| /\b(policy|policies)\b[\s\S]{0,40}\b(orchestrator|routing|workflow|qa|research|coder|code|deploy|simulation|status updates?)\b/i.test(prompt);
|
|
34
|
-
}
|
|
35
|
-
function requestsQaFollowup(prompt) {
|
|
36
|
-
return /\b(qa|review|test|verify|verification|audit)\b[\s\S]{0,30}\b(when done|after|afterward|afterwards|once done|once that is done|when finished|after it(?:'s| is) done)\b/i.test(prompt)
|
|
37
|
-
|| /\b(when done|after|afterward|afterwards|once done|once that is done|when finished)\b[\s\S]{0,30}\b(qa|review|test|verify|verification|audit)\b/i.test(prompt)
|
|
38
|
-
|| /\bqa it when done\b/i.test(prompt)
|
|
39
|
-
|| /\breview it when done\b/i.test(prompt)
|
|
40
|
-
|| /\bverify it when done\b/i.test(prompt);
|
|
41
|
-
}
|
|
42
|
-
function asksForOpinion(prompt) {
|
|
43
|
-
return /\b(what do you think|thoughts|do you agree|can we|should we|is this a good idea|opinion)\b/i.test(prompt);
|
|
44
|
-
}
|
|
45
|
-
function isQaOnlyPrompt(prompt) {
|
|
46
|
-
const hasQa = /\b(qa(?:'d|ed|ing)?|review|test|verify|verification|audit)\b/i.test(prompt);
|
|
47
|
-
const hasCoding = /\b(build|code|implement|create|fix|update|edit|change|refactor|ship|deploy)\b/i.test(prompt);
|
|
48
|
-
const hasResearch = /\b(brainstorm(?:ing)?|research(?:es|ed|ing)?|investigate|analy[sz]e|evaluate|compare|feasibility|what do you think|thoughts)\b/i.test(prompt);
|
|
49
|
-
return hasQa && !hasCoding && !hasResearch && !requestsQaFollowup(prompt);
|
|
50
|
-
}
|
|
51
|
-
function orchestratorOwnsRole(role, orchestratorName, orchestratorRoleClass, assignments) {
|
|
52
|
-
const assigned = role === 'coding'
|
|
53
|
-
? assignments?.coding
|
|
54
|
-
: role === 'qa'
|
|
55
|
-
? assignments?.qa
|
|
56
|
-
: assignments?.research;
|
|
57
|
-
if (sameBot(assigned, orchestratorName))
|
|
58
|
-
return true;
|
|
59
|
-
const roleClass = normalize(orchestratorRoleClass);
|
|
60
|
-
if (!roleClass)
|
|
61
|
-
return !assigned;
|
|
62
|
-
if (role === 'coding')
|
|
63
|
-
return ['code', 'coder', 'builder', 'developer', 'engineer', 'orchestrator', 'manager'].includes(roleClass);
|
|
64
|
-
if (role === 'qa')
|
|
65
|
-
return ['qa', 'review', 'reviewer'].includes(roleClass);
|
|
66
|
-
return ['research', 'researcher', 'analyst', 'advisor', 'brainstorm', 'brainstormer'].includes(roleClass);
|
|
67
|
-
}
|
|
68
|
-
function isResearchPrompt(prompt) {
|
|
69
|
-
return /\b(brainstorm(?:ing)?|research(?:es|ed|ing)?|investigate|analy[sz]e|evaluate|compare|feasibility|what do you think|thoughts|recommend|pressure[- ]?test)\b/i.test(prompt)
|
|
70
|
-
|| /\b(best idea|best approach|not sure what to do)\b/i.test(prompt);
|
|
71
|
-
}
|
|
72
|
-
function isCodingPrompt(prompt) {
|
|
73
|
-
return /\b(build|code|implement|create|fix|update|edit|change|refactor|add|remove|rename|wire up|hook up|make)\b/i.test(prompt);
|
|
74
|
-
}
|
|
75
12
|
function detectTaskType(prompt) {
|
|
76
|
-
if (
|
|
13
|
+
if (/\b(from now on|by default|default workflow|default qa|default research|default coder)\b/i.test(prompt))
|
|
77
14
|
return 'policy';
|
|
78
|
-
if (
|
|
15
|
+
if (/\b(status|progress|what(?:'s| is) happening|where are we|is it done|how far along)\b/i.test(prompt))
|
|
79
16
|
return 'status';
|
|
80
|
-
|
|
17
|
+
const hasQa = /\b(qa(?:'d|ed|ing)?|review|test|verify|verification|audit)\b/i.test(prompt);
|
|
18
|
+
const hasCoding = /\b(build|code|implement|create|fix|update|edit|change|refactor|ship|deploy|make|add|remove|rename|wire up|hook up)\b/i.test(prompt);
|
|
19
|
+
const hasResearch = /\b(brainstorm(?:ing)?|research(?:es|ed|ing)?|investigate|analy[sz]e|evaluate|compare|feasibility)\b/i.test(prompt);
|
|
20
|
+
if (hasQa && !hasCoding && !hasResearch)
|
|
81
21
|
return 'qa';
|
|
82
|
-
if (
|
|
22
|
+
if (hasResearch && !hasCoding)
|
|
83
23
|
return 'research';
|
|
84
|
-
if (
|
|
24
|
+
if (hasCoding)
|
|
85
25
|
return 'coding';
|
|
86
26
|
return 'conversation';
|
|
87
27
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
28
|
+
/**
|
|
29
|
+
* Simplified front-door policy:
|
|
30
|
+
* - Ben (orchestrator) does EVERYTHING by default → execute_self
|
|
31
|
+
* - Only delegate when user EXPLICITLY names another bot in their prompt (promptAssignments)
|
|
32
|
+
* - Only use workflow when LLM chose workflow AND user explicitly selected one
|
|
33
|
+
* - NEVER auto-delegate based on roleAssignments/defaults
|
|
34
|
+
* - NEVER clarify about which worker to use
|
|
35
|
+
*/
|
|
94
36
|
function applyFrontDoorPolicy(input) {
|
|
95
37
|
const prompt = String(input.prompt || '');
|
|
96
38
|
const promptAssignments = input.promptAssignments || {};
|
|
97
|
-
const roleAssignments = input.roleAssignments || {};
|
|
98
39
|
const taskType = detectTaskType(prompt);
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
qaMode = 'review_only';
|
|
102
|
-
else if (requestsQaFollowup(prompt))
|
|
103
|
-
qaMode = 'requested';
|
|
104
|
-
else if (input.highRisk && isCodingPrompt(prompt) && roleAssignments.qa)
|
|
105
|
-
qaMode = 'mandatory';
|
|
106
|
-
const initial = cloneDecision(input.initialDecision);
|
|
107
|
-
let decision = cloneDecision(input.initialDecision);
|
|
40
|
+
const initial = { ...input.initialDecision };
|
|
41
|
+
let decision = { ...input.initialDecision };
|
|
108
42
|
let correctionReason;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
return {
|
|
118
|
-
decision: initial,
|
|
119
|
-
corrected: false,
|
|
120
|
-
correctionReason: undefined,
|
|
121
|
-
taskType,
|
|
122
|
-
qaMode,
|
|
123
|
-
preferredWorkflowRequested: false,
|
|
124
|
-
explicitWorkflowRequested: false,
|
|
43
|
+
// Rule 1: If user explicitly named a bot in the prompt, delegate to that bot
|
|
44
|
+
if (promptAssignments.qa && !sameBot(promptAssignments.qa, input.orchestratorName)) {
|
|
45
|
+
decision = {
|
|
46
|
+
mode: 'delegate',
|
|
47
|
+
reason: 'User explicitly asked for a specific bot.',
|
|
48
|
+
delegate_target: promptAssignments.qa,
|
|
49
|
+
delegate_role: 'qa',
|
|
50
|
+
delegate_request: decision.delegate_request?.trim() || prompt.trim(),
|
|
125
51
|
};
|
|
52
|
+
correctionReason = decision.reason;
|
|
126
53
|
}
|
|
127
|
-
if (
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
preferredWorkflowRequested: false,
|
|
135
|
-
explicitWorkflowRequested: false,
|
|
54
|
+
else if (promptAssignments.research && !sameBot(promptAssignments.research, input.orchestratorName)) {
|
|
55
|
+
decision = {
|
|
56
|
+
mode: 'delegate',
|
|
57
|
+
reason: 'User explicitly asked for a specific bot.',
|
|
58
|
+
delegate_target: promptAssignments.research,
|
|
59
|
+
delegate_role: 'research',
|
|
60
|
+
delegate_request: decision.delegate_request?.trim() || prompt.trim(),
|
|
136
61
|
};
|
|
62
|
+
correctionReason = decision.reason;
|
|
137
63
|
}
|
|
138
|
-
if (
|
|
139
|
-
decision =
|
|
140
|
-
mode: '
|
|
141
|
-
reason: '',
|
|
142
|
-
|
|
143
|
-
delegate_role: '
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
: 'The user explicitly asked for QA after implementation.');
|
|
64
|
+
else if (promptAssignments.coding && !sameBot(promptAssignments.coding, input.orchestratorName)) {
|
|
65
|
+
decision = {
|
|
66
|
+
mode: 'delegate',
|
|
67
|
+
reason: 'User explicitly asked for a specific bot.',
|
|
68
|
+
delegate_target: promptAssignments.coding,
|
|
69
|
+
delegate_role: 'coding',
|
|
70
|
+
delegate_request: decision.delegate_request?.trim() || prompt.trim(),
|
|
71
|
+
};
|
|
147
72
|
correctionReason = decision.reason;
|
|
148
73
|
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
delegate_role: 'qa',
|
|
157
|
-
delegate_request: decision.delegate_request?.trim() || prompt.trim(),
|
|
158
|
-
}, 'The user explicitly assigned QA to another specialist.');
|
|
159
|
-
correctionReason = decision.reason;
|
|
160
|
-
}
|
|
161
|
-
else if (orchestratorOwnsRole('qa', input.orchestratorName, input.orchestratorRoleClass, roleAssignments)) {
|
|
162
|
-
decision = withReason({
|
|
163
|
-
mode: 'execute_self',
|
|
164
|
-
reason: '',
|
|
165
|
-
}, 'QA stays with the orchestrator by default when it owns review work.');
|
|
166
|
-
correctionReason = decision.reason;
|
|
167
|
-
}
|
|
168
|
-
else if (qaTarget) {
|
|
169
|
-
decision = withReason({
|
|
170
|
-
mode: 'delegate',
|
|
171
|
-
reason: '',
|
|
172
|
-
delegate_target: qaTarget,
|
|
173
|
-
delegate_role: 'qa',
|
|
174
|
-
delegate_request: decision.delegate_request?.trim() || prompt.trim(),
|
|
175
|
-
}, 'This is a direct QA/review request and should go to the QA specialist by default.');
|
|
176
|
-
correctionReason = decision.reason;
|
|
177
|
-
}
|
|
74
|
+
// Rule 2: If LLM chose delegate but user did NOT name a bot → override to execute_self
|
|
75
|
+
else if (initial.mode === 'delegate') {
|
|
76
|
+
decision = {
|
|
77
|
+
mode: 'execute_self',
|
|
78
|
+
reason: 'No explicit bot named by user. Orchestrator handles it directly.',
|
|
79
|
+
};
|
|
80
|
+
correctionReason = decision.reason;
|
|
178
81
|
}
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
delegate_role: 'research',
|
|
187
|
-
delegate_request: decision.delegate_request?.trim() || prompt.trim(),
|
|
188
|
-
}, 'The user explicitly assigned research to another specialist.');
|
|
189
|
-
correctionReason = decision.reason;
|
|
190
|
-
}
|
|
191
|
-
else if (orchestratorOwnsRole('research', input.orchestratorName, input.orchestratorRoleClass, roleAssignments)) {
|
|
192
|
-
decision = withReason({
|
|
193
|
-
mode: 'execute_self',
|
|
194
|
-
reason: '',
|
|
195
|
-
}, 'Research stays with the orchestrator by default when it owns analysis work.');
|
|
196
|
-
correctionReason = decision.reason;
|
|
197
|
-
}
|
|
198
|
-
else if (researchTarget) {
|
|
199
|
-
decision = withReason({
|
|
200
|
-
mode: 'delegate',
|
|
201
|
-
reason: '',
|
|
202
|
-
delegate_target: researchTarget,
|
|
203
|
-
delegate_role: 'research',
|
|
204
|
-
delegate_request: decision.delegate_request?.trim() || prompt.trim(),
|
|
205
|
-
}, 'This is an advisory or research request and should go to the research specialist by default.');
|
|
206
|
-
correctionReason = decision.reason;
|
|
207
|
-
}
|
|
82
|
+
// Rule 3: If LLM chose clarify → override to execute_self (just do the work)
|
|
83
|
+
else if (initial.mode === 'clarify') {
|
|
84
|
+
decision = {
|
|
85
|
+
mode: 'execute_self',
|
|
86
|
+
reason: 'Converted clarify to execute_self. Just do the work.',
|
|
87
|
+
};
|
|
88
|
+
correctionReason = decision.reason;
|
|
208
89
|
}
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
delegate_target: explicitCodingTarget,
|
|
216
|
-
delegate_role: 'coding',
|
|
217
|
-
delegate_request: decision.delegate_request?.trim() || prompt.trim(),
|
|
218
|
-
}, 'The user explicitly assigned coding to another bot.');
|
|
219
|
-
correctionReason = decision.reason;
|
|
220
|
-
}
|
|
221
|
-
else if (orchestratorOwnsRole('coding', input.orchestratorName, input.orchestratorRoleClass, roleAssignments)) {
|
|
222
|
-
decision = withReason({
|
|
90
|
+
// Rule 4: If LLM chose respond with orchestration language → override to execute_self
|
|
91
|
+
else if (initial.mode === 'respond') {
|
|
92
|
+
const resp = String(initial.response || '').toLowerCase();
|
|
93
|
+
const hasOrchestrationLanguage = /which (worker|bot|agent|specialist)|ready to coordinate|get the right bots|need a few details|before i start|i need to know|which .* should handle/i.test(resp);
|
|
94
|
+
if (hasOrchestrationLanguage) {
|
|
95
|
+
decision = {
|
|
223
96
|
mode: 'execute_self',
|
|
224
|
-
reason: '',
|
|
225
|
-
}
|
|
226
|
-
correctionReason = decision.reason;
|
|
227
|
-
}
|
|
228
|
-
else if (roleAssignments.coding) {
|
|
229
|
-
decision = withReason({
|
|
230
|
-
mode: 'delegate',
|
|
231
|
-
reason: '',
|
|
232
|
-
delegate_target: roleAssignments.coding,
|
|
233
|
-
delegate_role: 'coding',
|
|
234
|
-
delegate_request: decision.delegate_request?.trim() || prompt.trim(),
|
|
235
|
-
}, 'Coding defaults to the configured coding specialist when the orchestrator is not the coding owner.');
|
|
97
|
+
reason: 'Respond contained orchestration language. Just do the work.',
|
|
98
|
+
};
|
|
236
99
|
correctionReason = decision.reason;
|
|
237
100
|
}
|
|
101
|
+
// Otherwise preserve respond mode (conversational answers are fine)
|
|
238
102
|
}
|
|
103
|
+
// Rule 5: workflow mode is preserved only when workflow template was explicitly selected
|
|
104
|
+
// (handled upstream in orchestrator.ts before front-door is called)
|
|
239
105
|
const corrected = JSON.stringify(decision) !== JSON.stringify(initial);
|
|
240
106
|
return {
|
|
241
107
|
decision,
|
|
242
108
|
corrected,
|
|
243
109
|
correctionReason,
|
|
244
110
|
taskType,
|
|
245
|
-
qaMode,
|
|
111
|
+
qaMode: 'none',
|
|
246
112
|
preferredWorkflowRequested: false,
|
|
247
113
|
explicitWorkflowRequested: false,
|
|
248
114
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"front-door-policy.js","sourceRoot":"","sources":["../../src/orchestration/front-door-policy.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"front-door-policy.js","sourceRoot":"","sources":["../../src/orchestration/front-door-policy.ts"],"names":[],"mappings":";;AA0DA,oDA+EC;AA7GD,SAAS,SAAS,CAAC,KAAgC;IACjD,OAAO,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;AAClD,CAAC;AAED,SAAS,OAAO,CAAC,CAAqB,EAAE,CAAqB;IAC3D,MAAM,IAAI,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IAC1B,MAAM,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IAC3B,OAAO,OAAO,CAAC,IAAI,IAAI,KAAK,IAAI,IAAI,KAAK,KAAK,CAAC,CAAC;AAClD,CAAC;AAED,SAAS,cAAc,CAAC,MAAc;IACpC,IAAI,0FAA0F,CAAC,IAAI,CAAC,MAAM,CAAC;QAAE,OAAO,QAAQ,CAAC;IAC7H,IAAI,uFAAuF,CAAC,IAAI,CAAC,MAAM,CAAC;QAAE,OAAO,QAAQ,CAAC;IAC1H,MAAM,KAAK,GAAG,+DAA+D,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC3F,MAAM,SAAS,GAAG,uHAAuH,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACvJ,MAAM,WAAW,GAAG,sGAAsG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACxI,IAAI,KAAK,IAAI,CAAC,SAAS,IAAI,CAAC,WAAW;QAAE,OAAO,IAAI,CAAC;IACrD,IAAI,WAAW,IAAI,CAAC,SAAS;QAAE,OAAO,UAAU,CAAC;IACjD,IAAI,SAAS;QAAE,OAAO,QAAQ,CAAC;IAC/B,OAAO,cAAc,CAAC;AACxB,CAAC;AAED;;;;;;;GAOG;AACH,SAAgB,oBAAoB,CAAC,KAA2B;IAC9D,MAAM,MAAM,GAAG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oEAAoE;IAEpE,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IACvE,OAAO;QACL,QAAQ;QACR,SAAS;QACT,gBAAgB;QAChB,QAAQ;QACR,MAAM,EAAE,MAAM;QACd,0BAA0B,EAAE,KAAK;QACjC,yBAAyB,EAAE,KAAK;KACjC,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrator-operating-prompt.d.ts","sourceRoot":"","sources":["../../src/orchestration/orchestrator-operating-prompt.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,yBAAyB,GACjC,SAAS,GACT,cAAc,GACd,UAAU,GACV,UAAU,GACV,SAAS,CAAC;AAEd,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,yBAAyB,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,QAAQ,GAAG,IAAI,GAAG,UAAU,GAAG,MAAM,CAAC;IACtD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;CACpC;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,gCAAgC,CAAC,KAAK,EAAE;IACtD,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,CAAC,EAAE,cAAc,EAAE,CAAC;IAC/B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B,GAAG,MAAM,CA0HT;AAED,wBAAgB,kCAAkC,CAAC,GAAG,EAAE,MAAM,GAAG,6BAA6B,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"orchestrator-operating-prompt.d.ts","sourceRoot":"","sources":["../../src/orchestration/orchestrator-operating-prompt.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,yBAAyB,GACjC,SAAS,GACT,cAAc,GACd,UAAU,GACV,UAAU,GACV,SAAS,CAAC;AAEd,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,yBAAyB,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,QAAQ,GAAG,IAAI,GAAG,UAAU,GAAG,MAAM,CAAC;IACtD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;CACpC;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,gCAAgC,CAAC,KAAK,EAAE;IACtD,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,CAAC,EAAE,cAAc,EAAE,CAAC;IAC/B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B,GAAG,MAAM,CA0HT;AAED,wBAAgB,kCAAkC,CAAC,GAAG,EAAE,MAAM,GAAG,6BAA6B,GAAG,IAAI,CAqDpG"}
|
|
@@ -149,18 +149,15 @@ function parseOrchestratorFrontDoorDecision(raw) {
|
|
|
149
149
|
else {
|
|
150
150
|
normalizedMode = 'execute_self';
|
|
151
151
|
}
|
|
152
|
-
// Safety net:
|
|
152
|
+
// Safety net: ALL clarify → execute_self.
|
|
153
|
+
// Ben should just do the work. The front-door policy handles the rare true-delegate case.
|
|
153
154
|
if (normalizedMode === 'clarify') {
|
|
154
|
-
|
|
155
|
-
const allAboutWorkers = questions.length > 0 && questions.every((q) => /which (worker|bot|agent|specialist)|who should (handle|do|work|complete)|coordinate|delegate|route/i.test(String(q || '')));
|
|
156
|
-
if (allAboutWorkers || questions.length === 0) {
|
|
157
|
-
normalizedMode = 'execute_self';
|
|
158
|
-
}
|
|
155
|
+
normalizedMode = 'execute_self';
|
|
159
156
|
}
|
|
160
|
-
// Safety net: if respond mode contains orchestration language, auto-correct to execute_self
|
|
157
|
+
// Safety net: if respond mode contains ANY orchestration language, auto-correct to execute_self
|
|
161
158
|
if (normalizedMode === 'respond' && typeof parsed.response === 'string') {
|
|
162
159
|
const resp = parsed.response.toLowerCase();
|
|
163
|
-
if (/which (worker|bot|agent)|ready to coordinate|get the right bots/i.test(resp)) {
|
|
160
|
+
if (/which (worker|bot|agent|specialist)|ready to coordinate|get the right bots|before i start|need a few details|i need to know|which .* should handle|let me (coordinate|orchestrate|route|assign)/i.test(resp)) {
|
|
164
161
|
normalizedMode = 'execute_self';
|
|
165
162
|
}
|
|
166
163
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrator-operating-prompt.js","sourceRoot":"","sources":["../../src/orchestration/orchestrator-operating-prompt.ts"],"names":[],"mappings":";;AAuBA,4EAmIC;AAED,
|
|
1
|
+
{"version":3,"file":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AAgB,EAAE,OAAO,MAAM,CAAC,gBAAgB,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,SAAS;YAC1G,gBAAgB,EAAE,OAAO,MAAM,CAAC,gBAAgB,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,SAAS;YAC1G,uBAAuB,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,uBAAuB,CAAC;gBACpE,CAAC,CAAC,MAAM,CAAC,uBAAuB,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC;gBACzF,CAAC,CAAC,SAAS;SACd,CAAC;IACJ,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
|
|
@@ -14,7 +14,7 @@ export declare const SAFEGUARDS: {
|
|
|
14
14
|
/** Max steps in a single workflow template */
|
|
15
15
|
readonly MAX_WORKFLOW_STEPS: 10;
|
|
16
16
|
/** Max agentic loop iterations per workflow step */
|
|
17
|
-
readonly MAX_WORKFLOW_ITERATIONS:
|
|
17
|
+
readonly MAX_WORKFLOW_ITERATIONS: 50;
|
|
18
18
|
/** Number of turns in the sliding context window */
|
|
19
19
|
readonly CONTEXT_WINDOW_TURNS: 5;
|
|
20
20
|
/** Fallback recent-turn window when no summary exists yet */
|
|
@@ -17,7 +17,7 @@ exports.SAFEGUARDS = {
|
|
|
17
17
|
/** Max steps in a single workflow template */
|
|
18
18
|
MAX_WORKFLOW_STEPS: 10,
|
|
19
19
|
/** Max agentic loop iterations per workflow step */
|
|
20
|
-
MAX_WORKFLOW_ITERATIONS:
|
|
20
|
+
MAX_WORKFLOW_ITERATIONS: 50,
|
|
21
21
|
/** Number of turns in the sliding context window */
|
|
22
22
|
CONTEXT_WINDOW_TURNS: 5,
|
|
23
23
|
/** Fallback recent-turn window when no summary exists yet */
|
package/dist/orchestrator.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* 4. Verifies results against success criteria
|
|
9
9
|
* 5. Reports concise status back to the user
|
|
10
10
|
*
|
|
11
|
-
* The user sees ONLY their conversation with
|
|
11
|
+
* The user sees ONLY their conversation with the orchestrator.
|
|
12
12
|
* Worker LLM conversations happen behind the scenes.
|
|
13
13
|
*/
|
|
14
14
|
import { ClerkModel } from './clerk-model';
|
|
@@ -97,7 +97,6 @@ export declare class OrchestratorAgent {
|
|
|
97
97
|
* Returns clean content the user should see.
|
|
98
98
|
*/
|
|
99
99
|
private stripWorkerProtocol;
|
|
100
|
-
private isOrchestratorV2Enabled;
|
|
101
100
|
private resolveSelectedOrchestratorBot;
|
|
102
101
|
private handleOrchestratorFrontDoor;
|
|
103
102
|
private resolveDelegatedAgentName;
|
|
@@ -106,6 +105,12 @@ export declare class OrchestratorAgent {
|
|
|
106
105
|
private applyExecutionSpecToState;
|
|
107
106
|
private buildFrontDoorDelegateExecutionSpec;
|
|
108
107
|
private executeOrchestratorOwnedWork;
|
|
108
|
+
/**
|
|
109
|
+
* Delegate Ben's completed work to another bot (e.g., John for QA, Brain for research).
|
|
110
|
+
* Called AFTER executeOrchestratorOwnedWork completes.
|
|
111
|
+
*/
|
|
112
|
+
private executeDelegation;
|
|
113
|
+
private inferDelegationRole;
|
|
109
114
|
private inferRequestedWorkflowRoles;
|
|
110
115
|
private orchestratorOwnsWorkflowRole;
|
|
111
116
|
private resolveWorkflowRoleTarget;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrator.d.ts","sourceRoot":"","sources":["../src/orchestrator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,cAAc,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