gestalt-mobile 0.42.1 → 0.44.0
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/README.md +64 -0
- package/dist/client/assets/index-7g7-CxvF.js +107 -0
- package/dist/client/assets/index-BKls66uM.css +1 -0
- package/dist/client/index.html +2 -2
- package/dist/server/server/app.js +2 -3
- package/dist/server/server/composition.contracts.js +107 -0
- package/dist/server/server/composition.js +45 -10
- package/dist/server/server/features/catalog/get-bootstrap/use-case.js +11 -0
- package/dist/server/server/features/catalog/register-routes.js +13 -0
- package/dist/server/server/features/catalog/session-defaults/endpoint.js +16 -0
- package/dist/server/server/features/files/check-references/endpoint.js +36 -0
- package/dist/server/server/features/files/read-entry/endpoint.js +28 -0
- package/dist/server/server/features/files/register-routes.js +4 -0
- package/dist/server/server/features/plans/application/parse-supervised-plan.js +11 -0
- package/dist/server/server/features/plans/archive-workspace-plan/endpoint.js +26 -0
- package/dist/server/server/features/plans/list-workspace-plans/endpoint.js +1 -1
- package/dist/server/server/features/plans/register-routes.js +6 -0
- package/dist/server/server/features/sessions/model/relay-session.js +2 -0
- package/dist/server/server/features/sessions/start-session/endpoint.js +6 -0
- package/dist/server/server/features/sessions/start-session/request.js +4 -0
- package/dist/server/server/features/sessions/start-session/use-case.js +12 -0
- package/dist/server/server/platform/catalog/filesystem-workspace-catalog.js +3 -0
- package/dist/server/server/platform/codex/recent-thread-lister.js +2 -1
- package/dist/server/server/platform/codex/session-model-config.js +104 -0
- package/dist/server/server/platform/codex/session-runtime.js +33 -13
- package/dist/server/server/platform/filesystem/filesystem-workspace-files.js +99 -0
- package/dist/server/server/platform/persistence/filesystem-session-defaults.js +42 -0
- package/dist/server/server/platform/persistence/migrate.js +2 -0
- package/dist/server/server/platform/persistence/sqlite-session-repository.js +7 -2
- package/dist/server/server/platform/plans/filesystem-plan-archiver.js +109 -0
- package/dist/server/server/platform/plans/filesystem-plan-status-source.js +42 -1
- package/dist/server/server/platform/plans/filesystem-workspace-plan-catalog.js +96 -68
- package/dist/server/server/platform/plans/org-plan-archive-tag.js +17 -0
- package/dist/server/server/platform/plans/org-plan-discovery.js +53 -0
- package/dist/server/shared/contracts/session-defaults.js +20 -0
- package/dist/server/shared/contracts/session-model-settings.js +6 -0
- package/package.json +3 -1
- package/dist/client/assets/index-BRly-q56.js +0 -38
- package/dist/client/assets/index-D57mr3B1.css +0 -1
package/README.md
CHANGED
|
@@ -60,6 +60,46 @@ managed Gestalt Mobile instance can continue using port 3000. Development uses
|
|
|
60
60
|
repository-local relay state under `.gestalt/dev-state` and disables passkey
|
|
61
61
|
access control; it remains loopback-only and does not reuse production state.
|
|
62
62
|
|
|
63
|
+
## Session defaults
|
|
64
|
+
|
|
65
|
+
The Sessions tab starts with the session base, Skills profile and Model (`gpt-6.1-sol`).
|
|
66
|
+
Expand **Advanced settings** to change model thinking, the Org-plan executor model
|
|
67
|
+
and thinking, provider, sandbox, or approval policy, or to manage skill profiles.
|
|
68
|
+
The executor starts with `gpt-5.6-terra` and high thinking; the supervisor uses medium thinking.
|
|
69
|
+
Executor overrides preserve the installed role instructions and belong to each new session.
|
|
70
|
+
**Save as defaults** stores the
|
|
71
|
+
current session settings in `~/.gestalt/session-defaults.json` on the relay host.
|
|
72
|
+
New browser visits load those settings; Advanced settings starts collapsed.
|
|
73
|
+
On desktop, Advanced settings groups the Org-plan executor and Main supervisor side by side;
|
|
74
|
+
on phones, the groups stack. Recent sessions expose **Copy to CLI** directly, and the header
|
|
75
|
+
menu offers **Copy session to CLI** for the selected session while viewing Chat.
|
|
76
|
+
Without saved settings, Mobile uses the workspace root, the default skills
|
|
77
|
+
profile, Codex, Git-writable workspace access, and automatic approvals.
|
|
78
|
+
|
|
79
|
+
## Plan discovery
|
|
80
|
+
|
|
81
|
+
The Plan catalog searches from the application-wide `--cwd` root, regardless of
|
|
82
|
+
the selected session or new-session base. It lists `.org` files inside any
|
|
83
|
+
`.gestalt` folder below that root, including folders inside repositories.
|
|
84
|
+
Discovery uses `bfs` when installed, falling back to `find`, with NUL-delimited
|
|
85
|
+
paths and without following symlinks. Other Org files remain accessible through
|
|
86
|
+
links in their session's chat.
|
|
87
|
+
|
|
88
|
+
The relay caches parsed entries, checks file metadata in parallel, and rereads
|
|
89
|
+
only changed files. Concurrent catalog requests share a scan; results are reused
|
|
90
|
+
for one second for internal callers; browser catalog requests always check for changes.
|
|
91
|
+
The browser keeps its previous catalog visible during refreshes and retries.
|
|
92
|
+
Switching to or clicking the Plan tab refreshes it, without periodic polling.
|
|
93
|
+
The **ORG Plans** heading reserves space for an inline refresh indicator,
|
|
94
|
+
and plan rows show compact paths, completion bars, and right-side **Open** and
|
|
95
|
+
**Archive** actions. Archive adds the standard `ARCHIVE` Org file tag while
|
|
96
|
+
preserving task state, existing tags, and content; tagged plans join
|
|
97
|
+
**Completed and archived**, where **Reopen** is the only action. Plan previews
|
|
98
|
+
start at the top when opened; later live task changes can still scroll to the
|
|
99
|
+
current task. Opening a
|
|
100
|
+
catalog entry reads it relative to the application root; chat links retain their
|
|
101
|
+
session-relative interpretation.
|
|
102
|
+
|
|
63
103
|
## Skill profiles
|
|
64
104
|
|
|
65
105
|
Global profiles live in `~/.gestalt/skill-profiles/<name>.yml` and use version 1 YAML:
|
|
@@ -289,6 +329,30 @@ The browser stores the selected session, its replay cursor, and per-session
|
|
|
289
329
|
composer drafts. On a dropped connection it replays retained events; if the
|
|
290
330
|
server has pruned the gap, it reloads canonical Codex thread history.
|
|
291
331
|
|
|
332
|
+
Org-plan attachments are saved with the session in the relay's SQLite database,
|
|
333
|
+
including their canonical path and attached state. Explicit plan attachment also
|
|
334
|
+
publishes a session-private status file, so helper updates and manual attachments
|
|
335
|
+
share the same live tracking. On restart, the relay reloads the current plan and
|
|
336
|
+
its progress without starting a Codex writer. Open and saved sessions show **Org
|
|
337
|
+
plan attached** and provide **Copy CLI** directly in their action column. Closing
|
|
338
|
+
a completed plan clears its attached state while retaining its last-used name.
|
|
339
|
+
|
|
340
|
+
## File previews
|
|
341
|
+
|
|
342
|
+
Plan descriptions preserve line breaks and open file or directory references enclosed
|
|
343
|
+
in `=equal signs=` in a shared read-only viewer only after a batched metadata check
|
|
344
|
+
confirms the path exists. Missing or unchecked references remain inline code. Relative catalog references resolve
|
|
345
|
+
from the project directory containing `.gestalt`; session plan references resolve
|
|
346
|
+
from the session workspace. Absolute references must remain inside that workspace.
|
|
347
|
+
The Git file browser uses the same viewer through its **View** action.
|
|
348
|
+
|
|
349
|
+
The viewer formats JSON and Markdown, offers the original source, and browses folders
|
|
350
|
+
with the existing lazy-loading tree. JSON starts with the first level visible and nested
|
|
351
|
+
branches folded; the Folded/Unfolded control toggles all branches, and +/− controls
|
|
352
|
+
expand or collapse individual branches. Other UTF-8 text files remain readable as text.
|
|
353
|
+
Previews are limited to 1 MiB and do not follow symbolic links. Markdown previews
|
|
354
|
+
sanitize markup and do not load embedded images.
|
|
355
|
+
|
|
292
356
|
## Git
|
|
293
357
|
|
|
294
358
|
The Git tab has its own filesystem-tree selection, independent from the base
|