deepspace 0.6.0 → 0.6.2
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 +23 -0
- package/dist/cli.js +318 -123
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +28 -3
- package/dist/index.js +124 -13
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts +53 -1
- package/dist/server.js +86 -1
- package/dist/server.js.map +1 -1
- package/dist/worker.d.ts +53 -1
- package/dist/worker.js +86 -1
- package/dist/worker.js.map +1 -1
- package/features/ai-chat/src/ChatPanel.tsx +14 -12
- package/features/cron/src/CronLogPage.tsx +3 -3
- package/package.json +2 -1
|
@@ -105,19 +105,21 @@ const DEFAULT_PROMPTS = [
|
|
|
105
105
|
'List my collections',
|
|
106
106
|
]
|
|
107
107
|
|
|
108
|
-
// Mirrors the allowlist in the scaffolded
|
|
109
|
-
// default — balanced cost/capability with the same 1M-token context as
|
|
110
|
-
//
|
|
111
|
-
// so the picker shows the
|
|
112
|
-
// Override by passing your own `models` prop
|
|
108
|
+
// Mirrors the allowlist in the scaffolded ai/chat-routes.ts. Sonnet 5 is the
|
|
109
|
+
// default — balanced cost/capability with the same 1M-token context as Opus
|
|
110
|
+
// at a lower price. Within each provider we list default → premium → cheap
|
|
111
|
+
// so the picker shows the recommended option first when a user opens it.
|
|
112
|
+
// Override by passing your own `models` prop — apps scaffolded before this
|
|
113
|
+
// lineup must either update their ALLOWED_MODELS to match or pass the models
|
|
114
|
+
// they allowlist, otherwise the worker rejects the picker's ids with a 400.
|
|
113
115
|
const DEFAULT_MODELS: ModelOption[] = [
|
|
114
|
-
{ id: 'claude-sonnet-
|
|
115
|
-
{ id: 'claude-opus-4-
|
|
116
|
-
{ id: 'claude-haiku-4-5',
|
|
117
|
-
{ id: 'gpt-5.
|
|
118
|
-
{ id: 'gpt-5.
|
|
119
|
-
{ id: 'gpt-5.
|
|
120
|
-
{ id: 'gpt-oss-120b',
|
|
116
|
+
{ id: 'claude-sonnet-5', label: 'Claude Sonnet 5', provider: 'Anthropic' },
|
|
117
|
+
{ id: 'claude-opus-4-8', label: 'Claude Opus 4.8', provider: 'Anthropic' },
|
|
118
|
+
{ id: 'claude-haiku-4-5', label: 'Claude Haiku 4.5', provider: 'Anthropic' },
|
|
119
|
+
{ id: 'gpt-5.6-terra', label: 'GPT-5.6 Terra', provider: 'OpenAI' },
|
|
120
|
+
{ id: 'gpt-5.6-sol', label: 'GPT-5.6 Sol', provider: 'OpenAI' },
|
|
121
|
+
{ id: 'gpt-5.6-luna', label: 'GPT-5.6 Luna', provider: 'OpenAI' },
|
|
122
|
+
{ id: 'gpt-oss-120b', label: 'GPT-OSS 120B', provider: 'Cerebras' },
|
|
121
123
|
]
|
|
122
124
|
|
|
123
125
|
// ============================================================================
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Cron Log Page
|
|
3
3
|
*
|
|
4
4
|
* Subscribes to the app's CronRoom via `useCronMonitor` and renders live
|
|
5
|
-
* task state + execution history. The DO is keyed by `
|
|
6
|
-
* a single shared CronRoom DO instance backs the
|
|
7
|
-
* as RecordRoom.
|
|
5
|
+
* task state + execution history. The DO is keyed by `SCOPE_ID`
|
|
6
|
+
* (`app:${APP_ID}`) so a single shared CronRoom DO instance backs the
|
|
7
|
+
* whole app — same pattern as RecordRoom.
|
|
8
8
|
*
|
|
9
9
|
* Used both as a UI surface for verifying that scheduled tasks are firing
|
|
10
10
|
* in production, and as the data source for the cron e2e spec at
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deepspace",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=22.15.0"
|
|
6
6
|
},
|
|
@@ -112,6 +112,7 @@
|
|
|
112
112
|
"better-sqlite3": "^12.0.0",
|
|
113
113
|
"clsx": "^2.1.1",
|
|
114
114
|
"framer-motion": "^12.38.0",
|
|
115
|
+
"jsdom": "^29.1.1",
|
|
115
116
|
"lucide-react": "^1.7.0",
|
|
116
117
|
"react-router-dom": "^7.1.0",
|
|
117
118
|
"tailwind-merge": "^3.5.0",
|