@probelabs/visor 0.1.149-ee → 0.1.150-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/README.md +52 -1
- package/dist/909.index.js +27117 -0
- package/dist/ai-review-service.d.ts.map +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/docs/assistant-workflows.md +805 -0
- package/dist/docs/event-triggers.md +25 -0
- package/dist/docs/scheduler.md +156 -0
- package/dist/docs/slack-integration.md +48 -0
- package/dist/enterprise/scheduler/knex-store.d.ts +7 -1
- package/dist/enterprise/scheduler/knex-store.d.ts.map +1 -1
- package/dist/examples/code-talk-as-tool.yaml +76 -0
- package/dist/examples/code-talk-workflow.yaml +68 -0
- package/dist/examples/intent-router-workflow.yaml +66 -0
- package/dist/examples/slack-message-triggers.yaml +270 -0
- package/dist/generated/config-schema.d.ts +102 -7
- package/dist/generated/config-schema.d.ts.map +1 -1
- package/dist/generated/config-schema.json +116 -7
- package/dist/git-repository-analyzer.d.ts +8 -0
- package/dist/git-repository-analyzer.d.ts.map +1 -1
- package/dist/index.js +4150 -4735
- package/dist/scheduler/message-trigger.d.ts +47 -0
- package/dist/scheduler/message-trigger.d.ts.map +1 -0
- package/dist/scheduler/schedule-store.d.ts +31 -1
- package/dist/scheduler/schedule-store.d.ts.map +1 -1
- package/dist/scheduler/schedule-tool.d.ts +17 -1
- package/dist/scheduler/schedule-tool.d.ts.map +1 -1
- package/dist/scheduler/store/sqlite-store.d.ts +7 -1
- package/dist/scheduler/store/sqlite-store.d.ts.map +1 -1
- package/dist/scheduler/store/types.d.ts +45 -0
- package/dist/scheduler/store/types.d.ts.map +1 -1
- package/dist/sdk/{check-provider-registry-LVLC4EPF.mjs → check-provider-registry-RRYBG6AU.mjs} +6 -6
- package/dist/sdk/{check-provider-registry-TJAJVSMY.mjs → check-provider-registry-VHM53BTI.mjs} +6 -6
- package/dist/sdk/{chunk-V6GI4U2M.mjs → chunk-AADKUA6L.mjs} +585 -29
- package/dist/sdk/{chunk-NYFTDVG5.mjs.map → chunk-AADKUA6L.mjs.map} +1 -1
- package/dist/sdk/{chunk-YYZAN5NK.mjs → chunk-FYK2DJK6.mjs} +106 -9
- package/dist/sdk/chunk-FYK2DJK6.mjs.map +1 -0
- package/dist/sdk/{chunk-RJLJUTSU.mjs → chunk-FZEQ744M.mjs} +2 -2
- package/dist/sdk/{chunk-CISJ6DJW.mjs → chunk-GLROSEYJ.mjs} +3 -3
- package/dist/sdk/{chunk-NYFTDVG5.mjs → chunk-O4H5KZ7Y.mjs} +586 -30
- package/dist/sdk/{chunk-V6GI4U2M.mjs.map → chunk-O4H5KZ7Y.mjs.map} +1 -1
- package/dist/sdk/{chunk-62TNF5PJ.mjs → chunk-PETLPNRA.mjs} +2 -2
- package/dist/sdk/{chunk-62TNF5PJ.mjs.map → chunk-PETLPNRA.mjs.map} +1 -1
- package/dist/sdk/{config-KQH254CA.mjs → config-MTEIGCOQ.mjs} +2 -2
- package/dist/sdk/{failure-condition-evaluator-IVCTD4BZ.mjs → failure-condition-evaluator-XV2ZMFFY.mjs} +3 -3
- package/dist/sdk/{git-repository-analyzer-QFMW6WIS.mjs → git-repository-analyzer-TWNJUN42.mjs} +34 -3
- package/dist/sdk/git-repository-analyzer-TWNJUN42.mjs.map +1 -0
- package/dist/sdk/{github-frontend-DFT5G32K.mjs → github-frontend-A2R7D4N6.mjs} +3 -3
- package/dist/sdk/{host-H7IX4GBK.mjs → host-BRZQLVCH.mjs} +2 -2
- package/dist/sdk/{host-NZXGBBJI.mjs → host-MR7L57QI.mjs} +2 -2
- package/dist/sdk/{knex-store-HPXJILBL.mjs → knex-store-CRORFJE6.mjs} +117 -1
- package/dist/sdk/knex-store-CRORFJE6.mjs.map +1 -0
- package/dist/sdk/{loader-YSRMVXC3.mjs → loader-NJCF7DUS.mjs} +2 -2
- package/dist/sdk/{routing-LU5PAREW.mjs → routing-V3MYZAOH.mjs} +4 -4
- package/dist/sdk/{schedule-tool-4U32CSH6.mjs → schedule-tool-4QDBJV74.mjs} +6 -6
- package/dist/sdk/{schedule-tool-NX75VKGA.mjs → schedule-tool-NYLNJUEW.mjs} +6 -6
- package/dist/sdk/{schedule-tool-handler-6S2DNP26.mjs → schedule-tool-handler-27XEVLSY.mjs} +6 -6
- package/dist/sdk/{schedule-tool-handler-KKN7XJYT.mjs → schedule-tool-handler-EFQIYD3W.mjs} +6 -6
- package/dist/sdk/sdk.d.mts +38 -1
- package/dist/sdk/sdk.d.ts +38 -1
- package/dist/sdk/sdk.js +821 -21
- package/dist/sdk/sdk.js.map +1 -1
- package/dist/sdk/sdk.mjs +5 -5
- package/dist/sdk/{trace-helpers-6ROJR7N3.mjs → trace-helpers-6NSZBC35.mjs} +2 -2
- package/dist/sdk/{workflow-check-provider-AGZ5JY2I.mjs → workflow-check-provider-3MVUCEJR.mjs} +6 -6
- package/dist/sdk/{workflow-check-provider-FDNGOBBG.mjs → workflow-check-provider-XLH7N4FV.mjs} +6 -6
- package/dist/slack/socket-runner.d.ts +14 -0
- package/dist/slack/socket-runner.d.ts.map +1 -1
- package/dist/test-runner/core/flow-stage.d.ts.map +1 -1
- package/dist/test-runner/fixture-loader.d.ts +1 -1
- package/dist/test-runner/fixture-loader.d.ts.map +1 -1
- package/dist/test-runner/index.d.ts.map +1 -1
- package/dist/test-runner/validator.d.ts.map +1 -1
- package/dist/types/config.d.ts +38 -1
- package/dist/types/config.d.ts.map +1 -1
- package/dist/utils/workspace-manager.d.ts +4 -0
- package/dist/utils/workspace-manager.d.ts.map +1 -1
- package/dist/utils/worktree-manager.d.ts +15 -1
- package/dist/utils/worktree-manager.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/sdk/chunk-YYZAN5NK.mjs.map +0 -1
- package/dist/sdk/git-repository-analyzer-QFMW6WIS.mjs.map +0 -1
- package/dist/sdk/knex-store-HPXJILBL.mjs.map +0 -1
- /package/dist/sdk/{check-provider-registry-LVLC4EPF.mjs.map → check-provider-registry-RRYBG6AU.mjs.map} +0 -0
- /package/dist/sdk/{check-provider-registry-TJAJVSMY.mjs.map → check-provider-registry-VHM53BTI.mjs.map} +0 -0
- /package/dist/sdk/{chunk-RJLJUTSU.mjs.map → chunk-FZEQ744M.mjs.map} +0 -0
- /package/dist/sdk/{chunk-CISJ6DJW.mjs.map → chunk-GLROSEYJ.mjs.map} +0 -0
- /package/dist/sdk/{config-KQH254CA.mjs.map → config-MTEIGCOQ.mjs.map} +0 -0
- /package/dist/sdk/{failure-condition-evaluator-IVCTD4BZ.mjs.map → failure-condition-evaluator-XV2ZMFFY.mjs.map} +0 -0
- /package/dist/sdk/{github-frontend-DFT5G32K.mjs.map → github-frontend-A2R7D4N6.mjs.map} +0 -0
- /package/dist/sdk/{host-H7IX4GBK.mjs.map → host-BRZQLVCH.mjs.map} +0 -0
- /package/dist/sdk/{host-NZXGBBJI.mjs.map → host-MR7L57QI.mjs.map} +0 -0
- /package/dist/sdk/{loader-YSRMVXC3.mjs.map → loader-NJCF7DUS.mjs.map} +0 -0
- /package/dist/sdk/{routing-LU5PAREW.mjs.map → routing-V3MYZAOH.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-4U32CSH6.mjs.map → schedule-tool-4QDBJV74.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-NX75VKGA.mjs.map → schedule-tool-NYLNJUEW.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-6S2DNP26.mjs.map → schedule-tool-handler-27XEVLSY.mjs.map} +0 -0
- /package/dist/sdk/{schedule-tool-handler-KKN7XJYT.mjs.map → schedule-tool-handler-EFQIYD3W.mjs.map} +0 -0
- /package/dist/sdk/{trace-helpers-6ROJR7N3.mjs.map → trace-helpers-6NSZBC35.mjs.map} +0 -0
- /package/dist/sdk/{workflow-check-provider-AGZ5JY2I.mjs.map → workflow-check-provider-3MVUCEJR.mjs.map} +0 -0
- /package/dist/sdk/{workflow-check-provider-FDNGOBBG.mjs.map → workflow-check-provider-XLH7N4FV.mjs.map} +0 -0
package/README.md
CHANGED
|
@@ -27,6 +27,7 @@ Visor is an open-source workflow engine that lets you define multi-step AI pipel
|
|
|
27
27
|
## Table of Contents
|
|
28
28
|
|
|
29
29
|
- [Quick Start](#-quick-start)
|
|
30
|
+
- [AI Assistant Framework](#-ai-assistant-framework)
|
|
30
31
|
- [Runtime Modes](#-runtime-modes)
|
|
31
32
|
- [PR Comment Commands](#-pr-comment-commands)
|
|
32
33
|
- [Core Concepts](#-core-concepts)
|
|
@@ -110,6 +111,56 @@ jobs:
|
|
|
110
111
|
|
|
111
112
|
> **Tip:** Pin releases for stability with `@v1`. For bleeding-edge, use `@nightly`.
|
|
112
113
|
|
|
114
|
+
## 🤖 AI Assistant Framework
|
|
115
|
+
|
|
116
|
+
Visor ships with a built-in assistant framework — three composable workflows for building AI-powered assistants with skills, tools, and multi-repo code exploration. Import them with a single line:
|
|
117
|
+
|
|
118
|
+
```yaml
|
|
119
|
+
version: "1.0"
|
|
120
|
+
|
|
121
|
+
imports:
|
|
122
|
+
- visor://assistant.yaml
|
|
123
|
+
|
|
124
|
+
checks:
|
|
125
|
+
chat:
|
|
126
|
+
type: workflow
|
|
127
|
+
workflow: assistant
|
|
128
|
+
assume: ["true"]
|
|
129
|
+
args:
|
|
130
|
+
question: "{{ conversation.current.text }}"
|
|
131
|
+
system_prompt: "You are a helpful engineering assistant."
|
|
132
|
+
intents:
|
|
133
|
+
- id: chat
|
|
134
|
+
description: general Q&A or small talk
|
|
135
|
+
- id: code_help
|
|
136
|
+
description: questions about code or architecture
|
|
137
|
+
default_skills: [code-explorer]
|
|
138
|
+
skills:
|
|
139
|
+
- id: code-explorer
|
|
140
|
+
description: needs codebase exploration or code search
|
|
141
|
+
tools:
|
|
142
|
+
code-talk:
|
|
143
|
+
workflow: code-talk
|
|
144
|
+
inputs:
|
|
145
|
+
projects:
|
|
146
|
+
- id: backend
|
|
147
|
+
repo: my-org/backend
|
|
148
|
+
description: Backend API service
|
|
149
|
+
allowed_commands: ['git:log:*', 'git:diff:*']
|
|
150
|
+
on_success:
|
|
151
|
+
goto: chat
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
| Workflow | What it does |
|
|
155
|
+
|----------|-------------|
|
|
156
|
+
| **assistant** | Full AI assistant — intent routing, dynamic skill activation, tool orchestration, knowledge injection, bash command control |
|
|
157
|
+
| **code-talk** | Multi-repo code exploration — routes questions to repos, checks out code, explores with tools, returns answers with file references and confidence scoring |
|
|
158
|
+
| **intent-router** | Lightweight intent classification — picks intent, rewrites question, selects skills/tags |
|
|
159
|
+
|
|
160
|
+
The `visor://` protocol resolves to bundled workflows shipped with the package — no network fetch needed.
|
|
161
|
+
|
|
162
|
+
Learn more: [docs/assistant-workflows.md](docs/assistant-workflows.md) | Examples: [code-talk-workflow](examples/code-talk-workflow.yaml) · [code-talk-as-tool](examples/code-talk-as-tool.yaml) · [intent-router](examples/intent-router-workflow.yaml)
|
|
163
|
+
|
|
113
164
|
## 🖥️ Runtime Modes
|
|
114
165
|
|
|
115
166
|
Visor runs the same YAML config across four surfaces:
|
|
@@ -655,7 +706,7 @@ Learn more: [docs/enterprise-policy.md](docs/enterprise-policy.md)
|
|
|
655
706
|
## 📚 Further Reading
|
|
656
707
|
|
|
657
708
|
**Guides:**
|
|
658
|
-
[CLI commands](docs/commands.md) · [Configuration](docs/configuration.md) · [AI config](docs/ai-configuration.md) · [Dependencies](docs/dependencies.md) · [forEach propagation](docs/foreach-dependency-propagation.md) · [Failure routing](docs/failure-routing.md) · [Liquid templates](docs/liquid-templates.md) · [Schema-template system](docs/schema-templates.md) · [Fail conditions](docs/fail-if.md) · [Timeouts](docs/timeouts.md) · [Execution limits](docs/limits.md) · [Output formats](docs/output-formats.md) · [Output formatting](docs/output-formatting.md) · [HTTP integration](docs/http.md) · [Scheduler](docs/scheduler.md)
|
|
709
|
+
[Assistant workflows](docs/assistant-workflows.md) · [CLI commands](docs/commands.md) · [Configuration](docs/configuration.md) · [AI config](docs/ai-configuration.md) · [Dependencies](docs/dependencies.md) · [forEach propagation](docs/foreach-dependency-propagation.md) · [Failure routing](docs/failure-routing.md) · [Liquid templates](docs/liquid-templates.md) · [Schema-template system](docs/schema-templates.md) · [Fail conditions](docs/fail-if.md) · [Timeouts](docs/timeouts.md) · [Execution limits](docs/limits.md) · [Output formats](docs/output-formats.md) · [Output formatting](docs/output-formatting.md) · [HTTP integration](docs/http.md) · [Scheduler](docs/scheduler.md)
|
|
659
710
|
|
|
660
711
|
**Providers:**
|
|
661
712
|
[Command](docs/command-provider.md) · [Script](docs/script.md) · [MCP](docs/mcp-provider.md) · [MCP tools for AI](docs/mcp.md) · [Claude Code](docs/claude-code.md) · [GitHub ops](docs/github-ops.md) · [Custom providers](docs/pluggable.md)
|