gestalt-mobile 0.69.1 → 0.70.1
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/dist/client/assets/index-BKHQ4DeL.js +183 -0
- package/dist/client/assets/{index-DcqeI1r_.css → index-Bzd358yL.css} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server/server/composition.contracts.js +1 -0
- package/dist/server/server/composition.js +4 -0
- package/dist/server/server/features/plans/download-plan/endpoint.js +34 -0
- package/dist/server/server/features/plans/register-routes.js +3 -0
- package/dist/server/server/features/sessions/start-session/endpoint.js +19 -0
- package/dist/server/server/platform/filesystem/filesystem-workspace-files.js +5 -0
- package/dist/server/server/platform/plans/filesystem-workspace-plan-catalog.js +12 -0
- package/package.json +1 -1
- package/dist/client/assets/index-C_g0JXyH.js +0 -183
|
@@ -119,6 +119,18 @@ export class FilesystemWorkspacePlanCatalog {
|
|
|
119
119
|
return { kind: 'missing' };
|
|
120
120
|
return this.readFromWorkspace(workspace, planName);
|
|
121
121
|
}
|
|
122
|
+
/** Downloads the original Org text through the same bounded, confined reader as the viewer. */
|
|
123
|
+
async readSource(workspacePath, planName) {
|
|
124
|
+
if (!isPlanPath(planName))
|
|
125
|
+
return { kind: 'missing' };
|
|
126
|
+
const workspace = await this.workspace(workspacePath);
|
|
127
|
+
if (!workspace)
|
|
128
|
+
return { kind: 'missing' };
|
|
129
|
+
const candidate = await this.readCandidate(workspace, planName);
|
|
130
|
+
return candidate.kind === 'readable'
|
|
131
|
+
? { kind: 'available', source: candidate.source }
|
|
132
|
+
: candidate;
|
|
133
|
+
}
|
|
122
134
|
/** Reuses the exact viewer reader without trusting its cached preview or sourcePath. */
|
|
123
135
|
async readExecution(workspacePath, planName) {
|
|
124
136
|
if (!isPlanPath(planName))
|