@kl-c/matrixos 0.3.56 → 0.3.58
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/deployment.d.ts +19 -0
- package/dist/cli/index.js +35 -2
- package/dist/cli-node/index.js +35 -2
- package/dist/config/schema/hooks.d.ts +1 -0
- package/dist/config/schema/memory.d.ts +11 -0
- package/dist/config/schema/oh-my-opencode-config.d.ts +4 -0
- package/dist/create-hooks.d.ts +1 -0
- package/dist/features/context-injector/types.d.ts +1 -1
- package/dist/features/dashboard/frontend/index.html +23 -0
- package/dist/features/dashboard/frontend/js/api.js +1 -0
- package/dist/features/dashboard/frontend/js/app.js +14 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/session-memory-loader/index.d.ts +12 -0
- package/dist/index.js +1218 -1153
- package/dist/matrixos.schema.json +14 -0
- package/dist/plugin/hooks/create-core-hooks.d.ts +1 -0
- package/dist/plugin/hooks/create-session-hooks.d.ts +2 -1
- package/dist/tui.js +14 -1
- package/package.json +1 -1
|
@@ -7369,6 +7369,20 @@
|
|
|
7369
7369
|
],
|
|
7370
7370
|
"additionalProperties": false
|
|
7371
7371
|
},
|
|
7372
|
+
"memory": {
|
|
7373
|
+
"type": "object",
|
|
7374
|
+
"properties": {
|
|
7375
|
+
"enabled": {
|
|
7376
|
+
"type": "boolean"
|
|
7377
|
+
},
|
|
7378
|
+
"max_entries": {
|
|
7379
|
+
"type": "integer",
|
|
7380
|
+
"minimum": 1,
|
|
7381
|
+
"maximum": 100
|
|
7382
|
+
}
|
|
7383
|
+
},
|
|
7384
|
+
"additionalProperties": false
|
|
7385
|
+
},
|
|
7372
7386
|
"dreamer": {
|
|
7373
7387
|
"type": "object",
|
|
7374
7388
|
"properties": {
|
|
@@ -63,4 +63,5 @@ export declare function createCoreHooks(args: {
|
|
|
63
63
|
taskResumeInfo: ReturnType<typeof import("../../hooks").createTaskResumeInfoHook> | null;
|
|
64
64
|
runtimeFallback: ReturnType<typeof import("../../hooks").createRuntimeFallbackHook> | null;
|
|
65
65
|
legacyPluginToast: ReturnType<typeof import("../../hooks").createLegacyPluginToastHook> | null;
|
|
66
|
+
sessionMemoryLoader: ReturnType<typeof import("../../hooks").createSessionMemoryLoaderHook> | null;
|
|
66
67
|
};
|
|
@@ -3,7 +3,7 @@ import type { BackgroundManager } from "../../features/background-agent";
|
|
|
3
3
|
import type { ModelFallbackControllerAccessor } from "../../hooks/model-fallback";
|
|
4
4
|
import type { ModelCacheState } from "../../plugin-state";
|
|
5
5
|
import type { PluginContext } from "../types";
|
|
6
|
-
import { createSessionNotification, createThinkModeHook, createModelFallbackHook, createAnthropicContextWindowLimitRecoveryHook, createAutoUpdateCheckerHook, createCodegraphBootstrapHook, createAstGrepSgProvisionHook, createAgentUsageReminderHook, createNonInteractiveEnvHook, createInteractiveBashSessionHook, createRalphLoopHook, createEditErrorRecoveryHook, createDelegateTaskRetryHook, createTaskResumeInfoHook, createStartWorkHook, createTheOracleMdOnlyHook, createMorpheusJuniorNotepadHook, createNoMorpheusGptHook, createNoTankNonGptHook, createTankAgentsMdInjectorHook, createQuestionLabelTruncatorHook, createPreemptiveCompactionHook, createRuntimeFallbackHook, createLegacyPluginToastHook } from "../../hooks";
|
|
6
|
+
import { createSessionNotification, createThinkModeHook, createModelFallbackHook, createAnthropicContextWindowLimitRecoveryHook, createAutoUpdateCheckerHook, createCodegraphBootstrapHook, createAstGrepSgProvisionHook, createAgentUsageReminderHook, createNonInteractiveEnvHook, createInteractiveBashSessionHook, createRalphLoopHook, createEditErrorRecoveryHook, createDelegateTaskRetryHook, createTaskResumeInfoHook, createStartWorkHook, createTheOracleMdOnlyHook, createMorpheusJuniorNotepadHook, createNoMorpheusGptHook, createNoTankNonGptHook, createTankAgentsMdInjectorHook, createQuestionLabelTruncatorHook, createPreemptiveCompactionHook, createRuntimeFallbackHook, createLegacyPluginToastHook, createSessionMemoryLoaderHook } from "../../hooks";
|
|
7
7
|
export type SessionHooks = {
|
|
8
8
|
preemptiveCompaction: ReturnType<typeof createPreemptiveCompactionHook> | null;
|
|
9
9
|
sessionNotification: ReturnType<typeof createSessionNotification> | null;
|
|
@@ -29,6 +29,7 @@ export type SessionHooks = {
|
|
|
29
29
|
taskResumeInfo: ReturnType<typeof createTaskResumeInfoHook> | null;
|
|
30
30
|
runtimeFallback: ReturnType<typeof createRuntimeFallbackHook> | null;
|
|
31
31
|
legacyPluginToast: ReturnType<typeof createLegacyPluginToastHook> | null;
|
|
32
|
+
sessionMemoryLoader: ReturnType<typeof createSessionMemoryLoaderHook> | null;
|
|
32
33
|
};
|
|
33
34
|
export declare function createSessionHooks(args: {
|
|
34
35
|
ctx: PluginContext;
|
package/dist/tui.js
CHANGED
|
@@ -20552,7 +20552,8 @@ var init_hooks = __esm(() => {
|
|
|
20552
20552
|
"fsync-skip-warning",
|
|
20553
20553
|
"plan-format-validator",
|
|
20554
20554
|
"legacy-plugin-toast",
|
|
20555
|
-
"egress-filter"
|
|
20555
|
+
"egress-filter",
|
|
20556
|
+
"session-memory-loader"
|
|
20556
20557
|
]);
|
|
20557
20558
|
});
|
|
20558
20559
|
|
|
@@ -64324,6 +64325,16 @@ var init_gateway2 = __esm(() => {
|
|
|
64324
64325
|
GatewayConfigSectionSchema = GatewayConfigSchema.optional();
|
|
64325
64326
|
});
|
|
64326
64327
|
|
|
64328
|
+
// packages/omo-opencode/src/config/schema/memory.ts
|
|
64329
|
+
var MemoryConfigSchema;
|
|
64330
|
+
var init_memory = __esm(() => {
|
|
64331
|
+
init_zod();
|
|
64332
|
+
MemoryConfigSchema = exports_external.object({
|
|
64333
|
+
enabled: exports_external.boolean().optional(),
|
|
64334
|
+
max_entries: exports_external.number().int().min(1).max(100).optional()
|
|
64335
|
+
});
|
|
64336
|
+
});
|
|
64337
|
+
|
|
64327
64338
|
// packages/omo-opencode/src/config/schema/monitor.ts
|
|
64328
64339
|
var MonitorConfigSchema;
|
|
64329
64340
|
var init_monitor = __esm(() => {
|
|
@@ -64929,6 +64940,7 @@ var init_oh_my_opencode_config = __esm(() => {
|
|
|
64929
64940
|
init_git_master();
|
|
64930
64941
|
init_i18n();
|
|
64931
64942
|
init_keyword_detector();
|
|
64943
|
+
init_memory();
|
|
64932
64944
|
init_notification();
|
|
64933
64945
|
init_model_capabilities();
|
|
64934
64946
|
init_monitor();
|
|
@@ -64998,6 +65010,7 @@ var init_oh_my_opencode_config = __esm(() => {
|
|
|
64998
65010
|
egress: EgressConfigSectionSchema,
|
|
64999
65011
|
cron: CronConfigSchema.optional(),
|
|
65000
65012
|
default_mode: DefaultModeConfigSchema.optional(),
|
|
65013
|
+
memory: MemoryConfigSchema.optional(),
|
|
65001
65014
|
dreamer: DreamerConfigSchema.optional(),
|
|
65002
65015
|
profiles: ProfileReferencesSchema.optional(),
|
|
65003
65016
|
profileRegistry: ProfileRegistrySchema.optional(),
|
package/package.json
CHANGED