@kmugalkhod/lightcode 0.15.0 → 0.16.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/README.md +16 -5
- package/assets/web/index-wma2v20c.css +1 -0
- package/assets/web/index-wzb9vzdt.js +149 -0
- package/assets/web/index.html +1 -1
- package/cli.js +18 -3
- package/package.json +1 -1
- package/server.js +463 -63
- package/assets/web/index-qeqpc3cb.css +0 -1
- package/assets/web/index-yavzmb1c.js +0 -149
package/assets/web/index.html
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<meta name="theme-color" content="#0D1117" />
|
|
8
8
|
<title>Lightcode</title>
|
|
9
9
|
|
|
10
|
-
<link rel="stylesheet" crossorigin href="./index-
|
|
10
|
+
<link rel="stylesheet" crossorigin href="./index-wma2v20c.css"><script type="module" crossorigin src="./index-wzb9vzdt.js"></script></head>
|
|
11
11
|
<body>
|
|
12
12
|
<!--
|
|
13
13
|
THESIS: One local coding workspace shared with the CLI; this surface rejects dashboard-card clutter and keeps the project conversation central.
|
package/cli.js
CHANGED
|
@@ -124,7 +124,7 @@ var init_logger = __esm(() => {
|
|
|
124
124
|
});
|
|
125
125
|
|
|
126
126
|
// packages/shared/src/version.ts
|
|
127
|
-
var lightcodeVersion = "0.
|
|
127
|
+
var lightcodeVersion = "0.16.0";
|
|
128
128
|
|
|
129
129
|
// packages/shared/src/index.ts
|
|
130
130
|
var productName = "Lightcode";
|
|
@@ -10089,7 +10089,7 @@ var init_runtime16 = __esm(() => {
|
|
|
10089
10089
|
|
|
10090
10090
|
// packages/ai/src/workspace-browser.ts
|
|
10091
10091
|
import { z as z37 } from "zod";
|
|
10092
|
-
var workspaceLocationIdSchema, workspaceLocationStateSchema, workspaceLocationSchema, workspaceLocationsResponseSchema, workspaceBrowserOpenRequestSchema, workspaceBrowserIdSchema, workspaceBrowserOpenResponseSchema, workspacePathSegmentSchema, workspacePathSegmentsSchema, workspaceBrowserCursorSchema, workspaceBrowserEntriesRequestSchema, workspaceBrowserEntryKindSchema, workspaceBrowserSymlinkStateSchema, workspaceBrowserEntrySchema, workspaceBrowserEntriesResponseSchema, workspaceBrowserSelectRequestSchema, workspaceGrantIdSchema, workspaceGrantSchema, workspaceBrowserSelectResponseSchema, workspaceSessionPathParamsSchema, workspaceSessionCreateRequestSchema, workspaceBrowserPathParamsSchema, workspaceApiErrorCodeSchema, workspaceApiErrorResponseSchema;
|
|
10092
|
+
var workspaceLocationIdSchema, workspaceLocationStateSchema, workspaceLocationSchema, workspaceLocationsResponseSchema, workspaceBrowserOpenRequestSchema, workspaceBrowserIdSchema, workspaceBrowserOpenResponseSchema, workspacePathSegmentSchema, workspacePathSegmentsSchema, workspaceBrowserCursorSchema, workspaceBrowserEntriesRequestSchema, workspaceBrowserEntryKindSchema, workspaceBrowserSymlinkStateSchema, workspaceBrowserEntrySchema, workspaceBrowserEntriesResponseSchema, workspaceBrowserSelectRequestSchema, workspaceGrantIdSchema, workspaceGrantSchema, workspaceNativePickerRequestSchema, workspaceNativePickerResponseSchema, workspaceBrowserSelectResponseSchema, workspaceSessionPathParamsSchema, workspaceSessionCreateRequestSchema, workspaceBrowserPathParamsSchema, workspaceApiErrorCodeSchema, workspaceApiErrorResponseSchema;
|
|
10093
10093
|
var init_workspace_browser = __esm(() => {
|
|
10094
10094
|
init_coding_agent_modes();
|
|
10095
10095
|
init_permissions();
|
|
@@ -10171,6 +10171,16 @@ var init_workspace_browser = __esm(() => {
|
|
|
10171
10171
|
pathLabel: z37.string().min(1).max(4096),
|
|
10172
10172
|
createdAt: z37.string().min(1)
|
|
10173
10173
|
}).strict();
|
|
10174
|
+
workspaceNativePickerRequestSchema = z37.object({}).strict();
|
|
10175
|
+
workspaceNativePickerResponseSchema = z37.discriminatedUnion("outcome", [
|
|
10176
|
+
z37.object({
|
|
10177
|
+
outcome: z37.literal("selected"),
|
|
10178
|
+
workspace: workspaceGrantSchema
|
|
10179
|
+
}).strict(),
|
|
10180
|
+
z37.object({
|
|
10181
|
+
outcome: z37.literal("cancelled")
|
|
10182
|
+
}).strict()
|
|
10183
|
+
]);
|
|
10174
10184
|
workspaceBrowserSelectResponseSchema = z37.object({
|
|
10175
10185
|
workspace: workspaceGrantSchema
|
|
10176
10186
|
}).strict();
|
|
@@ -10198,7 +10208,10 @@ var init_workspace_browser = __esm(() => {
|
|
|
10198
10208
|
"browser_capability_expired",
|
|
10199
10209
|
"workspace_grant_not_found",
|
|
10200
10210
|
"invalid_cursor",
|
|
10201
|
-
"workspace_unavailable"
|
|
10211
|
+
"workspace_unavailable",
|
|
10212
|
+
"native_picker_busy",
|
|
10213
|
+
"native_picker_unavailable",
|
|
10214
|
+
"native_picker_failed"
|
|
10202
10215
|
]);
|
|
10203
10216
|
workspaceApiErrorResponseSchema = z37.object({
|
|
10204
10217
|
error: z37.string().min(1),
|
|
@@ -12702,6 +12715,8 @@ __export(exports_runtime, {
|
|
|
12702
12715
|
workspaceSessionCreateRequestSchema: () => workspaceSessionCreateRequestSchema,
|
|
12703
12716
|
workspacePathSegmentsSchema: () => workspacePathSegmentsSchema,
|
|
12704
12717
|
workspacePathSegmentSchema: () => workspacePathSegmentSchema,
|
|
12718
|
+
workspaceNativePickerResponseSchema: () => workspaceNativePickerResponseSchema,
|
|
12719
|
+
workspaceNativePickerRequestSchema: () => workspaceNativePickerRequestSchema,
|
|
12705
12720
|
workspaceLocationsResponseSchema: () => workspaceLocationsResponseSchema,
|
|
12706
12721
|
workspaceLocationStateSchema: () => workspaceLocationStateSchema,
|
|
12707
12722
|
workspaceLocationSchema: () => workspaceLocationSchema,
|