@sixb/cli 0.1.6 → 0.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.
Files changed (54) hide show
  1. package/README.md +125 -18
  2. package/dist/commands/init.d.ts +0 -1
  3. package/dist/commands/init.d.ts.map +1 -1
  4. package/dist/commands/login.d.ts +8 -0
  5. package/dist/commands/login.d.ts.map +1 -0
  6. package/dist/commands/logout.d.ts +6 -0
  7. package/dist/commands/logout.d.ts.map +1 -0
  8. package/dist/commands/profile.d.ts +7 -0
  9. package/dist/commands/profile.d.ts.map +1 -0
  10. package/dist/commands/service-account.d.ts +1 -0
  11. package/dist/commands/service-account.d.ts.map +1 -1
  12. package/dist/commands/status.d.ts +8 -0
  13. package/dist/commands/status.d.ts.map +1 -0
  14. package/dist/commands/token.d.ts +1 -0
  15. package/dist/commands/token.d.ts.map +1 -1
  16. package/dist/lib/api-client.d.ts +0 -11
  17. package/dist/lib/api-client.d.ts.map +1 -1
  18. package/dist/lib/command-line.d.ts +176 -0
  19. package/dist/lib/command-line.d.ts.map +1 -0
  20. package/dist/lib/errors.d.ts +6 -0
  21. package/dist/lib/errors.d.ts.map +1 -1
  22. package/dist/lib/instance-command.d.ts +3 -0
  23. package/dist/lib/instance-command.d.ts.map +1 -0
  24. package/dist/lib/loadSixb.d.ts.map +1 -1
  25. package/dist/lib/profile-api-client.d.ts +6 -0
  26. package/dist/lib/profile-api-client.d.ts.map +1 -0
  27. package/dist/lib/profiles.d.ts +34 -0
  28. package/dist/lib/profiles.d.ts.map +1 -0
  29. package/dist/lib/runtime.d.ts.map +1 -1
  30. package/dist/lib/worker-registry.d.ts.map +1 -1
  31. package/dist/ui/index.d.ts +5 -5
  32. package/dist/ui/index.d.ts.map +1 -1
  33. package/package.json +14 -13
  34. package/src/commands/init.tsx +1 -13
  35. package/src/commands/login.tsx +196 -0
  36. package/src/commands/logout.tsx +36 -0
  37. package/src/commands/profile.tsx +101 -0
  38. package/src/commands/service-account.tsx +18 -15
  39. package/src/commands/status.tsx +93 -0
  40. package/src/commands/token.tsx +11 -8
  41. package/src/index.tsx +134 -156
  42. package/src/lib/api-client.ts +4 -65
  43. package/src/lib/command-line.ts +743 -0
  44. package/src/lib/errors.ts +13 -0
  45. package/src/lib/instance-command.ts +80 -0
  46. package/src/lib/loadSixb.ts +0 -2
  47. package/src/lib/profile-api-client.ts +38 -0
  48. package/src/lib/profiles.ts +262 -0
  49. package/src/lib/runtime.ts +7 -1
  50. package/src/lib/worker-registry.ts +7 -1
  51. package/src/ui/index.tsx +39 -140
  52. package/dist/commands/auth.d.ts +0 -8
  53. package/dist/commands/auth.d.ts.map +0 -1
  54. package/src/commands/auth.tsx +0 -96
