@zibby/core 0.1.48 → 0.3.0
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/index.js +100 -100
- package/dist/package.json +2 -2
- package/dist/register-built-in-strategies.js +57 -57
- package/dist/strategies/assistant-strategy.js +1 -1
- package/dist/strategies/claude-strategy.js +3 -3
- package/dist/strategies/codex-strategy.js +3 -3
- package/dist/strategies/cursor-strategy.js +30 -30
- package/dist/strategies/gemini-strategy.js +13 -13
- package/dist/strategies/index.js +57 -57
- package/dist/templates/browser-test-automation/README.md +136 -0
- package/dist/templates/browser-test-automation/chat.mjs +36 -0
- package/dist/templates/browser-test-automation/graph.mjs +54 -0
- package/dist/templates/browser-test-automation/nodes/execute-live.mjs +222 -0
- package/dist/templates/browser-test-automation/nodes/generate-script.mjs +97 -0
- package/dist/templates/browser-test-automation/nodes/index.mjs +3 -0
- package/dist/templates/browser-test-automation/nodes/preflight.mjs +59 -0
- package/dist/templates/browser-test-automation/nodes/utils.mjs +297 -0
- package/dist/templates/browser-test-automation/pipeline-ids.js +12 -0
- package/dist/templates/browser-test-automation/result-handler.mjs +327 -0
- package/dist/templates/browser-test-automation/run-index.mjs +420 -0
- package/dist/templates/browser-test-automation/run_test.json +358 -0
- package/dist/templates/code-analysis/graph.js +72 -0
- package/dist/templates/code-analysis/index.js +18 -0
- package/dist/templates/code-analysis/nodes/analyze-ticket-node.js +204 -0
- package/dist/templates/code-analysis/nodes/create-pr-node.js +175 -0
- package/dist/templates/code-analysis/nodes/finalize-node.js +118 -0
- package/dist/templates/code-analysis/nodes/generate-code-node.js +425 -0
- package/dist/templates/code-analysis/nodes/generate-test-cases-node.js +376 -0
- package/dist/templates/code-analysis/nodes/services/prMetaService.js +86 -0
- package/dist/templates/code-analysis/nodes/setup-node.js +142 -0
- package/dist/templates/code-analysis/prompts/analyze-ticket.md +181 -0
- package/dist/templates/code-analysis/prompts/generate-code.md +33 -0
- package/dist/templates/code-analysis/prompts/generate-test-cases.md +110 -0
- package/dist/templates/code-analysis/state.js +40 -0
- package/dist/templates/code-implementation/graph.js +35 -0
- package/dist/templates/code-implementation/index.js +7 -0
- package/dist/templates/code-implementation/state.js +14 -0
- package/dist/templates/global-setup.js +56 -0
- package/dist/templates/index.js +94 -0
- package/dist/templates/register-nodes.js +24 -0
- package/dist/utils/run-index-post-cli.js +4 -4
- package/package.json +2 -2
- package/templates/browser-test-automation/run-index.mjs +4 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zibby/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Core test automation engine with multi-agent and multi-MCP support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"node": ">=18.0.0"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@zibby/agent-workflow": "^0.
|
|
72
|
+
"@zibby/agent-workflow": "^0.3.0",
|
|
73
73
|
"@anthropic-ai/claude-agent-sdk": "^0.2.104",
|
|
74
74
|
"@anthropic-ai/sdk": "^0.88.0",
|
|
75
75
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
@@ -216,9 +216,11 @@ export function resolveBrowserTestPipelineSessionPathAbs({
|
|
|
216
216
|
? String(sessionId).trim()
|
|
217
217
|
: null;
|
|
218
218
|
|
|
219
|
-
const
|
|
219
|
+
const pinned =
|
|
220
|
+
process.env.ZIBBY_PIN_SESSION_PATH === '1' ||
|
|
221
|
+
process.env.ZIBBY_PIN_SESSION_PATH === 'true';
|
|
220
222
|
const envSession = process.env.ZIBBY_SESSION_PATH && String(process.env.ZIBBY_SESSION_PATH).trim();
|
|
221
|
-
if (
|
|
223
|
+
if (pinned && envSession) {
|
|
222
224
|
return pathResolve(envSession);
|
|
223
225
|
}
|
|
224
226
|
|