oh-my-opencode-slim 0.9.14 → 0.9.15
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 +116 -56
- package/dist/agents/orchestrator.d.ts +2 -1
- package/dist/background/background-manager.d.ts +9 -1
- package/dist/background/multiplexer-session-manager.d.ts +2 -0
- package/dist/cli/index.js +49 -50
- package/dist/cli/types.d.ts +0 -1
- package/dist/config/schema.d.ts +5 -0
- package/dist/index.js +584 -310
- package/dist/multiplexer/factory.d.ts +5 -1
- package/dist/multiplexer/tmux/index.d.ts +3 -1
- package/dist/multiplexer/types.d.ts +2 -2
- package/dist/multiplexer/zellij/index.d.ts +1 -1
- package/dist/utils/agent-variant.d.ts +15 -1
- package/oh-my-opencode-slim.schema.json +12 -0
- package/package.json +3 -1
- package/src/skills/simplify/README.md +19 -0
- package/src/skills/simplify/SKILL.md +138 -0
- package/dist/background/tmux-session-manager.d.ts +0 -63
- package/dist/cli/chutes-selection.d.ts +0 -3
- package/dist/cli/dynamic-model-selection.d.ts +0 -14
- package/dist/cli/external-rankings.d.ts +0 -8
- package/dist/cli/model-selection.d.ts +0 -30
- package/dist/cli/opencode-models.d.ts +0 -18
- package/dist/cli/opencode-selection.d.ts +0 -3
- package/dist/cli/precedence-resolver.d.ts +0 -16
- package/dist/cli/scoring-v2/engine.d.ts +0 -4
- package/dist/cli/scoring-v2/features.d.ts +0 -3
- package/dist/cli/scoring-v2/index.d.ts +0 -4
- package/dist/cli/scoring-v2/types.d.ts +0 -17
- package/dist/cli/scoring-v2/weights.d.ts +0 -2
- package/dist/hooks/post-read-nudge/index.d.ts +0 -18
- package/dist/interview/store.d.ts +0 -9
- package/dist/tools/grep/cli.d.ts +0 -3
- package/dist/tools/grep/constants.d.ts +0 -18
- package/dist/tools/grep/downloader.d.ts +0 -3
- package/dist/tools/grep/index.d.ts +0 -5
- package/dist/tools/grep/tools.d.ts +0 -2
- package/dist/tools/grep/types.d.ts +0 -35
- package/dist/tools/grep/utils.d.ts +0 -2
- package/dist/tools/quota/api.d.ts +0 -5
- package/dist/tools/quota/command.d.ts +0 -1
- package/dist/tools/quota/index.d.ts +0 -21
- package/dist/tools/quota/types.d.ts +0 -41
- package/dist/utils/tmux.d.ts +0 -32
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export interface Account {
|
|
2
|
-
email: string;
|
|
3
|
-
refreshToken: string;
|
|
4
|
-
projectId?: string;
|
|
5
|
-
managedProjectId?: string;
|
|
6
|
-
rateLimitResetTimes: Record<string, number>;
|
|
7
|
-
}
|
|
8
|
-
export interface AccountsConfig {
|
|
9
|
-
accounts: Account[];
|
|
10
|
-
activeIndex: number;
|
|
11
|
-
}
|
|
12
|
-
export interface QuotaInfo {
|
|
13
|
-
remainingFraction?: number;
|
|
14
|
-
resetTime?: string;
|
|
15
|
-
}
|
|
16
|
-
export interface ModelInfo {
|
|
17
|
-
displayName?: string;
|
|
18
|
-
model?: string;
|
|
19
|
-
quotaInfo?: QuotaInfo;
|
|
20
|
-
recommended?: boolean;
|
|
21
|
-
}
|
|
22
|
-
export interface QuotaResponse {
|
|
23
|
-
models?: Record<string, ModelInfo>;
|
|
24
|
-
}
|
|
25
|
-
export interface TokenResponse {
|
|
26
|
-
access_token: string;
|
|
27
|
-
}
|
|
28
|
-
export interface LoadCodeAssistResponse {
|
|
29
|
-
cloudaicompanionProject?: unknown;
|
|
30
|
-
}
|
|
31
|
-
export interface ModelQuota {
|
|
32
|
-
name: string;
|
|
33
|
-
percent: number;
|
|
34
|
-
resetIn: string;
|
|
35
|
-
}
|
|
36
|
-
export interface AccountQuotaResult {
|
|
37
|
-
email: string;
|
|
38
|
-
success: boolean;
|
|
39
|
-
error?: string;
|
|
40
|
-
models: ModelQuota[];
|
|
41
|
-
}
|
package/dist/utils/tmux.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { TmuxConfig } from '../config/schema';
|
|
2
|
-
/**
|
|
3
|
-
* Reset the server availability cache (useful when server might have started)
|
|
4
|
-
*/
|
|
5
|
-
export declare function resetServerCheck(): void;
|
|
6
|
-
/**
|
|
7
|
-
* Get cached tmux path, initializing if needed
|
|
8
|
-
*/
|
|
9
|
-
export declare function getTmuxPath(): Promise<string | null>;
|
|
10
|
-
/**
|
|
11
|
-
* Check if we're running inside tmux
|
|
12
|
-
*/
|
|
13
|
-
export declare function isInsideTmux(): boolean;
|
|
14
|
-
export interface SpawnPaneResult {
|
|
15
|
-
success: boolean;
|
|
16
|
-
paneId?: string;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Spawn a new tmux pane running `opencode attach <serverUrl> --session <sessionId>`
|
|
20
|
-
* This connects the new TUI to the existing server so it receives streaming updates.
|
|
21
|
-
* After spawning, applies the configured layout to auto-rebalance all panes.
|
|
22
|
-
* Returns the pane ID so it can be closed later.
|
|
23
|
-
*/
|
|
24
|
-
export declare function spawnTmuxPane(sessionId: string, description: string, config: TmuxConfig, serverUrl: string): Promise<SpawnPaneResult>;
|
|
25
|
-
/**
|
|
26
|
-
* Close a tmux pane by its ID and reapply layout to rebalance remaining panes
|
|
27
|
-
*/
|
|
28
|
-
export declare function closeTmuxPane(paneId: string): Promise<boolean>;
|
|
29
|
-
/**
|
|
30
|
-
* Start background check for tmux availability
|
|
31
|
-
*/
|
|
32
|
-
export declare function startTmuxCheck(): void;
|