package/README.md CHANGED
@@ -4,6 +4,15 @@ Command-line interface for building and running [Sixb](https://github.com/sixb-a
4
4
 
5
5
  ## Installation
6
6
 
7
+ Install the `sixb` cli globally:
8
+
9
+ ```bash
10
+ bun add --global @sixb/cli
11
+ sixb --version
12
+ ```
13
+
14
+ Add the CLI to a Sixb project when its development and deployment scripts use it:
15
+
7
16
  ```bash
8
17
  bun add @sixb/cli
9
18
  ```
@@ -16,7 +25,21 @@ bun add @sixb/cli
16
25
  | `sixb api` | Start the production API/docs/WebSocket server |
17
26
  | `sixb atlas` | Start the production Atlas UI server |
18
27
  | `sixb app` | Start the production custom app server |
19
- | `sixb auth status` | Check API token authentication |
28
+ | `sixb login <api-url>` | Validate an instance and save it as the current profile |
29
+ | `sixb logout` | Remove the current or named profile |
30
+ | `sixb status` | Check the selected profile and API |
31
+ | `sixb profile list` | List saved profiles |
32
+ | `sixb profile show [name]` | Show a profile without exposing its token |
33
+ | `sixb profile use <name>` | Select the current profile |
34
+ | `sixb project show` | Show project metadata |
35
+ | `sixb ontology list|get` | Inspect the visible ontology |
36
+ | `sixb objects ...` | Inspect, list, search, and query objects |
37
+ | `sixb telemetry ...` | Read current and historical telemetry |
38
+ | `sixb actions ...` | Discover and request actions |
39
+ | `sixb action-runs ...` | Inspect action execution history |
40
+ | `sixb workflows ...` | Discover and start workflows |
41
+ | `sixb workflow-runs ...` | Inspect workflow execution history |
42
+ | `sixb files ...` | Upload and download files |
20
43
  | `sixb token list` | List personal access tokens |
21
44
  | `sixb token create` | Create a personal access token |
22
45
  | `sixb token revoke <id>` | Revoke a personal access token |
@@ -37,18 +60,16 @@ bun add @sixb/cli
37
60
  | `sixb lake check` | Check lake dataset definitions for drift against the lake catalog |
38
61
  | `sixb lake cleanup` | Run provider-supported lake maintenance cleanup |
39
62
  | `sixb init [dir]` | Initialize a new sixb project in a directory |
40
- | `sixb create <name>` | Scaffold a new Sixb project with `create-sixb` |
41
63
  | `sixb help` | Show help |
42
64
  | `sixb --version` | Show version |
43
65
 
44
- Scaffold a new project without installing the CLI first with `bun create sixb <name>`. After the
45
- CLI is installed, use `sixb create <name>`.
66
+ Scaffold a new project without installing the CLI first with `bun create sixb <name>`.
46
67
 
47
68
  ## Options
48
69
 
49
70
  | Flag | Applies to | Default | Description |
50
71
  |---|---|---|---|
51
- | `--entry <path>` | all | `sixb.config.ts` | Path to the sixb config module |
72
+ | `--entry <path>` | project and runtime commands | `sixb.config.ts` | Path to the sixb config module |
52
73
  | `--no-migrate` | production roles | false | Start without migrating storage. Also `SIXB_SKIP_MIGRATION=1`. |
53
74
  | `--port <port>` | serving commands | role default | Role bind port. For `dev`, this is the Atlas base port. |
54
75
  | `--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. |
@@ -58,20 +79,64 @@ CLI is installed, use `sixb create <name>`.
58
79
  | `--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` |
59
80
  | `--atlas-public-origin <origin>` | `dev`, `api`, `atlas` | dev: `http://localhost:<port>` | Public Atlas UI origin |
60
81
  | `--app-public-origin <origin>` | `dev`, `api`, `app` | dev: `http://localhost:<port+1>` | Public custom app origin |
61
- | `--api-url <url>` | auth/token commands | `SIXB_API_URL` or `http://localhost:3002` | API origin or `/api` URL |
62
- | `--token <token>` | auth/token commands | `SIXB_API_TOKEN` or `SIXB_TOKEN` | API bearer token |
82
+ | `--profile <name>` | remote commands | current profile | Use a saved profile without changing the current one |
83
+ | `--api-url <url>` | remote commands | resolved profile or `http://localhost:3002` | Use an API without a saved profile |
84
+ | `--token <token>` | remote commands | selected source | Bearer token; direct `--api-url` never inherits another source's token |
85
+ | `--token-stdin` | `login` | false | Read an existing token from standard input |
63
86
  | `--id <id>` | token/service-account commands | generated when supported | Token or service-account id |
64
87
  | `--name <name>` | token/service-account commands | required for create | Token or service-account name |
65
88
  | `--description <text>` | `service-account create` | none | Service-account description |
66
89
  | `--expires-in <duration>` | token create commands | `90d` | Token lifetime, e.g. `30d`, `4w`, or `1y` |
67
90
  | `--expires-at <iso>` | token create commands | none | Token expiration timestamp |
68
91
  | `--group <id>` | token/service-account create commands | inherited/none | Assignable auth group; may repeat or use commas |
69
- | `--json` | auth/token commands | false | Print machine-readable JSON |
92
+ | `--json` | profile and credential commands | false | Print machine-readable JSON |
70
93
  | `--outdir <path>` | `build` | `.sixb/dist` | Build output directory |
71
94
  | `--dry-run` | `lake cleanup` | false | Preview cleanup without changing storage |
72
95
  | `--expire-older-than <interval>` | `lake cleanup` | `7 days` | Snapshot expiration window |
73
96
  | `--delete-older-than <interval>` | `lake cleanup` | expire window | File deletion window |
74
97
 
98
+ Options are command-scoped. Unknown options, missing values, duplicate scalar options, and extra
99
+ positionals fail before the command runs. Repeatable options such as `--group` and the typed
100
+ `--concurrency` forms are declared explicitly. `--api-url` and `--profile` are mutually exclusive;
101
+ either may be paired with an explicit `--token`.
102
+
103
+ Instance commands share this validation with the sandbox CLI. Help does not require a saved profile
104
+ or API connection. Use `--` to pass identifiers that look like options:
105
+
106
+ ```bash
107
+ sixb objects get Customer alice --help
108
+ sixb objects get Customer -- --help
109
+ ```
110
+
111
+ The first command prints help; the second looks up the literal primary id `--help`.
112
+
113
+ Use either help form for contextual command documentation:
114
+
115
+ ```bash
116
+ sixb token --help
117
+ sixb help token create
118
+ ```
119
+
120
+ A bare command group prints its scoped help without choosing a default action:
121
+
122
+ ```bash
123
+ sixb profile
124
+ sixb service-account token
125
+ ```
126
+
127
+ ## Output and exit codes
128
+
129
+ Instance commands emit compact JSON by default. Profile and credential-management commands render
130
+ for humans by default and emit compact JSON when passed `--json`. In JSON mode, failures are
131
+ written as one compact `{"error": ...}` value on stderr.
132
+
133
+ ```text
134
+ 0 success or help
135
+ 1 command or runtime failure
136
+ 2 invalid arguments
137
+ 3 API failure
138
+ ```
139
+
75
140
  ## Usage
76
141
 
77
142
  ```bash
@@ -111,27 +176,69 @@ sixb lake cleanup --dry-run
111
176
  sixb lake cleanup --expire-older-than "1 hour" --delete-older-than "1 hour"
112
177
  sixb lake cleanup --expire-older-than "7 days" --delete-older-than "7 days"
113
178
 
114
- # Scaffold a new project
115
- sixb create my-project
179
+ # Scaffold a new project without installing the CLI
180
+ bun create sixb my-project
116
181
  cd my-project && bun install && sixb dev
117
182
 
118
183
  # Initialize sixb in an existing directory
119
184
  sixb init .
120
185
  ```
121
186
 
122
- ## API authentication commands
187
+ ## Profiles and remote commands
123
188
 
124
- Use a personal access token to call management commands from a terminal, script, or CI job.
125
- `--token` wins over `SIXB_API_TOKEN`, which wins over `SIXB_TOKEN`. `--api-url` wins over
126
- `SIXB_API_URL`, then `SIXB_API_PUBLIC_ORIGIN`, then defaults to `http://localhost:3002`.
189
+ Login validates `/api/project`, saves the profile in `~/.config/sixb/config.json`, and selects it.
190
+ The directory is mode `0700`; the config file is atomically replaced at mode `0600`.
127
191
 
128
192
  ```bash
129
- export SIXB_API_URL=http://localhost:3002/api
130
- export SIXB_API_TOKEN=sixb_pat_...
193
+ sixb login http://localhost:3002 --profile local
194
+
195
+ # Authenticated APIs open a browser and wait for approval:
196
+ sixb login https://api.acme.example --profile production
197
+
198
+ # Non-interactive fallback with an existing token:
199
+ printf '%s\n' "$SIXB_API_TOKEN" |
200
+ sixb login https://api.acme.example --profile production --token-stdin
201
+
202
+ sixb status
203
+ sixb profile list
204
+ sixb profile use production
205
+ sixb ontology list
206
+ sixb objects inspect Customer customer-123
207
+ ```
208
+
209
+ An auth-disabled local API stores a tokenless profile. Authenticated APIs use a short-lived device
210
+ code: the browser approves the request through the existing session, and the CLI stores the
211
+ one-time personal access token only after validating it against `/api/project`. Use `--token-stdin`
212
+ for automation or when you already have a token.
213
+
214
+ Remote target resolution is deterministic:
131
215
 
132
- sixb auth status
216
+ ```text
217
+ --api-url (+ optional --token)
218
+ --profile (+ optional --token)
219
+ SIXB_API_URL (+ SIXB_API_TOKEN or SIXB_TOKEN)
220
+ SIXB_PROFILE
221
+ current profile
222
+ http://localhost:3002
133
223
  ```
134
224
 
225
+ Use a named profile for local tools such as Codex or Claude Code:
226
+
227
+ ```bash
228
+ sixb objects search "Northline" --profile production
229
+ SIXB_PROFILE=production sixb project show
230
+ ```
231
+
232
+ CI can keep credentials entirely in the environment:
233
+
234
+ ```bash
235
+ SIXB_API_URL=https://api.acme.example \
236
+ SIXB_API_TOKEN=sixb_sat_... \
237
+ sixb objects list
238
+ ```
239
+
240
+ ## API credential management
241
+
135
242
  Personal access tokens are user-owned credentials. They can manage personal tokens, service
136
243
  accounts, and service-account tokens within the caller's existing groups and permissions.
137
244
 
@@ -161,7 +268,7 @@ sixb service-account token revoke svc_sandbox tok_...
161
268
  sixb service-account disable svc_sandbox
162
269
  ```
163
270
 
164
- Use `--json` on auth/token commands when scripting:
271
+ Use `--json` on profile and credential-management commands when scripting:
165
272
 
166
273
  ```bash
167
274
  sixb service-account token create svc_sandbox --name "CI token" --expires-in 30d --json
@@ -1,3 +1,2 @@
1
1
  export declare function runInit(dir?: string): Promise<void>;
2
- export declare function runCreate(name: string): Promise<void>;
3
2
  //# sourceMappingURL=init.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.tsx"],"names":[],"mappings":"AAIA,wBAAsB,OAAO,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAWzD;AAED,wBAAsB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAU3D"}
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.tsx"],"names":[],"mappings":"AAIA,wBAAsB,OAAO,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAWzD"}
@@ -0,0 +1,8 @@
1
+ export interface LoginCommandOptions {
2
+ readonly apiUrl?: string;
3
+ readonly profile?: string;
4
+ readonly tokenStdin?: boolean;
5
+ readonly json?: boolean;
6
+ }
7
+ export declare function runLogin(options?: LoginCommandOptions): Promise<void>;
8
+ //# sourceMappingURL=login.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../src/commands/login.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAA;IAC7B,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,wBAAsB,QAAQ,CAAC,OAAO,GAAE,mBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC,CA8C/E"}
@@ -0,0 +1,6 @@
1
+ export interface LogoutCommandOptions {
2
+ readonly profile?: string;
3
+ readonly json?: boolean;
4
+ }
5
+ export declare function runLogout(options?: LogoutCommandOptions): Promise<void>;
6
+ //# sourceMappingURL=logout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logout.d.ts","sourceRoot":"","sources":["../../src/commands/logout.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,wBAAsB,SAAS,CAAC,OAAO,GAAE,oBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC,CA0BjF"}
@@ -0,0 +1,7 @@
1
+ export interface ProfileCommandOptions {
2
+ readonly action?: string;
3
+ readonly name?: string;
4
+ readonly json?: boolean;
5
+ }
6
+ export declare function runProfile(options?: ProfileCommandOptions): Promise<void>;
7
+ //# sourceMappingURL=profile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../src/commands/profile.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,wBAAsB,UAAU,CAAC,OAAO,GAAE,qBAA0B,GAAG,OAAO,CAAC,IAAI,CAAC,CAMnF"}
@@ -2,6 +2,7 @@ export interface ServiceAccountCommandOptions {
2
2
  readonly positionals?: readonly string[];
3
3
  readonly apiUrl?: string;
4
4
  readonly token?: string;
5
+ readonly profile?: string;
5
6
  readonly id?: string;
6
7
  readonly name?: string;
7
8
  readonly description?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"service-account.d.ts","sourceRoot":"","sources":["../../src/commands/service-account.tsx"],"names":[],"mappings":"AAoBA,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IACxC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IACrC,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,wBAAsB,iBAAiB,CAAC,OAAO,GAAE,4BAAiC,iBAuBjF"}
1
+ {"version":3,"file":"service-account.d.ts","sourceRoot":"","sources":["../../src/commands/service-account.tsx"],"names":[],"mappings":"AAsBA,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IACxC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IACrC,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,wBAAsB,iBAAiB,CAAC,OAAO,GAAE,4BAAiC,iBAuBjF"}
@@ -0,0 +1,8 @@
1
+ export interface StatusCommandOptions {
2
+ readonly apiUrl?: string;
3
+ readonly token?: string;
4
+ readonly profile?: string;
5
+ readonly json?: boolean;
6
+ }
7
+ export declare function runStatus(options?: StatusCommandOptions): Promise<void>;
8
+ //# sourceMappingURL=status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/commands/status.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,wBAAsB,SAAS,CAAC,OAAO,GAAE,oBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC,CAkCjF"}
@@ -3,6 +3,7 @@ export interface TokenCommandOptions {
3
3
  readonly positionals?: readonly string[];
4
4
  readonly apiUrl?: string;
5
5
  readonly token?: string;
6
+ readonly profile?: string;
6
7
  readonly id?: string;
7
8
  readonly name?: string;
8
9
  readonly expiresAt?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"token.d.ts","sourceRoot":"","sources":["../../src/commands/token.tsx"],"names":[],"mappings":"AAcA,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IACxC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IACrC,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,wBAAsB,QAAQ,CAAC,OAAO,GAAE,mBAAwB,iBAkB/D"}
1
+ {"version":3,"file":"token.d.ts","sourceRoot":"","sources":["../../src/commands/token.tsx"],"names":[],"mappings":"AAgBA,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IACxC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IACrC,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,wBAAsB,QAAQ,CAAC,OAAO,GAAE,mBAAwB,iBAkB/D"}
@@ -5,17 +5,6 @@ export interface SixbApiClientConfig {
5
5
  readonly token?: string;
6
6
  readonly tokenSource?: string;
7
7
  }
8
- export interface ResolveApiClientConfigOptions {
9
- readonly apiUrl?: string;
10
- readonly token?: string;
11
- readonly env?: Record<string, string | undefined>;
12
- }
13
- export declare class SixbApiError extends Error {
14
- readonly status: number | undefined;
15
- readonly responseBody: unknown;
16
- constructor(message: string, status: number | undefined, responseBody: unknown);
17
- }
18
- export declare function resolveApiClientConfig(options?: ResolveApiClientConfigOptions): SixbApiClientConfig;
19
8
  export declare function createCliSixbClient(config: SixbApiClientConfig): SixbClient;
20
9
  export decl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B,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAUrD"}
1
+ {"version":3,"file":"api-client.d.ts","sourceRoot":"","sources":["../../src/lib/api-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6C,KAAK,UAAU,EAAE,MAAM,cAAc,CAAA;AAGzF,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAC9B;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,mBAAmB,GAAG,UAAU,CAW3E;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,MAAM,EAAE;IAC7C,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IACjB,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAA;CAC7B,GAAG,CAAC,CAcJ;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAUrD"}
@@ -0,0 +1,176 @@
1
+ export declare const CLI_OPTION_DEFINITIONS: {
2
+ readonly entry: {
3
+ readonly syntax: "--entry <path>";
4
+ readonly summary: "Entry file (default: sixb.config.ts)";
5
+ readonly kind: "string";
6
+ };
7
+ readonly "no-migrate": {
8
+ readonly syntax: "--no-migrate";
9
+ readonly summary: "Start a role without migrating storage (or SIXB_SKIP_MIGRATION=1)";
10
+ readonly kind: "boolean";
11
+ };
12
+ readonly port: {
13
+ readonly syntax: "--port <port>";
14
+ readonly summary: "Role port; dev uses Atlas base port";
15
+ readonly kind: "string";
16
+ };
17
+ readonly host: {
18
+ readonly syntax: "--host <host>";
19
+ readonly summary: "Bind host (dev: 127.0.0.1, production roles: 0.0.0.0)";
20
+ readonly kind: "string";
21
+ };
22
+ readonly "api-port": {
23
+ readonly syntax: "--api-port <port>";
24
+ readonly summary: "API port (default: Atlas port + 2)";
25
+ readonly kind: "string";
26
+ };
27
+ readonly "api-host": {
28
+ readonly syntax: "--api-host <host>";
29
+ readonly summary: "API bind host (default: --host)";
30
+ readonly kind: "string";
31
+ };
32
+ readonly "api-public-origin": {
33
+ readonly syntax: "--api-public-origin <origin>";
34
+ readonly summary: "Public API origin";
35
+ readonly kind: "string";
36
+ };
37
+ readonly "agent-turn-timeout": {
38
+ readonly syntax: "--agent-turn-timeout <duration>";
39
+ readonly summary: "Agent turn wall-clock budget (default: 10m)";
40
+ readonly kind: "string";
41
+ };
42
+ readonly concurrency: {
43
+ readonly syntax: "--concurrency <value>";
44
+ readonly summary: "Concurrent jobs: count for worker; repeat type=count for dev/worker-group";
45
+ readonly kind: "string";
46
+ };
47
+ readonly "atlas-public-origin": {
48
+ readonly syntax: "--atlas-public-origin <origin>";
49
+ readonly summary: "Public Atlas origin";
50
+ readonly kind: "string";
51
+ };
52
+ readonly "app-public-origin": {
53
+ readonly syntax: "--app-public-origin <origin>";
54
+ readonly summary: "Public custom app origin";
55
+ readonly kind: "string";
56
+ };
57
+ readonly profile: {
58
+ readonly syntax: "--profile <name>";
59
+ readonly summary: "Use a saved API profile";
60
+ readonly kind: "string";
61
+ };
62
+ readonly "api-url": {
63
+ readonly syntax: "--api-url <url>";
64
+ readonly summary: "Use an API without a saved profile";
65
+ readonly kind: "string";
66
+ };
67
+ readonly token: {
68
+ readonly syntax: "--token <token>";
69
+ readonly summary: "Bearer token for an explicit API URL";
70
+ readonly kind: "string";
71
+ };
72
+ readonly "token-stdin": {
73
+ readonly syntax: "--token-stdin";
74
+ readonly summary: "Import a login token from standard input";
75
+ readonly kind: "boolean";
76
+ };
77
+ readonly id: {
78
+ readonly syntax: "--id <id>";
79
+ readonly summary: "Token or service-account id";
80
+ readonly kind: "string";
81
+ };
82
+ readonly name: {
83
+ readonly syntax: "--name <name>";
84
+ readonly summary: "Token or service-account name";
85
+ readonly kind: "string";
86
+ };
87
+ readonly description: {
88
+ readonly syntax: "--description <text>";
89
+ readonly summary: "Service-account description";
90
+ readonly kind: "string";
91
+ };
92
+ readonly "expires-in": {
93
+ readonly syntax: "--expires-in <duration>";
94
+ readonly summary: "Token lifetime, e.g. 30d or 1y";
95
+ readonly kind: "string";
96
+ };
97
+ readonly "expires-at": {
98
+ readonly syntax: "--expires-at <iso>";
99
+ readonly summary: "Token expiration timestamp";
100
+ readonly kind: "string";
101
+ };
102
+ readonly group: {
103
+ readonly syntax: "--group <id>";
104
+ readonly summary: "Assignable token group; may repeat";
105
+ readonly kind: "string";
106
+ };
107
+ readonly json: {
108
+ readonly syntax: "--json";
109
+ readonly summary: "Print JSON for management commands";
110
+ readonly kind: "boolean";
111
+ };
112
+ readonly outdir: {
113
+ readonly syntax: "--outdir <path>";
114
+ readonly summary: "Build output directory";
115
+ readonly kind: "string";
116
+ };
117
+ readonly "dry-run": {
118
+ readonly syntax: "--dry-run";
119
+ readonly summary: "Preview lake cleanup without changing storage";
120
+ readonly kind: "boolean";
121
+ };
122
+ readonly "expire-older-than": {
123
+ readonly syntax: "--expire-older-than <interval>";
124
+ readonly summary: "Lake snapshot expiration window";
125
+ readonly kind: "string";
126
+ };
127
+ readonly "delete-older-than": {
128
+ readonly syntax: "--delete-older-than <interval>";
129
+ readonly summary: "Lake file deletion window";
130
+ readonly kind: "string";
131
+ };
132
+ };
133
+ export type CliOptionName = keyof typeof CLI_OPTION_DEFINITIONS;
134
+ 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" | "lake:check" | "lake:cleanup" | "init";
135
+ export interface CliHelpItem {
136
+ readonly label: string;
137
+ readonly value: string;
138
+ }
139
+ export interface CliHelp {
140
+ readonly path: readonly string[];
141
+ readonly usage: string;
142
+ readonly summary: string;
143
+ readonly commands: readonly CliHelpItem[];
144
+ readonly options: readonly CliHelpItem[];
145
+ }
146
+ export interface ParsedCliOptions {
147
+ readonly [name: string]: string | boolean | readonly string[] | undefined;
148
+ }
149
+ export type ParsedCli = {
150
+ readonly kind: "help";
151
+ readonly help: CliHelp;
152
+ } | {
153
+ readonly kind: "version";
154
+ } | {
155
+ readonly kind: "instance";
156
+ readonly args: readonly string[];
157
+ } | {
158
+ readonly kind: "command";
159
+ readonly id: LocalCommandId;
160
+ readonly path: readonly string[];
161
+ readonly positionals: readonly string[];
162
+ readonly options: ParsedCliOptions;
163
+ };
164
+ export declare class CliUsageError extends Error {
165
+ readonly help: CliHelp;
166
+ readonly exitCode = 2;
167
+ constructor(message: string, help: CliHelp);
168
+ }
169
+ export declare const ROOT_HELP: CliHelp;
170
+ 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"];
171
+ export declare function parseCliArgs(args: readonly string[]): ParsedCli;
172
+ export declare function stringOption(options: ParsedCliOptions, name: CliOptionName): string | undefined;
173
+ export declare function booleanOption(options: ParsedCliOptions, name: CliOptionName): boolean;
174
+ export declare function repeatedOption(options: ParsedCliOptions, name: CliOptionName): readonly string[];
175
+ export declare function wantsManagementJson(args: readonly string[]): boolean;
176
+ //# sourceMappingURL=command-line.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command-line.d.ts","sourceRoot":"","sources":["../../src/lib/command-line.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuGuD,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,cAAc,GACd,MAAM,CAAA;AA+RV,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,OAAO;IACtB,QAAQ,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,CAAA;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,WAAW,EAAE,CAAA;IACzC,QAAQ,CAAC,OAAO,EAAE,SAAS,WAAW,EAAE,CAAA;CACzC;AAED,MAAM,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EAAE,IAAI,EAAE,aAAa,GAAG,SAAS,MAAM,EAAE,CAGhG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAKpE"}
@@ -5,6 +5,12 @@ export interface SixbCliErrorOptions extends ErrorOptions {
5
5
  */
6
6
  readonly remediation?: string;
7
7
  }
8
+ /** An HTTP or transport failure returned by the Sixb API. */
9
+ export declare class SixbApiError extends Error {
10
+ readonly status: number | undefined;
11
+ readonly responseBody: unknown;
12
+ constructor(message: string, status: number | undefined, responseBody: unknown);
13
+ }
8
14
  /** A failure the CLI raised itself, as opposed to one it caught from the runtime. */
9
15
  export declare class SixbCliError extends Error {
10
16
  readonly remediation: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/lib/errors.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD;;;OAGG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAC9B;AAED,qFAAqF;AACrF,qBAAa,YAAa,SAAQ,KAAK;IACrC,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;gBAE5B,OAAO,EAAE,MAAM,EAAE,OAAO,GAAE,mBAAwB;CAK/D;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAEnD;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAYnE"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/lib/errors.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD;;;OAGG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAC9B;AAED,6DAA6D;AAC7D,qBAAa,YAAa,SAAQ,KAAK;IACrC,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IACnC,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAA;gBAElB,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,SAAS,EAAE,YAAY,EAAE,OAAO;CAM/E;AAED,qFAAqF;AACrF,qBAAa,YAAa,SAAQ,KAAK;IACrC,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;gBAE5B,OAAO,EAAE,MAAM,EAAE,OAAO,GAAE,mBAAwB;CAK/D;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAEnD;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAYnE"}
@@ -0,0 +1,3 @@
1
+ export declare function isLocalInstanceCommand(command: string): boolean;
2
+ export declare function runLocalInstanceCommand(args: readonly string[]): Promise<void>;
3
+ //# sourceMappingURL=instance-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instance-command.d.ts","sourceRoot":"","sources":["../../src/lib/instance-command.ts"],"names":[],"mappings":"AAKA,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAE/D;AAED,wBAAsB,uBAAuB,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAoBpF"}
@@ -1 +1 @@
1
- {"version":3,"file":"loadSixb.d.ts","sourceRoot":"","sources":["../../src/lib/loadSixb.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE9C,MAAM,MAAM,cAAc,GAAG,YAAY,CAAA;AA8GzC,wBAAsB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CA0B9E"}
1
+ {"version":3,"file":"loadSixb.d.ts","sourceRoot":"","sources":["../../src/lib/loadSixb.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE9C,MAAM,MAAM,cAAc,GAAG,YAAY,CAAA;AA4GzC,wBAAsB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CA0B9E"}
@@ -0,0 +1,6 @@
1
+ import type { SixbApiClientConfig } from "./api-client";
2
+ import { type ResolveProfileInput } from "./profiles";
3
+ export interface ResolveProfileApiClientConfigOptions extends ResolveProfileInput {
4
+ }
5
+ export declare function resolveProfileApiClientConfig(options?: ResolveProfileApiClientConfigOptions): Promise<SixbApiClientConfig>;
6
+ //# sourceMappingURL=profile-api-client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile-api-client.d.ts","sourceRoot":"","sources":["../../src/lib/profile-api-client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AACvD,OAAO,EAAE,KAAK,mBAAmB,EAAkB,MAAM,YAAY,CAAA;AAErE,MAAM,WAAW,oCAAqC,SAAQ,mBAAmB;CAAG;AAEpF,wBAAsB,6BAA6B,CACjD,OAAO,GAAE,oCAAyC,GACjD,OAAO,CAAC,mBAAmB,CAAC,CAa9B"}
@@ -0,0 +1,34 @@
1
+ export interface SixbProfile {
2
+ readonly apiUrl: string;
3
+ readonly projectId: string;
4
+ readonly token?: string;
5
+ }
6
+ export interface SixbConfigFile {
7
+ readonly version: 1;
8
+ readonly currentProfile?: string;
9
+ readonly profiles: Readonly<Record<string, SixbProfile>>;
10
+ }
11
+ export interface ProfileStoreOptions {
12
+ readonly env?: Readonly<Record<string, string | undefined>>;
13
+ readonly homeDirectory?: string;
14
+ }
15
+ export interface ResolveProfileInput extends ProfileStoreOptions {
16
+ readonly apiUrl?: string;
17
+ readonly token?: string;
18
+ readonly profile?: string;
19
+ }
20
+ export interface ResolvedProfile {
21
+ readonly apiUrl: string;
22
+ readonly token?: string;
23
+ readonly profile?: string;
24
+ readonly projectId?: string;
25
+ readonly source: "api-url-flag" | "profile-flag" | "environment" | "profile-environment" | "current-profile" | "default";
26
+ readonly tokenSource?: "--token" | "SIXB_API_TOKEN" | "SIXB_TOKEN" | "profile";
27
+ }
28
+ export declare function resolveConfigPath(options?: ProfileStoreOptions): string;
29
+ export declare function readConfig(options?: ProfileStoreOptions): Promise<SixbConfigFile>;
30
+ export declare function updateConfig(update: (config: SixbConfigFile) => SixbConfigFile, options?: ProfileStoreOptions): Promise<SixbConfigFile>;
31
+ export declare function resolveProfile(input?: ResolveProfileInput): Promise<ResolvedProfile>;
32
+ export declare function requireProfile(config: SixbConfigFile, name: string): SixbProfile;
33
+ export declare function assertProfileName(name: string): void;
34
+ //# sourceMappingURL=profiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../src/lib/profiles.ts"],"names":[],"mappings":"AAUA,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAA;IACnB,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAA;IAChC,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAA;CACzD;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC,CAAA;IAC3D,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAA;CAChC;AAED,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB;IAC9D,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,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