@preapexis/honeycomb 0.0.0-stage → 1.1.0

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.
Files changed (97) hide show
  1. package/LICENSE +15 -0
  2. package/README.md +443 -2
  3. package/bin/bee.js +18 -0
  4. package/package.json +66 -4
  5. package/plan/tools/tool-parity.md +61 -0
  6. package/src/commands/btw.ts +95 -0
  7. package/src/commands/claude-migrate.ts +63 -0
  8. package/src/commands/diff.ts +119 -0
  9. package/src/commands/discovery.ts +112 -0
  10. package/src/commands/doctor.ts +80 -0
  11. package/src/commands/goal/index.ts +254 -0
  12. package/src/commands/goal/report.ts +66 -0
  13. package/src/commands/goal/state.ts +74 -0
  14. package/src/commands/hooks.ts +38 -0
  15. package/src/commands/index.ts +13 -0
  16. package/src/commands/init.ts +66 -0
  17. package/src/commands/memory.ts +70 -0
  18. package/src/commands/plan.ts +36 -0
  19. package/src/commands/review-report.ts +23 -0
  20. package/src/commands/review.ts +21 -0
  21. package/src/commands/rewind-history.ts +40 -0
  22. package/src/commands/security-review.ts +138 -0
  23. package/src/commands/simplify.ts +21 -0
  24. package/src/commands/stats.ts +125 -0
  25. package/src/commands/tasks.ts +87 -0
  26. package/src/commands/verify.ts +21 -0
  27. package/src/commands/worktree.ts +138 -0
  28. package/src/config/bi.config.json +77 -0
  29. package/src/config/index.ts +47 -0
  30. package/src/config/limits.ts +12 -0
  31. package/src/config/path-rules.ts +19 -0
  32. package/src/config/project.ts +133 -0
  33. package/src/extension/ask-user.ts +52 -0
  34. package/src/extension/index.ts +4 -0
  35. package/src/extension/lsp-install.ts +95 -0
  36. package/src/extension/lsp-menu.ts +90 -0
  37. package/src/extension/permission-modes/index.ts +337 -0
  38. package/src/extension/permission-modes/mcp-resources.ts +21 -0
  39. package/src/extension/permission-modes/metadata.ts +18 -0
  40. package/src/extension/permission-modes/paths.ts +44 -0
  41. package/src/extension/permission-modes/plan-note.ts +58 -0
  42. package/src/extension/permission-modes/policy.ts +236 -0
  43. package/src/extension/permission-modes/preview.ts +104 -0
  44. package/src/extension/permission-modes/rules.ts +67 -0
  45. package/src/extension/permission-modes/shell.ts +183 -0
  46. package/src/extension/permission-modes/state.ts +6 -0
  47. package/src/extension/quiet-startup.ts +25 -0
  48. package/src/extension/register-tools.ts +312 -0
  49. package/src/extension/scoped-rules.ts +91 -0
  50. package/src/extension/system-instruction.ts +74 -0
  51. package/src/index.ts +71 -0
  52. package/src/tools/advanced.ts +133 -0
  53. package/src/tools/agent.ts +379 -0
  54. package/src/tools/dispatcher.ts +80 -0
  55. package/src/tools/executable.ts +15 -0
  56. package/src/tools/execution.ts +289 -0
  57. package/src/tools/filesystem.ts +662 -0
  58. package/src/tools/git.ts +196 -0
  59. package/src/tools/glob.ts +81 -0
  60. package/src/tools/grep.ts +203 -0
  61. package/src/tools/image-read.ts +71 -0
  62. package/src/tools/index.ts +52 -0
  63. package/src/tools/lsp-client.ts +104 -0
  64. package/src/tools/lsp.ts +172 -0
  65. package/src/tools/memory-store.ts +77 -0
  66. package/src/tools/notebook.ts +169 -0
  67. package/src/tools/registry.ts +31 -0
  68. package/src/tools/shells.ts +63 -0
  69. package/src/tools/todo.ts +119 -0
  70. package/src/tools/undo-journal.ts +46 -0
  71. package/src/tools/web-fetch.ts +119 -0
  72. package/src/tools/web-search.ts +76 -0
  73. package/src/tools/write-file.ts +14 -0
  74. package/src/tui/editor.ts +65 -0
  75. package/src/tui/footer-stats.ts +35 -0
  76. package/src/tui/header.ts +81 -0
  77. package/src/tui/index.ts +124 -0
  78. package/src/tui/mascot.ts +59 -0
  79. package/src/tui/permission-dialog.ts +94 -0
  80. package/src/tui/permission-rules.ts +64 -0
  81. package/src/tui/tasks-panel.ts +84 -0
  82. package/src/tui/text.ts +55 -0
  83. package/src/tui/tool-renderer.ts +42 -0
  84. package/src/tui/working-feedback.ts +220 -0
  85. package/src/types/agent.ts +54 -0
  86. package/src/types/common.ts +1 -0
  87. package/src/types/execution.ts +24 -0
  88. package/src/types/index.ts +4 -0
  89. package/src/types/tools.ts +61 -0
  90. package/themes/catppuccin-mocha.json +80 -0
  91. package/themes/github-dark.json +80 -0
  92. package/themes/honeycomb-dark.json +81 -0
  93. package/themes/honeycomb-light.json +81 -0
  94. package/themes/tokyo-day.json +80 -0
  95. package/themes/tokyo-night.json +80 -0
  96. package/themes/vercel-black.json +80 -0
  97. package/themes/vercel-light.json +80 -0
