@sixb/cli 0.1.19 → 0.1.21

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 (65) hide show
  1. package/README.md +26 -27
  2. package/dist/commands/api.d.ts +0 -1
  3. package/dist/commands/api.d.ts.map +1 -1
  4. package/dist/commands/app.d.ts.map +1 -1
  5. package/dist/commands/build.d.ts.map +1 -1
  6. package/dist/commands/check.d.ts.map +1 -1
  7. package/dist/commands/dev-runner.d.ts +12 -1
  8. package/dist/commands/dev-runner.d.ts.map +1 -1
  9. package/dist/commands/lake-check.d.ts.map +1 -1
  10. package/dist/commands/lake-cleanup.d.ts +2 -0
  11. package/dist/commands/lake-cleanup.d.ts.map +1 -1
  12. package/dist/commands/worker-group.d.ts +1 -0
  13. package/dist/commands/worker-group.d.ts.map +1 -1
  14. package/dist/commands/worker.d.ts +1 -0
  15. package/dist/commands/worker.d.ts.map +1 -1
  16. package/dist/lib/browser-topology.d.ts +9 -33
  17. package/dist/lib/browser-topology.d.ts.map +1 -1
  18. package/dist/lib/command-line.d.ts +8 -8
  19. package/dist/lib/command-line.d.ts.map +1 -1
  20. package/dist/lib/deploy-release.d.ts.map +1 -1
  21. package/dist/lib/dev-supervisor.d.ts.map +1 -1
  22. package/dist/lib/dev-watch.d.ts +1 -1
  23. package/dist/lib/dev-watch.d.ts.map +1 -1
  24. package/dist/lib/production-roles.d.ts +5 -10
  25. package/dist/lib/production-roles.d.ts.map +1 -1
  26. package/dist/lib/production.d.ts +1 -2
  27. package/dist/lib/production.d.ts.map +1 -1
  28. package/dist/lib/role-view.d.ts +2 -3
  29. package/dist/lib/role-view.d.ts.map +1 -1
  30. package/dist/lib/runtime.d.ts +9 -0
  31. package/dist/lib/runtime.d.ts.map +1 -1
  32. package/dist/lib/worker-concurrency.d.ts +5 -0
  33. package/dist/lib/worker-concurrency.d.ts.map +1 -1
  34. package/dist/lib/worker-registry.d.ts +1 -0
  35. package/dist/lib/worker-registry.d.ts.map +1 -1
  36. package/dist/ui/index.d.ts +16 -5
  37. package/dist/ui/index.d.ts.map +1 -1
  38. package/package.json +16 -16
  39. package/src/commands/api.tsx +1 -5
  40. package/src/commands/app.tsx +5 -7
  41. package/src/commands/build.tsx +14 -31
  42. package/src/commands/check.tsx +50 -4
  43. package/src/commands/dev-runner.tsx +43 -47
  44. package/src/commands/lake-check.tsx +15 -2
  45. package/src/commands/lake-cleanup.tsx +11 -0
  46. package/src/commands/worker-group.tsx +4 -1
  47. package/src/commands/worker.tsx +4 -1
  48. package/src/index.tsx +3 -14
  49. package/src/lib/browser-topology.ts +28 -135
  50. package/src/lib/command-line.ts +26 -18
  51. package/src/lib/deploy-release.ts +0 -3
  52. package/src/lib/dev-supervisor.ts +7 -6
  53. package/src/lib/dev-watch.ts +8 -8
  54. package/src/lib/production-roles.ts +5 -7
  55. package/src/lib/production.ts +3 -8
  56. package/src/lib/profiles.ts +1 -1
  57. package/src/lib/role-lifecycle.ts +2 -2
  58. package/src/lib/role-view.ts +2 -3
  59. package/src/lib/runtime.ts +19 -0
  60. package/src/lib/worker-concurrency.ts +11 -0
  61. package/src/lib/worker-registry.ts +5 -1
  62. package/src/ui/index.tsx +46 -19
  63. package/dist/commands/atlas.d.ts +0 -9
  64. package/dist/commands/atlas.d.ts.map +0 -1
  65. package/src/commands/atlas.tsx +0 -71
package/README.md CHANGED
@@ -21,10 +21,9 @@ bun add @sixb/cli
21
21
 
22
22
  | Command | Description |
23
23
  |---|---|
24
- | `sixb dev` | Start local API, Atlas UI, optional custom app, and workers |
24
+ | `sixb dev` | Start the local API, app, and workers |
25
25
  | `sixb api` | Start the production API/docs/WebSocket server |
26
- | `sixb atlas` | Start the production Atlas UI server |
27
- | `sixb app` | Start the production custom app server |
26
+ | `sixb app` | Start the production app server |
28
27
  | `sixb login <api-url>` | Validate an instance and save it as the current profile |
29
28
  | `sixb logout` | Remove the current or named profile |
30
29
  | `sixb status` | Check the selected profile and API |
@@ -55,7 +54,7 @@ bun add @sixb/cli
55
54
  | `sixb worker <type>` | Start a production queue worker (one queue type per process) |
56
55
  | `sixb worker-group [types...]` | Co-host several queue workers in one process (constrained resources) |
57
56
  | `sixb check` | Validate project configuration and provider health |
58
- | `sixb build` | Bundle the project runtime, custom app, and Atlas assets |
57
+ | `sixb build` | Bundle the project runtime and the app |
59
58
  | `sixb db migrate` | Run adapter-owned database migrations ahead of, or instead of, role startup |
60
59
  | `sixb lake check` | Check lake dataset definitions for drift against the lake catalog |
61
60
  | `sixb lake cleanup` | Run provider-supported lake maintenance cleanup |
@@ -94,16 +93,16 @@ supervisor disappears, so a stuck startup cannot leave its process group running
94
93
  |---|---|---|---|
95
94
  | `--entry <path>` | project and runtime commands | `sixb.config.ts` | Path to the sixb config module |
