@openspecui/core 2.1.3 → 2.1.7
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/dashboard-display.d.mts +11 -0
- package/dist/dashboard-display.mjs +14 -0
- package/dist/hosted-app.d.mts +1 -1
- package/dist/hosted-app.mjs +1 -1
- package/dist/index.d.mts +37 -35
- package/dist/index.mjs +2 -2
- package/dist/opsx-display-path.d.mts +1 -1
- package/dist/opsx-display-path.mjs +1 -1
- package/package.json +7 -3
- /package/dist/{hosted-app-CY1XHUcf.d.mts → hosted-app-BP6Xje0B.d.mts} +0 -0
- /package/dist/{hosted-app-Bn-MNDZ0.mjs → hosted-app-C1JDznip.mjs} +0 -0
- /package/dist/{opsx-display-path-k65bc8bW.d.mts → opsx-display-path-Cb-CVa6h.d.mts} +0 -0
- /package/dist/{opsx-display-path-D-YbNUvQ.mjs → opsx-display-path-DDK7QA5y.mjs} +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/dashboard-display.d.ts
|
|
2
|
+
declare const DASHBOARD_RECENT_LIST_LIMIT = 10;
|
|
3
|
+
interface DashboardRecentListItem {
|
|
4
|
+
id: string;
|
|
5
|
+
updatedAt: number;
|
|
6
|
+
}
|
|
7
|
+
declare function compareDashboardItemsByUpdatedAt<T extends DashboardRecentListItem>(left: T, right: T): number;
|
|
8
|
+
declare function sortDashboardItemsByUpdatedAt<T extends DashboardRecentListItem>(items: readonly T[]): T[];
|
|
9
|
+
declare function selectRecentDashboardItems<T extends DashboardRecentListItem>(items: readonly T[], limit?: number): T[];
|
|
10
|
+
//#endregion
|
|
11
|
+
export { DASHBOARD_RECENT_LIST_LIMIT, DashboardRecentListItem, compareDashboardItemsByUpdatedAt, selectRecentDashboardItems, sortDashboardItemsByUpdatedAt };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/dashboard-display.ts
|
|
2
|
+
const DASHBOARD_RECENT_LIST_LIMIT = 10;
|
|
3
|
+
function compareDashboardItemsByUpdatedAt(left, right) {
|
|
4
|
+
return right.updatedAt - left.updatedAt || left.id.localeCompare(right.id);
|
|
5
|
+
}
|
|
6
|
+
function sortDashboardItemsByUpdatedAt(items) {
|
|
7
|
+
return [...items].sort(compareDashboardItemsByUpdatedAt);
|
|
8
|
+
}
|
|
9
|
+
function selectRecentDashboardItems(items, limit = DASHBOARD_RECENT_LIST_LIMIT) {
|
|
10
|
+
return sortDashboardItemsByUpdatedAt(items).slice(0, Math.max(0, Math.trunc(limit)));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { DASHBOARD_RECENT_LIST_LIMIT, compareDashboardItemsByUpdatedAt, selectRecentDashboardItems, sortDashboardItemsByUpdatedAt };
|
package/dist/hosted-app.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as HostedBackendHealthResponse, c as buildHostedVersionManifestUrl, d as normalizeHostedAppBaseUrl, f as resolveHostedAppBaseUrl, i as HostedAppVersionManifest, l as isHostedAppVersionManifest, n as HostedAppChannelManifest, o as OFFICIAL_APP_BASE_URL, p as resolveHostedChannelForVersion, r as HostedAppCompatibilityEntry, s as buildHostedLaunchUrl, t as HostedAppChannelKind, u as isHostedBackendHealthResponse } from "./hosted-app-
|
|
1
|
+
import { a as HostedBackendHealthResponse, c as buildHostedVersionManifestUrl, d as normalizeHostedAppBaseUrl, f as resolveHostedAppBaseUrl, i as HostedAppVersionManifest, l as isHostedAppVersionManifest, n as HostedAppChannelManifest, o as OFFICIAL_APP_BASE_URL, p as resolveHostedChannelForVersion, r as HostedAppCompatibilityEntry, s as buildHostedLaunchUrl, t as HostedAppChannelKind, u as isHostedBackendHealthResponse } from "./hosted-app-BP6Xje0B.mjs";
|
|
2
2
|
export { HostedAppChannelKind, HostedAppChannelManifest, HostedAppCompatibilityEntry, HostedAppVersionManifest, HostedBackendHealthResponse, OFFICIAL_APP_BASE_URL, buildHostedLaunchUrl, buildHostedVersionManifestUrl, isHostedAppVersionManifest, isHostedBackendHealthResponse, normalizeHostedAppBaseUrl, resolveHostedAppBaseUrl, resolveHostedChannelForVersion };
|
package/dist/hosted-app.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as isHostedBackendHealthResponse, c as resolveHostedChannelForVersion, i as isHostedAppVersionManifest, n as buildHostedLaunchUrl, o as normalizeHostedAppBaseUrl, r as buildHostedVersionManifestUrl, s as resolveHostedAppBaseUrl, t as OFFICIAL_APP_BASE_URL } from "./hosted-app-
|
|
1
|
+
import { a as isHostedBackendHealthResponse, c as resolveHostedChannelForVersion, i as isHostedAppVersionManifest, n as buildHostedLaunchUrl, o as normalizeHostedAppBaseUrl, r as buildHostedVersionManifestUrl, s as resolveHostedAppBaseUrl, t as OFFICIAL_APP_BASE_URL } from "./hosted-app-C1JDznip.mjs";
|
|
2
2
|
|
|
3
3
|
export { OFFICIAL_APP_BASE_URL, buildHostedLaunchUrl, buildHostedVersionManifestUrl, isHostedAppVersionManifest, isHostedBackendHealthResponse, normalizeHostedAppBaseUrl, resolveHostedAppBaseUrl, resolveHostedChannelForVersion };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as HostedBackendHealthResponse, c as buildHostedVersionManifestUrl, d as normalizeHostedAppBaseUrl, f as resolveHostedAppBaseUrl, i as HostedAppVersionManifest, l as isHostedAppVersionManifest, n as HostedAppChannelManifest, o as OFFICIAL_APP_BASE_URL, p as resolveHostedChannelForVersion, r as HostedAppCompatibilityEntry, s as buildHostedLaunchUrl, t as HostedAppChannelKind, u as isHostedBackendHealthResponse } from "./hosted-app-
|
|
2
|
-
import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-
|
|
1
|
+
import { a as HostedBackendHealthResponse, c as buildHostedVersionManifestUrl, d as normalizeHostedAppBaseUrl, f as resolveHostedAppBaseUrl, i as HostedAppVersionManifest, l as isHostedAppVersionManifest, n as HostedAppChannelManifest, o as OFFICIAL_APP_BASE_URL, p as resolveHostedChannelForVersion, r as HostedAppCompatibilityEntry, s as buildHostedLaunchUrl, t as HostedAppChannelKind, u as isHostedBackendHealthResponse } from "./hosted-app-BP6Xje0B.mjs";
|
|
2
|
+
import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-Cb-CVa6h.mjs";
|
|
3
3
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { EventEmitter } from "events";
|
|
@@ -306,11 +306,11 @@ declare const DeltaSpecSchema: z.ZodObject<{
|
|
|
306
306
|
/** Raw markdown content of the delta spec */
|
|
307
307
|
content: z.ZodString;
|
|
308
308
|
}, "strip", z.ZodTypeAny, {
|
|
309
|
-
specId: string;
|
|
310
309
|
content: string;
|
|
311
|
-
}, {
|
|
312
310
|
specId: string;
|
|
311
|
+
}, {
|
|
313
312
|
content: string;
|
|
313
|
+
specId: string;
|
|
314
314
|
}>;
|
|
315
315
|
type DeltaSpec = z.infer<typeof DeltaSpecSchema>;
|
|
316
316
|
/**
|
|
@@ -488,11 +488,11 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
488
488
|
/** Raw markdown content of the delta spec */
|
|
489
489
|
content: z.ZodString;
|
|
490
490
|
}, "strip", z.ZodTypeAny, {
|
|
491
|
-
specId: string;
|
|
492
491
|
content: string;
|
|
493
|
-
}, {
|
|
494
492
|
specId: string;
|
|
493
|
+
}, {
|
|
495
494
|
content: string;
|
|
495
|
+
specId: string;
|
|
496
496
|
}>, "many">>;
|
|
497
497
|
/** Optional metadata */
|
|
498
498
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -549,8 +549,8 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
549
549
|
} | undefined;
|
|
550
550
|
design?: string | undefined;
|
|
551
551
|
deltaSpecs?: {
|
|
552
|
-
specId: string;
|
|
553
552
|
content: string;
|
|
553
|
+
specId: string;
|
|
554
554
|
}[] | undefined;
|
|
555
555
|
}, {
|
|
556
556
|
id: string;
|
|
@@ -596,8 +596,8 @@ declare const ChangeSchema: z.ZodObject<{
|
|
|
596
596
|
} | undefined;
|
|
597
597
|
design?: string | undefined;
|
|
598
598
|
deltaSpecs?: {
|
|
599
|
-
specId: string;
|
|
600
599
|
content: string;
|
|
600
|
+
specId: string;
|
|
601
601
|
}[] | undefined;
|
|
602
602
|
}>;
|
|
603
603
|
type Change = z.infer<typeof ChangeSchema>;
|
|
@@ -803,8 +803,8 @@ declare class OpenSpecAdapter {
|
|
|
803
803
|
} | undefined;
|
|
804
804
|
design?: string | undefined;
|
|
805
805
|
deltaSpecs?: {
|
|
806
|
-
specId: string;
|
|
807
806
|
content: string;
|
|
807
|
+
specId: string;
|
|
808
808
|
}[] | undefined;
|
|
809
809
|
}[];
|
|
810
810
|
archivedCount: number;
|
|
@@ -1846,12 +1846,14 @@ interface DashboardGitCommitEntry {
|
|
|
1846
1846
|
type: 'commit';
|
|
1847
1847
|
hash: string;
|
|
1848
1848
|
title: string;
|
|
1849
|
+
committedAt: number;
|
|
1849
1850
|
relatedChanges: string[];
|
|
1850
1851
|
diff: DashboardGitDiffStats;
|
|
1851
1852
|
}
|
|
1852
1853
|
interface DashboardGitUncommittedEntry {
|
|
1853
1854
|
type: 'uncommitted';
|
|
1854
1855
|
title: string;
|
|
1856
|
+
updatedAt: number | null;
|
|
1855
1857
|
relatedChanges: string[];
|
|
1856
1858
|
diff: DashboardGitDiffStats;
|
|
1857
1859
|
}
|
|
@@ -1906,14 +1908,14 @@ declare const ArtifactStatusSchema: z.ZodObject<{
|
|
|
1906
1908
|
missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1907
1909
|
relativePath: z.ZodOptional<z.ZodString>;
|
|
1908
1910
|
}, "strip", z.ZodTypeAny, {
|
|
1909
|
-
id: string;
|
|
1910
1911
|
status: "done" | "ready" | "blocked";
|
|
1912
|
+
id: string;
|
|
1911
1913
|
outputPath: string;
|
|
1912
1914
|
missingDeps?: string[] | undefined;
|
|
1913
1915
|
relativePath?: string | undefined;
|
|
1914
1916
|
}, {
|
|
1915
|
-
id: string;
|
|
1916
1917
|
status: "done" | "ready" | "blocked";
|
|
1918
|
+
id: string;
|
|
1917
1919
|
outputPath: string;
|
|
1918
1920
|
missingDeps?: string[] | undefined;
|
|
1919
1921
|
relativePath?: string | undefined;
|
|
@@ -1931,14 +1933,14 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
1931
1933
|
missingDeps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1932
1934
|
relativePath: z.ZodOptional<z.ZodString>;
|
|
1933
1935
|
}, "strip", z.ZodTypeAny, {
|
|
1934
|
-
id: string;
|
|
1935
1936
|
status: "done" | "ready" | "blocked";
|
|
1937
|
+
id: string;
|
|
1936
1938
|
outputPath: string;
|
|
1937
1939
|
missingDeps?: string[] | undefined;
|
|
1938
1940
|
relativePath?: string | undefined;
|
|
1939
1941
|
}, {
|
|
1940
|
-
id: string;
|
|
1941
1942
|
status: "done" | "ready" | "blocked";
|
|
1943
|
+
id: string;
|
|
1942
1944
|
outputPath: string;
|
|
1943
1945
|
missingDeps?: string[] | undefined;
|
|
1944
1946
|
relativePath?: string | undefined;
|
|
@@ -1949,8 +1951,8 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
1949
1951
|
isComplete: boolean;
|
|
1950
1952
|
applyRequires: string[];
|
|
1951
1953
|
artifacts: {
|
|
1952
|
-
id: string;
|
|
1953
1954
|
status: "done" | "ready" | "blocked";
|
|
1955
|
+
id: string;
|
|
1954
1956
|
outputPath: string;
|
|
1955
1957
|
missingDeps?: string[] | undefined;
|
|
1956
1958
|
relativePath?: string | undefined;
|
|
@@ -1961,8 +1963,8 @@ declare const ChangeStatusSchema: z.ZodObject<{
|
|
|
1961
1963
|
isComplete: boolean;
|
|
1962
1964
|
applyRequires: string[];
|
|
1963
1965
|
artifacts: {
|
|
1964
|
-
id: string;
|
|
1965
1966
|
status: "done" | "ready" | "blocked";
|
|
1967
|
+
id: string;
|
|
1966
1968
|
outputPath: string;
|
|
1967
1969
|
missingDeps?: string[] | undefined;
|
|
1968
1970
|
relativePath?: string | undefined;
|
|
@@ -1975,13 +1977,13 @@ declare const DependencyInfoSchema: z.ZodObject<{
|
|
|
1975
1977
|
path: z.ZodString;
|
|
1976
1978
|
description: z.ZodString;
|
|
1977
1979
|
}, "strip", z.ZodTypeAny, {
|
|
1978
|
-
id: string;
|
|
1979
1980
|
path: string;
|
|
1981
|
+
id: string;
|
|
1980
1982
|
description: string;
|
|
1981
1983
|
done: boolean;
|
|
1982
1984
|
}, {
|
|
1983
|
-
id: string;
|
|
1984
1985
|
path: string;
|
|
1986
|
+
id: string;
|
|
1985
1987
|
description: string;
|
|
1986
1988
|
done: boolean;
|
|
1987
1989
|
}>;
|
|
@@ -2089,13 +2091,13 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
2089
2091
|
path: z.ZodString;
|
|
2090
2092
|
description: z.ZodString;
|
|
2091
2093
|
}, "strip", z.ZodTypeAny, {
|
|
2092
|
-
id: string;
|
|
2093
2094
|
path: string;
|
|
2095
|
+
id: string;
|
|
2094
2096
|
description: string;
|
|
2095
2097
|
done: boolean;
|
|
2096
2098
|
}, {
|
|
2097
|
-
id: string;
|
|
2098
2099
|
path: string;
|
|
2100
|
+
id: string;
|
|
2099
2101
|
description: string;
|
|
2100
2102
|
done: boolean;
|
|
2101
2103
|
}>, "many">;
|
|
@@ -2109,8 +2111,8 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
2109
2111
|
artifactId: string;
|
|
2110
2112
|
template: string;
|
|
2111
2113
|
dependencies: {
|
|
2112
|
-
id: string;
|
|
2113
2114
|
path: string;
|
|
2115
|
+
id: string;
|
|
2114
2116
|
description: string;
|
|
2115
2117
|
done: boolean;
|
|
2116
2118
|
}[];
|
|
@@ -2127,8 +2129,8 @@ declare const ArtifactInstructionsSchema: z.ZodObject<{
|
|
|
2127
2129
|
artifactId: string;
|
|
2128
2130
|
template: string;
|
|
2129
2131
|
dependencies: {
|
|
2130
|
-
id: string;
|
|
2131
2132
|
path: string;
|
|
2133
|
+
id: string;
|
|
2132
2134
|
description: string;
|
|
2133
2135
|
done: boolean;
|
|
2134
2136
|
}[];
|
|
@@ -2174,8 +2176,8 @@ declare const SchemaResolutionSchema: z.ZodObject<{
|
|
|
2174
2176
|
displayPath?: string | undefined;
|
|
2175
2177
|
}>, "many">;
|
|
2176
2178
|
}, "strip", z.ZodTypeAny, {
|
|
2177
|
-
name: string;
|
|
2178
2179
|
path: string;
|
|
2180
|
+
name: string;
|
|
2179
2181
|
source: "project" | "user" | "package";
|
|
2180
2182
|
shadows: {
|
|
2181
2183
|
path: string;
|
|
@@ -2184,8 +2186,8 @@ declare const SchemaResolutionSchema: z.ZodObject<{
|
|
|
2184
2186
|
}[];
|
|
2185
2187
|
displayPath?: string | undefined;
|
|
2186
2188
|
}, {
|
|
2187
|
-
name: string;
|
|
2188
2189
|
path: string;
|
|
2190
|
+
name: string;
|
|
2189
2191
|
source: "project" | "user" | "package";
|
|
2190
2192
|
shadows: {
|
|
2191
2193
|
path: string;
|
|
@@ -2555,19 +2557,19 @@ declare const PtyCreateMessageSchema: z.ZodObject<{
|
|
|
2555
2557
|
}, "strip", z.ZodTypeAny, {
|
|
2556
2558
|
type: "create";
|
|
2557
2559
|
requestId: string;
|
|
2558
|
-
command?: string | undefined;
|
|
2559
|
-
args?: string[] | undefined;
|
|
2560
2560
|
cols?: number | undefined;
|
|
2561
2561
|
rows?: number | undefined;
|
|
2562
|
+
command?: string | undefined;
|
|
2563
|
+
args?: string[] | undefined;
|
|
2562
2564
|
closeTip?: string | undefined;
|
|
2563
2565
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
2564
2566
|
}, {
|
|
2565
2567
|
type: "create";
|
|
2566
2568
|
requestId: string;
|
|
2567
|
-
command?: string | undefined;
|
|
2568
|
-
args?: string[] | undefined;
|
|
2569
2569
|
cols?: number | undefined;
|
|
2570
2570
|
rows?: number | undefined;
|
|
2571
|
+
command?: string | undefined;
|
|
2572
|
+
args?: string[] | undefined;
|
|
2571
2573
|
closeTip?: string | undefined;
|
|
2572
2574
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
2573
2575
|
}>;
|
|
@@ -2645,19 +2647,19 @@ declare const PtyClientMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2645
2647
|
}, "strip", z.ZodTypeAny, {
|
|
2646
2648
|
type: "create";
|
|
2647
2649
|
requestId: string;
|
|
2648
|
-
command?: string | undefined;
|
|
2649
|
-
args?: string[] | undefined;
|
|
2650
2650
|
cols?: number | undefined;
|
|
2651
2651
|
rows?: number | undefined;
|
|
2652
|
+
command?: string | undefined;
|
|
2653
|
+
args?: string[] | undefined;
|
|
2652
2654
|
closeTip?: string | undefined;
|
|
2653
2655
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
2654
2656
|
}, {
|
|
2655
2657
|
type: "create";
|
|
2656
2658
|
requestId: string;
|
|
2657
|
-
command?: string | undefined;
|
|
2658
|
-
args?: string[] | undefined;
|
|
2659
2659
|
cols?: number | undefined;
|
|
2660
2660
|
rows?: number | undefined;
|
|
2661
|
+
command?: string | undefined;
|
|
2662
|
+
args?: string[] | undefined;
|
|
2661
2663
|
closeTip?: string | undefined;
|
|
2662
2664
|
closeCallbackUrl?: string | Record<string, string> | undefined;
|
|
2663
2665
|
}>, z.ZodObject<{
|
|
@@ -2853,14 +2855,14 @@ declare const PtyErrorResponseSchema: z.ZodObject<{
|
|
|
2853
2855
|
message: z.ZodString;
|
|
2854
2856
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
2855
2857
|
}, "strip", z.ZodTypeAny, {
|
|
2858
|
+
type: "error";
|
|
2856
2859
|
code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED";
|
|
2857
2860
|
message: string;
|
|
2858
|
-
type: "error";
|
|
2859
2861
|
sessionId?: string | undefined;
|
|
2860
2862
|
}, {
|
|
2863
|
+
type: "error";
|
|
2861
2864
|
code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED";
|
|
2862
2865
|
message: string;
|
|
2863
|
-
type: "error";
|
|
2864
2866
|
sessionId?: string | undefined;
|
|
2865
2867
|
}>;
|
|
2866
2868
|
declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -2991,14 +2993,14 @@ declare const PtyServerMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2991
2993
|
message: z.ZodString;
|
|
2992
2994
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
2993
2995
|
}, "strip", z.ZodTypeAny, {
|
|
2996
|
+
type: "error";
|
|
2994
2997
|
code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED";
|
|
2995
2998
|
message: string;
|
|
2996
|
-
type: "error";
|
|
2997
2999
|
sessionId?: string | undefined;
|
|
2998
3000
|
}, {
|
|
3001
|
+
type: "error";
|
|
2999
3002
|
code: "INVALID_JSON" | "INVALID_MESSAGE" | "SESSION_NOT_FOUND" | "PTY_CREATE_FAILED";
|
|
3000
3003
|
message: string;
|
|
3001
|
-
type: "error";
|
|
3002
3004
|
sessionId?: string | undefined;
|
|
3003
3005
|
}>]>;
|
|
3004
3006
|
type PtyClientMessage = z.infer<typeof PtyClientMessageSchema>;
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as isHostedBackendHealthResponse, c as resolveHostedChannelForVersion, i as isHostedAppVersionManifest, n as buildHostedLaunchUrl, o as normalizeHostedAppBaseUrl, r as buildHostedVersionManifestUrl, s as resolveHostedAppBaseUrl, t as OFFICIAL_APP_BASE_URL } from "./hosted-app-
|
|
2
|
-
import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-
|
|
1
|
+
import { a as isHostedBackendHealthResponse, c as resolveHostedChannelForVersion, i as isHostedAppVersionManifest, n as buildHostedLaunchUrl, o as normalizeHostedAppBaseUrl, r as buildHostedVersionManifestUrl, s as resolveHostedAppBaseUrl, t as OFFICIAL_APP_BASE_URL } from "./hosted-app-C1JDznip.mjs";
|
|
2
|
+
import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-DDK7QA5y.mjs";
|
|
3
3
|
import { mkdir, readFile, rename, writeFile } from "fs/promises";
|
|
4
4
|
import { dirname, join } from "path";
|
|
5
5
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-
|
|
1
|
+
import { n as toOpsxDisplayPath, t as VIRTUAL_PROJECT_DIRNAME } from "./opsx-display-path-Cb-CVa6h.mjs";
|
|
2
2
|
export { VIRTUAL_PROJECT_DIRNAME, toOpsxDisplayPath };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openspecui/core",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.7",
|
|
4
4
|
"description": "Core OpenSpec adapter and parser",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
"import": "./dist/index.mjs",
|
|
11
11
|
"types": "./dist/index.d.mts"
|
|
12
12
|
},
|
|
13
|
+
"./dashboard-display": {
|
|
14
|
+
"import": "./dist/dashboard-display.mjs",
|
|
15
|
+
"types": "./dist/dashboard-display.d.mts"
|
|
16
|
+
},
|
|
13
17
|
"./hosted-app": {
|
|
14
18
|
"import": "./dist/hosted-app.mjs",
|
|
15
19
|
"types": "./dist/hosted-app.d.mts"
|
|
@@ -23,8 +27,8 @@
|
|
|
23
27
|
"dist"
|
|
24
28
|
],
|
|
25
29
|
"scripts": {
|
|
26
|
-
"build": "tsdown src/index.ts src/opsx-display-path.ts src/hosted-app.ts --format esm --dts",
|
|
27
|
-
"dev": "tsdown src/index.ts src/opsx-display-path.ts src/hosted-app.ts --format esm --dts --watch",
|
|
30
|
+
"build": "tsdown src/index.ts src/dashboard-display.ts src/opsx-display-path.ts src/hosted-app.ts --format esm --dts",
|
|
31
|
+
"dev": "tsdown src/index.ts src/dashboard-display.ts src/opsx-display-path.ts src/hosted-app.ts --format esm --dts --watch",
|
|
28
32
|
"test": "vitest run",
|
|
29
33
|
"test:watch": "vitest",
|
|
30
34
|
"typecheck": "tsc --noEmit"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|