MCPcopy Create free account
hub / github.com/apache/maka / createDefaultRuntimePolicy

Function createDefaultRuntimePolicy

packages/core/src/runtime-policy.ts:165–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163 | RevisionConflict;
164
165export function createDefaultRuntimePolicy(): RuntimePolicy {
166 return {
167 networkProxy: {
168 enabled: false,
169 protocol: 'http',
170 host: '127.0.0.1',
171 port: 7890,
172 authEnabled: false,
173 username: '',
174 bypassList: ['metaso.cn', 'baidu.com'],
175 autoBypassDomains: ['localhost', '127.0.0.1', '::1', '192.168.*', '10.*', '*.local'],
176 },
177 personalization: { displayName: '', assistantTone: '' },
178 memory: { enabled: true, agentReadEnabled: false },
179 workspaceInstructions: { enabled: true },
180 privacy: { incognitoActive: false },
181 chatDefaults: { permissionMode: 'ask' },
182 webSearch: { enabled: false, defaultProvider: 'model' },
183 subagents: { presets: [] },
184 };
185}
186
187export type ConnectionModel = Readonly<ModelInfo>;
188

Calls

no outgoing calls

Tested by 4

backendCreationFixtureFunction · 0.72
readyDirectExecutionFunction · 0.72
createCoordinatorFunction · 0.72
runtimePolicyFixtureFunction · 0.72