oxe-cc 1.8.0 → 1.8.3
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/CHANGELOG.md +63 -0
- package/README.md +1 -1
- package/bin/lib/oxe-manifest.cjs +20 -13
- package/bin/lib/oxe-operational.cjs +96 -10
- package/bin/lib/oxe-project-health.cjs +77 -18
- package/bin/lib/oxe-rationality.cjs +9 -7
- package/bin/oxe-cc.js +202 -39
- package/lib/runtime/compiler/graph-compiler.js +1 -1
- package/lib/runtime/executor/action-tool-map.js +4 -0
- package/lib/runtime/executor/built-in-tools.js +27 -0
- package/lib/runtime/executor/llm-task-executor.d.ts +4 -1
- package/lib/runtime/executor/llm-task-executor.js +41 -5
- package/lib/runtime/executor/node-prompt-builder.d.ts +4 -1
- package/lib/runtime/executor/node-prompt-builder.js +13 -2
- package/lib/runtime/models/failure.d.ts +1 -1
- package/lib/runtime/scheduler/scheduler.d.ts +5 -1
- package/lib/runtime/scheduler/scheduler.js +82 -14
- package/lib/runtime/verification/verification-compiler.js +7 -5
- package/lib/sdk/index.cjs +48 -44
- package/oxe/templates/PLAN.template.md +23 -9
- package/oxe/templates/SPEC.template.md +55 -22
- package/oxe/workflows/plan.md +18 -6
- package/oxe/workflows/spec.md +31 -9
- package/package.json +103 -100
- package/packages/runtime/package.json +18 -18
- package/packages/runtime/src/compiler/graph-compiler.ts +1 -1
- package/packages/runtime/src/evidence/evidence-store.ts +2 -2
- package/packages/runtime/src/executor/action-tool-map.ts +4 -0
- package/packages/runtime/src/executor/built-in-tools.ts +29 -0
- package/packages/runtime/src/executor/llm-task-executor.ts +46 -4
- package/packages/runtime/src/executor/node-prompt-builder.ts +18 -1
- package/packages/runtime/src/models/failure.ts +2 -0
- package/packages/runtime/src/scheduler/scheduler.ts +93 -15
- package/packages/runtime/src/verification/verification-compiler.ts +7 -5
- package/vscode-extension/package.json +185 -185
- package/vscode-extension/oxe-agents-0.9.1.vsix +0 -0
- package/vscode-extension/oxe-agents-0.9.2.vsix +0 -0
- package/vscode-extension/oxe-agents-1.0.0.vsix +0 -0
- package/vscode-extension/oxe-agents-1.4.0.vsix +0 -0
- package/vscode-extension/oxe-agents-1.5.0.vsix +0 -0
- package/vscode-extension/oxe-agents-1.5.1.vsix +0 -0
- package/vscode-extension/oxe-agents-1.6.0.vsix +0 -0
- package/vscode-extension/oxe-agents-1.7.0.vsix +0 -0
- package/vscode-extension/oxe-agents-1.8.0.vsix +0 -0
|
@@ -188,16 +188,18 @@ export async function runCheck(
|
|
|
188
188
|
|
|
189
189
|
const start = Date.now();
|
|
190
190
|
try {
|
|
191
|
-
//
|
|
192
|
-
const
|
|
193
|
-
const
|
|
194
|
-
const
|
|
191
|
+
// Use shell so the full command string is interpreted (handles quotes, &&, node -e "...")
|
|
192
|
+
const isWin = process.platform === 'win32';
|
|
193
|
+
const shell = isWin ? 'cmd' : 'sh';
|
|
194
|
+
const shellArgs = isWin ? ['/c', check.command] : ['-c', check.command];
|
|
195
195
|
|
|
196
|
-
const result = spawnSync(
|
|
196
|
+
const result = spawnSync(shell, shellArgs, {
|
|
197
197
|
cwd,
|
|
198
198
|
encoding: 'utf8',
|
|
199
199
|
timeout: timeoutMs,
|
|
200
200
|
maxBuffer: 2 * 1024 * 1024,
|
|
201
|
+
// On Windows, prevent Node from re-quoting the args (preserves double-quotes inside node -e "...")
|
|
202
|
+
windowsVerbatimArguments: isWin,
|
|
201
203
|
});
|
|
202
204
|
|
|
203
205
|
const duration_ms = Date.now() - start;
|
|
@@ -1,185 +1,185 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "oxe-agents",
|
|
3
|
-
"displayName": "OXE Agents",
|
|
4
|
-
"description": "Agentes OXE para GitHub Copilot Chat — cada fase do ciclo como um @agente no VS Code",
|
|
5
|
-
"version": "1.8.
|
|
6
|
-
"publisher": "oxe-cc",
|
|
7
|
-
"license": "MIT",
|
|
8
|
-
"engines": {
|
|
9
|
-
"vscode": "^1.95.0"
|
|
10
|
-
},
|
|
11
|
-
"categories": [
|
|
12
|
-
"AI",
|
|
13
|
-
"Programming Languages",
|
|
14
|
-
"Other"
|
|
15
|
-
],
|
|
16
|
-
"keywords": [
|
|
17
|
-
"oxe",
|
|
18
|
-
"copilot",
|
|
19
|
-
"chat",
|
|
20
|
-
"agent",
|
|
21
|
-
"workflow",
|
|
22
|
-
"spec-driven"
|
|
23
|
-
],
|
|
24
|
-
"extensionDependencies": [
|
|
25
|
-
"GitHub.copilot-chat"
|
|
26
|
-
],
|
|
27
|
-
"activationEvents": [
|
|
28
|
-
"onStartupFinished"
|
|
29
|
-
],
|
|
30
|
-
"main": "./src/extension.js",
|
|
31
|
-
"contributes": {
|
|
32
|
-
"chatParticipants": [
|
|
33
|
-
{
|
|
34
|
-
"id": "oxe.router",
|
|
35
|
-
"name": "oxe",
|
|
36
|
-
"fullName": "OXE",
|
|
37
|
-
"description": "Router universal — lê STATE.md e sugere o próximo passo do ciclo OXE",
|
|
38
|
-
"isSticky": false,
|
|
39
|
-
"sampleRequest": "Qual é a situação atual do projeto e o próximo passo recomendado?"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"id": "oxe.ask",
|
|
43
|
-
"name": "oxe-ask",
|
|
44
|
-
"fullName": "OXE Ask",
|
|
45
|
-
"description": "Situational awareness — responde perguntas sobre o estado atual do projeto com evidência explícita",
|
|
46
|
-
"isSticky": false,
|
|
47
|
-
"sampleRequest": "Qual é a fase atual e o que foi implementado até agora?"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"id": "oxe.scan",
|
|
51
|
-
"name": "oxe-scan",
|
|
52
|
-
"fullName": "OXE Scan",
|
|
53
|
-
"description": "Mapeamento do codebase — reconstrói .oxe/codebase/ e contextualiza o projeto para um novo ciclo",
|
|
54
|
-
"isSticky": false,
|
|
55
|
-
"sampleRequest": "Mapeie o codebase e atualize o contexto do projeto."
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"id": "oxe.spec",
|
|
59
|
-
"name": "oxe-spec",
|
|
60
|
-
"fullName": "OXE Spec",
|
|
61
|
-
"description": "Especificação — gera SPEC.md com critérios de aceite verificáveis a partir de requisitos",
|
|
62
|
-
"isSticky": true,
|
|
63
|
-
"sampleRequest": "Preciso adicionar autenticação JWT ao sistema. Gere a especificação.",
|
|
64
|
-
"commands": [
|
|
65
|
-
{
|
|
66
|
-
"name": "discuss",
|
|
67
|
-
"description": "Abrir discussão estruturada antes de gerar a spec"
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"id": "oxe.plan",
|
|
73
|
-
"name": "oxe-plan",
|
|
74
|
-
"fullName": "OXE Plan",
|
|
75
|
-
"description": "Planejamento — gera PLAN.md com ondas, tarefas, hipóteses críticas e confidence vector",
|
|
76
|
-
"isSticky": true,
|
|
77
|
-
"sampleRequest": "Gere o plano de implementação para o SPEC atual.",
|
|
78
|
-
"commands": [
|
|
79
|
-
{
|
|
80
|
-
"name": "replan",
|
|
81
|
-
"description": "Replanejar ciclo atual com motivo e lições aplicadas"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"name": "agents",
|
|
85
|
-
"description": "Gerar blueprint multi-agente para planos com múltiplos domínios"
|
|
86
|
-
}
|
|
87
|
-
]
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"id": "oxe.quick",
|
|
91
|
-
"name": "oxe-quick",
|
|
92
|
-
"fullName": "OXE Quick",
|
|
93
|
-
"description": "Plano rápido — para tarefas S/M sem SPEC formal; objetivo → passos → verify",
|
|
94
|
-
"isSticky": true,
|
|
95
|
-
"sampleRequest": "Preciso renomear a função processPayment para handlePayment em todos os arquivos."
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"id": "oxe.execute",
|
|
99
|
-
"name": "oxe-execute",
|
|
100
|
-
"fullName": "OXE Execute",
|
|
101
|
-
"description": "Execução — implementa a onda atual do PLAN validando hipóteses antes de mutar",
|
|
102
|
-
"isSticky": true,
|
|
103
|
-
"sampleRequest": "Execute a onda atual do plano.",
|
|
104
|
-
"commands": [
|
|
105
|
-
{
|
|
106
|
-
"name": "wave",
|
|
107
|
-
"description": "Executar uma onda específica (ex: /wave 2)"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"name": "task",
|
|
111
|
-
"description": "Executar uma tarefa específica (ex: /task T3)"
|
|
112
|
-
}
|
|
113
|
-
]
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"id": "oxe.debug",
|
|
117
|
-
"name": "oxe-debug",
|
|
118
|
-
"fullName": "OXE Debug",
|
|
119
|
-
"description": "Debug — diagnóstico orientado a hipóteses durante execução travada ou falha inline",
|
|
120
|
-
"isSticky": false,
|
|
121
|
-
"sampleRequest": "A tarefa T3 está falhando com erro de timeout. Ajude a diagnosticar."
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"id": "oxe.verify",
|
|
125
|
-
"name": "oxe-verify",
|
|
126
|
-
"fullName": "OXE Verify",
|
|
127
|
-
"description": "Verificação — valida critérios A* do SPEC contra evidências reais produzidas pelo executor",
|
|
128
|
-
"isSticky": true,
|
|
129
|
-
"sampleRequest": "Verifique se a implementação atende todos os critérios do SPEC.",
|
|
130
|
-
"commands": [
|
|
131
|
-
{
|
|
132
|
-
"name": "audit",
|
|
133
|
-
"description": "Auditoria adversarial: sem acesso ao PLAN, apenas SPEC + evidências"
|
|
134
|
-
}
|
|
135
|
-
]
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"id": "oxe.review",
|
|
139
|
-
"name": "oxe-review",
|
|
140
|
-
"fullName": "OXE Review",
|
|
141
|
-
"description": "Revisão de código — auditor adversarial de PR e mudanças, findings por severidade",
|
|
142
|
-
"isSticky": false,
|
|
143
|
-
"sampleRequest": "Revise as mudanças desta branch e liste os findings por severidade."
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"id": "oxe.capabilities",
|
|
147
|
-
"name": "oxe-capabilities",
|
|
148
|
-
"fullName": "OXE Capabilities",
|
|
149
|
-
"description": "Capabilities — lista, instala, remove e atualiza capabilities nativas do projeto em .oxe/",
|
|
150
|
-
"isSticky": false,
|
|
151
|
-
"sampleRequest": "Liste as capabilities disponíveis neste projeto.",
|
|
152
|
-
"commands": [
|
|
153
|
-
{
|
|
154
|
-
"name": "list",
|
|
155
|
-
"description": "Listar capabilities instaladas"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"name": "install",
|
|
159
|
-
"description": "Instalar uma capability"
|
|
160
|
-
}
|
|
161
|
-
]
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"id": "oxe.skill",
|
|
165
|
-
"name": "oxe-skill",
|
|
166
|
-
"fullName": "OXE Skill",
|
|
167
|
-
"description": "Skills — gerencia skills e habilidades registradas no framework OXE do projeto",
|
|
168
|
-
"isSticky": false,
|
|
169
|
-
"sampleRequest": "Quais skills estão disponíveis neste projeto OXE?"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"id": "oxe.dashboard",
|
|
173
|
-
"name": "oxe-dashboard",
|
|
174
|
-
"fullName": "OXE Dashboard",
|
|
175
|
-
"description": "Dashboard — exibe status operacional: runtime, ondas, checkpoints e saúde do ciclo",
|
|
176
|
-
"isSticky": false,
|
|
177
|
-
"sampleRequest": "Mostre o status do dashboard: fase, active run e próximo passo."
|
|
178
|
-
}
|
|
179
|
-
]
|
|
180
|
-
},
|
|
181
|
-
"repository": {
|
|
182
|
-
"type": "git",
|
|
183
|
-
"url": "https://github.com/oxe-cc/oxe-cc"
|
|
184
|
-
}
|
|
185
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "oxe-agents",
|
|
3
|
+
"displayName": "OXE Agents",
|
|
4
|
+
"description": "Agentes OXE para GitHub Copilot Chat — cada fase do ciclo como um @agente no VS Code",
|
|
5
|
+
"version": "1.8.3",
|
|
6
|
+
"publisher": "oxe-cc",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"engines": {
|
|
9
|
+
"vscode": "^1.95.0"
|
|
10
|
+
},
|
|
11
|
+
"categories": [
|
|
12
|
+
"AI",
|
|
13
|
+
"Programming Languages",
|
|
14
|
+
"Other"
|
|
15
|
+
],
|
|
16
|
+
"keywords": [
|
|
17
|
+
"oxe",
|
|
18
|
+
"copilot",
|
|
19
|
+
"chat",
|
|
20
|
+
"agent",
|
|
21
|
+
"workflow",
|
|
22
|
+
"spec-driven"
|
|
23
|
+
],
|
|
24
|
+
"extensionDependencies": [
|
|
25
|
+
"GitHub.copilot-chat"
|
|
26
|
+
],
|
|
27
|
+
"activationEvents": [
|
|
28
|
+
"onStartupFinished"
|
|
29
|
+
],
|
|
30
|
+
"main": "./src/extension.js",
|
|
31
|
+
"contributes": {
|
|
32
|
+
"chatParticipants": [
|
|
33
|
+
{
|
|
34
|
+
"id": "oxe.router",
|
|
35
|
+
"name": "oxe",
|
|
36
|
+
"fullName": "OXE",
|
|
37
|
+
"description": "Router universal — lê STATE.md e sugere o próximo passo do ciclo OXE",
|
|
38
|
+
"isSticky": false,
|
|
39
|
+
"sampleRequest": "Qual é a situação atual do projeto e o próximo passo recomendado?"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": "oxe.ask",
|
|
43
|
+
"name": "oxe-ask",
|
|
44
|
+
"fullName": "OXE Ask",
|
|
45
|
+
"description": "Situational awareness — responde perguntas sobre o estado atual do projeto com evidência explícita",
|
|
46
|
+
"isSticky": false,
|
|
47
|
+
"sampleRequest": "Qual é a fase atual e o que foi implementado até agora?"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "oxe.scan",
|
|
51
|
+
"name": "oxe-scan",
|
|
52
|
+
"fullName": "OXE Scan",
|
|
53
|
+
"description": "Mapeamento do codebase — reconstrói .oxe/codebase/ e contextualiza o projeto para um novo ciclo",
|
|
54
|
+
"isSticky": false,
|
|
55
|
+
"sampleRequest": "Mapeie o codebase e atualize o contexto do projeto."
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "oxe.spec",
|
|
59
|
+
"name": "oxe-spec",
|
|
60
|
+
"fullName": "OXE Spec",
|
|
61
|
+
"description": "Especificação — gera SPEC.md com critérios de aceite verificáveis a partir de requisitos",
|
|
62
|
+
"isSticky": true,
|
|
63
|
+
"sampleRequest": "Preciso adicionar autenticação JWT ao sistema. Gere a especificação.",
|
|
64
|
+
"commands": [
|
|
65
|
+
{
|
|
66
|
+
"name": "discuss",
|
|
67
|
+
"description": "Abrir discussão estruturada antes de gerar a spec"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": "oxe.plan",
|
|
73
|
+
"name": "oxe-plan",
|
|
74
|
+
"fullName": "OXE Plan",
|
|
75
|
+
"description": "Planejamento — gera PLAN.md com ondas, tarefas, hipóteses críticas e confidence vector",
|
|
76
|
+
"isSticky": true,
|
|
77
|
+
"sampleRequest": "Gere o plano de implementação para o SPEC atual.",
|
|
78
|
+
"commands": [
|
|
79
|
+
{
|
|
80
|
+
"name": "replan",
|
|
81
|
+
"description": "Replanejar ciclo atual com motivo e lições aplicadas"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "agents",
|
|
85
|
+
"description": "Gerar blueprint multi-agente para planos com múltiplos domínios"
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"id": "oxe.quick",
|
|
91
|
+
"name": "oxe-quick",
|
|
92
|
+
"fullName": "OXE Quick",
|
|
93
|
+
"description": "Plano rápido — para tarefas S/M sem SPEC formal; objetivo → passos → verify",
|
|
94
|
+
"isSticky": true,
|
|
95
|
+
"sampleRequest": "Preciso renomear a função processPayment para handlePayment em todos os arquivos."
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"id": "oxe.execute",
|
|
99
|
+
"name": "oxe-execute",
|
|
100
|
+
"fullName": "OXE Execute",
|
|
101
|
+
"description": "Execução — implementa a onda atual do PLAN validando hipóteses antes de mutar",
|
|
102
|
+
"isSticky": true,
|
|
103
|
+
"sampleRequest": "Execute a onda atual do plano.",
|
|
104
|
+
"commands": [
|
|
105
|
+
{
|
|
106
|
+
"name": "wave",
|
|
107
|
+
"description": "Executar uma onda específica (ex: /wave 2)"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "task",
|
|
111
|
+
"description": "Executar uma tarefa específica (ex: /task T3)"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "oxe.debug",
|
|
117
|
+
"name": "oxe-debug",
|
|
118
|
+
"fullName": "OXE Debug",
|
|
119
|
+
"description": "Debug — diagnóstico orientado a hipóteses durante execução travada ou falha inline",
|
|
120
|
+
"isSticky": false,
|
|
121
|
+
"sampleRequest": "A tarefa T3 está falhando com erro de timeout. Ajude a diagnosticar."
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"id": "oxe.verify",
|
|
125
|
+
"name": "oxe-verify",
|
|
126
|
+
"fullName": "OXE Verify",
|
|
127
|
+
"description": "Verificação — valida critérios A* do SPEC contra evidências reais produzidas pelo executor",
|
|
128
|
+
"isSticky": true,
|
|
129
|
+
"sampleRequest": "Verifique se a implementação atende todos os critérios do SPEC.",
|
|
130
|
+
"commands": [
|
|
131
|
+
{
|
|
132
|
+
"name": "audit",
|
|
133
|
+
"description": "Auditoria adversarial: sem acesso ao PLAN, apenas SPEC + evidências"
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"id": "oxe.review",
|
|
139
|
+
"name": "oxe-review",
|
|
140
|
+
"fullName": "OXE Review",
|
|
141
|
+
"description": "Revisão de código — auditor adversarial de PR e mudanças, findings por severidade",
|
|
142
|
+
"isSticky": false,
|
|
143
|
+
"sampleRequest": "Revise as mudanças desta branch e liste os findings por severidade."
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"id": "oxe.capabilities",
|
|
147
|
+
"name": "oxe-capabilities",
|
|
148
|
+
"fullName": "OXE Capabilities",
|
|
149
|
+
"description": "Capabilities — lista, instala, remove e atualiza capabilities nativas do projeto em .oxe/",
|
|
150
|
+
"isSticky": false,
|
|
151
|
+
"sampleRequest": "Liste as capabilities disponíveis neste projeto.",
|
|
152
|
+
"commands": [
|
|
153
|
+
{
|
|
154
|
+
"name": "list",
|
|
155
|
+
"description": "Listar capabilities instaladas"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "install",
|
|
159
|
+
"description": "Instalar uma capability"
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"id": "oxe.skill",
|
|
165
|
+
"name": "oxe-skill",
|
|
166
|
+
"fullName": "OXE Skill",
|
|
167
|
+
"description": "Skills — gerencia skills e habilidades registradas no framework OXE do projeto",
|
|
168
|
+
"isSticky": false,
|
|
169
|
+
"sampleRequest": "Quais skills estão disponíveis neste projeto OXE?"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"id": "oxe.dashboard",
|
|
173
|
+
"name": "oxe-dashboard",
|
|
174
|
+
"fullName": "OXE Dashboard",
|
|
175
|
+
"description": "Dashboard — exibe status operacional: runtime, ondas, checkpoints e saúde do ciclo",
|
|
176
|
+
"isSticky": false,
|
|
177
|
+
"sampleRequest": "Mostre o status do dashboard: fase, active run e próximo passo."
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
"repository": {
|
|
182
|
+
"type": "git",
|
|
183
|
+
"url": "https://github.com/oxe-cc/oxe-cc"
|
|
184
|
+
}
|
|
185
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|