Changeset 0.37.18 (#230)
Co-authored-by: gobha <jasafpro@gmail.com> Co-committed-by: gobha <jasafpro@gmail.com>
This commit is contained in:
@@ -454,10 +454,11 @@ Content-Type: multipart/form-data
|
||||
|
||||
Field: `file`. Sets `origin: "user_upload"`. Returns the file object.
|
||||
|
||||
**Create (tool output):** Tool-generated files are created internally
|
||||
by the tool execution loop. There is no public REST endpoint for
|
||||
tool output creation — the completion handler writes files directly
|
||||
via the store layer.
|
||||
**Create (tool output):** When `workspace_write` or `workspace_patch`
|
||||
tools succeed during a completion, the handler auto-records a file
|
||||
reference with `origin: "tool_output"` linked to the assistant message
|
||||
(v0.37.18). No public endpoint — created internally by the completion
|
||||
handler via the store layer.
|
||||
|
||||
**List by channel:**
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ owning team/project/channel).
|
||||
```
|
||||
GET /workspaces → { "data": [...] }
|
||||
POST /workspaces ← { "name", "owner_type", "owner_id" }
|
||||
GET /workspaces/default → workspace object (v0.37.18)
|
||||
GET /workspaces/:id → workspace object
|
||||
PATCH /workspaces/:id ← partial update
|
||||
DELETE /workspaces/:id
|
||||
@@ -25,6 +26,15 @@ DELETE /workspaces/:id
|
||||
workspaces plus those owned by the user's teams. All `:id` endpoints
|
||||
verify the caller can access the workspace's owner entity.
|
||||
|
||||
#### `GET /workspaces/default` (v0.37.18)
|
||||
|
||||
Returns the current user's personal workspace, creating it on first
|
||||
access. The workspace is named "My Files" and owned by the current user.
|
||||
Idempotent — safe to call on every page load.
|
||||
|
||||
**Response:** 200 with workspace object (same shape as `GET /workspaces/:id`).
|
||||
Includes `file_count` and `total_bytes` stats.
|
||||
|
||||
Workspace object:
|
||||
|
||||
```json
|
||||
|
||||
@@ -49,7 +49,8 @@ v0.9.x–v0.28.7 Foundation through Platform Polish ✅
|
||||
│ v0.37.3 SDK ✅ │
|
||||
│ v0.37.4 Shell ✅ │
|
||||
│ v0.37.5–16 Surfaces ✅ │
|
||||
│ v0.37.17–19 Surfaces │
|
||||
│ v0.37.17–18 Surfaces ✅ │
|
||||
│ v0.37.19 Tag │
|
||||
│ │ │
|
||||
│ v0.38.x Workflow │
|
||||
│ Product Maturity │
|
||||
@@ -193,8 +194,8 @@ Each surface rebuilt as Preact component tree. Old JS deleted per surface.
|
||||
| v0.37.14 | SE IV + Pane audit ✅ | 4 JS deleted (~−1,672 lines); double-unwrap cleanup (93 sites); API envelope normalization (18 Go handlers); thinking tags persistence; deleteMessage endpoint; extension surface user menu fix; 7 bug fixes |
|
||||
| v0.37.15 | Workflow surfaces ✅ | Workflow ownership/lifecycle, stage CRUD, team-admin tabs, assignments queue |
|
||||
| v0.37.16 | Projects surface ✅ | Card grid + detail, inline ChatPane, context menu, sidebar pickers, deep-link |
|
||||
| v0.37.17 | Workspaces | Workspace-first project file storage, tree browser UI, archive upload/download |
|
||||
| v0.37.18 | Debug / model surface | Debug tooling, model configuration UI; debug modal Preact rebuild (CR P2-5) |
|
||||
| v0.37.17 | Workspaces ✅ | Workspace-first project file storage, tree browser UI, archive upload/download |
|
||||
| v0.37.18 | Debug / model surface ✅ | Debug modal Preact rebuild (CR P2-5), default workspace, tool_output auto-save, save-to-workspace bridge, model/provider polish |
|
||||
| v0.37.19 | Tag | Light mode CSS audit, dead code hunt, all features verified; `sw.can()` RBAC gates across surfaces (CR P2-1), `__USER__`/`__PAGE_DATA__` removal (CR P2-4), `_getScale` → `sw.shell.getScale()` (CR P3-3) |
|
||||
|
||||
**v0.37.14 — Scorched Earth IV + Pane Audit ✅** (10 sessions, v0.37.14.0–.22):
|
||||
@@ -238,11 +239,13 @@ Git integration (clone, pull, branch tracking) is optional/post-MVP.
|
||||
- [x] Archive download: zip bundle of project files
|
||||
- [x] Storage quota enforcement (`max_bytes` on workspace)
|
||||
|
||||
**v0.37.18 — Debug + Model Surface:**
|
||||
**v0.37.18 — Debug + Model Surface ✅:**
|
||||
|
||||
Debug modal Preact rebuild, model configuration UI, provider diagnostics.
|
||||
Also: user default workspace, `origin=tool_output` auto-save in completion
|
||||
handler, "Save to workspace" bridge action on chat files/artifacts.
|
||||
Debug modal Preact rebuild (673-line imperative → component tree, 8 files).
|
||||
User default workspace (auto-create "My Files" on first access). tool_output
|
||||
auto-save (file refs linked to assistant messages). Save-to-workspace bridge
|
||||
(save code blocks to workspace). Model selector health dots. Provider test
|
||||
buttons (BYOK + admin). repl.js absorbed into Preact. sw-debug.css extracted.
|
||||
|
||||
**v0.37.19 — Tag ("UI Complete"):**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user