@tpsdev-ai/cli 0.1.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 +201 -0
- package/README.md +79 -0
- package/dist/bin/tps.d.ts +3 -0
- package/dist/bin/tps.d.ts.map +1 -0
- package/dist/bin/tps.js +267 -0
- package/dist/bin/tps.js.map +1 -0
- package/dist/src/cli/hire.d.ts +16 -0
- package/dist/src/cli/hire.d.ts.map +1 -0
- package/dist/src/cli/hire.js +176 -0
- package/dist/src/cli/hire.js.map +1 -0
- package/dist/src/cli/office.d.ts +7 -0
- package/dist/src/cli/office.d.ts.map +1 -0
- package/dist/src/cli/office.js +51 -0
- package/dist/src/cli/office.js.map +1 -0
- package/dist/src/cli/review.d.ts +9 -0
- package/dist/src/cli/review.d.ts.map +1 -0
- package/dist/src/cli/review.js +109 -0
- package/dist/src/cli/review.js.map +1 -0
- package/dist/src/cli/roster.d.ts +6 -0
- package/dist/src/cli/roster.d.ts.map +1 -0
- package/dist/src/cli/roster.js +60 -0
- package/dist/src/cli/roster.js.map +1 -0
- package/dist/src/commands/branch.d.ts +14 -0
- package/dist/src/commands/branch.d.ts.map +1 -0
- package/dist/src/commands/branch.js +395 -0
- package/dist/src/commands/branch.js.map +1 -0
- package/dist/src/commands/context.d.ts +9 -0
- package/dist/src/commands/context.d.ts.map +1 -0
- package/dist/src/commands/context.js +57 -0
- package/dist/src/commands/context.js.map +1 -0
- package/dist/src/commands/identity.d.ts +13 -0
- package/dist/src/commands/identity.d.ts.map +1 -0
- package/dist/src/commands/identity.js +231 -0
- package/dist/src/commands/identity.js.map +1 -0
- package/dist/src/commands/mail.d.ts +12 -0
- package/dist/src/commands/mail.d.ts.map +1 -0
- package/dist/src/commands/mail.js +225 -0
- package/dist/src/commands/mail.js.map +1 -0
- package/dist/src/commands/office.d.ts +19 -0
- package/dist/src/commands/office.d.ts.map +1 -0
- package/dist/src/commands/office.js +598 -0
- package/dist/src/commands/office.js.map +1 -0
- package/dist/src/commands/roster.d.ts +10 -0
- package/dist/src/commands/roster.d.ts.map +1 -0
- package/dist/src/commands/roster.js +143 -0
- package/dist/src/commands/roster.js.map +1 -0
- package/dist/src/generators/claude-code.d.ts +17 -0
- package/dist/src/generators/claude-code.d.ts.map +1 -0
- package/dist/src/generators/claude-code.js +80 -0
- package/dist/src/generators/claude-code.js.map +1 -0
- package/dist/src/generators/codex.d.ts +22 -0
- package/dist/src/generators/codex.d.ts.map +1 -0
- package/dist/src/generators/codex.js +78 -0
- package/dist/src/generators/codex.js.map +1 -0
- package/dist/src/generators/ollama.d.ts +18 -0
- package/dist/src/generators/ollama.d.ts.map +1 -0
- package/dist/src/generators/ollama.js +97 -0
- package/dist/src/generators/ollama.js.map +1 -0
- package/dist/src/generators/openclaw.d.ts +15 -0
- package/dist/src/generators/openclaw.d.ts.map +1 -0
- package/dist/src/generators/openclaw.js +103 -0
- package/dist/src/generators/openclaw.js.map +1 -0
- package/dist/src/generators/registry.d.ts +36 -0
- package/dist/src/generators/registry.d.ts.map +1 -0
- package/dist/src/generators/registry.js +99 -0
- package/dist/src/generators/registry.js.map +1 -0
- package/dist/src/schema/manifest.d.ts +140 -0
- package/dist/src/schema/manifest.d.ts.map +1 -0
- package/dist/src/schema/manifest.js +62 -0
- package/dist/src/schema/manifest.js.map +1 -0
- package/dist/src/schema/report.d.ts +166 -0
- package/dist/src/schema/report.d.ts.map +1 -0
- package/dist/src/schema/report.js +90 -0
- package/dist/src/schema/report.js.map +1 -0
- package/dist/src/schema/sanitizer.d.ts +30 -0
- package/dist/src/schema/sanitizer.d.ts.map +1 -0
- package/dist/src/schema/sanitizer.js +97 -0
- package/dist/src/schema/sanitizer.js.map +1 -0
- package/dist/src/soundstage/mock-llm.d.ts +3 -0
- package/dist/src/soundstage/mock-llm.d.ts.map +1 -0
- package/dist/src/soundstage/mock-llm.js +68 -0
- package/dist/src/soundstage/mock-llm.js.map +1 -0
- package/dist/src/utils/agent-info.d.ts +28 -0
- package/dist/src/utils/agent-info.d.ts.map +1 -0
- package/dist/src/utils/agent-info.js +102 -0
- package/dist/src/utils/agent-info.js.map +1 -0
- package/dist/src/utils/archive.d.ts +27 -0
- package/dist/src/utils/archive.d.ts.map +1 -0
- package/dist/src/utils/archive.js +80 -0
- package/dist/src/utils/archive.js.map +1 -0
- package/dist/src/utils/config-inject.d.ts +27 -0
- package/dist/src/utils/config-inject.d.ts.map +1 -0
- package/dist/src/utils/config-inject.js +83 -0
- package/dist/src/utils/config-inject.js.map +1 -0
- package/dist/src/utils/config.d.ts +30 -0
- package/dist/src/utils/config.d.ts.map +1 -0
- package/dist/src/utils/config.js +55 -0
- package/dist/src/utils/config.js.map +1 -0
- package/dist/src/utils/connection-state.d.ts +27 -0
- package/dist/src/utils/connection-state.d.ts.map +1 -0
- package/dist/src/utils/connection-state.js +81 -0
- package/dist/src/utils/connection-state.js.map +1 -0
- package/dist/src/utils/context.d.ts +14 -0
- package/dist/src/utils/context.d.ts.map +1 -0
- package/dist/src/utils/context.js +68 -0
- package/dist/src/utils/context.js.map +1 -0
- package/dist/src/utils/github-webhook.d.ts +3 -0
- package/dist/src/utils/github-webhook.d.ts.map +1 -0
- package/dist/src/utils/github-webhook.js +105 -0
- package/dist/src/utils/github-webhook.js.map +1 -0
- package/dist/src/utils/identity.d.ts +114 -0
- package/dist/src/utils/identity.d.ts.map +1 -0
- package/dist/src/utils/identity.js +341 -0
- package/dist/src/utils/identity.js.map +1 -0
- package/dist/src/utils/internal-mail.d.ts +18 -0
- package/dist/src/utils/internal-mail.d.ts.map +1 -0
- package/dist/src/utils/internal-mail.js +75 -0
- package/dist/src/utils/internal-mail.js.map +1 -0
- package/dist/src/utils/loop-detector.d.ts +27 -0
- package/dist/src/utils/loop-detector.d.ts.map +1 -0
- package/dist/src/utils/loop-detector.js +42 -0
- package/dist/src/utils/loop-detector.js.map +1 -0
- package/dist/src/utils/mail-handler.d.ts +19 -0
- package/dist/src/utils/mail-handler.d.ts.map +1 -0
- package/dist/src/utils/mail-handler.js +94 -0
- package/dist/src/utils/mail-handler.js.map +1 -0
- package/dist/src/utils/mail.d.ts +22 -0
- package/dist/src/utils/mail.d.ts.map +1 -0
- package/dist/src/utils/mail.js +111 -0
- package/dist/src/utils/mail.js.map +1 -0
- package/dist/src/utils/manifest.d.ts +36 -0
- package/dist/src/utils/manifest.d.ts.map +1 -0
- package/dist/src/utils/manifest.js +91 -0
- package/dist/src/utils/manifest.js.map +1 -0
- package/dist/src/utils/noise-ik-transport.d.ts +18 -0
- package/dist/src/utils/noise-ik-transport.d.ts.map +1 -0
- package/dist/src/utils/noise-ik-transport.js +357 -0
- package/dist/src/utils/noise-ik-transport.js.map +1 -0
- package/dist/src/utils/nono.d.ts +72 -0
- package/dist/src/utils/nono.d.ts.map +1 -0
- package/dist/src/utils/nono.js +166 -0
- package/dist/src/utils/nono.js.map +1 -0
- package/dist/src/utils/outbox.d.ts +10 -0
- package/dist/src/utils/outbox.d.ts.map +1 -0
- package/dist/src/utils/outbox.js +29 -0
- package/dist/src/utils/outbox.js.map +1 -0
- package/dist/src/utils/output.d.ts +17 -0
- package/dist/src/utils/output.d.ts.map +1 -0
- package/dist/src/utils/output.js +83 -0
- package/dist/src/utils/output.js.map +1 -0
- package/dist/src/utils/plain-tcp-transport.d.ts +10 -0
- package/dist/src/utils/plain-tcp-transport.d.ts.map +1 -0
- package/dist/src/utils/plain-tcp-transport.js +209 -0
- package/dist/src/utils/plain-tcp-transport.js.map +1 -0
- package/dist/src/utils/provision.d.ts +2 -0
- package/dist/src/utils/provision.d.ts.map +1 -0
- package/dist/src/utils/provision.js +186 -0
- package/dist/src/utils/provision.js.map +1 -0
- package/dist/src/utils/relay.d.ts +30 -0
- package/dist/src/utils/relay.d.ts.map +1 -0
- package/dist/src/utils/relay.js +539 -0
- package/dist/src/utils/relay.js.map +1 -0
- package/dist/src/utils/sandbox.d.ts +37 -0
- package/dist/src/utils/sandbox.d.ts.map +1 -0
- package/dist/src/utils/sandbox.js +126 -0
- package/dist/src/utils/sandbox.js.map +1 -0
- package/dist/src/utils/transport.d.ts +62 -0
- package/dist/src/utils/transport.d.ts.map +1 -0
- package/dist/src/utils/transport.js +75 -0
- package/dist/src/utils/transport.js.map +1 -0
- package/dist/src/utils/wall.d.ts +5 -0
- package/dist/src/utils/wall.d.ts.map +1 -0
- package/dist/src/utils/wall.js +51 -0
- package/dist/src/utils/wall.js.map +1 -0
- package/dist/src/utils/wire-delivery.d.ts +10 -0
- package/dist/src/utils/wire-delivery.d.ts.map +1 -0
- package/dist/src/utils/wire-delivery.js +57 -0
- package/dist/src/utils/wire-delivery.js.map +1 -0
- package/dist/src/utils/wire-frame.d.ts +10 -0
- package/dist/src/utils/wire-frame.d.ts.map +1 -0
- package/dist/src/utils/wire-frame.js +66 -0
- package/dist/src/utils/wire-frame.js.map +1 -0
- package/dist/src/utils/wire-mail.d.ts +54 -0
- package/dist/src/utils/wire-mail.d.ts.map +1 -0
- package/dist/src/utils/wire-mail.js +24 -0
- package/dist/src/utils/wire-mail.js.map +1 -0
- package/dist/src/utils/ws-noise-transport.d.ts +18 -0
- package/dist/src/utils/ws-noise-transport.d.ts.map +1 -0
- package/dist/src/utils/ws-noise-transport.js +356 -0
- package/dist/src/utils/ws-noise-transport.js.map +1 -0
- package/nono-profiles/tps-hire.toml +17 -0
- package/nono-profiles/tps-review-deep.toml +18 -0
- package/nono-profiles/tps-review-local.toml +21 -0
- package/nono-profiles/tps-roster.toml +16 -0
- package/package.json +68 -0
- package/personas/designer.tps +58 -0
- package/personas/developer.tps +59 -0
- package/personas/ea.tps +59 -0
- package/personas/ops.tps +60 -0
- package/personas/security.tps +59 -0
- package/personas/strategy.tps +60 -0
- package/personas/support.tps +57 -0
- package/reports/anvil.tps +68 -0
- package/reports/flint.tps +71 -0
- package/reports/kern.tps +65 -0
- package/reports/pulse.tps +64 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://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
|
+
http://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.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# TPS (Team Provisioning System)
|
|
2
|
+
|
|
3
|
+
> "Yeah... I'm gonna need you to go ahead and come in on Saturday. We lost some people this week and we need to sort of play catch-up."
|
|
4
|
+
|
|
5
|
+
**TPS is an Agent OS CLI for managing isolated AI agents in remote branch offices.** It provides the secure primitives for agents to exist, discover each other, communicate asynchronously, and run in isolated environments (Docker sandboxes or remote VMs).
|
|
6
|
+
|
|
7
|
+
If you want your AI agents to stop stepping on each other's toes and actually get some work done, you're going to need them to file their TPS reports.
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
## Why TPS?
|
|
12
|
+
|
|
13
|
+
Most agent frameworks assume all agents run in the same memory space. TPS assumes agents are employees: they work in different offices, they have different security clearances, and they communicate via mail.
|
|
14
|
+
|
|
15
|
+
- **The Branch Office**: Agents run in secure, remote sandboxes (VMs or Docker). Host keys never leave the host.
|
|
16
|
+
- **The Mailroom**: Async, persistent, cross-boundary messaging.
|
|
17
|
+
- **Wire Security**: All traffic over `wss://` is E2E encrypted and mutually authenticated using the **Noise_IK** protocol.
|
|
18
|
+
- **The TPS Report**: One `tps.yaml` file defines an agent's identity, capabilities, and mail handlers.
|
|
19
|
+
|
|
20
|
+
> "I have eight different bosses right now. So that means that when I make a mistake, I have eight different people coming by to tell me about it." — Make your agents communicate through a single, auditable mail interface instead.
|
|
21
|
+
|
|
22
|
+
## Quickstart
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
# 1. Install
|
|
26
|
+
npm install -g @tpsdev-ai/cli
|
|
27
|
+
|
|
28
|
+
# 2. Init your host identity
|
|
29
|
+
tps identity init
|
|
30
|
+
|
|
31
|
+
# 3. Create a branch office on a remote VM
|
|
32
|
+
# (On the VM)
|
|
33
|
+
npm install -g @tpsdev-ai/cli
|
|
34
|
+
tps branch init --listen 6458 --host my-vm.example.com
|
|
35
|
+
|
|
36
|
+
# 4. Join the branch office
|
|
37
|
+
# (On your host)
|
|
38
|
+
tps office join my-vm "tps://join?host=my-vm.example.com..."
|
|
39
|
+
|
|
40
|
+
# 5. Connect the persistent relay
|
|
41
|
+
tps office connect my-vm &
|
|
42
|
+
|
|
43
|
+
# 6. Send a memo
|
|
44
|
+
tps mail send my-vm "Did you get the memo about the TPS reports?"
|
|
45
|
+
|
|
46
|
+
# 7. Check the branch status
|
|
47
|
+
tps mail send my-vm "status"
|
|
48
|
+
tps mail check
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## The Three-Channel Model
|
|
52
|
+
|
|
53
|
+
Agents shouldn't do everything over a single chat thread. TPS enforces:
|
|
54
|
+
1. **Mail** for messages (commands, status, notifications).
|
|
55
|
+
2. **Git** for artifacts (code, specs, docs).
|
|
56
|
+
3. **APIs** for external data.
|
|
57
|
+
|
|
58
|
+

