larness 0.3.0 → 0.4.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.
Files changed (54) hide show
  1. package/apps/server/dist/{address-CaYVz64G.js → address-BDs0FfMq.js} +1 -1
  2. package/apps/server/dist/{client-Bh20nnvS.js → client-D88ULjn9.js} +1 -1
  3. package/apps/server/dist/{doctor-CFNC4Inb.js → doctor-dwTQiTef.js} +1 -1
  4. package/apps/server/dist/doctor.js +1 -1
  5. package/apps/server/dist/index.js +12224 -5381
  6. package/apps/server/dist/{managed-BPl4Lyn0.js → managed-Br7VqQiP.js} +73 -9
  7. package/apps/server/dist/{paths-BAdni_6q.js → paths-DUfwiH2X.js} +646 -18
  8. package/apps/server/dist/{status-DMHY6AAL.js → status-D2oSIMoj.js} +1 -1
  9. package/apps/server/dist/status.js +3 -3
  10. package/apps/server/dist/tui.js +4 -4
  11. package/apps/server/drizzle/0032_agent_profile.sql +1 -0
  12. package/apps/server/drizzle/0033_agent_profile_service_ops.sql +1 -0
  13. package/apps/server/drizzle/0034_agent_profile_coding_plan.sql +1 -0
  14. package/apps/server/drizzle/0035_session_title_source.sql +1 -0
  15. package/apps/server/drizzle/0036_project_memory.sql +62 -0
  16. package/apps/server/drizzle/0037_web_search.sql +14 -0
  17. package/apps/server/drizzle/0038_document_attachments.sql +16 -0
  18. package/apps/server/drizzle/meta/0032_snapshot.json +5169 -0
  19. package/apps/server/drizzle/meta/0035_snapshot.json +5177 -0
  20. package/apps/server/drizzle/meta/0036_snapshot.json +5576 -0
  21. package/apps/server/drizzle/meta/0037_snapshot.json +5667 -0
  22. package/apps/server/drizzle/meta/0038_snapshot.json +5776 -0
  23. package/apps/server/drizzle/meta/_journal.json +49 -0
  24. package/apps/server/package.json +10 -0
  25. package/apps/web/dist/assets/{FileEditor-DE6LrI-M.js → FileEditor-EgU1WoyG.js} +1 -1
  26. package/apps/web/dist/assets/{FileViewer-DRVKNNXJ.js → FileViewer-CK3jt-Kt.js} +1 -1
  27. package/apps/web/dist/assets/{cssMode-B9FyCAPl.js → cssMode-C8rMoO9f.js} +1 -1
  28. package/apps/web/dist/assets/{editor.api-Ci88W9RG.js → editor.api-oDs5eZGS.js} +1 -1
  29. package/apps/web/dist/assets/{freemarker2-DG29rXiM.js → freemarker2-Bpg8JM09.js} +1 -1
  30. package/apps/web/dist/assets/{handlebars-BdUtfAnO.js → handlebars-17J16rlT.js} +1 -1
  31. package/apps/web/dist/assets/{html-D_HjNTyA.js → html-DJQFF1_1.js} +1 -1
  32. package/apps/web/dist/assets/{htmlMode-CmbE2qeS.js → htmlMode-H8gHwZ6x.js} +1 -1
  33. package/apps/web/dist/assets/{index-DTot0J9O.js → index-BTVfvWIs.js} +2 -2
  34. package/apps/web/dist/assets/{javascript-CEShQSfS.js → javascript-CjeM-nVA.js} +1 -1
  35. package/apps/web/dist/assets/{jsonMode-CiiEUOHC.js → jsonMode-C6seMV0X.js} +1 -1
  36. package/apps/web/dist/assets/{liquid-Bj4N-0iy.js → liquid-B33LyktO.js} +1 -1
  37. package/apps/web/dist/assets/{lspLanguageFeatures-A8ZbLPDT.js → lspLanguageFeatures-H7IuoVNs.js} +1 -1
  38. package/apps/web/dist/assets/main-CQzbYrTZ.js +157 -0
  39. package/apps/web/dist/assets/main-gq3n_vn8.css +1 -0
  40. package/apps/web/dist/assets/{mdx-BjSmwFzj.js → mdx-CcNcLUd8.js} +1 -1
  41. package/apps/web/dist/assets/{monaco-BQTeQiD2.js → monaco-xD43LINc.js} +3 -3
  42. package/apps/web/dist/assets/{python-DyyMbLlw.js → python-BfhjzxvI.js} +1 -1
  43. package/apps/web/dist/assets/{razor-LiDN5b1t.js → razor-COinq8YD.js} +1 -1
  44. package/apps/web/dist/assets/{tsMode-DXgADabI.js → tsMode-CXpnR4mr.js} +1 -1
  45. package/apps/web/dist/assets/{typescript-CyVJyana.js → typescript-DAgfuTsy.js} +1 -1
  46. package/apps/web/dist/assets/{workers-Be8tmwOD.js → workers-DI76FldO.js} +1 -1
  47. package/apps/web/dist/assets/{xml-YcdNXsJT.js → xml-CSNVYs0K.js} +1 -1
  48. package/apps/web/dist/assets/{yaml-Cx-igwqu.js → yaml-Bzp-4SkQ.js} +1 -1
  49. package/apps/web/dist/index.html +1 -1
  50. package/docs/README.md +1 -0
  51. package/docs/guides/install.md +3 -3
  52. package/package.json +1 -1
  53. package/apps/web/dist/assets/main-B_CVViox.js +0 -158
  54. package/apps/web/dist/assets/main-D1Y-WDQ4.css +0 -1
