@pedyc/harness-preset-vue 1.0.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Pedyc
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # @pedyc/harness-preset-vue
2
+
3
+ Vue 3 + TypeScript + Vite preset for
4
+ [`pedyc-harness`](https://www.npmjs.com/package/pedyc-harness). It adds Vue
5
+ conventions on top of the shared contracts.
6
+
7
+ ```bash
8
+ npx pedyc-harness init --preset vue
9
+ ```
10
+
11
+ Compared with the `generic` preset:
12
+
13
+ - `requiredChecks` defaults to `harness:verify`, `type-check`, `test:unit` and
14
+ `build`.
15
+ - `AGENTS.md` records the Vue 3 `<script setup lang="ts">`, `src/` boundary and
16
+ typed-props conventions.
17
+ - `detection` declares `vite.config.ts` and the `vue` dependency.
18
+
19
+ The generated `agents.json` contains no Provider. Real (non dry-run) execution
20
+ requires replacing the placeholder Provider with your own Adapter command.
21
+
22
+ ## License
23
+
24
+ MIT
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "@pedyc/harness-preset-vue",
3
+ "version": "1.0.0",
4
+ "description": "Vue 3 project preset for pedyc-harness",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "exports": {
8
+ ".": "./src/index.mjs"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/pedyc/pedyc-harness.git",
13
+ "directory": "packages/preset-vue"
14
+ },
15
+ "homepage": "https://github.com/pedyc/pedyc-harness#readme",
16
+ "bugs": {
17
+ "url": "https://github.com/pedyc/pedyc-harness/issues"
18
+ },
19
+ "keywords": [
20
+ "agent",
21
+ "harness",
22
+ "preset",
23
+ "vue",
24
+ "vite"
25
+ ],
26
+ "publishConfig": {
27
+ "access": "public"
28
+ },
29
+ "engines": {
30
+ "node": ">=20"
31
+ },
32
+ "files": [
33
+ "src",
34
+ "README.md"
35
+ ]
36
+ }
package/src/index.mjs ADDED
@@ -0,0 +1,26 @@
1
+ export const vuePreset = {
2
+ name: 'vue',
3
+ detection: { requiredFiles: ['vite.config.ts'], requiredDependencies: ['vue'] },
4
+ defaultProductPaths: ['src/'],
5
+ verificationScripts: ['harness:verify', 'type-check', 'test:unit', 'build'],
6
+ skills: [],
7
+ policy: {
8
+ maxIterations: 3,
9
+ protectedPaths: ['.github/', '.claude/', '.agents/', '.harness/', 'scripts/'],
10
+ requiredChecks: ['harness:verify', 'type-check', 'test:unit', 'build'],
11
+ forbiddenCommands: ['git reset --hard', 'git checkout --', 'npm publish'],
12
+ allowedAgentCommands: [],
13
+ allowedProductPaths: ['src/'],
14
+ agentTimeoutMs: 300000,
15
+ },
16
+ agents: {
17
+ providers: {},
18
+ planner: { mode: 'internal' },
19
+ coder: { mode: 'external', provider: 'custom' },
20
+ tester: { mode: 'external', provider: 'custom' },
21
+ reviewer: { mode: 'external', provider: 'custom' },
22
+ },
23
+ instruction: '# Harness project instructions\n\n- Use Vue 3 `<script setup lang="ts">`.\n- Keep product changes under `src/`.\n- Keep component props explicitly typed.\n',
24
+ }
25
+
26
+ export default vuePreset