Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 1 addition & 14 deletions .cursor/commands/qa.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ Here are all valid language + template combinations:
| typescript | captcha-solver | ts-captcha-solver | ts-captcha-solver | No | - |
| typescript | stagehand | ts-stagehand | ts-stagehand | Yes | OPENAI_API_KEY |
| typescript | anthropic-computer-use | ts-anthropic-cua | ts-anthropic-cua | Yes | ANTHROPIC_API_KEY |
| typescript | magnitude | ts-magnitude | ts-magnitude | Yes | ANTHROPIC_API_KEY |
| typescript | openai-computer-use | ts-openai-cua | ts-openai-cua | Yes | OPENAI_API_KEY |
| typescript | gemini-computer-use | ts-gemini-cua | ts-gemini-cua | Yes | GOOGLE_API_KEY |
| typescript | claude-agent-sdk | ts-claude-agent-sdk | ts-claude-agent-sdk | Yes | ANTHROPIC_API_KEY |
Expand Down Expand Up @@ -82,7 +81,6 @@ Run each of these (they are non-interactive when all flags are provided):
../bin/kernel create -n ts-captcha-solver -l typescript -t captcha-solver
../bin/kernel create -n ts-stagehand -l typescript -t stagehand
../bin/kernel create -n ts-anthropic-cua -l typescript -t anthropic-computer-use
../bin/kernel create -n ts-magnitude -l typescript -t magnitude
../bin/kernel create -n ts-openai-cua -l typescript -t openai-computer-use
../bin/kernel create -n ts-gemini-cua -l typescript -t gemini-computer-use
../bin/kernel create -n ts-claude-agent-sdk -l typescript -t claude-agent-sdk
Expand Down Expand Up @@ -149,15 +147,6 @@ echo "ANTHROPIC_API_KEY=<value from human>" > .env
cd ..
```

**ts-magnitude** (needs ANTHROPIC_API_KEY):

```bash
cd ts-magnitude
echo "ANTHROPIC_API_KEY=<value from human>" > .env
../bin/kernel deploy index.ts --env-file .env
cd ..
```

**ts-openai-cua** (needs OPENAI_API_KEY):

```bash
Expand Down Expand Up @@ -267,7 +256,6 @@ kernel invoke ts-basic get-page-title --payload '{"url": "https://www.google.com
kernel invoke ts-captcha-solver test-captcha-solver
kernel invoke ts-stagehand teamsize-task --payload '{"company": "Kernel"}'
kernel invoke ts-anthropic-cua cua-task --payload '{"query": "Go to https://www.magnitasks.com, Click the Tasks option in the left-side bar, and move the 5 items in the To Do and In Progress items to the Done section of the Kanban board. You are done successfully when the items are moved.", "record_replay": true}'
kernel invoke ts-magnitude mag-url-extract --payload '{"url": "https://en.wikipedia.org/wiki/Special:Random"}'
kernel invoke ts-openai-cua cua-task --payload '{"task": "Go to https://news.ycombinator.com and get the top 5 articles"}'
kernel invoke ts-gemini-cua cua-task --payload '{"query": "Go to https://www.magnitasks.com, Click the Tasks option in the left-side bar, and move the 5 items in the To Do and In Progress items to the Done section of the Kanban board. You are done successfully when the items are moved.", "record_replay": true}'
kernel invoke ts-claude-agent-sdk agent-task --payload '{"task": "Go to https://news.ycombinator.com and get the top 3 stories"}'
Expand All @@ -289,7 +277,7 @@ kernel invoke python-yutori-cua cua-task --payload '{"query": "Go to https://www

## Step 7: Automated Runtime Testing (Optional)

**STOP and ask the human:** "Would you like me to automatically invoke all 21 test cases and report back on their runtime status?"
**STOP and ask the human:** "Would you like me to automatically invoke all 20 test cases and report back on their runtime status?"

If the human agrees, invoke each template use the Kernel CLI and collect results. Present findings in this format:

