@panorama-ai/gateway 2.26.120 → 2.26.126
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -6
- package/dist/database.types.d.ts +77 -0
- package/dist/database.types.d.ts.map +1 -1
- package/dist/database.types.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/supabase-config.d.ts +1 -1
- package/dist/supabase-config.d.ts.map +1 -1
- package/dist/supabase-config.js +4 -1
- package/dist/supabase-config.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,11 +6,17 @@ Gateway service for connecting a team to CLI capabilities on this machine.
|
|
|
6
6
|
|
|
7
7
|
Pair the gateway with a team using a pairing code:
|
|
8
8
|
|
|
9
|
+
```bash
|
|
10
|
+
panorama-gateway pair <PAIRING_CODE>
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
For local package development:
|
|
14
|
+
|
|
9
15
|
```bash
|
|
10
16
|
PANORAMA_ENV=dev pnpm --filter @panorama-ai/gateway dev -- pair <PAIRING_CODE>
|
|
11
17
|
```
|
|
12
18
|
|
|
13
|
-
Or pass
|
|
19
|
+
Or pass backend overrides directly:
|
|
14
20
|
|
|
15
21
|
```bash
|
|
16
22
|
SUPABASE_URL="https://your-project.supabase.co" \
|
|
@@ -59,8 +65,6 @@ Optional flags:
|
|
|
59
65
|
|
|
60
66
|
- `--device-name "My MacBook"`
|
|
61
67
|
- `--verbose`, `-v` (show technical details like paths, IDs, and PIDs)
|
|
62
|
-
- `--supabase-url "https://..."`
|
|
63
|
-
- `--anon-key "..."`
|
|
64
68
|
- `--env local|dev|test|stage|prod`
|
|
65
69
|
- `--env-file /path/to/.env`
|
|
66
70
|
- `--foreground` (run in the foreground)
|
|
@@ -78,13 +82,13 @@ The gateway stores credentials in `~/.panorama/gateway/gateway.json` by default.
|
|
|
78
82
|
|
|
79
83
|
## Environment
|
|
80
84
|
|
|
81
|
-
The
|
|
85
|
+
The published CLI ships with embedded production backend defaults, so end users can run `pair` without setting Supabase values.
|
|
86
|
+
|
|
87
|
+
For development or backend overrides, the gateway reads these values (CLI flags override environment variables):
|
|
82
88
|
|
|
83
89
|
- `SUPABASE_URL` (or `PANORAMA_SUPABASE_URL`)
|
|
84
90
|
- `SUPABASE_ANON_KEY` (or `PANORAMA_SUPABASE_ANON_KEY` / `SUPABASE_PUBLISHABLE_KEY`)
|
|
85
91
|
|
|
86
|
-
`pair` and `start` fail fast when these values are missing. The gateway does not implicitly fall back to embedded production defaults.
|
|
87
|
-
|
|
88
92
|
When `--env` or `PANORAMA_ENV` is provided, the gateway loads `.env.<env>` from the repo root (falls back to `.env` for `local`).
|
|
89
93
|
You can always point to a specific env file with `--env-file`.
|
|
90
94
|
|
package/dist/database.types.d.ts
CHANGED
|
@@ -303,6 +303,83 @@ export type Database = {
|
|
|
303
303
|
}
|
|
304
304
|
];
|
|
305
305
|
};
|
|
306
|
+
agent_support_tickets: {
|
|
307
|
+
Row: {
|
|
308
|
+
agent_id: string;
|
|
309
|
+
category: string;
|
|
310
|
+
content: string;
|
|
311
|
+
created_at: string;
|
|
312
|
+
cycle_id: string | null;
|
|
313
|
+
id: string;
|
|
314
|
+
metadata: Json;
|
|
315
|
+
severity: number;
|
|
316
|
+
status: string;
|
|
317
|
+
team_id: string;
|
|
318
|
+
title: string;
|
|
319
|
+
tool_call_id: string | null;
|
|
320
|
+
updated_at: string;
|
|
321
|
+
};
|
|
322
|
+
Insert: {
|
|
323
|
+
agent_id: string;
|
|
324
|
+
category: string;
|
|
325
|
+
content: string;
|
|
326
|
+
created_at?: string;
|
|
327
|
+
cycle_id?: string | null;
|
|
328
|
+
id?: string;
|
|
329
|
+
metadata?: Json;
|
|
330
|
+
severity: number;
|
|
331
|
+
status?: string;
|
|
332
|
+
team_id: string;
|
|
333
|
+
title: string;
|
|
334
|
+
tool_call_id?: string | null;
|
|
335
|
+
updated_at?: string;
|
|
336
|
+
};
|
|
337
|
+
Update: {
|
|
338
|
+
agent_id?: string;
|
|
339
|
+
category?: string;
|
|
340
|
+
content?: string;
|
|
341
|
+
created_at?: string;
|
|
342
|
+
cycle_id?: string | null;
|
|
343
|
+
id?: string;
|
|
344
|
+
metadata?: Json;
|
|
345
|
+
severity?: number;
|
|
346
|
+
status?: string;
|
|
347
|
+
team_id?: string;
|
|
348
|
+
title?: string;
|
|
349
|
+
tool_call_id?: string | null;
|
|
350
|
+
updated_at?: string;
|
|
351
|
+
};
|
|
352
|
+
Relationships: [
|
|
353
|
+
{
|
|
354
|
+
foreignKeyName: "agent_support_tickets_agent_id_fkey";
|
|
355
|
+
columns: ["agent_id"];
|
|
356
|
+
isOneToOne: false;
|
|
357
|
+
referencedRelation: "agents";
|
|
358
|
+
referencedColumns: ["id"];
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
foreignKeyName: "agent_support_tickets_cycle_id_fkey";
|
|
362
|
+
columns: ["cycle_id"];
|
|
363
|
+
isOneToOne: false;
|
|
364
|
+
referencedRelation: "agent_cycles";
|
|
365
|
+
referencedColumns: ["id"];
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
foreignKeyName: "agent_support_tickets_team_id_fkey";
|
|
369
|
+
columns: ["team_id"];
|
|
370
|
+
isOneToOne: false;
|
|
371
|
+
referencedRelation: "teams";
|
|
372
|
+
referencedColumns: ["id"];
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
foreignKeyName: "agent_support_tickets_tool_call_id_fkey";
|
|
376
|
+
columns: ["tool_call_id"];
|
|
377
|
+
isOneToOne: false;
|
|
378
|
+
referencedRelation: "tool_calls";
|
|
379
|
+
referencedColumns: ["id"];
|
|
380
|
+
}
|
|
381
|
+
];
|
|
382
|
+
};
|
|
306
383
|
agent_templates: {
|
|
307
384
|
Row: {
|
|
308
385
|
created_at: string;
|