From 69baee9c1d53330bae6b7b045f1feafc928453db Mon Sep 17 00:00:00 2001 From: Kaede Akino Date: Tue, 15 Sep 2026 08:34:34 +0800 Subject: [PATCH] Refine web search permissions --- Memory/ARCHITECTURE.md | 7 ++++--- TFM/Features/AI/ConversationViews.swift | 2 +- Termind.xcodeproj/project.pbxproj | 2 +- .../xcshareddata/swiftpm/Package.resolved | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Memory/ARCHITECTURE.md b/Memory/ARCHITECTURE.md index 05ddde7d..01f3b405 100644 --- a/Memory/ARCHITECTURE.md +++ b/Memory/ARCHITECTURE.md @@ -176,9 +176,10 @@ preflight, card creation, hooks, authorization, then execution, and OpenAI Responses/Chat Completions, Anthropic Messages, and Gemini. Models without tool capability receive no tools; only recognized chat-purpose models appear in conversation pickers, and unknown purpose values safely default to chat. -AgentKit's callable `fetch`, `web_search`, and `scratch_fetch` tools are `.ask` -because each initiates an external network request. A provider-native search card -is instead a post-hoc record of a search the selected model provider already ran. +AgentKit's callable `fetch` and `scratch_fetch` tools are `.ask` because each +contacts a caller-selected URL. Explicitly enabled `web_search` remains +pre-approved; a provider-native search card is a post-hoc record of a search the +selected model provider already ran. Guardian owns Auto-reviewing as an isolated `.reviewing` agent posture. Ordinary tools default only to `.planning` and `.acting`. The registry supports disjoint diff --git a/TFM/Features/AI/ConversationViews.swift b/TFM/Features/AI/ConversationViews.swift index 328028a0..3b054bbd 100644 --- a/TFM/Features/AI/ConversationViews.swift +++ b/TFM/Features/AI/ConversationViews.swift @@ -1262,7 +1262,7 @@ struct ComposerView: View { .padding(.horizontal, Metrics.Space.s) .padding(.bottom, Metrics.Space.s) } - .frame(width: 320) + .frame(width: 360) // The same system glass the composer that raised it is made of, rather // than a flat panel colour — a popover anchored to a glass surface that // is itself opaque reads as a different app's window. The presentation diff --git a/Termind.xcodeproj/project.pbxproj b/Termind.xcodeproj/project.pbxproj index 4a11b3b5..8edd8456 100644 --- a/Termind.xcodeproj/project.pbxproj +++ b/Termind.xcodeproj/project.pbxproj @@ -2595,7 +2595,7 @@ repositoryURL = "https://github.com/AkinoKaede/AgentKit.git"; requirement = { kind = upToNextMajorVersion; - minimumVersion = 0.9.1; + minimumVersion = 0.9.2; }; }; /* End XCRemoteSwiftPackageReference section */ diff --git a/Termind.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Termind.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 95657869..53b93966 100644 --- a/Termind.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Termind.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -6,8 +6,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/AkinoKaede/AgentKit.git", "state" : { - "revision" : "7d9fe837eea5a3c0fdeb9a73c3e658a130bfb654", - "version" : "0.9.1" + "revision" : "ad72d1fd7f868d75fe417cf58c8f31c279ca09f7", + "version" : "0.9.2" } }, {