@@ -1,4 +1,4 @@
1
- import { c as loadConfig, i as inspectDatabase, m as SERVER_VERSION, r as resolveDataDir } from "./paths-BAdni_6q.js";
1
+ import { c as loadConfig, i as inspectDatabase, m as SERVER_VERSION, r as resolveDataDir } from "./paths-DUfwiH2X.js";
2
2
  import { n as inspectInstanceLock } from "./lock-DyEoZgG_.js";
3
3
  import path from "node:path";
4
4
  // src/status.ts
@@ -1,6 +1,6 @@
1
- import { n as connectIpc } from "./client-Bh20nnvS.js";
2
- import { r as resolveDataDir } from "./paths-BAdni_6q.js";
3
- import { t as collectStatus } from "./status-DMHY6AAL.js";
1
+ import { n as connectIpc } from "./client-D88ULjn9.js";
2
+ import { r as resolveDataDir } from "./paths-DUfwiH2X.js";
3
+ import { t as collectStatus } from "./status-D2oSIMoj.js";
4
4
  // src/cli/status.ts
5
5
  async function readStatus() {
6
6
  const dataDir = resolveDataDir();
@@ -1,7 +1,7 @@
1
- import { _ as formatPairingCode, a as DevWebControl, c as EntryConfigError, d as devWebCache, i as DevWebAttachedSchema, ot as terminateProcessTree, r as waitChildMessage, s as DevWebUnavailable } from "./managed-BPl4Lyn0.js";
2
- import { n as connectIpc, t as IpcClientError } from "./client-Bh20nnvS.js";
3
- import { a as inspectPendingInitialization, c as loadConfig, f as findServerRoot, l as resolveConfig, m as SERVER_VERSION, r as resolveDataDir, s as configFilePath, xn as deriveWebAuthn, yn as DEFAULT_APP_CONFIG } from "./paths-BAdni_6q.js";
4
- import { s as InitApplyParamsSchema } from "./address-CaYVz64G.js";
1
+ import { _ as formatPairingCode, a as DevWebControl, c as EntryConfigError, d as devWebCache, i as DevWebAttachedSchema, r as waitChildMessage, s as DevWebUnavailable, ut as terminateProcessTree } from "./managed-Br7VqQiP.js";
2
+ import { n as connectIpc, t as IpcClientError } from "./client-D88ULjn9.js";
3
+ import { An as DEFAULT_APP_CONFIG, Mn as deriveWebAuthn, a as inspectPendingInitialization, c as loadConfig, f as findServerRoot, l as resolveConfig, m as SERVER_VERSION, r as resolveDataDir, s as configFilePath } from "./paths-DUfwiH2X.js";
4
+ import { s as InitApplyParamsSchema } from "./address-BDs0FfMq.js";
5
5
  import { createRequire } from "node:module";
6
6
  import { randomUUID } from "node:crypto";
7
7
  import { existsSync } from "node:fs";
@@ -0,0 +1 @@
1
+ ALTER TABLE `sessions` ADD `agent_profile` text DEFAULT 'coding' NOT NULL;
@@ -0,0 +1 @@
1
+ UPDATE `sessions` SET `agent_profile` = 'service-ops' WHERE `agent_profile` = 'workspace';
@@ -0,0 +1 @@
1
+ UPDATE `sessions` SET `agent_profile` = 'coding' WHERE `agent_profile` = 'service-ops';
@@ -0,0 +1 @@
1
+ ALTER TABLE `sessions` ADD `title_source` text DEFAULT 'user' NOT NULL;
@@ -0,0 +1,62 @@
1
+ CREATE TABLE `memories` (
2
+ `id` text PRIMARY KEY NOT NULL,
3
+ `scope` text NOT NULL,
4
+ `project_id` text,
5
+ `project_key` text NOT NULL,
6
+ `kind` text NOT NULL,
7
+ `key` text NOT NULL,
8
+ `title` text NOT NULL,
9
+ `body` text NOT NULL,
10
+ `status` text NOT NULL,
11
+ `confidence` real NOT NULL,
12
+ `evidence_kind` text NOT NULL,
13
+ `source_turn_id` text,
14
+ `source_event_seq` integer,
15
+ `created_by` text NOT NULL,
16
+ `use_count` integer DEFAULT 0 NOT NULL,
17
+ `last_used_at` integer,
18
+ `last_confirmed_at` integer,
19
+ `correction_count` integer DEFAULT 0 NOT NULL,
20
+ `pinned` integer DEFAULT false NOT NULL,
21
+ `bytes` integer NOT NULL,
22
+ `verified_at` integer,
23
+ `expires_at` integer,
24
+ `created_at` integer NOT NULL,
25
+ `updated_at` integer NOT NULL,
26
+ FOREIGN KEY (`project_id`) REFERENCES `projects`(`id`) ON UPDATE no action ON DELETE cascade,
27
+ CONSTRAINT "memories_scope_check" CHECK(("memories"."scope" = 'global' AND "memories"."project_id" IS NULL AND "memories"."kind" = 'preference') OR ("memories"."scope" = 'project' AND "memories"."project_id" IS NOT NULL))
28
+ );
29
+ --> statement-breakpoint
30
+ CREATE UNIQUE INDEX `memories_active_key_unique` ON `memories` (`scope`,`project_key`,`key`) WHERE "memories"."status" = 'active';--> statement-breakpoint
31
+ CREATE INDEX `idx_memories_scope_project_status` ON `memories` (`scope`,`project_id`,`status`);--> statement-breakpoint
32
+ CREATE INDEX `idx_memories_expires` ON `memories` (`expires_at`);--> statement-breakpoint
33
+ CREATE TABLE `memory_revisions` (
34
+ `id` text PRIMARY KEY NOT NULL,
35
+ `memory_id` text NOT NULL,
36
+ `revision` integer NOT NULL,
37
+ `title` text NOT NULL,
38
+ `body` text NOT NULL,
39
+ `status` text NOT NULL,
40
+ `changed_by` text NOT NULL,
41
+ `changed_at` integer NOT NULL,
42
+ `reason` text,
43
+ FOREIGN KEY (`memory_id`) REFERENCES `memories`(`id`) ON UPDATE no action ON DELETE cascade
44
+ );
45
+ --> statement-breakpoint
46
+ CREATE UNIQUE INDEX `memory_revisions_unique` ON `memory_revisions` (`memory_id`,`revision`);--> statement-breakpoint
47
+ CREATE INDEX `idx_memory_revisions_memory` ON `memory_revisions` (`memory_id`,`changed_at`);--> statement-breakpoint
48
+ CREATE TABLE `memory_suppressions` (
49
+ `id` text PRIMARY KEY NOT NULL,
50
+ `scope` text NOT NULL,
51
+ `project_id` text,
52
+ `project_key` text NOT NULL,
53
+ `key` text NOT NULL,
54
+ `body_hash` text NOT NULL,
55
+ `created_at` integer NOT NULL,
56
+ `expires_at` integer NOT NULL,
57
+ FOREIGN KEY (`project_id`) REFERENCES `projects`(`id`) ON UPDATE no action ON DELETE cascade,
58
+ CONSTRAINT "memory_suppressions_scope_check" CHECK(("memory_suppressions"."scope" = 'global' AND "memory_suppressions"."project_id" IS NULL) OR ("memory_suppressions"."scope" = 'project' AND "memory_suppressions"."project_id" IS NOT NULL))
59
+ );
60
+ --> statement-breakpoint
61
+ CREATE UNIQUE INDEX `memory_suppressions_key_unique` ON `memory_suppressions` (`scope`,`project_key`,`key`);--> statement-breakpoint
62
+ CREATE INDEX `idx_memory_suppressions_expiry` ON `memory_suppressions` (`expires_at`);
@@ -0,0 +1,14 @@
1
+ CREATE TABLE `web_search_connections` (
2
+ `id` text PRIMARY KEY NOT NULL,
3
+ `provider` text NOT NULL,
4
+ `label` text NOT NULL,
5
+ `region` text,
6
+ `endpoint` text NOT NULL,
7
+ `secret_ref` text NOT NULL,
8
+ `created_at` integer NOT NULL,
9
+ FOREIGN KEY (`secret_ref`) REFERENCES `secrets`(`id`) ON UPDATE no action ON DELETE cascade
10
+ );
11
+ --> statement-breakpoint
12
+ CREATE INDEX `idx_web_search_connections_provider` ON `web_search_connections` (`provider`);--> statement-breakpoint
13
+ ALTER TABLE `sessions` ADD `web_search_enabled` integer DEFAULT false NOT NULL;--> statement-breakpoint
14
+ ALTER TABLE `turns` ADD `web_search_enabled` integer DEFAULT false NOT NULL;
@@ -0,0 +1,16 @@
1
+ ALTER TABLE `session_attachments` ADD `filename` text DEFAULT 'screenshot' NOT NULL;--> statement-breakpoint
2
+ ALTER TABLE `session_attachments` ADD `kind` text DEFAULT 'image' NOT NULL;--> statement-breakpoint
3
+ ALTER TABLE `session_attachments` ADD `size_bytes` integer DEFAULT 0 NOT NULL;--> statement-breakpoint
4
+ ALTER TABLE `session_attachments` ADD `storage_path` text;--> statement-breakpoint
5
+ ALTER TABLE `session_attachments` ADD `status` text DEFAULT 'ready' NOT NULL;--> statement-breakpoint
6
+ ALTER TABLE `session_attachments` ADD `method` text DEFAULT 'none' NOT NULL;--> statement-breakpoint
7
+ ALTER TABLE `session_attachments` ADD `page_count` integer;--> statement-breakpoint
8
+ ALTER TABLE `session_attachments` ADD `token_count` integer DEFAULT 0 NOT NULL;--> statement-breakpoint
9
+ ALTER TABLE `session_attachments` ADD `sections_json` text;--> statement-breakpoint
10
+ ALTER TABLE `session_attachments` ADD `warnings_json` text;--> statement-breakpoint
11
+ ALTER TABLE `session_attachments` ADD `extractor_id` text;--> statement-breakpoint
12
+ ALTER TABLE `session_attachments` ADD `extractor_version` text;--> statement-breakpoint
13
+ ALTER TABLE `session_attachments` ADD `extracted_at` integer;--> statement-breakpoint
14
+ ALTER TABLE `session_attachments` ADD `error_code` text;--> statement-breakpoint
15
+ UPDATE `session_attachments` SET `size_bytes` = length(`bytes`) WHERE `size_bytes` = 0;--> statement-breakpoint
16
+ CREATE INDEX `idx_session_attachments_session_created` ON `session_attachments` (`session_id`,`created_at`);