From 732d8dc5ee52b0997f5d854353a9adf17385d329 Mon Sep 17 00:00:00 2001 From: valorisa Date: Thu, 26 Mar 2026 01:20:02 +0100 Subject: [PATCH 1/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5afeb0b..31ebbc6 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ > **Production-grade framework for super-prompt engineering, cross-platform automation, and AI workflow orchestration.** -![Release](https://img.shields.io/badge/release-v2.1.0-blue) +![Release](https://img.shields.io/badge/release-v2.2.0-blue) ![License](https://img.shields.io/badge/license-MIT-green) ![CI](https://github.com/valorisa/prompt-engineer-toolkit/actions/workflows/ci.yml/badge.svg) ![Platforms](https://img.shields.io/badge/platforms-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey) From 56c6b93c11cef32940aaa8a1108725b91d3c0974 Mon Sep 17 00:00:00 2001 From: valorisa Date: Sun, 5 Apr 2026 07:59:17 +0000 Subject: [PATCH 2/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 31ebbc6..d30d920 100644 --- a/README.md +++ b/README.md @@ -246,7 +246,7 @@ Confirm execution? (y/n) y Le menu principal offre 6 modules : ```text -PromptOps Console v1.0.0 +PromptOps Console v2.2.0 ------------------------------------------ [1] Project Scaffold - New repo setup [2] Automation Engine - CI/CD & scripts From 0d0337ea44a66e5d2a5595eb602b335c5e5f4148 Mon Sep 17 00:00:00 2001 From: valorisa Date: Sun, 5 Apr 2026 16:57:02 +0200 Subject: [PATCH 3/7] chore: update tests pass 37/37 #v2.2.1 --- .env | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .env diff --git a/.env b/.env new file mode 100644 index 0000000..93ad4ac --- /dev/null +++ b/.env @@ -0,0 +1,2 @@ + +OPENROUTER_API_KEY=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 \ No newline at end of file From 4f7dd241fe38699198b0c298a8bfcef1f3e0d645 Mon Sep 17 00:00:00 2001 From: valorisa Date: Sun, 5 Apr 2026 17:04:01 +0200 Subject: [PATCH 4/7] Ajout .env dans .gitignore --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 0b4ef87..789d776 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,6 @@ backup/ # Plugins build outputs plugins/*/dist/ + +# Secrets API Keys +.env \ No newline at end of file From 5fc4b9d0c76d1fa046c0c809de6a0651463338c1 Mon Sep 17 00:00:00 2001 From: valorisa Date: Sun, 5 Apr 2026 17:27:48 +0200 Subject: [PATCH 5/7] Delete .env --- .env | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 .env diff --git a/.env b/.env deleted file mode 100644 index 93ad4ac..0000000 --- a/.env +++ /dev/null @@ -1,2 +0,0 @@ - -OPENROUTER_API_KEY=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 \ No newline at end of file From 1ad2571d586c57ded5fca597713b95951afd0af0 Mon Sep 17 00:00:00 2001 From: valorisa Date: Sun, 5 Apr 2026 17:47:35 +0200 Subject: [PATCH 6/7] fix: resolve deserialization error in PromptorPlugin test runner --- .../builtins/promptor-matrix/PromptorPlugin.test.ts | 12 +++++++++--- .../builtins/promptor-matrix/PromptorPlugin.ts | 4 ++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/scripts/node/plugins/builtins/promptor-matrix/PromptorPlugin.test.ts b/scripts/node/plugins/builtins/promptor-matrix/PromptorPlugin.test.ts index 594eda5..1c1de58 100644 --- a/scripts/node/plugins/builtins/promptor-matrix/PromptorPlugin.test.ts +++ b/scripts/node/plugins/builtins/promptor-matrix/PromptorPlugin.test.ts @@ -51,17 +51,23 @@ describe('PromptorPlugin', () => { it('should return success result', async () => { const result = await plugin.execute({}); assert.ok(typeof result === 'object'); - assert.strictEqual((result as any).success, true); + assert.ok(result !== null); + const obj = result as Record; + assert.strictEqual(obj.success, true); }); it('should return matrix in result', async () => { const result = await plugin.execute({}); - assert.ok((result as any).matrix?.length > 0); + const obj = result as Record; + assert.ok(typeof obj.matrix === 'string'); + assert.ok((obj.matrix as string).length > 0); }); it('should return instructions in result', async () => { const result = await plugin.execute({}); - assert.ok((result as any).instructions?.includes('Copier-coller')); + const obj = result as Record; + assert.ok(typeof obj.instructions === 'string'); + assert.ok((obj.instructions as string).includes('Copier-coller')); }); }); diff --git a/scripts/node/plugins/builtins/promptor-matrix/PromptorPlugin.ts b/scripts/node/plugins/builtins/promptor-matrix/PromptorPlugin.ts index 0831ef4..752d240 100644 --- a/scripts/node/plugins/builtins/promptor-matrix/PromptorPlugin.ts +++ b/scripts/node/plugins/builtins/promptor-matrix/PromptorPlugin.ts @@ -32,7 +32,7 @@ export class PromptorPlugin implements IPlugin { /** * Exécution : affiche la matrice pour l'utilisateur */ - async execute(input: unknown): Promise { + async execute(input: unknown): Promise<{ success: boolean; matrix: string; instructions: string }> { await this.initialize(); // En-tête @@ -55,7 +55,7 @@ export class PromptorPlugin implements IPlugin { return { success: true, - matrix: this.matrix, + matrix: String(this.matrix), instructions: 'Copier-coller dans ton LLM préféré' }; } From ae5f3ff76e7f24401cc4376dc3fefe93df4d2375 Mon Sep 17 00:00:00 2001 From: valorisa Date: Sun, 5 Apr 2026 18:23:43 +0200 Subject: [PATCH 7/7] fix: force sequential test execution to prevent IPC deserialization errors in CI --- scripts/node/package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/node/package.json b/scripts/node/package.json index dabd41a..9cecc3b 100644 --- a/scripts/node/package.json +++ b/scripts/node/package.json @@ -5,10 +5,10 @@ "main": "promptops.js", "type": "module", "scripts": { - "test": "tsx --test --test-reporter=spec \"**/*.test.ts\"", - "test:unit": "tsx --test --test-reporter=spec \"plugins/**/*.test.ts\"", - "test:integration": "tsx --test --test-reporter=spec \"tests/integration/**/*.test.ts\"", - "test:all": "tsx --test --test-reporter=spec \"**/*.test.ts\"", + "test": "tsx --test --test-concurrency=1 --test-reporter=spec \"**/*.test.ts\"", + "test:unit": "tsx --test --test-concurrency=1 --test-reporter=spec \"plugins/**/*.test.ts\"", + "test:integration": "tsx --test --test-concurrency=1 --test-reporter=spec \"tests/integration/**/*.test.ts\"", + "test:all": "tsx --test --test-concurrency=1 --test-reporter=spec \"**/*.test.ts\"", "test:watch": "tsx --test --watch \"**/*.test.ts\"", "lint": "echo 'No linting configured'", "build": "tsc",