dsh-typst-plugin 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/README.en.md +121 -0
- package/README.md +120 -2
- package/cordis.patch.yml +6 -0
- package/docs/images/icon.png +0 -0
- package/docs/plugin-detail.en.md +2 -0
- package/docs/plugin-detail.md +2 -0
- package/lib/client.js +41996 -0
- package/lib/client.js.map +7 -0
- package/lib/config.d.ts +107 -0
- package/lib/config.d.ts.map +1 -0
- package/lib/config.js +167 -0
- package/lib/config.js.map +1 -0
- package/lib/constants.d.ts +77 -0
- package/lib/constants.d.ts.map +1 -0
- package/lib/constants.js +85 -0
- package/lib/constants.js.map +1 -0
- package/lib/contract.d.ts +263 -0
- package/lib/contract.d.ts.map +1 -0
- package/lib/contract.js +9 -0
- package/lib/contract.js.map +1 -0
- package/lib/diagnostic-text.d.ts +13 -0
- package/lib/diagnostic-text.d.ts.map +1 -0
- package/lib/diagnostic-text.js +28 -0
- package/lib/diagnostic-text.js.map +1 -0
- package/lib/errors.d.ts +119 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +161 -0
- package/lib/errors.js.map +1 -0
- package/lib/host/facts.d.ts +31 -0
- package/lib/host/facts.d.ts.map +1 -0
- package/lib/host/facts.js +145 -0
- package/lib/host/facts.js.map +1 -0
- package/lib/host/which.d.ts +20 -0
- package/lib/host/which.d.ts.map +1 -0
- package/lib/host/which.js +50 -0
- package/lib/host/which.js.map +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -0
- package/lib/remote.d.ts +70 -0
- package/lib/remote.d.ts.map +1 -0
- package/lib/remote.js +156 -0
- package/lib/remote.js.map +1 -0
- package/lib/service.d.ts +71 -0
- package/lib/service.d.ts.map +1 -0
- package/lib/service.js +213 -0
- package/lib/service.js.map +1 -0
- package/lib/skills/typst.d.ts +13 -0
- package/lib/skills/typst.d.ts.map +1 -0
- package/lib/skills/typst.js +78 -0
- package/lib/skills/typst.js.map +1 -0
- package/lib/status-codec.d.ts +11 -0
- package/lib/status-codec.d.ts.map +1 -0
- package/lib/status-codec.js +11 -0
- package/lib/status-codec.js.map +1 -0
- package/lib/tools/registration.d.ts +23 -0
- package/lib/tools/registration.d.ts.map +1 -0
- package/lib/tools/registration.js +758 -0
- package/lib/tools/registration.js.map +1 -0
- package/lib/tools/shared.d.ts +30 -0
- package/lib/tools/shared.d.ts.map +1 -0
- package/lib/tools/shared.js +79 -0
- package/lib/tools/shared.js.map +1 -0
- package/lib/typert.d.ts +25 -0
- package/lib/typert.d.ts.map +1 -0
- package/lib/typert.js +116 -0
- package/lib/typert.js.map +1 -0
- package/lib/typst/diagnostics.d.ts +58 -0
- package/lib/typst/diagnostics.d.ts.map +1 -0
- package/lib/typst/diagnostics.js +237 -0
- package/lib/typst/diagnostics.js.map +1 -0
- package/lib/typst/flags.d.ts +8 -0
- package/lib/typst/flags.d.ts.map +1 -0
- package/lib/typst/flags.js +8 -0
- package/lib/typst/flags.js.map +1 -0
- package/lib/typst/locate.d.ts +61 -0
- package/lib/typst/locate.d.ts.map +1 -0
- package/lib/typst/locate.js +152 -0
- package/lib/typst/locate.js.map +1 -0
- package/lib/typst/mainfile.d.ts +40 -0
- package/lib/typst/mainfile.d.ts.map +1 -0
- package/lib/typst/mainfile.js +136 -0
- package/lib/typst/mainfile.js.map +1 -0
- package/lib/typst/match.d.ts +67 -0
- package/lib/typst/match.d.ts.map +1 -0
- package/lib/typst/match.js +227 -0
- package/lib/typst/match.js.map +1 -0
- package/lib/typst/oneshot.d.ts +48 -0
- package/lib/typst/oneshot.d.ts.map +1 -0
- package/lib/typst/oneshot.js +86 -0
- package/lib/typst/oneshot.js.map +1 -0
- package/lib/typst/owners.d.ts +28 -0
- package/lib/typst/owners.d.ts.map +1 -0
- package/lib/typst/owners.js +98 -0
- package/lib/typst/owners.js.map +1 -0
- package/lib/typst/pdf-extract.d.ts +28 -0
- package/lib/typst/pdf-extract.d.ts.map +1 -0
- package/lib/typst/pdf-extract.js +111 -0
- package/lib/typst/pdf-extract.js.map +1 -0
- package/lib/typst/process.d.ts +73 -0
- package/lib/typst/process.d.ts.map +1 -0
- package/lib/typst/process.js +147 -0
- package/lib/typst/process.js.map +1 -0
- package/lib/typst/text.d.ts +62 -0
- package/lib/typst/text.d.ts.map +1 -0
- package/lib/typst/text.js +282 -0
- package/lib/typst/text.js.map +1 -0
- package/lib/typst/watcher.d.ts +76 -0
- package/lib/typst/watcher.d.ts.map +1 -0
- package/lib/typst/watcher.js +210 -0
- package/lib/typst/watcher.js.map +1 -0
- package/lib/wire-schemas.d.ts +433 -0
- package/lib/wire-schemas.d.ts.map +1 -0
- package/lib/wire-schemas.js +428 -0
- package/lib/wire-schemas.js.map +1 -0
- package/lib/workspace/containment.d.ts +25 -0
- package/lib/workspace/containment.d.ts.map +1 -0
- package/lib/workspace/containment.js +54 -0
- package/lib/workspace/containment.js.map +1 -0
- package/lib/workspace/session.d.ts +268 -0
- package/lib/workspace/session.d.ts.map +1 -0
- package/lib/workspace/session.js +1576 -0
- package/lib/workspace/session.js.map +1 -0
- package/locale/en.json +15 -0
- package/locale/zh.json +15 -0
- package/package.json +113 -4
- package/release-provenance.json +137 -0
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One workspace's Typst workbench state: toolchain detection, main-file
|
|
3
|
+
* choice, the `typst watch` lifecycle, preview snapshots, agent highlights,
|
|
4
|
+
* source matching, and the settle algorithm `typst_check` relies on.
|
|
5
|
+
* Ported from the ZCode typst-workbench server (0.2.0) `src/app/session.ts`,
|
|
6
|
+
* adapted to this repository's error domain and framed as a plain class the
|
|
7
|
+
* cordis service registers per workspace root (unit-testable without a
|
|
8
|
+
* harness). Host half only.
|
|
9
|
+
* @module dsh-typst/workspace/session
|
|
10
|
+
*/
|
|
11
|
+
import type { SandboxExecutionPolicy } from "@deepseek-ai/dsh-sandbox";
|
|
12
|
+
import type { PreviewIdentity, DiagnosticView, HighlightView, SnapshotView, TypstStateFrame } from "../contract.js";
|
|
13
|
+
import { locateInSources } from "../typst/match.js";
|
|
14
|
+
import type { SubprocessRuntime } from "@deepseek-ai/dsh-subprocess";
|
|
15
|
+
import type { ResolvedConfig } from "../config.js";
|
|
16
|
+
export interface SessionOptions {
|
|
17
|
+
workspaceRoot: string;
|
|
18
|
+
/** The configured "Typst path" setting. */
|
|
19
|
+
typstPath?: string;
|
|
20
|
+
/** Live resolver for the volatile settings; preferred over the plain fields below. */
|
|
21
|
+
resolveSettings?: () => ResolvedConfig;
|
|
22
|
+
/** Configured extra font directories (`--font-path`). */
|
|
23
|
+
fontPaths?: string[];
|
|
24
|
+
/** Configured local package directory (`--package-path`). */
|
|
25
|
+
packagePath?: string;
|
|
26
|
+
/** Configured directory names skipped during discovery. */
|
|
27
|
+
excludeDirs?: string[];
|
|
28
|
+
/** Private plugin data directory (build artifacts, remembered mains). */
|
|
29
|
+
dataDir?: string;
|
|
30
|
+
env?: NodeJS.ProcessEnv;
|
|
31
|
+
/** The harness subprocess capability; all typst children go through it. */
|
|
32
|
+
subprocess: SubprocessRuntime;
|
|
33
|
+
log?: (message: string) => void;
|
|
34
|
+
}
|
|
35
|
+
export interface HighlightTarget {
|
|
36
|
+
quote?: string;
|
|
37
|
+
file?: string;
|
|
38
|
+
line?: number;
|
|
39
|
+
endLine?: number;
|
|
40
|
+
}
|
|
41
|
+
export interface HighlightCreated {
|
|
42
|
+
highlight: HighlightView;
|
|
43
|
+
exact: boolean;
|
|
44
|
+
}
|
|
45
|
+
export declare class WorkspaceSession {
|
|
46
|
+
readonly workspaceRoot: string;
|
|
47
|
+
private realRoot;
|
|
48
|
+
private readonly log;
|
|
49
|
+
private readonly env;
|
|
50
|
+
private readonly process;
|
|
51
|
+
private readonly options;
|
|
52
|
+
private listeners;
|
|
53
|
+
private stateVersion;
|
|
54
|
+
private toolchain;
|
|
55
|
+
private main;
|
|
56
|
+
private candidates;
|
|
57
|
+
private candidatesAt;
|
|
58
|
+
private generation;
|
|
59
|
+
private compileToken;
|
|
60
|
+
private startingWatcher;
|
|
61
|
+
private previewError;
|
|
62
|
+
private discovery;
|
|
63
|
+
private indexing;
|
|
64
|
+
private indexingPromise;
|
|
65
|
+
private mainQueue;
|
|
66
|
+
/**
|
|
67
|
+
* The candidates the current document includes, as typst's own dependency
|
|
68
|
+
* report names them. Kept between compiles so the panel can list fragments
|
|
69
|
+
* apart from documents before the first successful compile settles.
|
|
70
|
+
*/
|
|
71
|
+
private fragments;
|
|
72
|
+
private status;
|
|
73
|
+
private diagnostics;
|
|
74
|
+
/** Full diagnostic count of the last round, before the frame cap. */
|
|
75
|
+
private diagnosticsTotal;
|
|
76
|
+
private watcher;
|
|
77
|
+
private retiring;
|
|
78
|
+
private stopPromise;
|
|
79
|
+
private watcherStartedAt;
|
|
80
|
+
private buildDir;
|
|
81
|
+
/** Cancellation handles for in-flight one-shot compiles. */
|
|
82
|
+
private readonly liveOneshots;
|
|
83
|
+
/** When the in-flight compile started; also when the last finished one started (check uses this). */
|
|
84
|
+
private compilingSince;
|
|
85
|
+
private finishedStartedAt;
|
|
86
|
+
private finishGeneration;
|
|
87
|
+
/** Monotonic count of finished compiles; lets settle notice a wake it missed. */
|
|
88
|
+
private finishVersion;
|
|
89
|
+
/** Input signature the last completed compile consumed. */
|
|
90
|
+
private compiledInputs;
|
|
91
|
+
private finishWaiters;
|
|
92
|
+
private restartTimer;
|
|
93
|
+
private snapshots;
|
|
94
|
+
private current;
|
|
95
|
+
private seq;
|
|
96
|
+
private highlights;
|
|
97
|
+
private highlightSeq;
|
|
98
|
+
private view;
|
|
99
|
+
private viewSeq;
|
|
100
|
+
private activation;
|
|
101
|
+
private activated;
|
|
102
|
+
private closed;
|
|
103
|
+
private pagesCache;
|
|
104
|
+
/** Per-compile excerpt cache: one read per file, keyed by mtime. */
|
|
105
|
+
private excerptCache;
|
|
106
|
+
private facts;
|
|
107
|
+
private factsPending;
|
|
108
|
+
private setupTimer;
|
|
109
|
+
private setupTicks;
|
|
110
|
+
private setupSubscribers;
|
|
111
|
+
private rechecking;
|
|
112
|
+
private recheckShell;
|
|
113
|
+
constructor(options: SessionOptions);
|
|
114
|
+
/**
|
|
115
|
+
* The plugin settings this session compiles with, read per request. The
|
|
116
|
+
* settings page commits volatile values in place, so a long-lived session
|
|
117
|
+
* sees a change without being rebuilt.
|
|
118
|
+
*/
|
|
119
|
+
private settings;
|
|
120
|
+
onChange(listener: () => void): () => void;
|
|
121
|
+
/**
|
|
122
|
+
* Await state changes until `signal` aborts, yielding once per coalesced
|
|
123
|
+
* burst (the watch stream's push side). Every yielded tick means "state
|
|
124
|
+
* changed since the last frame"; the caller re-reads `state()`.
|
|
125
|
+
*/
|
|
126
|
+
onChangeWaiter(signal: AbortSignal): AsyncIterable<symbol>;
|
|
127
|
+
private emit;
|
|
128
|
+
/** The full state frame the panel renders. */
|
|
129
|
+
state(): TypstStateFrame;
|
|
130
|
+
private toolchainView;
|
|
131
|
+
/**
|
|
132
|
+
* Whether this session has started, or is starting, its watch. A session
|
|
133
|
+
* that never ran reads the new settings when its first request activates
|
|
134
|
+
* it, so a settings commit must not activate one just to restart it.
|
|
135
|
+
*/
|
|
136
|
+
get active(): boolean;
|
|
137
|
+
/** Started on the first tool call or panel subscription; a no-op afterwards. */
|
|
138
|
+
activate(): Promise<void>;
|
|
139
|
+
/** Whether a located toolchain differs from the previously cached one. */
|
|
140
|
+
private toolchainChanged;
|
|
141
|
+
private detectToolchain;
|
|
142
|
+
/** Host facts are probed once (OS, arch, package managers do not change mid-session). */
|
|
143
|
+
private detectFacts;
|
|
144
|
+
/**
|
|
145
|
+
* Look Typst up again (the agent or the user just installed it). A usable
|
|
146
|
+
* Typst rescans files and starts the preview. `shell: false` skips the
|
|
147
|
+
* login shell (the panel's periodic recheck uses it to avoid spawning
|
|
148
|
+
* shells frequently).
|
|
149
|
+
*/
|
|
150
|
+
recheck(shell?: boolean): Promise<void>;
|
|
151
|
+
private runRecheck;
|
|
152
|
+
/** While the panel subscribes and Typst is unusable, re-lookup every few seconds; the preview starts by itself once Typst runs. */
|
|
153
|
+
watchSetup(enabled: boolean): void;
|
|
154
|
+
/** Locate typst again, rescan files, and restart the watch (the panel's restart button). */
|
|
155
|
+
restart(): Promise<void>;
|
|
156
|
+
/** Refresh complete discovery; indexed absence never proves the selected main disappeared. */
|
|
157
|
+
refreshCandidates(force?: boolean): Promise<void>;
|
|
158
|
+
private validMain;
|
|
159
|
+
private selectInitialMain;
|
|
160
|
+
discover(includeExcluded: boolean, signal?: AbortSignal): Promise<void>;
|
|
161
|
+
private startWatcher;
|
|
162
|
+
private performStartWatcher;
|
|
163
|
+
private stopWatcher;
|
|
164
|
+
private makeBuildDir;
|
|
165
|
+
private finish;
|
|
166
|
+
/**
|
|
167
|
+
* Recompute the fragment set from typst's dependency report.
|
|
168
|
+
*
|
|
169
|
+
* typst names every file it loaded for the current root, so the candidates
|
|
170
|
+
* among them other than the main file are exactly the fragments the
|
|
171
|
+
* document pulls in. The report is empty until the first successful
|
|
172
|
+
* compile, and the previous set is kept rather than emptied, so the panel
|
|
173
|
+
* does not lose the distinction mid-session.
|
|
174
|
+
*/
|
|
175
|
+
private refreshFragments;
|
|
176
|
+
private wakeWaiters;
|
|
177
|
+
private waitForFinish;
|
|
178
|
+
private resetPreview;
|
|
179
|
+
private get mainsFile();
|
|
180
|
+
private remembered;
|
|
181
|
+
private remember;
|
|
182
|
+
setMain(path: string): Promise<string>;
|
|
183
|
+
private selectMain;
|
|
184
|
+
/** Both the toolchain and the main file are ready, or a telling error is thrown. */
|
|
185
|
+
requireReady(): void;
|
|
186
|
+
/**
|
|
187
|
+
* Newest modification and a stable signature over the input files (typst's
|
|
188
|
+
* deps; else the main file and the workspace's .typ files). The signature
|
|
189
|
+
* includes size and mtime, so a rolled-back mtime or a same-mtime rewrite is
|
|
190
|
+
* still detected as a different input set.
|
|
191
|
+
*/
|
|
192
|
+
private inputsModifiedAt;
|
|
193
|
+
/** Wait until every change already on disk has compiled (restart the watch when it missed changes). */
|
|
194
|
+
settle(timeoutMs?: number, signal?: AbortSignal): Promise<void>;
|
|
195
|
+
private addSnapshot;
|
|
196
|
+
/** Read precisely the requested retained artifact, never silently substitute the latest. */
|
|
197
|
+
previewBytes(identity: PreviewIdentity): {
|
|
198
|
+
info: SnapshotView;
|
|
199
|
+
bytes: Uint8Array<ArrayBuffer>;
|
|
200
|
+
};
|
|
201
|
+
private pagesOf;
|
|
202
|
+
/** A preview is required (something compiled successfully). */
|
|
203
|
+
private requireSnapshot;
|
|
204
|
+
showPage(pageIndex: number): void;
|
|
205
|
+
/**
|
|
206
|
+
* When a highlight is created from source lines, count how many times the
|
|
207
|
+
* same rendered passage occurred before the recorded range. Typst emits
|
|
208
|
+
* repeated text in document order, so that ordinal disambiguates identical
|
|
209
|
+
* quotes on the same page.
|
|
210
|
+
*/
|
|
211
|
+
private occurrenceForSource;
|
|
212
|
+
/** Find text in the preview: quote matching first (tolerant of whitespace, quotes, line breaks), then skeleton approximation. */
|
|
213
|
+
private findText;
|
|
214
|
+
highlight(target: HighlightTarget, comment?: string): Promise<HighlightCreated>;
|
|
215
|
+
/** After a new snapshot, relocate highlights; unmatched annotations remain visible as stale. */
|
|
216
|
+
private relocateHighlights;
|
|
217
|
+
clearHighlights(ids?: string[]): number;
|
|
218
|
+
/** The project's source files: workspace `.typ` files among typst's reported deps; all candidates when deps are missing. */
|
|
219
|
+
sourceFiles(signal?: AbortSignal): Promise<{
|
|
220
|
+
path: string;
|
|
221
|
+
text: string;
|
|
222
|
+
}[]>;
|
|
223
|
+
locateSource(text: string, focus?: string, signal?: AbortSignal): Promise<ReturnType<typeof locateInSources>>;
|
|
224
|
+
/**
|
|
225
|
+
* Font directories passed to Typst via `--font-path`: the workspace's
|
|
226
|
+
* conventional `fonts/` and `assets/fonts/` first, then the configured
|
|
227
|
+
* directories. Project fonts therefore win on a family clash, and a
|
|
228
|
+
* configured directory typst cannot read is left for typst to ignore.
|
|
229
|
+
* @param configured - font directories from the current settings snapshot.
|
|
230
|
+
* @returns the ordered `--font-path` directories.
|
|
231
|
+
*/
|
|
232
|
+
private fontPaths;
|
|
233
|
+
private oneshot;
|
|
234
|
+
/** Track one one-shot compile so close/killNow can abort it. */
|
|
235
|
+
private withOneshot;
|
|
236
|
+
renderPages(spec: string, ppi: number, signal?: AbortSignal): Promise<{
|
|
237
|
+
ok: boolean;
|
|
238
|
+
diagnostics: DiagnosticView[];
|
|
239
|
+
images: {
|
|
240
|
+
page: number;
|
|
241
|
+
png: Uint8Array;
|
|
242
|
+
}[];
|
|
243
|
+
pages: number[];
|
|
244
|
+
total: number | undefined;
|
|
245
|
+
}>;
|
|
246
|
+
exportPdf(path: string, extra: {
|
|
247
|
+
pdfStandard?: string;
|
|
248
|
+
pages?: string;
|
|
249
|
+
}, signal?: AbortSignal, policy?: SandboxExecutionPolicy): Promise<{
|
|
250
|
+
ok: boolean;
|
|
251
|
+
diagnostics: DiagnosticView[];
|
|
252
|
+
path: string;
|
|
253
|
+
bytes?: number;
|
|
254
|
+
pages?: number;
|
|
255
|
+
}>;
|
|
256
|
+
/** Workspace-relative path (/ separated), against the canonical root. */
|
|
257
|
+
relativePath(absolute: string): string;
|
|
258
|
+
/** A path as typst printed it (relative to the workspace root, or absolute) → display path. */
|
|
259
|
+
displayPath(path: string): string;
|
|
260
|
+
/** Resolve a path inside the workspace (through symlinks); refuse escapes. */
|
|
261
|
+
insideWorkspace(path: string): Promise<string>;
|
|
262
|
+
/** The erroring line of a workspace file. */
|
|
263
|
+
private withExcerpt;
|
|
264
|
+
close(): Promise<void>;
|
|
265
|
+
/** Synchronously end the watch (process exit). */
|
|
266
|
+
killNow(): void;
|
|
267
|
+
}
|
|
268
|
+
//# sourceMappingURL=session.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/workspace/session.ts"],"names":[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