Skip to content

Commit 77dd600

Browse files
Sync public snapshot from freebuff-private
Source: CodebuffAI/freebuff-private@eaffff3710f903823cda9b45d881064c6afc15fa
1 parent bd3a5a5 commit 77dd600

29 files changed

Lines changed: 754 additions & 625 deletions

‎agents/base2/base2.ts‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { buildArray } from '@codebuff/common/util/array'
2-
import { COMPOSIO_META_TOOL_NAMES } from '@codebuff/common/constants/composio'
32
import {
43
FREEBUFF_GEMINI_THINKER_AGENT_ID,
54
FREEBUFF_GEMINI_THINKER_INSTRUCTIONS_PROMPT,
@@ -26,7 +25,6 @@ import {
2625
type SecretAgentDefinition,
2726
} from '../types/secret-agent-definition'
2827

29-
const ENABLE_COMPOSIO_TOOLS = false
3028
/** base2 delegates deeper research to subagents; base3 has none, and carries
3129
* web_search/read_url itself. */
3230
const BASE2_DEEPER_RESEARCH =
@@ -225,7 +223,6 @@ ${
225223
'glob',
226224
'render_ui',
227225
!noGravityIndex && 'gravity_index',
228-
ENABLE_COMPOSIO_TOOLS && [...COMPOSIO_META_TOOL_NAMES],
229226
),
230227
spawnableAgents: buildArray(
231228
!isMax && 'file-picker',
@@ -281,11 +278,6 @@ ${
281278
- **Do what the user asks:** If the user asks you to do something, even running a risky terminal command, do it.
282279
- **Don't use set_output:** The set_output tool is for spawned subagents to report results. Don't use it yourself.
283280
${SKILL_DISCOVERY_GUIDANCE}${
284-
ENABLE_COMPOSIO_TOOLS
285-
? `
286-
- **External apps:** When Composio tools are available and the user asks to work with connected apps or services like Gmail, Google Calendar, GitHub, Slack, Linear, or Notion, use them to search for the right app tools, help the user connect their account (use the render_ui tool to show a button if the user needs to click a link), and execute the requested action.`
287-
: ''
288-
}${
289281
isDefault || isMax
290282
? '\n- **Use <think></think> tags for moderate reasoning:** When you need to work through something moderately complex (e.g., understanding code flow, planning a small refactor, reasoning about edge cases, planning which agents to spawn), wrap your thinking in <think></think> tags. Spawn the thinker agent for anything more complex.'
291283
: ''

‎agents/types/secret-agent-definition.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import type { AgentDefinition } from './agent-definition'
22
import type * as Tools from './tools'
3-
import type { ComposioMetaToolName } from '@codebuff/common/constants/composio'
43
export type { Tools }
54

65
export type AllToolNames =
@@ -10,7 +9,6 @@ export type AllToolNames =
109
| 'create_plan'
1110
| 'spawn_agent_inline'
1211
| 'update_subgoal'
13-
| ComposioMetaToolName
1412

1513
export interface SecretAgentDefinition extends Omit<
1614
AgentDefinition,

‎bun.lock‎

Lines changed: 50 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎cli/src/components/tools/composio.tsx‎

Lines changed: 0 additions & 125 deletions
This file was deleted.

‎cli/src/components/tools/registry.ts‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
import { ApplyPatchComponent } from './apply-patch'
22
import { CodeSearchComponent } from './code-search'
3-
import {
4-
ManageConnectionsComponent,
5-
ExecuteToolComponent,
6-
SearchToolsComponent,
7-
GetToolSchemasComponent,
8-
} from './composio'
93
import { GlobComponent } from './glob'
104
import { GravityIndexComponent } from './gravity-index'
115
import { ListDirectoryComponent } from './list-directory'
@@ -39,10 +33,6 @@ import type { ToolName } from '@codebuff/sdk'
3933
const toolComponentRegistry = new Map<ToolName, ToolComponent>([
4034
[ApplyPatchComponent.toolName, ApplyPatchComponent],
4135
[CodeSearchComponent.toolName, CodeSearchComponent],
42-
[ManageConnectionsComponent.toolName, ManageConnectionsComponent],
43-
[ExecuteToolComponent.toolName, ExecuteToolComponent],
44-
[SearchToolsComponent.toolName, SearchToolsComponent],
45-
[GetToolSchemasComponent.toolName, GetToolSchemasComponent],
4636
[GlobComponent.toolName, GlobComponent],
4737
[GravityIndexComponent.toolName, GravityIndexComponent],
4838
[ListDirectoryComponent.toolName, ListDirectoryComponent],

‎common/package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"dependencies": {
2525
"@modelcontextprotocol/sdk": "^1.18.2",
2626
"@types/seedrandom": "^3.0.8",
27+
"@xterm/headless": "^5.5.0",
2728
"ai": "^7.0.59",
2829
"gray-matter": "^4.0.3",
2930
"ignore": "5.3.2",

‎common/src/ads/sponsored-capabilities.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,6 @@ export const SPONSORED_CAPABILITY_BY_TOOL: Readonly<
110110
read_docs: 'network',
111111
gravity_index: 'network',
112112
lookup_agent_info: 'network',
113-
composio_manage_connections: 'network',
114-
composio_multi_execute_tool: 'network',
115-
composio_search_tools: 'network',
116-
composio_get_tool_schemas: 'network',
117113

118114
// human_in_loop
119115
ask_user: 'human_in_loop',

‎common/src/constants/composio.ts‎

Lines changed: 0 additions & 34 deletions
This file was deleted.

‎common/src/constants/settings-pages.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ export const SHARED_SETTINGS_PAGES = [
55
{ id: 'usage', label: 'Usage' },
66
{ id: 'billing', label: 'Billing' },
77
{ id: 'earn', label: 'Earn' },
8-
{ id: 'connections', label: 'Connections' },
9-
{ id: 'providers', label: 'API Providers' },
8+
{ id: 'integrations', label: 'Integrations' },
9+
{ id: 'providers', label: 'Model Providers' },
1010
{ id: 'api', label: 'Developer API' },
1111
{ id: 'projects', label: 'Project settings' },
1212
{ id: 'skills', label: 'Skills' },

0 commit comments

Comments
 (0)