Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Bighelp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10327,7 +10327,6 @@
PRODUCT_BUNDLE_IDENTIFIER = app.loopdy.mobile;
PRODUCT_MODULE_NAME = Bighelp;
PRODUCT_NAME = Bighelp;
"PRODUCT_NAME[sdk=macosx*]" = bighelp;
SDKROOT = auto;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator";
SUPPORTS_MACCATALYST = YES;
Expand Down Expand Up @@ -10653,7 +10652,6 @@
PRODUCT_BUNDLE_IDENTIFIER = app.loopdy.mobile;
PRODUCT_MODULE_NAME = Bighelp;
PRODUCT_NAME = Bighelp;
"PRODUCT_NAME[sdk=macosx*]" = bighelp;
SDKROOT = auto;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator";
SUPPORTS_MACCATALYST = YES;
Expand Down
2 changes: 1 addition & 1 deletion Bighelp/AdvancedOptions/AdvancedOptionsCatalog.swift
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ enum AdvancedOptionsCatalog {
detail: String(localized: "Your bot asks before it keeps a note."),
kind: .toggle(.boolean),
defaultValue: .boolean(false),
visibility: .whileOn(note: String(localized: "bighelp can't show notes waiting for your OK yet, so your bot keeps none. Turn this off to let it remember.")))),
visibility: .whileOn(note: String(localized: "Bighelp can't show notes waiting for your OK yet, so your bot keeps none. Turn this off to let it remember.")))),
.page(.memory),
])

