session.create treats a named sessionId as a blank Session to reuse while the Host can verify it is still reusable: no turn has started, it belongs to the requested directory, it is an unarchived member of the requested Workspace, and no other owner writes it. The reused Session runs the requested agentPreset or the configured default; its recorded preset is not resolved, so a blank recorded under a preset that is no longer declared no longer breaks New Session or startup restoration. A change is logged as agent-preset/selected before the Agent is published. A candidate that is no longer reusable stays unchanged and the Host creates a new Session, which replaces the client's writer-held fallback. The Web client restores a saved draft with its recorded preset and falls back to the default when that preset is missing or fails to activate, passes the creator entry's preset through creation instead of issuing a concurrent select, and reloads the projections of a declined candidate so a stale blank hint no longer hides a started conversation. Related to #2566
85 lines
1.5 KiB
JSON
85 lines
1.5 KiB
JSON
{
|
|
"extends": "../../../tsconfig.base.client.json",
|
|
"compilerOptions": {
|
|
"rootDir": "src",
|
|
"outDir": "lib/types"
|
|
},
|
|
"include": [
|
|
"src"
|
|
],
|
|
"references": [
|
|
{
|
|
"path": "../../api/session-controller/tsconfig.client.json"
|
|
},
|
|
{
|
|
"path": "../../preset/agent-preset-registry"
|
|
},
|
|
{
|
|
"path": "../../api/workspace-controller/tsconfig.client.json"
|
|
},
|
|
{
|
|
"path": "../locale/tsconfig.client.json"
|
|
},
|
|
{
|
|
"path": "../../../vendor/cordis"
|
|
},
|
|
{
|
|
"path": "../ui-slots"
|
|
},
|
|
{
|
|
"path": "../ui-primitives"
|
|
},
|
|
{
|
|
"path": "../connection/tsconfig.client.json"
|
|
},
|
|
{
|
|
"path": "../../api/remotes/tsconfig.client.json"
|
|
},
|
|
{
|
|
"path": "../store"
|
|
},
|
|
{
|
|
"path": "../../core/agent"
|
|
},
|
|
{
|
|
"path": "../../core/session"
|
|
},
|
|
{
|
|
"path": "../../subagent/subagent"
|
|
},
|
|
{
|
|
"path": "../../jobs/jobs"
|
|
},
|
|
{
|
|
"path": "../../schedule/schedule"
|
|
},
|
|
{
|
|
"path": "../ui-sidebar"
|
|
},
|
|
{
|
|
"path": "../ui-conversation/tsconfig.client.json"
|
|
},
|
|
{
|
|
"path": "../ui-layout"
|
|
},
|
|
{
|
|
"path": "../ui-renderer"
|
|
},
|
|
{
|
|
"path": "../ui-session"
|
|
},
|
|
{
|
|
"path": "../../util/values"
|
|
},
|
|
{
|
|
"path": "../../util/workspace-path"
|
|
},
|
|
{
|
|
"path": "../shortcuts/tsconfig.client.json"
|
|
},
|
|
{
|
|
"path": "../product-analytics/tsconfig.client.json"
|
|
}
|
|
]
|
|
}
|