create-theokit 0.1.0-alpha.7 → 0.1.0-alpha.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-theokit",
3
- "version": "0.1.0-alpha.7",
3
+ "version": "0.1.0-alpha.9",
4
4
  "type": "module",
5
5
  "description": "Scaffold a new TheoKit project",
6
6
  "license": "Apache-2.0",
@@ -10,7 +10,7 @@
10
10
  "typecheck": "tsc --noEmit"
11
11
  },
12
12
  "dependencies": {
13
- "theokit": "^0.1.0-alpha.6",
13
+ "theokit": "^0.1.0-alpha.8",
14
14
  "react": "^19.0.0",
15
15
  "react-dom": "^19.0.0"
16
16
  },
@@ -10,7 +10,7 @@
10
10
  "typecheck": "tsc --noEmit"
11
11
  },
12
12
  "dependencies": {
13
- "theokit": "^0.1.0-alpha.6",
13
+ "theokit": "^0.1.0-alpha.8",
14
14
  "react": "^19.0.0",
15
15
  "react-dom": "^19.0.0"
16
16
  },
@@ -10,7 +10,7 @@
10
10
  "typecheck": "tsc --noEmit"
11
11
  },
12
12
  "dependencies": {
13
- "theokit": "^0.1.0-alpha.6",
13
+ "theokit": "^0.1.0-alpha.8",
14
14
  "@usetheo/sdk": "^1.1.0",
15
15
  "@usetheo/ui": "^0.12.0-next.0",
16
16
  "lucide-react": "^0.469.0",
@@ -37,10 +37,12 @@ export const POST = defineAgentEndpoint({
37
37
  const orKey = process.env.OPENROUTER_API_KEY
38
38
  const anKey = process.env.ANTHROPIC_API_KEY
39
39
  const apiKey = orKey !== undefined && orKey.length > 0 ? orKey : anKey
40
+ // Model defaults — escolhidos pra ser cheap + funcionais empíricamente em 2026-05-28.
41
+ // Stranger pode trocar pra modelo de sua preferência.
40
42
  const modelId =
41
43
  orKey !== undefined && orKey.length > 0
42
- ? 'openrouter/anthropic/claude-3.5-sonnet'
43
- : 'claude-sonnet-4-5-20250929'
44
+ ? 'openai/gpt-4o-mini' // OpenRouter route — cheap (~$0.15/1M tokens) + always available
45
+ : 'claude-sonnet-4-5-20250929' // direct Anthropic
44
46
  if (apiKey === undefined || apiKey.length === 0) {
45
47
  yield {
46
48
  type: 'error',
@@ -14,7 +14,7 @@
14
14
  "db:studio": "drizzle-kit studio"
15
15
  },
16
16
  "dependencies": {
17
- "theokit": "^0.1.0-alpha.6",
17
+ "theokit": "^0.1.0-alpha.8",
18
18
  "react": "^19.0.0",
19
19
  "react-dom": "^19.0.0",
20
20
  "drizzle-orm": "^0.45.0",
@@ -14,7 +14,7 @@
14
14
  "db:studio": "drizzle-kit studio"
15
15
  },
16
16
  "dependencies": {
17
- "theokit": "^0.1.0-alpha.6",
17
+ "theokit": "^0.1.0-alpha.8",
18
18
  "@usetheo/ui": "^0.12.0-next.0",
19
19
  "react": "^19.0.0",
20
20
  "react-dom": "^19.0.0",