create-openagent 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/CHANGELOG.md +14 -0
- package/LICENSE-APACHE +100 -0
- package/LICENSE-MIT +21 -0
- package/README.md +40 -0
- package/dist/index.js +1412 -0
- package/package.json +55 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Changelog — create-openagent
|
|
2
|
+
|
|
3
|
+
## 0.1.0 (2026-04-11)
|
|
4
|
+
|
|
5
|
+
- Initial release of `create-openagent` CLI scaffolding tool
|
|
6
|
+
- 4 project templates: agent, mcp-server, web-dashboard, full-stack
|
|
7
|
+
- Interactive prompts via @clack/prompts
|
|
8
|
+
- CLI flags for non-interactive mode (--template, --deploy, --adapter, --bridge)
|
|
9
|
+
- Auth adapter selection: HTTP, WebSocket, gRPC
|
|
10
|
+
- Enterprise bridge options: OIDC, SCIM
|
|
11
|
+
- Deploy target selection: Cloudflare, Vercel, AWS, Docker, Local
|
|
12
|
+
- Optional Bioagentic entity classification integration
|
|
13
|
+
- Optional Fabrics routing integration
|
|
14
|
+
- Shared template files: tsconfig, .gitignore, .env.example
|
package/LICENSE-APACHE
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
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.
|
|
18
|
+
|
|
19
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
20
|
+
exercising permissions granted by this License.
|
|
21
|
+
|
|
22
|
+
"Source" form shall mean the preferred form for making modifications.
|
|
23
|
+
|
|
24
|
+
"Object" form shall mean any form resulting from mechanical
|
|
25
|
+
transformation or translation of a Source form.
|
|
26
|
+
|
|
27
|
+
"Work" shall mean the work of authorship made available under the License.
|
|
28
|
+
|
|
29
|
+
"Contribution" shall mean any work of authorship submitted to the Licensor
|
|
30
|
+
for inclusion in the Work.
|
|
31
|
+
|
|
32
|
+
"Contributor" shall mean Licensor and any Legal Entity on behalf of whom
|
|
33
|
+
a Contribution has been received by the Licensor.
|
|
34
|
+
|
|
35
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
36
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
37
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
38
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
39
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
40
|
+
Work and such Derivative Works in Source or Object form.
|
|
41
|
+
|
|
42
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
43
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
44
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
45
|
+
patent license to make, have made, use, offer to sell, sell,
|
|
46
|
+
import, and otherwise transfer the Work.
|
|
47
|
+
|
|
48
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
49
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
50
|
+
modifications, and in Source or Object form, provided that You
|
|
51
|
+
meet the following conditions:
|
|
52
|
+
|
|
53
|
+
(a) You must give any other recipients of the Work or
|
|
54
|
+
Derivative Works a copy of this License; and
|
|
55
|
+
|
|
56
|
+
(b) You must cause any modified files to carry prominent notices
|
|
57
|
+
stating that You changed the files; and
|
|
58
|
+
|
|
59
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
60
|
+
that You distribute, all copyright, patent, trademark, and
|
|
61
|
+
attribution notices from the Source form of the Work; and
|
|
62
|
+
|
|
63
|
+
(d) If the Work includes a "NOTICE" text file, You must include
|
|
64
|
+
a readable copy of the attribution notices contained within
|
|
65
|
+
such NOTICE file.
|
|
66
|
+
|
|
67
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
68
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
69
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
70
|
+
this License, without any additional terms or conditions.
|
|
71
|
+
|
|
72
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
73
|
+
names, trademarks, service marks, or product names of the Licensor.
|
|
74
|
+
|
|
75
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
76
|
+
agreed to in writing, Licensor provides the Work on an "AS IS" BASIS,
|
|
77
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
|
|
78
|
+
|
|
79
|
+
8. Limitation of Liability. In no event shall any Contributor be liable
|
|
80
|
+
for any damages arising from the use of the Work.
|
|
81
|
+
|
|
82
|
+
9. Accepting Warranty or Additional Liability. You may act as a
|
|
83
|
+
commercial distributor and offer support, warranty, or indemnity
|
|
84
|
+
obligations for a fee.
|
|
85
|
+
|
|
86
|
+
END OF TERMS AND CONDITIONS
|
|
87
|
+
|
|
88
|
+
Copyright 2026 L1fe AI
|
|
89
|
+
|
|
90
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
91
|
+
you may not use this file except in compliance with the License.
|
|
92
|
+
You may obtain a copy of the License at
|
|
93
|
+
|
|
94
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
95
|
+
|
|
96
|
+
Unless required by applicable law or agreed to in writing, software
|
|
97
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
98
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
99
|
+
See the License for the specific language governing permissions and
|
|
100
|
+
limitations under the License.
|
package/LICENSE-MIT
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 L1fe AI
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# create-openagent
|
|
2
|
+
|
|
3
|
+
Scaffold an OpenAgent project in seconds.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx create-openagent my-agent-app
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Templates
|
|
12
|
+
|
|
13
|
+
| Template | Description |
|
|
14
|
+
|----------|-------------|
|
|
15
|
+
| `agent` | Standalone agent with identity and tools |
|
|
16
|
+
| `mcp-server` | MCP server with OpenAgent auth middleware |
|
|
17
|
+
| `web-dashboard` | Next.js dashboard for agent management |
|
|
18
|
+
| `full-stack` | All three combined |
|
|
19
|
+
|
|
20
|
+
## Options
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
--template <type> agent | mcp-server | web-dashboard | full-stack
|
|
24
|
+
--adapter <type> http | websocket | grpc
|
|
25
|
+
--bridge <type> oidc | scim | none
|
|
26
|
+
--deploy <target> cloudflare | vercel | aws | docker | local
|
|
27
|
+
--bioagentic Include Bioagentic entity classification
|
|
28
|
+
--fabrics Include Fabrics routing
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Non-Interactive Mode
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
npx create-openagent my-app --template agent --deploy docker --adapter http --bridge none
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Learn More
|
|
38
|
+
|
|
39
|
+
- [OpenAgent Docs](https://openagent.id/docs)
|
|
40
|
+
- [OAS Specification](https://openagent.id/spec)
|