@kl-c/matrixos 0.1.23 → 0.1.24
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/dist/cli/config-manager/load-gateway-env.d.ts +3 -2
- package/dist/cli/index.js +73 -24
- package/dist/cli-node/index.js +73 -24
- package/dist/config/schema/dashboard.d.ts +7 -0
- package/dist/config/schema/oh-my-opencode-config.d.ts +5 -0
- package/dist/config/schema.d.ts +1 -0
- package/dist/features/dashboard/frontend/css/style.css +12 -0
- package/dist/features/dashboard/frontend/index.html +1 -0
- package/dist/features/dashboard/frontend/js/api.js +2 -2
- package/dist/features/dashboard/frontend/js/app.js +60 -0
- package/dist/features/dashboard/gateway-token-handler.d.ts +10 -0
- package/dist/features/dashboard/server.d.ts +2 -0
- package/dist/index.js +641 -568
- package/dist/matrixos.schema.json +17 -0
- package/dist/shared/gateway-token-resolver.d.ts +1 -0
- package/dist/tui.js +14 -0
- package/package.json +1 -1
|
@@ -7078,6 +7078,23 @@
|
|
|
7078
7078
|
],
|
|
7079
7079
|
"additionalProperties": false
|
|
7080
7080
|
},
|
|
7081
|
+
"dashboard": {
|
|
7082
|
+
"type": "object",
|
|
7083
|
+
"properties": {
|
|
7084
|
+
"enabled": {
|
|
7085
|
+
"type": "boolean"
|
|
7086
|
+
},
|
|
7087
|
+
"port": {
|
|
7088
|
+
"type": "integer",
|
|
7089
|
+
"minimum": 1,
|
|
7090
|
+
"maximum": 65535
|
|
7091
|
+
},
|
|
7092
|
+
"gateway_passphrase": {
|
|
7093
|
+
"type": "string"
|
|
7094
|
+
}
|
|
7095
|
+
},
|
|
7096
|
+
"additionalProperties": false
|
|
7097
|
+
},
|
|
7081
7098
|
"watchdog": {
|
|
7082
7099
|
"type": "object",
|
|
7083
7100
|
"properties": {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function resolveGatewayToken(botToken: string): string;
|
package/dist/tui.js
CHANGED
|
@@ -20327,6 +20327,17 @@ var init_cron = __esm(() => {
|
|
|
20327
20327
|
}).strict();
|
|
20328
20328
|
});
|
|
20329
20329
|
|
|
20330
|
+
// packages/omo-opencode/src/config/schema/dashboard.ts
|
|
20331
|
+
var DashboardConfigSchema;
|
|
20332
|
+
var init_dashboard = __esm(() => {
|
|
20333
|
+
init_zod();
|
|
20334
|
+
DashboardConfigSchema = exports_external.object({
|
|
20335
|
+
enabled: exports_external.boolean().optional(),
|
|
20336
|
+
port: exports_external.number().int().min(1).max(65535).optional(),
|
|
20337
|
+
gateway_passphrase: exports_external.string().optional()
|
|
20338
|
+
});
|
|
20339
|
+
});
|
|
20340
|
+
|
|
20330
20341
|
// packages/omo-opencode/src/config/schema/default-mode.ts
|
|
20331
20342
|
var DefaultModeConfigSchema;
|
|
20332
20343
|
var init_default_mode = __esm(() => {
|
|
@@ -64895,6 +64906,7 @@ var init_oh_my_opencode_config = __esm(() => {
|
|
|
64895
64906
|
init_comment_checker();
|
|
64896
64907
|
init_commands();
|
|
64897
64908
|
init_cron();
|
|
64909
|
+
init_dashboard();
|
|
64898
64910
|
init_default_mode();
|
|
64899
64911
|
init_dreamer();
|
|
64900
64912
|
init_egress();
|
|
@@ -64967,6 +64979,7 @@ var init_oh_my_opencode_config = __esm(() => {
|
|
|
64967
64979
|
morpheus: MorpheusConfigSchema.optional(),
|
|
64968
64980
|
start_work: StartWorkConfigSchema.optional(),
|
|
64969
64981
|
gateway: GatewayConfigSectionSchema,
|
|
64982
|
+
dashboard: DashboardConfigSchema.optional(),
|
|
64970
64983
|
watchdog: WatchdogConfigSchema.optional(),
|
|
64971
64984
|
egress: EgressConfigSectionSchema,
|
|
64972
64985
|
cron: CronConfigSchema.optional(),
|
|
@@ -65001,6 +65014,7 @@ var init_schema3 = __esm(() => {
|
|
|
65001
65014
|
init_comment_checker();
|
|
65002
65015
|
init_commands();
|
|
65003
65016
|
init_cron();
|
|
65017
|
+
init_dashboard();
|
|
65004
65018
|
init_default_mode();
|
|
65005
65019
|
init_dynamic_context_pruning();
|
|
65006
65020
|
init_egress();
|
package/package.json
CHANGED