agents-inc 0.162.0 → 0.164.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/CHANGELOG.md +28 -0
- package/dist/{chunk-HRVPZMKK.js → chunk-2CQNPLVF.js} +35 -14
- package/dist/chunk-2CQNPLVF.js.map +1 -0
- package/dist/{chunk-VFZF7LVY.js → chunk-3WVH2CTK.js} +3 -3
- package/dist/{chunk-5J6DO4VW.js → chunk-4VL3CEOS.js} +3 -3
- package/dist/{chunk-QM3ZNOWJ.js → chunk-6MV4JOCL.js} +2 -2
- package/dist/{chunk-WIJM6BX6.js → chunk-7ANJQLPJ.js} +2 -2
- package/dist/{chunk-3JDVBHWO.js → chunk-7REKOTKG.js} +2 -2
- package/dist/{chunk-MI7LKLD7.js → chunk-ABAZMMG4.js} +2 -2
- package/dist/{chunk-XSM3IBMG.js → chunk-AOTCIUGX.js} +2 -2
- package/dist/{chunk-L65XGQKR.js → chunk-ARYNOWKF.js} +8 -8
- package/dist/{chunk-3QBOVV6A.js → chunk-AVK2HEKB.js} +5 -5
- package/dist/{chunk-3QBOVV6A.js.map → chunk-AVK2HEKB.js.map} +1 -1
- package/dist/{chunk-AQSMNUKJ.js → chunk-B3Y3QMWI.js} +4 -4
- package/dist/{chunk-ES7WGE32.js → chunk-B6FSLXYN.js} +3 -3
- package/dist/{chunk-S6GX7IJ2.js → chunk-DSL66I4N.js} +6 -6
- package/dist/{chunk-IMTWWA3N.js → chunk-ECURHW3T.js} +12 -12
- package/dist/{chunk-VEONZFTL.js → chunk-FLW25ORT.js} +3 -3
- package/dist/{chunk-53XPSAJ4.js → chunk-G2JJ5BO5.js} +17 -16
- package/dist/chunk-G2JJ5BO5.js.map +1 -0
- package/dist/{chunk-H2MDPOLG.js → chunk-JIERYE6B.js} +5 -5
- package/dist/{chunk-GFO55TMY.js → chunk-JU4ZGJ7A.js} +100 -24
- package/dist/chunk-JU4ZGJ7A.js.map +1 -0
- package/dist/{chunk-K26SBQLO.js → chunk-K5ITEA3I.js} +4 -4
- package/dist/{chunk-4KVJJJG2.js → chunk-LT5GXEB2.js} +6 -6
- package/dist/{chunk-2IMHZEIK.js → chunk-NKGYKOB7.js} +3 -3
- package/dist/{chunk-X6KXPRKI.js → chunk-NQXO4LR3.js} +4 -4
- package/dist/{chunk-ZFPQM63K.js → chunk-NTF4UXGK.js} +5 -5
- package/dist/{chunk-77YZFVQD.js → chunk-PHCPUQVR.js} +2 -2
- package/dist/{chunk-T2RPUNYP.js → chunk-Q4IRRVXK.js} +3 -3
- package/dist/{chunk-EN5MEPAS.js → chunk-QGUP3QJF.js} +5 -5
- package/dist/{chunk-MSUTHS2V.js → chunk-QZX7SYKU.js} +2 -2
- package/dist/{chunk-BR3TNSO3.js → chunk-RGYDFBCT.js} +4 -4
- package/dist/{chunk-4NAWM4OQ.js → chunk-S63LXWMC.js} +2 -2
- package/dist/{chunk-IV42Z63R.js → chunk-UITEKY2R.js} +19 -9
- package/dist/chunk-UITEKY2R.js.map +1 -0
- package/dist/{chunk-RMMEYCEA.js → chunk-URXIQE7I.js} +2 -2
- package/dist/{chunk-57YWAMNT.js → chunk-V5GLL2JB.js} +7 -7
- package/dist/{chunk-C53RJ7AA.js → chunk-X37UYIE3.js} +43 -41
- package/dist/chunk-X37UYIE3.js.map +1 -0
- package/dist/{chunk-J2YG7P7L.js → chunk-X4SSJZLY.js} +49 -6
- package/dist/chunk-X4SSJZLY.js.map +1 -0
- package/dist/{chunk-VEBEGZUV.js → chunk-XATLUKXK.js} +5 -5
- package/dist/{chunk-33ZKIYJM.js → chunk-XHPWTL4I.js} +3 -3
- package/dist/{chunk-UNASGGW2.js → chunk-XPDVAJDH.js} +69 -8
- package/dist/chunk-XPDVAJDH.js.map +1 -0
- package/dist/{chunk-FL2CJ5T5.js → chunk-YRS3QZP2.js} +3 -3
- package/dist/{chunk-FXL63LDL.js → chunk-ZVXGW2IC.js} +2 -2
- package/dist/commands/build/marketplace.js +7 -7
- package/dist/commands/build/plugins.js +7 -7
- package/dist/commands/compile.js +82 -30
- package/dist/commands/compile.js.map +1 -1
- package/dist/commands/doctor.js +10 -10
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/edit.js +40 -38
- package/dist/commands/edit.js.map +1 -1
- package/dist/commands/eject.js +10 -10
- package/dist/commands/init.js +36 -36
- package/dist/commands/list.js +8 -8
- package/dist/commands/new/marketplace.js +7 -7
- package/dist/commands/search.js +10 -10
- package/dist/commands/share.js +8 -8
- package/dist/commands/uninstall.js +11 -11
- package/dist/commands/update.js +6 -6
- package/dist/components/common/removal-plan-confirm.js +2 -2
- package/dist/components/common/select-list.js +2 -2
- package/dist/components/wizard/category-grid.js +4 -4
- package/dist/components/wizard/checkbox-grid.js +4 -4
- package/dist/components/wizard/domain-selection.js +9 -9
- package/dist/components/wizard/run-wizard-session.js +26 -26
- package/dist/components/wizard/scroll-affordance.js +2 -2
- package/dist/components/wizard/skill-agent-summary.js +5 -5
- package/dist/components/wizard/source-grid.js +5 -5
- package/dist/components/wizard/stack-selection.js +7 -7
- package/dist/components/wizard/step-agents.js +8 -8
- package/dist/components/wizard/step-build.js +7 -7
- package/dist/components/wizard/step-confirm.js +9 -9
- package/dist/components/wizard/step-sources.js +8 -8
- package/dist/components/wizard/step-stack.js +8 -8
- package/dist/components/wizard/summary-panel.js +8 -8
- package/dist/components/wizard/toast.js +2 -2
- package/dist/components/wizard/wizard-layout.js +12 -12
- package/dist/components/wizard/wizard-tabs.js +2 -2
- package/dist/components/wizard/wizard.js +25 -25
- package/dist/hooks/init.js +36 -36
- package/dist/load-agent-defs-7IM3GBEQ.js +13 -0
- package/dist/recompile-project-agents-VR4NLGOU.js +17 -0
- package/dist/{source-loader-KAWB76OH.js → source-loader-GRBVNRAW.js} +4 -4
- package/dist/src/agents/_templates/agent.liquid +30 -122
- package/dist/src/agents/_templates/methodologies/operating-principles.liquid +27 -0
- package/dist/src/agents/developer/ai-developer/critical-reminders.md +9 -48
- package/dist/src/agents/developer/ai-developer/critical-requirements.md +29 -47
- package/dist/src/agents/developer/ai-developer/identity.md +31 -40
- package/dist/src/agents/developer/ai-developer/output.md +92 -245
- package/dist/src/agents/developer/ai-developer/playbook.md +116 -270
- package/dist/src/agents/developer/api-developer/critical-reminders.md +9 -40
- package/dist/src/agents/developer/api-developer/critical-requirements.md +19 -34
- package/dist/src/agents/developer/api-developer/identity.md +18 -33
- package/dist/src/agents/developer/api-developer/output.md +118 -255
- package/dist/src/agents/developer/api-developer/playbook.md +103 -284
- package/dist/src/agents/developer/cli-developer/critical-reminders.md +9 -45
- package/dist/src/agents/developer/cli-developer/critical-requirements.md +21 -39
- package/dist/src/agents/developer/cli-developer/identity.md +22 -36
- package/dist/src/agents/developer/cli-developer/output.md +72 -185
- package/dist/src/agents/developer/cli-developer/playbook.md +107 -307
- package/dist/src/agents/developer/web-developer/critical-reminders.md +9 -34
- package/dist/src/agents/developer/web-developer/critical-requirements.md +11 -30
- package/dist/src/agents/developer/web-developer/identity.md +15 -15
- package/dist/src/agents/developer/web-developer/output.md +67 -220
- package/dist/src/agents/developer/web-developer/playbook.md +93 -283
- package/dist/src/agents/meta/agent-summoner/critical-reminders.md +6 -39
- package/dist/src/agents/meta/agent-summoner/critical-requirements.md +6 -44
- package/dist/src/agents/meta/agent-summoner/identity.md +20 -23
- package/dist/src/agents/meta/agent-summoner/metadata.yaml +1 -1
- package/dist/src/agents/meta/agent-summoner/output.md +85 -261
- package/dist/src/agents/meta/agent-summoner/playbook.md +220 -1398
- package/dist/src/agents/meta/codex-keeper/critical-reminders.md +11 -32
- package/dist/src/agents/meta/codex-keeper/critical-requirements.md +32 -22
- package/dist/src/agents/meta/codex-keeper/identity.md +31 -32
- package/dist/src/agents/meta/codex-keeper/output.md +49 -335
- package/dist/src/agents/meta/codex-keeper/playbook.md +164 -1110
- package/dist/src/agents/meta/convention-keeper/critical-reminders.md +11 -26
- package/dist/src/agents/meta/convention-keeper/critical-requirements.md +36 -25
- package/dist/src/agents/meta/convention-keeper/identity.md +35 -21
- package/dist/src/agents/meta/convention-keeper/metadata.yaml +1 -1
- package/dist/src/agents/meta/convention-keeper/output.md +33 -123
- package/dist/src/agents/meta/convention-keeper/playbook.md +64 -144
- package/dist/src/agents/meta/skill-summoner/critical-reminders.md +8 -71
- package/dist/src/agents/meta/skill-summoner/critical-requirements.md +9 -73
- package/dist/src/agents/meta/skill-summoner/identity.md +18 -22
- package/dist/src/agents/meta/skill-summoner/metadata.yaml +1 -1
- package/dist/src/agents/meta/skill-summoner/output.md +164 -270
- package/dist/src/agents/meta/skill-summoner/playbook.md +150 -1398
- package/dist/src/agents/planning/pm/critical-requirements.md +23 -25
- package/dist/src/agents/planning/pm/identity.md +24 -23
- package/dist/src/agents/planning/pm/output.md +5 -9
- package/dist/src/agents/planning/pm/playbook.md +50 -140
- package/dist/src/agents/researcher/ai-researcher/critical-reminders.md +8 -53
- package/dist/src/agents/researcher/ai-researcher/critical-requirements.md +31 -26
- package/dist/src/agents/researcher/ai-researcher/identity.md +36 -77
- package/dist/src/agents/researcher/ai-researcher/output.md +44 -151
- package/dist/src/agents/researcher/ai-researcher/playbook.md +130 -394
- package/dist/src/agents/researcher/api-researcher/critical-reminders.md +6 -38
- package/dist/src/agents/researcher/api-researcher/critical-requirements.md +15 -17
- package/dist/src/agents/researcher/api-researcher/identity.md +29 -63
- package/dist/src/agents/researcher/api-researcher/output.md +61 -153
- package/dist/src/agents/researcher/api-researcher/playbook.md +63 -140
- package/dist/src/agents/researcher/cli-researcher/critical-reminders.md +8 -45
- package/dist/src/agents/researcher/cli-researcher/critical-requirements.md +29 -24
- package/dist/src/agents/researcher/cli-researcher/identity.md +36 -78
- package/dist/src/agents/researcher/cli-researcher/output.md +22 -128
- package/dist/src/agents/researcher/cli-researcher/playbook.md +108 -263
- package/dist/src/agents/researcher/web-researcher/critical-reminders.md +5 -34
- package/dist/src/agents/researcher/web-researcher/critical-requirements.md +11 -16
- package/dist/src/agents/researcher/web-researcher/identity.md +28 -60
- package/dist/src/agents/researcher/web-researcher/output.md +41 -134
- package/dist/src/agents/researcher/web-researcher/playbook.md +48 -162
- package/dist/src/agents/reviewer/reviewer/critical-reminders.md +9 -22
- package/dist/src/agents/reviewer/reviewer/critical-requirements.md +24 -19
- package/dist/src/agents/reviewer/reviewer/identity.md +23 -20
- package/dist/src/agents/reviewer/reviewer/metadata.yaml +7 -2
- package/dist/src/agents/reviewer/reviewer/output.md +8 -26
- package/dist/src/agents/reviewer/reviewer/playbook.md +50 -91
- package/dist/src/agents/tester/ai-tester/critical-reminders.md +7 -40
- package/dist/src/agents/tester/ai-tester/critical-requirements.md +39 -31
- package/dist/src/agents/tester/ai-tester/identity.md +25 -40
- package/dist/src/agents/tester/ai-tester/output.md +8 -144
- package/dist/src/agents/tester/ai-tester/playbook.md +28 -40
- package/dist/src/agents/tester/api-tester/critical-reminders.md +8 -35
- package/dist/src/agents/tester/api-tester/critical-requirements.md +36 -25
- package/dist/src/agents/tester/api-tester/identity.md +18 -29
- package/dist/src/agents/tester/api-tester/metadata.yaml +1 -1
- package/dist/src/agents/tester/api-tester/output.md +3 -86
- package/dist/src/agents/tester/api-tester/playbook.md +10 -2
- package/dist/src/agents/tester/cli-tester/critical-reminders.md +7 -30
- package/dist/src/agents/tester/cli-tester/critical-requirements.md +29 -21
- package/dist/src/agents/tester/cli-tester/identity.md +25 -33
- package/dist/src/agents/tester/cli-tester/output.md +13 -105
- package/dist/src/agents/tester/cli-tester/playbook.md +8 -5
- package/dist/src/agents/tester/web-tester/critical-reminders.md +7 -25
- package/dist/src/agents/tester/web-tester/critical-requirements.md +25 -16
- package/dist/src/agents/tester/web-tester/identity.md +24 -30
- package/dist/src/agents/tester/web-tester/output.md +11 -116
- package/dist/src/agents/tester/web-tester/playbook.md +58 -221
- package/dist/stores/wizard-store.js +4 -4
- package/package.json +1 -1
- package/src/agents/_templates/agent.liquid +30 -122
- package/src/agents/_templates/methodologies/operating-principles.liquid +27 -0
- package/src/agents/developer/ai-developer/critical-reminders.md +9 -48
- package/src/agents/developer/ai-developer/critical-requirements.md +29 -47
- package/src/agents/developer/ai-developer/identity.md +31 -40
- package/src/agents/developer/ai-developer/output.md +92 -245
- package/src/agents/developer/ai-developer/playbook.md +116 -270
- package/src/agents/developer/api-developer/critical-reminders.md +9 -40
- package/src/agents/developer/api-developer/critical-requirements.md +19 -34
- package/src/agents/developer/api-developer/identity.md +18 -33
- package/src/agents/developer/api-developer/output.md +118 -255
- package/src/agents/developer/api-developer/playbook.md +103 -284
- package/src/agents/developer/cli-developer/critical-reminders.md +9 -45
- package/src/agents/developer/cli-developer/critical-requirements.md +21 -39
- package/src/agents/developer/cli-developer/identity.md +22 -36
- package/src/agents/developer/cli-developer/output.md +72 -185
- package/src/agents/developer/cli-developer/playbook.md +107 -307
- package/src/agents/developer/web-developer/critical-reminders.md +9 -34
- package/src/agents/developer/web-developer/critical-requirements.md +11 -30
- package/src/agents/developer/web-developer/identity.md +15 -15
- package/src/agents/developer/web-developer/output.md +67 -220
- package/src/agents/developer/web-developer/playbook.md +93 -283
- package/src/agents/meta/agent-summoner/critical-reminders.md +6 -39
- package/src/agents/meta/agent-summoner/critical-requirements.md +6 -44
- package/src/agents/meta/agent-summoner/identity.md +20 -23
- package/src/agents/meta/agent-summoner/metadata.yaml +1 -1
- package/src/agents/meta/agent-summoner/output.md +85 -261
- package/src/agents/meta/agent-summoner/playbook.md +220 -1398
- package/src/agents/meta/codex-keeper/critical-reminders.md +11 -32
- package/src/agents/meta/codex-keeper/critical-requirements.md +32 -22
- package/src/agents/meta/codex-keeper/identity.md +31 -32
- package/src/agents/meta/codex-keeper/output.md +49 -335
- package/src/agents/meta/codex-keeper/playbook.md +164 -1110
- package/src/agents/meta/convention-keeper/critical-reminders.md +11 -26
- package/src/agents/meta/convention-keeper/critical-requirements.md +36 -25
- package/src/agents/meta/convention-keeper/identity.md +35 -21
- package/src/agents/meta/convention-keeper/metadata.yaml +1 -1
- package/src/agents/meta/convention-keeper/output.md +33 -123
- package/src/agents/meta/convention-keeper/playbook.md +64 -144
- package/src/agents/meta/skill-summoner/critical-reminders.md +8 -71
- package/src/agents/meta/skill-summoner/critical-requirements.md +9 -73
- package/src/agents/meta/skill-summoner/identity.md +18 -22
- package/src/agents/meta/skill-summoner/metadata.yaml +1 -1
- package/src/agents/meta/skill-summoner/output.md +164 -270
- package/src/agents/meta/skill-summoner/playbook.md +150 -1398
- package/src/agents/planning/pm/critical-requirements.md +23 -25
- package/src/agents/planning/pm/identity.md +24 -23
- package/src/agents/planning/pm/output.md +5 -9
- package/src/agents/planning/pm/playbook.md +50 -140
- package/src/agents/researcher/ai-researcher/critical-reminders.md +8 -53
- package/src/agents/researcher/ai-researcher/critical-requirements.md +31 -26
- package/src/agents/researcher/ai-researcher/identity.md +36 -77
- package/src/agents/researcher/ai-researcher/output.md +44 -151
- package/src/agents/researcher/ai-researcher/playbook.md +130 -394
- package/src/agents/researcher/api-researcher/critical-reminders.md +6 -38
- package/src/agents/researcher/api-researcher/critical-requirements.md +15 -17
- package/src/agents/researcher/api-researcher/identity.md +29 -63
- package/src/agents/researcher/api-researcher/output.md +61 -153
- package/src/agents/researcher/api-researcher/playbook.md +63 -140
- package/src/agents/researcher/cli-researcher/critical-reminders.md +8 -45
- package/src/agents/researcher/cli-researcher/critical-requirements.md +29 -24
- package/src/agents/researcher/cli-researcher/identity.md +36 -78
- package/src/agents/researcher/cli-researcher/output.md +22 -128
- package/src/agents/researcher/cli-researcher/playbook.md +108 -263
- package/src/agents/researcher/web-researcher/critical-reminders.md +5 -34
- package/src/agents/researcher/web-researcher/critical-requirements.md +11 -16
- package/src/agents/researcher/web-researcher/identity.md +28 -60
- package/src/agents/researcher/web-researcher/output.md +41 -134
- package/src/agents/researcher/web-researcher/playbook.md +48 -162
- package/src/agents/reviewer/reviewer/critical-reminders.md +9 -22
- package/src/agents/reviewer/reviewer/critical-requirements.md +24 -19
- package/src/agents/reviewer/reviewer/identity.md +23 -20
- package/src/agents/reviewer/reviewer/metadata.yaml +7 -2
- package/src/agents/reviewer/reviewer/output.md +8 -26
- package/src/agents/reviewer/reviewer/playbook.md +50 -91
- package/src/agents/tester/ai-tester/critical-reminders.md +7 -40
- package/src/agents/tester/ai-tester/critical-requirements.md +39 -31
- package/src/agents/tester/ai-tester/identity.md +25 -40
- package/src/agents/tester/ai-tester/output.md +8 -144
- package/src/agents/tester/ai-tester/playbook.md +28 -40
- package/src/agents/tester/api-tester/critical-reminders.md +8 -35
- package/src/agents/tester/api-tester/critical-requirements.md +36 -25
- package/src/agents/tester/api-tester/identity.md +18 -29
- package/src/agents/tester/api-tester/metadata.yaml +1 -1
- package/src/agents/tester/api-tester/output.md +3 -86
- package/src/agents/tester/api-tester/playbook.md +10 -2
- package/src/agents/tester/cli-tester/critical-reminders.md +7 -30
- package/src/agents/tester/cli-tester/critical-requirements.md +29 -21
- package/src/agents/tester/cli-tester/identity.md +25 -33
- package/src/agents/tester/cli-tester/output.md +13 -105
- package/src/agents/tester/cli-tester/playbook.md +8 -5
- package/src/agents/tester/web-tester/critical-reminders.md +7 -25
- package/src/agents/tester/web-tester/critical-requirements.md +25 -16
- package/src/agents/tester/web-tester/identity.md +24 -30
- package/src/agents/tester/web-tester/output.md +11 -116
- package/src/agents/tester/web-tester/playbook.md +58 -221
- package/src/schemas/agent-frontmatter.schema.json +14 -0
- package/src/schemas/agent.schema.json +14 -0
- package/dist/chunk-53XPSAJ4.js.map +0 -1
- package/dist/chunk-C53RJ7AA.js.map +0 -1
- package/dist/chunk-GFO55TMY.js.map +0 -1
- package/dist/chunk-HRVPZMKK.js.map +0 -1
- package/dist/chunk-IV42Z63R.js.map +0 -1
- package/dist/chunk-J2YG7P7L.js.map +0 -1
- package/dist/chunk-UNASGGW2.js.map +0 -1
- package/dist/load-agent-defs-57YKPVQW.js +0 -13
- package/dist/recompile-project-agents-IQD3HRRS.js +0 -17
- package/dist/src/agents/_templates/methodologies/anti-over-engineering.liquid +0 -135
- package/dist/src/agents/_templates/methodologies/context-management.liquid +0 -15
- package/dist/src/agents/_templates/methodologies/improvement-protocol.liquid +0 -150
- package/dist/src/agents/_templates/methodologies/investigation-requirements.liquid +0 -61
- package/dist/src/agents/_templates/methodologies/success-criteria.liquid +0 -121
- package/dist/src/agents/_templates/methodologies/write-verification.liquid +0 -43
- package/dist/src/agents/planning/pm/critical-reminders.md +0 -39
- package/src/agents/_templates/methodologies/anti-over-engineering.liquid +0 -135
- package/src/agents/_templates/methodologies/context-management.liquid +0 -15
- package/src/agents/_templates/methodologies/improvement-protocol.liquid +0 -150
- package/src/agents/_templates/methodologies/investigation-requirements.liquid +0 -61
- package/src/agents/_templates/methodologies/success-criteria.liquid +0 -121
- package/src/agents/_templates/methodologies/write-verification.liquid +0 -43
- package/src/agents/planning/pm/critical-reminders.md +0 -39
- /package/dist/{chunk-VFZF7LVY.js.map → chunk-3WVH2CTK.js.map} +0 -0
- /package/dist/{chunk-5J6DO4VW.js.map → chunk-4VL3CEOS.js.map} +0 -0
- /package/dist/{chunk-QM3ZNOWJ.js.map → chunk-6MV4JOCL.js.map} +0 -0
- /package/dist/{chunk-WIJM6BX6.js.map → chunk-7ANJQLPJ.js.map} +0 -0
- /package/dist/{chunk-3JDVBHWO.js.map → chunk-7REKOTKG.js.map} +0 -0
- /package/dist/{chunk-MI7LKLD7.js.map → chunk-ABAZMMG4.js.map} +0 -0
- /package/dist/{chunk-XSM3IBMG.js.map → chunk-AOTCIUGX.js.map} +0 -0
- /package/dist/{chunk-L65XGQKR.js.map → chunk-ARYNOWKF.js.map} +0 -0
- /package/dist/{chunk-AQSMNUKJ.js.map → chunk-B3Y3QMWI.js.map} +0 -0
- /package/dist/{chunk-ES7WGE32.js.map → chunk-B6FSLXYN.js.map} +0 -0
- /package/dist/{chunk-S6GX7IJ2.js.map → chunk-DSL66I4N.js.map} +0 -0
- /package/dist/{chunk-IMTWWA3N.js.map → chunk-ECURHW3T.js.map} +0 -0
- /package/dist/{chunk-VEONZFTL.js.map → chunk-FLW25ORT.js.map} +0 -0
- /package/dist/{chunk-H2MDPOLG.js.map → chunk-JIERYE6B.js.map} +0 -0
- /package/dist/{chunk-K26SBQLO.js.map → chunk-K5ITEA3I.js.map} +0 -0
- /package/dist/{chunk-4KVJJJG2.js.map → chunk-LT5GXEB2.js.map} +0 -0
- /package/dist/{chunk-2IMHZEIK.js.map → chunk-NKGYKOB7.js.map} +0 -0
- /package/dist/{chunk-X6KXPRKI.js.map → chunk-NQXO4LR3.js.map} +0 -0
- /package/dist/{chunk-ZFPQM63K.js.map → chunk-NTF4UXGK.js.map} +0 -0
- /package/dist/{chunk-77YZFVQD.js.map → chunk-PHCPUQVR.js.map} +0 -0
- /package/dist/{chunk-T2RPUNYP.js.map → chunk-Q4IRRVXK.js.map} +0 -0
- /package/dist/{chunk-EN5MEPAS.js.map → chunk-QGUP3QJF.js.map} +0 -0
- /package/dist/{chunk-MSUTHS2V.js.map → chunk-QZX7SYKU.js.map} +0 -0
- /package/dist/{chunk-BR3TNSO3.js.map → chunk-RGYDFBCT.js.map} +0 -0
- /package/dist/{chunk-4NAWM4OQ.js.map → chunk-S63LXWMC.js.map} +0 -0
- /package/dist/{chunk-RMMEYCEA.js.map → chunk-URXIQE7I.js.map} +0 -0
- /package/dist/{chunk-57YWAMNT.js.map → chunk-V5GLL2JB.js.map} +0 -0
- /package/dist/{chunk-VEBEGZUV.js.map → chunk-XATLUKXK.js.map} +0 -0
- /package/dist/{chunk-33ZKIYJM.js.map → chunk-XHPWTL4I.js.map} +0 -0
- /package/dist/{chunk-FL2CJ5T5.js.map → chunk-YRS3QZP2.js.map} +0 -0
- /package/dist/{chunk-FXL63LDL.js.map → chunk-ZVXGW2IC.js.map} +0 -0
- /package/dist/{load-agent-defs-57YKPVQW.js.map → load-agent-defs-7IM3GBEQ.js.map} +0 -0
- /package/dist/{recompile-project-agents-IQD3HRRS.js.map → recompile-project-agents-VR4NLGOU.js.map} +0 -0
- /package/dist/{source-loader-KAWB76OH.js.map → source-loader-GRBVNRAW.js.map} +0 -0
|
@@ -1,296 +1,120 @@
|
|
|
1
1
|
## Output Format
|
|
2
2
|
|
|
3
3
|
<output_format>
|
|
4
|
-
Provide your agent definition in this structure:
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
Two shapes: a new agent, and an analysis of an existing one. Compliance mode emits the new-agent
|
|
6
|
+
shape, differing only in where its content came from.
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
### Create mode — a new agent
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
**Purpose:** [one sentence]
|
|
10
|
+
Report the directory, then each file's content, then the config entry, then the compile result.
|
|
12
11
|
|
|
13
|
-
|
|
12
|
+
**metadata.yaml.** `id` becomes the compiled agent's `name`. Only `id`, `title`, `description` and
|
|
13
|
+
`tools` are required; every other key is optional, whatever its position in the file. Two of the
|
|
14
|
+
optional ones carry a default and therefore appear in every compiled agent whatever the metadata
|
|
15
|
+
says — `model` falls back to `inherit` and `permissionMode` to `default`.
|
|
16
|
+
`effort`, `disallowedTools`, `isolation` and `experimental` reach the frontmatter only when set. `hooks` reaches it either from `metadata.yaml` or as the
|
|
17
|
+
completion gate — the playbook's frontmatter decisions say which and when.
|
|
14
18
|
|
|
15
19
|
```yaml
|
|
16
|
-
$schema
|
|
17
|
-
id:
|
|
18
|
-
title:
|
|
19
|
-
description:
|
|
20
|
-
model:
|
|
20
|
+
# yaml-language-server: $schema=https://raw.githubusercontent.com/agents-inc/agents-inc/main/packages/cli/src/schemas/agent.schema.json
|
|
21
|
+
id: <agent-name>
|
|
22
|
+
title: <Name> Agent
|
|
23
|
+
description: <what the role does, and when the Task tool should reach for it>
|
|
24
|
+
model: sonnet | opus | haiku | fable | inherit
|
|
25
|
+
effort: low | medium | high | xhigh | max
|
|
21
26
|
tools:
|
|
22
|
-
-
|
|
23
|
-
|
|
27
|
+
- <Tool>
|
|
28
|
+
disallowedTools:
|
|
29
|
+
- <Tool>
|
|
30
|
+
permissionMode: default | acceptEdits | dontAsk | bypassPermissions | plan | delegate
|
|
31
|
+
isolation: worktree
|
|
32
|
+
experimental:
|
|
33
|
+
cacheTtl: 5m | 1h
|
|
34
|
+
hooks:
|
|
35
|
+
<HookEvent>:
|
|
36
|
+
- matcher: <tool name>
|
|
37
|
+
hooks:
|
|
38
|
+
- type: command
|
|
39
|
+
command: <shell command>
|
|
24
40
|
```
|
|
25
41
|
|
|
26
|
-
|
|
42
|
+
**Config entry.** `.claude-src/config.ts` is a TypeScript module, and an agent with source files
|
|
43
|
+
and no entry there compiles into nothing.
|
|
27
44
|
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
### critical-requirements.md
|
|
39
|
-
|
|
40
|
-
```markdown
|
|
41
|
-
[Required - non-negotiable constraints + self-correction triggers placed at the TOP of the agent prompt]
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
### critical-reminders.md
|
|
45
|
-
|
|
46
|
-
```markdown
|
|
47
|
-
[Required - emphatic reminders + post-action reflection placed at the BOTTOM of the agent prompt]
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
### output.md
|
|
51
|
-
|
|
52
|
-
```markdown
|
|
53
|
-
[Required - output format template + concrete examples of good agent behavior]
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
</agent_definition>
|
|
57
|
-
|
|
58
|
-
<design_rationale>
|
|
59
|
-
|
|
60
|
-
## Design Decisions
|
|
61
|
-
|
|
62
|
-
**Why this category:** [reasoning for placement]
|
|
63
|
-
|
|
64
|
-
**Why this model:**
|
|
65
|
-
|
|
66
|
-
- [opus] - Complex reasoning, nuanced judgment, creative tasks
|
|
67
|
-
- [sonnet] - Balanced capability and speed (default)
|
|
68
|
-
- [haiku] - Simple, fast, high-volume tasks
|
|
69
|
-
|
|
70
|
-
**Why these tools:**
|
|
71
|
-
|
|
72
|
-
| Tool | Reason |
|
|
73
|
-
| ------ | ------------------------- |
|
|
74
|
-
| [Tool] | [Why this agent needs it] |
|
|
75
|
-
|
|
76
|
-
**Why these principles:**
|
|
77
|
-
|
|
78
|
-
| Principle | Reason |
|
|
79
|
-
| ---------------- | --------------------------- |
|
|
80
|
-
| [principle-name] | [What behavior it enforces] |
|
|
81
|
-
|
|
82
|
-
**Output format design:**
|
|
83
|
-
|
|
84
|
-
- Consumer: [Who uses this agent's output]
|
|
85
|
-
- Key sections: [What the consumer needs]
|
|
86
|
-
</design_rationale>
|
|
87
|
-
|
|
88
|
-
<considered_alternatives>
|
|
89
|
-
|
|
90
|
-
## Alternatives Considered
|
|
91
|
-
|
|
92
|
-
**Alternative 1:** [description]
|
|
93
|
-
|
|
94
|
-
- Rejected because: [reason]
|
|
95
|
-
|
|
96
|
-
**Alternative 2:** [description]
|
|
97
|
-
|
|
98
|
-
- Rejected because: [reason]
|
|
99
|
-
</considered_alternatives>
|
|
100
|
-
|
|
101
|
-
<validation>
|
|
102
|
-
## Pre-Flight Checks
|
|
103
|
-
|
|
104
|
-
- [ ] Tools match agent capabilities (no extra tools, no missing tools)
|
|
105
|
-
- [ ] Model appropriate for task complexity
|
|
106
|
-
- [ ] Output format matches consumer needs
|
|
107
|
-
- [ ] No overlap with existing agents (checked against: [list])
|
|
108
|
-
- [ ] Workflow is complete and unambiguous
|
|
109
|
-
- [ ] Agent purpose clearly defined in identity.md
|
|
110
|
-
</validation>
|
|
111
|
-
</output_format>
|
|
112
|
-
|
|
113
|
-
## Example: Creating a New Agent
|
|
114
|
-
|
|
115
|
-
### Step 1: Create Agent Directory
|
|
116
|
-
|
|
117
|
-
```bash
|
|
118
|
-
mkdir -p src/agents/developer/example-developer/
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
### Step 2: Create identity.md
|
|
122
|
-
|
|
123
|
-
```markdown
|
|
124
|
-
You are an expert example developer implementing features based on detailed specifications.
|
|
125
|
-
|
|
126
|
-
**When implementing features, be thorough on what the task needs and silent on the rest. Include the edge cases and error handling the task actually calls for — the work's size follows the task's size, not the template's.**
|
|
127
|
-
|
|
128
|
-
Your job is **surgical implementation**: read the spec, examine the patterns, implement exactly what's requested.
|
|
129
|
-
|
|
130
|
-
**Your focus:**
|
|
131
|
-
|
|
132
|
-
- Example domain implementation
|
|
133
|
-
- Following established patterns
|
|
134
|
-
|
|
135
|
-
**Defer to specialists for:**
|
|
136
|
-
|
|
137
|
-
- React components -> web-developer
|
|
138
|
-
- API routes -> api-developer
|
|
45
|
+
```ts
|
|
46
|
+
import type {
|
|
47
|
+
ProjectConfig,
|
|
48
|
+
ProjectAgentName,
|
|
49
|
+
AgentScopeConfig,
|
|
50
|
+
SkillConfig,
|
|
51
|
+
StackAgentConfig,
|
|
52
|
+
} from "./config-types";
|
|
139
53
|
|
|
140
|
-
<
|
|
54
|
+
const skills: SkillConfig[] = [{ id: "<skill-id>", scope: "project", origin: "<marketplace>" }];
|
|
141
55
|
|
|
142
|
-
|
|
56
|
+
const agents: AgentScopeConfig[] = [{ name: "<agent-name>", scope: "project" }];
|
|
143
57
|
|
|
144
|
-
|
|
58
|
+
const stack: Partial<Record<ProjectAgentName, StackAgentConfig>> = {
|
|
59
|
+
"<agent-name>": {
|
|
60
|
+
"<category>": "<skill-id>",
|
|
61
|
+
"<other-category>": { id: "<skill-id>", preloaded: true },
|
|
62
|
+
},
|
|
63
|
+
};
|
|
145
64
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
</domain_scope>
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
### Step 3: Create playbook.md
|
|
157
|
-
|
|
158
|
-
```markdown
|
|
159
|
-
## Your Investigation Process
|
|
160
|
-
|
|
161
|
-
**BEFORE writing any code, you MUST:**
|
|
162
|
-
|
|
163
|
-
1. Read the specification completely
|
|
164
|
-
2. Examine ALL referenced pattern files
|
|
165
|
-
3. Check for existing utilities
|
|
65
|
+
export default {
|
|
66
|
+
name: "<project>",
|
|
67
|
+
agents,
|
|
68
|
+
skills,
|
|
69
|
+
stack,
|
|
70
|
+
} satisfies ProjectConfig;
|
|
166
71
|
```
|
|
167
72
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
73
|
+
`model` and `effort` on an `AgentScopeConfig` entry override the agent's own metadata for this
|
|
74
|
+
project; leave them out to keep the metadata values. A bare skill id is dynamic — the agent reaches
|
|
75
|
+
for it when the task calls for it; the object form with `preloaded: true` embeds the skill in the
|
|
76
|
+
compiled prompt instead, which the playbook's preloading decision says when to spend.
|
|
172
77
|
|
|
173
|
-
**
|
|
78
|
+
**Design decisions.** Three short paragraphs, one each: why this category holds the role, why this
|
|
79
|
+
model and effort suit the work, and what each tool is for. Where you considered a different shape
|
|
80
|
+
and rejected it, say which and why in one line.
|
|
174
81
|
|
|
175
|
-
**
|
|
82
|
+
**The compiled result**, from the playbook's last step: the compiled file's path, its frontmatter,
|
|
83
|
+
and the section headings of its body.
|
|
176
84
|
|
|
177
|
-
|
|
85
|
+
### Improve mode — what changed, and what is yours to decide
|
|
178
86
|
|
|
179
|
-
|
|
87
|
+
Two sections carry the playbook's two columns. Everything applied goes in the first; everything
|
|
88
|
+
brought back goes in the second, and a mode that changed nothing still reports both as empty.
|
|
180
89
|
|
|
181
|
-
**If you notice yourself:**
|
|
182
|
-
|
|
183
|
-
- **Generating code without reading files first** → STOP. Read the files.
|
|
184
|
-
- **Creating new utilities** → STOP. Check for existing ones.
|
|
185
|
-
|
|
186
|
-
</self_correction_triggers>
|
|
187
90
|
```
|
|
91
|
+
## <agent-name>
|
|
188
92
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
```markdown
|
|
192
|
-
## CRITICAL REMINDERS
|
|
93
|
+
Source: <the tree the agent lives in>
|
|
193
94
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
**(You MUST find and examine at least 2 similar examples before implementing)**
|
|
197
|
-
|
|
198
|
-
**(You MUST verify all success criteria in the spec BEFORE reporting completion)**
|
|
199
|
-
|
|
200
|
-
**Failure to follow these rules will produce inconsistent code.**
|
|
201
|
-
|
|
202
|
-
<post_action_reflection>
|
|
203
|
-
|
|
204
|
-
**After each major action, evaluate:**
|
|
205
|
-
|
|
206
|
-
1. Did this achieve the intended goal?
|
|
207
|
-
2. Should I verify changes were written?
|
|
208
|
-
|
|
209
|
-
</post_action_reflection>
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
### Step 6: Create metadata.yaml
|
|
213
|
-
|
|
214
|
-
```yaml
|
|
215
|
-
# src/agents/developer/example-developer/metadata.yaml
|
|
216
|
-
$schema: ../../../schemas/agent.schema.json
|
|
217
|
-
id: example-developer
|
|
218
|
-
title: Example Developer Agent
|
|
219
|
-
description: Implements example-specific features from specs
|
|
220
|
-
model: sonnet
|
|
221
|
-
tools:
|
|
222
|
-
- Read
|
|
223
|
-
- Write
|
|
224
|
-
- Edit
|
|
225
|
-
- Grep
|
|
226
|
-
- Glob
|
|
227
|
-
- Bash
|
|
228
|
-
```
|
|
229
|
-
|
|
230
|
-
### Step 7: Compile and Verify
|
|
231
|
-
|
|
232
|
-
```bash
|
|
233
|
-
npx agents-inc compile
|
|
234
|
-
```
|
|
235
|
-
|
|
236
|
-
---
|
|
237
|
-
|
|
238
|
-
## Example: Improvement Proposal
|
|
239
|
-
|
|
240
|
-
**Agent:** example-agent
|
|
241
|
-
**Source Directory:** src/agents/developer/example-agent/
|
|
242
|
-
**Current State:** Missing critical techniques
|
|
243
|
-
|
|
244
|
-
### Technique Audit
|
|
245
|
-
|
|
246
|
-
| Technique | Present | Notes |
|
|
247
|
-
| ---------------------- | ------- | ----------------------------------- |
|
|
248
|
-
| Self-reminder loop | Yes | Template auto-adds |
|
|
249
|
-
| Investigation-first | Yes | Included in template |
|
|
250
|
-
| Expansion modifiers | No | Missing in identity.md |
|
|
251
|
-
| Self-correction | No | Missing in critical-requirements.md |
|
|
252
|
-
| Post-action reflection | No | Missing in critical-reminders.md |
|
|
95
|
+
### Catalogue
|
|
96
|
+
| File | Sections | What it carries |
|
|
253
97
|
|
|
254
98
|
### Findings
|
|
99
|
+
| # | Finding | Evidence: file and symbol | Impact |
|
|
255
100
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
### Proposed Changes
|
|
101
|
+
### Changes made
|
|
102
|
+
**1. <change> (<file>)**
|
|
103
|
+
Current: <the section as it stood>
|
|
104
|
+
Now: <what replaced it>
|
|
105
|
+
Reason: <one line>
|
|
263
106
|
|
|
264
|
-
|
|
107
|
+
### For you to decide
|
|
108
|
+
**1. <the question>**
|
|
109
|
+
- **The agent says:** <what the prompt states now, and where>
|
|
110
|
+
- **The evidence says:** <what contradicts it, and its file or source>
|
|
111
|
+
- **Options:** <keep / change / hybrid — one line each>
|
|
112
|
+
- **Recommendation:** <which, and why>
|
|
265
113
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
You are an expert example developer.
|
|
270
|
-
|
|
271
|
-
# Proposed
|
|
272
|
-
|
|
273
|
-
You are an expert example developer.
|
|
274
|
-
|
|
275
|
-
**When implementing features, be thorough on what the task needs and silent on the rest. Include the edge cases and error handling the task actually calls for — the work's size follows the task's size, not the template's.**
|
|
114
|
+
### Examined and left alone
|
|
115
|
+
<what you read that needs no change, so the report says what it covered>
|
|
276
116
|
```
|
|
277
117
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
```markdown
|
|
281
|
-
**If you notice yourself:**
|
|
282
|
-
|
|
283
|
-
- **Generating code without reading files first** → STOP. Read the files.
|
|
284
|
-
- **Creating new utilities** → STOP. Check for existing ones first.
|
|
285
|
-
```
|
|
286
|
-
|
|
287
|
-
**Change 3: Add post-action reflection (critical-reminders.md)**
|
|
288
|
-
|
|
289
|
-
```markdown
|
|
290
|
-
**After each major action, evaluate:**
|
|
291
|
-
|
|
292
|
-
1. Did this achieve the intended goal?
|
|
293
|
-
2. Should I verify changes were written?
|
|
294
|
-
```
|
|
118
|
+
Close with the recompiled file's frontmatter and section headings after the change.
|
|
295
119
|
|
|
296
|
-
|
|
120
|
+
</output_format>
|