@innovatorved/code-lab 0.5.0 → 0.6.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/ARCHITECTURE.md +3 -3
- package/CHANGELOG.md +23 -0
- package/README.md +3 -3
- package/dist/code-lab-sql.css +87 -64
- package/dist/code-lab-sql.esm.js +109 -86
- package/dist/code-lab-sql.umd.js +110 -87
- package/dist/code-lab.css +32 -7273
- package/dist/code-lab.d.ts +1 -1
- package/dist/code-lab.esm.js +4966 -74622
- package/dist/code-lab.js +4974 -74631
- package/dist/code-lab.umd.js +4974 -74631
- package/dist/extensions/cpp.d.ts +2 -2
- package/dist/extensions/cpp.esm.js +1788 -14707
- package/dist/extensions/cpp.js +1788 -14707
- package/dist/extensions/guided-lab.esm.js +2938 -16127
- package/dist/extensions/guided-lab.js +2938 -16127
- package/dist/extensions/python.d.ts +2 -2
- package/dist/extensions/python.esm.js +1769 -14701
- package/dist/extensions/python.js +1769 -14701
- package/dist/index.d.ts +1 -1
- package/dist/packages/sql/src/styles.d.ts +1 -1
- package/dist/packages/ui/src/settings-dialog.d.ts +2 -0
- package/dist/preview-sw.js +4 -188
- package/dist/runtime.esm.js +109 -10284
- package/dist/runtime.js +107 -10284
- package/dist/schemas.d.ts +2 -2
- package/dist/schemas.esm.js +2938 -16127
- package/dist/schemas.js +2941 -16130
- package/dist/scm.d.ts +221 -20
- package/dist/shell.esm.js +811 -10002
- package/dist/shell.js +811 -10002
- package/dist/storage.d.ts +9 -0
- package/dist/terminal.esm.js +20 -1347
- package/dist/terminal.js +20 -1347
- package/dist/workbench/command-palette.d.ts +16 -1
- package/dist/workbench/diff-editor.d.ts +27 -1
- package/dist/workbench/icons.d.ts +6 -2
- package/dist/workbench/index.d.ts +33 -1
- package/dist/workbench/intellisense.d.ts +194 -0
- package/dist/workbench/styles.d.ts +1 -1
- package/dist/workbench/xterm-adapter.d.ts +122 -0
- package/package.json +7 -1
- package/packages/commands/package.json +1 -1
- package/packages/core/package.json +1 -1
- package/packages/editor/package.json +1 -1
- package/packages/fs/package.json +1 -1
- package/packages/preview/package.json +1 -1
- package/packages/runtime/package.json +1 -1
- package/packages/settings/package.json +1 -1
- package/packages/sql/package.json +1 -1
- package/packages/sql/src/styles.ts +87 -64
- package/packages/terminal/package.json +1 -1
- package/packages/ui/package.json +1 -1
- package/packages/ui/src/observability.ts +12 -14
- package/packages/ui/src/settings-dialog.ts +383 -47
- package/packages/ui/src/themes.ts +89 -23
- package/src/code-lab.css +1883 -578
- package/src/extensions/cpp.ts +304 -38
- package/src/extensions/python.ts +342 -43
- package/src/index.ts +1 -1
- package/src/runtime.ts +272 -43
- package/src/schemas.ts +2 -2
- package/src/scm.ts +1467 -92
- package/src/shell.ts +1075 -93
- package/src/storage.ts +66 -3
- package/src/terminal.ts +148 -12
- package/src/workbench/command-palette.ts +289 -48
- package/src/workbench/diff-editor.ts +244 -78
- package/src/workbench/drawer.ts +5 -5
- package/src/workbench/icons.ts +250 -53
- package/src/workbench/index.ts +7 -1
- package/src/workbench/intellisense.ts +1871 -0
- package/src/workbench/styles.ts +58 -54
- package/src/workbench/toolbar.ts +1 -1
- package/src/workbench/xterm-adapter.ts +1571 -0
- package/src/workbench.ts +1699 -324
package/dist/storage.d.ts
CHANGED
|
@@ -15,6 +15,9 @@ export interface StoredProject {
|
|
|
15
15
|
id: string;
|
|
16
16
|
name: string;
|
|
17
17
|
files: Record<string, string>;
|
|
18
|
+
binaryFiles?: Record<string, Uint8Array | string>;
|
|
19
|
+
gitFiles?: Record<string, Uint8Array | string>;
|
|
20
|
+
gitMeta?: Record<string, unknown>;
|
|
18
21
|
updatedAt: number;
|
|
19
22
|
createdAt?: number;
|
|
20
23
|
entry?: string;
|
|
@@ -49,6 +52,8 @@ export declare function upsertWorkspaceMeta(meta: WorkspaceMeta): void;
|
|
|
49
52
|
export declare function removeWorkspaceMeta(labId: string): void;
|
|
50
53
|
export declare function hasWorkspaceData(labId: string): boolean;
|
|
51
54
|
export declare function createBlankWorkspaceId(): string;
|
|
55
|
+
export declare function encodeBase64Bytes(bytes: Uint8Array): string;
|
|
56
|
+
export declare function decodeBase64Bytes(b64: string): Uint8Array;
|
|
52
57
|
export declare class WorkspaceStorage {
|
|
53
58
|
static readonly WORKSPACE_REGISTRY_KEY = "codelab:workspace-registry:v1";
|
|
54
59
|
static readonly listWorkspaces: typeof listWorkspaces;
|
|
@@ -89,6 +94,8 @@ export declare const CodeLabWorkspaceStorage: {
|
|
|
89
94
|
removeWorkspaceMeta: typeof removeWorkspaceMeta;
|
|
90
95
|
hasWorkspaceData: typeof hasWorkspaceData;
|
|
91
96
|
createBlankWorkspaceId: typeof createBlankWorkspaceId;
|
|
97
|
+
encodeBase64Bytes: typeof encodeBase64Bytes;
|
|
98
|
+
decodeBase64Bytes: typeof decodeBase64Bytes;
|
|
92
99
|
};
|
|
93
100
|
declare const _default: {
|
|
94
101
|
WORKSPACE_REGISTRY_KEY: string;
|
|
@@ -100,5 +107,7 @@ declare const _default: {
|
|
|
100
107
|
removeWorkspaceMeta: typeof removeWorkspaceMeta;
|
|
101
108
|
hasWorkspaceData: typeof hasWorkspaceData;
|
|
102
109
|
createBlankWorkspaceId: typeof createBlankWorkspaceId;
|
|
110
|
+
encodeBase64Bytes: typeof encodeBase64Bytes;
|
|
111
|
+
decodeBase64Bytes: typeof decodeBase64Bytes;
|
|
103
112
|
};
|
|
104
113
|
export default _default;
|