Expand All @@ -305,7 +293,6 @@ If the human agrees, invoke each template use the Kernel CLI and collect results
| ts-captcha-solver | ts-captcha-solver | | |
| ts-stagehand | ts-stagehand | | |
| ts-anthropic-cua | ts-anthropic-cua | | |
| ts-magnitude | ts-magnitude | | |
| ts-openai-cua | ts-openai-cua | | |
| ts-gemini-cua | ts-gemini-cua | | |
| ts-claude-agent-sdk | ts-claude-agent-sdk | | |
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ Commands with JSON output support:
- `openai-computer-use` - OpenAI Computer Use Agent sample
- `gemini-computer-use` - Implements a Gemini computer use agent (TypeScript only)
- `openagi-computer-use` - OpenAGI Lux computer-use models (Python only)
- `magnitude` - Magnitude framework sample (TypeScript only)
- `claude-agent-sdk` - Claude Agent SDK browser automation agent

### App Deployment
Expand Down
7 changes: 0 additions & 7 deletions cmd/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -433,12 +433,6 @@ func TestCreateCommand_InvalidLanguageTemplateCombinations(t *testing.T) {
template: create.TemplateStagehand,
errContains: "template not found: python/stagehand",
},
{
name: "magnitude not available for python",
language: create.LanguagePython,
template: create.TemplateMagnitude,
errContains: "template not found: python/magnitude",
},
{
name: "invalid language",
language: "ruby",
Expand Down Expand Up @@ -551,7 +545,6 @@ func TestCreateCommand_TemplateNotAvailableForLanguage(t *testing.T) {
unavailableCombinations := map[string][]string{
create.TemplateBrowserUse: {create.LanguageTypeScript},
create.TemplateStagehand: {create.LanguagePython},
create.TemplateMagnitude: {create.LanguagePython},
}

for template, unavailableLanguages := range unavailableCombinations {
Expand Down
11 changes: 0 additions & 11 deletions pkg/create/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const (
TemplateCaptchaSolver = "captcha-solver"
TemplateAnthropicComputerUse = "anthropic-computer-use"
TemplateOpenAIComputerUse = "openai-computer-use"
TemplateMagnitude = "magnitude"
TemplateGeminiComputerUse = "gemini-computer-use"
TemplateBrowserUse = "browser-use"
TemplateStagehand = "stagehand"
Expand Down Expand Up @@ -56,11 +55,6 @@ var Templates = map[string]TemplateInfo{
Description: "Implements an OpenAI computer use agent",
Languages: []string{LanguageTypeScript, LanguagePython},
},
TemplateMagnitude: {
Name: "Magnitude",
Description: "Implements the Magnitude.run SDK",
Languages: []string{LanguageTypeScript},
},
TemplateGeminiComputerUse: {
Name: "Gemini Computer Use",
Description: "Implements a Gemini computer use agent",
Expand Down Expand Up @@ -196,11 +190,6 @@ var Commands = map[string]map[string]DeployConfig{
NeedsEnvFile: true,
InvokeCommand: `kernel invoke ts-anthropic-cua cua-task --payload '{"query": "Navigate to http://magnitasks.com and click on Tasks in the sidebar"}'`,
},
TemplateMagnitude: {
EntryPoint: "index.ts",
NeedsEnvFile: true,
InvokeCommand: `kernel invoke ts-magnitude mag-url-extract --payload '{"url": "https://en.wikipedia.org/wiki/Special:Random"}'`,
},
TemplateOpenAIComputerUse: {
EntryPoint: "index.ts",
NeedsEnvFile: true,
Expand Down
2 changes: 0 additions & 2 deletions pkg/templates/typescript/magnitude/.env.example

This file was deleted.

21 changes: 0 additions & 21 deletions pkg/templates/typescript/magnitude/README.md

This file was deleted.

40 changes: 0 additions & 40 deletions pkg/templates/typescript/magnitude/_gitignore

This file was deleted.

96 changes: 0 additions & 96 deletions pkg/templates/typescript/magnitude/index.ts

This file was deleted.

15 changes: 0 additions & 15 deletions pkg/templates/typescript/magnitude/package.json

This file was deleted.

Loading
Loading