@tempo-ai/mcp 0.0.127 → 0.0.128
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/bin.js +1 -1
- package/dist/{call-GGDXOICV.js → call-3BOTUMP4.js} +2 -2
- package/dist/{chunk-YLP7ELNQ.js → chunk-2HYFZSSD.js} +4 -4
- package/dist/index.js +1 -1
- package/dist/{serve-E4HYDXXB.js → serve-WJBUWW5H.js} +157 -18
- package/dist/{serve-E4HYDXXB.js.map → serve-WJBUWW5H.js.map} +1 -1
- package/package.json +1 -1
- /package/dist/{call-GGDXOICV.js.map → call-3BOTUMP4.js.map} +0 -0
- /package/dist/{chunk-YLP7ELNQ.js.map → chunk-2HYFZSSD.js.map} +0 -0
package/dist/bin.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire as __tempoCreateRequire } from 'node:module'; const require = __tempoCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
run
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2HYFZSSD.js";
|
|
6
6
|
import "./chunk-24QSPUN7.js";
|
|
7
7
|
import "./chunk-JKT5N6IQ.js";
|
|
8
8
|
|
|
@@ -9,7 +9,7 @@ import "./chunk-JKT5N6IQ.js";
|
|
|
9
9
|
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
|
10
10
|
import { InMemoryTransport } from "@modelcontextprotocol/sdk/inMemory.js";
|
|
11
11
|
async function connectAggregate(options) {
|
|
12
|
-
const { createTempoAggregate } = await import("./serve-
|
|
12
|
+
const { createTempoAggregate } = await import("./serve-WJBUWW5H.js");
|
|
13
13
|
const handle = await createTempoAggregate(options, { stageDocuments: false });
|
|
14
14
|
const [clientTransport, serverTransport] = InMemoryTransport.createLinkedPair();
|
|
15
15
|
const client = new Client({ name: "tempo-mcp-cli", version: "0" });
|
|
@@ -128,4 +128,4 @@ export {
|
|
|
128
128
|
runCall,
|
|
129
129
|
runTools
|
|
130
130
|
};
|
|
131
|
-
//# sourceMappingURL=call-
|
|
131
|
+
//# sourceMappingURL=call-3BOTUMP4.js.map
|
|
@@ -122,7 +122,7 @@ async function run(argv) {
|
|
|
122
122
|
process.stderr.write(USAGE);
|
|
123
123
|
return 1;
|
|
124
124
|
}
|
|
125
|
-
const { runServe } = await import("./serve-
|
|
125
|
+
const { runServe } = await import("./serve-WJBUWW5H.js");
|
|
126
126
|
return await runServe(options);
|
|
127
127
|
}
|
|
128
128
|
switch (subcommand) {
|
|
@@ -137,11 +137,11 @@ async function run(argv) {
|
|
|
137
137
|
return await runToken(rest);
|
|
138
138
|
}
|
|
139
139
|
case "tools": {
|
|
140
|
-
const { runTools } = await import("./call-
|
|
140
|
+
const { runTools } = await import("./call-3BOTUMP4.js");
|
|
141
141
|
return await runTools(rest);
|
|
142
142
|
}
|
|
143
143
|
case "call": {
|
|
144
|
-
const { runCall } = await import("./call-
|
|
144
|
+
const { runCall } = await import("./call-3BOTUMP4.js");
|
|
145
145
|
return await runCall(rest);
|
|
146
146
|
}
|
|
147
147
|
default:
|
|
@@ -164,4 +164,4 @@ async function run(argv) {
|
|
|
164
164
|
export {
|
|
165
165
|
run
|
|
166
166
|
};
|
|
167
|
-
//# sourceMappingURL=chunk-
|
|
167
|
+
//# sourceMappingURL=chunk-2HYFZSSD.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __tempoCreateRequire } from 'node:module'; const require = __tempoCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
run
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2HYFZSSD.js";
|
|
5
5
|
import "./chunk-24QSPUN7.js";
|
|
6
6
|
import "./chunk-JKT5N6IQ.js";
|
|
7
7
|
export {
|
|
@@ -70181,14 +70181,11 @@ function registerBoardTools(server, deps) {
|
|
|
70181
70181
|
try {
|
|
70182
70182
|
if (ctx.boardId === null)
|
|
70183
70183
|
return jsonResult({ generatedAt: Date.now(), rows: [], total: 0 });
|
|
70184
|
-
const [issues,
|
|
70184
|
+
const [issues, links, board, labels] = await Promise.all([
|
|
70185
70185
|
convex.query(api.issues.getIssues, {
|
|
70186
70186
|
organizationId: ctx.orgId,
|
|
70187
70187
|
boardId: ctx.boardId
|
|
70188
70188
|
}),
|
|
70189
|
-
convex.query(api.branch_pr.getPrSnapshotsForOrg, {
|
|
70190
|
-
orgId: ctx.orgId
|
|
70191
|
-
}),
|
|
70192
70189
|
convex.query(api.artifact_links.getBranchIssueLinksForOrg, {
|
|
70193
70190
|
orgId: ctx.orgId
|
|
70194
70191
|
}),
|
|
@@ -70201,6 +70198,23 @@ function registerBoardTools(server, deps) {
|
|
|
70201
70198
|
})
|
|
70202
70199
|
]);
|
|
70203
70200
|
const issueById = new Map(issues.map((issue) => [issue._id, issue]));
|
|
70201
|
+
const branches = links.flatMap((link) => {
|
|
70202
|
+
const side = link.endpointA_type === "branch" ? "endpointA" : "endpointB";
|
|
70203
|
+
const issueId = side === "endpointA" ? link.endpointB_issueId : link.endpointA_issueId;
|
|
70204
|
+
if (!issueById.has(issueId) || link[`${side}_type`] !== "branch")
|
|
70205
|
+
return [];
|
|
70206
|
+
return [
|
|
70207
|
+
{
|
|
70208
|
+
orgProjectId: link[`${side}_orgProjectId`],
|
|
70209
|
+
repoKey: link[`${side}_repoKey`],
|
|
70210
|
+
branchName: link[`${side}_branchName`]
|
|
70211
|
+
}
|
|
70212
|
+
];
|
|
70213
|
+
});
|
|
70214
|
+
const snapshots = branches.length ? await convex.query(api.branch_pr.getPrSnapshotsForBranches, {
|
|
70215
|
+
orgId: ctx.orgId,
|
|
70216
|
+
branches
|
|
70217
|
+
}) : [];
|
|
70204
70218
|
const labelById = new Map(labels.map((label) => [label._id, label]));
|
|
70205
70219
|
const branchKey2 = (branch) => `${branch.orgProjectId ?? ""}\0${branch.repoKey ?? ""}\0${branch.branchName ?? ""}`;
|
|
70206
70220
|
const snapshotByBranch = new Map(
|
|
@@ -78899,7 +78913,7 @@ For design-system generation, use \`libraries: ["Design System"]\`, retaining ot
|
|
|
78899
78913
|
|
|
78900
78914
|
**Add controls** \u2014 find and update the existing definition in place. For a new declaration, choose the component file or tempo/controls.ts using the placement policy above; do not duplicate or automatically migrate existing definitions. No asset registration is required. **Curate an asset** \u2014 check asset_list, then add variants and usage instructions on its library canvas. Keep the component\u2019s canvas-pointer comment up to date; avoid duplicate declarations.
|
|
78901
78915
|
|
|
78902
|
-
**Controls (defineControls, not defineAsset)** \u2014 use \`defineControls(Component, { propName: { type: "\u2026" } })\`. Supported types: text, boolean, number, range, color, select,
|
|
78916
|
+
**Controls (defineControls, not defineAsset)** \u2014 use \`defineControls(Component, { propName: { type: "\u2026" } })\`. Supported types: text, boolean, number, range, color, select, check, inline-check, multi-select, object, date, file. Legacy \`radio\` and \`inline-radio\` declarations are automatically treated as \`select\` dropdowns; use \`select\` in new declarations. Use \`false\` to hide a prop. Range requires min/max and optionally step. Choice controls infer finite options from the prop type or accept a type-compatible options array. Date writes a numeric timestamp; file writes durable URL strings to a string[] prop. Controls cannot invent props or convert incompatible values.
|
|
78903
78917
|
|
|
78904
78918
|
**Variants** \u2014 \`variants: { Default: { props: { children: "Save", size: "medium" } }, Small: { props: { children: "Save", size: "small" } } }\`. Every example is independent and includes all required props. Default is an ordinary name, not a fallback. No extends, args, argTypes, or top-level props/defaults. Components with required props may omit variants; insertion waits until required values are supplied. Existing-instance editors read the usage's values, not a saved example; optional reset removes that prop and restores the component default. Applying saved examples to existing instances is deferred.
|
|
78905
78919
|
|
|
@@ -88068,7 +88082,7 @@ var MissingRootDepsError = class extends TempoDevServerError {
|
|
|
88068
88082
|
// ../tempo-sdk/package.json
|
|
88069
88083
|
var package_default = {
|
|
88070
88084
|
name: "tempo-sdk",
|
|
88071
|
-
version: "0.0.
|
|
88085
|
+
version: "0.0.69",
|
|
88072
88086
|
publishConfig: {
|
|
88073
88087
|
tag: "sdk-v2-latest"
|
|
88074
88088
|
},
|
|
@@ -88177,7 +88191,7 @@ var package_default = {
|
|
|
88177
88191
|
demo: "TEMPO=true pnpm --filter @tempo-modules/vite-annotate-plugin-demo dev",
|
|
88178
88192
|
"demo:nextjs": "TEMPO=true pnpm --filter @tempo-modules/tempo-sdk-nextjs-demo dev",
|
|
88179
88193
|
test: "vitest run",
|
|
88180
|
-
"test:browser": "vitest run canvas-dependency-scan-browser.test.ts pruned-module-deletion-browser.test.ts asset-live-preview-browser.test.ts asset-popover-lifecycle-browser.test.ts component-controls-browser.test.ts canvas-controls-browser.test.ts canvas-capture-determinism-browser.test.ts canvas-host-vite-e2e.test.ts canvas-host-packed-sdk-e2e.test.ts error-tracking-e2e.test.ts",
|
|
88194
|
+
"test:browser": "vitest run canvas-dependency-scan-browser.test.ts pruned-module-deletion-browser.test.ts asset-live-preview-browser.test.ts asset-popover-lifecycle-browser.test.ts component-controls-browser.test.ts canvas-controls-browser.test.ts canvas-capture-determinism-browser.test.ts canvas-host-vite-e2e.test.ts canvas-host-packed-sdk-e2e.test.ts error-tracking-e2e.test.ts astro-integration.test.ts astro-storyboard-routing.test.ts astro-react-integration.test.ts astro-descriptor-browser.test.ts astro-packed.test.ts",
|
|
88181
88195
|
"test:watch": "vitest",
|
|
88182
88196
|
"test:nextjs:unit": "vitest run nextjs-loader.test.ts nextjs-wrapper.test.ts nextjs-fixtures.test.ts nextjs-published.test.ts",
|
|
88183
88197
|
"test:nextjs:integration": "vitest run nextjs-e2e-correctness.test.ts",
|
|
@@ -91812,6 +91826,15 @@ function deliver(reader, scan) {
|
|
|
91812
91826
|
});
|
|
91813
91827
|
return reader.delivery;
|
|
91814
91828
|
}
|
|
91829
|
+
function unchanged(previous, next) {
|
|
91830
|
+
if (!previous || previous.size !== next.size) return false;
|
|
91831
|
+
for (const [path72, stamp] of next) {
|
|
91832
|
+
const before2 = previous.get(path72);
|
|
91833
|
+
if (!before2 || before2.isDir !== stamp.isDir || !stamp.isDir && (before2.mtimeMs !== stamp.mtimeMs || before2.size !== stamp.size))
|
|
91834
|
+
return false;
|
|
91835
|
+
}
|
|
91836
|
+
return true;
|
|
91837
|
+
}
|
|
91815
91838
|
function createPollingScanPool(scan = scanTree) {
|
|
91816
91839
|
const scans = /* @__PURE__ */ new Map();
|
|
91817
91840
|
let queue = Promise.resolve();
|
|
@@ -91833,7 +91856,9 @@ function createPollingScanPool(scan = scanTree) {
|
|
|
91833
91856
|
running: null,
|
|
91834
91857
|
baseline: null,
|
|
91835
91858
|
scanCount: 0,
|
|
91836
|
-
lastDurationMs: 0
|
|
91859
|
+
lastDurationMs: 0,
|
|
91860
|
+
lastCompletedAt: 0,
|
|
91861
|
+
unchangedScans: 0
|
|
91837
91862
|
};
|
|
91838
91863
|
scans.set(key, entry);
|
|
91839
91864
|
}
|
|
@@ -91847,13 +91872,26 @@ function createPollingScanPool(scan = scanTree) {
|
|
|
91847
91872
|
const { nativeIgnorePaths, relativePathFilters } = splitIgnorePatterns(exclusions);
|
|
91848
91873
|
const keep = createEventKeepFilter(root3, relativePathFilters);
|
|
91849
91874
|
function schedule() {
|
|
91850
|
-
if (
|
|
91851
|
-
|
|
91875
|
+
if (shared.timer) clearTimeout(shared.timer);
|
|
91876
|
+
shared.timer = null;
|
|
91877
|
+
if (!shared.readers.size || shared.running) return;
|
|
91878
|
+
const interval = Math.min(
|
|
91879
|
+
...[...shared.readers].map(
|
|
91880
|
+
(r) => Math.min(
|
|
91881
|
+
r.interval * 2 ** shared.unchangedScans,
|
|
91882
|
+
Math.max(r.interval, r.maxIdleInterval ?? r.interval)
|
|
91883
|
+
)
|
|
91884
|
+
)
|
|
91885
|
+
);
|
|
91886
|
+
const delay3 = Math.max(
|
|
91887
|
+
0,
|
|
91888
|
+
interval - (performance.now() - shared.lastCompletedAt)
|
|
91889
|
+
);
|
|
91852
91890
|
shared.timer = setTimeout(() => {
|
|
91853
91891
|
shared.timer = null;
|
|
91854
91892
|
void run().catch(() => {
|
|
91855
91893
|
});
|
|
91856
|
-
},
|
|
91894
|
+
}, delay3);
|
|
91857
91895
|
}
|
|
91858
91896
|
function run() {
|
|
91859
91897
|
if (shared.running) return shared.running;
|
|
@@ -91863,12 +91901,14 @@ function createPollingScanPool(scan = scanTree) {
|
|
|
91863
91901
|
const snapshot = await scan(root3, nativeIgnorePaths, keep);
|
|
91864
91902
|
shared.lastDurationMs = performance.now() - start;
|
|
91865
91903
|
shared.scanCount++;
|
|
91904
|
+
shared.unchangedScans = unchanged(shared.baseline, snapshot) ? Math.min(30, shared.unchangedScans + 1) : 0;
|
|
91866
91905
|
shared.baseline = snapshot;
|
|
91867
91906
|
await Promise.all([...shared.readers].map((r) => deliver(r, snapshot)));
|
|
91868
91907
|
});
|
|
91869
91908
|
queue = operation.catch(() => {
|
|
91870
91909
|
});
|
|
91871
91910
|
shared.running = operation.catch((error) => {
|
|
91911
|
+
shared.unchangedScans = 0;
|
|
91872
91912
|
for (const r of shared.readers) {
|
|
91873
91913
|
try {
|
|
91874
91914
|
r.onError(
|
|
@@ -91880,13 +91920,16 @@ function createPollingScanPool(scan = scanTree) {
|
|
|
91880
91920
|
throw error;
|
|
91881
91921
|
}).finally(() => {
|
|
91882
91922
|
shared.running = null;
|
|
91923
|
+
shared.lastCompletedAt = performance.now();
|
|
91883
91924
|
schedule();
|
|
91884
91925
|
});
|
|
91885
91926
|
return shared.running;
|
|
91886
91927
|
}
|
|
91887
91928
|
try {
|
|
91888
|
-
if (shared.baseline)
|
|
91889
|
-
|
|
91929
|
+
if (shared.baseline) {
|
|
91930
|
+
await deliver(subscriber, shared.baseline);
|
|
91931
|
+
schedule();
|
|
91932
|
+
} else await run();
|
|
91890
91933
|
} catch (error) {
|
|
91891
91934
|
subscriber.active = false;
|
|
91892
91935
|
shared.readers.delete(subscriber);
|
|
@@ -91901,7 +91944,10 @@ function createPollingScanPool(scan = scanTree) {
|
|
|
91901
91944
|
subscriber.active = false;
|
|
91902
91945
|
shared.readers.delete(subscriber);
|
|
91903
91946
|
await subscriber.delivery;
|
|
91904
|
-
if (shared.readers.size)
|
|
91947
|
+
if (shared.readers.size) {
|
|
91948
|
+
schedule();
|
|
91949
|
+
return;
|
|
91950
|
+
}
|
|
91905
91951
|
if (shared.timer) clearTimeout(shared.timer);
|
|
91906
91952
|
shared.timer = null;
|
|
91907
91953
|
if (scans.get(key) === shared) scans.delete(key);
|
|
@@ -91932,6 +91978,7 @@ var DEFAULT_DEBOUNCE_MS = 100;
|
|
|
91932
91978
|
var DEFAULT_MAX_BATCH_SIZE = 1e3;
|
|
91933
91979
|
var DEFAULT_MAX_BUFFERED_EVENTS = 3e4;
|
|
91934
91980
|
var DEFAULT_POLLING_INTERVAL_MS = 500;
|
|
91981
|
+
var DEFAULT_IDLE_POLLING_INTERVAL_MS = 5e3;
|
|
91935
91982
|
var MIN_POLLING_INTERVAL_MS = 10;
|
|
91936
91983
|
var EINTR_RESTART_DELAY_MS = 100;
|
|
91937
91984
|
var MAX_RECOVERY_RESTARTS = 50;
|
|
@@ -92127,6 +92174,13 @@ async function watchLocal(rootPath, callback, options2 = {}) {
|
|
|
92127
92174
|
onError2(new Error("Event buffer full, dropping events"));
|
|
92128
92175
|
return;
|
|
92129
92176
|
}
|
|
92177
|
+
if (kept.length > remaining) {
|
|
92178
|
+
if (autoRecover) {
|
|
92179
|
+
void handleErrorWithRecovery("buffer overflow");
|
|
92180
|
+
return;
|
|
92181
|
+
}
|
|
92182
|
+
onError2(new Error("Event buffer full, dropping events"));
|
|
92183
|
+
}
|
|
92130
92184
|
eventBuffer.push(...kept.slice(0, remaining));
|
|
92131
92185
|
scheduleFlush();
|
|
92132
92186
|
},
|
|
@@ -92229,6 +92283,9 @@ async function watchWithPolling(rootPath, callback, options2) {
|
|
|
92229
92283
|
ignore,
|
|
92230
92284
|
{
|
|
92231
92285
|
interval: pollingInterval,
|
|
92286
|
+
// Default watches stay responsive while editing, then back off when
|
|
92287
|
+
// idle. An explicit interval preserves the caller's fixed cadence.
|
|
92288
|
+
maxIdleInterval: options2.pollingIntervalMs === void 0 ? DEFAULT_IDLE_POLLING_INTERVAL_MS : pollingInterval,
|
|
92232
92289
|
onError: onError2,
|
|
92233
92290
|
async onScan(scan) {
|
|
92234
92291
|
if (disposed) return;
|
|
@@ -92349,6 +92406,73 @@ async function parcelEventToFileEvent(event, rootInfo) {
|
|
|
92349
92406
|
};
|
|
92350
92407
|
}
|
|
92351
92408
|
|
|
92409
|
+
// ../../modules/file-watcher/reconciliation.ts
|
|
92410
|
+
function createReconciliationQueue(reconcile, options2 = {}) {
|
|
92411
|
+
const now = options2.now ?? Date.now;
|
|
92412
|
+
const minInterval = options2.minIntervalMs ?? 5e3;
|
|
92413
|
+
let dirtyRevision = 0;
|
|
92414
|
+
let completedRevision = 0;
|
|
92415
|
+
let running = false;
|
|
92416
|
+
let disposed = false;
|
|
92417
|
+
let failures = 0;
|
|
92418
|
+
let nextRunAt = Number.NEGATIVE_INFINITY;
|
|
92419
|
+
let timer = null;
|
|
92420
|
+
function schedule() {
|
|
92421
|
+
if (disposed || running || timer !== null || completedRevision === dirtyRevision)
|
|
92422
|
+
return;
|
|
92423
|
+
const delay3 = nextRunAt - now();
|
|
92424
|
+
if (delay3 <= 0) void run();
|
|
92425
|
+
else
|
|
92426
|
+
timer = setTimeout(() => {
|
|
92427
|
+
timer = null;
|
|
92428
|
+
void run();
|
|
92429
|
+
}, delay3);
|
|
92430
|
+
}
|
|
92431
|
+
async function run() {
|
|
92432
|
+
if (disposed || running) return;
|
|
92433
|
+
running = true;
|
|
92434
|
+
const revision = dirtyRevision;
|
|
92435
|
+
nextRunAt = now() + minInterval;
|
|
92436
|
+
try {
|
|
92437
|
+
await reconcile();
|
|
92438
|
+
if (!disposed) completedRevision = revision;
|
|
92439
|
+
failures = 0;
|
|
92440
|
+
} catch (error) {
|
|
92441
|
+
const delays = [5e3, 15e3, 6e4];
|
|
92442
|
+
nextRunAt = now() + delays[Math.min(failures++, delays.length - 1)];
|
|
92443
|
+
try {
|
|
92444
|
+
options2.onError?.(error);
|
|
92445
|
+
} catch {
|
|
92446
|
+
}
|
|
92447
|
+
} finally {
|
|
92448
|
+
running = false;
|
|
92449
|
+
schedule();
|
|
92450
|
+
}
|
|
92451
|
+
}
|
|
92452
|
+
return {
|
|
92453
|
+
invalidate() {
|
|
92454
|
+
if (!disposed) {
|
|
92455
|
+
dirtyRevision++;
|
|
92456
|
+
schedule();
|
|
92457
|
+
}
|
|
92458
|
+
},
|
|
92459
|
+
dispose() {
|
|
92460
|
+
disposed = true;
|
|
92461
|
+
if (timer !== null) clearTimeout(timer);
|
|
92462
|
+
timer = null;
|
|
92463
|
+
},
|
|
92464
|
+
getDiagnostics() {
|
|
92465
|
+
return {
|
|
92466
|
+
dirtyRevision,
|
|
92467
|
+
completedRevision,
|
|
92468
|
+
running,
|
|
92469
|
+
failures,
|
|
92470
|
+
pending: !disposed && dirtyRevision !== completedRevision
|
|
92471
|
+
};
|
|
92472
|
+
}
|
|
92473
|
+
};
|
|
92474
|
+
}
|
|
92475
|
+
|
|
92352
92476
|
// ../tempo-devserver/install-feedback.ts
|
|
92353
92477
|
var INSTALL_IDLE_TIMEOUT_MS = 5 * 6e4;
|
|
92354
92478
|
var CONNECTION_CODE = /\b(?:ETIMEDOUT|ESOCKETTIMEDOUT|ECONNRESET|ECONNREFUSED|ENOTFOUND|EAI_AGAIN|ENETUNREACH|EHOSTUNREACH|ERR_SOCKET_TIMEOUT|UND_ERR_CONNECT_TIMEOUT|UND_ERR_SOCKET)\b/;
|
|
@@ -94388,6 +94512,16 @@ var TempoDevServer = class _TempoDevServer {
|
|
|
94388
94512
|
// a debounced repair() call fires. `@modules/file-watcher` wraps
|
|
94389
94513
|
// @parcel/watcher with recursive watching, batching, coalescing, and
|
|
94390
94514
|
// auto-recovery, so this path does not need a periodic drift-polling backstop.
|
|
94515
|
+
this.managedReconciliation = createReconciliationQueue(
|
|
94516
|
+
async () => {
|
|
94517
|
+
if (!this.disposed) await this.repair();
|
|
94518
|
+
},
|
|
94519
|
+
{
|
|
94520
|
+
onError: (error) => {
|
|
94521
|
+
this.state.lastError = String(error);
|
|
94522
|
+
}
|
|
94523
|
+
}
|
|
94524
|
+
);
|
|
94391
94525
|
this.managedFileWatchers = [];
|
|
94392
94526
|
this.managedWatchVersion = 0;
|
|
94393
94527
|
this.managedFileWatcherStopPromise = null;
|
|
@@ -95750,6 +95884,7 @@ var TempoDevServer = class _TempoDevServer {
|
|
|
95750
95884
|
}
|
|
95751
95885
|
async dispose() {
|
|
95752
95886
|
this.disposed = true;
|
|
95887
|
+
this.managedReconciliation.dispose();
|
|
95753
95888
|
this.registry.dispose();
|
|
95754
95889
|
this.stopUrlHealthProbe();
|
|
95755
95890
|
await this.stopManagedFileWatchers();
|
|
@@ -95996,7 +96131,7 @@ var TempoDevServer = class _TempoDevServer {
|
|
|
95996
96131
|
// so one scheduled repair reconciles any drift fully.
|
|
95997
96132
|
onInterruption: () => {
|
|
95998
96133
|
if (!this.disposed && version === this.managedWatchVersion)
|
|
95999
|
-
this.
|
|
96134
|
+
this.managedReconciliation.invalidate();
|
|
96000
96135
|
}
|
|
96001
96136
|
}
|
|
96002
96137
|
);
|
|
@@ -96044,6 +96179,10 @@ var TempoDevServer = class _TempoDevServer {
|
|
|
96044
96179
|
}
|
|
96045
96180
|
scheduleManagedRepair() {
|
|
96046
96181
|
if (this.disposed) return;
|
|
96182
|
+
if (this.managedReconciliation.getDiagnostics().pending) {
|
|
96183
|
+
this.managedReconciliation.invalidate();
|
|
96184
|
+
return;
|
|
96185
|
+
}
|
|
96047
96186
|
if (this.repairDebounceTimer !== null) {
|
|
96048
96187
|
clearTimeout(this.repairDebounceTimer);
|
|
96049
96188
|
}
|
|
@@ -96111,7 +96250,7 @@ var TempoDevServer = class _TempoDevServer {
|
|
|
96111
96250
|
// converging the generated files with the source of truth even after
|
|
96112
96251
|
// transient I/O failures.
|
|
96113
96252
|
scheduleRecoveryReconcile() {
|
|
96114
|
-
if (this.disposed || this.reconcileRetryTimer !== null) {
|
|
96253
|
+
if (this.disposed || this.reconcileRetryTimer !== null || this.managedReconciliation.getDiagnostics().pending) {
|
|
96115
96254
|
return;
|
|
96116
96255
|
}
|
|
96117
96256
|
if (this.reconcileRetryCount >= _TempoDevServer.RECONCILE_RETRY_DELAYS.length) {
|
|
@@ -125763,7 +125902,7 @@ function buildBackends(runtime, toolsets, workspace) {
|
|
|
125763
125902
|
}
|
|
125764
125903
|
|
|
125765
125904
|
// src/version.ts
|
|
125766
|
-
var CLI_VERSION = "0.0.
|
|
125905
|
+
var CLI_VERSION = "0.0.128";
|
|
125767
125906
|
|
|
125768
125907
|
// src/canvas-hooks.ts
|
|
125769
125908
|
var import_pngjs4 = __toESM(require_png(), 1);
|
|
@@ -127002,4 +127141,4 @@ unpdf/dist/index.mjs:
|
|
|
127002
127141
|
* @license Apache-2.0
|
|
127003
127142
|
*)
|
|
127004
127143
|
*/
|
|
127005
|
-
//# sourceMappingURL=serve-
|
|
127144
|
+
//# sourceMappingURL=serve-WJBUWW5H.js.map
|