Expand Down
2 changes: 1 addition & 1 deletion Bighelp/AdvancedOptions/AdvancedOptionsStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ final class AdvancedOptionsStore {
switch self {
case .notSaved: String(localized: "The computer didn't save that. Try again in a moment.")
case .notKept: String(localized: "The computer didn't keep that setting. Try again.")
case .sentUnchecked: String(localized: "Sent to your computer, but bighelp couldn't check it was kept.")
case .sentUnchecked: String(localized: "Sent to your computer, but Bighelp couldn't check it was kept.")
case .outOfDate: String(localized: "Couldn't reach your computer. These may be out of date.")
}
}
Expand Down
2 changes: 1 addition & 1 deletion Bighelp/Agents/AgentDirectoryStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ final class AgentDirectoryStore {
private(set) var errorMessage: String?
private(set) var errorCode: String?

static let hermesCompatibilityRecovery = "This Hermes gateway cannot load bots. Update Hermes on the computer, restart the gateway, then reconnect bighelp and try again."
static let hermesCompatibilityRecovery = "This Hermes gateway cannot load bots. Update Hermes on the computer, restart the gateway, then reconnect Bighelp and try again."

static func isHermesCapabilityMissing(_ error: any Error) -> Bool {
if case BighelpLinkWorkspaceClientError.remote(_, let code, _) = error {
Expand Down
2 changes: 1 addition & 1 deletion Bighelp/Agents/AgentModels.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ protocol AgentListPlacementWriting {
extension AgentProfile {
static let bighelpLinkDefault = AgentProfile(
id: "default",
name: "bighelp",
name: "Bighelp",
role: "Default bot",
summary: "Your default Hermes bot.",
instructions: "",
Expand Down
4 changes: 2 additions & 2 deletions Bighelp/Agents/AgentShortcutsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ struct AgentShortcutsView: View {
Section("Set up in Shortcuts") {
instruction(
"Choose an action",
detail: "Add Send a chat with bighelp, or Start a bighelp voice chat.",
detail: "Add Send a chat with Bighelp, or Start a Bighelp voice chat.",
symbol: "plus.app"
)
instruction(
Expand All @@ -23,7 +23,7 @@ struct AgentShortcutsView: View {
)
instruction(
"Review before running",
detail: "Chat sends your message. Voice chat opens bighelp and starts voice mode.",
detail: "Chat sends your message. Voice chat opens Bighelp and starts voice mode.",
symbol: "checkmark.bubble"
)
}
Expand Down
2 changes: 1 addition & 1 deletion Bighelp/Agents/AgentTemplateBrowser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ struct AgentTemplateRow: View {
private var details: [String] {
var parts: [String] = []
if showsSource {
if !template.isCommunity { parts.append("bighelp") }
if !template.isCommunity { parts.append("Bighelp") }
else if let credit = template.credit { parts.append(String(localized: "by @\(credit)")) }
else { parts.append(String(localized: "Community")) }
}
Expand Down
2 changes: 1 addition & 1 deletion Bighelp/Agents/AvatarCreatorView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ final class AvatarCreatorModel {
var title: String {
switch self {
case .bots: "Bots"
case .bighelp: "bighelp"
case .bighelp: "Bighelp"
case .hermes: "hermes"
case .petdex: "petdex"
case .photo: "Photo"
Expand Down
2 changes: 1 addition & 1 deletion Bighelp/Agents/MyTemplates.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ enum MyTemplatesSaveError: Error, Equatable {
case .tooLong: "This bot's instructions are too long for a template."
case .holdsSecret: "Templates can't hold keys or passwords. Take them out of this bot's instructions, then try again."
case .full: "Your computer keeps up to 40 templates. Delete one in Templates, then try again."
case .needsPluginUpdate: "Update the bighelp plugin to save templates."
case .needsPluginUpdate: "Update the Bighelp plugin to save templates."
case .noConnection: "Connect to your computer to save templates."
case .failed: "The template wasn't saved. Check your computer, then try again."
}
Expand Down
2 changes: 1 addition & 1 deletion Bighelp/App/AssistantMessageRouting.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func routeUnsolicitedAssistantMessage(
),
content: .message(message.text),
metadata: TimelineMetadata(
source: "Hermes · bighelp",
source: "Hermes · Bighelp",
freshness: "Just now",
delivery: message.delivery == .draft ? "Streaming" : "Delivered",
timestamp: Date(timeIntervalSince1970: TimeInterval(message.sentAt))
Expand Down
4 changes: 2 additions & 2 deletions Bighelp/App/BighelpAppComposition.swift
Original file line number Diff line number Diff line change
Expand Up @@ -545,13 +545,13 @@ struct BighelpAppComposition {
let owner = LiveVoiceOwner(hostID: "fixture-host", authorizationID: "inert-ui-fixture",
agentID: session.agentIDs.first ?? "fixture-agent", sessionID: session.id)
if keepsReport {
return .success(DemoLiveVoiceReportCall.model(owner: owner, agentName: agent?.name ?? "bighelp"))
return .success(DemoLiveVoiceReportCall.model(owner: owner, agentName: agent?.name ?? "Bighelp"))
}
let control = LiveVoiceControlClient(owner: owner, operation: { _, _ in
// Never reaches the peer, microphone, network or provider.
throw LiveVoiceControlError.unavailable
}, isOwnerCurrent: { $0 == owner })
return .success(LiveVoiceModel(agentName: agent?.name ?? "bighelp", client: control,
return .success(LiveVoiceModel(agentName: agent?.name ?? "Bighelp", client: control,
makePeer: { BighelpRealtimeAudioPeer(captureEnabled: false) }))
}
}
Expand Down
2 changes: 1 addition & 1 deletion Bighelp/App/BighelpBackgroundGrace.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class BighelpBackgroundGrace {
// The Mac doesn't suspend the app in the background, and it won't quit while a
// background task runs: Quit (and an update's relaunch) waited out the whole grace.
if backgroundTask == .invalid, !BighelpPlatform.isMac {
backgroundTask = UIApplication.shared.beginBackgroundTask(withName: "bighelp keeps its connection") {
backgroundTask = UIApplication.shared.beginBackgroundTask(withName: "Bighelp keeps its connection") {
// iOS wants its time back early: close now rather than be frozen mid-socket.
MainActor.assumeIsolated { BighelpBackgroundGrace.shared.expire() }
}
Expand Down
2 changes: 1 addition & 1 deletion Bighelp/App/HermesWorkspaceStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ final class HermesWorkspaceStore {
}
guard let fullPath = HermesFolderPath.expanded(folderPath, home: homePath) else {
guard generation == loadGeneration else { return false }
errorMessage = "bighelp couldn't find the home folder on your computer. Type the full path, starting with /."
errorMessage = "Bighelp couldn't find the home folder on your computer. Type the full path, starting with /."
return false
}
var created = try await client.create(
Expand Down
4 changes: 2 additions & 2 deletions Bighelp/App/NativeWorkspaceLifecycleCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ enum NativeWorkspaceLifecycleError: Error, Equatable, LocalizedError, Sendable {
case .durableSessionUnavailable:
"Hermes confirmed this stored chat, but the current profile catalog could not resolve its exact durable identity. Refresh Chats before trying again."
case .profileStateCouldNotBeVerified:
"bighelp could not verify every saved draft for this profile, so the profile change was not sent."
"Bighelp could not verify every saved draft for this profile, so the profile change was not sent."
case .protectedProfileState(_, let sessionIDs):
"Resolve or save the pending work in \(sessionIDs.count) profile chat(s) before renaming or deleting this profile. No profile change was sent."
case .profileBusy:
Expand All @@ -31,7 +31,7 @@ enum NativeWorkspaceLifecycleError: Error, Equatable, LocalizedError, Sendable {
? "This bot is in the group chat “\(titles[0])”. Delete that group first, then delete the bot. Nothing was deleted."
: "This bot is in \(titles.count) group chats. Delete those groups first, then delete the bot. Nothing was deleted."
case .sharedStateMismatch:
"Hermes confirmed the profile change, but the shared bighelp stores did not reconcile to the exact readback. Reopen Profiles; do not repeat the server operation."
"Hermes confirmed the profile change, but the shared Bighelp stores did not reconcile to the exact readback. Reopen Profiles; do not repeat the server operation."
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Bighelp/App/NativeWorkspaceRuntime.swift
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ final class NativeWorkspaceRuntime {
} catch {
guard !retired, refreshID == request else { return }
errorMessage = error is WorkspaceClientError
? error.localizedDescription : "bighelp could not load this computer's data. No other computer or transport was used."
? error.localizedDescription : "Bighelp could not load this computer's data. No other computer or transport was used."
}
}

Expand Down
4 changes: 2 additions & 2 deletions Bighelp/App/RootFleet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ extension RootShellView {
} catch is CancellationError {
} catch {
actionErrorMessage = switch change {
case .rename: "bighelp couldn't rename this chat. Try again."
case .archive: "bighelp couldn't archive this chat. Try again."
case .rename: "Bighelp couldn't rename this chat. Try again."
case .archive: "Bighelp couldn't archive this chat. Try again."
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions Bighelp/App/RootHome.swift
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ extension RootShellView {
}
} catch is CancellationError {
} catch {
actionErrorMessage = String(localized: "bighelp couldn't change this chat. Try again.")
actionErrorMessage = String(localized: "Bighelp couldn't change this chat. Try again.")
}
}
case .fleetChat(let chat):
Expand Down Expand Up @@ -414,7 +414,7 @@ extension RootShellView {
action: { afterClosingHomeSheets { isNeedsYouPresented = true } }))
}
if let shared = pendingSharesMenuRow {
links.append(HomeSidebarLink(id: "shared", title: String(localized: "Shared with bighelp"),
links.append(HomeSidebarLink(id: "shared", title: String(localized: "Shared with Bighelp"),
symbol: "tray.and.arrow.down", detail: "\(shared.count)", showsDot: true,
action: shared.open))
}
Expand Down
2 changes: 1 addition & 1 deletion Bighelp/App/RootPendingShares.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ extension RootShellView {
do {
try await center.place(share, at: destination, agentName: agentName)
} catch {
actionErrorMessage = String(localized: "bighelp couldn't open this share. Try again.")
actionErrorMessage = String(localized: "Bighelp couldn't open this share. Try again.")
await center.refresh()
return
}
Expand Down
6 changes: 3 additions & 3 deletions Bighelp/App/RootShellView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,7 @@ struct RootShellView: View {
private func holdsLinkForItsComputer(_ url: URL) -> Bool {
guard let hostID = BighelpIncomingURLRoute.hostID(in: url), let fleet else { return false }
guard let host = fleet.reader.hosts.first(where: { $0.id == hostID }) else {
actionErrorMessage = "That computer isn't in bighelp anymore."
actionErrorMessage = "That computer isn't in Bighelp anymore."
return true
}
guard !host.isSelected else { return false }
Expand All @@ -1235,7 +1235,7 @@ struct RootShellView: View {
sessionRestoreTask?.cancel()
// Only a card this phone no longer owns, or whose computer is gone, gets here.
do { try managedNotifications.openActivity(opaqueSessionID: sessionID) }
catch { actionErrorMessage = "This chat can't be opened from here anymore. Find it in bighelp instead." }
catch { actionErrorMessage = "This chat can't be opened from here anymore. Find it in Bighelp instead." }
return
}
// Demo data opens links the way a real host does.
Expand Down Expand Up @@ -1615,7 +1615,7 @@ struct RootShellView: View {
appState.activateConversation(id: branch.id, source: .fork)
} catch {
model.branchContinuation = nil
model.failureMessage = "This chat is open in another Hermes process, and bighelp couldn't continue it in a new chat. Start a new chat to go on. Your text has been kept."
model.failureMessage = "This chat is open in another Hermes process, and Bighelp couldn't continue it in a new chat. Start a new chat to go on. Your text has been kept."
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Bighelp/App/ShellFeatureStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1768,7 +1768,7 @@ final class ShellFeatureStore {
id: "\(conversationID)-voice-\(sequence)",
model: VoiceModel(
conversationID: conversationID,
agentName: agent?.name ?? "bighelp",
agentName: agent?.name ?? "Bighelp",
status: (chatModels[conversationID]?.isSending == true || session?.isActive == true) ? .working : .listening,
isAgentRunActive: chatModels[conversationID]?.isSending == true || session?.isActive == true,
mode: mode,
Expand Down
8 changes: 4 additions & 4 deletions Bighelp/App/WorkspaceCatalogFixtures.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ final class FixtureSkillsAndToolsClient: HermesSkillsAndToolsCatalogClient {
let enabled = enabledStates[key] ?? true
return HermesCapabilityControl(agentID: agentID, kind: kind, itemID: id,
isEnabled: enabled, canToggle: id != "loopdy",
reason: id == "loopdy" ? "bighelp carries this control connection." : "",
reason: id == "loopdy" ? "Bighelp carries this control connection." : "",
scope: "Fixture profile", activation: "Applies to new fixture sessions.",
revision: digest("\(key):\(enabled)"))
}
Expand Down Expand Up @@ -53,10 +53,10 @@ final class FixtureSkillsAndToolsClient: HermesSkillsAndToolsCatalogClient {
},
plugins: [.init(
id: "loopdy",
name: "bighelp",
name: "Bighelp",
kind: "platform",
version: "Demo",
description: "Secure bighelp Link channel.",
description: "Secure Bighelp Link channel.",
isEnabled: true,
capabilityCount: 6
)],
Expand Down Expand Up @@ -254,7 +254,7 @@ final class FixtureHermesWorkspaceClient: HermesWorkspaceCatalogClient {
var rows: [HermesWorkspaceSummary] = [
.init(
id: "loopdy",
name: "bighelp",
name: "Bighelp",
description: "Product workspace",
folderCount: 1,
isActive: false
Expand Down
6 changes: 3 additions & 3 deletions Bighelp/Board/AgentBoardViews.swift
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ struct BoardStateBanner: View {
let state: AgentBoardStore.LoadState
let context: AgentBoardContext
/// For the agent: plugins before 3.0.0 only know the command's old name.
static let updateInstruction = "run `hermes bighelp update --restart` (on plugins before 3.0.0 the command is "
static let updateInstruction = "run `hermes Bighelp update --restart` (on plugins before 3.0.0 the command is "
+ "`hermes loopdy update --restart`)"

var body: some View {
Expand All @@ -452,7 +452,7 @@ struct BoardStateBanner: View {
/// The host (a Mac, a server or a cloud sandbox) runs an older plugin.
private var pluginUpdate: some View {
VStack(alignment: .leading, spacing: BighelpTokens.space12) {
Label("Your Hermes computer is running an older bighelp plugin", systemImage: "puzzlepiece.extension")
Label("Your Hermes computer is running an older Bighelp plugin", systemImage: "puzzlepiece.extension")
.font(.bighelp(.headline))
.foregroundStyle(theme.primaryText)
Text("Update it in Settings, under this computer's Plugin version, or ask \(context.agentName) to do it. "
Expand All @@ -461,7 +461,7 @@ struct BoardStateBanner: View {
.foregroundStyle(theme.secondaryText)
HStack(spacing: BighelpTokens.space12) {
Button {
context.onAsk("Please update the bighelp plugin on this host: \(Self.updateInstruction), "
context.onAsk("Please update the Bighelp plugin on this host: \(Self.updateInstruction), "
+ "then restart every Hermes dashboard process (including launchd or systemd services) "
+ "so they load it, and tell me when it's back.")
} label: {
Expand Down
4 changes: 2 additions & 2 deletions Bighelp/Board/AgentGoalsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,12 @@ struct AgentGoalsView: View {
/// Older plugins keep goals without categories: they all show under Other.
private var categoriesNeedUpdate: some View {
VStack(alignment: .leading, spacing: BighelpTokens.space4) {
Label("Update the bighelp plugin on your computer to sort goals by category.",
Label("Update the Bighelp plugin on your computer to sort goals by category.",
systemImage: "puzzlepiece.extension")
.font(.bighelp(.subheadline))
.foregroundStyle(theme.secondaryText)
Button {
context.onAsk("Please update the bighelp plugin on this host: \(BoardStateBanner.updateInstruction), "
context.onAsk("Please update the Bighelp plugin on this host: \(BoardStateBanner.updateInstruction), "
+ "then restart every Hermes dashboard process (including launchd or systemd services) "
+ "so they load it, and tell me when it's back.")
} label: {
Expand Down
2 changes: 1 addition & 1 deletion Bighelp/Board/BoardBlueprints.swift
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ struct BoardBlueprintsSheet: View {
let uses = TemplateUsage.shared.count(blueprint.id)
var details: [String] = []
if showsSource {
details.append(blueprint.isOfficial ? "bighelp" : blueprint.credit.map { "by @\($0)" } ?? "Community")
details.append(blueprint.isOfficial ? "Bighelp" : blueprint.credit.map { "by @\($0)" } ?? "Community")
}
if showsCategory { details.append(blueprint.category.title) }
if uses > 0 { details.append(uses == 1 ? "Used once" : "Used \(uses) times") }
Expand Down
2 changes: 1 addition & 1 deletion Bighelp/Board/DashboardActivityDetailView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ struct DashboardActivityDetailView: View {
case .loading:
note(String(localized: "Loading…"))
case .unsupported:
note(String(localized: "Update the bighelp plugin on this computer to see what this did."))
note(String(localized: "Update the Bighelp plugin on this computer to see what this did."))
case .gone:
note(String(localized: "The computer no longer has a record of this."))
case .failed:
Expand Down
Loading