@@ -8,8 +8,9 @@ You will build the CLI, create all template variations, deploy them, and provide
88
99## Step 1: Build the CLI
1010
11+ From the cli repository root:
12+
1113``` bash
12- cd /Users/rafaelgarcia/code/onkernel/cli
1314make build
1415```
1516
@@ -47,20 +48,20 @@ Use the built CLI binary with non-interactive flags. The command format is:
4748
4849Here are all valid language + template combinations:
4950
50- | Language | Template | Folder Name | Needs Env File | Required Env Vars |
51- | ------------- | ------------------ | -------------------------- | ---------------- | -------------------------------------- |
52- | typescript | sample-app | ts-sample-app | No | - |
53- | typescript | captcha-solver | ts-captcha-solver | No | - |
54- | typescript | stagehand | ts-stagehand | Yes | OPENAI_API_KEY |
55- | typescript | computer-use | ts-computer-use | Yes | ANTHROPIC_API_KEY |
56- | typescript | magnitude | ts-magnitude | Yes | ANTHROPIC_API_KEY |
57- | typescript | cua | ts-cua | Yes | OPENAI_API_KEY |
58- | typescript | gemini-cua | ts-gemini-cua | Yes | GOOGLE_API_KEY, OPENAI_API_KEY |
59- | python | sample-app | py-sample-app | No | - |
60- | python | captcha-solver | py-captcha-solver | No | - |
61- | python | browser-use | py-browser-use | Yes | OPENAI_API_KEY |
62- | python | computer-use | py-computer-use | Yes | ANTHROPIC_API_KEY |
63- | python | cua | py-cua | Yes | OPENAI_API_KEY |
51+ | Language | Template | Folder Name | Needs Env File | Required Env Vars |
52+ | ---------- | -------------- | ----------------- | -------------- | ------------------------------ |
53+ | typescript | sample-app | ts-sample-app | No | - |
54+ | typescript | captcha-solver | ts-captcha-solver | No | - |
55+ | typescript | stagehand | ts-stagehand | Yes | OPENAI_API_KEY |
56+ | typescript | computer-use | ts-computer-use | Yes | ANTHROPIC_API_KEY |
57+ | typescript | magnitude | ts-magnitude | Yes | ANTHROPIC_API_KEY |
58+ | typescript | cua | ts-cua | Yes | OPENAI_API_KEY |
59+ | typescript | gemini-cua | ts-gemini-cua | Yes | GOOGLE_API_KEY, OPENAI_API_KEY |
60+ | python | sample-app | py-sample-app | No | - |
61+ | python | captcha-solver | py-captcha-solver | No | - |
62+ | python | browser-use | py-browser-use | Yes | OPENAI_API_KEY |
63+ | python | computer-use | py-computer-use | Yes | ANTHROPIC_API_KEY |
64+ | python | cua | py-cua | Yes | OPENAI_API_KEY |
6465
6566### Create Commands
6667
@@ -116,6 +117,7 @@ cd py-captcha-solver && ../bin/kernel deploy main.py && cd ..
116117For each of these, ** STOP and ask the human** for the required API key(s), then create the ` .env ` file and deploy:
117118
118119** ts-stagehand** (needs OPENAI_API_KEY):
120+
119121``` bash
120122cd ts-stagehand
121123echo " OPENAI_API_KEY=<value from human>" > .env
@@ -124,6 +126,7 @@ cd ..
124126```
125127
126128** ts-computer-use** (needs ANTHROPIC_API_KEY):
129+
127130``` bash
128131cd ts-computer-use
129132echo " ANTHROPIC_API_KEY=<value from human>" > .env
@@ -132,6 +135,7 @@ cd ..
132135```
133136
134137** ts-magnitude** (needs ANTHROPIC_API_KEY):
138+
135139``` bash
136140cd ts-magnitude
137141echo " ANTHROPIC_API_KEY=<value from human>" > .env
@@ -140,6 +144,7 @@ cd ..
140144```
141145
142146** ts-cua** (needs OPENAI_API_KEY):
147+
143148``` bash
144149cd ts-cua
145150echo " OPENAI_API_KEY=<value from human>" > .env
@@ -148,6 +153,7 @@ cd ..
148153```
149154
150155** ts-gemini-cua** (needs GOOGLE_API_KEY and OPENAI_API_KEY):
156+
151157``` bash
152158cd ts-gemini-cua
153159cat > .env << EOF
@@ -159,6 +165,7 @@ cd ..
159165```
160166
161167** py-browser-use** (needs OPENAI_API_KEY):
168+
162169``` bash
163170cd py-browser-use
164171echo " OPENAI_API_KEY=<value from human>" > .env
@@ -167,6 +174,7 @@ cd ..
167174```
168175
169176** py-computer-use** (needs ANTHROPIC_API_KEY):
177+
170178``` bash
171179cd py-computer-use
172180echo " ANTHROPIC_API_KEY=<value from human>" > .env
@@ -175,6 +183,7 @@ cd ..
175183```
176184
177185** py-cua** (needs OPENAI_API_KEY):
186+
178187``` bash
179188cd py-cua
180189echo " OPENAI_API_KEY=<value from human>" > .env
@@ -222,4 +231,3 @@ After QA is complete, the human can remove the QA directory:
222231cd ..
223232rm -rf " $QA_DIR "
224233```
225-
0 commit comments