@@ -0,0 +1,220 @@
1
+ import type { ExtensionAPI, ExtensionContext } from '@earendil-works/pi-coding-agent';
2
+ import { parseColor, type Color } from '@earendil-works/pi-tui';
3
+ import { BI_CONFIG } from '../config/index.ts';
4
+ import { needsLspSetup } from '../extension/lsp-menu.ts';
5
+ import { getTavilyKey, WEB_SEARCH_FLAG, webSearchSetupTip } from '../tools/web-search.ts';
6
+ import { ASCII, fit } from './text.ts';
7
+
8
+ const WIDGET = 'bi-working-tip';
9
+ const lspTip = 'Use /lsp when idle to set up optional code navigation.';
10
+ const tips = [
11
+ 'Use /tasks when idle to see the current goal and todos.',
12
+ 'Use /diff when idle to review staged and unstaged changes.',
13
+ 'Use /permissions when idle to inspect rules and recent denials.',
14
+ ];
15
+
16
+ const phrases = {
17
+ thinking: [
18
+ 'Thoughtweaving', 'Synapsing', 'Wondercrafting', 'Mindstorming', 'Cognizing',
19
+ 'Logicweaving', 'Thoughtblooming', 'Ideascaping', 'Insightseeking', 'Sensemaking',
20
+ 'Mindmapping', 'Eurekaing', 'Introspecting', 'Thoughtspinning', 'Wondering',
21
+ ],
22
+ working: [
23
+ 'Materializing', 'Sparkforging', 'Tasksmithing', 'Codeweaving', 'Dreambuilding',
24
+ 'Alchemizing', 'Constructing', 'Blueprinting', 'Wonderbuilding', 'Craftworking',
25
+ 'Bitforging', 'Fabricating', 'Shapecrafting', 'Creationweaving', 'Manifesting',
26
+ ],
27
+ 'Reading files': [
28
+ 'Pageflipping', 'Filegazing', 'Textsifting', 'Contentscanning', 'Codegazing',
29
+ 'Informationgathering', 'Unfolding pages', 'Absorbing details', 'Decoding contents', 'Peeking inside',
30
+ ],
31
+ 'Searching project': [
32
+ 'Trailblazing', 'Pathfinding', 'Breadcrumbing', 'Codehunting', 'Filetracking',
33
+ 'Deepdiving', 'Scouting', 'Rummaging', 'Needlehunting', 'Following clues',
34
+ ],
35
+ 'Updating files': [
36
+ 'Codesculpting', 'Fileweaving', 'Patchsmithing', 'Codeknitting', 'Textcrafting',
37
+ 'Reshaping', 'Reworking', 'Stitching changes', 'Mending code', 'Polishing details',
38
+ ],
39
+ 'Running command': [
40
+ 'Shellshifting', 'Commandcrafting', 'Terminalizing', 'Commandweaving', 'Shellsmithing',
41
+ 'Igniting', 'Mobilizing', 'Kicking into gear', 'Turning gears', 'Powering through',
42
+ ],
43
+ 'Working with Git': [
44
+ 'Versionweaving', 'Branchcrafting', 'Historytracing', 'Commitgazing', 'Diffsifting',
45
+ 'Branchscouting', 'Timelinetracing', 'Revisionhunting', 'Exploring revisions', 'Tracing changes',
46
+ ],
47
+ 'Using a tool': [
48
+ 'Toolsmithing', 'Toolcrafting', 'Instrumenting', 'Mechanizing', 'Toolweaving',
49
+ 'Harnessing', 'Mobilizing resources', 'Turning knobs', 'Pulling levers', 'Wielding tools',
50
+ ],
51
+ 'Running tools': [
52
+ 'Taskjuggling', 'Multitasking', 'Gearturning', 'Taskweaving', 'Coordinating',
53
+ 'Parallelizing', 'Workflowweaving', 'Harmonizing tasks', 'Connecting mechanisms', 'Conducting operations',
54
+ ],
55
+ 'Writing reply': [
56
+ 'Wordsmithing', 'Storyweaving', 'Textsculpting', 'Phrasecrafting', 'Wordweaving',
57
+ 'Answercrafting', 'Articulating', 'Inkspinning', 'Shaping thoughts', 'Penning a response',
58
+ ],
59
+ };
60
+ type Activity = keyof typeof phrases;
61
+ type BasePhase = 'working' | 'thinking';
62
+ type Indicator = BasePhase | 'waiting';
63
+ const lavender = parseColor('#B7A2ED');
64
+ const mint = parseColor('#90CEBA');
65
+ const lavenderPulse = [parseColor('#8D7CB9'), parseColor('#A290D3'), lavender, lavender, parseColor('#A290D3')];
66
+ const orbit = ASCII ? ['*|', '*/', '*-', '*\\'] : [...'⠁⠈⠐⠠⢀⡀⠄⠂'].map(dot => `✦${dot}`);
67
+ const ellipsis = ASCII ? '...' : '…';
68
+ type WorkingUI = ExtensionContext['ui'];
69
+
70
+ function paint(ui: WorkingUI, text: string, fg: Color): string {
71
+ return process.env.NO_COLOR ? text : ui.theme?.style?.(text, { fg }) ?? text;
72
+ }
73
+
74
+ function indicator(ui: WorkingUI, phase: Indicator) {
75
+ if (phase === 'waiting') return { frames: [ASCII ? '?' : '◇'] };
76
+ if (phase === 'working') return { frames: orbit.map(frame => paint(ui, frame, mint)), intervalMs: 120 };
77
+ const symbol = ASCII ? '+' : '✧';
78
+ const frames = paint(ui, symbol, lavender) === symbol
79
+ ? (ASCII ? ['.', '+', '+', '+', '.'] : ['✧', '✧', '✦', '✦', '✧'])
80
+ : lavenderPulse.map(color => paint(ui, symbol, color));
81
+ return { frames, intervalMs: 400 };
82
+ }
83
+
84
+ function toolLabel(name: string): Activity {
85
+ if (name === 'read') return 'Reading files';
86
+ if (['ls', 'grep', 'find', 'glob'].includes(name)) return 'Searching project';
87
+ if (['edit', 'write', 'apply_patch', 'notebook_edit'].includes(name)) return 'Updating files';
88
+ if (['bash', 'powershell', 'background', 'terminal', 'run_code'].includes(name)) return 'Running command';
89
+ if (name.startsWith('git_')) return 'Working with Git';
90
+ return 'Using a tool';
91
+ }
92
+
93
+ export function registerWorkingFeedback(pi: ExtensionAPI, options = BI_CONFIG.ui.workingTips): void {
94
+ let run: {
95
+ ui: WorkingUI; tools: Map<string, Activity>; phase: BasePhase | 'Writing reply';
96
+ phrases: Map<Activity, string>; indicator?: Indicator;
97
+ replied: boolean; shown: boolean; visible: boolean; lastLabel?: string; tips: string[];
98
+ timer?: ReturnType<typeof setTimeout>;
99
+ } | undefined;
100
+ let waiting = false;
101
+ let tipIndex = 0;
102
+ const phraseIndex = new Map<Activity, number>();
103
+
104
+ function phraseFor(current: NonNullable<typeof run>, activity: Activity): string {
105
+ const previous = current.phrases.get(activity);
106
+ if (previous !== undefined) return previous;
107
+ const choices = phrases[activity];
108
+ const index = phraseIndex.get(activity) ?? 0;
109
+ const phrase = choices[index]!;
110
+ phraseIndex.set(activity, (index + 1) % choices.length);
111
+ current.phrases.set(activity, phrase);
112
+ return phrase;
113
+ }
114
+
115
+ function hide(current: NonNullable<typeof run>) {
116
+ if (current.timer !== undefined) clearTimeout(current.timer);
117
+ current.timer = undefined;
118
+ if (current.visible) current.ui.setWidget(WIDGET, undefined);
119
+ current.visible = false;
120
+ }
121
+
122
+ function refresh() {
123
+ const current = run;
124
+ if (!current) return;
125
+ const labels = new Set(current.tools.values());
126
+ const activity = labels.size > 1 ? 'Running tools' : labels.values().next().value ?? current.phase;
127
+ const phase = waiting ? 'waiting' : activity === 'thinking' ? 'thinking' : 'working';
128
+ if (phase !== current.indicator) {
129
+ current.ui.setWorkingIndicator?.(indicator(current.ui, phase));
130
+ current.indicator = phase;
131
+ }
132
+ let styled = 'Waiting for your input' + ellipsis;
133
+ if (!waiting) {
134
+ // Pi wraps the loader message in its theme color; this inner color takes precedence for the phrase only.
135
+ styled = paint(current.ui, phraseFor(current, activity) + ellipsis, phase === 'thinking' ? lavender : mint);
136
+ const detail = activity === 'thinking' ? 'Model is reasoning' : activity === 'working' ? 'Agent is active' : activity;
137
+ styled += `${ASCII ? ' | ' : ' · '}${detail}`;
138
+ }
139
+ if (styled !== current.lastLabel) {
140
+ current.ui.setWorkingMessage(styled);
141
+ current.lastLabel = styled;
142
+ }
143
+ if (waiting || current.replied) hide(current);
144
+ else if (options.enabled && !current.shown && current.timer === undefined) {
145
+ current.timer = setTimeout(() => {
146
+ current.timer = undefined;
147
+ if (run !== current || waiting || current.replied || current.shown) return;
148
+ current.shown = current.visible = true;
149
+ const tip = `Tip: ${current.tips[tipIndex++ % current.tips.length]}`;
150
+ current.ui.setWidget(WIDGET, (_tui, theme) => ({
151
+ render: width => width < 16 ? [] : [theme.fg('dim', fit(tip, width))],
152
+ invalidate() {},
153
+ }));
154
+ }, options.delayMs);
155
+ current.timer.unref();
156
+ }
157
+ }
158
+
159
+ function reset() {
160
+ const current = run;
161
+ run = undefined;
162
+ waiting = false;
163
+ if (current) {
164
+ hide(current);
165
+ current.ui.setWorkingMessage();
166
+ if (current.indicator) current.ui.setWorkingIndicator?.();
167
+ }
168
+ }
169
+
170
+ pi.on('agent_start', (_event, ctx) => {
171
+ if (ctx.mode !== 'tui') return;
172
+ if (!run) {
173
+ const current = run = {
174
+ ui: ctx.ui, tools: new Map(), phase: 'working', phrases: new Map(),
175
+ replied: false, shown: false, visible: false, tips: [...tips],
176
+ };
177
+ if (options.enabled && pi.getFlag?.(WEB_SEARCH_FLAG) === true && !getTavilyKey() &&
178
+ pi.getAllTools?.().some(tool => tool.name === 'web_search')) current.tips.unshift(webSearchSetupTip);
179
+ if (options.enabled && pi.getAllTools?.().some(tool => tool.name === 'lsp')) {
180
+ // Probe in the background; starting a run must not wait on the filesystem.
181
+ void needsLspSetup(pi, ctx.cwd).then(missing => {
182
+ if (missing && run === current) current.tips.push(lspTip);
183
+ });
184
+ }
185
+ }
186
+ run.tools.clear();
187
+ run.phase = 'working';
188
+ refresh();
189
+ });
190
+ pi.on('turn_start', () => {
191
+ if (!run) return;
192
+ run.phase = 'working';
193
+ refresh();
194
+ });
195
+ pi.on('message_update', event => {
196
+ if (!run) return;
197
+ const type = event.assistantMessageEvent.type;
198
+ if (type === 'thinking_start') run.phase = 'thinking';
199
+ else if (type === 'thinking_end' && run.phase === 'thinking') run.phase = 'working';
200
+ else if (type === 'text_delta') {
201
+ run.phase = 'Writing reply';
202
+ run.replied = true;
203
+ } else return;
204
+ refresh();
205
+ });
206
+ pi.on('tool_execution_start', event => {
207
+ if (!run || event.parentToolCallId) return;
208
+ run.tools.set(event.toolCallId, toolLabel(event.toolName));
209
+ refresh();
210
+ });
211
+ pi.on('tool_execution_end', event => {
212
+ if (!run?.tools.delete(event.toolCallId)) return;
213
+ run.phase = 'working';
214
+ refresh();
215
+ });
216
+ pi.on('ui_prompt_start', () => { waiting = true; refresh(); });
217
+ pi.on('ui_prompt_end', () => { waiting = false; refresh(); });
218
+ pi.on('agent_settled', reset);
219
+ pi.on('session_shutdown', reset);
220
+ }
@@ -0,0 +1,54 @@
1
+ import type { Args } from './common.ts';
2
+ import type { ToolContext, ToolResult } from './tools.ts';
3
+
4
+ export type TodoStatus = 'pending' | 'in_progress' | 'completed';
5
+
6
+ export interface Todo {
7
+ id: string;
8
+ text: string;
9
+ done: boolean;
10
+ status?: TodoStatus;
11
+ description?: string;
12
+ blockedBy?: string[];
13
+ }
14
+
15
+ export interface UndoEntry {
16
+ id: string;
17
+ turn?: number;
18
+ file: string;
19
+ before: Buffer | null;
20
+ afterHash: string;
21
+ }
22
+
23
+ export interface AgentToolDefinition {
24
+ name: string;
25
+ description: string;
26
+ promptGuideline?: string;
27
+ shape: Record<string, string>;
28
+ execute: (args: Args, context: ToolContext) => Promise<ToolResult>;
29
+ arrayItems?: Record<string, unknown>;
30
+ parameters?: Record<string, unknown>;
31
+ }
32
+
33
+ export interface AskOption {
34
+ label: string;
35
+ description: string;
36
+ recommended?: boolean;
37
+ }
38
+
39
+ export interface AskQuestion {
40
+ id: string;
41
+ header: string;
42
+ question: string;
43
+ multiSelect: boolean;
44
+ options: AskOption[];
45
+ }
46
+
47
+ export interface AskAnswer {
48
+ id: string;
49
+ selected: string[];
50
+ customText: string | null;
51
+ }
52
+
53
+ export type AskResult = { status: 'answered'; answers: AskAnswer[] } | { status: 'declined' };
54
+ export type AskUserFn = (questions: AskQuestion[]) => Promise<AskResult>;
@@ -0,0 +1 @@
1
+ export type Args = Record<string, unknown>;
@@ -0,0 +1,24 @@
1
+ import type { ChildProcess } from 'node:child_process';
2
+ import type { ToolContext } from './tools.ts';
3
+
4
+ export interface ManagedProcess {
5
+ child: ChildProcess;
6
+ background?: boolean;
7
+ output: string;
8
+ outputTruncated?: boolean;
9
+ exited?: { code: number | null; signal: NodeJS.Signals | null };
10
+ }
11
+
12
+ export interface ManagedJob {
13
+ id: string;
14
+ exited?: ManagedProcess['exited'];
15
+ }
16
+
17
+ export interface ExecutionOptions {
18
+ /** Upper bound for foreground commands. Defaults to 30 seconds. */
19
+ timeoutMs?: number;
20
+ /** Maximum captured and returned output characters. Defaults to the bi config. */
21
+ maxOutputChars?: number;
22
+ /** Optional command policy. Deny by default only when this callback rejects. */
23
+ allowCommand?: (command: string, context: ToolContext, shell?: 'bash' | 'powershell' | 'node') => boolean | Promise<boolean>;
24
+ }
@@ -0,0 +1,4 @@
1
+ export * from './agent.ts';
2
+ export * from './common.ts';
3
+ export * from './execution.ts';
4
+ export * from './tools.ts';
@@ -0,0 +1,61 @@
1
+ import type { ProjectConfig } from '../config/project.ts';
2
+
3
+ import type { Todo, UndoEntry } from './agent.ts';
4
+
5
+ export interface ToolContext {
6
+ undoEpoch?: number;
7
+ undoTurn?: number;
8
+ checkUndo?: (entries: UndoEntry[]) => boolean;
9
+ checkNotebookEdit?: () => boolean;
10
+ authorizeLsp?: (file: string) => Promise<string | undefined>;
11
+ authorizeWebFetch?: () => boolean;
12
+ authorizeWebSearch?: () => string | undefined;
13
+ canAccessMemory?: (file: string, write: boolean) => boolean;
14
+ authorizeImage?: () => boolean;
15
+ imageApprovalCurrent?: () => boolean;
16
+ canReadLspLocation?: (file: string) => boolean;
17
+ todoStore?: { read(): Todo[]; write(items: Todo[]): void };
18
+ sessionId: string;
19
+ workingDirectory: string;
20
+ projectConfig?: ProjectConfig;
21
+ signal?: AbortSignal;
22
+ confirmDestructive?: (operation: string, target: string) => Promise<boolean>;
23
+ confirmSensitiveRead?: (description: string) => Promise<boolean>;
24
+ confirmCommand?: (command: string, shell?: 'bash' | 'powershell' | 'node') => Promise<boolean>;
25
+ askUser?: (question: string) => Promise<string>;
26
+ delegateAgent?: (task: string) => Promise<string>;
27
+ }
28
+
29
+ export interface ToolResult {
30
+ success: boolean;
31
+ output?: string;
32
+ image?: { type: 'image'; data: string; mimeType: 'image/png' | 'image/jpeg' };
33
+ error?: string;
34
+ metadata?: Record<string, unknown>;
35
+ }
36
+
37
+ export interface Tool<Args extends Record<string, unknown> = Record<string, unknown>> {
38
+ name: string;
39
+ description: string;
40
+ parameters: Record<string, unknown>;
41
+ promptSnippet?: string;
42
+ promptGuidelines?: string[];
43
+ validate?: (args: unknown) => args is Args;
44
+ execute(args: Args, context: ToolContext): Promise<ToolResult>;
45
+ }
46
+
47
+ export type ToolErrorCode =
48
+ | 'TOOL_NOT_FOUND'
49
+ | 'INVALID_ARGUMENTS'
50
+ | 'OPERATION_CANCELLED'
51
+ | 'EXECUTION_FAILED'
52
+ | 'INTERNAL_ERROR';
53
+
54
+ export interface ToolCall {
55
+ name: string;
56
+ arguments: unknown;
57
+ }
58
+
59
+ export interface DispatchResult extends ToolResult {
60
+ errorCode?: ToolErrorCode;
61
+ }
@@ -0,0 +1,80 @@
1
+ {
2
+ "$schema": "https://pi.dev/schemas/theme.schema.json",
3
+ "name": "catppuccin-mocha",
4
+ "appearance": "dark",
5
+ "vars": {
6
+ "text": "okhsl(226 64% 88%)",
7
+ "muted": "okhsl(228 24% 65%)",
8
+ "violet": "okhsl(267 83% 80%)",
9
+ "blue": "okhsl(217 92% 76%)",
10
+ "green": "okhsl(115 54% 76%)",
11
+ "red": "okhsl(343 81% 75%)",
12
+ "yellow": "okhsl(41 86% 83%)",
13
+ "cyan": "okhsl(189 71% 73%)",
14
+ "blueBg": "okhsl(220 20% 23%)",
15
+ "userBg": "okhsl(225 30% 20%)"
16
+ },
17
+ "colors": {
18
+ "accent": "blue",
19
+ "border": "okhsl(230 20% 39%)",
20
+ "borderAccent": "blue",
21
+ "borderMuted": "okhsl(220 16% 27%)",
22
+ "success": "green",
23
+ "error": "red",
24
+ "warning": "yellow",
25
+ "muted": "muted",
26
+ "dim": "okhsl(228 24% 65%)",
27
+ "text": "text",
28
+ "thinkingText": "muted",
29
+ "selectedBg": "blueBg",
30
+ "scrollbarTrack": "okhsl(230 22% 20%)",
31
+ "scrollbarThumb": "okhsl(230 20% 39%)",
32
+ "searchMatchBg": "okhsl(42 40% 25%)",
33
+ "searchMatchText": "text",
34
+ "userMessageBg": "userBg",
35
+ "userMessageText": "text",
36
+ "customMessageBg": "okhsl(267 27% 20%)",
37
+ "customMessageText": "text",
38
+ "customMessageLabel": "violet",
39
+ "toolPendingBg": "okhsl(230 22% 20%)",
40
+ "toolSuccessBg": "okhsl(115 25% 20%)",
41
+ "toolErrorBg": "okhsl(343 30% 22%)",
42
+ "toolTitle": "blue",
43
+ "toolOutput": "muted",
44
+ "mdHeading": "violet",
45
+ "mdLink": "blue",
46
+ "mdLinkUrl": "muted",
47
+ "mdCode": "cyan",
48
+ "mdCodeBlock": "green",
49
+ "mdCodeBlockBorder": "okhsl(230 20% 39%)",
50
+ "mdQuote": "muted",
51
+ "mdQuoteBorder": "blue",
52
+ "mdHr": "okhsl(230 20% 39%)",
53
+ "mdListBullet": "blue",
54
+ "toolDiffAdded": "green",
55
+ "toolDiffRemoved": "red",
56
+ "toolDiffContext": "muted",
57
+ "syntaxComment": "okhsl(228 24% 65%)",
58
+ "syntaxKeyword": "violet",
59
+ "syntaxFunction": "blue",
60
+ "syntaxVariable": "cyan",
61
+ "syntaxString": "green",
62
+ "syntaxNumber": "yellow",
63
+ "syntaxType": "cyan",
64
+ "syntaxOperator": "blue",
65
+ "syntaxPunctuation": "muted",
66
+ "thinkingOff": "okhsl(228 24% 65%)",
67
+ "thinkingMinimal": "blue",
68
+ "thinkingLow": "blue",
69
+ "thinkingMedium": "violet",
70
+ "thinkingHigh": "violet",
71
+ "thinkingXhigh": "red",
72
+ "thinkingMax": "red",
73
+ "bashMode": "green"
74
+ },
75
+ "export": {
76
+ "pageBg": "okhsl(240 21% 12%)",
77
+ "cardBg": "okhsl(237 16% 17%)",
78
+ "infoBg": "okhsl(230 22% 20%)"
79
+ }
80
+ }
@@ -0,0 +1,80 @@
1
+ {
2
+ "$schema": "https://pi.dev/schemas/theme.schema.json",
3
+ "name": "github-dark",
4
+ "appearance": "dark",
5
+ "vars": {
6
+ "text": "okhsl(210 17% 82%)",
7
+ "muted": "okhsl(215 10% 62%)",
8
+ "violet": "okhsl(267 68% 77%)",
9
+ "blue": "okhsl(212 92% 72%)",
10
+ "green": "okhsl(136 55% 68%)",
11
+ "red": "okhsl(5 78% 72%)",
12
+ "yellow": "okhsl(40 90% 72%)",
13
+ "cyan": "okhsl(190 65% 70%)",
14
+ "blueBg": "okhsl(220 20% 23%)",
15
+ "userBg": "okhsl(225 30% 20%)"
16
+ },
17
+ "colors": {
18
+ "accent": "blue",
19
+ "border": "okhsl(215 14% 36%)",
20
+ "borderAccent": "blue",
21
+ "borderMuted": "okhsl(220 16% 27%)",
22
+ "success": "green",
23
+ "error": "red",
24
+ "warning": "yellow",
25
+ "muted": "muted",
26
+ "dim": "okhsl(215 10% 62%)",
27
+ "text": "text",
28
+ "thinkingText": "muted",
29
+ "selectedBg": "blueBg",
30
+ "scrollbarTrack": "okhsl(215 20% 18%)",
31
+ "scrollbarThumb": "okhsl(215 14% 36%)",
32
+ "searchMatchBg": "okhsl(42 40% 25%)",
33
+ "searchMatchText": "text",
34
+ "userMessageBg": "userBg",
35
+ "userMessageText": "text",
36
+ "customMessageBg": "okhsl(267 27% 20%)",
37
+ "customMessageText": "text",
38
+ "customMessageLabel": "violet",
39
+ "toolPendingBg": "okhsl(215 20% 18%)",
40
+ "toolSuccessBg": "okhsl(136 25% 19%)",
41
+ "toolErrorBg": "okhsl(5 30% 20%)",
42
+ "toolTitle": "blue",
43
+ "toolOutput": "muted",
44
+ "mdHeading": "violet",
45
+ "mdLink": "blue",
46
+ "mdLinkUrl": "muted",
47
+ "mdCode": "cyan",
48
+ "mdCodeBlock": "green",
49
+ "mdCodeBlockBorder": "okhsl(215 14% 36%)",
50
+ "mdQuote": "muted",
51
+ "mdQuoteBorder": "blue",
52
+ "mdHr": "okhsl(215 14% 36%)",
53
+ "mdListBullet": "blue",
54
+ "toolDiffAdded": "green",
55
+ "toolDiffRemoved": "red",
56
+ "toolDiffContext": "muted",
57
+ "syntaxComment": "okhsl(215 10% 62%)",
58
+ "syntaxKeyword": "violet",
59
+ "syntaxFunction": "blue",
60
+ "syntaxVariable": "cyan",
61
+ "syntaxString": "green",
62
+ "syntaxNumber": "yellow",
63
+ "syntaxType": "cyan",
64
+ "syntaxOperator": "blue",
65
+ "syntaxPunctuation": "muted",
66
+ "thinkingOff": "okhsl(215 10% 62%)",
67
+ "thinkingMinimal": "blue",
68
+ "thinkingLow": "blue",
69
+ "thinkingMedium": "violet",
70
+ "thinkingHigh": "violet",
71
+ "thinkingXhigh": "red",
72
+ "thinkingMax": "red",
73
+ "bashMode": "green"
74
+ },
75
+ "export": {
76
+ "pageBg": "okhsl(215 28% 10%)",
77
+ "cardBg": "okhsl(215 22% 14%)",
78
+ "infoBg": "okhsl(215 20% 18%)"
79
+ }
80
+ }
@@ -0,0 +1,81 @@
1
+ {
2
+ "$schema": "https://pi.dev/schemas/theme.schema.json",
3
+ "name": "honeycomb-dark",
4
+ "appearance": "dark",
5
+ "vars": {
6
+ "honey": "#ffc83d",
7
+ "pollen": "#ffe59a",
8
+ "amber": "#ffa24c",
9
+ "wax": "#fff3d1",
10
+ "sand": "#cabb9b",
11
+ "smoke": "#ae9f85",
12
+ "combEdge": "#a17d39",
13
+ "charcoal": "#201e19",
14
+ "wing": "#9ad8dc",
15
+ "leaf": "#acd786",
16
+ "sting": "#ff9081"
17
+ },
18
+ "colors": {
19
+ "accent": "honey",
20
+ "border": "combEdge",
21
+ "borderAccent": "honey",
22
+ "borderMuted": "#695b40",
23
+ "success": "leaf",
24
+ "error": "sting",
25
+ "warning": "amber",
26
+ "muted": "sand",
27
+ "dim": "smoke",
28
+ "text": "wax",
29
+ "thinkingText": "sand",
30
+ "selectedBg": "#493711",
31
+ "scrollbarTrack": "#493e2c",
32
+ "scrollbarThumb": "combEdge",
33
+ "searchMatchBg": "#614414",
34
+ "searchMatchText": "pollen",
35
+ "userMessageBg": "#302819",
36
+ "userMessageText": "wax",
37
+ "customMessageBg": "#26241e",
38
+ "customMessageText": "wax",
39
+ "customMessageLabel": "pollen",
40
+ "toolPendingBg": "charcoal",
41
+ "toolSuccessBg": "#22291d",
42
+ "toolErrorBg": "#34221f",
43
+ "toolTitle": "pollen",
44
+ "toolOutput": "sand",
45
+ "mdHeading": "honey",
46
+ "mdLink": "wing",
47
+ "mdLinkUrl": "sand",
48
+ "mdCode": "pollen",
49
+ "mdCodeBlock": "wax",
50
+ "mdCodeBlockBorder": "combEdge",
51
+ "mdQuote": "sand",
52
+ "mdQuoteBorder": "amber",
53
+ "mdHr": "combEdge",
54
+ "mdListBullet": "honey",
55
+ "toolDiffAdded": "leaf",
56
+ "toolDiffRemoved": "sting",
57
+ "toolDiffContext": "sand",
58
+ "syntaxComment": "smoke",
59
+ "syntaxKeyword": "honey",
60
+ "syntaxFunction": "pollen",
61
+ "syntaxVariable": "wax",
62
+ "syntaxString": "leaf",
63
+ "syntaxNumber": "amber",
64
+ "syntaxType": "wing",
65
+ "syntaxOperator": "honey",
66
+ "syntaxPunctuation": "sand",
67
+ "thinkingOff": "#695b40",
68
+ "thinkingMinimal": "combEdge",
69
+ "thinkingLow": "#d89532",
70
+ "thinkingMedium": "amber",
71
+ "thinkingHigh": "honey",
72
+ "thinkingXhigh": "pollen",
73
+ "thinkingMax": "wax",
74
+ "bashMode": "wing"
75
+ },
76
+ "export": {
77
+ "pageBg": "#141310",
78
+ "cardBg": "charcoal",
79
+ "infoBg": "#302819"
80
+ }
81
+ }