@probelabs/visor 0.1.159 → 0.1.160-ee
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/defaults/assistant.yaml +143 -0
- package/defaults/skills/code-explorer.yaml +41 -0
- package/dist/defaults/assistant.yaml +143 -0
- package/dist/defaults/skills/code-explorer.yaml +41 -0
- package/dist/index.js +2012 -45
- package/dist/providers/workflow-check-provider.d.ts.map +1 -1
- package/dist/sdk/{check-provider-registry-UVLGKORU.mjs → check-provider-registry-EFBU3XPX.mjs} +5 -5
- package/dist/sdk/{chunk-5N33URMM.mjs → chunk-2LL6GIEU.mjs} +3 -3
- package/dist/sdk/{chunk-PZONH3RK.mjs → chunk-CYIKOFJZ.mjs} +3 -3
- package/dist/sdk/chunk-CYIKOFJZ.mjs.map +1 -0
- package/dist/sdk/{chunk-AW3IHBCI.mjs → chunk-FHWFG5AS.mjs} +112 -23
- package/dist/sdk/{chunk-AW3IHBCI.mjs.map → chunk-FHWFG5AS.mjs.map} +1 -1
- package/dist/sdk/{chunk-PSZI5NZL.mjs → chunk-HT3EFZ75.mjs} +2 -2
- package/dist/sdk/{failure-condition-evaluator-LQ5NUFZN.mjs → failure-condition-evaluator-3Q45T5EW.mjs} +3 -3
- package/dist/sdk/{github-frontend-YSRVB5FS.mjs → github-frontend-SZBGCH43.mjs} +3 -3
- package/dist/sdk/{host-YG6LPL6H.mjs → host-Z6OFA24O.mjs} +2 -2
- package/dist/sdk/knex-store-CRORFJE6.mjs +527 -0
- package/dist/sdk/knex-store-CRORFJE6.mjs.map +1 -0
- package/dist/sdk/loader-NJCF7DUS.mjs +89 -0
- package/dist/sdk/loader-NJCF7DUS.mjs.map +1 -0
- package/dist/sdk/opa-policy-engine-S2S2ULEI.mjs +655 -0
- package/dist/sdk/opa-policy-engine-S2S2ULEI.mjs.map +1 -0
- package/dist/sdk/{routing-ZJSROSUU.mjs → routing-GGZBWOLZ.mjs} +4 -4
- package/dist/sdk/{schedule-tool-2GSWLIWA.mjs → schedule-tool-DWHKTTEY.mjs} +5 -5
- package/dist/sdk/{schedule-tool-handler-HWHHAHJD.mjs → schedule-tool-handler-IZPIN2GK.mjs} +5 -5
- package/dist/sdk/sdk.js +1730 -267
- package/dist/sdk/sdk.js.map +1 -1
- package/dist/sdk/sdk.mjs +4 -4
- package/dist/sdk/{trace-helpers-23KC3NGK.mjs → trace-helpers-AXJZLLWE.mjs} +2 -2
- package/dist/sdk/validator-XTZJZZJH.mjs +134 -0
- package/dist/sdk/validator-XTZJZZJH.mjs.map +1 -0
- package/dist/sdk/{workflow-check-provider-DHNWJKYK.mjs → workflow-check-provider-XGW3WVPS.mjs} +5 -5
- package/package.json +2 -2
- package/dist/output/traces/run-2026-03-05T15-45-37-714Z.ndjson +0 -138
- package/dist/output/traces/run-2026-03-05T15-46-23-118Z.ndjson +0 -2197
- package/dist/sdk/check-provider-registry-74VLAETF.mjs +0 -29
- package/dist/sdk/chunk-IVTSD7ZW.mjs +0 -43780
- package/dist/sdk/chunk-IVTSD7ZW.mjs.map +0 -1
- package/dist/sdk/chunk-PZONH3RK.mjs.map +0 -1
- package/dist/sdk/schedule-tool-QCJWLYS3.mjs +0 -35
- package/dist/sdk/schedule-tool-handler-K2LO33KU.mjs +0 -39
- package/dist/sdk/schedule-tool-handler-K2LO33KU.mjs.map +0 -1
- package/dist/sdk/trace-helpers-23KC3NGK.mjs.map +0 -1
- package/dist/sdk/workflow-check-provider-DHNWJKYK.mjs.map +0 -1
- package/dist/sdk/workflow-check-provider-OUREVWAI.mjs +0 -29
- package/dist/sdk/workflow-check-provider-OUREVWAI.mjs.map +0 -1
- package/dist/traces/run-2026-03-05T15-45-37-714Z.ndjson +0 -138
- package/dist/traces/run-2026-03-05T15-46-23-118Z.ndjson +0 -2197
- /package/dist/sdk/{check-provider-registry-74VLAETF.mjs.map → check-provider-registry-EFBU3XPX.mjs.map} +0 -0
- /package/dist/sdk/{chunk-5N33URMM.mjs.map → chunk-2LL6GIEU.mjs.map} +0 -0
- /package/dist/sdk/{chunk-PSZI5NZL.mjs.map → chunk-HT3EFZ75.mjs.map} +0 -0
- /package/dist/sdk/{check-provider-registry-UVLGKORU.mjs.map → failure-condition-evaluator-3Q45T5EW.mjs.map} +0 -0
- /package/dist/sdk/{github-frontend-YSRVB5FS.mjs.map → github-frontend-SZBGCH43.mjs.map} +0 -0
- /package/dist/sdk/{host-YG6LPL6H.mjs.map → host-Z6OFA24O.mjs.map} +0 -0
- /package/dist/sdk/{failure-condition-evaluator-LQ5NUFZN.mjs.map → routing-GGZBWOLZ.mjs.map} +0 -0
- /package/dist/sdk/{routing-ZJSROSUU.mjs.map → schedule-tool-DWHKTTEY.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-2GSWLIWA.mjs.map → schedule-tool-handler-IZPIN2GK.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-QCJWLYS3.mjs.map → trace-helpers-AXJZLLWE.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-HWHHAHJD.mjs.map → workflow-check-provider-XGW3WVPS.mjs.map} +0 -0
package/defaults/assistant.yaml
CHANGED
|
@@ -2173,6 +2173,149 @@ tests:
|
|
|
2173
2173
|
path: mcp_servers.code-explorer.inputs.docs_repo
|
|
2174
2174
|
equals: "my-org/docs"
|
|
2175
2175
|
|
|
2176
|
+
- name: code-explorer-default-skill-activates
|
|
2177
|
+
description: Default visor code-explorer skill (from defaults/skills/) activates and configures tools correctly
|
|
2178
|
+
event: manual
|
|
2179
|
+
fixture: local.minimal
|
|
2180
|
+
workflow_input:
|
|
2181
|
+
question: "How does auth work?"
|
|
2182
|
+
intents:
|
|
2183
|
+
- id: code_help
|
|
2184
|
+
description: code questions
|
|
2185
|
+
skills:
|
|
2186
|
+
- id: code-explorer
|
|
2187
|
+
description: >
|
|
2188
|
+
request needs codebase exploration, understanding implementation details,
|
|
2189
|
+
code search, or documentation questions. READ-ONLY — cannot modify files,
|
|
2190
|
+
only investigate and answer questions.
|
|
2191
|
+
allowed_commands:
|
|
2192
|
+
- "git:log:*"
|
|
2193
|
+
- "git:show:*"
|
|
2194
|
+
- "git:diff:*"
|
|
2195
|
+
knowledge: |
|
|
2196
|
+
## Code Explorer
|
|
2197
|
+
Use the code-talk tool to explore code repositories.
|
|
2198
|
+
tools:
|
|
2199
|
+
code-explorer:
|
|
2200
|
+
workflow: code-talk
|
|
2201
|
+
inputs:
|
|
2202
|
+
architecture: "# Test Architecture"
|
|
2203
|
+
docs_repo: "test-org/docs"
|
|
2204
|
+
projects:
|
|
2205
|
+
- id: backend
|
|
2206
|
+
repo: test-org/backend
|
|
2207
|
+
description: Backend services
|
|
2208
|
+
mocks:
|
|
2209
|
+
route-intent:
|
|
2210
|
+
intent: code_help
|
|
2211
|
+
topic: "How does auth work?"
|
|
2212
|
+
skills: ["code-explorer"]
|
|
2213
|
+
generate-response:
|
|
2214
|
+
text: "Auth is done in backend."
|
|
2215
|
+
expect:
|
|
2216
|
+
calls:
|
|
2217
|
+
- step: route-intent
|
|
2218
|
+
exactly: 1
|
|
2219
|
+
- step: build-config
|
|
2220
|
+
exactly: 1
|
|
2221
|
+
outputs:
|
|
2222
|
+
- step: build-config
|
|
2223
|
+
path: mcp_servers.code-explorer.workflow
|
|
2224
|
+
equals: "code-talk"
|
|
2225
|
+
- step: build-config
|
|
2226
|
+
path: mcp_servers.code-explorer.inputs.architecture
|
|
2227
|
+
equals: "# Test Architecture"
|
|
2228
|
+
- step: build-config
|
|
2229
|
+
path: mcp_servers.code-explorer.inputs.docs_repo
|
|
2230
|
+
equals: "test-org/docs"
|
|
2231
|
+
|
|
2232
|
+
- name: code-explorer-default-skill-knowledge-in-prompt
|
|
2233
|
+
description: Default code-explorer skill knowledge appears in prompt when activated
|
|
2234
|
+
event: manual
|
|
2235
|
+
fixture: local.minimal
|
|
2236
|
+
workflow_input:
|
|
2237
|
+
question: "How does auth work?"
|
|
2238
|
+
intents:
|
|
2239
|
+
- id: code_help
|
|
2240
|
+
description: code questions
|
|
2241
|
+
skills:
|
|
2242
|
+
- id: code-explorer
|
|
2243
|
+
description: code exploration capability
|
|
2244
|
+
knowledge: |
|
|
2245
|
+
## Code Explorer
|
|
2246
|
+
Use the code-talk tool to explore code repositories.
|
|
2247
|
+
The tool returns `confidence` ("high"/"medium"/"low") and `confidence_reason`.
|
|
2248
|
+
- If confidence "high", trust the answer — do NOT re-call with rephrased question
|
|
2249
|
+
tools:
|
|
2250
|
+
code-explorer:
|
|
2251
|
+
workflow: code-talk
|
|
2252
|
+
inputs:
|
|
2253
|
+
architecture: "# Arch"
|
|
2254
|
+
mocks:
|
|
2255
|
+
route-intent:
|
|
2256
|
+
intent: code_help
|
|
2257
|
+
topic: "How does auth work?"
|
|
2258
|
+
skills: ["code-explorer"]
|
|
2259
|
+
generate-response:
|
|
2260
|
+
text: "Auth is done in backend."
|
|
2261
|
+
expect:
|
|
2262
|
+
calls:
|
|
2263
|
+
- step: route-intent
|
|
2264
|
+
exactly: 1
|
|
2265
|
+
- step: build-config
|
|
2266
|
+
exactly: 1
|
|
2267
|
+
- step: generate-response
|
|
2268
|
+
exactly: 1
|
|
2269
|
+
outputs:
|
|
2270
|
+
- step: build-config
|
|
2271
|
+
path: knowledge_content
|
|
2272
|
+
matches: "<id>code-explorer</id>"
|
|
2273
|
+
- step: build-config
|
|
2274
|
+
path: knowledge_content
|
|
2275
|
+
matches: "Code Explorer"
|
|
2276
|
+
prompts:
|
|
2277
|
+
- step: generate-response
|
|
2278
|
+
contains:
|
|
2279
|
+
- "Code Explorer"
|
|
2280
|
+
- "confidence"
|
|
2281
|
+
|
|
2282
|
+
- name: code-explorer-default-skill-inactive-no-server
|
|
2283
|
+
description: Default code-explorer skill is not activated when router doesn't select it
|
|
2284
|
+
event: manual
|
|
2285
|
+
fixture: local.minimal
|
|
2286
|
+
workflow_input:
|
|
2287
|
+
question: "Hello"
|
|
2288
|
+
intents:
|
|
2289
|
+
- id: chat
|
|
2290
|
+
description: general Q&A
|
|
2291
|
+
skills:
|
|
2292
|
+
- id: code-explorer
|
|
2293
|
+
description: code exploration capability
|
|
2294
|
+
knowledge: |
|
|
2295
|
+
## Code Explorer
|
|
2296
|
+
tools:
|
|
2297
|
+
code-explorer:
|
|
2298
|
+
workflow: code-talk
|
|
2299
|
+
inputs:
|
|
2300
|
+
architecture: "# Arch"
|
|
2301
|
+
mocks:
|
|
2302
|
+
route-intent:
|
|
2303
|
+
intent: chat
|
|
2304
|
+
topic: "Hello"
|
|
2305
|
+
skills: []
|
|
2306
|
+
generate-response:
|
|
2307
|
+
text: "Hello!"
|
|
2308
|
+
expect:
|
|
2309
|
+
calls:
|
|
2310
|
+
- step: route-intent
|
|
2311
|
+
exactly: 1
|
|
2312
|
+
- step: build-config
|
|
2313
|
+
exactly: 1
|
|
2314
|
+
outputs:
|
|
2315
|
+
- step: build-config
|
|
2316
|
+
path: mcp_servers
|
|
2317
|
+
equalsDeep: {}
|
|
2318
|
+
|
|
2176
2319
|
- name: code-explorer-server-not-added-when-skill-inactive
|
|
2177
2320
|
description: Code explorer server not added when skill is not activated
|
|
2178
2321
|
event: manual
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# =============================================================================
|
|
2
|
+
# Default code-explorer skill shipped with visor
|
|
3
|
+
# =============================================================================
|
|
4
|
+
#
|
|
5
|
+
# Provides a ready-to-use code exploration capability. Users only need to
|
|
6
|
+
# provide project-specific config (repos, architecture, routing) via extends:
|
|
7
|
+
#
|
|
8
|
+
# - extends: "visor://skills/code-explorer.yaml"
|
|
9
|
+
# tools:
|
|
10
|
+
# code-explorer:
|
|
11
|
+
# inputs:
|
|
12
|
+
# expression: "loadConfig('config/my-projects.yaml')"
|
|
13
|
+
#
|
|
14
|
+
# =============================================================================
|
|
15
|
+
|
|
16
|
+
id: code-explorer
|
|
17
|
+
description: >
|
|
18
|
+
request needs codebase exploration, understanding implementation details,
|
|
19
|
+
code search, or documentation questions. READ-ONLY — cannot modify files,
|
|
20
|
+
only investigate and answer questions.
|
|
21
|
+
allowed_commands:
|
|
22
|
+
- "git:log:*"
|
|
23
|
+
- "git:show:*"
|
|
24
|
+
- "git:diff:*"
|
|
25
|
+
knowledge: |
|
|
26
|
+
## Code Explorer
|
|
27
|
+
Use the code-talk tool to explore code repositories.
|
|
28
|
+
The tool returns `confidence` ("high"/"medium"/"low") and `confidence_reason`.
|
|
29
|
+
- If confidence "high", trust the answer — do NOT re-call with rephrased question
|
|
30
|
+
- Only call again for a genuinely DIFFERENT aspect of the codebase
|
|
31
|
+
- If confidence "medium" or "low", check confidence_reason for what to refine
|
|
32
|
+
|
|
33
|
+
## Usage Instructions
|
|
34
|
+
1. Call the code-explorer tool with the user's question
|
|
35
|
+
2. Use the answer from the tool result as your response
|
|
36
|
+
3. Include the references (file paths with URLs) in your answer
|
|
37
|
+
4. Do NOT generate a generic response - relay what the tool found
|
|
38
|
+
tools:
|
|
39
|
+
code-explorer:
|
|
40
|
+
workflow: code-talk
|
|
41
|
+
inputs: {}
|
|
@@ -2173,6 +2173,149 @@ tests:
|
|
|
2173
2173
|
path: mcp_servers.code-explorer.inputs.docs_repo
|
|
2174
2174
|
equals: "my-org/docs"
|
|
2175
2175
|
|
|
2176
|
+
- name: code-explorer-default-skill-activates
|
|
2177
|
+
description: Default visor code-explorer skill (from defaults/skills/) activates and configures tools correctly
|
|
2178
|
+
event: manual
|
|
2179
|
+
fixture: local.minimal
|
|
2180
|
+
workflow_input:
|
|
2181
|
+
question: "How does auth work?"
|
|
2182
|
+
intents:
|
|
2183
|
+
- id: code_help
|
|
2184
|
+
description: code questions
|
|
2185
|
+
skills:
|
|
2186
|
+
- id: code-explorer
|
|
2187
|
+
description: >
|
|
2188
|
+
request needs codebase exploration, understanding implementation details,
|
|
2189
|
+
code search, or documentation questions. READ-ONLY — cannot modify files,
|
|
2190
|
+
only investigate and answer questions.
|
|
2191
|
+
allowed_commands:
|
|
2192
|
+
- "git:log:*"
|
|
2193
|
+
- "git:show:*"
|
|
2194
|
+
- "git:diff:*"
|
|
2195
|
+
knowledge: |
|
|
2196
|
+
## Code Explorer
|
|
2197
|
+
Use the code-talk tool to explore code repositories.
|
|
2198
|
+
tools:
|
|
2199
|
+
code-explorer:
|
|
2200
|
+
workflow: code-talk
|
|
2201
|
+
inputs:
|
|
2202
|
+
architecture: "# Test Architecture"
|
|
2203
|
+
docs_repo: "test-org/docs"
|
|
2204
|
+
projects:
|
|
2205
|
+
- id: backend
|
|
2206
|
+
repo: test-org/backend
|
|
2207
|
+
description: Backend services
|
|
2208
|
+
mocks:
|
|
2209
|
+
route-intent:
|
|
2210
|
+
intent: code_help
|
|
2211
|
+
topic: "How does auth work?"
|
|
2212
|
+
skills: ["code-explorer"]
|
|
2213
|
+
generate-response:
|
|
2214
|
+
text: "Auth is done in backend."
|
|
2215
|
+
expect:
|
|
2216
|
+
calls:
|
|
2217
|
+
- step: route-intent
|
|
2218
|
+
exactly: 1
|
|
2219
|
+
- step: build-config
|
|
2220
|
+
exactly: 1
|
|
2221
|
+
outputs:
|
|
2222
|
+
- step: build-config
|
|
2223
|
+
path: mcp_servers.code-explorer.workflow
|
|
2224
|
+
equals: "code-talk"
|
|
2225
|
+
- step: build-config
|
|
2226
|
+
path: mcp_servers.code-explorer.inputs.architecture
|
|
2227
|
+
equals: "# Test Architecture"
|
|
2228
|
+
- step: build-config
|
|
2229
|
+
path: mcp_servers.code-explorer.inputs.docs_repo
|
|
2230
|
+
equals: "test-org/docs"
|
|
2231
|
+
|
|
2232
|
+
- name: code-explorer-default-skill-knowledge-in-prompt
|
|
2233
|
+
description: Default code-explorer skill knowledge appears in prompt when activated
|
|
2234
|
+
event: manual
|
|
2235
|
+
fixture: local.minimal
|
|
2236
|
+
workflow_input:
|
|
2237
|
+
question: "How does auth work?"
|
|
2238
|
+
intents:
|
|
2239
|
+
- id: code_help
|
|
2240
|
+
description: code questions
|
|
2241
|
+
skills:
|
|
2242
|
+
- id: code-explorer
|
|
2243
|
+
description: code exploration capability
|
|
2244
|
+
knowledge: |
|
|
2245
|
+
## Code Explorer
|
|
2246
|
+
Use the code-talk tool to explore code repositories.
|
|
2247
|
+
The tool returns `confidence` ("high"/"medium"/"low") and `confidence_reason`.
|
|
2248
|
+
- If confidence "high", trust the answer — do NOT re-call with rephrased question
|
|
2249
|
+
tools:
|
|
2250
|
+
code-explorer:
|
|
2251
|
+
workflow: code-talk
|
|
2252
|
+
inputs:
|
|
2253
|
+
architecture: "# Arch"
|
|
2254
|
+
mocks:
|
|
2255
|
+
route-intent:
|
|
2256
|
+
intent: code_help
|
|
2257
|
+
topic: "How does auth work?"
|
|
2258
|
+
skills: ["code-explorer"]
|
|
2259
|
+
generate-response:
|
|
2260
|
+
text: "Auth is done in backend."
|
|
2261
|
+
expect:
|
|
2262
|
+
calls:
|
|
2263
|
+
- step: route-intent
|
|
2264
|
+
exactly: 1
|
|
2265
|
+
- step: build-config
|
|
2266
|
+
exactly: 1
|
|
2267
|
+
- step: generate-response
|
|
2268
|
+
exactly: 1
|
|
2269
|
+
outputs:
|
|
2270
|
+
- step: build-config
|
|
2271
|
+
path: knowledge_content
|
|
2272
|
+
matches: "<id>code-explorer</id>"
|
|
2273
|
+
- step: build-config
|
|
2274
|
+
path: knowledge_content
|
|
2275
|
+
matches: "Code Explorer"
|
|
2276
|
+
prompts:
|
|
2277
|
+
- step: generate-response
|
|
2278
|
+
contains:
|
|
2279
|
+
- "Code Explorer"
|
|
2280
|
+
- "confidence"
|
|
2281
|
+
|
|
2282
|
+
- name: code-explorer-default-skill-inactive-no-server
|
|
2283
|
+
description: Default code-explorer skill is not activated when router doesn't select it
|
|
2284
|
+
event: manual
|
|
2285
|
+
fixture: local.minimal
|
|
2286
|
+
workflow_input:
|
|
2287
|
+
question: "Hello"
|
|
2288
|
+
intents:
|
|
2289
|
+
- id: chat
|
|
2290
|
+
description: general Q&A
|
|
2291
|
+
skills:
|
|
2292
|
+
- id: code-explorer
|
|
2293
|
+
description: code exploration capability
|
|
2294
|
+
knowledge: |
|
|
2295
|
+
## Code Explorer
|
|
2296
|
+
tools:
|
|
2297
|
+
code-explorer:
|
|
2298
|
+
workflow: code-talk
|
|
2299
|
+
inputs:
|
|
2300
|
+
architecture: "# Arch"
|
|
2301
|
+
mocks:
|
|
2302
|
+
route-intent:
|
|
2303
|
+
intent: chat
|
|
2304
|
+
topic: "Hello"
|
|
2305
|
+
skills: []
|
|
2306
|
+
generate-response:
|
|
2307
|
+
text: "Hello!"
|
|
2308
|
+
expect:
|
|
2309
|
+
calls:
|
|
2310
|
+
- step: route-intent
|
|
2311
|
+
exactly: 1
|
|
2312
|
+
- step: build-config
|
|
2313
|
+
exactly: 1
|
|
2314
|
+
outputs:
|
|
2315
|
+
- step: build-config
|
|
2316
|
+
path: mcp_servers
|
|
2317
|
+
equalsDeep: {}
|
|
2318
|
+
|
|
2176
2319
|
- name: code-explorer-server-not-added-when-skill-inactive
|
|
2177
2320
|
description: Code explorer server not added when skill is not activated
|
|
2178
2321
|
event: manual
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# =============================================================================
|
|
2
|
+
# Default code-explorer skill shipped with visor
|
|
3
|
+
# =============================================================================
|
|
4
|
+
#
|
|
5
|
+
# Provides a ready-to-use code exploration capability. Users only need to
|
|
6
|
+
# provide project-specific config (repos, architecture, routing) via extends:
|
|
7
|
+
#
|
|
8
|
+
# - extends: "visor://skills/code-explorer.yaml"
|
|
9
|
+
# tools:
|
|
10
|
+
# code-explorer:
|
|
11
|
+
# inputs:
|
|
12
|
+
# expression: "loadConfig('config/my-projects.yaml')"
|
|
13
|
+
#
|
|
14
|
+
# =============================================================================
|
|
15
|
+
|
|
16
|
+
id: code-explorer
|
|
17
|
+
description: >
|
|
18
|
+
request needs codebase exploration, understanding implementation details,
|
|
19
|
+
code search, or documentation questions. READ-ONLY — cannot modify files,
|
|
20
|
+
only investigate and answer questions.
|
|
21
|
+
allowed_commands:
|
|
22
|
+
- "git:log:*"
|
|
23
|
+
- "git:show:*"
|
|
24
|
+
- "git:diff:*"
|
|
25
|
+
knowledge: |
|
|
26
|
+
## Code Explorer
|
|
27
|
+
Use the code-talk tool to explore code repositories.
|
|
28
|
+
The tool returns `confidence` ("high"/"medium"/"low") and `confidence_reason`.
|
|
29
|
+
- If confidence "high", trust the answer — do NOT re-call with rephrased question
|
|
30
|
+
- Only call again for a genuinely DIFFERENT aspect of the codebase
|
|
31
|
+
- If confidence "medium" or "low", check confidence_reason for what to refine
|
|
32
|
+
|
|
33
|
+
## Usage Instructions
|
|
34
|
+
1. Call the code-explorer tool with the user's question
|
|
35
|
+
2. Use the answer from the tool result as your response
|
|
36
|
+
3. Include the references (file paths with URLs) in your answer
|
|
37
|
+
4. Do NOT generate a generic response - relay what the tool found
|
|
38
|
+
tools:
|
|
39
|
+
code-explorer:
|
|
40
|
+
workflow: code-talk
|
|
41
|
+
inputs: {}
|