96
95
  | `--no-migrate` | production roles | false | Start without migrating storage. Also `SIXB_SKIP_MIGRATION=1`. |
97
- | `--port <port>` | serving commands | role default | Role bind port. For `dev`, this is the Atlas base port. |
96
+ | `--port <port>` | serving commands | role default | Role bind port. For `dev`, this is the app port. |
98
97
  | `--host <host>` | serving commands | dev: `127.0.0.1`, roles: `0.0.0.0` | Bind host. `sixb dev` stays on loopback unless you opt in. |
99
- | `--api-port <port>` | `dev`, `api` | `port + 2` | API/auth/docs/WebSocket port |
98
+ | `--api-port <port>` | `dev`, `api` | `port + 1` | API/auth/docs/WebSocket port |
100
99
  | `--api-host <host>` | `dev`, `api` | `--host` | API bind host |
101
100
  | `--api-public-origin <origin>` | browser/API commands | dev: `http://localhost:<api-port>` | Public API origin |
102
101
  | `--agent-turn-timeout <duration>` | `dev`, agent worker/group | `SIXB_AGENT_TURN_TIMEOUT` or `10m` | Agent turn wall-clock budget, e.g. `30s`, `10m`, or `1h` |
103
- | `--atlas-public-origin <origin>` | `dev`, `api`, `atlas` | dev: `http://localhost:<port>` | Public Atlas UI origin |
104
- | `--app-public-origin <origin>` | `dev`, `api`, `app` | dev: `http://localhost:<port+1>` | Public custom app origin |
102
+ | `--vector-concurrency <count>` | `dev`, projection worker/group | `SIXB_VECTOR_CONCURRENCY` or `4` | Concurrent embedding calls for vector indexing |
103
+ | `--app-public-origin <origin>` | `dev`, `api`, `app` | dev: `http://localhost:<port>` | Public app origin |
105
104
  | `--profile <name>` | remote commands | current profile | Use a saved profile without changing the current one |
106
- | `--api-url <url>` | remote commands | resolved profile or `http://localhost:3002` | Use an API without a saved profile |
105
+ | `--api-url <url>` | remote commands | resolved profile or `http://localhost:3001` | Use an API without a saved profile |
107
106
  | `--token <token>` | remote commands | selected source | Bearer token; direct `--api-url` never inherits another source's token |
108
107
  | `--token-stdin` | `login` | false | Read an existing token from standard input |
109
108
  | `--id <id>` | token/service-account commands | generated when supported | Token or service-account id |
@@ -166,12 +165,11 @@ written as one compact `{"error": ...}` value on stderr.
166
165
  # Start development servers (loads ./sixb.config.ts)
167
166
  sixb dev
168
167
 
169
- # Build production runtime and static UI/app assets
168
+ # Build the production runtime and the app
170
169
  sixb build
171
170
 
172
171
  # Recommended production process layout
173
172
  sixb api
174
- sixb atlas
175
173
  sixb app
176
174
  sixb scheduler
177
175
  sixb orchestrator
@@ -181,7 +179,7 @@ sixb worker pipeline
181
179
  sixb worker projection
182
180
  sixb worker workflow
183
181
 
184
- # Development with custom entry and Atlas port
182
+ # Development with custom entry and app port
185
183
  sixb dev --entry examples/mac-os/sixb.config.ts --port 8080
186
184
 
187
185
  # Validate project health
@@ -224,7 +222,7 @@ Login validates `/api/project`, saves the profile in `~/.config/sixb/config.json
224
222
  The directory is mode `0700`; the config file is atomically replaced at mode `0600`.
225
223
 
226
224
  ```bash
227
- sixb login http://localhost:3002 --profile local
225
+ sixb login http://localhost:3001 --profile local
228
226
 
229
227
  # Authenticated APIs open a browser and wait for approval:
230
228
  sixb login https://api.acme.example --profile production
@@ -255,7 +253,7 @@ Remote target resolution is deterministic:
255
253
  SIXB_API_URL (+ SIXB_API_TOKEN or SIXB_TOKEN)
256
254
  SIXB_PROFILE
257
255
  current profile
258
- http://localhost:3002
256
+ http://localhost:3001
259
257
  ```
260
258
 
261
259
  Use a named profile for local tools such as Codex or Claude Code:
@@ -347,7 +345,7 @@ to call.
347
345
 
348
346
  Roles that read or write through the storage schema (`api`, `scheduler`, `orchestrator`, `rules`,
349
347
  `worker`, `worker-group`) bring it up to date themselves at startup, and print the migration steps
350
- they applied. `atlas` and `app` do not: they serve a browser bundle and hold no DDL grant.
348
+ they applied. `app` does not: it serves a browser bundle and holds no DDL grant.
351
349
 
352
350
  `sixb db migrate` is no longer a required release step. It stays useful when you want the schema
353
351
  change to be its own deploy stage — run it first, then start the roles with `--no-migrate` (or
@@ -365,7 +363,9 @@ provider's `createDataset` before committing, so drift still fails clearly even
365
363
 
366
364
  Use `sixb lake cleanup` for operator-run lake maintenance on providers that expose
367
365
  `runMaintenance`. It defaults to a seven-day snapshot expiration and file deletion window. Start
368
- with `--dry-run` to preview how many snapshots and files DuckLake reports as eligible.
366
+ with `--dry-run` to preview how many snapshots and files DuckLake reports as eligible. Each
367
+ dataset's latest version and the version each projection applied, read from the project's
368
+ storage, outlive the window; DuckLake reports the snapshots it kept for them as kept snapshots.
369
369
 
370
370
  ### Production topologies
371
371
 
@@ -401,20 +401,19 @@ wall-clock budget with `--agent-turn-timeout` or `SIXB_AGENT_TURN_TIMEOUT`; it d
401
401
  `sixb dev` uses separated local ports by default:
402
402
 
403
403
  ```txt