|
|
59
|
+
|
|
60
|
+
## Plugins & Handlers
|
|
61
|
+
|
|
62
|
+
Agents can declare `mailHandlers` in their `tps.yaml` manifest. The TPS branch daemon will automatically route incoming mail to the right handler based on regex patterns or sender allowlists.
|
|
63
|
+
|
|
64
|
+
```yaml
|
|
65
|
+
name: deploy-bot
|
|
66
|
+
capabilities:
|
|
67
|
+
mail_handler:
|
|
68
|
+
exec: ./handler.sh
|
|
69
|
+
match:
|
|
70
|
+
bodyPattern: "^(deploy|status)"
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Architecture
|
|
74
|
+
|
|
75
|
+
Read [ARCHITECTURE.md](ARCHITECTURE.md) for details on the Noise_IK implementation, hub-and-spoke topology, and security boundaries.
|
|
76
|
+
|
|
77
|
+
## License
|
|
78
|
+
|
|
79
|
+
Apache 2.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tps.d.ts","sourceRoot":"","sources":["../../bin/tps.ts"],"names":[],"mappings":""}
|
package/dist/bin/tps.js
ADDED
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import meow from "meow";
|
|
3
|
+
const cli = meow(`
|
|
4
|
+
Usage
|
|
5
|
+
$ tps <command> [options]
|
|
6
|
+
|
|
7
|
+
Commands
|
|
8
|
+
hire <report> Onboard a new agent from a .tps report or persona
|
|
9
|
+
roster <action> Agent directory (list/show/find)
|
|
10
|
+
review <name> Performance review for a specific agent
|
|
11
|
+
office <action> Branch office sandbox lifecycle (start/stop/list/status)
|
|
12
|
+
context <action> Workstream context memory (read/update/list)
|
|
13
|
+
mail <action> Mailroom operations (send/check/list)
|
|
14
|
+
identity <action> Key management (init/show/register/list/revoke/verify)
|
|
15
|
+
branch <action> Branch office node (init/start/stop/status/log)
|
|
16
|
+
|
|
17
|
+
Options
|
|
18
|
+
--help Show this help text
|
|
19
|
+
--version Show version number
|
|
20
|
+
--config <path> Path to openclaw.json (default: auto-discover)
|
|
21
|
+
|
|
22
|
+
Examples
|
|
23
|
+
$ tps hire developer --name Fred
|
|
24
|
+
$ tps hire ./reports/strategy-lead.tps --dry-run
|
|
25
|
+
$ tps hire developer --name Scout --runtime claude-code
|
|
26
|
+
$ tps hire ops --name Monitor --runtime ollama --base-model llama3.1:8b
|
|
27
|
+
$ tps hire developer --name Coder --runtime codex
|
|
28
|
+
$ tps roster list
|
|
29
|
+
$ tps roster show flint --json
|
|
30
|
+
$ tps roster find --channel discord
|
|
31
|
+
$ tps roster list --config ~/custom/openclaw.json
|
|
32
|
+
$ tps mail send kern "hi"
|
|
33
|
+
$ tps mail check kern
|
|
34
|
+
$ tps mail log --limit 10
|
|
35
|
+
$ tps mail log flint --since 2026-02-20
|
|
36
|
+
$ tps office start branch-a
|
|
37
|
+
$ tps office status branch-a
|
|
38
|
+
$ tps review flint
|
|
39
|
+
|
|
40
|
+
Built-in personas: developer, designer, support, ea, ops, strategy, security
|
|
41
|
+
|
|
42
|
+
If you could just go ahead and use the correct command, that'd be great.
|
|
43
|
+
`, {
|
|
44
|
+
importMeta: import.meta,
|
|
45
|
+
flags: {
|
|
46
|
+
reason: { type: "string" },
|
|
47
|
+
expiresIn: { type: "string" },
|
|
48
|
+
trust: { type: "string" },
|
|
49
|
+
pubkey: { type: "string" },
|
|
50
|
+
encPubkey: { type: "string" },
|
|
51
|
+
name: { type: "string" },
|
|
52
|
+
workspace: { type: "string" },
|
|
53
|
+
dryRun: { type: "boolean", default: false },
|
|
54
|
+
json: { type: "boolean", default: false },
|
|
55
|
+
config: { type: "string" },
|
|
56
|
+
deep: { type: "boolean", default: false },
|
|
57
|
+
summary: { type: "string" },
|
|
58
|
+
channel: { type: "string" },
|
|
59
|
+
branch: { type: "boolean", default: false },
|
|
60
|
+
manifest: { type: "string" },
|
|
61
|
+
soundstage: { type: "boolean", default: false },
|
|
62
|
+
nonono: { type: "boolean", default: false },
|
|
63
|
+
inject: { type: "boolean", default: true },
|
|
64
|
+
runtime: { type: "string", default: "openclaw" },
|
|
65
|
+
baseModel: { type: "string" },
|
|
66
|
+
since: { type: "string" },
|
|
67
|
+
limit: { type: "number" },
|
|
68
|
+
listen: { type: "number" },
|
|
69
|
+
host: { type: "string" },
|
|
70
|
+
force: { type: "boolean", default: false },
|
|
71
|
+
follow: { type: "boolean", default: false },
|
|
72
|
+
lines: { type: "number" },
|
|
73
|
+
transport: { type: "string" },
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
const [command, ...rest] = cli.input;
|
|
77
|
+
// nono availability check (skip for --no-nono or office/mail relay commands)
|
|
78
|
+
async function checkNono() {
|
|
79
|
+
if (cli.flags.nonono)
|
|
80
|
+
return;
|
|
81
|
+
if (command === "office" && rest[0] === "relay")
|
|
82
|
+
return; // relay runs in background
|
|
83
|
+
const { findNono } = await import("../src/utils/nono.js");
|
|
84
|
+
if (!findNono()) {
|
|
85
|
+
console.warn("⚠️ nono not found. Host agents will run without process isolation.\n" +
|
|
86
|
+
" Install nono for syscall filtering + filesystem boundaries.\n" +
|
|
87
|
+
" Use --nonono to run anyway (not recommended).\n");
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
async function main() {
|
|
91
|
+
await checkNono();
|
|
92
|
+
switch (command) {
|
|
93
|
+
case "hire": {
|
|
94
|
+
const reportPath = rest[0];
|
|
95
|
+
if (!reportPath) {
|
|
96
|
+
console.error("I'm gonna need you to specify a TPS report file or persona.\n\n tps hire <report.tps | persona> [--name Name]\n\nBuilt-in personas: developer, designer, support, ea, ops, strategy");
|
|
97
|
+
process.exit(1);
|
|
98
|
+
}
|
|
99
|
+
const { runHire } = await import("../src/cli/hire.js");
|
|
100
|
+
runHire({
|
|
101
|
+
reportPath,
|
|
102
|
+
name: cli.flags.name,
|
|
103
|
+
workspace: cli.flags.workspace,
|
|
104
|
+
dryRun: cli.flags.dryRun,
|
|
105
|
+
jsonOutput: cli.flags.json,
|
|
106
|
+
configPath: cli.flags.config,
|
|
107
|
+
branch: cli.flags.branch,
|
|
108
|
+
inject: cli.flags.inject,
|
|
109
|
+
runtime: cli.flags.runtime,
|
|
110
|
+
baseModel: cli.flags.baseModel,
|
|
111
|
+
});
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
case "roster": {
|
|
115
|
+
// Backward-compatible path (keeps nono re-exec behavior used by existing tests):
|
|
116
|
+
// `tps roster` with no subcommand routes to the legacy CLI implementation.
|
|
117
|
+
if (!rest[0]) {
|
|
118
|
+
const { runRoster } = await import("../src/cli/roster.js");
|
|
119
|
+
runRoster({ configPath: cli.flags.config });
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
const action = rest[0];
|
|
123
|
+
if (!["list", "show", "find"].includes(action)) {
|
|
124
|
+
console.error("Usage:\n tps roster\n tps roster list\n tps roster show <agent> [--json]\n tps roster find --channel <channel> [--json]");
|
|
125
|
+
process.exit(1);
|
|
126
|
+
}
|
|
127
|
+
const { runRoster } = await import("../src/commands/roster.js");
|
|
128
|
+
runRoster({
|
|
129
|
+
action,
|
|
130
|
+
agent: rest[1],
|
|
131
|
+
channel: cli.flags.channel || undefined,
|
|
132
|
+
json: cli.flags.json,
|
|
133
|
+
configPath: cli.flags.config,
|
|
134
|
+
});
|
|
135
|
+
break;
|
|
136
|
+
}
|
|
137
|
+
case "review": {
|
|
138
|
+
const agentName = rest[0];
|
|
139
|
+
if (!agentName) {
|
|
140
|
+
console.error("Review who? I'm gonna need a name.\n\n tps review <agent-name>");
|
|
141
|
+
process.exit(1);
|
|
142
|
+
}
|
|
143
|
+
const { runReview } = await import("../src/cli/review.js");
|
|
144
|
+
runReview({ agentName, configPath: cli.flags.config, deep: cli.flags.deep });
|
|
145
|
+
break;
|
|
146
|
+
}
|
|
147
|
+
case "office": {
|
|
148
|
+
const action = rest[0];
|
|
149
|
+
const validActions = ["start", "stop", "list", "status", "relay", "exec", "join", "revoke", "sync", "connect"];
|
|
150
|
+
// Backward compatibility: `tps office <agent>` maps to `start <agent>`.
|
|
151
|
+
const isLegacy = action && !validActions.includes(action);
|
|
152
|
+
if ((!action && !isLegacy) || (!isLegacy && !validActions.includes(action))) {
|
|
153
|
+
console.error("Usage:\n tps office start <agent>\n tps office stop <agent>\n tps office list\n tps office status [agent]\n tps office exec <agent> -- <command...>\n tps office join <name> <join-token>\n tps office revoke <name>\n tps office sync <name>\n tps office connect <name>");
|
|
154
|
+
process.exit(1);
|
|
155
|
+
}
|
|
156
|
+
const { runOffice } = await import("../src/commands/office.js");
|
|
157
|
+
if (isLegacy) {
|
|
158
|
+
await runOffice({ action: "start", agent: rest[0] });
|
|
159
|
+
}
|
|
160
|
+
else if (action === "exec") {
|
|
161
|
+
// Everything after "--" is the command
|
|
162
|
+
const dashIdx = process.argv.indexOf("--");
|
|
163
|
+
const execCmd = dashIdx >= 0 ? process.argv.slice(dashIdx + 1) : rest.slice(2);
|
|
164
|
+
await runOffice({ action: "exec", agent: rest[1], command: execCmd });
|
|
165
|
+
}
|
|
166
|
+
else if (action === "join") {
|
|
167
|
+
const joinToken = rest[2];
|
|
168
|
+
if (!rest[1] || !joinToken) {
|
|
169
|
+
console.error("Usage: tps office join <name> <join-token-url>");
|
|
170
|
+
process.exit(1);
|
|
171
|
+
}
|
|
172
|
+
await runOffice({ action: "join", agent: rest[1], joinToken });
|
|
173
|
+
}
|
|
174
|
+
else if (action === "revoke") {
|
|
175
|
+
if (!rest[1]) {
|
|
176
|
+
console.error("Usage: tps office revoke <name>");
|
|
177
|
+
process.exit(1);
|
|
178
|
+
}
|
|
179
|
+
await runOffice({ action: "revoke", agent: rest[1] });
|
|
180
|
+
}
|
|
181
|
+
else {
|
|
182
|
+
const soundstageIdx = process.argv.indexOf("--soundstage");
|
|
183
|
+
const isSoundstage = soundstageIdx >= 0 || cli.flags.soundstage;
|
|
184
|
+
if (soundstageIdx >= 0)
|
|
185
|
+
process.argv.splice(soundstageIdx, 1);
|
|
186
|
+
await runOffice({ action: action, agent: rest[1], manifest: cli.flags.manifest, soundstage: isSoundstage });
|
|
187
|
+
}
|
|
188
|
+
break;
|
|
189
|
+
}
|
|
190
|
+
case "context": {
|
|
191
|
+
const action = rest[0];
|
|
192
|
+
const workstream = rest[1];
|
|
193
|
+
if (!action || !["read", "update", "list"].includes(action)) {
|
|
194
|
+
console.error("Usage:\n tps context read <workstream>\n tps context update <workstream> --summary \"...\"\n tps context list");
|
|
195
|
+
process.exit(1);
|
|
196
|
+
}
|
|
197
|
+
const { runContext } = await import("../src/commands/context.js");
|
|
198
|
+
runContext({
|
|
199
|
+
action,
|
|
200
|
+
workstream,
|
|
201
|
+
summary: cli.flags.summary,
|
|
202
|
+
json: cli.flags.json,
|
|
203
|
+
});
|
|
204
|
+
break;
|
|
205
|
+
}
|
|
206
|
+
case "mail": {
|
|
207
|
+
const action = rest[0];
|
|
208
|
+
if (cli.flags.help || !action || !["send", "check", "list", "log", "read", "watch"].includes(action)) {
|
|
209
|
+
console.log("Usage:\n tps mail send <agent> <message> Send mail to a local or remote agent\n tps mail check [agent] Read new messages (marks as read)\n tps mail watch [agent] Watch inbox for new messages\n tps mail list [agent] List all messages (read + unread)\n tps mail read <agent> <id> Show a specific message by ID (prefix ok)\n tps mail log [agent] Show audit log [--since YYYY-MM-DD] [--limit N]");
|
|
210
|
+
process.exit(cli.flags.help ? 0 : 1);
|
|
211
|
+
}
|
|
212
|
+
const { runMail } = await import("../src/commands/mail.js");
|
|
213
|
+
await runMail({
|
|
214
|
+
action,
|
|
215
|
+
agent: rest[1],
|
|
216
|
+
message: action === "send" ? rest.slice(2).join(" ") : undefined,
|
|
217
|
+
messageId: action === "read" ? rest[2] : undefined,
|
|
218
|
+
json: cli.flags.json,
|
|
219
|
+
since: cli.flags.since,
|
|
220
|
+
limit: cli.flags.limit ? Number(cli.flags.limit) : undefined,
|
|
221
|
+
});
|
|
222
|
+
break;
|
|
223
|
+
}
|
|
224
|
+
case "identity": {
|
|
225
|
+
const action = rest[0];
|
|
226
|
+
if (!action || !["init", "show", "register", "list", "revoke", "verify"].includes(action)) {
|
|
227
|
+
console.error("Usage:\n tps identity init [--expires-in 90d]\n tps identity show\n tps identity register <branch> [--expires-in 90d] [--trust standard]\n tps identity list\n tps identity revoke <branch> --reason \"...\"\n tps identity verify <branch>");
|
|
228
|
+
process.exit(1);
|
|
229
|
+
}
|
|
230
|
+
const { runIdentity } = await import("../src/commands/identity.js");
|
|
231
|
+
runIdentity({
|
|
232
|
+
action,
|
|
233
|
+
branch: rest[1],
|
|
234
|
+
reason: cli.flags.reason,
|
|
235
|
+
json: cli.flags.json,
|
|
236
|
+
expiresIn: cli.flags.expiresIn,
|
|
237
|
+
trust: cli.flags.trust,
|
|
238
|
+
pubkey: cli.flags.pubkey,
|
|
239
|
+
encPubkey: cli.flags.encPubkey,
|
|
240
|
+
});
|
|
241
|
+
break;
|
|
242
|
+
}
|
|
243
|
+
case "branch": {
|
|
244
|
+
const action = rest[0];
|
|
245
|
+
const valid = ["init", "start", "stop", "status", "log"];
|
|
246
|
+
if (!action || !valid.includes(action)) {
|
|
247
|
+
console.error("Usage:\n tps branch init [--listen <port>] [--host <hostname>] [--transport ws|tcp]\n tps branch start\n tps branch stop\n tps branch status\n tps branch log [--lines N] [--follow]");
|
|
248
|
+
process.exit(1);
|
|
249
|
+
}
|
|
250
|
+
const { runBranch } = await import("../src/commands/branch.js");
|
|
251
|
+
await runBranch({
|
|
252
|
+
action,
|
|
253
|
+
port: typeof cli.flags.listen === "number" ? Number(cli.flags.listen) : undefined,
|
|
254
|
+
host: cli.flags.host,
|
|
255
|
+
transport: cli.flags.transport === "tcp" ? "tcp" : cli.flags.transport === "ws" ? "ws" : undefined,
|
|
256
|
+
force: cli.flags.force,
|
|
257
|
+
lines: typeof cli.flags.lines === "number" ? Number(cli.flags.lines) : undefined,
|
|
258
|
+
follow: !!cli.flags.follow,
|
|
259
|
+
});
|
|
260
|
+
break;
|
|
261
|
+
}
|
|
262
|
+
default:
|
|
263
|
+
cli.showHelp();
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
main();
|
|
267
|
+
//# sourceMappingURL=tps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tps.js","sourceRoot":"","sources":["../../bin/tps.ts"],"names":[],"mappings":";AACA,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,MAAM,GAAG,GAAG,IAAI,CACd;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCD,EACC;IACE,UAAU,EAAE,MAAM,CAAC,IAAI;IACvB,KAAK,EAAE;QACL,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC1B,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC7B,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACzB,MAAM,EAAE,EAAE,IAAI,EAAE,Q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AAC;YACD,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,CAAC;YAChE,MAAM,SAAS,CAAC;gBACd,MAAM;gBACN,IAAI,EAAE,OAAO,GAAG,CAAC,KAAK,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS;gBACjF,IAAI,EAAE,GAAG,CAAC,KAAK,CAAC,IAAI;gBACpB,SAAS,EAAE,GAAG,CAAC,KAAK,CAAC,SAAS,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS;gBAClG,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,KAAK;gBACtB,KAAK,EAAE,OAAO,GAAG,CAAC,KAAK,CAAC,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS;gBAChF,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM;aAC3B,CAAC,CAAC;YACH,MAAM;QACR,CAAC;QACD;YACE,GAAG,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;AACH,CAAC;AAED,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type Runtime } from "../generators/registry.js";
|
|
2
|
+
interface HireProps {
|
|
3
|
+
reportPath: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
workspace?: string;
|
|
6
|
+
dryRun: boolean;
|
|
7
|
+
jsonOutput: boolean;
|
|
8
|
+
configPath?: string;
|
|
9
|
+
branch?: boolean;
|
|
10
|
+
inject?: boolean;
|
|
11
|
+
runtime?: Runtime;
|
|
12
|
+
baseModel?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function runHire(args: HireProps): void;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=hire.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hire.d.ts","sourceRoot":"","sources":["../../../src/cli/hire.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAgB,KAAK,OAAO,EAAkB,MAAM,2BAA2B,CAAC;AAOvF,UAAU,SAAS;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAkMD,wBAAgB,OAAO,CAAC,IAAI,EAAE,SAAS,QAgEtC"}
|