oh-my-opencode-serverlocal 0.1.1 → 0.1.3
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/index.js +128 -220
- package/dist/config/constants.d.ts +3 -3
- package/dist/config/index.d.ts +0 -1
- package/dist/config/loader.d.ts +4 -4
- package/dist/config/schema.d.ts +0 -41
- package/dist/hooks/auto-update-checker/skill-sync.d.ts +2 -2
- package/dist/hooks/phase-reminder/index.d.ts +1 -1
- package/dist/hooks/task-session-manager/index.d.ts +1 -1
- package/dist/index.js +576 -1298
- package/dist/tools/index.d.ts +0 -1
- package/dist/tui.js +103 -203
- package/dist/utils/internal-initiator.d.ts +2 -2
- package/dist/utils/session.d.ts +1 -1
- package/dist/utils/subagent-depth.d.ts +2 -2
- package/package.json +1 -1
- package/src/companion/companion-manifest.json +6 -6
- package/src/skills/clonedeps/SKILL.md +4 -4
- package/src/skills/codemap/README.md +1 -1
- package/src/skills/codemap/SKILL.md +3 -3
- package/src/skills/codemap.md +2 -2
- package/src/skills/{oh-my-opencode-slim → oh-my-opencode-serverlocal}/SKILL.md +24 -24
- package/src/skills/reflect/SKILL.md +5 -5
- package/src/skills/simplify/README.md +1 -1
- package/src/skills/worktrees/SKILL.md +4 -4
- package/dist/agents/council.d.ts +0 -27
- package/dist/agents/councillor.d.ts +0 -2
- package/dist/config/council-schema.d.ts +0 -137
- package/dist/council/council-manager.d.ts +0 -53
- package/dist/council/index.d.ts +0 -1
- package/dist/tools/council.d.ts +0 -10
- package/dist/utils/councillor-models.d.ts +0 -20
package/dist/config/schema.d.ts
CHANGED
|
@@ -1021,47 +1021,6 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
1021
1021
|
retry_on_empty: z.ZodDefault<z.ZodBoolean>;
|
|
1022
1022
|
runtimeOverride: z.ZodOptional<z.ZodBoolean>;
|
|
1023
1023
|
}, z.core.$strict>>;
|
|
1024
|
-
council: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
1025
|
-
presets: z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>, z.ZodTransform<Record<string, {
|
|
1026
|
-
model: string;
|
|
1027
|
-
variant: string | undefined;
|
|
1028
|
-
prompt: string | undefined;
|
|
1029
|
-
models: import("./council-schema").CouncillorModelEntry[];
|
|
1030
|
-
}>, Record<string, Record<string, unknown>>>>>;
|
|
1031
|
-
timeout: z.ZodDefault<z.ZodNumber>;
|
|
1032
|
-
default_preset: z.ZodDefault<z.ZodString>;
|
|
1033
|
-
councillor_execution_mode: z.ZodDefault<z.ZodEnum<{
|
|
1034
|
-
parallel: "parallel";
|
|
1035
|
-
serial: "serial";
|
|
1036
|
-
}>>;
|
|
1037
|
-
councillor_retries: z.ZodDefault<z.ZodNumber>;
|
|
1038
|
-
master: z.ZodOptional<z.ZodUnknown>;
|
|
1039
|
-
}, z.core.$strip>, z.ZodTransform<{
|
|
1040
|
-
presets: Record<string, Record<string, {
|
|
1041
|
-
model: string;
|
|
1042
|
-
variant: string | undefined;
|
|
1043
|
-
prompt: string | undefined;
|
|
1044
|
-
models: import("./council-schema").CouncillorModelEntry[];
|
|
1045
|
-
}>>;
|
|
1046
|
-
timeout: number;
|
|
1047
|
-
default_preset: string;
|
|
1048
|
-
councillor_execution_mode: "parallel" | "serial";
|
|
1049
|
-
councillor_retries: number;
|
|
1050
|
-
_deprecated: string[] | undefined;
|
|
1051
|
-
_legacyMasterModel: string | undefined;
|
|
1052
|
-
}, {
|
|
1053
|
-
presets: Record<string, Record<string, {
|
|
1054
|
-
model: string;
|
|
1055
|
-
variant: string | undefined;
|
|
1056
|
-
prompt: string | undefined;
|
|
1057
|
-
models: import("./council-schema").CouncillorModelEntry[];
|
|
1058
|
-
}>>;
|
|
1059
|
-
timeout: number;
|
|
1060
|
-
default_preset: string;
|
|
1061
|
-
councillor_execution_mode: "parallel" | "serial";
|
|
1062
|
-
councillor_retries: number;
|
|
1063
|
-
master?: unknown;
|
|
1064
|
-
}>>>;
|
|
1065
1024
|
companion: z.ZodOptional<z.ZodObject<{
|
|
1066
1025
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1067
1026
|
binaryPath: z.ZodOptional<z.ZodString>;
|
|
@@ -33,7 +33,7 @@ interface SkillSyncOptions {
|
|
|
33
33
|
* from the published npm package tarballs to allow upgrading existing users.
|
|
34
34
|
*
|
|
35
35
|
* How to populate:
|
|
36
|
-
* 1. Download previous releases of the npm package: `npm pack oh-my-opencode-
|
|
36
|
+
* 1. Download previous releases of the npm package: `npm pack oh-my-opencode-serverlocal@<version>`
|
|
37
37
|
* 2. Compute directory hash for each legacy skill directory inside the unpacked tarball:
|
|
38
38
|
* `import { computeDirectoryHash } from './skill-sync';`
|
|
39
39
|
* `const hash = computeDirectoryHash('path/to/extracted/package/src/skills/<skill-name>');`
|
|
@@ -51,7 +51,7 @@ export declare const LEGACY_MANAGED_SKILL_HASHES: Record<string, string[]>;
|
|
|
51
51
|
*/
|
|
52
52
|
export declare function computeDirectoryHash(dirPath: string): string;
|
|
53
53
|
/**
|
|
54
|
-
* Acquires a simple lock under .oh-my-opencode-
|
|
54
|
+
* Acquires a simple lock under .oh-my-opencode-serverlocal.
|
|
55
55
|
* Avoids stealing active locks purely by time; writes owner metadata
|
|
56
56
|
* and only steals dead same-host pid if detectable.
|
|
57
57
|
*/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { PHASE_REMINDER } from '../../config/constants';
|
|
9
9
|
import { type MessagePart } from '../types';
|
|
10
10
|
export { PHASE_REMINDER };
|
|
11
|
-
export declare const PHASE_REMINDER_METADATA_KEY = "oh-my-opencode-
|
|
11
|
+
export declare const PHASE_REMINDER_METADATA_KEY = "oh-my-opencode-serverlocal.phaseReminder";
|
|
12
12
|
export declare function hasPhaseReminder(part: MessagePart): boolean;
|
|
13
13
|
interface PhaseReminderOptions {
|
|
14
14
|
shouldInject?: (sessionID: string) => boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PluginInput } from '@opencode-ai/plugin';
|
|
2
2
|
import { type BackgroundJobStore } from '../../utils';
|
|
3
3
|
import type { SessionLifecycle } from '../session-lifecycle';
|
|
4
|
-
export declare const BACKGROUND_JOB_BOARD_METADATA_KEY = "oh-my-opencode-
|
|
4
|
+
export declare const BACKGROUND_JOB_BOARD_METADATA_KEY = "oh-my-opencode-serverlocal.backgroundJobBoard";
|
|
5
5
|
export declare function createTaskSessionManagerHook(_ctx: PluginInput, options: {
|
|
6
6
|
maxSessionsPerAgent: number;
|
|
7
7
|
readContextMinLines?: number;
|