404
- http://localhost:3000 -> Atlas UI
405
- http://localhost:3001 -> custom app UI when routes exist
406
- http://localhost:3002 -> API, auth, docs, and runtime WebSockets
404
+ http://localhost:3000 -> the app, with its built-in pages even without an app/ folder
405
+ http://localhost:3001 -> API, auth, docs, and runtime WebSockets
407
406
  ```
408
407
 
409
408
  Production serving commands require explicit public origins through flags or environment variables.
410
- The split UI commands require their own public origin and `SIXB_API_PUBLIC_ORIGIN`. `sixb api`
411
- requires `SIXB_API_PUBLIC_ORIGIN`, `SIXB_ATLAS_PUBLIC_ORIGIN`,
412
- and `SIXB_APP_PUBLIC_ORIGIN` when a built custom app is served.
413
-
414
- `sixb atlas` and `sixb app` serve only prebuilt assets. Run `sixb build` before starting them.
415
- They fail with a clear error instead of compiling assets at startup. They never load
416
- `sixb.config.ts`, so they need neither the project's environment nor access to its database: the
417
- served page asks the API whether auth is enabled.
409
+ Both `sixb api` and `sixb app` require `SIXB_API_PUBLIC_ORIGIN`. `SIXB_APP_PUBLIC_ORIGIN` is the
410
+ API's browser allowlist: without it the API admits no browser, as a deploy without the app wants.
411
+ On `sixb app` it only labels the startup output.
412
+
413
+ `sixb app` serves only prebuilt assets. Run `sixb build` before starting it. It fails with a clear
414
+ error instead of compiling assets at startup. It never loads `sixb.config.ts`, so it needs neither
415
+ the project's environment nor access to its database: the served page asks the API whether auth is
416
+ enabled.
418
417
 
419
418
  `sixb worker <type>` is intended for queue backends that can be shared across processes. Each
420
419
  worker process owns exactly one queue type. `sixb worker-group [types...]` co-hosts several queue
@@ -6,7 +6,6 @@ export interface ApiOptions {
6
6
  apiPort?: string;
7
7
  apiHost?: string;
8
8
  apiPublicOrigin?: string;
9
- atlasPublicOrigin?: string;
10
9
  appPublicOrigin?: string;
11
10
  trustedProxies?: string;
12
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/commands/api.tsx"],"names":[],"mappings":"AAWA,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,wBAAsB,MAAM,CAAC,OAAO,GAAE,UAAe,iBAgGpD"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/commands/api.tsx"],"names":[],"mappings":"AAWA,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,wBAAsB,MAAM,CAAC,OAAO,GAAE,UAAe,iBA6FpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/commands/app.tsx"],"names":[],"mappings":"AAYA,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,wBAAsB,MAAM,CAAC,OAAO,GAAE,UAAe,iBAgEpD"}
1
+ {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/commands/app.tsx"],"names":[],"mappings":"AAYA,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,wBAAsB,MAAM,CAAC,OAAO,GAAE,UAAe,iBA8DpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.tsx"],"names":[],"mappings":"AAQA,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,wBAAsB,QAAQ,CAAC,OAAO,GAAE,YAAiB,iBAoExD"}
1
+ {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,wBAAsB,QAAQ,CAAC,OAAO,GAAE,YAAiB,iBAoDxD"}
@@ -1 +1 @@
1
- {"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../src/commands/check.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAsB,QAAQ,CAAC,OAAO,GAAE,YAAiB,iBAsDxD"}
1
+ {"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../src/commands/check.tsx"],"names":[],"mappings":"AAYA,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAsB,QAAQ,CAAC,OAAO,GAAE,YAAiB,iBAwDxD"}
@@ -1,3 +1,4 @@
1
+ import { type CustomAppDevOptions, type CustomAppDevServer } from "@sixb/app/server";
1
2
  export interface DevOptions {
2
3
  entry?: string;
3
4
  port?: string;
@@ -5,10 +6,20 @@ export interface DevOptions {
5
6
  apiPort?: string;
6
7
  apiHost?: string;
7
8
  apiPublicOrigin?: string;
8
- atlasPublicOrigin?: string;
9
9
  appPublicOrigin?: string;
10
10
  agentTurnTimeout?: string;
11
11
  concurrency?: readonly string[];
12
+ vectorConcurrency?: string;
12
13
  }
13
14
  export declare function runDevRuntime(options?: DevOptions): Promise<void>;
15
+ /**
16
+ * Starts the app's dev server. A project missing the packages the app is bundled from still gets
17
+ * its API, with the install command as a warning; `sixb build` refuses instead.
18
+ */
19
+ export declare function startDevApp(customApp: {
20
+ dev(options: CustomAppDevOptions): Promise<CustomAppDevServer>;
21
+ }, options: CustomAppDevOptions): Promise<{
22
+ readonly server: CustomAppDevServer | null;
23
+ readonly warning?: string;
24
+ }>;
14
25
  //# sourceMappingURL=dev-runner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dev-runner.d.ts","sourceRoot":"","sources":["../../src/commands/dev-runner.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CAChC;AAED,wBAAsB,aAAa,CAAC,OAAO,GAAE,UAAe,iBA6J3D"}
1
+ {"version":3,"file":"dev-runner.d.ts","sourceRoot":"","sources":["../../src/commands/dev-runner.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EAExB,MAAM,kBAAkB,CAAA;AAiBzB,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,wBAAsB,aAAa,CAAC,OAAO,GAAE,UAAe,iBA+H3D;AAED;;;GAGG;AACH,wBAAsB,WAAW,CAC/B,SAAS,EAAE;IAAE,GAAG,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAA;CAAE,EAC7E,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC;IAAE,QAAQ,CAAC,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAOpF"}
@@ -1 +1 @@
1
- {"version":3,"file":"lake-check.d.ts","sourceRoot":"","sources":["../../src/commands/lake-check.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAsB,YAAY,CAAC,OAAO,GAAE,gBAAqB,iBAUhE"}
1
+ {"version":3,"file":"lake-check.d.ts","sourceRoot":"","sources":["../../src/commands/lake-check.tsx"],"names":[],"mappings":"AAWA,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAsB,YAAY,CAAC,OAAO,GAAE,gBAAqB,iBAiBhE"}
@@ -9,6 +9,8 @@ export interface LakeMaintenanceReport {
9
9
  readonly expireOlderThan: string;
10
10
  readonly deleteOlderThan: string;
11
11
  readonly snapshots: number;
12
+ /** Old snapshots kept because a version they hold is still needed, when the provider says. */
13
+ readonly keptSnapshots?: number;
12
14
  readonly oldFiles: number;
13
15
  readonly orphanedFiles: number;
14
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"lake-cleanup.d.ts","sourceRoot":"","sources":["../../src/commands/lake-cleanup.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAQD,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;IAChC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;IAChC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAA;CAC/B;AAMD,wBAAsB,cAAc,CAAC,OAAO,GAAE,kBAAuB,iBAqBpE"}
1
+ {"version":3,"file":"lake-cleanup.d.ts","sourceRoot":"","sources":["../../src/commands/lake-cleanup.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AASD,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;IAChC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;IAChC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,8FAA8F;IAC9F,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAA;IAC/B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAA;CAC/B;AAMD,wBAAsB,cAAc,CAAC,OAAO,GAAE,kBAAuB,iBA6BpE"}
@@ -5,6 +5,7 @@ export interface WorkerGroupOptions {
5
5
  apiPublicOrigin?: string;
6
6
  agentTurnTimeout?: string;
7
7
  concurrency?: readonly string[];
8
+ vectorConcurrency?: string;
8
9
  }
9
10
  export declare function runWorkerGroup(options?: WorkerGroupOptions): Promise<void>;
10
11
  //# sourceMappingURL=worker-group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"worker-group.d.ts","sourceRoot":"","sources":["../../src/commands/worker-group.tsx"],"names":[],"mappings":"AAkBA,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CAChC;AAED,wBAAsB,cAAc,CAAC,OAAO,GAAE,kBAAuB,iBAuGpE"}
1
+ {"version":3,"file":"worker-group.d.ts","sourceRoot":"","sources":["../../src/commands/worker-group.tsx"],"names":[],"mappings":"AAkBA,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,wBAAsB,cAAc,CAAC,OAAO,GAAE,kBAAuB,iBAyGpE"}
@@ -5,6 +5,7 @@ export interface WorkerOptions {
5
5
  apiPublicOrigin?: string;
6
6
  agentTurnTimeout?: string;
7
7
  concurrency?: string;
8
+ vectorConcurrency?: string;
8
9
  }
9
10
  export declare function runWorker(options?: WorkerOptions): Promise<void>;
10
11
  //# sourceMappingURL=worker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"worker.d.ts","sourceRoot":"","sources":["../../src/commands/worker.tsx"],"names":[],"mappings":"AAkBA,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,wBAAsB,SAAS,CAAC,OAAO,GAAE,aAAkB,iBAqF1D"}
1
+ {"version":3,"file":"worker.d.ts","sourceRoot":"","sources":["../../src/commands/worker.tsx"],"names":[],"mappings":"AAkBA,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,wBAAsB,SAAS,CAAC,OAAO,GAAE,aAAkB,iBAuF1D"}
@@ -1,13 +1,11 @@
1
- import type { SixbBrowserOrigin } from "@sixb/server";
2
1
  /**
3
2
  * The process resolving the topology. One answer settles what used to be four options: whether
4
- * local defaults apply, which browser surfaces the process has to account for, and which one it
5
- * serves itself.
3
+ * local defaults apply, whether the app's origin is required, and whether the process serves the
4
+ * app itself.
6
5
  */
7
- export type BrowserRole = "dev" | "api" | "atlas" | "app";
8
- /** The two surfaces a browser loads, and the audience each maps to. */
9
- export type BrowserSurface = "atlas" | "app";
10
- interface BrowserBindOptions {
6
+ export type BrowserRole = "dev" | "api" | "app";
7
+ export interface BrowserTopologyOptions {
8
+ readonly role: BrowserRole;
11
9
  readonly host?: string;
12
10
  /** `--port`: the port this role binds. See {@link resolveBrowserPorts}. */
13
11
  readonly port?: string;
@@ -15,48 +13,26 @@ interface BrowserBindOptions {
15
13
  readonly apiHost?: string;
16
14
  readonly apiPort?: string;
17
15
  readonly apiPublicOrigin?: string;
18
- readonly atlasPublicOrigin?: string;
19
16
  readonly appPublicOrigin?: string;
20
17
  }
21
- export type BrowserTopologyOptions = BrowserBindOptions & ({
22
- /**
23
- * Hosts the API, so its allowlist has to name every surface the project actually
24
- * serves — including the custom app, which exists only when the project has one.
25
- */
26
- readonly role: "dev" | "api";
27
- readonly hasCustomApp: boolean;
28
- } | {
29
- readonly role: BrowserSurface;
30
- });
31
18
  export interface BrowserTopology {
32
19
  readonly host: string;
33
20
  readonly apiHost: string;
34
- readonly atlasPort: number;
35
21
  readonly appPort: number;
36
22
  readonly apiPort: number;
37
23
  readonly apiPublicOrigin: string;
38
- readonly atlasPublicOrigin: string | null;
24
+ /** `null` outside `sixb dev` when nobody said where the app is published. */
39
25
  readonly appPublicOrigin: string | null;
40
- readonly allowedBrowserOrigins: readonly SixbBrowserOrigin[];
41
- /** The surface this process serves itself, or `null` when it serves none. */
42
- readonly serves: BrowserSurface | null;
26
+ readonly allowedBrowserOrigins: readonly string[];
43
27
  }
44
- /** A topology resolved by a role that serves a surface, so {@link servedUrl} always has one. */
45
- export interface ServingBrowserTopology extends BrowserTopology {
46
- readonly serves: BrowserSurface;
47
- }
48
- export declare function resolveBrowserTopology(options: BrowserBindOptions & {
49
- readonly role: BrowserSurface;
50
- }): ServingBrowserTopology;
51
28
  export declare function resolveBrowserTopology(options: BrowserTopologyOptions): BrowserTopology;
52
29
  /**
53
- * What a browser-serving role shows as its own address. The public origin when one is configured,
30
+ * What the app role shows as its own address. The public origin when one is configured,
54
31
  * and otherwise the address it actually bound — which is all the process knows, and better than a
55
32
  * startup panel with no URL on it.
56
33
  */
57
- export declare function servedUrl(topology: ServingBrowserTopology): string;
34
+ export declare function servedUrl(topology: BrowserTopology): string;
58
35
  export declare function apiUrl(topology: BrowserTopology): string;
59
36
  export declare function apiDocsUrl(topology: BrowserTopology): string;
60
37
  export declare function apiEventsUrl(topology: BrowserTopology): string;
61
- export {};
62
38
  //# sourceMappingURL=browser-topology.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"browser-topology.d.ts","sourceRoot":"","sources":["../../src/lib/browser-topology.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAGrD;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,KAAK,GAAG,OAAO,GAAG,KAAK,CAAA;AAEzD,uEAAuE;AACvE,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,KAAK,CAAA;AAE5C,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,2EAA2E;IAC3E,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,wFAAwF;IACxF,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAA;IACjC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IACnC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAA;CAClC;AAED,MAAM,MAAM,sBAAsB,GAAG,kBAAkB,GACrD,CACI;IACE;;;OAGG;IACH,QAAQ,CAAC,IAAI,EAAE,KAAK,GAAG,KAAK,CAAA;IAC5B,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAA;CAC/B,GACD;IAAE,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAA;CAAE,CACpC,CAAA;AAEH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAA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AAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,2EAA2E;IAC3E,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,wFAAwF;IACxF,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAA;IACjC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAA;CAClC;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;IAChC,6EAA6E;IAC7E,QAAQ,CAAC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAA;IACvC,QAAQ,CAAC,qBAAqB,EAAE,SAAS,MAAM,EAAE,CAAA;CAClD;AA4BD,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,sBAAsB,GAAG,eAAe,CAWvF;AA6DD;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,eAAe,GAAG,MAAM,CAE3D;AAMD,wBAAgB,MAAM,CAAC,QAAQ,EAAE,eAAe,GAAG,MAAM,CAExD;AAED,wBAAgB,UAAU,CAAC,QAAQ,EAAE,eAAe,GAAG,MAAM,CAE5D;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,eAAe,GAAG,MAAM,CAI9D"}
@@ -11,7 +11,7 @@ export declare const CLI_OPTION_DEFINITIONS: {
11
11
  };
12
12
  readonly port: {
13
13
  readonly syntax: "--port <port>";
14
- readonly summary: "Role port; dev uses Atlas base port";
14
+ readonly summary: "Role port; dev: the app port";
15
15
  readonly kind: "string";
16
16
  };
17
17
  readonly host: {
@@ -21,7 +21,7 @@ export declare const CLI_OPTION_DEFINITIONS: {
21
21
  };
22
22
  readonly "api-port": {
23
23
  readonly syntax: "--api-port <port>";
24
- readonly summary: "API port (default: Atlas port + 2)";
24
+ readonly summary: "API port (default: app port + 1)";
25
25
  readonly kind: "string";
26
26
  };
27
27
  readonly "api-host": {
@@ -44,14 +44,14 @@ export declare const CLI_OPTION_DEFINITIONS: {
44
44
  readonly summary: "Concurrent jobs: count for worker; repeat type=count for dev/worker-group";
45
45
  readonly kind: "string";
46
46
  };
47
- readonly "atlas-public-origin": {
48
- readonly syntax: "--atlas-public-origin <origin>";
49
- readonly summary: "Public Atlas origin";
47
+ readonly "vector-concurrency": {
48
+ readonly syntax: "--vector-concurrency <count>";
49
+ readonly summary: "Concurrent embedding calls for vector indexing (default: 4)";
50
50
  readonly kind: "string";
51
51
  };
52
52
  readonly "app-public-origin": {
53
53
  readonly syntax: "--app-public-origin <origin>";
54
- readonly summary: "Public custom app origin";
54
+ readonly summary: "Public app origin";
55
55
  readonly kind: "string";
56
56
  };
57
57
  readonly "trusted-proxies": {
@@ -166,7 +166,7 @@ export declare const CLI_OPTION_DEFINITIONS: {
166
166
  };
167
167
  };
168
168
  export type CliOptionName = keyof typeof CLI_OPTION_DEFINITIONS;
169
- export type LocalCommandId = "dev" | "api" | "atlas" | "app" | "login" | "logout" | "status" | "profile:list" | "profile:show" | "profile:use" | "token:list" | "token:create" | "token:revoke" | "service-account:list" | "service-account:create" | "service-account:disable" | "service-account:token:list" | "service-account:token:create" | "service-account:token:revoke" | "scheduler" | "orchestrator" | "rules" | "worker" | "worker-group" | "check" | "typegen" | "build" | "db:migrate" | "db:prepare" | "lake:check" | "lake:cleanup" | "deploy" | "deploy:status" | "deploy:logs" | "deploy:restart" | "deploy:start" | "deploy:stop" | "deploy:setup" | "deploy:check" | "deploy:ci" | "deploy:access:list" | "deploy:access:add" | "deploy:access:remove" | "init";
169
+ export type LocalCommandId = "dev" | "api" | "app" | "login" | "logout" | "status" | "profile:list" | "profile:show" | "profile:use" | "token:list" | "token:create" | "token:revoke" | "service-account:list" | "service-account:create" | "service-account:disable" | "service-account:token:list" | "service-account:token:create" | "service-account:token:revoke" | "scheduler" | "orchestrator" | "rules" | "worker" | "worker-group" | "check" | "typegen" | "build" | "db:migrate" | "db:prepare" | "lake:check" | "lake:cleanup" | "deploy" | "deploy:status" | "deploy:logs" | "deploy:restart" | "deploy:start" | "deploy:stop" | "deploy:setup" | "deploy:check" | "deploy:ci" | "deploy:access:list" | "deploy:access:add" | "deploy:access:remove" | "init";
170
170
  export interface CliHelpItem {
171
171
  readonly label: string;
172
172
  readonly value: string;
@@ -202,7 +202,7 @@ export declare class CliUsageError extends Error {
202
202
  constructor(message: string, help: CliHelp);
203
203
  }
204
204
  export declare const ROOT_HELP: CliHelp;
205
- export declare const CLI_EXAMPLES: readonly ["sixb dev", "sixb build", "sixb api", "sixb login http://localhost:3002 --profile local", "sixb ontology list", "sixb objects inspect Customer customer-123", "sixb token create --name 'Local CLI' --expires-in 90d", "sixb service-account create --id svc_sandbox --name 'Sandbox agent' --group agents", "sixb service-account token create svc_sandbox --name 'Sandbox token' --expires-in 30d", "sixb status", "sixb atlas", "sixb app", "sixb scheduler", "sixb orchestrator", "sixb rules", "sixb worker pipeline", "sixb worker agent --concurrency 8", "sixb worker-group sync agent --concurrency sync=2 --concurrency agent=8", "sixb dev --entry examples/mac-os/sixb.config.ts --port 8080", "sixb check", "sixb typegen", "sixb db migrate", "sixb lake check", "sixb lake cleanup --dry-run", "sixb deploy --dry-run", "sixb deploy", "sixb deploy logs api --follow"];
205
+ export declare const CLI_EXAMPLES: readonly ["sixb dev", "sixb build", "sixb api", "sixb login http://localhost:3001 --profile local", "sixb ontology list", "sixb objects inspect Customer customer-123", "sixb token create --name 'Local CLI' --expires-in 90d", "sixb service-account create --id svc_sandbox --name 'Sandbox agent' --group agents", "sixb service-account token create svc_sandbox --name 'Sandbox token' --expires-in 30d", "sixb status", "sixb app", "sixb scheduler", "sixb orchestrator", "sixb rules", "sixb worker pipeline", "sixb worker agent --concurrency 8", "sixb worker-group sync agent --concurrency sync=2 --concurrency agent=8", "sixb dev --entry examples/mac-os/sixb.config.ts --port 8080", "sixb check", "sixb typegen", "sixb db migrate", "sixb lake check", "sixb lake cleanup --dry-run", "sixb deploy --dry-run", "sixb deploy", "sixb deploy logs api --follow"];
206
206
  export declare function parseCliArgs(args: readonly string[]): ParsedCli;
207
207
  export declare function stringOption(options: ParsedCliOptions, name: CliOptionName): string | undefined;
208
208
  export declare function booleanOption(options: ParsedCliOptions, name: CliOptionName): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"command-line.d.ts","sourceRoot":"","sources":["../../src/lib/command-line.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsIuD,CAAA;AAE1F,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,sBAAsB,CAAA;AAC/D,MAAM,MAAM,cAAc,GACtB,KAAK,GACL,KAAK,GACL,OAAO,GACP,KAAK,GACL,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,cAAc,GACd,cAAc,GACd,aAAa,GACb,YAAY,GACZ,cAAc,GACd,cAAc,GACd,sBAAsB,GACtB,wBAAwB,GACxB,yBAAyB,GACzB,4BAA4B,GAC5B,8BAA8B,GAC9B,8BAA8B,GAC9B,WAAW,GACX,cAAc,GACd,OAAO,GACP,QAAQ,GACR,cAAc,GACd,OAAO,GACP,SAAS,GACT,OAAO,GACP,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,cAAc,GACd,QAAQ,GACR,eAAe,GACf,aAAa,GACb,gBAAgB,GAChB,cAAc,GACd,aAAa,GACb,cAAc,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":"deploy-release.d.ts","sourceRoot":"","sources":["../../src/lib/deploy-release.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,YAAY,EAIZ,aAAa,EAOd,MAAM,mBAAmB,CAAA;AA6D1B,MAAM,WAAW,oBAAoB;IACnC,yFAAyF;IACzF,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;CAC5B;AAED,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,oBAAoB,GAC5B,aAAa,CAgCf"}
@@ -1 +1 @@
1
- {"version":3,"file":"dev-supervisor.d.ts","sourceRoot":"","sources":["../../src/lib/dev-supervisor.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAGxD,4FAA4F;AAC5F,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAmKzE"}
1
+ {"version":3,"file":"dev-supervisor.d.ts","sourceRoot":"","sources":["../../src/lib/dev-supervisor.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAGxD,4FAA4F;AAC5F,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAoKzE"}
@@ -1,7 +1,7 @@
1
1
  /** Project code, plus the non-code files the Agent reads (`SIXB.md`, `skills/`). */
2
2
  export declare const isSource: (path: string) => boolean;
3
3
  /** Targeted native checks, with a bounded-concurrency async scan for missed events. */
4
- export declare function watchDevSource(root: string, hasCustomApp: () => boolean, onChange: (path: string) => void, onError: (error: unknown) => void): {
4
+ export declare function watchDevSource(root: string, appWatched: () => boolean, onChange: (path: string) => void, onError: (error: unknown) => void): {
5
5
  ready: Promise<void>;
6
6
  refresh: () => Promise<void>;
7
7
  close(): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"dev-watch.d.ts","sourceRoot":"","sources":["../../src/lib/dev-watch.ts"],"names":[],"mappings":"AAgBA,oFAAoF;AACpF,eAAO,MAAM,QAAQ,GAAI,MAAM,MAAM,YAGU,CAAA;AAqB/C,uFAAuF;AACvF,wBAAgB,cAAc,CAC5B,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,OAAO,EAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,EAChC,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI;;;;EA6JlC"}
1
+ {"version":3,"file":"dev-watch.d.ts","sourceRoot":"","sources":["../../src/lib/dev-watch.ts"],"names":[],"mappings":"AAgBA,oFAAoF;AACpF,eAAO,MAAM,QAAQ,GAAI,MAAM,MAAM,YAGU,CAAA;AAqB/C,uFAAuF;AACvF,wBAAgB,cAAc,CAC5B,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,MAAM,OAAO,EACzB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,EAChC,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI;;;;EA6JlC"}
@@ -29,10 +29,6 @@ declare const PRODUCTION_ROLES: {
29
29
  readonly onEventPlane: true;
30
30
  readonly usesStorageSchema: true;
31
31
  };
32
- readonly atlas: {
33
- readonly onEventPlane: false;
34
- readonly usesStorageSchema: false;
35
- };
36
32
  readonly app: {
37
33
  readonly onEventPlane: false;
38
34
  readonly usesStorageSchema: false;
@@ -40,15 +36,14 @@ declare const PRODUCTION_ROLES: {
40
36
  };
41
37
  interface ProductionRoleFacts {
42
38
  /**
43
- * Whether the role publishes to or claims from the event plane. `atlas` and `app` only serve
44
- * a browser bundle, so refusing to boot them on a process-local provider would block a valid
45
- * UI-only container.
39
+ * Whether the role publishes to or claims from the event plane. `app` only serves a browser
40
+ * bundle, so refusing to boot it on a process-local provider would block a valid UI-only
41
+ * container.
46
42
  */
47
43
  readonly onEventPlane: boolean;
48
44
  /**
49
- * Whether the role should bring the storage schema up to date at startup. `atlas` and `app`
50
- * are the tier facing the internet, and a container serving a bundle has no business holding
51
- * a DDL grant.
45
+ * Whether the role should bring the storage schema up to date at startup. `app` is the tier
46
+ * facing the internet, and a container serving a bundle has no business holding a DDL grant.
52
47
  */
53
48
  readonly usesStorageSchema: boolean;
54
49
  }
@@ -1 +1 @@
1
- {"version":3,"file":"production-roles.d.ts","sourceRoot":"","sources":["../../src/lib/production-roles.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASkC,CAAA;AAExD,UAAU,mBAAmB;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAA;IAE9B;;;;OAIG;IACH,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAA;CACpC;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,gBAAgB,CAAA;AAE1D;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG;KAC7B,IAAI,IAAI,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,IAAI,CAAC,CAAC,mBAAmB,CAAC,SAAS,IAAI,GACvF,IAAI,GACJ,KAAK;CACV,CAAC,cAAc,CAAC,CAAA;AAEjB,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,cAAc,GAAG,mBAAmB,CAE7E"}
1
+ {"version":3,"file":"production-roles.d.ts","sourceRoot":"","sources":["../../src/lib/production-roles.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQkC,CAAA;AAExD,UAAU,mBAAmB;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAA;IAE9B;;;OAGG;IACH,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAA;CACpC;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,gBAAgB,CAAA;AAE1D;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG;KAC7B,IAAI,IAAI,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,IAAI,CAAC,CAAC,mBAAmB,CAAC,SAAS,IAAI,GACvF,IAAI,GACJ,KAAK;CACV,CAAC,cAAc,CAAC,CAAA;AAEjB,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,cAAc,GAAG,mBAAmB,CAE7E"}
@@ -25,6 +25,5 @@ export declare function loadProductionSixb(options: ProductionRuntimeOptions): P
25
25
  export declare function resolveProductionPaths(entry: string): Promise<ProductionPaths>;
26
26
  export declare function resolveProjectRoot(entry: string): string;
27
27
  export declare function builtAppOutdir(buildOutdir: string): string;
28
- export declare function hasBuiltCustomApp(appOutdir: string): Promise<boolean>;
29
- export declare function builtAtlasOutdir(buildOutdir: string): string;
28
+ export declare function hasBuiltApp(appOutdir: string): Promise<boolean>;
30
29
  //# sourceMappingURL=production.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"production.d.ts","sourceRoot":"","sources":["../../src/lib/production.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAqB,MAAM,YAAY,CAAA;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAGxD,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,wBAAyB,SAAQ,mBAAmB;IACnE;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAA;CAC9B;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAC7B;AAED,wBAAsB,mBAAmB,CAAC,OAAO,GAAE,mBAAwB,GAAG,OAAO,CAAC,MAAM,CAAC,CAU5F;AAED,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,wBAAwB,G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AE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CAY5F;AAED,wBAAsB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,CAepF;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAUxD;AAED,wBAAgB,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAE1D;AAED,wBAAsB,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CASrE"}
@@ -10,9 +10,8 @@ export interface RoleView {
10
10
  /**
11
11
  * How a long-running role reports itself: the Ink panels in a terminal, plain lines in a log.
12
12
  *
13
- * Ink's layout engine keeps about 45 MB for the life of the process once it is imported. `atlas`
14
- * and `app` run under a supervisor and serve static files, so outside a terminal they never load
15
- * it.
13
+ * Ink's layout engine keeps about 45 MB for the life of the process once it is imported. `app`
14
+ * runs under a supervisor and serves static files, so outside a terminal it never loads it.
16
15
  *
17
16
  * Call this before the role sets NODE_ENV. Bun compiles JSX for the mode the process started in,
18
17
  * and React loaded after the change cannot run it: the panels then render nothing, or throw. Ink
@@ -1 +1 @@
1
- {"version":3,"file":"role-view.d.ts","sourceRoot":"","sources":["../../src/lib/role-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAA;AAG7C,MAAM,WAAW,QAAQ;IACvB,OAAO,CAAC,OAAO,EAAE;QACf,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;QACtB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;QACzB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;KACxB,GAAG,gBAAgB,CAAA;IACpB,KAAK,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACrC;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,YAAY,IAAI,OAAO,CAAC,QAAQ,CAAC,CAMtD"}
1
+ {"version":3,"file":"role-view.d.ts","sourceRoot":"","sources":["../../src/lib/role-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAA;AAG7C,MAAM,WAAW,QAAQ;IACvB,OAAO,CAAC,OAAO,EAAE;QACf,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;QACtB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;QACzB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;KACxB,GAAG,gBAAgB,CAAA;IACpB,KAAK,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACrC;AAED;;;;;;;;;GASG;AACH,wBAAsB,YAAY,IAAI,OAAO,CAAC,QAAQ,CAAC,CAMtD"}
@@ -31,6 +31,7 @@ export interface StartSixbRuntimeOptions {
31
31
  readonly agentApiBaseUrl?: string;
32
32
  readonly agentTurnTimeoutMs?: number;
33
33
  readonly workerConcurrency?: WorkerConcurrency;
34
+ readonly vectorConcurrency?: number;
34
35
  }
35
36
  export interface RuntimeApiServer {
36
37
  start(): Promise<void>;
@@ -56,6 +57,14 @@ export interface RunningOrchestratorRuntime {
56
57
  export declare function recordApiPublicOrigin(sixb: LoadedSixbHost, value: string | undefined): void;
57
58
  export declare function migrateRuntimeStorage(sixb: LoadedSixbHost): Promise<void>;
58
59
  export declare function checkRuntimeLakeDefinitions(sixb: LoadedSixbHost): Promise<void>;
60
+ /** Derives the markings SQL steps give their outputs and checks every projection against them. */
61
+ export declare function checkRuntimePipelineMarkings(sixb: LoadedSixbHost): Promise<void>;
62
+ /**
63
+ * What the dataset versions projections applied add to the code's markings, one line per
64
+ * projection: properties that keep a marking, and object types or links readers cannot read,
65
+ * until the projection applies a version the code allows. Reads the projections' active sources.
66
+ */
67
+ export declare function readAppliedMarkingNotices(sixb: LoadedSixbHost): Promise<readonly string[]>;
59
68
  export declare function stopSixbProviders(sixb: LoadedSixbHost): Promise<void>;
60
69
  export declare function startRulesRuntime(sixb: LoadedSixbHost): Promise<RunningRulesRuntime>;
61
70
  export declare function startSchedulerRuntime(sixb: LoadedSixbHost): Promise<RunningSchedulerRuntime>;
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../src/lib/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAWhD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AAGzD,OAAO,EAGL,kBAAkB,EACnB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAGhD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAG1D,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,CAItF;AAMD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI,CAAA;IACxC,QAAQ,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,CAAA;IACtC,QAAQ,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI,CAAA;IACxC,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,IAAI,CAAA;IAClD,QAAQ,CAAC,cAAc,EAAE,cAAc,GAAG,IAAI,CAAA;IAC9C,QAAQ,CAAC,cAAc,EAAE,cAAc,GAAG,IAAI,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wBAAsB,gBAAgB,CACpC,IAAI,EAAE,cAAc,EACpB,OAAO,GAAE,uBAA4B,GACpC,OAAO,CAAC,kBAAkB,CAAC,CAkH7B"}
@@ -6,4 +6,9 @@ export declare function resolveSingleWorkerConcurrency(workerType: WorkerType, v
6
6
  * their environment variables; repeated CLI values use the last occurrence.
7
7
  */
8
8
  export declare function resolveWorkerConcurrency(values?: readonly string[]): WorkerConcurrency;
9
+ /**
10
+ * Resolve the projection worker's concurrent embedding calls. `undefined` leaves the worker's
11
+ * built-in default in authority.
12
+ */
13
+ export declare function resolveVectorConcurrency(value: string | undefined): number | undefined;
9
14
  //# sourceMappingURL=worker-concurrency.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"worker-concurrency.d.ts","sourceRoot":"","sources":["../../src/lib/worker-concurrency.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,KAAK,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAWzF,uEAAuE;AACvE,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,MAAM,GAAG,SAAS,GACxB,iBAAiB,CAMnB;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,GAAE,SAAS,MAAM,EAAO,GAAG,iBAAiB,CAoB1F"}
1
+ {"version":3,"file":"worker-concurrency.d.ts","sourceRoot":"","sources":["../../src/lib/worker-concurrency.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,KAAK,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAWzF,uEAAuE;AACvE,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,MAAM,GAAG,SAAS,GACxB,iBAAiB,CAMnB;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,GAAE,SAAS,MAAM,EAAO,GAAG,iBAAiB,CAoB1F;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAKtF"}
@@ -10,6 +10,7 @@ export interface WorkerCreationOptions {
10
10
  readonly agentApiBaseUrl?: string;
11
11
  readonly agentTurnTimeoutMs?: number;
12
12
  readonly workerConcurrency?: WorkerConcurrency;
13
+ readonly vectorConcurrency?: number;
13
14
  }
14
15
  export declare function createWorkerForType(sixb: LoadedSixbHost, workerType: string, options?: WorkerCreationOptions): QueueWorkerProcess;
15
16
  export declare function resolveWorkerTypeToStart(requestedWorker?: string): WorkerType;
@@ -1 +1 @@
1
- {"version":3,"file":"worker-registry.d.ts","sourceRoot":"","sources":["../../src/lib/worker-registry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AAMzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAGhD,eAAO,MAAM,YAAY,kEAAmE,CAAA;AAE5F,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAA;AAEtD,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,CAAA;AAC7E,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAA;AAE1E,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAA;IACjC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAA;IACpC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;CAC/C;AAmDD,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,cAAc,EACpB,UAAU,EAAE,MAAM,EAClB,OAAO,GAAE,qBAA0B,GAClC,kBAAkB,CAOpB;AAED,wBAAgB,wBAAwB,CAAC,eAAe,CA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