GeezerVison is showing github.com — shared package (#22626) · HashNuke/opencode@be9432a
File treeExpand file treeCollapse file tree Open diff view settings Some content is hiddenLarge Commits have some content hidden by default. Use the searchbox below for content that may be hidden. Dismiss bannerExpand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: bun.lock +36-44Lines changed: 36 additions & 44 deletions Collapse file Copy file name to clipboardExpand all lines: package.json +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 28 | 28 | "catalog": { | 29 | 29 | "@effect/opentelemetry": "4.0.0-beta.48", | 30 | 30 | "@effect/platform-node": "4.0.0-beta.48", | | 31 | + "@npmcli/arborist": "9.4.0", | 31 | 32 | "@types/bun": "1.3.11", | 32 | 33 | "@types/cross-spawn": "6.0.6", | 33 | 34 | "@octokit/rest": "22.0.0", | | 59 | 60 | "marked-shiki": "1.2.1", | 60 | 61 | "remend": "1.3.0", | 61 | 62 | "@playwright/test": "1.59.1", | | 63 | + "semver": "7.7.4", | 62 | 64 | "typescript": "5.8.2", | 63 | 65 | "@typescript/native-preview": "7.0.0-dev.20251207.1", | 64 | 66 | "zod": "4.1.8", | |
Collapse file Copy file name to clipboardExpand all lines: packages/app/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 42 | 42 | "@kobalte/core": "catalog:", | 43 | 43 | "@opencode-ai/sdk": "workspace:*", | 44 | 44 | "@opencode-ai/ui": "workspace:*", | 45 | | - "@opencode-ai/util": "workspace:*", | | 45 | + "@opencode-ai/shared": "workspace:*", | 46 | 46 | "@shikijs/transformers": "3.9.2", | 47 | 47 | "@solid-primitives/active-element": "2.1.3", | 48 | 48 | "@solid-primitives/audio": "1.4.2", | |
Collapse file Copy file name to clipboardExpand all lines: packages/app/src/components/dialog-edit-project.tsx +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -9,7 +9,7 @@ import { createStore } from "solid-js/store" | 9 | 9 | import { useGlobalSDK } from "@/context/global-sdk" | 10 | 10 | import { useGlobalSync } from "@/context/global-sync" | 11 | 11 | import { type LocalProject, getAvatarColors } from "@/context/layout" | 12 | | -import { getFilename } from "@opencode-ai/util/path" | | 12 | +import { getFilename } from "@opencode-ai/shared/util/path" | 13 | 13 | import { Avatar } from "@opencode-ai/ui/avatar" | 14 | 14 | import { useLanguage } from "@/context/language" | 15 | 15 |
| |
Collapse file Copy file name to clipboardExpand all lines: packages/app/src/components/dialog-fork.tsx +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -9,7 +9,7 @@ import { List } from "@opencode-ai/ui/list" | 9 | 9 | import { showToast } from "@opencode-ai/ui/toast" | 10 | 10 | import { extractPromptFromParts } from "@/utils/prompt" | 11 | 11 | import type { TextPart as SDKTextPart } from "@opencode-ai/sdk/v2/client" | 12 | | -import { base64Encode } from "@opencode-ai/util/encode" | | 12 | +import { base64Encode } from "@opencode-ai/shared/util/encode" | 13 | 13 | import { useLanguage } from "@/context/language" | 14 | 14 |
| 15 | 15 | interface ForkableMessage { | |
Collapse file Copy file name to clipboardExpand all lines: packages/app/src/components/dialog-select-directory.tsx +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -3,7 +3,7 @@ import { Dialog } from "@opencode-ai/ui/dialog" | 3 | 3 | import { FileIcon } from "@opencode-ai/ui/file-icon" | 4 | 4 | import { List } from "@opencode-ai/ui/list" | 5 | 5 | import type { ListRef } from "@opencode-ai/ui/list" | 6 | | -import { getDirectory, getFilename } from "@opencode-ai/util/path" | | 6 | +import { getDirectory, getFilename } from "@opencode-ai/shared/util/path" | 7 | 7 | import fuzzysort from "fuzzysort" | 8 | 8 | import { createMemo, createResource, createSignal } from "solid-js" | 9 | 9 | import { useGlobalSDK } from "@/context/global-sdk" | |
Collapse file Copy file name to clipboardExpand all lines: packages/app/src/components/dialog-select-file.tsx +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -4,8 +4,8 @@ import { FileIcon } from "@opencode-ai/ui/file-icon" | 4 | 4 | import { Icon } from "@opencode-ai/ui/icon" | 5 | 5 | import { Keybind } from "@opencode-ai/ui/keybind" | 6 | 6 | import { List } from "@opencode-ai/ui/list" | 7 | | -import { base64Encode } from "@opencode-ai/util/encode" | 8 | | -import { getDirectory, getFilename } from "@opencode-ai/util/path" | | 7 | +import { base64Encode } from "@opencode-ai/shared/util/encode" | | 8 | +import { getDirectory, getFilename } from "@opencode-ai/shared/util/path" | 9 | 9 | import { useNavigate } from "@solidjs/router" | 10 | 10 | import { createMemo, createSignal, Match, onCleanup, Show, Switch } from "solid-js" | 11 | 11 | import { formatKeybind, useCommand, type CommandOption } from "@/context/command" | |
Collapse file Copy file name to clipboardExpand all lines: packages/app/src/components/prompt-input/build-request-parts.ts +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | | -import { getFilename } from "@opencode-ai/util/path" | | 1 | +import { getFilename } from "@opencode-ai/shared/util/path" | 2 | 2 | import { type AgentPartInput, type FilePartInput, type Part, type TextPartInput } from "@opencode-ai/sdk/v2/client" | 3 | 3 | import type { FileSelection } from "@/context/file" | 4 | 4 | import { encodeFilePath } from "@/context/file/path" | |
Collapse file Copy file name to clipboardExpand all lines: packages/app/src/components/prompt-input/context-items.tsx +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -2,7 +2,7 @@ import { Component, For, Show } from "solid-js" | 2 | 2 | import { FileIcon } from "@opencode-ai/ui/file-icon" | 3 | 3 | import { IconButton } from "@opencode-ai/ui/icon-button" | 4 | 4 | import { Tooltip } from "@opencode-ai/ui/tooltip" | 5 | | -import { getDirectory, getFilename, getFilenameTruncated } from "@opencode-ai/util/path" | | 5 | +import { getDirectory, getFilename, getFilenameTruncated } from "@opencode-ai/shared/util/path" | 6 | 6 | import type { ContextItem } from "@/context/prompt" | 7 | 7 |
| 8 | 8 | type PromptContextItem = ContextItem & { key: string } | |
Collapse file Copy file name to clipboardExpand all lines: packages/app/src/components/prompt-input/slash-popover.tsx +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | import { Component, For, Match, Show, Switch } from "solid-js" | 2 | 2 | import { FileIcon } from "@opencode-ai/ui/file-icon" | 3 | 3 | import { Icon } from "@opencode-ai/ui/icon" | 4 | | -import { getDirectory, getFilename } from "@opencode-ai/util/path" | | 4 | +import { getDirectory, getFilename } from "@opencode-ai/shared/util/path" | 5 | 5 |
| 6 | 6 | export type AtOption = | 7 | 7 | | { type: "agent"; name: string; display: string } | |
|