persona-harness 0.3.0-alpha.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/.persona/harness.jsonc +9 -0
- package/.persona/rules/backend/gradle-bootstrap.md +27 -0
- package/.persona/rules/backend/java-backend-bootstrap.md +28 -0
- package/.persona/rules/backend/java-common.md +22 -0
- package/.persona/rules/backend/layered-architecture.md +19 -0
- package/.persona/rules/backend/package-structure.md +21 -0
- package/.persona/rules/backend/spring-controller.md +19 -0
- package/.persona/rules/backend/spring-dto.md +21 -0
- package/.persona/rules/backend/spring-entity.md +22 -0
- package/.persona/rules/backend/spring-repository.md +22 -0
- package/.persona/rules/backend/spring-service.md +23 -0
- package/.persona/rules/backend/spring-test.md +32 -0
- package/.persona/rules/backend/step1-api-contract.md +29 -0
- package/.persona/rules/backend/step2-3-api-contract.md +24 -0
- package/.persona/rules/backend/validation-exception.md +18 -0
- package/.persona/rules/clean-code/abstraction.md +18 -0
- package/.persona/rules/clean-code/common.md +21 -0
- package/.persona/rules/clean-code/method-design.md +20 -0
- package/.persona/rules/clean-code/naming.md +19 -0
- package/.persona/rules/clean-code/oop.md +18 -0
- package/.persona/rules/clean-code/testability.md +19 -0
- package/CHANGELOG.md +40 -0
- package/LICENSE +201 -0
- package/README.ja.md +95 -0
- package/README.ko.md +95 -0
- package/README.md +125 -0
- package/README.zh-cn.md +95 -0
- package/dist/cli/bearshell.d.ts +12 -0
- package/dist/cli/bearshell.js +189 -0
- package/dist/cli/bearshell.js.map +1 -0
- package/dist/cli/history.d.ts +15 -0
- package/dist/cli/history.js +156 -0
- package/dist/cli/history.js.map +1 -0
- package/dist/cli/index.d.ts +10 -0
- package/dist/cli/index.js +117 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/init.d.ts +21 -0
- package/dist/cli/init.js +194 -0
- package/dist/cli/init.js.map +1 -0
- package/dist/cli/intake-profile.d.ts +52 -0
- package/dist/cli/intake-profile.js +167 -0
- package/dist/cli/intake-profile.js.map +1 -0
- package/dist/cli/intake.d.ts +14 -0
- package/dist/cli/intake.js +209 -0
- package/dist/cli/intake.js.map +1 -0
- package/dist/cli/plan-command.d.ts +4 -0
- package/dist/cli/plan-command.js +130 -0
- package/dist/cli/plan-command.js.map +1 -0
- package/dist/cli/plan-status.d.ts +11 -0
- package/dist/cli/plan-status.js +41 -0
- package/dist/cli/plan-status.js.map +1 -0
- package/dist/cli/plan.d.ts +10 -0
- package/dist/cli/plan.js +199 -0
- package/dist/cli/plan.js.map +1 -0
- package/dist/cli/policy.d.ts +7 -0
- package/dist/cli/policy.js +139 -0
- package/dist/cli/policy.js.map +1 -0
- package/dist/cli/report-status.d.ts +13 -0
- package/dist/cli/report-status.js +40 -0
- package/dist/cli/report-status.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/phase0/drift-detector.d.ts +24 -0
- package/dist/phase0/drift-detector.js +334 -0
- package/dist/phase0/drift-detector.js.map +1 -0
- package/dist/phase0/evidence.d.ts +9 -0
- package/dist/phase0/evidence.js +36 -0
- package/dist/phase0/evidence.js.map +1 -0
- package/dist/phase0/file-role.d.ts +5 -0
- package/dist/phase0/file-role.js +55 -0
- package/dist/phase0/file-role.js.map +1 -0
- package/dist/phase0/harness-config.d.ts +12 -0
- package/dist/phase0/harness-config.js +115 -0
- package/dist/phase0/harness-config.js.map +1 -0
- package/dist/phase0/hooks.d.ts +8 -0
- package/dist/phase0/hooks.js +127 -0
- package/dist/phase0/hooks.js.map +1 -0
- package/dist/phase0/injection.d.ts +2 -0
- package/dist/phase0/injection.js +77 -0
- package/dist/phase0/injection.js.map +1 -0
- package/dist/phase0/java-role-discovery.d.ts +6 -0
- package/dist/phase0/java-role-discovery.js +90 -0
- package/dist/phase0/java-role-discovery.js.map +1 -0
- package/dist/phase0/messages.d.ts +2 -0
- package/dist/phase0/messages.js +30 -0
- package/dist/phase0/messages.js.map +1 -0
- package/dist/phase0/policy-overlay.d.ts +12 -0
- package/dist/phase0/policy-overlay.js +171 -0
- package/dist/phase0/policy-overlay.js.map +1 -0
- package/dist/phase0/project-profile.d.ts +1 -0
- package/dist/phase0/project-profile.js +148 -0
- package/dist/phase0/project-profile.js.map +1 -0
- package/dist/phase0/rule-catalog.d.ts +14 -0
- package/dist/phase0/rule-catalog.js +77 -0
- package/dist/phase0/rule-catalog.js.map +1 -0
- package/dist/phase0/rule-diagnostics-report.d.ts +17 -0
- package/dist/phase0/rule-diagnostics-report.js +51 -0
- package/dist/phase0/rule-diagnostics-report.js.map +1 -0
- package/dist/phase0/rule-frontmatter-diagnostics.d.ts +19 -0
- package/dist/phase0/rule-frontmatter-diagnostics.js +65 -0
- package/dist/phase0/rule-frontmatter-diagnostics.js.map +1 -0
- package/dist/phase0/rule-frontmatter.d.ts +23 -0
- package/dist/phase0/rule-frontmatter.js +172 -0
- package/dist/phase0/rule-frontmatter.js.map +1 -0
- package/dist/phase0/rule-glob.d.ts +2 -0
- package/dist/phase0/rule-glob.js +38 -0
- package/dist/phase0/rule-glob.js.map +1 -0
- package/dist/phase0/rule-loader.d.ts +13 -0
- package/dist/phase0/rule-loader.js +143 -0
- package/dist/phase0/rule-loader.js.map +1 -0
- package/dist/phase0/shared-skill-router.d.ts +14 -0
- package/dist/phase0/shared-skill-router.js +85 -0
- package/dist/phase0/shared-skill-router.js.map +1 -0
- package/dist/phase0/store.d.ts +6 -0
- package/dist/phase0/store.js +14 -0
- package/dist/phase0/store.js.map +1 -0
- package/dist/phase0/target-file.d.ts +2 -0
- package/dist/phase0/target-file.js +41 -0
- package/dist/phase0/target-file.js.map +1 -0
- package/dist/phase0/types.d.ts +38 -0
- package/dist/phase0/types.js +2 -0
- package/dist/phase0/types.js.map +1 -0
- package/dist/phase1/observer/controller-repository-observer.d.ts +17 -0
- package/dist/phase1/observer/controller-repository-observer.js +210 -0
- package/dist/phase1/observer/controller-repository-observer.js.map +1 -0
- package/dist/phase1/observer/controller-sql-observer.d.ts +20 -0
- package/dist/phase1/observer/controller-sql-observer.js +148 -0
- package/dist/phase1/observer/controller-sql-observer.js.map +1 -0
- package/dist/phase1/observer/java-source.d.ts +9 -0
- package/dist/phase1/observer/java-source.js +88 -0
- package/dist/phase1/observer/java-source.js.map +1 -0
- package/dist/phase1/observer/report.d.ts +52 -0
- package/dist/phase1/observer/report.js +173 -0
- package/dist/phase1/observer/report.js.map +1 -0
- package/dist/phase1/observer/service-storage-observer.d.ts +20 -0
- package/dist/phase1/observer/service-storage-observer.js +155 -0
- package/dist/phase1/observer/service-storage-observer.js.map +1 -0
- package/dist/phase1/observer/test-contract-anchor-matchers.d.ts +10 -0
- package/dist/phase1/observer/test-contract-anchor-matchers.js +198 -0
- package/dist/phase1/observer/test-contract-anchor-matchers.js.map +1 -0
- package/dist/phase1/observer/test-contract-observer.d.ts +21 -0
- package/dist/phase1/observer/test-contract-observer.js +70 -0
- package/dist/phase1/observer/test-contract-observer.js.map +1 -0
- package/docs/README.md +34 -0
- package/docs/current/README.md +35 -0
- package/docs/current/java-backend-mvp-install-guide.md +160 -0
- package/docs/current/persona-harness-detailed-usage.md +782 -0
- package/docs/current/release/README.md +6 -0
- package/docs/current/release/release-checklist.md +113 -0
- package/docs/current/release/release-notes-template.md +68 -0
- package/docs/current/v0.3.0-alpha-publish-readiness.md +185 -0
- package/docs/current/v0.3.0-external-tester-feedback-template.md +214 -0
- package/docs/current/v0.3.0-external-tester-guide.md +217 -0
- package/docs/current/v0.3.0-gradle-spring-build-guidance.md +100 -0
- package/package.json +87 -0
- package/packages/shared-skills/skills/programming/SKILL.md +490 -0
- package/packages/shared-skills/skills/programming/references/java/README.md +193 -0
- package/packages/shared-skills/skills/programming/references/java/anti-patterns.md +85 -0
- package/packages/shared-skills/skills/programming/references/java/application-layer.md +200 -0
- package/packages/shared-skills/skills/programming/references/java/architecture.md +152 -0
- package/packages/shared-skills/skills/programming/references/java/backend.md +152 -0
- package/packages/shared-skills/skills/programming/references/java/code-quality-refactoring.md +146 -0
- package/packages/shared-skills/skills/programming/references/java/concurrency-discipline.md +98 -0
- package/packages/shared-skills/skills/programming/references/java/domain-model.md +214 -0
- package/packages/shared-skills/skills/programming/references/java/error-handling.md +179 -0
- package/packages/shared-skills/skills/programming/references/java/foundations.md +49 -0
- package/packages/shared-skills/skills/programming/references/java/java-idioms.md +108 -0
- package/packages/shared-skills/skills/programming/references/java/language-core.md +96 -0
- package/packages/shared-skills/skills/programming/references/java/method-and-naming.md +164 -0
- package/packages/shared-skills/skills/programming/references/java/object-collaboration.md +140 -0
- package/packages/shared-skills/skills/programming/references/java/performance-discipline.md +115 -0
- package/packages/shared-skills/skills/programming/references/java/repository-pattern.md +181 -0
- package/packages/shared-skills/skills/programming/references/java/technology-seams.md +92 -0
- package/packages/shared-skills/skills/programming/references/java/test-design.md +149 -0
- package/packages/shared-skills/skills/programming/references/java/testing.md +188 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
https://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
https://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.ja.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# Persona Harness
|
|
2
|
+
|
|
3
|
+
OpenCode 向け Java/Spring backend Clean Code workflow pilot.
|
|
4
|
+
|
|
5
|
+
[English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [简体中文](README.zh-cn.md)
|
|
6
|
+
|
|
7
|
+
Persona Harness は、エージェントが空のプロジェクトから始め、backend の前提を確認し、実装前に architecture plan を残し、一貫した Java/Spring 構造でコードを生成するためのワークフローです。
|
|
8
|
+
|
|
9
|
+
> 現在の範囲: Java/Spring backend MVP.
|
|
10
|
+
> frontend、infra、desktop app、AST/linter enforcement、完全な TDD workflow は今後の対象です。
|
|
11
|
+
|
|
12
|
+
## Quick Start
|
|
13
|
+
|
|
14
|
+
npm alpha publish 後:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install -D persona-harness@alpha
|
|
18
|
+
npx ph init
|
|
19
|
+
npx ph intake --interactive
|
|
20
|
+
npx ph policy init
|
|
21
|
+
npx ph plan
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
public publish 前の local flow:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm install -D /absolute/path/to/persona-harness
|
|
28
|
+
npx ph init
|
|
29
|
+
npx ph intake --interactive
|
|
30
|
+
npx ph policy init
|
|
31
|
+
npx ph plan
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
まず OpenCode に plan だけを作らせます。
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
opencode run --dir . --model <model> --dangerously-skip-permissions \
|
|
38
|
+
"README.md, .persona/project-profile.jsonc, .persona/policies, .persona/workflow/plan.mdを読み、実装せず architecture/technology plan だけを完成させてください。"
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
plan が十分なら accept します。
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
npx ph plan --status
|
|
45
|
+
npx ph plan --accept
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
その後、実装を依頼します。
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
opencode run --dir . --model <model> --dangerously-skip-permissions \
|
|
52
|
+
"README.md, .persona/project-profile.jsonc, .persona/policies, .persona/workflow/plan.mdを読み、plan が accepted であることを確認してから Java/Spring Gradle ベースで要求全体を実装してください。実装後に gradle test, gradle build, gradle bootRun, HTTP happy path と failure path smoke を実行し、.persona/workflow/implementation-report.md と .persona/workflow/review-report.md を記入してください。"
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## 提供するもの
|
|
56
|
+
|
|
57
|
+
- `ph init`: `.persona/rules`, `.persona/harness.jsonc`, OpenCode plugin config を作成
|
|
58
|
+
- `ph intake --interactive`: backend planning 質問を行い `.persona/project-profile.jsonc` を作成
|
|
59
|
+
- `ph policy init`: company/personal backend policy overlay を作成
|
|
60
|
+
- `ph plan`: `blackbear` planning role 用 `.persona/workflow/plan.md` を作成
|
|
61
|
+
- `ph bearshell`: bounded shell command helper
|
|
62
|
+
- `ph history`: 使用済み workflow artifact を `.persona/workflow/history/` に保存
|
|
63
|
+
- OpenCode injection: 関連ファイルを読むと Java/Spring backend Clean Code context を注入
|
|
64
|
+
|
|
65
|
+
## 推奨するコード構造
|
|
66
|
+
|
|
67
|
+
- Gradle-first Java/Spring backend
|
|
68
|
+
- `presentation`, `application`, `domain`, `infrastructure`, `global` の境界
|
|
69
|
+
- Controller は Service に委譲
|
|
70
|
+
- Application Service は use case の流れを扱い、storage state や id sequence を直接保持しない
|
|
71
|
+
- Domain は passive record ではなく、自身のフィールドで判断と振る舞いを持つ
|
|
72
|
+
- Repository interface は domain、実装は infrastructure
|
|
73
|
+
- Request/response DTO boundary を明確にする
|
|
74
|
+
|
|
75
|
+
## 保証しないこと
|
|
76
|
+
|
|
77
|
+
- 生成された app の product quality 認証
|
|
78
|
+
- AST/linter/build failure による rule enforcement
|
|
79
|
+
- test sufficiency の証明
|
|
80
|
+
- frontend, infra, desktop workflow の productization
|
|
81
|
+
- 最終的な TDD workflow
|
|
82
|
+
|
|
83
|
+
## Docs
|
|
84
|
+
|
|
85
|
+
- [Changelog](CHANGELOG.md)
|
|
86
|
+
- [Release checklist](docs/current/release/release-checklist.md)
|
|
87
|
+
- [Release notes template](docs/current/release/release-notes-template.md)
|
|
88
|
+
- [Detailed usage notes](docs/current/persona-harness-detailed-usage.md)
|
|
89
|
+
- [Alpha publish readiness](docs/current/v0.3.0-alpha-publish-readiness.md)
|
|
90
|
+
- [External tester guide](docs/current/v0.3.0-external-tester-guide.md)
|
|
91
|
+
- [Java backend MVP install guide](docs/current/java-backend-mvp-install-guide.md)
|
|
92
|
+
|
|
93
|
+
## License
|
|
94
|
+
|
|
95
|
+
Apache-2.0. See [LICENSE](LICENSE).
|
package/README.ko.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# Persona Harness
|
|
2
|
+
|
|
3
|
+
OpenCode를 위한 Java/Spring backend Clean Code workflow pilot.
|
|
4
|
+
|
|
5
|
+
[English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [简体中文](README.zh-cn.md)
|
|
6
|
+
|
|
7
|
+
Persona Harness는 에이전트가 빈 프로젝트에서 시작해 backend 맥락을 묻고, 구현 전 architecture plan을 남긴 뒤, 더 균일한 Java/Spring 구조로 코드를 만들도록 돕습니다.
|
|
8
|
+
|
|
9
|
+
> 현재 범위: Java/Spring backend MVP.
|
|
10
|
+
> frontend, infra, desktop app, AST/linter enforcement, 완전한 TDD workflow는 후속 트랙입니다.
|
|
11
|
+
|
|
12
|
+
## 빠른 시작
|
|
13
|
+
|
|
14
|
+
npm alpha publish 이후:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install -D persona-harness@alpha
|
|
18
|
+
npx ph init
|
|
19
|
+
npx ph intake --interactive
|
|
20
|
+
npx ph policy init
|
|
21
|
+
npx ph plan
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
public publish 전 로컬 개발 흐름:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm install -D /absolute/path/to/persona-harness
|
|
28
|
+
npx ph init
|
|
29
|
+
npx ph intake --interactive
|
|
30
|
+
npx ph policy init
|
|
31
|
+
npx ph plan
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
먼저 OpenCode에게 계획만 완성하게 합니다.
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
opencode run --dir . --model <model> --dangerously-skip-permissions \
|
|
38
|
+
"README.md, .persona/project-profile.jsonc, .persona/policies, .persona/workflow/plan.md를 읽고 구현하지 말고 architecture/technology plan만 완성해줘."
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
계획이 충분하면 수락합니다.
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
npx ph plan --status
|
|
45
|
+
npx ph plan --accept
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
그 다음 구현을 요청합니다.
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
opencode run --dir . --model <model> --dangerously-skip-permissions \
|
|
52
|
+
"README.md, .persona/project-profile.jsonc, .persona/policies, .persona/workflow/plan.md를 읽고 plan이 accepted 상태인지 확인한 뒤 Java/Spring Gradle 기반으로 요구사항 전체를 구현해줘. 구현 후 gradle test, gradle build, gradle bootRun, HTTP happy path와 failure path smoke를 실행하고 .persona/workflow/implementation-report.md와 .persona/workflow/review-report.md를 채워줘."
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## 제공하는 것
|
|
56
|
+
|
|
57
|
+
- `ph init`: `.persona/rules`, `.persona/harness.jsonc`, OpenCode plugin config 설치
|
|
58
|
+
- `ph intake --interactive`: backend planning 질문 후 `.persona/project-profile.jsonc` 생성
|
|
59
|
+
- `ph policy init`: 회사/개인 backend policy overlay 파일 생성
|
|
60
|
+
- `ph plan`: `blackbear` planning role용 `.persona/workflow/plan.md` 생성
|
|
61
|
+
- `ph bearshell`: bounded shell command helper
|
|
62
|
+
- `ph history`: 사용한 workflow artifact를 `.persona/workflow/history/`에 보존
|
|
63
|
+
- OpenCode injection: 관련 파일을 읽을 때 Java/Spring backend Clean Code context 주입
|
|
64
|
+
|
|
65
|
+
## 권장하는 코드 모양
|
|
66
|
+
|
|
67
|
+
- Gradle 기반 Java/Spring backend
|
|
68
|
+
- `presentation`, `application`, `domain`, `infrastructure`, `global` 경계
|
|
69
|
+
- Controller는 Service에 위임
|
|
70
|
+
- Application Service는 use case 흐름만 담당하고 저장소 상태/id sequence를 직접 소유하지 않음
|
|
71
|
+
- Domain은 단순 record가 아니라 자기 필드로 판단과 행동을 가짐
|
|
72
|
+
- Repository interface는 domain, 구현체는 infrastructure에 위치
|
|
73
|
+
- Request/response DTO boundary 명확화
|
|
74
|
+
|
|
75
|
+
## 보장하지 않는 것
|
|
76
|
+
|
|
77
|
+
- generated app product quality 인증
|
|
78
|
+
- AST/linter/build failure 기반 rule enforcement
|
|
79
|
+
- 테스트 충분성 증명
|
|
80
|
+
- frontend, infra, desktop workflow productization
|
|
81
|
+
- 최종 TDD workflow
|
|
82
|
+
|
|
83
|
+
## 문서
|
|
84
|
+
|
|
85
|
+
- [Changelog](CHANGELOG.md)
|
|
86
|
+
- [Release checklist](docs/current/release/release-checklist.md)
|
|
87
|
+
- [Release notes template](docs/current/release/release-notes-template.md)
|
|
88
|
+
- [상세 사용 노트](docs/current/persona-harness-detailed-usage.md)
|
|
89
|
+
- [Alpha publish readiness](docs/current/v0.3.0-alpha-publish-readiness.md)
|
|
90
|
+
- [External tester guide](docs/current/v0.3.0-external-tester-guide.md)
|
|
91
|
+
- [Java backend MVP install guide](docs/current/java-backend-mvp-install-guide.md)
|
|
92
|
+
|
|
93
|
+
## License
|
|
94
|
+
|
|
95
|
+
Apache-2.0. See [LICENSE](LICENSE).
|
package/README.md
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# Persona Harness
|
|
2
|
+
|
|
3
|
+
Java/Spring backend Clean Code workflow pilot for OpenCode.
|
|
4
|
+
|
|
5
|
+
Persona Harness helps an agent start from a clean project, ask for backend context, write an architecture plan, and generate code with a consistent Java/Spring structure.
|
|
6
|
+
|
|
7
|
+
[English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [简体中文](README.zh-cn.md)
|
|
8
|
+
|
|
9
|
+
> Current scope: Java/Spring backend MVP.
|
|
10
|
+
> Frontend, infra, desktop app, AST/linter enforcement, and full TDD workflow are future tracks.
|
|
11
|
+
|
|
12
|
+
## Quick Start
|
|
13
|
+
|
|
14
|
+
Alpha package flow, after npm alpha publish:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install -D persona-harness@alpha
|
|
18
|
+
npx ph init
|
|
19
|
+
npx ph intake --interactive
|
|
20
|
+
npx ph policy init
|
|
21
|
+
npx ph plan
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Local development flow, before public publish:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm install -D /absolute/path/to/persona-harness
|
|
28
|
+
npx ph init
|
|
29
|
+
npx ph intake --interactive
|
|
30
|
+
npx ph policy init
|
|
31
|
+
npx ph plan
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Then ask OpenCode to plan first:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
opencode run --dir . --model <model> --dangerously-skip-permissions \
|
|
38
|
+
"README.md, .persona/project-profile.jsonc, .persona/policies, .persona/workflow/plan.md를 읽고 구현하지 말고 architecture/technology plan만 완성해줘."
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Accept the plan when it is good enough:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
npx ph plan --status
|
|
45
|
+
npx ph plan --accept
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Then ask OpenCode to implement:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
opencode run --dir . --model <model> --dangerously-skip-permissions \
|
|
52
|
+
"README.md, .persona/project-profile.jsonc, .persona/policies, .persona/workflow/plan.md를 읽고 plan이 accepted 상태인지 확인한 뒤 Java/Spring Gradle 기반으로 요구사항 전체를 구현해줘. 구현 후 gradle test, gradle build, gradle bootRun, HTTP happy path와 failure path smoke를 실행하고 .persona/workflow/implementation-report.md와 .persona/workflow/review-report.md를 채워줘."
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## What You Get
|
|
56
|
+
|
|
57
|
+
- `ph init`: installs `.persona/rules`, `.persona/harness.jsonc`, and OpenCode plugin config.
|
|
58
|
+
- `ph intake --interactive`: asks backend project questions and writes `.persona/project-profile.jsonc`.
|
|
59
|
+
- `ph policy init`: creates company and personal backend policy overlay files.
|
|
60
|
+
- `ph plan`: creates `.persona/workflow/plan.md` for the `blackbear` planning role.
|
|
61
|
+
- `ph bearshell`: runs bounded shell commands through the Persona Harness command surface.
|
|
62
|
+
- `ph history`: snapshots used workflow artifacts into `.persona/workflow/history/`.
|
|
63
|
+
- OpenCode injection: adds Java/Spring backend Clean Code context when the agent reads relevant project files.
|
|
64
|
+
|
|
65
|
+
## What It Encourages
|
|
66
|
+
|
|
67
|
+
- Gradle-first Java/Spring backend projects.
|
|
68
|
+
- `presentation`, `application`, `domain`, `infrastructure`, and `global` package boundaries.
|
|
69
|
+
- Controller delegates to Service.
|
|
70
|
+
- Application Service orchestrates use cases and does not own storage state or id sequence.
|
|
71
|
+
- Domain owns business decisions through behavior, not passive records only.
|
|
72
|
+
- Repository interface lives in domain, implementation lives in infrastructure.
|
|
73
|
+
- Request/response DTO boundary is explicit.
|
|
74
|
+
|
|
75
|
+
## What It Does Not Promise
|
|
76
|
+
|
|
77
|
+
- It does not certify generated app product quality.
|
|
78
|
+
- It does not enforce rules through AST, linter, or build failure gates.
|
|
79
|
+
- It does not prove tests are sufficient.
|
|
80
|
+
- It does not productize frontend, infra, or desktop workflows yet.
|
|
81
|
+
- It is not the final TDD workflow yet.
|
|
82
|
+
|
|
83
|
+
## For Humans
|
|
84
|
+
|
|
85
|
+
1. Write a short product README in a clean Java/Spring backend project.
|
|
86
|
+
2. Run `npx ph init`.
|
|
87
|
+
3. Run `npx ph intake --interactive` and answer the backend planning questions.
|
|
88
|
+
4. Run `npx ph policy init` if you want company or personal guidance.
|
|
89
|
+
5. Run `npx ph plan`.
|
|
90
|
+
6. Let OpenCode fill the plan only.
|
|
91
|
+
7. Review and accept the plan.
|
|
92
|
+
8. Let OpenCode implement from the accepted plan.
|
|
93
|
+
9. Check Gradle build, generated structure, and workflow reports.
|
|
94
|
+
|
|
95
|
+
## For Agents
|
|
96
|
+
|
|
97
|
+
Read these files before implementation:
|
|
98
|
+
|
|
99
|
+
- `README.md`
|
|
100
|
+
- `.persona/project-profile.jsonc`
|
|
101
|
+
- `.persona/policies/`
|
|
102
|
+
- `.persona/workflow/plan.md`
|
|
103
|
+
|
|
104
|
+
Do not skip the plan state. If the plan is not accepted, finish or revise the plan first.
|
|
105
|
+
|
|
106
|
+
After implementation, fill:
|
|
107
|
+
|
|
108
|
+
- `.persona/workflow/implementation-report.md`
|
|
109
|
+
- `.persona/workflow/review-report.md`
|
|
110
|
+
|
|
111
|
+
## Docs
|
|
112
|
+
|
|
113
|
+
- [Changelog](CHANGELOG.md)
|
|
114
|
+
- [Release checklist](docs/current/release/release-checklist.md)
|
|
115
|
+
- [Release notes template](docs/current/release/release-notes-template.md)
|
|
116
|
+
- [Detailed usage notes](docs/current/persona-harness-detailed-usage.md)
|
|
117
|
+
- [Alpha publish readiness](docs/current/v0.3.0-alpha-publish-readiness.md)
|
|
118
|
+
- [External tester guide](docs/current/v0.3.0-external-tester-guide.md)
|
|
119
|
+
- [External tester feedback template](docs/current/v0.3.0-external-tester-feedback-template.md)
|
|
120
|
+
- [Java backend MVP install guide](docs/current/java-backend-mvp-install-guide.md)
|
|
121
|
+
- [Project progress board](docs/project-progress-board.md)
|
|
122
|
+
|
|
123
|
+
## License
|
|
124
|
+
|
|
125
|
+
Apache-2.0. See [LICENSE](LICENSE).
|
package/README.zh-cn.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# Persona Harness
|
|
2
|
+
|
|
3
|
+
面向 OpenCode 的 Java/Spring backend Clean Code workflow pilot.
|
|
4
|
+
|
|
5
|
+
[English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [简体中文](README.zh-cn.md)
|
|
6
|
+
|
|
7
|
+
Persona Harness 帮助代理从空项目开始,先收集 backend 背景,生成 architecture plan,再基于计划生成更一致的 Java/Spring 代码结构。
|
|
8
|
+
|
|
9
|
+
> 当前范围: Java/Spring backend MVP.
|
|
10
|
+
> frontend、infra、desktop app、AST/linter enforcement、完整 TDD workflow 都是后续方向。
|
|
11
|
+
|
|
12
|
+
## 快速开始
|
|
13
|
+
|
|
14
|
+
npm alpha publish 之后:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install -D persona-harness@alpha
|
|
18
|
+
npx ph init
|
|
19
|
+
npx ph intake --interactive
|
|
20
|
+
npx ph policy init
|
|
21
|
+
npx ph plan
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
public publish 之前的本地流程:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm install -D /absolute/path/to/persona-harness
|
|
28
|
+
npx ph init
|
|
29
|
+
npx ph intake --interactive
|
|
30
|
+
npx ph policy init
|
|
31
|
+
npx ph plan
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
先让 OpenCode 只完成计划:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
opencode run --dir . --model <model> --dangerously-skip-permissions \
|
|
38
|
+
"请阅读 README.md, .persona/project-profile.jsonc, .persona/policies, .persona/workflow/plan.md,不要实现代码,只完成 architecture/technology plan。"
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
计划足够清楚后接受它:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
npx ph plan --status
|
|
45
|
+
npx ph plan --accept
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
然后让 OpenCode 实现:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
opencode run --dir . --model <model> --dangerously-skip-permissions \
|
|
52
|
+
"请阅读 README.md, .persona/project-profile.jsonc, .persona/policies, .persona/workflow/plan.md,确认 plan 是 accepted 状态,然后基于 Java/Spring Gradle 实现全部需求。实现后运行 gradle test, gradle build, gradle bootRun, HTTP happy path 和 failure path smoke,并填写 .persona/workflow/implementation-report.md 与 .persona/workflow/review-report.md。"
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## 提供内容
|
|
56
|
+
|
|
57
|
+
- `ph init`: 安装 `.persona/rules`, `.persona/harness.jsonc`, OpenCode plugin config
|
|
58
|
+
- `ph intake --interactive`: 询问 backend planning 问题并写入 `.persona/project-profile.jsonc`
|
|
59
|
+
- `ph policy init`: 创建 company/personal backend policy overlay
|
|
60
|
+
- `ph plan`: 创建 `blackbear` planning role 的 `.persona/workflow/plan.md`
|
|
61
|
+
- `ph bearshell`: bounded shell command helper
|
|
62
|
+
- `ph history`: 将使用过的 workflow artifact 保存到 `.persona/workflow/history/`
|
|
63
|
+
- OpenCode injection: 当代理读取相关文件时注入 Java/Spring backend Clean Code context
|
|
64
|
+
|
|
65
|
+
## 鼓励的代码结构
|
|
66
|
+
|
|
67
|
+
- Gradle-first Java/Spring backend
|
|
68
|
+
- `presentation`, `application`, `domain`, `infrastructure`, `global` 边界
|
|
69
|
+
- Controller 委托给 Service
|
|
70
|
+
- Application Service 只编排 use case,不直接持有 storage state 或 id sequence
|
|
71
|
+
- Domain 不是 passive record,而是用自己的字段进行判断和行为
|
|
72
|
+
- Repository interface 在 domain,具体实现放在 infrastructure
|
|
73
|
+
- 明确 request/response DTO boundary
|
|
74
|
+
|
|
75
|
+
## 不承诺
|
|
76
|
+
|
|
77
|
+
- 生成 app 的 product quality 认证
|
|
78
|
+
- AST/linter/build failure 级别的 rule enforcement
|
|
79
|
+
- 测试充分性证明
|
|
80
|
+
- frontend, infra, desktop workflow productization
|
|
81
|
+
- 最终 TDD workflow
|
|
82
|
+
|
|
83
|
+
## Docs
|
|
84
|
+
|
|
85
|
+
- [Changelog](CHANGELOG.md)
|
|
86
|
+
- [Release checklist](docs/current/release/release-checklist.md)
|
|
87
|
+
- [Release notes template](docs/current/release/release-notes-template.md)
|
|
88
|
+
- [Detailed usage notes](docs/current/persona-harness-detailed-usage.md)
|
|
89
|
+
- [Alpha publish readiness](docs/current/v0.3.0-alpha-publish-readiness.md)
|
|
90
|
+
- [External tester guide](docs/current/v0.3.0-external-tester-guide.md)
|
|
91
|
+
- [Java backend MVP install guide](docs/current/java-backend-mvp-install-guide.md)
|
|
92
|
+
|
|
93
|
+
## License
|
|
94
|
+
|
|
95
|
+
Apache-2.0. See [LICENSE](LICENSE).
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type CliRunResult = {
|
|
2
|
+
readonly status: number;
|
|
3
|
+
readonly stdout: string;
|
|
4
|
+
readonly stderr: string;
|
|
5
|
+
};
|
|
6
|
+
type BearshellOptions = {
|
|
7
|
+
readonly cwd?: string;
|
|
8
|
+
readonly env?: Readonly<Record<string, string | undefined>>;
|
|
9
|
+
};
|
|
10
|
+
export declare function bearshellUsage(invocation?: string): string;
|
|
11
|
+
export declare function runBearshell(args: readonly string[], options?: BearshellOptions): CliRunResult;
|
|
12
|
+
export {};
|